@bcc-code/component-library-vue 0.0.0-dev.a41ef8a → 0.0.0-dev.a563cb0
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/component-library.js +10285 -10258
- package/dist/component-library.umd.cjs +224 -224
- package/dist/index.css +1 -1
- package/dist-types/components/wrapped/BccMenu/BccMenu.vue.d.ts +14 -0
- package/dist-types/components/wrapped/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { VueComponent } from '@/types';
|
|
2
|
+
import type { MenuItem } from 'primevue/menuitem';
|
|
3
|
+
/** Menu item model for BccMenu: icon can be a PrimeVue icon class string or a Vue icon component. */
|
|
4
|
+
export type BccMenuItem = Omit<MenuItem, 'icon' | 'items'> & {
|
|
5
|
+
icon?: string | VueComponent;
|
|
6
|
+
items?: BccMenuItem[];
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
9
|
+
toggle: (event: Event, target?: unknown) => void | undefined;
|
|
10
|
+
show: (event: Event, target?: unknown) => void | undefined;
|
|
11
|
+
hide: () => void | undefined;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -7,6 +7,7 @@ export { default as BccButton } from './BccButton.vue';
|
|
|
7
7
|
export { default as BccCheckbox } from './BccCheckbox.vue';
|
|
8
8
|
export { default as BccChip } from './BccChip/BccChip.vue';
|
|
9
9
|
export { default as BccInput } from './BccInput.vue';
|
|
10
|
+
export { default as BccMenu } from './BccMenu/BccMenu.vue';
|
|
10
11
|
export { default as BccMessage } from './BccMessage.vue';
|
|
11
12
|
export { default as BccTabs } from './BccTabs/BccTabs.vue';
|
|
12
13
|
export { default as BccToggle } from './BccToggle/BccToggle.vue';
|
|
@@ -16,6 +17,7 @@ export type { ButtonProps } from './BccButton.vue';
|
|
|
16
17
|
export type { CheckboxProps } from './BccCheckbox.vue';
|
|
17
18
|
export type { ChipProps } from './BccChip/BccChip.vue';
|
|
18
19
|
export type { InputProps } from './BccInput.vue';
|
|
20
|
+
export type { BccMenuItem } from './BccMenu/BccMenu.vue';
|
|
19
21
|
export type { MessageProps } from './BccMessage.vue';
|
|
20
22
|
export type { TabItem, TabsProps } from './BccTabs/BccTabs.vue';
|
|
21
23
|
export type { ToggleProps } from './BccToggle/BccToggle.vue';
|
package/dist-types/index.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export { default as BccKeyFilter } from 'primevue/keyfilter';
|
|
|
80
80
|
export { default as BccKnob } from 'primevue/knob';
|
|
81
81
|
export { default as BccListbox } from 'primevue/listbox';
|
|
82
82
|
export { default as BccMegaMenu } from 'primevue/megamenu';
|
|
83
|
-
export {
|
|
83
|
+
export { BccMenu, type BccMenuItem } from './components/wrapped';
|
|
84
84
|
export { default as BccMenubar } from 'primevue/menubar';
|
|
85
85
|
export { default as BccMeterGroup } from 'primevue/metergroup';
|
|
86
86
|
export { default as BccMultiSelect } from 'primevue/multiselect';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/component-library-vue",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.a563cb0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Extended Vue component library based on PrimeVue and BCC design tokens",
|
|
6
6
|
"repository": "https://github.com/bcc-code/bcc-design.git",
|