@jackbo_vip/admin-kit 1.0.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 jackBoVip
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.
package/README.md ADDED
@@ -0,0 +1,93 @@
1
+ # Admin Kit
2
+
3
+ A comprehensive Vue 3 admin UI component library with TypeScript support.
4
+
5
+ ## Installation
6
+
7
+ ### NPM
8
+
9
+ ```bash
10
+ npm install admin-kit
11
+ ```
12
+
13
+ ### PNPM
14
+
15
+ ```bash
16
+ pnpm add admin-kit
17
+ ```
18
+
19
+ ### Yarn
20
+
21
+ ```bash
22
+ yarn add admin-kit
23
+ ```
24
+
25
+ ### CDN
26
+
27
+ ```html
28
+ <!-- Import CSS -->
29
+ <link rel="stylesheet" href="https://unpkg.com/admin-kit/dist/style.css">
30
+
31
+ <!-- Import JS -->
32
+ <script src="https://unpkg.com/admin-kit"></script>
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ ### Full Import
38
+
39
+ ```typescript
40
+ import { createApp } from 'vue';
41
+ import AdminKit from 'admin-kit';
42
+ import '@admin-kit/design/dist/index.css';
43
+
44
+ const app = createApp(App);
45
+ app.use(AdminKit);
46
+ app.mount('#app');
47
+ ```
48
+
49
+ ### On-Demand Import
50
+
51
+ ```typescript
52
+ import { AdminLayout, AdminForm, AdminMenu } from 'admin-kit';
53
+ import '@admin-kit/design/dist/index.css';
54
+ ```
55
+
56
+ ## Features
57
+
58
+ - 🎨 **Design System** - Comprehensive design tokens and theming
59
+ - 🧩 **UI Components** - Rich set of admin UI components
60
+ - 📱 **Responsive** - Mobile-first responsive design
61
+ - 🎯 **TypeScript** - Full TypeScript support
62
+ - 🎭 **Composables** - Vue 3 composition API utilities
63
+ - 🎪 **Form Builder** - Dynamic form generation
64
+ - 📊 **Layout System** - Flexible admin layout components
65
+ - 🎮 **Menu System** - Powerful navigation menu
66
+ - 🎬 **Popup System** - Modal, drawer, and alert components
67
+ - 🎨 **Shadcn UI** - Beautiful UI components based on Shadcn
68
+ - 📑 **Tabs System** - Chrome-style tabs management
69
+
70
+ ## Packages Included
71
+
72
+ This package includes all the following sub-packages:
73
+
74
+ - `@admin-kit/design` - Design tokens and styles
75
+ - `@admin-kit/icons` - Icon components
76
+ - `@admin-kit/shared` - Shared utilities
77
+ - `@admin-kit/typings` - TypeScript type definitions
78
+ - `@admin-kit/composables` - Vue composables
79
+ - `@admin-kit/preferences` - User preferences management
80
+ - `@admin-kit/form-ui` - Form components
81
+ - `@admin-kit/layout-ui` - Layout components
82
+ - `@admin-kit/menu-ui` - Menu components
83
+ - `@admin-kit/popup-ui` - Popup components
84
+ - `@admin-kit/shadcn-ui` - Shadcn-based UI components
85
+ - `@admin-kit/tabs-ui` - Tab components
86
+
87
+ ## Documentation
88
+
89
+ For detailed documentation, please visit [GitHub Repository](https://github.com/jackBoVip/admin-kit).
90
+
91
+ ## License
92
+
93
+ MIT
package/dist/index.cjs ADDED
@@ -0,0 +1,137 @@
1
+ 'use strict';
2
+
3
+ const design = require('@admin-kit/design');
4
+ const icons = require('@admin-kit/icons');
5
+ const shared = require('@admin-kit/shared');
6
+ const typings = require('@admin-kit/typings');
7
+ const composables = require('@admin-kit/composables');
8
+ const preferences = require('@admin-kit/preferences');
9
+ const formUi = require('@admin-kit/form-ui');
10
+ const layoutUi = require('@admin-kit/layout-ui');
11
+ const menuUi = require('@admin-kit/menu-ui');
12
+ const popupUi = require('@admin-kit/popup-ui');
13
+ const shadcnUi = require('@admin-kit/shadcn-ui');
14
+ const tabsUi = require('@admin-kit/tabs-ui');
15
+
16
+
17
+
18
+ Object.prototype.hasOwnProperty.call(design, '__proto__') &&
19
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
20
+ Object.defineProperty(exports, '__proto__', {
21
+ enumerable: true,
22
+ value: design['__proto__']
23
+ });
24
+
25
+ Object.keys(design).forEach(function (k) {
26
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = design[k];
27
+ });
28
+ Object.prototype.hasOwnProperty.call(icons, '__proto__') &&
29
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
30
+ Object.defineProperty(exports, '__proto__', {
31
+ enumerable: true,
32
+ value: icons['__proto__']
33
+ });
34
+
35
+ Object.keys(icons).forEach(function (k) {
36
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = icons[k];
37
+ });
38
+ Object.prototype.hasOwnProperty.call(shared, '__proto__') &&
39
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
40
+ Object.defineProperty(exports, '__proto__', {
41
+ enumerable: true,
42
+ value: shared['__proto__']
43
+ });
44
+
45
+ Object.keys(shared).forEach(function (k) {
46
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = shared[k];
47
+ });
48
+ Object.prototype.hasOwnProperty.call(typings, '__proto__') &&
49
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
50
+ Object.defineProperty(exports, '__proto__', {
51
+ enumerable: true,
52
+ value: typings['__proto__']
53
+ });
54
+
55
+ Object.keys(typings).forEach(function (k) {
56
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = typings[k];
57
+ });
58
+ Object.prototype.hasOwnProperty.call(composables, '__proto__') &&
59
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
60
+ Object.defineProperty(exports, '__proto__', {
61
+ enumerable: true,
62
+ value: composables['__proto__']
63
+ });
64
+
65
+ Object.keys(composables).forEach(function (k) {
66
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = composables[k];
67
+ });
68
+ Object.prototype.hasOwnProperty.call(preferences, '__proto__') &&
69
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
70
+ Object.defineProperty(exports, '__proto__', {
71
+ enumerable: true,
72
+ value: preferences['__proto__']
73
+ });
74
+
75
+ Object.keys(preferences).forEach(function (k) {
76
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = preferences[k];
77
+ });
78
+ Object.prototype.hasOwnProperty.call(formUi, '__proto__') &&
79
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
80
+ Object.defineProperty(exports, '__proto__', {
81
+ enumerable: true,
82
+ value: formUi['__proto__']
83
+ });
84
+
85
+ Object.keys(formUi).forEach(function (k) {
86
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = formUi[k];
87
+ });
88
+ Object.prototype.hasOwnProperty.call(layoutUi, '__proto__') &&
89
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
90
+ Object.defineProperty(exports, '__proto__', {
91
+ enumerable: true,
92
+ value: layoutUi['__proto__']
93
+ });
94
+
95
+ Object.keys(layoutUi).forEach(function (k) {
96
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = layoutUi[k];
97
+ });
98
+ Object.prototype.hasOwnProperty.call(menuUi, '__proto__') &&
99
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
100
+ Object.defineProperty(exports, '__proto__', {
101
+ enumerable: true,
102
+ value: menuUi['__proto__']
103
+ });
104
+
105
+ Object.keys(menuUi).forEach(function (k) {
106
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = menuUi[k];
107
+ });
108
+ Object.prototype.hasOwnProperty.call(popupUi, '__proto__') &&
109
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
110
+ Object.defineProperty(exports, '__proto__', {
111
+ enumerable: true,
112
+ value: popupUi['__proto__']
113
+ });
114
+
115
+ Object.keys(popupUi).forEach(function (k) {
116
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = popupUi[k];
117
+ });
118
+ Object.prototype.hasOwnProperty.call(shadcnUi, '__proto__') &&
119
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
120
+ Object.defineProperty(exports, '__proto__', {
121
+ enumerable: true,
122
+ value: shadcnUi['__proto__']
123
+ });
124
+
125
+ Object.keys(shadcnUi).forEach(function (k) {
126
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = shadcnUi[k];
127
+ });
128
+ Object.prototype.hasOwnProperty.call(tabsUi, '__proto__') &&
129
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
130
+ Object.defineProperty(exports, '__proto__', {
131
+ enumerable: true,
132
+ value: tabsUi['__proto__']
133
+ });
134
+
135
+ Object.keys(tabsUi).forEach(function (k) {
136
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = tabsUi[k];
137
+ });
@@ -0,0 +1,12 @@
1
+ export * from '@admin-kit/design';
2
+ export * from '@admin-kit/icons';
3
+ export * from '@admin-kit/shared';
4
+ export * from '@admin-kit/typings';
5
+ export * from '@admin-kit/composables';
6
+ export * from '@admin-kit/preferences';
7
+ export * from '@admin-kit/form-ui';
8
+ export * from '@admin-kit/layout-ui';
9
+ export * from '@admin-kit/menu-ui';
10
+ export * from '@admin-kit/popup-ui';
11
+ export * from '@admin-kit/shadcn-ui';
12
+ export * from '@admin-kit/tabs-ui';
@@ -0,0 +1,12 @@
1
+ export * from '@admin-kit/design';
2
+ export * from '@admin-kit/icons';
3
+ export * from '@admin-kit/shared';
4
+ export * from '@admin-kit/typings';
5
+ export * from '@admin-kit/composables';
6
+ export * from '@admin-kit/preferences';
7
+ export * from '@admin-kit/form-ui';
8
+ export * from '@admin-kit/layout-ui';
9
+ export * from '@admin-kit/menu-ui';
10
+ export * from '@admin-kit/popup-ui';
11
+ export * from '@admin-kit/shadcn-ui';
12
+ export * from '@admin-kit/tabs-ui';
@@ -0,0 +1,12 @@
1
+ export * from '@admin-kit/design';
2
+ export * from '@admin-kit/icons';
3
+ export * from '@admin-kit/shared';
4
+ export * from '@admin-kit/typings';
5
+ export * from '@admin-kit/composables';
6
+ export * from '@admin-kit/preferences';
7
+ export * from '@admin-kit/form-ui';
8
+ export * from '@admin-kit/layout-ui';
9
+ export * from '@admin-kit/menu-ui';
10
+ export * from '@admin-kit/popup-ui';
11
+ export * from '@admin-kit/shadcn-ui';
12
+ export * from '@admin-kit/tabs-ui';
package/dist/index.mjs ADDED
@@ -0,0 +1,12 @@
1
+ export * from '@admin-kit/design';
2
+ export * from '@admin-kit/icons';
3
+ export * from '@admin-kit/shared';
4
+ export * from '@admin-kit/typings';
5
+ export * from '@admin-kit/composables';
6
+ export * from '@admin-kit/preferences';
7
+ export * from '@admin-kit/form-ui';
8
+ export * from '@admin-kit/layout-ui';
9
+ export * from '@admin-kit/menu-ui';
10
+ export * from '@admin-kit/popup-ui';
11
+ export * from '@admin-kit/shadcn-ui';
12
+ export * from '@admin-kit/tabs-ui';
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@jackbo_vip/admin-kit",
3
+ "version": "1.0.0",
4
+ "description": "A comprehensive Vue 3 admin UI component library with TypeScript support",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.mjs",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.mjs",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "keywords": [
20
+ "vue",
21
+ "vue3",
22
+ "admin",
23
+ "ui",
24
+ "components",
25
+ "typescript",
26
+ "monorepo"
27
+ ],
28
+ "author": "",
29
+ "license": "MIT",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/jackBoVip/admin-kit.git"
33
+ },
34
+ "dependencies": {
35
+ "@admin-kit/design": "1.0.0",
36
+ "@admin-kit/typings": "1.0.0",
37
+ "@admin-kit/icons": "1.0.0",
38
+ "@admin-kit/shared": "1.0.0",
39
+ "@admin-kit/form-ui": "1.0.0",
40
+ "@admin-kit/composables": "1.0.0",
41
+ "@admin-kit/layout-ui": "1.0.0",
42
+ "@admin-kit/menu-ui": "1.0.0",
43
+ "@admin-kit/popup-ui": "1.0.0",
44
+ "@admin-kit/preferences": "1.0.0",
45
+ "@admin-kit/shadcn-ui": "1.0.0",
46
+ "@admin-kit/tabs-ui": "1.0.0"
47
+ },
48
+ "devDependencies": {
49
+ "typescript": "^5.9.3",
50
+ "unbuild": "^3.6.1",
51
+ "vue": "^3.5.26",
52
+ "@admin-kit/tsconfig": "1.0.0"
53
+ },
54
+ "peerDependencies": {
55
+ "vue": "^3.5.0"
56
+ },
57
+ "scripts": {
58
+ "build": "unbuild",
59
+ "dev": "unbuild --watch"
60
+ }
61
+ }