barook-ui-library 0.1.9 → 0.1.16

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/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as _mui_material from '@mui/material';
3
- import { AvatarProps, BackdropTypeMap, BadgeTypeMap, SwipeableDrawerProps, DrawerProps, ButtonTypeMap, CardTypeMap, CardContentTypeMap, CheckboxProps, ChipProps, CircularProgressProps, ContainerTypeMap, TextFieldProps as TextFieldProps$1, DialogProps as DialogProps$1, DividerTypeMap, GridTypeMap, IconButtonTypeMap, ListItemText as ListItemText$1, ListItemIcon as ListItemIcon$1, ListItemAvatar as ListItemAvatar$1, MenuProps, MenuItemProps, PaperProps, SelectProps, SxProps, TypographyProps, SkeletonProps, StackTypeMap, StepIconProps, StepperProps, SvgIconProps, TabProps, TabsProps, AutocompleteProps, FormHelperTextProps, IconButtonProps, TooltipProps } from '@mui/material';
3
+ import { AvatarProps, BackdropTypeMap, BadgeTypeMap, SwipeableDrawerProps, DrawerProps, ButtonTypeMap, CardTypeMap, CardContentTypeMap, CheckboxProps, ChipProps, CircularProgressProps, ContainerTypeMap, TextFieldProps as TextFieldProps$1, DialogProps as DialogProps$1, DividerTypeMap, GridTypeMap, IconButtonTypeMap, ListItemAvatar as ListItemAvatar$1, ListItemIcon as ListItemIcon$1, ListItemText as ListItemText$1, MenuProps, MenuItemProps, PaperProps, SelectProps, SxProps, TypographyProps, SkeletonProps, StackTypeMap, StepIconProps, StepperProps, SvgIconProps, TabProps, TabsProps, AutocompleteProps, FormHelperTextProps, IconButtonProps, TooltipProps, RadioProps } from '@mui/material';
4
4
  export { ListItemAvatarProps, ListItemButtonProps, ListItemIconProps, ListItemProps, ListItemSecondaryActionProps, ListItemTextProps, ListProps, ListSubheaderProps } from '@mui/material';
5
5
  import * as _mui_system from '@mui/system';
6
6
  import { StandardCSSProperties } from '@mui/system';
@@ -13,6 +13,7 @@ import { OverridableComponent as OverridableComponent$1 } from '@mui/material/Ov
13
13
  import DateObject from 'react-date-object';
14
14
  import { DatePickerProps } from 'react-multi-date-picker';
15
15
  import { MuiOtpInputProps } from 'mui-one-time-password-input';
16
+ import { ThemeOptions } from '@mui/material/styles';
16
17
 
17
18
  type Props$3 = AvatarProps & {
18
19
  bgcolor?: StandardCSSProperties["backgroundColor"];
@@ -315,8 +316,25 @@ declare const Tooltip: react.ForwardRefExoticComponent<Omit<TooltipProps, "ref">
315
316
 
316
317
  type AppThemeProviderType = {
317
318
  children: React.ReactNode;
318
- themeOverride?: any;
319
+ themeOverride?: ThemeOptions;
320
+ direction?: "rtl" | "ltr";
321
+ withCssBaseline?: boolean;
319
322
  };
320
- declare const AppThemeProvider: ({ children, themeOverride, }: AppThemeProviderType) => react_jsx_runtime.JSX.Element;
323
+ declare const AppThemeProvider: ({ children, themeOverride, direction, withCssBaseline, }: AppThemeProviderType) => react_jsx_runtime.JSX.Element;
321
324
 
322
- export { AppThemeProvider, AutoCompleteField, type AutoCompleteFieldProps, Avatar, Backdrop, Badge, BottomSheet, type BottomSheetProps, Box, Button, Card, CardContent, CheckBox, Chip, CircularProgress, ContainedTab, ContainedTabs, Container, DatePickerBottomSheet, type DatePickerBottomSheetProps, DatePickerField, Dialog, type DialogProps, Divider, DotProgress, ExcelButton, type ExtendedTypographyProps, Grid, HelperText, HelperTextContent, type HelperTextContentProps, type HelperTextProps, IconButton, List, ListItem, ListItemAvatar, ListItemButton, ListItemIcon, ListItemText, ListSubheader, Menu, MenuItem, Modal, MultiSelectField, MultiSelectRadioField, Notification, NumberInputField, type NumberInputFieldProps, type OptionsType, OtpField, Paper, PasswordField, PhoneInputField, type PhoneInputFieldProps, PriceView, RadioBox, SearchField, type SearchFieldProps, SelectDialog, type SelectDialogProps, SelectField, type SelectFieldProps, type SelectOption, Skeleton, Slider, Stack, StepperContainer, SvgIcon, Tab, Tabs, TextField, type TextFieldProps, Tooltip, Typography };
325
+ type DrawerMuiProps = {
326
+ open: boolean;
327
+ onClose: () => void;
328
+ anchor?: "left" | "right" | "top" | "bottom";
329
+ height?: number | string;
330
+ width?: number | string;
331
+ children: react.ReactNode;
332
+ };
333
+ declare const DrawerMui: ({ open, onClose, anchor, height, width, children, }: DrawerMuiProps) => react_jsx_runtime.JSX.Element;
334
+
335
+ type RadioGroupKitProps = {
336
+ checked: boolean;
337
+ } & Omit<RadioProps, "checked" | "onChange">;
338
+ declare function Radio({ checked, ...rest }: RadioGroupKitProps): react_jsx_runtime.JSX.Element;
339
+
340
+ export { AppThemeProvider, AutoCompleteField, type AutoCompleteFieldProps, Avatar, Backdrop, Badge, BottomSheet, type BottomSheetProps, Box, Button, Card, CardContent, CheckBox, Chip, CircularProgress, ContainedTab, ContainedTabs, Container, DatePickerBottomSheet, type DatePickerBottomSheetProps, DatePickerField, Dialog, type DialogProps, Divider, DotProgress, DrawerMui, ExcelButton, type ExtendedTypographyProps, Grid, HelperText, HelperTextContent, type HelperTextContentProps, type HelperTextProps, IconButton, List, ListItem, ListItemAvatar, ListItemButton, ListItemIcon, ListItemText, ListSubheader, Menu, MenuItem, Modal, MultiSelectField, MultiSelectRadioField, Notification, NumberInputField, type NumberInputFieldProps, type OptionsType, OtpField, Paper, PasswordField, PhoneInputField, type PhoneInputFieldProps, PriceView, Radio, RadioBox, SearchField, type SearchFieldProps, SelectDialog, type SelectDialogProps, SelectField, type SelectFieldProps, type SelectOption, Skeleton, Slider, Stack, StepperContainer, SvgIcon, Tab, Tabs, TextField, type TextFieldProps, Tooltip, Typography };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as _mui_material from '@mui/material';
3
- import { AvatarProps, BackdropTypeMap, BadgeTypeMap, SwipeableDrawerProps, DrawerProps, ButtonTypeMap, CardTypeMap, CardContentTypeMap, CheckboxProps, ChipProps, CircularProgressProps, ContainerTypeMap, TextFieldProps as TextFieldProps$1, DialogProps as DialogProps$1, DividerTypeMap, GridTypeMap, IconButtonTypeMap, ListItemText as ListItemText$1, ListItemIcon as ListItemIcon$1, ListItemAvatar as ListItemAvatar$1, MenuProps, MenuItemProps, PaperProps, SelectProps, SxProps, TypographyProps, SkeletonProps, StackTypeMap, StepIconProps, StepperProps, SvgIconProps, TabProps, TabsProps, AutocompleteProps, FormHelperTextProps, IconButtonProps, TooltipProps } from '@mui/material';
3
+ import { AvatarProps, BackdropTypeMap, BadgeTypeMap, SwipeableDrawerProps, DrawerProps, ButtonTypeMap, CardTypeMap, CardContentTypeMap, CheckboxProps, ChipProps, CircularProgressProps, ContainerTypeMap, TextFieldProps as TextFieldProps$1, DialogProps as DialogProps$1, DividerTypeMap, GridTypeMap, IconButtonTypeMap, ListItemAvatar as ListItemAvatar$1, ListItemIcon as ListItemIcon$1, ListItemText as ListItemText$1, MenuProps, MenuItemProps, PaperProps, SelectProps, SxProps, TypographyProps, SkeletonProps, StackTypeMap, StepIconProps, StepperProps, SvgIconProps, TabProps, TabsProps, AutocompleteProps, FormHelperTextProps, IconButtonProps, TooltipProps, RadioProps } from '@mui/material';
4
4
  export { ListItemAvatarProps, ListItemButtonProps, ListItemIconProps, ListItemProps, ListItemSecondaryActionProps, ListItemTextProps, ListProps, ListSubheaderProps } from '@mui/material';
5
5
  import * as _mui_system from '@mui/system';
6
6
  import { StandardCSSProperties } from '@mui/system';
@@ -13,6 +13,7 @@ import { OverridableComponent as OverridableComponent$1 } from '@mui/material/Ov
13
13
  import DateObject from 'react-date-object';
14
14
  import { DatePickerProps } from 'react-multi-date-picker';
15
15
  import { MuiOtpInputProps } from 'mui-one-time-password-input';
16
+ import { ThemeOptions } from '@mui/material/styles';
16
17
 
17
18
  type Props$3 = AvatarProps & {
18
19
  bgcolor?: StandardCSSProperties["backgroundColor"];
@@ -315,8 +316,25 @@ declare const Tooltip: react.ForwardRefExoticComponent<Omit<TooltipProps, "ref">
315
316
 
316
317
  type AppThemeProviderType = {
317
318
  children: React.ReactNode;
318
- themeOverride?: any;
319
+ themeOverride?: ThemeOptions;
320
+ direction?: "rtl" | "ltr";
321
+ withCssBaseline?: boolean;
319
322
  };
320
- declare const AppThemeProvider: ({ children, themeOverride, }: AppThemeProviderType) => react_jsx_runtime.JSX.Element;
323
+ declare const AppThemeProvider: ({ children, themeOverride, direction, withCssBaseline, }: AppThemeProviderType) => react_jsx_runtime.JSX.Element;
321
324
 
322
- export { AppThemeProvider, AutoCompleteField, type AutoCompleteFieldProps, Avatar, Backdrop, Badge, BottomSheet, type BottomSheetProps, Box, Button, Card, CardContent, CheckBox, Chip, CircularProgress, ContainedTab, ContainedTabs, Container, DatePickerBottomSheet, type DatePickerBottomSheetProps, DatePickerField, Dialog, type DialogProps, Divider, DotProgress, ExcelButton, type ExtendedTypographyProps, Grid, HelperText, HelperTextContent, type HelperTextContentProps, type HelperTextProps, IconButton, List, ListItem, ListItemAvatar, ListItemButton, ListItemIcon, ListItemText, ListSubheader, Menu, MenuItem, Modal, MultiSelectField, MultiSelectRadioField, Notification, NumberInputField, type NumberInputFieldProps, type OptionsType, OtpField, Paper, PasswordField, PhoneInputField, type PhoneInputFieldProps, PriceView, RadioBox, SearchField, type SearchFieldProps, SelectDialog, type SelectDialogProps, SelectField, type SelectFieldProps, type SelectOption, Skeleton, Slider, Stack, StepperContainer, SvgIcon, Tab, Tabs, TextField, type TextFieldProps, Tooltip, Typography };
325
+ type DrawerMuiProps = {
326
+ open: boolean;
327
+ onClose: () => void;
328
+ anchor?: "left" | "right" | "top" | "bottom";
329
+ height?: number | string;
330
+ width?: number | string;
331
+ children: react.ReactNode;
332
+ };
333
+ declare const DrawerMui: ({ open, onClose, anchor, height, width, children, }: DrawerMuiProps) => react_jsx_runtime.JSX.Element;
334
+
335
+ type RadioGroupKitProps = {
336
+ checked: boolean;
337
+ } & Omit<RadioProps, "checked" | "onChange">;
338
+ declare function Radio({ checked, ...rest }: RadioGroupKitProps): react_jsx_runtime.JSX.Element;
339
+
340
+ export { AppThemeProvider, AutoCompleteField, type AutoCompleteFieldProps, Avatar, Backdrop, Badge, BottomSheet, type BottomSheetProps, Box, Button, Card, CardContent, CheckBox, Chip, CircularProgress, ContainedTab, ContainedTabs, Container, DatePickerBottomSheet, type DatePickerBottomSheetProps, DatePickerField, Dialog, type DialogProps, Divider, DotProgress, DrawerMui, ExcelButton, type ExtendedTypographyProps, Grid, HelperText, HelperTextContent, type HelperTextContentProps, type HelperTextProps, IconButton, List, ListItem, ListItemAvatar, ListItemButton, ListItemIcon, ListItemText, ListSubheader, Menu, MenuItem, Modal, MultiSelectField, MultiSelectRadioField, Notification, NumberInputField, type NumberInputFieldProps, type OptionsType, OtpField, Paper, PasswordField, PhoneInputField, type PhoneInputFieldProps, PriceView, Radio, RadioBox, SearchField, type SearchFieldProps, SelectDialog, type SelectDialogProps, SelectField, type SelectFieldProps, type SelectOption, Skeleton, Slider, Stack, StepperContainer, SvgIcon, Tab, Tabs, TextField, type TextFieldProps, Tooltip, Typography };