@delightui/components 0.1.23 → 0.1.25
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/cjs/components/atoms/List/components/{ListItem.d.ts → RootListItem.d.ts} +1 -1
- package/dist/cjs/components/atoms/ListItem/ListItem.d.ts +4 -0
- package/dist/cjs/components/atoms/ListItem/ListItem.types.d.ts +23 -0
- package/dist/cjs/components/atoms/ListItem/index.d.ts +4 -0
- package/dist/cjs/components/atoms/index.d.ts +2 -0
- package/dist/cjs/components/molecules/DatePicker/Plugins/utils.d.ts +1 -2
- package/dist/cjs/library.css +54 -1
- package/dist/cjs/library.js +3 -3
- package/dist/cjs/library.js.map +1 -1
- package/dist/esm/components/atoms/List/components/{ListItem.d.ts → RootListItem.d.ts} +1 -1
- package/dist/esm/components/atoms/ListItem/ListItem.d.ts +4 -0
- package/dist/esm/components/atoms/ListItem/ListItem.types.d.ts +23 -0
- package/dist/esm/components/atoms/ListItem/index.d.ts +4 -0
- package/dist/esm/components/atoms/index.d.ts +2 -0
- package/dist/esm/components/molecules/DatePicker/Plugins/utils.d.ts +1 -2
- package/dist/esm/library.css +54 -1
- package/dist/esm/library.js +3 -3
- package/dist/esm/library.js.map +1 -1
- package/dist/index.d.ts +26 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -477,6 +477,31 @@ type BreakpointProps<T> = {
|
|
|
477
477
|
declare const Breakpoint: <T>({ children }: BreakpointProps<T>) => React$1.JSX.Element;
|
|
478
478
|
declare const ResponsiveComponent: <T>(props: ResponsiveComponentProps<T>) => React$1.JSX.Element;
|
|
479
479
|
|
|
480
|
+
type ListItemProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
481
|
+
/**
|
|
482
|
+
* Icon to be displayed before the button's content.
|
|
483
|
+
*/
|
|
484
|
+
leadingIcon?: ReactNode;
|
|
485
|
+
/**
|
|
486
|
+
* Icon to be displayed after the button's content.
|
|
487
|
+
*/
|
|
488
|
+
trailingIcon?: ReactNode;
|
|
489
|
+
/**
|
|
490
|
+
* Whether the list item is disabled.
|
|
491
|
+
*/
|
|
492
|
+
disabled?: boolean;
|
|
493
|
+
/**
|
|
494
|
+
* Click event handler for the list item.
|
|
495
|
+
*/
|
|
496
|
+
onClick?: (event?: MouseEvent<HTMLElement>) => void;
|
|
497
|
+
/**
|
|
498
|
+
* Additional class for styling.
|
|
499
|
+
*/
|
|
500
|
+
className?: string;
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
declare const ListItem: (props: ListItemProps) => React$1.JSX.Element;
|
|
504
|
+
|
|
480
505
|
/**
|
|
481
506
|
* Enum for the alignment of the button-group.
|
|
482
507
|
*/
|
|
@@ -1501,4 +1526,4 @@ type ThemeProviderProps = {
|
|
|
1501
1526
|
declare const ThemeContext: React$1.Context<ThemeContextType>;
|
|
1502
1527
|
declare const ThemeProvider: React$1.FC<ThemeProviderProps>;
|
|
1503
1528
|
|
|
1504
|
-
export { ActionCard, type ActionCardProps, ActionImage, type ActionImageProps, Breakpoint, type BreakpointProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, type CardProps, ContextMenu, type ContextMenuProps, type CustomTimePickerConfig, DatePicker, type DatePickerProps, type FieldValidationFunction, type FieldValidators, type FieldValue, Form, type FormContextValues, type FormErrors, FormField, type FormFieldProps, type FormProps, type FormProviderProps, type FormState, type FormStateChangeHandler, type FormSubmitHandler, type FormValidator, Icon, IconButton, type IconButtonProps, type IconButtonStyleEnum, type IconProps, type IconSizeEnum, type IconStyleEnum, Image, type ImageFitEnum, type ImageProps, Input, type InputProps, type InputTypeEnum, List, type ListProps, MenuItem, type MenuItemProps, Modal, type ModalProps, Nav, NavItem, type NavItemProps, NavLink, type NavLinkProps, type NavProps, Option, type OptionProps, type OverlayDirectionEnum, Password, Popover, type PopoverHandle, type PopoverProps, type RequiredFields, ResponsiveComponent, type ResponsiveComponentProps, Select, type SelectProps, SelectProvider, Spinner, type SpinnerProps, TabContent, type TabContentProps, TabItem, type TabItemProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Text, TextArea, type TextAreaProps, type TextDecorationEnum, type TextProps, type TextTypeEnum, type TextWeightEnum, ThemeContext, type ThemeContextType, ThemeProvider, type ThemeProviderProps, useField, useSelectContext, useTab };
|
|
1529
|
+
export { ActionCard, type ActionCardProps, ActionImage, type ActionImageProps, Breakpoint, type BreakpointProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, type CardProps, ContextMenu, type ContextMenuProps, type CustomTimePickerConfig, DatePicker, type DatePickerProps, type FieldValidationFunction, type FieldValidators, type FieldValue, Form, type FormContextValues, type FormErrors, FormField, type FormFieldProps, type FormProps, type FormProviderProps, type FormState, type FormStateChangeHandler, type FormSubmitHandler, type FormValidator, Icon, IconButton, type IconButtonProps, type IconButtonStyleEnum, type IconProps, type IconSizeEnum, type IconStyleEnum, Image, type ImageFitEnum, type ImageProps, Input, type InputProps, type InputTypeEnum, List, ListItem, type ListItemProps, type ListProps, MenuItem, type MenuItemProps, Modal, type ModalProps, Nav, NavItem, type NavItemProps, NavLink, type NavLinkProps, type NavProps, Option, type OptionProps, type OverlayDirectionEnum, Password, Popover, type PopoverHandle, type PopoverProps, type RequiredFields, ResponsiveComponent, type ResponsiveComponentProps, Select, type SelectProps, SelectProvider, Spinner, type SpinnerProps, TabContent, type TabContentProps, TabItem, type TabItemProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Text, TextArea, type TextAreaProps, type TextDecorationEnum, type TextProps, type TextTypeEnum, type TextWeightEnum, ThemeContext, type ThemeContextType, ThemeProvider, type ThemeProviderProps, useField, useSelectContext, useTab };
|