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