@ceed/cds 0.0.187-treeshaking.1 → 0.0.187
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/components/Accordions/index.d.ts +2 -2
- package/dist/components/Autocomplete/index.d.ts +2 -2
- package/dist/components/Avatar/index.d.ts +2 -2
- package/dist/components/Box/index.d.ts +2 -2
- package/dist/components/Breadcrumbs/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Calendar/Calendar.d.ts +1 -1
- package/dist/components/Calendar/hooks/use-calendar-props.d.ts +3 -3
- package/dist/components/Calendar/hooks/use-calendar.d.ts +1 -1
- package/dist/components/Calendar/index.d.ts +2 -2
- package/dist/components/Card/index.d.ts +2 -2
- package/dist/components/Checkbox/index.d.ts +2 -2
- package/dist/components/Chip/index.d.ts +2 -2
- package/dist/components/Container/index.d.ts +2 -2
- package/dist/components/CurrencyInput/index.d.ts +2 -2
- package/dist/components/DataTable/DataTable.d.ts +1 -1
- package/dist/components/DataTable/index.d.ts +2 -2
- package/dist/components/DataTable/types.d.ts +7 -7
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts +2 -2
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/DateRangePicker/index.d.ts +2 -2
- package/dist/components/DialogActions/index.d.ts +2 -2
- package/dist/components/DialogContent/index.d.ts +2 -2
- package/dist/components/DialogFrame/DialogFrame.d.ts +1 -1
- package/dist/components/DialogFrame/index.d.ts +2 -2
- package/dist/components/DialogTitle/index.d.ts +2 -2
- package/dist/components/Divider/index.d.ts +2 -2
- package/dist/components/Drawer/index.d.ts +2 -2
- package/dist/components/Dropdown/index.d.ts +2 -2
- package/dist/components/FormControl/index.d.ts +2 -2
- package/dist/components/FormHelperText/index.d.ts +2 -2
- package/dist/components/FormLabel/index.d.ts +2 -2
- package/dist/components/Grid/index.d.ts +2 -2
- package/dist/components/IconButton/index.d.ts +2 -2
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/index.d.ts +2 -2
- package/dist/components/InsetDrawer/index.d.ts +2 -2
- package/dist/components/Markdown/Markdown.d.ts +22 -6
- package/dist/components/Markdown/index.d.ts +2 -2
- package/dist/components/Menu/index.d.ts +2 -2
- package/dist/components/MenuButton/MenuButton.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts +4 -4
- package/dist/components/Modal/index.d.ts +2 -2
- package/dist/components/MonthPicker/MonthPicker.d.ts +1 -1
- package/dist/components/MonthPicker/index.d.ts +2 -2
- package/dist/components/MonthRangePicker/MonthRangePicker.d.ts +1 -1
- package/dist/components/MonthRangePicker/index.d.ts +2 -2
- package/dist/components/NavigationGroup/index.d.ts +2 -2
- package/dist/components/NavigationItem/index.d.ts +2 -2
- package/dist/components/Navigator/index.d.ts +2 -2
- package/dist/components/Pagination/Pagination.d.ts +2 -2
- package/dist/components/Pagination/index.d.ts +2 -2
- package/dist/components/PercentageInput/index.d.ts +2 -2
- package/dist/components/Radio/index.d.ts +2 -2
- package/dist/components/RadioList/RadioList.d.ts +1 -1
- package/dist/components/RadioList/index.d.ts +2 -2
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/Sheet/index.d.ts +2 -2
- package/dist/components/Stack/index.d.ts +2 -2
- package/dist/components/Stepper/index.d.ts +2 -2
- package/dist/components/Switch/index.d.ts +2 -2
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/Tabs/index.d.ts +2 -2
- package/dist/components/Textarea/Textarea.d.ts +17 -3
- package/dist/components/Textarea/index.d.ts +2 -2
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +7 -7
- package/dist/components/ThemeProvider/index.d.ts +2 -2
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/Typography/index.d.ts +2 -2
- package/dist/components/Uploader/Uploader.d.ts +3 -4
- package/dist/components/Uploader/index.d.ts +2 -2
- package/dist/components/index.d.ts +53 -53
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -52
- package/framer/index.js +30 -30
- package/package.json +4 -8
- package/dist/_virtual/_commonjsHelpers.js +0 -30
- package/dist/_virtual/bind-all.js +0 -3
- package/dist/_virtual/bind.js +0 -3
- package/dist/_virtual/colorManipulator.js +0 -5
- package/dist/_virtual/colorManipulator2.js +0 -3
- package/dist/_virtual/createStyled.js +0 -7
- package/dist/_virtual/createStyled2.js +0 -3
- package/dist/_virtual/extends.js +0 -3
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index10.js +0 -6
- package/dist/_virtual/index11.js +0 -6
- package/dist/_virtual/index12.js +0 -6
- package/dist/_virtual/index2.js +0 -3
- package/dist/_virtual/index3.js +0 -7
- package/dist/_virtual/index4.js +0 -3
- package/dist/_virtual/index5.js +0 -6
- package/dist/_virtual/index6.js +0 -6
- package/dist/_virtual/index7.js +0 -6
- package/dist/_virtual/index8.js +0 -6
- package/dist/_virtual/index9.js +0 -6
- package/dist/_virtual/interopRequireDefault.js +0 -3
- package/dist/_virtual/objectWithoutPropertiesLoose.js +0 -3
- package/dist/components/Accordions/Accordions.js +0 -43
- package/dist/components/Autocomplete/Autocomplete.js +0 -196
- package/dist/components/Autocomplete/index.js +0 -5
- package/dist/components/Avatar/Avatar.js +0 -42
- package/dist/components/Box/Box.js +0 -8
- package/dist/components/Box/index.js +0 -5
- package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -47
- package/dist/components/Button/Button.js +0 -20
- package/dist/components/Button/index.js +0 -5
- package/dist/components/Calendar/Calendar.js +0 -333
- package/dist/components/Calendar/hooks/use-calendar-props.js +0 -74
- package/dist/components/Calendar/hooks/use-calendar.js +0 -247
- package/dist/components/Calendar/index.js +0 -5
- package/dist/components/Calendar/utils/index.js +0 -74
- package/dist/components/Card/Card.js +0 -20
- package/dist/components/Checkbox/Checkbox.js +0 -19
- package/dist/components/Checkbox/index.js +0 -5
- package/dist/components/Chip/Chip.js +0 -8
- package/dist/components/Chip/index.js +0 -5
- package/dist/components/Container/Container.js +0 -49
- package/dist/components/CurrencyInput/CurrencyInput.js +0 -91
- package/dist/components/CurrencyInput/hooks/use-currency-setting.js +0 -167
- package/dist/components/CurrencyInput/index.js +0 -5
- package/dist/components/DataTable/DataTable.js +0 -568
- package/dist/components/DatePicker/DatePicker.js +0 -210
- package/dist/components/DatePicker/index.js +0 -5
- package/dist/components/DateRangePicker/DateRangePicker.js +0 -213
- package/dist/components/DialogActions/DialogActions.js +0 -14
- package/dist/components/DialogActions/index.js +0 -5
- package/dist/components/DialogContent/DialogContent.js +0 -11
- package/dist/components/DialogContent/index.js +0 -5
- package/dist/components/DialogFrame/DialogFrame.js +0 -31
- package/dist/components/DialogTitle/DialogTitle.js +0 -11
- package/dist/components/DialogTitle/index.js +0 -5
- package/dist/components/Divider/Divider.js +0 -19
- package/dist/components/Drawer/Drawer.js +0 -40
- package/dist/components/Dropdown/Dropdown.js +0 -8
- package/dist/components/Dropdown/index.js +0 -5
- package/dist/components/FormControl/FormControl.js +0 -15
- package/dist/components/FormControl/index.js +0 -5
- package/dist/components/FormHelperText/FormHelperText.js +0 -8
- package/dist/components/FormHelperText/index.js +0 -5
- package/dist/components/FormLabel/FormLabel.js +0 -8
- package/dist/components/FormLabel/index.js +0 -5
- package/dist/components/IconButton/IconButton.js +0 -20
- package/dist/components/IconButton/index.js +0 -5
- package/dist/components/Input/Input.js +0 -60
- package/dist/components/Input/index.js +0 -5
- package/dist/components/InsetDrawer/InsetDrawer.js +0 -30
- package/dist/components/Markdown/Markdown.js +0 -36
- package/dist/components/Menu/Menu.js +0 -43
- package/dist/components/Menu/index.js +0 -6
- package/dist/components/MenuButton/MenuButton.js +0 -26
- package/dist/components/Modal/Modal.js +0 -43
- package/dist/components/MonthPicker/MonthPicker.js +0 -162
- package/dist/components/MonthRangePicker/MonthRangePicker.js +0 -172
- package/dist/components/NavigationGroup/NavigationGroup.js +0 -42
- package/dist/components/NavigationItem/NavigationItem.js +0 -45
- package/dist/components/Navigator/Navigator.js +0 -30
- package/dist/components/Pagination/Pagination.js +0 -117
- package/dist/components/Pagination/index.js +0 -5
- package/dist/components/PercentageInput/PercentageInput.js +0 -85
- package/dist/components/Radio/Radio.js +0 -11
- package/dist/components/RadioList/RadioList.js +0 -18
- package/dist/components/Select/Select.js +0 -56
- package/dist/components/Select/index.js +0 -6
- package/dist/components/Sheet/Sheet.js +0 -8
- package/dist/components/Sheet/index.js +0 -5
- package/dist/components/Stack/index.js +0 -2
- package/dist/components/Stepper/Stepper.js +0 -66
- package/dist/components/Switch/Switch.js +0 -46
- package/dist/components/Table/Table.js +0 -64
- package/dist/components/Tabs/Tabs.js +0 -17
- package/dist/components/Textarea/Textarea.js +0 -31
- package/dist/components/Textarea/index.js +0 -5
- package/dist/components/ThemeProvider/ThemeProvider.js +0 -240
- package/dist/components/Tooltip/Tooltip.js +0 -19
- package/dist/components/Tooltip/index.js +0 -5
- package/dist/components/Typography/Typography.js +0 -19
- package/dist/components/Typography/index.js +0 -5
- package/dist/components/Uploader/Uploader.js +0 -402
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/adapter/element-adapter-native-data-key.js +0 -8
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/adapter/external-adapter.js +0 -245
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/combine.js +0 -1
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/external/adapter.js +0 -1
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/external/file.js +0 -1
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/prevent-unhandled.js +0 -1
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/get-element-from-point-without-honey-pot.js +0 -19
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/honey-pot-data-attribute.js +0 -5
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/is-honey-pot-element.js +0 -7
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/dispatch-consumer-event.js +0 -128
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/lifecycle-manager.js +0 -340
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/usage-ledger.js +0 -33
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-adapter.js +0 -60
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-drop-target.js +0 -312
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-monitor.js +0 -96
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/combine.js +0 -13
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/external/file.js +0 -23
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/once.js +0 -18
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/prevent-unhandled.js +0 -102
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/add-attribute.js +0 -10
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/android.js +0 -3
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/count-events-for-safari.js +0 -123
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/is-entering-window.js +0 -55
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/is-from-another-window.js +0 -18
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/is-leaving-window.js +0 -55
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/detect-broken-drag.js +0 -49
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/get-input.js +0 -16
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/is-firefox.js +0 -15
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/is-safari.js +0 -18
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/media-types/text-media-type.js +0 -8
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -7
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/defineProperty.js +0 -18
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/iterableToArray.js +0 -5
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -26
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -5
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/typeof.js +0 -11
- package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -12
- package/dist/external/@babel/runtime/helpers/esm/extends.js +0 -16
- package/dist/external/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
- package/dist/external/@babel/runtime/helpers/extends.js +0 -28
- package/dist/external/@babel/runtime/helpers/interopRequireDefault.js +0 -19
- package/dist/external/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -26
- package/dist/external/@emotion/cache/dist/emotion-cache.esm.js +0 -653
- package/dist/external/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
- package/dist/external/@emotion/sheet/dist/emotion-sheet.esm.js +0 -154
- package/dist/external/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -16
- package/dist/external/@mui/icons-material/esm/ArrowUpwardRounded.js +0 -8
- package/dist/external/@mui/icons-material/esm/CalendarToday.js +0 -8
- package/dist/external/@mui/icons-material/esm/Check.js +0 -8
- package/dist/external/@mui/icons-material/esm/ChevronLeft.js +0 -8
- package/dist/external/@mui/icons-material/esm/ChevronRight.js +0 -8
- package/dist/external/@mui/icons-material/esm/ClearRounded.js +0 -8
- package/dist/external/@mui/icons-material/esm/Close.js +0 -8
- package/dist/external/@mui/icons-material/esm/CloudUploadRounded.js +0 -8
- package/dist/external/@mui/icons-material/esm/ExpandMore.js +0 -8
- package/dist/external/@mui/icons-material/esm/Info.js +0 -8
- package/dist/external/@mui/icons-material/esm/UploadFileRounded.js +0 -8
- package/dist/external/@mui/material/SvgIcon/SvgIcon.js +0 -186
- package/dist/external/@mui/material/SvgIcon/svgIconClasses.js +0 -9
- package/dist/external/@mui/material/colors/blue.js +0 -18
- package/dist/external/@mui/material/colors/common.js +0 -6
- package/dist/external/@mui/material/colors/green.js +0 -18
- package/dist/external/@mui/material/colors/grey.js +0 -18
- package/dist/external/@mui/material/colors/lightBlue.js +0 -18
- package/dist/external/@mui/material/colors/orange.js +0 -18
- package/dist/external/@mui/material/colors/purple.js +0 -18
- package/dist/external/@mui/material/colors/red.js +0 -18
- package/dist/external/@mui/material/styles/createMixins.js +0 -19
- package/dist/external/@mui/material/styles/createPalette.js +0 -308
- package/dist/external/@mui/material/styles/createTheme.js +0 -82
- package/dist/external/@mui/material/styles/createTransitions.js +0 -91
- package/dist/external/@mui/material/styles/createTypography.js +0 -93
- package/dist/external/@mui/material/styles/defaultTheme.js +0 -5
- package/dist/external/@mui/material/styles/identifier.js +0 -3
- package/dist/external/@mui/material/styles/rootShouldForwardProp.js +0 -5
- package/dist/external/@mui/material/styles/shadows.js +0 -11
- package/dist/external/@mui/material/styles/slotShouldForwardProp.js +0 -6
- package/dist/external/@mui/material/styles/styled.js +0 -12
- package/dist/external/@mui/material/styles/useThemeProps.js +0 -17
- package/dist/external/@mui/material/styles/zIndex.js +0 -14
- package/dist/external/@mui/material/utils/capitalize.js +0 -5
- package/dist/external/@mui/material/utils/createSvgIcon.js +0 -24
- package/dist/external/@mui/styled-engine/GlobalStyles/GlobalStyles.js +0 -24
- package/dist/external/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +0 -37
- package/dist/external/@mui/styled-engine/index.js +0 -38
- package/dist/external/@mui/system/colorManipulator.js +0 -385
- package/dist/external/@mui/system/createStyled.js +0 -270
- package/dist/external/@mui/system/esm/borders.js +0 -51
- package/dist/external/@mui/system/esm/breakpoints.js +0 -66
- package/dist/external/@mui/system/esm/compose.js +0 -26
- package/dist/external/@mui/system/esm/createTheme/applyStyles.js +0 -76
- package/dist/external/@mui/system/esm/createTheme/createBreakpoints.js +0 -82
- package/dist/external/@mui/system/esm/createTheme/createSpacing.js +0 -34
- package/dist/external/@mui/system/esm/createTheme/createTheme.js +0 -45
- package/dist/external/@mui/system/esm/createTheme/index.js +0 -3
- package/dist/external/@mui/system/esm/createTheme/shape.js +0 -5
- package/dist/external/@mui/system/esm/cssGrid.js +0 -86
- package/dist/external/@mui/system/esm/memoize.js +0 -11
- package/dist/external/@mui/system/esm/merge.js +0 -12
- package/dist/external/@mui/system/esm/palette.js +0 -28
- package/dist/external/@mui/system/esm/responsivePropType.js +0 -5
- package/dist/external/@mui/system/esm/sizing.js +0 -67
- package/dist/external/@mui/system/esm/spacing.js +0 -144
- package/dist/external/@mui/system/esm/style.js +0 -77
- package/dist/external/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -293
- package/dist/external/@mui/system/esm/styleFunctionSx/extendSxProp.js +0 -51
- package/dist/external/@mui/system/esm/styleFunctionSx/index.js +0 -3
- package/dist/external/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +0 -129
- package/dist/external/@mui/system/esm/useTheme.js +0 -9
- package/dist/external/@mui/system/esm/useThemeProps/getThemeProps.js +0 -15
- package/dist/external/@mui/system/esm/useThemeProps/useThemeProps.js +0 -22
- package/dist/external/@mui/system/esm/useThemeWithoutDefault.js +0 -12
- package/dist/external/@mui/utils/ClassNameGenerator/ClassNameGenerator.js +0 -18
- package/dist/external/@mui/utils/capitalize/capitalize.js +0 -14
- package/dist/external/@mui/utils/capitalize/index.js +0 -1
- package/dist/external/@mui/utils/clamp/clamp.js +0 -5
- package/dist/external/@mui/utils/clamp/index.js +0 -1
- package/dist/external/@mui/utils/composeClasses/composeClasses.js +0 -23
- package/dist/external/@mui/utils/deepmerge/deepmerge.js +0 -44
- package/dist/external/@mui/utils/deepmerge/index.js +0 -1
- package/dist/external/@mui/utils/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -21
- package/dist/external/@mui/utils/formatMuiErrorMessage/index.js +0 -1
- package/dist/external/@mui/utils/generateUtilityClass/generateUtilityClass.js +0 -22
- package/dist/external/@mui/utils/generateUtilityClasses/generateUtilityClasses.js +0 -11
- package/dist/external/@mui/utils/getDisplayName/getDisplayName.js +0 -49
- package/dist/external/@mui/utils/getDisplayName/index.js +0 -1
- package/dist/external/@mui/utils/resolveProps/resolveProps.js +0 -37
- package/dist/external/bind-event-listener/dist/bind-all.js +0 -54
- package/dist/external/bind-event-listener/dist/bind.js +0 -21
- package/dist/external/bind-event-listener/dist/index.js +0 -21
- package/dist/external/clsx/dist/clsx.js +0 -3
- package/dist/external/object-assign/index.js +0 -99
- package/dist/external/prop-types/checkPropTypes.js +0 -115
- package/dist/external/prop-types/factoryWithThrowingShims.js +0 -74
- package/dist/external/prop-types/factoryWithTypeCheckers.js +0 -625
- package/dist/external/prop-types/index.js +0 -33
- package/dist/external/prop-types/lib/ReactPropTypesSecret.js +0 -21
- package/dist/external/prop-types/lib/has.js +0 -11
- package/dist/external/raf-schd/dist/raf-schd.esm.js +0 -34
- package/dist/external/stylis/src/Enum.js +0 -12
- package/dist/external/stylis/src/Middleware.js +0 -32
- package/dist/external/stylis/src/Parser.js +0 -193
- package/dist/external/stylis/src/Serializer.js +0 -38
- package/dist/external/stylis/src/Tokenizer.js +0 -223
- package/dist/external/stylis/src/Utility.js +0 -117
- package/dist/hooks/use-controlled-state/index.js +0 -23
- package/dist/libs/rehype-accent/index.js +0 -39
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import ClassNameGenerator from '../ClassNameGenerator/ClassNameGenerator.js';
|
|
2
|
-
|
|
3
|
-
const globalStateClasses = {
|
|
4
|
-
active: 'active',
|
|
5
|
-
checked: 'checked',
|
|
6
|
-
completed: 'completed',
|
|
7
|
-
disabled: 'disabled',
|
|
8
|
-
error: 'error',
|
|
9
|
-
expanded: 'expanded',
|
|
10
|
-
focused: 'focused',
|
|
11
|
-
focusVisible: 'focusVisible',
|
|
12
|
-
open: 'open',
|
|
13
|
-
readOnly: 'readOnly',
|
|
14
|
-
required: 'required',
|
|
15
|
-
selected: 'selected'
|
|
16
|
-
};
|
|
17
|
-
function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {
|
|
18
|
-
const globalStateClass = globalStateClasses[slot];
|
|
19
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export { generateUtilityClass as default, globalStateClasses };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import generateUtilityClass from '../generateUtilityClass/generateUtilityClass.js';
|
|
2
|
-
|
|
3
|
-
function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {
|
|
4
|
-
const result = {};
|
|
5
|
-
slots.forEach(slot => {
|
|
6
|
-
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
7
|
-
});
|
|
8
|
-
return result;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { generateUtilityClasses as default };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Memo, ForwardRef } from 'react-is';
|
|
2
|
-
|
|
3
|
-
// Simplified polyfill for IE11 support
|
|
4
|
-
// https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3
|
|
5
|
-
const fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
6
|
-
function getFunctionName(fn) {
|
|
7
|
-
const match = `${fn}`.match(fnNameMatchRegex);
|
|
8
|
-
const name = match && match[1];
|
|
9
|
-
return name || '';
|
|
10
|
-
}
|
|
11
|
-
function getFunctionComponentName(Component, fallback = '') {
|
|
12
|
-
return Component.displayName || Component.name || getFunctionName(Component) || fallback;
|
|
13
|
-
}
|
|
14
|
-
function getWrappedName(outerType, innerType, wrapperName) {
|
|
15
|
-
const functionName = getFunctionComponentName(innerType);
|
|
16
|
-
return outerType.displayName || (functionName !== '' ? `${wrapperName}(${functionName})` : wrapperName);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* cherry-pick from
|
|
21
|
-
* https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js
|
|
22
|
-
* originally forked from recompose/getDisplayName with added IE11 support
|
|
23
|
-
*/
|
|
24
|
-
function getDisplayName(Component) {
|
|
25
|
-
if (Component == null) {
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
if (typeof Component === 'string') {
|
|
29
|
-
return Component;
|
|
30
|
-
}
|
|
31
|
-
if (typeof Component === 'function') {
|
|
32
|
-
return getFunctionComponentName(Component, 'Component');
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// TypeScript can't have components as objects but they exist in the form of `memo` or `Suspense`
|
|
36
|
-
if (typeof Component === 'object') {
|
|
37
|
-
switch (Component.$$typeof) {
|
|
38
|
-
case ForwardRef:
|
|
39
|
-
return getWrappedName(Component, Component.render, 'ForwardRef');
|
|
40
|
-
case Memo:
|
|
41
|
-
return getWrappedName(Component, Component.type, 'memo');
|
|
42
|
-
default:
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return undefined;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { getDisplayName as default, getFunctionName };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, getFunctionName } from './getDisplayName.js';
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import _extends from '../../../@babel/runtime/helpers/esm/extends.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Add keys, values of `defaultProps` that does not exist in `props`
|
|
5
|
-
* @param {object} defaultProps
|
|
6
|
-
* @param {object} props
|
|
7
|
-
* @returns {object} resolved props
|
|
8
|
-
*/
|
|
9
|
-
function resolveProps(defaultProps, props) {
|
|
10
|
-
const output = _extends({}, props);
|
|
11
|
-
Object.keys(defaultProps).forEach(propName => {
|
|
12
|
-
if (propName.toString().match(/^(components|slots)$/)) {
|
|
13
|
-
output[propName] = _extends({}, defaultProps[propName], output[propName]);
|
|
14
|
-
} else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
15
|
-
const defaultSlotProps = defaultProps[propName] || {};
|
|
16
|
-
const slotProps = props[propName];
|
|
17
|
-
output[propName] = {};
|
|
18
|
-
if (!slotProps || !Object.keys(slotProps)) {
|
|
19
|
-
// Reduce the iteration if the slot props is empty
|
|
20
|
-
output[propName] = defaultSlotProps;
|
|
21
|
-
} else if (!defaultSlotProps || !Object.keys(defaultSlotProps)) {
|
|
22
|
-
// Reduce the iteration if the default slot props is empty
|
|
23
|
-
output[propName] = slotProps;
|
|
24
|
-
} else {
|
|
25
|
-
output[propName] = _extends({}, slotProps);
|
|
26
|
-
Object.keys(defaultSlotProps).forEach(slotPropName => {
|
|
27
|
-
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
} else if (output[propName] === undefined) {
|
|
31
|
-
output[propName] = defaultProps[propName];
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
return output;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { resolveProps as default };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { __exports as bindAll } from '../../../_virtual/bind-all.js';
|
|
2
|
-
import { __require as requireBind } from './bind.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredBindAll;
|
|
5
|
-
|
|
6
|
-
function requireBindAll () {
|
|
7
|
-
if (hasRequiredBindAll) return bindAll;
|
|
8
|
-
hasRequiredBindAll = 1;
|
|
9
|
-
var __assign = (bindAll.__assign) || function () {
|
|
10
|
-
__assign = Object.assign || function(t) {
|
|
11
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
12
|
-
s = arguments[i];
|
|
13
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
14
|
-
t[p] = s[p];
|
|
15
|
-
}
|
|
16
|
-
return t;
|
|
17
|
-
};
|
|
18
|
-
return __assign.apply(this, arguments);
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(bindAll, "__esModule", { value: true });
|
|
21
|
-
bindAll.bindAll = undefined;
|
|
22
|
-
var bind_1 = /*@__PURE__*/ requireBind();
|
|
23
|
-
function toOptions(value) {
|
|
24
|
-
if (typeof value === 'undefined') {
|
|
25
|
-
return undefined;
|
|
26
|
-
}
|
|
27
|
-
if (typeof value === 'boolean') {
|
|
28
|
-
return {
|
|
29
|
-
capture: value,
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
return value;
|
|
33
|
-
}
|
|
34
|
-
function getBinding(original, sharedOptions) {
|
|
35
|
-
if (sharedOptions == null) {
|
|
36
|
-
return original;
|
|
37
|
-
}
|
|
38
|
-
var binding = __assign(__assign({}, original), { options: __assign(__assign({}, toOptions(sharedOptions)), toOptions(original.options)) });
|
|
39
|
-
return binding;
|
|
40
|
-
}
|
|
41
|
-
function bindAll$1(target, bindings, sharedOptions) {
|
|
42
|
-
var unbinds = bindings.map(function (original) {
|
|
43
|
-
var binding = getBinding(original, sharedOptions);
|
|
44
|
-
return (0, bind_1.bind)(target, binding);
|
|
45
|
-
});
|
|
46
|
-
return function unbindAll() {
|
|
47
|
-
unbinds.forEach(function (unbind) { return unbind(); });
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
bindAll.bindAll = bindAll$1;
|
|
51
|
-
return bindAll;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export { requireBindAll as __require };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __exports as bind } from '../../../_virtual/bind.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredBind;
|
|
4
|
-
|
|
5
|
-
function requireBind () {
|
|
6
|
-
if (hasRequiredBind) return bind;
|
|
7
|
-
hasRequiredBind = 1;
|
|
8
|
-
Object.defineProperty(bind, "__esModule", { value: true });
|
|
9
|
-
bind.bind = undefined;
|
|
10
|
-
function bind$1(target, _a) {
|
|
11
|
-
var type = _a.type, listener = _a.listener, options = _a.options;
|
|
12
|
-
target.addEventListener(type, listener, options);
|
|
13
|
-
return function unbind() {
|
|
14
|
-
target.removeEventListener(type, listener, options);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
bind.bind = bind$1;
|
|
18
|
-
return bind;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { requireBind as __require };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __exports as dist } from '../../../_virtual/index2.js';
|
|
2
|
-
import { __require as requireBind } from './bind.js';
|
|
3
|
-
import { __require as requireBindAll } from './bind-all.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredDist;
|
|
6
|
-
|
|
7
|
-
function requireDist () {
|
|
8
|
-
if (hasRequiredDist) return dist;
|
|
9
|
-
hasRequiredDist = 1;
|
|
10
|
-
(function (exports) {
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.bindAll = exports.bind = undefined;
|
|
13
|
-
var bind_1 = /*@__PURE__*/ requireBind();
|
|
14
|
-
Object.defineProperty(exports, "bind", { enumerable: true, get: function () { return bind_1.bind; } });
|
|
15
|
-
var bind_all_1 = /*@__PURE__*/ requireBindAll();
|
|
16
|
-
Object.defineProperty(exports, "bindAll", { enumerable: true, get: function () { return bind_all_1.bindAll; } });
|
|
17
|
-
} (dist));
|
|
18
|
-
return dist;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { requireDist as __require };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
2
|
-
|
|
3
|
-
export { clsx, clsx as default };
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
var objectAssign;
|
|
8
|
-
var hasRequiredObjectAssign;
|
|
9
|
-
|
|
10
|
-
function requireObjectAssign () {
|
|
11
|
-
if (hasRequiredObjectAssign) return objectAssign;
|
|
12
|
-
hasRequiredObjectAssign = 1;
|
|
13
|
-
/* eslint-disable no-unused-vars */
|
|
14
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
15
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
16
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
17
|
-
|
|
18
|
-
function toObject(val) {
|
|
19
|
-
if (val === null || val === undefined) {
|
|
20
|
-
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return Object(val);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function shouldUseNative() {
|
|
27
|
-
try {
|
|
28
|
-
if (!Object.assign) {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Detect buggy property enumeration order in older V8 versions.
|
|
33
|
-
|
|
34
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
35
|
-
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
36
|
-
test1[5] = 'de';
|
|
37
|
-
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
42
|
-
var test2 = {};
|
|
43
|
-
for (var i = 0; i < 10; i++) {
|
|
44
|
-
test2['_' + String.fromCharCode(i)] = i;
|
|
45
|
-
}
|
|
46
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
47
|
-
return test2[n];
|
|
48
|
-
});
|
|
49
|
-
if (order2.join('') !== '0123456789') {
|
|
50
|
-
return false;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
54
|
-
var test3 = {};
|
|
55
|
-
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
56
|
-
test3[letter] = letter;
|
|
57
|
-
});
|
|
58
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
59
|
-
'abcdefghijklmnopqrst') {
|
|
60
|
-
return false;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return true;
|
|
64
|
-
} catch (err) {
|
|
65
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
66
|
-
return false;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
71
|
-
var from;
|
|
72
|
-
var to = toObject(target);
|
|
73
|
-
var symbols;
|
|
74
|
-
|
|
75
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
76
|
-
from = Object(arguments[s]);
|
|
77
|
-
|
|
78
|
-
for (var key in from) {
|
|
79
|
-
if (hasOwnProperty.call(from, key)) {
|
|
80
|
-
to[key] = from[key];
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
if (getOwnPropertySymbols) {
|
|
85
|
-
symbols = getOwnPropertySymbols(from);
|
|
86
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
87
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
88
|
-
to[symbols[i]] = from[symbols[i]];
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
return to;
|
|
95
|
-
};
|
|
96
|
-
return objectAssign;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export { requireObjectAssign as __require };
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { __require as requireReactPropTypesSecret } from './lib/ReactPropTypesSecret.js';
|
|
2
|
-
import { __require as requireHas } from './lib/has.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
var checkPropTypes_1;
|
|
12
|
-
var hasRequiredCheckPropTypes;
|
|
13
|
-
|
|
14
|
-
function requireCheckPropTypes () {
|
|
15
|
-
if (hasRequiredCheckPropTypes) return checkPropTypes_1;
|
|
16
|
-
hasRequiredCheckPropTypes = 1;
|
|
17
|
-
|
|
18
|
-
var printWarning = function() {};
|
|
19
|
-
|
|
20
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
21
|
-
var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret();
|
|
22
|
-
var loggedTypeFailures = {};
|
|
23
|
-
var has = /*@__PURE__*/ requireHas();
|
|
24
|
-
|
|
25
|
-
printWarning = function(text) {
|
|
26
|
-
var message = 'Warning: ' + text;
|
|
27
|
-
if (typeof console !== 'undefined') {
|
|
28
|
-
console.error(message);
|
|
29
|
-
}
|
|
30
|
-
try {
|
|
31
|
-
// --- Welcome to debugging React ---
|
|
32
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
33
|
-
// to find the callsite that caused this warning to fire.
|
|
34
|
-
throw new Error(message);
|
|
35
|
-
} catch (x) { /**/ }
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Assert that the values match with the type specs.
|
|
41
|
-
* Error messages are memorized and will only be shown once.
|
|
42
|
-
*
|
|
43
|
-
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
44
|
-
* @param {object} values Runtime values that need to be type-checked
|
|
45
|
-
* @param {string} location e.g. "prop", "context", "child context"
|
|
46
|
-
* @param {string} componentName Name of the component for error messages.
|
|
47
|
-
* @param {?Function} getStack Returns the component stack.
|
|
48
|
-
* @private
|
|
49
|
-
*/
|
|
50
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
51
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
52
|
-
for (var typeSpecName in typeSpecs) {
|
|
53
|
-
if (has(typeSpecs, typeSpecName)) {
|
|
54
|
-
var error;
|
|
55
|
-
// Prop type validation may throw. In case they do, we don't want to
|
|
56
|
-
// fail the render phase where it didn't fail before. So we log it.
|
|
57
|
-
// After these have been cleaned up, we'll let them throw.
|
|
58
|
-
try {
|
|
59
|
-
// This is intentionally an invariant that gets caught. It's the same
|
|
60
|
-
// behavior as without this statement except with a better message.
|
|
61
|
-
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
62
|
-
var err = Error(
|
|
63
|
-
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
64
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
65
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
66
|
-
);
|
|
67
|
-
err.name = 'Invariant Violation';
|
|
68
|
-
throw err;
|
|
69
|
-
}
|
|
70
|
-
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
71
|
-
} catch (ex) {
|
|
72
|
-
error = ex;
|
|
73
|
-
}
|
|
74
|
-
if (error && !(error instanceof Error)) {
|
|
75
|
-
printWarning(
|
|
76
|
-
(componentName || 'React class') + ': type specification of ' +
|
|
77
|
-
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
78
|
-
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
79
|
-
'You may have forgotten to pass an argument to the type checker ' +
|
|
80
|
-
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
81
|
-
'shape all require an argument).'
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
85
|
-
// Only monitor this failure once because there tends to be a lot of the
|
|
86
|
-
// same error.
|
|
87
|
-
loggedTypeFailures[error.message] = true;
|
|
88
|
-
|
|
89
|
-
var stack = getStack ? getStack() : '';
|
|
90
|
-
|
|
91
|
-
printWarning(
|
|
92
|
-
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Resets warning cache when testing.
|
|
102
|
-
*
|
|
103
|
-
* @private
|
|
104
|
-
*/
|
|
105
|
-
checkPropTypes.resetWarningCache = function() {
|
|
106
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
107
|
-
loggedTypeFailures = {};
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
checkPropTypes_1 = checkPropTypes;
|
|
112
|
-
return checkPropTypes_1;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export { requireCheckPropTypes as __require };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { __require as requireReactPropTypesSecret } from './lib/ReactPropTypesSecret.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
var factoryWithThrowingShims;
|
|
11
|
-
var hasRequiredFactoryWithThrowingShims;
|
|
12
|
-
|
|
13
|
-
function requireFactoryWithThrowingShims () {
|
|
14
|
-
if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
|
|
15
|
-
hasRequiredFactoryWithThrowingShims = 1;
|
|
16
|
-
|
|
17
|
-
var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret();
|
|
18
|
-
|
|
19
|
-
function emptyFunction() {}
|
|
20
|
-
function emptyFunctionWithReset() {}
|
|
21
|
-
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
22
|
-
|
|
23
|
-
factoryWithThrowingShims = function() {
|
|
24
|
-
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
25
|
-
if (secret === ReactPropTypesSecret) {
|
|
26
|
-
// It is still safe when called from React.
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
var err = new Error(
|
|
30
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
31
|
-
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
32
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
33
|
-
);
|
|
34
|
-
err.name = 'Invariant Violation';
|
|
35
|
-
throw err;
|
|
36
|
-
} shim.isRequired = shim;
|
|
37
|
-
function getShim() {
|
|
38
|
-
return shim;
|
|
39
|
-
} // Important!
|
|
40
|
-
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
41
|
-
var ReactPropTypes = {
|
|
42
|
-
array: shim,
|
|
43
|
-
bigint: shim,
|
|
44
|
-
bool: shim,
|
|
45
|
-
func: shim,
|
|
46
|
-
number: shim,
|
|
47
|
-
object: shim,
|
|
48
|
-
string: shim,
|
|
49
|
-
symbol: shim,
|
|
50
|
-
|
|
51
|
-
any: shim,
|
|
52
|
-
arrayOf: getShim,
|
|
53
|
-
element: shim,
|
|
54
|
-
elementType: shim,
|
|
55
|
-
instanceOf: getShim,
|
|
56
|
-
node: shim,
|
|
57
|
-
objectOf: getShim,
|
|
58
|
-
oneOf: getShim,
|
|
59
|
-
oneOfType: getShim,
|
|
60
|
-
shape: getShim,
|
|
61
|
-
exact: getShim,
|
|
62
|
-
|
|
63
|
-
checkPropTypes: emptyFunctionWithReset,
|
|
64
|
-
resetWarningCache: emptyFunction
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
68
|
-
|
|
69
|
-
return ReactPropTypes;
|
|
70
|
-
};
|
|
71
|
-
return factoryWithThrowingShims;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export { requireFactoryWithThrowingShims as __require };
|