@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260417052148 → 0.8.1-dev.20260417054809
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/index.js +14 -14
- package/dist/index.mjs +14 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1372,7 +1372,7 @@ var MultilineTextInput = (props) => {
|
|
|
1372
1372
|
maxLength: props?.attributes?.maxLength,
|
|
1373
1373
|
disabled: props?.attributes?.readOnly,
|
|
1374
1374
|
minLength: props?.attributes?.minLength,
|
|
1375
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
1375
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm"
|
|
1376
1376
|
}
|
|
1377
1377
|
),
|
|
1378
1378
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -1482,7 +1482,7 @@ var MoneyInput = (props) => {
|
|
|
1482
1482
|
pattern: props?.attributes?.pattern,
|
|
1483
1483
|
disabled: props?.attributes?.readOnly,
|
|
1484
1484
|
minLength: props?.attributes?.minLength,
|
|
1485
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
1485
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
|
|
1486
1486
|
}
|
|
1487
1487
|
),
|
|
1488
1488
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -1654,7 +1654,7 @@ var PercentageInput = (props) => {
|
|
|
1654
1654
|
pattern: props?.attributes?.pattern,
|
|
1655
1655
|
disabled: props?.attributes?.readOnly,
|
|
1656
1656
|
max: "100",
|
|
1657
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
1657
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
|
|
1658
1658
|
}
|
|
1659
1659
|
),
|
|
1660
1660
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -1687,7 +1687,7 @@ var PhoneInput = (props) => {
|
|
|
1687
1687
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
|
|
1688
1688
|
" ",
|
|
1689
1689
|
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "bg-error-weak", children: "*" }),
|
|
1690
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center
|
|
1690
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center rounded border ", children: [
|
|
1691
1691
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "px-3", children: props.prefix }),
|
|
1692
1692
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1693
1693
|
"input",
|
|
@@ -1703,7 +1703,7 @@ var PhoneInput = (props) => {
|
|
|
1703
1703
|
pattern: props?.attributes?.pattern,
|
|
1704
1704
|
disabled: props?.attributes?.readOnly,
|
|
1705
1705
|
minLength: props?.attributes?.minLength,
|
|
1706
|
-
className: "py-1.5 block w-full outline-none
|
|
1706
|
+
className: "py-1.5 block w-full outline-none border-0 mr-0.5"
|
|
1707
1707
|
}
|
|
1708
1708
|
)
|
|
1709
1709
|
] }),
|
|
@@ -1757,7 +1757,7 @@ var NumberInput = (props) => {
|
|
|
1757
1757
|
disabled: props?.attributes?.readOnly,
|
|
1758
1758
|
max: props?.attributes?.maxValue,
|
|
1759
1759
|
min: props?.attributes?.minValue,
|
|
1760
|
-
className: "peer py-1.5 block w-full rounded
|
|
1760
|
+
className: "peer py-1.5 block w-full rounded shadow-sm number-input\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
|
|
1761
1761
|
}
|
|
1762
1762
|
),
|
|
1763
1763
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -1784,7 +1784,7 @@ var CheckboxInput = (props) => {
|
|
|
1784
1784
|
if (props.value != void 0 && props.value != null && props.value != "" && (props.value == "true" || props.value.toString() == "true")) {
|
|
1785
1785
|
value = true;
|
|
1786
1786
|
}
|
|
1787
|
-
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react17.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { className: "block mb-1", children: [
|
|
1787
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react17.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { className: "inline-block mb-1", children: [
|
|
1788
1788
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
|
|
1789
1789
|
" ",
|
|
1790
1790
|
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "bg-error-weak", children: "*" }),
|
|
@@ -1802,7 +1802,7 @@ var CheckboxInput = (props) => {
|
|
|
1802
1802
|
pattern: props?.attributes?.pattern,
|
|
1803
1803
|
disabled: props?.attributes?.readOnly,
|
|
1804
1804
|
minLength: props?.attributes?.minLength,
|
|
1805
|
-
className: "peer mt-1 py-1.5 block rounded
|
|
1805
|
+
className: "peer mt-1 py-1.5 block rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
|
|
1806
1806
|
}
|
|
1807
1807
|
),
|
|
1808
1808
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -1855,7 +1855,7 @@ var OtpInput = (props) => {
|
|
|
1855
1855
|
minLength: props?.attributes?.minLength,
|
|
1856
1856
|
autoFocus: props?.attributes?.autoFocus,
|
|
1857
1857
|
onWheel: handleWheel,
|
|
1858
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
1858
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center"
|
|
1859
1859
|
}
|
|
1860
1860
|
),
|
|
1861
1861
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -2000,7 +2000,7 @@ var DateTimeInput = (props) => {
|
|
|
2000
2000
|
pattern: props?.attributes?.pattern,
|
|
2001
2001
|
disabled: props?.attributes?.readOnly,
|
|
2002
2002
|
minLength: props?.attributes?.minLength,
|
|
2003
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
2003
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
|
|
2004
2004
|
}
|
|
2005
2005
|
),
|
|
2006
2006
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { children: timeZoneAbbr })
|
|
@@ -2048,7 +2048,7 @@ var ColorInput = (props) => {
|
|
|
2048
2048
|
value: color,
|
|
2049
2049
|
onChange: handleColorChange,
|
|
2050
2050
|
required: props?.attributes?.required,
|
|
2051
|
-
className: `w-[78px] h-12 block cursor-pointer
|
|
2051
|
+
className: `w-[78px] h-12 block cursor-pointer`
|
|
2052
2052
|
}
|
|
2053
2053
|
),
|
|
2054
2054
|
props?.attributes?.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "mt-1 bg-error-weak text-sm", children: props.attributes.errorMessage })
|
|
@@ -2517,7 +2517,7 @@ var BooleanSelect = (props) => {
|
|
|
2517
2517
|
required: props?.attributes?.required,
|
|
2518
2518
|
placeholder: props?.attributes?.placeholder,
|
|
2519
2519
|
disabled: props?.attributes?.readOnly,
|
|
2520
|
-
className: "peer mt-1 py-1.5 block w-full text-black rounded
|
|
2520
|
+
className: "peer mt-1 py-1.5 block w-full text-black rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n ",
|
|
2521
2521
|
children: [
|
|
2522
2522
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("option", { className: "", value: "", children: props.attributes?.placeholder || "Select" }),
|
|
2523
2523
|
list && list.map((item, i) => {
|
|
@@ -2583,7 +2583,7 @@ var EmailInput = (props) => {
|
|
|
2583
2583
|
maxLength: props?.attributes?.maxLength,
|
|
2584
2584
|
disabled: props?.attributes?.readOnly,
|
|
2585
2585
|
minLength: props?.attributes?.minLength,
|
|
2586
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
2586
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n transition-all duration-500 ease-in-out"
|
|
2587
2587
|
}
|
|
2588
2588
|
),
|
|
2589
2589
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 mb-0 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -2620,7 +2620,7 @@ var TimeInput = (props) => {
|
|
|
2620
2620
|
onChange: timeChangeHandler,
|
|
2621
2621
|
required: props?.attributes?.required,
|
|
2622
2622
|
disabled: props?.attributes?.readOnly,
|
|
2623
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
2623
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
|
|
2624
2624
|
}
|
|
2625
2625
|
) }),
|
|
2626
2626
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
|
package/dist/index.mjs
CHANGED
|
@@ -384,7 +384,7 @@ var MultilineTextInput = (props) => {
|
|
|
384
384
|
maxLength: props?.attributes?.maxLength,
|
|
385
385
|
disabled: props?.attributes?.readOnly,
|
|
386
386
|
minLength: props?.attributes?.minLength,
|
|
387
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
387
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm"
|
|
388
388
|
}
|
|
389
389
|
),
|
|
390
390
|
/* @__PURE__ */ jsx10("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -494,7 +494,7 @@ var MoneyInput = (props) => {
|
|
|
494
494
|
pattern: props?.attributes?.pattern,
|
|
495
495
|
disabled: props?.attributes?.readOnly,
|
|
496
496
|
minLength: props?.attributes?.minLength,
|
|
497
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
497
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
500
|
/* @__PURE__ */ jsx12("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -666,7 +666,7 @@ var PercentageInput = (props) => {
|
|
|
666
666
|
pattern: props?.attributes?.pattern,
|
|
667
667
|
disabled: props?.attributes?.readOnly,
|
|
668
668
|
max: "100",
|
|
669
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
669
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
|
|
670
670
|
}
|
|
671
671
|
),
|
|
672
672
|
/* @__PURE__ */ jsx14("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -699,7 +699,7 @@ var PhoneInput = (props) => {
|
|
|
699
699
|
/* @__PURE__ */ jsx15("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
|
|
700
700
|
" ",
|
|
701
701
|
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx15("span", { className: "bg-error-weak", children: "*" }),
|
|
702
|
-
/* @__PURE__ */ jsxs11("div", { className: "flex items-center
|
|
702
|
+
/* @__PURE__ */ jsxs11("div", { className: "flex items-center rounded border ", children: [
|
|
703
703
|
/* @__PURE__ */ jsx15("span", { className: "px-3", children: props.prefix }),
|
|
704
704
|
/* @__PURE__ */ jsx15(
|
|
705
705
|
"input",
|
|
@@ -715,7 +715,7 @@ var PhoneInput = (props) => {
|
|
|
715
715
|
pattern: props?.attributes?.pattern,
|
|
716
716
|
disabled: props?.attributes?.readOnly,
|
|
717
717
|
minLength: props?.attributes?.minLength,
|
|
718
|
-
className: "py-1.5 block w-full outline-none
|
|
718
|
+
className: "py-1.5 block w-full outline-none border-0 mr-0.5"
|
|
719
719
|
}
|
|
720
720
|
)
|
|
721
721
|
] }),
|
|
@@ -769,7 +769,7 @@ var NumberInput = (props) => {
|
|
|
769
769
|
disabled: props?.attributes?.readOnly,
|
|
770
770
|
max: props?.attributes?.maxValue,
|
|
771
771
|
min: props?.attributes?.minValue,
|
|
772
|
-
className: "peer py-1.5 block w-full rounded
|
|
772
|
+
className: "peer py-1.5 block w-full rounded shadow-sm number-input\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
|
|
773
773
|
}
|
|
774
774
|
),
|
|
775
775
|
/* @__PURE__ */ jsx16("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -796,7 +796,7 @@ var CheckboxInput = (props) => {
|
|
|
796
796
|
if (props.value != void 0 && props.value != null && props.value != "" && (props.value == "true" || props.value.toString() == "true")) {
|
|
797
797
|
value = true;
|
|
798
798
|
}
|
|
799
|
-
return /* @__PURE__ */ jsx17(React17.Fragment, { children: /* @__PURE__ */ jsxs13("label", { className: "block mb-1", children: [
|
|
799
|
+
return /* @__PURE__ */ jsx17(React17.Fragment, { children: /* @__PURE__ */ jsxs13("label", { className: "inline-block mb-1", children: [
|
|
800
800
|
/* @__PURE__ */ jsx17("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
|
|
801
801
|
" ",
|
|
802
802
|
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx17("span", { className: "bg-error-weak", children: "*" }),
|
|
@@ -814,7 +814,7 @@ var CheckboxInput = (props) => {
|
|
|
814
814
|
pattern: props?.attributes?.pattern,
|
|
815
815
|
disabled: props?.attributes?.readOnly,
|
|
816
816
|
minLength: props?.attributes?.minLength,
|
|
817
|
-
className: "peer mt-1 py-1.5 block rounded
|
|
817
|
+
className: "peer mt-1 py-1.5 block rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
|
|
818
818
|
}
|
|
819
819
|
),
|
|
820
820
|
/* @__PURE__ */ jsx17("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -867,7 +867,7 @@ var OtpInput = (props) => {
|
|
|
867
867
|
minLength: props?.attributes?.minLength,
|
|
868
868
|
autoFocus: props?.attributes?.autoFocus,
|
|
869
869
|
onWheel: handleWheel,
|
|
870
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
870
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center"
|
|
871
871
|
}
|
|
872
872
|
),
|
|
873
873
|
/* @__PURE__ */ jsx18("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -1012,7 +1012,7 @@ var DateTimeInput = (props) => {
|
|
|
1012
1012
|
pattern: props?.attributes?.pattern,
|
|
1013
1013
|
disabled: props?.attributes?.readOnly,
|
|
1014
1014
|
minLength: props?.attributes?.minLength,
|
|
1015
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
1015
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
|
|
1016
1016
|
}
|
|
1017
1017
|
),
|
|
1018
1018
|
/* @__PURE__ */ jsx19("span", { children: timeZoneAbbr })
|
|
@@ -1060,7 +1060,7 @@ var ColorInput = (props) => {
|
|
|
1060
1060
|
value: color,
|
|
1061
1061
|
onChange: handleColorChange,
|
|
1062
1062
|
required: props?.attributes?.required,
|
|
1063
|
-
className: `w-[78px] h-12 block cursor-pointer
|
|
1063
|
+
className: `w-[78px] h-12 block cursor-pointer`
|
|
1064
1064
|
}
|
|
1065
1065
|
),
|
|
1066
1066
|
props?.attributes?.errorMessage && /* @__PURE__ */ jsx20("p", { className: "mt-1 bg-error-weak text-sm", children: props.attributes.errorMessage })
|
|
@@ -1536,7 +1536,7 @@ var BooleanSelect = (props) => {
|
|
|
1536
1536
|
required: props?.attributes?.required,
|
|
1537
1537
|
placeholder: props?.attributes?.placeholder,
|
|
1538
1538
|
disabled: props?.attributes?.readOnly,
|
|
1539
|
-
className: "peer mt-1 py-1.5 block w-full text-black rounded
|
|
1539
|
+
className: "peer mt-1 py-1.5 block w-full text-black rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n ",
|
|
1540
1540
|
children: [
|
|
1541
1541
|
/* @__PURE__ */ jsx23("option", { className: "", value: "", children: props.attributes?.placeholder || "Select" }),
|
|
1542
1542
|
list && list.map((item, i) => {
|
|
@@ -1602,7 +1602,7 @@ var EmailInput = (props) => {
|
|
|
1602
1602
|
maxLength: props?.attributes?.maxLength,
|
|
1603
1603
|
disabled: props?.attributes?.readOnly,
|
|
1604
1604
|
minLength: props?.attributes?.minLength,
|
|
1605
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
1605
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n transition-all duration-500 ease-in-out"
|
|
1606
1606
|
}
|
|
1607
1607
|
),
|
|
1608
1608
|
/* @__PURE__ */ jsx24("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 mb-0 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
|
|
@@ -1639,7 +1639,7 @@ var TimeInput = (props) => {
|
|
|
1639
1639
|
onChange: timeChangeHandler,
|
|
1640
1640
|
required: props?.attributes?.required,
|
|
1641
1641
|
disabled: props?.attributes?.readOnly,
|
|
1642
|
-
className: "peer mt-1 py-1.5 block w-full rounded
|
|
1642
|
+
className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
|
|
1643
1643
|
}
|
|
1644
1644
|
) }),
|
|
1645
1645
|
/* @__PURE__ */ jsx25("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
|
package/package.json
CHANGED