@bcc-code/component-library-vue 0.0.0-dev.053d9fc → 0.0.0-dev.0ebcb8d
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/README.md +9 -0
- package/dist/component-library.js +4407 -4421
- package/dist/component-library.umd.cjs +264 -264
- package/dist/index.css +1 -1
- package/dist/theme.css +222 -248
- package/dist-types/components/custom/BccStepIndicator/BccStepIndicator.vue.d.ts +28 -0
- package/dist-types/components/custom/index.d.ts +2 -2
- package/dist-types/components/wrapped/BccAvatar/BccAvatar.vue.d.ts +1 -1
- package/dist-types/components/wrapped/BccChip/BccChip.vue.d.ts +18 -0
- package/dist-types/components/wrapped/index.d.ts +2 -0
- package/package.json +2 -3
- package/dist-types/components/custom/BccStepper/BccStepper.vue.d.ts +0 -16
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BCC_CONTEXT } from '@/contexts';
|
|
2
|
+
export type StepIndicatorProps = {
|
|
3
|
+
steps: string[];
|
|
4
|
+
additionalText?: boolean;
|
|
5
|
+
showStepLabel?: boolean;
|
|
6
|
+
left?: boolean;
|
|
7
|
+
right?: boolean;
|
|
8
|
+
context?: BCC_CONTEXT;
|
|
9
|
+
headingFn?: (currentStep: number, totalSteps: number) => string;
|
|
10
|
+
clickable?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Props = StepIndicatorProps;
|
|
13
|
+
type __VLS_ModelProps = {
|
|
14
|
+
modelValue?: number;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: number) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
context: BCC_CONTEXT;
|
|
23
|
+
additionalText: boolean;
|
|
24
|
+
showStepLabel: boolean;
|
|
25
|
+
headingFn: (currentStep: number, totalSteps: number) => string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
@@ -12,7 +12,7 @@ export { default as BccNpsResult } from './BccNpsResult/BccNpsResult.vue';
|
|
|
12
12
|
export { default as BccNpsScore } from './BccNpsScore/BccNpsScore.vue';
|
|
13
13
|
export { default as BccReact } from './BccReact/BccReact.vue';
|
|
14
14
|
export { default as BccReactEmoji } from './BccReact/BccReactEmoji.vue';
|
|
15
|
-
export { default as
|
|
15
|
+
export { default as BccStepIndicator } from './BccStepIndicator/BccStepIndicator.vue';
|
|
16
16
|
export { default as BccTag } from './BccTag/BccTag.vue';
|
|
17
17
|
export type { BadgeProps } from './BccBadge/BccBadge.vue';
|
|
18
18
|
export type { CapacityIndicatorProps } from './BccCapacityIndicator/BccCapacityIndicator.vue';
|
|
@@ -22,5 +22,5 @@ export type { GraphicProps } from './BccGraphic/BccGraphic.vue';
|
|
|
22
22
|
export type { NpsResultProps } from './BccNpsResult/BccNpsResult.vue';
|
|
23
23
|
export type { NpsScoreProps } from './BccNpsScore/BccNpsScore.vue';
|
|
24
24
|
export type { ReactInfo, ReactProps } from './BccReact/types';
|
|
25
|
-
export type {
|
|
25
|
+
export type { StepIndicatorProps } from './BccStepIndicator/BccStepIndicator.vue';
|
|
26
26
|
export type { TagProps } from './BccTag/BccTag.vue';
|
|
@@ -11,7 +11,7 @@ export type AvatarProps = Omit<PrimeAvatarProps, 'shape' | 'size'> & {
|
|
|
11
11
|
squared?: boolean;
|
|
12
12
|
/** Adds a visible border around the avatar. */
|
|
13
13
|
bordered?: boolean;
|
|
14
|
-
/** Controls the avatar dimensions; maps to CSS size classes (xs through xxl). */
|
|
14
|
+
/** Controls the avatar dimensions; maps to CSS size classes (xs through xxl). Default: md */
|
|
15
15
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_export: import("vue").DefineComponent<AvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { VueComponent } from '@/types';
|
|
2
|
+
import { type ChipProps as PrimeChipProps } from 'primevue/chip';
|
|
3
|
+
export type ChipProps = {
|
|
4
|
+
icon?: VueComponent;
|
|
5
|
+
} & /* @vue-ignore */ Omit<PrimeChipProps, 'icon' | 'iconPos'>;
|
|
6
|
+
declare var __VLS_14: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_14) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<ChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChipProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export { default as BccAvatar } from './BccAvatar/BccAvatar.vue';
|
|
6
6
|
export { default as BccButton } from './BccButton.vue';
|
|
7
7
|
export { default as BccCheckbox } from './BccCheckbox.vue';
|
|
8
|
+
export { default as BccChip } from './BccChip/BccChip.vue';
|
|
8
9
|
export { default as BccInput } from './BccInput.vue';
|
|
9
10
|
export { default as BccMessage } from './BccMessage.vue';
|
|
10
11
|
export { default as BccTabs } from './BccTabs/BccTabs.vue';
|
|
@@ -13,6 +14,7 @@ export { default as BccToggleButton } from './BccToggleButton.vue';
|
|
|
13
14
|
export type { AvatarProps } from './BccAvatar/BccAvatar.vue';
|
|
14
15
|
export type { ButtonProps } from './BccButton.vue';
|
|
15
16
|
export type { CheckboxProps } from './BccCheckbox.vue';
|
|
17
|
+
export type { ChipProps } from './BccChip/BccChip.vue';
|
|
16
18
|
export type { InputProps } from './BccInput.vue';
|
|
17
19
|
export type { MessageProps } from './BccMessage.vue';
|
|
18
20
|
export type { TabItem, TabsProps } from './BccTabs/BccTabs.vue';
|
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.0ebcb8d",
|
|
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",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"create-version": "node ./scripts/version.cjs"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
+
"@bcc-code/design-tokens": "^5.1.2",
|
|
56
57
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
57
58
|
"@primeuix/themes": "^2.0.3",
|
|
58
59
|
"@tailwindcss/vite": "^4.1.18",
|
|
@@ -60,11 +61,9 @@
|
|
|
60
61
|
"tailwindcss": "^4.0.0"
|
|
61
62
|
},
|
|
62
63
|
"peerDependencies": {
|
|
63
|
-
"@bcc-code/design-tokens": "^5.1.0",
|
|
64
64
|
"vue": "^3.5.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@bcc-code/design-tokens": "^5.1.0",
|
|
68
67
|
"@eslint/js": "^9.39.2",
|
|
69
68
|
"@primevue/auto-import-resolver": "^4.5.4",
|
|
70
69
|
"@storybook/addon-docs": "^10.2.8",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type StepperProps = {
|
|
2
|
-
currentStep: number;
|
|
3
|
-
steps: string[];
|
|
4
|
-
additionalText?: boolean;
|
|
5
|
-
showStepLabel?: boolean;
|
|
6
|
-
headingFn?: (currentStep: number, totalSteps: number) => string;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{}>, {
|
|
9
|
-
steps: string[];
|
|
10
|
-
currentStep: number;
|
|
11
|
-
additionalText: boolean;
|
|
12
|
-
showStepLabel: boolean;
|
|
13
|
-
headingFn: (currentStep: number, totalSteps: number) => string;
|
|
14
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
|
-
export default _default;
|