azamat-ui-kit 0.1.0
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 +323 -0
- package/dist/cli/index.js +725 -0
- package/dist/components/actions/action-menu.d.ts +26 -0
- package/dist/components/actions/copy-button.d.ts +13 -0
- package/dist/components/actions/index.d.ts +3 -0
- package/dist/components/actions/quick-action-grid.d.ts +27 -0
- package/dist/components/calendar/calendar.d.ts +28 -0
- package/dist/components/calendar/date-picker.d.ts +15 -0
- package/dist/components/calendar/date-range-picker.d.ts +18 -0
- package/dist/components/calendar/date-utils.d.ts +12 -0
- package/dist/components/calendar/index.d.ts +4 -0
- package/dist/components/command/command-palette.d.ts +54 -0
- package/dist/components/command/index.d.ts +1 -0
- package/dist/components/data-table/data-table-actions-column.d.ts +16 -0
- package/dist/components/data-table/data-table-bulk-actions.d.ts +17 -0
- package/dist/components/data-table/data-table-column-visibility-menu.d.ts +14 -0
- package/dist/components/data-table/data-table-pagination.d.ts +21 -0
- package/dist/components/data-table/data-table-row-actions.d.ts +13 -0
- package/dist/components/data-table/data-table-select-column.d.ts +13 -0
- package/dist/components/data-table/data-table-sortable-header.d.ts +11 -0
- package/dist/components/data-table/data-table-toolbar.d.ts +14 -0
- package/dist/components/data-table/data-table-view-presets.d.ts +27 -0
- package/dist/components/data-table/data-table.d.ts +86 -0
- package/dist/components/data-table/index.d.ts +10 -0
- package/dist/components/display/activity-feed.d.ts +25 -0
- package/dist/components/display/avatar.d.ts +26 -0
- package/dist/components/display/data-state.d.ts +16 -0
- package/dist/components/display/description-list.d.ts +31 -0
- package/dist/components/display/index.d.ts +10 -0
- package/dist/components/display/info-card.d.ts +18 -0
- package/dist/components/display/metric-grid.d.ts +22 -0
- package/dist/components/display/progress.d.ts +35 -0
- package/dist/components/display/result.d.ts +18 -0
- package/dist/components/display/status-legend.d.ts +27 -0
- package/dist/components/display/timeline.d.ts +25 -0
- package/dist/components/feedback/empty-state.d.ts +11 -0
- package/dist/components/feedback/index.d.ts +3 -0
- package/dist/components/feedback/loading-state.d.ts +8 -0
- package/dist/components/feedback/status-badge.d.ts +9 -0
- package/dist/components/filters/filter-bar.d.ts +14 -0
- package/dist/components/filters/filter-chips.d.ts +18 -0
- package/dist/components/filters/index.d.ts +2 -0
- package/dist/components/form/form-async-select.d.ts +12 -0
- package/dist/components/form/form-date-input.d.ts +12 -0
- package/dist/components/form/form-date-picker.d.ts +12 -0
- package/dist/components/form/form-date-range-input.d.ts +12 -0
- package/dist/components/form/form-date-range-picker.d.ts +15 -0
- package/dist/components/form/form-field-shell.d.ts +26 -0
- package/dist/components/form/form-input.d.ts +13 -0
- package/dist/components/form/form-number-input.d.ts +12 -0
- package/dist/components/form/form-password-input.d.ts +11 -0
- package/dist/components/form/form-phone-input.d.ts +13 -0
- package/dist/components/form/form-search-input.d.ts +11 -0
- package/dist/components/form/form-select.d.ts +12 -0
- package/dist/components/form/form-switch.d.ts +14 -0
- package/dist/components/form/form-textarea.d.ts +13 -0
- package/dist/components/form/index.d.ts +14 -0
- package/dist/components/inputs/async-select.d.ts +106 -0
- package/dist/components/inputs/clearable-input.d.ts +16 -0
- package/dist/components/inputs/combobox.d.ts +20 -0
- package/dist/components/inputs/date-input.d.ts +9 -0
- package/dist/components/inputs/date-range-input.d.ts +18 -0
- package/dist/components/inputs/index.d.ts +14 -0
- package/dist/components/inputs/masked-input.d.ts +11 -0
- package/dist/components/inputs/money-input.d.ts +13 -0
- package/dist/components/inputs/number-input.d.ts +16 -0
- package/dist/components/inputs/password-input.d.ts +17 -0
- package/dist/components/inputs/phone-input.d.ts +10 -0
- package/dist/components/inputs/quantity-input.d.ts +15 -0
- package/dist/components/inputs/search-input.d.ts +7 -0
- package/dist/components/inputs/simple-select.d.ts +20 -0
- package/dist/components/inputs/tag-input.d.ts +15 -0
- package/dist/components/layout/app-header.d.ts +10 -0
- package/dist/components/layout/app-shell.d.ts +32 -0
- package/dist/components/layout/app-sidebar.d.ts +28 -0
- package/dist/components/layout/breadcrumbs.d.ts +18 -0
- package/dist/components/layout/index.d.ts +8 -0
- package/dist/components/layout/page-container.d.ts +7 -0
- package/dist/components/layout/page-header.d.ts +12 -0
- package/dist/components/layout/sidebar-nav.d.ts +25 -0
- package/dist/components/layout/stat-card.d.ts +18 -0
- package/dist/components/navigation/index.d.ts +3 -0
- package/dist/components/navigation/page-tabs.d.ts +18 -0
- package/dist/components/navigation/pagination.d.ts +21 -0
- package/dist/components/navigation/stepper-tabs.d.ts +19 -0
- package/dist/components/notifications/index.d.ts +1 -0
- package/dist/components/notifications/toast.d.ts +42 -0
- package/dist/components/overlay/confirm-dialog.d.ts +17 -0
- package/dist/components/overlay/dialog-actions.d.ts +14 -0
- package/dist/components/overlay/index.d.ts +4 -0
- package/dist/components/overlay/modal-shell.d.ts +20 -0
- package/dist/components/overlay/sheet-shell.d.ts +34 -0
- package/dist/components/patterns/form-builder-presets.d.ts +23 -0
- package/dist/components/patterns/form-builder.d.ts +95 -0
- package/dist/components/patterns/index.d.ts +4 -0
- package/dist/components/patterns/resource-detail-page.d.ts +39 -0
- package/dist/components/patterns/resource-page.d.ts +34 -0
- package/dist/components/ui/badge.d.ts +7 -0
- package/dist/components/ui/button.d.ts +8 -0
- package/dist/components/ui/card.d.ts +11 -0
- package/dist/components/ui/checkbox.d.ts +13 -0
- package/dist/components/ui/component-preview.d.ts +10 -0
- package/dist/components/ui/dialog.d.ts +17 -0
- package/dist/components/ui/dropdown-menu.d.ts +29 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/popover.d.ts +9 -0
- package/dist/components/ui/select.d.ts +15 -0
- package/dist/components/ui/switch.d.ts +12 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tabs.d.ts +6 -0
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/upload/file-upload.d.ts +61 -0
- package/dist/components/upload/image-upload.d.ts +14 -0
- package/dist/components/upload/index.d.ts +2 -0
- package/dist/components/wizard/index.d.ts +2 -0
- package/dist/components/wizard/stepper.d.ts +16 -0
- package/dist/components/wizard/wizard.d.ts +17 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/use-before-unload-when-dirty.d.ts +2 -0
- package/dist/hooks/use-data-table-view-state.d.ts +20 -0
- package/dist/hooks/use-debounce.d.ts +3 -0
- package/dist/hooks/use-disclosure.d.ts +13 -0
- package/dist/hooks/use-is-mobile.d.ts +3 -0
- package/dist/hooks/use-session-storage-state.d.ts +8 -0
- package/dist/index.cjs +9 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +23213 -0
- package/dist/lib/utils.d.ts +2 -0
- package/package.json +118 -0
- package/registry.json +185 -0
package/package.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "azamat-ui-kit",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Reusable React UI kit with dashboard-ready components, CLI registry helpers, and TypeScript support.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"typescript",
|
|
8
|
+
"ui",
|
|
9
|
+
"component-library",
|
|
10
|
+
"design-system",
|
|
11
|
+
"dashboard",
|
|
12
|
+
"tailwindcss",
|
|
13
|
+
"shadcn",
|
|
14
|
+
"registry",
|
|
15
|
+
"cli"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://github.com/AzamatJurayev-dev/azamat-ui-kit#readme",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/AzamatJurayev-dev/azamat-ui-kit.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/AzamatJurayev-dev/azamat-ui-kit/issues"
|
|
24
|
+
},
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"author": "Azamat Jurayev",
|
|
27
|
+
"type": "module",
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=18"
|
|
33
|
+
},
|
|
34
|
+
"bin": {
|
|
35
|
+
"azamat-ui-kit": "./dist/cli/index.js"
|
|
36
|
+
},
|
|
37
|
+
"main": "./dist/index.cjs",
|
|
38
|
+
"module": "./dist/index.js",
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"exports": {
|
|
41
|
+
".": {
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"import": "./dist/index.js",
|
|
44
|
+
"require": "./dist/index.cjs"
|
|
45
|
+
},
|
|
46
|
+
"./registry.json": "./registry.json",
|
|
47
|
+
"./package.json": "./package.json"
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"dist",
|
|
51
|
+
"registry.json",
|
|
52
|
+
"README.md",
|
|
53
|
+
"LICENSE"
|
|
54
|
+
],
|
|
55
|
+
"scripts": {
|
|
56
|
+
"dev": "vite",
|
|
57
|
+
"build": "tsc -b && vite build && tsc -p tsconfig.build.json && tsup",
|
|
58
|
+
"build:web": "tsc -b && vite build --mode site",
|
|
59
|
+
"build:lib": "tsc -b && vite build",
|
|
60
|
+
"build:cli": "tsup",
|
|
61
|
+
"prepack": "npm run build",
|
|
62
|
+
"lint": "eslint .",
|
|
63
|
+
"preview": "vite preview",
|
|
64
|
+
"test:types": "tsc -p tsconfig.test.json --noEmit",
|
|
65
|
+
"test:a11y": "node scripts/a11y-smoke.mjs",
|
|
66
|
+
"test:registry": "node scripts/validate-registry.mjs",
|
|
67
|
+
"test:run": "npm run test:types && npm run test:a11y && npm run test:registry"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
71
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
72
|
+
"react-hook-form": "^7.0.0"
|
|
73
|
+
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@base-ui/react": "^1.5.0",
|
|
76
|
+
"@fontsource-variable/geist": "^5.2.9",
|
|
77
|
+
"@tanstack/react-table": "^8.21.3",
|
|
78
|
+
"class-variance-authority": "^0.7.1",
|
|
79
|
+
"clsx": "^2.1.1",
|
|
80
|
+
"cmdk": "^1.1.1",
|
|
81
|
+
"commander": "^15.0.0",
|
|
82
|
+
"execa": "^9.6.1",
|
|
83
|
+
"fs-extra": "^11.3.5",
|
|
84
|
+
"kolorist": "^1.8.0",
|
|
85
|
+
"lucide-react": "^1.17.0",
|
|
86
|
+
"prism-react-renderer": "^2.4.1",
|
|
87
|
+
"prompts": "^2.4.2",
|
|
88
|
+
"tailwind-merge": "^3.6.0",
|
|
89
|
+
"tw-animate-css": "^1.4.0"
|
|
90
|
+
},
|
|
91
|
+
"devDependencies": {
|
|
92
|
+
"@babel/core": "^7.29.0",
|
|
93
|
+
"@eslint/js": "^10.0.1",
|
|
94
|
+
"@rolldown/plugin-babel": "^0.2.3",
|
|
95
|
+
"@tailwindcss/vite": "^4.3.0",
|
|
96
|
+
"@types/babel__core": "^7.20.5",
|
|
97
|
+
"@types/fs-extra": "^11.0.4",
|
|
98
|
+
"@types/node": "^24.13.2",
|
|
99
|
+
"@types/react": "^19.2.14",
|
|
100
|
+
"@types/react-dom": "^19.2.3",
|
|
101
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
102
|
+
"babel-plugin-react-compiler": "^1.0.0",
|
|
103
|
+
"eslint": "^10.3.0",
|
|
104
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
105
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
106
|
+
"globals": "^17.6.0",
|
|
107
|
+
"react": "^19.2.6",
|
|
108
|
+
"react-dom": "^19.2.6",
|
|
109
|
+
"react-hook-form": "^7.75.0",
|
|
110
|
+
"react-router-dom": "^7.18.0",
|
|
111
|
+
"shadcn": "^4.11.0",
|
|
112
|
+
"tailwindcss": "^4.3.0",
|
|
113
|
+
"tsup": "^8.5.1",
|
|
114
|
+
"typescript": "~6.0.2",
|
|
115
|
+
"typescript-eslint": "^8.59.2",
|
|
116
|
+
"vite": "^8.0.12"
|
|
117
|
+
}
|
|
118
|
+
}
|
package/registry.json
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://azamat-ui-kit.dev/registry.schema.json",
|
|
3
|
+
"name": "azamat-ui-kit",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"description": "Reusable React + TypeScript UI kit registry",
|
|
6
|
+
"commands": {
|
|
7
|
+
"init": "npx azamat-ui-kit init",
|
|
8
|
+
"theme": "npx azamat-ui-kit theme src/index.css",
|
|
9
|
+
"list": "npx azamat-ui-kit list",
|
|
10
|
+
"add": "npx azamat-ui-kit add <components...>"
|
|
11
|
+
},
|
|
12
|
+
"groups": {
|
|
13
|
+
"ui": [
|
|
14
|
+
"button",
|
|
15
|
+
"input",
|
|
16
|
+
"textarea",
|
|
17
|
+
"checkbox",
|
|
18
|
+
"switch",
|
|
19
|
+
"badge",
|
|
20
|
+
"card",
|
|
21
|
+
"dialog",
|
|
22
|
+
"dropdown-menu",
|
|
23
|
+
"popover",
|
|
24
|
+
"select",
|
|
25
|
+
"table"
|
|
26
|
+
],
|
|
27
|
+
"overlay": [
|
|
28
|
+
"dialog-actions",
|
|
29
|
+
"modal-shell",
|
|
30
|
+
"confirm-dialog",
|
|
31
|
+
"sheet-shell"
|
|
32
|
+
],
|
|
33
|
+
"inputs": [
|
|
34
|
+
"clearable-input",
|
|
35
|
+
"search-input",
|
|
36
|
+
"password-input",
|
|
37
|
+
"number-input",
|
|
38
|
+
"date-input",
|
|
39
|
+
"date-range-input",
|
|
40
|
+
"money-input",
|
|
41
|
+
"quantity-input",
|
|
42
|
+
"masked-input",
|
|
43
|
+
"phone-input",
|
|
44
|
+
"simple-select",
|
|
45
|
+
"async-select"
|
|
46
|
+
],
|
|
47
|
+
"form": [
|
|
48
|
+
"form-field-shell",
|
|
49
|
+
"form-input",
|
|
50
|
+
"form-select",
|
|
51
|
+
"form-async-select",
|
|
52
|
+
"form-textarea",
|
|
53
|
+
"form-switch",
|
|
54
|
+
"form-search-input",
|
|
55
|
+
"form-password-input",
|
|
56
|
+
"form-number-input",
|
|
57
|
+
"form-phone-input",
|
|
58
|
+
"form-date-input",
|
|
59
|
+
"form-date-range-input",
|
|
60
|
+
"form-date-picker",
|
|
61
|
+
"form-date-range-picker"
|
|
62
|
+
],
|
|
63
|
+
"feedback": [
|
|
64
|
+
"empty-state",
|
|
65
|
+
"loading-state",
|
|
66
|
+
"status-badge"
|
|
67
|
+
],
|
|
68
|
+
"display": [
|
|
69
|
+
"description-list",
|
|
70
|
+
"progress",
|
|
71
|
+
"result",
|
|
72
|
+
"timeline",
|
|
73
|
+
"metric-grid",
|
|
74
|
+
"info-card",
|
|
75
|
+
"activity-feed"
|
|
76
|
+
],
|
|
77
|
+
"actions": [
|
|
78
|
+
"action-menu"
|
|
79
|
+
],
|
|
80
|
+
"layout": [
|
|
81
|
+
"app-shell",
|
|
82
|
+
"app-header",
|
|
83
|
+
"app-sidebar",
|
|
84
|
+
"page-header",
|
|
85
|
+
"stat-card",
|
|
86
|
+
"sidebar-nav",
|
|
87
|
+
"breadcrumbs",
|
|
88
|
+
"page-container"
|
|
89
|
+
],
|
|
90
|
+
"filters": [
|
|
91
|
+
"filter-bar"
|
|
92
|
+
],
|
|
93
|
+
"data-table": [
|
|
94
|
+
"data-table",
|
|
95
|
+
"data-table-pagination",
|
|
96
|
+
"data-table-toolbar",
|
|
97
|
+
"data-table-column-visibility-menu",
|
|
98
|
+
"data-table-select-column",
|
|
99
|
+
"data-table-sortable-header",
|
|
100
|
+
"data-table-row-actions",
|
|
101
|
+
"data-table-actions-column",
|
|
102
|
+
"data-table-bulk-actions",
|
|
103
|
+
"data-table-view-presets"
|
|
104
|
+
],
|
|
105
|
+
"calendar": [
|
|
106
|
+
"calendar",
|
|
107
|
+
"date-picker",
|
|
108
|
+
"date-range-picker",
|
|
109
|
+
"form-date-picker",
|
|
110
|
+
"form-date-range-picker"
|
|
111
|
+
],
|
|
112
|
+
"upload": [
|
|
113
|
+
"file-upload",
|
|
114
|
+
"image-upload"
|
|
115
|
+
],
|
|
116
|
+
"wizard": [
|
|
117
|
+
"stepper",
|
|
118
|
+
"wizard"
|
|
119
|
+
],
|
|
120
|
+
"notifications": [
|
|
121
|
+
"toast"
|
|
122
|
+
],
|
|
123
|
+
"command": [
|
|
124
|
+
"command-palette"
|
|
125
|
+
],
|
|
126
|
+
"patterns": [
|
|
127
|
+
"resource-page",
|
|
128
|
+
"resource-detail-page",
|
|
129
|
+
"form-builder",
|
|
130
|
+
"form-builder-presets"
|
|
131
|
+
],
|
|
132
|
+
"hooks": [
|
|
133
|
+
"use-session-storage-state",
|
|
134
|
+
"use-before-unload-when-dirty",
|
|
135
|
+
"use-is-mobile",
|
|
136
|
+
"use-disclosure",
|
|
137
|
+
"use-debounce",
|
|
138
|
+
"use-data-table-view-state"
|
|
139
|
+
],
|
|
140
|
+
"kits": [
|
|
141
|
+
"dashboard",
|
|
142
|
+
"calendar-kit",
|
|
143
|
+
"wizard-kit",
|
|
144
|
+
"all"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"recommended": [
|
|
148
|
+
"button",
|
|
149
|
+
"input",
|
|
150
|
+
"textarea",
|
|
151
|
+
"checkbox",
|
|
152
|
+
"switch",
|
|
153
|
+
"dialog",
|
|
154
|
+
"popover",
|
|
155
|
+
"select",
|
|
156
|
+
"pagination",
|
|
157
|
+
"search-input",
|
|
158
|
+
"async-select",
|
|
159
|
+
"form-input",
|
|
160
|
+
"form-select",
|
|
161
|
+
"form-switch",
|
|
162
|
+
"empty-state",
|
|
163
|
+
"loading-state",
|
|
164
|
+
"status-badge",
|
|
165
|
+
"description-list",
|
|
166
|
+
"metric-grid",
|
|
167
|
+
"info-card",
|
|
168
|
+
"activity-feed",
|
|
169
|
+
"action-menu",
|
|
170
|
+
"page-header",
|
|
171
|
+
"filter-bar",
|
|
172
|
+
"data-table",
|
|
173
|
+
"data-table-view-presets",
|
|
174
|
+
"date-picker",
|
|
175
|
+
"file-upload",
|
|
176
|
+
"wizard",
|
|
177
|
+
"toast",
|
|
178
|
+
"command-palette",
|
|
179
|
+
"resource-page",
|
|
180
|
+
"resource-detail-page",
|
|
181
|
+
"form-builder",
|
|
182
|
+
"form-builder-presets",
|
|
183
|
+
"use-data-table-view-state"
|
|
184
|
+
]
|
|
185
|
+
}
|