@deepnoid/ui 0.1.30 → 0.1.32

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.
Files changed (46) hide show
  1. package/.turbo/turbo-build.log +135 -135
  2. package/dist/chunk-62X5AX5B.mjs +297 -0
  3. package/dist/{chunk-VCVQMPC7.mjs → chunk-AIIMJZ7L.mjs} +69 -39
  4. package/dist/{chunk-NKH3OF6I.mjs → chunk-BCMVEGJG.mjs} +1 -1
  5. package/dist/{chunk-QM4ZSQYX.mjs → chunk-CVQM3T2X.mjs} +1 -1
  6. package/dist/{chunk-272FMLIL.mjs → chunk-IEJRE6LT.mjs} +7 -4
  7. package/dist/{chunk-CEZQCD6Z.mjs → chunk-LWRK5TPZ.mjs} +12 -11
  8. package/dist/{chunk-GLMM253Q.mjs → chunk-P67LLF3G.mjs} +5 -5
  9. package/dist/components/fileUpload/fileUpload.js +62 -39
  10. package/dist/components/fileUpload/fileUpload.mjs +2 -2
  11. package/dist/components/fileUpload/index.js +62 -39
  12. package/dist/components/fileUpload/index.mjs +2 -2
  13. package/dist/components/input/index.js +62 -39
  14. package/dist/components/input/index.mjs +1 -1
  15. package/dist/components/input/input.d.mts +21 -14
  16. package/dist/components/input/input.d.ts +21 -14
  17. package/dist/components/input/input.js +62 -39
  18. package/dist/components/input/input.mjs +1 -1
  19. package/dist/components/pagination/index.js +62 -39
  20. package/dist/components/pagination/index.mjs +2 -2
  21. package/dist/components/pagination/pagination.js +62 -39
  22. package/dist/components/pagination/pagination.mjs +2 -2
  23. package/dist/components/select/index.js +7 -4
  24. package/dist/components/select/index.mjs +1 -1
  25. package/dist/components/select/select.d.mts +9 -0
  26. package/dist/components/select/select.d.ts +9 -0
  27. package/dist/components/select/select.js +7 -4
  28. package/dist/components/select/select.mjs +1 -1
  29. package/dist/components/table/index.js +77 -53
  30. package/dist/components/table/index.mjs +4 -4
  31. package/dist/components/table/table-body.js +12 -11
  32. package/dist/components/table/table-body.mjs +1 -1
  33. package/dist/components/table/table.d.mts +2 -1
  34. package/dist/components/table/table.d.ts +2 -1
  35. package/dist/components/table/table.js +77 -53
  36. package/dist/components/table/table.mjs +4 -4
  37. package/dist/components/textarea/index.js +255 -138
  38. package/dist/components/textarea/index.mjs +2 -1
  39. package/dist/components/textarea/textarea.d.mts +157 -150
  40. package/dist/components/textarea/textarea.d.ts +157 -150
  41. package/dist/components/textarea/textarea.js +255 -138
  42. package/dist/components/textarea/textarea.mjs +2 -1
  43. package/dist/index.js +299 -195
  44. package/dist/index.mjs +7 -7
  45. package/package.json +1 -1
  46. package/dist/chunk-BKE6QF6W.mjs +0 -209
@@ -106,7 +106,7 @@ __export(input_exports, {
106
106
  inputStyle: () => inputStyle
107
107
  });
108
108
  module.exports = __toCommonJS(input_exports);
109
- var import_react = __toESM(require("react"));
109
+ var import_react = require("react");
110
110
 
111
111
  // src/components/icon/template.tsx
112
112
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -4375,19 +4375,22 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
4375
4375
  const slots = (0, import_react.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
4376
4376
  const getContentProps = (0, import_react.useCallback)(
4377
4377
  () => ({
4378
- className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
4378
+ className: clsx(
4379
+ slots.content({ class: classNames == null ? void 0 : classNames.content }),
4380
+ inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
4381
+ ),
4379
4382
  size: originalProps.size
4380
4383
  }),
4381
4384
  [slots, classNames, originalProps.size]
4382
4385
  );
4383
4386
  const renderStartContent = () => {
4384
- if (import_react.default.isValidElement(startContent)) {
4387
+ if ((0, import_react.isValidElement)(startContent)) {
4385
4388
  const existingProps = startContent.props;
4386
4389
  const mergedProps = {
4387
4390
  ...getContentProps(),
4388
4391
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
4389
4392
  };
4390
- return import_react.default.cloneElement(startContent, mergedProps);
4393
+ return (0, import_react.cloneElement)(startContent, mergedProps);
4391
4394
  } else {
4392
4395
  const contentProps = getContentProps();
4393
4396
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...contentProps, children: startContent });
@@ -4406,13 +4409,13 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
4406
4409
  }
4407
4410
  );
4408
4411
  const renderContentWithIcon = () => {
4409
- if (import_react.default.isValidElement(endContent)) {
4412
+ if ((0, import_react.isValidElement)(endContent)) {
4410
4413
  const existingProps = endContent.props;
4411
4414
  const mergedProps = {
4412
4415
  ...getContentProps(),
4413
4416
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
4414
4417
  };
4415
- return import_react.default.cloneElement(endContent, mergedProps);
4418
+ return (0, import_react.cloneElement)(endContent, mergedProps);
4416
4419
  } else if (errorMessage) {
4417
4420
  const iconProps = { ...getContentProps(), className: getContentProps().className };
4418
4421
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...iconProps, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "exclamation-circle", fill: true, size: originalProps.size }) });
@@ -4447,20 +4450,17 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
4447
4450
  {
4448
4451
  className: clsx(
4449
4452
  slots.inputWrapper({ class: classNames == null ? void 0 : classNames.inputWrapper }),
4450
- inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
4453
+ inputProps.readOnly ? slots.readonlyWrapper({ class: classNames == null ? void 0 : classNames.readonlyWrapper }) : ""
4451
4454
  ),
4452
4455
  children: [
4453
4456
  startContent && renderStartContent(),
4454
4457
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
4455
4458
  "input",
4456
4459
  {
4457
- ...inputProps,
4458
4460
  ref: ref || inputRef,
4461
+ ...inputProps,
4459
4462
  readOnly: props.readOnly,
4460
- className: clsx(
4461
- slots.input({ class: classNames == null ? void 0 : classNames.input }),
4462
- inputProps.readOnly ? "!text-body-foreground placeholder:!text-body-foreground" : ""
4463
- ),
4463
+ className: clsx(slots.input({ class: classNames == null ? void 0 : classNames.input })),
4464
4464
  size: 0
4465
4465
  }
4466
4466
  ),
@@ -4468,7 +4468,16 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
4468
4468
  ]
4469
4469
  }
4470
4470
  ),
4471
- helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperMessage({ class: classNames == null ? void 0 : classNames.helperMessage }), children: helperMessage }),
4471
+ helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
4472
+ "p",
4473
+ {
4474
+ className: clsx(
4475
+ slots.helperMessage({ class: classNames == null ? void 0 : classNames.helperMessage }),
4476
+ inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
4477
+ ),
4478
+ children: helperMessage
4479
+ }
4480
+ ),
4472
4481
  errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })), children: errorMessage })
4473
4482
  ] })
4474
4483
  ]
@@ -4480,12 +4489,12 @@ var input_default = Input;
4480
4489
  var inputStyle = tv(
4481
4490
  {
4482
4491
  slots: {
4483
- base: ["group/input", "flex select-none"],
4492
+ base: ["group/input", "flex", "select-none"],
4484
4493
  vertical: ["flex-col"],
4485
4494
  horizon: ["flex-row", "gap-0"],
4486
4495
  label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
4487
4496
  innerWrapper: ["flex", "flex-col"],
4488
- inputWrapper: ["flex", "items-center", "duration-200", "group-has-[p.error]/input:bg-danger-soft"],
4497
+ inputWrapper: ["flex", "items-center", "duration-200", "group-has-[p.error]/input:!bg-danger-soft"],
4489
4498
  input: [
4490
4499
  "w-full",
4491
4500
  "h-full",
@@ -4494,8 +4503,8 @@ var inputStyle = tv(
4494
4503
  "placeholder:text-neutral-main",
4495
4504
  "outline-none",
4496
4505
  "focus:ring-0",
4497
- "group-has-[:hover]/input:text-neutral-dark",
4498
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
4506
+ "group-has-[:hover]/input:!text-neutral-dark",
4507
+ "group-has-[:hover]/input:placeholder:!text-neutral-dark",
4499
4508
  "group-has-[:focus]/input:text-neutral-dark",
4500
4509
  "group-has-[:focus]/input:placeholder:text-neutral-dark",
4501
4510
  "group-has-[p.error]/input:text-danger-main",
@@ -4511,13 +4520,22 @@ var inputStyle = tv(
4511
4520
  ],
4512
4521
  helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4513
4522
  errorMessage: ["text-danger-main"],
4514
- readonly: ["pointer-events-none", "!text-body-foreground"]
4523
+ readonlyWrapper: [
4524
+ "pointer-events-none",
4525
+ "!text-body-foreground",
4526
+ "placeholder:!text-body-foreground",
4527
+ "group-has-[p.error]/input:!text-danger-main",
4528
+ "group-has-[p.error]/input:placeholder:!text-danger-main",
4529
+ "[&>input]:!text-body-foreground",
4530
+ "[&>input]:placeholder:!text-body-foreground"
4531
+ ],
4532
+ readonly: []
4515
4533
  },
4516
4534
  variants: {
4517
4535
  variant: {
4518
4536
  solid: {
4519
4537
  inputWrapper: ["border-transparent", "bg-trans-soft"],
4520
- readonly: ["!bg-trans-light"]
4538
+ readonlyWrapper: ["!bg-trans-light"]
4521
4539
  },
4522
4540
  outline: {
4523
4541
  inputWrapper: [
@@ -4526,7 +4544,7 @@ var inputStyle = tv(
4526
4544
  "group-has-[:focus]/input:bg-body-background",
4527
4545
  "group-has-[p.error]/input:border-danger-main"
4528
4546
  ],
4529
- readonly: ["!bg-trans-soft"]
4547
+ readonlyWrapper: ["!bg-trans-soft"]
4530
4548
  },
4531
4549
  underline: {
4532
4550
  inputWrapper: [
@@ -4536,30 +4554,31 @@ var inputStyle = tv(
4536
4554
  "group-has-[:focus]/input:bg-body-background",
4537
4555
  "group-has-[p.error]/input:border-danger-main"
4538
4556
  ],
4539
- readonly: ["!bg-trans-soft"]
4557
+ readonlyWrapper: ["!bg-trans-soft"]
4540
4558
  }
4541
4559
  },
4542
4560
  color: {
4543
4561
  primary: {
4544
4562
  content: [
4545
- "group-has-[:focus]/input:text-primary-main",
4546
- "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4563
+ "group-has-[:focus]/input:!text-primary-main",
4564
+ "group-has-[p.error]:not(input:focus):hover/input:!text-primary-main"
4547
4565
  ],
4548
4566
  helperMessage: [
4549
- "group-has-[:focus]/input:text-primary-main",
4550
- "group-has-[:focus:hover]/input:text-primary-main",
4551
- "group-has-[:focus]/input:hover:text-primary-main"
4552
- ]
4567
+ "group-has-[:focus]/input:!text-primary-main",
4568
+ "group-has-[:focus:hover]/input:!text-primary-main",
4569
+ "group-has-[:focus]/input:hover:!text-primary-main"
4570
+ ],
4571
+ readonly: ["!text-primary-main"]
4553
4572
  },
4554
4573
  secondary: {
4555
4574
  content: [
4556
- "group-has-[:focus]/input:text-secondary-main",
4557
- "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4575
+ "group-has-[:focus]/input:!text-secondary-main",
4576
+ "group-has-[p.error]:not(input:focus):hover/input:!text-secondary-main"
4558
4577
  ],
4559
4578
  helperMessage: [
4560
- "group-has-[:focus]/input:text-secondary-main",
4561
- "group-has-[:focus:hover]/input:text-secondary-main",
4562
- "group-has-[:focus]/input:hover:text-secondary-main"
4579
+ "group-has-[:focus]/input:!text-secondary-main",
4580
+ "group-has-[:focus:hover]/input:!text-secondary-main",
4581
+ "group-has-[:focus]/input:hover:!text-secondary-main"
4563
4582
  ]
4564
4583
  }
4565
4584
  },
@@ -4610,14 +4629,14 @@ var inputStyle = tv(
4610
4629
  },
4611
4630
  disabled: {
4612
4631
  true: {
4613
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
4632
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
4614
4633
  input: [
4615
- "text-neutral-light",
4616
- "placeholder:text-neutral-light",
4617
- "group-has-[p.error]/input:text-danger-light",
4618
- "group-has-[p.error]/input:placeholder:text-danger-light"
4634
+ "!text-neutral-light",
4635
+ "placeholder:!text-neutral-light",
4636
+ "group-has-[p.error]/input:!text-danger-light",
4637
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
4619
4638
  ],
4620
- content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4639
+ content: ["!text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4621
4640
  helperMessage: ["!text-neutral-light"],
4622
4641
  errorMessage: ["!text-danger-light"]
4623
4642
  }
@@ -4684,7 +4703,11 @@ var inputStyle = tv(
4684
4703
  disabled: true,
4685
4704
  variant: ["outline", "underline"],
4686
4705
  class: {
4687
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
4706
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
4707
+ content: [
4708
+ "group-has-[p.error]/input:!text-danger-light",
4709
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
4710
+ ]
4688
4711
  }
4689
4712
  }
4690
4713
  ],
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  inputStyle,
4
4
  input_default
5
- } from "../../chunk-VCVQMPC7.mjs";
5
+ } from "../../chunk-AIIMJZ7L.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-2TKEWFGH.mjs";
8
8
  import "../../chunk-2SDYFOZL.mjs";
@@ -372,7 +372,7 @@ var usePagination = ({ currentPage, totalPage, groupSize, handleChangePage }) =>
372
372
  var usePagination_default = usePagination;
373
373
 
374
374
  // src/components/input/input.tsx
375
- var import_react2 = __toESM(require("react"));
375
+ var import_react2 = require("react");
376
376
 
377
377
  // src/components/icon/template.tsx
378
378
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -4404,19 +4404,22 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4404
4404
  const slots = (0, import_react2.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
4405
4405
  const getContentProps = (0, import_react2.useCallback)(
4406
4406
  () => ({
4407
- className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
4407
+ className: clsx(
4408
+ slots.content({ class: classNames == null ? void 0 : classNames.content }),
4409
+ inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
4410
+ ),
4408
4411
  size: originalProps.size
4409
4412
  }),
4410
4413
  [slots, classNames, originalProps.size]
4411
4414
  );
4412
4415
  const renderStartContent = () => {
4413
- if (import_react2.default.isValidElement(startContent)) {
4416
+ if ((0, import_react2.isValidElement)(startContent)) {
4414
4417
  const existingProps = startContent.props;
4415
4418
  const mergedProps = {
4416
4419
  ...getContentProps(),
4417
4420
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
4418
4421
  };
4419
- return import_react2.default.cloneElement(startContent, mergedProps);
4422
+ return (0, import_react2.cloneElement)(startContent, mergedProps);
4420
4423
  } else {
4421
4424
  const contentProps = getContentProps();
4422
4425
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...contentProps, children: startContent });
@@ -4435,13 +4438,13 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4435
4438
  }
4436
4439
  );
4437
4440
  const renderContentWithIcon = () => {
4438
- if (import_react2.default.isValidElement(endContent)) {
4441
+ if ((0, import_react2.isValidElement)(endContent)) {
4439
4442
  const existingProps = endContent.props;
4440
4443
  const mergedProps = {
4441
4444
  ...getContentProps(),
4442
4445
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
4443
4446
  };
4444
- return import_react2.default.cloneElement(endContent, mergedProps);
4447
+ return (0, import_react2.cloneElement)(endContent, mergedProps);
4445
4448
  } else if (errorMessage) {
4446
4449
  const iconProps = { ...getContentProps(), className: getContentProps().className };
4447
4450
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...iconProps, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "exclamation-circle", fill: true, size: originalProps.size }) });
@@ -4476,20 +4479,17 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4476
4479
  {
4477
4480
  className: clsx(
4478
4481
  slots.inputWrapper({ class: classNames == null ? void 0 : classNames.inputWrapper }),
4479
- inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
4482
+ inputProps.readOnly ? slots.readonlyWrapper({ class: classNames == null ? void 0 : classNames.readonlyWrapper }) : ""
4480
4483
  ),
4481
4484
  children: [
4482
4485
  startContent && renderStartContent(),
4483
4486
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
4484
4487
  "input",
4485
4488
  {
4486
- ...inputProps,
4487
4489
  ref: ref || inputRef,
4490
+ ...inputProps,
4488
4491
  readOnly: props.readOnly,
4489
- className: clsx(
4490
- slots.input({ class: classNames == null ? void 0 : classNames.input }),
4491
- inputProps.readOnly ? "!text-body-foreground placeholder:!text-body-foreground" : ""
4492
- ),
4492
+ className: clsx(slots.input({ class: classNames == null ? void 0 : classNames.input })),
4493
4493
  size: 0
4494
4494
  }
4495
4495
  ),
@@ -4497,7 +4497,16 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4497
4497
  ]
4498
4498
  }
4499
4499
  ),
4500
- helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperMessage({ class: classNames == null ? void 0 : classNames.helperMessage }), children: helperMessage }),
4500
+ helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
4501
+ "p",
4502
+ {
4503
+ className: clsx(
4504
+ slots.helperMessage({ class: classNames == null ? void 0 : classNames.helperMessage }),
4505
+ inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
4506
+ ),
4507
+ children: helperMessage
4508
+ }
4509
+ ),
4501
4510
  errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })), children: errorMessage })
4502
4511
  ] })
4503
4512
  ]
@@ -4509,12 +4518,12 @@ var input_default = Input;
4509
4518
  var inputStyle = tv(
4510
4519
  {
4511
4520
  slots: {
4512
- base: ["group/input", "flex select-none"],
4521
+ base: ["group/input", "flex", "select-none"],
4513
4522
  vertical: ["flex-col"],
4514
4523
  horizon: ["flex-row", "gap-0"],
4515
4524
  label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
4516
4525
  innerWrapper: ["flex", "flex-col"],
4517
- inputWrapper: ["flex", "items-center", "duration-200", "group-has-[p.error]/input:bg-danger-soft"],
4526
+ inputWrapper: ["flex", "items-center", "duration-200", "group-has-[p.error]/input:!bg-danger-soft"],
4518
4527
  input: [
4519
4528
  "w-full",
4520
4529
  "h-full",
@@ -4523,8 +4532,8 @@ var inputStyle = tv(
4523
4532
  "placeholder:text-neutral-main",
4524
4533
  "outline-none",
4525
4534
  "focus:ring-0",
4526
- "group-has-[:hover]/input:text-neutral-dark",
4527
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
4535
+ "group-has-[:hover]/input:!text-neutral-dark",
4536
+ "group-has-[:hover]/input:placeholder:!text-neutral-dark",
4528
4537
  "group-has-[:focus]/input:text-neutral-dark",
4529
4538
  "group-has-[:focus]/input:placeholder:text-neutral-dark",
4530
4539
  "group-has-[p.error]/input:text-danger-main",
@@ -4540,13 +4549,22 @@ var inputStyle = tv(
4540
4549
  ],
4541
4550
  helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4542
4551
  errorMessage: ["text-danger-main"],
4543
- readonly: ["pointer-events-none", "!text-body-foreground"]
4552
+ readonlyWrapper: [
4553
+ "pointer-events-none",
4554
+ "!text-body-foreground",
4555
+ "placeholder:!text-body-foreground",
4556
+ "group-has-[p.error]/input:!text-danger-main",
4557
+ "group-has-[p.error]/input:placeholder:!text-danger-main",
4558
+ "[&>input]:!text-body-foreground",
4559
+ "[&>input]:placeholder:!text-body-foreground"
4560
+ ],
4561
+ readonly: []
4544
4562
  },
4545
4563
  variants: {
4546
4564
  variant: {
4547
4565
  solid: {
4548
4566
  inputWrapper: ["border-transparent", "bg-trans-soft"],
4549
- readonly: ["!bg-trans-light"]
4567
+ readonlyWrapper: ["!bg-trans-light"]
4550
4568
  },
4551
4569
  outline: {
4552
4570
  inputWrapper: [
@@ -4555,7 +4573,7 @@ var inputStyle = tv(
4555
4573
  "group-has-[:focus]/input:bg-body-background",
4556
4574
  "group-has-[p.error]/input:border-danger-main"
4557
4575
  ],
4558
- readonly: ["!bg-trans-soft"]
4576
+ readonlyWrapper: ["!bg-trans-soft"]
4559
4577
  },
4560
4578
  underline: {
4561
4579
  inputWrapper: [
@@ -4565,30 +4583,31 @@ var inputStyle = tv(
4565
4583
  "group-has-[:focus]/input:bg-body-background",
4566
4584
  "group-has-[p.error]/input:border-danger-main"
4567
4585
  ],
4568
- readonly: ["!bg-trans-soft"]
4586
+ readonlyWrapper: ["!bg-trans-soft"]
4569
4587
  }
4570
4588
  },
4571
4589
  color: {
4572
4590
  primary: {
4573
4591
  content: [
4574
- "group-has-[:focus]/input:text-primary-main",
4575
- "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4592
+ "group-has-[:focus]/input:!text-primary-main",
4593
+ "group-has-[p.error]:not(input:focus):hover/input:!text-primary-main"
4576
4594
  ],
4577
4595
  helperMessage: [
4578
- "group-has-[:focus]/input:text-primary-main",
4579
- "group-has-[:focus:hover]/input:text-primary-main",
4580
- "group-has-[:focus]/input:hover:text-primary-main"
4581
- ]
4596
+ "group-has-[:focus]/input:!text-primary-main",
4597
+ "group-has-[:focus:hover]/input:!text-primary-main",
4598
+ "group-has-[:focus]/input:hover:!text-primary-main"
4599
+ ],
4600
+ readonly: ["!text-primary-main"]
4582
4601
  },
4583
4602
  secondary: {
4584
4603
  content: [
4585
- "group-has-[:focus]/input:text-secondary-main",
4586
- "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4604
+ "group-has-[:focus]/input:!text-secondary-main",
4605
+ "group-has-[p.error]:not(input:focus):hover/input:!text-secondary-main"
4587
4606
  ],
4588
4607
  helperMessage: [
4589
- "group-has-[:focus]/input:text-secondary-main",
4590
- "group-has-[:focus:hover]/input:text-secondary-main",
4591
- "group-has-[:focus]/input:hover:text-secondary-main"
4608
+ "group-has-[:focus]/input:!text-secondary-main",
4609
+ "group-has-[:focus:hover]/input:!text-secondary-main",
4610
+ "group-has-[:focus]/input:hover:!text-secondary-main"
4592
4611
  ]
4593
4612
  }
4594
4613
  },
@@ -4639,14 +4658,14 @@ var inputStyle = tv(
4639
4658
  },
4640
4659
  disabled: {
4641
4660
  true: {
4642
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
4661
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
4643
4662
  input: [
4644
- "text-neutral-light",
4645
- "placeholder:text-neutral-light",
4646
- "group-has-[p.error]/input:text-danger-light",
4647
- "group-has-[p.error]/input:placeholder:text-danger-light"
4663
+ "!text-neutral-light",
4664
+ "placeholder:!text-neutral-light",
4665
+ "group-has-[p.error]/input:!text-danger-light",
4666
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
4648
4667
  ],
4649
- content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4668
+ content: ["!text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4650
4669
  helperMessage: ["!text-neutral-light"],
4651
4670
  errorMessage: ["!text-danger-light"]
4652
4671
  }
@@ -4713,7 +4732,11 @@ var inputStyle = tv(
4713
4732
  disabled: true,
4714
4733
  variant: ["outline", "underline"],
4715
4734
  class: {
4716
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
4735
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
4736
+ content: [
4737
+ "group-has-[p.error]/input:!text-danger-light",
4738
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
4739
+ ]
4717
4740
  }
4718
4741
  }
4719
4742
  ],
@@ -2,10 +2,10 @@
2
2
  import "../../chunk-7B7LRG5J.mjs";
3
3
  import {
4
4
  pagination_default
5
- } from "../../chunk-QM4ZSQYX.mjs";
5
+ } from "../../chunk-CVQM3T2X.mjs";
6
6
  import "../../chunk-F3HENRVM.mjs";
7
7
  import "../../chunk-2GCSFWHD.mjs";
8
- import "../../chunk-VCVQMPC7.mjs";
8
+ import "../../chunk-AIIMJZ7L.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
10
  import "../../chunk-2TKEWFGH.mjs";
11
11
  import "../../chunk-2SDYFOZL.mjs";