@deepnoid/ui 0.1.158 → 0.1.159

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 (35) hide show
  1. package/.turbo/turbo-build.log +146 -146
  2. package/dist/{chunk-IRJP6BF3.mjs → chunk-7QL54JRV.mjs} +1 -1
  3. package/dist/{chunk-7YMXOYES.mjs → chunk-OBOPDVVM.mjs} +1 -1
  4. package/dist/{chunk-HKHVSCER.mjs → chunk-OY5W6JCO.mjs} +1 -1
  5. package/dist/{chunk-SFGFRMWL.mjs → chunk-QR5CKZLL.mjs} +56 -61
  6. package/dist/{chunk-V64PCWVW.mjs → chunk-SFA2DEUD.mjs} +1 -1
  7. package/dist/components/fileUpload/fileUpload.js +56 -61
  8. package/dist/components/fileUpload/fileUpload.mjs +2 -2
  9. package/dist/components/fileUpload/index.js +56 -61
  10. package/dist/components/fileUpload/index.mjs +2 -2
  11. package/dist/components/input/index.js +56 -61
  12. package/dist/components/input/index.mjs +1 -1
  13. package/dist/components/input/input.d.mts +6 -3
  14. package/dist/components/input/input.d.ts +6 -3
  15. package/dist/components/input/input.js +56 -61
  16. package/dist/components/input/input.mjs +1 -1
  17. package/dist/components/pagination/index.js +56 -61
  18. package/dist/components/pagination/index.mjs +2 -2
  19. package/dist/components/pagination/pagination.js +56 -61
  20. package/dist/components/pagination/pagination.mjs +2 -2
  21. package/dist/components/picker/datePicker.js +56 -61
  22. package/dist/components/picker/datePicker.mjs +2 -2
  23. package/dist/components/picker/index.js +56 -61
  24. package/dist/components/picker/index.mjs +2 -2
  25. package/dist/components/table/index.js +56 -61
  26. package/dist/components/table/index.mjs +3 -3
  27. package/dist/components/table/table-body.js +56 -61
  28. package/dist/components/table/table-body.mjs +3 -3
  29. package/dist/components/table/table-head.js +56 -61
  30. package/dist/components/table/table-head.mjs +3 -3
  31. package/dist/components/table/table.js +56 -61
  32. package/dist/components/table/table.mjs +3 -3
  33. package/dist/index.js +56 -61
  34. package/dist/index.mjs +5 -5
  35. package/package.json +1 -1
@@ -35,7 +35,7 @@ var Input = forwardRef((originalProps, ref) => {
35
35
  ),
36
36
  size: originalProps.size
37
37
  }),
38
- [slots, classNames, originalProps.size]
38
+ [slots, classNames, originalProps.size, inputProps.readOnly]
39
39
  );
40
40
  const renderStartContent = () => {
41
41
  if (isValidElement(startContent)) {
@@ -158,31 +158,22 @@ var inputStyle = tv(
158
158
  "placeholder:text-neutral-main",
159
159
  "outline-none",
160
160
  "focus:ring-0",
161
- "group-has-[:hover]/input:text-neutral-dark",
162
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
163
- "group-has-[:focus]/input:text-neutral-dark",
164
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
165
- "group-has-[p.error]/input:text-danger-main",
166
- "group-has-[p.error]/input:placeholder:text-danger-main",
167
- "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
161
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
162
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
163
+ "group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
164
+ "group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
165
+ "read-only:!text-body-foreground",
166
+ "read-only:placeholder:!text-body-foreground"
168
167
  ],
169
168
  content: [
170
169
  "flex",
171
170
  "items-center",
172
171
  "select-none",
173
172
  "text-neutral-main",
174
- "group-has-[:hover]/input:text-neutral-dark",
175
- "group-has-[p.error]/input:text-danger-main",
176
- "group-has-[p.error]/input:hover:text-danger-main",
177
- "group-has-[p.error]/input:focus:text-danger-main"
178
- ],
179
- helperMessage: [
180
- "text-neutral-main",
181
- "group-has-[:hover]/input:text-neutral-dark",
182
- "group-has-[p.error]/input:text-danger-main",
183
- "group-has-[p.error]/input:hover:text-danger-main",
184
- "group-has-[p.error]/input:focus:text-danger-main"
173
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
174
+ "read-only:!text-body-foreground"
185
175
  ],
176
+ helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
186
177
  errorMessage: ["text-danger-main"],
187
178
  readonlyWrapper: [
188
179
  "pointer-events-none",
@@ -191,7 +182,7 @@ var inputStyle = tv(
191
182
  "[&>input]:text-body-foreground",
192
183
  "[&>input]:placeholder:text-body-foreground"
193
184
  ],
194
- readonly: []
185
+ readonly: ["text-body-foreground"]
195
186
  },
196
187
  variants: {
197
188
  variant: {
@@ -202,8 +193,8 @@ var inputStyle = tv(
202
193
  outline: {
203
194
  inputWrapper: [
204
195
  "border-neutral-light",
205
- "group-has-[:hover]/input:bg-trans-soft",
206
- "group-has-[:focus]/input:bg-body-background",
196
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
197
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
207
198
  "group-has-[p.error]/input:border-danger-main"
208
199
  ],
209
200
  readonlyWrapper: ["!bg-trans-soft"]
@@ -212,8 +203,8 @@ var inputStyle = tv(
212
203
  inputWrapper: [
213
204
  "bg-transparent",
214
205
  "rounded-none",
215
- "group-has-[:hover]/input:bg-trans-soft",
216
- "group-has-[:focus]/input:bg-body-background",
206
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
207
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
217
208
  "group-has-[p.error]/input:border-danger-main"
218
209
  ],
219
210
  readonlyWrapper: ["!bg-trans-soft"]
@@ -221,22 +212,13 @@ var inputStyle = tv(
221
212
  },
222
213
  color: {
223
214
  primary: {
224
- content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
225
- helperMessage: [
226
- "group-has-[:focus]/input:text-primary-main",
227
- "group-has-[:focus]/input:hover:text-primary-main"
228
- ],
215
+ content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
216
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
229
217
  readonly: ["text-primary-main"]
230
218
  },
231
219
  secondary: {
232
- content: [
233
- "group-has-[:focus]/input:text-secondary-main",
234
- "group-has-[:focus]/input:hover:text-secondary-main"
235
- ],
236
- helperMessage: [
237
- "group-has-[:focus]/input:text-secondary-main",
238
- "group-has-[:focus]/input:hover:text-secondary-main"
239
- ],
220
+ content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
221
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
240
222
  readonly: ["text-secondary-main"]
241
223
  }
242
224
  },
@@ -287,14 +269,9 @@ var inputStyle = tv(
287
269
  },
288
270
  disabled: {
289
271
  true: {
290
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
291
- input: [
292
- "!text-neutral-light",
293
- "placeholder:!text-neutral-light",
294
- "group-has-[p.error]/input:!text-danger-light",
295
- "group-has-[p.error]/input:placeholder:!text-danger-light"
296
- ],
297
- content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
272
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
273
+ input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
274
+ content: ["!text-neutral-light"],
298
275
  helperMessage: ["!text-neutral-light"],
299
276
  errorMessage: ["!text-danger-light"]
300
277
  }
@@ -302,11 +279,9 @@ var inputStyle = tv(
302
279
  readonly: {
303
280
  true: {
304
281
  readonlyWrapper: ["pointer-events-none"],
305
- input: [
306
- "group-has-[p.error]/input:!text-danger-main",
307
- "group-has-[p.error]/input:placeholder:!text-danger-main"
308
- ],
309
- content: ["group-has-[p.error]/input:!text-danger-main"]
282
+ input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
283
+ content: ["!text-body-foreground"],
284
+ helperMessage: ["!text-body-foreground"]
310
285
  }
311
286
  }
312
287
  },
@@ -367,17 +342,6 @@ var inputStyle = tv(
367
342
  inputWrapper: ["border-b-xl"]
368
343
  }
369
344
  },
370
- {
371
- disabled: true,
372
- variant: ["outline", "underline"],
373
- class: {
374
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
375
- content: [
376
- "group-has-[p.error]/input:!text-danger-light",
377
- "group-has-[p.error]/input:placeholder:!text-danger-light"
378
- ]
379
- }
380
- },
381
345
  {
382
346
  readonly: true,
383
347
  color: "primary",
@@ -393,6 +357,37 @@ var inputStyle = tv(
393
357
  input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
394
358
  content: ["!text-secondary-main"]
395
359
  }
360
+ },
361
+ {
362
+ disabled: true,
363
+ class: {
364
+ input: [
365
+ "group-has-[p.error]/input:!text-danger-light",
366
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
367
+ ],
368
+ content: ["group-has-[p.error]/input:!text-danger-light"],
369
+ helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
370
+ errorMessage: ["!text-danger-light"]
371
+ }
372
+ },
373
+ {
374
+ disabled: true,
375
+ variant: ["outline", "underline"],
376
+ class: {
377
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
378
+ }
379
+ },
380
+ {
381
+ disabled: false,
382
+ class: {
383
+ input: [
384
+ "group-has-[p.error]/input:!text-danger-main",
385
+ "group-has-[p.error]/input:placeholder:!text-danger-main"
386
+ ],
387
+ content: ["group-has-[p.error]/input:!text-danger-main"],
388
+ helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
389
+ errorMessage: ["!text-danger-main"]
390
+ }
396
391
  }
397
392
  ],
398
393
  defaultVariants: {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2CLPU5LR.mjs";
5
5
  import {
6
6
  input_default
7
- } from "./chunk-SFGFRMWL.mjs";
7
+ } from "./chunk-QR5CKZLL.mjs";
8
8
  import {
9
9
  button_default
10
10
  } from "./chunk-YQYO5RLZ.mjs";
@@ -5249,7 +5249,7 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
5249
5249
  ),
5250
5250
  size: originalProps.size
5251
5251
  }),
5252
- [slots, classNames, originalProps.size]
5252
+ [slots, classNames, originalProps.size, inputProps.readOnly]
5253
5253
  );
5254
5254
  const renderStartContent = () => {
5255
5255
  if ((0, import_react.isValidElement)(startContent)) {
@@ -5372,31 +5372,22 @@ var inputStyle = tv(
5372
5372
  "placeholder:text-neutral-main",
5373
5373
  "outline-none",
5374
5374
  "focus:ring-0",
5375
- "group-has-[:hover]/input:text-neutral-dark",
5376
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
5377
- "group-has-[:focus]/input:text-neutral-dark",
5378
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
5379
- "group-has-[p.error]/input:text-danger-main",
5380
- "group-has-[p.error]/input:placeholder:text-danger-main",
5381
- "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
5375
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5376
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
5377
+ "group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
5378
+ "group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
5379
+ "read-only:!text-body-foreground",
5380
+ "read-only:placeholder:!text-body-foreground"
5382
5381
  ],
5383
5382
  content: [
5384
5383
  "flex",
5385
5384
  "items-center",
5386
5385
  "select-none",
5387
5386
  "text-neutral-main",
5388
- "group-has-[:hover]/input:text-neutral-dark",
5389
- "group-has-[p.error]/input:text-danger-main",
5390
- "group-has-[p.error]/input:hover:text-danger-main",
5391
- "group-has-[p.error]/input:focus:text-danger-main"
5392
- ],
5393
- helperMessage: [
5394
- "text-neutral-main",
5395
- "group-has-[:hover]/input:text-neutral-dark",
5396
- "group-has-[p.error]/input:text-danger-main",
5397
- "group-has-[p.error]/input:hover:text-danger-main",
5398
- "group-has-[p.error]/input:focus:text-danger-main"
5387
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5388
+ "read-only:!text-body-foreground"
5399
5389
  ],
5390
+ helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
5400
5391
  errorMessage: ["text-danger-main"],
5401
5392
  readonlyWrapper: [
5402
5393
  "pointer-events-none",
@@ -5405,7 +5396,7 @@ var inputStyle = tv(
5405
5396
  "[&>input]:text-body-foreground",
5406
5397
  "[&>input]:placeholder:text-body-foreground"
5407
5398
  ],
5408
- readonly: []
5399
+ readonly: ["text-body-foreground"]
5409
5400
  },
5410
5401
  variants: {
5411
5402
  variant: {
@@ -5416,8 +5407,8 @@ var inputStyle = tv(
5416
5407
  outline: {
5417
5408
  inputWrapper: [
5418
5409
  "border-neutral-light",
5419
- "group-has-[:hover]/input:bg-trans-soft",
5420
- "group-has-[:focus]/input:bg-body-background",
5410
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
5411
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
5421
5412
  "group-has-[p.error]/input:border-danger-main"
5422
5413
  ],
5423
5414
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5426,8 +5417,8 @@ var inputStyle = tv(
5426
5417
  inputWrapper: [
5427
5418
  "bg-transparent",
5428
5419
  "rounded-none",
5429
- "group-has-[:hover]/input:bg-trans-soft",
5430
- "group-has-[:focus]/input:bg-body-background",
5420
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
5421
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
5431
5422
  "group-has-[p.error]/input:border-danger-main"
5432
5423
  ],
5433
5424
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5435,22 +5426,13 @@ var inputStyle = tv(
5435
5426
  },
5436
5427
  color: {
5437
5428
  primary: {
5438
- content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
5439
- helperMessage: [
5440
- "group-has-[:focus]/input:text-primary-main",
5441
- "group-has-[:focus]/input:hover:text-primary-main"
5442
- ],
5429
+ content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
5430
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
5443
5431
  readonly: ["text-primary-main"]
5444
5432
  },
5445
5433
  secondary: {
5446
- content: [
5447
- "group-has-[:focus]/input:text-secondary-main",
5448
- "group-has-[:focus]/input:hover:text-secondary-main"
5449
- ],
5450
- helperMessage: [
5451
- "group-has-[:focus]/input:text-secondary-main",
5452
- "group-has-[:focus]/input:hover:text-secondary-main"
5453
- ],
5434
+ content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
5435
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
5454
5436
  readonly: ["text-secondary-main"]
5455
5437
  }
5456
5438
  },
@@ -5501,14 +5483,9 @@ var inputStyle = tv(
5501
5483
  },
5502
5484
  disabled: {
5503
5485
  true: {
5504
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
5505
- input: [
5506
- "!text-neutral-light",
5507
- "placeholder:!text-neutral-light",
5508
- "group-has-[p.error]/input:!text-danger-light",
5509
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5510
- ],
5511
- content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
5486
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
5487
+ input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
5488
+ content: ["!text-neutral-light"],
5512
5489
  helperMessage: ["!text-neutral-light"],
5513
5490
  errorMessage: ["!text-danger-light"]
5514
5491
  }
@@ -5516,11 +5493,9 @@ var inputStyle = tv(
5516
5493
  readonly: {
5517
5494
  true: {
5518
5495
  readonlyWrapper: ["pointer-events-none"],
5519
- input: [
5520
- "group-has-[p.error]/input:!text-danger-main",
5521
- "group-has-[p.error]/input:placeholder:!text-danger-main"
5522
- ],
5523
- content: ["group-has-[p.error]/input:!text-danger-main"]
5496
+ input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
5497
+ content: ["!text-body-foreground"],
5498
+ helperMessage: ["!text-body-foreground"]
5524
5499
  }
5525
5500
  }
5526
5501
  },
@@ -5581,17 +5556,6 @@ var inputStyle = tv(
5581
5556
  inputWrapper: ["border-b-xl"]
5582
5557
  }
5583
5558
  },
5584
- {
5585
- disabled: true,
5586
- variant: ["outline", "underline"],
5587
- class: {
5588
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
5589
- content: [
5590
- "group-has-[p.error]/input:!text-danger-light",
5591
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5592
- ]
5593
- }
5594
- },
5595
5559
  {
5596
5560
  readonly: true,
5597
5561
  color: "primary",
@@ -5607,6 +5571,37 @@ var inputStyle = tv(
5607
5571
  input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
5608
5572
  content: ["!text-secondary-main"]
5609
5573
  }
5574
+ },
5575
+ {
5576
+ disabled: true,
5577
+ class: {
5578
+ input: [
5579
+ "group-has-[p.error]/input:!text-danger-light",
5580
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
5581
+ ],
5582
+ content: ["group-has-[p.error]/input:!text-danger-light"],
5583
+ helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
5584
+ errorMessage: ["!text-danger-light"]
5585
+ }
5586
+ },
5587
+ {
5588
+ disabled: true,
5589
+ variant: ["outline", "underline"],
5590
+ class: {
5591
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
5592
+ }
5593
+ },
5594
+ {
5595
+ disabled: false,
5596
+ class: {
5597
+ input: [
5598
+ "group-has-[p.error]/input:!text-danger-main",
5599
+ "group-has-[p.error]/input:placeholder:!text-danger-main"
5600
+ ],
5601
+ content: ["group-has-[p.error]/input:!text-danger-main"],
5602
+ helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
5603
+ errorMessage: ["!text-danger-main"]
5604
+ }
5610
5605
  }
5611
5606
  ],
5612
5607
  defaultVariants: {
@@ -3,11 +3,11 @@ import {
3
3
  FileUpload,
4
4
  fileUploadStyle,
5
5
  fileUpload_default
6
- } from "../../chunk-V64PCWVW.mjs";
6
+ } from "../../chunk-SFA2DEUD.mjs";
7
7
  import "../../chunk-7VOQKIIK.mjs";
8
8
  import "../../chunk-2CLPU5LR.mjs";
9
9
  import "../../chunk-2GCSFWHD.mjs";
10
- import "../../chunk-SFGFRMWL.mjs";
10
+ import "../../chunk-QR5CKZLL.mjs";
11
11
  import "../../chunk-MY5U63QO.mjs";
12
12
  import "../../chunk-Q364C3FI.mjs";
13
13
  import "../../chunk-ITWKPTSD.mjs";
@@ -5249,7 +5249,7 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
5249
5249
  ),
5250
5250
  size: originalProps.size
5251
5251
  }),
5252
- [slots, classNames, originalProps.size]
5252
+ [slots, classNames, originalProps.size, inputProps.readOnly]
5253
5253
  );
5254
5254
  const renderStartContent = () => {
5255
5255
  if ((0, import_react.isValidElement)(startContent)) {
@@ -5372,31 +5372,22 @@ var inputStyle = tv(
5372
5372
  "placeholder:text-neutral-main",
5373
5373
  "outline-none",
5374
5374
  "focus:ring-0",
5375
- "group-has-[:hover]/input:text-neutral-dark",
5376
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
5377
- "group-has-[:focus]/input:text-neutral-dark",
5378
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
5379
- "group-has-[p.error]/input:text-danger-main",
5380
- "group-has-[p.error]/input:placeholder:text-danger-main",
5381
- "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
5375
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5376
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
5377
+ "group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
5378
+ "group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
5379
+ "read-only:!text-body-foreground",
5380
+ "read-only:placeholder:!text-body-foreground"
5382
5381
  ],
5383
5382
  content: [
5384
5383
  "flex",
5385
5384
  "items-center",
5386
5385
  "select-none",
5387
5386
  "text-neutral-main",
5388
- "group-has-[:hover]/input:text-neutral-dark",
5389
- "group-has-[p.error]/input:text-danger-main",
5390
- "group-has-[p.error]/input:hover:text-danger-main",
5391
- "group-has-[p.error]/input:focus:text-danger-main"
5392
- ],
5393
- helperMessage: [
5394
- "text-neutral-main",
5395
- "group-has-[:hover]/input:text-neutral-dark",
5396
- "group-has-[p.error]/input:text-danger-main",
5397
- "group-has-[p.error]/input:hover:text-danger-main",
5398
- "group-has-[p.error]/input:focus:text-danger-main"
5387
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5388
+ "read-only:!text-body-foreground"
5399
5389
  ],
5390
+ helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
5400
5391
  errorMessage: ["text-danger-main"],
5401
5392
  readonlyWrapper: [
5402
5393
  "pointer-events-none",
@@ -5405,7 +5396,7 @@ var inputStyle = tv(
5405
5396
  "[&>input]:text-body-foreground",
5406
5397
  "[&>input]:placeholder:text-body-foreground"
5407
5398
  ],
5408
- readonly: []
5399
+ readonly: ["text-body-foreground"]
5409
5400
  },
5410
5401
  variants: {
5411
5402
  variant: {
@@ -5416,8 +5407,8 @@ var inputStyle = tv(
5416
5407
  outline: {
5417
5408
  inputWrapper: [
5418
5409
  "border-neutral-light",
5419
- "group-has-[:hover]/input:bg-trans-soft",
5420
- "group-has-[:focus]/input:bg-body-background",
5410
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
5411
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
5421
5412
  "group-has-[p.error]/input:border-danger-main"
5422
5413
  ],
5423
5414
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5426,8 +5417,8 @@ var inputStyle = tv(
5426
5417
  inputWrapper: [
5427
5418
  "bg-transparent",
5428
5419
  "rounded-none",
5429
- "group-has-[:hover]/input:bg-trans-soft",
5430
- "group-has-[:focus]/input:bg-body-background",
5420
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
5421
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
5431
5422
  "group-has-[p.error]/input:border-danger-main"
5432
5423
  ],
5433
5424
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5435,22 +5426,13 @@ var inputStyle = tv(
5435
5426
  },
5436
5427
  color: {
5437
5428
  primary: {
5438
- content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
5439
- helperMessage: [
5440
- "group-has-[:focus]/input:text-primary-main",
5441
- "group-has-[:focus]/input:hover:text-primary-main"
5442
- ],
5429
+ content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
5430
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
5443
5431
  readonly: ["text-primary-main"]
5444
5432
  },
5445
5433
  secondary: {
5446
- content: [
5447
- "group-has-[:focus]/input:text-secondary-main",
5448
- "group-has-[:focus]/input:hover:text-secondary-main"
5449
- ],
5450
- helperMessage: [
5451
- "group-has-[:focus]/input:text-secondary-main",
5452
- "group-has-[:focus]/input:hover:text-secondary-main"
5453
- ],
5434
+ content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
5435
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
5454
5436
  readonly: ["text-secondary-main"]
5455
5437
  }
5456
5438
  },
@@ -5501,14 +5483,9 @@ var inputStyle = tv(
5501
5483
  },
5502
5484
  disabled: {
5503
5485
  true: {
5504
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
5505
- input: [
5506
- "!text-neutral-light",
5507
- "placeholder:!text-neutral-light",
5508
- "group-has-[p.error]/input:!text-danger-light",
5509
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5510
- ],
5511
- content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
5486
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
5487
+ input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
5488
+ content: ["!text-neutral-light"],
5512
5489
  helperMessage: ["!text-neutral-light"],
5513
5490
  errorMessage: ["!text-danger-light"]
5514
5491
  }
@@ -5516,11 +5493,9 @@ var inputStyle = tv(
5516
5493
  readonly: {
5517
5494
  true: {
5518
5495
  readonlyWrapper: ["pointer-events-none"],
5519
- input: [
5520
- "group-has-[p.error]/input:!text-danger-main",
5521
- "group-has-[p.error]/input:placeholder:!text-danger-main"
5522
- ],
5523
- content: ["group-has-[p.error]/input:!text-danger-main"]
5496
+ input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
5497
+ content: ["!text-body-foreground"],
5498
+ helperMessage: ["!text-body-foreground"]
5524
5499
  }
5525
5500
  }
5526
5501
  },
@@ -5581,17 +5556,6 @@ var inputStyle = tv(
5581
5556
  inputWrapper: ["border-b-xl"]
5582
5557
  }
5583
5558
  },
5584
- {
5585
- disabled: true,
5586
- variant: ["outline", "underline"],
5587
- class: {
5588
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
5589
- content: [
5590
- "group-has-[p.error]/input:!text-danger-light",
5591
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5592
- ]
5593
- }
5594
- },
5595
5559
  {
5596
5560
  readonly: true,
5597
5561
  color: "primary",
@@ -5607,6 +5571,37 @@ var inputStyle = tv(
5607
5571
  input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
5608
5572
  content: ["!text-secondary-main"]
5609
5573
  }
5574
+ },
5575
+ {
5576
+ disabled: true,
5577
+ class: {
5578
+ input: [
5579
+ "group-has-[p.error]/input:!text-danger-light",
5580
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
5581
+ ],
5582
+ content: ["group-has-[p.error]/input:!text-danger-light"],
5583
+ helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
5584
+ errorMessage: ["!text-danger-light"]
5585
+ }
5586
+ },
5587
+ {
5588
+ disabled: true,
5589
+ variant: ["outline", "underline"],
5590
+ class: {
5591
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
5592
+ }
5593
+ },
5594
+ {
5595
+ disabled: false,
5596
+ class: {
5597
+ input: [
5598
+ "group-has-[p.error]/input:!text-danger-main",
5599
+ "group-has-[p.error]/input:placeholder:!text-danger-main"
5600
+ ],
5601
+ content: ["group-has-[p.error]/input:!text-danger-main"],
5602
+ helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
5603
+ errorMessage: ["!text-danger-main"]
5604
+ }
5610
5605
  }
5611
5606
  ],
5612
5607
  defaultVariants: {
@@ -2,11 +2,11 @@
2
2
  import "../../chunk-RLXOHILK.mjs";
3
3
  import {
4
4
  fileUpload_default
5
- } from "../../chunk-V64PCWVW.mjs";
5
+ } from "../../chunk-SFA2DEUD.mjs";
6
6
  import "../../chunk-7VOQKIIK.mjs";
7
7
  import "../../chunk-2CLPU5LR.mjs";
8
8
  import "../../chunk-2GCSFWHD.mjs";
9
- import "../../chunk-SFGFRMWL.mjs";
9
+ import "../../chunk-QR5CKZLL.mjs";
10
10
  import "../../chunk-MY5U63QO.mjs";
11
11
  import "../../chunk-Q364C3FI.mjs";
12
12
  import "../../chunk-ITWKPTSD.mjs";