@cyber-harbour/ui 1.1.35 → 1.1.37

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.
package/dist/index.d.mts CHANGED
@@ -476,6 +476,7 @@ type BaseButtonProps = {
476
476
  color?: ButtonColor;
477
477
  size?: ButtonSize;
478
478
  disabled?: boolean;
479
+ loading?: boolean;
479
480
  fullWidth?: boolean;
480
481
  className?: string;
481
482
  icon?: any;
@@ -1640,11 +1641,12 @@ type ModalProps = {
1640
1641
  children: any;
1641
1642
  isNested?: boolean;
1642
1643
  closeOnEscape?: boolean;
1644
+ fullHeight?: boolean;
1643
1645
  };
1644
1646
  interface ModalChildrenProps extends FabricComponent<Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>> {
1645
1647
  children: any;
1646
1648
  }
1647
- declare const Modal: ({ children, onClose, isNested, width, closeOnEscape }: ModalProps) => react_jsx_runtime.JSX.Element;
1649
+ declare const Modal: ({ children, onClose, isNested, width, closeOnEscape, fullHeight, }: ModalProps) => react_jsx_runtime.JSX.Element;
1648
1650
  declare const ModalHeader: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
1649
1651
  declare const ModalBody: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
1650
1652
  declare const ModalFooter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
package/dist/index.d.ts CHANGED
@@ -476,6 +476,7 @@ type BaseButtonProps = {
476
476
  color?: ButtonColor;
477
477
  size?: ButtonSize;
478
478
  disabled?: boolean;
479
+ loading?: boolean;
479
480
  fullWidth?: boolean;
480
481
  className?: string;
481
482
  icon?: any;
@@ -1640,11 +1641,12 @@ type ModalProps = {
1640
1641
  children: any;
1641
1642
  isNested?: boolean;
1642
1643
  closeOnEscape?: boolean;
1644
+ fullHeight?: boolean;
1643
1645
  };
1644
1646
  interface ModalChildrenProps extends FabricComponent<Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>> {
1645
1647
  children: any;
1646
1648
  }
1647
- declare const Modal: ({ children, onClose, isNested, width, closeOnEscape }: ModalProps) => react_jsx_runtime.JSX.Element;
1649
+ declare const Modal: ({ children, onClose, isNested, width, closeOnEscape, fullHeight, }: ModalProps) => react_jsx_runtime.JSX.Element;
1648
1650
  declare const ModalHeader: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
1649
1651
  declare const ModalBody: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
1650
1652
  declare const ModalFooter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));