@web_xiaobai/ui 0.0.8 → 0.0.10
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/_constant/base.d.ts +1 -0
- package/dist/_enum/index.d.ts +4 -0
- package/dist/boden-ui.cjs.js +46 -4102
- package/dist/boden-ui.es.js +1174 -29622
- package/dist/components/ConfigProvider/ConfigProvider.d.ts +5 -5
- package/dist/components/ConfigProvider/props.d.ts +3 -2
- package/dist/components/ConfirmTip/index.d.ts +5 -3
- package/dist/index.d.ts +1 -0
- package/package.json +8 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SlotsType, VNode } from 'vue';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
readonly localeName: {
|
|
4
|
-
readonly type: import('vue').PropType<
|
|
5
|
-
readonly default: "zh";
|
|
4
|
+
readonly type: import('vue').PropType<import('../..').LOCAL>;
|
|
5
|
+
readonly default: "zh-CN";
|
|
6
6
|
};
|
|
7
7
|
readonly isDark: {
|
|
8
8
|
readonly type: BooleanConstructor;
|
|
@@ -42,8 +42,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
42
42
|
};
|
|
43
43
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
44
|
readonly localeName: {
|
|
45
|
-
readonly type: import('vue').PropType<
|
|
46
|
-
readonly default: "zh";
|
|
45
|
+
readonly type: import('vue').PropType<import('../..').LOCAL>;
|
|
46
|
+
readonly default: "zh-CN";
|
|
47
47
|
};
|
|
48
48
|
readonly isDark: {
|
|
49
49
|
readonly type: BooleanConstructor;
|
|
@@ -88,7 +88,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
88
88
|
readonly preflightStyleDisabled: boolean;
|
|
89
89
|
readonly inlineThemeDisabled: boolean;
|
|
90
90
|
readonly as: string | undefined;
|
|
91
|
-
readonly localeName:
|
|
91
|
+
readonly localeName: import('../..').LOCAL;
|
|
92
92
|
readonly isDark: boolean;
|
|
93
93
|
}, SlotsType<{
|
|
94
94
|
default?: () => VNode[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { LOCAL } from '../../_enum';
|
|
2
3
|
export declare const bodenConfigProviderProps: {
|
|
3
4
|
readonly localeName: {
|
|
4
|
-
readonly type: PropType<
|
|
5
|
-
readonly default: "zh";
|
|
5
|
+
readonly type: PropType<LOCAL>;
|
|
6
|
+
readonly default: "zh-CN";
|
|
6
7
|
};
|
|
7
8
|
readonly isDark: {
|
|
8
9
|
readonly type: BooleanConstructor;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { VNodeChild } from 'vue';
|
|
2
2
|
import { DialogOptions, DialogReactive } from 'naive-ui';
|
|
3
|
+
export type ConfirmPlacement = 'right' | 'center' | 'left';
|
|
3
4
|
export type ConfirmTipOptions = DialogOptions & {
|
|
4
|
-
titlePlacement?:
|
|
5
|
-
actionPlacement?:
|
|
5
|
+
titlePlacement?: ConfirmPlacement;
|
|
6
|
+
actionPlacement?: ConfirmPlacement;
|
|
7
|
+
contentPlacement?: ConfirmPlacement;
|
|
6
8
|
};
|
|
7
|
-
export declare function bodenConfirmTip(content: string | (() => VNodeChild), title?: string, options?: ConfirmTipOptions): Promise<DialogReactive>;
|
|
9
|
+
export declare function bodenConfirmTip(content: string | (() => VNodeChild), title?: string | (() => VNodeChild), options?: ConfirmTipOptions): Promise<DialogReactive>;
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@web_xiaobai/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/boden-ui.umd.js",
|
|
7
7
|
"module": "./dist/boden-ui.js",
|
|
@@ -36,13 +36,6 @@
|
|
|
36
36
|
"files": [
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
|
-
"scripts": {
|
|
40
|
-
"dev": "vite",
|
|
41
|
-
"lib": "pnpm build && pnpm run postbuild",
|
|
42
|
-
"postbuild": "node postbuild.js",
|
|
43
|
-
"build": "vue-tsc -b && vite build",
|
|
44
|
-
"preview": "vite preview"
|
|
45
|
-
},
|
|
46
39
|
"dependencies": {
|
|
47
40
|
"@css-render/plugin-bem": "^0.15.14",
|
|
48
41
|
"css-render": "^0.15.14",
|
|
@@ -68,5 +61,12 @@
|
|
|
68
61
|
"vite-plugin-eslint": "^1.8.1",
|
|
69
62
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
70
63
|
"vue-tsc": "^3.1.0"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"dev": "vite",
|
|
67
|
+
"lib": "pnpm build && pnpm run postbuild",
|
|
68
|
+
"postbuild": "node postbuild.js",
|
|
69
|
+
"build": "vue-tsc -b && vite build",
|
|
70
|
+
"preview": "vite preview"
|
|
71
71
|
}
|
|
72
72
|
}
|