@hyddenlabs/hydn-ui 0.3.0-alpha.2 → 0.3.0-alpha.99

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.cts CHANGED
@@ -264,8 +264,11 @@ type NavProps = {
264
264
  children: React__default.ReactNode;
265
265
  className?: string;
266
266
  ariaLabel?: string;
267
+ direction?: 'horizontal' | 'vertical';
268
+ spacing?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
269
+ align?: 'start' | 'center' | 'end' | 'stretch';
267
270
  };
268
- declare function Nav({ children, className, ariaLabel }: Readonly<NavProps>): react_jsx_runtime.JSX.Element;
271
+ declare function Nav({ children, className, ariaLabel, direction, spacing, align }: Readonly<NavProps>): react_jsx_runtime.JSX.Element;
269
272
  declare namespace Nav {
270
273
  var displayName: string;
271
274
  }
@@ -433,8 +436,9 @@ type ModalProps = {
433
436
  className?: string;
434
437
  ariaLabel?: string;
435
438
  align?: 'center' | 'top';
439
+ portalRoot?: HTMLElement | null;
436
440
  };
437
- declare function Modal({ isOpen, onClose, children, title, description, content, actions, className, ariaLabel, align }: Readonly<ModalProps>): react_jsx_runtime.JSX.Element | null;
441
+ declare function Modal({ isOpen, onClose, children, title, description, content, actions, className, ariaLabel, align, portalRoot }: Readonly<ModalProps>): react_jsx_runtime.JSX.Element | null;
438
442
  declare namespace Modal {
439
443
  var displayName: string;
440
444
  }
@@ -487,8 +491,10 @@ type AlertProps = {
487
491
  dismissible?: boolean;
488
492
  onClose?: () => void;
489
493
  className?: string;
494
+ position?: 'top' | 'bottom' | 'relative';
495
+ duration?: number;
490
496
  };
491
- declare function Alert({ children, type, dismissible, onClose, className }: Readonly<AlertProps>): react_jsx_runtime.JSX.Element;
497
+ declare function Alert({ children, type, dismissible, onClose, className, position, duration }: Readonly<AlertProps>): react_jsx_runtime.JSX.Element;
492
498
  declare namespace Alert {
493
499
  var displayName: string;
494
500
  }
@@ -883,8 +889,10 @@ type ContainerProps = {
883
889
  size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
884
890
  padding?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
885
891
  align?: 'start' | 'center' | 'end';
892
+ minWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | string;
893
+ minHeight?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'screen' | string;
886
894
  };
887
- declare function Container({ children, className, size, padding, align }: Readonly<ContainerProps>): react_jsx_runtime.JSX.Element;
895
+ declare function Container({ children, className, size, padding, align, minWidth, minHeight }: Readonly<ContainerProps>): react_jsx_runtime.JSX.Element;
888
896
  declare namespace Container {
889
897
  var displayName: string;
890
898
  }
package/dist/index.d.ts CHANGED
@@ -264,8 +264,11 @@ type NavProps = {
264
264
  children: React__default.ReactNode;
265
265
  className?: string;
266
266
  ariaLabel?: string;
267
+ direction?: 'horizontal' | 'vertical';
268
+ spacing?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
269
+ align?: 'start' | 'center' | 'end' | 'stretch';
267
270
  };
268
- declare function Nav({ children, className, ariaLabel }: Readonly<NavProps>): react_jsx_runtime.JSX.Element;
271
+ declare function Nav({ children, className, ariaLabel, direction, spacing, align }: Readonly<NavProps>): react_jsx_runtime.JSX.Element;
269
272
  declare namespace Nav {
270
273
  var displayName: string;
271
274
  }
@@ -433,8 +436,9 @@ type ModalProps = {
433
436
  className?: string;
434
437
  ariaLabel?: string;
435
438
  align?: 'center' | 'top';
439
+ portalRoot?: HTMLElement | null;
436
440
  };
437
- declare function Modal({ isOpen, onClose, children, title, description, content, actions, className, ariaLabel, align }: Readonly<ModalProps>): react_jsx_runtime.JSX.Element | null;
441
+ declare function Modal({ isOpen, onClose, children, title, description, content, actions, className, ariaLabel, align, portalRoot }: Readonly<ModalProps>): react_jsx_runtime.JSX.Element | null;
438
442
  declare namespace Modal {
439
443
  var displayName: string;
440
444
  }
@@ -487,8 +491,10 @@ type AlertProps = {
487
491
  dismissible?: boolean;
488
492
  onClose?: () => void;
489
493
  className?: string;
494
+ position?: 'top' | 'bottom' | 'relative';
495
+ duration?: number;
490
496
  };
491
- declare function Alert({ children, type, dismissible, onClose, className }: Readonly<AlertProps>): react_jsx_runtime.JSX.Element;
497
+ declare function Alert({ children, type, dismissible, onClose, className, position, duration }: Readonly<AlertProps>): react_jsx_runtime.JSX.Element;
492
498
  declare namespace Alert {
493
499
  var displayName: string;
494
500
  }
@@ -883,8 +889,10 @@ type ContainerProps = {
883
889
  size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
884
890
  padding?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
885
891
  align?: 'start' | 'center' | 'end';
892
+ minWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | string;
893
+ minHeight?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'screen' | string;
886
894
  };
887
- declare function Container({ children, className, size, padding, align }: Readonly<ContainerProps>): react_jsx_runtime.JSX.Element;
895
+ declare function Container({ children, className, size, padding, align, minWidth, minHeight }: Readonly<ContainerProps>): react_jsx_runtime.JSX.Element;
888
896
  declare namespace Container {
889
897
  var displayName: string;
890
898
  }