intergalactic 15.128.0-prerelease.5 → 15.129.0-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 +7 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +60 -60
- package/accordion/package.json +1 -1
- package/add-filter/package.json +1 -1
- package/animation/package.json +1 -1
- 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 +50 -50
- package/base-trigger/lib/esm/ButtonTrigger.mjs +20 -20
- package/base-trigger/lib/esm/FilterTrigger.mjs +79 -79
- package/base-trigger/lib/esm/LinkTrigger.mjs +44 -44
- 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 +41 -41
- 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 +171 -171
- package/bulk-textarea/package.json +1 -1
- 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 +14 -14
- 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 +72 -72
- package/carousel/package.json +1 -1
- 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 +70 -70
- package/color-picker/lib/esm/PaletteManager.mjs +53 -53
- package/color-picker/lib/esm/components/InputColor.mjs +64 -64
- package/color-picker/package.json +1 -1
- package/components.json +29 -29
- package/core/package.json +1 -1
- 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 +68 -68
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +154 -154
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +62 -62
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +78 -78
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +99 -99
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +129 -129
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +35 -35
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +54 -54
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +17 -17
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +85 -85
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +25 -25
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +138 -138
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +95 -95
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +65 -65
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +63 -63
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +66 -66
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +62 -62
- 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 +33 -33
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +20 -20
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +101 -101
- 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 +69 -69
- package/data-table/lib/esm/DataTable.mjs +253 -253
- 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 +151 -151
- package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +158 -158
- package/date-picker/lib/esm/components/InputTrigger.mjs +232 -232
- package/date-picker/lib/esm/components/PickerAbstract.mjs +89 -89
- package/date-picker/lib/esm/components/RangePickerAbstract.mjs +124 -124
- package/date-picker/package.json +1 -1
- package/divider/package.json +1 -1
- 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 +225 -225
- package/drag-and-drop/package.json +1 -1
- 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 +143 -143
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/package.json +1 -1
- 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 +47 -47
- 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 +51 -51
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +21 -21
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +41 -41
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +75 -75
- package/feedback-form/package.json +1 -1
- package/flags/package.json +1 -1
- package/flex-box/package.json +1 -1
- 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 +44 -44
- package/fullscreen-modal/package.json +1 -1
- 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 +33 -33
- 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/icon/platform/AIToolkit/index.d.ts +6 -0
- package/icon/platform/AIToolkit/index.js +36 -0
- package/icon/platform/AIToolkit/index.mjs +25 -0
- package/icon/platform/SEOToolkit/index.js +2 -2
- package/icon/platform/SEOToolkit/index.mjs +2 -2
- package/illustration/package.json +1 -1
- 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 +127 -127
- package/inline-input/package.json +1 -1
- package/input/package.json +1 -1
- package/input-mask/package.json +1 -1
- package/input-number/package.json +1 -1
- package/input-tags/package.json +1 -1
- package/link/package.json +1 -1
- 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 +73 -73
- 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 +123 -123
- 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 +49 -49
- 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 +13 -13
- package/pagination/package.json +1 -1
- package/pills/package.json +1 -1
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/package.json +1 -1
- package/progress-bar/package.json +1 -1
- package/radio/package.json +1 -1
- 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 +35 -35
- package/select/lib/esm/Select.mjs +60 -60
- 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/package.json +1 -1
- package/slider/package.json +1 -1
- package/spin/package.json +1 -1
- package/spin-container/package.json +1 -1
- package/sticky/package.json +1 -1
- package/switch/package.json +1 -1
- package/tab-line/package.json +1 -1
- 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 +184 -184
- package/tag/package.json +1 -1
- 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 +93 -93
- package/time-picker/package.json +1 -1
- 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 +20 -20
- package/typography/lib/esm/Hint.mjs +19 -19
- package/typography/lib/esm/List.mjs +36 -36
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/package.json +1 -1
- 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 b from "@babel/runtime/helpers/esm/defineProperty";
|
7
7
|
import { sstyled as ea } from 'intergalactic/utils/lib/core/index';
|
8
|
-
import
|
8
|
+
import s 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 ca 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 la } from "./Pattern.mjs";
|
16
|
+
var da = (
|
17
17
|
/*__reshadow_css_start__*/
|
18
18
|
(ea.insert(
|
19
19
|
/*__inner_css_start__*/
|
20
|
-
".
|
21
|
-
"
|
20
|
+
".___SBar_xbdpf_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_xbdpf);transition-timing-function:ease-in-out}.___SBar_xbdpf_gg_.__color_xbdpf_gg_{fill:var(--color_xbdpf)}.___SBar_xbdpf_gg_.__pattern_xbdpf_gg_.__color_xbdpf_gg_{fill:var(--pattern_xbdpf);stroke:var(--color_xbdpf);stroke-width:1px}.___SBar_xbdpf_gg_.__hide_xbdpf_gg_{display:none}.___SBar_xbdpf_gg_.__transparent_xbdpf_gg_{opacity:.3}.___SBackground_xbdpf_gg_.__onClick_xbdpf_gg_,.___SBar_xbdpf_gg_.__onClick_xbdpf_gg_{cursor:pointer}.___SBackground_xbdpf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_xbdpf_gg_{display:flex;justify-content:space-between}.___SBarLabel_xbdpf_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_xbdpf_gg_,.___SBarPercent_xbdpf_gg_,.___SBarValue_xbdpf_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_xbdpf_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_xbdpf_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_xbdpf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
21
|
+
"xbdpf_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_xbdpf_gg_",
|
24
|
+
"--duration": "--duration_xbdpf",
|
25
|
+
_color: "__color_xbdpf_gg_",
|
26
|
+
"--color": "--color_xbdpf",
|
27
|
+
_pattern: "__pattern_xbdpf_gg_",
|
28
|
+
"--pattern": "--pattern_xbdpf",
|
29
|
+
_hide: "__hide_xbdpf_gg_",
|
30
|
+
_transparent: "__transparent_xbdpf_gg_",
|
31
|
+
_onClick: "__onClick_xbdpf_gg_",
|
32
|
+
__SBackground: "___SBackground_xbdpf_gg_",
|
33
|
+
__SBarAnnotation: "___SBarAnnotation_xbdpf_gg_",
|
34
|
+
__SBarLabel: "___SBarLabel_xbdpf_gg_",
|
35
|
+
__SBarPercent: "___SBarPercent_xbdpf_gg_",
|
36
|
+
__SBarValue: "___SBarValue_xbdpf_gg_",
|
37
|
+
__SCompactHorizontalBarHoverRect: "___SCompactHorizontalBarHoverRect_xbdpf_gg_"
|
38
38
|
})
|
39
|
-
),
|
40
|
-
return
|
41
|
-
},
|
39
|
+
), sa = 2, pa = function(l, n, o) {
|
40
|
+
return l <= 0 ? Object.is(l, 0) ? n : 0 : o <= n ? n : 0;
|
41
|
+
}, f = /* @__PURE__ */ function(_) {
|
42
42
|
ta(n, _);
|
43
|
-
var
|
43
|
+
var l = ra(n);
|
44
44
|
function n() {
|
45
|
-
return Z(this, n),
|
45
|
+
return Z(this, n), l.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, c = e.data;
|
51
51
|
return {
|
52
|
-
value:
|
52
|
+
value: c[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")), c = i.node();
|
60
|
+
t > 0 && c && c.getAttribute("y") !== "0" && i.transition().duration(t).attr("y", 0);
|
61
61
|
}
|
62
62
|
}, {
|
63
63
|
key: "componentDidUpdate",
|
@@ -72,19 +72,19 @@ var sa = (
|
|
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, c, p, L = this.Element, r = this.asProps, K = r.styles, m = r.color, M = r.resolveColor, x = r.x, d = r.y, v = r.y0, T = r.scale, Y = r.hide, y = r.offset, G = r.duration, B = r.uid, S = r.r, k = r.hMin, O = r.width, g = 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], u = A[1], W = Math.abs(u(a[d]) - Math.min(u(u.domain()[0]), u((i = a[v]) !== null && i !== void 0 ? i : 0))), h = Number(a[d] - ((c = a[v]) !== null && c !== void 0 ? c : 0)) === 0 ? 0 : Math.max(W, k), D = O || I(z).bandwidth(), E = Math.min(D, q), V = z(a[x]) + D / 2 - E / 2 + $[0], F = u(Math.max((p = a[v]) !== null && p !== void 0 ? p : 0, h <= k && a[d] > 0 ? 0 : a[d])) + $[1] - pa(a[d], k, h), X = function(Q) {
|
76
|
+
return P == null ? void 0 : P(a, Q, t, d);
|
77
|
+
}, J = ua({
|
78
78
|
x: V,
|
79
79
|
y: F,
|
80
80
|
width: E,
|
81
|
-
height:
|
81
|
+
height: h,
|
82
82
|
radius: Array.isArray(S) ? S[t] : S,
|
83
|
-
position: a[
|
83
|
+
position: a[d] > 0 || Object.is(a[d], 0) ? "top" : "bottom"
|
84
84
|
});
|
85
|
-
return
|
85
|
+
return g ? w.describeGroupedValues(g, d) : (w.describeValueEntity("".concat(t, ".").concat(d), g ?? a[x]), w.specifyDataRowFields(x, d)), /* @__PURE__ */ s.createElement(s.Fragment, {
|
86
86
|
key: "bar-".concat(t)
|
87
|
-
}, (e = j(K), /* @__PURE__ */
|
87
|
+
}, (e = j(K), /* @__PURE__ */ s.createElement(L, e.cn("SBar", {
|
88
88
|
"aria-hidden": !0,
|
89
89
|
render: "path",
|
90
90
|
clipPath: "url(#".concat(B, ")"),
|
@@ -94,28 +94,28 @@ var sa = (
|
|
94
94
|
index: t,
|
95
95
|
hide: Y,
|
96
96
|
pattern: C ? "url(#".concat(B, "-").concat(t, "-pattern)") : void 0,
|
97
|
-
color: M(
|
97
|
+
color: M(m),
|
98
98
|
x: V,
|
99
99
|
y: F,
|
100
100
|
width: E,
|
101
|
-
height:
|
101
|
+
height: h,
|
102
102
|
d: J,
|
103
103
|
onClickCapture: X,
|
104
104
|
"use:duration": "".concat(G, "ms"),
|
105
105
|
transparent: U
|
106
|
-
}))), C && /* @__PURE__ */
|
106
|
+
}))), C && /* @__PURE__ */ s.createElement(la, e.cn("PatternFill", {
|
107
107
|
id: "".concat(B, "-").concat(t, "-pattern"),
|
108
|
-
patternKey:
|
109
|
-
color: M(
|
108
|
+
patternKey: m,
|
109
|
+
color: M(m),
|
110
110
|
patterns: C
|
111
111
|
})));
|
112
112
|
}
|
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, c = a.duration;
|
117
|
+
return /* @__PURE__ */ s.createElement(s.Fragment, null, t.map(this.renderBar.bind(this)), c && /* @__PURE__ */ s.createElement(ca, {
|
118
|
+
duration: c,
|
119
119
|
key: "".concat(e, "-animation"),
|
120
120
|
attributeName: "y",
|
121
121
|
values: "100%;0",
|
@@ -126,35 +126,35 @@ var sa = (
|
|
126
126
|
}
|
127
127
|
}]), n;
|
128
128
|
}(_a);
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
129
|
+
b(f, "displayName", "Bar");
|
130
|
+
b(f, "style", da);
|
131
|
+
b(f, "enhance", [ia()]);
|
132
|
+
b(f, "defaultProps", {
|
133
133
|
offset: [0, 0],
|
134
134
|
duration: 500,
|
135
135
|
r: 2,
|
136
|
-
hMin:
|
136
|
+
hMin: sa
|
137
137
|
});
|
138
|
-
function
|
139
|
-
var
|
140
|
-
return
|
138
|
+
function ga(_) {
|
139
|
+
var l, n = _.Element, o = _.styles, a = _.scale, t = _.value, e = N(a, 2), i = e[0], c = e[1], p = c.range();
|
140
|
+
return l = j(o), /* @__PURE__ */ s.createElement(n, l.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: p[0] - p[1],
|
146
146
|
x: i(t),
|
147
|
-
y:
|
147
|
+
y: p[1]
|
148
148
|
}));
|
149
149
|
}
|
150
|
-
function
|
151
|
-
var
|
152
|
-
return a < t && (t = a), t ? e === "top" ? H(
|
150
|
+
function ua(_) {
|
151
|
+
var l = _.x, n = _.y, o = _.width, a = _.height, t = _.radius, e = _.position;
|
152
|
+
return a < t && (t = a), t ? e === "top" ? H(l, n, o, a, t, !0, !0, !1, !1) : H(l, n, o, a, t, !1, !1, !0, !0) : H(l, n, o, a, t);
|
153
153
|
}
|
154
|
-
const Ra = oa(
|
155
|
-
Background:
|
154
|
+
const Ra = oa(f, {
|
155
|
+
Background: ga
|
156
156
|
});
|
157
157
|
export {
|
158
|
-
|
158
|
+
sa as MIN_HEIGHT,
|
159
159
|
Ra as default
|
160
160
|
};
|
@@ -8,58 +8,58 @@ import q from "@babel/runtime/helpers/esm/createSuper";
|
|
8
8
|
import f from "@babel/runtime/helpers/esm/defineProperty";
|
9
9
|
import { sstyled as K } from 'intergalactic/utils/lib/core/index';
|
10
10
|
import { sstyled as R, Component as J, assignProps as O } from 'intergalactic/core';
|
11
|
-
import
|
11
|
+
import u 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
15
|
import { getBubbleChartValueScale as D, measureText as tt } from "./utils.mjs";
|
16
16
|
import z from "./Tooltip.mjs";
|
17
17
|
import { PatternFill as et } from "./Pattern.mjs";
|
18
|
-
var
|
18
|
+
var at = (
|
19
19
|
/*__reshadow_css_start__*/
|
20
20
|
(K.insert(
|
21
21
|
/*__inner_css_start__*/
|
22
|
-
".
|
23
|
-
"
|
22
|
+
".___SBubble_1u8ay_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_1u8ay);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1u8ay_gg_:hover{opacity:.8}}.___SBubble_1u8ay_gg_.__color_1u8ay_gg_{fill:var(--color_1u8ay)}.___SBubble_1u8ay_gg_.__pattern_1u8ay_gg_.__color_1u8ay_gg_{fill:var(--pattern_1u8ay);stroke:var(--color_1u8ay);stroke-width:1px}.___SBubble_1u8ay_gg_.__transparent_1u8ay_gg_{opacity:.3}.___SCenter_1u8ay_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_1u8ay_gg_.__color_1u8ay_gg_{stroke:var(--color_1u8ay)}.___SCenter_1u8ay_gg_.__transparent_1u8ay_gg_{opacity:.3}.___SLabel_1u8ay_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_1u8ay_gg_._position_right_1u8ay_gg_{text-anchor:end}.___SLabel_1u8ay_gg_._position_left_1u8ay_gg_{text-anchor:start}.___SLabel_1u8ay_gg_.__color_1u8ay_gg_{fill:var(--color_1u8ay)}.___SLabel_1u8ay_gg_.__transparent_1u8ay_gg_{opacity:.3}",
|
23
|
+
"1u8ay_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_1u8ay_gg_",
|
26
|
+
_color: "__color_1u8ay_gg_",
|
27
|
+
"--color": "--color_1u8ay",
|
28
|
+
_pattern: "__pattern_1u8ay_gg_",
|
29
|
+
"--pattern": "--pattern_1u8ay",
|
30
|
+
_transparent: "__transparent_1u8ay_gg_",
|
31
|
+
__SCenter: "___SCenter_1u8ay_gg_",
|
32
|
+
__SLabel: "___SLabel_1u8ay_gg_",
|
33
|
+
_position_right: "_position_right_1u8ay_gg_",
|
34
|
+
_position_left: "_position_left_1u8ay_gg_",
|
35
|
+
"--duration": "--duration_1u8ay"
|
36
36
|
})
|
37
|
-
),
|
37
|
+
), h = /* @__PURE__ */ function(k) {
|
38
38
|
j(g, k);
|
39
|
-
var
|
39
|
+
var b = q(g);
|
40
40
|
function g() {
|
41
41
|
var _;
|
42
42
|
G(this, g);
|
43
|
-
for (var t = arguments.length,
|
44
|
-
|
45
|
-
return _ =
|
43
|
+
for (var t = arguments.length, a = new Array(t), n = 0; n < t; n++)
|
44
|
+
a[n] = arguments[n];
|
45
|
+
return _ = b.call.apply(b, [this].concat(a)), f(U(_), "bindHandlerTooltip", function(c, e, o) {
|
46
46
|
return function(s) {
|
47
|
-
var
|
48
|
-
|
47
|
+
var i = s.clientX, l = s.clientY, r = _.asProps.eventEmitter;
|
48
|
+
r.emit("setTooltipPosition", i, l), r.emit("setTooltipRenderingProps", e, o), r.emit("setTooltipVisible", c);
|
49
49
|
};
|
50
50
|
}), _;
|
51
51
|
}
|
52
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, a = 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: a,
|
61
61
|
right: t,
|
62
|
-
bottom:
|
62
|
+
bottom: a,
|
63
63
|
left: t
|
64
64
|
};
|
65
65
|
};
|
@@ -67,17 +67,17 @@ var rt = (
|
|
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, a = t.duration, n = t.uid, c = t.data, e = t.value, o = D(c, e), s = Q().selection().selectAll("[id^=".concat(n).concat(n, "]")).attr("r", 0), i = s.node();
|
71
|
+
i && s.transition().duration(a).attr("r", function(l, r) {
|
72
|
+
var d;
|
73
|
+
return o((d = c[r]) === null || d === void 0 ? void 0 : d[e]);
|
74
74
|
});
|
75
75
|
}
|
76
76
|
}, {
|
77
77
|
key: "componentDidUpdate",
|
78
78
|
value: function(t) {
|
79
|
-
var
|
80
|
-
(
|
79
|
+
var a = this.asProps, n = a.data, c = a.x, e = a.y, o = a.value, s = t.x, i = t.y, l = t.value, r = t.$rootProps.data;
|
80
|
+
(n !== r || c !== s || e !== i || o !== l) && this.animationCircle();
|
81
81
|
}
|
82
82
|
}, {
|
83
83
|
key: "componentDidMount",
|
@@ -86,91 +86,91 @@ var rt = (
|
|
86
86
|
}
|
87
87
|
}, {
|
88
88
|
key: "renderCircle",
|
89
|
-
value: function(t,
|
90
|
-
var
|
91
|
-
right:
|
92
|
-
left:
|
89
|
+
value: function(t, a) {
|
90
|
+
var n, c, e = this.asProps, o = e.color, s = e.scale, i = e.x, l = e.y, r = e.offset, d = e.styles, p = e.uid, C = e.duration, m = 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), y = E[0], T = E[1], A = this.Element, F = "text", I = "text", S = D(w, m), V = Math.min(y.range()[0], y.range()[1]), M = H[0] - 2 * V - (y(t[i]) + r[0] + S(t[m])) < tt(t[P]) ? "right" : "left", X = {
|
91
|
+
right: y(t[i]) + r[0] - S(t[m]),
|
92
|
+
left: y(t[i]) + r[0] + S(t[m])
|
93
93
|
}[M];
|
94
|
-
return
|
95
|
-
key: "circle(#".concat(
|
94
|
+
return n = R(d), /* @__PURE__ */ u.createElement("g", n.cn("g", {
|
95
|
+
key: "circle(#".concat(a, ")"),
|
96
96
|
onMouseMove: this.bindHandlerTooltip(!0, this.props, {
|
97
|
-
xIndex:
|
98
|
-
index:
|
97
|
+
xIndex: a,
|
98
|
+
index: a,
|
99
99
|
patterns: v
|
100
100
|
}),
|
101
101
|
onMouseLeave: this.bindHandlerTooltip(!1, this.props, {
|
102
|
-
xIndex:
|
103
|
-
index:
|
102
|
+
xIndex: a,
|
103
|
+
index: a,
|
104
104
|
patterns: v
|
105
105
|
})
|
106
|
-
}), $ && /* @__PURE__ */
|
106
|
+
}), $ && /* @__PURE__ */ u.createElement(F, n.cn("SCenter", {
|
107
107
|
"aria-hidden": !0,
|
108
|
-
x:
|
109
|
-
y: T(t[l]) +
|
108
|
+
x: y(t[i]) + r[0],
|
109
|
+
y: T(t[l]) + r[1],
|
110
110
|
dy: ".3em",
|
111
|
-
clipPath: "url(#".concat(
|
112
|
-
color: x((c = t[
|
111
|
+
clipPath: "url(#".concat(p, ")"),
|
112
|
+
color: x((c = t[o]) !== null && c !== void 0 ? c : o),
|
113
113
|
transparent: B
|
114
|
-
}), "+"), /* @__PURE__ */
|
114
|
+
}), "+"), /* @__PURE__ */ u.createElement(A, n.cn("SBubble", {
|
115
115
|
"aria-hidden": !0,
|
116
|
-
id: "".concat(
|
117
|
-
index:
|
116
|
+
id: "".concat(p).concat(p),
|
117
|
+
index: a,
|
118
118
|
render: "circle",
|
119
|
-
clipPath: "url(#".concat(
|
120
|
-
cx:
|
121
|
-
cy: T(t[l]) +
|
122
|
-
color: x(t[
|
123
|
-
pattern: v ? "url(#".concat(
|
124
|
-
r: S(t[
|
119
|
+
clipPath: "url(#".concat(p, ")"),
|
120
|
+
cx: y(t[i]) + r[0],
|
121
|
+
cy: T(t[l]) + r[1],
|
122
|
+
color: x(t[o]),
|
123
|
+
pattern: v ? "url(#".concat(p, "-").concat(a, "-pattern)") : void 0,
|
124
|
+
r: S(t[m]),
|
125
125
|
"use:duration": "".concat(C, "ms"),
|
126
126
|
transparent: B
|
127
|
-
})), v && /* @__PURE__ */
|
128
|
-
id: "".concat(
|
129
|
-
patternKey: t[
|
130
|
-
color: x(t[
|
127
|
+
})), v && /* @__PURE__ */ u.createElement(et, n.cn("PatternFill", {
|
128
|
+
id: "".concat(p, "-").concat(a, "-pattern"),
|
129
|
+
patternKey: t[o],
|
130
|
+
color: x(t[o]),
|
131
131
|
patterns: v
|
132
|
-
})), t[P] && /* @__PURE__ */
|
132
|
+
})), t[P] && /* @__PURE__ */ u.createElement(I, n.cn("SLabel", {
|
133
133
|
"aria-hidden": !0,
|
134
134
|
x: X,
|
135
|
-
y: T(t[l]) +
|
135
|
+
y: T(t[l]) + r[1],
|
136
136
|
dy: ".3em",
|
137
|
-
clipPath: "url(#".concat(
|
137
|
+
clipPath: "url(#".concat(p, ")"),
|
138
138
|
position: M,
|
139
|
-
color: x(t[
|
139
|
+
color: x(t[o]),
|
140
140
|
transparent: B
|
141
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(e,
|
146
|
+
var t = this.asProps, a = t.data, n = t.uid, c = t.scale, e = t.x, o = t.y, s = t.value, i = L(c, 2), l = i[0], r = i[1], d = Math.abs(l.range()[0] - l.range()[1]), p = Math.abs(r.range()[0] - r.range()[1]), C = Math.min(l.range()[0], l.range()[1]), m = Math.min(r.range()[0], r.range()[1]);
|
147
|
+
return this.asProps.dataHintsHandler.specifyDataRowFields(e, o, s), this.asProps.dataHintsHandler.establishDataType("points-cloud"), /* @__PURE__ */ u.createElement(u.Fragment, null, a.map(this.renderCircle.bind(this)), /* @__PURE__ */ u.createElement("clipPath", {
|
148
148
|
"aria-hidden": !0,
|
149
|
-
id:
|
150
|
-
}, /* @__PURE__ */
|
149
|
+
id: n
|
150
|
+
}, /* @__PURE__ */ u.createElement("rect", {
|
151
151
|
x: C,
|
152
|
-
y:
|
153
|
-
width: "".concat(
|
154
|
-
height: "".concat(
|
152
|
+
y: m,
|
153
|
+
width: "".concat(d, "px"),
|
154
|
+
height: "".concat(p, "px")
|
155
155
|
}), " "));
|
156
156
|
}
|
157
157
|
}]), g;
|
158
158
|
}(J);
|
159
|
-
f(
|
160
|
-
f(
|
161
|
-
f(
|
162
|
-
f(
|
159
|
+
f(h, "displayName", "Bubble");
|
160
|
+
f(h, "style", at);
|
161
|
+
f(h, "enhance", [W()]);
|
162
|
+
f(h, "defaultProps", {
|
163
163
|
offset: [0, 0],
|
164
164
|
duration: 500,
|
165
165
|
markedCross: !0
|
166
166
|
});
|
167
|
-
var
|
167
|
+
var rt = function(b) {
|
168
168
|
var g = arguments[0], _, t = z;
|
169
|
-
return _ = R(
|
169
|
+
return _ = R(b.styles), /* @__PURE__ */ u.createElement(t, _.cn("SBubbleTooltip", Y({}, O({
|
170
170
|
excludeAnchorProps: !0
|
171
171
|
}, g))));
|
172
|
-
}, xt = Z(
|
173
|
-
Tooltip: [
|
172
|
+
}, xt = Z(h, {
|
173
|
+
Tooltip: [rt, z._______childrenComponents]
|
174
174
|
});
|
175
175
|
export {
|
176
176
|
xt as default
|