@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,74 +0,0 @@
|
|
|
1
|
-
const getCalendarDates = (date) => {
|
|
2
|
-
const dates = [];
|
|
3
|
-
const firstDay = new Date(date.getFullYear(), date.getMonth(), 1);
|
|
4
|
-
const lastDay = new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
|
5
|
-
const firstWeekInThisMonth = Math.ceil((firstDay.getDay() + 1) / 7);
|
|
6
|
-
const lastWeekInThisMonth = Math.ceil((lastDay.getDate() + firstDay.getDay()) / 7);
|
|
7
|
-
let day = 1;
|
|
8
|
-
for (let i = 1; i <= lastWeekInThisMonth; i++) {
|
|
9
|
-
const week = [];
|
|
10
|
-
for (let j = 1; j <= 7; j++) {
|
|
11
|
-
if (i === firstWeekInThisMonth && j < firstDay.getDay() + 1) {
|
|
12
|
-
week.push(undefined);
|
|
13
|
-
}
|
|
14
|
-
else if (day > lastDay.getDate()) {
|
|
15
|
-
week.push(undefined);
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
week.push(day);
|
|
19
|
-
day++;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
dates.push(week);
|
|
23
|
-
}
|
|
24
|
-
return dates;
|
|
25
|
-
};
|
|
26
|
-
const getYearName = (date, locale) => {
|
|
27
|
-
return date.toLocaleString(locale, { year: "numeric" });
|
|
28
|
-
};
|
|
29
|
-
const getMonthName = (date, locale) => {
|
|
30
|
-
return date.toLocaleString(locale, { year: "numeric", month: "long" });
|
|
31
|
-
};
|
|
32
|
-
const getMonthNameFromIndex = (index, locale) => {
|
|
33
|
-
return new Date(0, index).toLocaleString(locale, { month: "short" });
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* 일~토 / Sun ~ Sat 같은 요일 이름을 가져옵니다.
|
|
37
|
-
*/
|
|
38
|
-
const getWeekdayNames = (locale) => {
|
|
39
|
-
const currentDay = new Date().getDay();
|
|
40
|
-
const date = new Date();
|
|
41
|
-
date.setDate(date.getDate() - currentDay);
|
|
42
|
-
return Array.from({ length: 7 }).map(() => {
|
|
43
|
-
const day = date.toLocaleString(locale, { weekday: "short" });
|
|
44
|
-
date.setDate(date.getDate() + 1);
|
|
45
|
-
return day;
|
|
46
|
-
});
|
|
47
|
-
};
|
|
48
|
-
const isToday = (date) => {
|
|
49
|
-
const today = new Date();
|
|
50
|
-
const d = new Date(date);
|
|
51
|
-
d.setHours(0, 0, 0, 0);
|
|
52
|
-
today.setHours(0, 0, 0, 0);
|
|
53
|
-
return d.getTime() === today.getTime();
|
|
54
|
-
};
|
|
55
|
-
const isSameDay = (date1, date2) => {
|
|
56
|
-
const d1 = new Date(date1);
|
|
57
|
-
const d2 = new Date(date2);
|
|
58
|
-
d1.setHours(0, 0, 0, 0);
|
|
59
|
-
d2.setHours(0, 0, 0, 0);
|
|
60
|
-
return d1.getTime() === d2.getTime();
|
|
61
|
-
};
|
|
62
|
-
const isWithinRange = (d1, d2, date) => {
|
|
63
|
-
const dateToCheck = new Date(date);
|
|
64
|
-
dateToCheck.setHours(0, 0, 0, 0);
|
|
65
|
-
const minDate = new Date(Math.min(d1.getTime(), d2.getTime()));
|
|
66
|
-
const maxDate = new Date(Math.max(d1.getTime(), d2.getTime()));
|
|
67
|
-
return dateToCheck >= minDate && dateToCheck <= maxDate;
|
|
68
|
-
};
|
|
69
|
-
const isSameMonth = (date1, date2) => {
|
|
70
|
-
return (date1.getFullYear() === date2.getFullYear() &&
|
|
71
|
-
date1.getMonth() === date2.getMonth());
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
export { getCalendarDates, getMonthName, getMonthNameFromIndex, getWeekdayNames, getYearName, isSameDay, isSameMonth, isToday, isWithinRange };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Card as Card$1, CardContent as CardContent$1, CardCover as CardCover$1, CardActions as CardActions$1, CardOverflow as CardOverflow$1 } from '@mui/joy';
|
|
2
|
-
import { motion } from 'framer-motion';
|
|
3
|
-
|
|
4
|
-
const MotionCard = motion(Card$1);
|
|
5
|
-
const Card = MotionCard;
|
|
6
|
-
Card.displayName = "Card";
|
|
7
|
-
const MotionCardContent = motion(CardContent$1);
|
|
8
|
-
const CardContent = MotionCardContent;
|
|
9
|
-
CardContent.displayName = "CardContent";
|
|
10
|
-
const MotionCardCover = motion(CardCover$1);
|
|
11
|
-
const CardCover = MotionCardCover;
|
|
12
|
-
CardCover.displayName = "CardCover";
|
|
13
|
-
const MotionCardActions = motion(CardActions$1);
|
|
14
|
-
const CardActions = MotionCardActions;
|
|
15
|
-
CardActions.displayName = "CardActions";
|
|
16
|
-
const MotionCardOverflow = motion(CardOverflow$1);
|
|
17
|
-
const CardOverflow = MotionCardOverflow;
|
|
18
|
-
CardOverflow.displayName = "CardOverflow";
|
|
19
|
-
|
|
20
|
-
export { Card, CardActions, CardContent, CardCover, CardOverflow };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { Checkbox as Checkbox$1 } from '@mui/joy';
|
|
3
|
-
import { motion } from 'framer-motion';
|
|
4
|
-
|
|
5
|
-
const MotionCheckbox = motion(Checkbox$1);
|
|
6
|
-
const Checkbox = (props) => {
|
|
7
|
-
// prop destruction
|
|
8
|
-
// lib hooks
|
|
9
|
-
// state, ref, querystring hooks
|
|
10
|
-
// form hooks
|
|
11
|
-
// query hooks
|
|
12
|
-
// calculated values
|
|
13
|
-
// effects
|
|
14
|
-
// handlers
|
|
15
|
-
return React__default.createElement(MotionCheckbox, { ...props });
|
|
16
|
-
};
|
|
17
|
-
Checkbox.displayName = "Checkbox";
|
|
18
|
-
|
|
19
|
-
export { Checkbox };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { styled } from '@mui/joy';
|
|
2
|
-
import React__default, { forwardRef } from 'react';
|
|
3
|
-
|
|
4
|
-
const ContainerRoot = styled("div", {
|
|
5
|
-
name: "Container",
|
|
6
|
-
slot: "root",
|
|
7
|
-
shouldForwardProp: (prop) => prop !== "maxWidth" && prop !== "overrideBreakpoint",
|
|
8
|
-
})(({ theme, maxWidth = "lg", overrideBreakpoint }) => [
|
|
9
|
-
{
|
|
10
|
-
width: "100%",
|
|
11
|
-
marginLeft: "auto",
|
|
12
|
-
boxSizing: "border-box",
|
|
13
|
-
marginRight: "auto",
|
|
14
|
-
display: "block", // Fix IE11 layout when used with main.
|
|
15
|
-
paddingLeft: theme.spacing(4),
|
|
16
|
-
paddingRight: theme.spacing(4),
|
|
17
|
-
[theme.breakpoints.up("md")]: {
|
|
18
|
-
paddingLeft: theme.spacing(8),
|
|
19
|
-
paddingRight: theme.spacing(8),
|
|
20
|
-
},
|
|
21
|
-
maxWidth: theme.breakpoints.values[maxWidth],
|
|
22
|
-
},
|
|
23
|
-
overrideBreakpoint
|
|
24
|
-
? {
|
|
25
|
-
paddingLeft: theme.breakpoints.values[overrideBreakpoint] >=
|
|
26
|
-
theme.breakpoints.values.lg
|
|
27
|
-
? theme.spacing(8)
|
|
28
|
-
: theme.spacing(4),
|
|
29
|
-
paddingRight: theme.breakpoints.values[overrideBreakpoint] >=
|
|
30
|
-
theme.breakpoints.values.lg
|
|
31
|
-
? theme.spacing(8)
|
|
32
|
-
: theme.spacing(4),
|
|
33
|
-
}
|
|
34
|
-
: null,
|
|
35
|
-
]);
|
|
36
|
-
const Container = forwardRef(function Container(props, ref) {
|
|
37
|
-
// prop destruction
|
|
38
|
-
// lib hooks
|
|
39
|
-
// state, ref, querystring hooks
|
|
40
|
-
// form hooks
|
|
41
|
-
// query hooks
|
|
42
|
-
// calculated values
|
|
43
|
-
// effects
|
|
44
|
-
// handlers
|
|
45
|
-
return React__default.createElement(ContainerRoot, { ref: ref, ...props });
|
|
46
|
-
});
|
|
47
|
-
Container.displayName = "Container";
|
|
48
|
-
|
|
49
|
-
export { Container };
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import React__default, { useCallback, useMemo, useState } from 'react';
|
|
2
|
-
import { IntlMessageFormat } from 'intl-messageformat';
|
|
3
|
-
import { NumericFormat } from 'react-number-format';
|
|
4
|
-
import { Input } from '../Input/Input.js';
|
|
5
|
-
import { styled, useThemeProps } from '@mui/joy';
|
|
6
|
-
import { useCurrencySetting } from './hooks/use-currency-setting.js';
|
|
7
|
-
import { useControlledState } from '../../hooks/use-controlled-state/index.js';
|
|
8
|
-
|
|
9
|
-
const TextMaskAdapter = React__default.forwardRef(function TextMaskAdapter(props, ref) {
|
|
10
|
-
// prop destruction
|
|
11
|
-
const { onChange, ...innerProps } = props;
|
|
12
|
-
// lib hooks
|
|
13
|
-
// state, ref, querystring hooks
|
|
14
|
-
// form hooks
|
|
15
|
-
// query hooks
|
|
16
|
-
// calculated values
|
|
17
|
-
// effects
|
|
18
|
-
// handlers
|
|
19
|
-
return (React__default.createElement(NumericFormat, { ...innerProps, onValueChange: ({ value }) => {
|
|
20
|
-
onChange?.({
|
|
21
|
-
target: { name: props.name, value },
|
|
22
|
-
});
|
|
23
|
-
}, valueIsNumericString: true, getInputRef: ref, allowNegative: false }));
|
|
24
|
-
});
|
|
25
|
-
const CurrencyInputRoot = styled(Input, {
|
|
26
|
-
name: "CurrencyInput",
|
|
27
|
-
slot: "root",
|
|
28
|
-
overridesResolver: (props, styles) => styles.root,
|
|
29
|
-
})({});
|
|
30
|
-
const CurrencyInput = React__default.forwardRef(function CurrencyInput(inProps, ref) {
|
|
31
|
-
// prop destruction
|
|
32
|
-
const props = useThemeProps({ props: inProps, name: "CurrencyInput" });
|
|
33
|
-
const { currency = "USD", name, onChange, label, error, helperText, required, disabled, useMinorUnit,
|
|
34
|
-
// NOTE: 스타일 관련된 props는 최상위 엘리먼트에 적용한다.
|
|
35
|
-
sx, className, ...innerProps } = props;
|
|
36
|
-
// lib hooks
|
|
37
|
-
const { symbol, thousandSeparator, decimalSeparator, placeholder, fixedDecimalScale, decimalScale, } = useCurrencySetting(currency);
|
|
38
|
-
// state, ref, querystring hooks
|
|
39
|
-
const [_value, setValue] = useControlledState(props.value, props.defaultValue, useCallback((value) => onChange?.({ target: { name, value } }), [onChange, name]));
|
|
40
|
-
const value = useMemo(() => {
|
|
41
|
-
if (_value && useMinorUnit) {
|
|
42
|
-
return _value / Math.pow(10, decimalScale);
|
|
43
|
-
}
|
|
44
|
-
return _value;
|
|
45
|
-
}, [_value, useMinorUnit, decimalScale]);
|
|
46
|
-
const max = useMemo(() => {
|
|
47
|
-
if (props.max && useMinorUnit) {
|
|
48
|
-
return props.max / Math.pow(10, decimalScale);
|
|
49
|
-
}
|
|
50
|
-
return props.max;
|
|
51
|
-
}, [props.max, useMinorUnit, decimalScale]);
|
|
52
|
-
const [isOverLimit, setIsOverLimit] = useState(!!max && !!value && value > max);
|
|
53
|
-
// form hooks
|
|
54
|
-
// query hooks
|
|
55
|
-
// calculated values
|
|
56
|
-
// effects
|
|
57
|
-
// handlers
|
|
58
|
-
const handleChange = useCallback((event) => {
|
|
59
|
-
if (event.target.value === "") {
|
|
60
|
-
setValue(undefined);
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
const amount = useMinorUnit
|
|
64
|
-
? Number(event.target.value?.replace(decimalSeparator, ""))
|
|
65
|
-
: Number(event.target.value);
|
|
66
|
-
if (!!max && Number(event.target.value) > max) {
|
|
67
|
-
setIsOverLimit(true);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
setIsOverLimit(false);
|
|
71
|
-
}
|
|
72
|
-
setValue(amount);
|
|
73
|
-
}, [decimalSeparator, max, useMinorUnit, setValue]);
|
|
74
|
-
return (React__default.createElement(CurrencyInputRoot, { ...innerProps, ref: ref, value: value, placeholder: placeholder, onChange: handleChange, error: error || isOverLimit, disabled: disabled, required: required, color: error || isOverLimit ? "danger" : props.color, label: label, helperText: isOverLimit
|
|
75
|
-
? new IntlMessageFormat(`limit: {amount, number, ::currency/${currency} unit-width-narrow}`).format({ amount: max })
|
|
76
|
-
: helperText, slotProps: {
|
|
77
|
-
input: {
|
|
78
|
-
component: TextMaskAdapter,
|
|
79
|
-
decimalSeparator,
|
|
80
|
-
thousandSeparator,
|
|
81
|
-
prefix: symbol,
|
|
82
|
-
fixedDecimalScale,
|
|
83
|
-
decimalScale,
|
|
84
|
-
"aria-label": innerProps["aria-label"],
|
|
85
|
-
},
|
|
86
|
-
}, sx: {
|
|
87
|
-
...sx,
|
|
88
|
-
}, className: className }));
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
export { CurrencyInput };
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import IntlMessageFormat from 'intl-messageformat';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @see https://docs.adyen.com/development-resources/currency-codes/
|
|
5
|
-
*/
|
|
6
|
-
const CURRENCY_DECIMAL_MAP = {
|
|
7
|
-
AED: 2,
|
|
8
|
-
ALL: 2,
|
|
9
|
-
AMD: 2,
|
|
10
|
-
ANG: 2,
|
|
11
|
-
AOA: 2,
|
|
12
|
-
ARS: 2,
|
|
13
|
-
AUD: 2,
|
|
14
|
-
AWG: 2,
|
|
15
|
-
AZN: 2,
|
|
16
|
-
BAM: 2,
|
|
17
|
-
BBD: 2,
|
|
18
|
-
BDT: 2,
|
|
19
|
-
BGN: 2,
|
|
20
|
-
BHD: 3,
|
|
21
|
-
BMD: 2,
|
|
22
|
-
BND: 2,
|
|
23
|
-
BO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,
|
|
138
|
-
VUV: 0,
|
|
139
|
-
WST: 2,
|
|
140
|
-
XAF: 0,
|
|
141
|
-
XCD: 2,
|
|
142
|
-
XOF: 0,
|
|
143
|
-
XPF: 0,
|
|
144
|
-
YER: 2,
|
|
145
|
-
ZAR: 2,
|
|
146
|
-
ZMW: 2,
|
|
147
|
-
};
|
|
148
|
-
const useCurrencySetting = (currencyCode = "USD") => {
|
|
149
|
-
const [symbol, thousandSeparator, decimalSeparator, ...rest] = new IntlMessageFormat(`{amount, number, ::currency/${currencyCode} unit-width-narrow}`)
|
|
150
|
-
.format({ amount: 1000 })
|
|
151
|
-
.toString()
|
|
152
|
-
.replace(/\d/g, "")
|
|
153
|
-
.split("");
|
|
154
|
-
const decimalScale = CURRENCY_DECIMAL_MAP[currencyCode];
|
|
155
|
-
return {
|
|
156
|
-
symbol: `${symbol} `,
|
|
157
|
-
thousandSeparator,
|
|
158
|
-
decimalSeparator,
|
|
159
|
-
placeholder: decimalSeparator
|
|
160
|
-
? `${symbol} 0${decimalSeparator}${Array.from(Array(decimalScale)).map(() => 0).join('')}`
|
|
161
|
-
: `${symbol} 0`,
|
|
162
|
-
fixedDecimalScale: !!decimalSeparator,
|
|
163
|
-
decimalScale,
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
export { useCurrencySetting };
|