@pop-ui/core 2.2.7 → 2.3.0

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.
@@ -395,6 +395,20 @@ export declare interface ISegmentButtonProps extends SegmentedControlProps {
395
395
  radius?: number | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
396
396
  }
397
397
 
398
+ export declare interface IStepNavigationProps {
399
+ steps: readonly IStepNavigationStep[];
400
+ value: string;
401
+ onChange: (value: string) => void;
402
+ ariaLabel: string;
403
+ className?: string;
404
+ }
405
+
406
+ export declare interface IStepNavigationStep {
407
+ value: string;
408
+ label: string;
409
+ disabled?: boolean;
410
+ }
411
+
398
412
  export declare interface ITabProps extends TabsProps {
399
413
  tabList: {
400
414
  title: string;
@@ -482,6 +496,8 @@ export declare const SearchBar: ({ label, labelPosition, size, required, tooltip
482
496
 
483
497
  export declare const SegmentButton: ({ size, radius, ...props }: ISegmentButtonProps) => JSX.Element;
484
498
 
499
+ export declare const StepNavigation: ({ steps, value, onChange, ariaLabel, className, }: IStepNavigationProps) => JSX.Element;
500
+
485
501
  export declare const Tab: ({ tabList, containerPaddingTop, ...props }: ITabProps) => JSX.Element;
486
502
 
487
503
  export declare type TButtonSize = 'sm' | 'md' | 'lg';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pop-ui/core",
3
3
  "type": "module",
4
- "version": "2.2.7",
4
+ "version": "2.3.0",
5
5
  "main": "./dist/core.umd.cjs",
6
6
  "module": "./dist/core.js",
7
7
  "types": "./dist/types/index.d.ts",
@@ -47,7 +47,7 @@
47
47
  "@dnd-kit/core": "^6.3.1",
48
48
  "@dnd-kit/sortable": "^10.0.0",
49
49
  "@dnd-kit/utilities": "^3.2.2",
50
- "@pop-ui/foundation": "2.2.7",
50
+ "@pop-ui/foundation": "2.3.0",
51
51
  "dayjs": "^1.11.18",
52
52
  "lottie-react": "^2.4.1",
53
53
  "react-easy-crop": "^5.5.3"