intergalactic 15.128.0-prerelease.0 → 15.128.0-prerelease.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 +4 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +85 -85
- package/accordion/package.json +1 -1
- package/add-filter/package.json +1 -1
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/animation/lib/esm/Animation.mjs +57 -57
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +35 -35
- package/animation/lib/esm/Scale.mjs +45 -45
- package/animation/lib/esm/Slide.mjs +34 -34
- package/animation/lib/esm/Transform.mjs +42 -42
- package/animation/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/badge/lib/esm/Badge.mjs +19 -19
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +7 -7
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/lib/esm/BaseTrigger.mjs +51 -51
- package/base-trigger/lib/esm/ButtonTrigger.mjs +19 -19
- package/base-trigger/lib/esm/FilterTrigger.mjs +67 -67
- package/base-trigger/lib/esm/LinkTrigger.mjs +45 -45
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/esm/Breadcrumbs.mjs +46 -46
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +28 -28
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +28 -28
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +56 -56
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +54 -54
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/lib/esm/Card.mjs +31 -31
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/lib/esm/Carousel.mjs +132 -132
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/checkbox/lib/esm/Checkbox.mjs +88 -88
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/esm/ColorPicker.mjs +96 -96
- package/color-picker/lib/esm/PaletteManager.mjs +61 -61
- package/color-picker/lib/esm/components/InputColor.mjs +86 -86
- package/color-picker/package.json +1 -1
- package/components.json +68 -68
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/lib/esm/Counter.mjs +21 -21
- package/counter/package.json +1 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +16 -16
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Donut.js +9 -9
- package/d3-chart/lib/cjs/Dots.js +8 -8
- package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Hover.js +3 -3
- package/d3-chart/lib/cjs/Line.js +9 -9
- package/d3-chart/lib/cjs/Plot.js +3 -3
- package/d3-chart/lib/cjs/Radar.js +19 -19
- package/d3-chart/lib/cjs/RadialTree.js +12 -12
- package/d3-chart/lib/cjs/Reference.js +12 -12
- package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
- package/d3-chart/lib/cjs/Tooltip.js +9 -9
- package/d3-chart/lib/cjs/Venn.js +9 -9
- package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/Area.js +11 -11
- package/d3-chart/lib/es6/Axis.js +14 -14
- package/d3-chart/lib/es6/Bar.js +16 -16
- package/d3-chart/lib/es6/Bubble.js +12 -12
- package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Donut.js +9 -9
- package/d3-chart/lib/es6/Dots.js +8 -8
- package/d3-chart/lib/es6/HorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Hover.js +3 -3
- package/d3-chart/lib/es6/Line.js +9 -9
- package/d3-chart/lib/es6/Plot.js +3 -3
- package/d3-chart/lib/es6/Radar.js +19 -19
- package/d3-chart/lib/es6/RadialTree.js +12 -12
- package/d3-chart/lib/es6/Reference.js +12 -12
- package/d3-chart/lib/es6/ScatterPlot.js +9 -9
- package/d3-chart/lib/es6/Tooltip.js +9 -9
- package/d3-chart/lib/es6/Venn.js +9 -9
- package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +72 -72
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +169 -169
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +63 -63
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +104 -104
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +75 -75
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +127 -127
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +46 -46
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +55 -55
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +37 -37
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +80 -80
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +18 -18
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +206 -206
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +102 -102
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +95 -95
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +32 -32
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +49 -49
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +69 -69
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +31 -31
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +39 -39
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +27 -27
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +34 -34
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +3 -3
- package/data-table/lib/cjs/DataTable.js +36 -36
- package/data-table/lib/es6/Body.js +3 -3
- package/data-table/lib/es6/DataTable.js +36 -36
- package/data-table/lib/esm/Body.mjs +66 -66
- package/data-table/lib/esm/DataTable.mjs +237 -237
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/esm/components/Calendar.mjs +134 -134
- package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +114 -114
- package/date-picker/lib/esm/components/InputTrigger.mjs +150 -150
- package/date-picker/lib/esm/components/PickerAbstract.mjs +58 -58
- package/date-picker/lib/esm/components/RangePickerAbstract.mjs +46 -46
- package/date-picker/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/lib/esm/Divider.mjs +37 -37
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/lib/esm/Dot.mjs +37 -37
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/esm/DragAndDrop.mjs +186 -186
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/esm/Dropdown.mjs +84 -84
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/esm/DropdownMenu.mjs +138 -138
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/ellipsis/lib/esm/Ellipsis.mjs +73 -73
- package/ellipsis/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/lib/esm/Error.mjs +35 -35
- package/errors/package.json +1 -1
- package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
- package/feature-popover/lib/es6/FeaturePopover.js +11 -11
- package/feature-popover/lib/esm/FeaturePopover.mjs +58 -58
- package/feature-popover/package.json +1 -1
- package/feedback-form/package.json +1 -1
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flags/package.json +1 -1
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/esm/Box/useBox.mjs +50 -50
- package/flex-box/lib/esm/Flex/useFlex.mjs +15 -15
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +10 -10
- package/flex-box/package.json +1 -1
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/esm/FullscreenModal.mjs +73 -73
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/lib/esm/Grid.mjs +160 -160
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MetaColored/l/index.js +4 -4
- package/icon/color/MetaColored/l/index.mjs +4 -4
- package/icon/color/MetaColored/m/index.js +4 -4
- package/icon/color/MetaColored/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/lib/esm/Icon.mjs +32 -32
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-edit/lib/esm/InlineEdit.mjs +38 -38
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/cjs/InlineInput.js +14 -14
- package/inline-input/lib/es6/InlineInput.js +14 -14
- package/inline-input/lib/esm/InlineInput.mjs +125 -125
- package/inline-input/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input/lib/esm/Input.mjs +91 -91
- package/input/package.json +1 -1
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-mask/lib/esm/InputMask.mjs +70 -70
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-number/lib/esm/InputNumber.mjs +126 -126
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/lib/esm/InputTags.mjs +112 -112
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/lib/esm/Link.mjs +54 -54
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +18 -18
- package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
- package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
- package/mini-chart/lib/es6/component/score/Donut.js +9 -9
- package/mini-chart/lib/es6/component/score/Line.js +18 -18
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/mini-chart/lib/esm/component/score/Donut.mjs +38 -38
- package/mini-chart/lib/esm/component/score/Line.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Bar.mjs +31 -31
- package/mini-chart/lib/esm/component/trend/Line.mjs +32 -32
- package/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +96 -96
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +70 -70
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
- package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
- package/notice-bubble/lib/esm/NoticeBubble.mjs +115 -115
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/notice-global/lib/esm/NoticeGlobal.mjs +51 -51
- package/notice-global/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +12 -12
- package/pagination/lib/es6/Pagination.js +12 -12
- package/pagination/lib/esm/Pagination.mjs +69 -69
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/lib/esm/Pills.mjs +74 -74
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/esm/Popper.mjs +79 -79
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/product-head/lib/esm/Info.mjs +26 -26
- package/product-head/lib/esm/ProductHead.mjs +37 -37
- package/product-head/lib/esm/Title.mjs +17 -17
- package/product-head/package.json +1 -1
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/progress-bar/lib/esm/ProgressBar.mjs +60 -60
- package/progress-bar/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/lib/esm/Radio.mjs +113 -113
- package/radio/package.json +1 -1
- package/scroll-area/lib/cjs/ScrollArea.js +21 -21
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/ScrollArea.js +21 -21
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/lib/esm/ScrollArea.mjs +98 -98
- package/scroll-area/lib/esm/ScrollBar.mjs +40 -40
- package/scroll-area/package.json +1 -1
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +56 -56
- package/side-panel/package.json +1 -1
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/skeleton/lib/esm/Charts/Area.mjs +27 -27
- package/skeleton/lib/esm/Charts/Bar.mjs +23 -23
- package/skeleton/lib/esm/Charts/Bubble.mjs +24 -24
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +22 -22
- package/skeleton/lib/esm/Charts/Donut.mjs +24 -24
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +25 -25
- package/skeleton/lib/esm/Charts/RadialTree.mjs +10 -10
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +19 -19
- package/skeleton/lib/esm/Charts/Venn.mjs +24 -24
- package/skeleton/lib/esm/Skeleton.mjs +44 -44
- package/skeleton/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/lib/esm/Slider.mjs +78 -78
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin/lib/esm/Spin.mjs +41 -41
- package/spin/package.json +1 -1
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/spin-container/lib/esm/SpinContainer.mjs +43 -43
- package/spin-container/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/lib/esm/Sticky.mjs +18 -18
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/lib/esm/Switch.mjs +104 -104
- package/switch/package.json +1 -1
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-line/lib/esm/TabLine.mjs +76 -76
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tab-panel/lib/esm/TabPanel.mjs +39 -39
- package/tab-panel/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/lib/esm/Tag.mjs +114 -114
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/textarea/lib/esm/Textarea.mjs +49 -49
- package/textarea/package.json +1 -1
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +113 -113
- package/tooltip/package.json +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/typography/lib/esm/Blockquote.mjs +15 -15
- package/typography/lib/esm/Hint.mjs +41 -41
- package/typography/lib/esm/List.mjs +48 -48
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/package.json +1 -1
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/lib/esm/WidgetEmpty.mjs +19 -19
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +94 -94
- package/wizard/package.json +1 -1
@@ -2,14 +2,14 @@ import U from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import q from "@babel/runtime/helpers/esm/slicedToArray";
|
3
3
|
import J from "@babel/runtime/helpers/esm/classCallCheck";
|
4
4
|
import Q from "@babel/runtime/helpers/esm/createClass";
|
5
|
-
import
|
5
|
+
import b from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
6
|
import W from "@babel/runtime/helpers/esm/inherits";
|
7
7
|
import X from "@babel/runtime/helpers/esm/createSuper";
|
8
|
-
import
|
8
|
+
import P from "@babel/runtime/helpers/esm/defineProperty";
|
9
9
|
import { sstyled as Z } from 'intergalactic/utils/lib/core/index';
|
10
|
-
import { sstyled as
|
10
|
+
import { sstyled as T, assignProps as E, Component as ee } from 'intergalactic/core';
|
11
11
|
import S from "react";
|
12
|
-
import
|
12
|
+
import f from "dayjs";
|
13
13
|
import O from 'intergalactic/button';
|
14
14
|
import { Flex as A } from 'intergalactic/flex-box';
|
15
15
|
import Y from 'intergalactic/dropdown';
|
@@ -24,37 +24,37 @@ var le = (
|
|
24
24
|
/*__reshadow_css_start__*/
|
25
25
|
(Z.insert(
|
26
26
|
/*__inner_css_start__*/
|
27
|
-
".
|
28
|
-
"
|
27
|
+
".___SPopper_e0y8u_gg_{padding:var(--intergalactic-spacing-4x, 16px);outline:0}.___SPopper_e0y8u_gg_::-moz-focus-inner{border:0;padding:0}.___SPopper_e0y8u_gg_:active,.___SPopper_e0y8u_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SPopper_e0y8u_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SPopper_e0y8u_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHeader_e0y8u_gg_,.___STitle_e0y8u_gg_{display:flex;align-items:center}.___STitle_e0y8u_gg_{font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-primary, #191b23);height:32px;width:100%;justify-content:center}.___SToday_e0y8u_gg_{display:flex;margin-top:var(--intergalactic-spacing-3x, 12px);justify-content:center}.___SPeriod_e0y8u_gg_{display:flex;flex-direction:column;margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SButton_e0y8u_gg_ .___SInner_e0y8u_gg_{justify-content:flex-start}.___SInputMask_e0y8u_gg_{color:var(--intergalactic-text-primary, #191b23);line-height:normal;padding-right:var(--intergalactic-spacing-2x, 8px);transition:width calc(var(--intergalactic-duration-medium, 300)*1ms) ease,min-width calc(var(--intergalactic-duration-medium, 300)*1ms) ease}.___SInputMask_e0y8u_gg_.__animationsDisabled_e0y8u_gg_{transition:none}.___SInputMask_e0y8u_gg_ .___SValue_e0y8u_gg_{letter-spacing:0}.___SIndicator_e0y8u_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SRangeIndicator_e0y8u_gg_{border-radius:50%;flex-shrink:0}.___SRangeIndicator_e0y8u_gg_._range_value_e0y8u_gg_{background-color:var(--intergalactic-date-picker-cell-active, #2bb3ff)}.___SRangeIndicator_e0y8u_gg_._range_compare_e0y8u_gg_{background-color:var(--intergalactic-date-picker-cell-comparison-active, #8649e1)}.___SRangeIndicator_e0y8u_gg_.__disabled_e0y8u_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SHumanizedDate_e0y8u_gg_{position:absolute;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.___SMask_e0y8u_gg_{letter-spacing:0;white-space:nowrap;overflow:hidden}.___SDateRange_e0y8u_gg_ .___SMask_e0y8u_gg_,.___SDateRange_e0y8u_gg_ .___SValue_e0y8u_gg_,.___SSingleDateInput_e0y8u_gg_ .___SMask_e0y8u_gg_,.___SSingleDateInput_e0y8u_gg_ .___SValue_e0y8u_gg_{opacity:0}.___SSingleDateInput_e0y8u_gg_:focus-within .___SHumanizedDate_e0y8u_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SSingleDateInput_e0y8u_gg_:focus-within .___SMask_e0y8u_gg_,.___SSingleDateInput_e0y8u_gg_:focus-within .___SValue_e0y8u_gg_{opacity:1}.___SDateRange_e0y8u_gg_:focus-within .___SHumanizedDate_e0y8u_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SDateRange_e0y8u_gg_:focus-within .___SMask_e0y8u_gg_,.___SDateRange_e0y8u_gg_:focus-within .___SValue_e0y8u_gg_{opacity:1}.___SInputMask_e0y8u_gg_.__noHumanizedDate_e0y8u_gg_ .___SMask_e0y8u_gg_,.___SInputMask_e0y8u_gg_.__noHumanizedDate_e0y8u_gg_ .___SValue_e0y8u_gg_{opacity:1}.___SDateRange_e0y8u_gg_ .___SInputMask_e0y8u_gg_:focus-within .___SMask_e0y8u_gg_{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SDateRange_e0y8u_gg_:focus-within .___SRangeSep_e0y8u_gg_,.___SRangeSep_e0y8u_gg_.__fulfilled_e0y8u_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SRangeComparatorHeader_e0y8u_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SRangeCalendar_e0y8u_gg_,.___SRangeComparatorHeader_e0y8u_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___SFooter_e0y8u_gg_{border-top:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SFooter_e0y8u_gg_,.___SPeriodsList_e0y8u_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___STooltip_e0y8u_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SCompareToggle_e0y8u_gg_{white-space:nowrap}@media (prefers-reduced-motion){.___SInputMask_e0y8u_gg_{transition:none}}",
|
28
|
+
"e0y8u_gg_"
|
29
29
|
), {
|
30
|
-
__SHeader: "
|
31
|
-
__STitle: "
|
32
|
-
__SToday: "
|
33
|
-
__SPeriod: "
|
34
|
-
__SButton: "
|
35
|
-
__SInner: "
|
36
|
-
__SInputMask: "
|
37
|
-
_animationsDisabled: "
|
38
|
-
__SValue: "
|
39
|
-
__SIndicator: "
|
40
|
-
__SRangeIndicator: "
|
41
|
-
_range_value: "
|
42
|
-
_range_compare: "
|
43
|
-
_disabled: "
|
44
|
-
__SHumanizedDate: "
|
45
|
-
__SMask: "
|
46
|
-
__SSingleDateInput: "
|
47
|
-
__SDateRange: "
|
48
|
-
_noHumanizedDate: "
|
49
|
-
__SRangeSep: "
|
50
|
-
_fulfilled: "
|
51
|
-
__SRangeComparatorHeader: "
|
52
|
-
__SRangeCalendar: "
|
53
|
-
__SFooter: "
|
54
|
-
__SPeriodsList: "
|
55
|
-
__STooltip: "
|
56
|
-
__SCompareToggle: "
|
57
|
-
__SPopper: "
|
30
|
+
__SHeader: "___SHeader_e0y8u_gg_",
|
31
|
+
__STitle: "___STitle_e0y8u_gg_",
|
32
|
+
__SToday: "___SToday_e0y8u_gg_",
|
33
|
+
__SPeriod: "___SPeriod_e0y8u_gg_",
|
34
|
+
__SButton: "___SButton_e0y8u_gg_",
|
35
|
+
__SInner: "___SInner_e0y8u_gg_",
|
36
|
+
__SInputMask: "___SInputMask_e0y8u_gg_",
|
37
|
+
_animationsDisabled: "__animationsDisabled_e0y8u_gg_",
|
38
|
+
__SValue: "___SValue_e0y8u_gg_",
|
39
|
+
__SIndicator: "___SIndicator_e0y8u_gg_",
|
40
|
+
__SRangeIndicator: "___SRangeIndicator_e0y8u_gg_",
|
41
|
+
_range_value: "_range_value_e0y8u_gg_",
|
42
|
+
_range_compare: "_range_compare_e0y8u_gg_",
|
43
|
+
_disabled: "__disabled_e0y8u_gg_",
|
44
|
+
__SHumanizedDate: "___SHumanizedDate_e0y8u_gg_",
|
45
|
+
__SMask: "___SMask_e0y8u_gg_",
|
46
|
+
__SSingleDateInput: "___SSingleDateInput_e0y8u_gg_",
|
47
|
+
__SDateRange: "___SDateRange_e0y8u_gg_",
|
48
|
+
_noHumanizedDate: "__noHumanizedDate_e0y8u_gg_",
|
49
|
+
__SRangeSep: "___SRangeSep_e0y8u_gg_",
|
50
|
+
_fulfilled: "__fulfilled_e0y8u_gg_",
|
51
|
+
__SRangeComparatorHeader: "___SRangeComparatorHeader_e0y8u_gg_",
|
52
|
+
__SRangeCalendar: "___SRangeCalendar_e0y8u_gg_",
|
53
|
+
__SFooter: "___SFooter_e0y8u_gg_",
|
54
|
+
__SPeriodsList: "___SPeriodsList_e0y8u_gg_",
|
55
|
+
__STooltip: "___STooltip_e0y8u_gg_",
|
56
|
+
__SCompareToggle: "___SCompareToggle_e0y8u_gg_",
|
57
|
+
__SPopper: "___SPopper_e0y8u_gg_"
|
58
58
|
})
|
59
59
|
), _e = ["INPUT"], ge = ["ArrowDown", "Enter", " "], se = new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), M = function() {
|
60
60
|
for (var s = arguments.length, u = new Array(s), e = 0; e < s; e++)
|
@@ -68,7 +68,7 @@ var le = (
|
|
68
68
|
});
|
69
69
|
var r = a[0];
|
70
70
|
return r;
|
71
|
-
},
|
71
|
+
}, x = /* @__PURE__ */ function(d) {
|
72
72
|
W(u, d);
|
73
73
|
var s = X(u);
|
74
74
|
function u() {
|
@@ -76,62 +76,62 @@ var le = (
|
|
76
76
|
J(this, u);
|
77
77
|
for (var a = arguments.length, r = new Array(a), t = 0; t < a; t++)
|
78
78
|
r[t] = arguments[t];
|
79
|
-
return e = s.call.apply(s, [this].concat(r)),
|
80
|
-
var o = e.asProps.displayedPeriod, _ = n >= 1 ? "add" : "subtract", i =
|
79
|
+
return e = s.call.apply(s, [this].concat(r)), P(b(e), "popperRef", /* @__PURE__ */ S.createRef()), P(b(e), "unitRefs", {}), P(b(e), "navigateView", function(n) {
|
80
|
+
var o = e.asProps.displayedPeriod, _ = n >= 1 ? "add" : "subtract", i = f(o)[_](1, e.navigateStep).toDate();
|
81
81
|
e.handlers.displayedPeriod(i);
|
82
|
-
}),
|
82
|
+
}), P(b(e), "bindHandlerNavigateClick", function(n) {
|
83
83
|
return function() {
|
84
84
|
return e.navigateView(n);
|
85
85
|
};
|
86
|
-
}),
|
86
|
+
}), P(b(e), "handleApplyClick", function() {
|
87
87
|
var n = e.asProps, o = n.value, _ = n.preselectedValue, i = n.preselectedCompare;
|
88
88
|
return e.handleApply(_ ?? (o == null ? void 0 : o.value), i ?? (o == null ? void 0 : o.compare));
|
89
|
-
}),
|
89
|
+
}), P(b(e), "handleApply", function(n, o) {
|
90
90
|
e.handlers.value({
|
91
91
|
value: n,
|
92
92
|
compare: o
|
93
93
|
}), e.handlers.visible(!1);
|
94
|
-
}),
|
94
|
+
}), P(b(e), "handleKeydownDown", function(n) {
|
95
95
|
return function(o) {
|
96
|
-
var _ = e.asProps, i = _.displayedPeriod, p = _.preselectedValue,
|
97
|
-
n === "trigger" && ge.includes(
|
96
|
+
var _ = e.asProps, i = _.displayedPeriod, p = _.preselectedValue, h = _.visible, c = _.focusedRange, v = o.key, g = c === "compare" ? e.asProps.compareHighlighted : e.asProps.highlighted;
|
97
|
+
n === "trigger" && ge.includes(v) && (o.preventDefault(), o.stopPropagation(), e.handlers.visible(!h), setTimeout(function() {
|
98
98
|
var w = e.popperRef.current;
|
99
99
|
w && w.focus();
|
100
100
|
}, 0));
|
101
|
-
var l = e.keyDiff[
|
102
|
-
var z = q($, 2), j = z[0], G = z[1],
|
103
|
-
e.navigateStep === "month" && (H = i == null ? void 0 : i.getMonth(), V =
|
101
|
+
var l = e.keyDiff[v], m = function($) {
|
102
|
+
var z = q($, 2), j = z[0], G = z[1], D = G || j, H = i == null ? void 0 : i.getDate(), V = D == null ? void 0 : D.getDate();
|
103
|
+
e.navigateStep === "month" && (H = i == null ? void 0 : i.getMonth(), V = D == null ? void 0 : D.getMonth()), e.navigateStep === "year" && (H = i == null ? void 0 : i.getYear(), V = D == null ? void 0 : D.getYear());
|
104
104
|
var N = V - H;
|
105
|
-
return N < 0 || N > 1 ?
|
105
|
+
return N < 0 || N > 1 ? D : i;
|
106
106
|
};
|
107
107
|
if (n === "popper" && o.key === " " && g.length) {
|
108
|
-
var
|
109
|
-
e.isDisabled(
|
108
|
+
var y = g[1] || g[0];
|
109
|
+
e.isDisabled(y) || e.handleChange(y), o.preventDefault();
|
110
110
|
}
|
111
111
|
if (n === "popper" && o.key === "Enter" && (o.metaKey || o.ctrlKey))
|
112
112
|
return e.handleApplyClick();
|
113
|
-
var
|
113
|
+
var C = void 0;
|
114
114
|
if (l) {
|
115
115
|
if (_e.includes(o.target.tagName)) return;
|
116
116
|
if (g.length) {
|
117
|
-
var
|
118
|
-
(p == null ? void 0 : p.length) === 1 ? (
|
117
|
+
var R;
|
118
|
+
(p == null ? void 0 : p.length) === 1 ? (R = [p[0], f(g[1] || g[0]).add(l, e.keyStep).toDate()], C = R[1]) : (R = [f(g[0]).add(l, e.keyStep).toDate()], C = R[0]), c === "compare" ? e.handlers.compareHighlighted(R) : e.handlers.highlighted(R), e.handlers.displayedPeriod(m(R));
|
119
119
|
} else {
|
120
|
-
var I = [i ||
|
121
|
-
c === "compare" ? e.handlers.compareHighlighted(I) : e.handlers.highlighted(I),
|
120
|
+
var I = [i || f().toDate()];
|
121
|
+
c === "compare" ? e.handlers.compareHighlighted(I) : e.handlers.highlighted(I), C = I[0];
|
122
122
|
}
|
123
|
-
if (o.preventDefault(),
|
124
|
-
var k, K = e.keyStep === "month" ? oe : ie, L = K(
|
123
|
+
if (o.preventDefault(), C) {
|
124
|
+
var k, K = e.keyStep === "month" ? oe : ie, L = K(C, e.asProps.locale);
|
125
125
|
(k = e.unitRefs[L]) === null || k === void 0 || k.focus();
|
126
126
|
}
|
127
127
|
}
|
128
128
|
};
|
129
|
-
}),
|
129
|
+
}), P(b(e), "triggerFormattingProps", {
|
130
130
|
day: "numeric",
|
131
131
|
month: "short",
|
132
132
|
year: "numeric"
|
133
|
-
}),
|
134
|
-
var o, _, i, p = e.asProps,
|
133
|
+
}), P(b(e), "handleChange", function(n) {
|
134
|
+
var o, _, i, p = e.asProps, h = p.focusedRange, c = p.preselectedCompare, v = p.preselectedValue, g = [], l = h === "compare" ? c : v;
|
135
135
|
if (Array.isArray(n))
|
136
136
|
l = n;
|
137
137
|
else if (!((o = l) !== null && o !== void 0 && o.length))
|
@@ -139,30 +139,30 @@ var le = (
|
|
139
139
|
else if (((_ = l) === null || _ === void 0 ? void 0 : _.length) >= 2)
|
140
140
|
l = [n], g = [n];
|
141
141
|
else if (((i = l) === null || i === void 0 ? void 0 : i[0]) > n) {
|
142
|
-
var
|
143
|
-
l = [n, (
|
142
|
+
var m;
|
143
|
+
l = [n, (m = l) === null || m === void 0 ? void 0 : m[0]];
|
144
144
|
} else {
|
145
|
-
var
|
146
|
-
l = [(
|
145
|
+
var y;
|
146
|
+
l = [(y = l) === null || y === void 0 ? void 0 : y[0], n];
|
147
147
|
}
|
148
|
-
|
148
|
+
h === "compare" ? (e.handlers.preselectedCompare(l), e.handlers.compareHighlighted(g)) : (e.handlers.preselectedValue(l), e.handlers.highlighted(g));
|
149
149
|
}), e;
|
150
150
|
}
|
151
151
|
return Q(u, [{
|
152
152
|
key: "getPeriodProps",
|
153
153
|
value: function() {
|
154
|
-
var a, r = this, t = this.asProps, n = t.periods, o = n === void 0 ? this.getDefaultPeriods() : n, _ = t.onHighlightedChange, i = t.onCompareHighlightedChange, p = t.onDisplayedPeriodChange,
|
155
|
-
if (
|
156
|
-
var
|
157
|
-
l = c ?? ((
|
154
|
+
var a, r = this, t = this.asProps, n = t.periods, o = n === void 0 ? this.getDefaultPeriods() : n, _ = t.onHighlightedChange, i = t.onCompareHighlightedChange, p = t.onDisplayedPeriodChange, h = t.preselectedValue, c = t.preselectedCompare, v = t.focusedRange, g = t.getI18nText, l = h ?? ((a = this.asProps.value) === null || a === void 0 ? void 0 : a.value);
|
155
|
+
if (v === "compare") {
|
156
|
+
var m;
|
157
|
+
l = c ?? ((m = this.asProps.value) === null || m === void 0 ? void 0 : m.compare);
|
158
158
|
}
|
159
159
|
return {
|
160
160
|
periods: o,
|
161
161
|
value: l,
|
162
|
-
onChange: function(
|
163
|
-
|
162
|
+
onChange: function(C) {
|
163
|
+
v === "compare" ? r.handlers.preselectedCompare(C) : r.handlers.preselectedValue(C);
|
164
164
|
},
|
165
|
-
onHighlightedChange:
|
165
|
+
onHighlightedChange: v === "compare" ? i : _,
|
166
166
|
onDisplayedPeriodChange: p,
|
167
167
|
role: "listbox",
|
168
168
|
"aria-label": g("periods")
|
@@ -206,8 +206,8 @@ var le = (
|
|
206
206
|
if (p && p !== i)
|
207
207
|
a.handlers.displayedPeriod(p);
|
208
208
|
else if (!p) {
|
209
|
-
var
|
210
|
-
a.handlers.displayedPeriod(c ||
|
209
|
+
var h = a.props, c = h.displayedPeriod, v = h.defaultDisplayedPeriod;
|
210
|
+
a.handlers.displayedPeriod(c || v);
|
211
211
|
}
|
212
212
|
}
|
213
213
|
}],
|
@@ -250,7 +250,7 @@ var le = (
|
|
250
250
|
key: "isDisabled",
|
251
251
|
value: function(a) {
|
252
252
|
var r = this.asProps.disabled;
|
253
|
-
return r.some(ne(
|
253
|
+
return r.some(ne(f(a), "date"));
|
254
254
|
}
|
255
255
|
}, {
|
256
256
|
key: "getDefaultPeriods",
|
@@ -258,16 +258,16 @@ var le = (
|
|
258
258
|
var a = this.asProps.getI18nText, r = new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0));
|
259
259
|
return [{
|
260
260
|
children: a("lastMonth"),
|
261
|
-
value: [
|
261
|
+
value: [f(r).subtract(1, "month").startOf("month").toDate(), f(r).startOf("month").toDate()]
|
262
262
|
}, {
|
263
263
|
children: a("last3Months"),
|
264
|
-
value: [
|
264
|
+
value: [f(r).subtract(2, "month").startOf("month").toDate(), f(r).startOf("month").toDate()]
|
265
265
|
}, {
|
266
266
|
children: a("last6Months"),
|
267
|
-
value: [
|
267
|
+
value: [f(r).subtract(5, "month").startOf("month").toDate(), f(r).startOf("month").toDate()]
|
268
268
|
}, {
|
269
269
|
children: a("last12Months"),
|
270
|
-
value: [
|
270
|
+
value: [f(r).subtract(11, "month").startOf("month").toDate(), f(r).startOf("month").toDate()]
|
271
271
|
}];
|
272
272
|
}
|
273
273
|
}, {
|
@@ -278,20 +278,20 @@ var le = (
|
|
278
278
|
children: new Intl.DateTimeFormat(n, {
|
279
279
|
month: "long",
|
280
280
|
year: "numeric"
|
281
|
-
}).format(
|
281
|
+
}).format(f(o).add(r, this.navigateStep).startOf(this.navigateStep).toDate())
|
282
282
|
};
|
283
283
|
}
|
284
284
|
}, {
|
285
285
|
key: "getTriggerProps",
|
286
286
|
value: function(a) {
|
287
|
-
var r, t, n = this, o = a.placeholder, _ = o === void 0 ? "Select date ranges" : o, i = a.separator, p = i === void 0 ? "vs." : i,
|
287
|
+
var r, t, n = this, o = a.placeholder, _ = o === void 0 ? "Select date ranges" : o, i = a.separator, p = i === void 0 ? "vs." : i, h = this.asProps, c = h.locale, v = h.visible, g = (r = this.asProps.value) === null || r === void 0 ? void 0 : r.value, l = (t = this.asProps.value) === null || t === void 0 ? void 0 : t.compare, m = U({
|
288
288
|
locale: c
|
289
|
-
}, this.triggerFormattingProps),
|
290
|
-
return g != null && g[0] && g !== null && g !== void 0 && g[1] && (
|
291
|
-
children:
|
292
|
-
visible:
|
289
|
+
}, this.triggerFormattingProps), y = _;
|
290
|
+
return g != null && g[0] && g !== null && g !== void 0 && g[1] && (y = F(g, m)), l != null && l[0] && l !== null && l !== void 0 && l[1] && (y = "".concat(y || "", " ").concat(p, " ").concat(F(l, m))), {
|
291
|
+
children: y,
|
292
|
+
visible: v,
|
293
293
|
onClick: function() {
|
294
|
-
return n.handlers.visible(!
|
294
|
+
return n.handlers.visible(!v);
|
295
295
|
},
|
296
296
|
onKeyDown: this.handleKeydownDown("trigger")
|
297
297
|
};
|
@@ -311,13 +311,13 @@ var le = (
|
|
311
311
|
}, {
|
312
312
|
key: "getValueDateRangeProps",
|
313
313
|
value: function() {
|
314
|
-
var a = this, r = this.asProps, t = r.value, n = r.onDisplayedPeriodChange, o = r.locale, _ = r.disabled, i = r.disabledErrorText, p = r.getI18nText,
|
314
|
+
var a = this, r = this.asProps, t = r.value, n = r.onDisplayedPeriodChange, o = r.locale, _ = r.disabled, i = r.disabledErrorText, p = r.getI18nText, h = r.focusedRange, c = r.preselectedValue, v = r.animationsDisabled, g = r.visible;
|
315
315
|
return {
|
316
316
|
popoverVisible: g,
|
317
|
-
focused:
|
317
|
+
focused: h === "value" ? !0 : void 0,
|
318
318
|
value: c ?? (t == null ? void 0 : t.value),
|
319
|
-
onChange: function(
|
320
|
-
return a.handlers.preselectedValue(
|
319
|
+
onChange: function(m) {
|
320
|
+
return a.handlers.preselectedValue(m);
|
321
321
|
},
|
322
322
|
onDisplayedPeriodChange: n,
|
323
323
|
locale: o,
|
@@ -328,26 +328,26 @@ var le = (
|
|
328
328
|
onFocus: function() {
|
329
329
|
a.handlers.focusedRange("value");
|
330
330
|
},
|
331
|
-
animationsDisabled:
|
331
|
+
animationsDisabled: v
|
332
332
|
};
|
333
333
|
}
|
334
334
|
}, {
|
335
335
|
key: "getCompareDateRangeProps",
|
336
336
|
value: function() {
|
337
|
-
var a, r = this, t = this.asProps, n = t.value, o = t.onDisplayedPeriodChange, _ = t.locale, i = t.disabled, p = t.disabledErrorText,
|
337
|
+
var a, r = this, t = this.asProps, n = t.value, o = t.onDisplayedPeriodChange, _ = t.locale, i = t.disabled, p = t.disabledErrorText, h = t.getI18nText, c = t.focusedRange, v = t.preselectedCompare, g = t.compareToggle, l = t.animationsDisabled, m = t.visible;
|
338
338
|
return {
|
339
|
-
popoverVisible:
|
339
|
+
popoverVisible: m,
|
340
340
|
focused: c === "compare" ? !0 : void 0,
|
341
341
|
disabled: !(g ?? (n == null || (a = n.compare) === null || a === void 0 ? void 0 : a.length)),
|
342
|
-
value:
|
343
|
-
onChange: function(
|
344
|
-
return r.handlers.preselectedCompare(
|
342
|
+
value: v ?? (n == null ? void 0 : n.compare),
|
343
|
+
onChange: function(C) {
|
344
|
+
return r.handlers.preselectedCompare(C);
|
345
345
|
},
|
346
346
|
onDisplayedPeriodChange: o,
|
347
347
|
locale: _,
|
348
348
|
disabledDates: i,
|
349
349
|
children: this.getRangeInput(),
|
350
|
-
getI18nText:
|
350
|
+
getI18nText: h,
|
351
351
|
disabledErrorText: p,
|
352
352
|
onFocus: function() {
|
353
353
|
r.handlers.focusedRange("compare");
|
@@ -372,21 +372,21 @@ var le = (
|
|
372
372
|
}, {
|
373
373
|
key: "getCalendarProps",
|
374
374
|
value: function(a, r) {
|
375
|
-
var t = this.asProps, n = t.locale, o = t.displayedPeriod, _ = t.disabled, i = t.value, p = t.onCompareHighlightedChange,
|
375
|
+
var t = this.asProps, n = t.locale, o = t.displayedPeriod, _ = t.disabled, i = t.value, p = t.onCompareHighlightedChange, h = t.highlighted, c = t.compareHighlighted, v = t.onHighlightedChange, g = t.preselectedCompare, l = t.preselectedValue, m = t.focusedRange, y = t.getI18nText;
|
376
376
|
return {
|
377
377
|
locale: n,
|
378
|
-
displayedPeriod:
|
378
|
+
displayedPeriod: f(o).add(r, this.navigateStep).startOf(this.navigateStep).toDate(),
|
379
379
|
disabled: _,
|
380
380
|
onChange: this.handleChange,
|
381
|
-
highlighted:
|
381
|
+
highlighted: h,
|
382
382
|
compareHighlighted: c,
|
383
383
|
onCompareHighlightedChange: p,
|
384
|
-
onHighlightedChange:
|
385
|
-
range:
|
384
|
+
onHighlightedChange: v,
|
385
|
+
range: m,
|
386
386
|
value: l ?? (i == null ? void 0 : i.value),
|
387
387
|
compare: g ?? (i == null ? void 0 : i.compare),
|
388
388
|
unitRefs: this.unitRefs,
|
389
|
-
getI18nText:
|
389
|
+
getI18nText: y,
|
390
390
|
actionsDescribing: r === 0 ? "range-compare" : null,
|
391
391
|
tabIndex: r === 0 ? 0 : -1
|
392
392
|
};
|
@@ -404,7 +404,7 @@ var le = (
|
|
404
404
|
key: "render",
|
405
405
|
value: function() {
|
406
406
|
var a = this.asProps, r, t = this.asProps, n = t.Children, o = t.styles, _ = t["aria-label"];
|
407
|
-
return /* @__PURE__ */ S.createElement(S.Fragment, null, (r =
|
407
|
+
return /* @__PURE__ */ S.createElement(S.Fragment, null, (r = T(o), /* @__PURE__ */ S.createElement(Y, E({
|
408
408
|
"use:aria-label": _,
|
409
409
|
__excludeProps: ["onChange", "value"]
|
410
410
|
}, a), /* @__PURE__ */ S.createElement(n, r.cn("Children", {})))));
|
@@ -431,11 +431,11 @@ var le = (
|
|
431
431
|
}
|
432
432
|
}]), u;
|
433
433
|
}(ee);
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
return
|
434
|
+
P(x, "displayName", "DateRangeComparator");
|
435
|
+
P(x, "style", le);
|
436
|
+
P(x, "enhance", [ae(B)]);
|
437
|
+
P(x, "subtract", function(d, s, u) {
|
438
|
+
return f(d).subtract(s, u).toDate();
|
439
439
|
});
|
440
440
|
function Me(d) {
|
441
441
|
var s = arguments[0], u = d.getI18nText;
|
@@ -454,21 +454,21 @@ function Ee(d) {
|
|
454
454
|
}
|
455
455
|
function Ae(d) {
|
456
456
|
var s, u = d.Root, e = d.styles;
|
457
|
-
return s =
|
457
|
+
return s = T(e), /* @__PURE__ */ S.createElement(u, s.cn("STrigger", {
|
458
458
|
render: Y.Trigger,
|
459
459
|
tag: te
|
460
460
|
}));
|
461
461
|
}
|
462
462
|
function ze(d) {
|
463
463
|
var s, u = d.Root, e = d.styles, a = d.getI18nText;
|
464
|
-
return s =
|
464
|
+
return s = T(e), /* @__PURE__ */ S.createElement(u, s.cn("SCompareToggle", {
|
465
465
|
render: re,
|
466
466
|
label: a("compare")
|
467
467
|
}));
|
468
468
|
}
|
469
469
|
function Ne(d) {
|
470
470
|
var s, u = d.Root, e = d.Children, a = d.styles;
|
471
|
-
return s =
|
471
|
+
return s = T(a), /* @__PURE__ */ S.createElement(u, s.cn("SRangeComparatorHeader", {
|
472
472
|
render: A,
|
473
473
|
gap: 4,
|
474
474
|
alignItems: "center"
|
@@ -476,14 +476,14 @@ function Ne(d) {
|
|
476
476
|
}
|
477
477
|
function Fe(d) {
|
478
478
|
var s, u = d.Root, e = d.Children, a = d.styles;
|
479
|
-
return s =
|
479
|
+
return s = T(a), /* @__PURE__ */ S.createElement(u, s.cn("SBody", {
|
480
480
|
render: A,
|
481
481
|
gap: 4
|
482
482
|
}), /* @__PURE__ */ S.createElement(e, s.cn("Children", {})));
|
483
483
|
}
|
484
484
|
function Oe(d) {
|
485
485
|
var s, u = d.Root, e = d.styles, a = d.Children;
|
486
|
-
return s =
|
486
|
+
return s = T(e), /* @__PURE__ */ S.createElement(u, s.cn("SFooter", {
|
487
487
|
render: A,
|
488
488
|
gap: 2
|
489
489
|
}), /* @__PURE__ */ S.createElement(a, s.cn("Children", {})));
|
@@ -496,5 +496,5 @@ export {
|
|
496
496
|
Ne as Header,
|
497
497
|
Ee as Reset,
|
498
498
|
Ae as Trigger,
|
499
|
-
|
499
|
+
x as default
|
500
500
|
};
|