@latty-ds/react 0.2.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.
Files changed (98) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +115 -0
  3. package/dist/components/Accordion/Accordion.d.ts +20 -0
  4. package/dist/components/Accordion/index.d.ts +1 -0
  5. package/dist/components/Alert/Alert.d.ts +22 -0
  6. package/dist/components/Alert/index.d.ts +1 -0
  7. package/dist/components/Avatar/Avatar.d.ts +18 -0
  8. package/dist/components/Avatar/index.d.ts +1 -0
  9. package/dist/components/Badge/Badge.d.ts +16 -0
  10. package/dist/components/Badge/index.d.ts +1 -0
  11. package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -0
  12. package/dist/components/Breadcrumb/index.d.ts +1 -0
  13. package/dist/components/BreadcrumbItem/BreadcrumbItem.d.ts +12 -0
  14. package/dist/components/BreadcrumbItem/index.d.ts +1 -0
  15. package/dist/components/Button/Button.d.ts +34 -0
  16. package/dist/components/Button/index.d.ts +1 -0
  17. package/dist/components/Calendar/Calendar.d.ts +34 -0
  18. package/dist/components/Calendar/index.d.ts +1 -0
  19. package/dist/components/Checkbox/Checkbox.d.ts +28 -0
  20. package/dist/components/Checkbox/index.d.ts +1 -0
  21. package/dist/components/Chip/Chip.d.ts +20 -0
  22. package/dist/components/Chip/index.d.ts +1 -0
  23. package/dist/components/ColorInput/ColorInput.d.ts +20 -0
  24. package/dist/components/ColorInput/index.d.ts +1 -0
  25. package/dist/components/Combobox/Combobox.d.ts +28 -0
  26. package/dist/components/Combobox/index.d.ts +1 -0
  27. package/dist/components/DateInput/DateInput.d.ts +38 -0
  28. package/dist/components/DateInput/index.d.ts +1 -0
  29. package/dist/components/Datepicker/Datepicker.d.ts +34 -0
  30. package/dist/components/Datepicker/index.d.ts +1 -0
  31. package/dist/components/Dialog/Dialog.d.ts +26 -0
  32. package/dist/components/Dialog/index.d.ts +1 -0
  33. package/dist/components/Divider/Divider.d.ts +12 -0
  34. package/dist/components/Divider/index.d.ts +1 -0
  35. package/dist/components/Dropdown/Dropdown.d.ts +14 -0
  36. package/dist/components/Dropdown/index.d.ts +1 -0
  37. package/dist/components/DropdownItem/DropdownItem.d.ts +14 -0
  38. package/dist/components/DropdownItem/index.d.ts +1 -0
  39. package/dist/components/Header/Header.d.ts +14 -0
  40. package/dist/components/Header/index.d.ts +1 -0
  41. package/dist/components/Icon/Icon.d.ts +11 -0
  42. package/dist/components/Icon/index.d.ts +1 -0
  43. package/dist/components/IconButton/IconButton.d.ts +26 -0
  44. package/dist/components/IconButton/index.d.ts +1 -0
  45. package/dist/components/Image/Image.d.ts +14 -0
  46. package/dist/components/Image/index.d.ts +1 -0
  47. package/dist/components/Link/Link.d.ts +10 -0
  48. package/dist/components/Link/index.d.ts +1 -0
  49. package/dist/components/List/List.d.ts +16 -0
  50. package/dist/components/List/index.d.ts +1 -0
  51. package/dist/components/ListItem/ListItem.d.ts +10 -0
  52. package/dist/components/ListItem/index.d.ts +1 -0
  53. package/dist/components/Nav/Nav.d.ts +10 -0
  54. package/dist/components/Nav/index.d.ts +1 -0
  55. package/dist/components/NavItem/NavItem.d.ts +24 -0
  56. package/dist/components/NavItem/index.d.ts +1 -0
  57. package/dist/components/Pagination/Pagination.d.ts +16 -0
  58. package/dist/components/Pagination/index.d.ts +1 -0
  59. package/dist/components/Progress/Progress.d.ts +16 -0
  60. package/dist/components/Progress/index.d.ts +1 -0
  61. package/dist/components/Radio/Radio.d.ts +26 -0
  62. package/dist/components/Radio/index.d.ts +1 -0
  63. package/dist/components/RadioGroup/RadioGroup.d.ts +22 -0
  64. package/dist/components/RadioGroup/index.d.ts +1 -0
  65. package/dist/components/Select/Select.d.ts +26 -0
  66. package/dist/components/Select/index.d.ts +1 -0
  67. package/dist/components/SidePanel/SidePanel.d.ts +22 -0
  68. package/dist/components/SidePanel/index.d.ts +1 -0
  69. package/dist/components/Skeleton/Skeleton.d.ts +14 -0
  70. package/dist/components/Skeleton/index.d.ts +1 -0
  71. package/dist/components/Slider/Slider.d.ts +28 -0
  72. package/dist/components/Slider/index.d.ts +1 -0
  73. package/dist/components/Snackbar/Snackbar.d.ts +24 -0
  74. package/dist/components/Snackbar/index.d.ts +1 -0
  75. package/dist/components/Spinner/Spinner.d.ts +10 -0
  76. package/dist/components/Spinner/index.d.ts +1 -0
  77. package/dist/components/Surface/Surface.d.ts +12 -0
  78. package/dist/components/Surface/index.d.ts +1 -0
  79. package/dist/components/Switch/Switch.d.ts +26 -0
  80. package/dist/components/Switch/index.d.ts +1 -0
  81. package/dist/components/Tab/Tab.d.ts +20 -0
  82. package/dist/components/Tab/index.d.ts +1 -0
  83. package/dist/components/TabGroup/TabGroup.d.ts +14 -0
  84. package/dist/components/TabGroup/index.d.ts +1 -0
  85. package/dist/components/TabPanel/TabPanel.d.ts +10 -0
  86. package/dist/components/TabPanel/index.d.ts +1 -0
  87. package/dist/components/Table/Table.d.ts +30 -0
  88. package/dist/components/Table/index.d.ts +1 -0
  89. package/dist/components/Text/Text.d.ts +10 -0
  90. package/dist/components/Text/index.d.ts +1 -0
  91. package/dist/components/Textfield/Textfield.d.ts +40 -0
  92. package/dist/components/Textfield/index.d.ts +1 -0
  93. package/dist/components/Tooltip/Tooltip.d.ts +16 -0
  94. package/dist/components/Tooltip/index.d.ts +1 -0
  95. package/dist/index.cjs +823 -0
  96. package/dist/index.d.ts +46 -0
  97. package/dist/index.js +754 -0
  98. package/package.json +63 -0
@@ -0,0 +1,26 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { IconButton as IconButtonEl, LattyIconName } from '@latty-ds/web';
3
+ export type IconButtonProps = HTMLAttributes<IconButtonEl> & {
4
+ icon?: LattyIconName;
5
+ label?: string;
6
+ variant?: IconButtonEl['variant'];
7
+ appearance?: IconButtonEl['appearance'];
8
+ size?: IconButtonEl['size'];
9
+ disabled?: boolean;
10
+ href?: string;
11
+ target?: string;
12
+ rel?: string;
13
+ round?: boolean;
14
+ };
15
+ export declare const IconButton: import("react").ForwardRefExoticComponent<HTMLAttributes<IconButtonEl> & {
16
+ icon?: LattyIconName;
17
+ label?: string;
18
+ variant?: IconButtonEl["variant"];
19
+ appearance?: IconButtonEl["appearance"];
20
+ size?: IconButtonEl["size"];
21
+ disabled?: boolean;
22
+ href?: string;
23
+ target?: string;
24
+ rel?: string;
25
+ round?: boolean;
26
+ } & import("react").RefAttributes<IconButtonEl>>;
@@ -0,0 +1 @@
1
+ export { IconButton, type IconButtonProps } from './IconButton';
@@ -0,0 +1,14 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Image as ImageEl } from '@latty-ds/web';
3
+ export type ImageProps = HTMLAttributes<ImageEl> & {
4
+ src?: string;
5
+ alt?: string;
6
+ rounded?: ImageEl['rounded'];
7
+ responsive?: boolean;
8
+ };
9
+ export declare const Image: import("react").ForwardRefExoticComponent<HTMLAttributes<ImageEl> & {
10
+ src?: string;
11
+ alt?: string;
12
+ rounded?: ImageEl["rounded"];
13
+ responsive?: boolean;
14
+ } & import("react").RefAttributes<ImageEl>>;
@@ -0,0 +1 @@
1
+ export { Image, type ImageProps } from './Image';
@@ -0,0 +1,10 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Link as LinkEl } from '@latty-ds/web';
3
+ export type LinkProps = HTMLAttributes<LinkEl> & {
4
+ href?: string;
5
+ external?: boolean;
6
+ };
7
+ export declare const Link: import("react").ForwardRefExoticComponent<HTMLAttributes<LinkEl> & {
8
+ href?: string;
9
+ external?: boolean;
10
+ } & import("react").RefAttributes<LinkEl>>;
@@ -0,0 +1 @@
1
+ export { Link, type LinkProps } from './Link';
@@ -0,0 +1,16 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { List as ListEl } from '@latty-ds/web';
3
+ export type ListProps = HTMLAttributes<ListEl> & {
4
+ type?: ListEl['type'];
5
+ size?: ListEl['size'];
6
+ markerColor?: string;
7
+ divider?: boolean;
8
+ noMarker?: boolean;
9
+ };
10
+ export declare const List: import("react").ForwardRefExoticComponent<HTMLAttributes<ListEl> & {
11
+ type?: ListEl["type"];
12
+ size?: ListEl["size"];
13
+ markerColor?: string;
14
+ divider?: boolean;
15
+ noMarker?: boolean;
16
+ } & import("react").RefAttributes<ListEl>>;
@@ -0,0 +1 @@
1
+ export { List, type ListProps } from './List';
@@ -0,0 +1,10 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { ListItem as ListItemEl, LattyIconName } from '@latty-ds/web';
3
+ export type ListItemProps = HTMLAttributes<ListItemEl> & {
4
+ iconStart?: LattyIconName;
5
+ iconEnd?: LattyIconName;
6
+ };
7
+ export declare const ListItem: import("react").ForwardRefExoticComponent<HTMLAttributes<ListItemEl> & {
8
+ iconStart?: LattyIconName;
9
+ iconEnd?: LattyIconName;
10
+ } & import("react").RefAttributes<ListItemEl>>;
@@ -0,0 +1 @@
1
+ export { ListItem, type ListItemProps } from './ListItem';
@@ -0,0 +1,10 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Nav as NavEl } from '@latty-ds/web';
3
+ export type NavProps = HTMLAttributes<NavEl> & {
4
+ label?: string;
5
+ orientation?: NavEl['orientation'];
6
+ };
7
+ export declare const Nav: import("react").ForwardRefExoticComponent<HTMLAttributes<NavEl> & {
8
+ label?: string;
9
+ orientation?: NavEl["orientation"];
10
+ } & import("react").RefAttributes<NavEl>>;
@@ -0,0 +1 @@
1
+ export { Nav, type NavProps } from './Nav';
@@ -0,0 +1,24 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { NavItem as NavItemEl, LattyIconName } from '@latty-ds/web';
3
+ export type NavItemProps = HTMLAttributes<NavItemEl> & {
4
+ href?: string;
5
+ label?: string;
6
+ iconStart?: LattyIconName;
7
+ active?: boolean;
8
+ disabled?: boolean;
9
+ open?: boolean;
10
+ orientation?: NavItemEl['orientation'];
11
+ onNavItemClick?: (event: CustomEvent) => void;
12
+ onNavCollapse?: (event: CustomEvent) => void;
13
+ };
14
+ export declare const NavItem: import("react").ForwardRefExoticComponent<HTMLAttributes<NavItemEl> & {
15
+ href?: string;
16
+ label?: string;
17
+ iconStart?: LattyIconName;
18
+ active?: boolean;
19
+ disabled?: boolean;
20
+ open?: boolean;
21
+ orientation?: NavItemEl["orientation"];
22
+ onNavItemClick?: (event: CustomEvent) => void;
23
+ onNavCollapse?: (event: CustomEvent) => void;
24
+ } & import("react").RefAttributes<NavItemEl>>;
@@ -0,0 +1 @@
1
+ export { NavItem, type NavItemProps } from './NavItem';
@@ -0,0 +1,16 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Pagination as PaginationEl } from '@latty-ds/web';
3
+ export type PaginationProps = Omit<HTMLAttributes<PaginationEl>, 'onChange'> & {
4
+ page?: number;
5
+ totalPages?: number;
6
+ size?: PaginationEl['size'];
7
+ disabled?: boolean;
8
+ onChange?: (event: CustomEvent) => void;
9
+ };
10
+ export declare const Pagination: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<PaginationEl>, "onChange"> & {
11
+ page?: number;
12
+ totalPages?: number;
13
+ size?: PaginationEl["size"];
14
+ disabled?: boolean;
15
+ onChange?: (event: CustomEvent) => void;
16
+ } & import("react").RefAttributes<PaginationEl>>;
@@ -0,0 +1 @@
1
+ export { Pagination, type PaginationProps } from './Pagination';
@@ -0,0 +1,16 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Progress as ProgressEl } from '@latty-ds/web';
3
+ export type ProgressProps = HTMLAttributes<ProgressEl> & {
4
+ value?: number;
5
+ variant?: ProgressEl['variant'];
6
+ size?: ProgressEl['size'];
7
+ label?: string;
8
+ indeterminate?: boolean;
9
+ };
10
+ export declare const Progress: import("react").ForwardRefExoticComponent<HTMLAttributes<ProgressEl> & {
11
+ value?: number;
12
+ variant?: ProgressEl["variant"];
13
+ size?: ProgressEl["size"];
14
+ label?: string;
15
+ indeterminate?: boolean;
16
+ } & import("react").RefAttributes<ProgressEl>>;
@@ -0,0 +1 @@
1
+ export { Progress, type ProgressProps } from './Progress';
@@ -0,0 +1,26 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Radio as RadioEl } from '@latty-ds/web';
3
+ export type RadioProps = Omit<HTMLAttributes<RadioEl>, 'onChange'> & {
4
+ variant?: RadioEl['variant'];
5
+ size?: RadioEl['size'];
6
+ checked?: boolean;
7
+ disabled?: boolean;
8
+ required?: boolean;
9
+ label?: string;
10
+ labelPosition?: RadioEl['labelPosition'];
11
+ name?: string;
12
+ value?: string;
13
+ onChange?: (event: CustomEvent) => void;
14
+ };
15
+ export declare const Radio: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<RadioEl>, "onChange"> & {
16
+ variant?: RadioEl["variant"];
17
+ size?: RadioEl["size"];
18
+ checked?: boolean;
19
+ disabled?: boolean;
20
+ required?: boolean;
21
+ label?: string;
22
+ labelPosition?: RadioEl["labelPosition"];
23
+ name?: string;
24
+ value?: string;
25
+ onChange?: (event: CustomEvent) => void;
26
+ } & import("react").RefAttributes<RadioEl>>;
@@ -0,0 +1 @@
1
+ export { Radio, type RadioProps } from './Radio';
@@ -0,0 +1,22 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { RadioGroup as RadioGroupEl } from '@latty-ds/web';
3
+ export type RadioGroupProps = Omit<HTMLAttributes<RadioGroupEl>, 'onChange'> & {
4
+ label?: string;
5
+ name?: string;
6
+ value?: string;
7
+ orientation?: RadioGroupEl['orientation'];
8
+ helperText?: string;
9
+ error?: boolean;
10
+ required?: boolean;
11
+ onChange?: (event: CustomEvent) => void;
12
+ };
13
+ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<RadioGroupEl>, "onChange"> & {
14
+ label?: string;
15
+ name?: string;
16
+ value?: string;
17
+ orientation?: RadioGroupEl["orientation"];
18
+ helperText?: string;
19
+ error?: boolean;
20
+ required?: boolean;
21
+ onChange?: (event: CustomEvent) => void;
22
+ } & import("react").RefAttributes<RadioGroupEl>>;
@@ -0,0 +1 @@
1
+ export { RadioGroup, type RadioGroupProps } from './RadioGroup';
@@ -0,0 +1,26 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Select as SelectEl } from '@latty-ds/web';
3
+ export type SelectProps = Omit<HTMLAttributes<SelectEl>, 'onChange'> & {
4
+ variant?: SelectEl['variant'];
5
+ size?: SelectEl['size'];
6
+ value?: string;
7
+ placeholder?: string;
8
+ label?: string;
9
+ helperText?: string;
10
+ disabled?: boolean;
11
+ required?: boolean;
12
+ options?: SelectEl['options'];
13
+ onChange?: (event: CustomEvent) => void;
14
+ };
15
+ export declare const Select: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<SelectEl>, "onChange"> & {
16
+ variant?: SelectEl["variant"];
17
+ size?: SelectEl["size"];
18
+ value?: string;
19
+ placeholder?: string;
20
+ label?: string;
21
+ helperText?: string;
22
+ disabled?: boolean;
23
+ required?: boolean;
24
+ options?: SelectEl["options"];
25
+ onChange?: (event: CustomEvent) => void;
26
+ } & import("react").RefAttributes<SelectEl>>;
@@ -0,0 +1 @@
1
+ export { Select, type SelectProps } from './Select';
@@ -0,0 +1,22 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { SidePanel as SidePanelEl } from '@latty-ds/web';
3
+ export type SidePanelProps = HTMLAttributes<SidePanelEl> & {
4
+ open?: boolean;
5
+ anchor?: SidePanelEl['anchor'];
6
+ size?: string;
7
+ label?: string;
8
+ noCloseButton?: boolean;
9
+ backdropBlur?: boolean;
10
+ overlayOpacity?: number;
11
+ onClose?: (event: CustomEvent) => void;
12
+ };
13
+ export declare const SidePanel: import("react").ForwardRefExoticComponent<HTMLAttributes<SidePanelEl> & {
14
+ open?: boolean;
15
+ anchor?: SidePanelEl["anchor"];
16
+ size?: string;
17
+ label?: string;
18
+ noCloseButton?: boolean;
19
+ backdropBlur?: boolean;
20
+ overlayOpacity?: number;
21
+ onClose?: (event: CustomEvent) => void;
22
+ } & import("react").RefAttributes<SidePanelEl>>;
@@ -0,0 +1 @@
1
+ export { SidePanel, type SidePanelProps } from './SidePanel';
@@ -0,0 +1,14 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Skeleton as SkeletonEl } from '@latty-ds/web';
3
+ export type SkeletonProps = HTMLAttributes<SkeletonEl> & {
4
+ shape?: SkeletonEl['shape'];
5
+ width?: string;
6
+ height?: string;
7
+ animated?: boolean;
8
+ };
9
+ export declare const Skeleton: import("react").ForwardRefExoticComponent<HTMLAttributes<SkeletonEl> & {
10
+ shape?: SkeletonEl["shape"];
11
+ width?: string;
12
+ height?: string;
13
+ animated?: boolean;
14
+ } & import("react").RefAttributes<SkeletonEl>>;
@@ -0,0 +1 @@
1
+ export { Skeleton, type SkeletonProps } from './Skeleton';
@@ -0,0 +1,28 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Slider as SliderEl } from '@latty-ds/web';
3
+ export type SliderProps = Omit<HTMLAttributes<SliderEl>, 'onInput' | 'onChange'> & {
4
+ size?: SliderEl['size'];
5
+ disabled?: boolean;
6
+ tooltip?: boolean;
7
+ min?: number;
8
+ max?: number;
9
+ step?: number;
10
+ value?: number;
11
+ label?: string;
12
+ name?: string;
13
+ onInput?: (event: CustomEvent) => void;
14
+ onChange?: (event: CustomEvent) => void;
15
+ };
16
+ export declare const Slider: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<SliderEl>, "onChange" | "onInput"> & {
17
+ size?: SliderEl["size"];
18
+ disabled?: boolean;
19
+ tooltip?: boolean;
20
+ min?: number;
21
+ max?: number;
22
+ step?: number;
23
+ value?: number;
24
+ label?: string;
25
+ name?: string;
26
+ onInput?: (event: CustomEvent) => void;
27
+ onChange?: (event: CustomEvent) => void;
28
+ } & import("react").RefAttributes<SliderEl>>;
@@ -0,0 +1 @@
1
+ export { Slider, type SliderProps } from './Slider';
@@ -0,0 +1,24 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Snackbar as SnackbarEl, LattyIconName } from '@latty-ds/web';
3
+ export type SnackbarProps = HTMLAttributes<SnackbarEl> & {
4
+ variant?: SnackbarEl['variant'];
5
+ duration?: number;
6
+ open?: boolean;
7
+ closable?: boolean;
8
+ actionLabel?: string;
9
+ icon?: LattyIconName;
10
+ onShow?: (event: CustomEvent) => void;
11
+ onHide?: (event: CustomEvent) => void;
12
+ onAction?: (event: CustomEvent) => void;
13
+ };
14
+ export declare const Snackbar: import("react").ForwardRefExoticComponent<HTMLAttributes<SnackbarEl> & {
15
+ variant?: SnackbarEl["variant"];
16
+ duration?: number;
17
+ open?: boolean;
18
+ closable?: boolean;
19
+ actionLabel?: string;
20
+ icon?: LattyIconName;
21
+ onShow?: (event: CustomEvent) => void;
22
+ onHide?: (event: CustomEvent) => void;
23
+ onAction?: (event: CustomEvent) => void;
24
+ } & import("react").RefAttributes<SnackbarEl>>;
@@ -0,0 +1 @@
1
+ export { Snackbar, type SnackbarProps } from './Snackbar';
@@ -0,0 +1,10 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Spinner as SpinnerEl } from '@latty-ds/web';
3
+ export type SpinnerProps = HTMLAttributes<SpinnerEl> & {
4
+ size?: SpinnerEl['size'];
5
+ variant?: SpinnerEl['variant'];
6
+ };
7
+ export declare const Spinner: import("react").ForwardRefExoticComponent<HTMLAttributes<SpinnerEl> & {
8
+ size?: SpinnerEl["size"];
9
+ variant?: SpinnerEl["variant"];
10
+ } & import("react").RefAttributes<SpinnerEl>>;
@@ -0,0 +1 @@
1
+ export { Spinner, type SpinnerProps } from './Spinner';
@@ -0,0 +1,12 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Surface as SurfaceEl } from '@latty-ds/web';
3
+ export type SurfaceProps = HTMLAttributes<SurfaceEl> & {
4
+ elevation?: SurfaceEl['elevation'];
5
+ appearance?: SurfaceEl['appearance'];
6
+ background?: string;
7
+ };
8
+ export declare const Surface: import("react").ForwardRefExoticComponent<HTMLAttributes<SurfaceEl> & {
9
+ elevation?: SurfaceEl["elevation"];
10
+ appearance?: SurfaceEl["appearance"];
11
+ background?: string;
12
+ } & import("react").RefAttributes<SurfaceEl>>;
@@ -0,0 +1 @@
1
+ export { Surface, type SurfaceProps } from './Surface';
@@ -0,0 +1,26 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Switch as SwitchEl } from '@latty-ds/web';
3
+ export type SwitchProps = Omit<HTMLAttributes<SwitchEl>, 'onChange'> & {
4
+ variant?: SwitchEl['variant'];
5
+ size?: SwitchEl['size'];
6
+ checked?: boolean;
7
+ disabled?: boolean;
8
+ required?: boolean;
9
+ label?: string;
10
+ labelPosition?: SwitchEl['labelPosition'];
11
+ name?: string;
12
+ value?: string;
13
+ onChange?: (event: CustomEvent) => void;
14
+ };
15
+ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<SwitchEl>, "onChange"> & {
16
+ variant?: SwitchEl["variant"];
17
+ size?: SwitchEl["size"];
18
+ checked?: boolean;
19
+ disabled?: boolean;
20
+ required?: boolean;
21
+ label?: string;
22
+ labelPosition?: SwitchEl["labelPosition"];
23
+ name?: string;
24
+ value?: string;
25
+ onChange?: (event: CustomEvent) => void;
26
+ } & import("react").RefAttributes<SwitchEl>>;
@@ -0,0 +1 @@
1
+ export { Switch, type SwitchProps } from './Switch';
@@ -0,0 +1,20 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Tab as TabEl, LattyIconName } from '@latty-ds/web';
3
+ export type TabProps = HTMLAttributes<TabEl> & {
4
+ label?: string;
5
+ value?: string;
6
+ iconStart?: LattyIconName;
7
+ active?: boolean;
8
+ disabled?: boolean;
9
+ size?: TabEl['size'];
10
+ onTabClick?: (event: CustomEvent) => void;
11
+ };
12
+ export declare const Tab: import("react").ForwardRefExoticComponent<HTMLAttributes<TabEl> & {
13
+ label?: string;
14
+ value?: string;
15
+ iconStart?: LattyIconName;
16
+ active?: boolean;
17
+ disabled?: boolean;
18
+ size?: TabEl["size"];
19
+ onTabClick?: (event: CustomEvent) => void;
20
+ } & import("react").RefAttributes<TabEl>>;
@@ -0,0 +1 @@
1
+ export { Tab, type TabProps } from './Tab';
@@ -0,0 +1,14 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { TabGroup as TabGroupEl } from '@latty-ds/web';
3
+ export type TabGroupProps = Omit<HTMLAttributes<TabGroupEl>, 'onChange'> & {
4
+ value?: string;
5
+ appearance?: TabGroupEl['appearance'];
6
+ size?: TabGroupEl['size'];
7
+ onChange?: (event: CustomEvent) => void;
8
+ };
9
+ export declare const TabGroup: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<TabGroupEl>, "onChange"> & {
10
+ value?: string;
11
+ appearance?: TabGroupEl["appearance"];
12
+ size?: TabGroupEl["size"];
13
+ onChange?: (event: CustomEvent) => void;
14
+ } & import("react").RefAttributes<TabGroupEl>>;
@@ -0,0 +1 @@
1
+ export { TabGroup, type TabGroupProps } from './TabGroup';
@@ -0,0 +1,10 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { TabPanel as TabPanelEl } from '@latty-ds/web';
3
+ export type TabPanelProps = HTMLAttributes<TabPanelEl> & {
4
+ value?: string;
5
+ active?: boolean;
6
+ };
7
+ export declare const TabPanel: import("react").ForwardRefExoticComponent<HTMLAttributes<TabPanelEl> & {
8
+ value?: string;
9
+ active?: boolean;
10
+ } & import("react").RefAttributes<TabPanelEl>>;
@@ -0,0 +1 @@
1
+ export { TabPanel, type TabPanelProps } from './TabPanel';
@@ -0,0 +1,30 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Table as TableEl } from '@latty-ds/web';
3
+ export type TableProps = HTMLAttributes<TableEl> & {
4
+ columns?: TableEl['columns'];
5
+ data?: TableEl['data'];
6
+ density?: TableEl['density'];
7
+ responsiveMode?: TableEl['responsiveMode'];
8
+ hoverable?: boolean;
9
+ striped?: boolean;
10
+ bordered?: boolean;
11
+ loading?: boolean;
12
+ emptyMessage?: string;
13
+ rowKey?: string;
14
+ sort?: TableEl['sort'];
15
+ onSortChange?: (event: CustomEvent) => void;
16
+ };
17
+ export declare const Table: import("react").ForwardRefExoticComponent<HTMLAttributes<TableEl<Record<string, unknown>>> & {
18
+ columns?: TableEl["columns"];
19
+ data?: TableEl["data"];
20
+ density?: TableEl["density"];
21
+ responsiveMode?: TableEl["responsiveMode"];
22
+ hoverable?: boolean;
23
+ striped?: boolean;
24
+ bordered?: boolean;
25
+ loading?: boolean;
26
+ emptyMessage?: string;
27
+ rowKey?: string;
28
+ sort?: TableEl["sort"];
29
+ onSortChange?: (event: CustomEvent) => void;
30
+ } & import("react").RefAttributes<TableEl<Record<string, unknown>>>>;
@@ -0,0 +1 @@
1
+ export { Table, type TableProps } from './Table';
@@ -0,0 +1,10 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Text as TextEl } from '@latty-ds/web';
3
+ export type TextProps = HTMLAttributes<TextEl> & {
4
+ variant?: TextEl['variant'];
5
+ as?: TextEl['as'];
6
+ };
7
+ export declare const Text: import("react").ForwardRefExoticComponent<HTMLAttributes<TextEl> & {
8
+ variant?: TextEl["variant"];
9
+ as?: TextEl["as"];
10
+ } & import("react").RefAttributes<TextEl>>;
@@ -0,0 +1 @@
1
+ export { Text, type TextProps } from './Text';
@@ -0,0 +1,40 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Textfield as TextfieldEl, LattyIconName } from '@latty-ds/web';
3
+ export type TextfieldProps = Omit<HTMLAttributes<TextfieldEl>, 'onInput' | 'onChange'> & {
4
+ variant?: TextfieldEl['variant'];
5
+ size?: TextfieldEl['size'];
6
+ type?: TextfieldEl['type'];
7
+ value?: string;
8
+ placeholder?: string;
9
+ label?: string;
10
+ helperText?: TextfieldEl['helperText'];
11
+ disabled?: boolean;
12
+ required?: boolean;
13
+ readonly?: boolean;
14
+ iconStart?: LattyIconName;
15
+ rows?: number;
16
+ min?: TextfieldEl['min'];
17
+ max?: TextfieldEl['max'];
18
+ uppercase?: boolean;
19
+ onInput?: (event: CustomEvent) => void;
20
+ onChange?: (event: CustomEvent) => void;
21
+ };
22
+ export declare const Textfield: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<TextfieldEl>, "onChange" | "onInput"> & {
23
+ variant?: TextfieldEl["variant"];
24
+ size?: TextfieldEl["size"];
25
+ type?: TextfieldEl["type"];
26
+ value?: string;
27
+ placeholder?: string;
28
+ label?: string;
29
+ helperText?: TextfieldEl["helperText"];
30
+ disabled?: boolean;
31
+ required?: boolean;
32
+ readonly?: boolean;
33
+ iconStart?: LattyIconName;
34
+ rows?: number;
35
+ min?: TextfieldEl["min"];
36
+ max?: TextfieldEl["max"];
37
+ uppercase?: boolean;
38
+ onInput?: (event: CustomEvent) => void;
39
+ onChange?: (event: CustomEvent) => void;
40
+ } & import("react").RefAttributes<TextfieldEl>>;
@@ -0,0 +1 @@
1
+ export { Textfield, type TextfieldProps } from './Textfield';
@@ -0,0 +1,16 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import type { Tooltip as TooltipEl } from '@latty-ds/web';
3
+ export type TooltipProps = HTMLAttributes<TooltipEl> & {
4
+ content?: string;
5
+ placement?: TooltipEl['placement'];
6
+ disabled?: boolean;
7
+ background?: string;
8
+ color?: string;
9
+ };
10
+ export declare const Tooltip: import("react").ForwardRefExoticComponent<HTMLAttributes<TooltipEl> & {
11
+ content?: string;
12
+ placement?: TooltipEl["placement"];
13
+ disabled?: boolean;
14
+ background?: string;
15
+ color?: string;
16
+ } & import("react").RefAttributes<TooltipEl>>;
@@ -0,0 +1 @@
1
+ export { Tooltip, type TooltipProps } from './Tooltip';