@nimbus-ds/patterns 1.19.0-rc.5 → 1.19.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.
package/dist/index.d.ts CHANGED
@@ -21,16 +21,10 @@ export interface AppShellHeaderProperties {
21
21
  */
22
22
  rightSlot?: ReactNode;
23
23
  }
24
- export type AppShellHeaderProps = AppShellHeaderProperties & Omit<HTMLAttributes<HTMLElement>, "color"> & Omit<BoxProperties, "display" | "justifyContent" | "position" | "top">;
24
+ export type AppShellHeaderProps = AppShellHeaderProperties & Omit<HTMLAttributes<HTMLElement>, "color"> & Omit<BoxProperties, "display" | "justifyContent">;
25
25
  declare const AppShellHeader: React.FC<AppShellHeaderProps>;
26
- export type AppShellBodyProps = Omit<BoxProps, "display" | "flex">;
27
- declare const AppShellBody: React.FC<AppShellBodyProps>;
28
- export type AppShellChatProps = Omit<BoxProps, "position">;
29
- declare const AppShellChat: React.FC<AppShellChatProps>;
30
26
  export interface AppShellComponents {
31
27
  Header: typeof AppShellHeader;
32
- Body: typeof AppShellBody;
33
- Chat: typeof AppShellChat;
34
28
  }
35
29
  /**
36
30
  * Configuration options for the AppShell flyout (popover) behavior when the menu is collapsed.
@@ -88,10 +82,6 @@ export interface AppShellProperties {
88
82
  * Consolidated configuration for the popover/flyout behavior when `menuBehavior` is 'popover'.
89
83
  */
90
84
  menuFlyout?: AppShellMenuFlyoutOptions;
91
- /**
92
- * Consolidated configuration for the content container.
93
- */
94
- contentProperties?: BoxBaseProps;
95
85
  }
96
86
  export type AppShellProps = AppShellProperties & {
97
87
  menuFlyout?: AppShellMenuFlyoutOptions & Omit<BoxProps, "position" | "top" | "left" | "right" | "bottom" | "height" | "zIndex">;
@@ -736,10 +726,7 @@ export interface ProductUpdatesProperties extends Omit<PopoverProperties, "conte
736
726
  export type ProductUpdatesProps = ProductUpdatesProperties & HTMLAttributes<HTMLElement>;
737
727
  export declare const ProductUpdates: React.FC<ProductUpdatesProps>;
738
728
  export type SideModalPadding = "none" | "base";
739
- export interface SideModalProperties extends Pick<SidebarProperties, "position" | "onRemove" | "open" | "padding" | "maxWidth" | "zIndex" | "needRemoveScroll" | "ignoreAttributeName"> {
740
- /**
741
- * Choose where the portal should render. Defaults to viewport (body).
742
- */
729
+ export interface SideModalProperties extends Pick<SidebarProperties, "position" | "onRemove" | "open" | "padding" | "maxWidth" | "zIndex"> {
743
730
  /**
744
731
  * Title.
745
732
  */
@@ -789,7 +776,6 @@ export type SideModalProps = SideModalProperties & {
789
776
  primaryAction: ButtonProps;
790
777
  secondaryAction: ButtonProps;
791
778
  };
792
- root?: HTMLElement | null;
793
779
  } & HTMLAttributes<HTMLElement>;
794
780
  export declare const SideModal: React.FC<SideModalProps>;
795
781
  export interface ThumbnailWithActionProperties {