@nextui-org/theme 0.0.0-dev-v2-20230714033008 → 0.0.0-dev-v2-20230715020155

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 (103) hide show
  1. package/dist/{chunk-X66RRFWA.mjs → chunk-2OA2D2OJ.mjs} +12 -3
  2. package/dist/{chunk-GQCXHDRA.mjs → chunk-2QUE56PB.mjs} +1 -1
  3. package/dist/{chunk-BTHG2MOO.mjs → chunk-2ZZ5QMHO.mjs} +1 -1
  4. package/dist/{chunk-NWJ7Y4FY.mjs → chunk-3NXFJ2VH.mjs} +1 -1
  5. package/dist/{chunk-7VWFPKXY.mjs → chunk-3PTYRMI4.mjs} +1 -1
  6. package/dist/{chunk-3OO2OG3D.mjs → chunk-66LVDEMB.mjs} +1 -1
  7. package/dist/{chunk-J2DAFXTJ.mjs → chunk-6AEINX52.mjs} +5 -0
  8. package/dist/{chunk-USEN2DE7.mjs → chunk-6BLLWSWM.mjs} +1 -1
  9. package/dist/{chunk-XYK4ELGZ.mjs → chunk-77O7KLUI.mjs} +1 -1
  10. package/dist/{chunk-DAX4HULG.mjs → chunk-AYHGQSL4.mjs} +1 -1
  11. package/dist/{chunk-ZLMOQ2CL.mjs → chunk-B55QBA5E.mjs} +1 -1
  12. package/dist/{chunk-FZB6NELW.mjs → chunk-B66TU4DC.mjs} +1 -1
  13. package/dist/{chunk-2DNJYASM.mjs → chunk-EC4F6RJF.mjs} +1 -1
  14. package/dist/{chunk-FTAANQDH.mjs → chunk-ERIVC7UK.mjs} +18 -8
  15. package/dist/{chunk-NW4JUNKJ.mjs → chunk-ERKNFIKY.mjs} +1 -1
  16. package/dist/{chunk-4Q5LLWJY.mjs → chunk-EUS2SEYI.mjs} +1 -1
  17. package/dist/{chunk-5TISNX3V.mjs → chunk-GNLIYZAQ.mjs} +1 -1
  18. package/dist/{chunk-GGKWZEZ3.mjs → chunk-LQGOKGQV.mjs} +1 -1
  19. package/dist/{chunk-GRAE3A2P.mjs → chunk-MKYSU3XO.mjs} +1 -1
  20. package/dist/{chunk-BGAU4FMH.mjs → chunk-NAY2XKLY.mjs} +1 -1
  21. package/dist/{chunk-7CWAY3O6.mjs → chunk-NQPPVHK4.mjs} +1 -1
  22. package/dist/{chunk-DK3LBYIW.mjs → chunk-NXGWHM2G.mjs} +1 -1
  23. package/dist/{chunk-YU23PDLH.mjs → chunk-QX5UKEWK.mjs} +1 -1
  24. package/dist/{chunk-BSCHFKQW.mjs → chunk-UOD2L4IP.mjs} +1 -1
  25. package/dist/{chunk-RXPDLLTT.mjs → chunk-VVOIHMB5.mjs} +1 -1
  26. package/dist/{chunk-EXMWYYBQ.mjs → chunk-WBNF66V7.mjs} +1 -1
  27. package/dist/{chunk-U4O7CA4C.mjs → chunk-XCWQAA5D.mjs} +1 -1
  28. package/dist/{chunk-UXQJVK7X.mjs → chunk-XPLXQDB3.mjs} +1 -1
  29. package/dist/{chunk-VU5BK47Z.mjs → chunk-XY766PDD.mjs} +1 -1
  30. package/dist/{chunk-HPJYEIT7.mjs → chunk-YSXRNNDV.mjs} +1 -1
  31. package/dist/{chunk-W4Y7SD3F.mjs → chunk-ZHTSPUDN.mjs} +1 -1
  32. package/dist/{chunk-NAQMB7Q2.mjs → chunk-ZZIKFGJI.mjs} +22 -16
  33. package/dist/components/accordion.js +5 -0
  34. package/dist/components/accordion.mjs +2 -2
  35. package/dist/components/avatar.js +5 -0
  36. package/dist/components/avatar.mjs +2 -2
  37. package/dist/components/badge.js +5 -0
  38. package/dist/components/badge.mjs +2 -2
  39. package/dist/components/button.js +5 -0
  40. package/dist/components/button.mjs +2 -2
  41. package/dist/components/card.js +5 -0
  42. package/dist/components/card.mjs +2 -2
  43. package/dist/components/checkbox.js +5 -0
  44. package/dist/components/checkbox.mjs +2 -2
  45. package/dist/components/chip.js +5 -0
  46. package/dist/components/chip.mjs +2 -2
  47. package/dist/components/circular-progress.js +5 -0
  48. package/dist/components/circular-progress.mjs +2 -2
  49. package/dist/components/code.js +5 -0
  50. package/dist/components/code.mjs +2 -2
  51. package/dist/components/divider.js +5 -0
  52. package/dist/components/divider.mjs +2 -2
  53. package/dist/components/drip.js +5 -0
  54. package/dist/components/drip.mjs +2 -2
  55. package/dist/components/dropdown.js +5 -0
  56. package/dist/components/dropdown.mjs +2 -2
  57. package/dist/components/image.js +5 -0
  58. package/dist/components/image.mjs +2 -2
  59. package/dist/components/index.js +33 -9
  60. package/dist/components/index.mjs +31 -31
  61. package/dist/components/input.d.ts +32 -0
  62. package/dist/components/input.js +22 -7
  63. package/dist/components/input.mjs +2 -2
  64. package/dist/components/kbd.js +5 -0
  65. package/dist/components/kbd.mjs +2 -2
  66. package/dist/components/link.js +5 -0
  67. package/dist/components/link.mjs +2 -2
  68. package/dist/components/modal.js +5 -0
  69. package/dist/components/modal.mjs +2 -2
  70. package/dist/components/navbar.js +5 -0
  71. package/dist/components/navbar.mjs +2 -2
  72. package/dist/components/pagination.js +5 -0
  73. package/dist/components/pagination.mjs +2 -2
  74. package/dist/components/popover.js +5 -0
  75. package/dist/components/popover.mjs +2 -2
  76. package/dist/components/progress.js +5 -0
  77. package/dist/components/progress.mjs +2 -2
  78. package/dist/components/radio.js +5 -0
  79. package/dist/components/radio.mjs +2 -2
  80. package/dist/components/skeleton.js +5 -0
  81. package/dist/components/skeleton.mjs +2 -2
  82. package/dist/components/snippet.js +5 -0
  83. package/dist/components/snippet.mjs +2 -2
  84. package/dist/components/spacer.js +5 -0
  85. package/dist/components/spacer.mjs +2 -2
  86. package/dist/components/spinner.js +5 -0
  87. package/dist/components/spinner.mjs +2 -2
  88. package/dist/components/table.d.ts +24 -0
  89. package/dist/components/table.js +16 -2
  90. package/dist/components/table.mjs +2 -2
  91. package/dist/components/tabs.js +5 -0
  92. package/dist/components/tabs.mjs +2 -2
  93. package/dist/components/toggle.js +5 -0
  94. package/dist/components/toggle.mjs +2 -2
  95. package/dist/components/user.js +5 -0
  96. package/dist/components/user.mjs +2 -2
  97. package/dist/index.js +55 -25
  98. package/dist/index.mjs +32 -32
  99. package/dist/plugin.js +22 -16
  100. package/dist/plugin.mjs +1 -1
  101. package/dist/utils/tv.js +5 -0
  102. package/dist/utils/tv.mjs +1 -1
  103. package/package.json +1 -1
@@ -105,6 +105,11 @@ var tv = (options, config) => {
105
105
  {
106
106
  "min-w": ["unit", ...mappedSpacingScaleKeys]
107
107
  }
108
+ ],
109
+ "min-h": [
110
+ {
111
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
112
+ }
108
113
  ]
109
114
  }
110
115
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  circularProgress
3
- } from "../chunk-UXQJVK7X.mjs";
4
- import "../chunk-J2DAFXTJ.mjs";
3
+ } from "../chunk-XPLXQDB3.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  circularProgress
@@ -105,6 +105,11 @@ var tv = (options, config) => {
105
105
  {
106
106
  "min-w": ["unit", ...mappedSpacingScaleKeys]
107
107
  }
108
+ ],
109
+ "min-h": [
110
+ {
111
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
112
+ }
108
113
  ]
109
114
  }
110
115
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  code
3
- } from "../chunk-XYK4ELGZ.mjs";
3
+ } from "../chunk-77O7KLUI.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-J2DAFXTJ.mjs";
7
+ import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-7XCRZIGF.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -105,6 +105,11 @@ var tv = (options, config) => {
105
105
  {
106
106
  "min-w": ["unit", ...mappedSpacingScaleKeys]
107
107
  }
108
+ ],
109
+ "min-h": [
110
+ {
111
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
112
+ }
108
113
  ]
109
114
  }
110
115
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  divider
3
- } from "../chunk-HPJYEIT7.mjs";
4
- import "../chunk-J2DAFXTJ.mjs";
3
+ } from "../chunk-YSXRNNDV.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  divider
@@ -105,6 +105,11 @@ var tv = (options, config) => {
105
105
  {
106
106
  "min-w": ["unit", ...mappedSpacingScaleKeys]
107
107
  }
108
+ ],
109
+ "min-h": [
110
+ {
111
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
112
+ }
108
113
  ]
109
114
  }
110
115
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  drip
3
- } from "../chunk-5TISNX3V.mjs";
4
- import "../chunk-J2DAFXTJ.mjs";
3
+ } from "../chunk-GNLIYZAQ.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  drip
@@ -108,6 +108,11 @@ var tv = (options, config) => {
108
108
  {
109
109
  "min-w": ["unit", ...mappedSpacingScaleKeys]
110
110
  }
111
+ ],
112
+ "min-h": [
113
+ {
114
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
115
+ }
111
116
  ]
112
117
  }
113
118
  }
@@ -3,11 +3,11 @@ import {
3
3
  dropdownItem,
4
4
  dropdownMenu,
5
5
  dropdownSection
6
- } from "../chunk-7CWAY3O6.mjs";
6
+ } from "../chunk-NQPPVHK4.mjs";
7
7
  import "../chunk-CMYR6AOY.mjs";
8
8
  import "../chunk-K7LK7NCE.mjs";
9
9
  import "../chunk-2PIR7DFM.mjs";
10
- import "../chunk-J2DAFXTJ.mjs";
10
+ import "../chunk-6AEINX52.mjs";
11
11
  import "../chunk-7XCRZIGF.mjs";
12
12
  import "../chunk-WA5F6AED.mjs";
13
13
  export {
@@ -105,6 +105,11 @@ var tv = (options, config) => {
105
105
  {
106
106
  "min-w": ["unit", ...mappedSpacingScaleKeys]
107
107
  }
108
+ ],
109
+ "min-h": [
110
+ {
111
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
112
+ }
108
113
  ]
109
114
  }
110
115
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  image
3
- } from "../chunk-EXMWYYBQ.mjs";
4
- import "../chunk-J2DAFXTJ.mjs";
3
+ } from "../chunk-WBNF66V7.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  image
@@ -143,6 +143,11 @@ var tv = (options, config) => {
143
143
  {
144
144
  "min-w": ["unit", ...mappedSpacingScaleKeys]
145
145
  }
146
+ ],
147
+ "min-h": [
148
+ {
149
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
150
+ }
146
151
  ]
147
152
  }
148
153
  }
@@ -3522,8 +3527,9 @@ var circularProgress = tv({
3522
3527
  // src/components/input.ts
3523
3528
  var input = tv({
3524
3529
  slots: {
3525
- base: "group flex flex-col data-[has-elements=true]:gap-2",
3530
+ base: "group flex flex-col",
3526
3531
  label: "block text-small font-medium text-foreground-600",
3532
+ mainWrapper: "",
3527
3533
  inputWrapper: "relative w-full inline-flex flex-row items-center shadow-sm px-3 gap-3",
3528
3534
  innerWrapper: "inline-flex h-full items-center w-full gap-1.5 box-border",
3529
3535
  input: "w-full h-full font-normal !bg-transparent outline-none placeholder:text-foreground-500",
@@ -3542,6 +3548,7 @@ var input = tv({
3542
3548
  "rounded-full",
3543
3549
  ...dataFocusVisibleClasses
3544
3550
  ],
3551
+ helperWrapper: "flex relative flex-col gap-1.5 pt-1 px-1",
3545
3552
  description: "text-tiny text-foreground-400",
3546
3553
  errorMessage: "text-tiny text-danger"
3547
3554
  },
@@ -3616,17 +3623,17 @@ var input = tv({
3616
3623
  size: {
3617
3624
  sm: {
3618
3625
  label: "text-tiny",
3619
- inputWrapper: "h-8 px-2 rounded-small",
3626
+ inputWrapper: "h-unit-8 min-h-unit-8 px-2 rounded-small",
3620
3627
  input: "text-small",
3621
3628
  clearButton: "text-medium"
3622
3629
  },
3623
3630
  md: {
3624
- inputWrapper: "h-10 rounded-medium",
3631
+ inputWrapper: "h-unit-10 min-h-unit-10 rounded-medium",
3625
3632
  input: "text-small",
3626
3633
  clearButton: "text-large"
3627
3634
  },
3628
3635
  lg: {
3629
- inputWrapper: "h-12 rounded-large",
3636
+ inputWrapper: "h-unit-12 min-h-unit-12 rounded-large",
3630
3637
  input: "text-medium",
3631
3638
  clearButton: "text-large"
3632
3639
  }
@@ -3650,12 +3657,19 @@ var input = tv({
3650
3657
  },
3651
3658
  labelPlacement: {
3652
3659
  outside: {
3653
- label: "text-foreground"
3660
+ base: "data-[has-helper=true]:pb-4",
3661
+ label: "text-foreground pb-1.5",
3662
+ mainWrapper: "flex flex-col",
3663
+ description: "absolute left-1",
3664
+ errorMessage: "absolute left-1"
3654
3665
  },
3655
3666
  "outside-left": {
3656
- base: "flex-row items-center flex-wrap",
3667
+ base: "flex-row items-center flex-nowrap data-[has-helper=true]:pb-4",
3657
3668
  inputWrapper: "flex-1",
3658
- label: "text-foreground"
3669
+ mainWrapper: "flex flex-col",
3670
+ label: "text-foreground pr-2",
3671
+ description: "absolute left-1",
3672
+ errorMessage: "absolute left-1"
3659
3673
  },
3660
3674
  inside: {
3661
3675
  label: "text-tiny",
@@ -4033,6 +4047,7 @@ var input = tv({
4033
4047
  class: {
4034
4048
  base: "group relative justify-end",
4035
4049
  label: [
4050
+ "pb-0",
4036
4051
  "group-focus-within:left-0",
4037
4052
  "group-[.is-filled]:left-0",
4038
4053
  "group-focus-within:text-foreground",
@@ -5083,10 +5098,12 @@ var table = tv({
5083
5098
  "text-small",
5084
5099
  "font-normal",
5085
5100
  "outline-none",
5101
+ "[&>*]:z-1",
5102
+ "[&>*]:relative",
5086
5103
  ...dataFocusVisibleClasses,
5087
5104
  "before:content-['']",
5088
5105
  "before:absolute",
5089
- "before:z-[-1]",
5106
+ "before:z-0",
5090
5107
  "before:inset-0",
5091
5108
  "before:opacity-0",
5092
5109
  "data-[selected=true]:before:opacity-100",
@@ -5177,9 +5194,15 @@ var table = tv({
5177
5194
  ]
5178
5195
  }
5179
5196
  },
5197
+ isCompact: {
5198
+ true: {
5199
+ td: "py-1"
5200
+ },
5201
+ false: {}
5202
+ },
5180
5203
  isHeaderSticky: {
5181
5204
  true: {
5182
- thead: "sticky top-0 z-10 [&>tr]:first:shadow-small"
5205
+ thead: "sticky top-0 z-20 [&>tr]:first:shadow-small"
5183
5206
  }
5184
5207
  },
5185
5208
  isSelectable: {
@@ -5218,6 +5241,7 @@ var table = tv({
5218
5241
  shadow: "sm",
5219
5242
  radius: "lg",
5220
5243
  color: "default",
5244
+ isCompact: false,
5221
5245
  hideHeader: false,
5222
5246
  isStriped: false,
5223
5247
  fullWidth: true,
@@ -1,107 +1,107 @@
1
1
  import "../chunk-PRWEADY4.mjs";
2
2
  import {
3
3
  user
4
- } from "../chunk-DK3LBYIW.mjs";
4
+ } from "../chunk-NXGWHM2G.mjs";
5
5
  import {
6
6
  radio,
7
7
  radioGroup
8
- } from "../chunk-BTHG2MOO.mjs";
8
+ } from "../chunk-2ZZ5QMHO.mjs";
9
9
  import {
10
10
  skeleton
11
- } from "../chunk-4Q5LLWJY.mjs";
11
+ } from "../chunk-EUS2SEYI.mjs";
12
12
  import {
13
13
  snippet
14
- } from "../chunk-ZLMOQ2CL.mjs";
14
+ } from "../chunk-B55QBA5E.mjs";
15
15
  import {
16
16
  spacer
17
- } from "../chunk-2DNJYASM.mjs";
17
+ } from "../chunk-EC4F6RJF.mjs";
18
18
  import {
19
19
  spinner
20
- } from "../chunk-BGAU4FMH.mjs";
20
+ } from "../chunk-NAY2XKLY.mjs";
21
21
  import {
22
22
  table
23
- } from "../chunk-X66RRFWA.mjs";
23
+ } from "../chunk-2OA2D2OJ.mjs";
24
24
  import {
25
25
  tabs
26
- } from "../chunk-BSCHFKQW.mjs";
26
+ } from "../chunk-UOD2L4IP.mjs";
27
27
  import {
28
28
  toggle
29
- } from "../chunk-USEN2DE7.mjs";
29
+ } from "../chunk-6BLLWSWM.mjs";
30
30
  import {
31
31
  input
32
- } from "../chunk-FTAANQDH.mjs";
32
+ } from "../chunk-ERIVC7UK.mjs";
33
33
  import {
34
34
  kbd
35
- } from "../chunk-VU5BK47Z.mjs";
35
+ } from "../chunk-XY766PDD.mjs";
36
36
  import {
37
37
  link,
38
38
  linkAnchorClasses
39
- } from "../chunk-YU23PDLH.mjs";
39
+ } from "../chunk-QX5UKEWK.mjs";
40
40
  import {
41
41
  modal
42
- } from "../chunk-NW4JUNKJ.mjs";
42
+ } from "../chunk-ERKNFIKY.mjs";
43
43
  import {
44
44
  navbar
45
- } from "../chunk-3OO2OG3D.mjs";
45
+ } from "../chunk-66LVDEMB.mjs";
46
46
  import {
47
47
  pagination
48
- } from "../chunk-W4Y7SD3F.mjs";
48
+ } from "../chunk-ZHTSPUDN.mjs";
49
49
  import {
50
50
  popover
51
- } from "../chunk-GQCXHDRA.mjs";
51
+ } from "../chunk-2QUE56PB.mjs";
52
52
  import {
53
53
  progress
54
- } from "../chunk-GGKWZEZ3.mjs";
54
+ } from "../chunk-LQGOKGQV.mjs";
55
55
  import {
56
56
  chip
57
- } from "../chunk-7VWFPKXY.mjs";
57
+ } from "../chunk-3PTYRMI4.mjs";
58
58
  import {
59
59
  circularProgress
60
- } from "../chunk-UXQJVK7X.mjs";
60
+ } from "../chunk-XPLXQDB3.mjs";
61
61
  import {
62
62
  code
63
- } from "../chunk-XYK4ELGZ.mjs";
63
+ } from "../chunk-77O7KLUI.mjs";
64
64
  import {
65
65
  divider
66
- } from "../chunk-HPJYEIT7.mjs";
66
+ } from "../chunk-YSXRNNDV.mjs";
67
67
  import {
68
68
  drip
69
- } from "../chunk-5TISNX3V.mjs";
69
+ } from "../chunk-GNLIYZAQ.mjs";
70
70
  import {
71
71
  dropdown,
72
72
  dropdownItem,
73
73
  dropdownMenu,
74
74
  dropdownSection
75
- } from "../chunk-7CWAY3O6.mjs";
75
+ } from "../chunk-NQPPVHK4.mjs";
76
76
  import {
77
77
  image
78
- } from "../chunk-EXMWYYBQ.mjs";
78
+ } from "../chunk-WBNF66V7.mjs";
79
79
  import {
80
80
  accordion,
81
81
  accordionItem
82
- } from "../chunk-GRAE3A2P.mjs";
82
+ } from "../chunk-MKYSU3XO.mjs";
83
83
  import {
84
84
  avatar,
85
85
  avatarGroup
86
- } from "../chunk-FZB6NELW.mjs";
86
+ } from "../chunk-B66TU4DC.mjs";
87
87
  import {
88
88
  badge
89
- } from "../chunk-U4O7CA4C.mjs";
89
+ } from "../chunk-XCWQAA5D.mjs";
90
90
  import {
91
91
  button,
92
92
  buttonGroup
93
- } from "../chunk-DAX4HULG.mjs";
93
+ } from "../chunk-AYHGQSL4.mjs";
94
94
  import {
95
95
  card
96
- } from "../chunk-NWJ7Y4FY.mjs";
96
+ } from "../chunk-3NXFJ2VH.mjs";
97
97
  import {
98
98
  checkbox,
99
99
  checkboxGroup
100
- } from "../chunk-RXPDLLTT.mjs";
100
+ } from "../chunk-VVOIHMB5.mjs";
101
101
  import "../chunk-CMYR6AOY.mjs";
102
102
  import "../chunk-K7LK7NCE.mjs";
103
103
  import "../chunk-2PIR7DFM.mjs";
104
- import "../chunk-J2DAFXTJ.mjs";
104
+ import "../chunk-6AEINX52.mjs";
105
105
  import "../chunk-7XCRZIGF.mjs";
106
106
  import "../chunk-WA5F6AED.mjs";
107
107
  export {
@@ -90,12 +90,19 @@ declare const input: tailwind_variants.TVReturnType<{
90
90
  };
91
91
  labelPlacement: {
92
92
  outside: {
93
+ base: string;
93
94
  label: string;
95
+ mainWrapper: string;
96
+ description: string;
97
+ errorMessage: string;
94
98
  };
95
99
  "outside-left": {
96
100
  base: string;
97
101
  inputWrapper: string;
102
+ mainWrapper: string;
98
103
  label: string;
104
+ description: string;
105
+ errorMessage: string;
99
106
  };
100
107
  inside: {
101
108
  label: string;
@@ -154,10 +161,12 @@ declare const input: tailwind_variants.TVReturnType<{
154
161
  }, {
155
162
  base: string;
156
163
  label: string;
164
+ mainWrapper: string;
157
165
  inputWrapper: string;
158
166
  innerWrapper: string;
159
167
  input: string;
160
168
  clearButton: string[];
169
+ helperWrapper: string;
161
170
  description: string;
162
171
  errorMessage: string;
163
172
  }, undefined, tailwind_variants_dist_config.TVConfig<{
@@ -230,12 +239,19 @@ declare const input: tailwind_variants.TVReturnType<{
230
239
  };
231
240
  labelPlacement: {
232
241
  outside: {
242
+ base: string;
233
243
  label: string;
244
+ mainWrapper: string;
245
+ description: string;
246
+ errorMessage: string;
234
247
  };
235
248
  "outside-left": {
236
249
  base: string;
237
250
  inputWrapper: string;
251
+ mainWrapper: string;
238
252
  label: string;
253
+ description: string;
254
+ errorMessage: string;
239
255
  };
240
256
  inside: {
241
257
  label: string;
@@ -361,12 +377,19 @@ declare const input: tailwind_variants.TVReturnType<{
361
377
  };
362
378
  labelPlacement: {
363
379
  outside: {
380
+ base: string;
364
381
  label: string;
382
+ mainWrapper: string;
383
+ description: string;
384
+ errorMessage: string;
365
385
  };
366
386
  "outside-left": {
367
387
  base: string;
368
388
  inputWrapper: string;
389
+ mainWrapper: string;
369
390
  label: string;
391
+ description: string;
392
+ errorMessage: string;
370
393
  };
371
394
  inside: {
372
395
  label: string;
@@ -492,12 +515,19 @@ declare const input: tailwind_variants.TVReturnType<{
492
515
  };
493
516
  labelPlacement: {
494
517
  outside: {
518
+ base: string;
495
519
  label: string;
520
+ mainWrapper: string;
521
+ description: string;
522
+ errorMessage: string;
496
523
  };
497
524
  "outside-left": {
498
525
  base: string;
499
526
  inputWrapper: string;
527
+ mainWrapper: string;
500
528
  label: string;
529
+ description: string;
530
+ errorMessage: string;
501
531
  };
502
532
  inside: {
503
533
  label: string;
@@ -556,10 +586,12 @@ declare const input: tailwind_variants.TVReturnType<{
556
586
  }, {
557
587
  base: string;
558
588
  label: string;
589
+ mainWrapper: string;
559
590
  inputWrapper: string;
560
591
  innerWrapper: string;
561
592
  input: string;
562
593
  clearButton: string[];
594
+ helperWrapper: string;
563
595
  description: string;
564
596
  errorMessage: string;
565
597
  }>;
@@ -105,6 +105,11 @@ var tv = (options, config) => {
105
105
  {
106
106
  "min-w": ["unit", ...mappedSpacingScaleKeys]
107
107
  }
108
+ ],
109
+ "min-h": [
110
+ {
111
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
112
+ }
108
113
  ]
109
114
  }
110
115
  }
@@ -130,8 +135,9 @@ var groupDataFocusVisibleClasses = [
130
135
  // src/components/input.ts
131
136
  var input = tv({
132
137
  slots: {
133
- base: "group flex flex-col data-[has-elements=true]:gap-2",
138
+ base: "group flex flex-col",
134
139
  label: "block text-small font-medium text-foreground-600",
140
+ mainWrapper: "",
135
141
  inputWrapper: "relative w-full inline-flex flex-row items-center shadow-sm px-3 gap-3",
136
142
  innerWrapper: "inline-flex h-full items-center w-full gap-1.5 box-border",
137
143
  input: "w-full h-full font-normal !bg-transparent outline-none placeholder:text-foreground-500",
@@ -150,6 +156,7 @@ var input = tv({
150
156
  "rounded-full",
151
157
  ...dataFocusVisibleClasses
152
158
  ],
159
+ helperWrapper: "flex relative flex-col gap-1.5 pt-1 px-1",
153
160
  description: "text-tiny text-foreground-400",
154
161
  errorMessage: "text-tiny text-danger"
155
162
  },
@@ -224,17 +231,17 @@ var input = tv({
224
231
  size: {
225
232
  sm: {
226
233
  label: "text-tiny",
227
- inputWrapper: "h-8 px-2 rounded-small",
234
+ inputWrapper: "h-unit-8 min-h-unit-8 px-2 rounded-small",
228
235
  input: "text-small",
229
236
  clearButton: "text-medium"
230
237
  },
231
238
  md: {
232
- inputWrapper: "h-10 rounded-medium",
239
+ inputWrapper: "h-unit-10 min-h-unit-10 rounded-medium",
233
240
  input: "text-small",
234
241
  clearButton: "text-large"
235
242
  },
236
243
  lg: {
237
- inputWrapper: "h-12 rounded-large",
244
+ inputWrapper: "h-unit-12 min-h-unit-12 rounded-large",
238
245
  input: "text-medium",
239
246
  clearButton: "text-large"
240
247
  }
@@ -258,12 +265,19 @@ var input = tv({
258
265
  },
259
266
  labelPlacement: {
260
267
  outside: {
261
- label: "text-foreground"
268
+ base: "data-[has-helper=true]:pb-4",
269
+ label: "text-foreground pb-1.5",
270
+ mainWrapper: "flex flex-col",
271
+ description: "absolute left-1",
272
+ errorMessage: "absolute left-1"
262
273
  },
263
274
  "outside-left": {
264
- base: "flex-row items-center flex-wrap",
275
+ base: "flex-row items-center flex-nowrap data-[has-helper=true]:pb-4",
265
276
  inputWrapper: "flex-1",
266
- label: "text-foreground"
277
+ mainWrapper: "flex flex-col",
278
+ label: "text-foreground pr-2",
279
+ description: "absolute left-1",
280
+ errorMessage: "absolute left-1"
267
281
  },
268
282
  inside: {
269
283
  label: "text-tiny",
@@ -641,6 +655,7 @@ var input = tv({
641
655
  class: {
642
656
  base: "group relative justify-end",
643
657
  label: [
658
+ "pb-0",
644
659
  "group-focus-within:left-0",
645
660
  "group-[.is-filled]:left-0",
646
661
  "group-focus-within:text-foreground",
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  input
3
- } from "../chunk-FTAANQDH.mjs";
3
+ } from "../chunk-ERIVC7UK.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-J2DAFXTJ.mjs";
7
+ import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-7XCRZIGF.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -105,6 +105,11 @@ var tv = (options, config) => {
105
105
  {
106
106
  "min-w": ["unit", ...mappedSpacingScaleKeys]
107
107
  }
108
+ ],
109
+ "min-h": [
110
+ {
111
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
112
+ }
108
113
  ]
109
114
  }
110
115
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  kbd
3
- } from "../chunk-VU5BK47Z.mjs";
4
- import "../chunk-J2DAFXTJ.mjs";
3
+ } from "../chunk-XY766PDD.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  kbd
@@ -106,6 +106,11 @@ var tv = (options, config) => {
106
106
  {
107
107
  "min-w": ["unit", ...mappedSpacingScaleKeys]
108
108
  }
109
+ ],
110
+ "min-h": [
111
+ {
112
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
113
+ }
109
114
  ]
110
115
  }
111
116
  }
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  link,
3
3
  linkAnchorClasses
4
- } from "../chunk-YU23PDLH.mjs";
4
+ } from "../chunk-QX5UKEWK.mjs";
5
5
  import "../chunk-CMYR6AOY.mjs";
6
6
  import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-J2DAFXTJ.mjs";
8
+ import "../chunk-6AEINX52.mjs";
9
9
  import "../chunk-7XCRZIGF.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {
@@ -105,6 +105,11 @@ var tv = (options, config) => {
105
105
  {
106
106
  "min-w": ["unit", ...mappedSpacingScaleKeys]
107
107
  }
108
+ ],
109
+ "min-h": [
110
+ {
111
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
112
+ }
108
113
  ]
109
114
  }
110
115
  }