@wordpress/block-directory 5.32.0 → 5.32.1-next.b8c8708f3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/auto-block-uninstaller/index.js +37 -31
- package/build/components/auto-block-uninstaller/index.js.map +7 -1
- package/build/components/block-ratings/index.js +40 -22
- package/build/components/block-ratings/index.js.map +7 -1
- package/build/components/block-ratings/stars.js +66 -40
- package/build/components/block-ratings/stars.js.map +7 -1
- package/build/components/compact-list/index.js +47 -46
- package/build/components/compact-list/index.js.map +7 -1
- package/build/components/downloadable-block-icon/index.js +28 -26
- package/build/components/downloadable-block-icon/index.js.map +7 -1
- package/build/components/downloadable-block-list-item/index.js +113 -127
- package/build/components/downloadable-block-list-item/index.js.map +7 -1
- package/build/components/downloadable-block-notice/index.js +41 -31
- package/build/components/downloadable-block-notice/index.js.map +7 -1
- package/build/components/downloadable-blocks-list/index.js +72 -56
- package/build/components/downloadable-blocks-list/index.js.map +7 -1
- package/build/components/downloadable-blocks-panel/index.js +108 -95
- package/build/components/downloadable-blocks-panel/index.js.map +7 -1
- package/build/components/downloadable-blocks-panel/inserter-panel.js +52 -38
- package/build/components/downloadable-blocks-panel/inserter-panel.js.map +7 -1
- package/build/components/downloadable-blocks-panel/no-results.js +37 -30
- package/build/components/downloadable-blocks-panel/no-results.js.map +7 -1
- package/build/index.js +27 -12
- package/build/index.js.map +7 -1
- package/build/lock-unlock.js +31 -15
- package/build/lock-unlock.js.map +7 -1
- package/build/plugins/get-install-missing/index.js +123 -102
- package/build/plugins/get-install-missing/index.js.map +7 -1
- package/build/plugins/get-install-missing/install-button.js +68 -50
- package/build/plugins/get-install-missing/install-button.js.map +7 -1
- package/build/plugins/index.js +46 -29
- package/build/plugins/index.js.map +7 -1
- package/build/plugins/inserter-menu-downloadable-blocks-panel/index.js +55 -42
- package/build/plugins/inserter-menu-downloadable-blocks-panel/index.js.map +7 -1
- package/build/plugins/installed-blocks-pre-publish-panel/index.js +65 -34
- package/build/plugins/installed-blocks-pre-publish-panel/index.js.map +7 -1
- package/build/store/actions.js +142 -188
- package/build/store/actions.js.map +7 -1
- package/build/store/index.js +48 -46
- package/build/store/index.js.map +7 -1
- package/build/store/load-assets.js +48 -55
- package/build/store/load-assets.js.map +7 -1
- package/build/store/reducer.js +48 -54
- package/build/store/reducer.js.map +7 -1
- package/build/store/resolvers.js +52 -31
- package/build/store/resolvers.js.map +7 -1
- package/build/store/selectors.js +100 -127
- package/build/store/selectors.js.map +7 -1
- package/build/store/utils/get-plugin-url.js +23 -14
- package/build/store/utils/get-plugin-url.js.map +7 -1
- package/build-module/components/auto-block-uninstaller/index.js +18 -24
- package/build-module/components/auto-block-uninstaller/index.js.map +7 -1
- package/build-module/components/block-ratings/index.js +9 -15
- package/build-module/components/block-ratings/index.js.map +7 -1
- package/build-module/components/block-ratings/stars.js +48 -34
- package/build-module/components/block-ratings/stars.js.map +7 -1
- package/build-module/components/compact-list/index.js +19 -39
- package/build-module/components/compact-list/index.js.map +7 -1
- package/build-module/components/downloadable-block-icon/index.js +10 -20
- package/build-module/components/downloadable-block-icon/index.js.map +7 -1
- package/build-module/components/downloadable-block-list-item/index.js +89 -120
- package/build-module/components/downloadable-block-list-item/index.js.map +7 -1
- package/build-module/components/downloadable-block-notice/index.js +19 -24
- package/build-module/components/downloadable-block-notice/index.js.map +7 -1
- package/build-module/components/downloadable-blocks-list/index.js +44 -49
- package/build-module/components/downloadable-blocks-list/index.js.map +7 -1
- package/build-module/components/downloadable-blocks-panel/index.js +81 -89
- package/build-module/components/downloadable-blocks-panel/index.js.map +7 -1
- package/build-module/components/downloadable-blocks-panel/inserter-panel.js +33 -31
- package/build-module/components/downloadable-blocks-panel/inserter-panel.js.map +7 -1
- package/build-module/components/downloadable-blocks-panel/no-results.js +19 -24
- package/build-module/components/downloadable-blocks-panel/no-results.js.map +7 -1
- package/build-module/index.js +6 -6
- package/build-module/index.js.map +7 -1
- package/build-module/lock-unlock.js +8 -7
- package/build-module/lock-unlock.js.map +7 -1
- package/build-module/plugins/get-install-missing/index.js +99 -95
- package/build-module/plugins/get-install-missing/index.js.map +7 -1
- package/build-module/plugins/get-install-missing/install-button.js +50 -44
- package/build-module/plugins/get-install-missing/install-button.js.map +7 -1
- package/build-module/plugins/index.js +24 -25
- package/build-module/plugins/index.js.map +7 -1
- package/build-module/plugins/inserter-menu-downloadable-blocks-panel/index.js +26 -34
- package/build-module/plugins/inserter-menu-downloadable-blocks-panel/index.js.map +7 -1
- package/build-module/plugins/installed-blocks-pre-publish-panel/index.js +38 -28
- package/build-module/plugins/installed-blocks-pre-publish-panel/index.js.map +7 -1
- package/build-module/store/actions.js +100 -168
- package/build-module/store/actions.js.map +7 -1
- package/build-module/store/index.js +13 -36
- package/build-module/store/index.js.map +7 -1
- package/build-module/store/load-assets.js +15 -47
- package/build-module/store/load-assets.js.map +7 -1
- package/build-module/store/reducer.js +27 -49
- package/build-module/store/reducer.js.map +7 -1
- package/build-module/store/resolvers.js +16 -19
- package/build-module/store/resolvers.js.map +7 -1
- package/build-module/store/selectors.js +77 -121
- package/build-module/store/selectors.js.map +7 -1
- package/build-module/store/utils/get-plugin-url.js +6 -10
- package/build-module/store/utils/get-plugin-url.js.map +7 -1
- package/build-style/style-rtl.css +9 -142
- package/build-style/style.css +9 -142
- package/package.json +28 -21
- package/src/components/block-ratings/style.scss +2 -0
- package/src/components/compact-list/style.scss +3 -0
- package/src/components/downloadable-block-icon/style.scss +3 -0
- package/src/components/downloadable-block-list-item/style.scss +4 -0
- package/src/components/downloadable-block-notice/style.scss +3 -0
- package/src/components/downloadable-blocks-panel/style.scss +3 -1
- package/src/style.scss +8 -7
|
@@ -1,57 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Colors
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Breakpoints & Media Queries
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Colors
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* SCSS Variables.
|
|
12
|
-
*
|
|
13
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
14
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
15
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* Fonts & basic variables.
|
|
19
|
-
*/
|
|
20
1
|
/**
|
|
21
2
|
* Typography
|
|
22
3
|
*/
|
|
23
|
-
/**
|
|
24
|
-
* Grid System.
|
|
25
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* Radius scale.
|
|
29
|
-
*/
|
|
30
|
-
/**
|
|
31
|
-
* Elevation scale.
|
|
32
|
-
*/
|
|
33
|
-
/**
|
|
34
|
-
* Dimensions.
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* Mobile specific styles
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Editor styles.
|
|
41
|
-
*/
|
|
42
|
-
/**
|
|
43
|
-
* Block & Editor UI.
|
|
44
|
-
*/
|
|
45
|
-
/**
|
|
46
|
-
* Block paddings.
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* React Native specific.
|
|
50
|
-
* These variables do not appear to be used anywhere else.
|
|
51
|
-
*/
|
|
52
|
-
/**
|
|
53
|
-
* Colors
|
|
54
|
-
*/
|
|
55
4
|
/**
|
|
56
5
|
* SCSS Variables.
|
|
57
6
|
*
|
|
@@ -59,91 +8,9 @@
|
|
|
59
8
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
60
9
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
61
10
|
*/
|
|
62
|
-
/**
|
|
63
|
-
* Fonts & basic variables.
|
|
64
|
-
*/
|
|
65
|
-
/**
|
|
66
|
-
* Typography
|
|
67
|
-
*/
|
|
68
|
-
/**
|
|
69
|
-
* Grid System.
|
|
70
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
71
|
-
*/
|
|
72
|
-
/**
|
|
73
|
-
* Radius scale.
|
|
74
|
-
*/
|
|
75
|
-
/**
|
|
76
|
-
* Elevation scale.
|
|
77
|
-
*/
|
|
78
|
-
/**
|
|
79
|
-
* Dimensions.
|
|
80
|
-
*/
|
|
81
|
-
/**
|
|
82
|
-
* Mobile specific styles
|
|
83
|
-
*/
|
|
84
|
-
/**
|
|
85
|
-
* Editor styles.
|
|
86
|
-
*/
|
|
87
|
-
/**
|
|
88
|
-
* Block & Editor UI.
|
|
89
|
-
*/
|
|
90
|
-
/**
|
|
91
|
-
* Block paddings.
|
|
92
|
-
*/
|
|
93
|
-
/**
|
|
94
|
-
* React Native specific.
|
|
95
|
-
* These variables do not appear to be used anywhere else.
|
|
96
|
-
*/
|
|
97
|
-
/**
|
|
98
|
-
* Breakpoints & Media Queries
|
|
99
|
-
*/
|
|
100
|
-
/**
|
|
101
|
-
* Converts a hex value into the rgb equivalent.
|
|
102
|
-
*
|
|
103
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
104
|
-
* @return {string} comma separated rgb values
|
|
105
|
-
*/
|
|
106
|
-
/**
|
|
107
|
-
* Long content fade mixin
|
|
108
|
-
*
|
|
109
|
-
* Creates a fading overlay to signify that the content is longer
|
|
110
|
-
* than the space allows.
|
|
111
|
-
*/
|
|
112
|
-
/**
|
|
113
|
-
* Typography
|
|
114
|
-
*/
|
|
115
|
-
/**
|
|
116
|
-
* Breakpoint mixins
|
|
117
|
-
*/
|
|
118
|
-
/**
|
|
119
|
-
* Focus styles.
|
|
120
|
-
*/
|
|
121
|
-
/**
|
|
122
|
-
* Applies editor left position to the selector passed as argument
|
|
123
|
-
*/
|
|
124
|
-
/**
|
|
125
|
-
* Styles that are reused verbatim in a few places
|
|
126
|
-
*/
|
|
127
|
-
/**
|
|
128
|
-
* Allows users to opt-out of animations via OS-level preferences.
|
|
129
|
-
*/
|
|
130
|
-
/**
|
|
131
|
-
* Reset default styles for JavaScript UI based pages.
|
|
132
|
-
* This is a WP-admin agnostic reset
|
|
133
|
-
*/
|
|
134
|
-
/**
|
|
135
|
-
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
136
|
-
*/
|
|
137
11
|
/**
|
|
138
12
|
* Colors
|
|
139
13
|
*/
|
|
140
|
-
/**
|
|
141
|
-
* SCSS Variables.
|
|
142
|
-
*
|
|
143
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
144
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
145
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
146
|
-
*/
|
|
147
14
|
/**
|
|
148
15
|
* Fonts & basic variables.
|
|
149
16
|
*/
|
|
@@ -194,9 +61,6 @@
|
|
|
194
61
|
* Creates a fading overlay to signify that the content is longer
|
|
195
62
|
* than the space allows.
|
|
196
63
|
*/
|
|
197
|
-
/**
|
|
198
|
-
* Typography
|
|
199
|
-
*/
|
|
200
64
|
/**
|
|
201
65
|
* Breakpoint mixins
|
|
202
66
|
*/
|
|
@@ -223,10 +87,11 @@
|
|
|
223
87
|
--wp-block-synced-color: #7a00df;
|
|
224
88
|
--wp-block-synced-color--rgb: 122, 0, 223;
|
|
225
89
|
--wp-bound-block-color: var(--wp-block-synced-color);
|
|
90
|
+
--wp-editor-canvas-background: #ddd;
|
|
226
91
|
--wp-admin-theme-color: #007cba;
|
|
227
92
|
--wp-admin-theme-color--rgb: 0, 124, 186;
|
|
228
|
-
--wp-admin-theme-color-darker-10:
|
|
229
|
-
--wp-admin-theme-color-darker-10--rgb: 0, 107,
|
|
93
|
+
--wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
|
|
94
|
+
--wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
|
|
230
95
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
231
96
|
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
|
|
232
97
|
--wp-admin-border-width-focus: 2px;
|
|
@@ -284,6 +149,9 @@
|
|
|
284
149
|
border: 1px solid #ddd;
|
|
285
150
|
}
|
|
286
151
|
|
|
152
|
+
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
|
153
|
+
margin-top: 4px;
|
|
154
|
+
}
|
|
287
155
|
.block-directory-downloadable-block-list-item {
|
|
288
156
|
display: grid;
|
|
289
157
|
grid-template-columns: auto 1fr;
|
|
@@ -295,16 +163,15 @@
|
|
|
295
163
|
background: none;
|
|
296
164
|
border: 0;
|
|
297
165
|
text-align: right;
|
|
298
|
-
position: relative;
|
|
299
|
-
}
|
|
300
|
-
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
|
301
|
-
margin-top: 4px;
|
|
302
166
|
}
|
|
303
167
|
@media not (prefers-reduced-motion) {
|
|
304
168
|
.block-directory-downloadable-block-list-item {
|
|
305
169
|
transition: box-shadow 0.1s linear;
|
|
306
170
|
}
|
|
307
171
|
}
|
|
172
|
+
.block-directory-downloadable-block-list-item {
|
|
173
|
+
position: relative;
|
|
174
|
+
}
|
|
308
175
|
.block-directory-downloadable-block-list-item:not([aria-disabled=true]) {
|
|
309
176
|
cursor: pointer;
|
|
310
177
|
}
|
package/build-style/style.css
CHANGED
|
@@ -1,57 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Colors
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Breakpoints & Media Queries
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Colors
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* SCSS Variables.
|
|
12
|
-
*
|
|
13
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
14
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
15
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* Fonts & basic variables.
|
|
19
|
-
*/
|
|
20
1
|
/**
|
|
21
2
|
* Typography
|
|
22
3
|
*/
|
|
23
|
-
/**
|
|
24
|
-
* Grid System.
|
|
25
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* Radius scale.
|
|
29
|
-
*/
|
|
30
|
-
/**
|
|
31
|
-
* Elevation scale.
|
|
32
|
-
*/
|
|
33
|
-
/**
|
|
34
|
-
* Dimensions.
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* Mobile specific styles
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Editor styles.
|
|
41
|
-
*/
|
|
42
|
-
/**
|
|
43
|
-
* Block & Editor UI.
|
|
44
|
-
*/
|
|
45
|
-
/**
|
|
46
|
-
* Block paddings.
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* React Native specific.
|
|
50
|
-
* These variables do not appear to be used anywhere else.
|
|
51
|
-
*/
|
|
52
|
-
/**
|
|
53
|
-
* Colors
|
|
54
|
-
*/
|
|
55
4
|
/**
|
|
56
5
|
* SCSS Variables.
|
|
57
6
|
*
|
|
@@ -59,91 +8,9 @@
|
|
|
59
8
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
60
9
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
61
10
|
*/
|
|
62
|
-
/**
|
|
63
|
-
* Fonts & basic variables.
|
|
64
|
-
*/
|
|
65
|
-
/**
|
|
66
|
-
* Typography
|
|
67
|
-
*/
|
|
68
|
-
/**
|
|
69
|
-
* Grid System.
|
|
70
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
71
|
-
*/
|
|
72
|
-
/**
|
|
73
|
-
* Radius scale.
|
|
74
|
-
*/
|
|
75
|
-
/**
|
|
76
|
-
* Elevation scale.
|
|
77
|
-
*/
|
|
78
|
-
/**
|
|
79
|
-
* Dimensions.
|
|
80
|
-
*/
|
|
81
|
-
/**
|
|
82
|
-
* Mobile specific styles
|
|
83
|
-
*/
|
|
84
|
-
/**
|
|
85
|
-
* Editor styles.
|
|
86
|
-
*/
|
|
87
|
-
/**
|
|
88
|
-
* Block & Editor UI.
|
|
89
|
-
*/
|
|
90
|
-
/**
|
|
91
|
-
* Block paddings.
|
|
92
|
-
*/
|
|
93
|
-
/**
|
|
94
|
-
* React Native specific.
|
|
95
|
-
* These variables do not appear to be used anywhere else.
|
|
96
|
-
*/
|
|
97
|
-
/**
|
|
98
|
-
* Breakpoints & Media Queries
|
|
99
|
-
*/
|
|
100
|
-
/**
|
|
101
|
-
* Converts a hex value into the rgb equivalent.
|
|
102
|
-
*
|
|
103
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
104
|
-
* @return {string} comma separated rgb values
|
|
105
|
-
*/
|
|
106
|
-
/**
|
|
107
|
-
* Long content fade mixin
|
|
108
|
-
*
|
|
109
|
-
* Creates a fading overlay to signify that the content is longer
|
|
110
|
-
* than the space allows.
|
|
111
|
-
*/
|
|
112
|
-
/**
|
|
113
|
-
* Typography
|
|
114
|
-
*/
|
|
115
|
-
/**
|
|
116
|
-
* Breakpoint mixins
|
|
117
|
-
*/
|
|
118
|
-
/**
|
|
119
|
-
* Focus styles.
|
|
120
|
-
*/
|
|
121
|
-
/**
|
|
122
|
-
* Applies editor left position to the selector passed as argument
|
|
123
|
-
*/
|
|
124
|
-
/**
|
|
125
|
-
* Styles that are reused verbatim in a few places
|
|
126
|
-
*/
|
|
127
|
-
/**
|
|
128
|
-
* Allows users to opt-out of animations via OS-level preferences.
|
|
129
|
-
*/
|
|
130
|
-
/**
|
|
131
|
-
* Reset default styles for JavaScript UI based pages.
|
|
132
|
-
* This is a WP-admin agnostic reset
|
|
133
|
-
*/
|
|
134
|
-
/**
|
|
135
|
-
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
136
|
-
*/
|
|
137
11
|
/**
|
|
138
12
|
* Colors
|
|
139
13
|
*/
|
|
140
|
-
/**
|
|
141
|
-
* SCSS Variables.
|
|
142
|
-
*
|
|
143
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
144
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
145
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
146
|
-
*/
|
|
147
14
|
/**
|
|
148
15
|
* Fonts & basic variables.
|
|
149
16
|
*/
|
|
@@ -194,9 +61,6 @@
|
|
|
194
61
|
* Creates a fading overlay to signify that the content is longer
|
|
195
62
|
* than the space allows.
|
|
196
63
|
*/
|
|
197
|
-
/**
|
|
198
|
-
* Typography
|
|
199
|
-
*/
|
|
200
64
|
/**
|
|
201
65
|
* Breakpoint mixins
|
|
202
66
|
*/
|
|
@@ -223,10 +87,11 @@
|
|
|
223
87
|
--wp-block-synced-color: #7a00df;
|
|
224
88
|
--wp-block-synced-color--rgb: 122, 0, 223;
|
|
225
89
|
--wp-bound-block-color: var(--wp-block-synced-color);
|
|
90
|
+
--wp-editor-canvas-background: #ddd;
|
|
226
91
|
--wp-admin-theme-color: #007cba;
|
|
227
92
|
--wp-admin-theme-color--rgb: 0, 124, 186;
|
|
228
|
-
--wp-admin-theme-color-darker-10:
|
|
229
|
-
--wp-admin-theme-color-darker-10--rgb: 0, 107,
|
|
93
|
+
--wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
|
|
94
|
+
--wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
|
|
230
95
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
231
96
|
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
|
|
232
97
|
--wp-admin-border-width-focus: 2px;
|
|
@@ -284,6 +149,9 @@
|
|
|
284
149
|
border: 1px solid #ddd;
|
|
285
150
|
}
|
|
286
151
|
|
|
152
|
+
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
|
153
|
+
margin-top: 4px;
|
|
154
|
+
}
|
|
287
155
|
.block-directory-downloadable-block-list-item {
|
|
288
156
|
display: grid;
|
|
289
157
|
grid-template-columns: auto 1fr;
|
|
@@ -295,16 +163,15 @@
|
|
|
295
163
|
background: none;
|
|
296
164
|
border: 0;
|
|
297
165
|
text-align: left;
|
|
298
|
-
position: relative;
|
|
299
|
-
}
|
|
300
|
-
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
|
301
|
-
margin-top: 4px;
|
|
302
166
|
}
|
|
303
167
|
@media not (prefers-reduced-motion) {
|
|
304
168
|
.block-directory-downloadable-block-list-item {
|
|
305
169
|
transition: box-shadow 0.1s linear;
|
|
306
170
|
}
|
|
307
171
|
}
|
|
172
|
+
.block-directory-downloadable-block-list-item {
|
|
173
|
+
position: relative;
|
|
174
|
+
}
|
|
308
175
|
.block-directory-downloadable-block-list-item:not([aria-disabled=true]) {
|
|
309
176
|
cursor: pointer;
|
|
310
177
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-directory",
|
|
3
|
-
"version": "5.32.0",
|
|
3
|
+
"version": "5.32.1-next.b8c8708f3.0",
|
|
4
4
|
"description": "Extend editor with block directory features to search, download and install blocks.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -24,28 +24,35 @@
|
|
|
24
24
|
},
|
|
25
25
|
"main": "build/index.js",
|
|
26
26
|
"module": "build-module/index.js",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"import": "./build-module/index.js",
|
|
30
|
+
"require": "./build/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
27
34
|
"react-native": "src/index",
|
|
28
35
|
"wpScript": true,
|
|
29
36
|
"dependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@wordpress/
|
|
32
|
-
"@wordpress/
|
|
33
|
-
"@wordpress/block-editor": "^15.5.0",
|
|
34
|
-
"@wordpress/blocks": "^15.5.0",
|
|
35
|
-
"@wordpress/components": "^30.
|
|
36
|
-
"@wordpress/compose": "^7.32.0",
|
|
37
|
-
"@wordpress/core-data": "^7.32.0",
|
|
38
|
-
"@wordpress/data": "^10.32.0",
|
|
39
|
-
"@wordpress/editor": "^14.32.0",
|
|
40
|
-
"@wordpress/element": "^6.32.0",
|
|
41
|
-
"@wordpress/hooks": "^4.32.0",
|
|
42
|
-
"@wordpress/html-entities": "^4.32.0",
|
|
43
|
-
"@wordpress/i18n": "^6.5.0",
|
|
44
|
-
"@wordpress/icons": "^
|
|
45
|
-
"@wordpress/notices": "^5.32.0",
|
|
46
|
-
"@wordpress/plugins": "^7.32.0",
|
|
47
|
-
"@wordpress/private-apis": "^1.32.0",
|
|
48
|
-
"@wordpress/url": "^4.32.0",
|
|
37
|
+
"@wordpress/a11y": "^4.32.1-next.b8c8708f3.0",
|
|
38
|
+
"@wordpress/api-fetch": "^7.32.1-next.b8c8708f3.0",
|
|
39
|
+
"@wordpress/base-styles": "^6.8.1-next.b8c8708f3.0",
|
|
40
|
+
"@wordpress/block-editor": "^15.5.1-next.b8c8708f3.0",
|
|
41
|
+
"@wordpress/blocks": "^15.5.1-next.b8c8708f3.0",
|
|
42
|
+
"@wordpress/components": "^30.6.1-next.b8c8708f3.0",
|
|
43
|
+
"@wordpress/compose": "^7.32.1-next.b8c8708f3.0",
|
|
44
|
+
"@wordpress/core-data": "^7.32.1-next.b8c8708f3.0",
|
|
45
|
+
"@wordpress/data": "^10.32.1-next.b8c8708f3.0",
|
|
46
|
+
"@wordpress/editor": "^14.32.1-next.b8c8708f3.0",
|
|
47
|
+
"@wordpress/element": "^6.32.1-next.b8c8708f3.0",
|
|
48
|
+
"@wordpress/hooks": "^4.32.1-next.b8c8708f3.0",
|
|
49
|
+
"@wordpress/html-entities": "^4.32.1-next.b8c8708f3.0",
|
|
50
|
+
"@wordpress/i18n": "^6.5.1-next.b8c8708f3.0",
|
|
51
|
+
"@wordpress/icons": "^11.0.1-next.b8c8708f3.0",
|
|
52
|
+
"@wordpress/notices": "^5.32.1-next.b8c8708f3.0",
|
|
53
|
+
"@wordpress/plugins": "^7.32.1-next.b8c8708f3.0",
|
|
54
|
+
"@wordpress/private-apis": "^1.32.1-next.b8c8708f3.0",
|
|
55
|
+
"@wordpress/url": "^4.32.1-next.b8c8708f3.0",
|
|
49
56
|
"change-case": "^4.1.2",
|
|
50
57
|
"clsx": "^2.1.1"
|
|
51
58
|
},
|
|
@@ -56,5 +63,5 @@
|
|
|
56
63
|
"publishConfig": {
|
|
57
64
|
"access": "public"
|
|
58
65
|
},
|
|
59
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "67cfd7e661931aeb0d06bec894599d287a4f8d0f"
|
|
60
67
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "@wordpress/base-styles/colors" as *;
|
|
2
|
+
@use "@wordpress/base-styles/variables" as *;
|
|
3
|
+
|
|
1
4
|
|
|
2
5
|
.block-directory-downloadable-blocks-panel {
|
|
3
6
|
padding: $grid-unit-20;
|
|
@@ -31,4 +34,3 @@
|
|
|
31
34
|
.block-directory-downloadable-blocks-panel__description {
|
|
32
35
|
margin-top: 0;
|
|
33
36
|
}
|
|
34
|
-
|
package/src/style.scss
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
1
|
+
@use "@wordpress/base-styles/default-custom-properties";
|
|
2
|
+
@use "./components/block-ratings/style.scss" as *;
|
|
3
|
+
@use "./components/compact-list/style.scss" as *;
|
|
4
|
+
@use "./components/downloadable-block-icon/style.scss" as *;
|
|
5
|
+
@use "./components/downloadable-block-list-item/style.scss" as *;
|
|
6
|
+
@use "./components/downloadable-block-notice/style.scss" as *;
|
|
7
|
+
@use "./components/downloadable-blocks-panel/style.scss" as *;
|
|
8
|
+
@use "./plugins/installed-blocks-pre-publish-panel/style.scss" as *;
|