@scbt-ecom/ui 0.63.1 → 0.64.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.
@@ -1,8 +1,9 @@
1
+ import { FieldValues } from 'react-hook-form';
1
2
  import { Approvement, ApprovementType, Chips, ChipsType, FieldValidation, Progress, ProgressField, ProgressType } from './model';
2
3
  import { ProgressBar, Uncontrolled } from '../../shared/ui';
3
4
  import { FieldElement } from '../fieldMapper';
4
5
  type SubmitProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> & {
5
- submitCallback: (values: unknown) => void;
6
+ submitCallback: <T extends FieldValues>(values: T) => void;
6
7
  children: string;
7
8
  };
8
9
  type ChipsClasses = {
@@ -4,6 +4,6 @@ type TabProps = {
4
4
  active: boolean;
5
5
  onActiveTabChange: (active: string | null) => void;
6
6
  };
7
- declare const InnerComponent: ({ category, active, onActiveTabChange }: TabProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const InnerComponent: import('react').ForwardRefExoticComponent<TabProps & import('react').RefAttributes<HTMLDivElement>>;
8
8
  export declare const Tab: typeof InnerComponent;
9
9
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scbt-ecom/ui",
3
- "version": "0.63.1",
3
+ "version": "0.64.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {