@devsisters/dwds-react
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -239,2 +239,14 @@ import * as React from 'react'; | ||
} | ||
interface TextAreaProps extends HTMLAttributes<HTMLTextAreaElement> { | ||
name?: string; | ||
size?: 'tiny' | 'small' | 'medium' | 'large'; | ||
isFull?: boolean; | ||
label?: string; | ||
error?: string; | ||
required?: boolean; | ||
disabled?: boolean; | ||
value?: string; | ||
ref?: React__default.Ref<HTMLTextAreaElement>; | ||
onChange?: ChangeEventHandler<HTMLTextAreaElement>; | ||
} | ||
interface FileInputProps extends InputAttributesOmitType { | ||
@@ -281,2 +293,7 @@ name?: string; | ||
declare function TextArea(props: TextAreaProps): JSX.Element; | ||
declare namespace TextArea { | ||
var displayName: string; | ||
} | ||
type Size = 'small' | 'medium' | 'large'; | ||
@@ -301,3 +318,3 @@ type Value = string; | ||
type?: 'full' | 'fixed'; | ||
direction?: 'right' | 'left'; | ||
direction?: 'topRight' | 'topLeft' | 'bottomRight' | 'bottomLeft'; | ||
} | ||
@@ -385,2 +402,3 @@ declare function Select(props: SelectProps): JSX.Element; | ||
type AlignType = 'left' | 'center' | 'right'; | ||
interface Column { | ||
@@ -393,2 +411,3 @@ id: string; | ||
sortingFunction?: ((a: any, b: any) => number) | BuiltInSortingFn; | ||
align?: AlignType; | ||
} | ||
@@ -408,2 +427,5 @@ interface DataType { | ||
sortable?: boolean; | ||
resizable?: boolean; | ||
overflow?: 'line-break' | 'ellipsis'; | ||
align?: AlignType; | ||
} | ||
@@ -432,2 +454,3 @@ declare function DataTable(props: DataTableProps): JSX.Element; | ||
fixedFirstColumn?: boolean; | ||
align?: 'left' | 'center' | 'right'; | ||
} | ||
@@ -459,2 +482,2 @@ declare function Table(props: TableProps): JSX.Element; | ||
export { Accordian, AccordianProps, Badge, BadgeProps, Breadcrumb, BreadcrumbProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipProps, DataTable, DataTableProps, Divider, DividerProps, FileInput, FileInputProps, IconButton, IconButtonProps, Label, LabelProps, Modal, ModalProps, ModalProvider, NoDataRow, NoDataRowProps, Pagination, PaginationProps, Progress, ProgressProps, Radio, RadioGroup, RadioGroupProps, RadioProps, ScrollArea, ScrollAreaProps, SearchInput, SearchInputProps, Select, SelectProps, Switch, SwitchProps, Tab, TabProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, TextInput, TextInputProps, ThemeButton, ThemeButtonProps, Toast, ToastProps, Tooltip, TooltipProps, showModal }; | ||
export { Accordian, AccordianProps, Badge, BadgeProps, Breadcrumb, BreadcrumbProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipProps, DataTable, DataTableProps, Divider, DividerProps, FileInput, FileInputProps, IconButton, IconButtonProps, Label, LabelProps, Modal, ModalProps, ModalProvider, NoDataRow, NoDataRowProps, Pagination, PaginationProps, Progress, ProgressProps, Radio, RadioGroup, RadioGroupProps, RadioProps, ScrollArea, ScrollAreaProps, SearchInput, SearchInputProps, Select, SelectProps, Switch, SwitchProps, Tab, TabProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, TextArea, TextAreaProps, TextInput, TextInputProps, ThemeButton, ThemeButtonProps, Toast, ToastProps, Tooltip, TooltipProps, showModal }; |
{ | ||
"name": "@devsisters/dwds-react", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1164125
29059