@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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The single dialog primitive. Wraps react-bootstrap Modal with `.lx-modal-*` chrome.
2
+ * The single dialog primitive. Wraps react-bootstrap Modal with `.wui-modal-*` chrome.
3
3
  *
4
4
  * @param {object} props
5
5
  * @param {boolean} props.open
@@ -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;
@@ -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';