@nimbus-ds/patterns 1.19.0-rc.2 → 1.19.0-rc.4
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/CHANGELOG.md +7 -0
- package/dist/AppShell/index.d.ts +5 -4
- package/dist/AppShell/index.js +1 -1
- package/dist/CHANGELOG.md +7 -0
- package/dist/Page/index.js +1 -1
- package/dist/SideModal/index.d.ts +3 -2
- package/dist/SideModal/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { DndContextProps, DragEndEvent, DragOverEvent, DragOverlayProps, DragStartEvent, DraggableAttributes, PointerSensorOptions, UniqueIdentifier } from '@dnd-kit/core';
|
|
4
4
|
import { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
|
|
5
|
-
import { BoxBaseProps, BoxProperties, BoxProps, ButtonProperties, ButtonProps, CheckboxProperties, CheckboxProps, IconButtonProperties, IconButtonProps, InputProperties, InputProps, PaginationProperties, PaginationProps, PopoverProperties, RadioProps, SelectProperties, SelectProps,
|
|
5
|
+
import { BoxBaseProps, BoxProperties, BoxProps, ButtonProperties, ButtonProps, CheckboxProperties, CheckboxProps, IconButtonProperties, IconButtonProps, InputProperties, InputProps, PaginationProperties, PaginationProps, PopoverProperties, RadioProps, SelectProperties, SelectProps, SidebarProperties, TableCellProps, TableProperties, TableRowProperties, TextareaProperties, TextareaProps, ThumbnailProperties, ThumbnailProps, ToggleProperties, ToggleProps } from '@nimbus-ds/components';
|
|
6
6
|
import { IconProps } from '@nimbus-ds/icons';
|
|
7
7
|
import { PolymorphicForwardRefComponent } from '@nimbus-ds/typings';
|
|
8
8
|
import React from 'react';
|
|
@@ -25,7 +25,7 @@ export type AppShellHeaderProps = AppShellHeaderProperties & Omit<HTMLAttributes
|
|
|
25
25
|
declare const AppShellHeader: React.FC<AppShellHeaderProps>;
|
|
26
26
|
export type AppShellBodyProps = Omit<BoxProps, "display" | "flex">;
|
|
27
27
|
declare const AppShellBody: React.FC<AppShellBodyProps>;
|
|
28
|
-
export type AppShellChatProps = BoxProps
|
|
28
|
+
export type AppShellChatProps = Omit<BoxProps, "position">;
|
|
29
29
|
declare const AppShellChat: React.FC<AppShellChatProps>;
|
|
30
30
|
export interface AppShellComponents {
|
|
31
31
|
Header: typeof AppShellHeader;
|
|
@@ -88,14 +88,15 @@ export interface AppShellProperties {
|
|
|
88
88
|
* Consolidated configuration for the popover/flyout behavior when `menuBehavior` is 'popover'.
|
|
89
89
|
*/
|
|
90
90
|
menuFlyout?: AppShellMenuFlyoutOptions;
|
|
91
|
+
/**
|
|
92
|
+
* Consolidated configuration for the content container.
|
|
93
|
+
*/
|
|
94
|
+
contentProperties?: BoxBaseProps;
|
|
91
95
|
}
|
|
92
96
|
export type AppShellProps = AppShellProperties & {
|
|
93
97
|
menuFlyout?: AppShellMenuFlyoutOptions & Omit<BoxProps, "position" | "top" | "left" | "right" | "bottom" | "height" | "zIndex">;
|
|
94
98
|
} & Omit<HTMLAttributes<HTMLElement>, "color">;
|
|
95
99
|
export declare const AppShell: React.FC<AppShellProps> & AppShellComponents;
|
|
96
|
-
export declare const AppShellOverlayContext: React.Context<HTMLElement | null>;
|
|
97
|
-
export declare const AppShellOverlayProvider: React.Provider<HTMLElement | null>;
|
|
98
|
-
export declare const useAppShellOverlayContainer: () => HTMLElement | null;
|
|
99
100
|
/**
|
|
100
101
|
* Context value for AppShell's menu render mode.
|
|
101
102
|
*/
|
|
@@ -735,7 +736,7 @@ export interface ProductUpdatesProperties extends Omit<PopoverProperties, "conte
|
|
|
735
736
|
export type ProductUpdatesProps = ProductUpdatesProperties & HTMLAttributes<HTMLElement>;
|
|
736
737
|
export declare const ProductUpdates: React.FC<ProductUpdatesProps>;
|
|
737
738
|
export type SideModalPadding = "none" | "base";
|
|
738
|
-
export interface SideModalProperties extends Pick<
|
|
739
|
+
export interface SideModalProperties extends Pick<SidebarProperties, "position" | "onRemove" | "open" | "padding" | "maxWidth" | "zIndex" | "needRemoveScroll" | "ignoreAttributeName"> {
|
|
739
740
|
/**
|
|
740
741
|
* Choose where the portal should render. Defaults to viewport (body).
|
|
741
742
|
*/
|
|
@@ -788,6 +789,7 @@ export type SideModalProps = SideModalProperties & {
|
|
|
788
789
|
primaryAction: ButtonProps;
|
|
789
790
|
secondaryAction: ButtonProps;
|
|
790
791
|
};
|
|
792
|
+
root?: HTMLElement | null;
|
|
791
793
|
} & HTMLAttributes<HTMLElement>;
|
|
792
794
|
export declare const SideModal: React.FC<SideModalProps>;
|
|
793
795
|
export interface ThumbnailWithActionProperties {
|