@eightshift/ui-components 1.9.1 → 2.0.1

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 (124) hide show
  1. package/README.md +0 -7
  2. package/dist/{Button-BEIi9mB_.js → Button-OQ5EIPvt.js} +8 -8
  3. package/dist/{SelectionManager-DGbP8Ntl.js → Collection-CJM_asJz.js} +345 -197
  4. package/dist/{Color-CZxTZUqH.js → Color-B0HgM8f4.js} +1 -1
  5. package/dist/{ColorSwatch-Iijp9hzP.js → ColorSwatch-Dv3Wxdl_.js} +6 -7
  6. package/dist/{ComboBox-DVPU5XzU.js → ComboBox-BnlZjJ3T.js} +21 -22
  7. package/dist/{Dialog-17uxPRe5.js → Dialog-CIh-hX93.js} +77 -65
  8. package/dist/{FieldError-huHsqqMP.js → FieldError-D7A6s7O5.js} +2 -2
  9. package/dist/{FocusScope-7r2_SUa9.js → FocusScope-Cs5_OoeA.js} +6 -4
  10. package/dist/{Group-k_oyd3Te.js → Group-D6tr3U_n.js} +5 -6
  11. package/dist/{Heading-DRBzKYHb.js → Heading-DiYTXoIW.js} +3 -4
  12. package/dist/{Hidden-5cXbU70C.js → Hidden-DnOd_jPX.js} +2 -2
  13. package/dist/{Input-DCmTv_Qw.js → Input-Se0m3ubj.js} +13 -11
  14. package/dist/{Label-D8G0GMsc.js → Label-Ca9uelsn.js} +4 -5
  15. package/dist/{List-C7L49CxW.js → List-Br274SP1.js} +16 -8
  16. package/dist/{ListBox-BxZwDp9o.js → ListBox-D9dFEh5A.js} +36 -23
  17. package/dist/{OverlayArrow-Dca2JXYU.js → OverlayArrow-1jx-ZyCR.js} +75 -13
  18. package/dist/{Select-aab027f3.esm-OvJ8lZs8.js → Select-aab027f3.esm-HFNIFFya.js} +4 -4
  19. package/dist/{Separator-B_VdRHCf.js → Separator-BhZycTUp.js} +9 -7
  20. package/dist/{Slider-CgEZmlNY.js → Slider-BZNaJylD.js} +20 -24
  21. package/dist/{Text-Cld9rkzJ.js → Text-aOUPPvTO.js} +3 -4
  22. package/dist/{VisuallyHidden-D0lsNfi4.js → VisuallyHidden-ClTQo25k.js} +2 -2
  23. package/dist/assets/index.css +37 -0
  24. package/dist/assets/style-admin.css +5287 -0
  25. package/dist/assets/style-editor.css +5287 -0
  26. package/dist/assets/style.css +5293 -1
  27. package/dist/assets/wp-font-enhancements.css +8 -1
  28. package/dist/assets/wp-ui-enhancements.css +299 -1
  29. package/dist/components/animated-visibility/animated-visibility.js +17 -21
  30. package/dist/components/base-control/base-control.js +7 -7
  31. package/dist/components/breakpoint-preview/breakpoint-preview.js +50 -50
  32. package/dist/components/button/button.js +190 -86
  33. package/dist/components/checkbox/checkbox.js +44 -27
  34. package/dist/components/color-pickers/color-picker.js +13 -9
  35. package/dist/components/color-pickers/color-swatch.js +4 -4
  36. package/dist/components/color-pickers/gradient-editor.js +25 -24
  37. package/dist/components/color-pickers/solid-color-picker.js +197 -229
  38. package/dist/components/component-toggle/component-toggle.js +3 -3
  39. package/dist/components/container-panel/container-panel.js +17 -17
  40. package/dist/components/draggable/draggable-handle.js +6 -6
  41. package/dist/components/draggable/draggable.js +1414 -699
  42. package/dist/components/draggable-list/draggable-list-item.js +3 -3
  43. package/dist/components/draggable-list/draggable-list.js +12 -12
  44. package/dist/components/expandable/expandable.js +66 -78
  45. package/dist/components/index.js +2 -3
  46. package/dist/components/input-field/input-field.js +35 -22
  47. package/dist/components/layout/hstack.js +1 -1
  48. package/dist/components/layout/vstack.js +1 -1
  49. package/dist/components/link-input/link-input.js +69 -57
  50. package/dist/components/matrix-align/matrix-align.js +34 -86
  51. package/dist/components/menu/menu.js +22 -23
  52. package/dist/components/modal/modal.js +24 -25
  53. package/dist/components/notice/notice.js +32 -32
  54. package/dist/components/number-picker/number-picker.js +41 -40
  55. package/dist/components/option-select/option-select.js +9 -4
  56. package/dist/components/options-panel/options-panel.js +63 -28
  57. package/dist/components/placeholders/file-placeholder.js +6 -17
  58. package/dist/components/placeholders/image-placeholder.js +17 -17
  59. package/dist/components/placeholders/media-placeholder.js +12 -12
  60. package/dist/components/popover/popover.js +6 -5
  61. package/dist/components/radio/radio.js +60 -43
  62. package/dist/components/repeater/repeater-item.js +10 -10
  63. package/dist/components/repeater/repeater.js +8 -8
  64. package/dist/components/responsive/mini-responsive.js +41 -41
  65. package/dist/components/responsive/responsive-legacy.js +33 -33
  66. package/dist/components/responsive/responsive.js +48 -48
  67. package/dist/components/responsive-preview/responsive-preview.js +4 -4
  68. package/dist/components/rich-label/rich-label.js +13 -11
  69. package/dist/components/select/async-multi-select.js +3 -3
  70. package/dist/components/select/async-single-select.js +2 -2
  71. package/dist/components/select/custom-select-default-components.js +3 -3
  72. package/dist/components/select/multi-select-components.js +1 -1
  73. package/dist/components/select/multi-select.js +3 -3
  74. package/dist/components/select/react-select-component-wrappers.js +1 -1
  75. package/dist/components/select/single-select.js +2 -2
  76. package/dist/components/select/styles.js +21 -21
  77. package/dist/components/select/v2/async-select.js +37 -47
  78. package/dist/components/select/v2/shared.js +8 -8
  79. package/dist/components/select/v2/single-select.js +44 -48
  80. package/dist/components/slider/column-config-slider.js +25 -25
  81. package/dist/components/slider/slider.js +173 -182
  82. package/dist/components/spacer/spacer.js +21 -21
  83. package/dist/components/tabs/tabs.js +111 -63
  84. package/dist/components/toggle/switch.js +27 -21
  85. package/dist/components/toggle/toggle.js +1 -1
  86. package/dist/components/toggle-button/toggle-button.js +160 -83
  87. package/dist/components/tooltip/tooltip.js +25 -28
  88. package/dist/{context-DtrQ3I5U.js → context-CDOs-GuR.js} +1 -1
  89. package/dist/{focusSafely-ChK5oW-0.js → focusSafely-CiqTTjWy.js} +18 -17
  90. package/dist/icons/icons.js +52 -0
  91. package/dist/{index-641ee5b8.esm-DRaWil7u.js → index-641ee5b8.esm-DbdaYaxR.js} +45 -45
  92. package/dist/{index-D0mHceYg.js → index-BRp93Yfa.js} +24 -31
  93. package/dist/index-CcCn9HWX.js +44 -0
  94. package/dist/index.js +2 -3
  95. package/dist/{multi-select-components-2Ax71j9a.js → multi-select-components-CkF3LyTF.js} +4 -4
  96. package/dist/{react-select-async.esm-BZwl7Ddb.js → react-select-async.esm-DcVLw9X5.js} +3 -3
  97. package/dist/{react-select.esm-DI0eSkd8.js → react-select.esm-OZ0cmTjg.js} +3 -3
  98. package/dist/style-admin.js +1 -0
  99. package/dist/style-editor.js +1 -0
  100. package/dist/style.js +1 -1
  101. package/dist/{textSelection-CdZPiDxh.js → textSelection-BlTDSskG.js} +2 -2
  102. package/dist/{useButton-C5e_EJlC.js → useButton-CmLbE5vg.js} +3 -3
  103. package/dist/{useEvent-BW_vevRp.js → useEvent-cLDJlznQ.js} +1 -1
  104. package/dist/{useFocusRing-Dbj6MsFR.js → useFocusRing-CGp3guTX.js} +1 -1
  105. package/dist/{useFocusable-C2xrPFl6.js → useFocusable-087cO5Ct.js} +9 -6
  106. package/dist/{useFormReset-DDCE2RPv.js → useFormReset-NpLM2e3G.js} +1 -1
  107. package/dist/{useFormValidation-BxnASugK.js → useFormValidation-BWwmZQE2.js} +3 -3
  108. package/dist/{useLabel-C3sAYsiC.js → useLabel-C85N3Hzw.js} +2 -2
  109. package/dist/{useLabels-WnPbJUyQ.js → useLabels-C_2wWraB.js} +1 -1
  110. package/dist/{useListState-BmTFGt2_.js → useListState-Z7FB_NzO.js} +1 -1
  111. package/dist/{useLocalizedStringFormatter-BurzRhbk.js → useLocalizedStringFormatter-BQ4TF72x.js} +1 -1
  112. package/dist/{useNumberField-D_Azw6A1.js → useNumberField-Bm6_BVl9.js} +10 -10
  113. package/dist/{useNumberFormatter-B58dTQ-c.js → useNumberFormatter-DlUVKkO7.js} +1 -1
  114. package/dist/{usePress-DZ9pn6Jl.js → usePress-rg_OQIGW.js} +15 -14
  115. package/dist/{useSingleSelectListState-Dr843geC.js → useSingleSelectListState-Cu3xtEJS.js} +2 -2
  116. package/dist/{useToggle-Dq9VpeCd.js → useToggle-DzlgBLAJ.js} +4 -4
  117. package/dist/{useToggleState-DA_b3LG_.js → useToggleState-DhSBQxkp.js} +1 -1
  118. package/dist/{utils-BmaSD6gC.js → utils-39D0mStj.js} +41 -93
  119. package/package.json +41 -38
  120. package/dist/GeistMonoVF.woff2 +0 -0
  121. package/dist/GeistVF.woff2 +0 -0
  122. package/dist/assets/fonts.css +0 -1
  123. package/dist/components/list-box/list-box.js +0 -157
  124. package/dist/fonts.js +0 -1
@@ -1 +1,8 @@
1
- .edit-post-header,.components-popover,.edit-post-sidebar,.wp-block-post-title,.components-select-control__input,.components-base-control__field,.components-base-control__label,.components-combobox-control__suggestions-container,.components-input-control__label,.components-input-control__input,.components-checkbox-control__label,.components-menu-group__label,.components-menu-item__button,.components-notice .components-notice__content,.components-tooltip,.components-modal__header,.preferences-modal__section-title,.preferences-modal__section-description,.block-editor-inserter__tabs,.editor-list-view-sidebar,.edit-post-layout__footer,.components-snackbar,.components-text-control__input{font-family:Geist,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body.wp-admin{font-family:Geist,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji!important}
1
+ /*! tailwindcss v4.0.0 | MIT License | https://tailwindcss.com */
2
+ .edit-post-header, .components-popover, .edit-post-sidebar, .wp-block-post-title, .components-select-control__input, .components-base-control__field, .components-base-control__label, .components-combobox-control__suggestions-container, .components-input-control__label, .components-input-control__input, .components-checkbox-control__label, .components-menu-group__label, .components-menu-item__button, .components-notice .components-notice__content, .components-tooltip, .components-modal__header, .preferences-modal__section-title, .preferences-modal__section-description, .block-editor-inserter__tabs, .editor-list-view-sidebar, .edit-post-layout__footer, .components-snackbar, .components-text-control__input {
3
+ font-family: var(--es-font-sans);
4
+ }
5
+
6
+ body.wp-admin {
7
+ font-family: var(--es-font-sans) !important;
8
+ }
@@ -1 +1,299 @@
1
- .edit-post-header__toolbar .components-button,.edit-post-header__settings .components-button,.editor-document-tools__left .components-button,.editor-header__center .components-button,.editor-header__settings .components-button,.edit-post-sidebar .components-button:not(:-webkit-any(.components-panel__body-toggle,.editor-post-last-revision__title)),.components-snackbar,.components-toggle-group-control,.editor-post-publish-panel .components-button,.edit-post-text-editor__toolbar .components-button,.edit-post-text-editor__body .components-textarea-control__input,.media-modal-content,.media-modal-content .components-button,.components-guide__container .components-button,.components-notice__content .components-button,.editor-post-featured-image__toggle.components-button{border-radius:.375rem!important}.edit-post-header__toolbar .components-button,.edit-post-header__settings .components-button,.editor-document-tools__left .components-button,.editor-header__center .components-button,.editor-header__settings .components-button,.edit-post-sidebar .components-button:not(:-moz-any(.components-panel__body-toggle,.editor-post-last-revision__title)),.components-snackbar,.components-toggle-group-control,.editor-post-publish-panel .components-button,.edit-post-text-editor__toolbar .components-button,.edit-post-text-editor__body .components-textarea-control__input,.media-modal-content,.media-modal-content .components-button,.components-guide__container .components-button,.components-notice__content .components-button,.editor-post-featured-image__toggle.components-button{border-radius:.375rem!important}.edit-post-header__toolbar .components-button,.edit-post-header__settings .components-button,.editor-document-tools__left .components-button,.editor-header__center .components-button,.editor-header__settings .components-button,.edit-post-sidebar .components-button:not(:is(.components-panel__body-toggle,.editor-post-last-revision__title)),.components-snackbar,.components-toggle-group-control,.editor-post-publish-panel .components-button,.edit-post-text-editor__toolbar .components-button,.edit-post-text-editor__body .components-textarea-control__input,.media-modal-content,.media-modal-content .components-button,.components-guide__container .components-button,.components-notice__content .components-button,.editor-post-featured-image__toggle.components-button{border-radius:.375rem!important}.components-input-control__container,.components-combobox-control__suggestions-container,.components-checkbox-control__input,button.components-toggle-group-control-option-base,.editor-post-visibility__password-input{border-radius:.25rem!important}.components-button-group .components-button:first-child{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.components-button-group .components-button:last-child{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.components-popover__content,.components-guide{border-radius:.5rem!important}.block-editor-inserter__search{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.media-menu-item.active{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.components-base-control__label,.components-input-control__label,.components-custom-select-control__label{text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:400!important}.edit-post-sidebar,.interface-interface-skeleton__sidebar:not(:empty)>.interface-complementary-area__fill[style="width: 280px;"],.interface-complementary-area.editor-sidebar{width:20rem!important}.block-editor-block-list__block-crash-warning{--tw-shadow:var(--tw-shadow-colored)!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;--tw-shadow-color:#b91c1c1a!important;border-color:#b91c1c26!important;border-radius:.5rem!important}.block-editor-block-list__block-crash-warning .block-editor-warning__message{--tw-text-opacity:1!important;color:rgb(69 10 10/var(--tw-text-opacity,1))!important}.wp-block-missing div.block-editor-warning{--tw-border-opacity:1!important;border-color:rgb(212 212 216/var(--tw-border-opacity,1))!important;--tw-shadow:var(--tw-shadow-colored)!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;--tw-shadow-color:#3f3f4633!important;background-color:#fafafabf!important;border-radius:.5rem!important}.wp-block-missing div.block-editor-warning .block-editor-warning__message{--tw-text-opacity:1!important;color:rgb(9 9 11/var(--tw-text-opacity,1))!important}.block-editor-block-contextual-toolbar,.block-editor-block-parent-selector__button{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);border-radius:.5rem!important}.block-editor-block-types-list .block-editor-block-types-list__item{border-radius:.5rem!important}.block-editor-block-types-list .block-editor-block-types-list__item:after{content:var(--tw-content)!important;border-radius:.5rem!important}.block-editor-block-types-list .block-editor-block-types-list__item svg{--tw-scale-x:1.25;--tw-scale-y:1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y))rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}.block-editor-list-view-tree .block-editor-block-icon{border-radius:.25rem!important}.block-editor-list-view-tree .block-editor-list-view-leaf>:first-child{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.block-editor-list-view-tree .block-editor-list-view-leaf>:last-child{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.block-editor-block-inspector .block-editor-block-card .block-editor-block-icon{border-radius:.25rem!important}.block-editor-inserter__toggle{border-radius:.375rem!important}:is(.edit-post-header__toolbar,.edit-post-header__settings,.editor-document-tools__left,.editor-header__center,.editor-header__settings) .components-button{min-height:2.25rem!important}:is(.edit-post-header__toolbar,.edit-post-header__settings,.editor-document-tools__left,.editor-header__center,.editor-header__settings) .components-button{min-width:2.25rem!important}.editor-styles-wrapper .wp-block:not(:-webkit-any(.editor-post-title,.block-list-appender)){max-width:100%!important}.editor-styles-wrapper .wp-block:not(:-moz-any(.editor-post-title,.block-list-appender)){max-width:100%!important}.editor-styles-wrapper .wp-block:not(:is(.editor-post-title,.block-list-appender)){max-width:100%!important}.components-tooltip{--tw-border-opacity:1;border-width:1px;border-color:rgb(31 41 55/var(--tw-border-opacity,1));--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1));--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);--tw-backdrop-blur:blur(24px);--tw-backdrop-brightness:brightness(1.05);--tw-backdrop-saturate:saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur)var(--tw-backdrop-brightness)var(--tw-backdrop-contrast)var(--tw-backdrop-grayscale)var(--tw-backdrop-hue-rotate)var(--tw-backdrop-invert)var(--tw-backdrop-opacity)var(--tw-backdrop-saturate)var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur)var(--tw-backdrop-brightness)var(--tw-backdrop-contrast)var(--tw-backdrop-grayscale)var(--tw-backdrop-hue-rotate)var(--tw-backdrop-invert)var(--tw-backdrop-opacity)var(--tw-backdrop-saturate)var(--tw-backdrop-sepia);background-color:#030712b3;padding:.125rem .25rem;border-radius:.375rem!important}.components-tooltip:has(>:first-child){--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1));--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1));background-color:#fffc}
1
+ /*! tailwindcss v4.0.0 | MIT License | https://tailwindcss.com */
2
+ .edit-post-header__toolbar .components-button, .edit-post-header__settings .components-button, .editor-document-tools__left .components-button, .editor-header__center .components-button, .editor-header__settings .components-button, .edit-post-sidebar .components-button:not(.components-panel__body-toggle, .editor-post-last-revision__title), .components-snackbar, .components-toggle-group-control, .editor-post-publish-panel .components-button, .edit-post-text-editor__toolbar .components-button, .edit-post-text-editor__body .components-textarea-control__input, .media-modal-content, .media-modal-content .components-button, .components-guide__container .components-button, .components-notice__content .components-button, .editor-post-featured-image__toggle.components-button {
3
+ border-radius: var(--es-radius-md) !important;
4
+ }
5
+
6
+ .components-input-control__container, .components-combobox-control__suggestions-container, .components-checkbox-control__input, button.components-toggle-group-control-option-base, .editor-post-visibility__password-input {
7
+ border-radius: .25rem !important;
8
+ }
9
+
10
+ .components-button-group .components-button:first-child {
11
+ border-top-left-radius: var(--es-radius-md) !important;
12
+ border-bottom-left-radius: var(--es-radius-md) !important;
13
+ }
14
+
15
+ .components-button-group .components-button:last-child {
16
+ border-top-right-radius: var(--es-radius-md) !important;
17
+ border-bottom-right-radius: var(--es-radius-md) !important;
18
+ }
19
+
20
+ .components-popover__content, .components-guide {
21
+ border-radius: var(--es-radius-lg) !important;
22
+ }
23
+
24
+ .block-editor-inserter__search {
25
+ border-top-left-radius: var(--es-radius-lg) !important;
26
+ border-top-right-radius: var(--es-radius-lg) !important;
27
+ }
28
+
29
+ .media-menu-item.active {
30
+ border-top-left-radius: var(--es-radius-md) !important;
31
+ border-top-right-radius: var(--es-radius-md) !important;
32
+ }
33
+
34
+ .components-base-control__label, .components-input-control__label, .components-custom-select-control__label {
35
+ --tw-font-weight: var(--es-font-weight-normal) !important;
36
+ font-size: 13px !important;
37
+ font-weight: var(--es-font-weight-normal) !important;
38
+ --tw-tracking: var(--es-tracking-normal) !important;
39
+ letter-spacing: var(--es-tracking-normal) !important;
40
+ text-transform: none !important;
41
+ }
42
+
43
+ .edit-post-sidebar, .interface-interface-skeleton__sidebar:not(:empty) > .interface-complementary-area__fill[style="width: 280px;"], .interface-complementary-area.editor-sidebar {
44
+ width: calc(var(--es-spacing) * 80) !important;
45
+ }
46
+
47
+ .block-editor-block-list__block-crash-warning {
48
+ border-radius: var(--es-radius-lg) !important;
49
+ border-color: color-mix(in oklab, var(--es-color-red-700) 15%, transparent) !important;
50
+ --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a) !important;
51
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
52
+ --tw-shadow-color: color-mix(in oklab, var(--es-color-red-700) 10%, transparent) !important;
53
+ }
54
+
55
+ .block-editor-block-list__block-crash-warning .block-editor-warning__message {
56
+ color: var(--es-color-red-950) !important;
57
+ }
58
+
59
+ .wp-block-missing div.block-editor-warning {
60
+ border-radius: var(--es-radius-lg) !important;
61
+ border-color: var(--es-color-zinc-300) !important;
62
+ background-color: color-mix(in oklab, var(--es-color-zinc-50) 75%, transparent) !important;
63
+ --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a) !important;
64
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
65
+ --tw-shadow-color: color-mix(in oklab, var(--es-color-zinc-700) 20%, transparent) !important;
66
+ }
67
+
68
+ .wp-block-missing div.block-editor-warning .block-editor-warning__message {
69
+ color: var(--es-color-zinc-950) !important;
70
+ }
71
+
72
+ .block-editor-block-contextual-toolbar, .block-editor-block-parent-selector__button {
73
+ --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
74
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
75
+ border-radius: var(--es-radius-lg) !important;
76
+ }
77
+
78
+ .block-editor-block-types-list .block-editor-block-types-list__item {
79
+ border-radius: var(--es-radius-lg) !important;
80
+ }
81
+
82
+ .block-editor-block-types-list .block-editor-block-types-list__item:after {
83
+ content: var(--tw-content);
84
+ border-radius: var(--es-radius-lg) !important;
85
+ }
86
+
87
+ .block-editor-block-types-list .block-editor-block-types-list__item svg {
88
+ --tw-scale-x: 125%;
89
+ --tw-scale-y: 125%;
90
+ --tw-scale-z: 125%;
91
+ scale: var(--tw-scale-x) var(--tw-scale-y);
92
+ }
93
+
94
+ .block-editor-list-view-tree .block-editor-block-icon {
95
+ border-radius: .25rem !important;
96
+ }
97
+
98
+ .block-editor-list-view-tree .block-editor-list-view-leaf > :first-child {
99
+ border-top-left-radius: var(--es-radius-lg) !important;
100
+ border-bottom-left-radius: var(--es-radius-lg) !important;
101
+ }
102
+
103
+ .block-editor-list-view-tree .block-editor-list-view-leaf > :last-child {
104
+ border-top-right-radius: var(--es-radius-lg) !important;
105
+ border-bottom-right-radius: var(--es-radius-lg) !important;
106
+ }
107
+
108
+ .block-editor-block-inspector .block-editor-block-card .block-editor-block-icon {
109
+ border-radius: .25rem !important;
110
+ }
111
+
112
+ .block-editor-inserter__toggle {
113
+ border-radius: var(--es-radius-md) !important;
114
+ }
115
+
116
+ :is(.edit-post-header__toolbar, .edit-post-header__settings, .editor-document-tools__left, .editor-header__center, .editor-header__settings) .components-button {
117
+ min-height: calc(var(--es-spacing) * 9) !important;
118
+ min-width: calc(var(--es-spacing) * 9) !important;
119
+ }
120
+
121
+ .editor-styles-wrapper .wp-block:not(.editor-post-title, .block-list-appender) {
122
+ max-width: 100% !important;
123
+ }
124
+
125
+ .components-tooltip {
126
+ border-style: var(--tw-border-style);
127
+ border-width: 1px;
128
+ border-color: var(--es-color-gray-800);
129
+ background-color: color-mix(in oklab, var(--es-color-gray-950) 70%, transparent);
130
+ padding-inline: calc(var(--es-spacing) * 1);
131
+ padding-block: calc(var(--es-spacing) * .5);
132
+ color: var(--es-color-white);
133
+ --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
134
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
135
+ --tw-backdrop-blur: blur(var(--es-blur-xl));
136
+ -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
137
+ backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
138
+ --tw-backdrop-brightness: brightness(105%);
139
+ --tw-backdrop-saturate: saturate(150%);
140
+ border-radius: var(--es-radius-md) !important;
141
+ }
142
+
143
+ .components-tooltip:has( > :first-child) {
144
+ border-color: var(--es-color-gray-200);
145
+ background-color: color-mix(in oklab, var(--es-color-white) 80%, transparent);
146
+ color: var(--es-color-gray-700);
147
+ }
148
+
149
+ @property --tw-font-weight {
150
+ syntax: "*";
151
+ inherits: false
152
+ }
153
+
154
+ @property --tw-tracking {
155
+ syntax: "*";
156
+ inherits: false
157
+ }
158
+
159
+ @property --tw-shadow {
160
+ syntax: "*";
161
+ inherits: false;
162
+ initial-value: 0 0 #0000;
163
+ }
164
+
165
+ @property --tw-shadow-color {
166
+ syntax: "*";
167
+ inherits: false
168
+ }
169
+
170
+ @property --tw-inset-shadow {
171
+ syntax: "*";
172
+ inherits: false;
173
+ initial-value: 0 0 #0000;
174
+ }
175
+
176
+ @property --tw-inset-shadow-color {
177
+ syntax: "*";
178
+ inherits: false
179
+ }
180
+
181
+ @property --tw-ring-color {
182
+ syntax: "*";
183
+ inherits: false
184
+ }
185
+
186
+ @property --tw-ring-shadow {
187
+ syntax: "*";
188
+ inherits: false;
189
+ initial-value: 0 0 #0000;
190
+ }
191
+
192
+ @property --tw-inset-ring-color {
193
+ syntax: "*";
194
+ inherits: false
195
+ }
196
+
197
+ @property --tw-inset-ring-shadow {
198
+ syntax: "*";
199
+ inherits: false;
200
+ initial-value: 0 0 #0000;
201
+ }
202
+
203
+ @property --tw-ring-inset {
204
+ syntax: "*";
205
+ inherits: false
206
+ }
207
+
208
+ @property --tw-ring-offset-width {
209
+ syntax: "<length>";
210
+ inherits: false;
211
+ initial-value: 0;
212
+ }
213
+
214
+ @property --tw-ring-offset-color {
215
+ syntax: "*";
216
+ inherits: false;
217
+ initial-value: #fff;
218
+ }
219
+
220
+ @property --tw-ring-offset-shadow {
221
+ syntax: "*";
222
+ inherits: false;
223
+ initial-value: 0 0 #0000;
224
+ }
225
+
226
+ @property --tw-content {
227
+ syntax: "*";
228
+ inherits: false;
229
+ initial-value: "";
230
+ }
231
+
232
+ @property --tw-scale-x {
233
+ syntax: "*";
234
+ inherits: false;
235
+ initial-value: 1;
236
+ }
237
+
238
+ @property --tw-scale-y {
239
+ syntax: "*";
240
+ inherits: false;
241
+ initial-value: 1;
242
+ }
243
+
244
+ @property --tw-scale-z {
245
+ syntax: "*";
246
+ inherits: false;
247
+ initial-value: 1;
248
+ }
249
+
250
+ @property --tw-border-style {
251
+ syntax: "*";
252
+ inherits: false;
253
+ initial-value: solid;
254
+ }
255
+
256
+ @property --tw-backdrop-blur {
257
+ syntax: "*";
258
+ inherits: false
259
+ }
260
+
261
+ @property --tw-backdrop-brightness {
262
+ syntax: "*";
263
+ inherits: false
264
+ }
265
+
266
+ @property --tw-backdrop-contrast {
267
+ syntax: "*";
268
+ inherits: false
269
+ }
270
+
271
+ @property --tw-backdrop-grayscale {
272
+ syntax: "*";
273
+ inherits: false
274
+ }
275
+
276
+ @property --tw-backdrop-hue-rotate {
277
+ syntax: "*";
278
+ inherits: false
279
+ }
280
+
281
+ @property --tw-backdrop-invert {
282
+ syntax: "*";
283
+ inherits: false
284
+ }
285
+
286
+ @property --tw-backdrop-opacity {
287
+ syntax: "*";
288
+ inherits: false
289
+ }
290
+
291
+ @property --tw-backdrop-saturate {
292
+ syntax: "*";
293
+ inherits: false
294
+ }
295
+
296
+ @property --tw-backdrop-sepia {
297
+ syntax: "*";
298
+ inherits: false
299
+ }
@@ -27,7 +27,6 @@ import { useState, useEffect } from "react";
27
27
  * @preserve
28
28
  */
29
29
  const AnimatedVisibility = (props) => {
30
- var _a;
31
30
  const { visible, className, children, noInitial = false, transition = "slideFade", noExitAnimation, noEnterAnimation, ...other } = props;
32
31
  const [isVisibleInner, setIsVisibleInner] = useState(false);
33
32
  const [canAnimate, setCanAnimate] = useState(true);
@@ -46,38 +45,36 @@ const AnimatedVisibility = (props) => {
46
45
  }, []);
47
46
  const transitions = {
48
47
  fade: {
49
- inClassName: "es-uic-animate-in es-uic-fade-in",
50
- outClassName: "es-uic-animate-out es-uic-fade-out"
48
+ inClassName: "es:motion-opacity-in es:motion-duration-300",
49
+ outClassName: "es:motion-opacity-out es:motion-duration-200"
51
50
  },
52
51
  slideFade: {
53
- inClassName: "es-uic-animate-in es-uic-fade-in es-uic-slide-in-from-top-3",
54
- outClassName: "es-uic-animate-out es-uic-fade-out es-uic-slide-out-to-top-3"
52
+ inClassName: "es:motion-safe:motion-translate-y-in-[-5%] es:motion-opacity-in es:motion-duration-300 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity",
53
+ outClassName: "es:motion-safe:motion-translate-y-out-[-5%] es:motion-opacity-out es:motion-duration-200 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity"
55
54
  },
56
55
  slideInFadeOut: {
57
- inClassName: "es-uic-animate-in es-uic-fade-in es-uic-slide-in-from-bottom-3",
58
- outClassName: "es-uic-animate-out es-uic-fade-out"
56
+ inClassName: "es:motion-safe:motion-translate-y-in-[-5%] es:motion-opacity-in es:motion-duration-300 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity",
57
+ outClassName: "es:motion-opacity-out es:motion-duration-200"
59
58
  },
60
59
  slideFadeUpSlight: {
61
- inClassName: "es-uic-animate-in es-uic-fade-in es-uic-slide-in-from-bottom-1",
62
- outClassName: "es-uic-animate-out es-uic-fade-out es-uic-slide-out-to-bottom-1"
60
+ inClassName: "es:motion-safe:motion-translate-y-in-[0.25rem] es:motion-opacity-in es:motion-duration-300 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity",
61
+ outClassName: "es:motion-safe:motion-translate-y-out-[0.25rem] es:motion-opacity-out es:motion-duration-200 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity"
63
62
  },
64
63
  slideFadeDownSlight: {
65
- inClassName: "es-uic-animate-in es-uic-fade-in es-uic-slide-in-from-top-1",
66
- outClassName: "es-uic-animate-out es-uic-fade-out es-uic-slide-out-to-top-1"
64
+ inClassName: "es:motion-safe:motion-translate-y-in-[-0.25rem] es:motion-opacity-in es:motion-duration-300 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity",
65
+ outClassName: "es:motion-safe:motion-translate-y-out-[-0.25rem] es:motion-opacity-out es:motion-duration-200 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity"
67
66
  },
68
67
  scaleFade: {
69
- inClassName: "es-uic-animate-in es-uic-fade-in es-uic-zoom-in-90",
70
- outClassName: "es-uic-animate-out es-uic-fade-out es-uic-zoom-out-90"
68
+ inClassName: "es:motion-safe:motion-scale-in-95 es:motion-opacity-in es:motion-duration-300 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity",
69
+ outClassName: "es:motion-safe:motion-scale-out-90 es:motion-opacity-out es:motion-duration-200 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity"
71
70
  },
72
71
  scaleSlideFade: {
73
- inClassName: "es-uic-animate-in es-uic-fade-in es-uic-zoom-in-[98%] es-uic-slide-in-from-top-3",
74
- outClassName: "es-uic-animate-out es-uic-fade-out es-uic-zoom-out-[98%] es-uic-slide-out-to-top-3",
75
- durationClassName: "es-uic-duration-300"
72
+ inClassName: "es:motion-safe:motion-translate-y-in-[-5%] es:motion-safe:motion-scale-in-95 es:motion-opacity-in es:motion-duration-300 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity",
73
+ outClassName: "es:motion-safe:motion-translate-y-out-[-5%] es:motion-safe:motion-scale-out-90 es:motion-opacity-out es:motion-duration-200 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity"
76
74
  },
77
75
  scaleRotateFade: {
78
- inClassName: "es-uic-animate-in es-uic-fade-in es-uic-zoom-in-90 es-uic-spin-in-12",
79
- outClassName: "es-uic-animate-out es-uic-fade-out es-uic-zoom-out-90 es-uic-spin-out-12",
80
- durationClassName: "es-uic-duration-300"
76
+ inClassName: "es:motion-rotate-in es:motion-safe:motion-scale-in-95 es:motion-opacity-in es:motion-duration-300 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity",
77
+ outClassName: "es:motion-rotate-out es:motion-safe:motion-scale-out-90 es:motion-opacity-out es:motion-duration-200 es:motion-safe:motion-ease-spring-bouncy es:motion-ease-linear/opacity"
81
78
  }
82
79
  };
83
80
  return /* @__PURE__ */ jsx(Fragment, { children: isVisibleInner && /* @__PURE__ */ jsx(
@@ -87,8 +84,7 @@ const AnimatedVisibility = (props) => {
87
84
  !noEnterAnimation && visible && noInitial && visible && canAnimate && transitions[transition].inClassName,
88
85
  !noEnterAnimation && visible && !noInitial && transitions[transition].inClassName,
89
86
  !noExitAnimation && !visible && transitions[transition].outClassName,
90
- ((_a = transitions == null ? void 0 : transitions[transition]) == null ? void 0 : _a.durationClassName) ?? "es-uic-duration-300",
91
- "es-uic-fill-mode-forwards",
87
+ "es:fill-mode-forwards",
92
88
  className
93
89
  ),
94
90
  onAnimationEnd: () => {
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-Cld9rkzJ.js";
2
+ import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-aOUPPvTO.js";
3
3
  import { c as clsx } from "../../lite-DVmmD_-j.js";
4
4
  import { RichLabel } from "../rich-label/rich-label.js";
5
5
  /**
@@ -53,8 +53,8 @@ const BaseControl = (props) => {
53
53
  if (!(label || icon || subtitle)) {
54
54
  return children;
55
55
  }
56
- return /* @__PURE__ */ jsxs("div", { className: clsx("es-uic-space-y-1", className), children: [
57
- /* @__PURE__ */ jsxs("div", { className: clsx("es-uic-flex es-uic-items-center es-uic-gap-1", !inline && !icon && "es-uic-pb-0.5", labelContainerClassName), children: [
56
+ return /* @__PURE__ */ jsxs("div", { className: clsx("es:space-y-1", className), children: [
57
+ /* @__PURE__ */ jsxs("div", { className: clsx("es:flex es:items-center es:gap-1", !inline && !icon && "es:pb-0.5", labelContainerClassName), children: [
58
58
  (label || icon || subtitle) && /* @__PURE__ */ jsx(
59
59
  RichLabel,
60
60
  {
@@ -66,15 +66,15 @@ const BaseControl = (props) => {
66
66
  className: labelClassName
67
67
  }
68
68
  ),
69
- inline && /* @__PURE__ */ jsx("div", { className: clsx("es-uic-ml-auto es-uic-flex es-uic-items-center es-uic-gap-1", controlContainerClassName), children }),
70
- !inline && actions && /* @__PURE__ */ jsx("div", { className: clsx("es-uic-flex es-uic-items-center es-uic-gap-1", !inline && "es-uic-ml-auto"), children: actions })
69
+ inline && /* @__PURE__ */ jsx("div", { className: clsx("es:ml-auto es:flex es:items-center es:gap-1", controlContainerClassName), children }),
70
+ !inline && actions && /* @__PURE__ */ jsx("div", { className: clsx("es:flex es:items-center es:gap-1", !inline && "es:ml-auto"), children: actions })
71
71
  ] }),
72
- !inline && Array.isArray(children) && children.filter(Boolean).length > 1 && /* @__PURE__ */ jsx("div", { className: clsx("es-uic-space-y-1", controlContainerClassName), children }),
72
+ !inline && Array.isArray(children) && children.filter(Boolean).length > 1 && /* @__PURE__ */ jsx("div", { className: clsx("es:space-y-1", controlContainerClassName), children }),
73
73
  !inline && (!Array.isArray(children) || children.filter(Boolean).length < 2) && children,
74
74
  help && /* @__PURE__ */ jsx(
75
75
  $514c0188e459b4c0$export$5f1af8db9871e1d6,
76
76
  {
77
- className: "es-uic-inline-block es-uic-text-sm es-uic-text-gray-400",
77
+ className: "es:inline-block es:text-sm es:text-secondary-500",
78
78
  slot: "description",
79
79
  children: help
80
80
  }
@@ -54,105 +54,105 @@ const BreakpointPreview = (props) => {
54
54
  const hasActive = (blocks == null ? void 0 : blocks.some(({ active }) => active)) ?? false;
55
55
  const activeColors = {
56
56
  blue: {
57
- text: "es-uic-text-blue-500",
58
- bg: "es-uic-bg-blue-500"
57
+ text: "es:text-blue-500",
58
+ bg: "es:bg-blue-500"
59
59
  },
60
60
  green: {
61
- text: "es-uic-text-lime-500",
62
- bg: "es-uic-bg-lime-500"
61
+ text: "es:text-lime-500",
62
+ bg: "es:bg-lime-500"
63
63
  },
64
64
  yellow: {
65
- text: "es-uic-text-yellow-400",
66
- bg: "es-uic-bg-yellow-400"
65
+ text: "es:text-yellow-400",
66
+ bg: "es:bg-yellow-400"
67
67
  },
68
68
  red: {
69
- text: "es-uic-text-red-500",
70
- bg: "es-uic-bg-red-500"
69
+ text: "es:text-red-500",
70
+ bg: "es:bg-red-500"
71
71
  },
72
72
  indigo: {
73
- text: "es-uic-text-indigo-500",
74
- bg: "es-uic-bg-indigo-500"
73
+ text: "es:text-indigo-500",
74
+ bg: "es:bg-indigo-500"
75
75
  },
76
76
  orange: {
77
- text: "es-uic-text-orange-500",
78
- bg: "es-uic-bg-orange-500"
77
+ text: "es:text-orange-500",
78
+ bg: "es:bg-orange-500"
79
79
  },
80
80
  cyan: {
81
- text: "es-uic-text-cyan-500",
82
- bg: "es-uic-bg-cyan-500"
81
+ text: "es:text-cyan-500",
82
+ bg: "es:bg-cyan-500"
83
83
  },
84
84
  teal: {
85
- text: "es-uic-text-teal-500",
86
- bg: "es-uic-bg-teal-500"
85
+ text: "es:text-accent-500",
86
+ bg: "es:bg-accent-500"
87
87
  },
88
88
  fuchsia: {
89
- text: "es-uic-text-fuchsia-500",
90
- bg: "es-uic-bg-fuchsia-500"
89
+ text: "es:text-fuchsia-500",
90
+ bg: "es:bg-fuchsia-500"
91
91
  },
92
92
  black: {
93
- text: "es-uic-text-black",
94
- bg: "es-uic-bg-black"
93
+ text: "es:text-black",
94
+ bg: "es:bg-black"
95
95
  },
96
96
  default: {
97
- text: "es-uic-text-slate-600",
98
- bg: "es-uic-bg-slate-600"
97
+ text: "es:text-secondary-600",
98
+ bg: "es:bg-secondary-600"
99
99
  }
100
100
  };
101
- return /* @__PURE__ */ jsxs("div", { className: clsx("es-uic-mx-auto es-uic-grid es-uic-w-fit es-uic-shrink-0 es-uic-auto-cols-auto es-uic-grid-rows-[auto,_auto] es-uic-gap-x-2 es-uic-gap-y-0.5"), children: [
101
+ return /* @__PURE__ */ jsxs("div", { className: clsx("es:mx-auto es:grid es:w-fit es:shrink-0 es:auto-cols-auto es:grid-rows-[auto_auto] es:gap-x-2 es:gap-y-0.5"), children: [
102
102
  dotsStart && /* @__PURE__ */ jsxs(Fragment, { children: [
103
- /* @__PURE__ */ jsx("div", { className: "es-uic-row-start-1 es-uic-flex es-uic-shrink-0 es-uic-translate-x-1 es-uic-items-center es-uic-gap-1 es-uic-justify-self-end es-uic-text-gray-400", children: /* @__PURE__ */ jsxs("div", { className: "es-uic-flex es-uic-gap-0.5 es-uic-text-gray-300", children: [
104
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" }),
105
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" }),
106
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" })
103
+ /* @__PURE__ */ jsx("div", { className: "es:row-start-1 es:flex es:shrink-0 es:translate-x-1 es:items-center es:gap-1 es:justify-self-end es:text-secondary-400", children: /* @__PURE__ */ jsxs("div", { className: "es:flex es:gap-0.5 es:text-secondary-300", children: [
104
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
105
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
106
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" })
107
107
  ] }) }),
108
- /* @__PURE__ */ jsx("div", { className: "es-uic-row-start-2 es-uic-size-px es-uic-justify-self-end" })
108
+ /* @__PURE__ */ jsx("div", { className: "es:row-start-2 es:size-px es:justify-self-end" })
109
109
  ] }),
110
110
  blocks.map(({ width, widthEnd, breakpoint, value, dotsStart: dotsStart2 = false, dotsEnd: dotsEnd2 = false, active = false, alignEnd = false, color }, i) => {
111
111
  var _a, _b;
112
112
  const activeTextColor = ((_a = activeColors == null ? void 0 : activeColors[color]) == null ? void 0 : _a.text) ?? activeColors.default.text;
113
113
  const activeBgColor = ((_b = activeColors == null ? void 0 : activeColors[color]) == null ? void 0 : _b.bg) ?? activeColors.default.bg;
114
114
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
115
- /* @__PURE__ */ jsxs("div", { className: "es-uic-row-start-1 es-uic-flex es-uic-min-w-28 es-uic-items-center es-uic-gap-1 es-uic-font-mono es-uic-font-medium es-uic-text-gray-400", children: [
116
- dotsStart2 && /* @__PURE__ */ jsxs("div", { className: clsx("es-uic-flex es-uic-gap-0.5", active ? activeTextColor : "text-gray-300"), children: [
117
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" }),
118
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" }),
119
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" })
115
+ /* @__PURE__ */ jsxs("div", { className: "es:row-start-1 es:flex es:min-w-28 es:items-center es:gap-1 es:font-mono es:font-medium es:text-secondary-400", children: [
116
+ dotsStart2 && /* @__PURE__ */ jsxs("div", { className: clsx("es:flex es:gap-0.5", active ? activeTextColor : "text-secondary-300"), children: [
117
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
118
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
119
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" })
120
120
  ] }),
121
121
  width && /* @__PURE__ */ jsx("span", { children: width }),
122
- /* @__PURE__ */ jsx("div", { className: clsx("es-uic-grow es-uic-rounded", active ? "es-uic-h-0.5" : "es-uic-h-px es-uic-bg-gray-300", active && activeBgColor) }),
122
+ /* @__PURE__ */ jsx("div", { className: clsx("es:grow es:rounded", active ? "es:h-0.5" : "es:h-px es:bg-secondary-300", active && activeBgColor) }),
123
123
  widthEnd && /* @__PURE__ */ jsx("span", { children: widthEnd }),
124
- dotsEnd2 && /* @__PURE__ */ jsxs("div", { className: clsx("es-uic-flex es-uic-gap-0.5", active ? activeTextColor : "es-uic-text-gray-300"), children: [
125
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" }),
126
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" }),
127
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" })
124
+ dotsEnd2 && /* @__PURE__ */ jsxs("div", { className: clsx("es:flex es:gap-0.5", active ? activeTextColor : "es:text-secondary-300"), children: [
125
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
126
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
127
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" })
128
128
  ] })
129
129
  ] }),
130
- /* @__PURE__ */ jsxs("div", { className: "es-uic-row-start-2 es-uic-flex es-uic-w-full es-uic-min-w-28 es-uic-flex-col es-uic-items-start es-uic-gap-1", children: [
130
+ /* @__PURE__ */ jsxs("div", { className: "es:row-start-2 es:flex es:w-full es:min-w-28 es:flex-col es:items-start es:gap-1", children: [
131
131
  /* @__PURE__ */ jsx(
132
132
  "span",
133
133
  {
134
134
  className: clsx(
135
- "es-uic-rounded es-uic-px-1 es-uic-py-0.5",
136
- hasActive && active && "es-uic-text-white",
135
+ "es:rounded es:px-1 es:py-0.5",
136
+ hasActive && active && "es:text-white",
137
137
  hasActive && active && activeBgColor,
138
- hasActive && !active && "es-uic-bg-gray-200 es-uic-text-gray-500",
139
- !hasActive && "es-uic-bg-gray-600 es-uic-text-white",
140
- alignEnd && "es-uic-ml-auto"
138
+ hasActive && !active && "es:bg-secondary-200 es:text-secondary-500",
139
+ !hasActive && "es:bg-secondary-600 es:text-white",
140
+ alignEnd && "es:ml-auto"
141
141
  ),
142
142
  children: upperFirst(breakpoint)
143
143
  }
144
144
  ),
145
- value && /* @__PURE__ */ jsx("span", { className: clsx("-es-uic-mt-0.5 es-uic-px-1", active ? "es-uic-text-gray-400" : "es-uic-text-gray-400", alignEnd && "es-uic-ml-auto"), children: value })
145
+ value && /* @__PURE__ */ jsx("span", { className: clsx("es:-mt-0.5 es:px-1", active ? "es:text-secondary-400" : "es:text-secondary-400", alignEnd && "es:ml-auto"), children: value })
146
146
  ] })
147
147
  ] }, i);
148
148
  }),
149
149
  dotsEnd && /* @__PURE__ */ jsxs(Fragment, { children: [
150
- /* @__PURE__ */ jsx("div", { className: "es-uic-row-start-1 es-uic-flex es-uic-shrink-0 -es-uic-translate-x-1 es-uic-items-center es-uic-gap-1 es-uic-font-mono es-uic-font-medium es-uic-text-gray-400", children: /* @__PURE__ */ jsxs("div", { className: "es-uic-flex es-uic-gap-0.5 es-uic-text-gray-300", children: [
151
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" }),
152
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" }),
153
- /* @__PURE__ */ jsx("div", { className: "es-uic-size-0.5 es-uic-rounded es-uic-bg-current" })
150
+ /* @__PURE__ */ jsx("div", { className: "es:row-start-1 es:flex es:shrink-0 es:-translate-x-1 es:items-center es:gap-1 es:font-mono es:font-medium es:text-secondary-400", children: /* @__PURE__ */ jsxs("div", { className: "es:flex es:gap-0.5 es:text-secondary-300", children: [
151
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
152
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
153
+ /* @__PURE__ */ jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" })
154
154
  ] }) }),
155
- /* @__PURE__ */ jsx("div", { className: "es-uic-row-start-2 es-uic-size-px" })
155
+ /* @__PURE__ */ jsx("div", { className: "es:row-start-2 es:size-px" })
156
156
  ] })
157
157
  ] });
158
158
  };