@eightshift/ui-components 6.0.3 → 6.0.4
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 +111 -29
- package/dist/assets/style-editor.css +75 -29
- package/dist/assets/style.css +75 -29
- 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 +3 -3
- 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 +1 -1
- package/dist/components/draggable/draggable.js +2 -2
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- 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 +12 -7
- 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 +1 -1
- 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 +7 -6
- package/dist/components/select/async-select.js +7 -6
- package/dist/components/select/multi-select.js +8 -7
- package/dist/components/select/shared.js +2 -2
- package/dist/components/select/single-select.js +7 -6
- package/dist/components/slider/column-config-slider.js +8 -5
- package/dist/components/smart-image/smart-image.js +2 -2
- package/dist/components/spacer/spacer.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/toggle/toggle.js +1 -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 +1 -1
- 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);
|
|
@@ -3555,6 +3555,10 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
3555
3555
|
justify-self: flex-end;
|
|
3556
3556
|
}
|
|
3557
3557
|
|
|
3558
|
+
.es\:justify-self-start {
|
|
3559
|
+
justify-self: flex-start;
|
|
3560
|
+
}
|
|
3561
|
+
|
|
3558
3562
|
.es\:overflow-clip {
|
|
3559
3563
|
overflow: clip;
|
|
3560
3564
|
}
|
|
@@ -6345,11 +6349,21 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
6345
6349
|
line-height: var(--tw-leading, var(--es-text-12--line-height));
|
|
6346
6350
|
}
|
|
6347
6351
|
|
|
6352
|
+
.es\:text-12\! {
|
|
6353
|
+
font-size: var(--es-text-12) !important;
|
|
6354
|
+
line-height: var(--tw-leading, var(--es-text-12--line-height)) !important;
|
|
6355
|
+
}
|
|
6356
|
+
|
|
6348
6357
|
.es\:text-13 {
|
|
6349
6358
|
font-size: var(--es-text-13);
|
|
6350
6359
|
line-height: var(--tw-leading, var(--es-text-13--line-height));
|
|
6351
6360
|
}
|
|
6352
6361
|
|
|
6362
|
+
.es\:text-13\! {
|
|
6363
|
+
font-size: var(--es-text-13) !important;
|
|
6364
|
+
line-height: var(--tw-leading, var(--es-text-13--line-height)) !important;
|
|
6365
|
+
}
|
|
6366
|
+
|
|
6353
6367
|
.es\:text-14 {
|
|
6354
6368
|
font-size: var(--es-text-14);
|
|
6355
6369
|
line-height: var(--tw-leading, var(--es-text-14--line-height));
|
|
@@ -6803,6 +6817,11 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
6803
6817
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6804
6818
|
}
|
|
6805
6819
|
|
|
6820
|
+
.es\:shadow-xs\! {
|
|
6821
|
+
--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, #0000000d) !important;
|
|
6822
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
6823
|
+
}
|
|
6824
|
+
|
|
6806
6825
|
.es\:ring, .es\:ring-1 {
|
|
6807
6826
|
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
6808
6827
|
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 +6847,11 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
6828
6847
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6829
6848
|
}
|
|
6830
6849
|
|
|
6850
|
+
.es\:inset-ring\! {
|
|
6851
|
+
--tw-inset-ring-shadow: inset 0 0 0 1px var(--tw-inset-ring-color, currentcolor) !important;
|
|
6852
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
6853
|
+
}
|
|
6854
|
+
|
|
6831
6855
|
.es\:shadow-accent-600\/25 {
|
|
6832
6856
|
--tw-shadow-color: var(--es-color-accent-600);
|
|
6833
6857
|
}
|
|
@@ -7708,6 +7732,18 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
7708
7732
|
}
|
|
7709
7733
|
}
|
|
7710
7734
|
|
|
7735
|
+
.es\:outline-hidden\! {
|
|
7736
|
+
--tw-outline-style: none !important;
|
|
7737
|
+
outline-style: none !important;
|
|
7738
|
+
}
|
|
7739
|
+
|
|
7740
|
+
@media (forced-colors: active) {
|
|
7741
|
+
.es\:outline-hidden\! {
|
|
7742
|
+
outline-offset: 2px !important;
|
|
7743
|
+
outline: 2px solid #0000 !important;
|
|
7744
|
+
}
|
|
7745
|
+
}
|
|
7746
|
+
|
|
7711
7747
|
.es\:outline {
|
|
7712
7748
|
outline-style: var(--tw-outline-style);
|
|
7713
7749
|
outline-width: 1px;
|
|
@@ -8850,11 +8886,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
8850
8886
|
border-bottom-left-radius: var(--es-radius-2xl);
|
|
8851
8887
|
}
|
|
8852
8888
|
|
|
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
8889
|
.es\:first\:pt-2:first-child {
|
|
8859
8890
|
padding-top: calc(var(--es-spacing) * 2);
|
|
8860
8891
|
}
|
|
@@ -8868,11 +8899,6 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
8868
8899
|
border-bottom-right-radius: var(--es-radius-2xl);
|
|
8869
8900
|
}
|
|
8870
8901
|
|
|
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
8902
|
.es\:last\:rounded-b-2xl:last-child {
|
|
8877
8903
|
border-bottom-right-radius: var(--es-radius-2xl);
|
|
8878
8904
|
border-bottom-left-radius: var(--es-radius-2xl);
|
|
@@ -8950,6 +8976,16 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
8950
8976
|
}
|
|
8951
8977
|
}
|
|
8952
8978
|
|
|
8979
|
+
.es\:hover\:rounded-18:where([data-rac])[data-hovered] {
|
|
8980
|
+
border-radius: var(--es-radius-18);
|
|
8981
|
+
}
|
|
8982
|
+
|
|
8983
|
+
@media (hover: hover) {
|
|
8984
|
+
.es\:hover\:rounded-18:where(:not([data-rac])):hover {
|
|
8985
|
+
border-radius: var(--es-radius-18);
|
|
8986
|
+
}
|
|
8987
|
+
}
|
|
8988
|
+
|
|
8953
8989
|
.es\:hover\:rounded-lg:where([data-rac])[data-hovered] {
|
|
8954
8990
|
border-radius: var(--es-radius-lg);
|
|
8955
8991
|
}
|
|
@@ -11677,9 +11713,14 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
11677
11713
|
border-bottom-left-radius: var(--es-radius-20) !important;
|
|
11678
11714
|
}
|
|
11679
11715
|
|
|
11680
|
-
.es\:before-current\:rounded-
|
|
11681
|
-
border-top-
|
|
11682
|
-
border-bottom-
|
|
11716
|
+
.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"])) {
|
|
11717
|
+
border-top-right-radius: var(--es-radius-2xl);
|
|
11718
|
+
border-bottom-right-radius: var(--es-radius-2xl);
|
|
11719
|
+
}
|
|
11720
|
+
|
|
11721
|
+
.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"])) {
|
|
11722
|
+
border-bottom-right-radius: var(--es-radius-2xl);
|
|
11723
|
+
border-bottom-left-radius: var(--es-radius-2xl);
|
|
11683
11724
|
}
|
|
11684
11725
|
|
|
11685
11726
|
.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 +11733,11 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
11692
11733
|
border-bottom-left-radius: var(--es-radius-xl);
|
|
11693
11734
|
}
|
|
11694
11735
|
|
|
11736
|
+
: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 {
|
|
11737
|
+
border-top-left-radius: var(--es-radius-2xl);
|
|
11738
|
+
border-top-right-radius: var(--es-radius-2xl);
|
|
11739
|
+
}
|
|
11740
|
+
|
|
11695
11741
|
: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
11742
|
border-top-left-radius: var(--es-radius-lg);
|
|
11697
11743
|
border-top-right-radius: var(--es-radius-lg);
|
|
@@ -11702,9 +11748,9 @@ input[data-rac]::-webkit-search-cancel-button {
|
|
|
11702
11748
|
border-top-right-radius: var(--es-radius-xl);
|
|
11703
11749
|
}
|
|
11704
11750
|
|
|
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-
|
|
11751
|
+
: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 {
|
|
11752
|
+
border-top-left-radius: var(--es-radius-2xl);
|
|
11753
|
+
border-bottom-left-radius: var(--es-radius-2xl);
|
|
11708
11754
|
}
|
|
11709
11755
|
|
|
11710
11756
|
.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);
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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(
|
|
@@ -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",
|
|
@@ -2,11 +2,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
3
3
|
import { icons } from "../../icons/icons.js";
|
|
4
4
|
import { upperFirst, camelCase } from "../../utilities/es-dash.js";
|
|
5
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
5
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
7
|
import { TriggeredPopover } from "../popover/popover.js";
|
|
7
8
|
import { $ as $b6c3ddc6086f204d$export$a98f0dcb43a68a25, a as $b6c3ddc6086f204d$export$d7b12c4107be0d61 } from "../../RadioGroup-BVFvITWO.js";
|
|
8
9
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
9
|
-
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
10
10
|
/**
|
|
11
11
|
* A component that can provide a 3x3 or a 2x2 grid of positions to pick from.
|
|
12
12
|
* Replaces the default Gutenberg `AlignmentMatrixControl`/`BlockAlignmentMatrixControl`/`BlockAlignmentMatrixToolbar`.
|
|
@@ -4,7 +4,7 @@ import { RichLabel } from "../rich-label/rich-label.js";
|
|
|
4
4
|
import { icons } from "../../icons/icons.js";
|
|
5
5
|
import { Button } from "../button/button.js";
|
|
6
6
|
import { Popover } from "../popover/popover.js";
|
|
7
|
-
import { c as clsx } from "../../
|
|
7
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
8
8
|
import { cloneElement } from "react";
|
|
9
9
|
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
10
10
|
/**
|
|
@@ -8,7 +8,7 @@ import $dbSRa$react__default, { useState, useEffect, forwardRef, useContext, cre
|
|
|
8
8
|
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, a as $d3f049242431219c$export$45fda7c47f93fd48, b as $d3f049242431219c$export$6d3443f2c48bfc20 } from "../../OverlayArrow-DokC40S3.js";
|
|
9
9
|
import { Button } from "../button/button.js";
|
|
10
10
|
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
11
|
-
import { c as clsx } from "../../
|
|
11
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
12
12
|
import { icons } from "../../icons/icons.js";
|
|
13
13
|
import "../../react-jsx-parser.min-B_hvYYa1.js";
|
|
14
14
|
import { HStack } from "../layout/hstack.js";
|
|
@@ -13,7 +13,7 @@ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-BQ
|
|
|
13
13
|
import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-D2fUHql3.js";
|
|
14
14
|
import { ButtonGroup, Button } from "../button/button.js";
|
|
15
15
|
import { icons } from "../../icons/icons.js";
|
|
16
|
-
import { c as clsx } from "../../
|
|
16
|
+
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
17
17
|
import { BaseControl } from "../base-control/base-control.js";
|
|
18
18
|
import { c as cva } from "../../index-BHpUy2Ix.js";
|
|
19
19
|
const $b91743d66a0ed188$export$b414a48cf5dcbc11 = /* @__PURE__ */ createContext(null);
|
|
@@ -277,7 +277,7 @@ const NumberPicker = ({
|
|
|
277
277
|
/* @__PURE__ */ jsx(
|
|
278
278
|
$3985021b0ad6602f$export$f5b8910cec6cf069,
|
|
279
279
|
{
|
|
280
|
-
className: 'es:
|
|
280
|
+
className: 'es:font-variation-["wdth"_84,"YTLC"_520,"wght"_325,"slnt"_0,"YTFI"_788] es:placeholder-shown:font-variation-["wdth"_100,"YTLC"_500,"wght"_250,"slnt"_-8] es:any-focus:outline-hidden! es:p-px es:border-none! es:shadow-none! es:bg-transparent es:text-13!',
|
|
281
281
|
placeholder,
|
|
282
282
|
style: {
|
|
283
283
|
width: fixedWidth ? `calc(${fixedWidth}ch + 2px)` : `calc(${min < 0 ? "1ch + " : "0.75ch + "}${Math.max((max ?? 1e3)?.toString()?.length, (placeholder ?? "")?.length)} * 1ch)`
|