@eightshift/ui-components 6.0.13 → 6.1.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.
- package/dist/{Button-JRIu2BnS.js → Button-CFnNdpNZ.js} +9 -9
- package/dist/{Dialog-Dd1yqNus.js → Dialog-D0jMcN-a.js} +79 -60
- package/dist/{FieldError-DmVwL6Dj.js → FieldError-BPG0hKfB.js} +2 -2
- package/dist/{FocusScope-Dri1oBcH.js → FocusScope-BJhC1-1e.js} +6 -7
- package/dist/{Heading-eA6LXIKB.js → Heading-CY-_gt-U.js} +2 -2
- package/dist/{Input-Cuw9UbNb.js → Input-B4X6-x6r.js} +8 -8
- package/dist/{Label-DPWyf-gp.js → Label-BDlf9vIY.js} +3 -2
- package/dist/{List-CWheI3JH.js → List-CQFXnN4w.js} +1 -1
- package/dist/{ListBox-DT1sFY3e.js → ListBox-BaN0n5h3.js} +30 -28
- package/dist/{OverlayArrow-DVJTTfZM.js → OverlayArrow-Dy0qw7WL.js} +7 -7
- package/dist/{PortalProvider-CHPnqDSH.js → PortalProvider-BQ1X8vGX.js} +1 -1
- package/dist/{RadioGroup-Cp5cdBI_.js → RadioGroup-CjCAbUr4.js} +15 -15
- package/dist/{SearchField-CLhr5PGZ.js → SearchField-CafsA525.js} +12 -12
- package/dist/{SelectionManager-DbBiF5M8.js → SelectionManager-oojq6MOy.js} +38 -34
- package/dist/{SharedElementTransition-B_vnQ1uR.js → SharedElementTransition-CtoWSaF0.js} +1 -1
- package/dist/{Slider-CZV3HhHY.js → Slider-BIbaMdUE.js} +17 -16
- package/dist/{Text-Dae33gHp.js → Text-CjFEHSfr.js} +3 -2
- package/dist/{VisuallyHidden-eaCBtXhE.js → VisuallyHidden-CqnizvzQ.js} +2 -2
- package/dist/{animation-DY7CNkr6.js → animation-Dfl8uEb3.js} +2 -2
- package/dist/assets/style-admin.css +38 -54
- package/dist/assets/style-editor.css +38 -54
- package/dist/assets/style.css +38 -54
- package/dist/{color-swatch-CZj0jHZd.js → color-swatch-bUFkK7ox.js} +6 -6
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.js +9 -9
- package/dist/components/checkbox/checkbox.js +10 -10
- package/dist/components/color-pickers/color-picker.js +1 -1
- package/dist/components/color-pickers/color-swatch.js +1 -1
- package/dist/components/color-pickers/gradient-editor.js +2 -2
- package/dist/components/color-pickers/solid-color-picker.js +27 -23
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable/draggable.js +841 -633
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +1 -1
- package/dist/components/expandable/expandable.js +10 -10
- package/dist/components/index.js +4 -2
- package/dist/components/input-field/input-field.js +10 -10
- package/dist/components/link-input/link-input.js +24 -23
- package/dist/components/matrix-align/matrix-align.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/modal/modal.js +21 -22
- package/dist/components/number-picker/number-picker.js +11 -11
- package/dist/components/options-panel/options-panel.js +1 -1
- package/dist/components/placeholders/file-picker-shell.js +49 -44
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/portal-provider/portal-provider.js +1 -1
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/repeater/repeater.js +1 -1
- package/dist/components/responsive/mini-responsive.js +1 -1
- package/dist/components/select/async-multi-select.js +53 -32
- package/dist/components/select/async-select.js +8 -8
- package/dist/components/select/multi-select.js +9 -9
- package/dist/components/select/shared.js +4 -4
- package/dist/components/select/single-select.js +9 -9
- package/dist/components/slider/column-config-slider.js +3 -3
- package/dist/components/slider/slider.js +3 -3
- package/dist/components/smart-image/image-analysis-worker-next.js +144 -0
- package/dist/components/smart-image/smart-image-next.js +294 -0
- package/dist/components/smart-image/smart-image.js +2 -2
- package/dist/components/smart-image/worker-inline.js +1 -1
- package/dist/components/tabs/tabs.js +17 -16
- package/dist/components/toggle/switch.js +7 -7
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +10 -7
- package/dist/components/tooltip/tooltip.js +8 -8
- package/dist/{context-DYYO3Ns3.js → context-iUFQCK8m.js} +1 -1
- package/dist/{general-C8Q0dvEx.js → general-BfKmjm56.js} +3 -4
- package/dist/icons/icons.js +2 -2
- package/dist/icons/jsx-svg.js +1 -1
- package/dist/{index-sSixe2j_.js → index-BL5gdWX4.js} +52 -52
- package/dist/index.js +3 -1
- package/dist/{proxy-B_RaYTfe.js → proxy-DFlYXk07.js} +320 -82
- package/dist/{react-jsx-parser.min-B_hvYYa1.js → react-jsx-parser.min-DAh4myol.js} +35 -35
- package/dist/{shared-Bg9lx3pE.js → shared-CMLCUova.js} +29 -26
- package/dist/{textSelection-Cq_Br7RW.js → textSelection-CeoEP4rL.js} +1 -1
- package/dist/{useButton-CeuyDay5.js → useButton-5YL_nmpZ.js} +3 -3
- package/dist/{useEvent-DoWvho2u.js → useEvent-Zze2g7CX.js} +1 -1
- package/dist/{useFilter-DYtfYPua.js → useFilter-8S94U4xM.js} +1 -1
- package/dist/{useFocusRing-WEswknAY.js → useFocusRing-rUOwLdTK.js} +10 -5
- package/dist/{useFormReset-BDF1K4E4.js → useFormReset-BxtOoO5Q.js} +1 -1
- package/dist/{useFormValidation-Dqzjv4jX.js → useFormValidation-DTmPrTD8.js} +3 -3
- package/dist/{useHover-CG39Ci3A.js → useHover-CmyvqeWX.js} +18 -17
- package/dist/{useLabel--3fT2XKM.js → useLabel-DzXzKZZZ.js} +2 -2
- package/dist/{useLabels-vzdDMGCX.js → useLabels-D8O3gOdV.js} +1 -1
- package/dist/{useListState-Bya9g7W8.js → useListState-B22CApJO.js} +1 -1
- package/dist/{useLocalizedStringFormatter-M3L6Ge2c.js → useLocalizedStringFormatter-CEDs0LsA.js} +1 -1
- package/dist/{useNumberField-D6lsi3Vu.js → useNumberField-CTkI-U9a.js} +50 -40
- package/dist/{useNumberFormatter-BWOyCamK.js → useNumberFormatter-CG_IQXp9.js} +1 -1
- package/dist/{usePress-B9w0X4Ur.js → usePress-CNefMs8d.js} +14 -8
- package/dist/{useSingleSelectListState-D9SqGLJ0.js → useSingleSelectListState-CDZGQDLC.js} +2 -2
- package/dist/{useToggle-Deq2xxQV.js → useToggle-CFFOmZWi.js} +4 -4
- package/dist/{useToggleState-j3o1PvdS.js → useToggleState-BWrKKisg.js} +1 -1
- package/dist/utilities/general.js +1 -1
- package/dist/utilities/index.js +1 -1
- package/dist/{utils-HC9_3Crc.js → utils-Cr3pLd9c.js} +77 -38
- package/dist/workers/image-analysis.worker.js +1 -1
- package/package.json +17 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as reactDomExports } from "./index-
|
|
1
|
+
import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-Cr3pLd9c.js";
|
|
2
|
+
import { r as reactDomExports } from "./index-BL5gdWX4.js";
|
|
3
3
|
import { useState, useCallback } from "react";
|
|
4
4
|
function $d3f049242431219c$export$6d3443f2c48bfc20(ref, isReady = true) {
|
|
5
5
|
let [isEntering, setEntering] = useState(true);
|
|
@@ -3174,6 +3174,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3174
3174
|
border-radius: var(--es-radius-lg);
|
|
3175
3175
|
}
|
|
3176
3176
|
|
|
3177
|
+
:is(body, body #wpwrap) .es\:rounded-lg\! {
|
|
3178
|
+
border-radius: var(--es-radius-lg) !important;
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3177
3181
|
:is(body, body #wpwrap) .es\:rounded-md {
|
|
3178
3182
|
border-radius: var(--es-radius-md);
|
|
3179
3183
|
}
|
|
@@ -3280,11 +3284,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3280
3284
|
border-width: 1px;
|
|
3281
3285
|
}
|
|
3282
3286
|
|
|
3283
|
-
:is(body, body #wpwrap) .es\:border-4 {
|
|
3284
|
-
border-style: var(--es-uic-tw-border-style);
|
|
3285
|
-
border-width: 4px;
|
|
3286
|
-
}
|
|
3287
|
-
|
|
3288
3287
|
:is(body, body #wpwrap) .es\:border-x {
|
|
3289
3288
|
border-inline-style: var(--es-uic-tw-border-style);
|
|
3290
3289
|
border-inline-width: 1px;
|
|
@@ -3367,6 +3366,14 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3367
3366
|
border-color: var(--es-color-secondary-300);
|
|
3368
3367
|
}
|
|
3369
3368
|
|
|
3369
|
+
:is(body, body #wpwrap) .es\:border-secondary-800 {
|
|
3370
|
+
border-color: var(--es-color-secondary-800);
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3373
|
+
:is(body, body #wpwrap) .es\:border-surface-100 {
|
|
3374
|
+
border-color: var(--es-color-surface-100);
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3370
3377
|
:is(body, body #wpwrap) .es\:border-surface-200 {
|
|
3371
3378
|
border-color: var(--es-color-surface-200);
|
|
3372
3379
|
}
|
|
@@ -3383,10 +3390,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3383
3390
|
border-bottom-color: var(--es-color-secondary-200);
|
|
3384
3391
|
}
|
|
3385
3392
|
|
|
3386
|
-
:is(body, body #wpwrap) .es\:bg-\(--es-img-dominant-color\) {
|
|
3387
|
-
background-color: var(--es-img-dominant-color);
|
|
3388
|
-
}
|
|
3389
|
-
|
|
3390
3393
|
:is(body, body #wpwrap) .es\:bg-\[\#f1f1f1\] {
|
|
3391
3394
|
background-color: #f1f1f1;
|
|
3392
3395
|
}
|
|
@@ -3479,16 +3482,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3479
3482
|
}
|
|
3480
3483
|
}
|
|
3481
3484
|
|
|
3482
|
-
:is(body, body #wpwrap) .es\:bg-black
|
|
3485
|
+
:is(body, body #wpwrap) .es\:bg-black {
|
|
3483
3486
|
background-color: var(--es-color-black);
|
|
3484
3487
|
}
|
|
3485
3488
|
|
|
3486
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3487
|
-
:is(body, body #wpwrap) .es\:bg-black\/60 {
|
|
3488
|
-
background-color: color-mix(in oklab, var(--es-color-black) 60%, transparent);
|
|
3489
|
-
}
|
|
3490
|
-
}
|
|
3491
|
-
|
|
3492
3489
|
:is(body, body #wpwrap) .es\:bg-blue-500 {
|
|
3493
3490
|
background-color: var(--es-color-blue-500);
|
|
3494
3491
|
}
|
|
@@ -3741,16 +3738,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3741
3738
|
}
|
|
3742
3739
|
}
|
|
3743
3740
|
|
|
3744
|
-
:is(body, body #wpwrap) .es\:bg-white\/60 {
|
|
3745
|
-
background-color: var(--es-color-white);
|
|
3746
|
-
}
|
|
3747
|
-
|
|
3748
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3749
|
-
:is(body, body #wpwrap) .es\:bg-white\/60 {
|
|
3750
|
-
background-color: color-mix(in oklab, var(--es-color-white) 60%, transparent);
|
|
3751
|
-
}
|
|
3752
|
-
}
|
|
3753
|
-
|
|
3754
3741
|
:is(body, body #wpwrap) .es\:bg-yellow-400 {
|
|
3755
3742
|
background-color: var(--es-color-yellow-400);
|
|
3756
3743
|
}
|
|
@@ -4458,20 +4445,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
4458
4445
|
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
4459
4446
|
}
|
|
4460
4447
|
|
|
4461
|
-
:is(body, body #wpwrap) .es\:from-surface-50\/5 {
|
|
4462
|
-
--es-uic-tw-gradient-from: var(--es-color-surface-50);
|
|
4463
|
-
}
|
|
4464
|
-
|
|
4465
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4466
|
-
:is(body, body #wpwrap) .es\:from-surface-50\/5 {
|
|
4467
|
-
--es-uic-tw-gradient-from: color-mix(in oklab, var(--es-color-surface-50) 5%, transparent);
|
|
4468
|
-
}
|
|
4469
|
-
}
|
|
4470
|
-
|
|
4471
|
-
:is(body, body #wpwrap) .es\:from-surface-50\/5 {
|
|
4472
|
-
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
4473
|
-
}
|
|
4474
|
-
|
|
4475
4448
|
:is(body, body #wpwrap) .es\:from-surface-50\/85 {
|
|
4476
4449
|
--es-uic-tw-gradient-from: var(--es-color-surface-50);
|
|
4477
4450
|
}
|
|
@@ -5331,20 +5304,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
5331
5304
|
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
5332
5305
|
}
|
|
5333
5306
|
|
|
5334
|
-
:is(body, body #wpwrap) .es\:to-surface-50\/30 {
|
|
5335
|
-
--es-uic-tw-gradient-to: var(--es-color-surface-50);
|
|
5336
|
-
}
|
|
5337
|
-
|
|
5338
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
5339
|
-
:is(body, body #wpwrap) .es\:to-surface-50\/30 {
|
|
5340
|
-
--es-uic-tw-gradient-to: color-mix(in oklab, var(--es-color-surface-50) 30%, transparent);
|
|
5341
|
-
}
|
|
5342
|
-
}
|
|
5343
|
-
|
|
5344
|
-
:is(body, body #wpwrap) .es\:to-surface-50\/30 {
|
|
5345
|
-
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
5346
|
-
}
|
|
5347
|
-
|
|
5348
5307
|
:is(body, body #wpwrap) .es\:to-surface-50\/85 {
|
|
5349
5308
|
--es-uic-tw-gradient-to: var(--es-color-surface-50);
|
|
5350
5309
|
}
|
|
@@ -5634,6 +5593,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
5634
5593
|
padding: 1px;
|
|
5635
5594
|
}
|
|
5636
5595
|
|
|
5596
|
+
:is(body, body #wpwrap) .es\:p-px\! {
|
|
5597
|
+
padding: 1px !important;
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5637
5600
|
:is(body, body #wpwrap) .es\:px-0\.75 {
|
|
5638
5601
|
padding-inline: calc(var(--es-spacing) * .75);
|
|
5639
5602
|
}
|
|
@@ -7294,10 +7257,23 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
7294
7257
|
outline-width: 1px;
|
|
7295
7258
|
}
|
|
7296
7259
|
|
|
7260
|
+
:is(body, body #wpwrap) .es\:outline-8 {
|
|
7261
|
+
outline-style: var(--es-uic-tw-outline-style);
|
|
7262
|
+
outline-width: 8px;
|
|
7263
|
+
}
|
|
7264
|
+
|
|
7265
|
+
:is(body, body #wpwrap) .es\:-outline-offset-10 {
|
|
7266
|
+
outline-offset: calc(10px * -1);
|
|
7267
|
+
}
|
|
7268
|
+
|
|
7297
7269
|
:is(body, body #wpwrap) .es\:outline-offset-2 {
|
|
7298
7270
|
outline-offset: 2px;
|
|
7299
7271
|
}
|
|
7300
7272
|
|
|
7273
|
+
:is(body, body #wpwrap) .es\:outline-\(--es-img-colorful-dominant-color\,var\(--es-img-dominant-color\)\) {
|
|
7274
|
+
outline-color: var(--es-img-colorful-dominant-color, var(--es-img-dominant-color));
|
|
7275
|
+
}
|
|
7276
|
+
|
|
7301
7277
|
:is(body, body #wpwrap) .es\:outline-accent-500\/40 {
|
|
7302
7278
|
outline-color: var(--es-color-accent-500);
|
|
7303
7279
|
}
|
|
@@ -9804,6 +9780,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
9804
9780
|
border-radius: var(--es-radius-xl);
|
|
9805
9781
|
}
|
|
9806
9782
|
|
|
9783
|
+
:is(body, body #wpwrap) .es\:focus\:rounded-xl\!:where([data-rac])[data-focused], :is(body, body #wpwrap) .es\:focus\:rounded-xl\!:where(:not([data-rac])):focus {
|
|
9784
|
+
border-radius: var(--es-radius-xl) !important;
|
|
9785
|
+
}
|
|
9786
|
+
|
|
9807
9787
|
:is(body, body #wpwrap) .es\:focus\:bg-surface-50:where([data-rac])[data-focused], :is(body, body #wpwrap) .es\:focus\:bg-surface-50:where(:not([data-rac])):focus {
|
|
9808
9788
|
background-color: var(--es-color-surface-50);
|
|
9809
9789
|
}
|
|
@@ -10308,6 +10288,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
10308
10288
|
border-radius: var(--es-radius-xl);
|
|
10309
10289
|
}
|
|
10310
10290
|
|
|
10291
|
+
:is(body, body #wpwrap) .es\:aria-\[controls\]\:rounded-xl\![aria-controls] {
|
|
10292
|
+
border-radius: var(--es-radius-xl) !important;
|
|
10293
|
+
}
|
|
10294
|
+
|
|
10311
10295
|
@media (prefers-contrast: more) {
|
|
10312
10296
|
:is(body, body #wpwrap) .es\:contrast-more\:text-current {
|
|
10313
10297
|
color: currentColor;
|
|
@@ -3142,6 +3142,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3142
3142
|
border-radius: var(--es-radius-lg);
|
|
3143
3143
|
}
|
|
3144
3144
|
|
|
3145
|
+
:is(body, #wpwrap #editor) .es\:rounded-lg\! {
|
|
3146
|
+
border-radius: var(--es-radius-lg) !important;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3145
3149
|
:is(body, #wpwrap #editor) .es\:rounded-md {
|
|
3146
3150
|
border-radius: var(--es-radius-md);
|
|
3147
3151
|
}
|
|
@@ -3248,11 +3252,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3248
3252
|
border-width: 1px;
|
|
3249
3253
|
}
|
|
3250
3254
|
|
|
3251
|
-
:is(body, #wpwrap #editor) .es\:border-4 {
|
|
3252
|
-
border-style: var(--es-uic-tw-border-style);
|
|
3253
|
-
border-width: 4px;
|
|
3254
|
-
}
|
|
3255
|
-
|
|
3256
3255
|
:is(body, #wpwrap #editor) .es\:border-x {
|
|
3257
3256
|
border-inline-style: var(--es-uic-tw-border-style);
|
|
3258
3257
|
border-inline-width: 1px;
|
|
@@ -3335,6 +3334,14 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3335
3334
|
border-color: var(--es-color-secondary-300);
|
|
3336
3335
|
}
|
|
3337
3336
|
|
|
3337
|
+
:is(body, #wpwrap #editor) .es\:border-secondary-800 {
|
|
3338
|
+
border-color: var(--es-color-secondary-800);
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
:is(body, #wpwrap #editor) .es\:border-surface-100 {
|
|
3342
|
+
border-color: var(--es-color-surface-100);
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3338
3345
|
:is(body, #wpwrap #editor) .es\:border-surface-200 {
|
|
3339
3346
|
border-color: var(--es-color-surface-200);
|
|
3340
3347
|
}
|
|
@@ -3351,10 +3358,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3351
3358
|
border-bottom-color: var(--es-color-secondary-200);
|
|
3352
3359
|
}
|
|
3353
3360
|
|
|
3354
|
-
:is(body, #wpwrap #editor) .es\:bg-\(--es-img-dominant-color\) {
|
|
3355
|
-
background-color: var(--es-img-dominant-color);
|
|
3356
|
-
}
|
|
3357
|
-
|
|
3358
3361
|
:is(body, #wpwrap #editor) .es\:bg-\[\#f1f1f1\] {
|
|
3359
3362
|
background-color: #f1f1f1;
|
|
3360
3363
|
}
|
|
@@ -3447,16 +3450,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3447
3450
|
}
|
|
3448
3451
|
}
|
|
3449
3452
|
|
|
3450
|
-
:is(body, #wpwrap #editor) .es\:bg-black
|
|
3453
|
+
:is(body, #wpwrap #editor) .es\:bg-black {
|
|
3451
3454
|
background-color: var(--es-color-black);
|
|
3452
3455
|
}
|
|
3453
3456
|
|
|
3454
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3455
|
-
:is(body, #wpwrap #editor) .es\:bg-black\/60 {
|
|
3456
|
-
background-color: color-mix(in oklab, var(--es-color-black) 60%, transparent);
|
|
3457
|
-
}
|
|
3458
|
-
}
|
|
3459
|
-
|
|
3460
3457
|
:is(body, #wpwrap #editor) .es\:bg-blue-500 {
|
|
3461
3458
|
background-color: var(--es-color-blue-500);
|
|
3462
3459
|
}
|
|
@@ -3709,16 +3706,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3709
3706
|
}
|
|
3710
3707
|
}
|
|
3711
3708
|
|
|
3712
|
-
:is(body, #wpwrap #editor) .es\:bg-white\/60 {
|
|
3713
|
-
background-color: var(--es-color-white);
|
|
3714
|
-
}
|
|
3715
|
-
|
|
3716
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3717
|
-
:is(body, #wpwrap #editor) .es\:bg-white\/60 {
|
|
3718
|
-
background-color: color-mix(in oklab, var(--es-color-white) 60%, transparent);
|
|
3719
|
-
}
|
|
3720
|
-
}
|
|
3721
|
-
|
|
3722
3709
|
:is(body, #wpwrap #editor) .es\:bg-yellow-400 {
|
|
3723
3710
|
background-color: var(--es-color-yellow-400);
|
|
3724
3711
|
}
|
|
@@ -4426,20 +4413,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
4426
4413
|
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
4427
4414
|
}
|
|
4428
4415
|
|
|
4429
|
-
:is(body, #wpwrap #editor) .es\:from-surface-50\/5 {
|
|
4430
|
-
--es-uic-tw-gradient-from: var(--es-color-surface-50);
|
|
4431
|
-
}
|
|
4432
|
-
|
|
4433
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4434
|
-
:is(body, #wpwrap #editor) .es\:from-surface-50\/5 {
|
|
4435
|
-
--es-uic-tw-gradient-from: color-mix(in oklab, var(--es-color-surface-50) 5%, transparent);
|
|
4436
|
-
}
|
|
4437
|
-
}
|
|
4438
|
-
|
|
4439
|
-
:is(body, #wpwrap #editor) .es\:from-surface-50\/5 {
|
|
4440
|
-
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
4441
|
-
}
|
|
4442
|
-
|
|
4443
4416
|
:is(body, #wpwrap #editor) .es\:from-surface-50\/85 {
|
|
4444
4417
|
--es-uic-tw-gradient-from: var(--es-color-surface-50);
|
|
4445
4418
|
}
|
|
@@ -5299,20 +5272,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
5299
5272
|
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
5300
5273
|
}
|
|
5301
5274
|
|
|
5302
|
-
:is(body, #wpwrap #editor) .es\:to-surface-50\/30 {
|
|
5303
|
-
--es-uic-tw-gradient-to: var(--es-color-surface-50);
|
|
5304
|
-
}
|
|
5305
|
-
|
|
5306
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
5307
|
-
:is(body, #wpwrap #editor) .es\:to-surface-50\/30 {
|
|
5308
|
-
--es-uic-tw-gradient-to: color-mix(in oklab, var(--es-color-surface-50) 30%, transparent);
|
|
5309
|
-
}
|
|
5310
|
-
}
|
|
5311
|
-
|
|
5312
|
-
:is(body, #wpwrap #editor) .es\:to-surface-50\/30 {
|
|
5313
|
-
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
5314
|
-
}
|
|
5315
|
-
|
|
5316
5275
|
:is(body, #wpwrap #editor) .es\:to-surface-50\/85 {
|
|
5317
5276
|
--es-uic-tw-gradient-to: var(--es-color-surface-50);
|
|
5318
5277
|
}
|
|
@@ -5602,6 +5561,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
5602
5561
|
padding: 1px;
|
|
5603
5562
|
}
|
|
5604
5563
|
|
|
5564
|
+
:is(body, #wpwrap #editor) .es\:p-px\! {
|
|
5565
|
+
padding: 1px !important;
|
|
5566
|
+
}
|
|
5567
|
+
|
|
5605
5568
|
:is(body, #wpwrap #editor) .es\:px-0\.75 {
|
|
5606
5569
|
padding-inline: calc(var(--es-spacing) * .75);
|
|
5607
5570
|
}
|
|
@@ -7262,10 +7225,23 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
7262
7225
|
outline-width: 1px;
|
|
7263
7226
|
}
|
|
7264
7227
|
|
|
7228
|
+
:is(body, #wpwrap #editor) .es\:outline-8 {
|
|
7229
|
+
outline-style: var(--es-uic-tw-outline-style);
|
|
7230
|
+
outline-width: 8px;
|
|
7231
|
+
}
|
|
7232
|
+
|
|
7233
|
+
:is(body, #wpwrap #editor) .es\:-outline-offset-10 {
|
|
7234
|
+
outline-offset: calc(10px * -1);
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7265
7237
|
:is(body, #wpwrap #editor) .es\:outline-offset-2 {
|
|
7266
7238
|
outline-offset: 2px;
|
|
7267
7239
|
}
|
|
7268
7240
|
|
|
7241
|
+
:is(body, #wpwrap #editor) .es\:outline-\(--es-img-colorful-dominant-color\,var\(--es-img-dominant-color\)\) {
|
|
7242
|
+
outline-color: var(--es-img-colorful-dominant-color, var(--es-img-dominant-color));
|
|
7243
|
+
}
|
|
7244
|
+
|
|
7269
7245
|
:is(body, #wpwrap #editor) .es\:outline-accent-500\/40 {
|
|
7270
7246
|
outline-color: var(--es-color-accent-500);
|
|
7271
7247
|
}
|
|
@@ -9772,6 +9748,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
9772
9748
|
border-radius: var(--es-radius-xl);
|
|
9773
9749
|
}
|
|
9774
9750
|
|
|
9751
|
+
:is(body, #wpwrap #editor) .es\:focus\:rounded-xl\!:where([data-rac])[data-focused], :is(body, #wpwrap #editor) .es\:focus\:rounded-xl\!:where(:not([data-rac])):focus {
|
|
9752
|
+
border-radius: var(--es-radius-xl) !important;
|
|
9753
|
+
}
|
|
9754
|
+
|
|
9775
9755
|
:is(body, #wpwrap #editor) .es\:focus\:bg-surface-50:where([data-rac])[data-focused], :is(body, #wpwrap #editor) .es\:focus\:bg-surface-50:where(:not([data-rac])):focus {
|
|
9776
9756
|
background-color: var(--es-color-surface-50);
|
|
9777
9757
|
}
|
|
@@ -10276,6 +10256,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
10276
10256
|
border-radius: var(--es-radius-xl);
|
|
10277
10257
|
}
|
|
10278
10258
|
|
|
10259
|
+
:is(body, #wpwrap #editor) .es\:aria-\[controls\]\:rounded-xl\![aria-controls] {
|
|
10260
|
+
border-radius: var(--es-radius-xl) !important;
|
|
10261
|
+
}
|
|
10262
|
+
|
|
10279
10263
|
@media (prefers-contrast: more) {
|
|
10280
10264
|
:is(body, #wpwrap #editor) .es\:contrast-more\:text-current {
|
|
10281
10265
|
color: currentColor;
|
package/dist/assets/style.css
CHANGED
|
@@ -3627,6 +3627,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3627
3627
|
border-radius: var(--es-radius-lg);
|
|
3628
3628
|
}
|
|
3629
3629
|
|
|
3630
|
+
.es\:rounded-lg\! {
|
|
3631
|
+
border-radius: var(--es-radius-lg) !important;
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3630
3634
|
.es\:rounded-md {
|
|
3631
3635
|
border-radius: var(--es-radius-md);
|
|
3632
3636
|
}
|
|
@@ -3733,11 +3737,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3733
3737
|
border-width: 1px;
|
|
3734
3738
|
}
|
|
3735
3739
|
|
|
3736
|
-
.es\:border-4 {
|
|
3737
|
-
border-style: var(--es-uic-tw-border-style);
|
|
3738
|
-
border-width: 4px;
|
|
3739
|
-
}
|
|
3740
|
-
|
|
3741
3740
|
.es\:border-x {
|
|
3742
3741
|
border-inline-style: var(--es-uic-tw-border-style);
|
|
3743
3742
|
border-inline-width: 1px;
|
|
@@ -3820,6 +3819,14 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3820
3819
|
border-color: var(--es-color-secondary-300);
|
|
3821
3820
|
}
|
|
3822
3821
|
|
|
3822
|
+
.es\:border-secondary-800 {
|
|
3823
|
+
border-color: var(--es-color-secondary-800);
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
.es\:border-surface-100 {
|
|
3827
|
+
border-color: var(--es-color-surface-100);
|
|
3828
|
+
}
|
|
3829
|
+
|
|
3823
3830
|
.es\:border-surface-200 {
|
|
3824
3831
|
border-color: var(--es-color-surface-200);
|
|
3825
3832
|
}
|
|
@@ -3836,10 +3843,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3836
3843
|
border-bottom-color: var(--es-color-secondary-200);
|
|
3837
3844
|
}
|
|
3838
3845
|
|
|
3839
|
-
.es\:bg-\(--es-img-dominant-color\) {
|
|
3840
|
-
background-color: var(--es-img-dominant-color);
|
|
3841
|
-
}
|
|
3842
|
-
|
|
3843
3846
|
.es\:bg-\[\#f1f1f1\] {
|
|
3844
3847
|
background-color: #f1f1f1;
|
|
3845
3848
|
}
|
|
@@ -3932,16 +3935,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3932
3935
|
}
|
|
3933
3936
|
}
|
|
3934
3937
|
|
|
3935
|
-
.es\:bg-black
|
|
3938
|
+
.es\:bg-black {
|
|
3936
3939
|
background-color: var(--es-color-black);
|
|
3937
3940
|
}
|
|
3938
3941
|
|
|
3939
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3940
|
-
.es\:bg-black\/60 {
|
|
3941
|
-
background-color: color-mix(in oklab, var(--es-color-black) 60%, transparent);
|
|
3942
|
-
}
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3945
3942
|
.es\:bg-blue-500 {
|
|
3946
3943
|
background-color: var(--es-color-blue-500);
|
|
3947
3944
|
}
|
|
@@ -4194,16 +4191,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
4194
4191
|
}
|
|
4195
4192
|
}
|
|
4196
4193
|
|
|
4197
|
-
.es\:bg-white\/60 {
|
|
4198
|
-
background-color: var(--es-color-white);
|
|
4199
|
-
}
|
|
4200
|
-
|
|
4201
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4202
|
-
.es\:bg-white\/60 {
|
|
4203
|
-
background-color: color-mix(in oklab, var(--es-color-white) 60%, transparent);
|
|
4204
|
-
}
|
|
4205
|
-
}
|
|
4206
|
-
|
|
4207
4194
|
.es\:bg-yellow-400 {
|
|
4208
4195
|
background-color: var(--es-color-yellow-400);
|
|
4209
4196
|
}
|
|
@@ -4911,20 +4898,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
4911
4898
|
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
4912
4899
|
}
|
|
4913
4900
|
|
|
4914
|
-
.es\:from-surface-50\/5 {
|
|
4915
|
-
--es-uic-tw-gradient-from: var(--es-color-surface-50);
|
|
4916
|
-
}
|
|
4917
|
-
|
|
4918
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4919
|
-
.es\:from-surface-50\/5 {
|
|
4920
|
-
--es-uic-tw-gradient-from: color-mix(in oklab, var(--es-color-surface-50) 5%, transparent);
|
|
4921
|
-
}
|
|
4922
|
-
}
|
|
4923
|
-
|
|
4924
|
-
.es\:from-surface-50\/5 {
|
|
4925
|
-
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
4926
|
-
}
|
|
4927
|
-
|
|
4928
4901
|
.es\:from-surface-50\/85 {
|
|
4929
4902
|
--es-uic-tw-gradient-from: var(--es-color-surface-50);
|
|
4930
4903
|
}
|
|
@@ -5784,20 +5757,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
5784
5757
|
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
5785
5758
|
}
|
|
5786
5759
|
|
|
5787
|
-
.es\:to-surface-50\/30 {
|
|
5788
|
-
--es-uic-tw-gradient-to: var(--es-color-surface-50);
|
|
5789
|
-
}
|
|
5790
|
-
|
|
5791
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
5792
|
-
.es\:to-surface-50\/30 {
|
|
5793
|
-
--es-uic-tw-gradient-to: color-mix(in oklab, var(--es-color-surface-50) 30%, transparent);
|
|
5794
|
-
}
|
|
5795
|
-
}
|
|
5796
|
-
|
|
5797
|
-
.es\:to-surface-50\/30 {
|
|
5798
|
-
--es-uic-tw-gradient-stops: var(--es-uic-tw-gradient-via-stops, var(--es-uic-tw-gradient-position), var(--es-uic-tw-gradient-from) var(--es-uic-tw-gradient-from-position), var(--es-uic-tw-gradient-to) var(--es-uic-tw-gradient-to-position));
|
|
5799
|
-
}
|
|
5800
|
-
|
|
5801
5760
|
.es\:to-surface-50\/85 {
|
|
5802
5761
|
--es-uic-tw-gradient-to: var(--es-color-surface-50);
|
|
5803
5762
|
}
|
|
@@ -6087,6 +6046,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
6087
6046
|
padding: 1px;
|
|
6088
6047
|
}
|
|
6089
6048
|
|
|
6049
|
+
.es\:p-px\! {
|
|
6050
|
+
padding: 1px !important;
|
|
6051
|
+
}
|
|
6052
|
+
|
|
6090
6053
|
.es\:px-0\.75 {
|
|
6091
6054
|
padding-inline: calc(var(--es-spacing) * .75);
|
|
6092
6055
|
}
|
|
@@ -7747,10 +7710,23 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
7747
7710
|
outline-width: 1px;
|
|
7748
7711
|
}
|
|
7749
7712
|
|
|
7713
|
+
.es\:outline-8 {
|
|
7714
|
+
outline-style: var(--es-uic-tw-outline-style);
|
|
7715
|
+
outline-width: 8px;
|
|
7716
|
+
}
|
|
7717
|
+
|
|
7718
|
+
.es\:-outline-offset-10 {
|
|
7719
|
+
outline-offset: calc(10px * -1);
|
|
7720
|
+
}
|
|
7721
|
+
|
|
7750
7722
|
.es\:outline-offset-2 {
|
|
7751
7723
|
outline-offset: 2px;
|
|
7752
7724
|
}
|
|
7753
7725
|
|
|
7726
|
+
.es\:outline-\(--es-img-colorful-dominant-color\,var\(--es-img-dominant-color\)\) {
|
|
7727
|
+
outline-color: var(--es-img-colorful-dominant-color, var(--es-img-dominant-color));
|
|
7728
|
+
}
|
|
7729
|
+
|
|
7754
7730
|
.es\:outline-accent-500\/40 {
|
|
7755
7731
|
outline-color: var(--es-color-accent-500);
|
|
7756
7732
|
}
|
|
@@ -10257,6 +10233,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
10257
10233
|
border-radius: var(--es-radius-xl);
|
|
10258
10234
|
}
|
|
10259
10235
|
|
|
10236
|
+
.es\:focus\:rounded-xl\!:where([data-rac])[data-focused], .es\:focus\:rounded-xl\!:where(:not([data-rac])):focus {
|
|
10237
|
+
border-radius: var(--es-radius-xl) !important;
|
|
10238
|
+
}
|
|
10239
|
+
|
|
10260
10240
|
.es\:focus\:bg-surface-50:where([data-rac])[data-focused], .es\:focus\:bg-surface-50:where(:not([data-rac])):focus {
|
|
10261
10241
|
background-color: var(--es-color-surface-50);
|
|
10262
10242
|
}
|
|
@@ -10761,6 +10741,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
10761
10741
|
border-radius: var(--es-radius-xl);
|
|
10762
10742
|
}
|
|
10763
10743
|
|
|
10744
|
+
.es\:aria-\[controls\]\:rounded-xl\![aria-controls] {
|
|
10745
|
+
border-radius: var(--es-radius-xl) !important;
|
|
10746
|
+
}
|
|
10747
|
+
|
|
10764
10748
|
@media (prefers-contrast: more) {
|
|
10765
10749
|
.es\:contrast-more\:text-current {
|
|
10766
10750
|
color: currentColor;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { d as $bdb11010cef70236$export$f680877a34711e37, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, h as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$df3a06d6289f983e, b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-Cr3pLd9c.js";
|
|
3
3
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
|
|
4
4
|
import $dbSRa$react__default, { useMemo, forwardRef, createContext } from "react";
|
|
5
5
|
import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4, b as $9446cca9a3875146$export$b6268554fba451f } from "./number-7sOvrqo0.js";
|
|
6
|
-
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0, $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
6
|
+
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0, $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CEDs0LsA.js";
|
|
7
7
|
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
|
|
8
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
8
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-iUFQCK8m.js";
|
|
9
9
|
import { c as clsx } from "./clsx-DgYk2OaC.js";
|
|
10
10
|
import { _ as __ } from "./default-i18n-CnQeC5Pl.js";
|
|
11
11
|
var $eccab2b0118aef08$exports = {};
|
|
@@ -2503,7 +2503,7 @@ const $251c695a52d94a8d$export$cae13e90592f246a = /* @__PURE__ */ forwardRef(fun
|
|
|
2503
2503
|
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
2504
2504
|
global: true
|
|
2505
2505
|
});
|
|
2506
|
-
return /* @__PURE__ */ $dbSRa$react__default.createElement(
|
|
2506
|
+
return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
|
|
2507
2507
|
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, colorSwatchProps, renderProps),
|
|
2508
2508
|
slot: props.slot || void 0,
|
|
2509
2509
|
ref
|
|
@@ -2564,7 +2564,7 @@ const ColorSwatch2 = (props) => {
|
|
|
2564
2564
|
export {
|
|
2565
2565
|
$251c695a52d94a8d$export$cae13e90592f246a as $,
|
|
2566
2566
|
ColorSwatch2 as C,
|
|
2567
|
-
$799cddbef784668f$export$
|
|
2568
|
-
$799cddbef784668f$export$
|
|
2567
|
+
$799cddbef784668f$export$4cde5df63f53f473 as a,
|
|
2568
|
+
$799cddbef784668f$export$6e865ea70d7724f as b,
|
|
2569
2569
|
$3493a52097159720$exports as c
|
|
2570
2570
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-
|
|
2
|
+
import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-CjFEHSfr.js";
|
|
3
3
|
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, b as $0393f8ab869a0f1a$export$c17561cb55d4db30 } from "../../Button-
|
|
3
|
-
import {
|
|
4
|
-
import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-
|
|
2
|
+
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, b as $0393f8ab869a0f1a$export$c17561cb55d4db30 } from "../../Button-CFnNdpNZ.js";
|
|
3
|
+
import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, h as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$df3a06d6289f983e, b as $3ef42575df84b30b$export$9d1611c77c2fe928, k as $df56164dff5785e2$export$4338b53315abf666 } from "../../utils-Cr3pLd9c.js";
|
|
4
|
+
import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-BJhC1-1e.js";
|
|
5
|
+
import { g as $d4ee10de306f2510$export$4282f70798064fe0 } from "../../useHover-CmyvqeWX.js";
|
|
5
6
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-eGTqWSTd.js";
|
|
6
7
|
import $dbSRa$react__default, { useState, useRef, forwardRef, createContext } from "react";
|
|
7
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-
|
|
8
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-iUFQCK8m.js";
|
|
8
9
|
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
9
10
|
import { c as cva } from "../../index-BHpUy2Ix.js";
|
|
10
11
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
@@ -20,7 +21,7 @@ function $2680b1829e803644$export$fa142eb1681c520(props, ref) {
|
|
|
20
21
|
const shouldReverse = direction === "rtl" && orientation === "horizontal";
|
|
21
22
|
let focusManager = $9bf71ea28793e738$export$c5251b9e124bf29(ref);
|
|
22
23
|
const onKeyDown = (e) => {
|
|
23
|
-
if (
|
|
24
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) return;
|
|
24
25
|
if (orientation === "horizontal" && e.key === "ArrowRight" || orientation === "vertical" && e.key === "ArrowDown") {
|
|
25
26
|
if (shouldReverse) focusManager.focusPrevious();
|
|
26
27
|
else focusManager.focusNext();
|
|
@@ -40,11 +41,10 @@ function $2680b1829e803644$export$fa142eb1681c520(props, ref) {
|
|
|
40
41
|
};
|
|
41
42
|
const lastFocused = useRef(null);
|
|
42
43
|
const onBlur = (e) => {
|
|
43
|
-
if (
|
|
44
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.relatedTarget) && !lastFocused.current) lastFocused.current = e.target;
|
|
44
45
|
};
|
|
45
46
|
const onFocus = (e) => {
|
|
46
|
-
|
|
47
|
-
if (lastFocused.current && !e.currentTarget.contains(e.relatedTarget) && ((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(e.target))) {
|
|
47
|
+
if (lastFocused.current && !$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.relatedTarget) && $d4ee10de306f2510$export$4282f70798064fe0(ref.current, e.target)) {
|
|
48
48
|
var _lastFocused_current;
|
|
49
49
|
(_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.focus();
|
|
50
50
|
lastFocused.current = null;
|
|
@@ -80,7 +80,7 @@ const $13c3c67164f4d5be$export$4c260019440d418f = /* @__PURE__ */ forwardRef(fun
|
|
|
80
80
|
global: true
|
|
81
81
|
});
|
|
82
82
|
delete DOMProps.id;
|
|
83
|
-
return /* @__PURE__ */ $dbSRa$react__default.createElement(
|
|
83
|
+
return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
|
|
84
84
|
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, toolbarProps),
|
|
85
85
|
ref,
|
|
86
86
|
slot: props.slot || void 0,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { b as $4e85f108e88277b8$export$b085522c77523c51 } from "../../RSPContexts-CJ-HBf0L.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, e as $64fa3d84918910a7$export$fabf2dc03a41866e, k as $df56164dff5785e2$export$4338b53315abf666, l as $5dc95899b306f630$export$c9058316764c140e, g as $64fa3d84918910a7$export$ef03459518577ad4, h as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$df3a06d6289f983e } from "../../utils-Cr3pLd9c.js";
|
|
4
4
|
import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-eGTqWSTd.js";
|
|
6
6
|
import $dbSRa$react__default, { useEffect, useMemo, useRef, forwardRef, useContext, createContext } from "react";
|
|
7
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb, c as $e5be200c675c3b3a$export$dad6ae84456c676a } from "../../useFormValidation-
|
|
8
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-
|
|
9
|
-
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-
|
|
10
|
-
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-
|
|
11
|
-
import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
12
|
-
import { x as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-
|
|
13
|
-
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-
|
|
14
|
-
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
7
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb, c as $e5be200c675c3b3a$export$dad6ae84456c676a } from "../../useFormValidation-DTmPrTD8.js";
|
|
8
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-CNefMs8d.js";
|
|
9
|
+
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-CFFOmZWi.js";
|
|
10
|
+
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-BWrKKisg.js";
|
|
11
|
+
import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-rUOwLdTK.js";
|
|
12
|
+
import { x as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-CmyvqeWX.js";
|
|
13
|
+
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-CqnizvzQ.js";
|
|
14
|
+
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BDlf9vIY.js";
|
|
15
15
|
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
16
16
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
17
17
|
import { icons } from "../../icons/icons.js";
|
|
@@ -174,7 +174,7 @@ const $bc237834342dbd75$export$48513f6b9f8ce62d = /* @__PURE__ */ forwardRef(fun
|
|
|
174
174
|
});
|
|
175
175
|
delete DOMProps.id;
|
|
176
176
|
delete DOMProps.onClick;
|
|
177
|
-
return /* @__PURE__ */ $dbSRa$react__default.createElement(
|
|
177
|
+
return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.label, {
|
|
178
178
|
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, labelProps, hoverProps, renderProps),
|
|
179
179
|
ref,
|
|
180
180
|
slot: props.slot || void 0,
|