@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/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Next UI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# @nextui-org/theme
|
|
2
|
+
|
|
3
|
+
NextUI theme primitives, here you can find the TailwindCSS `plugin`, `colors`, `layout`, `spacing`, `typography` and some other utilities.
|
|
4
|
+
|
|
5
|
+
Please refer to the [documentation](https://nextui.org/theme) for more information.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
yarn add @nextui-org/theme
|
|
11
|
+
# or
|
|
12
|
+
npm i @nextui-org/theme
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Contribution
|
|
16
|
+
|
|
17
|
+
Yes please! See the
|
|
18
|
+
[contributing guidelines](https://github.com/nextui-org/nextui/blob/master/CONTRIBUTING.md)
|
|
19
|
+
for details.
|
|
20
|
+
|
|
21
|
+
## License
|
|
22
|
+
|
|
23
|
+
This project is licensed under the terms of the
|
|
24
|
+
[MIT license](https://github.com/nextui-org/nextui/blob/master/LICENSE).
|
package/colors.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dist/colors";
|
package/colors.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./dist/colors");
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
declare const animations: {
|
|
2
|
+
animation: {
|
|
3
|
+
"drip-expand": string;
|
|
4
|
+
"spinner-ease-spin": string;
|
|
5
|
+
"spinner-linear-spin": string;
|
|
6
|
+
"appearance-in": string;
|
|
7
|
+
"appearance-out": string;
|
|
8
|
+
"indeterminate-bar": string;
|
|
9
|
+
};
|
|
10
|
+
keyframes: {
|
|
11
|
+
shimmer: {
|
|
12
|
+
"100%": {
|
|
13
|
+
transform: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
"spinner-spin": {
|
|
17
|
+
"0%": {
|
|
18
|
+
transform: string;
|
|
19
|
+
};
|
|
20
|
+
"100%": {
|
|
21
|
+
transform: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
"drip-expand": {
|
|
25
|
+
"0%": {
|
|
26
|
+
opacity: string;
|
|
27
|
+
transform: string;
|
|
28
|
+
};
|
|
29
|
+
"100%": {
|
|
30
|
+
opacity: string;
|
|
31
|
+
transform: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
"appearance-in": {
|
|
35
|
+
"0%": {
|
|
36
|
+
opacity: string;
|
|
37
|
+
transform: string;
|
|
38
|
+
};
|
|
39
|
+
"60%": {
|
|
40
|
+
opacity: string;
|
|
41
|
+
backfaceVisibility: string;
|
|
42
|
+
webkitFontSmoothing: string;
|
|
43
|
+
transform: string;
|
|
44
|
+
};
|
|
45
|
+
"100%": {
|
|
46
|
+
opacity: string;
|
|
47
|
+
transform: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
"appearance-out": {
|
|
51
|
+
"0%": {
|
|
52
|
+
opacity: string;
|
|
53
|
+
transform: string;
|
|
54
|
+
};
|
|
55
|
+
"100%": {
|
|
56
|
+
opacity: string;
|
|
57
|
+
transform: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
"indeterminate-bar": {
|
|
61
|
+
"0%": {
|
|
62
|
+
transform: string;
|
|
63
|
+
};
|
|
64
|
+
"100%": {
|
|
65
|
+
transform: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export { animations };
|
|
@@ -0,0 +1,98 @@
|
|
|
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/animations/index.ts
|
|
21
|
+
var animations_exports = {};
|
|
22
|
+
__export(animations_exports, {
|
|
23
|
+
animations: () => animations
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(animations_exports);
|
|
26
|
+
var animations = {
|
|
27
|
+
animation: {
|
|
28
|
+
"drip-expand": "drip-expand 420ms linear",
|
|
29
|
+
"spinner-ease-spin": "spinner-spin 0.8s ease infinite",
|
|
30
|
+
"spinner-linear-spin": "spinner-spin 0.8s linear infinite",
|
|
31
|
+
"appearance-in": "appearance-in 250ms ease-out normal both",
|
|
32
|
+
"appearance-out": "appearance-out 60ms ease-in normal both",
|
|
33
|
+
"indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
|
|
34
|
+
},
|
|
35
|
+
keyframes: {
|
|
36
|
+
shimmer: {
|
|
37
|
+
"100%": {
|
|
38
|
+
transform: "translateX(100%)"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"spinner-spin": {
|
|
42
|
+
"0%": {
|
|
43
|
+
transform: "rotate(0deg)"
|
|
44
|
+
},
|
|
45
|
+
"100%": {
|
|
46
|
+
transform: "rotate(360deg)"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"drip-expand": {
|
|
50
|
+
"0%": {
|
|
51
|
+
opacity: "0.2",
|
|
52
|
+
transform: "scale(0)"
|
|
53
|
+
},
|
|
54
|
+
"100%": {
|
|
55
|
+
opacity: "0",
|
|
56
|
+
transform: "scale(2)"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"appearance-in": {
|
|
60
|
+
"0%": {
|
|
61
|
+
opacity: "0",
|
|
62
|
+
transform: "translateZ(0) scale(0.95)"
|
|
63
|
+
},
|
|
64
|
+
"60%": {
|
|
65
|
+
opacity: "0.75",
|
|
66
|
+
backfaceVisibility: "hidden",
|
|
67
|
+
webkitFontSmoothing: "antialiased",
|
|
68
|
+
transform: "translateZ(0) scale(1.05)"
|
|
69
|
+
},
|
|
70
|
+
"100%": {
|
|
71
|
+
opacity: "1",
|
|
72
|
+
transform: "translateZ(0) scale(1)"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"appearance-out": {
|
|
76
|
+
"0%": {
|
|
77
|
+
opacity: "1",
|
|
78
|
+
transform: "scale(1)"
|
|
79
|
+
},
|
|
80
|
+
"100%": {
|
|
81
|
+
opacity: "0",
|
|
82
|
+
transform: "scale(0.85)"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"indeterminate-bar": {
|
|
86
|
+
"0%": {
|
|
87
|
+
transform: "translateX(-50%) scaleX(0.2)"
|
|
88
|
+
},
|
|
89
|
+
"100%": {
|
|
90
|
+
transform: "translateX(100%) scaleX(1)"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
96
|
+
0 && (module.exports = {
|
|
97
|
+
animations
|
|
98
|
+
});
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// src/utils/variants.ts
|
|
2
|
+
var solid = {
|
|
3
|
+
default: "bg-default text-default-foreground",
|
|
4
|
+
primary: "bg-primary text-primary-foreground",
|
|
5
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
6
|
+
success: "bg-success text-success-foreground",
|
|
7
|
+
warning: "bg-warning text-warning-foreground",
|
|
8
|
+
danger: "bg-danger text-danger-foreground",
|
|
9
|
+
foreground: "bg-foreground text-background"
|
|
10
|
+
};
|
|
11
|
+
var shadow = {
|
|
12
|
+
default: "shadow-lg shadow-default/50 bg-default text-default-foreground",
|
|
13
|
+
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
|
|
14
|
+
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
|
|
15
|
+
success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
|
|
16
|
+
warning: "shadow-lg shadow-warning/40 bg-warning text-warning-foreground",
|
|
17
|
+
danger: "shadow-lg shadow-danger/40 bg-danger text-danger-foreground",
|
|
18
|
+
foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
|
|
19
|
+
};
|
|
20
|
+
var bordered = {
|
|
21
|
+
default: "bg-transparent border-default text-foreground",
|
|
22
|
+
primary: "bg-transparent border-primary text-primary",
|
|
23
|
+
secondary: "bg-transparent border-secondary text-secondary",
|
|
24
|
+
success: "bg-transparent border-success text-success",
|
|
25
|
+
warning: "bg-transparent border-warning text-warning",
|
|
26
|
+
danger: "bg-transparent border-danger text-danger",
|
|
27
|
+
foreground: "bg-transparent border-foreground text-foreground"
|
|
28
|
+
};
|
|
29
|
+
var flat = {
|
|
30
|
+
default: "bg-default/40 text-default-foreground",
|
|
31
|
+
primary: "bg-primary/20 text-primary",
|
|
32
|
+
secondary: "bg-secondary/20 text-secondary",
|
|
33
|
+
success: "bg-success/20 text-success-600 dark:text-success",
|
|
34
|
+
warning: "bg-warning/20 text-warning-600 dark:text-warning",
|
|
35
|
+
danger: "bg-danger/20 text-danger dark:text-danger-500",
|
|
36
|
+
foreground: "bg-foreground/10 text-foreground"
|
|
37
|
+
};
|
|
38
|
+
var faded = {
|
|
39
|
+
default: "border-default bg-default-100 text-default-foreground",
|
|
40
|
+
primary: "border-default bg-default-100 text-primary",
|
|
41
|
+
secondary: "border-default bg-default-100 text-secondary",
|
|
42
|
+
success: "border-default bg-default-100 text-success",
|
|
43
|
+
warning: "border-default bg-default-100 text-warning",
|
|
44
|
+
danger: "border-default bg-default-100 text-danger",
|
|
45
|
+
foreground: "border-default bg-default-100 text-foreground"
|
|
46
|
+
};
|
|
47
|
+
var light = {
|
|
48
|
+
default: "bg-transparent text-default-foreground",
|
|
49
|
+
primary: "bg-transparent text-primary",
|
|
50
|
+
secondary: "bg-transparent text-secondary",
|
|
51
|
+
success: "bg-transparent text-success",
|
|
52
|
+
warning: "bg-transparent text-warning",
|
|
53
|
+
danger: "bg-transparent text-danger",
|
|
54
|
+
foreground: "bg-transparent text-foreground"
|
|
55
|
+
};
|
|
56
|
+
var ghost = {
|
|
57
|
+
default: "border-default text-default-foreground hover:!bg-default",
|
|
58
|
+
primary: "border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",
|
|
59
|
+
secondary: "border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",
|
|
60
|
+
success: "border-success text-success hover:!text-success-foreground hover:!bg-success",
|
|
61
|
+
warning: "border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",
|
|
62
|
+
danger: "border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",
|
|
63
|
+
foreground: "border-foreground text-foreground hover:!bg-foreground"
|
|
64
|
+
};
|
|
65
|
+
var colorVariants = {
|
|
66
|
+
solid,
|
|
67
|
+
shadow,
|
|
68
|
+
bordered,
|
|
69
|
+
flat,
|
|
70
|
+
faded,
|
|
71
|
+
light,
|
|
72
|
+
ghost
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export {
|
|
76
|
+
colorVariants
|
|
77
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-GMMETTYU.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/kbd.ts
|
|
6
|
+
var kbd = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
base: [
|
|
9
|
+
"px-1.5",
|
|
10
|
+
"py-0.5",
|
|
11
|
+
"inline-flex",
|
|
12
|
+
"space-x-0.5",
|
|
13
|
+
"rtl:space-x-reverse",
|
|
14
|
+
"items-center",
|
|
15
|
+
"font-sans",
|
|
16
|
+
"font-normal",
|
|
17
|
+
"text-center",
|
|
18
|
+
"text-small",
|
|
19
|
+
"shadow-small",
|
|
20
|
+
"bg-default-100",
|
|
21
|
+
"text-foreground-600",
|
|
22
|
+
"rounded-small"
|
|
23
|
+
],
|
|
24
|
+
abbr: "no-underline",
|
|
25
|
+
content: ""
|
|
26
|
+
},
|
|
27
|
+
variants: {},
|
|
28
|
+
defaultVariants: {}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
kbd
|
|
33
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/colors/zinc.ts
|
|
2
|
+
var zinc = {
|
|
3
|
+
"50": "#fafafa",
|
|
4
|
+
"100": "#f4f4f5",
|
|
5
|
+
"200": "#e4e4e7",
|
|
6
|
+
"300": "#d4d4d8",
|
|
7
|
+
"400": "#a1a1aa",
|
|
8
|
+
"500": "#71717a",
|
|
9
|
+
"600": "#52525b",
|
|
10
|
+
"700": "#3f3f46",
|
|
11
|
+
"800": "#27272a",
|
|
12
|
+
"900": "#18181b"
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
zinc
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// src/utilities/scrollbar-hide.ts
|
|
2
|
+
var scrollbar_hide_default = {
|
|
3
|
+
".scrollbar-hide": {
|
|
4
|
+
"-ms-overflow-style": "none",
|
|
5
|
+
"scrollbar-width": "none",
|
|
6
|
+
"&::-webkit-scrollbar": {
|
|
7
|
+
display: "none"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
".scrollbar-default": {
|
|
11
|
+
"-ms-overflow-style": "auto",
|
|
12
|
+
"scrollbar-width": "auto",
|
|
13
|
+
"&::-webkit-scrollbar": {
|
|
14
|
+
display: "block"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
scrollbar_hide_default
|
|
21
|
+
};
|