pallote-react 0.15.18 → 0.16.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 (49) hide show
  1. package/dist/components/Alert.d.ts +16 -0
  2. package/dist/components/Breadcrumbs.d.ts +12 -0
  3. package/dist/components/Button.d.ts +19 -0
  4. package/dist/components/Buttons.d.ts +11 -0
  5. package/dist/components/Card.d.ts +17 -0
  6. package/dist/components/CardActions.d.ts +9 -0
  7. package/dist/components/CardContent.d.ts +7 -0
  8. package/dist/components/CardHeader.d.ts +12 -0
  9. package/dist/components/CardMedia.d.ts +9 -0
  10. package/dist/components/Checkbox.d.ts +13 -0
  11. package/dist/components/Checkboxes.d.ts +17 -0
  12. package/dist/components/Divider.d.ts +10 -0
  13. package/dist/components/Input.d.ts +20 -0
  14. package/dist/components/InputLabel.d.ts +9 -0
  15. package/dist/components/Link.d.ts +13 -0
  16. package/dist/components/List.d.ts +7 -0
  17. package/dist/components/ListItem.d.ts +11 -0
  18. package/dist/components/Nav.d.ts +10 -0
  19. package/dist/components/NavBar.d.ts +11 -0
  20. package/dist/components/NavItem.d.ts +13 -0
  21. package/dist/components/Radio.d.ts +14 -0
  22. package/dist/components/RadioButtons.d.ts +17 -0
  23. package/dist/components/Section.d.ts +13 -0
  24. package/dist/components/SectionContent.d.ts +9 -0
  25. package/dist/components/SectionHeader.d.ts +13 -0
  26. package/dist/components/Select.d.ts +16 -0
  27. package/dist/components/Snippet.d.ts +8 -0
  28. package/dist/components/Status.d.ts +10 -0
  29. package/dist/components/Switch.d.ts +9 -0
  30. package/dist/components/Tab.d.ts +6 -0
  31. package/dist/components/Table.d.ts +12 -0
  32. package/dist/components/TableBody.d.ts +6 -0
  33. package/dist/components/TableCell.d.ts +9 -0
  34. package/dist/components/TableFooter.d.ts +5 -0
  35. package/dist/components/TableHead.d.ts +7 -0
  36. package/dist/components/TableRow.d.ts +6 -0
  37. package/dist/components/Tabs.d.ts +16 -0
  38. package/dist/components/TabsControl.d.ts +6 -0
  39. package/dist/components/TabsPanel.d.ts +7 -0
  40. package/dist/components/Tag.d.ts +10 -0
  41. package/dist/components/Textarea.d.ts +16 -0
  42. package/dist/index.d.ts +90 -0
  43. package/dist/index.js +927 -2924
  44. package/dist/package.json +6 -3
  45. package/dist/utilities/Color.d.ts +18 -0
  46. package/dist/utilities/Display.d.ts +10 -0
  47. package/dist/utilities/Grid.d.ts +24 -0
  48. package/dist/utilities/Text.d.ts +23 -0
  49. package/package.json +10 -6
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'react';
2
+ type AlertColor = 'success' | 'info' | 'warning' | 'error';
3
+ type AlertVariant = 'bar' | 'toast' | 'notice';
4
+ export interface AlertProps extends HTMLAttributes<HTMLDivElement> {
5
+ color?: AlertColor;
6
+ variant?: AlertVariant;
7
+ title: string;
8
+ subtitle?: string;
9
+ dense?: boolean;
10
+ noIcon?: boolean;
11
+ show?: boolean;
12
+ onClose?: () => void;
13
+ className?: string;
14
+ }
15
+ export declare const Alert: ({ color, variant, title, subtitle, dense, noIcon, show, onClose, className, ...props }: AlertProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,12 @@
1
+ type BreadcrumbSeparator = 'slash' | 'arrow';
2
+ interface BreadcrumbItem {
3
+ label: string;
4
+ href?: string;
5
+ }
6
+ export interface BreadcrumbsProps {
7
+ items: BreadcrumbItem[];
8
+ separator?: BreadcrumbSeparator;
9
+ className?: string;
10
+ }
11
+ export declare const Breadcrumbs: ({ items, separator, className }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,19 @@
1
+ import { ElementType, ReactNode, ComponentPropsWithoutRef } from 'react';
2
+ type ButtonKind = 'text' | 'icon';
3
+ type ButtonVariant = 'fill' | 'stroke' | 'transparent';
4
+ type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
5
+ type ButtonColor = 'primary' | 'secondary' | 'grey' | 'success' | 'info' | 'warning' | 'error' | 'main' | 'contrast';
6
+ type ButtonType = 'button' | 'submit' | 'reset';
7
+ export interface ButtonProps extends Omit<ComponentPropsWithoutRef<'button'>, 'type' | 'color'> {
8
+ component?: ElementType;
9
+ kind?: ButtonKind;
10
+ variant?: ButtonVariant;
11
+ size?: ButtonSize;
12
+ color?: ButtonColor;
13
+ fullWidth?: boolean;
14
+ iconLeft?: ReactNode;
15
+ iconRight?: ReactNode;
16
+ type?: ButtonType;
17
+ }
18
+ export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
19
+ export {};
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ type ButtonsDirection = 'landscape' | 'portrait';
3
+ export interface ButtonsProps extends HTMLAttributes<HTMLDivElement> {
4
+ direction?: ButtonsDirection;
5
+ fullWidth?: boolean;
6
+ wide?: boolean;
7
+ className?: string;
8
+ children: ReactNode;
9
+ }
10
+ export declare const Buttons: ({ direction, fullWidth, wide, className, children, ...props }: ButtonsProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ type CardSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
+ type CardFill = 'default' | 'paper' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'error';
4
+ type CardDirection = 'portrait' | 'landscape';
5
+ type CardAlign = 'left' | 'center' | 'right';
6
+ export interface CardProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: CardSize;
8
+ fill?: CardFill;
9
+ direction?: CardDirection;
10
+ align?: CardAlign;
11
+ hasShadow?: boolean;
12
+ transparent?: boolean;
13
+ className?: string;
14
+ children: ReactNode;
15
+ }
16
+ export declare const Card: ({ size, fill, direction, align, hasShadow, transparent, className, children, ...props }: CardProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ type CardActionsDirection = 'portrait' | 'landscape';
3
+ export interface CardActionsProps extends HTMLAttributes<HTMLDivElement> {
4
+ direction?: CardActionsDirection;
5
+ className?: string;
6
+ children: ReactNode;
7
+ }
8
+ export declare const CardActions: ({ direction, className, children, ...props }: CardActionsProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface CardContentProps extends HTMLAttributes<HTMLDivElement> {
3
+ fullWidth?: boolean;
4
+ className?: string;
5
+ children: ReactNode;
6
+ }
7
+ export declare const CardContent: ({ fullWidth, className, children, ...props }: CardContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import React, { HTMLAttributes, ReactElement } from 'react';
2
+ export interface CardHeaderProps extends HTMLAttributes<HTMLDivElement> {
3
+ icon?: ReactElement<{
4
+ className?: string;
5
+ }>;
6
+ label?: string;
7
+ title: string;
8
+ subtitle?: string;
9
+ actions?: React.ReactNode;
10
+ className?: string;
11
+ }
12
+ export declare const CardHeader: ({ icon, label, title, subtitle, actions, className, ...props }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface CardMediaProps extends HTMLAttributes<HTMLDivElement> {
3
+ width?: number;
4
+ height?: number;
5
+ image: string;
6
+ fullWidth?: boolean;
7
+ className?: string;
8
+ }
9
+ export declare const CardMedia: ({ width, height, image, fullWidth, className, ...props }: CardMediaProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { InputHTMLAttributes, ChangeEvent } from 'react';
2
+ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
3
+ id: string;
4
+ value: string;
5
+ label: string;
6
+ checked?: boolean;
7
+ disabled?: boolean;
8
+ optional?: boolean;
9
+ dense?: boolean;
10
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
11
+ className?: string;
12
+ }
13
+ export declare const Checkbox: ({ id, value, label, checked, disabled, optional, dense, onChange, className, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ type CheckboxesDirection = 'portrait' | 'landscape';
3
+ export interface CheckboxesProps {
4
+ id: string;
5
+ label?: string;
6
+ direction?: CheckboxesDirection;
7
+ error?: boolean;
8
+ disabled?: boolean;
9
+ optional?: boolean;
10
+ dense?: boolean;
11
+ hint?: string;
12
+ hideLabel?: boolean;
13
+ children: ReactNode;
14
+ className?: string;
15
+ }
16
+ export declare const Checkboxes: ({ id, label, direction, error, disabled, optional, dense, hint, hideLabel, children, className }: CheckboxesProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ type DividerDirection = 'landscape' | 'portrait';
3
+ type DividerPadding = 'none' | 'sm' | 'md' | 'lg';
4
+ export interface DividerProps extends HTMLAttributes<HTMLDivElement> {
5
+ direction?: DividerDirection;
6
+ padding?: DividerPadding;
7
+ className?: string;
8
+ }
9
+ export declare const Divider: ({ direction, padding, className, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,20 @@
1
+ import { InputHTMLAttributes, ReactNode, ChangeEvent } from 'react';
2
+ type InputType = 'date' | 'email' | 'number' | 'tel' | 'text' | 'time';
3
+ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'type'> {
4
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
5
+ type?: InputType;
6
+ id: string;
7
+ placeholder?: string;
8
+ label?: string;
9
+ icon?: ReactNode;
10
+ isFocused?: boolean;
11
+ error?: boolean;
12
+ disabled?: boolean;
13
+ optional?: boolean;
14
+ dense?: boolean;
15
+ hint?: string;
16
+ hideLabel?: boolean;
17
+ className?: string;
18
+ }
19
+ export declare const Input: ({ onChange, type, id, placeholder, label, icon, isFocused, error, disabled, optional, dense, hint, hideLabel, className, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface InputLabelProps {
2
+ isLegend?: boolean;
3
+ htmlFor?: string;
4
+ label?: string;
5
+ hint?: string;
6
+ error?: string;
7
+ hideLabel?: boolean;
8
+ }
9
+ export declare const InputLabel: ({ isLegend, htmlFor, label, hint, error, hideLabel }: InputLabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { ElementType, ReactNode, ComponentPropsWithoutRef } from 'react';
2
+ type LinkColor = 'default' | 'alt' | 'disabled' | 'contrast' | 'contrastAlt' | 'contrastDisabled' | 'primary' | 'secondary' | 'inherit';
3
+ export interface LinkProps extends ComponentPropsWithoutRef<'a'> {
4
+ component?: ElementType;
5
+ icon?: ReactNode;
6
+ color?: LinkColor;
7
+ isExternal?: boolean;
8
+ href?: string;
9
+ className?: string;
10
+ children: ReactNode;
11
+ }
12
+ export declare const Link: ({ component, icon, color, isExternal, href, className, children, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface ListProps extends HTMLAttributes<HTMLDivElement> {
3
+ dense?: boolean;
4
+ className?: string;
5
+ children: ReactNode;
6
+ }
7
+ export declare const List: ({ dense, className, children, ...props }: ListProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { ReactElement, ReactNode } from 'react';
2
+ import { TextProps } from '../utilities/Text';
3
+ export interface ListItemProps extends Omit<TextProps, 'children'> {
4
+ icon?: ReactElement<{
5
+ className?: string;
6
+ }>;
7
+ bold?: boolean;
8
+ className?: string;
9
+ children?: ReactNode;
10
+ }
11
+ export declare const ListItem: ({ icon, bold, className, children, ...props }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ type NavDirection = 'portrait' | 'landscape';
3
+ export interface NavProps extends HTMLAttributes<HTMLElement> {
4
+ direction?: NavDirection;
5
+ dense?: boolean;
6
+ className?: string;
7
+ children: ReactNode;
8
+ }
9
+ export declare const Nav: ({ direction, dense, className, children, ...props }: NavProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+ import { SectionProps } from './Section';
3
+ type NavBarAlign = 'left' | 'right';
4
+ export interface NavBarProps extends Omit<SectionProps, 'children'> {
5
+ logo?: ReactNode;
6
+ align?: NavBarAlign;
7
+ className?: string;
8
+ children: ReactNode;
9
+ }
10
+ export declare const NavBar: ({ logo, align, className, children, ...props }: NavBarProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,13 @@
1
+ import { ElementType, ReactNode } from 'react';
2
+ export interface NavItemProps {
3
+ component?: ElementType;
4
+ label: string;
5
+ active?: boolean;
6
+ dropdown?: ReactNode;
7
+ icon?: ReactNode;
8
+ end?: boolean;
9
+ to?: string;
10
+ className?: string;
11
+ [key: string]: unknown;
12
+ }
13
+ export declare const NavItem: ({ component, label, active, dropdown, icon, end, to, className, ...props }: NavItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { InputHTMLAttributes, ChangeEvent } from 'react';
2
+ export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
3
+ id: string;
4
+ name: string;
5
+ value: string;
6
+ label: string;
7
+ checked?: boolean;
8
+ disabled?: boolean;
9
+ optional?: boolean;
10
+ dense?: boolean;
11
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
12
+ className?: string;
13
+ }
14
+ export declare const Radio: ({ id, name, value, label, checked, disabled, optional, dense, onChange, className, ...props }: RadioProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ type RadioButtonsDirection = 'portrait' | 'landscape';
3
+ export interface RadioButtonsProps {
4
+ id: string;
5
+ label?: string;
6
+ direction?: RadioButtonsDirection;
7
+ error?: boolean;
8
+ disabled?: boolean;
9
+ optional?: boolean;
10
+ dense?: boolean;
11
+ hint?: string;
12
+ hideLabel?: boolean;
13
+ children: ReactNode;
14
+ className?: string;
15
+ }
16
+ export declare const RadioButtons: ({ id, label, direction, error, disabled, optional, dense, hint, hideLabel, children, className }: RadioButtonsProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ type SectionAlign = 'left' | 'center' | 'right';
3
+ type SectionColor = 'default' | 'paper' | 'primary' | 'primaryLight';
4
+ export interface SectionProps extends HTMLAttributes<HTMLDivElement> {
5
+ align?: SectionAlign;
6
+ color?: SectionColor;
7
+ landing?: boolean;
8
+ header?: boolean;
9
+ className?: string;
10
+ children: ReactNode;
11
+ }
12
+ export declare const Section: ({ align, color, landing, header, className, children, ...props }: SectionProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ type SectionContentAlign = 'left' | 'center' | 'right';
3
+ export interface SectionContentProps extends HTMLAttributes<HTMLDivElement> {
4
+ align?: SectionContentAlign;
5
+ className?: string;
6
+ children: ReactNode;
7
+ }
8
+ export declare const SectionContent: ({ align, className, children, ...props }: SectionContentProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ type TitleComponent = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
3
+ export interface SectionHeaderProps extends HTMLAttributes<HTMLDivElement> {
4
+ label?: string;
5
+ title: string;
6
+ promoteTitle?: boolean;
7
+ titleComponent?: TitleComponent;
8
+ subtitle?: ReactNode;
9
+ actions?: ReactNode;
10
+ className?: string;
11
+ }
12
+ export declare const SectionHeader: ({ label, title, promoteTitle, titleComponent, subtitle, actions, className, ...props }: SectionHeaderProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,16 @@
1
+ import { SelectHTMLAttributes, ReactNode, ChangeEvent } from 'react';
2
+ export interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'onChange'> {
3
+ onChange?: (e: ChangeEvent<HTMLSelectElement>) => void;
4
+ id: string;
5
+ label?: string;
6
+ isFocused?: boolean;
7
+ error?: boolean;
8
+ disabled?: boolean;
9
+ optional?: boolean;
10
+ dense?: boolean;
11
+ hint?: string;
12
+ hideLabel?: boolean;
13
+ children: ReactNode;
14
+ className?: string;
15
+ }
16
+ export declare const Select: ({ onChange, id, label, isFocused, error, disabled, optional, dense, hint, hideLabel, children, className, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface SnippetProps {
2
+ content?: string;
3
+ isDefault?: boolean;
4
+ dense?: boolean;
5
+ fullWidth?: boolean;
6
+ className?: string;
7
+ }
8
+ export declare const Snippet: ({ content, isDefault, dense, fullWidth, className, ...props }: SnippetProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { ReactNode, HTMLAttributes } from 'react';
2
+ type StatusColor = 'inactive' | 'success' | 'info' | 'warning' | 'error';
3
+ export interface StatusProps extends HTMLAttributes<HTMLElement> {
4
+ color?: StatusColor;
5
+ dense?: boolean;
6
+ className?: string;
7
+ children?: ReactNode;
8
+ }
9
+ export declare const Status: ({ color, dense, className, children, ...props }: StatusProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ export interface SwitchProps extends InputHTMLAttributes<HTMLInputElement> {
3
+ id?: string;
4
+ startLabel?: string;
5
+ endLabel?: string;
6
+ disabled?: boolean;
7
+ className?: string;
8
+ }
9
+ export declare const Switch: ({ id, startLabel, endLabel, disabled, className, ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export interface TabProps {
2
+ index: number;
3
+ label?: string;
4
+ className?: string;
5
+ }
6
+ export declare const Tab: ({ index, label, className, }: TabProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export declare const DenseContext: import("react").Context<boolean>;
3
+ export interface TableProps extends HTMLAttributes<HTMLDivElement> {
4
+ striped?: boolean;
5
+ hasHover?: boolean;
6
+ dense?: boolean;
7
+ border?: boolean;
8
+ withFooter?: boolean;
9
+ className?: string;
10
+ children: ReactNode;
11
+ }
12
+ export declare const Table: ({ striped, hasHover, dense, border, withFooter, className, children, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface TableBodyProps extends HTMLAttributes<HTMLTableSectionElement> {
3
+ className?: string;
4
+ children: ReactNode;
5
+ }
6
+ export declare const TableBody: ({ className, children, ...props }: TableBodyProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { TdHTMLAttributes, ReactNode } from 'react';
2
+ type TableCellKind = 'default' | 'number' | 'action';
3
+ export interface TableCellProps extends TdHTMLAttributes<HTMLTableCellElement> {
4
+ kind?: TableCellKind;
5
+ className?: string;
6
+ children: ReactNode;
7
+ }
8
+ export declare const TableCell: ({ kind, className, children, ...props }: TableCellProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface TableFooterProps extends HTMLAttributes<HTMLDivElement> {
3
+ className?: string;
4
+ }
5
+ export declare const TableFooter: ({ className, ...props }: TableFooterProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export declare const TableCellComponentContext: import("react").Context<"td" | "th">;
3
+ export interface TableHeadProps extends HTMLAttributes<HTMLTableSectionElement> {
4
+ className?: string;
5
+ children: ReactNode;
6
+ }
7
+ export declare const TableHead: ({ className, children, ...props }: TableHeadProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
3
+ className?: string;
4
+ children: ReactNode;
5
+ }
6
+ export declare const TableRow: ({ className, children, ...props }: TableRowProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { ReactNode, Dispatch, SetStateAction } from 'react';
2
+ type TabsDirection = 'portrait' | 'landscape';
3
+ interface TabsContextValue {
4
+ activeIndex: number;
5
+ setActiveIndex: Dispatch<SetStateAction<number>>;
6
+ }
7
+ export declare const TabsContext: import("react").Context<TabsContextValue | null>;
8
+ export interface TabsProps {
9
+ direction?: TabsDirection;
10
+ dense?: boolean;
11
+ hasBorder?: boolean;
12
+ className?: string;
13
+ children: ReactNode;
14
+ }
15
+ export declare const Tabs: ({ direction, dense, hasBorder, className, children }: TabsProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ export interface TabsControlProps {
3
+ className?: string;
4
+ children: ReactNode;
5
+ }
6
+ export declare const TabsControl: ({ className, children, }: TabsControlProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ export interface TabsPanelProps {
3
+ index: number;
4
+ className?: string;
5
+ children: ReactNode;
6
+ }
7
+ export declare const TabsPanel: ({ index, className, children, }: TabsPanelProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,10 @@
1
+ import { ReactNode, HTMLAttributes } from 'react';
2
+ type TagColor = 'primary' | 'secondary' | 'grey' | 'success' | 'info' | 'warning' | 'error';
3
+ export interface TagProps extends HTMLAttributes<HTMLElement> {
4
+ color?: TagColor;
5
+ dense?: boolean;
6
+ className?: string;
7
+ children?: ReactNode;
8
+ }
9
+ export declare const Tag: ({ color, dense, className, children, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,16 @@
1
+ import { TextareaHTMLAttributes, ChangeEvent } from 'react';
2
+ export interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange'> {
3
+ onChange?: (e: ChangeEvent<HTMLTextAreaElement>) => void;
4
+ id: string;
5
+ placeholder?: string;
6
+ label?: string;
7
+ isFocused?: boolean;
8
+ error?: boolean;
9
+ disabled?: boolean;
10
+ optional?: boolean;
11
+ dense?: boolean;
12
+ hint?: string;
13
+ hideLabel?: boolean;
14
+ className?: string;
15
+ }
16
+ export declare const Textarea: ({ onChange, id, placeholder, label, isFocused, error, disabled, optional, dense, hint, hideLabel, className, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,90 @@
1
+ export { Color } from './utilities/Color';
2
+ export { Display } from './utilities/Display';
3
+ export { Grid } from './utilities/Grid';
4
+ export { Text } from './utilities/Text';
5
+ export { Alert } from './components/Alert';
6
+ export { Breadcrumbs } from './components/Breadcrumbs';
7
+ export { Button } from './components/Button';
8
+ export { Buttons } from './components/Buttons';
9
+ export { Card } from './components/Card';
10
+ export { CardActions } from './components/CardActions';
11
+ export { CardContent } from './components/CardContent';
12
+ export { CardHeader } from './components/CardHeader';
13
+ export { CardMedia } from './components/CardMedia';
14
+ export { Checkbox } from './components/Checkbox';
15
+ export { Checkboxes } from './components/Checkboxes';
16
+ export { Divider } from './components/Divider';
17
+ export { Input } from './components/Input';
18
+ export { InputLabel } from './components/InputLabel';
19
+ export { Link } from './components/Link';
20
+ export { List } from './components/List';
21
+ export { ListItem } from './components/ListItem';
22
+ export { Nav } from './components/Nav';
23
+ export { NavBar } from './components/NavBar';
24
+ export { NavItem } from './components/NavItem';
25
+ export { Radio } from './components/Radio';
26
+ export { RadioButtons } from './components/RadioButtons';
27
+ export { Section } from './components/Section';
28
+ export { SectionContent } from './components/SectionContent';
29
+ export { SectionHeader } from './components/SectionHeader';
30
+ export { Select } from './components/Select';
31
+ export { Snippet } from './components/Snippet';
32
+ export { Status } from './components/Status';
33
+ export { Switch } from './components/Switch';
34
+ export { Tab } from './components/Tab';
35
+ export { Table } from './components/Table';
36
+ export { TableBody } from './components/TableBody';
37
+ export { TableCell } from './components/TableCell';
38
+ export { TableFooter } from './components/TableFooter';
39
+ export { TableHead } from './components/TableHead';
40
+ export { TableRow } from './components/TableRow';
41
+ export { Tabs } from './components/Tabs';
42
+ export { TabsControl } from './components/TabsControl';
43
+ export { TabsPanel } from './components/TabsPanel';
44
+ export { Tag } from './components/Tag';
45
+ export { Textarea } from './components/Textarea';
46
+ export type { ColorProps } from './utilities/Color';
47
+ export type { DisplayProps } from './utilities/Display';
48
+ export type { GridProps } from './utilities/Grid';
49
+ export type { TextProps } from './utilities/Text';
50
+ export type { AlertProps } from './components/Alert';
51
+ export type { BreadcrumbsProps } from './components/Breadcrumbs';
52
+ export type { ButtonProps } from './components/Button';
53
+ export type { ButtonsProps } from './components/Buttons';
54
+ export type { CardProps } from './components/Card';
55
+ export type { CardActionsProps } from './components/CardActions';
56
+ export type { CardContentProps } from './components/CardContent';
57
+ export type { CardHeaderProps } from './components/CardHeader';
58
+ export type { CardMediaProps } from './components/CardMedia';
59
+ export type { CheckboxProps } from './components/Checkbox';
60
+ export type { CheckboxesProps } from './components/Checkboxes';
61
+ export type { DividerProps } from './components/Divider';
62
+ export type { InputProps } from './components/Input';
63
+ export type { InputLabelProps } from './components/InputLabel';
64
+ export type { LinkProps } from './components/Link';
65
+ export type { ListProps } from './components/List';
66
+ export type { ListItemProps } from './components/ListItem';
67
+ export type { NavProps } from './components/Nav';
68
+ export type { NavBarProps } from './components/NavBar';
69
+ export type { NavItemProps } from './components/NavItem';
70
+ export type { RadioProps } from './components/Radio';
71
+ export type { RadioButtonsProps } from './components/RadioButtons';
72
+ export type { SectionProps } from './components/Section';
73
+ export type { SectionContentProps } from './components/SectionContent';
74
+ export type { SectionHeaderProps } from './components/SectionHeader';
75
+ export type { SelectProps } from './components/Select';
76
+ export type { SnippetProps } from './components/Snippet';
77
+ export type { StatusProps } from './components/Status';
78
+ export type { SwitchProps } from './components/Switch';
79
+ export type { TabProps } from './components/Tab';
80
+ export type { TableProps } from './components/Table';
81
+ export type { TableBodyProps } from './components/TableBody';
82
+ export type { TableCellProps } from './components/TableCell';
83
+ export type { TableFooterProps } from './components/TableFooter';
84
+ export type { TableHeadProps } from './components/TableHead';
85
+ export type { TableRowProps } from './components/TableRow';
86
+ export type { TabsProps } from './components/Tabs';
87
+ export type { TabsControlProps } from './components/TabsControl';
88
+ export type { TabsPanelProps } from './components/TabsPanel';
89
+ export type { TagProps } from './components/Tag';
90
+ export type { TextareaProps } from './components/Textarea';