@nimbus-ds/patterns 1.1.0-rc.1 → 1.1.0-rc.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -9
  2. 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, IconButtonProperties, 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, 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 & Omit<HTMLAttributes<HTMLElement>, "color">;
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
  /**
@@ -139,7 +141,9 @@ export interface DataTableHeaderProperties {
139
141
  */
140
142
  children: ReactNode;
141
143
  }
142
- export type DataTableHeaderProps = DataTableHeaderProperties & HTMLAttributes<HTMLElement>;
144
+ export type DataTableHeaderProps = DataTableHeaderProperties & {
145
+ checkbox: CheckboxProps;
146
+ } & HTMLAttributes<HTMLElement>;
143
147
  declare const DataTableHeader: React.FC<DataTableHeaderProps>;
144
148
  export interface DataTableRowProperties {
145
149
  /**
@@ -152,7 +156,9 @@ export interface DataTableRowProperties {
152
156
  */
153
157
  children: ReactNode;
154
158
  }
155
- export type DataTableRowProps = DataTableRowProperties & TableRowProperties & HTMLAttributes<HTMLElement>;
159
+ export type DataTableRowProps = DataTableRowProperties & {
160
+ checkbox: CheckboxProps;
161
+ } & TableRowProperties & HTMLAttributes<HTMLElement>;
156
162
  declare const DataTableRow: React.FC<DataTableRowProps>;
157
163
  export interface DataTableComponents {
158
164
  BulkActions: typeof DataTableBulkActions;
@@ -320,16 +326,15 @@ export interface InteractiveListToggleItemSkeletonProperties extends Interactive
320
326
  }
321
327
  export type InteractiveListToggleItemSkeletonProps = InteractiveListToggleItemSkeletonProperties & Omit<HTMLAttributes<HTMLElement>, "color">;
322
328
  declare const InteractiveListToggleItemSkeleton: React.FC<InteractiveListToggleItemSkeletonProps>;
323
- export type IconButtonProps = Omit<IconButtonProperties, "backgroundColor" | "borderColor" | "size" | "source"> & {
324
- onClick: () => void;
325
- };
326
329
  export interface InteractiveListButtonItemProperties extends InteractiveListStructureProperties {
327
330
  /**
328
331
  * Button props inherited from Nimbus components
329
332
  */
330
- iconButton: IconButtonProps;
333
+ iconButton: Omit<IconButtonProperties, "backgroundColor" | "borderColor" | "size" | "source">;
331
334
  }
332
- export type InteractiveListButtonItemProps = InteractiveListButtonItemProperties & Omit<HTMLAttributes<HTMLElement>, "color">;
335
+ export type InteractiveListButtonItemProps = InteractiveListButtonItemProperties & {
336
+ iconButton: Omit<IconButtonProps, "backgroundColor" | "borderColor" | "size" | "source">;
337
+ } & Omit<HTMLAttributes<HTMLElement>, "color">;
333
338
  declare const InteractiveListButtonItem: React.FC<InteractiveListButtonItemProps>;
334
339
  export type InteractiveListButtonItemSkeletonProperties = InteractiveListStructureSkeletonProperties;
335
340
  export type InteractiveListButtonItemSkeletonProps = InteractiveListButtonItemSkeletonProperties & Omit<HTMLAttributes<HTMLElement>, "color">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/patterns",
3
- "version": "1.1.0-rc.1",
3
+ "version": "1.1.0-rc.3",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",