@nextui-org/theme 0.0.0-canary-20240429052129
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/LICENSE +21 -0
- package/README.md +24 -0
- package/colors.d.ts +1 -0
- package/colors.js +1 -0
- package/dist/animations/index.d.ts +71 -0
- package/dist/animations/index.js +98 -0
- package/dist/animations/index.mjs +6 -0
- package/dist/chunk-2PIR7DFM.mjs +77 -0
- package/dist/chunk-3FZU25GR.mjs +33 -0
- package/dist/chunk-3LKKH4AR.mjs +17 -0
- package/dist/chunk-4Z22WXZX.mjs +21 -0
- package/dist/chunk-4ZM6AI3H.mjs +366 -0
- package/dist/chunk-6XJJCV76.mjs +243 -0
- package/dist/chunk-726LN7M3.mjs +20 -0
- package/dist/chunk-7ODIBITJ.mjs +172 -0
- package/dist/chunk-7TJINK3S.mjs +390 -0
- package/dist/chunk-AC6F4DT6.mjs +485 -0
- package/dist/chunk-AGUZRGXC.mjs +12 -0
- package/dist/chunk-AO2AAOEJ.mjs +56 -0
- package/dist/chunk-AT4OXKKK.mjs +58 -0
- package/dist/chunk-CMYR6AOY.mjs +0 -0
- package/dist/chunk-CQY2A2EX.mjs +401 -0
- package/dist/chunk-CTY7IP65.mjs +723 -0
- package/dist/chunk-CUUGEIPA.mjs +474 -0
- package/dist/chunk-D2XMP2NC.mjs +6 -0
- package/dist/chunk-DCEG5LGX.mjs +17 -0
- package/dist/chunk-DI2L75XK.mjs +22 -0
- package/dist/chunk-DMASP6FA.mjs +74 -0
- package/dist/chunk-ECP4S2VZ.mjs +36 -0
- package/dist/chunk-FRI2VDCA.mjs +306 -0
- package/dist/chunk-G4RCK475.mjs +155 -0
- package/dist/chunk-GHZ36ATJ.mjs +17 -0
- package/dist/chunk-GMMETTYU.mjs +30 -0
- package/dist/chunk-HPFX3B3F.mjs +59 -0
- package/dist/chunk-HUBDRSA4.mjs +49 -0
- package/dist/chunk-I6ESTKKY.mjs +422 -0
- package/dist/chunk-IAS3SFA4.mjs +42 -0
- package/dist/chunk-IP3D7KVB.mjs +181 -0
- package/dist/chunk-JQTFOIV7.mjs +108 -0
- package/dist/chunk-JUEOCLA3.mjs +17 -0
- package/dist/chunk-K7LK7NCE.mjs +0 -0
- package/dist/chunk-KA5SSSWD.mjs +177 -0
- package/dist/chunk-KCOC3H6R.mjs +98 -0
- package/dist/chunk-KUNVFLXJ.mjs +41 -0
- package/dist/chunk-KVPPQD2E.mjs +231 -0
- package/dist/chunk-L2OL7R23.mjs +17 -0
- package/dist/chunk-LDBYFTHC.mjs +134 -0
- package/dist/chunk-LKKSQVZ6.mjs +163 -0
- package/dist/chunk-M3MKSQ42.mjs +124 -0
- package/dist/chunk-M63AFAHO.mjs +0 -0
- package/dist/chunk-MUWHEIW6.mjs +831 -0
- package/dist/chunk-NAUU2OUH.mjs +23 -0
- package/dist/chunk-NYSEAAK5.mjs +214 -0
- package/dist/chunk-OQIS4MXV.mjs +205 -0
- package/dist/chunk-OR5PUD24.mjs +17 -0
- package/dist/chunk-PSEUPXFL.mjs +122 -0
- package/dist/chunk-QZTWGJ72.mjs +16 -0
- package/dist/chunk-RNAP5C4C.mjs +406 -0
- package/dist/chunk-S573WUYY.mjs +381 -0
- package/dist/chunk-SEKJ6A6T.mjs +396 -0
- package/dist/chunk-T3GWIVAM.mjs +17 -0
- package/dist/chunk-UODOTC2G.mjs +21 -0
- package/dist/chunk-UVXYPGDZ.mjs +0 -0
- package/dist/chunk-V5ZTBGGO.mjs +42 -0
- package/dist/chunk-VDRJHB4F.mjs +187 -0
- package/dist/chunk-VFJ7C5ZV.mjs +391 -0
- package/dist/chunk-VJTX4YUQ.mjs +31 -0
- package/dist/chunk-W6DVXJB3.mjs +21 -0
- package/dist/chunk-WAAJG22Y.mjs +90 -0
- package/dist/chunk-WBQAMGXK.mjs +0 -0
- package/dist/chunk-WQEDQHKX.mjs +0 -0
- package/dist/chunk-X7N3NQ6S.mjs +158 -0
- package/dist/chunk-XHQUSKIE.mjs +60 -0
- package/dist/chunk-YJLQTC7L.mjs +0 -0
- package/dist/chunk-YSA7EQBH.mjs +237 -0
- package/dist/chunk-YZYGFPNK.mjs +17 -0
- package/dist/colors/blue.d.ts +14 -0
- package/dist/colors/blue.js +41 -0
- package/dist/colors/blue.mjs +6 -0
- package/dist/colors/common.d.ts +103 -0
- package/dist/colors/common.js +155 -0
- package/dist/colors/common.mjs +14 -0
- package/dist/colors/cyan.d.ts +14 -0
- package/dist/colors/cyan.js +41 -0
- package/dist/colors/cyan.mjs +6 -0
- package/dist/colors/green.d.ts +14 -0
- package/dist/colors/green.js +41 -0
- package/dist/colors/green.mjs +6 -0
- package/dist/colors/index.d.ts +109 -0
- package/dist/colors/index.js +335 -0
- package/dist/colors/index.mjs +24 -0
- package/dist/colors/pink.d.ts +14 -0
- package/dist/colors/pink.js +41 -0
- package/dist/colors/pink.mjs +6 -0
- package/dist/colors/purple.d.ts +14 -0
- package/dist/colors/purple.js +41 -0
- package/dist/colors/purple.mjs +6 -0
- package/dist/colors/red.d.ts +14 -0
- package/dist/colors/red.js +41 -0
- package/dist/colors/red.mjs +6 -0
- package/dist/colors/semantic.d.ts +10 -0
- package/dist/colors/semantic.js +327 -0
- package/dist/colors/semantic.mjs +20 -0
- package/dist/colors/types.d.ts +39 -0
- package/dist/colors/types.js +18 -0
- package/dist/colors/types.mjs +1 -0
- package/dist/colors/yellow.d.ts +14 -0
- package/dist/colors/yellow.js +41 -0
- package/dist/colors/yellow.mjs +6 -0
- package/dist/colors/zinc.d.ts +14 -0
- package/dist/colors/zinc.js +41 -0
- package/dist/colors/zinc.mjs +6 -0
- package/dist/colors.d.ts +4 -0
- package/dist/colors.js +335 -0
- package/dist/colors.mjs +25 -0
- package/dist/components/accordion.d.ts +402 -0
- package/dist/components/accordion.js +154 -0
- package/dist/components/accordion.mjs +13 -0
- package/dist/components/autocomplete.d.ts +180 -0
- package/dist/components/autocomplete.js +107 -0
- package/dist/components/autocomplete.mjs +7 -0
- package/dist/components/avatar.d.ts +572 -0
- package/dist/components/avatar.js +320 -0
- package/dist/components/avatar.mjs +13 -0
- package/dist/components/badge.d.ts +484 -0
- package/dist/components/badge.js +501 -0
- package/dist/components/badge.mjs +11 -0
- package/dist/components/breadcrumbs.d.ts +816 -0
- package/dist/components/breadcrumbs.js +299 -0
- package/dist/components/breadcrumbs.mjs +13 -0
- package/dist/components/button.d.ts +393 -0
- package/dist/components/button.js +556 -0
- package/dist/components/button.mjs +13 -0
- package/dist/components/calendar.d.ts +495 -0
- package/dist/components/calendar.js +456 -0
- package/dist/components/calendar.mjs +11 -0
- package/dist/components/card.d.ts +550 -0
- package/dist/components/card.js +213 -0
- package/dist/components/card.mjs +11 -0
- package/dist/components/checkbox.d.ts +773 -0
- package/dist/components/checkbox.js +271 -0
- package/dist/components/checkbox.mjs +13 -0
- package/dist/components/chip.d.ts +737 -0
- package/dist/components/chip.js +611 -0
- package/dist/components/chip.mjs +11 -0
- package/dist/components/circular-progress.d.ts +430 -0
- package/dist/components/circular-progress.js +139 -0
- package/dist/components/circular-progress.mjs +7 -0
- package/dist/components/code.d.ts +165 -0
- package/dist/components/code.js +162 -0
- package/dist/components/code.mjs +11 -0
- 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 +325 -0
- package/dist/components/date-picker.js +81 -0
- package/dist/components/date-picker.mjs +9 -0
- package/dist/components/divider.d.ts +52 -0
- package/dist/components/divider.js +70 -0
- package/dist/components/divider.mjs +7 -0
- package/dist/components/drip.d.ts +14 -0
- package/dist/components/drip.js +61 -0
- package/dist/components/drip.mjs +7 -0
- package/dist/components/dropdown.d.ts +417 -0
- package/dist/components/dropdown.js +424 -0
- package/dist/components/dropdown.mjs +17 -0
- package/dist/components/image.d.ts +355 -0
- package/dist/components/image.js +183 -0
- package/dist/components/image.mjs +7 -0
- package/dist/components/index.d.ts +41 -0
- package/dist/components/index.js +8804 -0
- package/dist/components/index.mjs +194 -0
- package/dist/components/input.d.ts +942 -0
- package/dist/components/input.js +893 -0
- package/dist/components/input.mjs +11 -0
- package/dist/components/kbd.d.ts +51 -0
- package/dist/components/kbd.js +82 -0
- package/dist/components/kbd.mjs +7 -0
- package/dist/components/link.d.ts +232 -0
- package/dist/components/link.js +164 -0
- package/dist/components/link.mjs +13 -0
- package/dist/components/listbox.d.ts +3 -0
- package/dist/components/listbox.js +531 -0
- package/dist/components/listbox.mjs +16 -0
- package/dist/components/menu.d.ts +512 -0
- package/dist/components/menu.js +531 -0
- package/dist/components/menu.mjs +15 -0
- package/dist/components/modal.d.ts +765 -0
- package/dist/components/modal.js +236 -0
- package/dist/components/modal.mjs +11 -0
- package/dist/components/navbar.d.ts +463 -0
- package/dist/components/navbar.js +260 -0
- package/dist/components/navbar.mjs +11 -0
- package/dist/components/pagination.d.ts +587 -0
- package/dist/components/pagination.js +532 -0
- package/dist/components/pagination.mjs +11 -0
- package/dist/components/popover.d.ts +715 -0
- package/dist/components/popover.js +303 -0
- package/dist/components/popover.mjs +11 -0
- package/dist/components/progress.d.ts +294 -0
- package/dist/components/progress.js +173 -0
- package/dist/components/progress.mjs +7 -0
- package/dist/components/radio.d.ts +708 -0
- package/dist/components/radio.js +220 -0
- package/dist/components/radio.mjs +13 -0
- package/dist/components/scroll-shadow.d.ts +82 -0
- package/dist/components/scroll-shadow.js +85 -0
- package/dist/components/scroll-shadow.mjs +7 -0
- package/dist/components/select.d.ts +901 -0
- package/dist/components/select.js +778 -0
- package/dist/components/select.mjs +11 -0
- package/dist/components/skeleton.d.ts +105 -0
- package/dist/components/skeleton.js +105 -0
- package/dist/components/skeleton.mjs +7 -0
- package/dist/components/slider.d.ts +1024 -0
- package/dist/components/slider.js +446 -0
- package/dist/components/slider.mjs +11 -0
- package/dist/components/snippet.d.ts +415 -0
- package/dist/components/snippet.js +426 -0
- package/dist/components/snippet.mjs +11 -0
- package/dist/components/spacer.d.ts +52 -0
- package/dist/components/spacer.js +70 -0
- package/dist/components/spacer.mjs +7 -0
- package/dist/components/spinner.d.ts +564 -0
- package/dist/components/spinner.js +171 -0
- package/dist/components/spinner.mjs +7 -0
- package/dist/components/table.d.ts +777 -0
- package/dist/components/table.js +286 -0
- package/dist/components/table.mjs +11 -0
- package/dist/components/tabs.d.ts +772 -0
- package/dist/components/tabs.js +522 -0
- package/dist/components/tabs.mjs +11 -0
- package/dist/components/toggle.d.ts +485 -0
- package/dist/components/toggle.js +228 -0
- package/dist/components/toggle.mjs +11 -0
- package/dist/components/user.d.ts +81 -0
- package/dist/components/user.js +78 -0
- package/dist/components/user.mjs +11 -0
- package/dist/default-layout.d.ts +8 -0
- package/dist/default-layout.js +75 -0
- package/dist/default-layout.mjs +10 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.js +9585 -0
- package/dist/index.mjs +252 -0
- package/dist/plugin.d.ts +12 -0
- package/dist/plugin.js +775 -0
- package/dist/plugin.mjs +28 -0
- package/dist/types.d.ts +138 -0
- package/dist/types.js +18 -0
- package/dist/types.mjs +1 -0
- package/dist/utilities/custom.d.ts +22 -0
- package/dist/utilities/custom.js +44 -0
- package/dist/utilities/custom.mjs +6 -0
- package/dist/utilities/index.d.ts +83 -0
- package/dist/utilities/index.js +128 -0
- package/dist/utilities/index.mjs +9 -0
- package/dist/utilities/scrollbar-hide.d.ts +24 -0
- package/dist/utilities/scrollbar-hide.js +43 -0
- package/dist/utilities/scrollbar-hide.mjs +6 -0
- package/dist/utilities/transition.d.ts +58 -0
- package/dist/utilities/transition.js +83 -0
- package/dist/utilities/transition.mjs +8 -0
- package/dist/utils/classes.d.ts +34 -0
- package/dist/utils/classes.js +91 -0
- package/dist/utils/classes.mjs +20 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.js +169 -0
- package/dist/utils/index.mjs +26 -0
- package/dist/utils/object.d.ts +12 -0
- package/dist/utils/object.js +73 -0
- package/dist/utils/object.mjs +10 -0
- package/dist/utils/theme.d.ts +9 -0
- package/dist/utils/theme.js +30 -0
- package/dist/utils/theme.mjs +6 -0
- package/dist/utils/tv.d.ts +5 -0
- package/dist/utils/tv.js +54 -0
- package/dist/utils/tv.mjs +6 -0
- package/dist/utils/types.d.ts +10 -0
- package/dist/utils/types.js +18 -0
- package/dist/utils/types.mjs +1 -0
- package/dist/utils/variants.d.ts +67 -0
- package/dist/utils/variants.js +101 -0
- package/dist/utils/variants.mjs +6 -0
- package/package.json +100 -0
- package/plugin.d.ts +1 -0
- package/plugin.js +1 -0
package/dist/plugin.mjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
nextui
|
|
3
|
+
} from "./chunk-YSA7EQBH.mjs";
|
|
4
|
+
import "./chunk-D2XMP2NC.mjs";
|
|
5
|
+
import "./chunk-726LN7M3.mjs";
|
|
6
|
+
import "./chunk-DI2L75XK.mjs";
|
|
7
|
+
import "./chunk-4Z22WXZX.mjs";
|
|
8
|
+
import "./chunk-HPFX3B3F.mjs";
|
|
9
|
+
import "./chunk-XHQUSKIE.mjs";
|
|
10
|
+
import "./chunk-WQEDQHKX.mjs";
|
|
11
|
+
import "./chunk-QZTWGJ72.mjs";
|
|
12
|
+
import "./chunk-G4RCK475.mjs";
|
|
13
|
+
import "./chunk-KUNVFLXJ.mjs";
|
|
14
|
+
import "./chunk-M63AFAHO.mjs";
|
|
15
|
+
import "./chunk-HUBDRSA4.mjs";
|
|
16
|
+
import "./chunk-DMASP6FA.mjs";
|
|
17
|
+
import "./chunk-IAS3SFA4.mjs";
|
|
18
|
+
import "./chunk-JUEOCLA3.mjs";
|
|
19
|
+
import "./chunk-3LKKH4AR.mjs";
|
|
20
|
+
import "./chunk-T3GWIVAM.mjs";
|
|
21
|
+
import "./chunk-OR5PUD24.mjs";
|
|
22
|
+
import "./chunk-DCEG5LGX.mjs";
|
|
23
|
+
import "./chunk-L2OL7R23.mjs";
|
|
24
|
+
import "./chunk-YZYGFPNK.mjs";
|
|
25
|
+
import "./chunk-GHZ36ATJ.mjs";
|
|
26
|
+
export {
|
|
27
|
+
nextui
|
|
28
|
+
};
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { ThemeColors } from './colors/types.js';
|
|
2
|
+
|
|
3
|
+
type DefaultThemeType = "light" | "dark";
|
|
4
|
+
type BaseThemeUnit = {
|
|
5
|
+
small?: string;
|
|
6
|
+
medium?: string;
|
|
7
|
+
large?: string;
|
|
8
|
+
};
|
|
9
|
+
type FontThemeUnit = BaseThemeUnit & {
|
|
10
|
+
tiny?: string;
|
|
11
|
+
};
|
|
12
|
+
interface LayoutTheme {
|
|
13
|
+
/**
|
|
14
|
+
* The default font size applied across the components.
|
|
15
|
+
*
|
|
16
|
+
* @default
|
|
17
|
+
* {
|
|
18
|
+
* tiny: "0.75rem",
|
|
19
|
+
* small: "0.875rem",
|
|
20
|
+
* medium: "1rem",
|
|
21
|
+
* large: "1.125rem",
|
|
22
|
+
* DEFAULT: "1rem",
|
|
23
|
+
* }
|
|
24
|
+
*/
|
|
25
|
+
fontSize?: FontThemeUnit;
|
|
26
|
+
/**
|
|
27
|
+
* The default line height applied across the components.
|
|
28
|
+
*
|
|
29
|
+
* @default
|
|
30
|
+
* {
|
|
31
|
+
* tiny: "1rem",
|
|
32
|
+
* small: "1.25rem",
|
|
33
|
+
* medium: "1.5rem",
|
|
34
|
+
* large: "1.75rem",
|
|
35
|
+
* DEFAULT: "1.5rem",
|
|
36
|
+
* }
|
|
37
|
+
*/
|
|
38
|
+
lineHeight?: FontThemeUnit;
|
|
39
|
+
/**
|
|
40
|
+
* The default radius applied across the components.
|
|
41
|
+
* we recommend to use `rem` units.
|
|
42
|
+
*
|
|
43
|
+
* @default
|
|
44
|
+
* {
|
|
45
|
+
* small: "0.25rem",
|
|
46
|
+
* medium: "0.5rem",
|
|
47
|
+
* large: "0.75rem",
|
|
48
|
+
* }
|
|
49
|
+
*/
|
|
50
|
+
radius?: BaseThemeUnit;
|
|
51
|
+
/**
|
|
52
|
+
* A number between 0 and 1 that is applied as opacity-[value] when the component is disabled.
|
|
53
|
+
*
|
|
54
|
+
* format: ".[value]"
|
|
55
|
+
*
|
|
56
|
+
* @default .5
|
|
57
|
+
*/
|
|
58
|
+
disabledOpacity?: string | number;
|
|
59
|
+
/**
|
|
60
|
+
* A number between 0 and 1 that is applied as opacity-[value] when the component is hovered.
|
|
61
|
+
*
|
|
62
|
+
* format: ".[value]"
|
|
63
|
+
*
|
|
64
|
+
* @default .8
|
|
65
|
+
*/
|
|
66
|
+
hoverOpacity?: string | number;
|
|
67
|
+
/**
|
|
68
|
+
* The default height applied to the divider component.
|
|
69
|
+
* we recommend to use `px` units.
|
|
70
|
+
*
|
|
71
|
+
* @default 1px
|
|
72
|
+
*/
|
|
73
|
+
dividerWeight?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The border width applied across the components.
|
|
76
|
+
* @default
|
|
77
|
+
* {
|
|
78
|
+
* small: "1px",
|
|
79
|
+
* medium: "2px",
|
|
80
|
+
* large: "3px",
|
|
81
|
+
* }
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
borderWidth?: BaseThemeUnit;
|
|
85
|
+
/**
|
|
86
|
+
* The box shadow applied across the components.
|
|
87
|
+
*
|
|
88
|
+
* @default
|
|
89
|
+
* {
|
|
90
|
+
* small: 0px 0px 5px 0px rgb(0 0 0 / 0.01), 0px 2px 10px 0px rgb(0 0 0 / 0.06),
|
|
91
|
+
* medium: 0px 0px 15px 0px rgb(0 0 0 / 0.02), 0px 2px 30px 0px rgb(0 0 0 / 0.08),
|
|
92
|
+
* large: 0px 0px 30px 0px rgb(0 0 0 / 0.03), 0px 30px 60px 0px rgb(0 0 0 / 0.12),
|
|
93
|
+
* }
|
|
94
|
+
*/
|
|
95
|
+
boxShadow?: BaseThemeUnit;
|
|
96
|
+
}
|
|
97
|
+
type ConfigTheme = {
|
|
98
|
+
extend?: "light" | "dark";
|
|
99
|
+
layout?: LayoutTheme;
|
|
100
|
+
colors?: Partial<ThemeColors>;
|
|
101
|
+
};
|
|
102
|
+
type ConfigThemes = Record<string, ConfigTheme>;
|
|
103
|
+
/**
|
|
104
|
+
* The NextUI config.
|
|
105
|
+
* @see https://nextui.org/docs/customization/customize-theme
|
|
106
|
+
*/
|
|
107
|
+
type NextUIPluginConfig = {
|
|
108
|
+
/**
|
|
109
|
+
* The prefix for the css variables.
|
|
110
|
+
* @default "nextui"
|
|
111
|
+
*/
|
|
112
|
+
prefix?: string;
|
|
113
|
+
/**
|
|
114
|
+
* If true, the common nextui colors (e.g. "blue", "green", "purple") will not be extended on the theme.
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
addCommonColors?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Common layout definitions. These definitions are applied to all themes.
|
|
120
|
+
*/
|
|
121
|
+
layout?: LayoutTheme;
|
|
122
|
+
/**
|
|
123
|
+
* The theme definitions.
|
|
124
|
+
*/
|
|
125
|
+
themes?: ConfigThemes;
|
|
126
|
+
/**
|
|
127
|
+
* The default theme to use.
|
|
128
|
+
* @default "light"
|
|
129
|
+
*/
|
|
130
|
+
defaultTheme?: DefaultThemeType;
|
|
131
|
+
/**
|
|
132
|
+
* The default theme to extend.
|
|
133
|
+
* @default "light"
|
|
134
|
+
*/
|
|
135
|
+
defaultExtendTheme?: DefaultThemeType;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export { BaseThemeUnit, ConfigTheme, ConfigThemes, DefaultThemeType, FontThemeUnit, LayoutTheme, NextUIPluginConfig };
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/types.ts
|
|
17
|
+
var types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(types_exports);
|
package/dist/types.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./chunk-WBQAMGXK.mjs";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
/**
|
|
3
|
+
* Custom utilities
|
|
4
|
+
*/
|
|
5
|
+
".leading-inherit": {
|
|
6
|
+
"line-height": string;
|
|
7
|
+
};
|
|
8
|
+
".bg-img-inherit": {
|
|
9
|
+
"background-image": string;
|
|
10
|
+
};
|
|
11
|
+
".bg-clip-inherit": {
|
|
12
|
+
"background-clip": string;
|
|
13
|
+
};
|
|
14
|
+
".text-fill-inherit": {
|
|
15
|
+
"-webkit-text-fill-color": string;
|
|
16
|
+
};
|
|
17
|
+
".tap-highlight-transparent": {
|
|
18
|
+
"-webkit-tap-highlight-color": string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { _default as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utilities/custom.ts
|
|
21
|
+
var custom_exports = {};
|
|
22
|
+
__export(custom_exports, {
|
|
23
|
+
default: () => custom_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(custom_exports);
|
|
26
|
+
var custom_default = {
|
|
27
|
+
".leading-inherit": {
|
|
28
|
+
"line-height": "inherit"
|
|
29
|
+
},
|
|
30
|
+
".bg-img-inherit": {
|
|
31
|
+
"background-image": "inherit"
|
|
32
|
+
},
|
|
33
|
+
".bg-clip-inherit": {
|
|
34
|
+
"background-clip": "inherit"
|
|
35
|
+
},
|
|
36
|
+
".text-fill-inherit": {
|
|
37
|
+
"-webkit-text-fill-color": "inherit"
|
|
38
|
+
},
|
|
39
|
+
".tap-highlight-transparent": {
|
|
40
|
+
"-webkit-tap-highlight-color": "transparent"
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
+
0 && (module.exports = {});
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
declare const utilities: {
|
|
2
|
+
".scrollbar-hide": {
|
|
3
|
+
"-ms-overflow-style": string;
|
|
4
|
+
"scrollbar-width": string;
|
|
5
|
+
"&::-webkit-scrollbar": {
|
|
6
|
+
display: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
".scrollbar-default": {
|
|
10
|
+
"-ms-overflow-style": string;
|
|
11
|
+
"scrollbar-width": string;
|
|
12
|
+
"&::-webkit-scrollbar": {
|
|
13
|
+
display: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
".transition-background": {
|
|
17
|
+
"transition-property": string;
|
|
18
|
+
"transition-timing-function": string;
|
|
19
|
+
"transition-duration": string;
|
|
20
|
+
};
|
|
21
|
+
".transition-colors-opacity": {
|
|
22
|
+
"transition-property": string;
|
|
23
|
+
"transition-timing-function": string;
|
|
24
|
+
"transition-duration": string;
|
|
25
|
+
};
|
|
26
|
+
".transition-width": {
|
|
27
|
+
"transition-property": string;
|
|
28
|
+
"transition-timing-function": string;
|
|
29
|
+
"transition-duration": string;
|
|
30
|
+
};
|
|
31
|
+
".transition-height": {
|
|
32
|
+
"transition-property": string;
|
|
33
|
+
"transition-timing-function": string;
|
|
34
|
+
"transition-duration": string;
|
|
35
|
+
};
|
|
36
|
+
".transition-size": {
|
|
37
|
+
"transition-property": string;
|
|
38
|
+
"transition-timing-function": string;
|
|
39
|
+
"transition-duration": string;
|
|
40
|
+
};
|
|
41
|
+
".transition-left": {
|
|
42
|
+
"transition-property": string;
|
|
43
|
+
"transition-timing-function": string;
|
|
44
|
+
"transition-duration": string;
|
|
45
|
+
};
|
|
46
|
+
".transition-transform-opacity": {
|
|
47
|
+
"transition-property": string;
|
|
48
|
+
"transition-timing-function": string;
|
|
49
|
+
"transition-duration": string;
|
|
50
|
+
};
|
|
51
|
+
".transition-transform-background": {
|
|
52
|
+
"transition-property": string;
|
|
53
|
+
"transition-timing-function": string;
|
|
54
|
+
"transition-duration": string;
|
|
55
|
+
};
|
|
56
|
+
".transition-transform-colors": {
|
|
57
|
+
" transition-property": string;
|
|
58
|
+
"transition-timing-function": string;
|
|
59
|
+
"transition-duration": string;
|
|
60
|
+
};
|
|
61
|
+
".transition-transform-colors-opacity": {
|
|
62
|
+
" transition-property": string;
|
|
63
|
+
"transition-timing-function": string;
|
|
64
|
+
"transition-duration": string;
|
|
65
|
+
};
|
|
66
|
+
".leading-inherit": {
|
|
67
|
+
"line-height": string;
|
|
68
|
+
};
|
|
69
|
+
".bg-img-inherit": {
|
|
70
|
+
"background-image": string;
|
|
71
|
+
};
|
|
72
|
+
".bg-clip-inherit": {
|
|
73
|
+
"background-clip": string;
|
|
74
|
+
};
|
|
75
|
+
".text-fill-inherit": {
|
|
76
|
+
"-webkit-text-fill-color": string;
|
|
77
|
+
};
|
|
78
|
+
".tap-highlight-transparent": {
|
|
79
|
+
"-webkit-tap-highlight-color": string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export { utilities };
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utilities/index.ts
|
|
21
|
+
var utilities_exports = {};
|
|
22
|
+
__export(utilities_exports, {
|
|
23
|
+
utilities: () => utilities
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(utilities_exports);
|
|
26
|
+
|
|
27
|
+
// src/utilities/transition.ts
|
|
28
|
+
var DEFAULT_TRANSITION_DURATION = "250ms";
|
|
29
|
+
var transition_default = {
|
|
30
|
+
".transition-background": {
|
|
31
|
+
"transition-property": "background",
|
|
32
|
+
"transition-timing-function": "ease",
|
|
33
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
34
|
+
},
|
|
35
|
+
".transition-colors-opacity": {
|
|
36
|
+
"transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke, opacity",
|
|
37
|
+
"transition-timing-function": "ease",
|
|
38
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
39
|
+
},
|
|
40
|
+
".transition-width": {
|
|
41
|
+
"transition-property": "width",
|
|
42
|
+
"transition-timing-function": "ease",
|
|
43
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
44
|
+
},
|
|
45
|
+
".transition-height": {
|
|
46
|
+
"transition-property": "height",
|
|
47
|
+
"transition-timing-function": "ease",
|
|
48
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
49
|
+
},
|
|
50
|
+
".transition-size": {
|
|
51
|
+
"transition-property": "width, height",
|
|
52
|
+
"transition-timing-function": "ease",
|
|
53
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
54
|
+
},
|
|
55
|
+
".transition-left": {
|
|
56
|
+
"transition-property": "left",
|
|
57
|
+
"transition-timing-function": "ease",
|
|
58
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
59
|
+
},
|
|
60
|
+
".transition-transform-opacity": {
|
|
61
|
+
"transition-property": "transform, opacity",
|
|
62
|
+
"transition-timing-function": "ease",
|
|
63
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
64
|
+
},
|
|
65
|
+
".transition-transform-background": {
|
|
66
|
+
"transition-property": "transform, background",
|
|
67
|
+
"transition-timing-function": "ease",
|
|
68
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
69
|
+
},
|
|
70
|
+
".transition-transform-colors": {
|
|
71
|
+
" transition-property": "transform, color, background, background-color, border-color, text-decoration-color, fill, stroke",
|
|
72
|
+
"transition-timing-function": "ease",
|
|
73
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
74
|
+
},
|
|
75
|
+
".transition-transform-colors-opacity": {
|
|
76
|
+
" transition-property": "transform, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity",
|
|
77
|
+
"transition-timing-function": "ease",
|
|
78
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
// src/utilities/custom.ts
|
|
83
|
+
var custom_default = {
|
|
84
|
+
".leading-inherit": {
|
|
85
|
+
"line-height": "inherit"
|
|
86
|
+
},
|
|
87
|
+
".bg-img-inherit": {
|
|
88
|
+
"background-image": "inherit"
|
|
89
|
+
},
|
|
90
|
+
".bg-clip-inherit": {
|
|
91
|
+
"background-clip": "inherit"
|
|
92
|
+
},
|
|
93
|
+
".text-fill-inherit": {
|
|
94
|
+
"-webkit-text-fill-color": "inherit"
|
|
95
|
+
},
|
|
96
|
+
".tap-highlight-transparent": {
|
|
97
|
+
"-webkit-tap-highlight-color": "transparent"
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
// src/utilities/scrollbar-hide.ts
|
|
102
|
+
var scrollbar_hide_default = {
|
|
103
|
+
".scrollbar-hide": {
|
|
104
|
+
"-ms-overflow-style": "none",
|
|
105
|
+
"scrollbar-width": "none",
|
|
106
|
+
"&::-webkit-scrollbar": {
|
|
107
|
+
display: "none"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
".scrollbar-default": {
|
|
111
|
+
"-ms-overflow-style": "auto",
|
|
112
|
+
"scrollbar-width": "auto",
|
|
113
|
+
"&::-webkit-scrollbar": {
|
|
114
|
+
display: "block"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
// src/utilities/index.ts
|
|
120
|
+
var utilities = {
|
|
121
|
+
...custom_default,
|
|
122
|
+
...transition_default,
|
|
123
|
+
...scrollbar_hide_default
|
|
124
|
+
};
|
|
125
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
126
|
+
0 && (module.exports = {
|
|
127
|
+
utilities
|
|
128
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Credits to: https://github.com/reslear/tailwind-scrollbar-hide/tree/main
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
/**
|
|
6
|
+
* Scroll Hide
|
|
7
|
+
*/
|
|
8
|
+
".scrollbar-hide": {
|
|
9
|
+
"-ms-overflow-style": string;
|
|
10
|
+
"scrollbar-width": string;
|
|
11
|
+
"&::-webkit-scrollbar": {
|
|
12
|
+
display: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
".scrollbar-default": {
|
|
16
|
+
"-ms-overflow-style": string;
|
|
17
|
+
"scrollbar-width": string;
|
|
18
|
+
"&::-webkit-scrollbar": {
|
|
19
|
+
display: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { _default as default };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utilities/scrollbar-hide.ts
|
|
21
|
+
var scrollbar_hide_exports = {};
|
|
22
|
+
__export(scrollbar_hide_exports, {
|
|
23
|
+
default: () => scrollbar_hide_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(scrollbar_hide_exports);
|
|
26
|
+
var scrollbar_hide_default = {
|
|
27
|
+
".scrollbar-hide": {
|
|
28
|
+
"-ms-overflow-style": "none",
|
|
29
|
+
"scrollbar-width": "none",
|
|
30
|
+
"&::-webkit-scrollbar": {
|
|
31
|
+
display: "none"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
".scrollbar-default": {
|
|
35
|
+
"-ms-overflow-style": "auto",
|
|
36
|
+
"scrollbar-width": "auto",
|
|
37
|
+
"&::-webkit-scrollbar": {
|
|
38
|
+
display: "block"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {});
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const DEFAULT_TRANSITION_DURATION = "250ms";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
/**
|
|
4
|
+
* Transition utilities
|
|
5
|
+
*/
|
|
6
|
+
".transition-background": {
|
|
7
|
+
"transition-property": string;
|
|
8
|
+
"transition-timing-function": string;
|
|
9
|
+
"transition-duration": string;
|
|
10
|
+
};
|
|
11
|
+
".transition-colors-opacity": {
|
|
12
|
+
"transition-property": string;
|
|
13
|
+
"transition-timing-function": string;
|
|
14
|
+
"transition-duration": string;
|
|
15
|
+
};
|
|
16
|
+
".transition-width": {
|
|
17
|
+
"transition-property": string;
|
|
18
|
+
"transition-timing-function": string;
|
|
19
|
+
"transition-duration": string;
|
|
20
|
+
};
|
|
21
|
+
".transition-height": {
|
|
22
|
+
"transition-property": string;
|
|
23
|
+
"transition-timing-function": string;
|
|
24
|
+
"transition-duration": string;
|
|
25
|
+
};
|
|
26
|
+
".transition-size": {
|
|
27
|
+
"transition-property": string;
|
|
28
|
+
"transition-timing-function": string;
|
|
29
|
+
"transition-duration": string;
|
|
30
|
+
};
|
|
31
|
+
".transition-left": {
|
|
32
|
+
"transition-property": string;
|
|
33
|
+
"transition-timing-function": string;
|
|
34
|
+
"transition-duration": string;
|
|
35
|
+
};
|
|
36
|
+
".transition-transform-opacity": {
|
|
37
|
+
"transition-property": string;
|
|
38
|
+
"transition-timing-function": string;
|
|
39
|
+
"transition-duration": string;
|
|
40
|
+
};
|
|
41
|
+
".transition-transform-background": {
|
|
42
|
+
"transition-property": string;
|
|
43
|
+
"transition-timing-function": string;
|
|
44
|
+
"transition-duration": string;
|
|
45
|
+
};
|
|
46
|
+
".transition-transform-colors": {
|
|
47
|
+
" transition-property": string;
|
|
48
|
+
"transition-timing-function": string;
|
|
49
|
+
"transition-duration": string;
|
|
50
|
+
};
|
|
51
|
+
".transition-transform-colors-opacity": {
|
|
52
|
+
" transition-property": string;
|
|
53
|
+
"transition-timing-function": string;
|
|
54
|
+
"transition-duration": string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export { DEFAULT_TRANSITION_DURATION, _default as default };
|