@equisoft/design-elements-react 6.1.1-snapshot.20240220204607 → 6.1.1-snapshot.20240226044227

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.
@@ -1,11 +1,16 @@
1
1
  import { VoidFunctionComponent } from 'react';
2
- export interface ProgressTracker {
3
- label?: string;
2
+ export interface ProgressTrackerStep {
3
+ href?: string;
4
+ label: string;
5
+ completion?: 'completed' | 'uncompleted';
6
+ onClick?: (stepNumber: number) => void;
4
7
  }
5
- interface ProgressProps {
8
+ interface ProgressTrackerProps {
9
+ ariaLabel?: string;
6
10
  className?: string;
7
- steps: ProgressTracker[];
11
+ linear?: boolean;
12
+ steps: ProgressTrackerStep[];
8
13
  value: number;
9
14
  }
10
- export declare const Progress: VoidFunctionComponent<ProgressProps>;
15
+ export declare const ProgressTracker: VoidFunctionComponent<ProgressTrackerProps>;
11
16
  export {};
@@ -80,6 +80,10 @@ export declare const Translations: {
80
80
  'show-password': string;
81
81
  'hide-password': string;
82
82
  };
83
+ 'progress-tracker': {
84
+ completedAriaLabel: string;
85
+ uncompletedAriaLabel: string;
86
+ };
83
87
  'search-input': {
84
88
  label: string;
85
89
  };
@@ -203,6 +207,10 @@ export declare const Translations: {
203
207
  'show-password': string;
204
208
  'hide-password': string;
205
209
  };
210
+ 'progress-tracker': {
211
+ completedAriaLabel: string;
212
+ uncompletedAriaLabel: string;
213
+ };
206
214
  'search-input': {
207
215
  label: string;
208
216
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/design-elements-react",
3
- "version": "6.1.1-snapshot.20240220204607",
3
+ "version": "6.1.1-snapshot.20240226044227",
4
4
  "description": "React implementation of the Equisoft design system.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/bundle.js",