@moubing/bing-ui 0.1.0 → 0.2.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/dist/bing-ui.css +1 -1
- package/dist/bing-ui.es.js +1261 -1682
- package/dist/bing-ui.umd.js +22 -22
- package/dist/components/BingAnimatedText/BingAnimatedText.types.d.ts +21 -0
- package/dist/components/BingAnimatedText/BingAnimatedText.vue.d.ts +31 -0
- package/dist/components/BingAnimatedText/index.d.ts +2 -0
- package/dist/components/BingAppSwitcherTransition/BingAppSwitcherTransition.types.d.ts +33 -0
- package/dist/components/BingAppSwitcherTransition/BingAppSwitcherTransition.vue.d.ts +28 -0
- package/dist/components/BingAppSwitcherTransition/index.d.ts +2 -0
- package/dist/components/BingButton/BingButton.types.d.ts +46 -0
- package/dist/components/BingButton/BingButton.vue.d.ts +52 -0
- package/dist/components/BingButton/index.d.ts +2 -0
- package/dist/components/BingCard/BingCard.types.d.ts +38 -0
- package/dist/components/BingCard/BingCard.vue.d.ts +56 -0
- package/dist/components/BingCard/index.d.ts +2 -0
- package/dist/components/BingCarouselTransition/BingCarouselTransition.types.d.ts +33 -0
- package/dist/components/BingCarouselTransition/BingCarouselTransition.vue.d.ts +28 -0
- package/dist/components/BingCarouselTransition/index.d.ts +2 -0
- package/dist/components/BingCheckbox/BingCheckbox.types.d.ts +25 -0
- package/dist/components/BingCheckbox/BingCheckbox.vue.d.ts +39 -0
- package/dist/components/BingCheckbox/index.d.ts +2 -0
- package/dist/components/BingCheckboxGroup/BingCheckboxGroup.context.d.ts +13 -0
- package/dist/components/BingCheckboxGroup/BingCheckboxGroup.types.d.ts +27 -0
- package/dist/components/BingCheckboxGroup/BingCheckboxGroup.vue.d.ts +35 -0
- package/dist/components/BingCheckboxGroup/index.d.ts +2 -0
- package/dist/components/BingCodeBlock/BingCodeBlock.highlight.d.ts +10 -0
- package/dist/components/BingCodeBlock/BingCodeBlock.types.d.ts +32 -0
- package/dist/components/BingCodeBlock/BingCodeBlock.vue.d.ts +29 -0
- package/dist/components/BingCodeBlock/index.d.ts +2 -0
- package/dist/components/BingDatePicker/BingDatePicker.types.d.ts +70 -0
- package/dist/components/BingDatePicker/BingDatePicker.vue.d.ts +54 -0
- package/dist/components/BingDatePicker/index.d.ts +2 -0
- package/dist/components/BingDeckTransition/BingDeckTransition.types.d.ts +38 -0
- package/dist/components/BingDeckTransition/BingDeckTransition.vue.d.ts +29 -0
- package/dist/components/BingDeckTransition/index.d.ts +2 -0
- package/dist/components/BingDialog/BingDialog.types.d.ts +45 -0
- package/dist/components/BingDialog/BingDialog.vue.d.ts +61 -0
- package/dist/components/BingDialog/index.d.ts +2 -0
- package/dist/components/BingDropDown/BingDropDown.context.d.ts +7 -0
- package/dist/components/BingDropDown/BingDropDown.types.d.ts +60 -0
- package/dist/components/BingDropDown/BingDropDown.vue.d.ts +87 -0
- package/dist/components/BingDropDown/BingDropDownItem.vue.d.ts +36 -0
- package/dist/components/BingDropDown/index.d.ts +3 -0
- package/dist/components/BingFilePreview/BingFilePreview.types.d.ts +56 -0
- package/dist/components/BingFilePreview/BingFilePreview.vue.d.ts +46 -0
- package/dist/components/BingFilePreview/index.d.ts +2 -0
- package/dist/components/BingForm/BingForm.context.d.ts +31 -0
- package/dist/components/BingForm/BingForm.types.d.ts +46 -0
- package/dist/components/BingForm/BingForm.vue.d.ts +32 -0
- package/dist/components/BingForm/index.d.ts +2 -0
- package/dist/components/BingFormItem/BingFormItem.types.d.ts +10 -0
- package/dist/components/BingFormItem/BingFormItem.vue.d.ts +30 -0
- package/dist/components/BingFormItem/index.d.ts +2 -0
- package/dist/components/BingIcon/BingIcon.types.d.ts +11 -0
- package/dist/components/BingIcon/BingIcon.vue.d.ts +10 -0
- package/dist/components/BingIcon/index.d.ts +2 -0
- package/dist/components/BingImage/BingImage.types.d.ts +68 -0
- package/dist/components/BingImage/BingImage.vue.d.ts +64 -0
- package/dist/components/BingImage/index.d.ts +2 -0
- package/dist/components/BingImagePreview/BingImagePreview.types.d.ts +40 -0
- package/dist/components/BingImagePreview/BingImagePreview.vue.d.ts +38 -0
- package/dist/components/BingImagePreview/index.d.ts +2 -0
- package/dist/components/BingInput/BingInput.types.d.ts +38 -0
- package/dist/components/BingInput/BingInput.vue.d.ts +49 -0
- package/dist/components/BingInput/index.d.ts +2 -0
- package/dist/components/BingRadio/BingRadio.types.d.ts +21 -0
- package/dist/components/BingRadio/BingRadio.vue.d.ts +38 -0
- package/dist/components/BingRadio/index.d.ts +2 -0
- package/dist/components/BingRadioGroup/BingRadioGroup.context.d.ts +13 -0
- package/dist/components/BingRadioGroup/BingRadioGroup.types.d.ts +27 -0
- package/dist/components/BingRadioGroup/BingRadioGroup.vue.d.ts +35 -0
- package/dist/components/BingRadioGroup/index.d.ts +2 -0
- package/dist/components/BingResizable/BingResizable.types.d.ts +63 -0
- package/dist/components/BingResizable/BingResizable.vue.d.ts +50 -0
- package/dist/components/BingResizable/index.d.ts +2 -0
- package/dist/components/BingScrollbar/BingScrollbar.types.d.ts +20 -0
- package/dist/components/BingScrollbar/BingScrollbar.vue.d.ts +28 -0
- package/dist/components/BingScrollbar/index.d.ts +2 -0
- package/dist/components/BingSelect/BingSelect.types.d.ts +57 -0
- package/dist/components/BingSelect/BingSelect.vue.d.ts +72 -0
- package/dist/components/BingSelect/index.d.ts +2 -0
- package/dist/components/BingSortableList/BingSortableList.types.d.ts +62 -0
- package/dist/components/BingSortableList/BingSortableList.vue.d.ts +51 -0
- package/dist/components/BingSortableList/BingSortableListItem.vue.d.ts +34 -0
- package/dist/components/BingSortableList/index.d.ts +2 -0
- package/dist/components/BingTable/BingTable.types.d.ts +156 -0
- package/dist/components/BingTable/BingTable.vue.d.ts +142 -0
- package/dist/components/BingTable/index.d.ts +2 -0
- package/dist/components/BingTabs/BingTabs.types.d.ts +42 -0
- package/dist/components/BingTabs/BingTabs.vue.d.ts +40 -0
- package/dist/components/BingTabs/index.d.ts +2 -0
- package/dist/components/BingTag/BingTag.types.d.ts +15 -0
- package/dist/components/BingTag/BingTag.vue.d.ts +26 -0
- package/dist/components/BingTag/index.d.ts +2 -0
- package/dist/components/BingTextarea/BingTextarea.types.d.ts +40 -0
- package/dist/components/BingTextarea/BingTextarea.vue.d.ts +38 -0
- package/dist/components/BingTextarea/index.d.ts +2 -0
- package/dist/components/BingToast/BingToast.service.d.ts +44 -0
- package/dist/components/BingToast/BingToast.types.d.ts +58 -0
- package/dist/components/BingToast/BingToast.vue.d.ts +19 -0
- package/dist/components/BingToast/index.d.ts +4 -0
- package/dist/components/BingTooltip/BingTooltip.shared.d.ts +32 -0
- package/dist/components/BingTooltip/BingTooltip.types.d.ts +36 -0
- package/dist/components/BingTooltip/BingTooltip.vue.d.ts +51 -0
- package/dist/components/BingTooltip/index.d.ts +2 -0
- package/dist/components/BingTreeSelect/BingTreeSelect.types.d.ts +69 -0
- package/dist/components/BingTreeSelect/BingTreeSelect.vue.d.ts +85 -0
- package/dist/components/BingTreeSelect/index.d.ts +2 -0
- package/dist/components/index.d.ts +32 -0
- package/dist/index.d.ts +3 -1
- package/dist/motion/index.d.ts +13 -0
- package/dist/utils/glass.d.ts +16 -0
- package/package.json +67 -68
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { BingGlassEffectProps } from '../../utils/glass';
|
|
2
|
+
export type BingTreeSelectValue = string | number;
|
|
3
|
+
export type BingTreeSelectModelValue = BingTreeSelectValue | BingTreeSelectValue[] | null;
|
|
4
|
+
export type BingTreeSelectSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
export type BingTreeSelectVirtualMode = boolean | 'auto';
|
|
6
|
+
export type BingTreeSelectSearchable = boolean | 'auto';
|
|
7
|
+
export type BingTreeSelectNodeMetaValue = string | number | boolean | null | undefined;
|
|
8
|
+
export interface BingTreeSelectNode {
|
|
9
|
+
label: string;
|
|
10
|
+
value: BingTreeSelectValue;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
selectable?: boolean;
|
|
13
|
+
description?: string;
|
|
14
|
+
children?: BingTreeSelectNode[];
|
|
15
|
+
meta?: Record<string, BingTreeSelectNodeMetaValue>;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export interface BingTreeSelectProps extends BingGlassEffectProps {
|
|
19
|
+
id?: string;
|
|
20
|
+
modelValue?: BingTreeSelectModelValue;
|
|
21
|
+
options?: BingTreeSelectNode[];
|
|
22
|
+
multiple?: boolean;
|
|
23
|
+
checkStrictly?: boolean;
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
clearable?: boolean;
|
|
27
|
+
showSelectAll?: boolean;
|
|
28
|
+
selectAllText?: string;
|
|
29
|
+
clearAllText?: string;
|
|
30
|
+
showTreeActions?: boolean;
|
|
31
|
+
expandAllText?: string;
|
|
32
|
+
collapseAllText?: string;
|
|
33
|
+
emptyText?: string;
|
|
34
|
+
searchable?: BingTreeSelectSearchable;
|
|
35
|
+
searchPlaceholder?: string;
|
|
36
|
+
noSearchResultsText?: string;
|
|
37
|
+
defaultExpandedValues?: BingTreeSelectValue[];
|
|
38
|
+
defaultExpandAll?: boolean;
|
|
39
|
+
size?: BingTreeSelectSize;
|
|
40
|
+
block?: boolean;
|
|
41
|
+
panelMinHeight?: string | number;
|
|
42
|
+
panelMaxHeight?: string | number;
|
|
43
|
+
virtual?: BingTreeSelectVirtualMode;
|
|
44
|
+
virtualThreshold?: number;
|
|
45
|
+
virtualItemHeight?: number;
|
|
46
|
+
virtualOverscan?: number;
|
|
47
|
+
ariaLabel?: string;
|
|
48
|
+
ariaDescribedby?: string;
|
|
49
|
+
status?: 'default' | 'error' | 'success' | 'warning';
|
|
50
|
+
}
|
|
51
|
+
export interface BingTreeSelectChangePayload {
|
|
52
|
+
value: BingTreeSelectModelValue;
|
|
53
|
+
node?: BingTreeSelectNode;
|
|
54
|
+
nodes: BingTreeSelectNode[];
|
|
55
|
+
}
|
|
56
|
+
export interface BingTreeSelectExpandPayload {
|
|
57
|
+
value: BingTreeSelectValue;
|
|
58
|
+
node: BingTreeSelectNode;
|
|
59
|
+
expandedValues: BingTreeSelectValue[];
|
|
60
|
+
}
|
|
61
|
+
export interface BingTreeSelectEmits {
|
|
62
|
+
'update:modelValue': [value: BingTreeSelectModelValue];
|
|
63
|
+
change: [payload: BingTreeSelectChangePayload];
|
|
64
|
+
clear: [];
|
|
65
|
+
open: [];
|
|
66
|
+
close: [];
|
|
67
|
+
expand: [payload: BingTreeSelectExpandPayload];
|
|
68
|
+
collapse: [payload: BingTreeSelectExpandPayload];
|
|
69
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { BingTreeSelectChangePayload, BingTreeSelectModelValue, BingTreeSelectNode, BingTreeSelectProps, BingTreeSelectValue } from './BingTreeSelect.types';
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
selectedNodes: BingTreeSelectNode[];
|
|
4
|
+
placeholder: string;
|
|
5
|
+
}, __VLS_83: {
|
|
6
|
+
node: BingTreeSelectNode;
|
|
7
|
+
selected: boolean;
|
|
8
|
+
indeterminate: boolean;
|
|
9
|
+
depth: number;
|
|
10
|
+
expanded: boolean;
|
|
11
|
+
}, __VLS_90: {
|
|
12
|
+
node: BingTreeSelectNode;
|
|
13
|
+
selected: boolean;
|
|
14
|
+
indeterminate: boolean;
|
|
15
|
+
depth: number;
|
|
16
|
+
expanded: boolean;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
value?: (props: typeof __VLS_1) => any;
|
|
20
|
+
} & {
|
|
21
|
+
node?: (props: typeof __VLS_83) => any;
|
|
22
|
+
} & {
|
|
23
|
+
'node-detail'?: (props: typeof __VLS_90) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import('vue').DefineComponent<BingTreeSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
clear: () => any;
|
|
27
|
+
"update:modelValue": (value: BingTreeSelectModelValue) => any;
|
|
28
|
+
change: (payload: BingTreeSelectChangePayload) => any;
|
|
29
|
+
close: () => any;
|
|
30
|
+
open: () => any;
|
|
31
|
+
collapse: (payload: import('./BingTreeSelect.types').BingTreeSelectExpandPayload) => any;
|
|
32
|
+
expand: (payload: import('./BingTreeSelect.types').BingTreeSelectExpandPayload) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<BingTreeSelectProps> & Readonly<{
|
|
34
|
+
onClear?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:modelValue"?: ((value: BingTreeSelectModelValue) => any) | undefined;
|
|
36
|
+
onChange?: ((payload: BingTreeSelectChangePayload) => any) | undefined;
|
|
37
|
+
onClose?: (() => any) | undefined;
|
|
38
|
+
onOpen?: (() => any) | undefined;
|
|
39
|
+
onCollapse?: ((payload: import('./BingTreeSelect.types').BingTreeSelectExpandPayload) => any) | undefined;
|
|
40
|
+
onExpand?: ((payload: import('./BingTreeSelect.types').BingTreeSelectExpandPayload) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
glass: boolean;
|
|
44
|
+
ariaLabel: string;
|
|
45
|
+
modelValue: BingTreeSelectModelValue;
|
|
46
|
+
size: import('./BingTreeSelect.types').BingTreeSelectSize;
|
|
47
|
+
block: boolean;
|
|
48
|
+
glassBlur: string | number;
|
|
49
|
+
glassOpacity: number;
|
|
50
|
+
glassSaturation: number;
|
|
51
|
+
id: string;
|
|
52
|
+
ariaDescribedby: string;
|
|
53
|
+
status: "default" | "error" | "success" | "warning";
|
|
54
|
+
placeholder: string;
|
|
55
|
+
clearable: boolean;
|
|
56
|
+
panelMaxHeight: string | number;
|
|
57
|
+
options: BingTreeSelectNode[];
|
|
58
|
+
multiple: boolean;
|
|
59
|
+
showSelectAll: boolean;
|
|
60
|
+
selectAllText: string;
|
|
61
|
+
clearAllText: string;
|
|
62
|
+
emptyText: string;
|
|
63
|
+
searchable: import('./BingTreeSelect.types').BingTreeSelectSearchable;
|
|
64
|
+
searchPlaceholder: string;
|
|
65
|
+
noSearchResultsText: string;
|
|
66
|
+
panelMinHeight: string | number;
|
|
67
|
+
virtual: import('./BingTreeSelect.types').BingTreeSelectVirtualMode;
|
|
68
|
+
virtualThreshold: number;
|
|
69
|
+
virtualItemHeight: number;
|
|
70
|
+
virtualOverscan: number;
|
|
71
|
+
defaultExpandAll: boolean;
|
|
72
|
+
checkStrictly: boolean;
|
|
73
|
+
showTreeActions: boolean;
|
|
74
|
+
expandAllText: string;
|
|
75
|
+
collapseAllText: string;
|
|
76
|
+
defaultExpandedValues: BingTreeSelectValue[];
|
|
77
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
78
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
79
|
+
declare const _default: typeof __VLS_export;
|
|
80
|
+
export default _default;
|
|
81
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
82
|
+
new (): {
|
|
83
|
+
$slots: S;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { default as BingTreeSelect } from './BingTreeSelect.vue';
|
|
2
|
+
export type { BingTreeSelectChangePayload, BingTreeSelectEmits, BingTreeSelectExpandPayload, BingTreeSelectModelValue, BingTreeSelectNode, BingTreeSelectProps, BingTreeSelectSearchable, BingTreeSelectSize, BingTreeSelectValue, BingTreeSelectVirtualMode, } from './BingTreeSelect.types';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from './BingAnimatedText';
|
|
2
|
+
export * from './BingAppSwitcherTransition';
|
|
3
|
+
export * from './BingButton';
|
|
4
|
+
export * from './BingCard';
|
|
5
|
+
export * from './BingCheckbox';
|
|
6
|
+
export * from './BingCodeBlock';
|
|
7
|
+
export * from './BingDatePicker';
|
|
8
|
+
export * from './BingCarouselTransition';
|
|
9
|
+
export * from './BingDeckTransition';
|
|
10
|
+
export * from './BingDialog';
|
|
11
|
+
export * from './BingDropDown';
|
|
12
|
+
export * from './BingFilePreview';
|
|
13
|
+
export * from './BingForm';
|
|
14
|
+
export * from './BingFormItem';
|
|
15
|
+
export * from './BingIcon';
|
|
16
|
+
export * from './BingImage';
|
|
17
|
+
export * from './BingImagePreview';
|
|
18
|
+
export * from './BingInput';
|
|
19
|
+
export * from './BingCheckboxGroup';
|
|
20
|
+
export * from './BingRadio';
|
|
21
|
+
export * from './BingRadioGroup';
|
|
22
|
+
export * from './BingResizable';
|
|
23
|
+
export * from './BingScrollbar';
|
|
24
|
+
export * from './BingSelect';
|
|
25
|
+
export * from './BingSortableList';
|
|
26
|
+
export * from './BingTabs';
|
|
27
|
+
export * from './BingTag';
|
|
28
|
+
export * from './BingTextarea';
|
|
29
|
+
export * from './BingToast';
|
|
30
|
+
export * from './BingTooltip';
|
|
31
|
+
export * from './BingTable';
|
|
32
|
+
export * from './BingTreeSelect';
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const motion: {
|
|
2
|
+
readonly duration: {
|
|
3
|
+
readonly fast: 0.18;
|
|
4
|
+
readonly normal: 0.32;
|
|
5
|
+
readonly slow: 0.62;
|
|
6
|
+
};
|
|
7
|
+
readonly ease: {
|
|
8
|
+
readonly smooth: "power3.out";
|
|
9
|
+
readonly press: "back.out(2.2)";
|
|
10
|
+
readonly glide: "expo.out";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare function prefersReducedMotion(): boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface BingGlassEffectProps {
|
|
2
|
+
glass?: boolean;
|
|
3
|
+
glassBlur?: string | number;
|
|
4
|
+
glassOpacity?: number;
|
|
5
|
+
glassSaturation?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const defaultGlassEffect: {
|
|
8
|
+
glass: true;
|
|
9
|
+
glassBlur: number;
|
|
10
|
+
glassOpacity: number;
|
|
11
|
+
glassSaturation: number;
|
|
12
|
+
};
|
|
13
|
+
export declare function normalizeGlassCssLength(value: string | number): string;
|
|
14
|
+
export declare function createGlassCssVariables(prefix: string, options: BingGlassEffectProps): {
|
|
15
|
+
[x: string]: string;
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,75 +1,74 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
2
|
"name": "@moubing/bing-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"packageManager": "pnpm@10.29.3",
|
|
6
5
|
"publishConfig": {
|
|
7
6
|
"access": "public",
|
|
8
7
|
"registry": "https://registry.npmjs.org/"
|
|
9
8
|
},
|
|
10
9
|
"main": "./dist/bing-ui.umd.js",
|
|
11
|
-
"module": "./dist/bing-ui.es.js",
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"files": [
|
|
14
|
-
"dist"
|
|
15
|
-
],
|
|
16
|
-
"sideEffects": [
|
|
17
|
-
"*.css",
|
|
18
|
-
"**/*.css"
|
|
19
|
-
],
|
|
20
|
-
"exports": {
|
|
21
|
-
".": {
|
|
22
|
-
"types": "./dist/index.d.ts",
|
|
23
|
-
"import": "./dist/bing-ui.es.js"
|
|
24
|
-
},
|
|
25
|
-
"./style.css": "./dist/bing-ui.css"
|
|
26
|
-
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"gsap": "^3.15.0",
|
|
29
|
-
"vue": "^3.5.0"
|
|
30
|
-
},
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
10
|
+
"module": "./dist/bing-ui.es.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"*.css",
|
|
17
|
+
"**/*.css"
|
|
18
|
+
],
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/bing-ui.es.js"
|
|
23
|
+
},
|
|
24
|
+
"./style.css": "./dist/bing-ui.css"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"gsap": "^3.15.0",
|
|
28
|
+
"vue": "^3.5.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@changesets/cli": "^2.31.0",
|
|
32
|
+
"@playwright/test": "^1.60.0",
|
|
33
|
+
"@storybook/addon-docs": "^10.4.1",
|
|
34
|
+
"@storybook/vue3-vite": "^10.4.1",
|
|
35
|
+
"@types/node": "^24.12.3",
|
|
36
|
+
"@vitejs/plugin-vue": "^6.0.6",
|
|
37
|
+
"@vitest/browser": "^4.1.7",
|
|
38
|
+
"@vitest/browser-playwright": "^4.1.7",
|
|
39
|
+
"@vue/test-utils": "^2.4.10",
|
|
40
|
+
"@vue/tsconfig": "^0.9.1",
|
|
41
|
+
"cross-env": "^10.1.0",
|
|
42
|
+
"gsap": "^3.15.0",
|
|
43
|
+
"happy-dom": "^20.9.0",
|
|
44
|
+
"playwright": "^1.60.0",
|
|
45
|
+
"storybook": "^10.4.1",
|
|
46
|
+
"typescript": "~6.0.2",
|
|
47
|
+
"vite": "^8.0.12",
|
|
48
|
+
"vite-plugin-dts": "^5.0.1",
|
|
49
|
+
"vitest": "^4.1.7",
|
|
50
|
+
"vue": "^3.5.35",
|
|
51
|
+
"vue-tsc": "^3.2.8"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@dnd-kit/dom": "^0.5.0",
|
|
55
|
+
"@dnd-kit/vue": "^0.5.0",
|
|
56
|
+
"dayjs": "^1.11.21",
|
|
57
|
+
"lucide-vue-next": "^1.0.0",
|
|
58
|
+
"shiki": "^4.2.0",
|
|
59
|
+
"zod": "^4.4.3"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"dev": "vite",
|
|
63
|
+
"build": "vue-tsc -b && vite build",
|
|
64
|
+
"preview": "vite preview",
|
|
65
|
+
"test": "vitest",
|
|
66
|
+
"test:run": "vitest run",
|
|
67
|
+
"test:browser": "vitest --config vitest.browser.config.ts --passWithNoTests",
|
|
68
|
+
"test:visual": "playwright test",
|
|
69
|
+
"storybook": "node scripts/storybook-dev.mjs",
|
|
70
|
+
"build-storybook": "cross-env STORYBOOK=true storybook build",
|
|
71
|
+
"changeset": "changeset",
|
|
72
|
+
"version-packages": "changeset version"
|
|
73
|
+
}
|
|
74
|
+
}
|