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
@@ -1,13 +1,13 @@
|
|
1
|
-
import
|
1
|
+
import b from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import C from "@babel/runtime/helpers/esm/classCallCheck";
|
3
3
|
import M from "@babel/runtime/helpers/esm/createClass";
|
4
4
|
import D from "@babel/runtime/helpers/esm/inherits";
|
5
5
|
import F from "@babel/runtime/helpers/esm/createSuper";
|
6
|
-
import
|
7
|
-
import
|
6
|
+
import x from "@babel/runtime/helpers/esm/defineProperty";
|
7
|
+
import v from "@babel/runtime/helpers/esm/slicedToArray";
|
8
8
|
import { sstyled as N } from 'intergalactic/utils/lib/core/index';
|
9
9
|
import s from "react";
|
10
|
-
import { sstyled as
|
10
|
+
import { sstyled as u, Component as O } from 'intergalactic/core';
|
11
11
|
import q from 'intergalactic/utils/lib/uniqueID';
|
12
12
|
import P from "./createElement.mjs";
|
13
13
|
import { scaleOfBandwidth as g } from "./utils.mjs";
|
@@ -15,20 +15,20 @@ var R = (
|
|
15
15
|
/*__reshadow_css_start__*/
|
16
16
|
(N.insert(
|
17
17
|
/*__inner_css_start__*/
|
18
|
-
".
|
19
|
-
"
|
18
|
+
".___SReferenceLine_1bc4o_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_1bc4o_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1bc4o)}.___STitle_1bc4o_gg_._position_top_1bc4o_gg_{text-anchor:middle}.___STitle_1bc4o_gg_._position_bottom_1bc4o_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1bc4o_gg_._position_left_1bc4o_gg_,.___STitle_1bc4o_gg_._position_right_1bc4o_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_1bc4o_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_1bc4o_gg_{fill:var(--fill_1bc4o)}.___SStripesPatternPath_1bc4o_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}",
|
19
|
+
"1bc4o_gg_"
|
20
20
|
), {
|
21
|
-
__SReferenceLine: "
|
22
|
-
__STitle: "
|
23
|
-
"--transform-origin": "--transform-
|
24
|
-
_position_top: "
|
25
|
-
_position_bottom: "
|
26
|
-
_position_right: "
|
27
|
-
_position_left: "
|
28
|
-
__SBackground: "
|
29
|
-
__SStripes: "
|
30
|
-
"--fill": "--
|
31
|
-
__SStripesPatternPath: "
|
21
|
+
__SReferenceLine: "___SReferenceLine_1bc4o_gg_",
|
22
|
+
__STitle: "___STitle_1bc4o_gg_",
|
23
|
+
"--transform-origin": "--transform-origin_1bc4o",
|
24
|
+
_position_top: "_position_top_1bc4o_gg_",
|
25
|
+
_position_bottom: "_position_bottom_1bc4o_gg_",
|
26
|
+
_position_right: "_position_right_1bc4o_gg_",
|
27
|
+
_position_left: "_position_left_1bc4o_gg_",
|
28
|
+
__SBackground: "___SBackground_1bc4o_gg_",
|
29
|
+
__SStripes: "___SStripes_1bc4o_gg_",
|
30
|
+
"--fill": "--fill_1bc4o",
|
31
|
+
__SStripesPatternPath: "___SStripesPatternPath_1bc4o_gg_"
|
32
32
|
})
|
33
33
|
), T = {
|
34
34
|
left: "vertical",
|
@@ -36,160 +36,160 @@ var R = (
|
|
36
36
|
top: "horizontal",
|
37
37
|
bottom: "horizontal"
|
38
38
|
}, I = {
|
39
|
-
vertical: function(
|
40
|
-
var t =
|
39
|
+
vertical: function(n, c) {
|
40
|
+
var t = v(n, 2), r = t[0], a = t[1], e = a.range(), o = g(r, c);
|
41
41
|
return {
|
42
|
-
x1:
|
43
|
-
x2:
|
42
|
+
x1: o,
|
43
|
+
x2: o,
|
44
44
|
y1: e[0],
|
45
45
|
y2: e[1]
|
46
46
|
};
|
47
47
|
},
|
48
|
-
horizontal: function(
|
49
|
-
var t =
|
48
|
+
horizontal: function(n, c) {
|
49
|
+
var t = v(n, 2), r = t[0], a = t[1], e = r.range(), o = g(a, c);
|
50
50
|
return {
|
51
51
|
x1: e[0],
|
52
52
|
x2: e[1],
|
53
|
-
y1:
|
54
|
-
y2:
|
53
|
+
y1: o,
|
54
|
+
y2: o
|
55
55
|
};
|
56
56
|
}
|
57
|
-
},
|
58
|
-
vertical: function(
|
59
|
-
var r =
|
57
|
+
}, w = {
|
58
|
+
vertical: function(n, c, t) {
|
59
|
+
var r = v(n, 2), a = r[0], e = r[1], o = e.range(), l = g(a, c), _ = t !== void 0 ? g(a, t) - l : 100;
|
60
60
|
return {
|
61
|
-
x:
|
62
|
-
y:
|
63
|
-
width:
|
64
|
-
height:
|
61
|
+
x: l,
|
62
|
+
y: o[1],
|
63
|
+
width: _,
|
64
|
+
height: o[0] - o[1]
|
65
65
|
};
|
66
66
|
},
|
67
|
-
horizontal: function(
|
68
|
-
var r =
|
67
|
+
horizontal: function(n, c, t) {
|
68
|
+
var r = v(n, 2), a = r[0], e = r[1], o = a.range(), l = g(e, c), _ = t !== void 0 ? g(e, t) - l : 100;
|
69
69
|
return {
|
70
|
-
x:
|
71
|
-
y:
|
72
|
-
width:
|
73
|
-
height:
|
70
|
+
x: o[0],
|
71
|
+
y: l,
|
72
|
+
width: o[1] - o[0],
|
73
|
+
height: _
|
74
74
|
};
|
75
75
|
}
|
76
|
-
},
|
77
|
-
left: function(
|
78
|
-
var t =
|
76
|
+
}, S = 10, U = {
|
77
|
+
left: function(n, c) {
|
78
|
+
var t = v(n, 2), r = t[0], a = t[1], e = a.range(), o = g(r, c);
|
79
79
|
return {
|
80
|
-
x:
|
80
|
+
x: o - S,
|
81
81
|
y: (e[0] + e[1]) / 2
|
82
82
|
};
|
83
83
|
},
|
84
|
-
right: function(
|
85
|
-
var t =
|
84
|
+
right: function(n, c) {
|
85
|
+
var t = v(n, 2), r = t[0], a = t[1], e = a.range(), o = g(r, c);
|
86
86
|
return {
|
87
|
-
x:
|
87
|
+
x: o + S,
|
88
88
|
y: (e[0] + e[1]) / 2
|
89
89
|
};
|
90
90
|
},
|
91
|
-
top: function(
|
92
|
-
var t =
|
91
|
+
top: function(n, c) {
|
92
|
+
var t = v(n, 2), r = t[0], a = t[1], e = r.range(), o = g(a, c);
|
93
93
|
return {
|
94
94
|
x: (e[1] + e[0]) / 2,
|
95
|
-
y:
|
95
|
+
y: o - S
|
96
96
|
};
|
97
97
|
},
|
98
|
-
bottom: function(
|
99
|
-
var t =
|
98
|
+
bottom: function(n, c) {
|
99
|
+
var t = v(n, 2), r = t[0], a = t[1], e = r.range(), o = g(a, c);
|
100
100
|
return {
|
101
101
|
x: (e[1] + e[0]) / 2,
|
102
|
-
y:
|
102
|
+
y: o + S
|
103
103
|
};
|
104
104
|
}
|
105
|
-
},
|
106
|
-
D(
|
107
|
-
var
|
108
|
-
function
|
109
|
-
return C(this,
|
105
|
+
}, h = /* @__PURE__ */ function(i) {
|
106
|
+
D(c, i);
|
107
|
+
var n = F(c);
|
108
|
+
function c() {
|
109
|
+
return C(this, c), n.apply(this, arguments);
|
110
110
|
}
|
111
|
-
return M(
|
111
|
+
return M(c, [{
|
112
112
|
key: "getTitleProps",
|
113
113
|
value: function() {
|
114
|
-
var r = this.asProps,
|
114
|
+
var r = this.asProps, a = r.position, e = r.value;
|
115
115
|
return {
|
116
|
-
position:
|
116
|
+
position: a,
|
117
117
|
value: e
|
118
118
|
};
|
119
119
|
}
|
120
120
|
}, {
|
121
121
|
key: "getBackgroundProps",
|
122
122
|
value: function() {
|
123
|
-
var r = this.asProps,
|
123
|
+
var r = this.asProps, a = r.position, e = r.value;
|
124
124
|
return {
|
125
|
-
position:
|
125
|
+
position: a,
|
126
126
|
value: e
|
127
127
|
};
|
128
128
|
}
|
129
129
|
}, {
|
130
130
|
key: "render",
|
131
131
|
value: function() {
|
132
|
-
var r,
|
133
|
-
return r =
|
132
|
+
var r, a = this.Element, e = this.asProps, o = e.title, l = e.scale, _ = e.position, d = e.value, f = e.color, m = e.resolveColor, z = e.styles, $ = I[T[_]];
|
133
|
+
return r = u(z), /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(a, r.cn("SReferenceLine", b({
|
134
134
|
render: "line",
|
135
135
|
__excludeProps: ["data", "scale", "format", "value", "color"],
|
136
|
-
stroke:
|
137
|
-
}, $(
|
136
|
+
stroke: m(f)
|
137
|
+
}, $(l, d)))), o && /* @__PURE__ */ s.createElement(A.Title, null, o));
|
138
138
|
}
|
139
|
-
}]),
|
139
|
+
}]), c;
|
140
140
|
}(O);
|
141
|
-
|
142
|
-
|
143
|
-
|
141
|
+
x(h, "displayName", "ReferenceLine");
|
142
|
+
x(h, "style", R);
|
143
|
+
x(h, "defaultProps", {
|
144
144
|
position: "left"
|
145
145
|
});
|
146
|
-
function V(
|
147
|
-
var
|
148
|
-
"transform-origin": "".concat(
|
146
|
+
function V(i) {
|
147
|
+
var n, c = i.Element, t = i.styles, r = i.scale, a = i.position, e = i.value, o = U[a](r, e), l = o.x, _ = o.y, d = u(t), f = d.cn("STitle", {
|
148
|
+
"transform-origin": "".concat(l.toFixed(2), "px ").concat(_.toFixed(2), "px")
|
149
149
|
});
|
150
|
-
return
|
150
|
+
return n = u(t), /* @__PURE__ */ s.createElement(c, n.cn("STitle", {
|
151
151
|
render: "text",
|
152
152
|
childrenPosition: "inside",
|
153
|
-
className:
|
154
|
-
style:
|
155
|
-
position:
|
156
|
-
x:
|
157
|
-
y:
|
153
|
+
className: f.className,
|
154
|
+
style: f.style,
|
155
|
+
position: a,
|
156
|
+
x: l,
|
157
|
+
y: _
|
158
158
|
}));
|
159
159
|
}
|
160
|
-
function k(
|
161
|
-
var
|
162
|
-
return
|
160
|
+
function k(i) {
|
161
|
+
var n, c = i.Element, t = i.styles, r = i.scale, a = i.position, e = a === void 0 ? "left" : a, o = i.value, l = i.endValue, _ = w[T[e]];
|
162
|
+
return n = u(t), /* @__PURE__ */ s.createElement(c, n.cn("SBackground", b({
|
163
163
|
render: "rect",
|
164
164
|
childrenPosition: "inside"
|
165
|
-
},
|
165
|
+
}, _(r, o, l))));
|
166
166
|
}
|
167
167
|
k.style = R;
|
168
|
-
var
|
169
|
-
function y(
|
170
|
-
var
|
171
|
-
return
|
168
|
+
var E = 8, p = Math.sqrt(Math.pow(E, 2) + Math.pow(E, 2)), L = p * (1 / 2), B = p * (3 / 2), j = "M-".concat(p, ",-").concat(L, " L").concat(p, ",").concat(B, " M-").concat(L, ",-").concat(p, " L").concat(B, ",").concat(p);
|
169
|
+
function y(i) {
|
170
|
+
var n, c = i.Element, t = i.styles, r = i.scale, a = i.position, e = a === void 0 ? "left" : a, o = i.value, l = i.endValue, _ = i.uid, d = "path", f = w[T[e]], m = "".concat(_, "-pattern");
|
171
|
+
return n = u(t), /* @__PURE__ */ s.createElement("g", n.cn("g", {}), /* @__PURE__ */ s.createElement(c, n.cn("SStripes", b({
|
172
172
|
render: "rect",
|
173
173
|
childrenPosition: "inside",
|
174
|
-
fill: "url(#".concat(
|
175
|
-
},
|
176
|
-
id:
|
174
|
+
fill: "url(#".concat(m, ")")
|
175
|
+
}, f(r, o, l)))), /* @__PURE__ */ s.createElement("pattern", n.cn("pattern", {
|
176
|
+
id: m,
|
177
177
|
patternUnits: "userSpaceOnUse",
|
178
|
-
width:
|
179
|
-
height:
|
180
|
-
}), /* @__PURE__ */ s.createElement(
|
178
|
+
width: p,
|
179
|
+
height: p
|
180
|
+
}), /* @__PURE__ */ s.createElement(d, n.cn("SStripesPatternPath", {
|
181
181
|
d: j
|
182
182
|
}))));
|
183
183
|
}
|
184
184
|
y.style = R;
|
185
185
|
y.enhance = [q()];
|
186
|
-
var A = P(
|
186
|
+
var A = P(h, {
|
187
187
|
Title: V,
|
188
188
|
Background: k,
|
189
189
|
Stripes: y
|
190
|
-
}),
|
190
|
+
}), oe = P(k), ie = P(y);
|
191
191
|
export {
|
192
|
-
|
192
|
+
oe as ReferenceBackground,
|
193
193
|
A as ReferenceLine,
|
194
|
-
|
194
|
+
ie as ReferenceStripes
|
195
195
|
};
|
@@ -1,53 +1,53 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
1
|
+
import H from "@babel/runtime/helpers/esm/objectSpread2";
|
2
|
+
import b from "@babel/runtime/helpers/esm/slicedToArray";
|
3
|
+
import w from "@babel/runtime/helpers/esm/classCallCheck";
|
4
|
+
import z from "@babel/runtime/helpers/esm/createClass";
|
5
|
+
import M from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
|
+
import A from "@babel/runtime/helpers/esm/inherits";
|
7
|
+
import F from "@babel/runtime/helpers/esm/createSuper";
|
8
8
|
import m from "@babel/runtime/helpers/esm/defineProperty";
|
9
|
-
import { sstyled as
|
10
|
-
import { sstyled as
|
11
|
-
import
|
12
|
-
import { transition as
|
13
|
-
import
|
14
|
-
import
|
15
|
-
import
|
9
|
+
import { sstyled as I } from 'intergalactic/utils/lib/core/index';
|
10
|
+
import { sstyled as R, Component as $, assignProps as U } from 'intergalactic/core';
|
11
|
+
import s from "react";
|
12
|
+
import { transition as B } from "d3-transition";
|
13
|
+
import G from 'intergalactic/utils/lib/canUseDOM';
|
14
|
+
import X from 'intergalactic/utils/lib/uniqueID';
|
15
|
+
import Y from "./createElement.mjs";
|
16
16
|
import { getScatterPlotRadius as q } from "./utils.mjs";
|
17
|
-
import
|
17
|
+
import k from "./Tooltip.mjs";
|
18
18
|
import { PatternFill as K } from "./Pattern.mjs";
|
19
19
|
var L = (
|
20
20
|
/*__reshadow_css_start__*/
|
21
|
-
(
|
21
|
+
(I.insert(
|
22
22
|
/*__inner_css_start__*/
|
23
|
-
".
|
24
|
-
"
|
23
|
+
".___SScatterPlot_1pjut_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1pjut);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1pjut_gg_:hover{opacity:.8}}.___SScatterPlot_1pjut_gg_.__color_1pjut_gg_{fill:var(--color_1pjut)}.___SScatterPlot_1pjut_gg_.__pattern_1pjut_gg_.__color_1pjut_gg_{fill:var(--pattern_1pjut);stroke:var(--color_1pjut);stroke-width:1px}.___SScatterPlot_1pjut_gg_.__transparent_1pjut_gg_{opacity:.3}.___SValue_1pjut_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1pjut_gg_.__color_1pjut_gg_{stroke:var(--color_1pjut)}.___SValue_1pjut_gg_.__transparent_1pjut_gg_{opacity:.3}",
|
24
|
+
"1pjut_gg_"
|
25
25
|
), {
|
26
|
-
__SScatterPlot: "
|
27
|
-
_color: "
|
28
|
-
"--color": "--
|
29
|
-
_pattern: "
|
30
|
-
"--pattern": "--
|
31
|
-
_transparent: "
|
32
|
-
__SValue: "
|
33
|
-
"--duration": "--
|
26
|
+
__SScatterPlot: "___SScatterPlot_1pjut_gg_",
|
27
|
+
_color: "__color_1pjut_gg_",
|
28
|
+
"--color": "--color_1pjut",
|
29
|
+
_pattern: "__pattern_1pjut_gg_",
|
30
|
+
"--pattern": "--pattern_1pjut",
|
31
|
+
_transparent: "__transparent_1pjut_gg_",
|
32
|
+
__SValue: "___SValue_1pjut_gg_",
|
33
|
+
"--duration": "--duration_1pjut"
|
34
34
|
})
|
35
|
-
), v = /* @__PURE__ */ function(
|
36
|
-
|
37
|
-
var f =
|
38
|
-
function
|
35
|
+
), v = /* @__PURE__ */ function(j) {
|
36
|
+
A(p, j);
|
37
|
+
var f = F(p);
|
38
|
+
function p() {
|
39
39
|
var a;
|
40
|
-
|
40
|
+
w(this, p);
|
41
41
|
for (var t = arguments.length, r = new Array(t), o = 0; o < t; o++)
|
42
42
|
r[o] = arguments[o];
|
43
|
-
return a = f.call.apply(f, [this].concat(r)), m(
|
43
|
+
return a = f.call.apply(f, [this].concat(r)), m(M(a), "virtualElement", G() ? document.createElement("div") : {}), m(M(a), "bindHandlerTooltip", function(e, c, u) {
|
44
44
|
return function(i) {
|
45
|
-
var l = i.clientX,
|
46
|
-
n.emit("setTooltipPosition", l,
|
45
|
+
var l = i.clientX, _ = i.clientY, n = a.asProps.eventEmitter;
|
46
|
+
n.emit("setTooltipPosition", l, _), n.emit("setTooltipRenderingProps", c, u), n.emit("setTooltipVisible", e);
|
47
47
|
};
|
48
48
|
}), a;
|
49
49
|
}
|
50
|
-
return
|
50
|
+
return z(p, [{
|
51
51
|
key: "generateGetBoundingClientRect",
|
52
52
|
value: function() {
|
53
53
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
@@ -65,7 +65,7 @@ var L = (
|
|
65
65
|
}, {
|
66
66
|
key: "animationCircle",
|
67
67
|
value: function() {
|
68
|
-
var t = this.asProps, r = t.duration, o = t.uid, e = t.r, c = t.value, u = e || q(c), i =
|
68
|
+
var t = this.asProps, r = t.duration, o = t.uid, e = t.r, c = t.value, u = e || q(c), i = B().selection().selectAll("[id^=".concat(o, "]")).attr("r", 0), l = i.node();
|
69
69
|
r > 0 && l && i.transition().duration(r).attr("r", u);
|
70
70
|
}
|
71
71
|
}, {
|
@@ -81,8 +81,8 @@ var L = (
|
|
81
81
|
}, {
|
82
82
|
key: "renderCircle",
|
83
83
|
value: function(t, r) {
|
84
|
-
var o, e = this.asProps, c = e.color, u = e.scale, i = e.x, l = e.y,
|
85
|
-
return Number.isNaN(t[i]) || Number.isNaN(t[l]) ? null : (o =
|
84
|
+
var o, e = this.asProps, c = e.color, u = e.scale, i = e.x, l = e.y, _ = e.r, n = e.offset, S = e.styles, d = e.uid, y = e.duration, h = e.value, D = e.valueColor, x = e.transparent, P = e.resolveColor, g = e.patterns, C = b(u, 2), E = C[0], T = C[1], N = this.Element, V = "text";
|
85
|
+
return Number.isNaN(t[i]) || Number.isNaN(t[l]) ? null : (o = R(S), /* @__PURE__ */ s.createElement("g", o.cn("g", {
|
86
86
|
"aria-hidden": !0,
|
87
87
|
key: "circle(#".concat(r, ")"),
|
88
88
|
onMouseMove: this.bindHandlerTooltip(!0, this.props, {
|
@@ -95,63 +95,63 @@ var L = (
|
|
95
95
|
index: r,
|
96
96
|
patterns: g
|
97
97
|
})
|
98
|
-
}), /* @__PURE__ */
|
98
|
+
}), /* @__PURE__ */ s.createElement(N, o.cn("SScatterPlot", {
|
99
99
|
"aria-hidden": !0,
|
100
100
|
id: "".concat(d).concat(r),
|
101
101
|
index: r,
|
102
102
|
render: "circle",
|
103
103
|
clipPath: "url(#".concat(d, ")"),
|
104
|
-
cx:
|
105
|
-
cy:
|
104
|
+
cx: E(t[i]) + n[0],
|
105
|
+
cy: T(t[l]) + n[1],
|
106
106
|
color: P(c),
|
107
107
|
pattern: g ? "url(#".concat(d, "-").concat(r, "-pattern)") : void 0,
|
108
|
-
r:
|
108
|
+
r: _,
|
109
109
|
"use:duration": "".concat(y, "ms"),
|
110
|
-
transparent:
|
111
|
-
})), g && /* @__PURE__ */
|
110
|
+
transparent: x
|
111
|
+
})), g && /* @__PURE__ */ s.createElement(K, o.cn("PatternFill", {
|
112
112
|
id: "".concat(d, "-").concat(r, "-pattern"),
|
113
113
|
patternKey: c,
|
114
114
|
color: P(c),
|
115
115
|
patterns: g
|
116
|
-
})), t[h] !== void 0 && /* @__PURE__ */
|
116
|
+
})), t[h] !== void 0 && /* @__PURE__ */ s.createElement(V, o.cn("SValue", {
|
117
117
|
"aria-hidden": !0,
|
118
|
-
x:
|
119
|
-
y:
|
118
|
+
x: E(t[i]) + n[0],
|
119
|
+
y: T(t[l]) + n[1],
|
120
120
|
dy: ".3em",
|
121
121
|
clipPath: "url(#".concat(d, ")"),
|
122
|
-
color: P(
|
123
|
-
transparent:
|
122
|
+
color: P(D),
|
123
|
+
transparent: x
|
124
124
|
}), t[h])));
|
125
125
|
}
|
126
126
|
}, {
|
127
127
|
key: "render",
|
128
128
|
value: function() {
|
129
|
-
var t = this.asProps, r = t.data, o = t.uid, e = t.scale, c = t.x, u = t.y, i = t.value, l =
|
130
|
-
return this.asProps.dataHintsHandler.specifyDataRowFields(c, u, i), this.asProps.dataHintsHandler.establishDataType("points-cloud"), /* @__PURE__ */
|
129
|
+
var t = this.asProps, r = t.data, o = t.uid, e = t.scale, c = t.x, u = t.y, i = t.value, l = b(e, 2), _ = l[0], n = l[1], S = Math.abs(_.range()[0] - _.range()[1]), d = Math.abs(n.range()[0] - n.range()[1]), y = Math.min(_.range()[0], _.range()[1]), h = Math.min(n.range()[0], n.range()[1]);
|
130
|
+
return this.asProps.dataHintsHandler.specifyDataRowFields(c, u, i), this.asProps.dataHintsHandler.establishDataType("points-cloud"), /* @__PURE__ */ s.createElement(s.Fragment, null, r.map(this.renderCircle.bind(this)), /* @__PURE__ */ s.createElement("clipPath", {
|
131
131
|
id: o
|
132
|
-
}, /* @__PURE__ */
|
132
|
+
}, /* @__PURE__ */ s.createElement("rect", {
|
133
133
|
x: y,
|
134
134
|
y: h,
|
135
135
|
width: "".concat(S, "px"),
|
136
136
|
height: "".concat(d, "px")
|
137
137
|
})));
|
138
138
|
}
|
139
|
-
}]),
|
140
|
-
}(
|
139
|
+
}]), p;
|
140
|
+
}($);
|
141
141
|
m(v, "displayName", "ScatterPlot");
|
142
142
|
m(v, "style", L);
|
143
|
-
m(v, "enhance", [
|
143
|
+
m(v, "enhance", [X()]);
|
144
144
|
m(v, "defaultProps", {
|
145
145
|
offset: [0, 0],
|
146
146
|
duration: 500
|
147
147
|
});
|
148
148
|
var O = function(f) {
|
149
|
-
var
|
150
|
-
return a =
|
149
|
+
var p = arguments[0], a, t = k;
|
150
|
+
return a = R(f.styles), /* @__PURE__ */ s.createElement(t, a.cn("SScatterPlotTooltip", H({}, U({
|
151
151
|
excludeAnchorProps: !0
|
152
|
-
},
|
153
|
-
}, mt =
|
154
|
-
Tooltip: [O,
|
152
|
+
}, p))));
|
153
|
+
}, mt = Y(v, {
|
154
|
+
Tooltip: [O, k._______childrenComponents]
|
155
155
|
});
|
156
156
|
export {
|
157
157
|
mt as default
|
@@ -10,7 +10,7 @@ import { sstyled as z } from 'intergalactic/utils/lib/core/index';
|
|
10
10
|
import { assignProps as C, Component as U, sstyled as b } from 'intergalactic/core';
|
11
11
|
import a from "react";
|
12
12
|
import T from 'intergalactic/popper';
|
13
|
-
import { Box as
|
13
|
+
import { Box as f } from 'intergalactic/flex-box';
|
14
14
|
import W from 'intergalactic/utils/lib/findComponent';
|
15
15
|
import j from "./createElement.mjs";
|
16
16
|
import { getChartDefaultColorName as B } from "./utils.mjs";
|
@@ -20,19 +20,19 @@ var O = ["Children", "children", "tag", "forcedAdvancedMode", "onClick"], h = (
|
|
20
20
|
/*__reshadow_css_start__*/
|
21
21
|
(z.insert(
|
22
22
|
/*__inner_css_start__*/
|
23
|
-
".
|
24
|
-
"
|
23
|
+
".___STooltip_pf6w6_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_pf6w6_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_pf6w6_gg_{display:flex;align-items:center}.___SDot_pf6w6_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_pf6w6_gg_.__color_pf6w6_gg_{background-color:var(--color_pf6w6);width:8px;height:8px;border-radius:50%}.___SFooter_pf6w6_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}",
|
24
|
+
"pf6w6_gg_"
|
25
25
|
), {
|
26
|
-
__STooltip: "
|
27
|
-
__STitle: "
|
28
|
-
__SDotGroup: "
|
29
|
-
__SDot: "
|
30
|
-
__SDotCircle: "
|
31
|
-
_color: "
|
32
|
-
"--color": "--
|
33
|
-
__SFooter: "
|
26
|
+
__STooltip: "___STooltip_pf6w6_gg_",
|
27
|
+
__STitle: "___STitle_pf6w6_gg_",
|
28
|
+
__SDotGroup: "___SDotGroup_pf6w6_gg_",
|
29
|
+
__SDot: "___SDot_pf6w6_gg_",
|
30
|
+
__SDotCircle: "___SDotCircle_pf6w6_gg_",
|
31
|
+
_color: "__color_pf6w6_gg_",
|
32
|
+
"--color": "--color_pf6w6",
|
33
|
+
__SFooter: "___SFooter_pf6w6_gg_"
|
34
34
|
})
|
35
|
-
),
|
35
|
+
), w = /* @__PURE__ */ a.createContext({
|
36
36
|
index: -1,
|
37
37
|
indexKeysCache: /* @__PURE__ */ new Set()
|
38
38
|
}), E = /* @__PURE__ */ function(l) {
|
@@ -121,8 +121,8 @@ var O = ["Children", "children", "tag", "forcedAdvancedMode", "onClick"], h = (
|
|
121
121
|
value: function() {
|
122
122
|
var e = this.asProps, r, o = this, n = this.asProps, s = n.Children, p = n.children, d = n.tag, u = n.forcedAdvancedMode;
|
123
123
|
n.onClick;
|
124
|
-
var m = A(n, O),
|
125
|
-
return this.renderContext.index = -1, this.renderContext.indexKeysCache.clear(), this.renderContext.patterns = (r = this.asProps.patterns) !== null && r !== void 0 ? r : this.state.tooltipProps.patterns, /* @__PURE__ */ a.createElement(
|
124
|
+
var m = A(n, O), x = u || !!W(s, [y.Trigger.displayName, y.Popper.displayName]);
|
125
|
+
return this.renderContext.index = -1, this.renderContext.indexKeysCache.clear(), this.renderContext.patterns = (r = this.asProps.patterns) !== null && r !== void 0 ? r : this.state.tooltipProps.patterns, /* @__PURE__ */ a.createElement(w.Provider, {
|
126
126
|
value: this.renderContext
|
127
127
|
}, /* @__PURE__ */ a.createElement(T, C({
|
128
128
|
visible: this.state.$visible,
|
@@ -134,19 +134,19 @@ var O = ["Children", "children", "tag", "forcedAdvancedMode", "onClick"], h = (
|
|
134
134
|
flip: {
|
135
135
|
allowedAutoPlacements: ["left", "right"]
|
136
136
|
}
|
137
|
-
}, e), function(
|
138
|
-
var S, M =
|
139
|
-
return o.setPopperTrigger = R, o.popper = M, (S = o.popper.current) === null || S === void 0 || S.update(),
|
137
|
+
}, e), function(P) {
|
138
|
+
var S, M = P.popper, R = P.setTrigger;
|
139
|
+
return o.setPopperTrigger = R, o.popper = M, (S = o.popper.current) === null || S === void 0 || S.update(), x ? /* @__PURE__ */ a.createElement(s, null) : /* @__PURE__ */ a.createElement(a.Fragment, null, d && /* @__PURE__ */ a.createElement(y.Trigger, {
|
140
140
|
tag: d,
|
141
141
|
onClick: o.handleTriggerClick
|
142
|
-
}), /* @__PURE__ */ a.createElement(
|
142
|
+
}), /* @__PURE__ */ a.createElement(y.Popper, m, p));
|
143
143
|
}));
|
144
144
|
}
|
145
145
|
}]), i;
|
146
146
|
}(U);
|
147
147
|
g(E, "displayName", "Tooltip");
|
148
148
|
g(E, "style", h);
|
149
|
-
function
|
149
|
+
function $(l) {
|
150
150
|
var c, i = l.Element, t = l.styles, e = l.$visible, r = l.x, o = l.y, n = a.useCallback(function() {
|
151
151
|
return !1;
|
152
152
|
}, []);
|
@@ -158,42 +158,42 @@ function D(l) {
|
|
158
158
|
y: o
|
159
159
|
}))) : null;
|
160
160
|
}
|
161
|
-
|
162
|
-
function
|
163
|
-
var c = arguments[0], i, t =
|
161
|
+
$.style = h;
|
162
|
+
function D(l) {
|
163
|
+
var c = arguments[0], i, t = f, e = l.styles;
|
164
164
|
return i = b(e), /* @__PURE__ */ a.createElement(t, i.cn("STitle", v({}, C({
|
165
165
|
__excludeProps: ["data", "scale"]
|
166
166
|
}, c))));
|
167
167
|
}
|
168
|
-
|
169
|
-
function
|
170
|
-
var c = arguments[0], i, t, e = l.styles, r = l.color, o = l.Children, n = H(), s = a.useContext(
|
168
|
+
D.style = h;
|
169
|
+
function k(l) {
|
170
|
+
var c = arguments[0], i, t, e = l.styles, r = l.color, o = l.Children, n = H(), s = a.useContext(w), p = B(s.index), d = (t = l.patterns) !== null && t !== void 0 ? t : s.patterns, u = o;
|
171
171
|
s.indexKeysCache.has(u) || (s.indexKeysCache.add(u), s.index += 1);
|
172
|
-
var m =
|
172
|
+
var m = f, x = f, P = f;
|
173
173
|
return i = b(e), /* @__PURE__ */ a.createElement(m, i.cn("SDotGroup", v({}, C({
|
174
174
|
__excludeProps: ["data", "scale"]
|
175
|
-
}, c))), d ? /* @__PURE__ */ a.createElement(
|
175
|
+
}, c))), d ? /* @__PURE__ */ a.createElement(x, i.cn("SDot", {}), /* @__PURE__ */ a.createElement(L, i.cn("PatternSymbol", {
|
176
176
|
color: n(r ?? p),
|
177
177
|
patternKey: r ?? p
|
178
|
-
}))) : /* @__PURE__ */ a.createElement(
|
178
|
+
}))) : /* @__PURE__ */ a.createElement(x, i.cn("SDot", {}), /* @__PURE__ */ a.createElement(P, i.cn("SDotCircle", {
|
179
179
|
color: n(r ?? p)
|
180
180
|
}))), /* @__PURE__ */ a.createElement(o, i.cn("Children", {})));
|
181
181
|
}
|
182
|
-
|
182
|
+
k.style = h;
|
183
183
|
function F(l) {
|
184
|
-
var c = arguments[0], i, t = l.styles, e =
|
184
|
+
var c = arguments[0], i, t = l.styles, e = f;
|
185
185
|
return i = b(t), /* @__PURE__ */ a.createElement(e, i.cn("SFooter", v({}, C({
|
186
186
|
__excludeProps: ["data", "scale"]
|
187
187
|
}, c))));
|
188
188
|
}
|
189
189
|
F.style = h;
|
190
|
-
var
|
190
|
+
var y = j(E, {
|
191
191
|
Trigger: T.Trigger,
|
192
|
-
Popper:
|
193
|
-
Title:
|
192
|
+
Popper: $,
|
193
|
+
Title: D,
|
194
194
|
Footer: F,
|
195
|
-
Dot:
|
195
|
+
Dot: k
|
196
196
|
});
|
197
197
|
export {
|
198
|
-
|
198
|
+
y as default
|
199
199
|
};
|