@hexure/ui 1.3.6 → 1.3.8

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.
@@ -1,8 +1,10 @@
1
1
  import { FC } from 'react';
2
2
  import { AccessibleProps } from '../../utils/Accessibility';
3
3
  interface TabProps extends AccessibleProps {
4
+ badgeCount?: number;
5
+ errorBadge?: boolean;
4
6
  label: string;
5
- onClick: (e?: any) => void;
7
+ onClick?: (e?: any) => void;
6
8
  isActive?: boolean;
7
9
  }
8
10
  export interface TabsProps extends AccessibleProps {
package/dist/index.d.ts CHANGED
@@ -379,8 +379,10 @@ interface TableProps extends AccessibleProps {
379
379
  declare const Table: FC<TableProps>;
380
380
 
381
381
  interface TabProps extends AccessibleProps {
382
+ badgeCount?: number;
383
+ errorBadge?: boolean;
382
384
  label: string;
383
- onClick: (e?: any) => void;
385
+ onClick?: (e?: any) => void;
384
386
  isActive?: boolean;
385
387
  }
386
388
  interface TabsProps extends AccessibleProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",