@shuriken-ui/tailwind 3.1.3 → 4.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +30 -80
- package/src/css/accordion.css +175 -0
- package/src/css/autocomplete.css +511 -0
- package/src/css/avatar-group.css +138 -0
- package/src/css/avatar.css +738 -0
- package/src/css/breadcrumb.css +63 -0
- package/src/css/button-action.css +108 -0
- package/src/css/button-close.css +117 -0
- package/src/css/button-group.css +236 -0
- package/src/css/button-icon.css +97 -0
- package/src/css/button.css +565 -0
- package/src/css/card.css +69 -0
- package/src/css/checkbox.css +99 -0
- package/src/css/dropdown-divider.css +6 -0
- package/src/css/dropdown-item.css +62 -0
- package/src/css/dropdown.css +102 -0
- package/src/css/focus.css +12 -0
- package/src/css/fullscreen-dropfile.css +63 -0
- package/src/css/heading.css +78 -0
- package/src/css/icon-box.css +305 -0
- package/src/css/input-file-regular.css +255 -0
- package/src/css/input-file.css +224 -0
- package/src/css/input-help-text.css +7 -0
- package/src/css/input-number.css +469 -0
- package/src/css/input.css +402 -0
- package/src/css/kbd.css +94 -0
- package/src/css/label.css +6 -0
- package/src/css/link.css +8 -0
- package/src/css/list.css +23 -0
- package/src/css/listbox.css +511 -0
- package/src/css/mark.css +7 -0
- package/src/css/mask.css +23 -0
- package/src/css/message-text.css +72 -0
- package/src/css/message.css +245 -0
- package/src/css/modal.css +51 -0
- package/src/css/pagination.css +93 -0
- package/src/css/paragraph.css +78 -0
- package/src/css/placeholder-page.css +44 -0
- package/src/css/placeload.css +13 -0
- package/src/css/progress-circle.css +18 -0
- package/src/css/progress.css +90 -0
- package/src/css/prose.css +22 -0
- package/src/css/radio.css +73 -0
- package/src/css/select.css +404 -0
- package/src/css/slimscroll.css +32 -0
- package/src/css/snack.css +101 -0
- package/src/css/switch-ball.css +94 -0
- package/src/css/switch-thin.css +76 -0
- package/src/css/tab-slider.css +190 -0
- package/src/css/tabs.css +175 -0
- package/src/css/tag.css +312 -0
- package/src/css/text.css +78 -0
- package/src/css/textarea.css +228 -0
- package/src/css/theme-switch.css +65 -0
- package/src/css/theme-toggle.css +62 -0
- package/src/css/toast.css +132 -0
- package/src/css/tooltip.css +99 -0
- package/src/index.css +57 -0
- package/dist/colors.cjs +0 -2
- package/dist/colors.d.cts +0 -2
- package/dist/colors.d.mts +0 -2
- package/dist/colors.d.ts +0 -2
- package/dist/colors.mjs +0 -1
- package/dist/config.cjs +0 -18
- package/dist/config.d.cts +0 -6
- package/dist/config.d.mts +0 -6
- package/dist/config.d.ts +0 -6
- package/dist/config.mjs +0 -16
- package/dist/index.cjs +0 -25
- package/dist/index.d.cts +0 -11
- package/dist/index.d.mts +0 -11
- package/dist/index.d.ts +0 -11
- package/dist/index.mjs +0 -21
- package/dist/plugins/index.cjs +0 -21074
- package/dist/plugins/index.d.cts +0 -308
- package/dist/plugins/index.d.mts +0 -308
- package/dist/plugins/index.d.ts +0 -308
- package/dist/plugins/index.mjs +0 -21008
- package/dist/preset.cjs +0 -53
- package/dist/preset.d.cts +0 -3
- package/dist/preset.d.mts +0 -3
- package/dist/preset.d.ts +0 -3
- package/dist/preset.mjs +0 -44
- package/dist/shared/tailwind.6e316a50.d.cts +0 -49966
- package/dist/shared/tailwind.6e316a50.d.mts +0 -49966
- package/dist/shared/tailwind.6e316a50.d.ts +0 -49966
- package/dist/themes.cjs +0 -119
- package/dist/themes.d.cts +0 -187
- package/dist/themes.d.mts +0 -187
- package/dist/themes.d.ts +0 -187
- package/dist/themes.mjs +0 -113
@@ -0,0 +1,62 @@
|
|
1
|
+
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
|
+
/* @utility nui-theme-toggle */
|
3
|
+
|
4
|
+
@utility nui-theme-toggle {
|
5
|
+
@apply nui-focus relative block shrink-0 overflow-hidden rounded-full;
|
6
|
+
@apply h-9 w-9;
|
7
|
+
@apply focus-visible:outline-2 ring-2 ring-transparent ring-offset-muted-200 dark:ring-offset-muted-900;
|
8
|
+
@apply transition-all duration-300;
|
9
|
+
|
10
|
+
.nui-theme-toggle-input:not(:checked) ~ .nui-theme-toggle-inner .nui-sun {
|
11
|
+
@apply -translate-y-1/2 opacity-100;
|
12
|
+
}
|
13
|
+
|
14
|
+
.nui-theme-toggle-input:checked ~ .nui-theme-toggle-inner .nui-sun {
|
15
|
+
@apply translate-y-[-150%] opacity-0;
|
16
|
+
}
|
17
|
+
|
18
|
+
.nui-theme-toggle-input:not(:checked) ~ .nui-theme-toggle-inner .nui-moon {
|
19
|
+
@apply translate-y-[-150%] opacity-0;
|
20
|
+
}
|
21
|
+
|
22
|
+
.nui-theme-toggle-input:checked ~ .nui-theme-toggle-inner .nui-moon {
|
23
|
+
@apply -translate-y-1/2 opacity-100;
|
24
|
+
}
|
25
|
+
|
26
|
+
&:not(nui-theme-toggle-inverted) {
|
27
|
+
@apply ring-offset-muted-500 dark:ring-offset-muted-900;
|
28
|
+
|
29
|
+
.nui-toggle-inner {
|
30
|
+
@apply border border-white dark:border-muted-800;
|
31
|
+
@apply bg-white dark:bg-muted-800;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
@utility nui-theme-toggle-inner {
|
36
|
+
@apply relative block rounded-full;
|
37
|
+
@apply h-9 w-9;
|
38
|
+
@apply bg-white dark:bg-muted-800;
|
39
|
+
@apply border border-muted-300 dark:border-muted-700;
|
40
|
+
}
|
41
|
+
@utility nui-theme-toggle-input {
|
42
|
+
@apply absolute start-0 top-0 z-[2] h-full w-full cursor-pointer opacity-0;
|
43
|
+
}
|
44
|
+
@utility nui-sun {
|
45
|
+
@apply pointer-events-none absolute start-1/2 top-1/2 block -translate-y-1/2 translate-x-[-50%] rtl:translate-x-[50%];
|
46
|
+
@apply h-5 w-5;
|
47
|
+
@apply text-yellow-400 dark:text-yellow-400;
|
48
|
+
@apply transition-all duration-300;
|
49
|
+
}
|
50
|
+
@utility nui-moon {
|
51
|
+
@apply pointer-events-none absolute start-1/2 top-1/2 block translate-x-[-50%] rtl:translate-x-[45%];
|
52
|
+
@apply h-5 w-5;
|
53
|
+
@apply text-yellow-400 dark:text-yellow-400;
|
54
|
+
@apply transition-all duration-300;
|
55
|
+
}
|
56
|
+
@utility nui-theme-toggle-inverted {
|
57
|
+
@apply ring-offset-muted-500 dark:ring-offset-muted-400;
|
58
|
+
|
59
|
+
.nui-toggle-inner {
|
60
|
+
@apply !bg-primary-700 dark:!bg-primary-700;
|
61
|
+
}
|
62
|
+
}
|
@@ -0,0 +1,132 @@
|
|
1
|
+
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
|
+
/* @utility nui-toast */
|
3
|
+
|
4
|
+
@utility nui-toast {
|
5
|
+
@apply relative flex font-sans overflow-hidden;
|
6
|
+
}
|
7
|
+
@utility nui-toast-inner {
|
8
|
+
@apply flex items-center grow gap-2 px-4 py-3;
|
9
|
+
}
|
10
|
+
@utility nui-toast-title {
|
11
|
+
@apply nui-heading nui-heading-sm nui-weight-medium;
|
12
|
+
@apply text-muted-800 dark:text-muted-100;
|
13
|
+
}
|
14
|
+
@utility nui-toast-subtitle {
|
15
|
+
@apply nui-paragraph text-xs;
|
16
|
+
@apply text-muted-400 dark:text-muted-500;
|
17
|
+
}
|
18
|
+
@utility nui-toast-icon {
|
19
|
+
@apply w-6 h-6;
|
20
|
+
}
|
21
|
+
@utility nui-toast-icon-block {
|
22
|
+
@apply h-16 w-16 flex items-center justify-center;
|
23
|
+
}
|
24
|
+
@utility nui-button-close {
|
25
|
+
@apply ms-auto;
|
26
|
+
}
|
27
|
+
@utility nui-toast-low-contrast {
|
28
|
+
@apply bg-white dark:bg-muted-800;
|
29
|
+
@apply border-2 border-muted-300 dark:border-muted-700;
|
30
|
+
}
|
31
|
+
@utility nui-toast-high-contrast {
|
32
|
+
@apply bg-white dark:bg-muted-950;
|
33
|
+
@apply border-2 border-muted-300 dark:border-muted-800;
|
34
|
+
}
|
35
|
+
@utility nui-toast-default {
|
36
|
+
.nui-toast-icon {
|
37
|
+
@apply text-muted-500 dark:text-muted-500;
|
38
|
+
}
|
39
|
+
|
40
|
+
.nui-toast-icon-block {
|
41
|
+
@apply bg-muted-100 dark:bg-muted-700;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
@utility nui-toast-primary {
|
45
|
+
@apply border-2 border-primary-500 dark:border-primary-500;
|
46
|
+
|
47
|
+
.nui-toast-icon {
|
48
|
+
@apply text-primary-500 dark:text-primary-500;
|
49
|
+
}
|
50
|
+
|
51
|
+
.nui-toast-icon-block {
|
52
|
+
@apply bg-primary-500/10 dark:bg-primary-500/10;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
@utility nui-toast-info {
|
56
|
+
@apply border-2 border-info-500 dark:border-info-500;
|
57
|
+
|
58
|
+
.nui-toast-icon {
|
59
|
+
@apply text-info-500 dark:text-info-500;
|
60
|
+
}
|
61
|
+
|
62
|
+
.nui-toast-icon-block {
|
63
|
+
@apply bg-info-500/10 dark:bg-info-500/10;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
@utility nui-toast-success {
|
67
|
+
@apply border-2 border-success-500 dark:border-success-500;
|
68
|
+
|
69
|
+
.nui-toast-icon {
|
70
|
+
@apply text-success-500 dark:text-success-500;
|
71
|
+
}
|
72
|
+
|
73
|
+
.nui-toast-icon-block {
|
74
|
+
@apply bg-success-500/10 dark:bg-success-500/10;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
@utility nui-toast-warning {
|
78
|
+
@apply border-2 border-warning-500 dark:border-warning-500;
|
79
|
+
|
80
|
+
.nui-toast-icon {
|
81
|
+
@apply text-warning-500 dark:text-warning-500;
|
82
|
+
}
|
83
|
+
|
84
|
+
.nui-toast-icon-block {
|
85
|
+
@apply bg-warning-500/10 dark:bg-warning-500/10;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
@utility nui-toast-danger {
|
89
|
+
@apply border-2 border-danger-500 dark:border-danger-500;
|
90
|
+
|
91
|
+
.nui-toast-icon {
|
92
|
+
@apply text-danger-500 dark:text-danger-500;
|
93
|
+
}
|
94
|
+
|
95
|
+
.nui-toast-icon-block {
|
96
|
+
@apply bg-danger-500/10 dark:bg-danger-500/10;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
@utility nui-toast-dark {
|
100
|
+
@apply border-2 border-muted-900 dark:border-muted-100;
|
101
|
+
|
102
|
+
.nui-toast-icon {
|
103
|
+
@apply text-muted-900 dark:text-muted-100;
|
104
|
+
}
|
105
|
+
|
106
|
+
.nui-toast-icon-block {
|
107
|
+
@apply bg-muted-900/10 dark:bg-muted-100/10;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
@utility nui-toast-black {
|
111
|
+
@apply border-2 border-black dark:border-white;
|
112
|
+
|
113
|
+
.nui-toast-icon {
|
114
|
+
@apply text-black dark:text-white;
|
115
|
+
}
|
116
|
+
|
117
|
+
.nui-toast-icon-block {
|
118
|
+
@apply bg-black/10 dark:bg-white/10;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
@utility nui-toast-rounded-sm {
|
122
|
+
@apply rounded-md;
|
123
|
+
}
|
124
|
+
@utility nui-toast-rounded-md {
|
125
|
+
@apply rounded-lg;
|
126
|
+
}
|
127
|
+
@utility nui-toast-rounded-lg {
|
128
|
+
@apply rounded-xl;
|
129
|
+
}
|
130
|
+
@utility nui-toast-borderless {
|
131
|
+
@apply !border-0 shadow-muted-300/30 dark:shadow-muted-800/30 shadow-xl;
|
132
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
|
+
/* @utility nui-tooltip */
|
3
|
+
|
4
|
+
[data-nui-tooltip] {
|
5
|
+
position: relative;
|
6
|
+
}
|
7
|
+
[data-nui-tooltip]::before, [data-nui-tooltip]::after {
|
8
|
+
text-transform: none;
|
9
|
+
font-size: 0.9em;
|
10
|
+
line-height: 1;
|
11
|
+
user-select: none;
|
12
|
+
pointer-events: none;
|
13
|
+
position: absolute;
|
14
|
+
display: none;
|
15
|
+
opacity: 0;
|
16
|
+
}
|
17
|
+
[data-nui-tooltip]::before {
|
18
|
+
content: '';
|
19
|
+
border: 5px solid transparent;
|
20
|
+
z-index: 1001;
|
21
|
+
}
|
22
|
+
[data-nui-tooltip]::after {
|
23
|
+
content: attr(data-nui-tooltip);
|
24
|
+
text-align: center;
|
25
|
+
min-width: 3rem;
|
26
|
+
max-width: 21rem;
|
27
|
+
white-space: pre;
|
28
|
+
overflow: hidden;
|
29
|
+
padding: 1ch 1.5ch;
|
30
|
+
border-radius: 0.5ch;
|
31
|
+
z-index: 1000;
|
32
|
+
@apply font-sans text-xs shadow-lg;
|
33
|
+
@apply text-[#fff] dark:text-[#fff];
|
34
|
+
@apply !bg-[#1e293b] dark:!bg-[#4c1d95];
|
35
|
+
}
|
36
|
+
[data-nui-tooltip]:hover::before, [data-nui-tooltip]:hover::after, [data-nui-tooltip]:focus-visible::before, [data-nui-tooltip]:focus-visible::after {
|
37
|
+
display: block;
|
38
|
+
}
|
39
|
+
[data-nui-tooltip='']::before, [data-nui-tooltip='']::after {
|
40
|
+
display: none !important;
|
41
|
+
}
|
42
|
+
[data-nui-tooltip]:not([data-nui-tooltip-position])::before, [data-nui-tooltip][data-nui-tooltip-position^='up']::before {
|
43
|
+
bottom: calc(100% + 8px);
|
44
|
+
border-bottom-width: 0;
|
45
|
+
border-top-color: currentColor;
|
46
|
+
@apply !text-[#1e293b] dark:!text-[#4c1d95];
|
47
|
+
}
|
48
|
+
[data-nui-tooltip]:not([data-nui-tooltip-position])::after, [data-nui-tooltip][data-nui-tooltip-position^='up']::after {
|
49
|
+
bottom: calc(100% + 13px);
|
50
|
+
}
|
51
|
+
[data-nui-tooltip]:not([data-nui-tooltip-position])::before, [data-nui-tooltip][data-nui-tooltip-position^='up']::before, [data-nui-tooltip]:not([data-nui-tooltip-position])::after, [data-nui-tooltip][data-nui-tooltip-position^='up']::after {
|
52
|
+
left: 50%;
|
53
|
+
transform: translate(-50%, -0.5em);
|
54
|
+
}
|
55
|
+
[data-nui-tooltip][data-nui-tooltip-position^='down']::before {
|
56
|
+
top: 100%;
|
57
|
+
border-top-width: 0;
|
58
|
+
border-bottom-color: currentColor;
|
59
|
+
@apply !text-[#1e293b] dark:!text-[#4c1d95];
|
60
|
+
}
|
61
|
+
[data-nui-tooltip][data-nui-tooltip-position^='down']::after {
|
62
|
+
top: calc(100% + 5px);
|
63
|
+
}
|
64
|
+
[data-nui-tooltip][data-nui-tooltip-position^='down']::before, [data-nui-tooltip][data-nui-tooltip-position^='down']::after {
|
65
|
+
left: 50%;
|
66
|
+
transform: translate(-50%, 0.5em);
|
67
|
+
}
|
68
|
+
[data-nui-tooltip][data-nui-tooltip-position^='start']::before, [data-nui-tooltip][data-nui-tooltip-position^='left']::before {
|
69
|
+
top: 50%;
|
70
|
+
border-right-width: 0;
|
71
|
+
border-left-color: currentColor;
|
72
|
+
inset-inline-start: calc(0em - 5px);
|
73
|
+
transform: translate(-0.5em, -50%);
|
74
|
+
@apply !text-[#1e293b] dark:!text-[#4c1d95];
|
75
|
+
}
|
76
|
+
[data-nui-tooltip][data-nui-tooltip-position^='start']::after, [data-nui-tooltip][data-nui-tooltip-position^='left']::after {
|
77
|
+
top: 50%;
|
78
|
+
inset-inline-end: calc(100% + 5px);
|
79
|
+
transform: translate(-0.5em, -50%);
|
80
|
+
}
|
81
|
+
[data-nui-tooltip][data-nui-tooltip-position^='end']::before, [data-nui-tooltip][data-nui-tooltip-position^='right']::before {
|
82
|
+
top: 50%;
|
83
|
+
border-leftt-width: 0;
|
84
|
+
border-right-color: currentColor;
|
85
|
+
inset-inline-end: calc(0em - 5px);
|
86
|
+
transform: translate(0.5em, -50%);
|
87
|
+
@apply !text-[#1e293b] dark:!text-[#4c1d95];
|
88
|
+
}
|
89
|
+
[data-nui-tooltip][data-nui-tooltip-position^='end']::after, [data-nui-tooltip][data-nui-tooltip-position^='right']::after {
|
90
|
+
top: 50%;
|
91
|
+
inset-inline-start: calc(100% + 5px);
|
92
|
+
transform: translate(0.5em, -50%);
|
93
|
+
}
|
94
|
+
[data-nui-tooltip]:not([data-nui-tooltip-position]):hover::before,[data-nui-tooltip]:not([data-nui-tooltip-position]):hover::after,[data-nui-tooltip][data-nui-tooltip-position^='up']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='up']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='down']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='down']:hover::after,[data-nui-tooltip]:not([data-nui-tooltip-position]):focus-visible::before,[data-nui-tooltip]:not([data-nui-tooltip-position]):focus-visible::after,[data-nui-tooltip][data-nui-tooltip-position^='up']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='up']:focus-visible::after,[data-nui-tooltip][data-nui-tooltip-position^='down']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='down']:focus-visible::after {
|
95
|
+
@apply animate-nui-tooltip-x;
|
96
|
+
}
|
97
|
+
[data-nui-tooltip][data-nui-tooltip-position^='left']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='left']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='right']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='right']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='start']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='start']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='end']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='end']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='left']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='left']:focus-visible::after,[data-nui-tooltip][data-nui-tooltip-position^='right']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='right']:focus-visible::after,[data-nui-tooltip][data-nui-tooltip-position^='start']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='start']:focus-visible::after,[data-nui-tooltip][data-nui-tooltip-position^='end']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='end']:focus-visible::after {
|
98
|
+
@apply animate-nui-tooltip-y;
|
99
|
+
}
|
package/src/index.css
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
|
2
|
+
@plugin '@tailwindcss/typography';
|
3
|
+
|
4
|
+
@import './css/accordion.css';
|
5
|
+
@import './css/autocomplete.css';
|
6
|
+
@import './css/avatar.css';
|
7
|
+
@import './css/avatar-group.css';
|
8
|
+
@import './css/breadcrumb.css';
|
9
|
+
@import './css/button.css';
|
10
|
+
/* @import './css/button-action.css'; */
|
11
|
+
/* @import './css/button-close.css'; */
|
12
|
+
/* @import './css/button-group.css'; */
|
13
|
+
/* @import './css/button-icon.css'; */
|
14
|
+
@import './css/card.css';
|
15
|
+
@import './css/checkbox.css';
|
16
|
+
@import './css/dropdown.css';
|
17
|
+
@import './css/dropdown-divider.css';
|
18
|
+
@import './css/dropdown-item.css';
|
19
|
+
@import './css/focus.css';
|
20
|
+
@import './css/fullscreen-dropfile.css';
|
21
|
+
@import './css/heading.css';
|
22
|
+
@import './css/icon-box.css';
|
23
|
+
@import './css/input.css';
|
24
|
+
@import './css/input-file.css';
|
25
|
+
@import './css/input-file-regular.css';
|
26
|
+
@import './css/input-help-text.css';
|
27
|
+
@import './css/input-number.css';
|
28
|
+
@import './css/kbd.css';
|
29
|
+
@import './css/label.css';
|
30
|
+
@import './css/link.css';
|
31
|
+
@import './css/listbox.css';
|
32
|
+
@import './css/mark.css';
|
33
|
+
@import './css/mask.css';
|
34
|
+
@import './css/message.css';
|
35
|
+
@import './css/message-text.css';
|
36
|
+
@import './css/modal.css';
|
37
|
+
@import './css/pagination.css';
|
38
|
+
@import './css/paragraph.css';
|
39
|
+
@import './css/placeholder-page.css';
|
40
|
+
@import './css/progress.css';
|
41
|
+
@import './css/progress-circle.css';
|
42
|
+
/* @import './css/prose.css'; */
|
43
|
+
@import './css/radio.css';
|
44
|
+
@import './css/select.css';
|
45
|
+
@import './css/slimscroll.css';
|
46
|
+
@import './css/snack.css';
|
47
|
+
@import './css/switch-ball.css';
|
48
|
+
@import './css/switch-thin.css';
|
49
|
+
@import './css/tab-slider.css';
|
50
|
+
@import './css/tabs.css';
|
51
|
+
@import './css/tag.css';
|
52
|
+
@import './css/text.css';
|
53
|
+
@import './css/textarea.css';
|
54
|
+
@import './css/theme-switch.css';
|
55
|
+
@import './css/theme-toggle.css';
|
56
|
+
@import './css/toast.css';
|
57
|
+
/* @import './css/tooltip.css'; */
|
package/dist/colors.cjs
DELETED
package/dist/colors.d.cts
DELETED
package/dist/colors.d.mts
DELETED
package/dist/colors.d.ts
DELETED
package/dist/colors.mjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|
package/dist/config.cjs
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
const preset = require('./preset.cjs');
|
4
|
-
require('@tailwindcss/typography');
|
5
|
-
require('@tailwindcss/container-queries');
|
6
|
-
require('./plugins/index.cjs');
|
7
|
-
require('tailwindcss/plugin');
|
8
|
-
require('defu');
|
9
|
-
require('./themes.cjs');
|
10
|
-
require('tailwindcss/colors');
|
11
|
-
require('tailwindcss/defaultTheme');
|
12
|
-
|
13
|
-
const config = {
|
14
|
-
content: [],
|
15
|
-
presets: [preset.preset]
|
16
|
-
};
|
17
|
-
|
18
|
-
module.exports = config;
|
package/dist/config.d.cts
DELETED
package/dist/config.d.mts
DELETED
package/dist/config.d.ts
DELETED
package/dist/config.mjs
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
import { preset } from './preset.mjs';
|
2
|
-
import '@tailwindcss/typography';
|
3
|
-
import '@tailwindcss/container-queries';
|
4
|
-
import './plugins/index.mjs';
|
5
|
-
import 'tailwindcss/plugin';
|
6
|
-
import 'defu';
|
7
|
-
import './themes.mjs';
|
8
|
-
import 'tailwindcss/colors';
|
9
|
-
import 'tailwindcss/defaultTheme';
|
10
|
-
|
11
|
-
const config = {
|
12
|
-
content: [],
|
13
|
-
presets: [preset]
|
14
|
-
};
|
15
|
-
|
16
|
-
export { config as default };
|
package/dist/index.cjs
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
const preset = require('./preset.cjs');
|
4
|
-
require('@tailwindcss/typography');
|
5
|
-
require('@tailwindcss/container-queries');
|
6
|
-
require('./plugins/index.cjs');
|
7
|
-
require('tailwindcss/plugin');
|
8
|
-
require('defu');
|
9
|
-
require('./themes.cjs');
|
10
|
-
require('tailwindcss/colors');
|
11
|
-
require('tailwindcss/defaultTheme');
|
12
|
-
|
13
|
-
function withShurikenUI(config) {
|
14
|
-
if (preset.hasPreset(config)) {
|
15
|
-
return config;
|
16
|
-
}
|
17
|
-
config.presets ?? (config.presets = []);
|
18
|
-
config.presets.push(preset.preset);
|
19
|
-
return config;
|
20
|
-
}
|
21
|
-
|
22
|
-
exports.createPreset = preset.createPreset;
|
23
|
-
exports.hasPreset = preset.hasPreset;
|
24
|
-
exports.preset = preset.preset;
|
25
|
-
exports.withShurikenUI = withShurikenUI;
|
package/dist/index.d.cts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import { S as ShurikenUIConfig } from './shared/tailwind.6e316a50.cjs';
|
2
|
-
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.6e316a50.cjs';
|
3
|
-
import 'tailwindcss/types/config';
|
4
|
-
import 'tailwindcss';
|
5
|
-
|
6
|
-
/**
|
7
|
-
* Inject the shuriken-ui preset into a tailwind config if not already present
|
8
|
-
*/
|
9
|
-
declare function withShurikenUI(config: ShurikenUIConfig): ShurikenUIConfig;
|
10
|
-
|
11
|
-
export { withShurikenUI };
|
package/dist/index.d.mts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import { S as ShurikenUIConfig } from './shared/tailwind.6e316a50.mjs';
|
2
|
-
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.6e316a50.mjs';
|
3
|
-
import 'tailwindcss/types/config';
|
4
|
-
import 'tailwindcss';
|
5
|
-
|
6
|
-
/**
|
7
|
-
* Inject the shuriken-ui preset into a tailwind config if not already present
|
8
|
-
*/
|
9
|
-
declare function withShurikenUI(config: ShurikenUIConfig): ShurikenUIConfig;
|
10
|
-
|
11
|
-
export { withShurikenUI };
|
package/dist/index.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import { S as ShurikenUIConfig } from './shared/tailwind.6e316a50.js';
|
2
|
-
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.6e316a50.js';
|
3
|
-
import 'tailwindcss/types/config';
|
4
|
-
import 'tailwindcss';
|
5
|
-
|
6
|
-
/**
|
7
|
-
* Inject the shuriken-ui preset into a tailwind config if not already present
|
8
|
-
*/
|
9
|
-
declare function withShurikenUI(config: ShurikenUIConfig): ShurikenUIConfig;
|
10
|
-
|
11
|
-
export { withShurikenUI };
|
package/dist/index.mjs
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
import { hasPreset, preset } from './preset.mjs';
|
2
|
-
export { createPreset } from './preset.mjs';
|
3
|
-
import '@tailwindcss/typography';
|
4
|
-
import '@tailwindcss/container-queries';
|
5
|
-
import './plugins/index.mjs';
|
6
|
-
import 'tailwindcss/plugin';
|
7
|
-
import 'defu';
|
8
|
-
import './themes.mjs';
|
9
|
-
import 'tailwindcss/colors';
|
10
|
-
import 'tailwindcss/defaultTheme';
|
11
|
-
|
12
|
-
function withShurikenUI(config) {
|
13
|
-
if (hasPreset(config)) {
|
14
|
-
return config;
|
15
|
-
}
|
16
|
-
config.presets ?? (config.presets = []);
|
17
|
-
config.presets.push(preset);
|
18
|
-
return config;
|
19
|
-
}
|
20
|
-
|
21
|
-
export { hasPreset, preset, withShurikenUI };
|