@ruixinkeji/prism-ui 1.0.27 → 1.0.29

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/index.d.ts CHANGED
@@ -2,6 +2,8 @@
2
2
  * Prism UI - TypeScript 类型定义
3
3
  */
4
4
 
5
+ import { StoreDefinition } from 'pinia';
6
+
5
7
  export declare const version: string;
6
8
  export declare const STYLES_PATH: string;
7
9
 
@@ -13,12 +15,14 @@ export interface PrismUIInfo {
13
15
  }
14
16
 
15
17
  export declare const info: PrismUIInfo;
16
- export declare function install(app: any): void;
18
+ export declare function init(): void;
19
+ export declare const useAppStore: StoreDefinition<'app', any, any, any>;
17
20
 
18
21
  declare const _default: {
19
22
  version: string;
20
23
  info: PrismUIInfo;
21
- install: (app: any) => void;
24
+ init: () => void;
25
+ useAppStore: typeof useAppStore;
22
26
  };
23
27
 
24
28
  export default _default;
package/index.esm.js CHANGED
@@ -5,20 +5,20 @@
5
5
 
6
6
  import { useAppStore } from './store/app';
7
7
 
8
- export const version = '1.0.27';
8
+ export const version = '1.0.29';
9
9
 
10
10
  export const STYLES_PATH = '@ruixinkeji/prism-ui/styles/index.scss';
11
11
 
12
12
  export const info = {
13
13
  name: '@ruixinkeji/prism-ui',
14
- version: '1.0.27',
14
+ version: '1.0.29',
15
15
  description: 'Prism UI - 现代化玻璃态设计 uni-app 组件库',
16
16
  author: 'Ruixin'
17
17
  };
18
18
 
19
- export function install() {
19
+ export function init() {
20
20
  console.log(
21
- '%c Prism UI %c v1.0.27 ',
21
+ '%c Prism UI %c v1.0.29 ',
22
22
  'background: #3B82F6; color: #fff; border-radius: 3px 0 0 3px; padding: 2px 6px;',
23
23
  'background: #1E293B; color: #fff; border-radius: 0 3px 3px 0; padding: 2px 6px;'
24
24
  );
@@ -32,6 +32,6 @@ export { useAppStore };
32
32
  export default {
33
33
  version,
34
34
  info,
35
- install,
35
+ init,
36
36
  useAppStore
37
37
  };
package/index.js CHANGED
@@ -5,20 +5,20 @@
5
5
 
6
6
  import { useAppStore } from './store/app';
7
7
 
8
- export const version = '1.0.27';
8
+ export const version = '1.0.29';
9
9
 
10
10
  export const STYLES_PATH = '@ruixinkeji/prism-ui/styles/index.scss';
11
11
 
12
12
  export const info = {
13
13
  name: '@ruixinkeji/prism-ui',
14
- version: '1.0.27',
14
+ version: '1.0.29',
15
15
  description: 'Prism UI - 现代化玻璃态设计 uni-app 组件库',
16
16
  author: 'Ruixin'
17
17
  };
18
18
 
19
- export function install() {
19
+ export function init() {
20
20
  console.log(
21
- '%c Prism UI %c v1.0.27 ',
21
+ '%c Prism UI %c v1.0.29 ',
22
22
  'background: #3B82F6; color: #fff; border-radius: 3px 0 0 3px; padding: 2px 6px;',
23
23
  'background: #1E293B; color: #fff; border-radius: 0 3px 3px 0; padding: 2px 6px;'
24
24
  );
@@ -32,6 +32,6 @@ export { useAppStore };
32
32
  export default {
33
33
  version,
34
34
  info,
35
- install,
35
+ init,
36
36
  useAppStore
37
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruixinkeji/prism-ui",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "Prism UI - 现代化玻璃态设计 uni-app 组件库",
5
5
  "main": "index.js",
6
6
  "module": "index.esm.js",