ovirt-ui-toolkit 0.0.14 → 0.0.16
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/components/checkbox/Checkbox.d.ts +10 -0
- package/dist/components/pagination/Pagination.d.ts +2 -1
- package/dist/components/tableToolbar/TableToolbar.d.ts +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/ovirt-ui-toolkit.css +1 -1
- package/dist/ovirt-ui-toolkit.es.js +271 -251
- package/dist/ovirt-ui-toolkit.umd.js +9 -9
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface CheckboxProps {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
isChecked?: boolean;
|
|
6
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Checkbox: React.FC<CheckboxProps>;
|
|
10
|
+
export default Checkbox;
|
|
@@ -2,7 +2,8 @@ import { default as React } from 'react';
|
|
|
2
2
|
interface Props {
|
|
3
3
|
interval?: number;
|
|
4
4
|
page?: number;
|
|
5
|
-
|
|
5
|
+
total?: number;
|
|
6
|
+
pageSize?: number;
|
|
6
7
|
onRefresh: () => void;
|
|
7
8
|
onChangeInterval: (newInterval: number) => void;
|
|
8
9
|
onPageChange: (newPage: number) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -16,5 +16,6 @@ export { default as Dropdown } from './components/dropdown/Dropdown';
|
|
|
16
16
|
export { default as Pagination } from './components/pagination/Pagination';
|
|
17
17
|
export { default as ReloadButton } from './components/reloadButton/ReloadButtton';
|
|
18
18
|
export { default as TableToolbar } from './components/tableToolbar/TableToolbar';
|
|
19
|
+
export { default as Checkbox } from './components/checkbox/Checkbox';
|
|
19
20
|
export { default as useIntervalLoader } from './hooks/useIntervalLoader';
|
|
20
21
|
export { default as SampleComp } from './Test';
|