@nextui-org/theme 2.2.11 → 2.3.0-beta.1
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/dist/{chunk-LSQXJEPE.mjs → chunk-2ODFPLXN.mjs} +22 -22
- package/dist/{chunk-TA7PDZUG.mjs → chunk-2TAKWWRG.mjs} +1 -1
- package/dist/chunk-3XDFZGUJ.mjs +216 -0
- package/dist/{chunk-3XVMTUU7.mjs → chunk-46U6G7UJ.mjs} +2 -2
- package/dist/{chunk-MP2JYSMR.mjs → chunk-5VB7JNVX.mjs} +2 -2
- package/dist/{chunk-JBKBSMXM.mjs → chunk-7IYRK3EV.mjs} +1 -1
- package/dist/{chunk-T2VR4T5R.mjs → chunk-AKXXHKTO.mjs} +1 -1
- package/dist/{chunk-EF6G67MF.mjs → chunk-AN5I7NTT.mjs} +1 -1
- package/dist/{chunk-KPVV2V7V.mjs → chunk-AUN4SP2F.mjs} +1 -1
- package/dist/{chunk-A2DU46QS.mjs → chunk-AXSF7SRE.mjs} +1 -1
- package/dist/{chunk-V4SD44VK.mjs → chunk-BWPOLXFL.mjs} +1 -1
- package/dist/{chunk-AXXUQWWC.mjs → chunk-DBPAK7QN.mjs} +1 -1
- package/dist/{chunk-63NMFZTF.mjs → chunk-EGGHND3C.mjs} +2 -2
- package/dist/chunk-EP7KPCL3.mjs +62 -0
- package/dist/{chunk-GQDFLFNG.mjs → chunk-EQPJSVMB.mjs} +1 -1
- package/dist/{chunk-KUKJUMC3.mjs → chunk-FB2NWPDB.mjs} +4 -4
- package/dist/{chunk-ARYJFX77.mjs → chunk-FJGKW3ZE.mjs} +10 -10
- package/dist/{chunk-BYWORP66.mjs → chunk-GIXI35A3.mjs} +8 -1
- package/dist/{chunk-BJ6IKX32.mjs → chunk-GMZHMFEU.mjs} +1 -1
- package/dist/{chunk-BZCSOIUI.mjs → chunk-GQT3YUX3.mjs} +5 -5
- package/dist/{chunk-XL6AWNU3.mjs → chunk-HHK47K4W.mjs} +2 -2
- package/dist/{chunk-MVG7GLBD.mjs → chunk-HIFLYEAM.mjs} +1 -1
- package/dist/{chunk-22SLLLIZ.mjs → chunk-HNRFZTEX.mjs} +3 -3
- package/dist/{chunk-M3GQ3DWZ.mjs → chunk-HZ7J23VD.mjs} +6 -3
- package/dist/{chunk-C3SML4G4.mjs → chunk-IAHJC7C4.mjs} +1 -1
- package/dist/{chunk-2KK3SUMT.mjs → chunk-IZOPFGDE.mjs} +37 -2
- package/dist/{chunk-PWJWH4MD.mjs → chunk-JE6SPRGQ.mjs} +2 -2
- package/dist/{chunk-7YPXCOW5.mjs → chunk-K6KPB2U5.mjs} +1 -1
- package/dist/{chunk-42JWJWWX.mjs → chunk-KTTXIYK2.mjs} +2 -2
- package/dist/{chunk-C43Y2OOL.mjs → chunk-KZ2I3V4D.mjs} +2 -2
- package/dist/{chunk-JFWA3DGK.mjs → chunk-LCMN7HGG.mjs} +19 -13
- package/dist/{chunk-JYFVXE5E.mjs → chunk-LVAEW6WR.mjs} +3 -3
- package/dist/{chunk-R27WO3A6.mjs → chunk-LWG2RR7B.mjs} +2 -2
- package/dist/{chunk-P73E5YV7.mjs → chunk-N67DL6BW.mjs} +2 -4
- package/dist/{chunk-UDSOWFZE.mjs → chunk-OAHW4NON.mjs} +1 -1
- package/dist/{chunk-WGH4WKVU.mjs → chunk-QFGVVQRM.mjs} +2 -2
- package/dist/{chunk-XAYP4CR3.mjs → chunk-SC2SILVU.mjs} +2 -2
- package/dist/{chunk-QWWVIX6M.mjs → chunk-TNFNBUPA.mjs} +5 -4
- package/dist/{chunk-U6G6SZ26.mjs → chunk-TOQXZATI.mjs} +1 -1
- package/dist/{chunk-3QYYLFUC.mjs → chunk-UQZHSMVI.mjs} +1 -1
- package/dist/{chunk-N2KXC5ZE.mjs → chunk-UWE6H66T.mjs} +1 -1
- package/dist/{chunk-KPI62GDB.mjs → chunk-VKSIQ7SR.mjs} +1 -1
- package/dist/{chunk-F4AOWB64.mjs → chunk-VX7HAPUO.mjs} +1 -1
- package/dist/{chunk-DI2L75XK.mjs → chunk-W5UU3F46.mjs} +5 -0
- package/dist/{chunk-QV3ALCMB.mjs → chunk-XQI5RD6S.mjs} +2 -2
- package/dist/{chunk-3LD7T42T.mjs → chunk-XZMJGJQX.mjs} +4 -4
- package/dist/{chunk-VLE2FQQR.mjs → chunk-YLHKOIZS.mjs} +1 -1
- package/dist/{chunk-XXQSA25O.mjs → chunk-YRDDKYYT.mjs} +6 -3
- package/dist/components/accordion.js +8 -1
- package/dist/components/accordion.mjs +5 -5
- package/dist/components/alert.d.ts +344 -0
- package/dist/components/alert.js +355 -0
- package/dist/components/alert.mjs +12 -0
- package/dist/components/autocomplete.js +8 -1
- package/dist/components/autocomplete.mjs +3 -3
- package/dist/components/avatar.js +13 -6
- package/dist/components/avatar.mjs +5 -5
- package/dist/components/badge.js +13 -6
- package/dist/components/badge.mjs +5 -5
- package/dist/components/breadcrumbs.js +9 -2
- package/dist/components/breadcrumbs.mjs +5 -5
- package/dist/components/button.js +17 -7
- package/dist/components/button.mjs +5 -5
- package/dist/components/calendar.js +8 -1
- package/dist/components/calendar.mjs +5 -5
- package/dist/components/card.js +8 -1
- package/dist/components/card.mjs +5 -5
- package/dist/components/checkbox.js +11 -4
- package/dist/components/checkbox.mjs +5 -5
- package/dist/components/chip.js +13 -6
- package/dist/components/chip.mjs +5 -5
- package/dist/components/circular-progress.js +8 -1
- package/dist/components/circular-progress.mjs +3 -3
- package/dist/components/code.js +13 -6
- package/dist/components/code.mjs +5 -5
- package/dist/components/date-input.js +10 -3
- package/dist/components/date-input.mjs +3 -3
- package/dist/components/date-picker.js +9 -2
- package/dist/components/date-picker.mjs +3 -3
- package/dist/components/divider.js +8 -1
- package/dist/components/divider.mjs +3 -3
- package/dist/components/drawer.d.ts +358 -0
- package/dist/components/drawer.js +130 -0
- package/dist/components/drawer.mjs +8 -0
- package/dist/components/drip.js +8 -1
- package/dist/components/drip.mjs +3 -3
- package/dist/components/dropdown.js +8 -1
- package/dist/components/dropdown.mjs +5 -5
- package/dist/components/image.js +8 -1
- package/dist/components/image.mjs +3 -3
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +367 -55
- package/dist/components/index.mjs +68 -60
- package/dist/components/input.d.ts +7 -0
- package/dist/components/input.js +12 -4
- package/dist/components/input.mjs +5 -5
- package/dist/components/kbd.js +8 -1
- package/dist/components/kbd.mjs +3 -3
- package/dist/components/link.js +8 -1
- package/dist/components/link.mjs +5 -5
- package/dist/components/listbox.js +8 -1
- package/dist/components/listbox.mjs +5 -5
- package/dist/components/menu.js +8 -1
- package/dist/components/menu.mjs +5 -5
- package/dist/components/modal.js +9 -4
- package/dist/components/modal.mjs +5 -5
- package/dist/components/navbar.js +8 -1
- package/dist/components/navbar.mjs +5 -5
- package/dist/components/pagination.js +13 -6
- package/dist/components/pagination.mjs +5 -5
- package/dist/components/popover.js +13 -6
- package/dist/components/popover.mjs +5 -5
- package/dist/components/progress.js +44 -2
- package/dist/components/progress.mjs +3 -3
- package/dist/components/radio.js +10 -3
- package/dist/components/radio.mjs +5 -5
- package/dist/components/scroll-shadow.js +8 -1
- package/dist/components/scroll-shadow.mjs +3 -3
- package/dist/components/select.d.ts +21 -0
- package/dist/components/select.js +13 -3
- package/dist/components/select.mjs +5 -5
- package/dist/components/skeleton.js +8 -1
- package/dist/components/skeleton.mjs +3 -3
- package/dist/components/slider.js +8 -1
- package/dist/components/slider.mjs +5 -5
- package/dist/components/snippet.js +13 -6
- package/dist/components/snippet.mjs +5 -5
- package/dist/components/spacer.js +8 -1
- package/dist/components/spacer.mjs +3 -3
- package/dist/components/spinner.js +8 -1
- package/dist/components/spinner.mjs +3 -3
- package/dist/components/table.js +29 -22
- package/dist/components/table.mjs +5 -5
- package/dist/components/tabs.js +13 -6
- package/dist/components/tabs.mjs +5 -5
- package/dist/components/toggle.js +17 -10
- package/dist/components/toggle.mjs +5 -5
- package/dist/components/user.d.ts +26 -27
- package/dist/components/user.js +8 -1
- package/dist/components/user.mjs +5 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +392 -69
- package/dist/index.mjs +74 -66
- package/dist/plugin.js +24 -13
- package/dist/plugin.mjs +4 -4
- package/dist/utilities/custom.d.ts +5 -0
- package/dist/utilities/custom.js +5 -0
- package/dist/utilities/custom.mjs +1 -1
- package/dist/utilities/index.d.ts +5 -0
- package/dist/utilities/index.js +5 -0
- package/dist/utilities/index.mjs +3 -3
- package/dist/utils/cn.js +9 -2
- package/dist/utils/cn.mjs +2 -2
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +14 -7
- package/dist/utils/index.mjs +5 -5
- package/dist/utils/tv.js +8 -1
- package/dist/utils/tv.mjs +2 -2
- package/dist/utils/tw-merge-config.d.ts +17 -3
- package/dist/utils/tw-merge-config.js +8 -1
- package/dist/utils/tw-merge-config.mjs +1 -1
- package/dist/utils/variants.js +5 -5
- package/dist/utils/variants.mjs +1 -1
- package/package.json +3 -12
- /package/dist/{chunk-UVXYPGDZ.mjs → chunk-MA4DKK64.mjs} +0 -0
|
@@ -39,7 +39,14 @@ var twMergeConfig = {
|
|
|
39
39
|
classGroups: {
|
|
40
40
|
shadow: [{ shadow: COMMON_UNITS }],
|
|
41
41
|
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
42
|
-
"bg-image": [
|
|
42
|
+
"bg-image": [
|
|
43
|
+
"bg-stripe-gradient-default",
|
|
44
|
+
"bg-stripe-gradient-primary",
|
|
45
|
+
"bg-stripe-gradient-secondary",
|
|
46
|
+
"bg-stripe-gradient-success",
|
|
47
|
+
"bg-stripe-gradient-warning",
|
|
48
|
+
"bg-stripe-gradient-danger"
|
|
49
|
+
]
|
|
43
50
|
}
|
|
44
51
|
};
|
|
45
52
|
|
|
@@ -99,10 +106,10 @@ var toggle = tv({
|
|
|
99
106
|
"rounded-full",
|
|
100
107
|
"origin-right"
|
|
101
108
|
],
|
|
102
|
-
startContent: "z-0 absolute
|
|
103
|
-
endContent: "z-0 absolute
|
|
109
|
+
startContent: "z-0 absolute start-1.5 text-current",
|
|
110
|
+
endContent: "z-0 absolute end-1.5 text-default-600",
|
|
104
111
|
thumbIcon: "text-black",
|
|
105
|
-
label: "relative text-foreground select-none"
|
|
112
|
+
label: "relative text-foreground select-none ms-2"
|
|
106
113
|
},
|
|
107
114
|
variants: {
|
|
108
115
|
color: {
|
|
@@ -145,30 +152,30 @@ var toggle = tv({
|
|
|
145
152
|
},
|
|
146
153
|
size: {
|
|
147
154
|
sm: {
|
|
148
|
-
wrapper: "w-10 h-6
|
|
155
|
+
wrapper: "w-10 h-6",
|
|
149
156
|
thumb: [
|
|
150
157
|
"w-4 h-4 text-tiny",
|
|
151
|
-
"group-data-[selected=true]:
|
|
158
|
+
"group-data-[selected=true]:ms-4"
|
|
152
159
|
],
|
|
153
160
|
endContent: "text-tiny",
|
|
154
161
|
startContent: "text-tiny",
|
|
155
162
|
label: "text-small"
|
|
156
163
|
},
|
|
157
164
|
md: {
|
|
158
|
-
wrapper: "w-12 h-7
|
|
165
|
+
wrapper: "w-12 h-7",
|
|
159
166
|
thumb: [
|
|
160
167
|
"w-5 h-5 text-small",
|
|
161
|
-
"group-data-[selected=true]:
|
|
168
|
+
"group-data-[selected=true]:ms-5"
|
|
162
169
|
],
|
|
163
170
|
endContent: "text-small",
|
|
164
171
|
startContent: "text-small",
|
|
165
172
|
label: "text-medium"
|
|
166
173
|
},
|
|
167
174
|
lg: {
|
|
168
|
-
wrapper: "w-14 h-8
|
|
175
|
+
wrapper: "w-14 h-8",
|
|
169
176
|
thumb: [
|
|
170
177
|
"w-6 h-6 text-medium",
|
|
171
|
-
"group-data-[selected=true]:
|
|
178
|
+
"group-data-[selected=true]:ms-6"
|
|
172
179
|
],
|
|
173
180
|
endContent: "text-medium",
|
|
174
181
|
startContent: "text-medium",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toggle
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FJGKW3ZE.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-GQT3YUX3.mjs";
|
|
6
|
+
import "../chunk-46U6G7UJ.mjs";
|
|
7
|
+
import "../chunk-UWE6H66T.mjs";
|
|
8
|
+
import "../chunk-GIXI35A3.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
|
10
10
|
export {
|
|
11
11
|
toggle
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
1
|
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
3
|
-
import * as
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* User wrapper **Tailwind Variants** component
|
|
@@ -18,20 +17,20 @@ import * as tailwind_merge from 'tailwind-merge';
|
|
|
18
17
|
*/
|
|
19
18
|
declare const user: tailwind_variants.TVReturnType<{
|
|
20
19
|
[key: string]: {
|
|
21
|
-
[key: string]:
|
|
22
|
-
base?:
|
|
23
|
-
description?:
|
|
24
|
-
name?:
|
|
25
|
-
wrapper?:
|
|
20
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
21
|
+
base?: tailwind_variants.ClassValue;
|
|
22
|
+
description?: tailwind_variants.ClassValue;
|
|
23
|
+
name?: tailwind_variants.ClassValue;
|
|
24
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
26
25
|
};
|
|
27
26
|
};
|
|
28
27
|
} | {
|
|
29
28
|
[x: string]: {
|
|
30
|
-
[x: string]:
|
|
31
|
-
base?:
|
|
32
|
-
description?:
|
|
33
|
-
name?:
|
|
34
|
-
wrapper?:
|
|
29
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
30
|
+
base?: tailwind_variants.ClassValue;
|
|
31
|
+
description?: tailwind_variants.ClassValue;
|
|
32
|
+
name?: tailwind_variants.ClassValue;
|
|
33
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
35
34
|
};
|
|
36
35
|
};
|
|
37
36
|
} | {}, {
|
|
@@ -41,20 +40,20 @@ declare const user: tailwind_variants.TVReturnType<{
|
|
|
41
40
|
description: string;
|
|
42
41
|
}, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
|
|
43
42
|
[key: string]: {
|
|
44
|
-
[key: string]:
|
|
45
|
-
base?:
|
|
46
|
-
description?:
|
|
47
|
-
name?:
|
|
48
|
-
wrapper?:
|
|
43
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
44
|
+
base?: tailwind_variants.ClassValue;
|
|
45
|
+
description?: tailwind_variants.ClassValue;
|
|
46
|
+
name?: tailwind_variants.ClassValue;
|
|
47
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
49
48
|
};
|
|
50
49
|
};
|
|
51
50
|
} | {}>, {
|
|
52
51
|
[key: string]: {
|
|
53
|
-
[key: string]:
|
|
54
|
-
base?:
|
|
55
|
-
description?:
|
|
56
|
-
name?:
|
|
57
|
-
wrapper?:
|
|
52
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
53
|
+
base?: tailwind_variants.ClassValue;
|
|
54
|
+
description?: tailwind_variants.ClassValue;
|
|
55
|
+
name?: tailwind_variants.ClassValue;
|
|
56
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
58
57
|
};
|
|
59
58
|
};
|
|
60
59
|
} | {}, {
|
|
@@ -69,11 +68,11 @@ declare const user: tailwind_variants.TVReturnType<{
|
|
|
69
68
|
description: string;
|
|
70
69
|
}, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
|
|
71
70
|
[key: string]: {
|
|
72
|
-
[key: string]:
|
|
73
|
-
base?:
|
|
74
|
-
description?:
|
|
75
|
-
name?:
|
|
76
|
-
wrapper?:
|
|
71
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
72
|
+
base?: tailwind_variants.ClassValue;
|
|
73
|
+
description?: tailwind_variants.ClassValue;
|
|
74
|
+
name?: tailwind_variants.ClassValue;
|
|
75
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
77
76
|
};
|
|
78
77
|
};
|
|
79
78
|
} | {}>, unknown, unknown, undefined>>;
|
package/dist/components/user.js
CHANGED
|
@@ -39,7 +39,14 @@ var twMergeConfig = {
|
|
|
39
39
|
classGroups: {
|
|
40
40
|
shadow: [{ shadow: COMMON_UNITS }],
|
|
41
41
|
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
42
|
-
"bg-image": [
|
|
42
|
+
"bg-image": [
|
|
43
|
+
"bg-stripe-gradient-default",
|
|
44
|
+
"bg-stripe-gradient-primary",
|
|
45
|
+
"bg-stripe-gradient-secondary",
|
|
46
|
+
"bg-stripe-gradient-success",
|
|
47
|
+
"bg-stripe-gradient-warning",
|
|
48
|
+
"bg-stripe-gradient-danger"
|
|
49
|
+
]
|
|
43
50
|
}
|
|
44
51
|
};
|
|
45
52
|
|
package/dist/components/user.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
user
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GMZHMFEU.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-GQT3YUX3.mjs";
|
|
6
|
+
import "../chunk-46U6G7UJ.mjs";
|
|
7
|
+
import "../chunk-UWE6H66T.mjs";
|
|
8
|
+
import "../chunk-GIXI35A3.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
|
10
10
|
export {
|
|
11
11
|
user
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './com
|
|
|
37
37
|
export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './components/calendar.js';
|
|
38
38
|
export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './components/date-input.js';
|
|
39
39
|
export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './components/date-picker.js';
|
|
40
|
+
export { AlertSlots, AlertVariantProps, alert } from './components/alert.js';
|
|
41
|
+
export { DrawerVariants, drawer } from './components/drawer.js';
|
|
40
42
|
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, ringClasses, translateCenterClasses } from './utils/classes.js';
|
|
41
43
|
export { SlotsToClasses } from './utils/types.js';
|
|
42
44
|
export { colorVariants } from './utils/variants.js';
|
|
@@ -52,6 +54,5 @@ export { BaseColors, ColorScale, SemanticBaseColors, ThemeColors } from './color
|
|
|
52
54
|
export { commonColors } from './colors/common.js';
|
|
53
55
|
export { semanticColors } from './colors/semantic.js';
|
|
54
56
|
import 'tailwind-variants/dist/config';
|
|
55
|
-
import 'tailwind-merge';
|
|
56
57
|
import 'clsx';
|
|
57
58
|
import 'tailwindcss/plugin.js';
|