@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.
@@ -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
- slots: {
4487
- base: ["group/input", "flex"],
4488
- vertical: ["flex-col"],
4489
- horizon: ["flex-row", "gap-0"],
4490
- label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
4491
- innerWrapper: ["flex", "flex-col"],
4492
- inputWrapper: ["flex", "items-center", "transition", "duration-200", "group-has-[p.error]/input:bg-danger-soft"],
4493
- input: [
4494
- "w-full",
4495
- "h-full",
4496
- "bg-transparent",
4497
- "text-neutral-main",
4498
- "placeholder:text-neutral-main",
4499
- "focus:outline-none",
4500
- "focus:ring-0",
4501
- "group-has-[:hover]/input:text-neutral-dark",
4502
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
4503
- "group-has-[:focus]/input:text-neutral-dark",
4504
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
4505
- "group-has-[p.error]/input:text-danger-main",
4506
- "group-has-[p.error]/input:placeholder:text-danger-main"
4507
- ],
4508
- content: [
4509
- "flex",
4510
- "items-center",
4511
- "select-none",
4512
- "text-neutral-main",
4513
- "group-has-[:hover]/input:text-neutral-dark",
4514
- "group-has-[p.error]/input:text-danger-main"
4515
- ],
4516
- helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4517
- errorText: ["text-danger-main"],
4518
- readonly: ["pointer-events-none"]
4519
- },
4520
- variants: {
4521
- variant: {
4522
- solid: {
4523
- inputWrapper: ["!border-transparent", "bg-trans-soft", "group-has-[:focus]/input:text-body-foreground"],
4524
- readonly: ["!bg-trans-light"]
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
- outline: {
4527
- inputWrapper: [
4528
- "border-neutral-light",
4529
- "group-has-[:hover]/input:bg-trans-soft",
4530
- "group-has-[:focus]/input:bg-body-background",
4531
- "group-has-[p.error]/input:border-danger-main"
4532
- ],
4533
- readonly: ["!bg-trans-soft"]
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
- underline: {
4536
- inputWrapper: [
4537
- "bg-transparent",
4538
- "!rounded-none",
4539
- "!border-t-transparent",
4540
- "!border-l-transparent",
4541
- "!border-r-transparent",
4542
- "group-has-[:hover]/input:bg-trans-soft",
4543
- "group-has-[:focus]/input:bg-body-background",
4544
- "group-has-[p.error]/input:border-danger-main"
4545
- ],
4546
- readonly: ["!bg-trans-soft"]
4547
- }
4548
- },
4549
- color: {
4550
- primary: {
4551
- content: [
4552
- "group-has-[:focus]/input:text-primary-main",
4553
- "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4554
- ],
4555
- helperText: [
4556
- "group-has-[:focus]/input:text-primary-main",
4557
- "group-has-[:focus:hover]/input:text-primary-main",
4558
- "group-has-[:focus]/input:hover:text-primary-main"
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
- secondary: {
4562
- content: [
4563
- "group-has-[:focus]/input:text-secondary-main",
4564
- "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4565
- ],
4566
- helperText: [
4567
- "group-has-[:focus]/input:text-secondary-main",
4568
- "group-has-[:focus:hover]/input:text-secondary-main",
4569
- "group-has-[:focus]/input:hover:text-secondary-main"
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
- size: {
4574
- sm: {
4575
- base: ["text-sm", "gap-[4px]"],
4576
- label: ["text-sm"],
4577
- innerWrapper: ["gap-[4px]"],
4578
- inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "border-sm"],
4579
- helperText: ["text-sm"],
4580
- errorText: ["text-sm"]
4631
+ compoundVariants: [
4632
+ {
4633
+ variant: "outline",
4634
+ size: "sm",
4635
+ class: {
4636
+ inputWrapper: ["border-sm"]
4637
+ }
4581
4638
  },
4582
- md: {
4583
- base: ["text-md", "gap-[6px]"],
4584
- label: ["text-md"],
4585
- innerWrapper: ["gap-[6px]"],
4586
- inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "border-md"],
4587
- helperText: ["text-sm"],
4588
- errorText: ["text-sm"]
4639
+ {
4640
+ variant: "outline",
4641
+ size: "md",
4642
+ class: {
4643
+ inputWrapper: ["border-md"]
4644
+ }
4589
4645
  },
4590
- lg: {
4591
- base: ["text-lg", "gap-[8px]"],
4592
- label: ["text-lg"],
4593
- innerWrapper: ["gap-[8px]"],
4594
- inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "border-lg"],
4595
- helperText: ["text-md"],
4596
- errorText: ["text-md"]
4646
+ {
4647
+ variant: "outline",
4648
+ size: "lg",
4649
+ class: {
4650
+ inputWrapper: ["border-lg"]
4651
+ }
4597
4652
  },
4598
- xl: {
4599
- base: ["text-xl", "gap-[10px]"],
4600
- label: ["text-xl"],
4601
- innerWrapper: ["gap-[10px]"],
4602
- inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "border-xl"],
4603
- helperText: ["text-md"],
4604
- errorText: ["text-md"]
4605
- }
4606
- },
4607
- direction: {
4608
- vertical: "",
4609
- horizon: ""
4610
- },
4611
- full: {
4612
- true: {
4613
- base: ["w-full"],
4614
- innerWrapper: ["flex-1"],
4615
- inputWrapper: ["w-full"]
4616
- }
4617
- },
4618
- disabled: {
4619
- true: {
4620
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
4621
- input: [
4622
- "text-neutral-light",
4623
- "placeholder:text-neutral-light",
4624
- "group-has-[p.error]/input:text-danger-light",
4625
- "group-has-[p.error]/input:placeholder:text-danger-light"
4626
- ],
4627
- content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4628
- helperText: ["!text-neutral-light"],
4629
- errorText: ["!text-danger-light"]
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
- compoundVariants: [
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-TMSBICKB.mjs";
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-OELLMF2V.mjs";
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";