@wordpress/components 32.4.1-next.v.202603161435.0 → 32.5.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/CHANGELOG.md +18 -1
- package/build/alignment-matrix-control/cell.cjs +2 -2
- package/build/alignment-matrix-control/cell.cjs.map +1 -1
- package/build/alignment-matrix-control/index.cjs +2 -2
- package/build/alignment-matrix-control/index.cjs.map +1 -1
- package/build/angle-picker-control/angle-circle.cjs +2 -2
- package/build/angle-picker-control/angle-circle.cjs.map +1 -1
- package/build/combobox-control/index.cjs +5 -1
- package/build/combobox-control/index.cjs.map +2 -2
- package/build/custom-gradient-picker/index.cjs +9 -1
- package/build/custom-gradient-picker/index.cjs.map +2 -2
- package/build/form-token-field/token-input.cjs +2 -1
- package/build/form-token-field/token-input.cjs.map +2 -2
- package/build/radio-control/index.cjs +1 -0
- package/build/radio-control/index.cjs.map +2 -2
- package/build/toggle-group-control/toggle-group-control/as-button-group.cjs +1 -0
- package/build/toggle-group-control/toggle-group-control/as-button-group.cjs.map +2 -2
- package/build/toggle-group-control/toggle-group-control/component.cjs +15 -9
- package/build/toggle-group-control/toggle-group-control/component.cjs.map +3 -3
- package/build/toggle-group-control/toggle-group-control/styles.cjs +6 -32
- package/build/toggle-group-control/toggle-group-control/styles.cjs.map +3 -3
- package/build/validated-form-controls/control-with-error.cjs +26 -3
- package/build/validated-form-controls/control-with-error.cjs.map +2 -2
- package/build/validated-form-controls/validity-indicator.cjs +2 -0
- package/build/validated-form-controls/validity-indicator.cjs.map +2 -2
- package/build-module/alignment-matrix-control/cell.mjs +2 -2
- package/build-module/alignment-matrix-control/cell.mjs.map +1 -1
- package/build-module/alignment-matrix-control/index.mjs +2 -2
- package/build-module/alignment-matrix-control/index.mjs.map +1 -1
- package/build-module/angle-picker-control/angle-circle.mjs +2 -2
- package/build-module/angle-picker-control/angle-circle.mjs.map +1 -1
- package/build-module/combobox-control/index.mjs +5 -1
- package/build-module/combobox-control/index.mjs.map +2 -2
- package/build-module/custom-gradient-picker/index.mjs +10 -2
- package/build-module/custom-gradient-picker/index.mjs.map +2 -2
- package/build-module/form-token-field/token-input.mjs +2 -1
- package/build-module/form-token-field/token-input.mjs.map +2 -2
- package/build-module/radio-control/index.mjs +1 -0
- package/build-module/radio-control/index.mjs.map +2 -2
- package/build-module/toggle-group-control/toggle-group-control/as-button-group.mjs +1 -0
- package/build-module/toggle-group-control/toggle-group-control/as-button-group.mjs.map +2 -2
- package/build-module/toggle-group-control/toggle-group-control/component.mjs +17 -11
- package/build-module/toggle-group-control/toggle-group-control/component.mjs.map +2 -2
- package/build-module/toggle-group-control/toggle-group-control/styles.mjs +6 -21
- package/build-module/toggle-group-control/toggle-group-control/styles.mjs.map +2 -2
- package/build-module/validated-form-controls/control-with-error.mjs +27 -4
- package/build-module/validated-form-controls/control-with-error.mjs.map +2 -2
- package/build-module/validated-form-controls/validity-indicator.mjs +2 -0
- package/build-module/validated-form-controls/validity-indicator.mjs.map +2 -2
- package/build-style/style-rtl.css +14 -11
- package/build-style/style.css +14 -11
- package/build-types/alignment-matrix-control/stories/index.story.d.ts +1 -1
- package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -1
- package/build-types/angle-picker-control/stories/index.story.d.ts +1 -1
- package/build-types/animate/stories/index.story.d.ts +7 -7
- package/build-types/animate/stories/index.story.d.ts.map +1 -1
- package/build-types/base-control/stories/index.story.d.ts +1 -1
- package/build-types/border-box-control/stories/index.story.d.ts +1 -1
- package/build-types/border-control/stories/index.story.d.ts +5 -5
- package/build-types/box-control/stories/index.story.d.ts +7 -7
- package/build-types/box-control/stories/index.story.d.ts.map +1 -1
- package/build-types/button/stories/e2e/index.story.d.ts +1 -1
- package/build-types/button/stories/e2e/index.story.d.ts.map +1 -1
- package/build-types/button/stories/index.story.d.ts +7 -7
- package/build-types/button/stories/index.story.d.ts.map +1 -1
- package/build-types/circular-option-picker/stories/index.story.d.ts +5 -5
- package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/combobox-control/index.d.ts.map +1 -1
- package/build-types/combobox-control/stories/index.story.d.ts +4 -4
- package/build-types/combobox-control/stories/index.story.d.ts.map +1 -1
- package/build-types/confirm-dialog/stories/index.story.d.ts +2 -2
- package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/index.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/stories/index.story.d.ts +1 -1
- package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/test/index.d.ts +2 -0
- package/build-types/custom-gradient-picker/test/index.d.ts.map +1 -0
- package/build-types/custom-select-control/stories/index.story.d.ts +3 -3
- package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/stories/index.story.d.ts +3 -3
- package/build-types/date-time/stories/time.story.d.ts +1 -1
- package/build-types/date-time/stories/time.story.d.ts.map +1 -1
- package/build-types/drop-zone/stories/index.story.d.ts +1 -1
- package/build-types/drop-zone/stories/index.story.d.ts.map +1 -1
- package/build-types/duotone-picker/stories/duotone-picker.story.d.ts +1 -1
- package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -1
- package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts +3 -3
- package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -1
- package/build-types/focal-point-picker/stories/index.story.d.ts +4 -4
- package/build-types/form-file-upload/stories/index.story.d.ts +5 -5
- package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
- package/build-types/form-token-field/token-input.d.ts.map +1 -1
- package/build-types/guide/stories/index.story.d.ts +1 -1
- package/build-types/guide/stories/index.story.d.ts.map +1 -1
- package/build-types/icon/stories/index.story.d.ts +4 -4
- package/build-types/icon/stories/index.story.d.ts.map +1 -1
- package/build-types/input-control/stories/index.story.d.ts +7 -7
- package/build-types/input-control/stories/index.story.d.ts.map +1 -1
- package/build-types/keyboard-shortcuts/stories/index.story.d.ts +1 -1
- package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -1
- package/build-types/menu-group/stories/index.story.d.ts +1 -1
- package/build-types/menu-group/stories/index.story.d.ts.map +1 -1
- package/build-types/menu-item/stories/index.story.d.ts +4 -4
- package/build-types/navigation/stories/index.story.d.ts +6 -6
- package/build-types/navigation/stories/index.story.d.ts.map +1 -1
- package/build-types/notice/stories/index.story.d.ts +5 -5
- package/build-types/notice/stories/index.story.d.ts.map +1 -1
- package/build-types/number-control/stories/index.story.d.ts +1 -1
- package/build-types/palette-edit/stories/index.story.d.ts +2 -2
- package/build-types/palette-edit/stories/index.story.d.ts.map +1 -1
- package/build-types/progress-bar/stories/index.story.d.ts +1 -1
- package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
- package/build-types/query-controls/stories/index.story.d.ts +1 -1
- package/build-types/query-controls/stories/index.story.d.ts.map +1 -1
- package/build-types/radio-control/index.d.ts.map +1 -1
- package/build-types/resizable-box/stories/index.story.d.ts +2 -2
- package/build-types/responsive-wrapper/stories/index.story.d.ts +1 -1
- package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -1
- package/build-types/sandbox/stories/index.story.d.ts +1 -1
- package/build-types/sandbox/stories/index.story.d.ts.map +1 -1
- package/build-types/search-control/stories/index.story.d.ts +1 -1
- package/build-types/select-control/stories/index.story.d.ts +5 -5
- package/build-types/shortcut/stories/index.story.d.ts +1 -1
- package/build-types/shortcut/stories/index.story.d.ts.map +1 -1
- package/build-types/tab-panel/stories/index.story.d.ts +4 -4
- package/build-types/tab-panel/stories/index.story.d.ts.map +1 -1
- package/build-types/tabs/stories/index.story.d.ts +7 -7
- package/build-types/tabs/stories/index.story.d.ts.map +1 -1
- package/build-types/text/stories/index.story.d.ts +3 -3
- package/build-types/theme/stories/index.story.d.ts +1 -1
- package/build-types/toggle-control/stories/index.story.d.ts +2 -2
- package/build-types/toggle-group-control/stories/index.story.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control/as-button-group.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control/styles.d.ts +0 -4
- package/build-types/toggle-group-control/toggle-group-control/styles.d.ts.map +1 -1
- package/build-types/toolbar/stories/index.story.d.ts +3 -3
- package/build-types/toolbar/stories/index.story.d.ts.map +1 -1
- package/build-types/tooltip/stories/index.story.d.ts +1 -1
- package/build-types/tooltip/stories/index.story.d.ts.map +1 -1
- package/build-types/tree-grid/stories/index.story.d.ts +1 -1
- package/build-types/tree-grid/stories/index.story.d.ts.map +1 -1
- package/build-types/tree-select/stories/index.story.d.ts +1 -1
- package/build-types/tree-select/stories/index.story.d.ts.map +1 -1
- package/build-types/v-stack/stories/index.story.d.ts +1 -1
- package/build-types/validated-form-controls/control-with-error.d.ts.map +1 -1
- package/build-types/validated-form-controls/test/checkbox-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/checkbox-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/combobox-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/combobox-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/custom-select-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/custom-select-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/form-token-field.d.ts +2 -0
- package/build-types/validated-form-controls/test/form-token-field.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/input-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/input-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/number-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/number-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/radio-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/radio-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/range-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/range-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/select-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/select-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/text-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/text-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/textarea-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/textarea-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/toggle-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/toggle-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/toggle-group-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/toggle-group-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/validity-indicator.d.ts +2 -1
- package/build-types/validated-form-controls/validity-indicator.d.ts.map +1 -1
- package/package.json +24 -24
- package/src/button/style.scss +16 -5
- package/src/combobox-control/index.tsx +6 -0
- package/src/combobox-control/stories/index.story.tsx +3 -2
- package/src/combobox-control/test/index.tsx +16 -9
- package/src/custom-gradient-picker/index.tsx +15 -4
- package/src/custom-gradient-picker/test/index.tsx +81 -0
- package/src/form-token-field/token-input.tsx +7 -1
- package/src/guide/style.scss +3 -0
- package/src/modal/style.scss +4 -7
- package/src/radio-control/index.tsx +1 -0
- package/src/radio-control/test/index.tsx +5 -5
- package/src/snackbar/style.scss +1 -1
- package/src/toggle-group-control/stories/index.story.tsx +1 -0
- package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +124 -164
- package/src/toggle-group-control/test/index.tsx +54 -0
- package/src/toggle-group-control/toggle-group-control/as-button-group.tsx +1 -0
- package/src/toggle-group-control/toggle-group-control/component.tsx +13 -8
- package/src/toggle-group-control/toggle-group-control/styles.ts +0 -6
- package/src/validated-form-controls/control-with-error.tsx +44 -4
- package/src/validated-form-controls/test/checkbox-control.tsx +49 -0
- package/src/validated-form-controls/test/combobox-control.tsx +61 -0
- package/src/validated-form-controls/test/control-with-error.tsx +182 -1
- package/src/validated-form-controls/test/custom-select-control.tsx +60 -0
- package/src/validated-form-controls/test/form-token-field.tsx +52 -0
- package/src/validated-form-controls/test/input-control.tsx +42 -0
- package/src/validated-form-controls/test/number-control.tsx +44 -0
- package/src/validated-form-controls/test/radio-control.tsx +61 -0
- package/src/validated-form-controls/test/range-control.tsx +73 -0
- package/src/validated-form-controls/test/select-control.tsx +57 -0
- package/src/validated-form-controls/test/text-control.tsx +49 -0
- package/src/validated-form-controls/test/textarea-control.tsx +51 -0
- package/src/validated-form-controls/test/toggle-control.tsx +49 -0
- package/src/validated-form-controls/test/toggle-group-control.tsx +28 -0
- package/src/validated-form-controls/validity-indicator.tsx +3 -0
|
@@ -18,13 +18,6 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.emotion-4 {
|
|
21
|
-
display: -webkit-box;
|
|
22
|
-
display: -webkit-flex;
|
|
23
|
-
display: -ms-flexbox;
|
|
24
|
-
display: flex;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.emotion-6 {
|
|
28
21
|
font-size: 11px;
|
|
29
22
|
font-weight: 499;
|
|
30
23
|
line-height: 1.4;
|
|
@@ -34,7 +27,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
34
27
|
padding: 0;
|
|
35
28
|
}
|
|
36
29
|
|
|
37
|
-
.emotion-
|
|
30
|
+
.emotion-6 {
|
|
38
31
|
background: var(--wp-components-color-background, #fff);
|
|
39
32
|
border: 1px solid transparent;
|
|
40
33
|
border-radius: 2px;
|
|
@@ -47,25 +40,25 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
47
40
|
height: 40px;
|
|
48
41
|
}
|
|
49
42
|
|
|
50
|
-
.emotion-
|
|
43
|
+
.emotion-6:hover {
|
|
51
44
|
border-color: #ccc;
|
|
52
45
|
}
|
|
53
46
|
|
|
54
|
-
.emotion-
|
|
47
|
+
.emotion-6:focus-within {
|
|
55
48
|
z-index: 1;
|
|
56
49
|
outline: 1.5px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
57
50
|
outline-offset: 1px;
|
|
58
51
|
}
|
|
59
52
|
|
|
60
53
|
@media not ( prefers-reduced-motion ) {
|
|
61
|
-
.emotion-
|
|
54
|
+
.emotion-6[data-indicator-animated]::before {
|
|
62
55
|
transition-property: transform,border-radius;
|
|
63
56
|
transition-duration: 0.2s;
|
|
64
57
|
transition-timing-function: ease-out;
|
|
65
58
|
}
|
|
66
59
|
}
|
|
67
60
|
|
|
68
|
-
.emotion-
|
|
61
|
+
.emotion-6::before {
|
|
69
62
|
content: '';
|
|
70
63
|
position: absolute;
|
|
71
64
|
pointer-events: none;
|
|
@@ -88,7 +81,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
88
81
|
);
|
|
89
82
|
}
|
|
90
83
|
|
|
91
|
-
.emotion-
|
|
84
|
+
.emotion-8 {
|
|
92
85
|
display: -webkit-inline-box;
|
|
93
86
|
display: -webkit-inline-flex;
|
|
94
87
|
display: -ms-inline-flexbox;
|
|
@@ -101,7 +94,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
101
94
|
flex: 1;
|
|
102
95
|
}
|
|
103
96
|
|
|
104
|
-
.emotion-
|
|
97
|
+
.emotion-10 {
|
|
105
98
|
-webkit-align-items: center;
|
|
106
99
|
-webkit-box-align: center;
|
|
107
100
|
-ms-flex-align: center;
|
|
@@ -146,27 +139,27 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
146
139
|
}
|
|
147
140
|
|
|
148
141
|
@media not ( prefers-reduced-motion ) {
|
|
149
|
-
.emotion-
|
|
142
|
+
.emotion-10 {
|
|
150
143
|
-webkit-transition: color 160ms linear,font-weight 60ms linear;
|
|
151
144
|
transition: color 160ms linear,font-weight 60ms linear;
|
|
152
145
|
}
|
|
153
146
|
}
|
|
154
147
|
|
|
155
|
-
.emotion-
|
|
148
|
+
.emotion-10::-moz-focus-inner {
|
|
156
149
|
border: 0;
|
|
157
150
|
}
|
|
158
151
|
|
|
159
|
-
.emotion-
|
|
160
|
-
.emotion-
|
|
152
|
+
.emotion-10[disabled],
|
|
153
|
+
.emotion-10[aria-disabled='true'] {
|
|
161
154
|
opacity: 0.4;
|
|
162
155
|
cursor: default;
|
|
163
156
|
}
|
|
164
157
|
|
|
165
|
-
.emotion-
|
|
158
|
+
.emotion-10:hover:not( [disabled] ):not( [aria-disabled='true'] ) {
|
|
166
159
|
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
167
160
|
}
|
|
168
161
|
|
|
169
|
-
.emotion-
|
|
162
|
+
.emotion-11 {
|
|
170
163
|
display: -webkit-box;
|
|
171
164
|
display: -webkit-flex;
|
|
172
165
|
display: -ms-flexbox;
|
|
@@ -175,7 +168,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
175
168
|
line-height: 1;
|
|
176
169
|
}
|
|
177
170
|
|
|
178
|
-
.emotion-
|
|
171
|
+
.emotion-15 {
|
|
179
172
|
-webkit-align-items: center;
|
|
180
173
|
-webkit-box-align: center;
|
|
181
174
|
-ms-flex-align: center;
|
|
@@ -218,23 +211,23 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
218
211
|
}
|
|
219
212
|
|
|
220
213
|
@media not ( prefers-reduced-motion ) {
|
|
221
|
-
.emotion-
|
|
214
|
+
.emotion-15 {
|
|
222
215
|
-webkit-transition: color 160ms linear,font-weight 60ms linear;
|
|
223
216
|
transition: color 160ms linear,font-weight 60ms linear;
|
|
224
217
|
}
|
|
225
218
|
}
|
|
226
219
|
|
|
227
|
-
.emotion-
|
|
220
|
+
.emotion-15::-moz-focus-inner {
|
|
228
221
|
border: 0;
|
|
229
222
|
}
|
|
230
223
|
|
|
231
|
-
.emotion-
|
|
232
|
-
.emotion-
|
|
224
|
+
.emotion-15[disabled],
|
|
225
|
+
.emotion-15[aria-disabled='true'] {
|
|
233
226
|
opacity: 0.4;
|
|
234
227
|
cursor: default;
|
|
235
228
|
}
|
|
236
229
|
|
|
237
|
-
.emotion-
|
|
230
|
+
.emotion-15:hover:not( [disabled] ):not( [aria-disabled='true'] ) {
|
|
238
231
|
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
239
232
|
}
|
|
240
233
|
|
|
@@ -245,41 +238,38 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
245
238
|
<div
|
|
246
239
|
class="components-base-control__field emotion-2 emotion-3"
|
|
247
240
|
>
|
|
248
|
-
<
|
|
249
|
-
class="emotion-4 emotion-5"
|
|
241
|
+
<label
|
|
242
|
+
class="components-base-control__label emotion-4 emotion-5"
|
|
243
|
+
for="wp-components-base-control-19"
|
|
250
244
|
>
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
>
|
|
254
|
-
Test Toggle Group Control
|
|
255
|
-
</span>
|
|
256
|
-
</div>
|
|
245
|
+
Test Toggle Group Control
|
|
246
|
+
</label>
|
|
257
247
|
<div
|
|
258
248
|
aria-label="Test Toggle Group Control"
|
|
259
|
-
class="components-toggle-group-control emotion-
|
|
249
|
+
class="components-toggle-group-control emotion-6 emotion-7"
|
|
260
250
|
data-wp-c16t="true"
|
|
261
251
|
data-wp-component="ToggleGroupControl"
|
|
262
|
-
id="
|
|
252
|
+
id="wp-components-base-control-19"
|
|
263
253
|
role="radiogroup"
|
|
264
254
|
>
|
|
265
255
|
<div
|
|
266
|
-
class="emotion-
|
|
256
|
+
class="emotion-8 emotion-9"
|
|
267
257
|
>
|
|
268
258
|
<button
|
|
269
259
|
aria-checked="true"
|
|
270
260
|
aria-label="Uppercase"
|
|
271
|
-
class="emotion-
|
|
261
|
+
class="emotion-10 components-toggle-group-control-option-base"
|
|
272
262
|
data-active-item="true"
|
|
273
263
|
data-value="uppercase"
|
|
274
264
|
data-wp-c16t="true"
|
|
275
265
|
data-wp-component="ToggleGroupControlOptionBase"
|
|
276
|
-
id="
|
|
266
|
+
id="wp-components-base-control-19-40"
|
|
277
267
|
role="radio"
|
|
278
268
|
type="button"
|
|
279
269
|
value="uppercase"
|
|
280
270
|
>
|
|
281
271
|
<div
|
|
282
|
-
class="emotion-
|
|
272
|
+
class="emotion-11 emotion-12"
|
|
283
273
|
>
|
|
284
274
|
<svg
|
|
285
275
|
aria-hidden="true"
|
|
@@ -297,22 +287,22 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
297
287
|
</button>
|
|
298
288
|
</div>
|
|
299
289
|
<div
|
|
300
|
-
class="emotion-
|
|
290
|
+
class="emotion-8 emotion-9"
|
|
301
291
|
>
|
|
302
292
|
<button
|
|
303
293
|
aria-checked="false"
|
|
304
294
|
aria-label="Lowercase"
|
|
305
|
-
class="emotion-
|
|
295
|
+
class="emotion-15 components-toggle-group-control-option-base"
|
|
306
296
|
data-value="lowercase"
|
|
307
297
|
data-wp-c16t="true"
|
|
308
298
|
data-wp-component="ToggleGroupControlOptionBase"
|
|
309
|
-
id="
|
|
299
|
+
id="wp-components-base-control-19-41"
|
|
310
300
|
role="radio"
|
|
311
301
|
type="button"
|
|
312
302
|
value="lowercase"
|
|
313
303
|
>
|
|
314
304
|
<div
|
|
315
|
-
class="emotion-
|
|
305
|
+
class="emotion-11 emotion-12"
|
|
316
306
|
>
|
|
317
307
|
<svg
|
|
318
308
|
aria-hidden="true"
|
|
@@ -359,13 +349,6 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
359
349
|
}
|
|
360
350
|
|
|
361
351
|
.emotion-4 {
|
|
362
|
-
display: -webkit-box;
|
|
363
|
-
display: -webkit-flex;
|
|
364
|
-
display: -ms-flexbox;
|
|
365
|
-
display: flex;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.emotion-6 {
|
|
369
352
|
font-size: 11px;
|
|
370
353
|
font-weight: 499;
|
|
371
354
|
line-height: 1.4;
|
|
@@ -375,7 +358,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
375
358
|
padding: 0;
|
|
376
359
|
}
|
|
377
360
|
|
|
378
|
-
.emotion-
|
|
361
|
+
.emotion-6 {
|
|
379
362
|
background: var(--wp-components-color-background, #fff);
|
|
380
363
|
border: 1px solid transparent;
|
|
381
364
|
border-radius: 2px;
|
|
@@ -388,25 +371,25 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
388
371
|
height: 40px;
|
|
389
372
|
}
|
|
390
373
|
|
|
391
|
-
.emotion-
|
|
374
|
+
.emotion-6:hover {
|
|
392
375
|
border-color: #ccc;
|
|
393
376
|
}
|
|
394
377
|
|
|
395
|
-
.emotion-
|
|
378
|
+
.emotion-6:focus-within {
|
|
396
379
|
z-index: 1;
|
|
397
380
|
outline: 1.5px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
398
381
|
outline-offset: 1px;
|
|
399
382
|
}
|
|
400
383
|
|
|
401
384
|
@media not ( prefers-reduced-motion ) {
|
|
402
|
-
.emotion-
|
|
385
|
+
.emotion-6[data-indicator-animated]::before {
|
|
403
386
|
transition-property: transform,border-radius;
|
|
404
387
|
transition-duration: 0.2s;
|
|
405
388
|
transition-timing-function: ease-out;
|
|
406
389
|
}
|
|
407
390
|
}
|
|
408
391
|
|
|
409
|
-
.emotion-
|
|
392
|
+
.emotion-6::before {
|
|
410
393
|
content: '';
|
|
411
394
|
position: absolute;
|
|
412
395
|
pointer-events: none;
|
|
@@ -429,7 +412,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
429
412
|
);
|
|
430
413
|
}
|
|
431
414
|
|
|
432
|
-
.emotion-
|
|
415
|
+
.emotion-8 {
|
|
433
416
|
display: -webkit-inline-box;
|
|
434
417
|
display: -webkit-inline-flex;
|
|
435
418
|
display: -ms-inline-flexbox;
|
|
@@ -442,7 +425,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
442
425
|
flex: 1;
|
|
443
426
|
}
|
|
444
427
|
|
|
445
|
-
.emotion-
|
|
428
|
+
.emotion-10 {
|
|
446
429
|
-webkit-align-items: center;
|
|
447
430
|
-webkit-box-align: center;
|
|
448
431
|
-ms-flex-align: center;
|
|
@@ -481,27 +464,27 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
481
464
|
}
|
|
482
465
|
|
|
483
466
|
@media not ( prefers-reduced-motion ) {
|
|
484
|
-
.emotion-
|
|
467
|
+
.emotion-10 {
|
|
485
468
|
-webkit-transition: color 160ms linear,font-weight 60ms linear;
|
|
486
469
|
transition: color 160ms linear,font-weight 60ms linear;
|
|
487
470
|
}
|
|
488
471
|
}
|
|
489
472
|
|
|
490
|
-
.emotion-
|
|
473
|
+
.emotion-10::-moz-focus-inner {
|
|
491
474
|
border: 0;
|
|
492
475
|
}
|
|
493
476
|
|
|
494
|
-
.emotion-
|
|
495
|
-
.emotion-
|
|
477
|
+
.emotion-10[disabled],
|
|
478
|
+
.emotion-10[aria-disabled='true'] {
|
|
496
479
|
opacity: 0.4;
|
|
497
480
|
cursor: default;
|
|
498
481
|
}
|
|
499
482
|
|
|
500
|
-
.emotion-
|
|
483
|
+
.emotion-10:hover:not( [disabled] ):not( [aria-disabled='true'] ) {
|
|
501
484
|
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
502
485
|
}
|
|
503
486
|
|
|
504
|
-
.emotion-
|
|
487
|
+
.emotion-11 {
|
|
505
488
|
display: -webkit-box;
|
|
506
489
|
display: -webkit-flex;
|
|
507
490
|
display: -ms-flexbox;
|
|
@@ -517,62 +500,59 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
517
500
|
<div
|
|
518
501
|
class="components-base-control__field emotion-2 emotion-3"
|
|
519
502
|
>
|
|
520
|
-
<
|
|
521
|
-
class="emotion-4 emotion-5"
|
|
503
|
+
<label
|
|
504
|
+
class="components-base-control__label emotion-4 emotion-5"
|
|
505
|
+
for="wp-components-base-control-18"
|
|
522
506
|
>
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
>
|
|
526
|
-
Test Toggle Group Control
|
|
527
|
-
</span>
|
|
528
|
-
</div>
|
|
507
|
+
Test Toggle Group Control
|
|
508
|
+
</label>
|
|
529
509
|
<div
|
|
530
510
|
aria-label="Test Toggle Group Control"
|
|
531
|
-
class="components-toggle-group-control emotion-
|
|
511
|
+
class="components-toggle-group-control emotion-6 emotion-7"
|
|
532
512
|
data-wp-c16t="true"
|
|
533
513
|
data-wp-component="ToggleGroupControl"
|
|
534
|
-
id="
|
|
514
|
+
id="wp-components-base-control-18"
|
|
535
515
|
role="radiogroup"
|
|
536
516
|
>
|
|
537
517
|
<div
|
|
538
|
-
class="emotion-
|
|
518
|
+
class="emotion-8 emotion-9"
|
|
539
519
|
>
|
|
540
520
|
<button
|
|
541
521
|
aria-checked="false"
|
|
542
522
|
aria-label="R"
|
|
543
|
-
class="emotion-
|
|
523
|
+
class="emotion-10 components-toggle-group-control-option-base"
|
|
544
524
|
data-value="rigas"
|
|
545
525
|
data-wp-c16t="true"
|
|
546
526
|
data-wp-component="ToggleGroupControlOptionBase"
|
|
547
|
-
id="
|
|
527
|
+
id="wp-components-base-control-18-38"
|
|
548
528
|
role="radio"
|
|
549
529
|
type="button"
|
|
550
530
|
value="rigas"
|
|
551
531
|
>
|
|
552
532
|
<div
|
|
553
|
-
class="emotion-
|
|
533
|
+
class="emotion-11 emotion-12"
|
|
554
534
|
>
|
|
555
535
|
R
|
|
556
536
|
</div>
|
|
557
537
|
</button>
|
|
558
538
|
</div>
|
|
559
539
|
<div
|
|
560
|
-
class="emotion-
|
|
540
|
+
class="emotion-8 emotion-9"
|
|
561
541
|
>
|
|
562
542
|
<button
|
|
563
543
|
aria-checked="false"
|
|
564
544
|
aria-label="J"
|
|
565
|
-
class="emotion-
|
|
545
|
+
class="emotion-10 components-toggle-group-control-option-base"
|
|
566
546
|
data-value="jack"
|
|
567
547
|
data-wp-c16t="true"
|
|
568
548
|
data-wp-component="ToggleGroupControlOptionBase"
|
|
569
|
-
id="
|
|
549
|
+
id="wp-components-base-control-18-39"
|
|
570
550
|
role="radio"
|
|
571
551
|
type="button"
|
|
572
552
|
value="jack"
|
|
573
553
|
>
|
|
574
554
|
<div
|
|
575
|
-
class="emotion-
|
|
555
|
+
class="emotion-11 emotion-12"
|
|
576
556
|
>
|
|
577
557
|
J
|
|
578
558
|
</div>
|
|
@@ -608,13 +588,6 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
608
588
|
}
|
|
609
589
|
|
|
610
590
|
.emotion-4 {
|
|
611
|
-
display: -webkit-box;
|
|
612
|
-
display: -webkit-flex;
|
|
613
|
-
display: -ms-flexbox;
|
|
614
|
-
display: flex;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.emotion-6 {
|
|
618
591
|
font-size: 11px;
|
|
619
592
|
font-weight: 499;
|
|
620
593
|
line-height: 1.4;
|
|
@@ -624,7 +597,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
624
597
|
padding: 0;
|
|
625
598
|
}
|
|
626
599
|
|
|
627
|
-
.emotion-
|
|
600
|
+
.emotion-6 {
|
|
628
601
|
background: var(--wp-components-color-background, #fff);
|
|
629
602
|
border: 1px solid transparent;
|
|
630
603
|
border-radius: 2px;
|
|
@@ -637,25 +610,25 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
637
610
|
height: 40px;
|
|
638
611
|
}
|
|
639
612
|
|
|
640
|
-
.emotion-
|
|
613
|
+
.emotion-6:hover {
|
|
641
614
|
border-color: #ccc;
|
|
642
615
|
}
|
|
643
616
|
|
|
644
|
-
.emotion-
|
|
617
|
+
.emotion-6:focus-within {
|
|
645
618
|
z-index: 1;
|
|
646
619
|
outline: 1.5px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
647
620
|
outline-offset: 1px;
|
|
648
621
|
}
|
|
649
622
|
|
|
650
623
|
@media not ( prefers-reduced-motion ) {
|
|
651
|
-
.emotion-
|
|
624
|
+
.emotion-6[data-indicator-animated]::before {
|
|
652
625
|
transition-property: transform,border-radius;
|
|
653
626
|
transition-duration: 0.2s;
|
|
654
627
|
transition-timing-function: ease-out;
|
|
655
628
|
}
|
|
656
629
|
}
|
|
657
630
|
|
|
658
|
-
.emotion-
|
|
631
|
+
.emotion-6::before {
|
|
659
632
|
content: '';
|
|
660
633
|
position: absolute;
|
|
661
634
|
pointer-events: none;
|
|
@@ -678,7 +651,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
678
651
|
);
|
|
679
652
|
}
|
|
680
653
|
|
|
681
|
-
.emotion-
|
|
654
|
+
.emotion-8 {
|
|
682
655
|
display: -webkit-inline-box;
|
|
683
656
|
display: -webkit-inline-flex;
|
|
684
657
|
display: -ms-inline-flexbox;
|
|
@@ -691,7 +664,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
691
664
|
flex: 1;
|
|
692
665
|
}
|
|
693
666
|
|
|
694
|
-
.emotion-
|
|
667
|
+
.emotion-10 {
|
|
695
668
|
-webkit-align-items: center;
|
|
696
669
|
-webkit-box-align: center;
|
|
697
670
|
-ms-flex-align: center;
|
|
@@ -736,27 +709,27 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
736
709
|
}
|
|
737
710
|
|
|
738
711
|
@media not ( prefers-reduced-motion ) {
|
|
739
|
-
.emotion-
|
|
712
|
+
.emotion-10 {
|
|
740
713
|
-webkit-transition: color 160ms linear,font-weight 60ms linear;
|
|
741
714
|
transition: color 160ms linear,font-weight 60ms linear;
|
|
742
715
|
}
|
|
743
716
|
}
|
|
744
717
|
|
|
745
|
-
.emotion-
|
|
718
|
+
.emotion-10::-moz-focus-inner {
|
|
746
719
|
border: 0;
|
|
747
720
|
}
|
|
748
721
|
|
|
749
|
-
.emotion-
|
|
750
|
-
.emotion-
|
|
722
|
+
.emotion-10[disabled],
|
|
723
|
+
.emotion-10[aria-disabled='true'] {
|
|
751
724
|
opacity: 0.4;
|
|
752
725
|
cursor: default;
|
|
753
726
|
}
|
|
754
727
|
|
|
755
|
-
.emotion-
|
|
728
|
+
.emotion-10:hover:not( [disabled] ):not( [aria-disabled='true'] ) {
|
|
756
729
|
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
757
730
|
}
|
|
758
731
|
|
|
759
|
-
.emotion-
|
|
732
|
+
.emotion-11 {
|
|
760
733
|
display: -webkit-box;
|
|
761
734
|
display: -webkit-flex;
|
|
762
735
|
display: -ms-flexbox;
|
|
@@ -765,7 +738,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
765
738
|
line-height: 1;
|
|
766
739
|
}
|
|
767
740
|
|
|
768
|
-
.emotion-
|
|
741
|
+
.emotion-15 {
|
|
769
742
|
-webkit-align-items: center;
|
|
770
743
|
-webkit-box-align: center;
|
|
771
744
|
-ms-flex-align: center;
|
|
@@ -808,23 +781,23 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
808
781
|
}
|
|
809
782
|
|
|
810
783
|
@media not ( prefers-reduced-motion ) {
|
|
811
|
-
.emotion-
|
|
784
|
+
.emotion-15 {
|
|
812
785
|
-webkit-transition: color 160ms linear,font-weight 60ms linear;
|
|
813
786
|
transition: color 160ms linear,font-weight 60ms linear;
|
|
814
787
|
}
|
|
815
788
|
}
|
|
816
789
|
|
|
817
|
-
.emotion-
|
|
790
|
+
.emotion-15::-moz-focus-inner {
|
|
818
791
|
border: 0;
|
|
819
792
|
}
|
|
820
793
|
|
|
821
|
-
.emotion-
|
|
822
|
-
.emotion-
|
|
794
|
+
.emotion-15[disabled],
|
|
795
|
+
.emotion-15[aria-disabled='true'] {
|
|
823
796
|
opacity: 0.4;
|
|
824
797
|
cursor: default;
|
|
825
798
|
}
|
|
826
799
|
|
|
827
|
-
.emotion-
|
|
800
|
+
.emotion-15:hover:not( [disabled] ):not( [aria-disabled='true'] ) {
|
|
828
801
|
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
829
802
|
}
|
|
830
803
|
|
|
@@ -835,41 +808,38 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
835
808
|
<div
|
|
836
809
|
class="components-base-control__field emotion-2 emotion-3"
|
|
837
810
|
>
|
|
838
|
-
<
|
|
839
|
-
class="emotion-4 emotion-5"
|
|
811
|
+
<label
|
|
812
|
+
class="components-base-control__label emotion-4 emotion-5"
|
|
813
|
+
for="wp-components-base-control-1"
|
|
840
814
|
>
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
>
|
|
844
|
-
Test Toggle Group Control
|
|
845
|
-
</span>
|
|
846
|
-
</div>
|
|
815
|
+
Test Toggle Group Control
|
|
816
|
+
</label>
|
|
847
817
|
<div
|
|
848
818
|
aria-label="Test Toggle Group Control"
|
|
849
|
-
class="components-toggle-group-control emotion-
|
|
819
|
+
class="components-toggle-group-control emotion-6 emotion-7"
|
|
850
820
|
data-wp-c16t="true"
|
|
851
821
|
data-wp-component="ToggleGroupControl"
|
|
852
|
-
id="
|
|
822
|
+
id="wp-components-base-control-1"
|
|
853
823
|
role="radiogroup"
|
|
854
824
|
>
|
|
855
825
|
<div
|
|
856
|
-
class="emotion-
|
|
826
|
+
class="emotion-8 emotion-9"
|
|
857
827
|
>
|
|
858
828
|
<button
|
|
859
829
|
aria-checked="true"
|
|
860
830
|
aria-label="Uppercase"
|
|
861
|
-
class="emotion-
|
|
831
|
+
class="emotion-10 components-toggle-group-control-option-base"
|
|
862
832
|
data-active-item="true"
|
|
863
833
|
data-value="uppercase"
|
|
864
834
|
data-wp-c16t="true"
|
|
865
835
|
data-wp-component="ToggleGroupControlOptionBase"
|
|
866
|
-
id="
|
|
836
|
+
id="wp-components-base-control-1-2"
|
|
867
837
|
role="radio"
|
|
868
838
|
type="button"
|
|
869
839
|
value="uppercase"
|
|
870
840
|
>
|
|
871
841
|
<div
|
|
872
|
-
class="emotion-
|
|
842
|
+
class="emotion-11 emotion-12"
|
|
873
843
|
>
|
|
874
844
|
<svg
|
|
875
845
|
aria-hidden="true"
|
|
@@ -887,22 +857,22 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
887
857
|
</button>
|
|
888
858
|
</div>
|
|
889
859
|
<div
|
|
890
|
-
class="emotion-
|
|
860
|
+
class="emotion-8 emotion-9"
|
|
891
861
|
>
|
|
892
862
|
<button
|
|
893
863
|
aria-checked="false"
|
|
894
864
|
aria-label="Lowercase"
|
|
895
|
-
class="emotion-
|
|
865
|
+
class="emotion-15 components-toggle-group-control-option-base"
|
|
896
866
|
data-value="lowercase"
|
|
897
867
|
data-wp-c16t="true"
|
|
898
868
|
data-wp-component="ToggleGroupControlOptionBase"
|
|
899
|
-
id="
|
|
869
|
+
id="wp-components-base-control-1-3"
|
|
900
870
|
role="radio"
|
|
901
871
|
type="button"
|
|
902
872
|
value="lowercase"
|
|
903
873
|
>
|
|
904
874
|
<div
|
|
905
|
-
class="emotion-
|
|
875
|
+
class="emotion-11 emotion-12"
|
|
906
876
|
>
|
|
907
877
|
<svg
|
|
908
878
|
aria-hidden="true"
|
|
@@ -943,13 +913,6 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
943
913
|
}
|
|
944
914
|
|
|
945
915
|
.emotion-4 {
|
|
946
|
-
display: -webkit-box;
|
|
947
|
-
display: -webkit-flex;
|
|
948
|
-
display: -ms-flexbox;
|
|
949
|
-
display: flex;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
.emotion-6 {
|
|
953
916
|
font-size: 11px;
|
|
954
917
|
font-weight: 499;
|
|
955
918
|
line-height: 1.4;
|
|
@@ -959,7 +922,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
959
922
|
padding: 0;
|
|
960
923
|
}
|
|
961
924
|
|
|
962
|
-
.emotion-
|
|
925
|
+
.emotion-6 {
|
|
963
926
|
background: var(--wp-components-color-background, #fff);
|
|
964
927
|
border: 1px solid transparent;
|
|
965
928
|
border-radius: 2px;
|
|
@@ -972,25 +935,25 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
972
935
|
height: 40px;
|
|
973
936
|
}
|
|
974
937
|
|
|
975
|
-
.emotion-
|
|
938
|
+
.emotion-6:hover {
|
|
976
939
|
border-color: #ccc;
|
|
977
940
|
}
|
|
978
941
|
|
|
979
|
-
.emotion-
|
|
942
|
+
.emotion-6:focus-within {
|
|
980
943
|
z-index: 1;
|
|
981
944
|
outline: 1.5px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
982
945
|
outline-offset: 1px;
|
|
983
946
|
}
|
|
984
947
|
|
|
985
948
|
@media not ( prefers-reduced-motion ) {
|
|
986
|
-
.emotion-
|
|
949
|
+
.emotion-6[data-indicator-animated]::before {
|
|
987
950
|
transition-property: transform,border-radius;
|
|
988
951
|
transition-duration: 0.2s;
|
|
989
952
|
transition-timing-function: ease-out;
|
|
990
953
|
}
|
|
991
954
|
}
|
|
992
955
|
|
|
993
|
-
.emotion-
|
|
956
|
+
.emotion-6::before {
|
|
994
957
|
content: '';
|
|
995
958
|
position: absolute;
|
|
996
959
|
pointer-events: none;
|
|
@@ -1013,7 +976,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
1013
976
|
);
|
|
1014
977
|
}
|
|
1015
978
|
|
|
1016
|
-
.emotion-
|
|
979
|
+
.emotion-8 {
|
|
1017
980
|
display: -webkit-inline-box;
|
|
1018
981
|
display: -webkit-inline-flex;
|
|
1019
982
|
display: -ms-inline-flexbox;
|
|
@@ -1026,7 +989,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
1026
989
|
flex: 1;
|
|
1027
990
|
}
|
|
1028
991
|
|
|
1029
|
-
.emotion-
|
|
992
|
+
.emotion-10 {
|
|
1030
993
|
-webkit-align-items: center;
|
|
1031
994
|
-webkit-box-align: center;
|
|
1032
995
|
-ms-flex-align: center;
|
|
@@ -1065,27 +1028,27 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
1065
1028
|
}
|
|
1066
1029
|
|
|
1067
1030
|
@media not ( prefers-reduced-motion ) {
|
|
1068
|
-
.emotion-
|
|
1031
|
+
.emotion-10 {
|
|
1069
1032
|
-webkit-transition: color 160ms linear,font-weight 60ms linear;
|
|
1070
1033
|
transition: color 160ms linear,font-weight 60ms linear;
|
|
1071
1034
|
}
|
|
1072
1035
|
}
|
|
1073
1036
|
|
|
1074
|
-
.emotion-
|
|
1037
|
+
.emotion-10::-moz-focus-inner {
|
|
1075
1038
|
border: 0;
|
|
1076
1039
|
}
|
|
1077
1040
|
|
|
1078
|
-
.emotion-
|
|
1079
|
-
.emotion-
|
|
1041
|
+
.emotion-10[disabled],
|
|
1042
|
+
.emotion-10[aria-disabled='true'] {
|
|
1080
1043
|
opacity: 0.4;
|
|
1081
1044
|
cursor: default;
|
|
1082
1045
|
}
|
|
1083
1046
|
|
|
1084
|
-
.emotion-
|
|
1047
|
+
.emotion-10:hover:not( [disabled] ):not( [aria-disabled='true'] ) {
|
|
1085
1048
|
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
1086
1049
|
}
|
|
1087
1050
|
|
|
1088
|
-
.emotion-
|
|
1051
|
+
.emotion-11 {
|
|
1089
1052
|
display: -webkit-box;
|
|
1090
1053
|
display: -webkit-flex;
|
|
1091
1054
|
display: -ms-flexbox;
|
|
@@ -1101,62 +1064,59 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
1101
1064
|
<div
|
|
1102
1065
|
class="components-base-control__field emotion-2 emotion-3"
|
|
1103
1066
|
>
|
|
1104
|
-
<
|
|
1105
|
-
class="emotion-4 emotion-5"
|
|
1067
|
+
<label
|
|
1068
|
+
class="components-base-control__label emotion-4 emotion-5"
|
|
1069
|
+
for="wp-components-base-control-0"
|
|
1106
1070
|
>
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
>
|
|
1110
|
-
Test Toggle Group Control
|
|
1111
|
-
</span>
|
|
1112
|
-
</div>
|
|
1071
|
+
Test Toggle Group Control
|
|
1072
|
+
</label>
|
|
1113
1073
|
<div
|
|
1114
1074
|
aria-label="Test Toggle Group Control"
|
|
1115
|
-
class="components-toggle-group-control emotion-
|
|
1075
|
+
class="components-toggle-group-control emotion-6 emotion-7"
|
|
1116
1076
|
data-wp-c16t="true"
|
|
1117
1077
|
data-wp-component="ToggleGroupControl"
|
|
1118
|
-
id="
|
|
1078
|
+
id="wp-components-base-control-0"
|
|
1119
1079
|
role="radiogroup"
|
|
1120
1080
|
>
|
|
1121
1081
|
<div
|
|
1122
|
-
class="emotion-
|
|
1082
|
+
class="emotion-8 emotion-9"
|
|
1123
1083
|
>
|
|
1124
1084
|
<button
|
|
1125
1085
|
aria-checked="false"
|
|
1126
1086
|
aria-label="R"
|
|
1127
|
-
class="emotion-
|
|
1087
|
+
class="emotion-10 components-toggle-group-control-option-base"
|
|
1128
1088
|
data-value="rigas"
|
|
1129
1089
|
data-wp-c16t="true"
|
|
1130
1090
|
data-wp-component="ToggleGroupControlOptionBase"
|
|
1131
|
-
id="
|
|
1091
|
+
id="wp-components-base-control-0-0"
|
|
1132
1092
|
role="radio"
|
|
1133
1093
|
type="button"
|
|
1134
1094
|
value="rigas"
|
|
1135
1095
|
>
|
|
1136
1096
|
<div
|
|
1137
|
-
class="emotion-
|
|
1097
|
+
class="emotion-11 emotion-12"
|
|
1138
1098
|
>
|
|
1139
1099
|
R
|
|
1140
1100
|
</div>
|
|
1141
1101
|
</button>
|
|
1142
1102
|
</div>
|
|
1143
1103
|
<div
|
|
1144
|
-
class="emotion-
|
|
1104
|
+
class="emotion-8 emotion-9"
|
|
1145
1105
|
>
|
|
1146
1106
|
<button
|
|
1147
1107
|
aria-checked="false"
|
|
1148
1108
|
aria-label="J"
|
|
1149
|
-
class="emotion-
|
|
1109
|
+
class="emotion-10 components-toggle-group-control-option-base"
|
|
1150
1110
|
data-value="jack"
|
|
1151
1111
|
data-wp-c16t="true"
|
|
1152
1112
|
data-wp-component="ToggleGroupControlOptionBase"
|
|
1153
|
-
id="
|
|
1113
|
+
id="wp-components-base-control-0-1"
|
|
1154
1114
|
role="radio"
|
|
1155
1115
|
type="button"
|
|
1156
1116
|
value="jack"
|
|
1157
1117
|
>
|
|
1158
1118
|
<div
|
|
1159
|
-
class="emotion-
|
|
1119
|
+
class="emotion-11 emotion-12"
|
|
1160
1120
|
>
|
|
1161
1121
|
J
|
|
1162
1122
|
</div>
|