@deepnoid/ui 0.1.2 → 0.1.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/.turbo/turbo-build.log +146 -146
- package/dist/{chunk-TMSBICKB.mjs → chunk-J7IAY6UH.mjs} +1 -1
- package/dist/{chunk-DNFBQYVG.mjs → chunk-SSEQSF5F.mjs} +1 -1
- package/dist/chunk-TDJJRQDC.mjs +343 -0
- package/dist/{chunk-OELLMF2V.mjs → chunk-WPUTPWQ4.mjs} +1 -1
- package/dist/{chunk-VP3NVHFU.mjs → chunk-YCMZELLD.mjs} +1 -1
- package/dist/components/dateTimePicker/dateTimePicker.mjs +4 -4
- package/dist/components/dateTimePicker/index.mjs +4 -4
- package/dist/components/dateTimePicker/timePicker.mjs +3 -3
- package/dist/components/input/index.js +212 -154
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.js +212 -154
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/list/index.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/pagination/index.js +212 -154
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination.js +212 -154
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/table/index.js +212 -154
- package/dist/components/table/index.mjs +4 -4
- package/dist/components/table/table.js +212 -154
- package/dist/components/table/table.mjs +4 -4
- package/dist/index.js +212 -154
- package/dist/index.mjs +45 -45
- package/package.json +1 -1
- package/dist/chunk-OYNGJ33M.mjs +0 -285
- package/dist/{chunk-KWWYMTJP.mjs → chunk-AYWI2CRE.mjs} +3 -3
|
@@ -4482,172 +4482,230 @@ var Input = (0, import_react5.forwardRef)((originalProps, ref) => {
|
|
|
4482
4482
|
});
|
|
4483
4483
|
Input.displayName = "Input";
|
|
4484
4484
|
var input_default = Input;
|
|
4485
|
-
var inputStyle = tv(
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4485
|
+
var inputStyle = tv(
|
|
4486
|
+
{
|
|
4487
|
+
slots: {
|
|
4488
|
+
base: ["group/input", "flex"],
|
|
4489
|
+
vertical: ["flex-col"],
|
|
4490
|
+
horizon: ["flex-row", "gap-0"],
|
|
4491
|
+
label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
|
|
4492
|
+
innerWrapper: ["flex", "flex-col"],
|
|
4493
|
+
inputWrapper: ["flex", "items-center", "duration-200", "group-has-[.error]/input:bg-danger-soft"],
|
|
4494
|
+
input: [
|
|
4495
|
+
"w-full",
|
|
4496
|
+
"h-full",
|
|
4497
|
+
"bg-transparent",
|
|
4498
|
+
"text-neutral-main",
|
|
4499
|
+
"placeholder:text-neutral-main",
|
|
4500
|
+
"outline-none",
|
|
4501
|
+
"focus:ring-0",
|
|
4502
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
4503
|
+
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
4504
|
+
"group-has-[:focus]/input:text-neutral-dark",
|
|
4505
|
+
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
4506
|
+
"group-has-[.error]/input:text-danger-main",
|
|
4507
|
+
"group-has-[.error]/input:placeholder:text-danger-main"
|
|
4508
|
+
],
|
|
4509
|
+
content: [
|
|
4510
|
+
"flex",
|
|
4511
|
+
"items-center",
|
|
4512
|
+
"select-none",
|
|
4513
|
+
"text-neutral-main",
|
|
4514
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
4515
|
+
"group-has-[.error]/input:text-danger-main"
|
|
4516
|
+
],
|
|
4517
|
+
helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
|
|
4518
|
+
errorText: ["text-danger-main"],
|
|
4519
|
+
readonly: ["pointer-events-none"]
|
|
4520
|
+
},
|
|
4521
|
+
variants: {
|
|
4522
|
+
variant: {
|
|
4523
|
+
solid: {
|
|
4524
|
+
inputWrapper: ["border-transparent", "bg-trans-soft"],
|
|
4525
|
+
readonly: ["!bg-trans-light"]
|
|
4526
|
+
},
|
|
4527
|
+
outline: {
|
|
4528
|
+
inputWrapper: [
|
|
4529
|
+
"border-neutral-light",
|
|
4530
|
+
"group-has-[:hover]/input:bg-trans-soft",
|
|
4531
|
+
"group-has-[:focus]/input:bg-body-background",
|
|
4532
|
+
"group-has-[.error]/input:border-danger-main"
|
|
4533
|
+
],
|
|
4534
|
+
readonly: ["!bg-trans-soft"]
|
|
4535
|
+
},
|
|
4536
|
+
underline: {
|
|
4537
|
+
inputWrapper: [
|
|
4538
|
+
"bg-transparent",
|
|
4539
|
+
"rounded-none",
|
|
4540
|
+
"group-has-[:hover]/input:bg-trans-soft",
|
|
4541
|
+
"group-has-[:focus]/input:bg-body-background",
|
|
4542
|
+
"group-has-[.error]/input:border-danger-main"
|
|
4543
|
+
],
|
|
4544
|
+
readonly: ["!bg-trans-soft"]
|
|
4545
|
+
}
|
|
4525
4546
|
},
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4547
|
+
color: {
|
|
4548
|
+
primary: {
|
|
4549
|
+
content: [
|
|
4550
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
4551
|
+
"!group-has-[.error]:not(input:focus):hover/input:text-primary-main"
|
|
4552
|
+
],
|
|
4553
|
+
helperText: [
|
|
4554
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
4555
|
+
"group-has-[:focus:hover]/input:text-primary-main",
|
|
4556
|
+
"group-has-[:focus]/input:hover:text-primary-main"
|
|
4557
|
+
]
|
|
4558
|
+
},
|
|
4559
|
+
secondary: {
|
|
4560
|
+
content: [
|
|
4561
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
4562
|
+
"group-has-[:focus:hover]/input:text-secondary-main"
|
|
4563
|
+
],
|
|
4564
|
+
helperText: [
|
|
4565
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
4566
|
+
"group-has-[:focus:hover]/input:text-secondary-main",
|
|
4567
|
+
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
4568
|
+
]
|
|
4569
|
+
}
|
|
4534
4570
|
},
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
"
|
|
4538
|
-
"
|
|
4539
|
-
"
|
|
4540
|
-
"
|
|
4541
|
-
"
|
|
4542
|
-
"
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
"
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
"
|
|
4557
|
-
"
|
|
4558
|
-
"
|
|
4559
|
-
|
|
4571
|
+
size: {
|
|
4572
|
+
sm: {
|
|
4573
|
+
base: ["text-sm", "gap-[4px]"],
|
|
4574
|
+
label: ["text-sm"],
|
|
4575
|
+
innerWrapper: ["gap-[4px]"],
|
|
4576
|
+
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]"],
|
|
4577
|
+
helperText: ["text-sm"],
|
|
4578
|
+
errorText: ["text-sm"]
|
|
4579
|
+
},
|
|
4580
|
+
md: {
|
|
4581
|
+
base: ["text-md", "gap-[6px]"],
|
|
4582
|
+
label: ["text-md"],
|
|
4583
|
+
innerWrapper: ["gap-[6px]"],
|
|
4584
|
+
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]"],
|
|
4585
|
+
helperText: ["text-sm"],
|
|
4586
|
+
errorText: ["text-sm"]
|
|
4587
|
+
},
|
|
4588
|
+
lg: {
|
|
4589
|
+
base: ["text-lg", "gap-[8px]"],
|
|
4590
|
+
label: ["text-lg"],
|
|
4591
|
+
innerWrapper: ["gap-[8px]"],
|
|
4592
|
+
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]"],
|
|
4593
|
+
helperText: ["text-md"],
|
|
4594
|
+
errorText: ["text-md"]
|
|
4595
|
+
},
|
|
4596
|
+
xl: {
|
|
4597
|
+
base: ["text-xl", "gap-[10px]"],
|
|
4598
|
+
label: ["text-xl"],
|
|
4599
|
+
innerWrapper: ["gap-[10px]"],
|
|
4600
|
+
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]"],
|
|
4601
|
+
helperText: ["text-md"],
|
|
4602
|
+
errorText: ["text-md"]
|
|
4603
|
+
}
|
|
4560
4604
|
},
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
"
|
|
4568
|
-
"
|
|
4569
|
-
"
|
|
4570
|
-
|
|
4605
|
+
direction: {
|
|
4606
|
+
vertical: "",
|
|
4607
|
+
horizon: ""
|
|
4608
|
+
},
|
|
4609
|
+
full: {
|
|
4610
|
+
true: {
|
|
4611
|
+
base: ["w-full"],
|
|
4612
|
+
innerWrapper: ["flex-1"],
|
|
4613
|
+
inputWrapper: ["w-full"]
|
|
4614
|
+
}
|
|
4615
|
+
},
|
|
4616
|
+
disabled: {
|
|
4617
|
+
true: {
|
|
4618
|
+
inputWrapper: ["bg-neutral-soft", "pointer-events-none", "group-has-[.error]/input:text-danger-light"],
|
|
4619
|
+
input: [
|
|
4620
|
+
"text-neutral-light",
|
|
4621
|
+
"placeholder:text-neutral-light",
|
|
4622
|
+
"group-has-[.error]/input:text-danger-light",
|
|
4623
|
+
"group-has-[.error]/input:placeholder:text-danger-light"
|
|
4624
|
+
],
|
|
4625
|
+
content: ["text-neutral-light", "group-has-[.error]/input:text-danger-light"],
|
|
4626
|
+
helperText: ["!text-neutral-light"],
|
|
4627
|
+
errorText: ["!text-danger-light"]
|
|
4628
|
+
}
|
|
4571
4629
|
}
|
|
4572
4630
|
},
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
errorText: ["text-sm"]
|
|
4631
|
+
compoundVariants: [
|
|
4632
|
+
{
|
|
4633
|
+
variant: "outline",
|
|
4634
|
+
size: "sm",
|
|
4635
|
+
class: {
|
|
4636
|
+
inputWrapper: ["border-sm"]
|
|
4637
|
+
}
|
|
4581
4638
|
},
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
errorText: ["text-sm"]
|
|
4639
|
+
{
|
|
4640
|
+
variant: "outline",
|
|
4641
|
+
size: "md",
|
|
4642
|
+
class: {
|
|
4643
|
+
inputWrapper: ["border-md"]
|
|
4644
|
+
}
|
|
4589
4645
|
},
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
errorText: ["text-md"]
|
|
4646
|
+
{
|
|
4647
|
+
variant: "outline",
|
|
4648
|
+
size: "lg",
|
|
4649
|
+
class: {
|
|
4650
|
+
inputWrapper: ["border-lg"]
|
|
4651
|
+
}
|
|
4597
4652
|
},
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
"
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4653
|
+
{
|
|
4654
|
+
variant: "outline",
|
|
4655
|
+
size: "xl",
|
|
4656
|
+
class: {
|
|
4657
|
+
inputWrapper: ["border-xl"]
|
|
4658
|
+
}
|
|
4659
|
+
},
|
|
4660
|
+
{
|
|
4661
|
+
variant: "underline",
|
|
4662
|
+
size: "sm",
|
|
4663
|
+
class: {
|
|
4664
|
+
inputWrapper: ["border-b-sm"]
|
|
4665
|
+
}
|
|
4666
|
+
},
|
|
4667
|
+
{
|
|
4668
|
+
variant: "underline",
|
|
4669
|
+
size: "md",
|
|
4670
|
+
class: {
|
|
4671
|
+
inputWrapper: ["border-b-md"]
|
|
4672
|
+
}
|
|
4673
|
+
},
|
|
4674
|
+
{
|
|
4675
|
+
variant: "underline",
|
|
4676
|
+
size: "lg",
|
|
4677
|
+
class: {
|
|
4678
|
+
inputWrapper: ["border-b-lg"]
|
|
4679
|
+
}
|
|
4680
|
+
},
|
|
4681
|
+
{
|
|
4682
|
+
variant: "underline",
|
|
4683
|
+
size: "xl",
|
|
4684
|
+
class: {
|
|
4685
|
+
inputWrapper: ["border-b-xl"]
|
|
4686
|
+
}
|
|
4687
|
+
},
|
|
4688
|
+
{
|
|
4689
|
+
disabled: true,
|
|
4690
|
+
variant: ["outline", "underline"],
|
|
4691
|
+
class: {
|
|
4692
|
+
inputWrapper: ["!bg-body-background", "group-has-[.error]/input:border-danger-light"]
|
|
4693
|
+
}
|
|
4630
4694
|
}
|
|
4695
|
+
],
|
|
4696
|
+
defaultVariants: {
|
|
4697
|
+
variant: "solid",
|
|
4698
|
+
color: "primary",
|
|
4699
|
+
size: "md",
|
|
4700
|
+
direction: "vertical",
|
|
4701
|
+
disabled: false,
|
|
4702
|
+
readonly: false
|
|
4631
4703
|
}
|
|
4632
4704
|
},
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
disabled: true,
|
|
4636
|
-
variant: ["outline", "underline"],
|
|
4637
|
-
class: {
|
|
4638
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
|
|
4639
|
-
}
|
|
4640
|
-
}
|
|
4641
|
-
],
|
|
4642
|
-
defaultVariants: {
|
|
4643
|
-
variant: "solid",
|
|
4644
|
-
color: "primary",
|
|
4645
|
-
size: "md",
|
|
4646
|
-
direction: "vertical",
|
|
4647
|
-
disabled: false,
|
|
4648
|
-
readonly: false
|
|
4705
|
+
{
|
|
4706
|
+
twMerge: false
|
|
4649
4707
|
}
|
|
4650
|
-
|
|
4708
|
+
);
|
|
4651
4709
|
|
|
4652
4710
|
// src/components/pagination/pagination.tsx
|
|
4653
4711
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import "../../chunk-2UUH2MBF.mjs";
|
|
3
3
|
import {
|
|
4
4
|
table_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-J7IAY6UH.mjs";
|
|
6
6
|
import "../../chunk-M2IRRTFM.mjs";
|
|
7
7
|
import "../../chunk-OQS4LGZK.mjs";
|
|
8
8
|
import "../../chunk-7B7LRG5J.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-WPUTPWQ4.mjs";
|
|
10
10
|
import "../../chunk-F3HENRVM.mjs";
|
|
11
|
+
import "../../chunk-2GCSFWHD.mjs";
|
|
12
|
+
import "../../chunk-TDJJRQDC.mjs";
|
|
11
13
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
12
14
|
import "../../chunk-J5WJD6XZ.mjs";
|
|
13
|
-
import "../../chunk-2GCSFWHD.mjs";
|
|
14
|
-
import "../../chunk-OYNGJ33M.mjs";
|
|
15
15
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
16
16
|
import "../../chunk-24NQEB73.mjs";
|
|
17
17
|
import "../../chunk-P2TMIZRH.mjs";
|