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

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 +8 -7
  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';
@@ -139,7 +139,9 @@ export interface DataTableHeaderProperties {
139
139
  */
140
140
  children: ReactNode;
141
141
  }
142
- export type DataTableHeaderProps = DataTableHeaderProperties & HTMLAttributes<HTMLElement>;
142
+ export type DataTableHeaderProps = DataTableHeaderProperties & {
143
+ checkbox: CheckboxProps;
144
+ } & HTMLAttributes<HTMLElement>;
143
145
  declare const DataTableHeader: React.FC<DataTableHeaderProps>;
144
146
  export interface DataTableRowProperties {
145
147
  /**
@@ -320,16 +322,15 @@ export interface InteractiveListToggleItemSkeletonProperties extends Interactive
320
322
  }
321
323
  export type InteractiveListToggleItemSkeletonProps = InteractiveListToggleItemSkeletonProperties & Omit<HTMLAttributes<HTMLElement>, "color">;
322
324
  declare const InteractiveListToggleItemSkeleton: React.FC<InteractiveListToggleItemSkeletonProps>;
323
- export type IconButtonProps = Omit<IconButtonProperties, "backgroundColor" | "borderColor" | "size" | "source"> & {
324
- onClick: () => void;
325
- };
326
325
  export interface InteractiveListButtonItemProperties extends InteractiveListStructureProperties {
327
326
  /**
328
327
  * Button props inherited from Nimbus components
329
328
  */
330
- iconButton: IconButtonProps;
329
+ iconButton: Omit<IconButtonProperties, "backgroundColor" | "borderColor" | "size" | "source">;
331
330
  }
332
- export type InteractiveListButtonItemProps = InteractiveListButtonItemProperties & Omit<HTMLAttributes<HTMLElement>, "color">;
331
+ export type InteractiveListButtonItemProps = InteractiveListButtonItemProperties & {
332
+ iconButton: Omit<IconButtonProps, "backgroundColor" | "borderColor" | "size" | "source">;
333
+ } & Omit<HTMLAttributes<HTMLElement>, "color">;
333
334
  declare const InteractiveListButtonItem: React.FC<InteractiveListButtonItemProps>;
334
335
  export type InteractiveListButtonItemSkeletonProperties = InteractiveListStructureSkeletonProperties;
335
336
  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.2",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",