@nextui-org/theme 2.1.17 → 2.2.0
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.
- package/README.md +1 -1
- package/dist/{chunk-XY766PDD.mjs → chunk-3FZU25GR.mjs} +2 -1
- package/dist/{chunk-CVU6I4IJ.mjs → chunk-4ZM6AI3H.mjs} +1 -1
- package/dist/{chunk-LQGOKGQV.mjs → chunk-524WVPFR.mjs} +1 -1
- package/dist/{chunk-RJKUWMDJ.mjs → chunk-6XJJCV76.mjs} +1 -1
- package/dist/{chunk-S7W5DQP2.mjs → chunk-726LN7M3.mjs} +1 -1
- package/dist/{chunk-PXVLYT7W.mjs → chunk-7ELFOVMX.mjs} +1 -1
- package/dist/{chunk-FXXH62BP.mjs → chunk-7ODIBITJ.mjs} +9 -9
- package/dist/chunk-7TJINK3S.mjs +390 -0
- package/dist/{chunk-G2RPAV6S.mjs → chunk-AC6F4DT6.mjs} +23 -4
- package/dist/{chunk-GNLIYZAQ.mjs → chunk-AGUZRGXC.mjs} +1 -1
- package/dist/{chunk-U4EMZ2CQ.mjs → chunk-AO2AAOEJ.mjs} +2 -2
- package/dist/{chunk-3BNHFA72.mjs → chunk-AT4OXKKK.mjs} +1 -1
- package/dist/chunk-BHDPFX6P.mjs +400 -0
- package/dist/chunk-BLAJANNW.mjs +43 -0
- package/dist/{chunk-5EJVI4V3.mjs → chunk-CTY7IP65.mjs} +29 -13
- package/dist/{chunk-DXTDUHS5.mjs → chunk-CUUGEIPA.mjs} +1 -1
- package/dist/chunk-D2XMP2NC.mjs +6 -0
- package/dist/{chunk-4JBYJQSP.mjs → chunk-ECP4S2VZ.mjs} +1 -1
- package/dist/{chunk-B55QBA5E.mjs → chunk-FRI2VDCA.mjs} +1 -1
- package/dist/{chunk-6AEINX52.mjs → chunk-GMMETTYU.mjs} +2 -16
- package/dist/{chunk-Y5VJSYKV.mjs → chunk-GMUSZ3YF.mjs} +1 -1
- package/dist/{chunk-FHNC7F3W.mjs → chunk-HGSHFC5N.mjs} +7 -1
- package/dist/{chunk-G3PB7L4N.mjs → chunk-HPFX3B3F.mjs} +1 -30
- package/dist/{chunk-VZI6SR6H.mjs → chunk-HUBDRSA4.mjs} +1 -2
- package/dist/{chunk-33DU6C7I.mjs → chunk-I6ESTKKY.mjs} +9 -9
- package/dist/{chunk-EGP3AT4R.mjs → chunk-IP3D7KVB.mjs} +3 -1
- package/dist/{chunk-Q3TEEYQJ.mjs → chunk-JQTFOIV7.mjs} +1 -1
- package/dist/{chunk-JBHEJMGV.mjs → chunk-KCOC3H6R.mjs} +1 -1
- package/dist/{chunk-ZWJMJMVY.mjs → chunk-KVPPQD2E.mjs} +27 -5
- package/dist/{chunk-WBNF66V7.mjs → chunk-LDBYFTHC.mjs} +1 -1
- package/dist/{chunk-GOHT67J3.mjs → chunk-MUWHEIW6.mjs} +13 -6
- package/dist/{chunk-2SNOAR5H.mjs → chunk-NAUU2OUH.mjs} +1 -1
- package/dist/{chunk-QYW2VWAB.mjs → chunk-NYSEAAK5.mjs} +4 -4
- package/dist/{chunk-LENRVMCD.mjs → chunk-OQIS4MXV.mjs} +1 -1
- package/dist/{chunk-NAY2XKLY.mjs → chunk-PSEUPXFL.mjs} +1 -1
- package/dist/{chunk-SPRRISBY.mjs → chunk-RNAP5C4C.mjs} +1 -1
- package/dist/{chunk-L37EV5TN.mjs → chunk-S573WUYY.mjs} +1 -1
- package/dist/{chunk-777XXWYS.mjs → chunk-SEKJ6A6T.mjs} +19 -2
- package/dist/{chunk-YSXRNNDV.mjs → chunk-UODOTC2G.mjs} +1 -1
- package/dist/{chunk-77O7KLUI.mjs → chunk-V5ZTBGGO.mjs} +1 -1
- package/dist/{chunk-MUPUMXL7.mjs → chunk-VDRJHB4F.mjs} +7 -4
- package/dist/{chunk-EC4F6RJF.mjs → chunk-W6DVXJB3.mjs} +1 -1
- package/dist/{chunk-XPLXQDB3.mjs → chunk-WAAJG22Y.mjs} +1 -1
- package/dist/chunk-WBQAMGXK.mjs +0 -0
- package/dist/{chunk-TDMF44G6.mjs → chunk-X7N3NQ6S.mjs} +1 -1
- package/dist/{chunk-5QVKTCUZ.mjs → chunk-YSA7EQBH.mjs} +12 -47
- package/dist/components/accordion.js +2 -67
- package/dist/components/accordion.mjs +2 -3
- package/dist/components/autocomplete.js +2 -67
- package/dist/components/autocomplete.mjs +2 -3
- package/dist/components/avatar.d.ts +14 -4
- package/dist/components/avatar.js +8 -70
- package/dist/components/avatar.mjs +2 -3
- package/dist/components/badge.js +2 -67
- package/dist/components/badge.mjs +2 -3
- package/dist/components/breadcrumbs.js +2 -67
- package/dist/components/breadcrumbs.mjs +2 -3
- package/dist/components/button.d.ts +35 -35
- package/dist/components/button.js +10 -75
- package/dist/components/button.mjs +2 -3
- package/dist/components/calendar.d.ts +495 -0
- package/dist/components/calendar.js +455 -0
- package/dist/components/calendar.mjs +11 -0
- package/dist/components/card.js +2 -67
- package/dist/components/card.mjs +2 -3
- package/dist/components/checkbox.js +5 -70
- package/dist/components/checkbox.mjs +2 -3
- package/dist/components/chip.js +24 -70
- package/dist/components/chip.mjs +2 -3
- package/dist/components/circular-progress.js +2 -67
- package/dist/components/circular-progress.mjs +2 -3
- package/dist/components/code.js +2 -67
- package/dist/components/code.mjs +2 -3
- package/dist/components/date-input.d.ts +815 -0
- package/dist/components/date-input.js +439 -0
- package/dist/components/date-input.mjs +7 -0
- package/dist/components/date-picker.d.ts +265 -0
- package/dist/components/date-picker.js +93 -0
- package/dist/components/date-picker.mjs +9 -0
- package/dist/components/divider.js +2 -67
- package/dist/components/divider.mjs +2 -3
- package/dist/components/drip.d.ts +2 -32
- package/dist/components/drip.js +2 -67
- package/dist/components/drip.mjs +2 -3
- package/dist/components/dropdown.d.ts +4 -64
- package/dist/components/dropdown.js +2 -67
- package/dist/components/dropdown.mjs +2 -3
- package/dist/components/image.js +2 -67
- package/dist/components/image.mjs +2 -3
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +959 -115
- package/dist/components/index.mjs +72 -59
- package/dist/components/input.js +14 -72
- package/dist/components/input.mjs +2 -3
- package/dist/components/kbd.js +3 -67
- package/dist/components/kbd.mjs +2 -3
- package/dist/components/link.js +2 -67
- package/dist/components/link.mjs +2 -3
- package/dist/components/listbox.js +2 -67
- package/dist/components/listbox.mjs +2 -3
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/menu.js +2 -67
- package/dist/components/menu.mjs +2 -3
- package/dist/components/modal.js +4 -67
- package/dist/components/modal.mjs +2 -3
- package/dist/components/navbar.js +2 -67
- package/dist/components/navbar.mjs +2 -3
- package/dist/components/pagination.js +2 -67
- package/dist/components/pagination.mjs +2 -3
- package/dist/components/popover.d.ts +42 -0
- package/dist/components/popover.js +8 -67
- package/dist/components/popover.mjs +2 -3
- package/dist/components/progress.js +2 -67
- package/dist/components/progress.mjs +2 -3
- package/dist/components/radio.js +2 -67
- package/dist/components/radio.mjs +2 -3
- package/dist/components/scroll-shadow.js +2 -67
- package/dist/components/scroll-shadow.mjs +2 -3
- package/dist/components/select.js +30 -79
- package/dist/components/select.mjs +2 -3
- package/dist/components/skeleton.js +3 -68
- package/dist/components/skeleton.mjs +2 -3
- package/dist/components/slider.js +2 -67
- package/dist/components/slider.mjs +2 -3
- package/dist/components/snippet.js +2 -67
- package/dist/components/snippet.mjs +2 -3
- package/dist/components/spacer.js +2 -67
- package/dist/components/spacer.mjs +2 -3
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +2 -67
- package/dist/components/spinner.mjs +2 -3
- package/dist/components/table.js +28 -71
- package/dist/components/table.mjs +2 -3
- package/dist/components/tabs.d.ts +115 -0
- package/dist/components/tabs.js +20 -68
- package/dist/components/tabs.mjs +2 -3
- package/dist/components/toggle.js +10 -75
- package/dist/components/toggle.mjs +2 -3
- package/dist/components/user.d.ts +1 -1
- package/dist/components/user.js +2 -67
- package/dist/components/user.mjs +2 -3
- package/dist/default-layout.js +1 -2
- package/dist/default-layout.mjs +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +1150 -428
- package/dist/index.mjs +78 -69
- package/dist/plugin.js +6 -177
- package/dist/plugin.mjs +5 -6
- package/dist/types.d.ts +1 -11
- package/dist/types.js +0 -64
- package/dist/types.mjs +1 -8
- package/dist/utilities/index.d.ts +0 -30
- package/dist/utilities/index.js +0 -30
- package/dist/utilities/index.mjs +2 -2
- package/dist/utilities/transition.d.ts +2 -31
- package/dist/utilities/transition.js +4 -31
- package/dist/utilities/transition.mjs +3 -1
- package/dist/utils/theme.d.ts +1 -3
- package/dist/utils/theme.js +0 -110
- package/dist/utils/theme.mjs +1 -6
- package/dist/utils/tv.js +2 -67
- package/dist/utils/tv.mjs +1 -2
- package/package.json +5 -5
- package/dist/chunk-DGMET46Q.mjs +0 -63
- package/dist/chunk-WA5F6AED.mjs +0 -57
- /package/dist/{chunk-T6HAGWX5.mjs → chunk-UVXYPGDZ.mjs} +0 -0
|
@@ -1,131 +1,140 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-UVXYPGDZ.mjs";
|
|
2
|
+
import {
|
|
3
|
+
tabs
|
|
4
|
+
} from "../chunk-SEKJ6A6T.mjs";
|
|
5
|
+
import {
|
|
6
|
+
toggle
|
|
7
|
+
} from "../chunk-7ODIBITJ.mjs";
|
|
8
|
+
import {
|
|
9
|
+
user
|
|
10
|
+
} from "../chunk-NAUU2OUH.mjs";
|
|
11
|
+
import {
|
|
12
|
+
scrollShadow
|
|
13
|
+
} from "../chunk-ECP4S2VZ.mjs";
|
|
14
|
+
import {
|
|
15
|
+
select
|
|
16
|
+
} from "../chunk-CTY7IP65.mjs";
|
|
17
|
+
import {
|
|
18
|
+
skeleton
|
|
19
|
+
} from "../chunk-AO2AAOEJ.mjs";
|
|
2
20
|
import {
|
|
3
21
|
slider
|
|
4
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-GMUSZ3YF.mjs";
|
|
5
23
|
import {
|
|
6
24
|
snippet
|
|
7
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-FRI2VDCA.mjs";
|
|
8
26
|
import {
|
|
9
27
|
spacer
|
|
10
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-W6DVXJB3.mjs";
|
|
11
29
|
import {
|
|
12
30
|
spinner
|
|
13
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-PSEUPXFL.mjs";
|
|
14
32
|
import {
|
|
15
33
|
table
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import
|
|
18
|
-
tabs
|
|
19
|
-
} from "../chunk-777XXWYS.mjs";
|
|
34
|
+
} from "../chunk-KVPPQD2E.mjs";
|
|
35
|
+
import "../chunk-YJLQTC7L.mjs";
|
|
20
36
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
37
|
+
menu,
|
|
38
|
+
menuItem,
|
|
39
|
+
menuSection
|
|
40
|
+
} from "../chunk-CUUGEIPA.mjs";
|
|
23
41
|
import {
|
|
24
|
-
|
|
25
|
-
} from "../chunk-
|
|
42
|
+
modal
|
|
43
|
+
} from "../chunk-IP3D7KVB.mjs";
|
|
26
44
|
import {
|
|
27
45
|
navbar
|
|
28
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-OQIS4MXV.mjs";
|
|
29
47
|
import {
|
|
30
48
|
pagination
|
|
31
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-RNAP5C4C.mjs";
|
|
32
50
|
import {
|
|
33
51
|
popover
|
|
34
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-HGSHFC5N.mjs";
|
|
35
53
|
import {
|
|
36
54
|
progress
|
|
37
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-524WVPFR.mjs";
|
|
38
56
|
import {
|
|
39
57
|
radio,
|
|
40
58
|
radioGroup
|
|
41
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-7ELFOVMX.mjs";
|
|
42
60
|
import {
|
|
43
|
-
|
|
44
|
-
} from "../chunk-
|
|
61
|
+
divider
|
|
62
|
+
} from "../chunk-UODOTC2G.mjs";
|
|
45
63
|
import {
|
|
46
|
-
|
|
47
|
-
} from "../chunk-
|
|
64
|
+
drip
|
|
65
|
+
} from "../chunk-AGUZRGXC.mjs";
|
|
48
66
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
67
|
+
dropdown,
|
|
68
|
+
dropdownItem,
|
|
69
|
+
dropdownMenu,
|
|
70
|
+
dropdownSection
|
|
71
|
+
} from "../chunk-4ZM6AI3H.mjs";
|
|
51
72
|
import {
|
|
52
73
|
image
|
|
53
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-LDBYFTHC.mjs";
|
|
54
75
|
import {
|
|
55
76
|
input
|
|
56
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-MUWHEIW6.mjs";
|
|
57
78
|
import {
|
|
58
79
|
kbd
|
|
59
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-3FZU25GR.mjs";
|
|
60
81
|
import {
|
|
61
82
|
link,
|
|
62
83
|
linkAnchorClasses
|
|
63
|
-
} from "../chunk-
|
|
64
|
-
import "../chunk-YJLQTC7L.mjs";
|
|
84
|
+
} from "../chunk-JQTFOIV7.mjs";
|
|
65
85
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
menuSection
|
|
69
|
-
} from "../chunk-DXTDUHS5.mjs";
|
|
70
|
-
import {
|
|
71
|
-
modal
|
|
72
|
-
} from "../chunk-EGP3AT4R.mjs";
|
|
86
|
+
calendar
|
|
87
|
+
} from "../chunk-BHDPFX6P.mjs";
|
|
73
88
|
import {
|
|
74
89
|
card
|
|
75
|
-
} from "../chunk-
|
|
90
|
+
} from "../chunk-X7N3NQ6S.mjs";
|
|
76
91
|
import {
|
|
77
92
|
checkbox,
|
|
78
93
|
checkboxGroup
|
|
79
|
-
} from "../chunk-
|
|
94
|
+
} from "../chunk-NYSEAAK5.mjs";
|
|
80
95
|
import {
|
|
81
96
|
chip
|
|
82
|
-
} from "../chunk-
|
|
97
|
+
} from "../chunk-AC6F4DT6.mjs";
|
|
83
98
|
import {
|
|
84
99
|
circularProgress
|
|
85
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-WAAJG22Y.mjs";
|
|
86
101
|
import {
|
|
87
102
|
code
|
|
88
|
-
} from "../chunk-
|
|
89
|
-
import {
|
|
90
|
-
divider
|
|
91
|
-
} from "../chunk-YSXRNNDV.mjs";
|
|
103
|
+
} from "../chunk-V5ZTBGGO.mjs";
|
|
92
104
|
import {
|
|
93
|
-
|
|
94
|
-
} from "../chunk-
|
|
105
|
+
dateInput
|
|
106
|
+
} from "../chunk-7TJINK3S.mjs";
|
|
95
107
|
import {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
dropdownSection
|
|
100
|
-
} from "../chunk-CVU6I4IJ.mjs";
|
|
108
|
+
datePicker,
|
|
109
|
+
dateRangePicker
|
|
110
|
+
} from "../chunk-BLAJANNW.mjs";
|
|
101
111
|
import {
|
|
102
112
|
accordion,
|
|
103
113
|
accordionItem
|
|
104
|
-
} from "../chunk-
|
|
114
|
+
} from "../chunk-KCOC3H6R.mjs";
|
|
105
115
|
import {
|
|
106
116
|
autocomplete
|
|
107
|
-
} from "../chunk-
|
|
117
|
+
} from "../chunk-AT4OXKKK.mjs";
|
|
108
118
|
import {
|
|
109
119
|
avatar,
|
|
110
120
|
avatarGroup
|
|
111
|
-
} from "../chunk-
|
|
121
|
+
} from "../chunk-VDRJHB4F.mjs";
|
|
112
122
|
import {
|
|
113
123
|
badge
|
|
114
|
-
} from "../chunk-
|
|
124
|
+
} from "../chunk-S573WUYY.mjs";
|
|
115
125
|
import {
|
|
116
126
|
breadcrumbItem,
|
|
117
127
|
breadcrumbs
|
|
118
|
-
} from "../chunk-
|
|
128
|
+
} from "../chunk-6XJJCV76.mjs";
|
|
119
129
|
import {
|
|
120
130
|
button,
|
|
121
131
|
buttonGroup
|
|
122
|
-
} from "../chunk-
|
|
132
|
+
} from "../chunk-I6ESTKKY.mjs";
|
|
123
133
|
import "../chunk-CMYR6AOY.mjs";
|
|
124
134
|
import "../chunk-K7LK7NCE.mjs";
|
|
125
135
|
import "../chunk-2PIR7DFM.mjs";
|
|
126
|
-
import "../chunk-
|
|
136
|
+
import "../chunk-GMMETTYU.mjs";
|
|
127
137
|
import "../chunk-XHQUSKIE.mjs";
|
|
128
|
-
import "../chunk-WA5F6AED.mjs";
|
|
129
138
|
export {
|
|
130
139
|
accordion,
|
|
131
140
|
accordionItem,
|
|
@@ -137,12 +146,16 @@ export {
|
|
|
137
146
|
breadcrumbs,
|
|
138
147
|
button,
|
|
139
148
|
buttonGroup,
|
|
149
|
+
calendar,
|
|
140
150
|
card,
|
|
141
151
|
checkbox,
|
|
142
152
|
checkboxGroup,
|
|
143
153
|
chip,
|
|
144
154
|
circularProgress,
|
|
145
155
|
code,
|
|
156
|
+
dateInput,
|
|
157
|
+
datePicker,
|
|
158
|
+
dateRangePicker,
|
|
146
159
|
divider,
|
|
147
160
|
drip,
|
|
148
161
|
dropdown,
|
package/dist/components/input.js
CHANGED
|
@@ -26,61 +26,6 @@ module.exports = __toCommonJS(input_exports);
|
|
|
26
26
|
|
|
27
27
|
// src/utils/tv.ts
|
|
28
28
|
var import_tailwind_variants = require("tailwind-variants");
|
|
29
|
-
|
|
30
|
-
// src/types.ts
|
|
31
|
-
var spacingScaleKeys = [
|
|
32
|
-
"0",
|
|
33
|
-
"xs",
|
|
34
|
-
"sm",
|
|
35
|
-
"md",
|
|
36
|
-
"lg",
|
|
37
|
-
"xl",
|
|
38
|
-
"2xl",
|
|
39
|
-
"3xl",
|
|
40
|
-
"4xl",
|
|
41
|
-
"5xl",
|
|
42
|
-
"6xl",
|
|
43
|
-
"7xl",
|
|
44
|
-
"8xl",
|
|
45
|
-
"9xl",
|
|
46
|
-
"1",
|
|
47
|
-
"2",
|
|
48
|
-
"3",
|
|
49
|
-
"3.5",
|
|
50
|
-
"4",
|
|
51
|
-
"5",
|
|
52
|
-
"6",
|
|
53
|
-
"7",
|
|
54
|
-
"8",
|
|
55
|
-
"9",
|
|
56
|
-
"10",
|
|
57
|
-
"11",
|
|
58
|
-
"12",
|
|
59
|
-
"13",
|
|
60
|
-
"14",
|
|
61
|
-
"15",
|
|
62
|
-
"16",
|
|
63
|
-
"17",
|
|
64
|
-
"18",
|
|
65
|
-
"20",
|
|
66
|
-
"24",
|
|
67
|
-
"28",
|
|
68
|
-
"32",
|
|
69
|
-
"36",
|
|
70
|
-
"40",
|
|
71
|
-
"44",
|
|
72
|
-
"48",
|
|
73
|
-
"52",
|
|
74
|
-
"56",
|
|
75
|
-
"60",
|
|
76
|
-
"64",
|
|
77
|
-
"72",
|
|
78
|
-
"80",
|
|
79
|
-
"96"
|
|
80
|
-
];
|
|
81
|
-
var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
|
|
82
|
-
|
|
83
|
-
// src/utils/tv.ts
|
|
84
29
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
85
30
|
var tv = (options, config) => {
|
|
86
31
|
var _a, _b, _c;
|
|
@@ -92,7 +37,7 @@ var tv = (options, config) => {
|
|
|
92
37
|
theme: {
|
|
93
38
|
...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
|
|
94
39
|
opacity: ["disabled"],
|
|
95
|
-
spacing: ["divider"
|
|
40
|
+
spacing: ["divider"],
|
|
96
41
|
borderWidth: COMMON_UNITS,
|
|
97
42
|
borderRadius: COMMON_UNITS
|
|
98
43
|
},
|
|
@@ -100,17 +45,7 @@ var tv = (options, config) => {
|
|
|
100
45
|
...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
|
|
101
46
|
shadow: [{ shadow: COMMON_UNITS }],
|
|
102
47
|
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
103
|
-
"bg-image": ["bg-stripe-gradient"]
|
|
104
|
-
"min-w": [
|
|
105
|
-
{
|
|
106
|
-
"min-w": ["unit", ...mappedSpacingScaleKeys]
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"min-h": [
|
|
110
|
-
{
|
|
111
|
-
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
112
|
-
}
|
|
113
|
-
]
|
|
48
|
+
"bg-image": ["bg-stripe-gradient"]
|
|
114
49
|
}
|
|
115
50
|
}
|
|
116
51
|
});
|
|
@@ -142,6 +77,7 @@ var input = tv({
|
|
|
142
77
|
"z-10",
|
|
143
78
|
"pointer-events-none",
|
|
144
79
|
"origin-top-left",
|
|
80
|
+
"rtl:origin-top-right",
|
|
145
81
|
"subpixel-antialiased",
|
|
146
82
|
"block",
|
|
147
83
|
"text-small",
|
|
@@ -162,6 +98,8 @@ var input = tv({
|
|
|
162
98
|
"hidden",
|
|
163
99
|
"absolute",
|
|
164
100
|
"right-3",
|
|
101
|
+
"rtl:right-auto",
|
|
102
|
+
"rtl:left-3",
|
|
165
103
|
"appearance-none",
|
|
166
104
|
"outline-none",
|
|
167
105
|
"select-none",
|
|
@@ -240,17 +178,17 @@ var input = tv({
|
|
|
240
178
|
size: {
|
|
241
179
|
sm: {
|
|
242
180
|
label: "text-tiny",
|
|
243
|
-
inputWrapper: "h-
|
|
181
|
+
inputWrapper: "h-8 min-h-8 px-2 rounded-small",
|
|
244
182
|
input: "text-small",
|
|
245
183
|
clearButton: "text-medium"
|
|
246
184
|
},
|
|
247
185
|
md: {
|
|
248
|
-
inputWrapper: "h-
|
|
186
|
+
inputWrapper: "h-10 min-h-10 rounded-medium",
|
|
249
187
|
input: "text-small",
|
|
250
188
|
clearButton: "text-large"
|
|
251
189
|
},
|
|
252
190
|
lg: {
|
|
253
|
-
inputWrapper: "h-
|
|
191
|
+
inputWrapper: "h-12 min-h-12 rounded-large",
|
|
254
192
|
input: "text-medium",
|
|
255
193
|
clearButton: "text-large"
|
|
256
194
|
}
|
|
@@ -280,7 +218,7 @@ var input = tv({
|
|
|
280
218
|
base: "flex-row items-center flex-nowrap data-[has-helper=true]:items-start",
|
|
281
219
|
inputWrapper: "flex-1",
|
|
282
220
|
mainWrapper: "flex flex-col",
|
|
283
|
-
label: "relative text-foreground pr-2"
|
|
221
|
+
label: "relative text-foreground pr-2 rtl:pr-0 rtl:pl-2"
|
|
284
222
|
},
|
|
285
223
|
inside: {
|
|
286
224
|
label: "text-tiny cursor-text",
|
|
@@ -295,7 +233,7 @@ var input = tv({
|
|
|
295
233
|
},
|
|
296
234
|
isClearable: {
|
|
297
235
|
true: {
|
|
298
|
-
input: "peer pr-6",
|
|
236
|
+
input: "peer pr-6 rtl:pr-0 rtl:pl-6",
|
|
299
237
|
clearButton: "peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"
|
|
300
238
|
}
|
|
301
239
|
},
|
|
@@ -861,6 +799,8 @@ var input = tv({
|
|
|
861
799
|
class: {
|
|
862
800
|
label: [
|
|
863
801
|
"left-3",
|
|
802
|
+
"rtl:left-auto",
|
|
803
|
+
"rtl:right-3",
|
|
864
804
|
"text-small",
|
|
865
805
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
866
806
|
],
|
|
@@ -874,6 +814,8 @@ var input = tv({
|
|
|
874
814
|
class: {
|
|
875
815
|
label: [
|
|
876
816
|
"left-3",
|
|
817
|
+
"rtl:left-auto",
|
|
818
|
+
"rtl:right-3",
|
|
877
819
|
"text-medium",
|
|
878
820
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
879
821
|
],
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-MUWHEIW6.mjs";
|
|
4
4
|
import "../chunk-CMYR6AOY.mjs";
|
|
5
5
|
import "../chunk-K7LK7NCE.mjs";
|
|
6
6
|
import "../chunk-2PIR7DFM.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-GMMETTYU.mjs";
|
|
8
8
|
import "../chunk-XHQUSKIE.mjs";
|
|
9
|
-
import "../chunk-WA5F6AED.mjs";
|
|
10
9
|
export {
|
|
11
10
|
input
|
|
12
11
|
};
|
package/dist/components/kbd.js
CHANGED
|
@@ -26,61 +26,6 @@ module.exports = __toCommonJS(kbd_exports);
|
|
|
26
26
|
|
|
27
27
|
// src/utils/tv.ts
|
|
28
28
|
var import_tailwind_variants = require("tailwind-variants");
|
|
29
|
-
|
|
30
|
-
// src/types.ts
|
|
31
|
-
var spacingScaleKeys = [
|
|
32
|
-
"0",
|
|
33
|
-
"xs",
|
|
34
|
-
"sm",
|
|
35
|
-
"md",
|
|
36
|
-
"lg",
|
|
37
|
-
"xl",
|
|
38
|
-
"2xl",
|
|
39
|
-
"3xl",
|
|
40
|
-
"4xl",
|
|
41
|
-
"5xl",
|
|
42
|
-
"6xl",
|
|
43
|
-
"7xl",
|
|
44
|
-
"8xl",
|
|
45
|
-
"9xl",
|
|
46
|
-
"1",
|
|
47
|
-
"2",
|
|
48
|
-
"3",
|
|
49
|
-
"3.5",
|
|
50
|
-
"4",
|
|
51
|
-
"5",
|
|
52
|
-
"6",
|
|
53
|
-
"7",
|
|
54
|
-
"8",
|
|
55
|
-
"9",
|
|
56
|
-
"10",
|
|
57
|
-
"11",
|
|
58
|
-
"12",
|
|
59
|
-
"13",
|
|
60
|
-
"14",
|
|
61
|
-
"15",
|
|
62
|
-
"16",
|
|
63
|
-
"17",
|
|
64
|
-
"18",
|
|
65
|
-
"20",
|
|
66
|
-
"24",
|
|
67
|
-
"28",
|
|
68
|
-
"32",
|
|
69
|
-
"36",
|
|
70
|
-
"40",
|
|
71
|
-
"44",
|
|
72
|
-
"48",
|
|
73
|
-
"52",
|
|
74
|
-
"56",
|
|
75
|
-
"60",
|
|
76
|
-
"64",
|
|
77
|
-
"72",
|
|
78
|
-
"80",
|
|
79
|
-
"96"
|
|
80
|
-
];
|
|
81
|
-
var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
|
|
82
|
-
|
|
83
|
-
// src/utils/tv.ts
|
|
84
29
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
85
30
|
var tv = (options, config) => {
|
|
86
31
|
var _a, _b, _c;
|
|
@@ -92,7 +37,7 @@ var tv = (options, config) => {
|
|
|
92
37
|
theme: {
|
|
93
38
|
...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
|
|
94
39
|
opacity: ["disabled"],
|
|
95
|
-
spacing: ["divider"
|
|
40
|
+
spacing: ["divider"],
|
|
96
41
|
borderWidth: COMMON_UNITS,
|
|
97
42
|
borderRadius: COMMON_UNITS
|
|
98
43
|
},
|
|
@@ -100,17 +45,7 @@ var tv = (options, config) => {
|
|
|
100
45
|
...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
|
|
101
46
|
shadow: [{ shadow: COMMON_UNITS }],
|
|
102
47
|
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
103
|
-
"bg-image": ["bg-stripe-gradient"]
|
|
104
|
-
"min-w": [
|
|
105
|
-
{
|
|
106
|
-
"min-w": ["unit", ...mappedSpacingScaleKeys]
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"min-h": [
|
|
110
|
-
{
|
|
111
|
-
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
112
|
-
}
|
|
113
|
-
]
|
|
48
|
+
"bg-image": ["bg-stripe-gradient"]
|
|
114
49
|
}
|
|
115
50
|
}
|
|
116
51
|
});
|
|
@@ -124,6 +59,7 @@ var kbd = tv({
|
|
|
124
59
|
"py-0.5",
|
|
125
60
|
"inline-flex",
|
|
126
61
|
"space-x-0.5",
|
|
62
|
+
"rtl:space-x-reverse",
|
|
127
63
|
"items-center",
|
|
128
64
|
"font-sans",
|
|
129
65
|
"font-normal",
|
package/dist/components/kbd.mjs
CHANGED
package/dist/components/link.js
CHANGED
|
@@ -27,61 +27,6 @@ module.exports = __toCommonJS(link_exports);
|
|
|
27
27
|
|
|
28
28
|
// src/utils/tv.ts
|
|
29
29
|
var import_tailwind_variants = require("tailwind-variants");
|
|
30
|
-
|
|
31
|
-
// src/types.ts
|
|
32
|
-
var spacingScaleKeys = [
|
|
33
|
-
"0",
|
|
34
|
-
"xs",
|
|
35
|
-
"sm",
|
|
36
|
-
"md",
|
|
37
|
-
"lg",
|
|
38
|
-
"xl",
|
|
39
|
-
"2xl",
|
|
40
|
-
"3xl",
|
|
41
|
-
"4xl",
|
|
42
|
-
"5xl",
|
|
43
|
-
"6xl",
|
|
44
|
-
"7xl",
|
|
45
|
-
"8xl",
|
|
46
|
-
"9xl",
|
|
47
|
-
"1",
|
|
48
|
-
"2",
|
|
49
|
-
"3",
|
|
50
|
-
"3.5",
|
|
51
|
-
"4",
|
|
52
|
-
"5",
|
|
53
|
-
"6",
|
|
54
|
-
"7",
|
|
55
|
-
"8",
|
|
56
|
-
"9",
|
|
57
|
-
"10",
|
|
58
|
-
"11",
|
|
59
|
-
"12",
|
|
60
|
-
"13",
|
|
61
|
-
"14",
|
|
62
|
-
"15",
|
|
63
|
-
"16",
|
|
64
|
-
"17",
|
|
65
|
-
"18",
|
|
66
|
-
"20",
|
|
67
|
-
"24",
|
|
68
|
-
"28",
|
|
69
|
-
"32",
|
|
70
|
-
"36",
|
|
71
|
-
"40",
|
|
72
|
-
"44",
|
|
73
|
-
"48",
|
|
74
|
-
"52",
|
|
75
|
-
"56",
|
|
76
|
-
"60",
|
|
77
|
-
"64",
|
|
78
|
-
"72",
|
|
79
|
-
"80",
|
|
80
|
-
"96"
|
|
81
|
-
];
|
|
82
|
-
var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
|
|
83
|
-
|
|
84
|
-
// src/utils/tv.ts
|
|
85
30
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
86
31
|
var tv = (options, config) => {
|
|
87
32
|
var _a, _b, _c;
|
|
@@ -93,7 +38,7 @@ var tv = (options, config) => {
|
|
|
93
38
|
theme: {
|
|
94
39
|
...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
|
|
95
40
|
opacity: ["disabled"],
|
|
96
|
-
spacing: ["divider"
|
|
41
|
+
spacing: ["divider"],
|
|
97
42
|
borderWidth: COMMON_UNITS,
|
|
98
43
|
borderRadius: COMMON_UNITS
|
|
99
44
|
},
|
|
@@ -101,17 +46,7 @@ var tv = (options, config) => {
|
|
|
101
46
|
...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
|
|
102
47
|
shadow: [{ shadow: COMMON_UNITS }],
|
|
103
48
|
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
104
|
-
"bg-image": ["bg-stripe-gradient"]
|
|
105
|
-
"min-w": [
|
|
106
|
-
{
|
|
107
|
-
"min-w": ["unit", ...mappedSpacingScaleKeys]
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"min-h": [
|
|
111
|
-
{
|
|
112
|
-
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
113
|
-
}
|
|
114
|
-
]
|
|
49
|
+
"bg-image": ["bg-stripe-gradient"]
|
|
115
50
|
}
|
|
116
51
|
}
|
|
117
52
|
});
|
package/dist/components/link.mjs
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
link,
|
|
3
3
|
linkAnchorClasses
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JQTFOIV7.mjs";
|
|
5
5
|
import "../chunk-CMYR6AOY.mjs";
|
|
6
6
|
import "../chunk-K7LK7NCE.mjs";
|
|
7
7
|
import "../chunk-2PIR7DFM.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-GMMETTYU.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
|
10
|
-
import "../chunk-WA5F6AED.mjs";
|
|
11
10
|
export {
|
|
12
11
|
link,
|
|
13
12
|
linkAnchorClasses
|
|
@@ -28,61 +28,6 @@ module.exports = __toCommonJS(listbox_exports);
|
|
|
28
28
|
|
|
29
29
|
// src/utils/tv.ts
|
|
30
30
|
var import_tailwind_variants = require("tailwind-variants");
|
|
31
|
-
|
|
32
|
-
// src/types.ts
|
|
33
|
-
var spacingScaleKeys = [
|
|
34
|
-
"0",
|
|
35
|
-
"xs",
|
|
36
|
-
"sm",
|
|
37
|
-
"md",
|
|
38
|
-
"lg",
|
|
39
|
-
"xl",
|
|
40
|
-
"2xl",
|
|
41
|
-
"3xl",
|
|
42
|
-
"4xl",
|
|
43
|
-
"5xl",
|
|
44
|
-
"6xl",
|
|
45
|
-
"7xl",
|
|
46
|
-
"8xl",
|
|
47
|
-
"9xl",
|
|
48
|
-
"1",
|
|
49
|
-
"2",
|
|
50
|
-
"3",
|
|
51
|
-
"3.5",
|
|
52
|
-
"4",
|
|
53
|
-
"5",
|
|
54
|
-
"6",
|
|
55
|
-
"7",
|
|
56
|
-
"8",
|
|
57
|
-
"9",
|
|
58
|
-
"10",
|
|
59
|
-
"11",
|
|
60
|
-
"12",
|
|
61
|
-
"13",
|
|
62
|
-
"14",
|
|
63
|
-
"15",
|
|
64
|
-
"16",
|
|
65
|
-
"17",
|
|
66
|
-
"18",
|
|
67
|
-
"20",
|
|
68
|
-
"24",
|
|
69
|
-
"28",
|
|
70
|
-
"32",
|
|
71
|
-
"36",
|
|
72
|
-
"40",
|
|
73
|
-
"44",
|
|
74
|
-
"48",
|
|
75
|
-
"52",
|
|
76
|
-
"56",
|
|
77
|
-
"60",
|
|
78
|
-
"64",
|
|
79
|
-
"72",
|
|
80
|
-
"80",
|
|
81
|
-
"96"
|
|
82
|
-
];
|
|
83
|
-
var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
|
|
84
|
-
|
|
85
|
-
// src/utils/tv.ts
|
|
86
31
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
87
32
|
var tv = (options, config) => {
|
|
88
33
|
var _a, _b, _c;
|
|
@@ -94,7 +39,7 @@ var tv = (options, config) => {
|
|
|
94
39
|
theme: {
|
|
95
40
|
...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
|
|
96
41
|
opacity: ["disabled"],
|
|
97
|
-
spacing: ["divider"
|
|
42
|
+
spacing: ["divider"],
|
|
98
43
|
borderWidth: COMMON_UNITS,
|
|
99
44
|
borderRadius: COMMON_UNITS
|
|
100
45
|
},
|
|
@@ -102,17 +47,7 @@ var tv = (options, config) => {
|
|
|
102
47
|
...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
|
|
103
48
|
shadow: [{ shadow: COMMON_UNITS }],
|
|
104
49
|
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
105
|
-
"bg-image": ["bg-stripe-gradient"]
|
|
106
|
-
"min-w": [
|
|
107
|
-
{
|
|
108
|
-
"min-w": ["unit", ...mappedSpacingScaleKeys]
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"min-h": [
|
|
112
|
-
{
|
|
113
|
-
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
114
|
-
}
|
|
115
|
-
]
|
|
50
|
+
"bg-image": ["bg-stripe-gradient"]
|
|
116
51
|
}
|
|
117
52
|
}
|
|
118
53
|
});
|