@webority/ui-react 0.6.13 → 0.7.0
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/types/components/AppModal.d.ts +1 -1
- package/dist/types/components/AppTabs.d.ts +2 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/ui-react.js +627 -564
- package/package.json +14 -5
- package/dist/types/lib/useListboxMenu.d.ts +0 -46
- package/dist/types/lib/usePopover.d.ts +0 -7
- package/dist/types/lib/useTableSort.d.ts +0 -25
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* from its children. The strip markup is the same on both, so they look alike.
|
|
7
7
|
*
|
|
8
8
|
* @param {object} props
|
|
9
|
-
* @param {{ key: string, label: import('react').ReactNode, count?: number, tone?: string, icon?: import('react').ReactNode, danger?: boolean }[]} props.tabs
|
|
9
|
+
* @param {{ key: string, label: import('react').ReactNode, count?: number, tone?: string, icon?: import('react').ReactNode, danger?: boolean, disabled?: boolean }[]} props.tabs
|
|
10
10
|
* @param {string} props.value
|
|
11
11
|
* @param {(key: string) => void} props.onChange
|
|
12
12
|
* @param {"underline"|"pills"} [props.variant="underline"]
|
|
@@ -21,6 +21,7 @@ export default function AppTabs({ tabs, value, onChange, variant, ariaLabel, cla
|
|
|
21
21
|
tone?: string;
|
|
22
22
|
icon?: import('react').ReactNode;
|
|
23
23
|
danger?: boolean;
|
|
24
|
+
disabled?: boolean;
|
|
24
25
|
}[];
|
|
25
26
|
value: string;
|
|
26
27
|
onChange: (key: string) => void;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -56,3 +56,4 @@ export { default as Icon, iconNames } from './components/Icon.jsx';
|
|
|
56
56
|
export { MODAL_ICONS } from './components/ModalIcons.jsx';
|
|
57
57
|
export { default as RequiredMark } from './components/RequiredMark.jsx';
|
|
58
58
|
export { errorToast, toast } from './components/toast.js';
|
|
59
|
+
export { usePagination } from './lib/usePagination.js';
|