Skip to content

Commit d55e92a

Browse files
committed
Release version 1.0.4
1 parent a8818d6 commit d55e92a

126 files changed

Lines changed: 4899 additions & 30 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
1-
# Logs
2-
logs
1+
# Directories
2+
/.git
3+
/.github
4+
/node_modules
5+
/src
6+
7+
# Configuration files
8+
.distignore
9+
.editorconfig
10+
.gitattributes
11+
.gitignore
12+
.plugin-data
13+
.wp-env.json
14+
grumphp.yml
15+
phpcs.xml.dist
16+
psalm.xml.dist
17+
18+
# Dependency management
19+
composer.json
20+
composer.lock
21+
package.json
22+
package-lock.json
23+
24+
# Documentation (GitHub)
25+
CHANGELOG.md
26+
README.md
27+
28+
# Development files
329
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
8-
# Coverage directory used by tools like istanbul
9-
coverage
10-
11-
# Compiled binary addons (https://nodejs.org/api/addons.html)
12-
build/Release
13-
build/
14-
15-
# Dependency directories
16-
node_modules/
17-
18-
# Optional npm cache directory
19-
.npm
20-
21-
# Optional eslint cache
22-
.eslintcache
23-
24-
# Output of `npm pack`
25-
*.tgz
26-
27-
# Output of `wp-scripts plugin-zip`
28-
*.zip
29-
30-
# dotenv environment variables file
31-
.env
30+
*.map
31+
.DS_Store
32+
Thumbs.db

build/blockparty-modal/block.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
4+
"name": "blockparty/modal",
5+
"version": "1.0.4",
6+
"title": "Modal",
7+
"category": "widgets",
8+
"description": "Insert a modal dialog that opens on trigger. Configure content and behaviour in the editor; the modal is displayed on the frontend when activated.",
9+
"attributes": {
10+
"headingLevel": {
11+
"type": "number",
12+
"default": 2
13+
},
14+
"title": {
15+
"type": "string",
16+
"default": ""
17+
},
18+
"content": {
19+
"type": "string",
20+
"default": ""
21+
},
22+
"modalId": {
23+
"type": "string",
24+
"default": ""
25+
},
26+
"closedBy": {
27+
"type": "string",
28+
"default": "any",
29+
"enum": [
30+
"any",
31+
"closerequest",
32+
"none"
33+
]
34+
},
35+
"enableCloseButton": {
36+
"type": "boolean",
37+
"default": true
38+
},
39+
"displayIconOnly": {
40+
"type": "boolean",
41+
"default": false
42+
},
43+
"preventScroll": {
44+
"type": "boolean",
45+
"default": false
46+
}
47+
},
48+
"example": {},
49+
"supports": {
50+
"align": [
51+
"wide",
52+
"full"
53+
],
54+
"dimensions": {
55+
"height": true,
56+
"minHeight": true
57+
},
58+
"color": {
59+
"background": true,
60+
"text": true
61+
},
62+
"spacing": {
63+
"padding": true,
64+
"blockGap": true
65+
},
66+
"html": false
67+
},
68+
"textdomain": "blockparty-modal",
69+
"editorScript": "file:./index.js",
70+
"editorStyle": "file:./index.css",
71+
"style": "file:./style-index.css",
72+
"viewScript": "file:./view.js"
73+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives'), 'version' => 'd0d8323325ae20e2e037');

build/blockparty-modal/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

build/blockparty-modal/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/blockparty-modal/style-index-rtl.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/blockparty-modal/style-index.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('wp-dom-ready'), 'version' => '2e9ae121821e3de1a9ae');

build/blockparty-modal/view.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)