@min98/ui 1.3.56 → 1.3.57

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/lib/styles.css ADDED
@@ -0,0 +1,39 @@
1
+ /* @min98/ui — Tailwind CSS v4 preset */
2
+ @source "./index.js";
3
+ @custom-variant dark (&:where(.dark, .dark *));
4
+ @import "tw-animate-css";
5
+ @import "./tokens.css";
6
+
7
+ @theme inline {
8
+ --color-background: var(--background);
9
+ --color-foreground: var(--foreground);
10
+ --color-card: var(--card);
11
+ --color-card-foreground: var(--card-foreground);
12
+ --color-popover: var(--popover);
13
+ --color-popover-foreground: var(--popover-foreground);
14
+ --color-primary: var(--primary);
15
+ --color-primary-foreground: var(--primary-foreground);
16
+ --color-secondary: var(--secondary);
17
+ --color-secondary-foreground: var(--secondary-foreground);
18
+ --color-muted: var(--muted);
19
+ --color-muted-foreground: var(--muted-foreground);
20
+ --color-accent: var(--accent);
21
+ --color-accent-foreground: var(--accent-foreground);
22
+ --color-destructive: var(--destructive);
23
+ --color-destructive-foreground: var(--destructive-foreground);
24
+ --color-border: var(--border);
25
+ --color-input: var(--input);
26
+ --color-ring: var(--ring);
27
+ --color-sidebar: var(--sidebar);
28
+ --color-sidebar-foreground: var(--sidebar-foreground);
29
+ --color-sidebar-primary: var(--sidebar-primary);
30
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
31
+ --color-sidebar-accent: var(--sidebar-accent);
32
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
33
+ --color-sidebar-border: var(--sidebar-border);
34
+ --color-sidebar-ring: var(--sidebar-ring);
35
+ --radius-sm: calc(var(--radius) - 4px);
36
+ --radius-md: calc(var(--radius) - 2px);
37
+ --radius-lg: var(--radius);
38
+ --radius-xl: calc(var(--radius) + 4px);
39
+ }
package/lib/tokens.css ADDED
@@ -0,0 +1,61 @@
1
+ /* @min98/ui — Fallback semantic tokens (0 specificity via :where) */
2
+ :where(:root) {
3
+ --background: oklch(1 0 0);
4
+ --foreground: oklch(0.145 0.015 255);
5
+ --card: oklch(1 0 0);
6
+ --card-foreground: oklch(0.145 0.015 255);
7
+ --popover: oklch(1 0 0);
8
+ --popover-foreground: oklch(0.145 0.015 255);
9
+ --primary: oklch(0.205 0.02 255);
10
+ --primary-foreground: oklch(0.985 0 0);
11
+ --secondary: oklch(0.96 0.005 255);
12
+ --secondary-foreground: oklch(0.205 0.02 255);
13
+ --muted: oklch(0.96 0.005 255);
14
+ --muted-foreground: oklch(0.45 0.015 255);
15
+ --accent: oklch(0.96 0.005 255);
16
+ --accent-foreground: oklch(0.205 0.02 255);
17
+ --destructive: oklch(0.577 0.245 27.325);
18
+ --destructive-foreground: oklch(0.985 0 0);
19
+ --border: oklch(0.9 0.008 255);
20
+ --input: oklch(0.82 0.012 255);
21
+ --ring: oklch(0.55 0.14 250);
22
+ --radius: 0.625rem;
23
+ --sidebar: oklch(0.985 0.003 255);
24
+ --sidebar-foreground: oklch(0.145 0.015 255);
25
+ --sidebar-primary: oklch(0.205 0.02 255);
26
+ --sidebar-primary-foreground: oklch(0.985 0 0);
27
+ --sidebar-accent: oklch(0.96 0.005 255);
28
+ --sidebar-accent-foreground: oklch(0.205 0.02 255);
29
+ --sidebar-border: oklch(0.9 0.008 255);
30
+ --sidebar-ring: oklch(0.55 0.14 250);
31
+ }
32
+
33
+ :where(.dark, [data-theme="dark"], [data-app-mode="dark"]) {
34
+ --background: oklch(0.145 0.012 255);
35
+ --foreground: oklch(0.96 0.006 255);
36
+ --card: oklch(0.185 0.014 255);
37
+ --card-foreground: oklch(0.96 0.006 255);
38
+ --popover: oklch(0.185 0.014 255);
39
+ --popover-foreground: oklch(0.96 0.006 255);
40
+ --primary: oklch(0.94 0.008 255);
41
+ --primary-foreground: oklch(0.15 0.014 255);
42
+ --secondary: oklch(0.225 0.016 255);
43
+ --secondary-foreground: oklch(0.96 0.006 255);
44
+ --muted: oklch(0.225 0.016 255);
45
+ --muted-foreground: oklch(0.73 0.014 255);
46
+ --accent: oklch(0.225 0.016 255);
47
+ --accent-foreground: oklch(0.96 0.006 255);
48
+ --destructive: oklch(0.64 0.18 18);
49
+ --destructive-foreground: oklch(0.96 0.01 18);
50
+ --border: oklch(0.275 0.014 255);
51
+ --input: oklch(0.38 0.018 255);
52
+ --ring: oklch(0.76 0.09 250);
53
+ --sidebar: oklch(0.185 0.014 255);
54
+ --sidebar-foreground: oklch(0.96 0.006 255);
55
+ --sidebar-primary: oklch(0.55 0.14 250);
56
+ --sidebar-primary-foreground: oklch(0.985 0 0);
57
+ --sidebar-accent: oklch(0.225 0.016 255);
58
+ --sidebar-accent-foreground: oklch(0.96 0.006 255);
59
+ --sidebar-border: oklch(0.275 0.014 255);
60
+ --sidebar-ring: oklch(0.76 0.09 250);
61
+ }
package/package.json CHANGED
@@ -1,167 +1,169 @@
1
- {
2
- "name": "@min98/ui",
3
- "version": "1.3.56",
4
- "description": "Package UI using shadcn/ui",
5
- "main": "lib/index.js",
6
- "types": "lib/index.d.ts",
7
- "type": "module",
8
- "private": false,
9
- "files": [
10
- "lib"
11
- ],
12
- "exports": {
13
- "types": "./lib/index.d.ts",
14
- "require": "./lib/index.cjs",
15
- "import": "./lib/index.js",
16
- "default": "./lib/index.js"
17
- },
18
- "scripts": {
19
- "dev": "tsup --watch",
20
- "build": "tsup"
21
- },
22
- "keywords": [
23
- "ui",
24
- "react",
25
- "reactUI",
26
- "react-ui",
27
- "react-lib",
28
- "components",
29
- "tailwind"
30
- ],
31
- "author": "Min",
32
- "license": "ISC",
33
- "peerDependencies": {
34
- "react": ">=18.0.0",
35
- "react-dom": ">=18.0.0"
36
- },
37
- "devDependencies": {
38
- "@types/luxon": "^3.4.2",
39
- "@types/node": "^20.6.2",
40
- "@types/react": "^18.2.21",
41
- "@vitejs/plugin-react": "^4.0.4",
42
- "autoprefixer": "^10.4.15",
43
- "copyfiles": "^2.4.1",
44
- "css-loader": "^6.8.1",
45
- "esbuild": "^0.28.2",
46
- "postcss": "^8.4.29",
47
- "react": "^18.2.0",
48
- "react-dom": "^18.2.0",
49
- "rimraf": "^6.1.4",
50
- "tailwindcss": "^3.4.19",
51
- "tsup": "^8.5.1",
52
- "typescript": "^5.2.2"
53
- },
54
- "dependencies": {
55
- "@ckeditor/ckeditor5-react": "^6.2.0",
56
- "@hookform/resolvers": "^3.3.1",
57
- "@iconify/react": "^4.1.1",
58
- "@iconify/tailwind": "^1.1.1",
59
- "@internationalized/date": "^3.5.0",
60
- "@min98/ckeditor5-custom": "^0.0.3",
61
- "@radix-ui/react-accordion": "^1.1.2",
62
- "@radix-ui/react-alert-dialog": "^1.0.4",
63
- "@radix-ui/react-aspect-ratio": "^1.0.3",
64
- "@radix-ui/react-avatar": "^1.0.3",
65
- "@radix-ui/react-checkbox": "^1.0.4",
66
- "@radix-ui/react-collapsible": "^1.0.3",
67
- "@radix-ui/react-context-menu": "^2.1.4",
68
- "@radix-ui/react-dialog": "^1.0.4",
69
- "@radix-ui/react-dropdown-menu": "^2.0.5",
70
- "@radix-ui/react-hover-card": "^1.0.6",
71
- "@radix-ui/react-label": "^2.0.2",
72
- "@radix-ui/react-menubar": "^1.0.3",
73
- "@radix-ui/react-navigation-menu": "^1.1.3",
74
- "@radix-ui/react-popover": "^1.0.6",
75
- "@radix-ui/react-progress": "^1.0.3",
76
- "@radix-ui/react-radio-group": "^1.1.3",
77
- "@radix-ui/react-scroll-area": "^1.0.4",
78
- "@radix-ui/react-select": "^1.2.2",
79
- "@radix-ui/react-separator": "^1.0.3",
80
- "@radix-ui/react-slider": "^1.1.2",
81
- "@radix-ui/react-slot": "^1.1.0",
82
- "@radix-ui/react-switch": "^1.0.3",
83
- "@radix-ui/react-tabs": "^1.0.4",
84
- "@radix-ui/react-toast": "^1.1.4",
85
- "@radix-ui/react-toggle": "^1.0.3",
86
- "@radix-ui/react-toggle-group": "^1.2.1",
87
- "@radix-ui/react-tooltip": "^1.0.6",
88
- "@tanstack/react-table": "^8.13.2",
89
- "clsx": "^2.0.0",
90
- "cmdk": "^0.2.0",
91
- "date-fns": "^3.6.0",
92
- "embla-carousel-auto-height": "^8.1.8",
93
- "embla-carousel-autoplay": "^8.1.8",
94
- "embla-carousel-fade": "^8.1.8",
95
- "embla-carousel-react": "^8.0.0",
96
- "input-otp": "^1.2.3",
97
- "luxon": "^3.4.3",
98
- "next-themes": "^0.3.0",
99
- "path": "^0.12.7",
100
- "react-aria": "^3.29.1",
101
- "react-day-picker": "^8.8.2",
102
- "react-draggable": "^4.4.6",
103
- "react-hook-form": "^7.44.2",
104
- "react-resizable-panels": "^2.1.4",
105
- "react-stately": "^3.27.1",
106
- "recharts": "^2.12.7",
107
- "sonner": "^1.5.0",
108
- "tailwind-merge": "^1.14.0",
109
- "tailwindcss-animate": "^1.0.7"
110
- },
111
- "overrides": {
112
- "esbuild": "^0.28.2",
113
- "glob": "^14.0.4",
114
- "minimatch": "^11.0.5",
115
- "lodash-es": "^4.18.1",
116
- "ckeditor5": "^49.1.0",
117
- "@ckeditor/ckeditor5-alignment": "^49.1.0",
118
- "@ckeditor/ckeditor5-autoformat": "^49.1.0",
119
- "@ckeditor/ckeditor5-autosave": "^49.1.0",
120
- "@ckeditor/ckeditor5-basic-styles": "^49.1.0",
121
- "@ckeditor/ckeditor5-block-quote": "^49.1.0",
122
- "@ckeditor/ckeditor5-clipboard": "^49.1.0",
123
- "@ckeditor/ckeditor5-cloud-services": "^49.1.0",
124
- "@ckeditor/ckeditor5-code-block": "^49.1.0",
125
- "@ckeditor/ckeditor5-core": "^49.1.0",
126
- "@ckeditor/ckeditor5-editor-classic": "^49.1.0",
127
- "@ckeditor/ckeditor5-engine": "^49.1.0",
128
- "@ckeditor/ckeditor5-enter": "^49.1.0",
129
- "@ckeditor/ckeditor5-essentials": "^49.1.0",
130
- "@ckeditor/ckeditor5-find-and-replace": "^49.1.0",
131
- "@ckeditor/ckeditor5-font": "^49.1.0",
132
- "@ckeditor/ckeditor5-heading": "^49.1.0",
133
- "@ckeditor/ckeditor5-highlight": "^49.1.0",
134
- "@ckeditor/ckeditor5-horizontal-line": "^49.1.0",
135
- "@ckeditor/ckeditor5-html-embed": "^49.1.0",
136
- "@ckeditor/ckeditor5-html-support": "^49.1.0",
137
- "@ckeditor/ckeditor5-image": "^49.1.0",
138
- "@ckeditor/ckeditor5-indent": "^49.1.0",
139
- "@ckeditor/ckeditor5-link": "^49.1.0",
140
- "@ckeditor/ckeditor5-list": "^49.1.0",
141
- "@ckeditor/ckeditor5-media-embed": "^49.1.0",
142
- "@ckeditor/ckeditor5-mention": "^49.1.0",
143
- "@ckeditor/ckeditor5-page-break": "^49.1.0",
144
- "@ckeditor/ckeditor5-paragraph": "^49.1.0",
145
- "@ckeditor/ckeditor5-paste-from-office": "^49.1.0",
146
- "@ckeditor/ckeditor5-select-all": "^49.1.0",
147
- "@ckeditor/ckeditor5-source-editing": "^49.1.0",
148
- "@ckeditor/ckeditor5-style": "^49.1.0",
149
- "@ckeditor/ckeditor5-table": "^49.1.0",
150
- "@ckeditor/ckeditor5-theme-lark": "^49.1.0",
151
- "@ckeditor/ckeditor5-typing": "^49.1.0",
152
- "@ckeditor/ckeditor5-ui": "^49.1.0",
153
- "@ckeditor/ckeditor5-undo": "^49.1.0",
154
- "@ckeditor/ckeditor5-upload": "^49.1.0",
155
- "@ckeditor/ckeditor5-utils": "^49.1.0",
156
- "@ckeditor/ckeditor5-watchdog": "^48.5.2",
157
- "@ckeditor/ckeditor5-widget": "^49.1.0"
158
- },
159
- "repository": {
160
- "type": "git",
161
- "url": "git+https://github.com/MinServices/ui.git"
162
- },
163
- "bugs": {
164
- "url": "https://github.com/MinServices/ui/issues"
165
- },
166
- "homepage": "https://github.com/MinServices/ui#readme"
167
- }
1
+ {
2
+ "name": "@min98/ui",
3
+ "version": "1.3.57",
4
+ "description": "Package UI using shadcn/ui",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "type": "module",
8
+ "private": false,
9
+ "files": [
10
+ "lib"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./lib/index.d.ts",
15
+ "require": "./lib/index.cjs",
16
+ "import": "./lib/index.js",
17
+ "default": "./lib/index.js"
18
+ },
19
+ "./styles.css": "./lib/styles.css",
20
+ "./tokens.css": "./lib/tokens.css"
21
+ },
22
+ "scripts": {
23
+ "dev": "tsup --watch",
24
+ "build": "tsup && node -e \"import('node:fs').then(fs => fs.cpSync('src/styles', 'lib', { recursive: true }))\""
25
+ },
26
+ "keywords": [
27
+ "ui",
28
+ "react",
29
+ "reactUI",
30
+ "react-ui",
31
+ "react-lib",
32
+ "components",
33
+ "tailwind"
34
+ ],
35
+ "author": "Min",
36
+ "license": "ISC",
37
+ "peerDependencies": {
38
+ "react": ">=18.0.0",
39
+ "react-dom": ">=18.0.0"
40
+ },
41
+ "devDependencies": {
42
+ "@tailwindcss/postcss": "^4.3.5",
43
+ "@types/luxon": "^3.4.2",
44
+ "@types/node": "^20.6.2",
45
+ "@types/react": "^18.2.21",
46
+ "@vitejs/plugin-react": "^4.0.4",
47
+ "css-loader": "^6.8.1",
48
+ "esbuild": "^0.28.2",
49
+ "postcss": "^8.4.29",
50
+ "react": "^18.2.0",
51
+ "react-dom": "^18.2.0",
52
+ "rimraf": "^6.1.4",
53
+ "tailwindcss": "^4.3.5",
54
+ "tsup": "^8.5.1",
55
+ "typescript": "^5.2.2"
56
+ },
57
+ "dependencies": {
58
+ "@ckeditor/ckeditor5-react": "^6.2.0",
59
+ "@hookform/resolvers": "^3.3.1",
60
+ "@iconify/react": "^4.1.1",
61
+ "@internationalized/date": "^3.5.0",
62
+ "@min98/ckeditor5-custom": "^0.0.3",
63
+ "@radix-ui/react-accordion": "^1.1.2",
64
+ "@radix-ui/react-alert-dialog": "^1.0.4",
65
+ "@radix-ui/react-aspect-ratio": "^1.0.3",
66
+ "@radix-ui/react-avatar": "^1.0.3",
67
+ "@radix-ui/react-checkbox": "^1.0.4",
68
+ "@radix-ui/react-collapsible": "^1.0.3",
69
+ "@radix-ui/react-context-menu": "^2.1.4",
70
+ "@radix-ui/react-dialog": "^1.0.4",
71
+ "@radix-ui/react-dropdown-menu": "^2.0.5",
72
+ "@radix-ui/react-hover-card": "^1.0.6",
73
+ "@radix-ui/react-label": "^2.0.2",
74
+ "@radix-ui/react-menubar": "^1.0.3",
75
+ "@radix-ui/react-navigation-menu": "^1.1.3",
76
+ "@radix-ui/react-popover": "^1.0.6",
77
+ "@radix-ui/react-progress": "^1.0.3",
78
+ "@radix-ui/react-radio-group": "^1.1.3",
79
+ "@radix-ui/react-scroll-area": "^1.0.4",
80
+ "@radix-ui/react-select": "^2.4.1",
81
+ "@radix-ui/react-separator": "^1.0.3",
82
+ "@radix-ui/react-slider": "^1.1.2",
83
+ "@radix-ui/react-slot": "^1.5.0",
84
+ "@radix-ui/react-switch": "^1.0.3",
85
+ "@radix-ui/react-tabs": "^1.0.4",
86
+ "@radix-ui/react-toast": "^1.1.4",
87
+ "@radix-ui/react-toggle": "^1.0.3",
88
+ "@radix-ui/react-toggle-group": "^1.2.1",
89
+ "@radix-ui/react-tooltip": "^1.0.6",
90
+ "@tanstack/react-table": "^8.13.2",
91
+ "clsx": "^2.0.0",
92
+ "cmdk": "^1.1.1",
93
+ "date-fns": "^3.6.0",
94
+ "embla-carousel-auto-height": "^8.1.8",
95
+ "embla-carousel-autoplay": "^8.1.8",
96
+ "embla-carousel-fade": "^8.1.8",
97
+ "embla-carousel-react": "^8.0.0",
98
+ "input-otp": "^1.2.3",
99
+ "luxon": "^3.4.3",
100
+ "next-themes": "^0.3.0",
101
+ "path": "^0.12.7",
102
+ "react-aria": "^3.29.1",
103
+ "react-day-picker": "^8.8.2",
104
+ "react-draggable": "^4.4.6",
105
+ "react-hook-form": "^7.44.2",
106
+ "react-resizable-panels": "^2.1.4",
107
+ "react-stately": "^3.27.1",
108
+ "recharts": "^2.12.7",
109
+ "sonner": "^1.5.0",
110
+ "tailwind-merge": "^3.7.1",
111
+ "tw-animate-css": "^1.4.0"
112
+ },
113
+ "overrides": {
114
+ "esbuild": "^0.28.2",
115
+ "glob": "^14.0.4",
116
+ "minimatch": "^11.0.5",
117
+ "lodash-es": "^4.18.1",
118
+ "ckeditor5": "^49.1.0",
119
+ "@ckeditor/ckeditor5-alignment": "^49.1.0",
120
+ "@ckeditor/ckeditor5-autoformat": "^49.1.0",
121
+ "@ckeditor/ckeditor5-autosave": "^49.1.0",
122
+ "@ckeditor/ckeditor5-basic-styles": "^49.1.0",
123
+ "@ckeditor/ckeditor5-block-quote": "^49.1.0",
124
+ "@ckeditor/ckeditor5-clipboard": "^49.1.0",
125
+ "@ckeditor/ckeditor5-cloud-services": "^49.1.0",
126
+ "@ckeditor/ckeditor5-code-block": "^49.1.0",
127
+ "@ckeditor/ckeditor5-core": "^49.1.0",
128
+ "@ckeditor/ckeditor5-editor-classic": "^49.1.0",
129
+ "@ckeditor/ckeditor5-engine": "^49.1.0",
130
+ "@ckeditor/ckeditor5-enter": "^49.1.0",
131
+ "@ckeditor/ckeditor5-essentials": "^49.1.0",
132
+ "@ckeditor/ckeditor5-find-and-replace": "^49.1.0",
133
+ "@ckeditor/ckeditor5-font": "^49.1.0",
134
+ "@ckeditor/ckeditor5-heading": "^49.1.0",
135
+ "@ckeditor/ckeditor5-highlight": "^49.1.0",
136
+ "@ckeditor/ckeditor5-horizontal-line": "^49.1.0",
137
+ "@ckeditor/ckeditor5-html-embed": "^49.1.0",
138
+ "@ckeditor/ckeditor5-html-support": "^49.1.0",
139
+ "@ckeditor/ckeditor5-image": "^49.1.0",
140
+ "@ckeditor/ckeditor5-indent": "^49.1.0",
141
+ "@ckeditor/ckeditor5-link": "^49.1.0",
142
+ "@ckeditor/ckeditor5-list": "^49.1.0",
143
+ "@ckeditor/ckeditor5-media-embed": "^49.1.0",
144
+ "@ckeditor/ckeditor5-mention": "^49.1.0",
145
+ "@ckeditor/ckeditor5-page-break": "^49.1.0",
146
+ "@ckeditor/ckeditor5-paragraph": "^49.1.0",
147
+ "@ckeditor/ckeditor5-paste-from-office": "^49.1.0",
148
+ "@ckeditor/ckeditor5-select-all": "^49.1.0",
149
+ "@ckeditor/ckeditor5-source-editing": "^49.1.0",
150
+ "@ckeditor/ckeditor5-style": "^49.1.0",
151
+ "@ckeditor/ckeditor5-table": "^49.1.0",
152
+ "@ckeditor/ckeditor5-theme-lark": "^49.1.0",
153
+ "@ckeditor/ckeditor5-typing": "^49.1.0",
154
+ "@ckeditor/ckeditor5-ui": "^49.1.0",
155
+ "@ckeditor/ckeditor5-undo": "^49.1.0",
156
+ "@ckeditor/ckeditor5-upload": "^49.1.0",
157
+ "@ckeditor/ckeditor5-utils": "^49.1.0",
158
+ "@ckeditor/ckeditor5-watchdog": "^48.5.2",
159
+ "@ckeditor/ckeditor5-widget": "^49.1.0"
160
+ },
161
+ "repository": {
162
+ "type": "git",
163
+ "url": "git+https://github.com/MinServices/ui.git"
164
+ },
165
+ "bugs": {
166
+ "url": "https://github.com/MinServices/ui/issues"
167
+ },
168
+ "homepage": "https://ui.min-services.com"
169
+ }