@moubing/bing-ui 0.1.1 → 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.
@@ -68,12 +68,12 @@ declare const __VLS_base: import('vue').DefineComponent<BingTreeSelectProps, {},
68
68
  virtualThreshold: number;
69
69
  virtualItemHeight: number;
70
70
  virtualOverscan: number;
71
- defaultExpandedValues: BingTreeSelectValue[];
72
71
  defaultExpandAll: boolean;
73
72
  checkStrictly: boolean;
74
73
  showTreeActions: boolean;
75
74
  expandAllText: string;
76
75
  collapseAllText: string;
76
+ defaultExpandedValues: BingTreeSelectValue[];
77
77
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
78
78
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
79
79
  declare const _default: typeof __VLS_export;
@@ -22,7 +22,6 @@ export * from './BingRadioGroup';
22
22
  export * from './BingResizable';
23
23
  export * from './BingScrollbar';
24
24
  export * from './BingSelect';
25
- export * from './BingSideNav';
26
25
  export * from './BingSortableList';
27
26
  export * from './BingTabs';
28
27
  export * from './BingTag';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moubing/bing-ui",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,57 +0,0 @@
1
- import { Component } from 'vue';
2
- export type BingSideNavValue = string | number;
3
- export type BingSideNavSize = 'sm' | 'md' | 'lg';
4
- export type BingSideNavVariant = 'glass' | 'soft' | 'quiet';
5
- export interface BingSideNavItem {
6
- value: BingSideNavValue;
7
- label: string;
8
- href?: string;
9
- target?: string;
10
- rel?: string;
11
- disabled?: boolean;
12
- badge?: string | number;
13
- icon?: Component;
14
- children?: BingSideNavItem[];
15
- defaultExpanded?: boolean;
16
- ariaLabel?: string;
17
- [key: string]: unknown;
18
- }
19
- export interface BingSideNavSection {
20
- value?: BingSideNavValue;
21
- label?: string;
22
- items: BingSideNavItem[];
23
- [key: string]: unknown;
24
- }
25
- export interface BingSideNavProps {
26
- modelValue?: BingSideNavValue;
27
- items?: BingSideNavItem[];
28
- sections?: BingSideNavSection[];
29
- expandedValues?: BingSideNavValue[];
30
- defaultExpandedValues?: BingSideNavValue[];
31
- size?: BingSideNavSize;
32
- variant?: BingSideNavVariant;
33
- disabled?: boolean;
34
- block?: boolean;
35
- collapsible?: boolean;
36
- animated?: boolean;
37
- respectReducedMotion?: boolean;
38
- ariaLabel?: string;
39
- }
40
- export interface BingSideNavSelectPayload {
41
- value: BingSideNavValue;
42
- item: BingSideNavItem;
43
- event: MouseEvent | KeyboardEvent;
44
- }
45
- export interface BingSideNavTogglePayload {
46
- value: BingSideNavValue;
47
- item: BingSideNavItem;
48
- expanded: boolean;
49
- event: MouseEvent | KeyboardEvent;
50
- }
51
- export interface BingSideNavEmits {
52
- 'update:modelValue': [value: BingSideNavValue];
53
- 'update:expandedValues': [values: BingSideNavValue[]];
54
- select: [payload: BingSideNavSelectPayload];
55
- expand: [payload: BingSideNavTogglePayload];
56
- collapse: [payload: BingSideNavTogglePayload];
57
- }
@@ -1,89 +0,0 @@
1
- import { BingSideNavItem, BingSideNavProps, BingSideNavSection, BingSideNavValue } from './BingSideNav.types';
2
- declare var __VLS_1: {}, __VLS_3: {
3
- section: BingSideNavSection;
4
- index: number;
5
- }, __VLS_14: {
6
- item: BingSideNavItem;
7
- active: boolean;
8
- expanded: boolean;
9
- depth: number;
10
- }, __VLS_21: {
11
- item: BingSideNavItem;
12
- active: boolean;
13
- expanded: boolean;
14
- disabled: boolean;
15
- depth: number;
16
- }, __VLS_23: {
17
- item: BingSideNavItem;
18
- active: boolean;
19
- depth: number;
20
- }, __VLS_39: {
21
- item: BingSideNavItem;
22
- active: boolean;
23
- expanded: boolean;
24
- depth: number;
25
- }, __VLS_46: {
26
- item: BingSideNavItem;
27
- active: boolean;
28
- expanded: boolean;
29
- disabled: boolean;
30
- depth: number;
31
- }, __VLS_48: {
32
- item: BingSideNavItem;
33
- active: boolean;
34
- depth: number;
35
- }, __VLS_50: {};
36
- type __VLS_Slots = {} & {
37
- header?: (props: typeof __VLS_1) => any;
38
- } & {
39
- 'section-label'?: (props: typeof __VLS_3) => any;
40
- } & {
41
- icon?: (props: typeof __VLS_14) => any;
42
- } & {
43
- item?: (props: typeof __VLS_21) => any;
44
- } & {
45
- badge?: (props: typeof __VLS_23) => any;
46
- } & {
47
- icon?: (props: typeof __VLS_39) => any;
48
- } & {
49
- item?: (props: typeof __VLS_46) => any;
50
- } & {
51
- badge?: (props: typeof __VLS_48) => any;
52
- } & {
53
- footer?: (props: typeof __VLS_50) => any;
54
- };
55
- declare const __VLS_base: import('vue').DefineComponent<BingSideNavProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
- select: (payload: import('./BingSideNav.types').BingSideNavSelectPayload) => any;
57
- "update:modelValue": (value: BingSideNavValue) => any;
58
- collapse: (payload: import('./BingSideNav.types').BingSideNavTogglePayload) => any;
59
- "update:expandedValues": (values: BingSideNavValue[]) => any;
60
- expand: (payload: import('./BingSideNav.types').BingSideNavTogglePayload) => any;
61
- }, string, import('vue').PublicProps, Readonly<BingSideNavProps> & Readonly<{
62
- onSelect?: ((payload: import('./BingSideNav.types').BingSideNavSelectPayload) => any) | undefined;
63
- "onUpdate:modelValue"?: ((value: BingSideNavValue) => any) | undefined;
64
- onCollapse?: ((payload: import('./BingSideNav.types').BingSideNavTogglePayload) => any) | undefined;
65
- "onUpdate:expandedValues"?: ((values: BingSideNavValue[]) => any) | undefined;
66
- onExpand?: ((payload: import('./BingSideNav.types').BingSideNavTogglePayload) => any) | undefined;
67
- }>, {
68
- disabled: boolean;
69
- ariaLabel: string;
70
- modelValue: BingSideNavValue;
71
- items: BingSideNavItem[];
72
- size: import('./BingSideNav.types').BingSideNavSize;
73
- variant: import('./BingSideNav.types').BingSideNavVariant;
74
- block: boolean;
75
- animated: boolean;
76
- respectReducedMotion: boolean;
77
- sections: BingSideNavSection[];
78
- expandedValues: BingSideNavValue[];
79
- defaultExpandedValues: BingSideNavValue[];
80
- collapsible: boolean;
81
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
82
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
83
- declare const _default: typeof __VLS_export;
84
- export default _default;
85
- type __VLS_WithSlots<T, S> = T & {
86
- new (): {
87
- $slots: S;
88
- };
89
- };
@@ -1,2 +0,0 @@
1
- export { default as BingSideNav } from './BingSideNav.vue';
2
- export type { BingSideNavEmits, BingSideNavItem, BingSideNavProps, BingSideNavSection, BingSideNavSelectPayload, BingSideNavSize, BingSideNavTogglePayload, BingSideNavValue, BingSideNavVariant, } from './BingSideNav.types';