@superdispatch/ui 0.21.5-alpha.1 → 0.21.5-alpha.2

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-src/index.js CHANGED
@@ -17,6 +17,7 @@ export * from "./grid/GridStack.js";
17
17
  export * from "./grid/InlineGrid.js";
18
18
  export * from "./info-card/InfoCard.js";
19
19
  export * from "./inline/Inline.js";
20
+ export * from "./number-field/NumberField.js";
20
21
  export * from "./overflow-text/OverflowText.js";
21
22
  export * from "./props/AlignProps.js";
22
23
  export * from "./props/CollapseProp.js";
@@ -0,0 +1,57 @@
1
+ import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["value", "inputRef", "onChange", "isNumericString", "thousandSeparator", "disableValueParsing"],
4
+ _excluded2 = ["id", "InputProps"];
5
+ import { TextField } from '@mui/material';
6
+ import { forwardRef } from 'react';
7
+ import NumberFormat from 'react-number-format';
8
+ import { useUID } from "../utils/useUID.js";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+
11
+ function NumberInputComponent(_ref) {
12
+ var {
13
+ value,
14
+ inputRef,
15
+ onChange,
16
+ isNumericString = true,
17
+ thousandSeparator = true,
18
+ disableValueParsing
19
+ } = _ref,
20
+ props = _objectWithoutProperties(_ref, _excluded);
21
+
22
+ return /*#__PURE__*/_jsx(NumberFormat, _objectSpread(_objectSpread({}, props), {}, {
23
+ value: value !== null && value !== void 0 ? value : '',
24
+ inputMode: "decimal",
25
+ getInputRef: inputRef,
26
+ isNumericString: isNumericString,
27
+ thousandSeparator: thousandSeparator,
28
+ allowedDecimalSeparators: ['.', ','],
29
+ onValueChange: values => {
30
+ var floatValue = !Number.isNaN(Number(values.floatValue)) ? values.floatValue : null;
31
+ var event = {
32
+ target: {
33
+ value: disableValueParsing ? values.value : floatValue
34
+ }
35
+ };
36
+ onChange === null || onChange === void 0 ? void 0 : onChange(event);
37
+ }
38
+ }));
39
+ }
40
+
41
+ export var NumberField = /*#__PURE__*/forwardRef(_ref2 => {
42
+ var {
43
+ id,
44
+ InputProps
45
+ } = _ref2,
46
+ props = _objectWithoutProperties(_ref2, _excluded2);
47
+
48
+ var uid = useUID(id);
49
+ return /*#__PURE__*/_jsx(TextField, _objectSpread(_objectSpread({}, props), {}, {
50
+ id: uid,
51
+ InputProps: _objectSpread(_objectSpread({}, InputProps), {}, {
52
+ inputComponent: NumberInputComponent
53
+ })
54
+ }));
55
+ });
56
+ if (process.env.NODE_ENV !== "production") NumberField.displayName = "NumberField";
57
+ NumberField.displayName = 'NumberField';
@@ -1,10 +1,11 @@
1
- import { ToolbarProps, AvatarTypeMap, ButtonBaseProps, CheckboxProps, FormControlLabelProps, FormControlProps, FormGroupProps, FormLabelProps, FormHelperTextProps, TypographyProps, TooltipProps, Theme, ExtendList, ListTypeMap, MenuListProps, ButtonGroupProps, GridProps, CardProps, CardContentProps, RadioProps, RadioGroupProps, Breakpoint, SnackbarContentProps as SnackbarContentProps$1, SnackbarContentClassKey as SnackbarContentClassKey$1, SnackbarProps as SnackbarProps$1 } from '@mui/material';
2
- import { RefAttributes, ForwardRefExoticComponent, Key, ReactNode, MouseEvent, ReactElement, EventHandler, ButtonHTMLAttributes, Ref, ElementType, HTMLAttributes, ConsumerProps } from 'react';
1
+ import { ToolbarProps, AvatarTypeMap, ButtonBaseProps, CheckboxProps, FormControlLabelProps, FormControlProps, FormGroupProps, FormLabelProps, FormHelperTextProps, TypographyProps, TooltipProps, Theme, ExtendList, ListTypeMap, MenuListProps, ButtonGroupProps, GridProps, CardProps, CardContentProps, StandardTextFieldProps, InputProps, RadioProps, RadioGroupProps, Breakpoint, SnackbarContentProps as SnackbarContentProps$1, SnackbarContentClassKey as SnackbarContentClassKey$1, SnackbarProps as SnackbarProps$1 } from '@mui/material';
2
+ import { RefAttributes, ForwardRefExoticComponent, Key, ReactNode, MouseEvent, ReactElement, EventHandler, ButtonHTMLAttributes, Ref, ElementType, HTMLAttributes, InputHTMLAttributes, ConsumerProps } from 'react';
3
3
  import { LoadingButtonProps } from '@mui/lab';
4
4
  import { Property } from 'csstype';
5
5
  import { MUIStyledCommonProps } from '@mui/system';
6
6
  import { StyledComponent } from 'styled-components';
7
7
  import { LabComponents } from '@mui/lab/themeAugmentation';
8
+ import { NumberFormatProps } from 'react-number-format';
8
9
  import { ClassNameMap } from '@mui/styles';
9
10
 
10
11
  interface ButtonProps extends RefAttributes<HTMLButtonElement>, Omit<LoadingButtonProps, 'color' | 'loading' | 'loadingIndicator'> {
@@ -238,6 +239,17 @@ interface InlineProps {
238
239
  }
239
240
  declare const Inline: ForwardRefExoticComponent<InlineProps & RefAttributes<HTMLDivElement>>;
240
241
 
242
+ declare type SafeNumberFormatProps = Pick<NumberFormatProps, 'value' | 'onChange' | 'getInputRef' | 'decimalScale' | 'onValueChange' | 'isNumericString' | 'decimalSeparator' | 'thousandSeparator' | 'fixedDecimalScale' | 'thousandsGroupStyle'>;
243
+ interface NumberFormatCustomProps extends Omit<SafeNumberFormatProps, 'getInputRef' | 'onValueChange'>, Omit<StandardTextFieldProps, 'ref' | keyof InputHTMLAttributes<HTMLInputElement>> {
244
+ disableValueParsing?: boolean;
245
+ format?: NumberFormatProps['format'];
246
+ }
247
+ interface NumberFieldProps extends Omit<StandardTextFieldProps, 'InputProps' | 'inputProps'>, Omit<SafeNumberFormatProps, keyof StandardTextFieldProps> {
248
+ InputProps?: Partial<Omit<InputProps, 'inputComponent'>>;
249
+ inputProps?: NumberFormatCustomProps & StandardTextFieldProps['inputProps'];
250
+ }
251
+ declare const NumberField: ForwardRefExoticComponent<NumberFieldProps>;
252
+
241
253
  interface RadioFieldProps extends Omit<RadioProps, 'onBlur' | 'onChange'>, Pick<FormControlLabelProps, 'label' | 'onBlur' | 'onChange'> {
242
254
  error?: boolean;
243
255
  helperText?: ReactNode;
@@ -455,4 +467,4 @@ interface VisibilityObserverProps extends VisibilityObserverOptions {
455
467
  }
456
468
  declare function VisibilityObserver({ render, onChange, ...options }: VisibilityObserverProps): null | ReactElement;
457
469
 
458
- export { AdaptiveToolbar, AdaptiveToolbarDropdownItem, AdaptiveToolbarItem, AdaptiveToolbarProps, AdaptiveVerticalToolbar, AdaptiveVerticalToolbarItem, AdaptiveVerticalToolbarProps, AvatarButton, AvatarButtonProps, Button, ButtonProps, CardButton, CardButtonProps, CheckboxField, CheckboxFieldProps, CheckboxGroupField, CheckboxGroupFieldProps, CollapseBreakpoint, CollapseProp, Color, ColorProp, ColorVariant, Column, ColumnProps, ColumnWidth, Columns, ColumnsProps, DescriptionList, DescriptionListItem, DescriptionListItemProps, DescriptionListProps, DrawerActions, DrawerActionsProps, DrawerContent, DrawerContentProps, DrawerList, DrawerTitle, DrawerTitleProps, DropdownButton, ElementVisibility, ExitTransitionPlaceholder, GridStack, GridStackProps, HorizontalAlign, InfoCard, InfoCardProps, Inline, InlineGrid, InlineGridProps, InlineProps, MinBreakpoint, NegativeSpaceProp, OverflowText, OverflowTextProps, PartialResponsivePropRecord, RadioField, RadioFieldProps, RadioGroupField, RadioGroupFieldProps, ResponsiveContext, ResponsiveContextProvider, ResponsiveContextProviderProps, ResponsiveProp, ResponsivePropPrimitive, ResponsivePropRecord, ResponsivePropTuple, ResponsivePropTupleInit, Snackbar, SnackbarCloseReason, SnackbarContent, SnackbarContentProps, SnackbarProps, SnackbarStack, SnackbarStackConsumer, SnackbarStackOptions, SnackbarStackProvider, SnackbarStackProviderProps, SnackbarVariant, SpaceProp, Stack, StackProps, SuperDispatchTheme, Tag, TagClassKey, TagProps, ThemeProvider, ThemeProviderProps, Tiles, TilesColumns, TilesProps, TilesSpace, VerticalAlign, VisibilityObserver, VisibilityObserverOptions, VisibilityObserverProps, VisibilityObserverRenderProps, assignRef, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
470
+ export { AdaptiveToolbar, AdaptiveToolbarDropdownItem, AdaptiveToolbarItem, AdaptiveToolbarProps, AdaptiveVerticalToolbar, AdaptiveVerticalToolbarItem, AdaptiveVerticalToolbarProps, AvatarButton, AvatarButtonProps, Button, ButtonProps, CardButton, CardButtonProps, CheckboxField, CheckboxFieldProps, CheckboxGroupField, CheckboxGroupFieldProps, CollapseBreakpoint, CollapseProp, Color, ColorProp, ColorVariant, Column, ColumnProps, ColumnWidth, Columns, ColumnsProps, DescriptionList, DescriptionListItem, DescriptionListItemProps, DescriptionListProps, DrawerActions, DrawerActionsProps, DrawerContent, DrawerContentProps, DrawerList, DrawerTitle, DrawerTitleProps, DropdownButton, ElementVisibility, ExitTransitionPlaceholder, GridStack, GridStackProps, HorizontalAlign, InfoCard, InfoCardProps, Inline, InlineGrid, InlineGridProps, InlineProps, MinBreakpoint, NegativeSpaceProp, NumberField, NumberFieldProps, OverflowText, OverflowTextProps, PartialResponsivePropRecord, RadioField, RadioFieldProps, RadioGroupField, RadioGroupFieldProps, ResponsiveContext, ResponsiveContextProvider, ResponsiveContextProviderProps, ResponsiveProp, ResponsivePropPrimitive, ResponsivePropRecord, ResponsivePropTuple, ResponsivePropTupleInit, Snackbar, SnackbarCloseReason, SnackbarContent, SnackbarContentProps, SnackbarProps, SnackbarStack, SnackbarStackConsumer, SnackbarStackOptions, SnackbarStackProvider, SnackbarStackProviderProps, SnackbarVariant, SpaceProp, Stack, StackProps, SuperDispatchTheme, Tag, TagClassKey, TagProps, ThemeProvider, ThemeProviderProps, Tiles, TilesColumns, TilesProps, TilesSpace, VerticalAlign, VisibilityObserver, VisibilityObserverOptions, VisibilityObserverProps, VisibilityObserverRenderProps, assignRef, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
package/dist-web/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import { MoreHoriz, Close, Warning, CheckCircle } from '@mui/icons-material';
4
- import { CircularProgress, ButtonGroup, Popover, MenuList, Toolbar, Grid, MenuItem, Typography, Menu, Divider, styled as styled$1, Avatar, ButtonBase, FormControl, FormControlLabel, Checkbox, FormHelperText, FormLabel, FormGroup, useMediaQuery, Tooltip, SvgIcon, AppBar, List, CardContent, Card, Radio, RadioGroup, SnackbarContent as SnackbarContent$1, IconButton, Portal, Snackbar as Snackbar$1, Slide, autocompleteClasses, buttonClasses, checkboxClasses, chipClasses, dialogClasses, iconButtonClasses, listItemClasses, menuItemClasses, paginationItemClasses, radioClasses, switchClasses, formLabelClasses, inputBaseClasses, outlinedInputClasses, tooltipClasses, ThemeProvider as ThemeProvider$1, CssBaseline, createTheme } from '@mui/material';
4
+ import { CircularProgress, ButtonGroup, Popover, MenuList, Toolbar, Grid, MenuItem, Typography, Menu, Divider, styled as styled$1, Avatar, ButtonBase, FormControl, FormControlLabel, Checkbox, FormHelperText, FormLabel, FormGroup, useMediaQuery, Tooltip, SvgIcon, AppBar, List, CardContent, Card, TextField, Radio, RadioGroup, SnackbarContent as SnackbarContent$1, IconButton, Portal, Snackbar as Snackbar$1, Slide, autocompleteClasses, buttonClasses, checkboxClasses, chipClasses, dialogClasses, iconButtonClasses, listItemClasses, menuItemClasses, paginationItemClasses, radioClasses, switchClasses, formLabelClasses, inputBaseClasses, outlinedInputClasses, tooltipClasses, ThemeProvider as ThemeProvider$1, CssBaseline, createTheme } from '@mui/material';
5
5
  import { forwardRef, useState, useRef, useLayoutEffect, cloneElement, useMemo, useContext, createContext, Children, useCallback, useEffect } from 'react';
6
6
  import { LoadingButton, loadingButtonClasses } from '@mui/lab';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -10,6 +10,7 @@ import { ResizeObserver } from '@juggle/resize-observer';
10
10
  import { useEventHandler, useDeepEqualValue, useValueObserver, useDeepEqualMemo, useConstant } from '@superdispatch/hooks';
11
11
  import { makeStyles, StylesProvider, createGenerateClassName } from '@mui/styles';
12
12
  import flattenChildren from 'react-keyed-flatten-children';
13
+ import NumberFormat from 'react-number-format';
13
14
  import clsx from 'clsx';
14
15
  import { createBreakpoints } from '@mui/system';
15
16
 
@@ -1679,7 +1680,58 @@ var Inline = /*#__PURE__*/forwardRef((_ref2, ref) => {
1679
1680
  });
1680
1681
  if (process.env.NODE_ENV !== "production") Inline.displayName = "Inline";
1681
1682
 
1682
- var _excluded$f = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlLabelProps"];
1683
+ var _excluded$f = ["value", "inputRef", "onChange", "isNumericString", "thousandSeparator", "disableValueParsing"],
1684
+ _excluded2$1 = ["id", "InputProps"];
1685
+
1686
+ function NumberInputComponent(_ref) {
1687
+ var {
1688
+ value,
1689
+ inputRef,
1690
+ onChange,
1691
+ isNumericString = true,
1692
+ thousandSeparator = true,
1693
+ disableValueParsing
1694
+ } = _ref,
1695
+ props = _objectWithoutProperties(_ref, _excluded$f);
1696
+
1697
+ return /*#__PURE__*/jsx(NumberFormat, _objectSpread(_objectSpread({}, props), {}, {
1698
+ value: value !== null && value !== void 0 ? value : '',
1699
+ inputMode: "decimal",
1700
+ getInputRef: inputRef,
1701
+ isNumericString: isNumericString,
1702
+ thousandSeparator: thousandSeparator,
1703
+ allowedDecimalSeparators: ['.', ','],
1704
+ onValueChange: values => {
1705
+ var floatValue = !Number.isNaN(Number(values.floatValue)) ? values.floatValue : null;
1706
+ var event = {
1707
+ target: {
1708
+ value: disableValueParsing ? values.value : floatValue
1709
+ }
1710
+ };
1711
+ onChange === null || onChange === void 0 ? void 0 : onChange(event);
1712
+ }
1713
+ }));
1714
+ }
1715
+
1716
+ var NumberField = /*#__PURE__*/forwardRef(_ref2 => {
1717
+ var {
1718
+ id,
1719
+ InputProps
1720
+ } = _ref2,
1721
+ props = _objectWithoutProperties(_ref2, _excluded2$1);
1722
+
1723
+ var uid = useUID(id);
1724
+ return /*#__PURE__*/jsx(TextField, _objectSpread(_objectSpread({}, props), {}, {
1725
+ id: uid,
1726
+ InputProps: _objectSpread(_objectSpread({}, InputProps), {}, {
1727
+ inputComponent: NumberInputComponent
1728
+ })
1729
+ }));
1730
+ });
1731
+ if (process.env.NODE_ENV !== "production") NumberField.displayName = "NumberField";
1732
+ NumberField.displayName = 'NumberField';
1733
+
1734
+ var _excluded$g = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlLabelProps"];
1683
1735
  var RadioField = /*#__PURE__*/forwardRef((_ref, ref) => {
1684
1736
  var {
1685
1737
  label,
@@ -1690,7 +1742,7 @@ var RadioField = /*#__PURE__*/forwardRef((_ref, ref) => {
1690
1742
  helperText,
1691
1743
  FormControlLabelProps: formControlLabelProps
1692
1744
  } = _ref,
1693
- props = _objectWithoutProperties(_ref, _excluded$f);
1745
+ props = _objectWithoutProperties(_ref, _excluded$g);
1694
1746
 
1695
1747
  return /*#__PURE__*/jsxs(FormControl, {
1696
1748
  error: error,
@@ -1710,7 +1762,7 @@ var RadioField = /*#__PURE__*/forwardRef((_ref, ref) => {
1710
1762
  });
1711
1763
  if (process.env.NODE_ENV !== "production") RadioField.displayName = "RadioField";
1712
1764
 
1713
- var _excluded$g = ["name", "value", "onChange", "RadioGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
1765
+ var _excluded$h = ["name", "value", "onChange", "RadioGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
1714
1766
  var RadioGroupField = /*#__PURE__*/forwardRef((_ref, ref) => {
1715
1767
  var {
1716
1768
  name,
@@ -1723,7 +1775,7 @@ var RadioGroupField = /*#__PURE__*/forwardRef((_ref, ref) => {
1723
1775
  FormHelperTextProps: formHelperTextProps,
1724
1776
  children
1725
1777
  } = _ref,
1726
- formControlProps = _objectWithoutProperties(_ref, _excluded$g);
1778
+ formControlProps = _objectWithoutProperties(_ref, _excluded$h);
1727
1779
 
1728
1780
  return /*#__PURE__*/jsxs(FormControl, _objectSpread(_objectSpread({}, formControlProps), {}, {
1729
1781
  hiddenLabel: !label,
@@ -1773,8 +1825,8 @@ function useMinBreakpoint(minBreakpoint) {
1773
1825
  return minBreakpointIDX < breakpointIDX;
1774
1826
  }
1775
1827
 
1776
- var _excluded$h = ["action", "children", "onClose", "className", "classes", "variant"],
1777
- _excluded2$1 = ["icon", "closeButton", "variantError", "variantSuccess"];
1828
+ var _excluded$i = ["action", "children", "onClose", "className", "classes", "variant"],
1829
+ _excluded2$2 = ["icon", "closeButton", "variantError", "variantSuccess"];
1778
1830
  var useStyles$1 = /*#__PURE__*/makeStyles(theme => ({
1779
1831
  root: {
1780
1832
  color: Color.White,
@@ -1818,7 +1870,7 @@ var SnackbarContent = /*#__PURE__*/forwardRef((_ref, ref) => {
1818
1870
  classes,
1819
1871
  variant = 'default'
1820
1872
  } = _ref,
1821
- props = _objectWithoutProperties(_ref, _excluded$h);
1873
+ props = _objectWithoutProperties(_ref, _excluded$i);
1822
1874
 
1823
1875
  var _useStyles = useStyles$1({
1824
1876
  classes
@@ -1829,7 +1881,7 @@ var SnackbarContent = /*#__PURE__*/forwardRef((_ref, ref) => {
1829
1881
  variantError,
1830
1882
  variantSuccess
1831
1883
  } = _useStyles,
1832
- styles = _objectWithoutProperties(_useStyles, _excluded2$1);
1884
+ styles = _objectWithoutProperties(_useStyles, _excluded2$2);
1833
1885
 
1834
1886
  var Icon = variant === 'error' ? Warning : variant === 'success' ? CheckCircle : undefined;
1835
1887
  return /*#__PURE__*/jsx(SnackbarContent$1, _objectSpread(_objectSpread({}, props), {}, {
@@ -1868,7 +1920,7 @@ var SnackbarContent = /*#__PURE__*/forwardRef((_ref, ref) => {
1868
1920
  });
1869
1921
  if (process.env.NODE_ENV !== "production") SnackbarContent.displayName = "SnackbarContent";
1870
1922
 
1871
- var _excluded$i = ["open", "action", "variant", "onClose", "children", "ContentProps", "hasCloseButton", "TransitionComponent"];
1923
+ var _excluded$j = ["open", "action", "variant", "onClose", "children", "ContentProps", "hasCloseButton", "TransitionComponent"];
1872
1924
 
1873
1925
  function SlideTransition(props) {
1874
1926
  return /*#__PURE__*/jsx(Slide, _objectSpread(_objectSpread({}, props), {}, {
@@ -1887,7 +1939,7 @@ var Snackbar = /*#__PURE__*/forwardRef((_ref, ref) => {
1887
1939
  hasCloseButton = onClose != null,
1888
1940
  TransitionComponent = SlideTransition
1889
1941
  } = _ref,
1890
- props = _objectWithoutProperties(_ref, _excluded$i);
1942
+ props = _objectWithoutProperties(_ref, _excluded$j);
1891
1943
 
1892
1944
  function handleClose(reason) {
1893
1945
  if (reason !== 'clickaway') {
@@ -1916,7 +1968,7 @@ var Snackbar = /*#__PURE__*/forwardRef((_ref, ref) => {
1916
1968
  });
1917
1969
  if (process.env.NODE_ENV !== "production") Snackbar.displayName = "Snackbar";
1918
1970
 
1919
- var _excluded$j = ["onClose", "variant", "key", "id", "autoHideDuration"];
1971
+ var _excluded$k = ["onClose", "variant", "key", "id", "autoHideDuration"];
1920
1972
 
1921
1973
  function warnContext() {
1922
1974
  // eslint-disable-next-line no-console
@@ -1962,7 +2014,7 @@ function SnackbarStackProvider(_ref2) {
1962
2014
  id = String(key),
1963
2015
  autoHideDuration = 5000
1964
2016
  } = _ref3,
1965
- props = _objectWithoutProperties(_ref3, _excluded$j);
2017
+ props = _objectWithoutProperties(_ref3, _excluded$k);
1966
2018
 
1967
2019
  function removeSnackbar() {
1968
2020
  setStack(prev => {
@@ -2059,7 +2111,7 @@ var Stack = /*#__PURE__*/forwardRef((_ref2, ref) => {
2059
2111
  });
2060
2112
  if (process.env.NODE_ENV !== "production") Stack.displayName = "Stack";
2061
2113
 
2062
- var _excluded$k = ["color", "variant", "children", "classes", "className", "noWrap", "fontWeight", "component"];
2114
+ var _excluded$l = ["color", "variant", "children", "classes", "className", "noWrap", "fontWeight", "component"];
2063
2115
  var useStyles$2 = /*#__PURE__*/makeStyles(theme => ({
2064
2116
  root: {
2065
2117
  maxWidth: '100%',
@@ -2143,7 +2195,7 @@ var Tag = /*#__PURE__*/forwardRef((_ref, ref) => {
2143
2195
  fontWeight = 'bold',
2144
2196
  component = 'div'
2145
2197
  } = _ref,
2146
- props = _objectWithoutProperties(_ref, _excluded$k);
2198
+ props = _objectWithoutProperties(_ref, _excluded$l);
2147
2199
 
2148
2200
  var styles = useStyles$2({
2149
2201
  classes
@@ -3778,5 +3830,5 @@ function ExitTransitionPlaceholder(_ref) {
3778
3830
  return renderChildren(children);
3779
3831
  }
3780
3832
 
3781
- export { AdaptiveToolbar, AdaptiveVerticalToolbar, AvatarButton, Button, CardButton, CheckboxField, CheckboxGroupField, Color, Column, Columns, DescriptionList, DescriptionListItem, DrawerActions, DrawerContent, DrawerList, DrawerTitle, DropdownButton, ExitTransitionPlaceholder, GridStack, InfoCard, Inline, InlineGrid, OverflowText, RadioField, RadioGroupField, ResponsiveContextProvider, Snackbar, SnackbarContent, SnackbarStackConsumer, SnackbarStackProvider, Stack, Tag, ThemeProvider, Tiles, VisibilityObserver, assignRef, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
3833
+ export { AdaptiveToolbar, AdaptiveVerticalToolbar, AvatarButton, Button, CardButton, CheckboxField, CheckboxGroupField, Color, Column, Columns, DescriptionList, DescriptionListItem, DrawerActions, DrawerContent, DrawerList, DrawerTitle, DropdownButton, ExitTransitionPlaceholder, GridStack, InfoCard, Inline, InlineGrid, NumberField, OverflowText, RadioField, RadioGroupField, ResponsiveContextProvider, Snackbar, SnackbarContent, SnackbarStackConsumer, SnackbarStackProvider, Stack, Tag, ThemeProvider, Tiles, VisibilityObserver, assignRef, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
3782
3834
  //# sourceMappingURL=index.js.map