@wordpress/components 29.1.1 → 29.2.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 +19 -6
- package/CONTRIBUTING.md +4 -4
- package/README.md +1 -1
- package/build/badge/index.js +26 -22
- package/build/badge/index.js.map +1 -1
- package/build/circular-option-picker/circular-option-picker-option.js +9 -7
- package/build/circular-option-picker/circular-option-picker-option.js.map +1 -1
- package/build/circular-option-picker/circular-option-picker.js +0 -1
- package/build/circular-option-picker/circular-option-picker.js.map +1 -1
- package/build/color-palette/index.js +1 -6
- package/build/color-palette/index.js.map +1 -1
- package/build/font-size-picker/index.native.js +1 -1
- package/build/font-size-picker/index.native.js.map +1 -1
- package/build/higher-order/with-focus-return/index.js +1 -1
- package/build/higher-order/with-focus-return/index.js.map +1 -1
- package/build/input-control/styles/input-control-styles.js +22 -22
- package/build/input-control/styles/input-control-styles.js.map +1 -1
- package/build/menu/checkbox-item.js +6 -6
- package/build/menu/checkbox-item.js.map +1 -1
- package/build/menu/context.js +2 -2
- package/build/menu/context.js.map +1 -1
- package/build/menu/group-label.js +4 -4
- package/build/menu/group-label.js.map +1 -1
- package/build/menu/group.js +4 -4
- package/build/menu/group.js.map +1 -1
- package/build/menu/index.js +87 -14
- package/build/menu/index.js.map +1 -1
- package/build/menu/item-help-text.js +4 -4
- package/build/menu/item-help-text.js.map +1 -1
- package/build/menu/item-label.js +4 -4
- package/build/menu/item-label.js.map +1 -1
- package/build/menu/item.js +6 -6
- package/build/menu/item.js.map +1 -1
- package/build/menu/popover.js +5 -5
- package/build/menu/popover.js.map +1 -1
- package/build/menu/radio-item.js +6 -6
- package/build/menu/radio-item.js.map +1 -1
- package/build/menu/separator.js +4 -4
- package/build/menu/separator.js.map +1 -1
- package/build/menu/styles.js +41 -41
- package/build/menu/styles.js.map +1 -1
- package/build/menu/submenu-trigger-item.js +5 -5
- package/build/menu/submenu-trigger-item.js.map +1 -1
- package/build/menu/trigger-button.js +3 -3
- package/build/menu/trigger-button.js.map +1 -1
- package/build/menu/types.js.map +1 -1
- package/build/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/build/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
- package/build/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/build/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
- package/build/notice/types.js.map +1 -1
- package/build/search-control/index.js +1 -1
- package/build/search-control/index.js.map +1 -1
- package/build/text/hook.js +8 -6
- package/build/text/hook.js.map +1 -1
- package/build/text/utils.js +1 -1
- package/build/text/utils.js.map +1 -1
- package/build-module/badge/index.js +28 -22
- package/build-module/badge/index.js.map +1 -1
- package/build-module/circular-option-picker/circular-option-picker-option.js +9 -7
- package/build-module/circular-option-picker/circular-option-picker-option.js.map +1 -1
- package/build-module/circular-option-picker/circular-option-picker.js +0 -1
- package/build-module/circular-option-picker/circular-option-picker.js.map +1 -1
- package/build-module/color-palette/index.js +1 -6
- package/build-module/color-palette/index.js.map +1 -1
- package/build-module/font-size-picker/index.native.js +1 -1
- package/build-module/font-size-picker/index.native.js.map +1 -1
- package/build-module/higher-order/with-focus-return/index.js +1 -1
- package/build-module/higher-order/with-focus-return/index.js.map +1 -1
- package/build-module/input-control/styles/input-control-styles.js +22 -22
- package/build-module/input-control/styles/input-control-styles.js.map +1 -1
- package/build-module/menu/checkbox-item.js +6 -6
- package/build-module/menu/checkbox-item.js.map +1 -1
- package/build-module/menu/context.js +1 -1
- package/build-module/menu/context.js.map +1 -1
- package/build-module/menu/group-label.js +4 -4
- package/build-module/menu/group-label.js.map +1 -1
- package/build-module/menu/group.js +4 -4
- package/build-module/menu/group.js.map +1 -1
- package/build-module/menu/index.js +99 -26
- package/build-module/menu/index.js.map +1 -1
- package/build-module/menu/item-help-text.js +4 -4
- package/build-module/menu/item-help-text.js.map +1 -1
- package/build-module/menu/item-label.js +4 -4
- package/build-module/menu/item-label.js.map +1 -1
- package/build-module/menu/item.js +6 -6
- package/build-module/menu/item.js.map +1 -1
- package/build-module/menu/popover.js +5 -5
- package/build-module/menu/popover.js.map +1 -1
- package/build-module/menu/radio-item.js +6 -6
- package/build-module/menu/radio-item.js.map +1 -1
- package/build-module/menu/separator.js +4 -4
- package/build-module/menu/separator.js.map +1 -1
- package/build-module/menu/styles.js +40 -40
- package/build-module/menu/styles.js.map +1 -1
- package/build-module/menu/submenu-trigger-item.js +6 -6
- package/build-module/menu/submenu-trigger-item.js.map +1 -1
- package/build-module/menu/trigger-button.js +3 -3
- package/build-module/menu/trigger-button.js.map +1 -1
- package/build-module/menu/types.js.map +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
- package/build-module/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/build-module/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
- package/build-module/notice/types.js.map +1 -1
- package/build-module/search-control/index.js +1 -1
- package/build-module/search-control/index.js.map +1 -1
- package/build-module/text/hook.js +8 -6
- package/build-module/text/hook.js.map +1 -1
- package/build-module/text/utils.js +1 -1
- package/build-module/text/utils.js.map +1 -1
- package/build-style/style-rtl.css +89 -170
- package/build-style/style.css +89 -170
- package/build-types/badge/index.d.ts.map +1 -1
- package/build-types/circular-option-picker/circular-option-picker-option.d.ts.map +1 -1
- package/build-types/circular-option-picker/circular-option-picker.d.ts.map +1 -1
- package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/color-palette/index.d.ts.map +1 -1
- package/build-types/higher-order/with-focus-return/index.d.ts +1 -1
- package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
- package/build-types/menu/checkbox-item.d.ts +2 -2
- package/build-types/menu/checkbox-item.d.ts.map +1 -1
- package/build-types/menu/context.d.ts +2 -2
- package/build-types/menu/context.d.ts.map +1 -1
- package/build-types/menu/group-label.d.ts +2 -2
- package/build-types/menu/group-label.d.ts.map +1 -1
- package/build-types/menu/group.d.ts +2 -2
- package/build-types/menu/group.d.ts.map +1 -1
- package/build-types/menu/index.d.ts +84 -12
- package/build-types/menu/index.d.ts.map +1 -1
- package/build-types/menu/item-help-text.d.ts +1 -1
- package/build-types/menu/item-help-text.d.ts.map +1 -1
- package/build-types/menu/item-label.d.ts +1 -1
- package/build-types/menu/item-label.d.ts.map +1 -1
- package/build-types/menu/item.d.ts +2 -2
- package/build-types/menu/item.d.ts.map +1 -1
- package/build-types/menu/popover.d.ts +2 -2
- package/build-types/menu/popover.d.ts.map +1 -1
- package/build-types/menu/radio-item.d.ts +2 -2
- package/build-types/menu/radio-item.d.ts.map +1 -1
- package/build-types/menu/separator.d.ts +2 -2
- package/build-types/menu/separator.d.ts.map +1 -1
- package/build-types/menu/styles.d.ts +15 -15
- package/build-types/menu/styles.d.ts.map +1 -1
- package/build-types/menu/submenu-trigger-item.d.ts +2 -2
- package/build-types/menu/submenu-trigger-item.d.ts.map +1 -1
- package/build-types/menu/trigger-button.d.ts +2 -2
- package/build-types/menu/trigger-button.d.ts.map +1 -1
- package/build-types/menu/types.d.ts +10 -10
- package/build-types/menu/types.d.ts.map +1 -1
- package/build-types/menu-group/stories/index.story.d.ts +1 -1
- package/build-types/notice/types.d.ts +1 -1
- package/build-types/progress-bar/stories/index.story.d.ts +1 -1
- package/build-types/tabs/stories/index.story.d.ts +0 -3
- package/build-types/tabs/stories/index.story.d.ts.map +1 -1
- package/build-types/text/hook.d.ts.map +1 -1
- package/build-types/text/utils.d.ts +1 -1
- package/package.json +19 -19
- package/src/animate/style.scss +16 -12
- package/src/badge/index.tsx +28 -27
- package/src/border-control/test/index.js +12 -4
- package/src/button/style.scss +15 -12
- package/src/checkbox-control/style.scss +4 -2
- package/src/circular-option-picker/README.md +1 -2
- package/src/circular-option-picker/circular-option-picker-option.tsx +17 -10
- package/src/circular-option-picker/circular-option-picker.tsx +0 -1
- package/src/circular-option-picker/stories/index.story.tsx +0 -1
- package/src/circular-option-picker/style.scss +10 -5
- package/src/color-palette/index.tsx +0 -7
- package/src/color-palette/test/index.tsx +2 -8
- package/src/combobox-control/test/index.tsx +1 -1
- package/src/drop-zone/style.scss +6 -9
- package/src/font-size-picker/index.native.js +1 -1
- package/src/form-toggle/style.scss +17 -10
- package/src/form-token-field/style.scss +9 -4
- package/src/higher-order/navigate-regions/style.scss +2 -2
- package/src/higher-order/with-focus-return/index.tsx +1 -1
- package/src/input-control/styles/input-control-styles.tsx +6 -0
- package/src/menu/README.md +421 -174
- package/src/menu/checkbox-item.tsx +12 -12
- package/src/menu/context.tsx +2 -4
- package/src/menu/docs-manifest.json +62 -0
- package/src/menu/group-label.tsx +7 -7
- package/src/menu/group.tsx +7 -11
- package/src/menu/index.tsx +101 -31
- package/src/menu/item-help-text.tsx +5 -7
- package/src/menu/item-label.tsx +5 -7
- package/src/menu/item.tsx +12 -12
- package/src/menu/popover.tsx +9 -9
- package/src/menu/radio-item.tsx +12 -12
- package/src/menu/separator.tsx +7 -7
- package/src/menu/stories/best-practices.mdx +38 -0
- package/src/menu/stories/index.story.tsx +8 -8
- package/src/menu/styles.ts +24 -24
- package/src/menu/submenu-trigger-item.tsx +9 -9
- package/src/menu/trigger-button.tsx +6 -6
- package/src/menu/types.ts +10 -10
- package/src/menu-group/stories/index.story.tsx +2 -2
- package/src/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/src/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/src/modal/style.scss +4 -2
- package/src/modal/test/index.tsx +5 -4
- package/src/notice/README.md +3 -3
- package/src/notice/types.ts +1 -1
- package/src/palette-edit/test/index.tsx +1 -1
- package/src/panel/style.scss +14 -6
- package/src/placeholder/style.scss +5 -3
- package/src/progress-bar/stories/index.story.tsx +1 -1
- package/src/resizable-box/style.scss +14 -9
- package/src/search-control/index.tsx +1 -1
- package/src/tab-panel/style.scss +6 -4
- package/src/tabs/stories/index.story.tsx +0 -131
- package/src/text/README.md +1 -1
- package/src/text/hook.ts +3 -2
- package/src/text/stories/index.story.tsx +2 -2
- package/src/text/test/index.tsx +1 -1
- package/src/text/utils.ts +1 -1
- package/src/text-highlight/test/index.tsx +3 -3
- package/src/toolbar/toolbar/style.scss +4 -3
- package/tsconfig.tsbuildinfo +1 -1
package/build-style/style.css
CHANGED
|
@@ -114,14 +114,10 @@
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
|
|
119
|
-
animation-fill-mode: forwards;
|
|
120
|
-
}
|
|
121
|
-
@media (prefers-reduced-motion: reduce) {
|
|
117
|
+
@media not (prefers-reduced-motion) {
|
|
122
118
|
.components-animate__appear {
|
|
123
|
-
animation
|
|
124
|
-
animation-
|
|
119
|
+
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
|
|
120
|
+
animation-fill-mode: forwards;
|
|
125
121
|
}
|
|
126
122
|
}
|
|
127
123
|
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
|
|
@@ -145,21 +141,17 @@
|
|
|
145
141
|
transform: translateY(0%) scaleY(1) scaleX(1);
|
|
146
142
|
}
|
|
147
143
|
}
|
|
148
|
-
|
|
149
|
-
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
|
|
150
|
-
animation-fill-mode: forwards;
|
|
151
|
-
}
|
|
152
|
-
@media (prefers-reduced-motion: reduce) {
|
|
144
|
+
@media not (prefers-reduced-motion) {
|
|
153
145
|
.components-animate__slide-in {
|
|
154
|
-
animation
|
|
155
|
-
animation-
|
|
146
|
+
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
|
|
147
|
+
animation-fill-mode: forwards;
|
|
148
|
+
}
|
|
149
|
+
.components-animate__slide-in.is-from-left {
|
|
150
|
+
transform: translateX(100%);
|
|
151
|
+
}
|
|
152
|
+
.components-animate__slide-in.is-from-right {
|
|
153
|
+
transform: translateX(-100%);
|
|
156
154
|
}
|
|
157
|
-
}
|
|
158
|
-
.components-animate__slide-in.is-from-left {
|
|
159
|
-
transform: translateX(100%);
|
|
160
|
-
}
|
|
161
|
-
.components-animate__slide-in.is-from-right {
|
|
162
|
-
transform: translateX(-100%);
|
|
163
155
|
}
|
|
164
156
|
|
|
165
157
|
@keyframes components-animate__slide-in-animation {
|
|
@@ -167,8 +159,10 @@
|
|
|
167
159
|
transform: translateX(0%);
|
|
168
160
|
}
|
|
169
161
|
}
|
|
170
|
-
|
|
171
|
-
|
|
162
|
+
@media not (prefers-reduced-motion) {
|
|
163
|
+
.components-animate__loading {
|
|
164
|
+
animation: components-animate__loading 1.6s ease-in-out infinite;
|
|
165
|
+
}
|
|
172
166
|
}
|
|
173
167
|
|
|
174
168
|
@keyframes components-animate__loading {
|
|
@@ -291,7 +285,6 @@
|
|
|
291
285
|
cursor: pointer;
|
|
292
286
|
-webkit-appearance: none;
|
|
293
287
|
background: none;
|
|
294
|
-
transition: box-shadow 0.1s linear;
|
|
295
288
|
height: 36px;
|
|
296
289
|
align-items: center;
|
|
297
290
|
box-sizing: border-box;
|
|
@@ -317,10 +310,9 @@
|
|
|
317
310
|
* Link buttons.
|
|
318
311
|
*/
|
|
319
312
|
}
|
|
320
|
-
@media (prefers-reduced-motion
|
|
313
|
+
@media not (prefers-reduced-motion) {
|
|
321
314
|
.components-button {
|
|
322
|
-
transition
|
|
323
|
-
transition-delay: 0s;
|
|
315
|
+
transition: box-shadow 0.1s linear;
|
|
324
316
|
}
|
|
325
317
|
}
|
|
326
318
|
.components-button.is-next-40px-default-size {
|
|
@@ -455,15 +447,13 @@ p + .components-button.is-tertiary {
|
|
|
455
447
|
text-align: left;
|
|
456
448
|
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
457
449
|
text-decoration: underline;
|
|
458
|
-
transition-property: border, background, color;
|
|
459
|
-
transition-duration: 0.05s;
|
|
460
|
-
transition-timing-function: ease-in-out;
|
|
461
450
|
height: auto;
|
|
462
451
|
}
|
|
463
|
-
@media (prefers-reduced-motion
|
|
452
|
+
@media not (prefers-reduced-motion) {
|
|
464
453
|
.components-button.is-link {
|
|
465
|
-
transition-
|
|
466
|
-
transition-
|
|
454
|
+
transition-property: border, background, color;
|
|
455
|
+
transition-duration: 0.05s;
|
|
456
|
+
transition-timing-function: ease-in-out;
|
|
467
457
|
}
|
|
468
458
|
}
|
|
469
459
|
.components-button.is-link:focus {
|
|
@@ -480,15 +470,14 @@ p + .components-button.is-tertiary {
|
|
|
480
470
|
color: #949494;
|
|
481
471
|
}
|
|
482
472
|
.components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] {
|
|
483
|
-
animation: components-button__busy-animation 2500ms infinite linear;
|
|
484
473
|
background-size: 100px 100%;
|
|
485
474
|
/* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */
|
|
486
475
|
background-image: linear-gradient(-45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);
|
|
487
476
|
/* stylelint-enable */
|
|
488
477
|
}
|
|
489
|
-
@media (prefers-reduced-motion
|
|
478
|
+
@media not (prefers-reduced-motion) {
|
|
490
479
|
.components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] {
|
|
491
|
-
animation
|
|
480
|
+
animation: components-button__busy-animation 2500ms infinite linear;
|
|
492
481
|
}
|
|
493
482
|
}
|
|
494
483
|
.components-button.is-compact {
|
|
@@ -585,7 +574,6 @@ p + .components-button.is-tertiary {
|
|
|
585
574
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
586
575
|
padding: 6px 8px;
|
|
587
576
|
box-shadow: 0 0 0 transparent;
|
|
588
|
-
transition: box-shadow 0.1s linear;
|
|
589
577
|
border-radius: 2px;
|
|
590
578
|
border: 1px solid #949494;
|
|
591
579
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -610,12 +598,10 @@ p + .components-button.is-tertiary {
|
|
|
610
598
|
width: var(--checkbox-input-size);
|
|
611
599
|
height: var(--checkbox-input-size);
|
|
612
600
|
appearance: none;
|
|
613
|
-
transition: 0.1s border-color ease-in-out;
|
|
614
601
|
}
|
|
615
|
-
@media (prefers-reduced-motion
|
|
602
|
+
@media not (prefers-reduced-motion) {
|
|
616
603
|
.components-checkbox-control__input[type=checkbox] {
|
|
617
|
-
transition
|
|
618
|
-
transition-delay: 0s;
|
|
604
|
+
transition: box-shadow 0.1s linear;
|
|
619
605
|
}
|
|
620
606
|
}
|
|
621
607
|
@media (min-width: 600px) {
|
|
@@ -688,10 +674,9 @@ p + .components-button.is-tertiary {
|
|
|
688
674
|
cursor: default;
|
|
689
675
|
opacity: 1;
|
|
690
676
|
}
|
|
691
|
-
@media (prefers-reduced-motion
|
|
677
|
+
@media not (prefers-reduced-motion) {
|
|
692
678
|
.components-checkbox-control__input[type=checkbox] {
|
|
693
|
-
transition
|
|
694
|
-
transition-delay: 0s;
|
|
679
|
+
transition: 0.1s border-color ease-in-out;
|
|
695
680
|
}
|
|
696
681
|
}
|
|
697
682
|
.components-checkbox-control__input[type=checkbox]:focus {
|
|
@@ -776,13 +761,11 @@ svg.components-checkbox-control__indeterminate {
|
|
|
776
761
|
width: 28px;
|
|
777
762
|
vertical-align: top;
|
|
778
763
|
transform: scale(1);
|
|
779
|
-
transition: 100ms transform ease;
|
|
780
|
-
will-change: transform;
|
|
781
764
|
}
|
|
782
|
-
@media (prefers-reduced-motion
|
|
765
|
+
@media not (prefers-reduced-motion) {
|
|
783
766
|
.components-circular-option-picker__option-wrapper {
|
|
784
|
-
transition
|
|
785
|
-
|
|
767
|
+
transition: 100ms transform ease;
|
|
768
|
+
will-change: transform;
|
|
786
769
|
}
|
|
787
770
|
}
|
|
788
771
|
.components-circular-option-picker__option-wrapper:hover {
|
|
@@ -815,13 +798,11 @@ svg.components-checkbox-control__indeterminate {
|
|
|
815
798
|
border-radius: 50%;
|
|
816
799
|
background: transparent;
|
|
817
800
|
box-shadow: inset 0 0 0 14px;
|
|
818
|
-
transition: 100ms box-shadow ease;
|
|
819
801
|
cursor: pointer;
|
|
820
802
|
}
|
|
821
|
-
@media (prefers-reduced-motion
|
|
803
|
+
@media not (prefers-reduced-motion) {
|
|
822
804
|
.components-circular-option-picker__option {
|
|
823
|
-
transition
|
|
824
|
-
transition-delay: 0s;
|
|
805
|
+
transition: 100ms box-shadow ease;
|
|
825
806
|
}
|
|
826
807
|
}
|
|
827
808
|
.components-circular-option-picker__option:hover {
|
|
@@ -931,7 +912,6 @@ input.components-combobox-control__input[type=text]:focus {
|
|
|
931
912
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
932
913
|
padding: 6px 8px;
|
|
933
914
|
box-shadow: 0 0 0 transparent;
|
|
934
|
-
transition: box-shadow 0.1s linear;
|
|
935
915
|
border-radius: 2px;
|
|
936
916
|
border: 1px solid #949494;
|
|
937
917
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -944,10 +924,9 @@ input.components-combobox-control__input[type=text]:focus {
|
|
|
944
924
|
width: 100%;
|
|
945
925
|
padding: 0;
|
|
946
926
|
}
|
|
947
|
-
@media (prefers-reduced-motion
|
|
927
|
+
@media not (prefers-reduced-motion) {
|
|
948
928
|
.components-combobox-control__suggestions-container {
|
|
949
|
-
transition
|
|
950
|
-
transition-delay: 0s;
|
|
929
|
+
transition: box-shadow 0.1s linear;
|
|
951
930
|
}
|
|
952
931
|
}
|
|
953
932
|
@media (min-width: 600px) {
|
|
@@ -1191,21 +1170,19 @@ body.is-dragging-components-draggable {
|
|
|
1191
1170
|
}
|
|
1192
1171
|
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content {
|
|
1193
1172
|
opacity: 1;
|
|
1194
|
-
transition: opacity 0.2s ease-in-out;
|
|
1195
1173
|
}
|
|
1196
|
-
@media (prefers-reduced-motion) {
|
|
1174
|
+
@media not (prefers-reduced-motion) {
|
|
1197
1175
|
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content {
|
|
1198
|
-
transition:
|
|
1176
|
+
transition: opacity 0.2s ease-in-out;
|
|
1199
1177
|
}
|
|
1200
1178
|
}
|
|
1201
1179
|
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner {
|
|
1202
1180
|
opacity: 1;
|
|
1203
1181
|
transform: scale(1);
|
|
1204
|
-
transition: opacity 0.1s ease-in-out 0.1s, transform 0.1s ease-in-out 0.1s;
|
|
1205
1182
|
}
|
|
1206
|
-
@media (prefers-reduced-motion) {
|
|
1183
|
+
@media not (prefers-reduced-motion) {
|
|
1207
1184
|
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner {
|
|
1208
|
-
transition:
|
|
1185
|
+
transition: opacity 0.1s ease-in-out 0.1s, transform 0.1s ease-in-out 0.1s;
|
|
1209
1186
|
}
|
|
1210
1187
|
}
|
|
1211
1188
|
|
|
@@ -1371,13 +1348,11 @@ body.is-dragging-components-draggable {
|
|
|
1371
1348
|
width: 32px;
|
|
1372
1349
|
height: 16px;
|
|
1373
1350
|
border-radius: 8px;
|
|
1374
|
-
transition: 0.2s background-color ease, 0.2s border-color ease;
|
|
1375
1351
|
overflow: hidden;
|
|
1376
1352
|
}
|
|
1377
|
-
@media (prefers-reduced-motion
|
|
1353
|
+
@media not (prefers-reduced-motion) {
|
|
1378
1354
|
.components-form-toggle .components-form-toggle__track {
|
|
1379
|
-
transition
|
|
1380
|
-
transition-delay: 0s;
|
|
1355
|
+
transition: 0.2s background-color ease, 0.2s border-color ease;
|
|
1381
1356
|
}
|
|
1382
1357
|
}
|
|
1383
1358
|
.components-form-toggle .components-form-toggle__track::after {
|
|
@@ -1386,13 +1361,11 @@ body.is-dragging-components-draggable {
|
|
|
1386
1361
|
inset: 0;
|
|
1387
1362
|
box-sizing: border-box;
|
|
1388
1363
|
border-top: 16px solid transparent;
|
|
1389
|
-
transition: 0.2s opacity ease;
|
|
1390
1364
|
opacity: 0;
|
|
1391
1365
|
}
|
|
1392
|
-
@media (prefers-reduced-motion
|
|
1366
|
+
@media not (prefers-reduced-motion) {
|
|
1393
1367
|
.components-form-toggle .components-form-toggle__track::after {
|
|
1394
|
-
transition
|
|
1395
|
-
transition-delay: 0s;
|
|
1368
|
+
transition: 0.2s opacity ease;
|
|
1396
1369
|
}
|
|
1397
1370
|
}
|
|
1398
1371
|
.components-form-toggle .components-form-toggle__thumb {
|
|
@@ -1404,15 +1377,13 @@ body.is-dragging-components-draggable {
|
|
|
1404
1377
|
width: 12px;
|
|
1405
1378
|
height: 12px;
|
|
1406
1379
|
border-radius: 50%;
|
|
1407
|
-
transition: 0.2s transform ease, 0.2s background-color ease-out;
|
|
1408
1380
|
background-color: #1e1e1e;
|
|
1409
1381
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01);
|
|
1410
1382
|
border: 6px solid transparent;
|
|
1411
1383
|
}
|
|
1412
|
-
@media (prefers-reduced-motion
|
|
1384
|
+
@media not (prefers-reduced-motion) {
|
|
1413
1385
|
.components-form-toggle .components-form-toggle__thumb {
|
|
1414
|
-
transition
|
|
1415
|
-
transition-delay: 0s;
|
|
1386
|
+
transition: 0.2s transform ease, 0.2s background-color ease-out;
|
|
1416
1387
|
}
|
|
1417
1388
|
}
|
|
1418
1389
|
.components-form-toggle.is-checked .components-form-toggle__track {
|
|
@@ -1462,7 +1433,6 @@ body.is-dragging-components-draggable {
|
|
|
1462
1433
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
1463
1434
|
padding: 6px 8px;
|
|
1464
1435
|
box-shadow: 0 0 0 transparent;
|
|
1465
|
-
transition: box-shadow 0.1s linear;
|
|
1466
1436
|
border-radius: 2px;
|
|
1467
1437
|
border: 1px solid #949494;
|
|
1468
1438
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -1473,10 +1443,9 @@ body.is-dragging-components-draggable {
|
|
|
1473
1443
|
padding: 0;
|
|
1474
1444
|
cursor: text;
|
|
1475
1445
|
}
|
|
1476
|
-
@media (prefers-reduced-motion
|
|
1446
|
+
@media not (prefers-reduced-motion) {
|
|
1477
1447
|
.components-form-token-field__input-container {
|
|
1478
|
-
transition
|
|
1479
|
-
transition-delay: 0s;
|
|
1448
|
+
transition: box-shadow 0.1s linear;
|
|
1480
1449
|
}
|
|
1481
1450
|
}
|
|
1482
1451
|
@media (min-width: 600px) {
|
|
@@ -1591,15 +1560,11 @@ body.is-dragging-components-draggable {
|
|
|
1591
1560
|
height: auto;
|
|
1592
1561
|
background: #ddd;
|
|
1593
1562
|
min-width: unset;
|
|
1594
|
-
transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);
|
|
1595
1563
|
}
|
|
1596
|
-
@media (prefers-reduced-motion
|
|
1564
|
+
@media not (prefers-reduced-motion) {
|
|
1597
1565
|
.components-form-token-field__token-text,
|
|
1598
1566
|
.components-form-token-field__remove-token.components-button {
|
|
1599
|
-
transition
|
|
1600
|
-
transition-delay: 0s;
|
|
1601
|
-
animation-duration: 1ms;
|
|
1602
|
-
animation-delay: 0s;
|
|
1567
|
+
transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);
|
|
1603
1568
|
}
|
|
1604
1569
|
}
|
|
1605
1570
|
|
|
@@ -1627,16 +1592,14 @@ body.is-dragging-components-draggable {
|
|
|
1627
1592
|
min-width: 100%;
|
|
1628
1593
|
max-height: 128px;
|
|
1629
1594
|
overflow-y: auto;
|
|
1630
|
-
transition: all 0.15s ease-in-out;
|
|
1631
1595
|
list-style: none;
|
|
1632
1596
|
box-shadow: inset 0 1px 0 0 #949494;
|
|
1633
1597
|
margin: 0;
|
|
1634
1598
|
padding: 0;
|
|
1635
1599
|
}
|
|
1636
|
-
@media (prefers-reduced-motion
|
|
1600
|
+
@media not (prefers-reduced-motion) {
|
|
1637
1601
|
.components-form-token-field__suggestions-list {
|
|
1638
|
-
transition
|
|
1639
|
-
transition-delay: 0s;
|
|
1602
|
+
transition: all 0.15s ease-in-out;
|
|
1640
1603
|
}
|
|
1641
1604
|
}
|
|
1642
1605
|
|
|
@@ -1927,8 +1890,6 @@ body.is-dragging-components-draggable {
|
|
|
1927
1890
|
background-color: rgba(0, 0, 0, 0.35);
|
|
1928
1891
|
z-index: 100000;
|
|
1929
1892
|
display: flex;
|
|
1930
|
-
animation: __wp-base-styles-fade-in 0.08s linear 0s;
|
|
1931
|
-
animation-fill-mode: forwards;
|
|
1932
1893
|
}
|
|
1933
1894
|
@keyframes __wp-base-styles-fade-in {
|
|
1934
1895
|
from {
|
|
@@ -1938,16 +1899,12 @@ body.is-dragging-components-draggable {
|
|
|
1938
1899
|
opacity: 1;
|
|
1939
1900
|
}
|
|
1940
1901
|
}
|
|
1941
|
-
@media (prefers-reduced-motion
|
|
1902
|
+
@media not (prefers-reduced-motion) {
|
|
1942
1903
|
.components-modal__screen-overlay {
|
|
1943
|
-
animation
|
|
1944
|
-
animation-
|
|
1904
|
+
animation: __wp-base-styles-fade-in 0.08s linear 0s;
|
|
1905
|
+
animation-fill-mode: forwards;
|
|
1945
1906
|
}
|
|
1946
1907
|
}
|
|
1947
|
-
.components-modal__screen-overlay.is-animating-out {
|
|
1948
|
-
animation: __wp-base-styles-fade-out 0.08s linear 80ms;
|
|
1949
|
-
animation-fill-mode: forwards;
|
|
1950
|
-
}
|
|
1951
1908
|
@keyframes __wp-base-styles-fade-out {
|
|
1952
1909
|
from {
|
|
1953
1910
|
opacity: 1;
|
|
@@ -1956,10 +1913,10 @@ body.is-dragging-components-draggable {
|
|
|
1956
1913
|
opacity: 0;
|
|
1957
1914
|
}
|
|
1958
1915
|
}
|
|
1959
|
-
@media (prefers-reduced-motion
|
|
1916
|
+
@media not (prefers-reduced-motion) {
|
|
1960
1917
|
.components-modal__screen-overlay.is-animating-out {
|
|
1961
|
-
animation
|
|
1962
|
-
animation-
|
|
1918
|
+
animation: __wp-base-styles-fade-out 0.08s linear 80ms;
|
|
1919
|
+
animation-fill-mode: forwards;
|
|
1963
1920
|
}
|
|
1964
1921
|
}
|
|
1965
1922
|
|
|
@@ -1973,7 +1930,6 @@ body.is-dragging-components-draggable {
|
|
|
1973
1930
|
overflow: hidden;
|
|
1974
1931
|
display: flex;
|
|
1975
1932
|
animation-name: components-modal__appear-animation;
|
|
1976
|
-
animation-duration: var(--modal-frame-animation-duration);
|
|
1977
1933
|
animation-fill-mode: forwards;
|
|
1978
1934
|
animation-timing-function: cubic-bezier(0.29, 0, 0, 1);
|
|
1979
1935
|
}
|
|
@@ -1982,10 +1938,9 @@ body.is-dragging-components-draggable {
|
|
|
1982
1938
|
.components-modal__frame *::after {
|
|
1983
1939
|
box-sizing: inherit;
|
|
1984
1940
|
}
|
|
1985
|
-
@media (prefers-reduced-motion
|
|
1941
|
+
@media not (prefers-reduced-motion) {
|
|
1986
1942
|
.components-modal__frame {
|
|
1987
|
-
animation-duration:
|
|
1988
|
-
animation-delay: 0s;
|
|
1943
|
+
animation-duration: var(--modal-frame-animation-duration);
|
|
1989
1944
|
}
|
|
1990
1945
|
}
|
|
1991
1946
|
.components-modal__screen-overlay.is-animating-out .components-modal__frame {
|
|
@@ -2255,12 +2210,10 @@ body.is-dragging-components-draggable {
|
|
|
2255
2210
|
font-size: inherit;
|
|
2256
2211
|
margin-top: 0;
|
|
2257
2212
|
margin-bottom: 0;
|
|
2258
|
-
transition: 0.1s background ease-in-out;
|
|
2259
2213
|
}
|
|
2260
|
-
@media (prefers-reduced-motion
|
|
2214
|
+
@media not (prefers-reduced-motion) {
|
|
2261
2215
|
.components-panel__body > .components-panel__body-title {
|
|
2262
|
-
transition
|
|
2263
|
-
transition-delay: 0s;
|
|
2216
|
+
transition: 0.1s background ease-in-out;
|
|
2264
2217
|
}
|
|
2265
2218
|
}
|
|
2266
2219
|
|
|
@@ -2284,15 +2237,13 @@ body.is-dragging-components-draggable {
|
|
|
2284
2237
|
color: #1e1e1e;
|
|
2285
2238
|
border: none;
|
|
2286
2239
|
box-shadow: none;
|
|
2287
|
-
transition: 0.1s background ease-in-out;
|
|
2288
2240
|
height: auto;
|
|
2289
2241
|
/* rtl:begin:ignore */
|
|
2290
2242
|
/* rtl:end:ignore */
|
|
2291
2243
|
}
|
|
2292
|
-
@media (prefers-reduced-motion
|
|
2244
|
+
@media not (prefers-reduced-motion) {
|
|
2293
2245
|
.components-panel__body-toggle.components-button {
|
|
2294
|
-
transition
|
|
2295
|
-
transition-delay: 0s;
|
|
2246
|
+
transition: 0.1s background ease-in-out;
|
|
2296
2247
|
}
|
|
2297
2248
|
}
|
|
2298
2249
|
.components-panel__body-toggle.components-button:focus {
|
|
@@ -2306,12 +2257,10 @@ body.is-dragging-components-draggable {
|
|
|
2306
2257
|
transform: translateY(-50%);
|
|
2307
2258
|
color: #1e1e1e;
|
|
2308
2259
|
fill: currentColor;
|
|
2309
|
-
transition: 0.1s color ease-in-out;
|
|
2310
2260
|
}
|
|
2311
|
-
@media (prefers-reduced-motion
|
|
2261
|
+
@media not (prefers-reduced-motion) {
|
|
2312
2262
|
.components-panel__body-toggle.components-button .components-panel__arrow {
|
|
2313
|
-
transition
|
|
2314
|
-
transition-delay: 0s;
|
|
2263
|
+
transition: 0.1s color ease-in-out;
|
|
2315
2264
|
}
|
|
2316
2265
|
}
|
|
2317
2266
|
body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {
|
|
@@ -2437,7 +2386,6 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2437
2386
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2438
2387
|
padding: 6px 8px;
|
|
2439
2388
|
box-shadow: 0 0 0 transparent;
|
|
2440
|
-
transition: box-shadow 0.1s linear;
|
|
2441
2389
|
border-radius: 2px;
|
|
2442
2390
|
border: 1px solid #949494;
|
|
2443
2391
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -2446,10 +2394,9 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2446
2394
|
line-height: normal;
|
|
2447
2395
|
flex: 1 1 auto;
|
|
2448
2396
|
}
|
|
2449
|
-
@media (prefers-reduced-motion
|
|
2397
|
+
@media not (prefers-reduced-motion) {
|
|
2450
2398
|
.components-placeholder__input[type=url] {
|
|
2451
|
-
transition
|
|
2452
|
-
transition-delay: 0s;
|
|
2399
|
+
transition: box-shadow 0.1s linear;
|
|
2453
2400
|
}
|
|
2454
2401
|
}
|
|
2455
2402
|
@media (min-width: 600px) {
|
|
@@ -2532,14 +2479,12 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2532
2479
|
.components-placeholder.has-illustration .components-button {
|
|
2533
2480
|
opacity: 0;
|
|
2534
2481
|
pointer-events: none;
|
|
2535
|
-
transition: opacity 0.1s linear;
|
|
2536
2482
|
}
|
|
2537
|
-
@media (prefers-reduced-motion
|
|
2483
|
+
@media not (prefers-reduced-motion) {
|
|
2538
2484
|
.components-placeholder.has-illustration .components-placeholder__label,
|
|
2539
2485
|
.components-placeholder.has-illustration .components-placeholder__instructions,
|
|
2540
2486
|
.components-placeholder.has-illustration .components-button {
|
|
2541
|
-
transition
|
|
2542
|
-
transition-delay: 0s;
|
|
2487
|
+
transition: opacity 0.1s linear;
|
|
2543
2488
|
}
|
|
2544
2489
|
}
|
|
2545
2490
|
.is-selected > .components-placeholder.has-illustration .components-placeholder__label,
|
|
@@ -2726,7 +2671,6 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2726
2671
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2727
2672
|
padding: 6px 8px;
|
|
2728
2673
|
box-shadow: 0 0 0 transparent;
|
|
2729
|
-
transition: box-shadow 0.1s linear;
|
|
2730
2674
|
border-radius: 2px;
|
|
2731
2675
|
border: 1px solid #949494;
|
|
2732
2676
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -2748,10 +2692,9 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2748
2692
|
appearance: none;
|
|
2749
2693
|
cursor: pointer;
|
|
2750
2694
|
}
|
|
2751
|
-
@media (prefers-reduced-motion
|
|
2695
|
+
@media not (prefers-reduced-motion) {
|
|
2752
2696
|
.components-radio-control__input[type=radio] {
|
|
2753
|
-
transition
|
|
2754
|
-
transition-delay: 0s;
|
|
2697
|
+
transition: box-shadow 0.1s linear;
|
|
2755
2698
|
}
|
|
2756
2699
|
}
|
|
2757
2700
|
@media (min-width: 600px) {
|
|
@@ -2892,14 +2835,12 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2892
2835
|
position: absolute;
|
|
2893
2836
|
top: calc(50% - 1px);
|
|
2894
2837
|
right: calc(50% - 1px);
|
|
2895
|
-
transition: transform 0.1s ease-in;
|
|
2896
|
-
will-change: transform;
|
|
2897
2838
|
opacity: 0;
|
|
2898
2839
|
}
|
|
2899
|
-
@media (prefers-reduced-motion
|
|
2840
|
+
@media not (prefers-reduced-motion) {
|
|
2900
2841
|
.components-resizable-box__side-handle::before {
|
|
2901
|
-
transition
|
|
2902
|
-
|
|
2842
|
+
transition: transform 0.1s ease-in;
|
|
2843
|
+
will-change: transform;
|
|
2903
2844
|
}
|
|
2904
2845
|
}
|
|
2905
2846
|
|
|
@@ -2931,37 +2872,23 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2931
2872
|
border-bottom: 0;
|
|
2932
2873
|
}
|
|
2933
2874
|
|
|
2934
|
-
|
|
2935
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
|
2936
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
|
|
2937
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
|
|
2938
|
-
animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;
|
|
2939
|
-
animation-fill-mode: forwards;
|
|
2940
|
-
}
|
|
2941
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2875
|
+
@media not (prefers-reduced-motion) {
|
|
2942
2876
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
|
|
2943
2877
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
|
2944
2878
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
|
|
2945
2879
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
|
|
2946
|
-
animation
|
|
2947
|
-
animation-
|
|
2880
|
+
animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;
|
|
2881
|
+
animation-fill-mode: forwards;
|
|
2948
2882
|
}
|
|
2949
2883
|
}
|
|
2950
2884
|
|
|
2951
|
-
|
|
2952
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
|
|
2953
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
|
|
2954
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
|
|
2955
|
-
animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;
|
|
2956
|
-
animation-fill-mode: forwards;
|
|
2957
|
-
}
|
|
2958
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2885
|
+
@media not (prefers-reduced-motion) {
|
|
2959
2886
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
|
|
2960
2887
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
|
|
2961
2888
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
|
|
2962
2889
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
|
|
2963
|
-
animation
|
|
2964
|
-
animation-
|
|
2890
|
+
animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;
|
|
2891
|
+
animation-fill-mode: forwards;
|
|
2965
2892
|
}
|
|
2966
2893
|
}
|
|
2967
2894
|
|
|
@@ -3169,12 +3096,10 @@ body.lockscroll {
|
|
|
3169
3096
|
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
3170
3097
|
height: calc(0 * var(--wp-admin-border-width-focus));
|
|
3171
3098
|
border-radius: 0;
|
|
3172
|
-
transition: all 0.1s linear;
|
|
3173
3099
|
}
|
|
3174
|
-
@media (prefers-reduced-motion
|
|
3100
|
+
@media not (prefers-reduced-motion) {
|
|
3175
3101
|
.components-tab-panel__tabs-item::after {
|
|
3176
|
-
transition
|
|
3177
|
-
transition-delay: 0s;
|
|
3102
|
+
transition: all 0.1s linear;
|
|
3178
3103
|
}
|
|
3179
3104
|
}
|
|
3180
3105
|
.components-tab-panel__tabs-item.is-active::after {
|
|
@@ -3192,12 +3117,10 @@ body.lockscroll {
|
|
|
3192
3117
|
pointer-events: none;
|
|
3193
3118
|
box-shadow: 0 0 0 0 transparent;
|
|
3194
3119
|
border-radius: 2px;
|
|
3195
|
-
transition: all 0.1s linear;
|
|
3196
3120
|
}
|
|
3197
|
-
@media (prefers-reduced-motion
|
|
3121
|
+
@media not (prefers-reduced-motion) {
|
|
3198
3122
|
.components-tab-panel__tabs-item::before {
|
|
3199
|
-
transition
|
|
3200
|
-
transition-delay: 0s;
|
|
3123
|
+
transition: all 0.1s linear;
|
|
3201
3124
|
}
|
|
3202
3125
|
}
|
|
3203
3126
|
.components-tab-panel__tabs-item:focus-visible::before {
|
|
@@ -3235,7 +3158,6 @@ body.lockscroll {
|
|
|
3235
3158
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
3236
3159
|
padding: 6px 8px;
|
|
3237
3160
|
box-shadow: 0 0 0 transparent;
|
|
3238
|
-
transition: box-shadow 0.1s linear;
|
|
3239
3161
|
border-radius: 2px;
|
|
3240
3162
|
border: 1px solid #949494;
|
|
3241
3163
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -3243,7 +3165,7 @@ body.lockscroll {
|
|
|
3243
3165
|
/* Override core line-height. To be reviewed. */
|
|
3244
3166
|
line-height: normal;
|
|
3245
3167
|
}
|
|
3246
|
-
@media (prefers-reduced-motion
|
|
3168
|
+
@media not (prefers-reduced-motion) {
|
|
3247
3169
|
.components-text-control__input,
|
|
3248
3170
|
.components-text-control__input[type=text],
|
|
3249
3171
|
.components-text-control__input[type=tel],
|
|
@@ -3258,8 +3180,7 @@ body.lockscroll {
|
|
|
3258
3180
|
.components-text-control__input[type=email],
|
|
3259
3181
|
.components-text-control__input[type=month],
|
|
3260
3182
|
.components-text-control__input[type=number] {
|
|
3261
|
-
transition
|
|
3262
|
-
transition-delay: 0s;
|
|
3183
|
+
transition: box-shadow 0.1s linear;
|
|
3263
3184
|
}
|
|
3264
3185
|
}
|
|
3265
3186
|
@media (min-width: 600px) {
|
|
@@ -3439,14 +3360,12 @@ body.lockscroll {
|
|
|
3439
3360
|
left: 8px;
|
|
3440
3361
|
right: 8px;
|
|
3441
3362
|
z-index: -1;
|
|
3442
|
-
animation: components-button__appear-animation 0.1s ease;
|
|
3443
|
-
animation-fill-mode: forwards;
|
|
3444
3363
|
}
|
|
3445
|
-
@media (prefers-reduced-motion
|
|
3364
|
+
@media not (prefers-reduced-motion) {
|
|
3446
3365
|
.components-accessible-toolbar .components-button::before,
|
|
3447
3366
|
.components-toolbar .components-button::before {
|
|
3448
|
-
animation
|
|
3449
|
-
animation-
|
|
3367
|
+
animation: components-button__appear-animation 0.1s ease;
|
|
3368
|
+
animation-fill-mode: forwards;
|
|
3450
3369
|
}
|
|
3451
3370
|
}
|
|
3452
3371
|
.components-accessible-toolbar .components-button svg,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/badge/index.tsx"],"names":[],"mappings":"AAUA;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/badge/index.tsx"],"names":[],"mappings":"AAUA;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAuB1D,iBAAS,KAAK,CAAE,EACf,SAAS,EACT,MAAkB,EAClB,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,uBAAuB,CAAE,UAAU,EAAE,MAAM,EAAE,KAAK,CAAE,+BAuBtD;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"circular-option-picker-option.d.ts","sourceRoot":"","sources":["../../src/circular-option-picker/circular-option-picker-option.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"circular-option-picker-option.d.ts","sourceRoot":"","sources":["../../src/circular-option-picker/circular-option-picker-option.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAgE3C,wBAAgB,MAAM,CAAE,EACvB,SAAS,EACT,UAAU,EACV,iBAAsB,EACtB,WAAW,EACX,GAAG,eAAe,EAClB,EAAE,WAAW,+BAwCb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"circular-option-picker.d.ts","sourceRoot":"","sources":["../../src/circular-option-picker/circular-option-picker.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EACX,yBAAyB,EAGzB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"circular-option-picker.d.ts","sourceRoot":"","sources":["../../src/circular-option-picker/circular-option-picker.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EACX,yBAAyB,EAGzB,MAAM,SAAS,CAAC;AA2HjB,iBAAS,oBAAoB,CAAE,KAAK,EAAE,yBAAyB,+BA2C9D;kBA3CQ,oBAAoB;;;;;;AAkD7B,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/circular-option-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAKtD;;GAEG;AACH,OAAO,oBAAoB,MAAM,IAAI,CAAC;AAOtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,oBAAoB,CA6C5C,CAAC;AACF,eAAe,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/circular-option-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAKtD;;GAEG;AACH,OAAO,oBAAoB,MAAM,IAAI,CAAC;AAOtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,oBAAoB,CA6C5C,CAAC;AACF,eAAe,IAAI,CAAC;AAgDpB,eAAO,MAAM,OAAO,mIAAsB,CAAC;AAM3C,eAAO,MAAM,SAAS,mIAAsB,CAAC;AAM7C,eAAO,MAAM,mBAAmB,mIAAsB,CAAC;AAiBvD,eAAO,MAAM,gBAAgB,mIAAsB,CAAC;AAOpD,eAAO,MAAM,sBAAsB,mIAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/color-palette/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAEX,iBAAiB,EACjB,8BAA8B,EAI9B,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/color-palette/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAEX,iBAAiB,EACjB,8BAA8B,EAI9B,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAoG1D,wBAAgB,yBAAyB,CAAE,EAC1C,mBAAmB,EACnB,YAAY,EAAE,oBAAoB,EAClC,GAAG,KAAK,EACR,EAAE,8BAA8B,+BAgChC;AA8LD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,YAAY,mIAAwC,CAAC;AAElE,eAAe,YAAY,CAAC"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* describing the component and the
|
|
10
10
|
* focus return characteristics.
|
|
11
11
|
*
|
|
12
|
-
* @return Higher Order Component with the focus
|
|
12
|
+
* @return Higher Order Component with the focus restoration behaviour.
|
|
13
13
|
*/
|
|
14
14
|
declare const _default: (Inner: import("react").ComponentType<any>) => import("react").ComponentType<any>;
|
|
15
15
|
export default _default;
|