@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.
Files changed (28) hide show
  1. package/dist/cjs/components/atoms/Checkbox/Checkbox.d.ts +1 -1
  2. package/dist/cjs/components/atoms/Checkbox/Checkbox.types.d.ts +1 -1
  3. package/dist/cjs/components/atoms/RadioButton/RadioButton.d.ts +1 -1
  4. package/dist/cjs/components/atoms/RadioButton/RadioButton.types.d.ts +1 -1
  5. package/dist/cjs/components/molecules/Modal/Modal.types.d.ts +4 -0
  6. package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanel.d.ts +3 -0
  7. package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanel.types.d.ts +7 -0
  8. package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanelExample.d.ts +2 -0
  9. package/dist/cjs/components/organisms/SlideOutPanel/index.d.ts +3 -0
  10. package/dist/cjs/components/organisms/index.d.ts +2 -0
  11. package/dist/cjs/library.css +208 -12
  12. package/dist/cjs/library.js +3 -3
  13. package/dist/cjs/library.js.map +1 -1
  14. package/dist/esm/components/atoms/Checkbox/Checkbox.d.ts +1 -1
  15. package/dist/esm/components/atoms/Checkbox/Checkbox.types.d.ts +1 -1
  16. package/dist/esm/components/atoms/RadioButton/RadioButton.d.ts +1 -1
  17. package/dist/esm/components/atoms/RadioButton/RadioButton.types.d.ts +1 -1
  18. package/dist/esm/components/molecules/Modal/Modal.types.d.ts +4 -0
  19. package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanel.d.ts +3 -0
  20. package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanel.types.d.ts +7 -0
  21. package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanelExample.d.ts +2 -0
  22. package/dist/esm/components/organisms/SlideOutPanel/index.d.ts +3 -0
  23. package/dist/esm/components/organisms/index.d.ts +2 -0
  24. package/dist/esm/library.css +208 -12
  25. package/dist/esm/library.js +3 -3
  26. package/dist/esm/library.js.map +1 -1
  27. package/dist/index.d.ts +18 -5
  28. 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delightui/components",
3
- "version": "0.1.65",
3
+ "version": "0.1.67",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "vite",