@blencm/ui 0.0.1
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 +128 -0
- package/bin/blencm-ui.mjs +99 -0
- package/dist/components/Accordion/accordin.test.d.ts +1 -0
- package/dist/components/Accordion/accordion.d.ts +7 -0
- package/dist/components/Button/button.d.ts +26 -0
- package/dist/components/Button/button.test.d.ts +1 -0
- package/dist/components/Button/icon-button.d.ts +26 -0
- package/dist/components/Form/form-checkbox.d.ts +27 -0
- package/dist/components/Form/form-component.d.ts +44 -0
- package/dist/components/Form/form-date.d.ts +60 -0
- package/dist/components/Form/form-field.d.ts +33 -0
- package/dist/components/Form/form-select.d.ts +43 -0
- package/dist/components/Form/form-textarea.d.ts +31 -0
- package/dist/components/Form/form-time.d.ts +59 -0
- package/dist/components/Form/form.d.ts +11 -0
- package/dist/components/Form/form.test.d.ts +1 -0
- package/dist/components/Label/label.d.ts +5 -0
- package/dist/components/Label/label.test.d.ts +1 -0
- package/dist/components/alert-dialog.d.ts +20 -0
- package/dist/components/alert.d.ts +8 -0
- package/dist/components/aspect-ratio.d.ts +3 -0
- package/dist/components/avatar.d.ts +6 -0
- package/dist/components/badge.d.ts +9 -0
- package/dist/components/breadcrumb.d.ts +19 -0
- package/dist/components/calendar.d.ts +8 -0
- package/dist/components/card.d.ts +8 -0
- package/dist/components/carousel.d.ts +34 -0
- package/dist/components/checkbox.d.ts +12 -0
- package/dist/components/collapsible.d.ts +5 -0
- package/dist/components/command.d.ts +82 -0
- package/dist/components/context-menu.d.ts +27 -0
- package/dist/components/dialog.d.ts +19 -0
- package/dist/components/drawer.d.ts +22 -0
- package/dist/components/dropdown-menu.d.ts +27 -0
- package/dist/components/hover-card.d.ts +6 -0
- package/dist/components/icons.d.ts +2 -0
- package/dist/components/input-otp.d.ts +36 -0
- package/dist/components/input.d.ts +15 -0
- package/dist/components/menubar.d.ts +28 -0
- package/dist/components/modal.d.ts +11 -0
- package/dist/components/navigation-menu.d.ts +12 -0
- package/dist/components/pagination.d.ts +36 -0
- package/dist/components/popover.d.ts +7 -0
- package/dist/components/progress.d.ts +4 -0
- package/dist/components/radio-group.d.ts +5 -0
- package/dist/components/resizable.d.ts +8 -0
- package/dist/components/scroll-area.d.ts +5 -0
- package/dist/components/scroll-view.d.ts +21 -0
- package/dist/components/search-input.d.ts +9 -0
- package/dist/components/searchable-select.d.ts +33 -0
- package/dist/components/select.d.ts +69 -0
- package/dist/components/separator.d.ts +4 -0
- package/dist/components/sheet.d.ts +25 -0
- package/dist/components/skeleton.d.ts +3 -0
- package/dist/components/slider.d.ts +4 -0
- package/dist/components/sonner.d.ts +5 -0
- package/dist/components/switch.d.ts +4 -0
- package/dist/components/table.d.ts +12 -0
- package/dist/components/tabs.d.ts +7 -0
- package/dist/components/textarea.d.ts +13 -0
- package/dist/components/toast.d.ts +15 -0
- package/dist/components/toaster.d.ts +2 -0
- package/dist/components/toggle-group.d.ts +12 -0
- package/dist/components/toggle.d.ts +12 -0
- package/dist/components/tooltip.d.ts +7 -0
- package/dist/components/ui/input.d.ts +14 -0
- package/dist/components/ui/select.d.ts +37 -0
- package/dist/components/ui/ui-checkbox.d.ts +17 -0
- package/dist/components/ui/ui-date.d.ts +44 -0
- package/dist/components/ui/ui-textarea.d.ts +14 -0
- package/dist/components/ui/ui-time.d.ts +58 -0
- package/dist/components/use-toast.d.ts +44 -0
- package/dist/helper/time.d.ts +1 -0
- package/dist/hooks/use-sidebar.d.ts +8 -0
- package/dist/index.cjs +12723 -0
- package/dist/index.d.ts +78 -0
- package/dist/index.js +12514 -0
- package/dist/interface/icon.d.ts +30 -0
- package/dist/shared/alert-modal.d.ts +15 -0
- package/dist/shared/breadcrumbs.d.ts +14 -0
- package/dist/shared/data-table-skeleton.d.ts +10 -0
- package/dist/shared/data-table.d.ts +175 -0
- package/dist/shared/dropzone.d.ts +19 -0
- package/dist/shared/fileupload.d.ts +15 -0
- package/dist/shared/heading.d.ts +7 -0
- package/dist/shared/page-head.d.ts +5 -0
- package/dist/shared/pagination-section.d.ts +8 -0
- package/dist/style.css +4350 -0
- package/dist/types/input.d.ts +4 -0
- package/dist/types/select.d.ts +4 -0
- package/dist/utils/date-formats.d.ts +387 -0
- package/dist/utils/form-utils.d.ts +43 -0
- package/dist/utils/time-formats.d.ts +157 -0
- package/dist/utils/utils.d.ts +2 -0
- package/package.json +210 -0
- package/templates/vscode-settings.json +11 -0
package/package.json
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@blencm/ui",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"author": "Bleker <bleker@blencm.com>",
|
|
6
|
+
"description": "Installable React UI library built on Radix UI and Tailwind CSS. Accessible primitives, form helpers (React Hook Form + Zod), DataTable, SearchableSelect, date/time pickers, dialogs and toasts. Import from npm — no copy-paste into src/components.",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"style": "./dist/style.css",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"bin",
|
|
15
|
+
"templates",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE"
|
|
18
|
+
],
|
|
19
|
+
"bin": {
|
|
20
|
+
"blencm-ui": "./bin/blencm-ui.mjs"
|
|
21
|
+
},
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"**/*.css",
|
|
24
|
+
"./dist/style.css",
|
|
25
|
+
"./dist/index.js",
|
|
26
|
+
"./dist/index.cjs"
|
|
27
|
+
],
|
|
28
|
+
"lint-staged": {
|
|
29
|
+
"*.{js,jsx,ts,tsx}": "eslint --fix"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"blencm-ui",
|
|
33
|
+
"react",
|
|
34
|
+
"react-ui",
|
|
35
|
+
"react-component-library",
|
|
36
|
+
"ui-library",
|
|
37
|
+
"design-system",
|
|
38
|
+
"radix",
|
|
39
|
+
"radix-ui",
|
|
40
|
+
"radix-primitives",
|
|
41
|
+
"tailwind",
|
|
42
|
+
"tailwindcss",
|
|
43
|
+
"tailwind-css",
|
|
44
|
+
"accessible",
|
|
45
|
+
"a11y",
|
|
46
|
+
"aria",
|
|
47
|
+
"wai-aria",
|
|
48
|
+
"typescript",
|
|
49
|
+
"components",
|
|
50
|
+
"button",
|
|
51
|
+
"dialog",
|
|
52
|
+
"modal",
|
|
53
|
+
"dropdown",
|
|
54
|
+
"select",
|
|
55
|
+
"combobox",
|
|
56
|
+
"searchable-select",
|
|
57
|
+
"forms",
|
|
58
|
+
"form-components",
|
|
59
|
+
"react-hook-form",
|
|
60
|
+
"zod",
|
|
61
|
+
"input",
|
|
62
|
+
"datepicker",
|
|
63
|
+
"date-picker",
|
|
64
|
+
"time-picker",
|
|
65
|
+
"data-table",
|
|
66
|
+
"tanstack-table",
|
|
67
|
+
"pagination",
|
|
68
|
+
"toast",
|
|
69
|
+
"sonner",
|
|
70
|
+
"dark-mode",
|
|
71
|
+
"vite",
|
|
72
|
+
"nextjs",
|
|
73
|
+
"npm-package"
|
|
74
|
+
],
|
|
75
|
+
"repository": {
|
|
76
|
+
"type": "git",
|
|
77
|
+
"url": "git+https://github.com/blencm/ui.git"
|
|
78
|
+
},
|
|
79
|
+
"license": "MIT",
|
|
80
|
+
"bugs": {
|
|
81
|
+
"url": "https://github.com/blencm/ui/issues"
|
|
82
|
+
},
|
|
83
|
+
"homepage": "https://ui.blencm.com",
|
|
84
|
+
"scripts": {
|
|
85
|
+
"dev": "vite",
|
|
86
|
+
"build": "rimraf ./dist && tsup && tsc -p tsconfig.lib.json && node scripts/postbuild.js",
|
|
87
|
+
"test": "cross-env NODE_ENV=test && jest",
|
|
88
|
+
"test:watch": "jest --watch",
|
|
89
|
+
"clean": "rimraf ./dist",
|
|
90
|
+
"build:vite": "vite build",
|
|
91
|
+
"build:demo": "vite build && node scripts/copy-demo-404.js",
|
|
92
|
+
"preview:demo": "vite preview",
|
|
93
|
+
"prepack": "pnpm run build"
|
|
94
|
+
},
|
|
95
|
+
"packageManager": "pnpm@11.22.0",
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@babel/core": "^8.0.1",
|
|
98
|
+
"@babel/preset-env": "^8.0.2",
|
|
99
|
+
"@babel/preset-react": "^8.0.1",
|
|
100
|
+
"@babel/preset-typescript": "^8.0.1",
|
|
101
|
+
"@eslint/config-array": "^0.23.5",
|
|
102
|
+
"@eslint/object-schema": "^3.0.5",
|
|
103
|
+
"@hookform/resolvers": "^5.9.1",
|
|
104
|
+
"@tailwindcss/postcss": "^4.3.3",
|
|
105
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
106
|
+
"@testing-library/dom": "^10.4.1",
|
|
107
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
108
|
+
"@testing-library/react": "^16.3.2",
|
|
109
|
+
"@testing-library/user-event": "^14.6.5",
|
|
110
|
+
"@types/jest": "^30.0.0",
|
|
111
|
+
"@types/node": "^26.2.0",
|
|
112
|
+
"@types/react": "^19.2.18",
|
|
113
|
+
"@types/react-dom": "^19.2.4",
|
|
114
|
+
"@typescript-eslint/eslint-plugin": "^8.67.0",
|
|
115
|
+
"@typescript-eslint/parser": "^8.67.0",
|
|
116
|
+
"@vitejs/plugin-react": "^6.0.5",
|
|
117
|
+
"@vitejs/plugin-react-swc": "^4.3.3",
|
|
118
|
+
"autoprefixer": "^10.5.4",
|
|
119
|
+
"postcss": "^8.5.26",
|
|
120
|
+
"babel-jest": "^30.4.1",
|
|
121
|
+
"cross-env": "^10.1.0",
|
|
122
|
+
"eslint": "^10.8.1",
|
|
123
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
124
|
+
"eslint-plugin-react-refresh": "^0.5.4",
|
|
125
|
+
"identity-obj-proxy": "^3.0.0",
|
|
126
|
+
"jest": "^30.4.2",
|
|
127
|
+
"jest-environment-jsdom": "^30.4.1",
|
|
128
|
+
"react": "^19.2.8",
|
|
129
|
+
"react-day-picker": "^10.0.1",
|
|
130
|
+
"react-dom": "^19.2.8",
|
|
131
|
+
"react-router": "^8.3.0",
|
|
132
|
+
"react-test-renderer": "^19.2.8",
|
|
133
|
+
"rimraf": "^6.1.3",
|
|
134
|
+
"tailwindcss": "^4.3.3",
|
|
135
|
+
"tailwindcss-animate": "^1.0.7",
|
|
136
|
+
"tsup": "^8.5.1",
|
|
137
|
+
"typescript": "^7.0.2",
|
|
138
|
+
"vaul": "^1.1.2",
|
|
139
|
+
"vite": "^8.2.1",
|
|
140
|
+
"vite-plugin-dts": "^5.0.3",
|
|
141
|
+
"vite-plugin-ts-alias": "^0.1.1",
|
|
142
|
+
"zod": "^4.4.3"
|
|
143
|
+
},
|
|
144
|
+
"peerDependencies": {
|
|
145
|
+
"react": ">=17.0.0 <21.0.0",
|
|
146
|
+
"react-dom": ">=17.0.0 <21.0.0"
|
|
147
|
+
},
|
|
148
|
+
"publishConfig": {
|
|
149
|
+
"access": "public"
|
|
150
|
+
},
|
|
151
|
+
"dependencies": {
|
|
152
|
+
"@radix-ui/react-accordion": "^1.2.20",
|
|
153
|
+
"@radix-ui/react-alert-dialog": "^1.1.23",
|
|
154
|
+
"@radix-ui/react-aspect-ratio": "^1.1.15",
|
|
155
|
+
"@radix-ui/react-avatar": "^1.2.6",
|
|
156
|
+
"@radix-ui/react-checkbox": "^1.3.11",
|
|
157
|
+
"@radix-ui/react-collapsible": "^1.1.20",
|
|
158
|
+
"@radix-ui/react-context-menu": "^2.3.7",
|
|
159
|
+
"@radix-ui/react-dialog": "^1.1.23",
|
|
160
|
+
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
161
|
+
"@radix-ui/react-hover-card": "^1.1.23",
|
|
162
|
+
"@radix-ui/react-icons": "^1.3.2",
|
|
163
|
+
"@radix-ui/react-label": "^2.1.15",
|
|
164
|
+
"@radix-ui/react-menubar": "^1.1.24",
|
|
165
|
+
"@radix-ui/react-navigation-menu": "^1.2.22",
|
|
166
|
+
"@radix-ui/react-popover": "^1.1.23",
|
|
167
|
+
"@radix-ui/react-progress": "^1.1.16",
|
|
168
|
+
"@radix-ui/react-radio-group": "^1.4.7",
|
|
169
|
+
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
170
|
+
"@radix-ui/react-select": "^2.3.7",
|
|
171
|
+
"@radix-ui/react-separator": "^1.1.15",
|
|
172
|
+
"@radix-ui/react-slider": "^1.4.7",
|
|
173
|
+
"@radix-ui/react-slot": "^1.3.3",
|
|
174
|
+
"@radix-ui/react-switch": "^1.3.7",
|
|
175
|
+
"@radix-ui/react-tabs": "^1.1.21",
|
|
176
|
+
"@radix-ui/react-toast": "^1.2.23",
|
|
177
|
+
"@radix-ui/react-toggle": "^1.1.18",
|
|
178
|
+
"@radix-ui/react-toggle-group": "^1.1.19",
|
|
179
|
+
"@radix-ui/react-tooltip": "^1.2.16",
|
|
180
|
+
"@tanstack/react-table": "^9.1.2",
|
|
181
|
+
"class-variance-authority": "^0.7.1",
|
|
182
|
+
"clsx": "^2.1.1",
|
|
183
|
+
"cmdk": "^1.1.1",
|
|
184
|
+
"date-fns": "^4.4.0",
|
|
185
|
+
"embla-carousel-react": "^8.6.0",
|
|
186
|
+
"framer-motion": "^13.1.0",
|
|
187
|
+
"input-otp": "^1.5.0",
|
|
188
|
+
"lucide-react": "^1.33.0",
|
|
189
|
+
"next-themes": "^0.4.6",
|
|
190
|
+
"react-dropzone": "^20.1.0",
|
|
191
|
+
"react-helmet-next": "^0.0.2",
|
|
192
|
+
"react-hook-form": "^7.85.0",
|
|
193
|
+
"react-resizable-panels": "^4.12.3",
|
|
194
|
+
"sonner": "^2.0.8",
|
|
195
|
+
"tailwind-merge": "^3.6.0",
|
|
196
|
+
"tailwind-variants": "^3.3.1",
|
|
197
|
+
"use-debounce": "^10.1.1",
|
|
198
|
+
"vaul": "^1.1.2"
|
|
199
|
+
},
|
|
200
|
+
"exports": {
|
|
201
|
+
".": {
|
|
202
|
+
"types": "./dist/index.d.ts",
|
|
203
|
+
"import": "./dist/index.js",
|
|
204
|
+
"require": "./dist/index.cjs"
|
|
205
|
+
},
|
|
206
|
+
"./style.css": "./dist/style.css",
|
|
207
|
+
"./dist/style.css": "./dist/style.css",
|
|
208
|
+
"./package.json": "./package.json"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tailwindCSS.experimental.classRegex": [
|
|
3
|
+
["cn\\(([^)]*)\\)", "[\"'`]([^\"'`]*?)[\"'`]"],
|
|
4
|
+
["classNames\\s*=\\s*\\{\\{([\\s\\S]*?)\\}\\}", "[\"'`]([^\"'`]*?)[\"'`]"]
|
|
5
|
+
],
|
|
6
|
+
"tailwindCSS.includeLanguages": {
|
|
7
|
+
"typescript": "javascript",
|
|
8
|
+
"typescriptreact": "javascript",
|
|
9
|
+
"javascriptreact": "javascript"
|
|
10
|
+
}
|
|
11
|
+
}
|