@superdispatch/ui 0.47.0 → 0.48.0

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.
@@ -1,5 +1,5 @@
1
1
  import { useTheme } from '@material-ui/core';
2
- import { renderChildren } from '@superdispatch/ui';
2
+ import { renderChildren } from "..//utils/renderChildren.js";
3
3
  export function LightDark(_ref) {
4
4
  var {
5
5
  light,
package/dist-web/index.js CHANGED
@@ -10,7 +10,6 @@ import { ResizeObserver } from '@juggle/resize-observer';
10
10
  import { useEventHandler, useValueObserver, useDeepEqualValue, useDeepEqualMemo } from '@superdispatch/hooks';
11
11
  import { clsx } from 'clsx';
12
12
  import flattenChildren from 'react-keyed-flatten-children';
13
- import { renderChildren as renderChildren$1 } from '@superdispatch/ui';
14
13
  import { NumericFormat, PatternFormat } from 'react-number-format';
15
14
  import createBreakpoints from '@material-ui/core/styles/createBreakpoints';
16
15
 
@@ -2014,7 +2013,7 @@ function LightDark(_ref) {
2014
2013
  var theme = useTheme();
2015
2014
  var isDarkMode = theme.palette.type === 'dark';
2016
2015
  var mode = isDarkMode ? dark : light;
2017
- return renderChildren$1(mode);
2016
+ return renderChildren(mode);
2018
2017
  }
2019
2018
 
2020
2019
  var _excluded$j = ["value", "inputRef", "onChange", "valueIsNumericString", "thousandSeparator", "disableValueParsing"],