@nimbus-ds/patterns 1.33.3 → 1.34.1
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 +14 -0
- package/dist/AppShell/index.js +1 -1
- package/dist/CHANGELOG.md +14 -0
- package/dist/Calendar/index.js +1 -1
- package/dist/ChatInput/index.js +1 -1
- package/dist/DataList/index.js +1 -1
- package/dist/DataTable/index.js +1 -1
- package/dist/Editor/index.js +1 -1
- package/dist/EmptyApp/index.js +1 -1
- package/dist/EmptyMessage/index.js +1 -1
- package/dist/HelpLink/index.js +1 -1
- package/dist/InitialScreen/index.js +1 -1
- package/dist/InteractiveList/index.js +1 -1
- package/dist/Layout/index.js +1 -1
- package/dist/Menu/index.js +1 -1
- package/dist/MenuButton/index.js +1 -1
- package/dist/NavTabs/index.js +1 -1
- package/dist/Page/index.js +1 -1
- package/dist/ProductUpdates/index.d.ts +51 -6
- package/dist/ProductUpdates/index.js +1 -1
- package/dist/SummaryStats/index.js +1 -1
- package/dist/ThumbnailWithAction/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +50 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -789,6 +789,46 @@ export type PageProperties = PropsWithChildren<{
|
|
|
789
789
|
}>;
|
|
790
790
|
export type PageProps = PageProperties & Omit<HTMLAttributes<HTMLElement>, "color"> & Omit<BoxProps, "width" | "maxWidth" | "marginX"> & Omit<BoxProperties, "width" | "maxWidth" | "marginX">;
|
|
791
791
|
export declare const Page: React.FC<PageProps> & PageComponents;
|
|
792
|
+
export interface ProductUpdatesPaginatorProperties {
|
|
793
|
+
/**
|
|
794
|
+
* Total number of items/steps in the pagination.
|
|
795
|
+
*/
|
|
796
|
+
totalItems: number;
|
|
797
|
+
/**
|
|
798
|
+
* Zero-based index of the currently active item.
|
|
799
|
+
*/
|
|
800
|
+
activeIndex: number;
|
|
801
|
+
}
|
|
802
|
+
export type ProductUpdatesPaginatorProps = ProductUpdatesPaginatorProperties & Omit<HTMLAttributes<HTMLElement>, "color" | "className" | "style">;
|
|
803
|
+
declare const ProductUpdatesPaginator: React.FC<ProductUpdatesPaginatorProps>;
|
|
804
|
+
export interface ProductUpdatesFooterProperties {
|
|
805
|
+
/**
|
|
806
|
+
* Optional link rendered on the left side of the footer.
|
|
807
|
+
* @TJS-type React.ReactNode
|
|
808
|
+
*/
|
|
809
|
+
leftLink?: ReactNode;
|
|
810
|
+
/**
|
|
811
|
+
* Optional paginator element rendered in the center of the footer.
|
|
812
|
+
* @TJS-type React.ReactNode
|
|
813
|
+
*/
|
|
814
|
+
paginator?: ReactNode;
|
|
815
|
+
/**
|
|
816
|
+
* Optional action button rendered on the right side of the footer.
|
|
817
|
+
* @TJS-type React.ReactNode
|
|
818
|
+
*/
|
|
819
|
+
rightButton?: ReactNode;
|
|
820
|
+
/**
|
|
821
|
+
* When true, renders a full-width divider above the footer content.
|
|
822
|
+
* @default false
|
|
823
|
+
*/
|
|
824
|
+
renderDivider?: boolean;
|
|
825
|
+
}
|
|
826
|
+
export type ProductUpdatesFooterProps = ProductUpdatesFooterProperties & Omit<BoxProperties, "pt" | "children">;
|
|
827
|
+
declare const ProductUpdatesFooter: React.FC<ProductUpdatesFooterProps>;
|
|
828
|
+
export interface ProductUpdatesComponents {
|
|
829
|
+
Paginator: typeof ProductUpdatesPaginator;
|
|
830
|
+
Footer: typeof ProductUpdatesFooter;
|
|
831
|
+
}
|
|
792
832
|
export interface ProductUpdatesProperties extends Omit<PopoverProperties, "content" | "appearance" | "padding" | "enabledDismiss"> {
|
|
793
833
|
/**
|
|
794
834
|
* Title of the Popover.
|
|
@@ -798,11 +838,20 @@ export interface ProductUpdatesProperties extends Omit<PopoverProperties, "conte
|
|
|
798
838
|
* Content text of the Popover.
|
|
799
839
|
*/
|
|
800
840
|
text: string;
|
|
841
|
+
/**
|
|
842
|
+
* Optional tag element rendered inline before the title.
|
|
843
|
+
* @TJS-type React.ReactNode
|
|
844
|
+
*/
|
|
845
|
+
tag?: ReactNode;
|
|
801
846
|
/**
|
|
802
847
|
* Optional content for the body of the Popover.
|
|
803
848
|
* @TJS-type React.ReactNode
|
|
804
849
|
*/
|
|
805
850
|
bodyContent?: ReactNode;
|
|
851
|
+
/**
|
|
852
|
+
* Optional properties for the content container of the popover body.
|
|
853
|
+
*/
|
|
854
|
+
bodyContentProps?: Omit<BoxProperties, "children">;
|
|
806
855
|
/**
|
|
807
856
|
* Optional bottom link to dismiss the Popover. If unset, an IconButton with an X will appear on the superior right corner.
|
|
808
857
|
* @TJS-type React.ReactNode
|
|
@@ -810,7 +859,7 @@ export interface ProductUpdatesProperties extends Omit<PopoverProperties, "conte
|
|
|
810
859
|
dismissLink?: ReactNode;
|
|
811
860
|
}
|
|
812
861
|
export type ProductUpdatesProps = ProductUpdatesProperties & HTMLAttributes<HTMLElement>;
|
|
813
|
-
export declare const ProductUpdates: React.FC<ProductUpdatesProps
|
|
862
|
+
export declare const ProductUpdates: React.FC<ProductUpdatesProps> & ProductUpdatesComponents;
|
|
814
863
|
export type SideModalPadding = "none" | "base";
|
|
815
864
|
export interface SideModalProperties extends Pick<SidebarProperties, "position" | "onRemove" | "open" | "padding" | "maxWidth" | "zIndex" | "needRemoveScroll" | "ignoreAttributeName"> {
|
|
816
865
|
/**
|