@nimbus-ds/patterns 1.1.0-rc.2 → 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 +6 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -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
  /**
@@ -154,7 +156,9 @@ export interface DataTableRowProperties {
154
156
  */
155
157
  children: ReactNode;
156
158
  }
157
- export type DataTableRowProps = DataTableRowProperties & TableRowProperties & HTMLAttributes<HTMLElement>;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/patterns",
3
- "version": "1.1.0-rc.2",
3
+ "version": "1.1.0-rc.3",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",