intergalactic 15.128.0-prerelease.0 → 15.128.0-prerelease.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +85 -85
- package/accordion/package.json +1 -1
- package/add-filter/package.json +1 -1
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/animation/lib/esm/Animation.mjs +57 -57
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +35 -35
- package/animation/lib/esm/Scale.mjs +45 -45
- package/animation/lib/esm/Slide.mjs +34 -34
- package/animation/lib/esm/Transform.mjs +42 -42
- package/animation/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/badge/lib/esm/Badge.mjs +19 -19
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +7 -7
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/lib/esm/BaseTrigger.mjs +51 -51
- package/base-trigger/lib/esm/ButtonTrigger.mjs +19 -19
- package/base-trigger/lib/esm/FilterTrigger.mjs +67 -67
- package/base-trigger/lib/esm/LinkTrigger.mjs +45 -45
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/esm/Breadcrumbs.mjs +46 -46
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +28 -28
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +28 -28
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +56 -56
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +54 -54
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/lib/esm/Card.mjs +31 -31
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/lib/esm/Carousel.mjs +132 -132
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/checkbox/lib/esm/Checkbox.mjs +88 -88
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/esm/ColorPicker.mjs +96 -96
- package/color-picker/lib/esm/PaletteManager.mjs +61 -61
- package/color-picker/lib/esm/components/InputColor.mjs +86 -86
- package/color-picker/package.json +1 -1
- package/components.json +68 -68
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/lib/esm/Counter.mjs +21 -21
- package/counter/package.json +1 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +16 -16
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Donut.js +9 -9
- package/d3-chart/lib/cjs/Dots.js +8 -8
- package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Hover.js +3 -3
- package/d3-chart/lib/cjs/Line.js +9 -9
- package/d3-chart/lib/cjs/Plot.js +3 -3
- package/d3-chart/lib/cjs/Radar.js +19 -19
- package/d3-chart/lib/cjs/RadialTree.js +12 -12
- package/d3-chart/lib/cjs/Reference.js +12 -12
- package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
- package/d3-chart/lib/cjs/Tooltip.js +9 -9
- package/d3-chart/lib/cjs/Venn.js +9 -9
- package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/Area.js +11 -11
- package/d3-chart/lib/es6/Axis.js +14 -14
- package/d3-chart/lib/es6/Bar.js +16 -16
- package/d3-chart/lib/es6/Bubble.js +12 -12
- package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Donut.js +9 -9
- package/d3-chart/lib/es6/Dots.js +8 -8
- package/d3-chart/lib/es6/HorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Hover.js +3 -3
- package/d3-chart/lib/es6/Line.js +9 -9
- package/d3-chart/lib/es6/Plot.js +3 -3
- package/d3-chart/lib/es6/Radar.js +19 -19
- package/d3-chart/lib/es6/RadialTree.js +12 -12
- package/d3-chart/lib/es6/Reference.js +12 -12
- package/d3-chart/lib/es6/ScatterPlot.js +9 -9
- package/d3-chart/lib/es6/Tooltip.js +9 -9
- package/d3-chart/lib/es6/Venn.js +9 -9
- package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +72 -72
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +169 -169
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +63 -63
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +104 -104
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +75 -75
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +127 -127
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +46 -46
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +55 -55
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +37 -37
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +80 -80
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +18 -18
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +206 -206
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +102 -102
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +95 -95
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +32 -32
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +49 -49
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +69 -69
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +31 -31
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +39 -39
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +27 -27
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +34 -34
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +3 -3
- package/data-table/lib/cjs/DataTable.js +36 -36
- package/data-table/lib/es6/Body.js +3 -3
- package/data-table/lib/es6/DataTable.js +36 -36
- package/data-table/lib/esm/Body.mjs +66 -66
- package/data-table/lib/esm/DataTable.mjs +237 -237
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/esm/components/Calendar.mjs +134 -134
- package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +114 -114
- package/date-picker/lib/esm/components/InputTrigger.mjs +150 -150
- package/date-picker/lib/esm/components/PickerAbstract.mjs +58 -58
- package/date-picker/lib/esm/components/RangePickerAbstract.mjs +46 -46
- package/date-picker/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/lib/esm/Divider.mjs +37 -37
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/lib/esm/Dot.mjs +37 -37
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/esm/DragAndDrop.mjs +186 -186
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/esm/Dropdown.mjs +84 -84
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/esm/DropdownMenu.mjs +138 -138
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/ellipsis/lib/esm/Ellipsis.mjs +73 -73
- package/ellipsis/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/lib/esm/Error.mjs +35 -35
- package/errors/package.json +1 -1
- package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
- package/feature-popover/lib/es6/FeaturePopover.js +11 -11
- package/feature-popover/lib/esm/FeaturePopover.mjs +58 -58
- package/feature-popover/package.json +1 -1
- package/feedback-form/package.json +1 -1
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flags/package.json +1 -1
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/esm/Box/useBox.mjs +50 -50
- package/flex-box/lib/esm/Flex/useFlex.mjs +15 -15
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +10 -10
- package/flex-box/package.json +1 -1
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/esm/FullscreenModal.mjs +73 -73
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/lib/esm/Grid.mjs +160 -160
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MetaColored/l/index.js +4 -4
- package/icon/color/MetaColored/l/index.mjs +4 -4
- package/icon/color/MetaColored/m/index.js +4 -4
- package/icon/color/MetaColored/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/lib/esm/Icon.mjs +32 -32
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-edit/lib/esm/InlineEdit.mjs +38 -38
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/cjs/InlineInput.js +14 -14
- package/inline-input/lib/es6/InlineInput.js +14 -14
- package/inline-input/lib/esm/InlineInput.mjs +125 -125
- package/inline-input/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input/lib/esm/Input.mjs +91 -91
- package/input/package.json +1 -1
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-mask/lib/esm/InputMask.mjs +70 -70
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-number/lib/esm/InputNumber.mjs +126 -126
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/lib/esm/InputTags.mjs +112 -112
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/lib/esm/Link.mjs +54 -54
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +18 -18
- package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
- package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
- package/mini-chart/lib/es6/component/score/Donut.js +9 -9
- package/mini-chart/lib/es6/component/score/Line.js +18 -18
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/mini-chart/lib/esm/component/score/Donut.mjs +38 -38
- package/mini-chart/lib/esm/component/score/Line.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Bar.mjs +31 -31
- package/mini-chart/lib/esm/component/trend/Line.mjs +32 -32
- package/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +96 -96
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +70 -70
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
- package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
- package/notice-bubble/lib/esm/NoticeBubble.mjs +115 -115
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/notice-global/lib/esm/NoticeGlobal.mjs +51 -51
- package/notice-global/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +12 -12
- package/pagination/lib/es6/Pagination.js +12 -12
- package/pagination/lib/esm/Pagination.mjs +69 -69
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/lib/esm/Pills.mjs +74 -74
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/esm/Popper.mjs +79 -79
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/product-head/lib/esm/Info.mjs +26 -26
- package/product-head/lib/esm/ProductHead.mjs +37 -37
- package/product-head/lib/esm/Title.mjs +17 -17
- package/product-head/package.json +1 -1
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/progress-bar/lib/esm/ProgressBar.mjs +60 -60
- package/progress-bar/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/lib/esm/Radio.mjs +113 -113
- package/radio/package.json +1 -1
- package/scroll-area/lib/cjs/ScrollArea.js +21 -21
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/ScrollArea.js +21 -21
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/lib/esm/ScrollArea.mjs +98 -98
- package/scroll-area/lib/esm/ScrollBar.mjs +40 -40
- package/scroll-area/package.json +1 -1
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +56 -56
- package/side-panel/package.json +1 -1
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/skeleton/lib/esm/Charts/Area.mjs +27 -27
- package/skeleton/lib/esm/Charts/Bar.mjs +23 -23
- package/skeleton/lib/esm/Charts/Bubble.mjs +24 -24
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +22 -22
- package/skeleton/lib/esm/Charts/Donut.mjs +24 -24
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +25 -25
- package/skeleton/lib/esm/Charts/RadialTree.mjs +10 -10
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +19 -19
- package/skeleton/lib/esm/Charts/Venn.mjs +24 -24
- package/skeleton/lib/esm/Skeleton.mjs +44 -44
- package/skeleton/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/lib/esm/Slider.mjs +78 -78
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin/lib/esm/Spin.mjs +41 -41
- package/spin/package.json +1 -1
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/spin-container/lib/esm/SpinContainer.mjs +43 -43
- package/spin-container/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/lib/esm/Sticky.mjs +18 -18
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/lib/esm/Switch.mjs +104 -104
- package/switch/package.json +1 -1
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-line/lib/esm/TabLine.mjs +76 -76
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tab-panel/lib/esm/TabPanel.mjs +39 -39
- package/tab-panel/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/lib/esm/Tag.mjs +114 -114
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/textarea/lib/esm/Textarea.mjs +49 -49
- package/textarea/package.json +1 -1
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +113 -113
- package/tooltip/package.json +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/typography/lib/esm/Blockquote.mjs +15 -15
- package/typography/lib/esm/Hint.mjs +41 -41
- package/typography/lib/esm/List.mjs +48 -48
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/package.json +1 -1
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/lib/esm/WidgetEmpty.mjs +19 -19
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +94 -94
- package/wizard/package.json +1 -1
@@ -3,61 +3,61 @@ import Z from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
3
|
import aa from "@babel/runtime/helpers/esm/createClass";
|
4
4
|
import ta from "@babel/runtime/helpers/esm/inherits";
|
5
5
|
import ra from "@babel/runtime/helpers/esm/createSuper";
|
6
|
-
import
|
6
|
+
import x from "@babel/runtime/helpers/esm/defineProperty";
|
7
7
|
import { sstyled as ea } from 'intergalactic/utils/lib/core/index';
|
8
|
-
import
|
8
|
+
import g from "react";
|
9
9
|
import { transition as na } from "d3-transition";
|
10
10
|
import { sstyled as j, Component as _a } from 'intergalactic/core';
|
11
11
|
import ia from 'intergalactic/utils/lib/uniqueID';
|
12
12
|
import oa from "./createElement.mjs";
|
13
|
-
import
|
13
|
+
import la from "./AnimatedClipPath.mjs";
|
14
14
|
import { scaleToBand as I, roundedPath as H } from "./utils.mjs";
|
15
|
-
import { PatternFill as
|
16
|
-
var
|
15
|
+
import { PatternFill as ca } from "./Pattern.mjs";
|
16
|
+
var sa = (
|
17
17
|
/*__reshadow_css_start__*/
|
18
18
|
(ea.insert(
|
19
19
|
/*__inner_css_start__*/
|
20
|
-
".
|
21
|
-
"
|
20
|
+
".___SBar_67lkx_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_67lkx);transition-timing-function:ease-in-out}.___SBar_67lkx_gg_.__color_67lkx_gg_{fill:var(--color_67lkx)}.___SBar_67lkx_gg_.__pattern_67lkx_gg_.__color_67lkx_gg_{fill:var(--pattern_67lkx);stroke:var(--color_67lkx);stroke-width:1px}.___SBar_67lkx_gg_.__hide_67lkx_gg_{display:none}.___SBar_67lkx_gg_.__transparent_67lkx_gg_{opacity:.3}.___SBackground_67lkx_gg_.__onClick_67lkx_gg_,.___SBar_67lkx_gg_.__onClick_67lkx_gg_{cursor:pointer}.___SBackground_67lkx_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_67lkx_gg_{display:flex;justify-content:space-between}.___SBarLabel_67lkx_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_67lkx_gg_,.___SBarPercent_67lkx_gg_,.___SBarValue_67lkx_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_67lkx_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_67lkx_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_67lkx_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
21
|
+
"67lkx_gg_"
|
22
22
|
), {
|
23
|
-
__SBar: "
|
24
|
-
"--duration": "--
|
25
|
-
_color: "
|
26
|
-
"--color": "--
|
27
|
-
_pattern: "
|
28
|
-
"--pattern": "--
|
29
|
-
_hide: "
|
30
|
-
_transparent: "
|
31
|
-
_onClick: "
|
32
|
-
__SBackground: "
|
33
|
-
__SBarAnnotation: "
|
34
|
-
__SBarLabel: "
|
35
|
-
__SBarPercent: "
|
36
|
-
__SBarValue: "
|
37
|
-
__SCompactHorizontalBarHoverRect: "
|
23
|
+
__SBar: "___SBar_67lkx_gg_",
|
24
|
+
"--duration": "--duration_67lkx",
|
25
|
+
_color: "__color_67lkx_gg_",
|
26
|
+
"--color": "--color_67lkx",
|
27
|
+
_pattern: "__pattern_67lkx_gg_",
|
28
|
+
"--pattern": "--pattern_67lkx",
|
29
|
+
_hide: "__hide_67lkx_gg_",
|
30
|
+
_transparent: "__transparent_67lkx_gg_",
|
31
|
+
_onClick: "__onClick_67lkx_gg_",
|
32
|
+
__SBackground: "___SBackground_67lkx_gg_",
|
33
|
+
__SBarAnnotation: "___SBarAnnotation_67lkx_gg_",
|
34
|
+
__SBarLabel: "___SBarLabel_67lkx_gg_",
|
35
|
+
__SBarPercent: "___SBarPercent_67lkx_gg_",
|
36
|
+
__SBarValue: "___SBarValue_67lkx_gg_",
|
37
|
+
__SCompactHorizontalBarHoverRect: "___SCompactHorizontalBarHoverRect_67lkx_gg_"
|
38
38
|
})
|
39
|
-
),
|
40
|
-
return
|
41
|
-
},
|
39
|
+
), ga = 2, da = function(c, n, o) {
|
40
|
+
return c <= 0 ? Object.is(c, 0) ? n : 0 : o <= n ? n : 0;
|
41
|
+
}, h = /* @__PURE__ */ function(_) {
|
42
42
|
ta(n, _);
|
43
|
-
var
|
43
|
+
var c = ra(n);
|
44
44
|
function n() {
|
45
|
-
return Z(this, n),
|
45
|
+
return Z(this, n), c.apply(this, arguments);
|
46
46
|
}
|
47
47
|
return aa(n, [{
|
48
48
|
key: "getBackgroundProps",
|
49
49
|
value: function(a, t) {
|
50
|
-
var e = this.asProps, i = e.x,
|
50
|
+
var e = this.asProps, i = e.x, l = e.data;
|
51
51
|
return {
|
52
|
-
value:
|
52
|
+
value: l[t][i],
|
53
53
|
index: t
|
54
54
|
};
|
55
55
|
}
|
56
56
|
}, {
|
57
57
|
key: "animationBar",
|
58
58
|
value: function() {
|
59
|
-
var a = this.asProps, t = a.duration, e = a.uid, i = na().selection().selectAll("#".concat(e, " rect")),
|
60
|
-
t > 0 &&
|
59
|
+
var a = this.asProps, t = a.duration, e = a.uid, i = na().selection().selectAll("#".concat(e, " rect")), l = i.node();
|
60
|
+
t > 0 && l && l.getAttribute("y") !== "0" && i.transition().duration(t).attr("y", 0);
|
61
61
|
}
|
62
62
|
}, {
|
63
63
|
key: "componentDidUpdate",
|
@@ -72,39 +72,39 @@ var la = (
|
|
72
72
|
}, {
|
73
73
|
key: "renderBar",
|
74
74
|
value: function(a, t) {
|
75
|
-
var e, i,
|
76
|
-
return P == null ? void 0 : P(a, Q, t,
|
77
|
-
}, J =
|
75
|
+
var e, i, l, d, L = this.Element, r = this.asProps, K = r.styles, k = r.color, M = r.resolveColor, v = r.x, s = r.y, f = r.y0, T = r.scale, Y = r.hide, y = r.offset, G = r.duration, B = r.uid, S = r.r, b = r.hMin, O = r.width, u = r.groupKey, P = r.onClick, U = r.transparent, R = r.maxBarSize, q = R === void 0 ? 1 / 0 : R, C = r.patterns, w = r.dataHintsHandler, $ = typeof y == "function" ? y(t) : y, A = N(T, 2), z = A[0], p = A[1], W = Math.abs(p(a[s]) - Math.min(p(p.domain()[0]), p((i = a[f]) !== null && i !== void 0 ? i : 0))), m = Number(a[s] - ((l = a[f]) !== null && l !== void 0 ? l : 0)) === 0 ? 0 : Math.max(W, b), D = O || I(z).bandwidth(), E = Math.min(D, q), V = z(a[v]) + D / 2 - E / 2 + $[0], F = p(Math.max((d = a[f]) !== null && d !== void 0 ? d : 0, m <= b && a[s] > 0 ? 0 : a[s])) + $[1] - da(a[s], b, m), X = function(Q) {
|
76
|
+
return P == null ? void 0 : P(a, Q, t, s);
|
77
|
+
}, J = pa({
|
78
78
|
x: V,
|
79
79
|
y: F,
|
80
80
|
width: E,
|
81
|
-
height:
|
82
|
-
radius: Array.isArray(
|
83
|
-
position: a[
|
81
|
+
height: m,
|
82
|
+
radius: Array.isArray(S) ? S[t] : S,
|
83
|
+
position: a[s] > 0 || Object.is(a[s], 0) ? "top" : "bottom"
|
84
84
|
});
|
85
|
-
return
|
85
|
+
return u ? w.describeGroupedValues(u, s) : (w.describeValueEntity("".concat(t, ".").concat(s), u ?? a[v]), w.specifyDataRowFields(v, s)), /* @__PURE__ */ g.createElement(g.Fragment, {
|
86
86
|
key: "bar-".concat(t)
|
87
|
-
}, (e = j(K), /* @__PURE__ */
|
87
|
+
}, (e = j(K), /* @__PURE__ */ g.createElement(L, e.cn("SBar", {
|
88
88
|
"aria-hidden": !0,
|
89
89
|
render: "path",
|
90
|
-
clipPath: "url(#".concat(
|
90
|
+
clipPath: "url(#".concat(B, ")"),
|
91
91
|
__excludeProps: ["data", "scale", "value", "onClick", "offset"],
|
92
92
|
childrenPosition: "above",
|
93
93
|
value: a,
|
94
94
|
index: t,
|
95
95
|
hide: Y,
|
96
|
-
pattern: C ? "url(#".concat(
|
96
|
+
pattern: C ? "url(#".concat(B, "-").concat(t, "-pattern)") : void 0,
|
97
97
|
color: M(k),
|
98
98
|
x: V,
|
99
99
|
y: F,
|
100
100
|
width: E,
|
101
|
-
height:
|
101
|
+
height: m,
|
102
102
|
d: J,
|
103
103
|
onClickCapture: X,
|
104
104
|
"use:duration": "".concat(G, "ms"),
|
105
105
|
transparent: U
|
106
|
-
}))), C && /* @__PURE__ */
|
107
|
-
id: "".concat(
|
106
|
+
}))), C && /* @__PURE__ */ g.createElement(ca, e.cn("PatternFill", {
|
107
|
+
id: "".concat(B, "-").concat(t, "-pattern"),
|
108
108
|
patternKey: k,
|
109
109
|
color: M(k),
|
110
110
|
patterns: C
|
@@ -113,9 +113,9 @@ var la = (
|
|
113
113
|
}, {
|
114
114
|
key: "render",
|
115
115
|
value: function() {
|
116
|
-
var a = this.asProps, t = a.data, e = a.uid, i = a.size,
|
117
|
-
return /* @__PURE__ */
|
118
|
-
duration:
|
116
|
+
var a = this.asProps, t = a.data, e = a.uid, i = a.size, l = a.duration;
|
117
|
+
return /* @__PURE__ */ g.createElement(g.Fragment, null, t.map(this.renderBar.bind(this)), l && /* @__PURE__ */ g.createElement(la, {
|
118
|
+
duration: l,
|
119
119
|
key: "".concat(e, "-animation"),
|
120
120
|
attributeName: "y",
|
121
121
|
values: "100%;0",
|
@@ -126,35 +126,35 @@ var la = (
|
|
126
126
|
}
|
127
127
|
}]), n;
|
128
128
|
}(_a);
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
129
|
+
x(h, "displayName", "Bar");
|
130
|
+
x(h, "style", sa);
|
131
|
+
x(h, "enhance", [ia()]);
|
132
|
+
x(h, "defaultProps", {
|
133
133
|
offset: [0, 0],
|
134
134
|
duration: 500,
|
135
135
|
r: 2,
|
136
|
-
hMin:
|
136
|
+
hMin: ga
|
137
137
|
});
|
138
|
-
function
|
139
|
-
var
|
140
|
-
return
|
138
|
+
function ua(_) {
|
139
|
+
var c, n = _.Element, o = _.styles, a = _.scale, t = _.value, e = N(a, 2), i = e[0], l = e[1], d = l.range();
|
140
|
+
return c = j(o), /* @__PURE__ */ g.createElement(n, c.cn("SBackground", {
|
141
141
|
"aria-hidden": !0,
|
142
142
|
render: "rect",
|
143
143
|
childrenPosition: "above",
|
144
144
|
width: I(i).bandwidth(),
|
145
|
-
height:
|
145
|
+
height: d[0] - d[1],
|
146
146
|
x: i(t),
|
147
|
-
y:
|
147
|
+
y: d[1]
|
148
148
|
}));
|
149
149
|
}
|
150
|
-
function
|
151
|
-
var
|
152
|
-
return a < t && (t = a), t ? e === "top" ? H(
|
150
|
+
function pa(_) {
|
151
|
+
var c = _.x, n = _.y, o = _.width, a = _.height, t = _.radius, e = _.position;
|
152
|
+
return a < t && (t = a), t ? e === "top" ? H(c, n, o, a, t, !0, !0, !1, !1) : H(c, n, o, a, t, !1, !1, !0, !0) : H(c, n, o, a, t);
|
153
153
|
}
|
154
|
-
const Ra = oa(
|
155
|
-
Background:
|
154
|
+
const Ra = oa(h, {
|
155
|
+
Background: ua
|
156
156
|
});
|
157
157
|
export {
|
158
|
-
|
158
|
+
ga as MIN_HEIGHT,
|
159
159
|
Ra as default
|
160
160
|
};
|
@@ -1,65 +1,65 @@
|
|
1
1
|
import Y from "@babel/runtime/helpers/esm/objectSpread2";
|
2
|
-
import
|
2
|
+
import L from "@babel/runtime/helpers/esm/slicedToArray";
|
3
3
|
import G from "@babel/runtime/helpers/esm/classCallCheck";
|
4
4
|
import N from "@babel/runtime/helpers/esm/createClass";
|
5
5
|
import U from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
6
|
import j from "@babel/runtime/helpers/esm/inherits";
|
7
7
|
import q from "@babel/runtime/helpers/esm/createSuper";
|
8
|
-
import
|
8
|
+
import f from "@babel/runtime/helpers/esm/defineProperty";
|
9
9
|
import { sstyled as K } from 'intergalactic/utils/lib/core/index';
|
10
|
-
import { sstyled as
|
11
|
-
import
|
10
|
+
import { sstyled as R, Component as J, assignProps as O } from 'intergalactic/core';
|
11
|
+
import p from "react";
|
12
12
|
import { transition as Q } from "d3-transition";
|
13
13
|
import W from 'intergalactic/utils/lib/uniqueID';
|
14
14
|
import Z from "./createElement.mjs";
|
15
|
-
import { getBubbleChartValueScale as
|
16
|
-
import
|
17
|
-
import { PatternFill as
|
18
|
-
var
|
15
|
+
import { getBubbleChartValueScale as D, measureText as tt } from "./utils.mjs";
|
16
|
+
import z from "./Tooltip.mjs";
|
17
|
+
import { PatternFill as et } from "./Pattern.mjs";
|
18
|
+
var rt = (
|
19
19
|
/*__reshadow_css_start__*/
|
20
20
|
(K.insert(
|
21
21
|
/*__inner_css_start__*/
|
22
|
-
".
|
23
|
-
"
|
22
|
+
".___SBubble_i743h_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_i743h);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_i743h_gg_:hover{opacity:.8}}.___SBubble_i743h_gg_.__color_i743h_gg_{fill:var(--color_i743h)}.___SBubble_i743h_gg_.__pattern_i743h_gg_.__color_i743h_gg_{fill:var(--pattern_i743h);stroke:var(--color_i743h);stroke-width:1px}.___SBubble_i743h_gg_.__transparent_i743h_gg_{opacity:.3}.___SCenter_i743h_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_i743h_gg_.__color_i743h_gg_{stroke:var(--color_i743h)}.___SCenter_i743h_gg_.__transparent_i743h_gg_{opacity:.3}.___SLabel_i743h_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_i743h_gg_._position_right_i743h_gg_{text-anchor:end}.___SLabel_i743h_gg_._position_left_i743h_gg_{text-anchor:start}.___SLabel_i743h_gg_.__color_i743h_gg_{fill:var(--color_i743h)}.___SLabel_i743h_gg_.__transparent_i743h_gg_{opacity:.3}",
|
23
|
+
"i743h_gg_"
|
24
24
|
), {
|
25
|
-
__SBubble: "
|
26
|
-
_color: "
|
27
|
-
"--color": "--
|
28
|
-
_pattern: "
|
29
|
-
"--pattern": "--
|
30
|
-
_transparent: "
|
31
|
-
__SCenter: "
|
32
|
-
__SLabel: "
|
33
|
-
_position_right: "
|
34
|
-
_position_left: "
|
35
|
-
"--duration": "--
|
25
|
+
__SBubble: "___SBubble_i743h_gg_",
|
26
|
+
_color: "__color_i743h_gg_",
|
27
|
+
"--color": "--color_i743h",
|
28
|
+
_pattern: "__pattern_i743h_gg_",
|
29
|
+
"--pattern": "--pattern_i743h",
|
30
|
+
_transparent: "__transparent_i743h_gg_",
|
31
|
+
__SCenter: "___SCenter_i743h_gg_",
|
32
|
+
__SLabel: "___SLabel_i743h_gg_",
|
33
|
+
_position_right: "_position_right_i743h_gg_",
|
34
|
+
_position_left: "_position_left_i743h_gg_",
|
35
|
+
"--duration": "--duration_i743h"
|
36
36
|
})
|
37
|
-
), b = /* @__PURE__ */ function(
|
38
|
-
j(
|
39
|
-
var
|
40
|
-
function
|
41
|
-
var
|
42
|
-
G(this,
|
43
|
-
for (var t = arguments.length,
|
44
|
-
|
45
|
-
return
|
37
|
+
), b = /* @__PURE__ */ function(k) {
|
38
|
+
j(g, k);
|
39
|
+
var y = q(g);
|
40
|
+
function g() {
|
41
|
+
var _;
|
42
|
+
G(this, g);
|
43
|
+
for (var t = arguments.length, r = new Array(t), i = 0; i < t; i++)
|
44
|
+
r[i] = arguments[i];
|
45
|
+
return _ = y.call.apply(y, [this].concat(r)), f(U(_), "bindHandlerTooltip", function(c, e, n) {
|
46
46
|
return function(s) {
|
47
|
-
var
|
48
|
-
a.emit("setTooltipPosition",
|
47
|
+
var o = s.clientX, l = s.clientY, a = _.asProps.eventEmitter;
|
48
|
+
a.emit("setTooltipPosition", o, l), a.emit("setTooltipRenderingProps", e, n), a.emit("setTooltipVisible", c);
|
49
49
|
};
|
50
|
-
}),
|
50
|
+
}), _;
|
51
51
|
}
|
52
|
-
return N(
|
52
|
+
return N(g, [{
|
53
53
|
key: "generateGetBoundingClientRect",
|
54
54
|
value: function() {
|
55
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0,
|
55
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
56
56
|
return function() {
|
57
57
|
return {
|
58
58
|
width: 0,
|
59
59
|
height: 0,
|
60
|
-
top:
|
60
|
+
top: r,
|
61
61
|
right: t,
|
62
|
-
bottom:
|
62
|
+
bottom: r,
|
63
63
|
left: t
|
64
64
|
};
|
65
65
|
};
|
@@ -67,17 +67,17 @@ var et = (
|
|
67
67
|
}, {
|
68
68
|
key: "animationCircle",
|
69
69
|
value: function() {
|
70
|
-
var t = this.asProps,
|
71
|
-
|
72
|
-
var
|
73
|
-
return
|
70
|
+
var t = this.asProps, r = t.duration, i = t.uid, c = t.data, e = t.value, n = D(c, e), s = Q().selection().selectAll("[id^=".concat(i).concat(i, "]")).attr("r", 0), o = s.node();
|
71
|
+
o && s.transition().duration(r).attr("r", function(l, a) {
|
72
|
+
var h;
|
73
|
+
return n((h = c[a]) === null || h === void 0 ? void 0 : h[e]);
|
74
74
|
});
|
75
75
|
}
|
76
76
|
}, {
|
77
77
|
key: "componentDidUpdate",
|
78
78
|
value: function(t) {
|
79
|
-
var
|
80
|
-
(
|
79
|
+
var r = this.asProps, i = r.data, c = r.x, e = r.y, n = r.value, s = t.x, o = t.y, l = t.value, a = t.$rootProps.data;
|
80
|
+
(i !== a || c !== s || e !== o || n !== l) && this.animationCircle();
|
81
81
|
}
|
82
82
|
}, {
|
83
83
|
key: "componentDidMount",
|
@@ -86,92 +86,92 @@ var et = (
|
|
86
86
|
}
|
87
87
|
}, {
|
88
88
|
key: "renderCircle",
|
89
|
-
value: function(t,
|
90
|
-
var
|
91
|
-
right: m(t[
|
92
|
-
left: m(t[
|
93
|
-
}[
|
94
|
-
return
|
95
|
-
key: "circle(#".concat(
|
89
|
+
value: function(t, r) {
|
90
|
+
var i, c, e = this.asProps, n = e.color, s = e.scale, o = e.x, l = e.y, a = e.offset, h = e.styles, u = e.uid, C = e.duration, d = e.value, P = e.label, $ = e.markedCross, H = e.size, w = e.data, B = e.transparent, x = e.resolveColor, v = e.patterns, E = L(s, 2), m = E[0], T = E[1], A = this.Element, F = "text", I = "text", S = D(w, d), V = Math.min(m.range()[0], m.range()[1]), M = H[0] - 2 * V - (m(t[o]) + a[0] + S(t[d])) < tt(t[P]) ? "right" : "left", X = {
|
91
|
+
right: m(t[o]) + a[0] - S(t[d]),
|
92
|
+
left: m(t[o]) + a[0] + S(t[d])
|
93
|
+
}[M];
|
94
|
+
return i = R(h), /* @__PURE__ */ p.createElement("g", i.cn("g", {
|
95
|
+
key: "circle(#".concat(r, ")"),
|
96
96
|
onMouseMove: this.bindHandlerTooltip(!0, this.props, {
|
97
|
-
xIndex:
|
98
|
-
index:
|
99
|
-
patterns:
|
97
|
+
xIndex: r,
|
98
|
+
index: r,
|
99
|
+
patterns: v
|
100
100
|
}),
|
101
101
|
onMouseLeave: this.bindHandlerTooltip(!1, this.props, {
|
102
|
-
xIndex:
|
103
|
-
index:
|
104
|
-
patterns:
|
102
|
+
xIndex: r,
|
103
|
+
index: r,
|
104
|
+
patterns: v
|
105
105
|
})
|
106
|
-
}),
|
106
|
+
}), $ && /* @__PURE__ */ p.createElement(F, i.cn("SCenter", {
|
107
107
|
"aria-hidden": !0,
|
108
|
-
x: m(t[
|
109
|
-
y:
|
108
|
+
x: m(t[o]) + a[0],
|
109
|
+
y: T(t[l]) + a[1],
|
110
110
|
dy: ".3em",
|
111
|
-
clipPath: "url(#".concat(
|
112
|
-
color:
|
113
|
-
transparent:
|
114
|
-
}), "+"), /* @__PURE__ */
|
111
|
+
clipPath: "url(#".concat(u, ")"),
|
112
|
+
color: x((c = t[n]) !== null && c !== void 0 ? c : n),
|
113
|
+
transparent: B
|
114
|
+
}), "+"), /* @__PURE__ */ p.createElement(A, i.cn("SBubble", {
|
115
115
|
"aria-hidden": !0,
|
116
|
-
id: "".concat(
|
117
|
-
index:
|
116
|
+
id: "".concat(u).concat(u),
|
117
|
+
index: r,
|
118
118
|
render: "circle",
|
119
|
-
clipPath: "url(#".concat(
|
120
|
-
cx: m(t[
|
121
|
-
cy:
|
122
|
-
color:
|
123
|
-
pattern:
|
124
|
-
r:
|
125
|
-
"use:duration": "".concat(
|
126
|
-
transparent:
|
127
|
-
})),
|
128
|
-
id: "".concat(
|
129
|
-
patternKey: t[
|
130
|
-
color:
|
131
|
-
patterns:
|
132
|
-
})), t[
|
119
|
+
clipPath: "url(#".concat(u, ")"),
|
120
|
+
cx: m(t[o]) + a[0],
|
121
|
+
cy: T(t[l]) + a[1],
|
122
|
+
color: x(t[n]),
|
123
|
+
pattern: v ? "url(#".concat(u, "-").concat(r, "-pattern)") : void 0,
|
124
|
+
r: S(t[d]),
|
125
|
+
"use:duration": "".concat(C, "ms"),
|
126
|
+
transparent: B
|
127
|
+
})), v && /* @__PURE__ */ p.createElement(et, i.cn("PatternFill", {
|
128
|
+
id: "".concat(u, "-").concat(r, "-pattern"),
|
129
|
+
patternKey: t[n],
|
130
|
+
color: x(t[n]),
|
131
|
+
patterns: v
|
132
|
+
})), t[P] && /* @__PURE__ */ p.createElement(I, i.cn("SLabel", {
|
133
133
|
"aria-hidden": !0,
|
134
134
|
x: X,
|
135
|
-
y:
|
135
|
+
y: T(t[l]) + a[1],
|
136
136
|
dy: ".3em",
|
137
|
-
clipPath: "url(#".concat(
|
138
|
-
position:
|
139
|
-
color:
|
140
|
-
transparent:
|
141
|
-
}), t[
|
137
|
+
clipPath: "url(#".concat(u, ")"),
|
138
|
+
position: M,
|
139
|
+
color: x(t[n]),
|
140
|
+
transparent: B
|
141
|
+
}), t[P]));
|
142
142
|
}
|
143
143
|
}, {
|
144
144
|
key: "render",
|
145
145
|
value: function() {
|
146
|
-
var t = this.asProps,
|
147
|
-
return this.asProps.dataHintsHandler.specifyDataRowFields(
|
146
|
+
var t = this.asProps, r = t.data, i = t.uid, c = t.scale, e = t.x, n = t.y, s = t.value, o = L(c, 2), l = o[0], a = o[1], h = Math.abs(l.range()[0] - l.range()[1]), u = Math.abs(a.range()[0] - a.range()[1]), C = Math.min(l.range()[0], l.range()[1]), d = Math.min(a.range()[0], a.range()[1]);
|
147
|
+
return this.asProps.dataHintsHandler.specifyDataRowFields(e, n, s), this.asProps.dataHintsHandler.establishDataType("points-cloud"), /* @__PURE__ */ p.createElement(p.Fragment, null, r.map(this.renderCircle.bind(this)), /* @__PURE__ */ p.createElement("clipPath", {
|
148
148
|
"aria-hidden": !0,
|
149
|
-
id:
|
150
|
-
}, /* @__PURE__ */
|
151
|
-
x,
|
149
|
+
id: i
|
150
|
+
}, /* @__PURE__ */ p.createElement("rect", {
|
151
|
+
x: C,
|
152
152
|
y: d,
|
153
|
-
width: "".concat(
|
154
|
-
height: "".concat(
|
153
|
+
width: "".concat(h, "px"),
|
154
|
+
height: "".concat(u, "px")
|
155
155
|
}), " "));
|
156
156
|
}
|
157
|
-
}]),
|
157
|
+
}]), g;
|
158
158
|
}(J);
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
159
|
+
f(b, "displayName", "Bubble");
|
160
|
+
f(b, "style", rt);
|
161
|
+
f(b, "enhance", [W()]);
|
162
|
+
f(b, "defaultProps", {
|
163
163
|
offset: [0, 0],
|
164
164
|
duration: 500,
|
165
165
|
markedCross: !0
|
166
166
|
});
|
167
|
-
var at = function(
|
168
|
-
var
|
169
|
-
return
|
167
|
+
var at = function(y) {
|
168
|
+
var g = arguments[0], _, t = z;
|
169
|
+
return _ = R(y.styles), /* @__PURE__ */ p.createElement(t, _.cn("SBubbleTooltip", Y({}, O({
|
170
170
|
excludeAnchorProps: !0
|
171
|
-
},
|
172
|
-
},
|
173
|
-
Tooltip: [at,
|
171
|
+
}, g))));
|
172
|
+
}, xt = Z(b, {
|
173
|
+
Tooltip: [at, z._______childrenComponents]
|
174
174
|
});
|
175
175
|
export {
|
176
|
-
|
176
|
+
xt as default
|
177
177
|
};
|