@avenirs-esr/avenirs-dsav 0.1.14 → 0.1.18

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 { Meta, StoryFn } from '@storybook/vue3';
2
+ import AvStepper, { type AvStepperProps } from './AvStepper.vue';
3
+ /**
4
+ * <h2 class="n2">🌟 Introduction</h2>
5
+ *
6
+ * <p>
7
+ * <span class="b2-regular">
8
+ * The <code>AvStepper</code> component is a visual guide to show the user their progress through a series of steps.
9
+ * </span>
10
+ * </p>
11
+ *
12
+ * <h2 class="n2">📐 Structure</h2>
13
+ *
14
+ * <p><span class="b2-regular">The stepper displays:</span></p>
15
+ * <ul>
16
+ * <li><span class="b2-regular">all steps titles</span></li>
17
+ * <li><span class="b2-regular">a progress status showing the current step and the total number of steps</span></li>
18
+ * <li><span class="b2-regular">a stylized progress bar</span></li>
19
+ * </ul>
20
+ */
21
+ declare const meta: Meta<typeof AvStepper>;
22
+ export default meta;
23
+ export declare const Default: StoryFn<AvStepperProps>;
24
+ export declare const WithStepTwoActive: StoryFn<AvStepperProps>;
25
+ export declare const WithAllStepsActive: StoryFn<AvStepperProps>;
26
+ export declare const WithTwoSteps: StoryFn<AvStepperProps>;
27
+ export declare const WithFourSteps: StoryFn<AvStepperProps>;
@@ -0,0 +1,14 @@
1
+ export declare const AvStepperStub: {
2
+ name: string;
3
+ props: {
4
+ steps: {
5
+ type: () => string[];
6
+ required: boolean;
7
+ };
8
+ currentStep: {
9
+ type: NumberConstructor;
10
+ required: boolean;
11
+ };
12
+ };
13
+ template: string;
14
+ };
@@ -0,0 +1,12 @@
1
+ export interface AvStepperProps {
2
+ /**
3
+ * List of steps to display in the stepper.
4
+ */
5
+ steps: string[];
6
+ /**
7
+ * Index of the current step (starts at 0).
8
+ */
9
+ currentStep: number;
10
+ }
11
+ declare const _default: import("vue").DefineComponent<AvStepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvStepperProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -4,3 +4,5 @@ export * from './AvPagination/utils';
4
4
  export { default as AvSideMenu, type AvSideMenuProps } from './AvSideMenu/AvSideMenu.vue';
5
5
  export { AvSideNavigationStub } from './AvSideNavigation/AvSideNavigation.stub';
6
6
  export { default as AvSideNavigation, type AvSideNavigationItem, type AvSideNavigationProps } from './AvSideNavigation/AvSideNavigation.vue';
7
+ export { AvStepperStub } from './AvStepper/AvStepper.stub';
8
+ export { default as AvStepper, type AvStepperProps } from './AvStepper/AvStepper.vue';
@@ -1,2 +1 @@
1
1
  export * from './stubs';
2
- export * from './utils';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@avenirs-esr/avenirs-dsav",
3
3
  "type": "module",
4
- "version": "0.1.14",
4
+ "version": "0.1.18",
5
5
  "main": "dist/avenirs-dsav.umd.js",
6
6
  "module": "dist/avenirs-dsav.es.js",
7
7
  "types": "dist/index.d.ts",
@@ -33,7 +33,10 @@
33
33
  "commitlint": "commitlint --edit",
34
34
  "lint-staged": "lint-staged",
35
35
  "storybook": "storybook dev -p 6006",
36
- "build-storybook": "storybook build"
36
+ "build-storybook": "storybook build",
37
+ "release:patch": "npm version patch --git-tag-version -m \"chore(release): update version to %s\" --tag-version-prefix v",
38
+ "release:minor": "npm version minor --git-tag-version -m \"chore(release): update version to %s\" --tag-version-prefix v",
39
+ "release:major": "npm version major --git-tag-version -m \"chore(release): update version to %s\" --tag-version-prefix v"
37
40
  },
38
41
  "peerDependencies": {
39
42
  "vue": "^3.5.13",