@bcc-code/component-library-vue 0.6.9 → 0.7.1

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.
@@ -0,0 +1,27 @@
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
+ };
11
+ type __VLS_Props = StepIndicatorProps;
12
+ type __VLS_ModelProps = {
13
+ modelValue?: number;
14
+ };
15
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:modelValue": (value: number) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
20
+ }>, {
21
+ context: BCC_CONTEXT;
22
+ additionalText: boolean;
23
+ showStepLabel: boolean;
24
+ headingFn: (currentStep: number, totalSteps: number) => string;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -12,6 +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 BccStepIndicator } from './BccStepIndicator/BccStepIndicator.vue';
15
16
  export { default as BccTag } from './BccTag/BccTag.vue';
16
17
  export type { BadgeProps } from './BccBadge/BccBadge.vue';
17
18
  export type { CapacityIndicatorProps } from './BccCapacityIndicator/BccCapacityIndicator.vue';
@@ -21,4 +22,5 @@ export type { GraphicProps } from './BccGraphic/BccGraphic.vue';
21
22
  export type { NpsResultProps } from './BccNpsResult/BccNpsResult.vue';
22
23
  export type { NpsScoreProps } from './BccNpsScore/BccNpsScore.vue';
23
24
  export type { ReactInfo, ReactProps } from './BccReact/types';
25
+ export type { StepIndicatorProps } from './BccStepIndicator/BccStepIndicator.vue';
24
26
  export type { TagProps } from './BccTag/BccTag.vue';
@@ -1,6 +1,7 @@
1
1
  import { type CheckboxProps as PrimeCheckboxProps } from 'primevue/checkbox';
2
2
  export type CheckboxProps = PrimeCheckboxProps & {
3
3
  label?: string;
4
+ labelLeft?: boolean;
4
5
  };
5
6
  declare var __VLS_18: {};
6
7
  type __VLS_Slots = {} & {
@@ -116,7 +116,6 @@ export { default as BccStepItem } from 'primevue/stepitem';
116
116
  export { default as BccStepList } from 'primevue/steplist';
117
117
  export { default as BccStepPanel } from 'primevue/steppanel';
118
118
  export { default as BccStepPanels } from 'primevue/steppanels';
119
- export { default as BccStepper } from 'primevue/stepper';
120
119
  export { default as BccSteps } from 'primevue/steps';
121
120
  export { default as BccStyleClass } from 'primevue/styleclass';
122
121
  export { default as BccTab } from 'primevue/tab';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/component-library-vue",
3
- "version": "0.6.9",
3
+ "version": "0.7.1",
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.0",
56
57
  "@bcc-code/icons-vue": "^1.4.0",
57
58
  "@primeuix/themes": "^2.0.3",
58
59
  "@tailwindcss/vite": "^4.1.18",
@@ -64,7 +65,6 @@
64
65
  "vue": "^3.5.0"
65
66
  },
66
67
  "devDependencies": {
67
- "@bcc-code/design-tokens": "^5.1.0",
68
68
  "@eslint/js": "^9.39.2",
69
69
  "@primevue/auto-import-resolver": "^4.5.4",
70
70
  "@storybook/addon-docs": "^10.2.8",
@@ -1,16 +0,0 @@
1
- type Props = {
2
- currentStep: number;
3
- steps: string[];
4
- additionalText: boolean;
5
- showStepLabel?: boolean;
6
- headingFn?: (currentStep: number, totalSteps: number) => {};
7
- };
8
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
- steps: string[];
10
- currentStep: number;
11
- additionalText: boolean;
12
- showStepLabel: boolean;
13
- headingFn: (currentStep: number, totalSteps: number) => {};
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
- declare const _default: typeof __VLS_export;
16
- export default _default;