@nimbus-ds/patterns 1.1.0-rc.2 → 1.1.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/dist/index.d.ts +10 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v8.0.0
|
|
2
2
|
|
|
3
|
-
import { BoxProperties, ButtonProperties, CheckboxProperties, CheckboxProps, IconButtonProperties, IconButtonProps, InputProperties, PaginationProperties, PopoverProperties, RadioProperties, SelectProperties, SidebarProperties, TableProperties, TableRowProperties, TextareaProperties, ThumbnailProperties, ToggleProperties } from '@nimbus-ds/components';
|
|
3
|
+
import { BoxProperties, ButtonProperties, CheckboxProperties, CheckboxProps, IconButtonProperties, IconButtonProps, InputProperties, PaginationProperties, PopoverProperties, RadioProperties, SelectProperties, SidebarProperties, TableProperties, TableRowProperties, TextareaProperties, ThumbnailProperties, ThumbnailProps, ToggleProperties } from '@nimbus-ds/components';
|
|
4
4
|
import { IconProps } from '@nimbus-ds/icons';
|
|
5
5
|
import { PolymorphicForwardRefComponent } from '@nimbus-ds/typings';
|
|
6
6
|
import React from 'react';
|
|
@@ -114,7 +114,9 @@ export interface DataTableBulkActionsProperties {
|
|
|
114
114
|
*/
|
|
115
115
|
label: string;
|
|
116
116
|
}
|
|
117
|
-
export type DataTableBulkActionsProps = DataTableBulkActionsProperties &
|
|
117
|
+
export type DataTableBulkActionsProps = DataTableBulkActionsProperties & {
|
|
118
|
+
checkbox: Omit<CheckboxProps, "label" | "id">;
|
|
119
|
+
} & Omit<HTMLAttributes<HTMLElement>, "color">;
|
|
118
120
|
declare const DataTableBulkActions: React.FC<DataTableBulkActionsProps>;
|
|
119
121
|
export interface DataTableFooterProperties {
|
|
120
122
|
/**
|
|
@@ -154,7 +156,9 @@ export interface DataTableRowProperties {
|
|
|
154
156
|
*/
|
|
155
157
|
children: ReactNode;
|
|
156
158
|
}
|
|
157
|
-
export type DataTableRowProps = DataTableRowProperties &
|
|
159
|
+
export type DataTableRowProps = DataTableRowProperties & {
|
|
160
|
+
checkbox: CheckboxProps;
|
|
161
|
+
} & TableRowProperties & HTMLAttributes<HTMLElement>;
|
|
158
162
|
declare const DataTableRow: React.FC<DataTableRowProps>;
|
|
159
163
|
export interface DataTableComponents {
|
|
160
164
|
BulkActions: typeof DataTableBulkActions;
|
|
@@ -626,7 +630,9 @@ export interface ThumbnailWithActionProperties extends BoxProperties {
|
|
|
626
630
|
*/
|
|
627
631
|
contentPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
628
632
|
}
|
|
629
|
-
export type ThumbnailWithActionProps = ThumbnailWithActionProperties &
|
|
633
|
+
export type ThumbnailWithActionProps = ThumbnailWithActionProperties & {
|
|
634
|
+
thumbnail: ThumbnailProps;
|
|
635
|
+
} & Omit<HTMLAttributes<HTMLElement>, "color">;
|
|
630
636
|
export declare const ThumbnailWithAction: React.FC<ThumbnailWithActionProps>;
|
|
631
637
|
|
|
632
638
|
export {};
|