@eightshift/ui-components 5.1.4 → 5.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/dist/{Button-DH22t_SM.js → Button-RTwMSBs-.js} +20 -26
- package/dist/{Collection-BRJOMbOa.js → Collection-D_KhdLDC.js} +40 -23
- package/dist/{Color-CNqKeT8D.js → Color-WxFE7lQB.js} +2 -2
- package/dist/{ColorSwatch-Dt3lRApA.js → ColorSwatch-xVS3rMYS.js} +9 -7
- package/dist/{Dialog-D6EdDPeu.js → Dialog-Xf6AsnV-.js} +86 -62
- package/dist/{FieldError-DHrSdE_Q.js → FieldError-B8BgFmIQ.js} +2 -2
- package/dist/{FocusScope-BEPI2m7u.js → FocusScope-BnwM-e8R.js} +24 -22
- package/dist/{Form-Bnyyv3Im.js → Form-BeMxJA29.js} +13 -3
- package/dist/{Input-DfSBLhDx.js → Group-C4cXobNT.js} +56 -11
- package/dist/{Heading-ba38ScjJ.js → Heading-bh1HU5HH.js} +1 -1
- package/dist/{Label-JS_ob-kh.js → Label-DWVaNd2E.js} +1 -1
- package/dist/{List-BLeHBkfx.js → List-CwJTORxj.js} +1 -1
- package/dist/{ListBox-BY3gwI8c.js → ListBox-BeC97FZ4.js} +62 -38
- package/dist/{OverlayArrow-BUfV-5P3.js → OverlayArrow-EZ0v_ljk.js} +6 -6
- package/dist/{Select-BebwUgKB.js → Select-DEQf8ZWI.js} +96 -58
- package/dist/{Select-aab027f3.esm-BKIJGje-.js → Select-ef7c0426.esm-D6WOCaYm.js} +11 -6
- package/dist/{Separator-CTQWg_HO.js → Separator-Fl7qSeN-.js} +37 -20
- package/dist/{Slider-uOPcIpqS.js → Slider-BQFSEhvk.js} +28 -21
- package/dist/{Text-BuJgePCv.js → Text-AxKZjtFm.js} +1 -1
- package/dist/{TextField-o2U-uBWv.js → TextField-x_eEa_qR.js} +20 -10
- package/dist/{VisuallyHidden-BYi0pekx.js → VisuallyHidden-D9s7FTtC.js} +2 -2
- package/dist/assets/style-admin.css +227 -3
- package/dist/assets/style-editor.css +227 -3
- package/dist/assets/style.css +227 -3
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.js +11 -10
- package/dist/components/checkbox/checkbox.js +17 -12
- package/dist/components/color-pickers/color-picker.js +1 -1
- package/dist/components/color-pickers/color-swatch.js +3 -3
- package/dist/components/color-pickers/gradient-editor.js +3 -2
- package/dist/components/color-pickers/solid-color-picker.js +85 -49
- package/dist/components/component-toggle/component-toggle.js +2 -1
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable/draggable.js +191 -170
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +2 -2
- package/dist/components/expandable/expandable.js +18 -18
- package/dist/components/index.js +5 -1
- package/dist/components/input-field/input-field.js +3 -3
- package/dist/components/item-collection/item-collection.js +1 -1
- package/dist/components/link-input/link-input.js +45 -34
- package/dist/components/matrix-align/matrix-align.js +1 -1
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/modal/modal.js +39 -13
- package/dist/components/number-picker/number-picker.js +15 -13
- package/dist/components/option-select/option-select.js +1 -1
- package/dist/components/options-panel/options-panel.js +1 -1
- package/dist/components/placeholders/file-placeholder.js +1 -1
- package/dist/components/popover/popover.js +2 -2
- package/dist/components/radio/radio.js +45 -22
- package/dist/components/repeater/repeater-item.js +1 -1
- package/dist/components/repeater/repeater.js +2 -2
- package/dist/components/responsive/mini-responsive.js +3 -2
- package/dist/components/responsive/responsive-legacy.js +2 -1
- package/dist/components/responsive/responsive.js +2 -1
- package/dist/components/responsive-preview/responsive-preview.js +1 -1
- package/dist/components/select/async-multi-select.js +3 -3
- package/dist/components/select/async-single-select.js +2 -2
- package/dist/components/select/custom-select-default-components.js +1 -1
- package/dist/components/select/multi-select-components.js +1 -1
- package/dist/components/select/multi-select.js +3 -3
- package/dist/components/select/react-select-component-wrappers.js +1 -1
- package/dist/components/select/shared.js +19 -1
- package/dist/components/select/single-select.js +2 -2
- package/dist/components/select/v2/async-multi-select.js +421 -0
- package/dist/components/select/v2/async-select.js +10 -10
- package/dist/components/select/v2/multi-select.js +403 -0
- package/dist/components/select/v2/shared.js +44 -8
- package/dist/components/select/v2/single-select.js +10 -10
- package/dist/components/slider/column-config-slider.js +3 -3
- package/dist/components/slider/slider.js +3 -3
- package/dist/components/slider/utils.js +2 -1
- package/dist/components/tabs/tabs.js +33 -23
- package/dist/components/toggle/switch.js +11 -8
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +14 -8
- package/dist/components/tooltip/tooltip.js +9 -7
- package/dist/{context-BbYZoHvX.js → context-DMOmz986.js} +1 -1
- package/dist/{default-i18n-OFa3zAyB.js → default-i18n-DY6EfUSA.js} +21 -284
- package/dist/filterDOMProps-D2C6R0DK.js +71 -0
- package/dist/icons/icons.js +1 -1
- package/dist/{index-641ee5b8.esm-BPU8rMZr.js → index-641ee5b8.esm-Bu-mgopl.js} +1 -1
- package/dist/{index-CFozsmNS.js → index-CBHA_HDD.js} +3 -1
- package/dist/{index-BljRBEr_.js → index-Dq3gT5pW.js} +1 -1
- package/dist/index.js +4 -0
- package/dist/{multi-select-components-BcKzA24f.js → multi-select-components-rCCyCaKO.js} +1 -1
- package/dist/{number-CHmNj-oR.js → number-7sOvrqo0.js} +7 -2
- package/dist/{react-select-async.esm-D937XTWW.js → react-select-async.esm-XYrsKYb2.js} +3 -3
- package/dist/{react-select.esm-Ciai3aKf.js → react-select.esm-CCSPY6XR.js} +3 -3
- package/dist/sprintf-DmNrJSYG.js +51 -0
- package/dist/{textSelection-8DpK8fJl.js → textSelection-D5tWX1rJ.js} +1 -1
- package/dist/{useAsyncList-fLtZMvJO.js → useAsyncList-ZqaIH2gh.js} +1 -1
- package/dist/{useButton-lRcWnvOB.js → useButton-BtJSiQi3.js} +13 -5
- package/dist/useDragAndDrop-CddFteYC.js +3917 -0
- package/dist/{useEvent-ICdlokG-.js → useEvent-BifIGnVS.js} +1 -1
- package/dist/{useFilter-BR5z1A4Q.js → useFilter-Cl2ggwwq.js} +1 -1
- package/dist/{useFocusRing-Bv0UJQl8.js → useFocusRing-D5BfOWag.js} +3 -3
- package/dist/{useFormReset-D2YaWRIA.js → useFormReset-yV9VVy9R.js} +3 -4
- package/dist/{useHover-C2SkI1Fn.js → useHover-44IApaa2.js} +67 -34
- package/dist/{useLabel-BPCd5c7-.js → useLabel-C8umX0gk.js} +2 -2
- package/dist/{useLabels-B7-lUnAF.js → useLabels-Cdxi6JSa.js} +1 -1
- package/dist/{useListState-BrZ2XvDS.js → useListState-BSkHuB7-.js} +1 -1
- package/dist/{useLocalizedStringFormatter-C9GO0IDB.js → useLocalizedStringFormatter-eaZiN2tE.js} +1 -1
- package/dist/{useNumberField-y0dLc_6m.js → useNumberField-JhWPy1JY.js} +23 -16
- package/dist/{useNumberFormatter-CZ9QUnRt.js → useNumberFormatter-BCmkV-7c.js} +1 -1
- package/dist/{usePress-DWBuejBp.js → usePress-BnrkvZ7e.js} +20 -5
- package/dist/{useSingleSelectListState-Bh46cRXs.js → useSingleSelectListState-CzJFsSHr.js} +2 -2
- package/dist/{useToggle-yGuUBU7q.js → useToggle-OaIBlwRu.js} +21 -8
- package/dist/{useToggleState-ibcBUHnB.js → useToggleState-BF8hvidm.js} +5 -1
- package/dist/{utils-CZt7LCbO.js → utils-cvK1vxO7.js} +9 -7
- package/package.json +18 -18
- package/dist/Group-LBogWgyp.js +0 -48
- package/dist/_commonjsHelpers-CUmg6egw.js +0 -6
- package/dist/filterDOMProps-EDDcM64A.js +0 -28
package/dist/assets/style.css
CHANGED
|
@@ -1335,6 +1335,10 @@
|
|
|
1335
1335
|
margin: calc(var(--es-spacing) * .5);
|
|
1336
1336
|
}
|
|
1337
1337
|
|
|
1338
|
+
.es\:m-1 {
|
|
1339
|
+
margin: calc(var(--es-spacing) * 1);
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1338
1342
|
.es\:m-2 {
|
|
1339
1343
|
margin: calc(var(--es-spacing) * 2);
|
|
1340
1344
|
}
|
|
@@ -1371,8 +1375,8 @@
|
|
|
1371
1375
|
margin-block: calc(var(--es-spacing) * 1);
|
|
1372
1376
|
}
|
|
1373
1377
|
|
|
1374
|
-
.es\:my-
|
|
1375
|
-
margin-block: calc(var(--es-spacing) *
|
|
1378
|
+
.es\:my-5 {
|
|
1379
|
+
margin-block: calc(var(--es-spacing) * 5);
|
|
1376
1380
|
}
|
|
1377
1381
|
|
|
1378
1382
|
.es\:my-auto {
|
|
@@ -1635,6 +1639,10 @@
|
|
|
1635
1639
|
height: calc(var(--es-spacing) * 5);
|
|
1636
1640
|
}
|
|
1637
1641
|
|
|
1642
|
+
.es\:h-5\.5 {
|
|
1643
|
+
height: var(--es-spacing-5_5);
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1638
1646
|
.es\:h-6 {
|
|
1639
1647
|
height: calc(var(--es-spacing) * 6);
|
|
1640
1648
|
}
|
|
@@ -1755,6 +1763,10 @@
|
|
|
1755
1763
|
width: calc(var(--es-spacing) * .5);
|
|
1756
1764
|
}
|
|
1757
1765
|
|
|
1766
|
+
.es\:w-0\.75 {
|
|
1767
|
+
width: calc(var(--es-spacing) * .75);
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1758
1770
|
.es\:w-1 {
|
|
1759
1771
|
width: calc(var(--es-spacing) * 1);
|
|
1760
1772
|
}
|
|
@@ -1995,6 +2007,11 @@
|
|
|
1995
2007
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1996
2008
|
}
|
|
1997
2009
|
|
|
2010
|
+
.es\:translate-x-7 {
|
|
2011
|
+
--tw-translate-x: calc(var(--es-spacing) * 7);
|
|
2012
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2013
|
+
}
|
|
2014
|
+
|
|
1998
2015
|
.es\:translate-x-full\! {
|
|
1999
2016
|
--tw-translate-x: 100% !important;
|
|
2000
2017
|
translate: var(--tw-translate-x) var(--tw-translate-y) !important;
|
|
@@ -2010,6 +2027,11 @@
|
|
|
2010
2027
|
translate: var(--tw-translate-x) var(--tw-translate-y) !important;
|
|
2011
2028
|
}
|
|
2012
2029
|
|
|
2030
|
+
.es\:translate-y-6 {
|
|
2031
|
+
--tw-translate-y: calc(var(--es-spacing) * 6);
|
|
2032
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2013
2035
|
.es\:translate-y-px {
|
|
2014
2036
|
--tw-translate-y: 1px;
|
|
2015
2037
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -2129,6 +2151,10 @@
|
|
|
2129
2151
|
cursor: grabbing;
|
|
2130
2152
|
}
|
|
2131
2153
|
|
|
2154
|
+
.es\:cursor-move {
|
|
2155
|
+
cursor: move;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2132
2158
|
.es\:cursor-pointer {
|
|
2133
2159
|
cursor: pointer;
|
|
2134
2160
|
}
|
|
@@ -2253,6 +2279,10 @@
|
|
|
2253
2279
|
gap: calc(var(--es-spacing) * .5);
|
|
2254
2280
|
}
|
|
2255
2281
|
|
|
2282
|
+
.es\:gap-0\.75 {
|
|
2283
|
+
gap: calc(var(--es-spacing) * .75);
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2256
2286
|
.es\:gap-1 {
|
|
2257
2287
|
gap: calc(var(--es-spacing) * 1);
|
|
2258
2288
|
}
|
|
@@ -2842,7 +2872,7 @@
|
|
|
2842
2872
|
}
|
|
2843
2873
|
}
|
|
2844
2874
|
|
|
2845
|
-
.es\:bg-accent-700\/25 {
|
|
2875
|
+
.es\:bg-accent-700, .es\:bg-accent-700\/25 {
|
|
2846
2876
|
background-color: var(--es-color-accent-700);
|
|
2847
2877
|
}
|
|
2848
2878
|
|
|
@@ -2852,6 +2882,16 @@
|
|
|
2852
2882
|
}
|
|
2853
2883
|
}
|
|
2854
2884
|
|
|
2885
|
+
.es\:bg-accent-700\/30 {
|
|
2886
|
+
background-color: var(--es-color-accent-700);
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2890
|
+
.es\:bg-accent-700\/30 {
|
|
2891
|
+
background-color: color-mix(in oklab, var(--es-color-accent-700) 30%, transparent);
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2855
2895
|
.es\:bg-black, .es\:bg-black\/30 {
|
|
2856
2896
|
background-color: var(--es-color-black);
|
|
2857
2897
|
}
|
|
@@ -3464,6 +3504,10 @@
|
|
|
3464
3504
|
padding-block: calc(var(--es-spacing) * .25);
|
|
3465
3505
|
}
|
|
3466
3506
|
|
|
3507
|
+
.es\:py-0\.75 {
|
|
3508
|
+
padding-block: calc(var(--es-spacing) * .75);
|
|
3509
|
+
}
|
|
3510
|
+
|
|
3467
3511
|
.es\:py-1 {
|
|
3468
3512
|
padding-block: calc(var(--es-spacing) * 1);
|
|
3469
3513
|
}
|
|
@@ -3568,6 +3612,10 @@
|
|
|
3568
3612
|
padding-bottom: calc(var(--es-spacing) * 4);
|
|
3569
3613
|
}
|
|
3570
3614
|
|
|
3615
|
+
.es\:pl-0\.75 {
|
|
3616
|
+
padding-left: calc(var(--es-spacing) * .75);
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3571
3619
|
.es\:pl-1 {
|
|
3572
3620
|
padding-left: calc(var(--es-spacing) * 1);
|
|
3573
3621
|
}
|
|
@@ -4282,6 +4330,16 @@
|
|
|
4282
4330
|
}
|
|
4283
4331
|
}
|
|
4284
4332
|
|
|
4333
|
+
.es\:inset-ring-secondary-200\/30 {
|
|
4334
|
+
--tw-inset-ring-color: var(--es-color-secondary-200);
|
|
4335
|
+
}
|
|
4336
|
+
|
|
4337
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4338
|
+
.es\:inset-ring-secondary-200\/30 {
|
|
4339
|
+
--tw-inset-ring-color: color-mix(in oklab, var(--es-color-secondary-200) 30%, transparent);
|
|
4340
|
+
}
|
|
4341
|
+
}
|
|
4342
|
+
|
|
4285
4343
|
.es\:outline-hidden {
|
|
4286
4344
|
--tw-outline-style: none;
|
|
4287
4345
|
outline-style: none;
|
|
@@ -4807,6 +4865,10 @@
|
|
|
4807
4865
|
opacity: 0;
|
|
4808
4866
|
}
|
|
4809
4867
|
|
|
4868
|
+
.es\:peer-has-dragging\:hidden:is(:where(.es\:peer):has([data-dragging]) ~ *) {
|
|
4869
|
+
display: none;
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4810
4872
|
.es\:selection\:bg-accent-500\/20 ::selection {
|
|
4811
4873
|
background-color: var(--es-color-accent-500);
|
|
4812
4874
|
}
|
|
@@ -5342,6 +5404,42 @@
|
|
|
5342
5404
|
}
|
|
5343
5405
|
}
|
|
5344
5406
|
|
|
5407
|
+
.es\:not-selected\:hover\:bg-secondary-100:not([data-selected]):where([data-rac])[data-hovered] {
|
|
5408
|
+
background-color: var(--es-color-secondary-100);
|
|
5409
|
+
}
|
|
5410
|
+
|
|
5411
|
+
@media (hover: hover) {
|
|
5412
|
+
.es\:not-selected\:hover\:bg-secondary-100:not([data-selected]):where(:not([data-rac])):hover {
|
|
5413
|
+
background-color: var(--es-color-secondary-100);
|
|
5414
|
+
}
|
|
5415
|
+
}
|
|
5416
|
+
|
|
5417
|
+
.es\:not-selected\:hover\:outline-hidden:not([data-selected]):where([data-rac])[data-hovered] {
|
|
5418
|
+
--tw-outline-style: none;
|
|
5419
|
+
outline-style: none;
|
|
5420
|
+
}
|
|
5421
|
+
|
|
5422
|
+
@media (forced-colors: active) {
|
|
5423
|
+
.es\:not-selected\:hover\:outline-hidden:not([data-selected]):where([data-rac])[data-hovered] {
|
|
5424
|
+
outline-offset: 2px;
|
|
5425
|
+
outline: 2px solid #0000;
|
|
5426
|
+
}
|
|
5427
|
+
}
|
|
5428
|
+
|
|
5429
|
+
@media (hover: hover) {
|
|
5430
|
+
.es\:not-selected\:hover\:outline-hidden:not([data-selected]):where(:not([data-rac])):hover {
|
|
5431
|
+
--tw-outline-style: none;
|
|
5432
|
+
outline-style: none;
|
|
5433
|
+
}
|
|
5434
|
+
|
|
5435
|
+
@media (forced-colors: active) {
|
|
5436
|
+
.es\:not-selected\:hover\:outline-hidden:not([data-selected]):where(:not([data-rac])):hover {
|
|
5437
|
+
outline-offset: 2px;
|
|
5438
|
+
outline: 2px solid #0000;
|
|
5439
|
+
}
|
|
5440
|
+
}
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5345
5443
|
.es\:not-disabled\:not-selected\:hover\:bg-secondary-100:not(:is(:disabled, [data-rac][data-disabled])):not([data-selected]):where([data-rac])[data-hovered] {
|
|
5346
5444
|
background-color: var(--es-color-secondary-100);
|
|
5347
5445
|
}
|
|
@@ -5472,6 +5570,30 @@
|
|
|
5472
5570
|
}
|
|
5473
5571
|
}
|
|
5474
5572
|
|
|
5573
|
+
.es\:focus\:outline-hidden:where([data-rac])[data-focused] {
|
|
5574
|
+
--tw-outline-style: none;
|
|
5575
|
+
outline-style: none;
|
|
5576
|
+
}
|
|
5577
|
+
|
|
5578
|
+
@media (forced-colors: active) {
|
|
5579
|
+
.es\:focus\:outline-hidden:where([data-rac])[data-focused] {
|
|
5580
|
+
outline-offset: 2px;
|
|
5581
|
+
outline: 2px solid #0000;
|
|
5582
|
+
}
|
|
5583
|
+
}
|
|
5584
|
+
|
|
5585
|
+
.es\:focus\:outline-hidden:where(:not([data-rac])):focus {
|
|
5586
|
+
--tw-outline-style: none;
|
|
5587
|
+
outline-style: none;
|
|
5588
|
+
}
|
|
5589
|
+
|
|
5590
|
+
@media (forced-colors: active) {
|
|
5591
|
+
.es\:focus\:outline-hidden:where(:not([data-rac])):focus {
|
|
5592
|
+
outline-offset: 2px;
|
|
5593
|
+
outline: 2px solid #0000;
|
|
5594
|
+
}
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5475
5597
|
.es\:not-readonly\:focus\:shadow-md:not(:where([data-readonly], [readonly])):where([data-rac])[data-focused], .es\:not-readonly\:focus\:shadow-md:not(:where([data-readonly], [readonly])):where(:not([data-rac])):focus {
|
|
5476
5598
|
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
|
|
5477
5599
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -5576,6 +5698,10 @@
|
|
|
5576
5698
|
--tw-inset-ring-color: var(--es-color-accent-100);
|
|
5577
5699
|
}
|
|
5578
5700
|
|
|
5701
|
+
.es\:focus-visible\:inset-ring-accent-500:is(:focus-visible:not(:focus), [data-rac][data-focus-visible]) {
|
|
5702
|
+
--tw-inset-ring-color: var(--es-color-accent-500);
|
|
5703
|
+
}
|
|
5704
|
+
|
|
5579
5705
|
.es\:focus-visible\:inset-ring-accent-600:is(:focus-visible:not(:focus), [data-rac][data-focus-visible]) {
|
|
5580
5706
|
--tw-inset-ring-color: var(--es-color-accent-600);
|
|
5581
5707
|
}
|
|
@@ -5606,6 +5732,22 @@
|
|
|
5606
5732
|
}
|
|
5607
5733
|
}
|
|
5608
5734
|
|
|
5735
|
+
.es\:not-selected\:focus-visible\:bg-secondary-100:not([data-selected]):is(:focus-visible:not(:focus), [data-rac][data-focus-visible]) {
|
|
5736
|
+
background-color: var(--es-color-secondary-100);
|
|
5737
|
+
}
|
|
5738
|
+
|
|
5739
|
+
.es\:not-selected\:focus-visible\:outline-hidden:not([data-selected]):is(:focus-visible:not(:focus), [data-rac][data-focus-visible]) {
|
|
5740
|
+
--tw-outline-style: none;
|
|
5741
|
+
outline-style: none;
|
|
5742
|
+
}
|
|
5743
|
+
|
|
5744
|
+
@media (forced-colors: active) {
|
|
5745
|
+
.es\:not-selected\:focus-visible\:outline-hidden:not([data-selected]):is(:focus-visible:not(:focus), [data-rac][data-focus-visible]) {
|
|
5746
|
+
outline-offset: 2px;
|
|
5747
|
+
outline: 2px solid #0000;
|
|
5748
|
+
}
|
|
5749
|
+
}
|
|
5750
|
+
|
|
5609
5751
|
.es\:active\:border-accent-500\/30:active {
|
|
5610
5752
|
border-color: var(--es-color-accent-500);
|
|
5611
5753
|
}
|
|
@@ -5875,6 +6017,21 @@
|
|
|
5875
6017
|
}
|
|
5876
6018
|
}
|
|
5877
6019
|
|
|
6020
|
+
.es\:has-dragging\:inset-ring-1:has([data-dragging]) {
|
|
6021
|
+
--tw-inset-ring-shadow: inset 0 0 0 1px var(--tw-inset-ring-color, currentcolor);
|
|
6022
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6023
|
+
}
|
|
6024
|
+
|
|
6025
|
+
.es\:has-dragging\:inset-ring-accent-500\/10:has([data-dragging]) {
|
|
6026
|
+
--tw-inset-ring-color: var(--es-color-accent-500);
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6029
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6030
|
+
.es\:has-dragging\:inset-ring-accent-500\/10:has([data-dragging]) {
|
|
6031
|
+
--tw-inset-ring-color: color-mix(in oklab, var(--es-color-accent-500) 10%, transparent);
|
|
6032
|
+
}
|
|
6033
|
+
}
|
|
6034
|
+
|
|
5878
6035
|
.es\:has-icon\:pl-1:has(* > svg) {
|
|
5879
6036
|
padding-left: calc(var(--es-spacing) * 1);
|
|
5880
6037
|
}
|
|
@@ -6225,6 +6382,16 @@
|
|
|
6225
6382
|
}
|
|
6226
6383
|
}
|
|
6227
6384
|
|
|
6385
|
+
.es\:selected\:bg-accent-600\/15[data-selected] {
|
|
6386
|
+
background-color: var(--es-color-accent-600);
|
|
6387
|
+
}
|
|
6388
|
+
|
|
6389
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6390
|
+
.es\:selected\:bg-accent-600\/15[data-selected] {
|
|
6391
|
+
background-color: color-mix(in oklab, var(--es-color-accent-600) 15%, transparent);
|
|
6392
|
+
}
|
|
6393
|
+
}
|
|
6394
|
+
|
|
6228
6395
|
.es\:selected\:bg-gradient-to-br[data-selected] {
|
|
6229
6396
|
--tw-gradient-position: to bottom right in oklab;
|
|
6230
6397
|
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
@@ -6327,6 +6494,21 @@
|
|
|
6327
6494
|
}
|
|
6328
6495
|
}
|
|
6329
6496
|
|
|
6497
|
+
.es\:selected\:focus-visible\:inset-ring[data-selected]:is(:focus-visible:not(:focus), [data-rac][data-focus-visible]) {
|
|
6498
|
+
--tw-inset-ring-shadow: inset 0 0 0 1px var(--tw-inset-ring-color, currentcolor);
|
|
6499
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6500
|
+
}
|
|
6501
|
+
|
|
6502
|
+
.es\:selected\:focus-visible\:inset-ring-accent-600\/30[data-selected]:is(:focus-visible:not(:focus), [data-rac][data-focus-visible]) {
|
|
6503
|
+
--tw-inset-ring-color: var(--es-color-accent-600);
|
|
6504
|
+
}
|
|
6505
|
+
|
|
6506
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6507
|
+
.es\:selected\:focus-visible\:inset-ring-accent-600\/30[data-selected]:is(:focus-visible:not(:focus), [data-rac][data-focus-visible]) {
|
|
6508
|
+
--tw-inset-ring-color: color-mix(in oklab, var(--es-color-accent-600) 30%, transparent);
|
|
6509
|
+
}
|
|
6510
|
+
}
|
|
6511
|
+
|
|
6330
6512
|
.es\:dragging\:scale-110\![data-dragging] {
|
|
6331
6513
|
--tw-scale-x: 110% !important;
|
|
6332
6514
|
--tw-scale-y: 110% !important;
|
|
@@ -6334,6 +6516,43 @@
|
|
|
6334
6516
|
scale: var(--tw-scale-x) var(--tw-scale-y) !important;
|
|
6335
6517
|
}
|
|
6336
6518
|
|
|
6519
|
+
.es\:dragging\:cursor-grabbing[data-dragging] {
|
|
6520
|
+
cursor: grabbing;
|
|
6521
|
+
}
|
|
6522
|
+
|
|
6523
|
+
.es\:dragging\:bg-transparent[data-dragging] {
|
|
6524
|
+
background-color: #0000;
|
|
6525
|
+
}
|
|
6526
|
+
|
|
6527
|
+
.es\:dragging\:text-accent-600\/40[data-dragging] {
|
|
6528
|
+
color: var(--es-color-accent-600);
|
|
6529
|
+
}
|
|
6530
|
+
|
|
6531
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6532
|
+
.es\:dragging\:text-accent-600\/40[data-dragging] {
|
|
6533
|
+
color: color-mix(in oklab, var(--es-color-accent-600) 40%, transparent);
|
|
6534
|
+
}
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
.es\:dragging\:inset-ring-accent-600\/20[data-dragging] {
|
|
6538
|
+
--tw-inset-ring-color: var(--es-color-accent-600);
|
|
6539
|
+
}
|
|
6540
|
+
|
|
6541
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6542
|
+
.es\:dragging\:inset-ring-accent-600\/20[data-dragging] {
|
|
6543
|
+
--tw-inset-ring-color: color-mix(in oklab, var(--es-color-accent-600) 20%, transparent);
|
|
6544
|
+
}
|
|
6545
|
+
}
|
|
6546
|
+
|
|
6547
|
+
.es\:drop-target\:bg-accent-600[data-drop-target] {
|
|
6548
|
+
background-color: var(--es-color-accent-600);
|
|
6549
|
+
}
|
|
6550
|
+
|
|
6551
|
+
.es\:any-focus\:inset-ring-0:is(:focus-visible, [data-rac][data-focus-visible], :focus, [data-rac][data-focused]) {
|
|
6552
|
+
--tw-inset-ring-shadow: inset 0 0 0 0px var(--tw-inset-ring-color, currentcolor);
|
|
6553
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6554
|
+
}
|
|
6555
|
+
|
|
6337
6556
|
.es\:any-focus\:outline-hidden:is(:focus-visible, [data-rac][data-focus-visible], :focus, [data-rac][data-focused]) {
|
|
6338
6557
|
--tw-outline-style: none;
|
|
6339
6558
|
outline-style: none;
|
|
@@ -6423,6 +6642,11 @@
|
|
|
6423
6642
|
height: .8rem;
|
|
6424
6643
|
}
|
|
6425
6644
|
|
|
6645
|
+
.es\:icon\:size-\[1em\] > svg {
|
|
6646
|
+
width: 1em;
|
|
6647
|
+
height: 1em;
|
|
6648
|
+
}
|
|
6649
|
+
|
|
6426
6650
|
.es\:icon\:size-full > svg {
|
|
6427
6651
|
width: 100%;
|
|
6428
6652
|
height: 100%;
|
|
@@ -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-AxKZjtFm.js";
|
|
3
3
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415,
|
|
4
|
-
import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-
|
|
5
|
-
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-
|
|
2
|
+
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, b as $0393f8ab869a0f1a$export$c17561cb55d4db30 } from "../../Button-RTwMSBs-.js";
|
|
3
|
+
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, h as $64fa3d84918910a7$export$4d86445c2cf5e3, b as $3ef42575df84b30b$export$9d1611c77c2fe928, l as $df56164dff5785e2$export$4338b53315abf666 } from "../../utils-cvK1vxO7.js";
|
|
4
|
+
import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-BnwM-e8R.js";
|
|
5
|
+
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-D2C6R0DK.js";
|
|
6
6
|
import React__default, { useState, useRef, forwardRef, createContext, cloneElement } from "react";
|
|
7
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-
|
|
7
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-DMOmz986.js";
|
|
8
8
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
9
|
-
import { c as cva } from "../../index-
|
|
9
|
+
import { c as cva } from "../../index-Dq3gT5pW.js";
|
|
10
10
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
11
|
-
import { _ as __ } from "../../default-i18n-
|
|
11
|
+
import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
|
|
12
12
|
import { icons } from "../../icons/icons.js";
|
|
13
13
|
import "../../react-jsx-parser.min-LF707GK8.js";
|
|
14
14
|
function $2680b1829e803644$export$fa142eb1681c520(props, ref) {
|
|
@@ -78,11 +78,12 @@ const $13c3c67164f4d5be$export$4c260019440d418f = /* @__PURE__ */ forwardRef(fun
|
|
|
78
78
|
},
|
|
79
79
|
defaultClassName: "react-aria-Toolbar"
|
|
80
80
|
});
|
|
81
|
-
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props
|
|
81
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
82
|
+
global: true
|
|
83
|
+
});
|
|
82
84
|
delete DOMProps.id;
|
|
83
85
|
return /* @__PURE__ */ React__default.createElement("div", {
|
|
84
|
-
...$3ef42575df84b30b$export$9d1611c77c2fe928(
|
|
85
|
-
...renderProps,
|
|
86
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, toolbarProps),
|
|
86
87
|
ref,
|
|
87
88
|
slot: props.slot || void 0,
|
|
88
89
|
"data-orientation": props.orientation || "horizontal"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { a as $4e85f108e88277b8$export$b085522c77523c51 } from "../../RSPContexts-2lR5GG9p.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e93e671b31057976$export$b8473d3665f3a75a, c as $e5be200c675c3b3a$export$a763b9476acd3eb, d as $e5be200c675c3b3a$export$dad6ae84456c676a, $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-
|
|
5
|
-
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-
|
|
3
|
+
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, g as $64fa3d84918910a7$export$ef03459518577ad4, h as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-cvK1vxO7.js";
|
|
4
|
+
import { a as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e93e671b31057976$export$b8473d3665f3a75a, c as $e5be200c675c3b3a$export$a763b9476acd3eb, d as $e5be200c675c3b3a$export$dad6ae84456c676a, $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-BeMxJA29.js";
|
|
5
|
+
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-D2C6R0DK.js";
|
|
6
6
|
import React__default, { useEffect, useRef, forwardRef, useContext, createContext, useMemo } from "react";
|
|
7
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-
|
|
8
|
-
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-
|
|
9
|
-
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-
|
|
13
|
-
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
7
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-BnrkvZ7e.js";
|
|
8
|
+
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-OaIBlwRu.js";
|
|
9
|
+
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-BF8hvidm.js";
|
|
10
|
+
import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-D5BfOWag.js";
|
|
11
|
+
import { e as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-44IApaa2.js";
|
|
12
|
+
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-D9s7FTtC.js";
|
|
13
|
+
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-DWVaNd2E.js";
|
|
14
14
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
15
15
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
16
16
|
import { icons } from "../../icons/icons.js";
|
|
@@ -60,13 +60,14 @@ function $fba3e38d5ca8983f$export$353b32fc6898d37d(props, state, inputRef) {
|
|
|
60
60
|
const toggleState = $3017fa7ffdddec74$export$8042c6c013fd5226({
|
|
61
61
|
isReadOnly: props.isReadOnly || state.isReadOnly,
|
|
62
62
|
isSelected: state.isSelected(props.value),
|
|
63
|
+
defaultSelected: state.defaultValue.includes(props.value),
|
|
63
64
|
onChange(isSelected) {
|
|
64
65
|
if (isSelected) state.addValue(props.value);
|
|
65
66
|
else state.removeValue(props.value);
|
|
66
67
|
if (props.onChange) props.onChange(isSelected);
|
|
67
68
|
}
|
|
68
69
|
});
|
|
69
|
-
let { name, descriptionId, errorMessageId, validationBehavior } = $1ae600c947479353$export$ec98120685d4f57d.get(state);
|
|
70
|
+
let { name, form, descriptionId, errorMessageId, validationBehavior } = $1ae600c947479353$export$ec98120685d4f57d.get(state);
|
|
70
71
|
var _props_validationBehavior;
|
|
71
72
|
validationBehavior = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : validationBehavior;
|
|
72
73
|
let { realtimeValidation } = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
@@ -89,6 +90,7 @@ function $fba3e38d5ca8983f$export$353b32fc6898d37d(props, state, inputRef) {
|
|
|
89
90
|
isReadOnly: props.isReadOnly || state.isReadOnly,
|
|
90
91
|
isDisabled: props.isDisabled || state.isDisabled,
|
|
91
92
|
name: props.name || name,
|
|
93
|
+
form: props.form || form,
|
|
92
94
|
isRequired: (_props_isRequired = props.isRequired) !== null && _props_isRequired !== void 0 ? _props_isRequired : state.isRequired,
|
|
93
95
|
validationBehavior,
|
|
94
96
|
[$e5be200c675c3b3a$export$a763b9476acd3eb]: {
|
|
@@ -161,8 +163,11 @@ const $bc237834342dbd75$export$48513f6b9f8ce62d = /* @__PURE__ */ forwardRef(fun
|
|
|
161
163
|
isRequired: props.isRequired || false
|
|
162
164
|
}
|
|
163
165
|
});
|
|
164
|
-
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props
|
|
166
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
167
|
+
global: true
|
|
168
|
+
});
|
|
165
169
|
delete DOMProps.id;
|
|
170
|
+
delete DOMProps.onClick;
|
|
166
171
|
return /* @__PURE__ */ React__default.createElement("label", {
|
|
167
172
|
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, labelProps, hoverProps, renderProps),
|
|
168
173
|
ref,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { _ as __ } from "../../default-i18n-
|
|
2
|
+
import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
|
|
3
3
|
import { Menu, MenuItem, MenuSeparator, MenuSection } from "../menu/menu.js";
|
|
4
4
|
import { ColorSwatch } from "./color-swatch.js";
|
|
5
5
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-
|
|
2
|
+
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-xVS3rMYS.js";
|
|
3
3
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
4
|
-
import { _ as __ } from "../../default-i18n-
|
|
5
|
-
import { $ as $799cddbef784668f$export$6e865ea70d7724f } from "../../Color-
|
|
4
|
+
import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
|
|
5
|
+
import { $ as $799cddbef784668f$export$6e865ea70d7724f } from "../../Color-WxFE7lQB.js";
|
|
6
6
|
/**
|
|
7
7
|
* A simple color/gradient swatch.
|
|
8
8
|
*
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { s as sprintf } from "../../sprintf-DmNrJSYG.js";
|
|
3
|
+
import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
|
|
3
4
|
import { useMemo, useState } from "react";
|
|
4
5
|
import { ButtonGroup, Button } from "../button/button.js";
|
|
5
6
|
import { icons } from "../../icons/icons.js";
|
|
6
7
|
import { SolidColorPicker } from "./solid-color-picker.js";
|
|
7
8
|
import { Slider } from "../slider/slider.js";
|
|
8
9
|
import { NumberPicker } from "../number-picker/number-picker.js";
|
|
9
|
-
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-
|
|
10
|
+
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-xVS3rMYS.js";
|
|
10
11
|
import { Menu, MenuItem } from "../menu/menu.js";
|
|
11
12
|
import { MatrixAlign } from "../matrix-align/matrix-align.js";
|
|
12
13
|
import { Spacer } from "../spacer/spacer.js";
|