@tidbcloud/uikit 2.8.6 → 2.9.1
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/CHANGELOG.md +15 -0
- package/dist/_virtual/_commonjsHelpers.cjs +0 -2
- package/dist/_virtual/_commonjsHelpers.mjs +0 -2
- package/dist/_virtual/customParseFormat.cjs +6 -3
- package/dist/_virtual/customParseFormat.mjs +5 -2
- package/dist/_virtual/customParseFormat2.cjs +4 -0
- package/dist/_virtual/customParseFormat2.mjs +4 -0
- package/dist/_virtual/duration.cjs +6 -3
- package/dist/_virtual/duration.mjs +5 -2
- package/dist/_virtual/duration2.cjs +4 -0
- package/dist/_virtual/duration2.mjs +4 -0
- package/dist/_virtual/index.cjs +6 -3
- package/dist/_virtual/index.mjs +5 -2
- package/dist/_virtual/index2.cjs +2 -2
- package/dist/_virtual/index2.mjs +2 -2
- package/dist/_virtual/index3.cjs +4 -0
- package/dist/_virtual/index3.mjs +4 -0
- package/dist/_virtual/isoWeek.cjs +6 -3
- package/dist/_virtual/isoWeek.mjs +5 -2
- package/dist/_virtual/isoWeek2.cjs +4 -0
- package/dist/_virtual/isoWeek2.mjs +4 -0
- package/dist/_virtual/minMax.cjs +6 -3
- package/dist/_virtual/minMax.mjs +5 -2
- package/dist/_virtual/minMax2.cjs +4 -0
- package/dist/_virtual/minMax2.mjs +4 -0
- package/dist/_virtual/timezone.cjs +6 -3
- package/dist/_virtual/timezone.mjs +5 -2
- package/dist/_virtual/timezone2.cjs +4 -0
- package/dist/_virtual/timezone2.mjs +4 -0
- package/dist/_virtual/utc.cjs +6 -3
- package/dist/_virtual/utc.mjs +5 -2
- package/dist/_virtual/utc2.cjs +4 -0
- package/dist/_virtual/utc2.mjs +4 -0
- package/dist/biz/CodeBlock/index.mjs +1 -1
- package/dist/biz/DateTimePicker/TimeScollerPicker.cjs +2 -0
- package/dist/biz/DateTimePicker/TimeScollerPicker.mjs +2 -0
- package/dist/biz/DateTimePicker/helpers.cjs +4 -4
- package/dist/biz/DateTimePicker/helpers.mjs +4 -4
- package/dist/biz/DateTimePicker/index.cjs +20 -9
- package/dist/biz/DateTimePicker/index.d.cts +1 -1
- package/dist/biz/DateTimePicker/index.d.mts +1 -1
- package/dist/biz/DateTimePicker/index.mjs +21 -10
- package/dist/biz/DotBadge/index.cjs +4 -4
- package/dist/biz/Form/DateTimePicker.cjs +57 -0
- package/dist/biz/Form/DateTimePicker.d.cts +38 -0
- package/dist/biz/Form/DateTimePicker.d.mts +38 -0
- package/dist/biz/Form/DateTimePicker.mjs +57 -0
- package/dist/biz/Form/index.d.cts +1 -0
- package/dist/biz/Form/index.d.mts +1 -0
- package/dist/biz/ProMultiSelect/index.cjs +1 -1
- package/dist/biz/ProMultiSelect/index.mjs +1 -1
- package/dist/biz/PropertyCard/index.mjs +1 -1
- package/dist/biz/Table/ProTable/helpers.mjs +1 -1
- package/dist/biz/TimeRangePicker/index.cjs +1 -1
- package/dist/biz/TimeRangePicker/index.mjs +2 -2
- package/dist/biz/index.cjs +112 -110
- package/dist/biz/index.mjs +29 -27
- package/dist/emotion/index.cjs +4 -4
- package/dist/emotion/index.mjs +2 -2
- package/dist/hooks/index.cjs +80 -80
- package/dist/hooks/index.mjs +40 -40
- package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.cjs +1 -1
- package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +1 -1
- package/dist/node_modules/.pnpm/@floating-ui_core@1.6.8/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1 -1
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.6.11/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +3 -3
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +1 -1
- package/dist/node_modules/.pnpm/@floating-ui_react@0.26.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react/dist/floating-ui.react.mjs +2 -2
- package/dist/node_modules/.pnpm/@mantine_carousel@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine__25yqfon3xd7pcccvtysmataxnm/node_modules/@mantine/carousel/esm/Carousel.cjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_carousel@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine__25yqfon3xd7pcccvtysmataxnm/node_modules/@mantine/carousel/esm/Carousel.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_carousel@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine__25yqfon3xd7pcccvtysmataxnm/node_modules/@mantine/carousel/esm/CarouselVariables/CarouselVariables.cjs +4 -4
- package/dist/node_modules/.pnpm/@mantine_carousel@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine__25yqfon3xd7pcccvtysmataxnm/node_modules/@mantine/carousel/esm/CarouselVariables/CarouselVariables.mjs +4 -4
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Avatar/Avatar.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Avatar/AvatarGroup/AvatarGroup.context.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Badge/Badge.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Button/Button.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Button/ButtonGroupSection/ButtonGroupSection.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Checkbox/Checkbox.mjs +2 -2
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Checkbox/CheckboxGroup.context.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Chip/Chip.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Combobox/Combobox.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Drawer/Drawer.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/InlineInput/InlineInput.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Input/Input.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/List/List.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Modal/Modal.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Modal/ModalRoot.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/ModalBase/ModalBase.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Pagination/Pagination.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Pagination/PaginationRoot/PaginationRoot.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Paper/Paper.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Pill/Pill.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Popover/Popover.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Popover/use-popover.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Progress/ProgressRoot/ProgressRoot.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/SegmentedControl/SegmentedControl.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Slider/RangeSlider/RangeSlider.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Slider/Slider/Slider.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Stepper/Stepper.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Switch/Switch.mjs +2 -2
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Switch/SwitchGroup.context.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/TableOfContents/TableOfContents.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Text/Text.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/ThemeIcon/ThemeIcon.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Tooltip/TooltipGroup/TooltipGroup.context.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/DirectionProvider/DirectionProvider.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/CalendarHeader/CalendarHeader.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/Month/Month.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/Month/get-week-number/get-week-number.cjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/Month/get-week-number/get-week-number.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/PickerControl/PickerControl.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/TimeInput/TimeInput.cjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/TimeInput/TimeInput.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/WeekdaysRow/WeekdaysRow.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/utils/get-timezone-offset.cjs +2 -2
- package/dist/node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/utils/get-timezone-offset.mjs +2 -2
- package/dist/node_modules/.pnpm/@mantine_dropzone@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine__56jlqxaz4rsg46vtnmr3art6ua/node_modules/@mantine/dropzone/esm/DropzoneFullScreen.cjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_dropzone@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine__56jlqxaz4rsg46vtnmr3art6ua/node_modules/@mantine/dropzone/esm/DropzoneFullScreen.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_emotion@7.17.8_patch_hash_op2x5ib3e7mgdsoy22n5xoaf4q_@emotion_cache@11.14.0_@emotion_54ygowx4natmcqkxvanlwrr74u/node_modules/@mantine/emotion/esm/MantineEmotionProvider.mjs +1 -1
- package/dist/node_modules/.pnpm/@mantine_notifications@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@man_l6dtixebohhak67gkokfflfqx4/node_modules/@mantine/notifications/esm/Notifications.cjs +2 -2
- package/dist/node_modules/.pnpm/@mantine_notifications@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@man_l6dtixebohhak67gkokfflfqx4/node_modules/@mantine/notifications/esm/Notifications.mjs +2 -2
- package/dist/node_modules/.pnpm/@mantine_notifications@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@man_l6dtixebohhak67gkokfflfqx4/node_modules/@mantine/notifications/esm/notifications.store.mjs +1 -1
- package/dist/node_modules/.pnpm/@tanstack_react-virtual@3.10.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-virtual/dist/esm/index.mjs +1 -1
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.10.8/node_modules/@tanstack/virtual-core/dist/esm/index.mjs +1 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.cjs +125 -121
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +124 -120
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/duration.cjs +136 -132
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/duration.mjs +135 -131
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.cjs +35 -31
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +34 -30
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/minMax.cjs +34 -30
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/minMax.mjs +33 -29
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.cjs +69 -65
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.mjs +68 -64
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.cjs +82 -78
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.mjs +81 -77
- package/dist/node_modules/.pnpm/mantine-react-table@2.0.0-beta.7_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@_5svcobtrqecafhl2xknqvpxgpq/node_modules/mantine-react-table/dist/index.esm.cjs +23 -23
- package/dist/node_modules/.pnpm/mantine-react-table@2.0.0-beta.7_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@_5svcobtrqecafhl2xknqvpxgpq/node_modules/mantine-react-table/dist/index.esm.mjs +28 -28
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.cjs +2 -2
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.mjs +2 -2
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.cjs +1 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.mjs +1 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.cjs +3 -3
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.mjs +3 -3
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.cjs +15 -12
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.mjs +14 -11
- package/dist/node_modules/.pnpm/react-dropzone-esm@15.2.0_react@18.3.1/node_modules/react-dropzone-esm/dist/esm/index.cjs +1 -1
- package/dist/node_modules/.pnpm/react-dropzone-esm@15.2.0_react@18.3.1/node_modules/react-dropzone-esm/dist/esm/index.mjs +2 -2
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.cjs +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.mjs +1 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +1 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +1 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.mjs +1 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +2 -2
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +2 -2
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.cjs +5 -5
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.mjs +5 -5
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroup.cjs +7 -7
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroup.mjs +7 -7
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/ChildMapping.mjs +1 -1
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/PropTypes.cjs +1 -1
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/PropTypes.mjs +1 -1
- package/dist/primitive/Prism/Prism.cjs +1 -1
- package/dist/primitive/Prism/Prism.mjs +1 -1
- package/dist/primitive/Select/index.cjs +1 -1
- package/dist/primitive/Select/index.mjs +1 -1
- package/dist/primitive/Typography/index.cjs +1 -1
- package/dist/primitive/Typography/index.mjs +1 -1
- package/dist/primitive/index.cjs +208 -208
- package/dist/primitive/index.mjs +90 -90
- package/dist/primitive/notifier/index.mjs +1 -1
- package/dist/theme/ThemeProvider.cjs +1 -1
- package/dist/theme/ThemeProvider.mjs +1 -1
- package/dist/theme/theme.cjs +3 -3
- package/dist/theme/theme.mjs +3 -3
- package/dist/utils/dayjs.cjs +5 -5
- package/dist/utils/dayjs.mjs +5 -5
- package/dist/utils/index.cjs +4 -4
- package/dist/utils/index.mjs +2 -2
- package/package.json +4 -4
- /package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +0 -0
- /package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/extends.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -0
- /package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/inheritsLoose.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/inheritsLoose.mjs +0 -0
- /package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@babel_runtime@7.25.7 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @tidbcloud/uikit
|
|
2
2
|
|
|
3
|
+
## 2.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore(docs): migrate to patched Next.js and Nextra dependencies ([#667](https://github.com/tidbcloud/tidbcloud-uikit/pull/667))
|
|
8
|
+
- fix: update vulnerable UIKit runtime dependencies ([#665](https://github.com/tidbcloud/tidbcloud-uikit/pull/665))
|
|
9
|
+
- chore: patch development and build dependency chains ([#664](https://github.com/tidbcloud/tidbcloud-uikit/pull/664))
|
|
10
|
+
- chore(examples): update vulnerable framework dependencies ([#663](https://github.com/tidbcloud/tidbcloud-uikit/pull/663))
|
|
11
|
+
|
|
12
|
+
## 2.9.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- feat(Form): add timezone-aware date time picker ([#662](https://github.com/tidbcloud/tidbcloud-uikit/pull/662))
|
|
17
|
+
|
|
3
18
|
## 2.8.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
4
3
|
function getDefaultExportFromCjs(x) {
|
|
5
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
6
5
|
}
|
|
7
|
-
exports.commonjsGlobal = commonjsGlobal;
|
|
8
6
|
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
2
1
|
function getDefaultExportFromCjs(x) {
|
|
3
2
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
4
3
|
}
|
|
5
4
|
export {
|
|
6
|
-
commonjsGlobal,
|
|
7
5
|
getDefaultExportFromCjs
|
|
8
6
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
4
|
+
const customParseFormat$1 = require("../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.cjs");
|
|
5
|
+
var customParseFormatExports = customParseFormat$1.__require();
|
|
6
|
+
const customParseFormat = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(customParseFormatExports);
|
|
7
|
+
exports.default = customParseFormat;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireCustomParseFormat } from "../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs";
|
|
3
|
+
var customParseFormatExports = requireCustomParseFormat();
|
|
4
|
+
const customParseFormat = /* @__PURE__ */ getDefaultExportFromCjs(customParseFormatExports);
|
|
2
5
|
export {
|
|
3
|
-
customParseFormat as
|
|
6
|
+
customParseFormat as default
|
|
4
7
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
4
|
+
const duration$1 = require("../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/duration.cjs");
|
|
5
|
+
var durationExports = duration$1.__require();
|
|
6
|
+
const duration = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(durationExports);
|
|
7
|
+
exports.default = duration;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireDuration } from "../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/duration.mjs";
|
|
3
|
+
var durationExports = requireDuration();
|
|
4
|
+
const duration = /* @__PURE__ */ getDefaultExportFromCjs(durationExports);
|
|
2
5
|
export {
|
|
3
|
-
duration as
|
|
6
|
+
duration as default
|
|
4
7
|
};
|
package/dist/_virtual/index.cjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
4
|
+
const index = require("../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.cjs");
|
|
5
|
+
var propTypesExports = /* @__PURE__ */ index.__require();
|
|
6
|
+
const PropTypes = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(propTypesExports);
|
|
7
|
+
exports.default = PropTypes;
|
package/dist/_virtual/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requirePropTypes } from "../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.mjs";
|
|
3
|
+
var propTypesExports = /* @__PURE__ */ requirePropTypes();
|
|
4
|
+
const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
PropTypes as default
|
|
4
7
|
};
|
package/dist/_virtual/index2.cjs
CHANGED
package/dist/_virtual/index2.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
4
|
+
const isoWeek$1 = require("../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.cjs");
|
|
5
|
+
var isoWeekExports = isoWeek$1.__require();
|
|
6
|
+
const isoWeek = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(isoWeekExports);
|
|
7
|
+
exports.default = isoWeek;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireIsoWeek } from "../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs";
|
|
3
|
+
var isoWeekExports = requireIsoWeek();
|
|
4
|
+
const isoWeek = /* @__PURE__ */ getDefaultExportFromCjs(isoWeekExports);
|
|
2
5
|
export {
|
|
3
|
-
isoWeek as
|
|
6
|
+
isoWeek as default
|
|
4
7
|
};
|
package/dist/_virtual/minMax.cjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
4
|
+
const minMax$1 = require("../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/minMax.cjs");
|
|
5
|
+
var minMaxExports = minMax$1.__require();
|
|
6
|
+
const minMax = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(minMaxExports);
|
|
7
|
+
exports.default = minMax;
|
package/dist/_virtual/minMax.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireMinMax } from "../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/minMax.mjs";
|
|
3
|
+
var minMaxExports = requireMinMax();
|
|
4
|
+
const minMax = /* @__PURE__ */ getDefaultExportFromCjs(minMaxExports);
|
|
2
5
|
export {
|
|
3
|
-
minMax as
|
|
6
|
+
minMax as default
|
|
4
7
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
4
|
+
const timezone = require("../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.cjs");
|
|
5
|
+
var timezoneExports = timezone.__require();
|
|
6
|
+
const timezonePlugin = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(timezoneExports);
|
|
7
|
+
exports.default = timezonePlugin;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireTimezone } from "../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.mjs";
|
|
3
|
+
var timezoneExports = requireTimezone();
|
|
4
|
+
const timezonePlugin = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
timezonePlugin as default
|
|
4
7
|
};
|
package/dist/_virtual/utc.cjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
4
|
+
const utc = require("../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.cjs");
|
|
5
|
+
var utcExports = utc.__require();
|
|
6
|
+
const utcPlugin = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(utcExports);
|
|
7
|
+
exports.default = utcPlugin;
|
package/dist/_virtual/utc.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireUtc } from "../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.mjs";
|
|
3
|
+
var utcExports = requireUtc();
|
|
4
|
+
const utcPlugin = /* @__PURE__ */ getDefaultExportFromCjs(utcExports);
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
utcPlugin as default
|
|
4
7
|
};
|
|
@@ -8,7 +8,7 @@ import { IconChevronVerticalExpand, IconChevronVerticalShrink, IconCheck, IconCo
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { CopyButton } from "../../primitive/CopyButton/CopyButton.mjs";
|
|
10
10
|
import "clsx";
|
|
11
|
-
import {
|
|
11
|
+
import { mergeStylesList, mergeSxList } from "../../utils/styles.mjs";
|
|
12
12
|
import { Box } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/Box/Box.mjs";
|
|
13
13
|
import { Prism } from "../../primitive/Prism/Prism.mjs";
|
|
14
14
|
import { Group } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Group/Group.mjs";
|
|
@@ -151,9 +151,11 @@ function TimePickerScrollerColumn({
|
|
|
151
151
|
switch (name) {
|
|
152
152
|
case "hour":
|
|
153
153
|
return lodashEs.range(0, 24);
|
|
154
|
+
// 0-23
|
|
154
155
|
case "minute":
|
|
155
156
|
case "second":
|
|
156
157
|
return lodashEs.range(0, 60);
|
|
158
|
+
// 0-59
|
|
157
159
|
default:
|
|
158
160
|
return lodashEs.range(min, max + 1);
|
|
159
161
|
}
|
|
@@ -26,16 +26,16 @@ const useDateTimePicker = ({
|
|
|
26
26
|
const displayValue = React.useMemo(() => {
|
|
27
27
|
if (!value) return void 0;
|
|
28
28
|
return convertToLocal(value);
|
|
29
|
-
}, [value, convertToLocal]);
|
|
29
|
+
}, [value, utcOffset, convertToLocal]);
|
|
30
30
|
const displayStartDate = React.useMemo(() => {
|
|
31
31
|
return convertToLocal(startDate);
|
|
32
|
-
}, [startDate, convertToLocal]);
|
|
32
|
+
}, [startDate, utcOffset, convertToLocal]);
|
|
33
33
|
const displayToday = React.useMemo(() => {
|
|
34
34
|
return convertToLocal(today);
|
|
35
|
-
}, [today, convertToLocal]);
|
|
35
|
+
}, [today, utcOffset, convertToLocal]);
|
|
36
36
|
const displayEndDate = React.useMemo(() => {
|
|
37
37
|
return convertToLocal(endDate);
|
|
38
|
-
}, [endDate, convertToLocal]);
|
|
38
|
+
}, [endDate, utcOffset, convertToLocal]);
|
|
39
39
|
const handleChange = ahooks.useMemoizedFn((localTime) => {
|
|
40
40
|
const targetTime = convertFromLocal(localTime);
|
|
41
41
|
onChange == null ? void 0 : onChange(targetTime);
|
|
@@ -24,16 +24,16 @@ const useDateTimePicker = ({
|
|
|
24
24
|
const displayValue = useMemo(() => {
|
|
25
25
|
if (!value) return void 0;
|
|
26
26
|
return convertToLocal(value);
|
|
27
|
-
}, [value, convertToLocal]);
|
|
27
|
+
}, [value, utcOffset, convertToLocal]);
|
|
28
28
|
const displayStartDate = useMemo(() => {
|
|
29
29
|
return convertToLocal(startDate);
|
|
30
|
-
}, [startDate, convertToLocal]);
|
|
30
|
+
}, [startDate, utcOffset, convertToLocal]);
|
|
31
31
|
const displayToday = useMemo(() => {
|
|
32
32
|
return convertToLocal(today);
|
|
33
|
-
}, [today, convertToLocal]);
|
|
33
|
+
}, [today, utcOffset, convertToLocal]);
|
|
34
34
|
const displayEndDate = useMemo(() => {
|
|
35
35
|
return convertToLocal(endDate);
|
|
36
|
-
}, [endDate, convertToLocal]);
|
|
36
|
+
}, [endDate, utcOffset, convertToLocal]);
|
|
37
37
|
const handleChange = useMemoizedFn((localTime) => {
|
|
38
38
|
const targetTime = convertFromLocal(localTime);
|
|
39
39
|
onChange == null ? void 0 : onChange(targetTime);
|
|
@@ -12,23 +12,23 @@ const index = require("../../icons/index.cjs");
|
|
|
12
12
|
const dayjs = require("../../utils/dayjs.cjs");
|
|
13
13
|
const helpers$1 = require("../TimeRangePicker/helpers.cjs");
|
|
14
14
|
const TimeScollerPicker = require("./TimeScollerPicker.cjs");
|
|
15
|
-
const useDisclosure = require("../../node_modules/.pnpm/@mantine_hooks@7.17.8_react@18.3.1/node_modules/@mantine/hooks/esm/use-disclosure/use-disclosure.cjs");
|
|
16
15
|
const useUncontrolled = require("../../node_modules/.pnpm/@mantine_hooks@7.17.8_react@18.3.1/node_modules/@mantine/hooks/esm/use-uncontrolled/use-uncontrolled.cjs");
|
|
17
16
|
const Popover = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Popover/Popover.cjs");
|
|
17
|
+
const TimeInput = require("../../node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/TimeInput/TimeInput.cjs");
|
|
18
|
+
const Box = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/Box/Box.cjs");
|
|
19
|
+
const Flex = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Flex/Flex.cjs");
|
|
20
|
+
const useDisclosure = require("../../node_modules/.pnpm/@mantine_hooks@7.17.8_react@18.3.1/node_modules/@mantine/hooks/esm/use-disclosure/use-disclosure.cjs");
|
|
18
21
|
const TextInput = require("../../primitive/TextInput/TextInput.cjs");
|
|
19
22
|
const Loader = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Loader/Loader.cjs");
|
|
20
|
-
const Box = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/Box/Box.cjs");
|
|
21
23
|
const Stack = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Stack/Stack.cjs");
|
|
22
24
|
const Group = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Group/Group.cjs");
|
|
23
25
|
const DatePicker = require("../../node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/DatePicker/DatePicker.cjs");
|
|
24
26
|
const Divider = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Divider/Divider.cjs");
|
|
25
|
-
const TimeInput = require("../../node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/TimeInput/TimeInput.cjs");
|
|
26
|
-
const Flex = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Flex/Flex.cjs");
|
|
27
27
|
const getValidDate = (value) => {
|
|
28
28
|
const date = value ? dayjs.dayjs(value) : void 0;
|
|
29
29
|
return (date == null ? void 0 : date.isValid()) ? date : void 0;
|
|
30
30
|
};
|
|
31
|
-
const
|
|
31
|
+
const DateTimePickerInput = ({
|
|
32
32
|
placeholder = "Select time",
|
|
33
33
|
format = helpers$1.DEFAULT_TIME_FORMAT,
|
|
34
34
|
formatter,
|
|
@@ -44,8 +44,12 @@ const DateTimePicker = ({
|
|
|
44
44
|
sx,
|
|
45
45
|
loading = false,
|
|
46
46
|
size,
|
|
47
|
-
footer
|
|
48
|
-
|
|
47
|
+
footer,
|
|
48
|
+
disabled,
|
|
49
|
+
onClick,
|
|
50
|
+
utcOffset: _utcOffset,
|
|
51
|
+
...rest
|
|
52
|
+
}, ref) => {
|
|
49
53
|
const [opened, { close, open }] = useDisclosure.useDisclosure(false);
|
|
50
54
|
const currentDay = dayjs.dayjs(today).startOf("day");
|
|
51
55
|
const minimumDate = dayjs.dayjs(startDate);
|
|
@@ -122,14 +126,19 @@ const DateTimePicker = ({
|
|
|
122
126
|
/* @__PURE__ */ jsxRuntime.jsx(Popover.Popover.Target, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
123
127
|
TextInput.TextInput,
|
|
124
128
|
{
|
|
129
|
+
...rest,
|
|
130
|
+
ref,
|
|
125
131
|
readOnly: true,
|
|
126
|
-
disabled: disable,
|
|
132
|
+
disabled: disable || disabled,
|
|
127
133
|
placeholder,
|
|
128
134
|
value: inputStr,
|
|
129
135
|
rightSection: loading ? /* @__PURE__ */ jsxRuntime.jsx(Loader.Loader, { size: "xs" }) : /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { component: index.IconClock, size: 18, c: "carbon.6" }),
|
|
130
136
|
sx,
|
|
131
137
|
size,
|
|
132
|
-
onClick:
|
|
138
|
+
onClick: (event) => {
|
|
139
|
+
onClick == null ? void 0 : onClick(event);
|
|
140
|
+
if (!event.defaultPrevented) open();
|
|
141
|
+
}
|
|
133
142
|
}
|
|
134
143
|
) }),
|
|
135
144
|
/* @__PURE__ */ jsxRuntime.jsx(Popover.Popover.Dropdown, { children: /* @__PURE__ */ jsxRuntime.jsxs(Stack.Stack, { children: [
|
|
@@ -269,6 +278,8 @@ const DateTimePicker = ({
|
|
|
269
278
|
}
|
|
270
279
|
);
|
|
271
280
|
};
|
|
281
|
+
const DateTimePicker = React.forwardRef(DateTimePickerInput);
|
|
282
|
+
DateTimePicker.displayName = "DateTimePicker";
|
|
272
283
|
const TimePicker = ({
|
|
273
284
|
value,
|
|
274
285
|
onChange,
|
|
@@ -32,7 +32,7 @@ import { MantineSize, PopoverProps, TimeInputProps } from '../../primitive/index
|
|
|
32
32
|
import { DateTimePickerProps } from './types.cjs';
|
|
33
33
|
export type { DateTimePickerProps } from './types.cjs';
|
|
34
34
|
export { useDateTimePicker } from './helpers.cjs';
|
|
35
|
-
export declare const DateTimePicker: (
|
|
35
|
+
export declare const DateTimePicker: import('react').ForwardRefExoticComponent<DateTimePickerProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
36
36
|
export interface TimePickerProps extends Omit<TimeInputProps, 'value' | 'onChange' | 'defaultValue'>, Pick<PopoverProps, 'withinPortal' | 'withArrow' | 'position' | 'shadow'> {
|
|
37
37
|
defaultValue?: string;
|
|
38
38
|
/**
|
|
@@ -32,7 +32,7 @@ import { MantineSize, PopoverProps, TimeInputProps } from '../../primitive/index
|
|
|
32
32
|
import { DateTimePickerProps } from './types.mjs';
|
|
33
33
|
export type { DateTimePickerProps } from './types.mjs';
|
|
34
34
|
export { useDateTimePicker } from './helpers.mjs';
|
|
35
|
-
export declare const DateTimePicker: (
|
|
35
|
+
export declare const DateTimePicker: import('react').ForwardRefExoticComponent<DateTimePickerProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
36
36
|
export interface TimePickerProps extends Omit<TimeInputProps, 'value' | 'onChange' | 'defaultValue'>, Pick<PopoverProps, 'withinPortal' | 'withArrow' | 'position' | 'shadow'> {
|
|
37
37
|
defaultValue?: string;
|
|
38
38
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemoizedFn } from "ahooks";
|
|
3
|
-
import { useState, useMemo } from "react";
|
|
3
|
+
import { forwardRef, useState, useMemo } from "react";
|
|
4
4
|
import { IconClock } from "../../icons/index.mjs";
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -10,23 +10,23 @@ import { IconClock } from "../../icons/index.mjs";
|
|
|
10
10
|
import { dayjs } from "../../utils/dayjs.mjs";
|
|
11
11
|
import { DEFAULT_TIME_FORMAT } from "../TimeRangePicker/helpers.mjs";
|
|
12
12
|
import { TimeScollerPicker } from "./TimeScollerPicker.mjs";
|
|
13
|
-
import { useDisclosure } from "../../node_modules/.pnpm/@mantine_hooks@7.17.8_react@18.3.1/node_modules/@mantine/hooks/esm/use-disclosure/use-disclosure.mjs";
|
|
14
13
|
import { useUncontrolled } from "../../node_modules/.pnpm/@mantine_hooks@7.17.8_react@18.3.1/node_modules/@mantine/hooks/esm/use-uncontrolled/use-uncontrolled.mjs";
|
|
15
14
|
import { Popover } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Popover/Popover.mjs";
|
|
15
|
+
import { TimeInput } from "../../node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/TimeInput/TimeInput.mjs";
|
|
16
|
+
import { Box } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/Box/Box.mjs";
|
|
17
|
+
import { Flex } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Flex/Flex.mjs";
|
|
18
|
+
import { useDisclosure } from "../../node_modules/.pnpm/@mantine_hooks@7.17.8_react@18.3.1/node_modules/@mantine/hooks/esm/use-disclosure/use-disclosure.mjs";
|
|
16
19
|
import { TextInput } from "../../primitive/TextInput/TextInput.mjs";
|
|
17
20
|
import { Loader } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Loader/Loader.mjs";
|
|
18
|
-
import { Box } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/Box/Box.mjs";
|
|
19
21
|
import { Stack } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Stack/Stack.mjs";
|
|
20
22
|
import { Group } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Group/Group.mjs";
|
|
21
23
|
import { DatePicker } from "../../node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/DatePicker/DatePicker.mjs";
|
|
22
24
|
import { Divider } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Divider/Divider.mjs";
|
|
23
|
-
import { TimeInput } from "../../node_modules/.pnpm/@mantine_dates@7.17.8_@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hoo_itsuscsie4edrhi6ero4lpb3hq/node_modules/@mantine/dates/esm/components/TimeInput/TimeInput.mjs";
|
|
24
|
-
import { Flex } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Flex/Flex.mjs";
|
|
25
25
|
const getValidDate = (value) => {
|
|
26
26
|
const date = value ? dayjs(value) : void 0;
|
|
27
27
|
return (date == null ? void 0 : date.isValid()) ? date : void 0;
|
|
28
28
|
};
|
|
29
|
-
const
|
|
29
|
+
const DateTimePickerInput = ({
|
|
30
30
|
placeholder = "Select time",
|
|
31
31
|
format = DEFAULT_TIME_FORMAT,
|
|
32
32
|
formatter,
|
|
@@ -42,8 +42,12 @@ const DateTimePicker = ({
|
|
|
42
42
|
sx,
|
|
43
43
|
loading = false,
|
|
44
44
|
size,
|
|
45
|
-
footer
|
|
46
|
-
|
|
45
|
+
footer,
|
|
46
|
+
disabled,
|
|
47
|
+
onClick,
|
|
48
|
+
utcOffset: _utcOffset,
|
|
49
|
+
...rest
|
|
50
|
+
}, ref) => {
|
|
47
51
|
const [opened, { close, open }] = useDisclosure(false);
|
|
48
52
|
const currentDay = dayjs(today).startOf("day");
|
|
49
53
|
const minimumDate = dayjs(startDate);
|
|
@@ -120,14 +124,19 @@ const DateTimePicker = ({
|
|
|
120
124
|
/* @__PURE__ */ jsx(Popover.Target, { children: /* @__PURE__ */ jsx(
|
|
121
125
|
TextInput,
|
|
122
126
|
{
|
|
127
|
+
...rest,
|
|
128
|
+
ref,
|
|
123
129
|
readOnly: true,
|
|
124
|
-
disabled: disable,
|
|
130
|
+
disabled: disable || disabled,
|
|
125
131
|
placeholder,
|
|
126
132
|
value: inputStr,
|
|
127
133
|
rightSection: loading ? /* @__PURE__ */ jsx(Loader, { size: "xs" }) : /* @__PURE__ */ jsx(Box, { component: IconClock, size: 18, c: "carbon.6" }),
|
|
128
134
|
sx,
|
|
129
135
|
size,
|
|
130
|
-
onClick:
|
|
136
|
+
onClick: (event) => {
|
|
137
|
+
onClick == null ? void 0 : onClick(event);
|
|
138
|
+
if (!event.defaultPrevented) open();
|
|
139
|
+
}
|
|
131
140
|
}
|
|
132
141
|
) }),
|
|
133
142
|
/* @__PURE__ */ jsx(Popover.Dropdown, { children: /* @__PURE__ */ jsxs(Stack, { children: [
|
|
@@ -267,6 +276,8 @@ const DateTimePicker = ({
|
|
|
267
276
|
}
|
|
268
277
|
);
|
|
269
278
|
};
|
|
279
|
+
const DateTimePicker = forwardRef(DateTimePickerInput);
|
|
280
|
+
DateTimePicker.displayName = "DateTimePicker";
|
|
270
281
|
const TimePicker = ({
|
|
271
282
|
value,
|
|
272
283
|
onChange,
|
|
@@ -6,8 +6,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
6
6
|
;/* empty css */
|
|
7
7
|
;/* empty css */
|
|
8
8
|
;/* empty css */
|
|
9
|
-
const index
|
|
10
|
-
const index = require("../Dot/index.cjs");
|
|
9
|
+
const index = require("../../primitive/Typography/index.cjs");
|
|
10
|
+
const index$1 = require("../Dot/index.cjs");
|
|
11
11
|
const Badge = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/components/Badge/Badge.cjs");
|
|
12
12
|
const DotBadge = ({ color = "green", children, ...rest }) => {
|
|
13
13
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22,9 +22,9 @@ const DotBadge = ({ color = "green", children, ...rest }) => {
|
|
|
22
22
|
height: 28
|
|
23
23
|
}
|
|
24
24
|
}),
|
|
25
|
-
leftSection: /* @__PURE__ */ jsxRuntime.jsx(index.Dot, { color, size: 8 }),
|
|
25
|
+
leftSection: /* @__PURE__ */ jsxRuntime.jsx(index$1.Dot, { color, size: 8 }),
|
|
26
26
|
...rest,
|
|
27
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(index
|
|
27
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(index.Typography, { fz: 14, fw: 500, c: `${color}.8`, children })
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
};
|