@shuriken-ui/tailwind 4.0.0-alpha.2 → 4.0.0-alpha.20

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.
Files changed (65) hide show
  1. package/README.md +20 -74
  2. package/lib/css/dark.css +64 -0
  3. package/lib/css/focus.css +4 -0
  4. package/{src → lib}/css/mark.css +0 -3
  5. package/{src → lib}/css/mask.css +0 -3
  6. package/{src → lib}/css/slimscroll.css +8 -8
  7. package/lib/index.css +16 -0
  8. package/lib/theme.css +189 -0
  9. package/package.json +13 -53
  10. package/LICENSE.md +0 -21
  11. package/src/css/accordion.css +0 -175
  12. package/src/css/autocomplete.css +0 -511
  13. package/src/css/avatar-group.css +0 -138
  14. package/src/css/avatar.css +0 -738
  15. package/src/css/breadcrumb.css +0 -63
  16. package/src/css/button-action.css +0 -108
  17. package/src/css/button-close.css +0 -117
  18. package/src/css/button-group.css +0 -236
  19. package/src/css/button-icon.css +0 -97
  20. package/src/css/button.css +0 -565
  21. package/src/css/card.css +0 -69
  22. package/src/css/checkbox.css +0 -99
  23. package/src/css/dropdown-divider.css +0 -6
  24. package/src/css/dropdown-item.css +0 -62
  25. package/src/css/dropdown.css +0 -102
  26. package/src/css/focus.css +0 -12
  27. package/src/css/fullscreen-dropfile.css +0 -63
  28. package/src/css/heading.css +0 -78
  29. package/src/css/icon-box.css +0 -305
  30. package/src/css/input-file-regular.css +0 -255
  31. package/src/css/input-file.css +0 -224
  32. package/src/css/input-help-text.css +0 -7
  33. package/src/css/input-number.css +0 -469
  34. package/src/css/input.css +0 -402
  35. package/src/css/kbd.css +0 -94
  36. package/src/css/label.css +0 -6
  37. package/src/css/link.css +0 -8
  38. package/src/css/list.css +0 -23
  39. package/src/css/listbox.css +0 -511
  40. package/src/css/message-text.css +0 -72
  41. package/src/css/message.css +0 -245
  42. package/src/css/modal.css +0 -51
  43. package/src/css/pagination.css +0 -93
  44. package/src/css/paragraph.css +0 -78
  45. package/src/css/placeholder-page.css +0 -44
  46. package/src/css/placeload.css +0 -13
  47. package/src/css/progress-circle.css +0 -18
  48. package/src/css/progress.css +0 -90
  49. package/src/css/prose.css +0 -22
  50. package/src/css/radio.css +0 -73
  51. package/src/css/select.css +0 -404
  52. package/src/css/snack.css +0 -101
  53. package/src/css/switch-ball.css +0 -94
  54. package/src/css/switch-thin.css +0 -76
  55. package/src/css/tab-slider.css +0 -190
  56. package/src/css/tabs.css +0 -175
  57. package/src/css/tag.css +0 -312
  58. package/src/css/text.css +0 -78
  59. package/src/css/textarea.css +0 -228
  60. package/src/css/theme-switch.css +0 -65
  61. package/src/css/theme-toggle.css +0 -62
  62. package/src/css/toast.css +0 -132
  63. package/src/css/tooltip.css +0 -99
  64. package/src/index.css +0 -58
  65. package/src/theme.css +0 -80
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  ---
15
15
 
16
- ## Shuriken UI - Tailwind CSS
16
+ ## Shuriken UI - Tailwind CSS v4
17
17
 
18
18
  Shuriken UI is a free and open-source Tailwind CSS UI Kit. It is a collection of components and templates that you can use to build your next Tailwind CSS project.
19
19
 
@@ -21,89 +21,35 @@ This package contains the Tailwind CSS preset, components, and shared utils like
21
21
 
22
22
  ## Installation
23
23
 
24
+ Install dependencies:
25
+
24
26
  ```bash
25
- pnpm install -D @shuriken-ui/tailwind
27
+ pnpm install -D @shuriken-ui/tailwind@next tailwindcss@next @tailwindcss/vite@next
26
28
  ```
27
29
 
28
- ## Usage
29
-
30
- The simplest way to register Shuriken UI is to use `withShurikenUI` helper function.
30
+ Add tailwind plugin to your `vite.config.ts`:
31
31
 
32
32
  ```ts
33
- // tailwind.config.ts
34
- import { withShurikenUI } from '@shuriken-ui/tailwind'
35
-
36
- export default withShurikenUI({
37
- // your tailwind config
38
- content: [],
39
- })
40
- ```
41
-
42
-
43
- You can also direcly import the preset and use it in your config.
33
+ import tailwindcss from '@tailwindcss/vite'
34
+ import { defineConfig } from 'vite'
44
35
 
45
- ```ts
46
- // tailwind.config.ts
47
- import type { Config } from 'tailwindcss'
48
- import preset from '@shuriken-ui/tailwind/preset'
49
-
50
- export default {
51
- // your tailwind config, with the preset
52
- content: [],
53
- presets: [preset],
54
- } satisfies Config
36
+ export default defineConfig({
37
+ plugins: [tailwindcss()],
38
+ });
55
39
  ```
56
40
 
41
+ Reference Shuriken UI in your `tailwind.css` file:
57
42
 
58
- Also, you can import only the components and utils you needs.
59
-
60
- ```ts
61
- // tailwind.config.ts
62
- import type { Config } from 'tailwindcss'
63
- import { fontFamily } from 'tailwindcss/defaultTheme'
64
- import colors from 'tailwindcss/colors'
65
-
66
- import { input, button } from '@shuriken-ui/tailwind/plugins'
67
-
68
- export default {
69
- // your tailwind config, with only the components you need
70
- plugins: [input, button],
71
- theme: {
72
- fontFamily: {
73
- sans: fontFamily.sans,
74
- heading: fontFamily.sans,
75
- alt: fontFamily.sans,
76
- mono: fontFamily.mono,
77
- },
78
- extend: {
79
- colors: {
80
- primary: colors.violet,
81
- 'primary-invert': colors.white,
82
- muted: colors.slate,
83
- info: colors.sky,
84
- success: colors.teal,
85
- warning: colors.amber,
86
- danger: colors.rose,
87
- },
88
- },
89
- },
90
- } satisfies Config
91
- ```
92
-
93
- ## Customization
43
+ ```css
44
+ @import 'tailwindcss';
45
+ @import '@shuriken-ui/tailwind';
94
46
 
95
- Shuriken UI is fully customizable. You can override components by using the `theme` option.
47
+ /* Register the dark mode variant (with .dark class) */
48
+ @variant dark (&:where(.dark, .dark *));
96
49
 
97
- ```ts
98
- export default withShurikenUI({
99
- theme: {
100
- extend: {
101
- nui: {
102
- // your customizations
103
- },
104
- },
105
- },
106
- })
50
+ @theme {
51
+ /* Customize your theme here */
52
+ }
107
53
  ```
108
54
 
109
- > note: Documentation is coming soon!
55
+ > See the [theme.css](https://github.com/shuriken-ui/shuriken-ui/blob/main/packages/tailwind/lib/theme.css) file for a complete list of available variables you can customize.
@@ -0,0 +1,64 @@
1
+ @layer base {
2
+ .dark {
3
+ --color-field-label: var(--color-muted-300);
4
+ --color-field-description: var(--color-muted-400);
5
+ --color-field-loading: var(--color-muted-300);
6
+
7
+ --color-input-default-border: var(--color-muted-800);
8
+ --color-input-default-bg: var(--color-muted-900);
9
+ --color-input-default-text: var(--color-muted-200);
10
+ --color-input-default-placeholder: var(--color-muted-700);
11
+ --color-input-default-button-bg: var(--color-muted-800);
12
+ --color-input-default-button-bg-active: var(--color-muted-700);
13
+ --color-input-default-button-text: var(--color-muted-400);
14
+
15
+ --color-input-muted-border: var(--color-muted-800);
16
+ --color-input-muted-bg: var(--color-muted-900);
17
+ --color-input-muted-text: var(--color-muted-200);
18
+ --color-input-muted-placeholder: var(--color-muted-300);
19
+ --color-input-muted-button-bg: var(--color-muted-800);
20
+ --color-input-muted-button-bg-active: var(--color-muted-700);
21
+ --color-input-muted-button-text: var(--color-muted-400);
22
+
23
+ --color-portal-default-bg: var(--color-muted-950);
24
+ --color-portal-default-border: var(--color-muted-800);
25
+ --color-portal-default-item-bg-active: var(--color-muted-800);
26
+ --color-portal-default-item-text-active: var(--color-primary-light);
27
+
28
+ --color-portal-muted-bg: var(--color-muted-950);
29
+ --color-portal-muted-border: var(--color-muted-800);
30
+ --color-portal-muted-item-bg-active: var(--color-muted-800);
31
+ --color-portal-muted-item-text-active: var(--color-primary-light);
32
+
33
+ --color-track-default-bg: var(--color-muted-900);
34
+ --color-track-default-bg-active: var(--color-muted-400);
35
+ --color-track-default-handle-bg: var(--color-muted-700);
36
+ --color-track-default-handle-border: var(--color-muted-600);
37
+
38
+ --color-track-dark-bg: var(--color-muted-900);
39
+ --color-track-dark-bg-active: var(--color-muted-50);
40
+ --color-track-dark-bg-invert: var(--color-muted-900);
41
+ --color-track-dark-handle-bg: var(--color-muted-700);
42
+ --color-track-dark-handle-border: var(--color-muted-600);
43
+
44
+ --color-card-default-bg: var(--color-muted-950);
45
+ --color-card-default-border: var(--color-muted-800);
46
+
47
+ --color-card-muted-bg: var(--color-muted-950);
48
+ --color-card-muted-border: var(--color-muted-800);
49
+
50
+ --color-tag-default-bg: var(--color-muted-950);
51
+ --color-tag-default-border: var(--color-muted-200);
52
+ --color-tag-default-text: var(--color-muted-200);
53
+
54
+ --color-tag-muted-bg: var(--color-muted-950);
55
+ --color-tag-muted-border: var(--color-muted-200);
56
+ --color-tag-muted-text: var(--color-muted-200);
57
+
58
+ --color-tag-dark-bg: var(--color-muted-100);
59
+ --color-tag-dark-border: var(--color-muted-100);
60
+ --color-tag-dark-text: var(--color-muted-100);
61
+
62
+ color-scheme: dark;
63
+ }
64
+ }
@@ -0,0 +1,4 @@
1
+ @utility nui-focus {
2
+ @apply outline-none ring-ring ring-1 ring-offset-2 ring-offset-white;
3
+ @apply dark:ring-offset-muted-950;
4
+ }
@@ -1,6 +1,3 @@
1
- /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
- /* @utility nui-mark */
3
-
4
1
  @utility nui-mark {
5
2
  @apply bg-primary-100 dark:bg-primary-800;
6
3
  @apply text-primary-800 dark:text-primary-200;
@@ -1,6 +1,3 @@
1
- /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
- /* @utility nui-mask */
3
-
4
1
  @utility nui-mask {
5
2
  mask-size: contain;
6
3
  mask-repeat: no-repeat;
@@ -1,11 +1,10 @@
1
- /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
- /* @utility nui-slimscroll */
3
-
4
1
  @utility nui-slimscroll {
2
+ scrollbar-width: auto !important;
3
+
5
4
  &::-webkit-scrollbar {
6
5
  scroll-behavior: smooth;
7
6
  scrollbar-gutter: stable;
8
- @apply w-[6px] h-[6px];
7
+ @apply w-[6px] h-[6px] block!;
9
8
  }
10
9
 
11
10
  &::-webkit-scrollbar-thumb {
@@ -20,13 +19,14 @@
20
19
  &::-webkit-scrollbar {
21
20
  scroll-behavior: smooth;
22
21
  scrollbar-gutter: stable;
23
- @apply w-[6px] h-[6px];
22
+ @apply w-[6px] h-[6px] block!;
23
+ }
24
+
25
+ &::-webkit-scrollbar-thumb {
26
+ @apply rounded-lg bg-transparent duration-300 transition-all;
24
27
  }
25
28
 
26
29
  &:hover::-webkit-scrollbar-thumb {
27
30
  @apply bg-black/20 dark:bg-white/20;
28
31
  }
29
32
  }
30
- @utility undefined {
31
- @apply rounded-lg bg-transparent duration-300 transition-all;
32
- }
package/lib/index.css ADDED
@@ -0,0 +1,16 @@
1
+ @plugin '@tailwindcss/typography';
2
+
3
+ @import './theme.css';
4
+ @import './css/dark.css';
5
+
6
+ @import './css/focus.css';
7
+ @import './css/mark.css';
8
+ @import './css/mask.css';
9
+ @import './css/slimscroll.css';
10
+
11
+ @layer base {
12
+ .nui-no-transition * {
13
+ transition-property: none !important;
14
+ transition-duration: 0 !important;
15
+ }
16
+ }
package/lib/theme.css ADDED
@@ -0,0 +1,189 @@
1
+ @theme {
2
+ /** Fonts */
3
+ --font-heading: var(--font-sans);
4
+
5
+ /** Colors */
6
+ --color-muted-50: var(--color-gray-50);
7
+ --color-muted-100: var(--color-gray-100);
8
+ --color-muted-200: var(--color-gray-200);
9
+ --color-muted-300: var(--color-gray-300);
10
+ --color-muted-400: var(--color-gray-400);
11
+ --color-muted-500: var(--color-gray-500);
12
+ --color-muted-600: var(--color-gray-600);
13
+ --color-muted-700: var(--color-gray-700);
14
+ --color-muted-800: var(--color-gray-800);
15
+ --color-muted-900: var(--color-gray-900);
16
+ --color-muted-950: var(--color-gray-950);
17
+
18
+ --color-primary-50: var(--color-purple-50);
19
+ --color-primary-100: var(--color-purple-100);
20
+ --color-primary-200: var(--color-purple-200);
21
+ --color-primary-300: var(--color-purple-300);
22
+ --color-primary-400: var(--color-purple-400);
23
+ --color-primary-500: var(--color-purple-500);
24
+ --color-primary-600: var(--color-purple-600);
25
+ --color-primary-700: var(--color-purple-700);
26
+ --color-primary-800: var(--color-purple-800);
27
+ --color-primary-900: var(--color-purple-900);
28
+ --color-primary-950: var(--color-purple-950);
29
+ --color-primary-invert: var(--color-white);
30
+ --color-primary-base: var(--color-primary-500);
31
+ --color-primary-heavy: var(--color-primary-600);
32
+ --color-primary-light: var(--color-primary-400);
33
+
34
+ --color-info-50: var(--color-sky-50);
35
+ --color-info-100: var(--color-sky-100);
36
+ --color-info-200: var(--color-sky-200);
37
+ --color-info-300: var(--color-sky-300);
38
+ --color-info-400: var(--color-sky-400);
39
+ --color-info-500: var(--color-sky-500);
40
+ --color-info-600: var(--color-sky-600);
41
+ --color-info-700: var(--color-sky-700);
42
+ --color-info-800: var(--color-sky-800);
43
+ --color-info-900: var(--color-sky-900);
44
+ --color-info-950: var(--color-sky-950);
45
+ --color-info-invert: var(--color-white);
46
+ --color-info-base: var(--color-info-600);
47
+ --color-info-heavy: var(--color-info-700);
48
+ --color-info-light: var(--color-info-500);
49
+
50
+ --color-success-50: var(--color-teal-50);
51
+ --color-success-100: var(--color-teal-100);
52
+ --color-success-200: var(--color-teal-200);
53
+ --color-success-300: var(--color-teal-300);
54
+ --color-success-400: var(--color-teal-400);
55
+ --color-success-500: var(--color-teal-500);
56
+ --color-success-600: var(--color-teal-600);
57
+ --color-success-700: var(--color-teal-700);
58
+ --color-success-800: var(--color-teal-800);
59
+ --color-success-900: var(--color-teal-900);
60
+ --color-success-950: var(--color-teal-950);
61
+ --color-success-invert: var(--color-white);
62
+ --color-success-base: var(--color-success-600);
63
+ --color-success-heavy: var(--color-success-700);
64
+ --color-success-light: var(--color-success-500);
65
+
66
+ --color-warning-50: var(--color-amber-50);
67
+ --color-warning-100: var(--color-amber-100);
68
+ --color-warning-200: var(--color-amber-200);
69
+ --color-warning-300: var(--color-amber-300);
70
+ --color-warning-400: var(--color-amber-400);
71
+ --color-warning-500: var(--color-amber-500);
72
+ --color-warning-600: var(--color-amber-600);
73
+ --color-warning-700: var(--color-amber-700);
74
+ --color-warning-800: var(--color-amber-800);
75
+ --color-warning-900: var(--color-amber-900);
76
+ --color-warning-950: var(--color-amber-950);
77
+ --color-warning-invert: var(--color-white);
78
+ --color-warning-base: var(--color-warning-600);
79
+ --color-warning-heavy: var(--color-warning-700);
80
+ --color-warning-light: var(--color-warning-500);
81
+
82
+ --color-destructive-50: var(--color-rose-50);
83
+ --color-destructive-100: var(--color-rose-100);
84
+ --color-destructive-200: var(--color-rose-200);
85
+ --color-destructive-300: var(--color-rose-300);
86
+ --color-destructive-400: var(--color-rose-400);
87
+ --color-destructive-500: var(--color-rose-500);
88
+ --color-destructive-600: var(--color-rose-600);
89
+ --color-destructive-700: var(--color-rose-700);
90
+ --color-destructive-800: var(--color-rose-800);
91
+ --color-destructive-900: var(--color-rose-900);
92
+ --color-destructive-950: var(--color-rose-950);
93
+ --color-destructive-invert: var(--color-white);
94
+ --color-destructive-base: var(--color-destructive-600);
95
+ --color-destructive-heavy: var(--color-destructive-700);
96
+ --color-destructive-light: var(--color-destructive-500);
97
+
98
+ --color-link: var(--color-primary-base);
99
+ --color-ring: var(--color-muted-300);
100
+
101
+ --color-field-label: var(--color-muted-600);
102
+ --color-field-description: var(--color-muted-500);
103
+ --color-field-loading: var(--color-muted-400);
104
+
105
+ --color-input-default-border: var(--color-muted-300);
106
+ --color-input-default-bg: var(--color-white);
107
+ --color-input-default-text: var(--color-muted-600);
108
+ --color-input-default-placeholder: var(--color-muted-300);
109
+ --color-input-default-button-bg: var(--color-muted-100);
110
+ --color-input-default-button-bg-active: var(--color-muted-200);
111
+ --color-input-default-button-text: var(--color-muted-700);
112
+
113
+ --color-input-muted-border: var(--color-muted-300);
114
+ --color-input-muted-bg: var(--color-muted-50);
115
+ --color-input-muted-text: var(--color-muted-600);
116
+ --color-input-muted-placeholder: var(--color-muted-300);
117
+ --color-input-muted-button-bg: var(--color-muted-200);
118
+ --color-input-muted-button-bg-active: var(--color-muted-300);
119
+ --color-input-muted-button-text: var(--color-muted-700);
120
+
121
+ --color-portal-default-bg: var(--color-white);
122
+ --color-portal-default-border: var(--color-muted-300);
123
+ --color-portal-default-item-bg-active: var(--color-muted-100);
124
+ --color-portal-default-item-text: var(--color-input-default-text);
125
+ --color-portal-default-item-text-active: var(--color-primary-base);
126
+
127
+ --color-portal-muted-bg: var(--color-muted-50);
128
+ --color-portal-muted-border: var(--color-muted-300);
129
+ --color-portal-muted-item-bg-active: var(--color-muted-200);
130
+ --color-portal-muted-item-text: var(--color-input-muted-text);
131
+ --color-portal-muted-item-text-active: var(--color-primary-base);
132
+
133
+ --color-track-default-bg: var(--color-muted-200);
134
+ --color-track-default-bg-active: var(--color-muted-500);
135
+ --color-track-default-bg-invert: var(--color-white);
136
+ --color-track-default-handle-bg: var(--color-white);
137
+ --color-track-default-handle-border: var(--color-muted-300);
138
+ --color-track-default-handle-ring: var(--color-track-default-bg-active);
139
+
140
+ --color-track-dark-bg: var(--color-muted-200);
141
+ --color-track-dark-bg-active: var(--color-muted-900);
142
+ --color-track-dark-bg-invert: var(--color-white);
143
+ --color-track-dark-handle-bg: var(--color-white);
144
+ --color-track-dark-handle-border: var(--color-muted-300);
145
+ --color-track-dark-handle-ring: var(--color-track-dark-bg-active);
146
+
147
+ --color-card-default-bg: var(--color-white);
148
+ --color-card-default-border: var(--color-muted-300);
149
+
150
+ --color-card-muted-bg: var(--color-muted-50);
151
+ --color-card-muted-border: var(--color-muted-300);
152
+
153
+ --color-tag-default-bg: var(--color-white);
154
+ --color-tag-default-border: var(--color-muted-400);
155
+ --color-tag-default-text: var(--color-muted-400);
156
+
157
+ --color-tag-muted-bg: var(--color-muted-400);
158
+ --color-tag-muted-border: var(--color-muted-400);
159
+ --color-tag-muted-text: var(--color-muted-400);
160
+
161
+ --color-tag-dark-bg: var(--color-muted-900);
162
+ --color-tag-dark-border: var(--color-muted-900);
163
+ --color-tag-dark-text: var(--color-muted-900);
164
+
165
+ /** Animations */
166
+ --animate-nui-placeload: nui-placeload 1s linear infinite forwards;
167
+ --animate-nui-progress-indeterminate: nui-progress-indeterminate 3s linear infinite forwards;
168
+ --animate-nui-spin: spin 2s linear infinite;
169
+
170
+ @keyframes nui-placeload {
171
+ 0% {
172
+ background-position: -468px 0;
173
+ }
174
+ 100% {
175
+ background-position: 468px 0;
176
+ }
177
+ }
178
+ @keyframes nui-progress-indeterminate {
179
+ 0% {
180
+ margin-left: -100%;
181
+ }
182
+ 60% {
183
+ margin-left: 100%;
184
+ }
185
+ 100% {
186
+ margin-left: -100%;
187
+ }
188
+ }
189
+ }
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@shuriken-ui/tailwind",
3
- "version": "4.0.0-alpha.2",
3
+ "version": "4.0.0-alpha.20",
4
4
  "license": "MIT",
5
5
  "author": "Css Ninja <hello@cssninja.io> (https://cssninja.io)",
6
- "repository": "shuriken-ui/tailwind",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/shuriken-ui/shuriken-ui.git",
9
+ "directory": "packages/tailwind"
10
+ },
7
11
  "bugs": "https://github.com/shuriken-ui/tailwind/issues",
8
12
  "homepage": "https://github.com/shuriken-ui/tailwind",
9
13
  "keywords": [
@@ -19,62 +23,18 @@
19
23
  "module"
20
24
  ],
21
25
  "type": "module",
22
- "main": "./src/index.css",
23
26
  "exports": {
24
- ".": "./src/index.css",
25
- "./theme.css": "./src/theme.css",
26
- "./*.css": "./src/css/*.css"
27
+ ".": "./lib/index.css",
28
+ "./theme.css": "./lib/theme.css",
29
+ "./*.css": "./lib/css/*.css"
27
30
  },
28
31
  "files": [
29
- "src/index.css",
30
- "src/theme.css",
31
- "src/css"
32
+ "lib/index.css",
33
+ "lib/theme.css",
34
+ "lib/css"
32
35
  ],
33
36
  "dependencies": {
34
- "@tailwindcss/container-queries": "^0.1.1",
35
37
  "@tailwindcss/typography": "^0.5.15",
36
- "tailwindcss": "^4.0.0 || 4.0.0-alpha.31"
37
- },
38
- "devDependencies": {
39
- "@open-wc/lit-helpers": "0.7.0",
40
- "@storybook/addon-essentials": "^8.4.2",
41
- "@storybook/addon-links": "^8.4.2",
42
- "@storybook/addon-themes": "^8.4.2",
43
- "@storybook/blocks": "^8.4.2",
44
- "@storybook/web-components": "^8.4.2",
45
- "@storybook/web-components-vite": "^8.4.2",
46
- "@types/node": "22.9.0",
47
- "@typescript-eslint/eslint-plugin": "^8.13.0",
48
- "@vitest/coverage-v8": "^2.1.4",
49
- "@vitest/ui": "^2.1.4",
50
- "chromatic": "^11.16.5",
51
- "defu": "^6.1.4",
52
- "glob": "^11.0.0",
53
- "jiti": "^2.4.0",
54
- "jsdom": "^25.0.1",
55
- "lit": "^3.2.1",
56
- "npm-run-all": "^4.1.5",
57
- "standard-version": "^9.5.0",
58
- "storybook": "^8.4.2",
59
- "typescript": "^5.6.3",
60
- "unbuild": "^2.0.0",
61
- "vitest": "^2.1.4",
62
- "vitest-axe": "1.0.0-pre.2"
63
- },
64
- "scripts": {
65
- "dev": "storybook dev -p 6006",
66
- "build": "unbuild",
67
- "build-storybook": "storybook build",
68
- "lint": "run-s lint:eslint:fix lint:prettier:fix",
69
- "lint:prettier": "prettier --check \"./**/*.(ts|css|scss|md)\"",
70
- "lint:prettier:fix": "prettier --write \"./**/*.(ts|css|scss|md)\"",
71
- "lint:eslint": "eslint -c .eslintrc.cjs --ext .ts .",
72
- "lint:eslint:fix": "eslint -c .eslintrc.cjs --fix --ext .ts .",
73
- "test": "run-s lint:eslint lint:prettier test:vitest",
74
- "test:vitest": "vitest",
75
- "coverage": "vitest run --coverage",
76
- "release": "run-s test release:*",
77
- "release:standard-version": "standard-version",
78
- "release:publish": "git push --follow-tags origin main && npm publish"
38
+ "tailwindcss": "4.0.0-beta.9"
79
39
  }
80
40
  }
package/LICENSE.md DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Css Ninja
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.