@nimbus-ds/patterns 1.19.0-rc.3 → 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 +1 -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 +4 -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;
|
|
@@ -97,9 +97,6 @@ export type AppShellProps = AppShellProperties & {
|
|
|
97
97
|
menuFlyout?: AppShellMenuFlyoutOptions & Omit<BoxProps, "position" | "top" | "left" | "right" | "bottom" | "height" | "zIndex">;
|
|
98
98
|
} & Omit<HTMLAttributes<HTMLElement>, "color">;
|
|
99
99
|
export declare const AppShell: React.FC<AppShellProps> & AppShellComponents;
|
|
100
|
-
export declare const AppShellOverlayContext: React.Context<HTMLElement | null>;
|
|
101
|
-
export declare const AppShellOverlayProvider: React.Provider<HTMLElement | null>;
|
|
102
|
-
export declare const useAppShellOverlayContainer: () => HTMLElement | null;
|
|
103
100
|
/**
|
|
104
101
|
* Context value for AppShell's menu render mode.
|
|
105
102
|
*/
|
|
@@ -739,7 +736,7 @@ export interface ProductUpdatesProperties extends Omit<PopoverProperties, "conte
|
|
|
739
736
|
export type ProductUpdatesProps = ProductUpdatesProperties & HTMLAttributes<HTMLElement>;
|
|
740
737
|
export declare const ProductUpdates: React.FC<ProductUpdatesProps>;
|
|
741
738
|
export type SideModalPadding = "none" | "base";
|
|
742
|
-
export interface SideModalProperties extends Pick<
|
|
739
|
+
export interface SideModalProperties extends Pick<SidebarProperties, "position" | "onRemove" | "open" | "padding" | "maxWidth" | "zIndex" | "needRemoveScroll" | "ignoreAttributeName"> {
|
|
743
740
|
/**
|
|
744
741
|
* Choose where the portal should render. Defaults to viewport (body).
|
|
745
742
|
*/
|
|
@@ -792,6 +789,7 @@ export type SideModalProps = SideModalProperties & {
|
|
|
792
789
|
primaryAction: ButtonProps;
|
|
793
790
|
secondaryAction: ButtonProps;
|
|
794
791
|
};
|
|
792
|
+
root?: HTMLElement | null;
|
|
795
793
|
} & HTMLAttributes<HTMLElement>;
|
|
796
794
|
export declare const SideModal: React.FC<SideModalProps>;
|
|
797
795
|
export interface ThumbnailWithActionProperties {
|