@deepnoid/ui 0.1.158 → 0.1.159
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/.turbo/turbo-build.log +146 -146
- package/dist/{chunk-IRJP6BF3.mjs → chunk-7QL54JRV.mjs} +1 -1
- package/dist/{chunk-7YMXOYES.mjs → chunk-OBOPDVVM.mjs} +1 -1
- package/dist/{chunk-HKHVSCER.mjs → chunk-OY5W6JCO.mjs} +1 -1
- package/dist/{chunk-SFGFRMWL.mjs → chunk-QR5CKZLL.mjs} +56 -61
- package/dist/{chunk-V64PCWVW.mjs → chunk-SFA2DEUD.mjs} +1 -1
- package/dist/components/fileUpload/fileUpload.js +56 -61
- package/dist/components/fileUpload/fileUpload.mjs +2 -2
- package/dist/components/fileUpload/index.js +56 -61
- package/dist/components/fileUpload/index.mjs +2 -2
- package/dist/components/input/index.js +56 -61
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.d.mts +6 -3
- package/dist/components/input/input.d.ts +6 -3
- package/dist/components/input/input.js +56 -61
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/pagination/index.js +56 -61
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination.js +56 -61
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/picker/datePicker.js +56 -61
- package/dist/components/picker/datePicker.mjs +2 -2
- package/dist/components/picker/index.js +56 -61
- package/dist/components/picker/index.mjs +2 -2
- package/dist/components/table/index.js +56 -61
- package/dist/components/table/index.mjs +3 -3
- package/dist/components/table/table-body.js +56 -61
- package/dist/components/table/table-body.mjs +3 -3
- package/dist/components/table/table-head.js +56 -61
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.js +56 -61
- package/dist/components/table/table.mjs +3 -3
- package/dist/index.js +56 -61
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
|
@@ -5554,7 +5554,7 @@ var Input = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
5554
5554
|
),
|
|
5555
5555
|
size: originalProps.size
|
|
5556
5556
|
}),
|
|
5557
|
-
[slots, classNames, originalProps.size]
|
|
5557
|
+
[slots, classNames, originalProps.size, inputProps.readOnly]
|
|
5558
5558
|
);
|
|
5559
5559
|
const renderStartContent = () => {
|
|
5560
5560
|
if ((0, import_react3.isValidElement)(startContent)) {
|
|
@@ -5677,31 +5677,22 @@ var inputStyle = tv(
|
|
|
5677
5677
|
"placeholder:text-neutral-main",
|
|
5678
5678
|
"outline-none",
|
|
5679
5679
|
"focus:ring-0",
|
|
5680
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5681
|
-
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
5682
|
-
"group-has-[:focus]/input:text-neutral-dark",
|
|
5683
|
-
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
5684
|
-
"
|
|
5685
|
-
"
|
|
5686
|
-
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
5680
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5681
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
|
|
5682
|
+
"group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
|
|
5683
|
+
"group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
|
|
5684
|
+
"read-only:!text-body-foreground",
|
|
5685
|
+
"read-only:placeholder:!text-body-foreground"
|
|
5687
5686
|
],
|
|
5688
5687
|
content: [
|
|
5689
5688
|
"flex",
|
|
5690
5689
|
"items-center",
|
|
5691
5690
|
"select-none",
|
|
5692
5691
|
"text-neutral-main",
|
|
5693
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5694
|
-
"
|
|
5695
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5696
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5697
|
-
],
|
|
5698
|
-
helperMessage: [
|
|
5699
|
-
"text-neutral-main",
|
|
5700
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5701
|
-
"group-has-[p.error]/input:text-danger-main",
|
|
5702
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5703
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5692
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5693
|
+
"read-only:!text-body-foreground"
|
|
5704
5694
|
],
|
|
5695
|
+
helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
|
|
5705
5696
|
errorMessage: ["text-danger-main"],
|
|
5706
5697
|
readonlyWrapper: [
|
|
5707
5698
|
"pointer-events-none",
|
|
@@ -5710,7 +5701,7 @@ var inputStyle = tv(
|
|
|
5710
5701
|
"[&>input]:text-body-foreground",
|
|
5711
5702
|
"[&>input]:placeholder:text-body-foreground"
|
|
5712
5703
|
],
|
|
5713
|
-
readonly: []
|
|
5704
|
+
readonly: ["text-body-foreground"]
|
|
5714
5705
|
},
|
|
5715
5706
|
variants: {
|
|
5716
5707
|
variant: {
|
|
@@ -5721,8 +5712,8 @@ var inputStyle = tv(
|
|
|
5721
5712
|
outline: {
|
|
5722
5713
|
inputWrapper: [
|
|
5723
5714
|
"border-neutral-light",
|
|
5724
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5725
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5715
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5716
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5726
5717
|
"group-has-[p.error]/input:border-danger-main"
|
|
5727
5718
|
],
|
|
5728
5719
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5731,8 +5722,8 @@ var inputStyle = tv(
|
|
|
5731
5722
|
inputWrapper: [
|
|
5732
5723
|
"bg-transparent",
|
|
5733
5724
|
"rounded-none",
|
|
5734
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5735
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5725
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5726
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5736
5727
|
"group-has-[p.error]/input:border-danger-main"
|
|
5737
5728
|
],
|
|
5738
5729
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5740,22 +5731,13 @@ var inputStyle = tv(
|
|
|
5740
5731
|
},
|
|
5741
5732
|
color: {
|
|
5742
5733
|
primary: {
|
|
5743
|
-
content: ["group-has-[:focus]/input:text-primary-main", "
|
|
5744
|
-
helperMessage: [
|
|
5745
|
-
"group-has-[:focus]/input:text-primary-main",
|
|
5746
|
-
"group-has-[:focus]/input:hover:text-primary-main"
|
|
5747
|
-
],
|
|
5734
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
|
|
5735
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
|
|
5748
5736
|
readonly: ["text-primary-main"]
|
|
5749
5737
|
},
|
|
5750
5738
|
secondary: {
|
|
5751
|
-
content: [
|
|
5752
|
-
|
|
5753
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5754
|
-
],
|
|
5755
|
-
helperMessage: [
|
|
5756
|
-
"group-has-[:focus]/input:text-secondary-main",
|
|
5757
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5758
|
-
],
|
|
5739
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
|
|
5740
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
|
|
5759
5741
|
readonly: ["text-secondary-main"]
|
|
5760
5742
|
}
|
|
5761
5743
|
},
|
|
@@ -5806,14 +5788,9 @@ var inputStyle = tv(
|
|
|
5806
5788
|
},
|
|
5807
5789
|
disabled: {
|
|
5808
5790
|
true: {
|
|
5809
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"
|
|
5810
|
-
input: [
|
|
5811
|
-
|
|
5812
|
-
"placeholder:!text-neutral-light",
|
|
5813
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5814
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5815
|
-
],
|
|
5816
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
5791
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
|
|
5792
|
+
input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
|
|
5793
|
+
content: ["!text-neutral-light"],
|
|
5817
5794
|
helperMessage: ["!text-neutral-light"],
|
|
5818
5795
|
errorMessage: ["!text-danger-light"]
|
|
5819
5796
|
}
|
|
@@ -5821,11 +5798,9 @@ var inputStyle = tv(
|
|
|
5821
5798
|
readonly: {
|
|
5822
5799
|
true: {
|
|
5823
5800
|
readonlyWrapper: ["pointer-events-none"],
|
|
5824
|
-
input: [
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
],
|
|
5828
|
-
content: ["group-has-[p.error]/input:!text-danger-main"]
|
|
5801
|
+
input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
|
|
5802
|
+
content: ["!text-body-foreground"],
|
|
5803
|
+
helperMessage: ["!text-body-foreground"]
|
|
5829
5804
|
}
|
|
5830
5805
|
}
|
|
5831
5806
|
},
|
|
@@ -5886,17 +5861,6 @@ var inputStyle = tv(
|
|
|
5886
5861
|
inputWrapper: ["border-b-xl"]
|
|
5887
5862
|
}
|
|
5888
5863
|
},
|
|
5889
|
-
{
|
|
5890
|
-
disabled: true,
|
|
5891
|
-
variant: ["outline", "underline"],
|
|
5892
|
-
class: {
|
|
5893
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
5894
|
-
content: [
|
|
5895
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5896
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5897
|
-
]
|
|
5898
|
-
}
|
|
5899
|
-
},
|
|
5900
5864
|
{
|
|
5901
5865
|
readonly: true,
|
|
5902
5866
|
color: "primary",
|
|
@@ -5912,6 +5876,37 @@ var inputStyle = tv(
|
|
|
5912
5876
|
input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
|
|
5913
5877
|
content: ["!text-secondary-main"]
|
|
5914
5878
|
}
|
|
5879
|
+
},
|
|
5880
|
+
{
|
|
5881
|
+
disabled: true,
|
|
5882
|
+
class: {
|
|
5883
|
+
input: [
|
|
5884
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
5885
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5886
|
+
],
|
|
5887
|
+
content: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5888
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5889
|
+
errorMessage: ["!text-danger-light"]
|
|
5890
|
+
}
|
|
5891
|
+
},
|
|
5892
|
+
{
|
|
5893
|
+
disabled: true,
|
|
5894
|
+
variant: ["outline", "underline"],
|
|
5895
|
+
class: {
|
|
5896
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
|
|
5897
|
+
}
|
|
5898
|
+
},
|
|
5899
|
+
{
|
|
5900
|
+
disabled: false,
|
|
5901
|
+
class: {
|
|
5902
|
+
input: [
|
|
5903
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
5904
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main"
|
|
5905
|
+
],
|
|
5906
|
+
content: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5907
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5908
|
+
errorMessage: ["!text-danger-main"]
|
|
5909
|
+
}
|
|
5915
5910
|
}
|
|
5916
5911
|
],
|
|
5917
5912
|
defaultVariants: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_head_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-OY5W6JCO.mjs";
|
|
5
5
|
import "../../chunk-7B7LRG5J.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-7QL54JRV.mjs";
|
|
7
7
|
import "../../chunk-F3HENRVM.mjs";
|
|
8
8
|
import "../../chunk-2GCSFWHD.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-QR5CKZLL.mjs";
|
|
10
10
|
import "../../chunk-DQRAFUDA.mjs";
|
|
11
11
|
import "../../chunk-EWS3FESG.mjs";
|
|
12
12
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
@@ -5600,7 +5600,7 @@ var Input = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
5600
5600
|
),
|
|
5601
5601
|
size: originalProps.size
|
|
5602
5602
|
}),
|
|
5603
|
-
[slots, classNames, originalProps.size]
|
|
5603
|
+
[slots, classNames, originalProps.size, inputProps.readOnly]
|
|
5604
5604
|
);
|
|
5605
5605
|
const renderStartContent = () => {
|
|
5606
5606
|
if ((0, import_react3.isValidElement)(startContent)) {
|
|
@@ -5723,31 +5723,22 @@ var inputStyle = tv(
|
|
|
5723
5723
|
"placeholder:text-neutral-main",
|
|
5724
5724
|
"outline-none",
|
|
5725
5725
|
"focus:ring-0",
|
|
5726
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5727
|
-
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
5728
|
-
"group-has-[:focus]/input:text-neutral-dark",
|
|
5729
|
-
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
5730
|
-
"
|
|
5731
|
-
"
|
|
5732
|
-
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
5726
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5727
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
|
|
5728
|
+
"group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
|
|
5729
|
+
"group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
|
|
5730
|
+
"read-only:!text-body-foreground",
|
|
5731
|
+
"read-only:placeholder:!text-body-foreground"
|
|
5733
5732
|
],
|
|
5734
5733
|
content: [
|
|
5735
5734
|
"flex",
|
|
5736
5735
|
"items-center",
|
|
5737
5736
|
"select-none",
|
|
5738
5737
|
"text-neutral-main",
|
|
5739
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5740
|
-
"
|
|
5741
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5742
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5743
|
-
],
|
|
5744
|
-
helperMessage: [
|
|
5745
|
-
"text-neutral-main",
|
|
5746
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5747
|
-
"group-has-[p.error]/input:text-danger-main",
|
|
5748
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5749
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5738
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5739
|
+
"read-only:!text-body-foreground"
|
|
5750
5740
|
],
|
|
5741
|
+
helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
|
|
5751
5742
|
errorMessage: ["text-danger-main"],
|
|
5752
5743
|
readonlyWrapper: [
|
|
5753
5744
|
"pointer-events-none",
|
|
@@ -5756,7 +5747,7 @@ var inputStyle = tv(
|
|
|
5756
5747
|
"[&>input]:text-body-foreground",
|
|
5757
5748
|
"[&>input]:placeholder:text-body-foreground"
|
|
5758
5749
|
],
|
|
5759
|
-
readonly: []
|
|
5750
|
+
readonly: ["text-body-foreground"]
|
|
5760
5751
|
},
|
|
5761
5752
|
variants: {
|
|
5762
5753
|
variant: {
|
|
@@ -5767,8 +5758,8 @@ var inputStyle = tv(
|
|
|
5767
5758
|
outline: {
|
|
5768
5759
|
inputWrapper: [
|
|
5769
5760
|
"border-neutral-light",
|
|
5770
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5771
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5761
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5762
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5772
5763
|
"group-has-[p.error]/input:border-danger-main"
|
|
5773
5764
|
],
|
|
5774
5765
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5777,8 +5768,8 @@ var inputStyle = tv(
|
|
|
5777
5768
|
inputWrapper: [
|
|
5778
5769
|
"bg-transparent",
|
|
5779
5770
|
"rounded-none",
|
|
5780
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5781
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5771
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5772
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5782
5773
|
"group-has-[p.error]/input:border-danger-main"
|
|
5783
5774
|
],
|
|
5784
5775
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5786,22 +5777,13 @@ var inputStyle = tv(
|
|
|
5786
5777
|
},
|
|
5787
5778
|
color: {
|
|
5788
5779
|
primary: {
|
|
5789
|
-
content: ["group-has-[:focus]/input:text-primary-main", "
|
|
5790
|
-
helperMessage: [
|
|
5791
|
-
"group-has-[:focus]/input:text-primary-main",
|
|
5792
|
-
"group-has-[:focus]/input:hover:text-primary-main"
|
|
5793
|
-
],
|
|
5780
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
|
|
5781
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
|
|
5794
5782
|
readonly: ["text-primary-main"]
|
|
5795
5783
|
},
|
|
5796
5784
|
secondary: {
|
|
5797
|
-
content: [
|
|
5798
|
-
|
|
5799
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5800
|
-
],
|
|
5801
|
-
helperMessage: [
|
|
5802
|
-
"group-has-[:focus]/input:text-secondary-main",
|
|
5803
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5804
|
-
],
|
|
5785
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
|
|
5786
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
|
|
5805
5787
|
readonly: ["text-secondary-main"]
|
|
5806
5788
|
}
|
|
5807
5789
|
},
|
|
@@ -5852,14 +5834,9 @@ var inputStyle = tv(
|
|
|
5852
5834
|
},
|
|
5853
5835
|
disabled: {
|
|
5854
5836
|
true: {
|
|
5855
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"
|
|
5856
|
-
input: [
|
|
5857
|
-
|
|
5858
|
-
"placeholder:!text-neutral-light",
|
|
5859
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5860
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5861
|
-
],
|
|
5862
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
5837
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
|
|
5838
|
+
input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
|
|
5839
|
+
content: ["!text-neutral-light"],
|
|
5863
5840
|
helperMessage: ["!text-neutral-light"],
|
|
5864
5841
|
errorMessage: ["!text-danger-light"]
|
|
5865
5842
|
}
|
|
@@ -5867,11 +5844,9 @@ var inputStyle = tv(
|
|
|
5867
5844
|
readonly: {
|
|
5868
5845
|
true: {
|
|
5869
5846
|
readonlyWrapper: ["pointer-events-none"],
|
|
5870
|
-
input: [
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
],
|
|
5874
|
-
content: ["group-has-[p.error]/input:!text-danger-main"]
|
|
5847
|
+
input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
|
|
5848
|
+
content: ["!text-body-foreground"],
|
|
5849
|
+
helperMessage: ["!text-body-foreground"]
|
|
5875
5850
|
}
|
|
5876
5851
|
}
|
|
5877
5852
|
},
|
|
@@ -5932,17 +5907,6 @@ var inputStyle = tv(
|
|
|
5932
5907
|
inputWrapper: ["border-b-xl"]
|
|
5933
5908
|
}
|
|
5934
5909
|
},
|
|
5935
|
-
{
|
|
5936
|
-
disabled: true,
|
|
5937
|
-
variant: ["outline", "underline"],
|
|
5938
|
-
class: {
|
|
5939
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
5940
|
-
content: [
|
|
5941
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5942
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5943
|
-
]
|
|
5944
|
-
}
|
|
5945
|
-
},
|
|
5946
5910
|
{
|
|
5947
5911
|
readonly: true,
|
|
5948
5912
|
color: "primary",
|
|
@@ -5958,6 +5922,37 @@ var inputStyle = tv(
|
|
|
5958
5922
|
input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
|
|
5959
5923
|
content: ["!text-secondary-main"]
|
|
5960
5924
|
}
|
|
5925
|
+
},
|
|
5926
|
+
{
|
|
5927
|
+
disabled: true,
|
|
5928
|
+
class: {
|
|
5929
|
+
input: [
|
|
5930
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
5931
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5932
|
+
],
|
|
5933
|
+
content: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5934
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5935
|
+
errorMessage: ["!text-danger-light"]
|
|
5936
|
+
}
|
|
5937
|
+
},
|
|
5938
|
+
{
|
|
5939
|
+
disabled: true,
|
|
5940
|
+
variant: ["outline", "underline"],
|
|
5941
|
+
class: {
|
|
5942
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
|
|
5943
|
+
}
|
|
5944
|
+
},
|
|
5945
|
+
{
|
|
5946
|
+
disabled: false,
|
|
5947
|
+
class: {
|
|
5948
|
+
input: [
|
|
5949
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
5950
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main"
|
|
5951
|
+
],
|
|
5952
|
+
content: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5953
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5954
|
+
errorMessage: ["!text-danger-main"]
|
|
5955
|
+
}
|
|
5961
5956
|
}
|
|
5962
5957
|
],
|
|
5963
5958
|
defaultVariants: {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getCellStyle,
|
|
4
4
|
table_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-OY5W6JCO.mjs";
|
|
6
6
|
import "../../chunk-7B7LRG5J.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-7QL54JRV.mjs";
|
|
8
8
|
import "../../chunk-F3HENRVM.mjs";
|
|
9
9
|
import "../../chunk-2GCSFWHD.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-QR5CKZLL.mjs";
|
|
11
11
|
import "../../chunk-DQRAFUDA.mjs";
|
|
12
12
|
import "../../chunk-EWS3FESG.mjs";
|
|
13
13
|
import "../../chunk-QZ3LVYJW.mjs";
|
package/dist/index.js
CHANGED
|
@@ -7110,7 +7110,7 @@ var Input = (0, import_react11.forwardRef)((originalProps, ref) => {
|
|
|
7110
7110
|
),
|
|
7111
7111
|
size: originalProps.size
|
|
7112
7112
|
}),
|
|
7113
|
-
[slots, classNames, originalProps.size]
|
|
7113
|
+
[slots, classNames, originalProps.size, inputProps.readOnly]
|
|
7114
7114
|
);
|
|
7115
7115
|
const renderStartContent = () => {
|
|
7116
7116
|
if ((0, import_react11.isValidElement)(startContent)) {
|
|
@@ -7233,31 +7233,22 @@ var inputStyle = tv(
|
|
|
7233
7233
|
"placeholder:text-neutral-main",
|
|
7234
7234
|
"outline-none",
|
|
7235
7235
|
"focus:ring-0",
|
|
7236
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
7237
|
-
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
7238
|
-
"group-has-[:focus]/input:text-neutral-dark",
|
|
7239
|
-
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
7240
|
-
"
|
|
7241
|
-
"
|
|
7242
|
-
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
7236
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
7237
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
|
|
7238
|
+
"group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
|
|
7239
|
+
"group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
|
|
7240
|
+
"read-only:!text-body-foreground",
|
|
7241
|
+
"read-only:placeholder:!text-body-foreground"
|
|
7243
7242
|
],
|
|
7244
7243
|
content: [
|
|
7245
7244
|
"flex",
|
|
7246
7245
|
"items-center",
|
|
7247
7246
|
"select-none",
|
|
7248
7247
|
"text-neutral-main",
|
|
7249
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
7250
|
-
"
|
|
7251
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
7252
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
7253
|
-
],
|
|
7254
|
-
helperMessage: [
|
|
7255
|
-
"text-neutral-main",
|
|
7256
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
7257
|
-
"group-has-[p.error]/input:text-danger-main",
|
|
7258
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
7259
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
7248
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
7249
|
+
"read-only:!text-body-foreground"
|
|
7260
7250
|
],
|
|
7251
|
+
helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
|
|
7261
7252
|
errorMessage: ["text-danger-main"],
|
|
7262
7253
|
readonlyWrapper: [
|
|
7263
7254
|
"pointer-events-none",
|
|
@@ -7266,7 +7257,7 @@ var inputStyle = tv(
|
|
|
7266
7257
|
"[&>input]:text-body-foreground",
|
|
7267
7258
|
"[&>input]:placeholder:text-body-foreground"
|
|
7268
7259
|
],
|
|
7269
|
-
readonly: []
|
|
7260
|
+
readonly: ["text-body-foreground"]
|
|
7270
7261
|
},
|
|
7271
7262
|
variants: {
|
|
7272
7263
|
variant: {
|
|
@@ -7277,8 +7268,8 @@ var inputStyle = tv(
|
|
|
7277
7268
|
outline: {
|
|
7278
7269
|
inputWrapper: [
|
|
7279
7270
|
"border-neutral-light",
|
|
7280
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
7281
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
7271
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
7272
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
7282
7273
|
"group-has-[p.error]/input:border-danger-main"
|
|
7283
7274
|
],
|
|
7284
7275
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -7287,8 +7278,8 @@ var inputStyle = tv(
|
|
|
7287
7278
|
inputWrapper: [
|
|
7288
7279
|
"bg-transparent",
|
|
7289
7280
|
"rounded-none",
|
|
7290
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
7291
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
7281
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
7282
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
7292
7283
|
"group-has-[p.error]/input:border-danger-main"
|
|
7293
7284
|
],
|
|
7294
7285
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -7296,22 +7287,13 @@ var inputStyle = tv(
|
|
|
7296
7287
|
},
|
|
7297
7288
|
color: {
|
|
7298
7289
|
primary: {
|
|
7299
|
-
content: ["group-has-[:focus]/input:text-primary-main", "
|
|
7300
|
-
helperMessage: [
|
|
7301
|
-
"group-has-[:focus]/input:text-primary-main",
|
|
7302
|
-
"group-has-[:focus]/input:hover:text-primary-main"
|
|
7303
|
-
],
|
|
7290
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
|
|
7291
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
|
|
7304
7292
|
readonly: ["text-primary-main"]
|
|
7305
7293
|
},
|
|
7306
7294
|
secondary: {
|
|
7307
|
-
content: [
|
|
7308
|
-
|
|
7309
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
7310
|
-
],
|
|
7311
|
-
helperMessage: [
|
|
7312
|
-
"group-has-[:focus]/input:text-secondary-main",
|
|
7313
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
7314
|
-
],
|
|
7295
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
|
|
7296
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
|
|
7315
7297
|
readonly: ["text-secondary-main"]
|
|
7316
7298
|
}
|
|
7317
7299
|
},
|
|
@@ -7362,14 +7344,9 @@ var inputStyle = tv(
|
|
|
7362
7344
|
},
|
|
7363
7345
|
disabled: {
|
|
7364
7346
|
true: {
|
|
7365
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"
|
|
7366
|
-
input: [
|
|
7367
|
-
|
|
7368
|
-
"placeholder:!text-neutral-light",
|
|
7369
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
7370
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
7371
|
-
],
|
|
7372
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
7347
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
|
|
7348
|
+
input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
|
|
7349
|
+
content: ["!text-neutral-light"],
|
|
7373
7350
|
helperMessage: ["!text-neutral-light"],
|
|
7374
7351
|
errorMessage: ["!text-danger-light"]
|
|
7375
7352
|
}
|
|
@@ -7377,11 +7354,9 @@ var inputStyle = tv(
|
|
|
7377
7354
|
readonly: {
|
|
7378
7355
|
true: {
|
|
7379
7356
|
readonlyWrapper: ["pointer-events-none"],
|
|
7380
|
-
input: [
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
],
|
|
7384
|
-
content: ["group-has-[p.error]/input:!text-danger-main"]
|
|
7357
|
+
input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
|
|
7358
|
+
content: ["!text-body-foreground"],
|
|
7359
|
+
helperMessage: ["!text-body-foreground"]
|
|
7385
7360
|
}
|
|
7386
7361
|
}
|
|
7387
7362
|
},
|
|
@@ -7442,17 +7417,6 @@ var inputStyle = tv(
|
|
|
7442
7417
|
inputWrapper: ["border-b-xl"]
|
|
7443
7418
|
}
|
|
7444
7419
|
},
|
|
7445
|
-
{
|
|
7446
|
-
disabled: true,
|
|
7447
|
-
variant: ["outline", "underline"],
|
|
7448
|
-
class: {
|
|
7449
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
7450
|
-
content: [
|
|
7451
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
7452
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
7453
|
-
]
|
|
7454
|
-
}
|
|
7455
|
-
},
|
|
7456
7420
|
{
|
|
7457
7421
|
readonly: true,
|
|
7458
7422
|
color: "primary",
|
|
@@ -7468,6 +7432,37 @@ var inputStyle = tv(
|
|
|
7468
7432
|
input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
|
|
7469
7433
|
content: ["!text-secondary-main"]
|
|
7470
7434
|
}
|
|
7435
|
+
},
|
|
7436
|
+
{
|
|
7437
|
+
disabled: true,
|
|
7438
|
+
class: {
|
|
7439
|
+
input: [
|
|
7440
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
7441
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
7442
|
+
],
|
|
7443
|
+
content: ["group-has-[p.error]/input:!text-danger-light"],
|
|
7444
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
|
|
7445
|
+
errorMessage: ["!text-danger-light"]
|
|
7446
|
+
}
|
|
7447
|
+
},
|
|
7448
|
+
{
|
|
7449
|
+
disabled: true,
|
|
7450
|
+
variant: ["outline", "underline"],
|
|
7451
|
+
class: {
|
|
7452
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
|
|
7453
|
+
}
|
|
7454
|
+
},
|
|
7455
|
+
{
|
|
7456
|
+
disabled: false,
|
|
7457
|
+
class: {
|
|
7458
|
+
input: [
|
|
7459
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
7460
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main"
|
|
7461
|
+
],
|
|
7462
|
+
content: ["group-has-[p.error]/input:!text-danger-main"],
|
|
7463
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
|
|
7464
|
+
errorMessage: ["!text-danger-main"]
|
|
7465
|
+
}
|
|
7471
7466
|
}
|
|
7472
7467
|
],
|
|
7473
7468
|
defaultVariants: {
|
package/dist/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-JZMJ5UMR.mjs";
|
|
29
29
|
import {
|
|
30
30
|
table_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OY5W6JCO.mjs";
|
|
32
32
|
import "./chunk-3MY6LO7N.mjs";
|
|
33
33
|
import {
|
|
34
34
|
tabs_default
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
import "./chunk-7B7LRG5J.mjs";
|
|
53
53
|
import {
|
|
54
54
|
pagination_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-7QL54JRV.mjs";
|
|
56
56
|
import "./chunk-F3HENRVM.mjs";
|
|
57
57
|
import "./chunk-4VWG4726.mjs";
|
|
58
58
|
import {
|
|
59
59
|
datePicker_default
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-OBOPDVVM.mjs";
|
|
61
61
|
import {
|
|
62
62
|
day_default
|
|
63
63
|
} from "./chunk-4DESGO3D.mjs";
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
import "./chunk-RLXOHILK.mjs";
|
|
92
92
|
import {
|
|
93
93
|
fileUpload_default
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-SFA2DEUD.mjs";
|
|
95
95
|
import "./chunk-7VOQKIIK.mjs";
|
|
96
96
|
import {
|
|
97
97
|
progress_default
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
import "./chunk-2GCSFWHD.mjs";
|
|
100
100
|
import {
|
|
101
101
|
input_default
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-QR5CKZLL.mjs";
|
|
103
103
|
import "./chunk-VYNBJBXD.mjs";
|
|
104
104
|
import {
|
|
105
105
|
areaChart_default
|