PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / trunk
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More vtrunk
4.1.0 4.0.9 4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 trunk 1.0.0 2.0.0 2.0.1 2.0.2 2.0.3 3.0 3.0.1 3.0.2 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1
superb-blocks / blocks / popup / block.json
superb-blocks / blocks / popup Last commit date
block.json 2 weeks ago index-rtl.css 2 weeks ago index.asset.php 2 weeks ago index.css 2 weeks ago index.js 2 weeks ago style-index-rtl.css 2 weeks ago style-index.css 2 weeks ago
block.json
119 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "superb-addons/popup",
5 "version": "0.1.0",
6 "title": "Superb Popup",
7 "category": "superb-addons-blocks",
8 "icon": "admin-page",
9 "description": "A customizable popup/modal with any block content. Pair with the Popup Trigger button to open it from anywhere on the page.",
10 "keywords": ["popup", "modal", "dialog", "overlay", "lightbox"],
11 "supports": {
12 "html": false,
13 "align": false,
14 "multiple": true,
15 "reusable": true
16 },
17 "attributes": {
18 "popupId": {
19 "type": "string"
20 },
21 "popupName": {
22 "type": "string",
23 "default": ""
24 },
25 "popupWidth": {
26 "type": "string",
27 "default": "600px"
28 },
29 "popupWidthTablet": {
30 "type": "string"
31 },
32 "popupWidthMobile": {
33 "type": "string"
34 },
35 "popupHeight": {
36 "type": "string"
37 },
38 "popupHeightTablet": {
39 "type": "string"
40 },
41 "popupHeightMobile": {
42 "type": "string"
43 },
44 "overlayOpacity": {
45 "type": "number",
46 "default": 50
47 },
48 "showCloseButton": {
49 "type": "boolean",
50 "default": true
51 },
52 "closeOnOverlay": {
53 "type": "boolean",
54 "default": true
55 },
56 "closeOnEsc": {
57 "type": "boolean",
58 "default": true
59 },
60 "showOverlay": {
61 "type": "boolean",
62 "default": true
63 },
64 "popupPadding": {
65 "type": "string",
66 "default": "32px"
67 },
68 "popupPaddingTablet": {
69 "type": "string"
70 },
71 "popupPaddingMobile": {
72 "type": "string"
73 },
74 "popupBorderRadius": {
75 "type": "string",
76 "default": "8px"
77 },
78 "popupBorderRadiusTablet": {
79 "type": "string"
80 },
81 "popupBorderRadiusMobile": {
82 "type": "string"
83 },
84 "closeButtonSize": {
85 "type": "number"
86 },
87 "triggerOnLoad": {
88 "type": "boolean",
89 "default": true
90 },
91 "triggerLoadDelay": {
92 "type": "number",
93 "default": 0
94 },
95 "popupPosition": {
96 "type": "string"
97 },
98 "popupPositionTablet": {
99 "type": "string"
100 },
101 "popupPositionMobile": {
102 "type": "string"
103 },
104 "isPreview": {
105 "type": "boolean",
106 "default": false
107 }
108 },
109 "styles": [
110 { "name": "default", "label": "Default", "isDefault": true },
111 { "name": "minimal", "label": "Minimal" },
112 { "name": "announcement", "label": "Announcement" }
113 ],
114 "textdomain": "superb-blocks",
115 "editorScript": "file:./index.js",
116 "editorStyle": "file:./index.css",
117 "style": "file:./style-index.css"
118 }
119