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