intergalactic 15.126.0 → 15.126.1-prerelease.0
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 +6 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +72 -72
- 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 +39 -39
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +36 -36
- package/animation/lib/esm/Scale.mjs +49 -49
- package/animation/lib/esm/Slide.mjs +37 -37
- package/animation/lib/esm/Transform.mjs +40 -40
- 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 +28 -28
- 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 +53 -53
- package/base-trigger/lib/esm/ButtonTrigger.mjs +13 -13
- package/base-trigger/lib/esm/FilterTrigger.mjs +62 -62
- package/base-trigger/lib/esm/LinkTrigger.mjs +41 -41
- 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 +42 -42
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +83 -83
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +27 -27
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +27 -27
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +61 -61
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +58 -58
- 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 +49 -49
- 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 +155 -155
- 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 +126 -126
- 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 +87 -87
- package/color-picker/lib/esm/PaletteManager.mjs +74 -74
- package/color-picker/lib/esm/components/InputColor.mjs +75 -75
- package/color-picker/package.json +1 -1
- package/components.json +75 -75
- 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 +38 -38
- 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 +70 -70
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +120 -120
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +59 -59
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +101 -101
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +113 -113
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +132 -132
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +58 -58
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +52 -52
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +51 -51
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +79 -79
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +33 -33
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +195 -195
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +96 -96
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +60 -60
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +35 -35
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +57 -57
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +28 -28
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +36 -36
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +26 -26
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +79 -79
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +43 -43
- 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 +53 -53
- package/data-table/lib/esm/DataTable.mjs +229 -229
- 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/semcore/date-picker/src/components/Calendar.mjs +147 -147
- package/date-picker/lib/esm/semcore/date-picker/src/components/DateRangeComparatorAbstract.mjs +191 -191
- package/date-picker/lib/esm/semcore/date-picker/src/components/InputTrigger.mjs +209 -209
- package/date-picker/lib/esm/semcore/date-picker/src/components/PickerAbstract.mjs +109 -109
- package/date-picker/lib/esm/semcore/date-picker/src/components/RangePickerAbstract.mjs +144 -144
- 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 +34 -34
- 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 +41 -41
- 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 +171 -171
- 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 +99 -99
- 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 +162 -162
- 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 +96 -96
- 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 +29 -29
- 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 +74 -74
- package/feature-popover/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/esm/FeedbackForm.mjs +28 -28
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +25 -25
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +54 -54
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +49 -49
- 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 +12 -12
- package/flex-box/lib/esm/Flex/useFlex.mjs +16 -16
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +13 -13
- 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 +74 -74
- 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 +153 -153
- 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 +24 -24
- 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/lib/cjs/index.js +1 -1
- package/illustration/lib/es6/index.js +1 -1
- 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 +36 -36
- 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 +102 -102
- 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 +59 -59
- 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 +55 -55
- 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 +138 -138
- 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 +105 -105
- 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 +50 -50
- 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 +29 -29
- package/mini-chart/lib/esm/component/score/Line.mjs +46 -46
- package/mini-chart/lib/esm/component/trend/Bar.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Line.mjs +54 -54
- 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 +60 -60
- 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 +53 -53
- 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 +129 -129
- 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 +54 -54
- 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 +141 -141
- 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 +84 -84
- 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 +110 -110
- 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 +25 -25
- package/product-head/lib/esm/ProductHead.mjs +33 -33
- package/product-head/lib/esm/Title.mjs +20 -20
- 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 +58 -58
- 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 +123 -123
- 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 +103 -103
- package/scroll-area/lib/esm/ScrollBar.mjs +34 -34
- package/scroll-area/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/esm/InputSearch.mjs +51 -51
- package/select/lib/esm/Select.mjs +126 -126
- 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 +114 -114
- 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 +21 -21
- package/skeleton/lib/esm/Charts/Bar.mjs +19 -19
- package/skeleton/lib/esm/Charts/Bubble.mjs +20 -20
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +16 -16
- package/skeleton/lib/esm/Charts/Donut.mjs +28 -28
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +22 -22
- package/skeleton/lib/esm/Charts/RadialTree.mjs +17 -17
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +18 -18
- package/skeleton/lib/esm/Charts/Venn.mjs +23 -23
- package/skeleton/lib/esm/Skeleton.mjs +64 -64
- 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 +79 -79
- 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 +40 -40
- 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 +50 -50
- 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 +15 -15
- 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 +90 -90
- 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 +88 -88
- 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 +47 -47
- 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 +154 -154
- 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 +35 -35
- package/textarea/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/TimePicker.mjs +72 -72
- 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 +108 -108
- 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 +45 -45
- package/typography/lib/esm/List.mjs +35 -35
- 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 +31 -31
- 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 +72 -72
- package/wizard/package.json +1 -1
@@ -3,41 +3,41 @@ import rr from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
3
|
import ar from "@babel/runtime/helpers/esm/createClass";
|
4
4
|
import tr from "@babel/runtime/helpers/esm/inherits";
|
5
5
|
import er from "@babel/runtime/helpers/esm/createSuper";
|
6
|
-
import
|
6
|
+
import k from "@babel/runtime/helpers/esm/defineProperty";
|
7
7
|
import { sstyled as _r } from 'intergalactic/utils/lib/core/index';
|
8
|
-
import
|
8
|
+
import s from "react";
|
9
9
|
import { sstyled as F, Component as nr } from 'intergalactic/core';
|
10
10
|
import or from 'intergalactic/utils/lib/uniqueID';
|
11
11
|
import ir from "./createElement.mjs";
|
12
|
-
import
|
12
|
+
import gr from "./AnimatedClipPath.mjs";
|
13
13
|
import { scaleToBand as I, roundedPath as M } from "./utils.mjs";
|
14
14
|
import { PatternFill as lr } from "./Pattern.mjs";
|
15
15
|
var cr = (
|
16
16
|
/*__reshadow_css_start__*/
|
17
17
|
(_r.insert(
|
18
18
|
/*__inner_css_start__*/
|
19
|
-
".
|
20
|
-
"
|
19
|
+
".___SBar_y4ygk_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_y4ygk);transition-timing-function:ease-in-out}.___SBar_y4ygk_gg_.__color_y4ygk_gg_{fill:var(--color_y4ygk)}.___SBar_y4ygk_gg_.__pattern_y4ygk_gg_.__color_y4ygk_gg_{fill:var(--pattern_y4ygk);stroke:var(--color_y4ygk);stroke-width:1px}.___SBar_y4ygk_gg_.__hide_y4ygk_gg_{display:none}.___SBar_y4ygk_gg_.__transparent_y4ygk_gg_{opacity:.3}.___SBackground_y4ygk_gg_.__onClick_y4ygk_gg_,.___SBar_y4ygk_gg_.__onClick_y4ygk_gg_{cursor:pointer}.___SBackground_y4ygk_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_y4ygk_gg_{display:flex;justify-content:space-between}.___SBarLabel_y4ygk_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_y4ygk_gg_,.___SBarPercent_y4ygk_gg_,.___SBarValue_y4ygk_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_y4ygk_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_y4ygk_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_y4ygk_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
20
|
+
"y4ygk_gg_"
|
21
21
|
), {
|
22
|
-
__SBar: "
|
23
|
-
"--duration": "--
|
24
|
-
_color: "
|
25
|
-
"--color": "--
|
26
|
-
_pattern: "
|
27
|
-
"--pattern": "--
|
28
|
-
_hide: "
|
29
|
-
_transparent: "
|
30
|
-
_onClick: "
|
31
|
-
__SBackground: "
|
32
|
-
__SBarAnnotation: "
|
33
|
-
__SBarLabel: "
|
34
|
-
__SBarPercent: "
|
35
|
-
__SBarValue: "
|
36
|
-
__SCompactHorizontalBarHoverRect: "
|
22
|
+
__SBar: "___SBar_y4ygk_gg_",
|
23
|
+
"--duration": "--duration_y4ygk",
|
24
|
+
_color: "__color_y4ygk_gg_",
|
25
|
+
"--color": "--color_y4ygk",
|
26
|
+
_pattern: "__pattern_y4ygk_gg_",
|
27
|
+
"--pattern": "--pattern_y4ygk",
|
28
|
+
_hide: "__hide_y4ygk_gg_",
|
29
|
+
_transparent: "__transparent_y4ygk_gg_",
|
30
|
+
_onClick: "__onClick_y4ygk_gg_",
|
31
|
+
__SBackground: "___SBackground_y4ygk_gg_",
|
32
|
+
__SBarAnnotation: "___SBarAnnotation_y4ygk_gg_",
|
33
|
+
__SBarLabel: "___SBarLabel_y4ygk_gg_",
|
34
|
+
__SBarPercent: "___SBarPercent_y4ygk_gg_",
|
35
|
+
__SBarValue: "___SBarValue_y4ygk_gg_",
|
36
|
+
__SCompactHorizontalBarHoverRect: "___SCompactHorizontalBarHoverRect_y4ygk_gg_"
|
37
37
|
})
|
38
|
-
),
|
38
|
+
), sr = 2, yr = function(i, e, o) {
|
39
39
|
return i <= 0 ? o <= e ? e : 0 : Object.is(i, 0) ? e : 0;
|
40
|
-
},
|
40
|
+
}, h = /* @__PURE__ */ function(_) {
|
41
41
|
tr(e, _);
|
42
42
|
var i = er(e);
|
43
43
|
function e() {
|
@@ -46,28 +46,28 @@ var cr = (
|
|
46
46
|
return ar(e, [{
|
47
47
|
key: "getBackgroundProps",
|
48
48
|
value: function(r, a) {
|
49
|
-
var n = this.asProps, c = n.data,
|
49
|
+
var n = this.asProps, c = n.data, g = n.y;
|
50
50
|
return {
|
51
|
-
value: c[a][
|
51
|
+
value: c[a][g],
|
52
52
|
index: a
|
53
53
|
};
|
54
54
|
}
|
55
55
|
}, {
|
56
56
|
key: "renderBar",
|
57
57
|
value: function(r, a) {
|
58
|
-
var n, c,
|
59
|
-
return
|
58
|
+
var n, c, g, y, K = this.Element, t = this.asProps, N = t.styles, v = t.color, l = t.x, m = t.x0, H = t.y, T = t.scale, X = t.hide, f = t.offset, B = t.uid, D = t.duration, S = t.r, x = t.wMin, O = t.height, q = t.onMouseMove, G = t.onMouseLeave, u = t.groupKey, Y = t.transparent, w = t.maxBarSize, J = w === void 0 ? 1 / 0 : w, z = t.resolveColor, b = t.patterns, P = t.onClick, E = typeof f == "function" ? f(a) : f, $ = j(T, 2), d = $[0], R = $[1], Q = Math.abs(d(r[l]) - Math.max(d(d.domain()[0]), d((c = r[m]) !== null && c !== void 0 ? c : 0))), A = O || I(R).bandwidth(), C = Math.min(A, J), p = Number(r[l] - ((g = r[m]) !== null && g !== void 0 ? g : 0)) === 0 ? 0 : Math.max(Q, x), L = R(r[H]) + A / 2 - C / 2 + E[1], V = d(Math.min((y = r[m]) !== null && y !== void 0 ? y : 0, p <= x && r[l] < 0 ? 0 : r[l])) + E[0] - yr(r[l], x, p), U = function(Z) {
|
59
|
+
return P == null ? void 0 : P(r, Z, a, l);
|
60
60
|
}, W = dr({
|
61
61
|
x: V,
|
62
62
|
y: L,
|
63
|
-
width:
|
63
|
+
width: p,
|
64
64
|
height: C,
|
65
65
|
radius: Array.isArray(S) ? S[a] : S,
|
66
66
|
position: r[l] > 0 || Object.is(r[l], 0) ? "right" : "left"
|
67
67
|
});
|
68
|
-
return u ? this.asProps.dataHintsHandler.describeGroupedValues(u, l) : this.asProps.dataHintsHandler.describeValueEntity("".concat(a, ".").concat(l), u ?? r[H]), /* @__PURE__ */
|
68
|
+
return u ? this.asProps.dataHintsHandler.describeGroupedValues(u, l) : this.asProps.dataHintsHandler.describeValueEntity("".concat(a, ".").concat(l), u ?? r[H]), /* @__PURE__ */ s.createElement(s.Fragment, {
|
69
69
|
key: "horizontal-bar-".concat(a)
|
70
|
-
}, (n = F(N), /* @__PURE__ */
|
70
|
+
}, (n = F(N), /* @__PURE__ */ s.createElement(K, n.cn("SBar", {
|
71
71
|
"aria-hidden": !0,
|
72
72
|
render: "path",
|
73
73
|
clipPath: "url(#".concat(B, ")"),
|
@@ -76,32 +76,32 @@ var cr = (
|
|
76
76
|
value: r,
|
77
77
|
index: a,
|
78
78
|
hide: X,
|
79
|
-
color: z(
|
80
|
-
pattern:
|
79
|
+
color: z(v),
|
80
|
+
pattern: b ? "url(#".concat(B, "-").concat(a, "-pattern)") : void 0,
|
81
81
|
transparent: Y,
|
82
82
|
x: V,
|
83
83
|
y: L,
|
84
|
-
width:
|
84
|
+
width: p,
|
85
85
|
height: C,
|
86
86
|
d: W,
|
87
87
|
onClickCapture: U,
|
88
88
|
"use:duration": "".concat(D, "ms"),
|
89
89
|
onMouseMove: q,
|
90
90
|
onMouseLeave: G
|
91
|
-
}))),
|
91
|
+
}))), b && /* @__PURE__ */ s.createElement(lr, n.cn("PatternFill", {
|
92
92
|
id: "".concat(B, "-").concat(a, "-pattern"),
|
93
|
-
patternKey:
|
94
|
-
color: z(
|
95
|
-
patterns:
|
93
|
+
patternKey: v,
|
94
|
+
color: z(v),
|
95
|
+
patterns: b
|
96
96
|
})));
|
97
97
|
}
|
98
98
|
}, {
|
99
99
|
key: "render",
|
100
100
|
value: function() {
|
101
|
-
var r = this.asProps, a = r.data, n = r.uid, c = r.size,
|
102
|
-
return /* @__PURE__ */
|
101
|
+
var r = this.asProps, a = r.data, n = r.uid, c = r.size, g = r.duration;
|
102
|
+
return /* @__PURE__ */ s.createElement(s.Fragment, null, a.map(this.renderBar.bind(this)), g && /* @__PURE__ */ s.createElement(gr, {
|
103
103
|
"aria-hidden": !0,
|
104
|
-
duration:
|
104
|
+
duration: g,
|
105
105
|
id: n,
|
106
106
|
x: "0",
|
107
107
|
y: "0",
|
@@ -111,35 +111,35 @@ var cr = (
|
|
111
111
|
}
|
112
112
|
}]), e;
|
113
113
|
}(nr);
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
114
|
+
k(h, "displayName", "HorizontalBar");
|
115
|
+
k(h, "enhance", [or()]);
|
116
|
+
k(h, "style", cr);
|
117
|
+
k(h, "defaultProps", {
|
118
118
|
offset: [0, 0],
|
119
119
|
duration: 500,
|
120
120
|
r: 2,
|
121
|
-
wMin:
|
121
|
+
wMin: sr
|
122
122
|
});
|
123
123
|
function ur(_) {
|
124
|
-
var i, e = _.Element, o = _.styles, r = _.scale, a = _.value, n = j(r, 2), c = n[0],
|
125
|
-
return i = F(o), /* @__PURE__ */
|
124
|
+
var i, e = _.Element, o = _.styles, r = _.scale, a = _.value, n = j(r, 2), c = n[0], g = n[1], y = c.range();
|
125
|
+
return i = F(o), /* @__PURE__ */ s.createElement(e, i.cn("SBackground", {
|
126
126
|
"aria-hidden": !0,
|
127
127
|
render: "rect",
|
128
128
|
childrenPosition: "above",
|
129
|
-
width:
|
130
|
-
height: I(
|
131
|
-
x:
|
132
|
-
y:
|
129
|
+
width: y[1] - y[0],
|
130
|
+
height: I(g).bandwidth(),
|
131
|
+
x: y[0],
|
132
|
+
y: g(a)
|
133
133
|
}));
|
134
134
|
}
|
135
135
|
function dr(_) {
|
136
136
|
var i = _.x, e = _.y, o = _.width, r = _.height, a = _.radius, n = _.position;
|
137
137
|
return o < a && (a = o), a ? n === "right" ? M(i, e, o, r, a, !1, !0, !1, !0) : M(i, e, o, r, a, !0, !1, !0, !1) : M(i, e, o, r, a);
|
138
138
|
}
|
139
|
-
const zr = ir(
|
139
|
+
const zr = ir(h, {
|
140
140
|
Background: ur
|
141
141
|
});
|
142
142
|
export {
|
143
|
-
|
143
|
+
sr as MIN_WIDTH,
|
144
144
|
zr as default
|
145
145
|
};
|
@@ -1,50 +1,50 @@
|
|
1
|
-
import
|
1
|
+
import O from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import M from "@babel/runtime/helpers/esm/slicedToArray";
|
3
3
|
import P from "@babel/runtime/helpers/esm/classCallCheck";
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
4
|
+
import w from "@babel/runtime/helpers/esm/createClass";
|
5
|
+
import L from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
|
+
import C from "@babel/runtime/helpers/esm/inherits";
|
7
|
+
import j from "@babel/runtime/helpers/esm/createSuper";
|
8
|
+
import b from "@babel/runtime/helpers/esm/defineProperty";
|
9
9
|
import { sstyled as K } from 'intergalactic/utils/lib/core/index';
|
10
|
-
import { Component as Q, sstyled as T, assignProps as
|
10
|
+
import { Component as Q, sstyled as T, assignProps as V } from 'intergalactic/core';
|
11
11
|
import c from "react";
|
12
12
|
import Z from 'intergalactic/utils/lib/canUseDOM';
|
13
|
-
import
|
14
|
-
import
|
15
|
-
import { eventToPoint as ee, invert as
|
13
|
+
import Y from 'intergalactic/utils/lib/rafTrottle';
|
14
|
+
import W from "./createElement.mjs";
|
15
|
+
import { eventToPoint as ee, invert as k, getIndexFromData as F, scaleOfBandwidth as U, scaleToBand as N } from "./utils.mjs";
|
16
16
|
import I from "./Tooltip.mjs";
|
17
17
|
var te = (
|
18
18
|
/*__reshadow_css_start__*/
|
19
19
|
(K.insert(
|
20
20
|
/*__inner_css_start__*/
|
21
|
-
".
|
22
|
-
"
|
21
|
+
".___SHoverLine_xbwqj_gg_{outline:0;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_xbwqj_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
22
|
+
"xbwqj_gg_"
|
23
23
|
), {
|
24
|
-
__SHoverLine: "
|
25
|
-
__SHoverRect: "
|
24
|
+
__SHoverLine: "___SHoverLine_xbwqj_gg_",
|
25
|
+
__SHoverRect: "___SHoverRect_xbwqj_gg_"
|
26
26
|
})
|
27
|
-
),
|
28
|
-
|
29
|
-
var l =
|
27
|
+
), $ = /* @__PURE__ */ function(g) {
|
28
|
+
C(e, g);
|
29
|
+
var l = j(e);
|
30
30
|
function e() {
|
31
31
|
var t;
|
32
32
|
P(this, e);
|
33
33
|
for (var n = arguments.length, o = new Array(n), r = 0; r < n; r++)
|
34
34
|
o[r] = arguments[r];
|
35
|
-
return t = l.call.apply(l, [this].concat(o)),
|
35
|
+
return t = l.call.apply(l, [this].concat(o)), b(L(t), "state", {
|
36
36
|
xIndex: null,
|
37
37
|
yIndex: null
|
38
|
-
}),
|
39
|
-
var
|
40
|
-
xIndex:
|
41
|
-
yIndex:
|
38
|
+
}), b(L(t), "virtualElement", Z() ? document.createElement("div") : {}), b(L(t), "handlerMouseMoveRoot", Y(function(u) {
|
39
|
+
var a = t.asProps, R = a.eventEmitter, h = a.data, S = a.scale, x = a.x, f = a.y, i = a.rootRef, s = a.patterns, H = u.clientX, y = u.clientY, d = M(S, 2), p = d[0], m = d[1], _ = ee(u, i.current), v = M(_, 2), E = v[0], J = v[1], q = k(p, E), A = k(m, J), B = x === void 0 || q === void 0 ? null : F(h, p, x, q), D = f === void 0 || A === void 0 ? null : F(h, m, f, A), X = {
|
40
|
+
xIndex: B,
|
41
|
+
yIndex: D,
|
42
42
|
patterns: s
|
43
43
|
};
|
44
|
-
t.setState(
|
45
|
-
R.emit("setTooltipPosition", H, y), R.emit("setTooltipRenderingProps", {},
|
44
|
+
t.setState(X, function() {
|
45
|
+
R.emit("setTooltipPosition", H, y), R.emit("setTooltipRenderingProps", {}, X), R.emit("setTooltipVisible", B !== null || D !== null);
|
46
46
|
});
|
47
|
-
})),
|
47
|
+
})), b(L(t), "handlerMouseLeaveRoot", Y(function() {
|
48
48
|
var u = {
|
49
49
|
xIndex: null,
|
50
50
|
yIndex: null,
|
@@ -55,7 +55,7 @@ var te = (
|
|
55
55
|
});
|
56
56
|
})), t;
|
57
57
|
}
|
58
|
-
return
|
58
|
+
return w(e, [{
|
59
59
|
key: "componentDidMount",
|
60
60
|
value: function() {
|
61
61
|
var n = this, o = this.asProps.eventEmitter;
|
@@ -70,21 +70,21 @@ var te = (
|
|
70
70
|
}
|
71
71
|
}]), e;
|
72
72
|
}(Q);
|
73
|
-
|
74
|
-
var
|
75
|
-
|
76
|
-
var l =
|
73
|
+
b($, "style", te);
|
74
|
+
var z = /* @__PURE__ */ function(g) {
|
75
|
+
C(e, g);
|
76
|
+
var l = j(e);
|
77
77
|
function e() {
|
78
78
|
return P(this, e), l.apply(this, arguments);
|
79
79
|
}
|
80
|
-
return
|
80
|
+
return w(e, [{
|
81
81
|
key: "render",
|
82
82
|
value: function() {
|
83
|
-
var n, o = this.Element, r = this.asProps, u = r.styles,
|
84
|
-
return E ? null : (n = T(u), /* @__PURE__ */ c.createElement(c.Fragment, null,
|
83
|
+
var n, o = this.Element, r = this.asProps, u = r.styles, a = r.x, R = r.y, h = r.data, S = r.scale, x = r.hideHoverLine, f = this.state, i = f.xIndex, s = f.yIndex, H = M(S, 2), y = H[0], d = H[1], p = y.range(), m = d.range(), _ = i !== null ? U(y, h[i][a]) : void 0, v = s !== null ? U(d, h[s][R]) : void 0, E = typeof x == "function" ? x(i, s) : x;
|
84
|
+
return E ? null : (n = T(u), /* @__PURE__ */ c.createElement(c.Fragment, null, i !== null ? /* @__PURE__ */ c.createElement(o, n.cn("SHoverLine", {
|
85
85
|
"aria-hidden": !0,
|
86
86
|
render: "line",
|
87
|
-
index:
|
87
|
+
index: i,
|
88
88
|
x1: _,
|
89
89
|
y1: m[0],
|
90
90
|
x2: _,
|
@@ -100,25 +100,25 @@ var q = /* @__PURE__ */ function(g) {
|
|
100
100
|
})) : null));
|
101
101
|
}
|
102
102
|
}]), e;
|
103
|
-
}(
|
104
|
-
|
103
|
+
}($);
|
104
|
+
b(z, "displayName", "HoverLine");
|
105
105
|
var G = /* @__PURE__ */ function(g) {
|
106
|
-
|
107
|
-
var l =
|
106
|
+
C(e, g);
|
107
|
+
var l = j(e);
|
108
108
|
function e() {
|
109
109
|
return P(this, e), l.apply(this, arguments);
|
110
110
|
}
|
111
|
-
return
|
111
|
+
return w(e, [{
|
112
112
|
key: "render",
|
113
113
|
value: function() {
|
114
|
-
var n, o = this.Element, r = this.asProps, u = r.styles,
|
115
|
-
return
|
114
|
+
var n, o = this.Element, r = this.asProps, u = r.styles, a = r.x, R = r.y, h = r.data, S = r.scale, x = r.hideHoverLine, f = this.state, i = f.xIndex, s = f.yIndex, H = M(S, 2), y = H[0], d = H[1], p = y.range(), m = d.range(), _ = N(y), v = N(d);
|
115
|
+
return x ? null : (n = T(u), /* @__PURE__ */ c.createElement(c.Fragment, null, i !== null ? /* @__PURE__ */ c.createElement(o, n.cn("SHoverRect", {
|
116
116
|
"aria-hidden": !0,
|
117
117
|
render: "rect",
|
118
|
-
index:
|
118
|
+
index: i,
|
119
119
|
width: _.step() - _.paddingInner() / 2,
|
120
120
|
height: m[0] - m[1],
|
121
|
-
x: y(h[
|
121
|
+
x: y(h[i][a]) - _.step() * _.paddingInner() / 2,
|
122
122
|
y: m[1]
|
123
123
|
})) : null, s !== null ? /* @__PURE__ */ c.createElement(o, n.cn("SHoverRect", {
|
124
124
|
"aria-hidden": !0,
|
@@ -131,26 +131,26 @@ var G = /* @__PURE__ */ function(g) {
|
|
131
131
|
})) : null));
|
132
132
|
}
|
133
133
|
}]), e;
|
134
|
-
}(
|
135
|
-
|
134
|
+
}($);
|
135
|
+
b(G, "displayName", "HoverRect");
|
136
136
|
var re = function(l) {
|
137
137
|
var e = arguments[0], t, n = I;
|
138
|
-
return t = T(l.styles), /* @__PURE__ */ c.createElement(n, t.cn("SHoverLineTooltip",
|
138
|
+
return t = T(l.styles), /* @__PURE__ */ c.createElement(n, t.cn("SHoverLineTooltip", O({}, V({
|
139
139
|
tag: oe,
|
140
140
|
excludeAnchorProps: !0
|
141
141
|
}, e))));
|
142
142
|
}, ne = function(l) {
|
143
143
|
var e = arguments[0], t, n = I;
|
144
|
-
return t = T(l.styles), /* @__PURE__ */ c.createElement(n, t.cn("SHoverRectTooltip",
|
145
|
-
tag:
|
144
|
+
return t = T(l.styles), /* @__PURE__ */ c.createElement(n, t.cn("SHoverRectTooltip", O({}, V({
|
145
|
+
tag: ae,
|
146
146
|
excludeAnchorProps: !0
|
147
147
|
}, e))));
|
148
|
-
}, oe = z
|
148
|
+
}, oe = W(z, {
|
149
149
|
Tooltip: [re, I._______childrenComponents]
|
150
|
-
}),
|
150
|
+
}), ae = W(G, {
|
151
151
|
Tooltip: [ne, I._______childrenComponents]
|
152
152
|
});
|
153
153
|
export {
|
154
154
|
oe as HoverLine,
|
155
|
-
|
155
|
+
ae as HoverRect
|
156
156
|
};
|
@@ -1,51 +1,51 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import { sstyled as
|
1
|
+
import $ from "@babel/runtime/helpers/esm/slicedToArray";
|
2
|
+
import H from "@babel/runtime/helpers/esm/classCallCheck";
|
3
|
+
import R from "@babel/runtime/helpers/esm/createClass";
|
4
|
+
import F from "@babel/runtime/helpers/esm/inherits";
|
5
|
+
import T from "@babel/runtime/helpers/esm/createSuper";
|
6
|
+
import x from "@babel/runtime/helpers/esm/defineProperty";
|
7
|
+
import { sstyled as z } from 'intergalactic/utils/lib/core/index';
|
8
8
|
import f from "react";
|
9
9
|
import { line as B, curveLinear as K, area as M, curveCardinal as O } from "d3-shape";
|
10
|
-
import { sstyled as
|
10
|
+
import { sstyled as k, Component as U } from 'intergalactic/core';
|
11
11
|
import V, { useUID as j } from 'intergalactic/utils/lib/uniqueID';
|
12
12
|
import G from "./createElement.mjs";
|
13
|
-
import { definedData as
|
13
|
+
import { definedData as b, scaleOfBandwidth as E, interpolateValue as P, getNullData as J, definedNullData as Q, getChartDefaultColorName as W } from "./utils.mjs";
|
14
14
|
import X from "./Dots.mjs";
|
15
15
|
import Y from "./AnimatedClipPath.mjs";
|
16
16
|
import { resolvePatternDasharray as Z } from "./Pattern.mjs";
|
17
17
|
var rr = (
|
18
18
|
/*__reshadow_css_start__*/
|
19
|
-
(
|
19
|
+
(z.insert(
|
20
20
|
/*__inner_css_start__*/
|
21
|
-
".
|
22
|
-
"
|
21
|
+
".___SLine_qwnsu_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_qwnsu);transition-timing-function:ease-in-out}.___SLine_qwnsu_gg_.__color_qwnsu_gg_{stroke:var(--color_qwnsu)}.___SLine_qwnsu_gg_.__hide_qwnsu_gg_{display:none}.___SLine_qwnsu_gg_.__transparent_qwnsu_gg_{opacity:.3}.___SNull_qwnsu_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_qwnsu_gg_.__hide_qwnsu_gg_{display:none}.___SLineArea_qwnsu_gg_{transition-property:d;transition-duration:var(--duration_qwnsu);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_qwnsu_gg_.__color_qwnsu_gg_{fill:var(--color_qwnsu)}",
|
22
|
+
"qwnsu_gg_"
|
23
23
|
), {
|
24
|
-
__SLine: "
|
25
|
-
"--duration": "--
|
26
|
-
_color: "
|
27
|
-
"--color": "--
|
28
|
-
_hide: "
|
29
|
-
_transparent: "
|
30
|
-
__SNull: "
|
31
|
-
__SLineArea: "
|
24
|
+
__SLine: "___SLine_qwnsu_gg_",
|
25
|
+
"--duration": "--duration_qwnsu",
|
26
|
+
_color: "__color_qwnsu_gg_",
|
27
|
+
"--color": "--color_qwnsu",
|
28
|
+
_hide: "__hide_qwnsu_gg_",
|
29
|
+
_transparent: "__transparent_qwnsu_gg_",
|
30
|
+
__SNull: "___SNull_qwnsu_gg_",
|
31
|
+
__SLineArea: "___SLineArea_qwnsu_gg_"
|
32
32
|
})
|
33
|
-
),
|
34
|
-
|
35
|
-
var
|
36
|
-
function
|
37
|
-
return
|
33
|
+
), q = /* @__PURE__ */ function(e) {
|
34
|
+
F(i, e);
|
35
|
+
var _ = T(i);
|
36
|
+
function i() {
|
37
|
+
return H(this, i), _.apply(this, arguments);
|
38
38
|
}
|
39
|
-
return
|
39
|
+
return R(i, [{
|
40
40
|
key: "getDotsProps",
|
41
41
|
value: function() {
|
42
|
-
var r = this.asProps,
|
42
|
+
var r = this.asProps, o = r.x, t = r.y, u = r.d3, s = r.color, l = r.resolveColor, n = r.duration, a = r.transparent, h = r.patterns;
|
43
43
|
return {
|
44
|
-
x:
|
44
|
+
x: o,
|
45
45
|
y: t,
|
46
|
-
d3:
|
47
|
-
color:
|
48
|
-
resolveColor:
|
46
|
+
d3: u,
|
47
|
+
color: s,
|
48
|
+
resolveColor: l,
|
49
49
|
duration: n,
|
50
50
|
transparent: a,
|
51
51
|
patterns: h
|
@@ -54,49 +54,49 @@ var rr = (
|
|
54
54
|
}, {
|
55
55
|
key: "getNullProps",
|
56
56
|
value: function() {
|
57
|
-
var r = this.asProps,
|
58
|
-
return a[t] !==
|
57
|
+
var r = this.asProps, o = r.x, t = r.y, u = r.d3, s = r.color, l = r.resolveColor, n = this.asProps.data.filter(function(a) {
|
58
|
+
return a[t] !== P;
|
59
59
|
});
|
60
60
|
return {
|
61
|
-
d3:
|
61
|
+
d3: u,
|
62
62
|
// TODO: vertical
|
63
|
-
data: J(n, Q(
|
64
|
-
color:
|
65
|
-
resolveColor:
|
63
|
+
data: J(n, Q(o, t), t),
|
64
|
+
color: s,
|
65
|
+
resolveColor: l
|
66
66
|
};
|
67
67
|
}
|
68
68
|
}, {
|
69
69
|
key: "getAreaProps",
|
70
70
|
value: function() {
|
71
|
-
var r = this.asProps,
|
72
|
-
return h[t] !==
|
71
|
+
var r = this.asProps, o = r.x, t = r.y, u = r.color, s = r.hide, l = r.duration, n = r.scale, a = this.asProps.data.filter(function(h) {
|
72
|
+
return h[t] !== P;
|
73
73
|
});
|
74
74
|
return {
|
75
|
-
x:
|
75
|
+
x: o,
|
76
76
|
y: t,
|
77
77
|
data: a,
|
78
|
-
color:
|
79
|
-
hide:
|
80
|
-
duration:
|
78
|
+
color: u,
|
79
|
+
hide: s,
|
80
|
+
duration: l,
|
81
81
|
scale: n
|
82
82
|
};
|
83
83
|
}
|
84
84
|
}, {
|
85
85
|
key: "render",
|
86
86
|
value: function() {
|
87
|
-
var r,
|
88
|
-
return
|
87
|
+
var r, o = this.Element, t = this.asProps, u = t.styles, s = t.hide, l = t.color, n = t.resolveColor, a = t.uid, h = t.size, C = t.d3, g = t.duration, A = t.x, m = t.y, S = t.transparent, v = t.patterns, D = this.asProps.data.filter(function(N) {
|
88
|
+
return N[m] !== P;
|
89
89
|
});
|
90
|
-
this.asProps.dataHintsHandler.specifyDataRowFields(
|
91
|
-
var L =
|
92
|
-
return r =
|
90
|
+
this.asProps.dataHintsHandler.specifyDataRowFields(A, m), this.asProps.dataHintsHandler.establishDataType("time-series");
|
91
|
+
var L = l || W(0);
|
92
|
+
return r = k(u), /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(o, r.cn("SLine", {
|
93
93
|
"aria-hidden": !0,
|
94
94
|
clipPath: "url(#".concat(a, ")"),
|
95
95
|
render: "path",
|
96
|
-
hide:
|
97
|
-
color: n(
|
96
|
+
hide: s,
|
97
|
+
color: n(l),
|
98
98
|
transparent: S,
|
99
|
-
d:
|
99
|
+
d: C(D),
|
100
100
|
"use:duration": "".concat(g, "ms"),
|
101
101
|
strokeDasharray: v ? Z(L, v) : void 0
|
102
102
|
})), g && /* @__PURE__ */ f.createElement(Y, r.cn("AnimatedClipPath", {
|
@@ -109,60 +109,60 @@ var rr = (
|
|
109
109
|
height: h[1]
|
110
110
|
})));
|
111
111
|
}
|
112
|
-
}]),
|
112
|
+
}]), i;
|
113
113
|
}(U);
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
var
|
114
|
+
x(q, "displayName", "Line");
|
115
|
+
x(q, "style", rr);
|
116
|
+
x(q, "enhance", [V()]);
|
117
|
+
x(q, "defaultProps", function(e) {
|
118
|
+
var _ = e.x, i = e.y, d = e.$rootProps, r = e.curve, o = r === void 0 ? K : r, t = e.scale, u = t || d.scale, s = $(u, 2), l = s[0], n = s[1];
|
119
119
|
return {
|
120
|
-
d3: B().defined(
|
121
|
-
return
|
120
|
+
d3: B().defined(b(_, i)).curve(o).x(function(a) {
|
121
|
+
return E(l, a[_]);
|
122
122
|
}).y(function(a) {
|
123
|
-
return
|
123
|
+
return E(n, a[i]);
|
124
124
|
}),
|
125
125
|
duration: 500
|
126
126
|
};
|
127
127
|
});
|
128
128
|
function er(e) {
|
129
|
-
var
|
130
|
-
return
|
129
|
+
var _, i = e.Element, d = e.styles, r = e.d3, o = e.data, t = e.hide;
|
130
|
+
return _ = k(d), /* @__PURE__ */ f.createElement(i, _.cn("SNull", {
|
131
131
|
render: "path",
|
132
|
-
d: r(
|
132
|
+
d: r(o),
|
133
133
|
hide: t
|
134
134
|
}));
|
135
135
|
}
|
136
136
|
function tr(e) {
|
137
|
-
var
|
137
|
+
var _ = j(), i = e.Element, d = e.styles, r = e.data, o = e.hide, t = e.duration, u = e.color, s = e.scale, l = e.x, n = e.y0, a = e.y1, h = e.curve, C = h === void 0 ? O : h, g = e.area, A = e.patterns, m = e.autoInterpolate, S = m === void 0 ? !0 : m, v = $(s, 2), D = v[0], L = v[1], N = f.useMemo(function() {
|
138
138
|
if (g) return g;
|
139
139
|
var y = r.reduce(function(c, p) {
|
140
|
-
return p[n] ===
|
140
|
+
return p[n] === P || p[a] === P || (b(n, a)(p) ? c[c.length - 1].push(p) : c[c.length - 1].length > 0 && c.push([])), c;
|
141
141
|
}, [[]]);
|
142
142
|
return S ? [y.flat()] : y;
|
143
143
|
}, [r, n, a, g, S]);
|
144
|
-
return /* @__PURE__ */ f.createElement(f.Fragment, null,
|
145
|
-
var p,
|
146
|
-
return
|
147
|
-
}).y0(function(
|
148
|
-
return L(
|
149
|
-
}).y1(function(
|
150
|
-
return L(
|
144
|
+
return /* @__PURE__ */ f.createElement(f.Fragment, null, N.map(function(y, c) {
|
145
|
+
var p, I = M().curve(C).x(function(w) {
|
146
|
+
return D(w[l]);
|
147
|
+
}).y0(function(w) {
|
148
|
+
return L(w[n]);
|
149
|
+
}).y1(function(w) {
|
150
|
+
return L(w[a]);
|
151
151
|
});
|
152
|
-
return p =
|
152
|
+
return p = k(d), /* @__PURE__ */ f.createElement(i, p.cn("SLineArea", {
|
153
153
|
key: "".concat(y.length, "-").concat(c),
|
154
154
|
"aria-hidden": !0,
|
155
|
-
clipPath: "url(#".concat(
|
155
|
+
clipPath: "url(#".concat(_, ")"),
|
156
156
|
render: "path",
|
157
|
-
hide:
|
158
|
-
color:
|
159
|
-
d:
|
157
|
+
hide: o,
|
158
|
+
color: u,
|
159
|
+
d: I(y),
|
160
160
|
"use:duration": "".concat(t, "ms"),
|
161
|
-
patterns:
|
161
|
+
patterns: A
|
162
162
|
}));
|
163
163
|
}));
|
164
164
|
}
|
165
|
-
const yr = G(
|
165
|
+
const yr = G(q, {
|
166
166
|
Dots: X,
|
167
167
|
Null: er,
|
168
168
|
Area: tr
|