@wordpress/widgets 4.32.0 → 4.32.1-next.ff1cebbba.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.
Files changed (86) hide show
  1. package/build/blocks/legacy-widget/block.json +29 -0
  2. package/build/blocks/legacy-widget/edit/control.js +137 -167
  3. package/build/blocks/legacy-widget/edit/control.js.map +7 -1
  4. package/build/blocks/legacy-widget/edit/convert-to-blocks-button.js +51 -39
  5. package/build/blocks/legacy-widget/edit/convert-to-blocks-button.js.map +7 -1
  6. package/build/blocks/legacy-widget/edit/form.js +105 -75
  7. package/build/blocks/legacy-widget/edit/form.js.map +7 -1
  8. package/build/blocks/legacy-widget/edit/index.js +121 -131
  9. package/build/blocks/legacy-widget/edit/index.js.map +7 -1
  10. package/build/blocks/legacy-widget/edit/inspector-card.js +28 -20
  11. package/build/blocks/legacy-widget/edit/inspector-card.js.map +7 -1
  12. package/build/blocks/legacy-widget/edit/no-preview.js +29 -23
  13. package/build/blocks/legacy-widget/edit/no-preview.js.map +7 -1
  14. package/build/blocks/legacy-widget/edit/preview.js +107 -108
  15. package/build/blocks/legacy-widget/edit/preview.js.map +7 -1
  16. package/build/blocks/legacy-widget/edit/widget-type-selector.js +61 -52
  17. package/build/blocks/legacy-widget/edit/widget-type-selector.js.map +7 -1
  18. package/build/blocks/legacy-widget/index.js +49 -53
  19. package/build/blocks/legacy-widget/index.js.map +7 -1
  20. package/build/blocks/legacy-widget/transforms.js +189 -198
  21. package/build/blocks/legacy-widget/transforms.js.map +7 -1
  22. package/build/blocks/widget-group/block.json +20 -0
  23. package/build/blocks/widget-group/deprecated.js +38 -24
  24. package/build/blocks/widget-group/deprecated.js.map +7 -1
  25. package/build/blocks/widget-group/edit.js +63 -67
  26. package/build/blocks/widget-group/edit.js.map +7 -1
  27. package/build/blocks/widget-group/index.js +93 -80
  28. package/build/blocks/widget-group/index.js.map +7 -1
  29. package/build/blocks/widget-group/save.js +36 -25
  30. package/build/blocks/widget-group/save.js.map +7 -1
  31. package/build/components/index.js +36 -12
  32. package/build/components/index.js.map +7 -1
  33. package/build/components/move-to-widget-area/index.js +48 -37
  34. package/build/components/move-to-widget-area/index.js.map +7 -1
  35. package/build/index.js +67 -98
  36. package/build/index.js.map +7 -1
  37. package/build/register-legacy-widget-variations.js +42 -30
  38. package/build/register-legacy-widget-variations.js.map +7 -1
  39. package/build/utils.js +29 -29
  40. package/build/utils.js.map +7 -1
  41. package/build-module/blocks/legacy-widget/block.json +29 -0
  42. package/build-module/blocks/legacy-widget/edit/control.js +107 -158
  43. package/build-module/blocks/legacy-widget/edit/control.js.map +7 -1
  44. package/build-module/blocks/legacy-widget/edit/convert-to-blocks-button.js +33 -33
  45. package/build-module/blocks/legacy-widget/edit/convert-to-blocks-button.js.map +7 -1
  46. package/build-module/blocks/legacy-widget/edit/form.js +75 -64
  47. package/build-module/blocks/legacy-widget/edit/form.js.map +7 -1
  48. package/build-module/blocks/legacy-widget/edit/index.js +96 -122
  49. package/build-module/blocks/legacy-widget/edit/index.js.map +7 -1
  50. package/build-module/blocks/legacy-widget/edit/inspector-card.js +10 -15
  51. package/build-module/blocks/legacy-widget/edit/inspector-card.js.map +7 -1
  52. package/build-module/blocks/legacy-widget/edit/no-preview.js +11 -17
  53. package/build-module/blocks/legacy-widget/edit/no-preview.js.map +7 -1
  54. package/build-module/blocks/legacy-widget/edit/preview.js +76 -98
  55. package/build-module/blocks/legacy-widget/edit/preview.js.map +7 -1
  56. package/build-module/blocks/legacy-widget/edit/widget-type-selector.js +43 -46
  57. package/build-module/blocks/legacy-widget/edit/widget-type-selector.js.map +7 -1
  58. package/build-module/blocks/legacy-widget/index.js +12 -45
  59. package/build-module/blocks/legacy-widget/index.js.map +7 -1
  60. package/build-module/blocks/legacy-widget/transforms.js +171 -192
  61. package/build-module/blocks/legacy-widget/transforms.js.map +7 -1
  62. package/build-module/blocks/widget-group/block.json +20 -0
  63. package/build-module/blocks/widget-group/deprecated.js +20 -18
  64. package/build-module/blocks/widget-group/deprecated.js.map +7 -1
  65. package/build-module/blocks/widget-group/edit.js +53 -62
  66. package/build-module/blocks/widget-group/edit.js.map +7 -1
  67. package/build-module/blocks/widget-group/index.js +55 -71
  68. package/build-module/blocks/widget-group/index.js.map +7 -1
  69. package/build-module/blocks/widget-group/save.js +18 -19
  70. package/build-module/blocks/widget-group/save.js.map +7 -1
  71. package/build-module/components/index.js +5 -2
  72. package/build-module/components/index.js.map +7 -1
  73. package/build-module/components/move-to-widget-area/index.js +37 -32
  74. package/build-module/components/move-to-widget-area/index.js.map +7 -1
  75. package/build-module/index.js +34 -60
  76. package/build-module/index.js.map +7 -1
  77. package/build-module/register-legacy-widget-variations.js +24 -24
  78. package/build-module/register-legacy-widget-variations.js.map +7 -1
  79. package/build-module/utils.js +8 -25
  80. package/build-module/utils.js.map +7 -1
  81. package/build-style/style-rtl.css +10 -145
  82. package/build-style/style.css +10 -145
  83. package/package.json +21 -14
  84. package/src/blocks/legacy-widget/editor.scss +3 -0
  85. package/src/blocks/widget-group/editor.scss +3 -0
  86. package/src/style.scss +3 -2
@@ -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: #006ba1;
229
- --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
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;
@@ -237,6 +102,9 @@
237
102
  }
238
103
  }
239
104
 
105
+ .wp-block-legacy-widget__edit-form:not([hidden]) {
106
+ display: flow-root;
107
+ }
240
108
  .wp-block-legacy-widget__edit-form {
241
109
  background: #fff;
242
110
  border-radius: 2px;
@@ -245,9 +113,6 @@
245
113
  max-height: calc(100vh - 1px - 1px);
246
114
  overflow-y: scroll;
247
115
  }
248
- .wp-block-legacy-widget__edit-form:not([hidden]) {
249
- display: flow-root;
250
- }
251
116
  .wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title {
252
117
  color: #000;
253
118
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -348,14 +213,14 @@
348
213
  width: 100%;
349
214
  }
350
215
 
351
- .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview {
352
- background: #f0f0f0;
353
- padding: 8px 12px;
354
- }
355
216
  .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview, .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview h3, .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview p {
356
217
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
357
218
  font-size: 13px;
358
219
  }
220
+ .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview {
221
+ background: #f0f0f0;
222
+ padding: 8px 12px;
223
+ }
359
224
  .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview h3 {
360
225
  font-size: 14px;
361
226
  font-weight: 600;
@@ -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: #006ba1;
229
- --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
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;
@@ -237,6 +102,9 @@
237
102
  }
238
103
  }
239
104
 
105
+ .wp-block-legacy-widget__edit-form:not([hidden]) {
106
+ display: flow-root;
107
+ }
240
108
  .wp-block-legacy-widget__edit-form {
241
109
  background: #fff;
242
110
  border-radius: 2px;
@@ -245,9 +113,6 @@
245
113
  max-height: calc(100vh - 1px - 1px);
246
114
  overflow-y: scroll;
247
115
  }
248
- .wp-block-legacy-widget__edit-form:not([hidden]) {
249
- display: flow-root;
250
- }
251
116
  .wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title {
252
117
  color: #000;
253
118
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -348,14 +213,14 @@
348
213
  width: 100%;
349
214
  }
350
215
 
351
- .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview {
352
- background: #f0f0f0;
353
- padding: 8px 12px;
354
- }
355
216
  .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview, .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview h3, .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview p {
356
217
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
357
218
  font-size: 13px;
358
219
  }
220
+ .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview {
221
+ background: #f0f0f0;
222
+ padding: 8px 12px;
223
+ }
359
224
  .wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview h3 {
360
225
  font-size: 14px;
361
226
  font-weight: 600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/widgets",
3
- "version": "4.32.0",
3
+ "version": "4.32.1-next.ff1cebbba.0",
4
4
  "description": "Functionality used by the widgets block editor in the Widgets screen and the Customizer.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -22,21 +22,28 @@
22
22
  },
23
23
  "main": "build/index.js",
24
24
  "module": "build-module/index.js",
25
+ "exports": {
26
+ ".": {
27
+ "import": "./build-module/index.js",
28
+ "require": "./build/index.js"
29
+ },
30
+ "./package.json": "./package.json"
31
+ },
25
32
  "react-native": "src/index",
26
33
  "wpScript": true,
27
34
  "dependencies": {
28
- "@babel/runtime": "7.25.7",
29
- "@wordpress/api-fetch": "^7.32.0",
30
- "@wordpress/block-editor": "^15.5.0",
31
- "@wordpress/blocks": "^15.5.0",
32
- "@wordpress/components": "^30.5.0",
33
- "@wordpress/compose": "^7.32.0",
34
- "@wordpress/core-data": "^7.32.0",
35
- "@wordpress/data": "^10.32.0",
36
- "@wordpress/element": "^6.32.0",
37
- "@wordpress/i18n": "^6.5.0",
38
- "@wordpress/icons": "^10.32.0",
39
- "@wordpress/notices": "^5.32.0",
35
+ "@wordpress/api-fetch": "^7.32.1-next.ff1cebbba.0",
36
+ "@wordpress/base-styles": "^6.8.1-next.ff1cebbba.0",
37
+ "@wordpress/block-editor": "^15.5.1-next.ff1cebbba.0",
38
+ "@wordpress/blocks": "^15.5.1-next.ff1cebbba.0",
39
+ "@wordpress/components": "^30.6.1-next.ff1cebbba.0",
40
+ "@wordpress/compose": "^7.32.1-next.ff1cebbba.0",
41
+ "@wordpress/core-data": "^7.32.1-next.ff1cebbba.0",
42
+ "@wordpress/data": "^10.32.1-next.ff1cebbba.0",
43
+ "@wordpress/element": "^6.32.1-next.ff1cebbba.0",
44
+ "@wordpress/i18n": "^6.5.1-next.ff1cebbba.0",
45
+ "@wordpress/icons": "^11.0.1-next.ff1cebbba.0",
46
+ "@wordpress/notices": "^5.32.1-next.ff1cebbba.0",
40
47
  "clsx": "^2.1.1"
41
48
  },
42
49
  "peerDependencies": {
@@ -46,5 +53,5 @@
46
53
  "publishConfig": {
47
54
  "access": "public"
48
55
  },
49
- "gitHead": "a030b4c0e0695239b942c7dc18511782b64f10ed"
56
+ "gitHead": "c5b659710aff01d40d2eb97b211eb2cec9c07d3b"
50
57
  }
@@ -1,3 +1,6 @@
1
+ @use "@wordpress/base-styles/colors" as *;
2
+ @use "@wordpress/base-styles/variables" as *;
3
+
1
4
  .wp-block-legacy-widget__edit-form {
2
5
  &:not([hidden]) {
3
6
  display: flow-root;
@@ -1,3 +1,6 @@
1
+ @use "@wordpress/base-styles/colors" as *;
2
+ @use "@wordpress/base-styles/variables" as *;
3
+
1
4
  .wp-block-widget-group {
2
5
  &.has-child-selected::after {
3
6
  border-radius: $radius-small;
package/src/style.scss CHANGED
@@ -1,2 +1,3 @@
1
- @import "./blocks/legacy-widget/editor.scss";
2
- @import "./blocks/widget-group/editor.scss";
1
+ @use "@wordpress/base-styles/default-custom-properties";
2
+ @use "./blocks/legacy-widget/editor.scss" as *;
3
+ @use "./blocks/widget-group/editor.scss" as *;