@deepnoid/ui 0.1.1 → 0.1.3

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.
@@ -4454,7 +4454,7 @@ var Input = (0, import_react5.forwardRef)((originalProps, ref) => {
4454
4454
  {
4455
4455
  className: clsx(
4456
4456
  slots.base({ class: classNames == null ? void 0 : classNames.base }),
4457
- variantProps.direction === "vertical" ? slots.vertical({ class: classNames == null ? void 0 : classNames.vertical }) : slots.horizon({ class: classNames == null ? void 0 : classNames.horizon })
4457
+ variantProps.direction === "horizon" ? slots.horizon({ class: classNames == null ? void 0 : classNames.horizon }) : slots.vertical({ class: classNames == null ? void 0 : classNames.vertical })
4458
4458
  ),
4459
4459
  children: [
4460
4460
  label && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("label", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
@@ -4482,172 +4482,179 @@ 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", "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"]
4525
- },
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"]
4534
- },
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
- }
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-[p.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-[p.error]/input:text-danger-main",
4507
+ "group-has-[p.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-[p.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"]
4548
4520
  },
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
- ]
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-[p.error]/input:border-danger-main"
4533
+ ],
4534
+ readonly: ["!bg-trans-soft"]
4535
+ },
4536
+ underline: {
4537
+ inputWrapper: [
4538
+ "bg-transparent",
4539
+ "rounded-none",
4540
+ "!border-t-transparent",
4541
+ "!border-l-transparent",
4542
+ "!border-r-transparent",
4543
+ "group-has-[:hover]/input:bg-trans-soft",
4544
+ "group-has-[:focus]/input:bg-body-background",
4545
+ "group-has-[p.error]/input:border-danger-main"
4546
+ ],
4547
+ readonly: ["!bg-trans-soft"]
4548
+ }
4560
4549
  },
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
- ]
4571
- }
4572
- },
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"]
4550
+ color: {
4551
+ primary: {
4552
+ content: [
4553
+ "group-has-[:focus]/input:text-primary-main",
4554
+ "group-has-[:focus:hover]/input:text-primary-main",
4555
+ "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4556
+ ],
4557
+ helperText: [
4558
+ "group-has-[:focus]/input:text-primary-main",
4559
+ "group-has-[:focus:hover]/input:text-primary-main",
4560
+ "group-has-[:focus]/input:hover:text-primary-main"
4561
+ ]
4562
+ },
4563
+ secondary: {
4564
+ content: [
4565
+ "group-has-[:focus]/input:text-secondary-main",
4566
+ "group-has-[:focus:hover]/input:text-secondary-main",
4567
+ "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4568
+ ],
4569
+ helperText: [
4570
+ "group-has-[:focus]/input:text-secondary-main",
4571
+ "group-has-[:focus:hover]/input:text-secondary-main",
4572
+ "group-has-[:focus]/input:hover:text-secondary-main"
4573
+ ]
4574
+ }
4581
4575
  },
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"]
4576
+ size: {
4577
+ sm: {
4578
+ base: ["text-sm", "gap-[4px]"],
4579
+ label: ["text-sm"],
4580
+ innerWrapper: ["gap-[4px]"],
4581
+ inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]", "border-sm"],
4582
+ helperText: ["text-sm"],
4583
+ errorText: ["text-sm"]
4584
+ },
4585
+ md: {
4586
+ base: ["text-md", "gap-[6px]"],
4587
+ label: ["text-md"],
4588
+ innerWrapper: ["gap-[6px]"],
4589
+ inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]", "border-md"],
4590
+ helperText: ["text-sm"],
4591
+ errorText: ["text-sm"]
4592
+ },
4593
+ lg: {
4594
+ base: ["text-lg", "gap-[8px]"],
4595
+ label: ["text-lg"],
4596
+ innerWrapper: ["gap-[8px]"],
4597
+ inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]", "border-lg"],
4598
+ helperText: ["text-md"],
4599
+ errorText: ["text-md"]
4600
+ },
4601
+ xl: {
4602
+ base: ["text-xl", "gap-[10px]"],
4603
+ label: ["text-xl"],
4604
+ innerWrapper: ["gap-[10px]"],
4605
+ inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]", "border-xl"],
4606
+ helperText: ["text-md"],
4607
+ errorText: ["text-md"]
4608
+ }
4589
4609
  },
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"]
4610
+ direction: {
4611
+ vertical: "",
4612
+ horizon: ""
4597
4613
  },
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"]
4614
+ full: {
4615
+ true: {
4616
+ base: ["w-full"],
4617
+ innerWrapper: ["flex-1"],
4618
+ inputWrapper: ["w-full"]
4619
+ }
4620
+ },
4621
+ disabled: {
4622
+ true: {
4623
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
4624
+ input: [
4625
+ "text-neutral-light",
4626
+ "placeholder:text-neutral-light",
4627
+ "group-has-[p.error]/input:text-danger-light",
4628
+ "group-has-[p.error]/input:placeholder:text-danger-light"
4629
+ ],
4630
+ content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4631
+ helperText: ["!text-neutral-light"],
4632
+ errorText: ["!text-danger-light"]
4633
+ }
4616
4634
  }
4617
4635
  },
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"]
4636
+ compoundVariants: [
4637
+ {
4638
+ disabled: true,
4639
+ variant: ["outline", "underline"],
4640
+ class: {
4641
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
4642
+ }
4630
4643
  }
4644
+ ],
4645
+ defaultVariants: {
4646
+ variant: "solid",
4647
+ color: "primary",
4648
+ size: "md",
4649
+ direction: "vertical",
4650
+ disabled: false,
4651
+ readonly: false
4631
4652
  }
4632
4653
  },
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
4654
+ {
4655
+ twMerge: false
4649
4656
  }
4650
- });
4657
+ );
4651
4658
 
4652
4659
  // src/components/pagination/pagination.tsx
4653
4660
  var import_jsx_runtime7 = require("react/jsx-runtime");
@@ -2,14 +2,14 @@
2
2
  import "../../chunk-2UUH2MBF.mjs";
3
3
  import {
4
4
  table_default
5
- } from "../../chunk-SPX2BHO2.mjs";
5
+ } from "../../chunk-L6XWAHH5.mjs";
6
6
  import "../../chunk-M2IRRTFM.mjs";
7
7
  import "../../chunk-OQS4LGZK.mjs";
8
8
  import "../../chunk-7B7LRG5J.mjs";
9
- import "../../chunk-DUOYMLZL.mjs";
10
- import "../../chunk-2GCSFWHD.mjs";
11
- import "../../chunk-RT5NKQX4.mjs";
9
+ import "../../chunk-X7FHRV4S.mjs";
12
10
  import "../../chunk-F3HENRVM.mjs";
11
+ import "../../chunk-2GCSFWHD.mjs";
12
+ import "../../chunk-B6CXZCXQ.mjs";
13
13
  import "../../chunk-QZ3LVYJW.mjs";
14
14
  import "../../chunk-J5WJD6XZ.mjs";
15
15
  import "../../chunk-ZYIIXWVY.mjs";