ovirt-ui-toolkit 0.0.103 → 0.0.105

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 (37) hide show
  1. package/dist/Test.d.ts +0 -0
  2. package/dist/components/alert/Alert.d.ts +0 -0
  3. package/dist/components/breadcrumb/index.d.ts +0 -0
  4. package/dist/components/breadcrumb/ui/Breadcrumb.d.ts +0 -0
  5. package/dist/components/button/Button.d.ts +1 -0
  6. package/dist/components/checkbox/Checkbox.d.ts +1 -0
  7. package/dist/components/dropdown/Dropdown.d.ts +0 -0
  8. package/dist/components/dropdown/DropdownSelect.d.ts +0 -0
  9. package/dist/components/float-modal/FloatModal.d.ts +14 -0
  10. package/dist/components/groupButtonContainer/ui/GroupButtonContainer.d.ts +0 -0
  11. package/dist/components/helpText/HelpText.d.ts +0 -0
  12. package/dist/components/input/Input.d.ts +1 -0
  13. package/dist/components/label/Label.d.ts +0 -0
  14. package/dist/components/modal/Modal.d.ts +0 -0
  15. package/dist/components/pagination/Pagination.d.ts +0 -0
  16. package/dist/components/radio/Radio.d.ts +0 -0
  17. package/dist/components/reloadButton/ReloadButtton.d.ts +2 -0
  18. package/dist/components/switch/Input.d.ts +0 -0
  19. package/dist/components/tab/Tab.d.ts +0 -0
  20. package/dist/components/tab/Tabs.d.ts +0 -0
  21. package/dist/components/table/Table.d.ts +0 -0
  22. package/dist/components/table/Tbody.d.ts +0 -0
  23. package/dist/components/table/Td.d.ts +1 -1
  24. package/dist/components/table/Th.d.ts +0 -0
  25. package/dist/components/table/Thead.d.ts +0 -0
  26. package/dist/components/table/Tr.d.ts +0 -0
  27. package/dist/components/tableToolbar/TableToolbar.d.ts +2 -0
  28. package/dist/components/textarea/TextArea.d.ts +0 -0
  29. package/dist/components/toolbarContainer/index.d.ts +0 -0
  30. package/dist/components/toolbarContainer/ui/TollbarContainer.d.ts +0 -0
  31. package/dist/dev.d.ts +0 -0
  32. package/dist/hooks/useIntervalLoader.d.ts +0 -0
  33. package/dist/index.d.ts +0 -0
  34. package/dist/ovirt-ui-toolkit.css +1 -1
  35. package/dist/ovirt-ui-toolkit.es.js +366 -336
  36. package/dist/ovirt-ui-toolkit.umd.js +10 -10
  37. package/package.json +2 -1
package/dist/Test.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  type ButtonProps = {
3
3
  type?: 'default' | 'primary' | 'danger';
4
+ typeButton?: 'button' | 'submit' | 'reset';
4
5
  size?: 'xs' | 'lg' | 'sm';
5
6
  label?: string;
6
7
  title?: string;
@@ -3,6 +3,7 @@ interface CheckboxProps {
3
3
  id: string;
4
4
  label: string;
5
5
  isChecked?: boolean;
6
+ isDisabled?: boolean;
6
7
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
7
8
  className?: string;
8
9
  position?: 'left' | 'right';
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ export interface FloatModalProps {
3
+ children: ReactNode;
4
+ title: string;
5
+ className?: string;
6
+ id?: string;
7
+ isOpen: boolean;
8
+ onClose?: () => void;
9
+ initialWidth?: number;
10
+ initialHeight?: number;
11
+ win?: Window;
12
+ }
13
+ declare const FloatModal: React.FC<FloatModalProps>;
14
+ export default FloatModal;
File without changes
@@ -4,6 +4,7 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'value'
4
4
  type: 'text' | 'email' | 'password' | 'number' | 'date' | 'search';
5
5
  placeholder?: string;
6
6
  value?: string | number;
7
+ isDisabled?: boolean;
7
8
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
8
9
  className?: string;
9
10
  }
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,7 @@
1
1
  import { default as React } from 'react';
2
+ import { DropdownItem } from '../dropdown/Dropdown';
2
3
  interface DropdownProps {
4
+ items?: DropdownItem[];
3
5
  onChange: (n: number) => void;
4
6
  value?: number;
5
7
  onRefresh: () => void;
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- interface TdProps extends React.HTMLAttributes<HTMLTableCellElement> {
2
+ interface TdProps extends React.TdHTMLAttributes<HTMLTableCellElement> {
3
3
  children?: React.ReactNode;
4
4
  }
5
5
  declare const Td: React.FC<TdProps>;
File without changes
File without changes
File without changes
@@ -1,5 +1,7 @@
1
1
  import { default as React } from 'react';
2
+ import { DropdownItem } from '../dropdown/Dropdown';
2
3
  interface Props {
4
+ itemsReload?: DropdownItem[];
3
5
  interval?: number;
4
6
  page?: number;
5
7
  total?: number;
File without changes
File without changes
package/dist/dev.d.ts CHANGED
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes