barook-ui-library 0.1.7 → 0.1.8

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
@@ -315,8 +315,8 @@ declare const Tooltip: react.ForwardRefExoticComponent<Omit<TooltipProps, "ref">
315
315
 
316
316
  type AppThemeProviderType = {
317
317
  children: React.ReactNode;
318
- themOverride: any;
318
+ themeOverride: any;
319
319
  };
320
- declare const AppThemeProvider: ({ children, themOverride, }: AppThemeProviderType) => react_jsx_runtime.JSX.Element;
320
+ declare const AppThemeProvider: ({ children, themeOverride, }: AppThemeProviderType) => react_jsx_runtime.JSX.Element;
321
321
 
322
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 };
package/dist/index.d.ts CHANGED
@@ -315,8 +315,8 @@ declare const Tooltip: react.ForwardRefExoticComponent<Omit<TooltipProps, "ref">
315
315
 
316
316
  type AppThemeProviderType = {
317
317
  children: React.ReactNode;
318
- themOverride: any;
318
+ themeOverride: any;
319
319
  };
320
- declare const AppThemeProvider: ({ children, themOverride, }: AppThemeProviderType) => react_jsx_runtime.JSX.Element;
320
+ declare const AppThemeProvider: ({ children, themeOverride, }: AppThemeProviderType) => react_jsx_runtime.JSX.Element;
321
321
 
322
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 };
package/dist/index.js CHANGED
@@ -38948,6 +38948,7 @@ var { makeStyles } = (0, import_tss_react.createMakeStyles)({ useTheme: useTheme
38948
38948
  var import_cache3 = __toESM(require("@emotion/cache"));
38949
38949
  var import_stylis = require("stylis");
38950
38950
  var import_stylis_plugin_rtl = __toESM(require("stylis-plugin-rtl"));
38951
+ var import_utils27 = require("@mui/utils");
38951
38952
  var import_jsx_runtime145 = require("react/jsx-runtime");
38952
38953
  var rtlCache = (0, import_cache3.default)({
38953
38954
  key: "muirtl",
@@ -38955,11 +38956,14 @@ var rtlCache = (0, import_cache3.default)({
38955
38956
  });
38956
38957
  var AppThemeProvider = ({
38957
38958
  children,
38958
- themOverride
38959
- }) => /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(CacheProvider, { value: rtlCache, children: /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(ThemeProvider4, { theme: themOverride ? themOverride : createTheme3(), children: [
38960
- /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(CssBaseline_default, {}),
38961
- children
38962
- ] }) });
38959
+ themeOverride
38960
+ }) => {
38961
+ const theme = themeOverride ? (0, import_utils27.deepmerge)(createTheme3(), themeOverride) : createTheme3();
38962
+ return /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(CacheProvider, { value: rtlCache, children: /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(ThemeProvider4, { theme, children: [
38963
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(CssBaseline_default, {}),
38964
+ children
38965
+ ] }) });
38966
+ };
38963
38967
  // Annotate the CommonJS export names for ESM import in node:
38964
38968
  0 && (module.exports = {
38965
38969
  AppThemeProvider,