@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260416092937 → 0.8.1-dev.20260417053305
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 -16
- package/dist/index.mjs +14 -16
- 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 : "" })
|
|
@@ -1420,9 +1420,7 @@ var LineTextInput = (props) => {
|
|
|
1420
1420
|
pattern: props?.attributes?.pattern,
|
|
1421
1421
|
disabled: props?.attributes?.readOnly,
|
|
1422
1422
|
minLength: props?.attributes?.minLength,
|
|
1423
|
-
className: `peer py-1.5 block w-full rounded
|
|
1424
|
-
focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50
|
|
1425
|
-
disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none
|
|
1423
|
+
className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm transition-all duration-500 ease-in-out
|
|
1426
1424
|
${props?.inputClasses ? props.inputClasses : ``}
|
|
1427
1425
|
`
|
|
1428
1426
|
}
|
|
@@ -1484,7 +1482,7 @@ var MoneyInput = (props) => {
|
|
|
1484
1482
|
pattern: props?.attributes?.pattern,
|
|
1485
1483
|
disabled: props?.attributes?.readOnly,
|
|
1486
1484
|
minLength: props?.attributes?.minLength,
|
|
1487
|
-
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"
|
|
1488
1486
|
}
|
|
1489
1487
|
),
|
|
1490
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 : "" })
|
|
@@ -1656,7 +1654,7 @@ var PercentageInput = (props) => {
|
|
|
1656
1654
|
pattern: props?.attributes?.pattern,
|
|
1657
1655
|
disabled: props?.attributes?.readOnly,
|
|
1658
1656
|
max: "100",
|
|
1659
|
-
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"
|
|
1660
1658
|
}
|
|
1661
1659
|
),
|
|
1662
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 : "" })
|
|
@@ -1689,7 +1687,7 @@ var PhoneInput = (props) => {
|
|
|
1689
1687
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
|
|
1690
1688
|
" ",
|
|
1691
1689
|
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "bg-error-weak", children: "*" }),
|
|
1692
|
-
/* @__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: [
|
|
1693
1691
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "px-3", children: props.prefix }),
|
|
1694
1692
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1695
1693
|
"input",
|
|
@@ -1705,7 +1703,7 @@ var PhoneInput = (props) => {
|
|
|
1705
1703
|
pattern: props?.attributes?.pattern,
|
|
1706
1704
|
disabled: props?.attributes?.readOnly,
|
|
1707
1705
|
minLength: props?.attributes?.minLength,
|
|
1708
|
-
className: "py-1.5 block w-full outline-none
|
|
1706
|
+
className: "py-1.5 block w-full outline-none border-0 mr-0.5"
|
|
1709
1707
|
}
|
|
1710
1708
|
)
|
|
1711
1709
|
] }),
|
|
@@ -1759,7 +1757,7 @@ var NumberInput = (props) => {
|
|
|
1759
1757
|
disabled: props?.attributes?.readOnly,
|
|
1760
1758
|
max: props?.attributes?.maxValue,
|
|
1761
1759
|
min: props?.attributes?.minValue,
|
|
1762
|
-
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 "
|
|
1763
1761
|
}
|
|
1764
1762
|
),
|
|
1765
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 : "" })
|
|
@@ -1804,7 +1802,7 @@ var CheckboxInput = (props) => {
|
|
|
1804
1802
|
pattern: props?.attributes?.pattern,
|
|
1805
1803
|
disabled: props?.attributes?.readOnly,
|
|
1806
1804
|
minLength: props?.attributes?.minLength,
|
|
1807
|
-
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 "
|
|
1808
1806
|
}
|
|
1809
1807
|
),
|
|
1810
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 : "" })
|
|
@@ -1857,7 +1855,7 @@ var OtpInput = (props) => {
|
|
|
1857
1855
|
minLength: props?.attributes?.minLength,
|
|
1858
1856
|
autoFocus: props?.attributes?.autoFocus,
|
|
1859
1857
|
onWheel: handleWheel,
|
|
1860
|
-
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"
|
|
1861
1859
|
}
|
|
1862
1860
|
),
|
|
1863
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 : "" })
|
|
@@ -2002,7 +2000,7 @@ var DateTimeInput = (props) => {
|
|
|
2002
2000
|
pattern: props?.attributes?.pattern,
|
|
2003
2001
|
disabled: props?.attributes?.readOnly,
|
|
2004
2002
|
minLength: props?.attributes?.minLength,
|
|
2005
|
-
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 "
|
|
2006
2004
|
}
|
|
2007
2005
|
),
|
|
2008
2006
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { children: timeZoneAbbr })
|
|
@@ -2050,7 +2048,7 @@ var ColorInput = (props) => {
|
|
|
2050
2048
|
value: color,
|
|
2051
2049
|
onChange: handleColorChange,
|
|
2052
2050
|
required: props?.attributes?.required,
|
|
2053
|
-
className: `w-[78px] h-12 block cursor-pointer
|
|
2051
|
+
className: `w-[78px] h-12 block cursor-pointer`
|
|
2054
2052
|
}
|
|
2055
2053
|
),
|
|
2056
2054
|
props?.attributes?.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "mt-1 bg-error-weak text-sm", children: props.attributes.errorMessage })
|
|
@@ -2519,7 +2517,7 @@ var BooleanSelect = (props) => {
|
|
|
2519
2517
|
required: props?.attributes?.required,
|
|
2520
2518
|
placeholder: props?.attributes?.placeholder,
|
|
2521
2519
|
disabled: props?.attributes?.readOnly,
|
|
2522
|
-
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 ",
|
|
2523
2521
|
children: [
|
|
2524
2522
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("option", { className: "", value: "", children: props.attributes?.placeholder || "Select" }),
|
|
2525
2523
|
list && list.map((item, i) => {
|
|
@@ -2585,7 +2583,7 @@ var EmailInput = (props) => {
|
|
|
2585
2583
|
maxLength: props?.attributes?.maxLength,
|
|
2586
2584
|
disabled: props?.attributes?.readOnly,
|
|
2587
2585
|
minLength: props?.attributes?.minLength,
|
|
2588
|
-
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"
|
|
2589
2587
|
}
|
|
2590
2588
|
),
|
|
2591
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 : "" })
|
|
@@ -2622,7 +2620,7 @@ var TimeInput = (props) => {
|
|
|
2622
2620
|
onChange: timeChangeHandler,
|
|
2623
2621
|
required: props?.attributes?.required,
|
|
2624
2622
|
disabled: props?.attributes?.readOnly,
|
|
2625
|
-
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"
|
|
2626
2624
|
}
|
|
2627
2625
|
) }),
|
|
2628
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 : "" })
|
|
@@ -432,9 +432,7 @@ var LineTextInput = (props) => {
|
|
|
432
432
|
pattern: props?.attributes?.pattern,
|
|
433
433
|
disabled: props?.attributes?.readOnly,
|
|
434
434
|
minLength: props?.attributes?.minLength,
|
|
435
|
-
className: `peer py-1.5 block w-full rounded
|
|
436
|
-
focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50
|
|
437
|
-
disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none
|
|
435
|
+
className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm transition-all duration-500 ease-in-out
|
|
438
436
|
${props?.inputClasses ? props.inputClasses : ``}
|
|
439
437
|
`
|
|
440
438
|
}
|
|
@@ -496,7 +494,7 @@ var MoneyInput = (props) => {
|
|
|
496
494
|
pattern: props?.attributes?.pattern,
|
|
497
495
|
disabled: props?.attributes?.readOnly,
|
|
498
496
|
minLength: props?.attributes?.minLength,
|
|
499
|
-
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"
|
|
500
498
|
}
|
|
501
499
|
),
|
|
502
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 : "" })
|
|
@@ -668,7 +666,7 @@ var PercentageInput = (props) => {
|
|
|
668
666
|
pattern: props?.attributes?.pattern,
|
|
669
667
|
disabled: props?.attributes?.readOnly,
|
|
670
668
|
max: "100",
|
|
671
|
-
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"
|
|
672
670
|
}
|
|
673
671
|
),
|
|
674
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 : "" })
|
|
@@ -701,7 +699,7 @@ var PhoneInput = (props) => {
|
|
|
701
699
|
/* @__PURE__ */ jsx15("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
|
|
702
700
|
" ",
|
|
703
701
|
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx15("span", { className: "bg-error-weak", children: "*" }),
|
|
704
|
-
/* @__PURE__ */ jsxs11("div", { className: "flex items-center
|
|
702
|
+
/* @__PURE__ */ jsxs11("div", { className: "flex items-center rounded border ", children: [
|
|
705
703
|
/* @__PURE__ */ jsx15("span", { className: "px-3", children: props.prefix }),
|
|
706
704
|
/* @__PURE__ */ jsx15(
|
|
707
705
|
"input",
|
|
@@ -717,7 +715,7 @@ var PhoneInput = (props) => {
|
|
|
717
715
|
pattern: props?.attributes?.pattern,
|
|
718
716
|
disabled: props?.attributes?.readOnly,
|
|
719
717
|
minLength: props?.attributes?.minLength,
|
|
720
|
-
className: "py-1.5 block w-full outline-none
|
|
718
|
+
className: "py-1.5 block w-full outline-none border-0 mr-0.5"
|
|
721
719
|
}
|
|
722
720
|
)
|
|
723
721
|
] }),
|
|
@@ -771,7 +769,7 @@ var NumberInput = (props) => {
|
|
|
771
769
|
disabled: props?.attributes?.readOnly,
|
|
772
770
|
max: props?.attributes?.maxValue,
|
|
773
771
|
min: props?.attributes?.minValue,
|
|
774
|
-
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 "
|
|
775
773
|
}
|
|
776
774
|
),
|
|
777
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 : "" })
|
|
@@ -816,7 +814,7 @@ var CheckboxInput = (props) => {
|
|
|
816
814
|
pattern: props?.attributes?.pattern,
|
|
817
815
|
disabled: props?.attributes?.readOnly,
|
|
818
816
|
minLength: props?.attributes?.minLength,
|
|
819
|
-
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 "
|
|
820
818
|
}
|
|
821
819
|
),
|
|
822
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 : "" })
|
|
@@ -869,7 +867,7 @@ var OtpInput = (props) => {
|
|
|
869
867
|
minLength: props?.attributes?.minLength,
|
|
870
868
|
autoFocus: props?.attributes?.autoFocus,
|
|
871
869
|
onWheel: handleWheel,
|
|
872
|
-
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"
|
|
873
871
|
}
|
|
874
872
|
),
|
|
875
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 : "" })
|
|
@@ -1014,7 +1012,7 @@ var DateTimeInput = (props) => {
|
|
|
1014
1012
|
pattern: props?.attributes?.pattern,
|
|
1015
1013
|
disabled: props?.attributes?.readOnly,
|
|
1016
1014
|
minLength: props?.attributes?.minLength,
|
|
1017
|
-
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 "
|
|
1018
1016
|
}
|
|
1019
1017
|
),
|
|
1020
1018
|
/* @__PURE__ */ jsx19("span", { children: timeZoneAbbr })
|
|
@@ -1062,7 +1060,7 @@ var ColorInput = (props) => {
|
|
|
1062
1060
|
value: color,
|
|
1063
1061
|
onChange: handleColorChange,
|
|
1064
1062
|
required: props?.attributes?.required,
|
|
1065
|
-
className: `w-[78px] h-12 block cursor-pointer
|
|
1063
|
+
className: `w-[78px] h-12 block cursor-pointer`
|
|
1066
1064
|
}
|
|
1067
1065
|
),
|
|
1068
1066
|
props?.attributes?.errorMessage && /* @__PURE__ */ jsx20("p", { className: "mt-1 bg-error-weak text-sm", children: props.attributes.errorMessage })
|
|
@@ -1538,7 +1536,7 @@ var BooleanSelect = (props) => {
|
|
|
1538
1536
|
required: props?.attributes?.required,
|
|
1539
1537
|
placeholder: props?.attributes?.placeholder,
|
|
1540
1538
|
disabled: props?.attributes?.readOnly,
|
|
1541
|
-
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 ",
|
|
1542
1540
|
children: [
|
|
1543
1541
|
/* @__PURE__ */ jsx23("option", { className: "", value: "", children: props.attributes?.placeholder || "Select" }),
|
|
1544
1542
|
list && list.map((item, i) => {
|
|
@@ -1604,7 +1602,7 @@ var EmailInput = (props) => {
|
|
|
1604
1602
|
maxLength: props?.attributes?.maxLength,
|
|
1605
1603
|
disabled: props?.attributes?.readOnly,
|
|
1606
1604
|
minLength: props?.attributes?.minLength,
|
|
1607
|
-
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"
|
|
1608
1606
|
}
|
|
1609
1607
|
),
|
|
1610
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 : "" })
|
|
@@ -1641,7 +1639,7 @@ var TimeInput = (props) => {
|
|
|
1641
1639
|
onChange: timeChangeHandler,
|
|
1642
1640
|
required: props?.attributes?.required,
|
|
1643
1641
|
disabled: props?.attributes?.readOnly,
|
|
1644
|
-
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"
|
|
1645
1643
|
}
|
|
1646
1644
|
) }),
|
|
1647
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