@jackbo_vip/admin-kit 1.0.21 → 1.0.23

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/dist/bem.scss ADDED
@@ -0,0 +1,34 @@
1
+ @forward './constants';
2
+
3
+ @mixin b($block) {
4
+ $B: $namespace + '-' + $block !global;
5
+
6
+ .#{$B} {
7
+ @content;
8
+ }
9
+ }
10
+
11
+ @mixin e($name) {
12
+ @at-root {
13
+ &#{$element-separator}#{$name} {
14
+ @content;
15
+ }
16
+ }
17
+ }
18
+
19
+ @mixin m($name) {
20
+ @at-root {
21
+ &#{$modifier-separator}#{$name} {
22
+ @content;
23
+ }
24
+ }
25
+ }
26
+
27
+ // block__element.is-active {}
28
+ @mixin is($state, $prefix: $state-prefix) {
29
+ @at-root {
30
+ &.#{$prefix}-#{$state} {
31
+ @content;
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,5 @@
1
+ $namespace: 'admin' !default;
2
+ $common-separator: '-' !default;
3
+ $element-separator: '__' !default;
4
+ $modifier-separator: '--' !default;
5
+ $state-prefix: 'is' !default;
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
package/dist/icons.cjs ADDED
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
package/dist/icons.mjs ADDED
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ module.exports = require('./index.cjs');
@@ -0,0 +1,2 @@
1
+ // Re-export types from main bundle
2
+ export * from './index';
@@ -0,0 +1,2 @@
1
+ // Re-export from main bundle
2
+ export * from './index.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackbo_vip/admin-kit",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "A comprehensive Vue 3 admin UI component library with TypeScript support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -12,6 +12,65 @@
12
12
  "import": "./dist/index.mjs",
13
13
  "require": "./dist/index.cjs"
14
14
  },
15
+ "./design": {
16
+ "import": "./dist/design.mjs",
17
+ "require": "./dist/design.cjs"
18
+ },
19
+ "./design/bem": "./dist/bem.scss",
20
+ "./design/constants": "./dist/constants.scss",
21
+ "./icons": {
22
+ "types": "./dist/icons.d.ts",
23
+ "import": "./dist/icons.mjs",
24
+ "require": "./dist/icons.cjs"
25
+ },
26
+ "./shared": {
27
+ "types": "./dist/shared.d.ts",
28
+ "import": "./dist/shared.mjs",
29
+ "require": "./dist/shared.cjs"
30
+ },
31
+ "./typings": {
32
+ "types": "./dist/typings.d.ts",
33
+ "import": "./dist/typings.mjs",
34
+ "require": "./dist/typings.cjs"
35
+ },
36
+ "./composables": {
37
+ "types": "./dist/composables.d.ts",
38
+ "import": "./dist/composables.mjs",
39
+ "require": "./dist/composables.cjs"
40
+ },
41
+ "./preferences": {
42
+ "import": "./dist/preferences.mjs",
43
+ "require": "./dist/preferences.cjs"
44
+ },
45
+ "./form-ui": {
46
+ "types": "./dist/form-ui.d.ts",
47
+ "import": "./dist/form-ui.mjs",
48
+ "require": "./dist/form-ui.cjs"
49
+ },
50
+ "./layout-ui": {
51
+ "types": "./dist/layout-ui.d.ts",
52
+ "import": "./dist/layout-ui.mjs",
53
+ "require": "./dist/layout-ui.cjs"
54
+ },
55
+ "./menu-ui": {
56
+ "types": "./dist/menu-ui.d.ts",
57
+ "import": "./dist/menu-ui.mjs",
58
+ "require": "./dist/menu-ui.cjs"
59
+ },
60
+ "./popup-ui": {
61
+ "types": "./dist/popup-ui.d.ts",
62
+ "import": "./dist/popup-ui.mjs",
63
+ "require": "./dist/popup-ui.cjs"
64
+ },
65
+ "./shadcn-ui": {
66
+ "import": "./dist/shadcn-ui.mjs",
67
+ "require": "./dist/shadcn-ui.cjs"
68
+ },
69
+ "./tabs-ui": {
70
+ "types": "./dist/tabs-ui.d.ts",
71
+ "import": "./dist/tabs-ui.mjs",
72
+ "require": "./dist/tabs-ui.cjs"
73
+ },
15
74
  "./dist/index.min.mjs": "./dist/index.min.mjs",
16
75
  "./style.css": "./dist/admin-kit.css",
17
76
  "./style.min.css": "./dist/admin-kit.min.css"
@@ -20,7 +79,7 @@
20
79
  "dist"
21
80
  ],
22
81
  "scripts": {
23
- "build": "node ../../node_modules/vite/bin/vite.js build && node ../../node_modules/vite/bin/vite.js build --config vite.config.prod.ts && node scripts/generate-types.js && node scripts/post-build.js",
82
+ "build": "node ../../node_modules/vite/bin/vite.js build && node ../../node_modules/vite/bin/vite.js build --config vite.config.prod.ts && node scripts/generate-types.js && node scripts/generate-subpackage-exports.js && node scripts/post-build.js",
24
83
  "dev": "node ../../node_modules/vite/bin/vite.js build --watch",
25
84
  "prepublishOnly": "node scripts/resolve-catalog.js && pnpm build",
26
85
  "postpublish": "node scripts/restore-catalog.js"