@delightui/components 0.1.65 → 0.1.67
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/Checkbox/Checkbox.d.ts +1 -1
- package/dist/cjs/components/atoms/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/cjs/components/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/cjs/components/atoms/RadioButton/RadioButton.types.d.ts +1 -1
- package/dist/cjs/components/molecules/Modal/Modal.types.d.ts +4 -0
- package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanel.d.ts +3 -0
- package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanel.types.d.ts +7 -0
- package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanelExample.d.ts +2 -0
- package/dist/cjs/components/organisms/SlideOutPanel/index.d.ts +3 -0
- package/dist/cjs/components/organisms/index.d.ts +2 -0
- package/dist/cjs/library.css +208 -12
- package/dist/cjs/library.js +3 -3
- package/dist/cjs/library.js.map +1 -1
- package/dist/esm/components/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/components/atoms/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/esm/components/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/esm/components/atoms/RadioButton/RadioButton.types.d.ts +1 -1
- package/dist/esm/components/molecules/Modal/Modal.types.d.ts +4 -0
- package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanel.d.ts +3 -0
- package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanel.types.d.ts +7 -0
- package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanelExample.d.ts +2 -0
- package/dist/esm/components/organisms/SlideOutPanel/index.d.ts +3 -0
- package/dist/esm/components/organisms/index.d.ts +2 -0
- package/dist/esm/library.css +208 -12
- package/dist/esm/library.js +3 -3
- package/dist/esm/library.js.map +1 -1
- package/dist/index.d.ts +18 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -680,7 +680,7 @@ declare const Chip: (props: ChipProps) => React__default.JSX.Element;
|
|
|
680
680
|
|
|
681
681
|
type CheckboxSizeEnum = 'Small' | 'Medium' | 'Large';
|
|
682
682
|
type CheckboxLabelAlignmentEnum = 'Left' | 'Right';
|
|
683
|
-
type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value'> & {
|
|
683
|
+
type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value' | 'size'> & {
|
|
684
684
|
/**
|
|
685
685
|
* The label of the checkbox.
|
|
686
686
|
*/
|
|
@@ -724,7 +724,7 @@ type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'check
|
|
|
724
724
|
independent?: boolean;
|
|
725
725
|
};
|
|
726
726
|
|
|
727
|
-
declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type"> & {
|
|
727
|
+
declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type" | "size"> & {
|
|
728
728
|
children?: React__default.ReactNode;
|
|
729
729
|
size?: CheckboxSizeEnum;
|
|
730
730
|
checked?: boolean;
|
|
@@ -822,7 +822,7 @@ declare const Slider: (props: SliderProps) => React__default.JSX.Element;
|
|
|
822
822
|
|
|
823
823
|
type RadioButtonSizeEnum = 'Small' | 'Medium' | 'Large';
|
|
824
824
|
type RadioButtonLabelAlignmentEnum = 'Left' | 'Right';
|
|
825
|
-
type RadioButtonProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value'> & {
|
|
825
|
+
type RadioButtonProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value' | 'size'> & {
|
|
826
826
|
/**
|
|
827
827
|
* The label of the radio button.
|
|
828
828
|
*/
|
|
@@ -857,7 +857,7 @@ type RadioButtonProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'ch
|
|
|
857
857
|
value?: string | number;
|
|
858
858
|
};
|
|
859
859
|
|
|
860
|
-
declare const RadioButton: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type"> & {
|
|
860
|
+
declare const RadioButton: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type" | "size"> & {
|
|
861
861
|
children?: React__default.ReactNode;
|
|
862
862
|
size?: RadioButtonSizeEnum;
|
|
863
863
|
checked?: boolean;
|
|
@@ -1635,6 +1635,10 @@ type ModalProps = {
|
|
|
1635
1635
|
* @default false
|
|
1636
1636
|
*/
|
|
1637
1637
|
disableBackdropDismiss?: boolean;
|
|
1638
|
+
/**
|
|
1639
|
+
* provide a way to override the styling
|
|
1640
|
+
*/
|
|
1641
|
+
'component-variant'?: string;
|
|
1638
1642
|
/**
|
|
1639
1643
|
* Additional CSS class names to apply to the modal.
|
|
1640
1644
|
*/
|
|
@@ -2375,6 +2379,15 @@ interface TabContentProps {
|
|
|
2375
2379
|
|
|
2376
2380
|
declare const TabContent: (props: TabContentProps) => React__default.JSX.Element;
|
|
2377
2381
|
|
|
2382
|
+
type SlideOutPanelSizeEnum = 'Small' | 'Medium' | 'Large';
|
|
2383
|
+
type SlideOutPanelDirectionEnum = 'Top' | 'Left' | 'Bottom' | 'Right';
|
|
2384
|
+
type SlideOutPanelProps = Omit<ModalProps, 'size' | 'header' | 'footer' | 'component-variant'> & {
|
|
2385
|
+
size?: SlideOutPanelSizeEnum;
|
|
2386
|
+
direction?: SlideOutPanelDirectionEnum;
|
|
2387
|
+
};
|
|
2388
|
+
|
|
2389
|
+
declare const SlideOutPanel: (props: SlideOutPanelProps) => React$1.JSX.Element;
|
|
2390
|
+
|
|
2378
2391
|
type ThemeContextType = {
|
|
2379
2392
|
theme: string;
|
|
2380
2393
|
updateTheme: (theme: string) => void;
|
|
@@ -2429,4 +2442,4 @@ declare const NotificationContext: React__default.Context<NotificationContextVal
|
|
|
2429
2442
|
declare const NotificationProvider: React__default.FC<NotificationProviderProps>;
|
|
2430
2443
|
declare const useNotification: () => NotificationContextValue;
|
|
2431
2444
|
|
|
2432
|
-
export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary, ActionCard, type ActionCardProps, ActionImage, type ActionImageProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Breakpoint, type BreakpointProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, type CardProps, Checkbox, CheckboxItem, type CheckboxItemProps, type CheckboxLabelAlignmentEnum, type CheckboxProps, type CheckboxSizeEnum, Chip, _default as ChipInput, type ChipInputProps, type ChipListItemProps, type ChipListItemTypeEnum, type ChipProps, ContextMenu, type ContextMenuProps, type CustomTimePickerConfig, CustomToggle, type CustomToggleProps, DatePicker, type DatePickerProps, SortableItem as DraggableItem, SortableTrigger as DraggableItemTrigger, Dropzone, DropzoneClear, DropzoneContent, type DropzoneContentProps, type DropzoneContentTypeEnum, DropzoneFilename, DropzoneFilename as DropzonePreview, type DropzoneProps, DropzoneSupportedFormats as DropzoneReject, DropzoneTrigger as DropzoneRoot, DropzoneSupportedFormats, DropzoneTrigger, type FieldValidationFunction, type FieldValidators, type FieldValue, Form, type FormContextValues, type FormErrors, FormField, type FormFieldProps, type FormFieldPropsWithProvider, type FormProps, type FormProviderProps, type FormState, type FormStateChangeHandler, type FormSubmitHandler, type FormValidator, Grid, GridItem, type GridItemProps, GridList, type GridListProps, type GridProps, 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$1 as ListItemProps, type ListProps, Modal, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, Nav, NavItem, type NavItemProps, NavLink, type NavLinkProps, type NavProps, type NotificationContainerProps, NotificationContext, NotificationProvider, Option, type OptionProps, type OverlayDirectionEnum, Pagination, PaginationNumberField, type PaginationNumberFieldProps, type PaginationProps, Password, Popover, type PopoverHandle, type PopoverProps, ProgressBar, type ProgressBarProps, RadioButton, RadioButtonItem, type RadioButtonItemProps, type RadioButtonLabelAlignmentEnum, type RadioButtonProps, type RadioButtonSizeEnum, RepeaterList, type RepeaterListProps, type RequiredFields, ResponsiveComponent, type ResponsiveComponentProps, Select, SelectListItem, type SelectListItemProps, type SelectProps, SelectProvider, Slider, type SliderProps, Spinner, type SpinnerProps, TabContent, type TabContentProps, TabItem, type TabItemProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, 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, Toggle, ToggleButton, type ToggleButtonProps, type ToggleLabelAlignmentEnum, type ToggleProps, Tooltip, type TooltipProps, useDropzoneContext, useField, useNotification, useSelectContext, useTab };
|
|
2445
|
+
export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary, ActionCard, type ActionCardProps, ActionImage, type ActionImageProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Breakpoint, type BreakpointProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, type CardProps, Checkbox, CheckboxItem, type CheckboxItemProps, type CheckboxLabelAlignmentEnum, type CheckboxProps, type CheckboxSizeEnum, Chip, _default as ChipInput, type ChipInputProps, type ChipListItemProps, type ChipListItemTypeEnum, type ChipProps, ContextMenu, type ContextMenuProps, type CustomTimePickerConfig, CustomToggle, type CustomToggleProps, DatePicker, type DatePickerProps, SortableItem as DraggableItem, SortableTrigger as DraggableItemTrigger, Dropzone, DropzoneClear, DropzoneContent, type DropzoneContentProps, type DropzoneContentTypeEnum, DropzoneFilename, DropzoneFilename as DropzonePreview, type DropzoneProps, DropzoneSupportedFormats as DropzoneReject, DropzoneTrigger as DropzoneRoot, DropzoneSupportedFormats, DropzoneTrigger, type FieldValidationFunction, type FieldValidators, type FieldValue, Form, type FormContextValues, type FormErrors, FormField, type FormFieldProps, type FormFieldPropsWithProvider, type FormProps, type FormProviderProps, type FormState, type FormStateChangeHandler, type FormSubmitHandler, type FormValidator, Grid, GridItem, type GridItemProps, GridList, type GridListProps, type GridProps, 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$1 as ListItemProps, type ListProps, Modal, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, Nav, NavItem, type NavItemProps, NavLink, type NavLinkProps, type NavProps, type NotificationContainerProps, NotificationContext, NotificationProvider, Option, type OptionProps, type OverlayDirectionEnum, Pagination, PaginationNumberField, type PaginationNumberFieldProps, type PaginationProps, Password, Popover, type PopoverHandle, type PopoverProps, ProgressBar, type ProgressBarProps, RadioButton, RadioButtonItem, type RadioButtonItemProps, type RadioButtonLabelAlignmentEnum, type RadioButtonProps, type RadioButtonSizeEnum, RepeaterList, type RepeaterListProps, type RequiredFields, ResponsiveComponent, type ResponsiveComponentProps, Select, SelectListItem, type SelectListItemProps, type SelectProps, SelectProvider, SlideOutPanel, type SlideOutPanelDirectionEnum, type SlideOutPanelProps, type SlideOutPanelSizeEnum, Slider, type SliderProps, Spinner, type SpinnerProps, TabContent, type TabContentProps, TabItem, type TabItemProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, 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, Toggle, ToggleButton, type ToggleButtonProps, type ToggleLabelAlignmentEnum, type ToggleProps, Tooltip, type TooltipProps, useDropzoneContext, useField, useNotification, useSelectContext, useTab };
|