@eightshift/ui-components 6.0.3 → 6.0.5
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/assets/style-admin.css +116 -37
- package/dist/assets/style-editor.css +80 -37
- package/dist/assets/style.css +80 -37
- package/dist/{color-swatch-CFIuSPcO.js → color-swatch-BEBLRxTy.js} +1 -1
- package/dist/components/animated-visibility/animated-visibility.js +1 -1
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/base-control/container.js +1 -1
- package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/color-pickers/color-picker.js +2 -2
- package/dist/components/color-pickers/color-swatch.js +2 -2
- package/dist/components/color-pickers/gradient-editor.js +4 -4
- package/dist/components/color-pickers/solid-color-picker.js +4 -3
- package/dist/components/component-toggle/component-toggle.js +1 -1
- package/dist/components/container-panel/container-panel.js +1 -1
- package/dist/components/draggable/draggable-handle.js +2 -2
- package/dist/components/draggable/draggable.js +2 -2
- package/dist/components/draggable-list/draggable-list-item.js +2 -2
- package/dist/components/expandable/expandable.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input-field/input-field.js +3 -3
- package/dist/components/layout/hstack.js +1 -1
- package/dist/components/layout/vstack.js +1 -1
- package/dist/components/link-input/link-input.js +13 -8
- package/dist/components/matrix-align/matrix-align.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/notice/notice.js +1 -1
- package/dist/components/number-picker/number-picker.js +2 -2
- package/dist/components/options-panel/options-panel.js +1 -1
- package/dist/components/placeholders/file-picker-shell.js +12 -9
- package/dist/components/placeholders/file-placeholder.js +1 -2
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/repeater/repeater-item.js +1 -1
- package/dist/components/repeater/repeater.js +2 -2
- package/dist/components/responsive/mini-responsive.js +1 -1
- package/dist/components/responsive/responsive-legacy.js +1 -1
- package/dist/components/responsive/responsive.js +1 -1
- package/dist/components/rich-label/rich-label.js +1 -1
- package/dist/components/select/async-multi-select.js +22 -14
- package/dist/components/select/async-select.js +22 -14
- package/dist/components/select/multi-select.js +23 -15
- package/dist/components/select/shared.js +2 -2
- package/dist/components/select/single-select.js +23 -15
- package/dist/components/slider/column-config-slider.js +8 -5
- package/dist/components/smart-image/smart-image.js +30 -4
- package/dist/components/spacer/spacer.js +1 -1
- package/dist/components/tabs/tabs.js +2 -2
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +0 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{general-lYMgCPqJ.js → general-ChNQK6O9.js} +4 -4
- package/dist/icons/spinner.js +1 -1
- package/dist/index.js +1 -1
- package/dist/utilities/general.js +5 -5
- package/dist/utilities/hash.js +9 -0
- package/dist/utilities/index.js +14 -8
- package/dist/workers/image-analysis.worker.js +1 -1
- package/package.json +7 -7
- package/dist/lite-DVmmD_-j.js +0 -7
- package/dist/{shared-DwjRce5e.js → shared-DOxXagm0.js} +1 -1
package/dist/assets/style.css
CHANGED
|
@@ -2244,8 +2244,8 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
2244
2244
|
margin-right: calc(var(--es-spacing) * 1.25);
|
|
2245
2245
|
}
|
|
2246
2246
|
|
|
2247
|
-
.es\:mr-
|
|
2248
|
-
margin-right: calc(var(--es-spacing) *
|
|
2247
|
+
.es\:mr-1\.75 {
|
|
2248
|
+
margin-right: calc(var(--es-spacing) * 1.75);
|
|
2249
2249
|
}
|
|
2250
2250
|
|
|
2251
2251
|
.es\:mr-auto {
|
|
@@ -2288,8 +2288,8 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
2288
2288
|
margin-left: calc(var(--es-spacing) * 1.25);
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
2291
|
-
.es\:ml-
|
|
2292
|
-
margin-left: calc(var(--es-spacing) *
|
|
2291
|
+
.es\:ml-1\.75 {
|
|
2292
|
+
margin-left: calc(var(--es-spacing) * 1.75);
|
|
2293
2293
|
}
|
|
2294
2294
|
|
|
2295
2295
|
.es\:ml-auto {
|
|
@@ -2874,11 +2874,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
2874
2874
|
transform-origin: top;
|
|
2875
2875
|
}
|
|
2876
2876
|
|
|
2877
|
-
.es\:-translate-x-0\.25 {
|
|
2878
|
-
--tw-translate-x: calc(var(--es-spacing) * -.25);
|
|
2879
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2880
|
-
}
|
|
2881
|
-
|
|
2882
2877
|
.es\:-translate-x-1 {
|
|
2883
2878
|
--tw-translate-x: calc(var(--es-spacing) * -1);
|
|
2884
2879
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -2899,13 +2894,13 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
2899
2894
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2900
2895
|
}
|
|
2901
2896
|
|
|
2902
|
-
.es
|
|
2903
|
-
--tw-translate-x:
|
|
2897
|
+
.es\:-translate-x-px {
|
|
2898
|
+
--tw-translate-x: -1px;
|
|
2904
2899
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2905
2900
|
}
|
|
2906
2901
|
|
|
2907
|
-
.es\:translate-x-0
|
|
2908
|
-
--tw-translate-x: calc(var(--es-spacing) *
|
|
2902
|
+
.es\:translate-x-0 {
|
|
2903
|
+
--tw-translate-x: calc(var(--es-spacing) * 0);
|
|
2909
2904
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2910
2905
|
}
|
|
2911
2906
|
|
|
@@ -2934,6 +2929,11 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
2934
2929
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2935
2930
|
}
|
|
2936
2931
|
|
|
2932
|
+
.es\:translate-x-px {
|
|
2933
|
+
--tw-translate-x: 1px;
|
|
2934
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
2937
|
.es\:-translate-y-1\/2 {
|
|
2938
2938
|
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
2939
2939
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -2949,6 +2949,11 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
2949
2949
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2950
2950
|
}
|
|
2951
2951
|
|
|
2952
|
+
.es\:-translate-y-4 {
|
|
2953
|
+
--tw-translate-y: calc(var(--es-spacing) * -4);
|
|
2954
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2952
2957
|
.es\:translate-y-0 {
|
|
2953
2958
|
--tw-translate-y: calc(var(--es-spacing) * 0);
|
|
2954
2959
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -3219,10 +3224,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3219
3224
|
cursor: not-allowed;
|
|
3220
3225
|
}
|
|
3221
3226
|
|
|
3222
|
-
.es\:cursor-pointer {
|
|
3223
|
-
cursor: pointer;
|
|
3224
|
-
}
|
|
3225
|
-
|
|
3226
3227
|
.es\:cursor-wait {
|
|
3227
3228
|
cursor: wait;
|
|
3228
3229
|
}
|
|
@@ -3555,6 +3556,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3555
3556
|
justify-self: flex-end;
|
|
3556
3557
|
}
|
|
3557
3558
|
|
|
3559
|
+
.es\:justify-self-start {
|
|
3560
|
+
justify-self: flex-start;
|
|
3561
|
+
}
|
|
3562
|
+
|
|
3558
3563
|
.es\:overflow-clip {
|
|
3559
3564
|
overflow: clip;
|
|
3560
3565
|
}
|
|
@@ -6345,11 +6350,21 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
6345
6350
|
line-height: var(--tw-leading, var(--es-text-12--line-height));
|
|
6346
6351
|
}
|
|
6347
6352
|
|
|
6353
|
+
.es\:text-12\! {
|
|
6354
|
+
font-size: var(--es-text-12) !important;
|
|
6355
|
+
line-height: var(--tw-leading, var(--es-text-12--line-height)) !important;
|
|
6356
|
+
}
|
|
6357
|
+
|
|
6348
6358
|
.es\:text-13 {
|
|
6349
6359
|
font-size: var(--es-text-13);
|
|
6350
6360
|
line-height: var(--tw-leading, var(--es-text-13--line-height));
|
|
6351
6361
|
}
|
|
6352
6362
|
|
|
6363
|
+
.es\:text-13\! {
|
|
6364
|
+
font-size: var(--es-text-13) !important;
|
|
6365
|
+
line-height: var(--tw-leading, var(--es-text-13--line-height)) !important;
|
|
6366
|
+
}
|
|
6367
|
+
|
|
6353
6368
|
.es\:text-14 {
|
|
6354
6369
|
font-size: var(--es-text-14);
|
|
6355
6370
|
line-height: var(--tw-leading, var(--es-text-14--line-height));
|
|
@@ -6803,6 +6818,11 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
6803
6818
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6804
6819
|
}
|
|
6805
6820
|
|
|
6821
|
+
.es\:shadow-xs\! {
|
|
6822
|
+
--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, #0000000d) !important;
|
|
6823
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
6824
|
+
}
|
|
6825
|
+
|
|
6806
6826
|
.es\:ring, .es\:ring-1 {
|
|
6807
6827
|
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
6808
6828
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -6828,6 +6848,11 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
6828
6848
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6829
6849
|
}
|
|
6830
6850
|
|
|
6851
|
+
.es\:inset-ring\! {
|
|
6852
|
+
--tw-inset-ring-shadow: inset 0 0 0 1px var(--tw-inset-ring-color, currentcolor) !important;
|
|
6853
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
6854
|
+
}
|
|
6855
|
+
|
|
6831
6856
|
.es\:shadow-accent-600\/25 {
|
|
6832
6857
|
--tw-shadow-color: var(--es-color-accent-600);
|
|
6833
6858
|
}
|
|
@@ -7708,6 +7733,18 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
7708
7733
|
}
|
|
7709
7734
|
}
|
|
7710
7735
|
|
|
7736
|
+
.es\:outline-hidden\! {
|
|
7737
|
+
--tw-outline-style: none !important;
|
|
7738
|
+
outline-style: none !important;
|
|
7739
|
+
}
|
|
7740
|
+
|
|
7741
|
+
@media (forced-colors: active) {
|
|
7742
|
+
.es\:outline-hidden\! {
|
|
7743
|
+
outline-offset: 2px !important;
|
|
7744
|
+
outline: 2px solid #0000 !important;
|
|
7745
|
+
}
|
|
7746
|
+
}
|
|
7747
|
+
|
|
7711
7748
|
.es\:outline {
|
|
7712
7749
|
outline-style: var(--tw-outline-style);
|
|
7713
7750
|
outline-width: 1px;
|
|
@@ -8281,10 +8318,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
8281
8318
|
border-bottom-left-radius: var(--es-radius-md);
|
|
8282
8319
|
}
|
|
8283
8320
|
|
|
8284
|
-
.es\:not-disabled\:cursor-pointer:not(:is(:disabled, [data-rac][data-disabled])) {
|
|
8285
|
-
cursor: pointer;
|
|
8286
|
-
}
|
|
8287
|
-
|
|
8288
8321
|
.es\:not-has-any-icon\:aspect-5\/3:not(:has(* svg)) {
|
|
8289
8322
|
aspect-ratio: 5 / 3;
|
|
8290
8323
|
}
|
|
@@ -8850,11 +8883,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
8850
8883
|
border-bottom-left-radius: var(--es-radius-2xl);
|
|
8851
8884
|
}
|
|
8852
8885
|
|
|
8853
|
-
.es\:first\:rounded-l-xl:first-child {
|
|
8854
|
-
border-top-left-radius: var(--es-radius-xl);
|
|
8855
|
-
border-bottom-left-radius: var(--es-radius-xl);
|
|
8856
|
-
}
|
|
8857
|
-
|
|
8858
8886
|
.es\:first\:pt-2:first-child {
|
|
8859
8887
|
padding-top: calc(var(--es-spacing) * 2);
|
|
8860
8888
|
}
|
|
@@ -8868,11 +8896,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
8868
8896
|
border-bottom-right-radius: var(--es-radius-2xl);
|
|
8869
8897
|
}
|
|
8870
8898
|
|
|
8871
|
-
.es\:last\:rounded-r-xl:last-child {
|
|
8872
|
-
border-top-right-radius: var(--es-radius-xl);
|
|
8873
|
-
border-bottom-right-radius: var(--es-radius-xl);
|
|
8874
|
-
}
|
|
8875
|
-
|
|
8876
8899
|
.es\:last\:rounded-b-2xl:last-child {
|
|
8877
8900
|
border-bottom-right-radius: var(--es-radius-2xl);
|
|
8878
8901
|
border-bottom-left-radius: var(--es-radius-2xl);
|
|
@@ -8950,6 +8973,16 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
8950
8973
|
}
|
|
8951
8974
|
}
|
|
8952
8975
|
|
|
8976
|
+
.es\:hover\:rounded-18:where([data-rac])[data-hovered] {
|
|
8977
|
+
border-radius: var(--es-radius-18);
|
|
8978
|
+
}
|
|
8979
|
+
|
|
8980
|
+
@media (hover: hover) {
|
|
8981
|
+
.es\:hover\:rounded-18:where(:not([data-rac])):hover {
|
|
8982
|
+
border-radius: var(--es-radius-18);
|
|
8983
|
+
}
|
|
8984
|
+
}
|
|
8985
|
+
|
|
8953
8986
|
.es\:hover\:rounded-lg:where([data-rac])[data-hovered] {
|
|
8954
8987
|
border-radius: var(--es-radius-lg);
|
|
8955
8988
|
}
|
|
@@ -11677,9 +11710,14 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
11677
11710
|
border-bottom-left-radius: var(--es-radius-20) !important;
|
|
11678
11711
|
}
|
|
11679
11712
|
|
|
11680
|
-
.es\:before-current\:rounded-
|
|
11681
|
-
border-top-
|
|
11682
|
-
border-bottom-
|
|
11713
|
+
.es\:before-current\:rounded-r-2xl:has( + :where(:pressed, :active, [data-selected="true"], [data-focus-visible="true"], [data-hovered="true"], [aria-expanded="true"], [data-expanded="true"])) {
|
|
11714
|
+
border-top-right-radius: var(--es-radius-2xl);
|
|
11715
|
+
border-bottom-right-radius: var(--es-radius-2xl);
|
|
11716
|
+
}
|
|
11717
|
+
|
|
11718
|
+
.es\:before-current\:rounded-b-2xl:has( + :where(:pressed, :active, [data-selected="true"], [data-focus-visible="true"], [data-hovered="true"], [aria-expanded="true"], [data-expanded="true"])) {
|
|
11719
|
+
border-bottom-right-radius: var(--es-radius-2xl);
|
|
11720
|
+
border-bottom-left-radius: var(--es-radius-2xl);
|
|
11683
11721
|
}
|
|
11684
11722
|
|
|
11685
11723
|
.es\:before-current\:rounded-b-lg:has( + :where(:pressed, :active, [data-selected="true"], [data-focus-visible="true"], [data-hovered="true"], [aria-expanded="true"], [data-expanded="true"])) {
|
|
@@ -11692,6 +11730,11 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
11692
11730
|
border-bottom-left-radius: var(--es-radius-xl);
|
|
11693
11731
|
}
|
|
11694
11732
|
|
|
11733
|
+
:where(:pressed, :active, [data-selected="true"], [data-focus-visible="true"], [data-hovered="true"], [aria-expanded="true"], [data-expanded="true"]) + .es\:after-current\:rounded-t-2xl {
|
|
11734
|
+
border-top-left-radius: var(--es-radius-2xl);
|
|
11735
|
+
border-top-right-radius: var(--es-radius-2xl);
|
|
11736
|
+
}
|
|
11737
|
+
|
|
11695
11738
|
:where(:pressed, :active, [data-selected="true"], [data-focus-visible="true"], [data-hovered="true"], [aria-expanded="true"], [data-expanded="true"]) + .es\:after-current\:rounded-t-lg {
|
|
11696
11739
|
border-top-left-radius: var(--es-radius-lg);
|
|
11697
11740
|
border-top-right-radius: var(--es-radius-lg);
|
|
@@ -11702,9 +11745,9 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
11702
11745
|
border-top-right-radius: var(--es-radius-xl);
|
|
11703
11746
|
}
|
|
11704
11747
|
|
|
11705
|
-
:where(:pressed, :active, [data-selected="true"], [data-focus-visible="true"], [data-hovered="true"], [aria-expanded="true"], [data-expanded="true"]) + .es\:after-current\:rounded-
|
|
11706
|
-
border-top-
|
|
11707
|
-
border-bottom-
|
|
11748
|
+
:where(:pressed, :active, [data-selected="true"], [data-focus-visible="true"], [data-hovered="true"], [aria-expanded="true"], [data-expanded="true"]) + .es\:after-current\:rounded-l-2xl {
|
|
11749
|
+
border-top-left-radius: var(--es-radius-2xl);
|
|
11750
|
+
border-bottom-left-radius: var(--es-radius-2xl);
|
|
11708
11751
|
}
|
|
11709
11752
|
|
|
11710
11753
|
.es\:before-selected\:rounded-b-md:has( + :where([data-selected="true"])) {
|
|
@@ -6,7 +6,7 @@ import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4, b as $9446cca9a3875146$
|
|
|
6
6
|
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0, $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-NETP-8H8.js";
|
|
7
7
|
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
|
|
8
8
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BQvmiUqb.js";
|
|
9
|
-
import { c as clsx } from "./
|
|
9
|
+
import { c as clsx } from "./clsx-DgYk2OaC.js";
|
|
10
10
|
import { _ as __ } from "./default-i18n-CnQeC5Pl.js";
|
|
11
11
|
var $eccab2b0118aef08$exports = {};
|
|
12
12
|
$eccab2b0118aef08$exports = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { c as clsx } from "../../
|
|
2
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
/**
|
|
5
5
|
* Component that allows animating the visibility of its children.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-ztX6G1zR.js";
|
|
3
|
-
import { c as clsx } from "../../
|
|
3
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
/**
|
|
6
6
|
* Component that allows wrapping components with a common layout that includes a label and optional icon, subtitle, actions, and help text.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { c as cva } from "../../index-BHpUy2Ix.js";
|
|
3
|
-
import { c as clsx } from "../../
|
|
3
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
4
4
|
import { forwardRef, cloneElement } from "react";
|
|
5
5
|
/**
|
|
6
6
|
* @typedef {Object} ContainerProps
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment as Fragment$1 } from "react";
|
|
3
|
-
import { c as clsx } from "../../
|
|
3
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
4
4
|
import { upperFirst } from "../../utilities/es-dash.js";
|
|
5
5
|
/**
|
|
6
6
|
* Component that renders a preview of the breakpoints to help users visualize the options they set.
|
|
@@ -5,7 +5,7 @@ import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-
|
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-D2C6R0DK.js";
|
|
6
6
|
import $dbSRa$react__default, { useState, useRef, forwardRef, createContext } from "react";
|
|
7
7
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-BQvmiUqb.js";
|
|
8
|
-
import { c as clsx } from "../../
|
|
8
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
9
9
|
import { c as cva } from "../../index-BHpUy2Ix.js";
|
|
10
10
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
11
11
|
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
@@ -12,7 +12,7 @@ import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRi
|
|
|
12
12
|
import { w as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-Bycb7BsD.js";
|
|
13
13
|
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-DTUuKFiI.js";
|
|
14
14
|
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-D8a3eYb-.js";
|
|
15
|
-
import { c as clsx } from "../../
|
|
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";
|
|
18
18
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
3
3
|
import { Menu, MenuItem, MenuSeparator, MenuSection } from "../menu/menu.js";
|
|
4
|
-
import { C as ColorSwatch } from "../../color-swatch-
|
|
4
|
+
import { C as ColorSwatch } from "../../color-swatch-BEBLRxTy.js";
|
|
5
5
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
|
-
import { c as clsx } from "../../
|
|
7
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
8
8
|
import { icons } from "../../icons/icons.js";
|
|
9
9
|
/**
|
|
10
10
|
* Color picker.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { C } from "../../color-swatch-
|
|
3
|
-
import "../../
|
|
2
|
+
import { C } from "../../color-swatch-BEBLRxTy.js";
|
|
3
|
+
import "../../clsx-DgYk2OaC.js";
|
|
4
4
|
import "../../default-i18n-CnQeC5Pl.js";
|
|
5
5
|
export {
|
|
6
6
|
C as ColorSwatch
|
|
@@ -7,7 +7,7 @@ import { icons } from "../../icons/icons.js";
|
|
|
7
7
|
import { SolidColorPicker } from "./solid-color-picker.js";
|
|
8
8
|
import { Slider } from "../slider/slider.js";
|
|
9
9
|
import { NumberPicker } from "../number-picker/number-picker.js";
|
|
10
|
-
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../color-swatch-
|
|
10
|
+
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../color-swatch-BEBLRxTy.js";
|
|
11
11
|
import { Menu, MenuItem } from "../menu/menu.js";
|
|
12
12
|
import { MatrixAlign } from "../matrix-align/matrix-align.js";
|
|
13
13
|
import { Toggle } from "../toggle/toggle.js";
|
|
@@ -15,10 +15,10 @@ import { OptionSelect } from "../option-select/option-select.js";
|
|
|
15
15
|
import { DraggableList } from "../draggable-list/draggable-list.js";
|
|
16
16
|
import { DraggableListItem } from "../draggable-list/draggable-list-item.js";
|
|
17
17
|
import { TriggeredPopover } from "../popover/popover.js";
|
|
18
|
-
import { c as clsx } from "../../
|
|
18
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
19
19
|
import { ContainerGroup, Container } from "../base-control/container.js";
|
|
20
20
|
import { BaseControl } from "../base-control/base-control.js";
|
|
21
|
-
import { s as srgb, i as isColorDark } from "../../general-
|
|
21
|
+
import { s as srgb, i as isColorDark } from "../../general-ChNQK6O9.js";
|
|
22
22
|
function c(e, o = ",") {
|
|
23
23
|
let t = [], n = 0, i = 0;
|
|
24
24
|
o = new RegExp(o);
|
|
@@ -247,7 +247,7 @@ const GradientEditor = (props) => {
|
|
|
247
247
|
"button",
|
|
248
248
|
{
|
|
249
249
|
className: clsx(
|
|
250
|
-
"es:shadow-sm, es:mx-auto es:block es:h-40 es:
|
|
250
|
+
"es:shadow-sm, es:mx-auto es:block es:h-40 es:rounded-lg es:border es:border-secondary-300 es:transition-[width] es:duration-300 es:ease-spring-snappy",
|
|
251
251
|
"es:mb-2",
|
|
252
252
|
squarePreview ? "es:w-40" : "es:w-full"
|
|
253
253
|
),
|
|
@@ -5,7 +5,7 @@ import { a as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$
|
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-D2C6R0DK.js";
|
|
6
6
|
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec, a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-D3b7Kh4P.js";
|
|
7
7
|
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715, e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, z as $7215afc6de606d6b$export$de79e2c695e052f3, A as $46d819fcbaf35654$export$8f71654801c2f7cd, n as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, b as $c87311424ea30a05$export$fedb369cb70207f1, s as $c87311424ea30a05$export$a11b0059900ceec8, w as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-Bycb7BsD.js";
|
|
8
|
-
import { a as $799cddbef784668f$export$6e865ea70d7724f, b as $799cddbef784668f$export$4cde5df63f53f473, c as $3493a52097159720$exports, C as ColorSwatch } from "../../color-swatch-
|
|
8
|
+
import { a as $799cddbef784668f$export$6e865ea70d7724f, b as $799cddbef784668f$export$4cde5df63f53f473, c as $3493a52097159720$exports, C as ColorSwatch } from "../../color-swatch-BEBLRxTy.js";
|
|
9
9
|
import { a as $9446cca9a3875146$export$cb6e0bb50bc19463, $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "../../number-7sOvrqo0.js";
|
|
10
10
|
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-B49ptFDX.js";
|
|
11
11
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-WUv2PdFO.js";
|
|
@@ -19,7 +19,7 @@ import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "../../Label-D8a3
|
|
|
19
19
|
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-ztX6G1zR.js";
|
|
20
20
|
import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, b as $d2e8511e6f209edf$export$e908e06f4b8e3402, c as $7d0a636d7a4dcefd$export$2123ff2b87c81ca, d as $d841c8010a73d545$export$4f384c9210e583c3, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-D2fUHql3.js";
|
|
21
21
|
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "../../useFormValidation-DQeXkyLm.js";
|
|
22
|
-
import { c as clsx } from "../../
|
|
22
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
23
23
|
import { BaseControl } from "../base-control/base-control.js";
|
|
24
24
|
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
25
25
|
import { TriggeredPopover } from "../popover/popover.js";
|
|
@@ -1324,6 +1324,7 @@ const SolidColorPicker = (props) => {
|
|
|
1324
1324
|
};
|
|
1325
1325
|
const valueInputClassName = clsx(
|
|
1326
1326
|
"es:leading-none",
|
|
1327
|
+
"es:border-none!",
|
|
1327
1328
|
"es:max-w-14",
|
|
1328
1329
|
"es:min-h-9",
|
|
1329
1330
|
"es:px-3",
|
|
@@ -1331,7 +1332,7 @@ const SolidColorPicker = (props) => {
|
|
|
1331
1332
|
"es:rounded-lg es:focus:rounded-xl es:aria-[controls]:rounded-xl",
|
|
1332
1333
|
"es:transition-plus",
|
|
1333
1334
|
"es:any-focus:outline-hidden",
|
|
1334
|
-
"es:inset-ring",
|
|
1335
|
+
"es:inset-ring!",
|
|
1335
1336
|
"es:focus-visible:ring-2 es:focus-visible:ring-accent-500/30",
|
|
1336
1337
|
"es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-500",
|
|
1337
1338
|
"es:focus:placeholder:text-surface-400",
|
|
@@ -9,7 +9,7 @@ import { ButtonGroup } from "../button/button.js";
|
|
|
9
9
|
import { ToggleButton } from "../toggle-button/toggle-button.js";
|
|
10
10
|
import { BaseControl } from "../base-control/base-control.js";
|
|
11
11
|
import { Spacer } from "../spacer/spacer.js";
|
|
12
|
-
import { c as clsx } from "../../
|
|
12
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
13
13
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
14
14
|
/**
|
|
15
15
|
* A component that provides a nice way to toggle a component on and off, and display its content in an expandable panel.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { c as clsx } from "../../
|
|
3
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
4
4
|
import { Switch } from "../toggle/switch.js";
|
|
5
5
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
6
6
|
import { Button } from "../button/button.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as clsx } from "../../
|
|
2
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
3
3
|
import "../../default-i18n-CnQeC5Pl.js";
|
|
4
4
|
import { DraggableContext } from "./draggable-context.js";
|
|
5
5
|
import { useContext } from "react";
|
|
@@ -26,7 +26,7 @@ const DraggableHandle = (props) => {
|
|
|
26
26
|
"div",
|
|
27
27
|
{
|
|
28
28
|
className: clsx(
|
|
29
|
-
"es:flex es:h-5 es:w-4 es:
|
|
29
|
+
"es:flex es:h-5 es:w-4 es:items-center es:justify-center es:rounded-sm es:hover:rounded-md es:inset-ring es:inset-ring-surface-400/10 es:bg-surface-50 es:text-surface-500/80 es:transition-plus",
|
|
30
30
|
"es:shadow-2xs es:shadow-surface-900/2",
|
|
31
31
|
"es:icon:size-4 es:icon:shrink-0",
|
|
32
32
|
"es:active:inset-ring-accent-500/30 es:active:bg-surface-100 es:active:text-accent-500 es:active:rounded-xl",
|
|
@@ -7321,7 +7321,7 @@ const Draggable3 = (props) => {
|
|
|
7321
7321
|
children: items.map((item, index) => /* @__PURE__ */ jsx(
|
|
7322
7322
|
SortableItem,
|
|
7323
7323
|
{
|
|
7324
|
-
id: item
|
|
7324
|
+
id: item?.id ?? index,
|
|
7325
7325
|
index,
|
|
7326
7326
|
item,
|
|
7327
7327
|
disabled: noReorder,
|
|
@@ -7350,7 +7350,7 @@ const Draggable3 = (props) => {
|
|
|
7350
7350
|
item.id
|
|
7351
7351
|
)
|
|
7352
7352
|
},
|
|
7353
|
-
item
|
|
7353
|
+
item?.id ?? index
|
|
7354
7354
|
))
|
|
7355
7355
|
}
|
|
7356
7356
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as clsx } from "../../
|
|
2
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
3
3
|
import "../../default-i18n-CnQeC5Pl.js";
|
|
4
4
|
import { HStack } from "../layout/hstack.js";
|
|
5
5
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
@@ -72,7 +72,7 @@ const DraggableListItemHandle = (props) => {
|
|
|
72
72
|
return /* @__PURE__ */ jsx(
|
|
73
73
|
"button",
|
|
74
74
|
{
|
|
75
|
-
className: className ?? 'es:relative es:h-6 es:w-2 es:
|
|
75
|
+
className: className ?? 'es:relative es:h-6 es:w-2 es:items-center es:justify-center es:self-center es:rounded es:border es:border-secondary-300 es:bg-secondary-50 es:transition es:after:absolute es:after:inset-0 es:after:m-auto es:after:h-4 es:after:w-px es:after:bg-secondary-200 es:after:transition es:after:content-[""] es:hover:border-accent-500 es:hover:bg-accent-400 es:hover:after:bg-accent-500',
|
|
76
76
|
...rest,
|
|
77
77
|
"data-movable-handle": true,
|
|
78
78
|
tabIndex: -1,
|
|
@@ -4,7 +4,7 @@ import { RichLabel } from "../rich-label/rich-label.js";
|
|
|
4
4
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
5
5
|
import { Button } from "../button/button.js";
|
|
6
6
|
import { icons } from "../../icons/icons.js";
|
|
7
|
-
import { c as clsx } from "../../
|
|
7
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
8
8
|
import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "../../Button-BXjXzdW_.js";
|
|
9
9
|
import { b as $bdb11010cef70236$export$f680877a34711e37, m as $b5e257d569688ac6$export$535bd6ca7f90a273, j as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, g as $64fa3d84918910a7$export$4d86445c2cf5e3, h as $64fa3d84918910a7$export$2881499e37b75b9a, n as $64fa3d84918910a7$export$c62b8e45d58ddad9, a as $3ef42575df84b30b$export$9d1611c77c2fe928, l as $5dc95899b306f630$export$c9058316764c140e } from "../../utils-DGpXyJOJ.js";
|
|
10
10
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-D2C6R0DK.js";
|
package/dist/components/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Button, ButtonGroup } from "./button/button.js";
|
|
|
5
5
|
import { Checkbox } from "./checkbox/checkbox.js";
|
|
6
6
|
import { ComponentToggle } from "./component-toggle/component-toggle.js";
|
|
7
7
|
import { ContainerPanel } from "./container-panel/container-panel.js";
|
|
8
|
-
import { C } from "../color-swatch-
|
|
8
|
+
import { C } from "../color-swatch-BEBLRxTy.js";
|
|
9
9
|
import { ColorPicker } from "./color-pickers/color-picker.js";
|
|
10
10
|
import { ColumnConfigSlider, ColumnConfigSliderOutput } from "./slider/column-config-slider.js";
|
|
11
11
|
import { Container, ContainerGroup } from "./base-control/container.js";
|
|
@@ -204,7 +204,7 @@ const InputField = (props) => {
|
|
|
204
204
|
const inputClass = cva(
|
|
205
205
|
[
|
|
206
206
|
"es:leading-none",
|
|
207
|
-
"es:border-none",
|
|
207
|
+
"es:border-none!",
|
|
208
208
|
"es:w-fill",
|
|
209
209
|
"es:rounded-lg es:focus:rounded-xl",
|
|
210
210
|
"es:transition-plus",
|
|
@@ -224,9 +224,9 @@ const InputField = (props) => {
|
|
|
224
224
|
large: ["es:min-h-12", "es:px-4"]
|
|
225
225
|
},
|
|
226
226
|
mono: {
|
|
227
|
-
true: "es:font-mono es:text-12",
|
|
227
|
+
true: "es:font-mono es:text-12!",
|
|
228
228
|
false: [
|
|
229
|
-
'es:text-13 es:font-variation-["wdth"_80,"YTLC"_520,"wght"_300,"slnt"_0]',
|
|
229
|
+
'es:text-13! es:font-variation-["wdth"_80,"YTLC"_520,"wght"_300,"slnt"_0]',
|
|
230
230
|
'es:tracking-wide es:placeholder-shown:font-variation-["wdth"_100,"YTLC"_500,"wght"_250,"slnt"_-8]'
|
|
231
231
|
]
|
|
232
232
|
},
|
|
@@ -24,12 +24,13 @@ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../../useLocaliz
|
|
|
24
24
|
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
25
25
|
import { icons } from "../../icons/icons.js";
|
|
26
26
|
import { Spinner } from "../../icons/spinner.js";
|
|
27
|
-
import { c as clsx } from "../../
|
|
27
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
28
28
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
29
29
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
30
30
|
import { BaseControl } from "../base-control/base-control.js";
|
|
31
31
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
32
32
|
import { c as cva } from "../../index-BHpUy2Ix.js";
|
|
33
|
+
import { randomId } from "../../utilities/hash.js";
|
|
33
34
|
import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66 } from "../../useAsyncList-D52mQcrH.js";
|
|
34
35
|
function $4f58c5f72bcf79f7$export$496315a1608d9602(effect, dependencies) {
|
|
35
36
|
const isInitialMount = useRef(true);
|
|
@@ -1503,6 +1504,7 @@ function $d01f2c01039c0eec$var$ComboBoxInner({ props, collection, comboBoxRef: r
|
|
|
1503
1504
|
* @param {boolean} [props.flat] - If `true`, component will look more flat. Useful for nested layer of controls.
|
|
1504
1505
|
* @param {boolean} [props.keyboardShortcuts] - If `true`, keyboard shortcuts are shown in the suggestion list.
|
|
1505
1506
|
* @param {InputSize} [props.size='default'] - Sets the size of the input field.
|
|
1507
|
+
* @param {boolean} [props.inline] - If `true`, the component is displayed inline - icon/label/subtitle are on the left, the passed content is on the right. **Note:** not compatible with `actions`.
|
|
1506
1508
|
* @param {boolean} [props.hidden] - If `true`, the component is not rendered.
|
|
1507
1509
|
*
|
|
1508
1510
|
* @typedef {'small' | 'medium' | 'default' | 'large'} InputSize
|
|
@@ -1525,6 +1527,7 @@ const LinkInput = (props) => {
|
|
|
1525
1527
|
subtitle,
|
|
1526
1528
|
help,
|
|
1527
1529
|
actions,
|
|
1530
|
+
inline,
|
|
1528
1531
|
placeholder = __("Type to search or enter URL", "eightshift-ui-components"),
|
|
1529
1532
|
icon = icons.globe,
|
|
1530
1533
|
removeIcon = icons.clearAlt,
|
|
@@ -1560,18 +1563,19 @@ const LinkInput = (props) => {
|
|
|
1560
1563
|
});
|
|
1561
1564
|
const inputClass = cva(
|
|
1562
1565
|
[
|
|
1563
|
-
"es:text-13 es:leading-none",
|
|
1566
|
+
"es:text-13! es:leading-none",
|
|
1564
1567
|
"es:w-fill",
|
|
1565
|
-
"es:border-none",
|
|
1568
|
+
"es:border-none!",
|
|
1566
1569
|
"es:rounded-lg es:focus:rounded-xl es:aria-[controls]:rounded-xl",
|
|
1567
1570
|
"es:transition-plus",
|
|
1568
1571
|
"es:any-focus:outline-hidden",
|
|
1569
|
-
"es:inset-ring",
|
|
1572
|
+
"es:inset-ring!",
|
|
1570
1573
|
"es:focus-visible:ring-2 es:focus-visible:ring-accent-500/30",
|
|
1571
1574
|
"es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-500",
|
|
1572
1575
|
"es:placeholder-shown:pr-0 es:pr-10",
|
|
1573
1576
|
"es:focus:placeholder:text-surface-400",
|
|
1574
1577
|
'es:font-variation-["wdth"_80,"YTLC"_520,"wght"_300,"slnt"_0] es:tracking-wide es:placeholder-shown:font-variation-["wdth"_100,"YTLC"_500,"wght"_250,"slnt"_-8]',
|
|
1578
|
+
inline && "es:min-w-48",
|
|
1575
1579
|
className
|
|
1576
1580
|
],
|
|
1577
1581
|
{
|
|
@@ -1595,7 +1599,7 @@ const LinkInput = (props) => {
|
|
|
1595
1599
|
"es:inset-shadow-sm es:inset-shadow-secondary-100/50",
|
|
1596
1600
|
"es:hover:placeholder:text-surface-400",
|
|
1597
1601
|
"es:placeholder:text-secondary-400",
|
|
1598
|
-
"es:shadow-xs es:shadow-black/5"
|
|
1602
|
+
"es:shadow-xs! es:shadow-black/5"
|
|
1599
1603
|
]
|
|
1600
1604
|
},
|
|
1601
1605
|
{
|
|
@@ -1607,7 +1611,7 @@ const LinkInput = (props) => {
|
|
|
1607
1611
|
"es:placeholder:text-secondary-500/80",
|
|
1608
1612
|
"es:bg-secondary-100 es:focus:bg-surface-50",
|
|
1609
1613
|
"es:inset-ring-secondary-200/15 es:hover:inset-ring-secondary-200/65 es:focus:inset-ring-surface-200",
|
|
1610
|
-
"es:shadow-none"
|
|
1614
|
+
"es:shadow-none!"
|
|
1611
1615
|
]
|
|
1612
1616
|
},
|
|
1613
1617
|
{ disabled: true, class: ["es:bg-white es:inset-ring-secondary-200 es:text-secondary-400"] }
|
|
@@ -1644,6 +1648,7 @@ const LinkInput = (props) => {
|
|
|
1644
1648
|
subtitle,
|
|
1645
1649
|
actions,
|
|
1646
1650
|
labelAs: $01b77f81d0f07f68$export$b04be29aa201d4f5,
|
|
1651
|
+
inline,
|
|
1647
1652
|
help,
|
|
1648
1653
|
children: /* @__PURE__ */ jsxs($a049562f99e7db0e$export$eb2fcfdbd7ba97d4, { className: "es:relative es:group", children: [
|
|
1649
1654
|
/* @__PURE__ */ jsx(
|
|
@@ -1673,7 +1678,7 @@ const LinkInput = (props) => {
|
|
|
1673
1678
|
{
|
|
1674
1679
|
className: clsx(
|
|
1675
1680
|
"es:opacity-0 es:group-hover:opacity-100 es:group-focus-within:opacity-100 es:focus-visible:opacity-100",
|
|
1676
|
-
"es:flex es:size-8 es:items-center es:justify-center es:rounded-md es:text-secondary-600 es:backdrop-blur es:transition
|
|
1681
|
+
"es:flex es:size-8 es:items-center es:justify-center es:rounded-md es:text-secondary-600 es:backdrop-blur es:transition",
|
|
1677
1682
|
"es:hover:bg-red-600/5 es:hover:text-red-600",
|
|
1678
1683
|
"es:icon:size-6"
|
|
1679
1684
|
),
|
|
@@ -1760,7 +1765,7 @@ const LinkInput = (props) => {
|
|
|
1760
1765
|
return /* @__PURE__ */ jsx(
|
|
1761
1766
|
$eed445e0843c11d0$export$a11e76429ed99b4,
|
|
1762
1767
|
{
|
|
1763
|
-
id: item
|
|
1768
|
+
id: item?.value ?? randomId(8),
|
|
1764
1769
|
className: clsx(
|
|
1765
1770
|
"es:transition-plus",
|
|
1766
1771
|
"es:px-2 es:py-2.5",
|