@nextui-org/theme 0.0.0-dev-v2-20230620142942 → 0.0.0-dev-v2-20230620194547
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-DWC7GT4K.mjs → chunk-3D7G7PZH.mjs} +1 -1
- package/dist/chunk-4Z22WXZX.mjs +21 -0
- package/dist/{chunk-M7M7HWPI.mjs → chunk-52QYM3YD.mjs} +5 -5
- package/dist/{chunk-BH4BMASL.mjs → chunk-576B55VI.mjs} +1 -1
- package/dist/{chunk-QU6QFAKV.mjs → chunk-7VYHIENL.mjs} +3 -2
- package/dist/{chunk-LWJT5D6G.mjs → chunk-A4SRDPJZ.mjs} +1 -0
- package/dist/{chunk-UHOIXUPW.mjs → chunk-AUOEYXLQ.mjs} +1 -0
- package/dist/{chunk-G34JOIZ3.mjs → chunk-C6TGDK6D.mjs} +1 -1
- package/dist/{chunk-FPFQCKUP.mjs → chunk-CEW7YOHH.mjs} +1 -1
- package/dist/chunk-DI2L75XK.mjs +22 -0
- package/dist/{chunk-2RQFBKZ4.mjs → chunk-E7FRZBCH.mjs} +1 -1
- package/dist/{chunk-NVCWXYAR.mjs → chunk-HI3IKEJ5.mjs} +13 -3
- package/dist/{chunk-JH2TR6BI.mjs → chunk-HJLDXSH7.mjs} +7 -19
- package/dist/{chunk-YQXYRWJP.mjs → chunk-I36TDMJB.mjs} +2 -2
- package/dist/{chunk-4G25OMVV.mjs → chunk-I75M4OOG.mjs} +1 -1
- package/dist/{chunk-QW2ZGOKD.mjs → chunk-IN5LCODJ.mjs} +1 -1
- package/dist/{chunk-OPENJYHK.mjs → chunk-IUW423TP.mjs} +39 -28
- package/dist/{chunk-N5YBIJN7.mjs → chunk-LBMDDCFV.mjs} +2 -2
- package/dist/chunk-OQGOVMIP.mjs +20 -0
- package/dist/{chunk-UNAW63FS.mjs → chunk-RB7R7Z3Y.mjs} +1 -1
- package/dist/{chunk-O32L4YWJ.mjs → chunk-SEWAA5ZW.mjs} +1 -1
- package/dist/{chunk-42RVICJN.mjs → chunk-UKSPZOXY.mjs} +1 -1
- package/dist/{chunk-HNRHIJNK.mjs → chunk-YNGJCDQN.mjs} +2 -2
- package/dist/{chunk-D4S5JGOT.mjs → chunk-ZQF2KGKX.mjs} +1 -1
- package/dist/{chunk-GRAPREJD.mjs → chunk-ZSOCX2PK.mjs} +3 -2
- package/dist/colors/common.mjs +2 -2
- package/dist/colors/index.mjs +4 -4
- package/dist/colors/semantic.mjs +3 -3
- package/dist/colors.mjs +4 -4
- package/dist/components/accordion.js +2 -2
- package/dist/components/accordion.mjs +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/badge.js +1 -1
- package/dist/components/badge.mjs +2 -2
- package/dist/components/button.js +3 -2
- package/dist/components/button.mjs +2 -2
- package/dist/components/card.js +1 -1
- package/dist/components/card.mjs +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.mjs +1 -1
- package/dist/components/chip.js +3 -2
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +1 -1
- package/dist/components/code.mjs +2 -2
- package/dist/components/index.js +65 -40
- package/dist/components/index.mjs +37 -37
- package/dist/components/link.d.ts +4 -4
- package/dist/components/link.js +2 -2
- package/dist/components/link.mjs +1 -1
- package/dist/components/modal.js +1 -0
- package/dist/components/modal.mjs +1 -1
- package/dist/components/navbar.js +1 -0
- package/dist/components/navbar.mjs +1 -1
- package/dist/components/pagination.d.ts +6 -6
- package/dist/components/pagination.js +39 -28
- package/dist/components/pagination.mjs +2 -2
- package/dist/components/popover.js +1 -1
- package/dist/components/popover.mjs +2 -2
- package/dist/components/radio.js +1 -1
- package/dist/components/radio.mjs +1 -1
- package/dist/components/snippet.js +1 -1
- package/dist/components/snippet.mjs +2 -2
- package/dist/components/tabs.js +13 -3
- package/dist/components/tabs.mjs +2 -2
- package/dist/components/toggle.js +1 -1
- package/dist/components/toggle.mjs +1 -1
- package/dist/index.js +115 -58
- package/dist/index.mjs +47 -44
- package/dist/plugin.js +50 -18
- package/dist/plugin.mjs +9 -6
- 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 +30 -19
- package/dist/utilities/index.js +51 -17
- package/dist/utilities/index.mjs +4 -1
- 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 +72 -0
- package/dist/utilities/transition.js +95 -0
- package/dist/utilities/transition.mjs +6 -0
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/variants.js +1 -1
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/{chunk-YGFZPBLQ.mjs → chunk-5LKRUH3Q.mjs} +3 -3
package/dist/plugin.mjs
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nextui
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-52QYM3YD.mjs";
|
|
4
|
+
import "./chunk-OQGOVMIP.mjs";
|
|
5
|
+
import "./chunk-4Z22WXZX.mjs";
|
|
6
|
+
import "./chunk-HJLDXSH7.mjs";
|
|
7
|
+
import "./chunk-DI2L75XK.mjs";
|
|
4
8
|
import "./chunk-TSW7CNKY.mjs";
|
|
5
9
|
import "./chunk-WQEDQHKX.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-LBMDDCFV.mjs";
|
|
11
|
+
import "./chunk-RB7R7Z3Y.mjs";
|
|
8
12
|
import "./chunk-37PIXVP4.mjs";
|
|
9
13
|
import "./chunk-M63AFAHO.mjs";
|
|
10
14
|
import "./chunk-DMASP6FA.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-YGFZPBLQ.mjs";
|
|
13
|
-
import "./chunk-OR5PUD24.mjs";
|
|
15
|
+
import "./chunk-5LKRUH3Q.mjs";
|
|
14
16
|
import "./chunk-DCEG5LGX.mjs";
|
|
15
17
|
import "./chunk-L2OL7R23.mjs";
|
|
16
18
|
import "./chunk-YZYGFPNK.mjs";
|
|
17
19
|
import "./chunk-Y4YW5MKL.mjs";
|
|
18
20
|
import "./chunk-DYAPDM2A.mjs";
|
|
19
21
|
import "./chunk-T3GWIVAM.mjs";
|
|
22
|
+
import "./chunk-OR5PUD24.mjs";
|
|
20
23
|
export {
|
|
21
24
|
nextui
|
|
22
25
|
};
|
|
@@ -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 = {});
|
|
@@ -1,28 +1,24 @@
|
|
|
1
1
|
declare const utilities: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"-webkit-text-fill-color": string;
|
|
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
|
+
};
|
|
16
15
|
};
|
|
17
|
-
".transition-
|
|
16
|
+
".transition-all": {
|
|
18
17
|
"transition-property": string;
|
|
19
18
|
"transition-timing-function": string;
|
|
20
19
|
"transition-duration": string;
|
|
21
20
|
};
|
|
22
|
-
|
|
23
|
-
* Tailwind utilities
|
|
24
|
-
*/
|
|
25
|
-
".transition-all": {
|
|
21
|
+
".transition-background": {
|
|
26
22
|
"transition-property": string;
|
|
27
23
|
"transition-timing-function": string;
|
|
28
24
|
"transition-duration": string;
|
|
@@ -82,6 +78,21 @@ declare const utilities: {
|
|
|
82
78
|
"transition-timing-function": string;
|
|
83
79
|
"transition-duration": string;
|
|
84
80
|
};
|
|
81
|
+
".leading-inherit": {
|
|
82
|
+
"line-height": string;
|
|
83
|
+
};
|
|
84
|
+
".bg-img-inherit": {
|
|
85
|
+
"background-image": string;
|
|
86
|
+
};
|
|
87
|
+
".bg-clip-inherit": {
|
|
88
|
+
"background-clip": string;
|
|
89
|
+
};
|
|
90
|
+
".text-fill-inherit": {
|
|
91
|
+
"-webkit-text-fill-color": string;
|
|
92
|
+
};
|
|
93
|
+
".tap-highlight-transparent": {
|
|
94
|
+
"-webkit-tap-highlight-color": string;
|
|
95
|
+
};
|
|
85
96
|
};
|
|
86
97
|
|
|
87
98
|
export { utilities };
|
package/dist/utilities/index.js
CHANGED
|
@@ -23,27 +23,17 @@ __export(utilities_exports, {
|
|
|
23
23
|
utilities: () => utilities
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(utilities_exports);
|
|
26
|
+
|
|
27
|
+
// src/utilities/transition.ts
|
|
26
28
|
var DEFAULT_TRANSITION_DURATION = "250ms";
|
|
27
|
-
var
|
|
28
|
-
".
|
|
29
|
-
"
|
|
30
|
-
},
|
|
31
|
-
".bg-img-inherit": {
|
|
32
|
-
"background-image": "inherit"
|
|
33
|
-
},
|
|
34
|
-
".bg-clip-inherit": {
|
|
35
|
-
"background-clip": "inherit"
|
|
36
|
-
},
|
|
37
|
-
".text-fill-inherit": {
|
|
38
|
-
"-webkit-text-fill-color": "inherit"
|
|
39
|
-
},
|
|
40
|
-
".transition-background": {
|
|
41
|
-
"transition-property": "background",
|
|
29
|
+
var transition_default = {
|
|
30
|
+
".transition-all": {
|
|
31
|
+
"transition-property": "all",
|
|
42
32
|
"transition-timing-function": "ease",
|
|
43
33
|
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
44
34
|
},
|
|
45
|
-
".transition-
|
|
46
|
-
"transition-property": "
|
|
35
|
+
".transition-background": {
|
|
36
|
+
"transition-property": "background",
|
|
47
37
|
"transition-timing-function": "ease",
|
|
48
38
|
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
49
39
|
},
|
|
@@ -103,6 +93,50 @@ var utilities = {
|
|
|
103
93
|
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
104
94
|
}
|
|
105
95
|
};
|
|
96
|
+
|
|
97
|
+
// src/utilities/custom.ts
|
|
98
|
+
var custom_default = {
|
|
99
|
+
".leading-inherit": {
|
|
100
|
+
"line-height": "inherit"
|
|
101
|
+
},
|
|
102
|
+
".bg-img-inherit": {
|
|
103
|
+
"background-image": "inherit"
|
|
104
|
+
},
|
|
105
|
+
".bg-clip-inherit": {
|
|
106
|
+
"background-clip": "inherit"
|
|
107
|
+
},
|
|
108
|
+
".text-fill-inherit": {
|
|
109
|
+
"-webkit-text-fill-color": "inherit"
|
|
110
|
+
},
|
|
111
|
+
".tap-highlight-transparent": {
|
|
112
|
+
"-webkit-tap-highlight-color": "transparent"
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
// src/utilities/scrollbar-hide.ts
|
|
117
|
+
var scrollbar_hide_default = {
|
|
118
|
+
".scrollbar-hide": {
|
|
119
|
+
"-ms-overflow-style": "none",
|
|
120
|
+
"scrollbar-width": "none",
|
|
121
|
+
"&::-webkit-scrollbar": {
|
|
122
|
+
display: "none"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
".scrollbar-default": {
|
|
126
|
+
"-ms-overflow-style": "auto",
|
|
127
|
+
"scrollbar-width": "auto",
|
|
128
|
+
"&::-webkit-scrollbar": {
|
|
129
|
+
display: "block"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
// src/utilities/index.ts
|
|
135
|
+
var utilities = {
|
|
136
|
+
...custom_default,
|
|
137
|
+
...transition_default,
|
|
138
|
+
...scrollbar_hide_default
|
|
139
|
+
};
|
|
106
140
|
// Annotate the CommonJS export names for ESM import in node:
|
|
107
141
|
0 && (module.exports = {
|
|
108
142
|
utilities
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -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,72 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
/**
|
|
3
|
+
* Transition utilities
|
|
4
|
+
*/
|
|
5
|
+
".transition-all": {
|
|
6
|
+
"transition-property": string;
|
|
7
|
+
"transition-timing-function": string;
|
|
8
|
+
"transition-duration": string;
|
|
9
|
+
};
|
|
10
|
+
".transition-background": {
|
|
11
|
+
"transition-property": string;
|
|
12
|
+
"transition-timing-function": string;
|
|
13
|
+
"transition-duration": string;
|
|
14
|
+
};
|
|
15
|
+
".transition": {
|
|
16
|
+
"transition-property": string;
|
|
17
|
+
"transition-timing-function": string;
|
|
18
|
+
"transition-duration": string;
|
|
19
|
+
};
|
|
20
|
+
".transition-colors": {
|
|
21
|
+
"transition-property": string;
|
|
22
|
+
"transition-timing-function": string;
|
|
23
|
+
"transition-duration": string;
|
|
24
|
+
};
|
|
25
|
+
".transition-opacity": {
|
|
26
|
+
"transition-property": string;
|
|
27
|
+
"transition-timing-function": string;
|
|
28
|
+
"transition-duration": string;
|
|
29
|
+
};
|
|
30
|
+
".transition-width": {
|
|
31
|
+
"transition-property": string;
|
|
32
|
+
"transition-timing-function": string;
|
|
33
|
+
"transition-duration": string;
|
|
34
|
+
};
|
|
35
|
+
".transition-height": {
|
|
36
|
+
"transition-property": string;
|
|
37
|
+
"transition-timing-function": string;
|
|
38
|
+
"transition-duration": string;
|
|
39
|
+
};
|
|
40
|
+
".transition-left": {
|
|
41
|
+
"transition-property": string;
|
|
42
|
+
"transition-timing-function": string;
|
|
43
|
+
"transition-duration": string;
|
|
44
|
+
};
|
|
45
|
+
".transition-shadow": {
|
|
46
|
+
"transition-property": string;
|
|
47
|
+
"transition-timing-function": string;
|
|
48
|
+
"transition-duration": string;
|
|
49
|
+
};
|
|
50
|
+
".transition-transform": {
|
|
51
|
+
"transition-property": string;
|
|
52
|
+
"transition-timing-function": string;
|
|
53
|
+
"transition-duration": string;
|
|
54
|
+
};
|
|
55
|
+
".transition-transform-opacity": {
|
|
56
|
+
"transition-property": string;
|
|
57
|
+
"transition-timing-function": string;
|
|
58
|
+
"transition-duration": string;
|
|
59
|
+
};
|
|
60
|
+
".transition-transform-background": {
|
|
61
|
+
"transition-property": string;
|
|
62
|
+
"transition-timing-function": string;
|
|
63
|
+
"transition-duration": string;
|
|
64
|
+
};
|
|
65
|
+
".transition-transform-colors": {
|
|
66
|
+
" transition-property": string;
|
|
67
|
+
"transition-timing-function": string;
|
|
68
|
+
"transition-duration": string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export { _default as default };
|
|
@@ -0,0 +1,95 @@
|
|
|
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/transition.ts
|
|
21
|
+
var transition_exports = {};
|
|
22
|
+
__export(transition_exports, {
|
|
23
|
+
default: () => transition_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(transition_exports);
|
|
26
|
+
var DEFAULT_TRANSITION_DURATION = "250ms";
|
|
27
|
+
var transition_default = {
|
|
28
|
+
".transition-all": {
|
|
29
|
+
"transition-property": "all",
|
|
30
|
+
"transition-timing-function": "ease",
|
|
31
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
32
|
+
},
|
|
33
|
+
".transition-background": {
|
|
34
|
+
"transition-property": "background",
|
|
35
|
+
"transition-timing-function": "ease",
|
|
36
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
37
|
+
},
|
|
38
|
+
".transition": {
|
|
39
|
+
"transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
|
|
40
|
+
"transition-timing-function": "ease",
|
|
41
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
42
|
+
},
|
|
43
|
+
".transition-colors": {
|
|
44
|
+
"transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke",
|
|
45
|
+
"transition-timing-function": "ease",
|
|
46
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
47
|
+
},
|
|
48
|
+
".transition-opacity": {
|
|
49
|
+
"transition-property": "opacity",
|
|
50
|
+
"transition-timing-function": "ease",
|
|
51
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
52
|
+
},
|
|
53
|
+
".transition-width": {
|
|
54
|
+
"transition-property": "width",
|
|
55
|
+
"transition-timing-function": "ease",
|
|
56
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
57
|
+
},
|
|
58
|
+
".transition-height": {
|
|
59
|
+
"transition-property": "height",
|
|
60
|
+
"transition-timing-function": "ease",
|
|
61
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
62
|
+
},
|
|
63
|
+
".transition-left": {
|
|
64
|
+
"transition-property": "left",
|
|
65
|
+
"transition-timing-function": "ease",
|
|
66
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
67
|
+
},
|
|
68
|
+
".transition-shadow": {
|
|
69
|
+
"transition-property": "box-shadow",
|
|
70
|
+
"transition-timing-function": "ease",
|
|
71
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
72
|
+
},
|
|
73
|
+
".transition-transform": {
|
|
74
|
+
"transition-property": "transform",
|
|
75
|
+
"transition-timing-function": "ease",
|
|
76
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
77
|
+
},
|
|
78
|
+
".transition-transform-opacity": {
|
|
79
|
+
"transition-property": "transform, opacity",
|
|
80
|
+
"transition-timing-function": "ease",
|
|
81
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
82
|
+
},
|
|
83
|
+
".transition-transform-background": {
|
|
84
|
+
"transition-property": "transform, background",
|
|
85
|
+
"transition-timing-function": "ease",
|
|
86
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
87
|
+
},
|
|
88
|
+
".transition-transform-colors": {
|
|
89
|
+
" transition-property": "transform, color, background, background-color, border-color, text-decoration-color, fill, stroke",
|
|
90
|
+
"transition-timing-function": "ease",
|
|
91
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
95
|
+
0 && (module.exports = {});
|
package/dist/utils/index.js
CHANGED
|
@@ -89,7 +89,7 @@ var bordered = {
|
|
|
89
89
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
90
90
|
};
|
|
91
91
|
var flat = {
|
|
92
|
-
default: "bg-default/
|
|
92
|
+
default: "bg-default/40 text-default-foreground",
|
|
93
93
|
primary: "bg-primary/20 text-primary",
|
|
94
94
|
secondary: "bg-secondary/20 text-secondary",
|
|
95
95
|
success: "bg-success/20 text-success-600 dark:text-success",
|
package/dist/utils/index.mjs
CHANGED
package/dist/utils/variants.js
CHANGED
|
@@ -51,7 +51,7 @@ var bordered = {
|
|
|
51
51
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
52
52
|
};
|
|
53
53
|
var flat = {
|
|
54
|
-
default: "bg-default/
|
|
54
|
+
default: "bg-default/40 text-default-foreground",
|
|
55
55
|
primary: "bg-primary/20 text-primary",
|
|
56
56
|
secondary: "bg-secondary/20 text-secondary",
|
|
57
57
|
success: "bg-success/20 text-success-600 dark:text-success",
|
package/dist/utils/variants.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
green
|
|
3
|
-
} from "./chunk-OR5PUD24.mjs";
|
|
4
1
|
import {
|
|
5
2
|
pink
|
|
6
3
|
} from "./chunk-DCEG5LGX.mjs";
|
|
@@ -19,6 +16,9 @@ import {
|
|
|
19
16
|
import {
|
|
20
17
|
cyan
|
|
21
18
|
} from "./chunk-T3GWIVAM.mjs";
|
|
19
|
+
import {
|
|
20
|
+
green
|
|
21
|
+
} from "./chunk-OR5PUD24.mjs";
|
|
22
22
|
|
|
23
23
|
// src/colors/common.ts
|
|
24
24
|
var commonColors = {
|