intergalactic 15.110.0 → 15.111.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 +26 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/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/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- 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/cjs/style/base-trigger.shadow.css +2 -1
- 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/es6/style/base-trigger.shadow.css +2 -1
- 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/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +27 -27
- package/button/lib/cjs/component/Button/button.shadow.css +1 -0
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/cjs/component/ButtonLink/buttonLink.shadow.css +1 -0
- package/button/lib/es6/component/Button/Button.js +27 -27
- package/button/lib/es6/component/Button/button.shadow.css +1 -0
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/ButtonLink/buttonLink.shadow.css +1 -0
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- 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/package.json +1 -1
- package/components.json +73 -73
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/package.json +1 -1
- package/d3-chart/Bar.d.ts +4 -0
- 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/cjs/types/Bar.d.js.map +1 -1
- 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/es6/types/Bar.d.js.map +1 -1
- package/d3-chart/lib/types/Bar.d.ts +4 -0
- 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/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/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +16 -16
- package/drag-and-drop/lib/es6/DragAndDrop.js +16 -16
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +15 -15
- package/dropdown/lib/es6/Dropdown.js +15 -15
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +17 -17
- package/dropdown-menu/lib/es6/DropdownMenu.js +17 -17
- 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/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- 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/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 +6 -6
- 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 +6 -6
- 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/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/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/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/Recent/l/index.d.ts +6 -0
- package/icon/Recent/l/index.js +39 -0
- package/icon/Recent/l/index.mjs +27 -0
- package/icon/Recent/m/index.d.ts +6 -0
- package/icon/Recent/m/index.js +39 -0
- package/icon/Recent/m/index.mjs +27 -0
- 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/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 +6 -8
- package/icon/lib/cjs/Icon.js.map +1 -1
- package/icon/lib/cjs/style/icon.shadow.css +1 -5
- package/icon/lib/es6/Icon.js +6 -8
- package/icon/lib/es6/Icon.js.map +1 -1
- package/icon/lib/es6/style/icon.shadow.css +1 -5
- 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/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/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- 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/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/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/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/cjs/style/link.shadow.css +1 -0
- package/link/lib/es6/Link.js +12 -12
- package/link/lib/es6/style/link.shadow.css +1 -0
- 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 +17 -17
- 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 +17 -17
- 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/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +14 -14
- package/notice/lib/es6/Notice.js +14 -14
- 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/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/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +10 -10
- package/pagination/lib/es6/Pagination.js +10 -10
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- 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/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/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- 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/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/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/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/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- 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/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/cjs/style/switch.shadow.css +1 -0
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/lib/es6/style/switch.shadow.css +1 -0
- 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/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/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- 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/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- 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/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/utils/lib/use/useFocusLock.js +2 -1
- package/utils/lib/use/useFocusLock.js.map +1 -1
- package/utils/lib/use/useFocusLock.mjs +2 -1
- package/utils/lib/use/useFocusLock.mjs.map +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- 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/package.json +1 -1
@@ -16,9 +16,9 @@ import trottle from 'intergalactic/utils/lib/rafTrottle';
|
|
16
16
|
import createElement from './createElement';
|
17
17
|
import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
|
18
18
|
/*__reshadow-styles__:"./style/hover.shadow.css"*/
|
19
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
20
|
-
"__SHoverLine": "
|
21
|
-
"__SHoverRect": "
|
19
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_jvauc_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_jvauc_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "jvauc_gg_") /*__reshadow_css_end__*/, {
|
20
|
+
"__SHoverLine": "___SHoverLine_jvauc_gg_",
|
21
|
+
"__SHoverRect": "___SHoverRect_jvauc_gg_"
|
22
22
|
});
|
23
23
|
import Tooltip from './Tooltip';
|
24
24
|
var Hover = /*#__PURE__*/function (_Component) {
|
package/d3-chart/lib/es6/Line.js
CHANGED
@@ -15,15 +15,15 @@ import Dots from './Dots';
|
|
15
15
|
import AnimatedClipPath from './AnimatedClipPath';
|
16
16
|
import { resolvePatternDasharray } from './Pattern';
|
17
17
|
/*__reshadow-styles__:"./style/line.shadow.css"*/
|
18
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
19
|
-
"__SLine": "
|
20
|
-
"--duration": "--
|
21
|
-
"_color": "
|
22
|
-
"--color": "--
|
23
|
-
"_hide": "
|
24
|
-
"_transparent": "
|
25
|
-
"__SNull": "
|
26
|
-
"__SLineArea": "
|
18
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_2p4bm_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_2p4bm);transition-timing-function:ease-in-out}.___SLine_2p4bm_gg_.__color_2p4bm_gg_{stroke:var(--color_2p4bm)}.___SLine_2p4bm_gg_.__hide_2p4bm_gg_{display:none}.___SLine_2p4bm_gg_.__transparent_2p4bm_gg_{opacity:.3}.___SNull_2p4bm_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_2p4bm_gg_.__hide_2p4bm_gg_{display:none}.___SLineArea_2p4bm_gg_{transition-property:d;transition-duration:var(--duration_2p4bm);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_2p4bm_gg_.__color_2p4bm_gg_{fill:var(--color_2p4bm)}" /*__inner_css_end__*/, "2p4bm_gg_") /*__reshadow_css_end__*/, {
|
19
|
+
"__SLine": "___SLine_2p4bm_gg_",
|
20
|
+
"--duration": "--duration_2p4bm",
|
21
|
+
"_color": "__color_2p4bm_gg_",
|
22
|
+
"--color": "--color_2p4bm",
|
23
|
+
"_hide": "__hide_2p4bm_gg_",
|
24
|
+
"_transparent": "__transparent_2p4bm_gg_",
|
25
|
+
"__SNull": "___SNull_2p4bm_gg_",
|
26
|
+
"__SLineArea": "___SLineArea_2p4bm_gg_"
|
27
27
|
});
|
28
28
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
29
29
|
_inherits(LineRoot, _Component);
|
package/d3-chart/lib/es6/Plot.js
CHANGED
@@ -18,9 +18,9 @@ import { PlotA11yModule } from './a11y/PlotA11yModule';
|
|
18
18
|
import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
|
19
19
|
import colorResolverEnhance from 'intergalactic/utils/lib/enhances/resolveColorEnhance';
|
20
20
|
/*__reshadow-styles__:"./style/plot.shadow.css"*/
|
21
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
22
|
-
"__SPlot": "
|
23
|
-
"_keyboardFocused": "
|
21
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_1pt2m_gg_{overflow:hidden}.___SPlot_1pt2m_gg_:active,.___SPlot_1pt2m_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_1pt2m_gg_.__keyboardFocused_1pt2m_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "1pt2m_gg_") /*__reshadow_css_end__*/, {
|
22
|
+
"__SPlot": "___SPlot_1pt2m_gg_",
|
23
|
+
"_keyboardFocused": "__keyboardFocused_1pt2m_gg_"
|
24
24
|
});
|
25
25
|
var PlotRoot = /*#__PURE__*/function (_Component) {
|
26
26
|
_inherits(PlotRoot, _Component);
|
@@ -22,25 +22,25 @@ import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
|
22
22
|
import Tooltip from './Tooltip';
|
23
23
|
import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
|
24
24
|
/*__reshadow-styles__:"./style/radar.shadow.css"*/
|
25
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
26
|
-
"__SAxis": "
|
27
|
-
"__SAxisLine": "
|
28
|
-
"__SAxisTick": "
|
29
|
-
"_active": "
|
30
|
-
"__SAxisLabel": "
|
31
|
-
"_xDirection": "
|
32
|
-
"--xDirection": "--
|
33
|
-
"_yDirection": "
|
34
|
-
"--yDirection": "--
|
35
|
-
"__SPolygon": "
|
36
|
-
"_color": "
|
37
|
-
"--color": "--
|
38
|
-
"_pattern": "
|
39
|
-
"--pattern": "--
|
40
|
-
"__SPolygonDot": "
|
41
|
-
"_transparent": "
|
42
|
-
"__SPolygonLine": "
|
43
|
-
"__SPieRect": "
|
25
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_13143_gg_,.___SAxisTick_13143_gg_,.___SAxis_13143_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_13143_gg_,.___SAxisTick_13143_gg_{stroke-dasharray:2}.___SAxisLine_13143_gg_.__active_13143_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_13143_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_13143_gg_.__xDirection_13143_gg_{text-anchor:var(--xDirection_13143)}.___SAxisLabel_13143_gg_.__yDirection_13143_gg_{dominant-baseline:var(--yDirection_13143)}.___SPolygonDot_13143_gg_,.___SPolygon_13143_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_13143_gg_{opacity:.2}.___SPolygon_13143_gg_.__color_13143_gg_{fill:var(--color_13143)}.___SPolygon_13143_gg_.__pattern_13143_gg_.__color_13143_gg_{fill:var(--pattern_13143);stroke:var(--color_13143);stroke-width:1px}.___SPolygonDot_13143_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_13143_gg_.__transparent_13143_gg_{opacity:.3}.___SPolygonDot_13143_gg_.__color_13143_gg_{fill:var(--color_13143)}.___SPolygonLine_13143_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_13143_gg_.__transparent_13143_gg_{opacity:.3}.___SPolygonLine_13143_gg_.__color_13143_gg_{stroke:var(--color_13143)}.___SPieRect_13143_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "13143_gg_") /*__reshadow_css_end__*/, {
|
26
|
+
"__SAxis": "___SAxis_13143_gg_",
|
27
|
+
"__SAxisLine": "___SAxisLine_13143_gg_",
|
28
|
+
"__SAxisTick": "___SAxisTick_13143_gg_",
|
29
|
+
"_active": "__active_13143_gg_",
|
30
|
+
"__SAxisLabel": "___SAxisLabel_13143_gg_",
|
31
|
+
"_xDirection": "__xDirection_13143_gg_",
|
32
|
+
"--xDirection": "--xDirection_13143",
|
33
|
+
"_yDirection": "__yDirection_13143_gg_",
|
34
|
+
"--yDirection": "--yDirection_13143",
|
35
|
+
"__SPolygon": "___SPolygon_13143_gg_",
|
36
|
+
"_color": "__color_13143_gg_",
|
37
|
+
"--color": "--color_13143",
|
38
|
+
"_pattern": "__pattern_13143_gg_",
|
39
|
+
"--pattern": "--pattern_13143",
|
40
|
+
"__SPolygonDot": "___SPolygonDot_13143_gg_",
|
41
|
+
"_transparent": "__transparent_13143_gg_",
|
42
|
+
"__SPolygonLine": "___SPolygonLine_13143_gg_",
|
43
|
+
"__SPieRect": "___SPieRect_13143_gg_"
|
44
44
|
});
|
45
45
|
var clampAngle = function clampAngle(angle) {
|
46
46
|
angle = angle % (2 * Math.PI);
|
@@ -21,18 +21,18 @@ import createElement from './createElement';
|
|
21
21
|
import { getChartDefaultColorName, measureText } from './utils';
|
22
22
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
23
23
|
/*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
24
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
25
|
-
"__SRadian": "
|
26
|
-
"__SLine": "
|
27
|
-
"_stroke": "
|
28
|
-
"--stroke": "--
|
29
|
-
"_transparent": "
|
30
|
-
"__SCap": "
|
31
|
-
"_pattern": "
|
32
|
-
"__SIcon": "
|
33
|
-
"__SLabel": "
|
34
|
-
"--color": "--
|
35
|
-
"__SLineCap": "
|
24
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_1mbfx_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1mbfx_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1mbfx_gg_.__stroke_1mbfx_gg_{stroke:var(--stroke_1mbfx)}.___SLine_1mbfx_gg_.__transparent_1mbfx_gg_{opacity:.3}.___SCap_1mbfx_gg_{transition:r .1s}.___SCap_1mbfx_gg_.__pattern_1mbfx_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1mbfx_gg_.__transparent_1mbfx_gg_,.___SIcon_1mbfx_gg_.__transparent_1mbfx_gg_,.___SLabel_1mbfx_gg_.__transparent_1mbfx_gg_{opacity:.3}.___SLabel_1mbfx_gg_{fill:var(--color_1mbfx)}@media (hover:hover){.___SRadian_1mbfx_gg_:hover .___SLabel_1mbfx_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1mbfx_gg_{transition:none}}" /*__inner_css_end__*/, "1mbfx_gg_") /*__reshadow_css_end__*/, {
|
25
|
+
"__SRadian": "___SRadian_1mbfx_gg_",
|
26
|
+
"__SLine": "___SLine_1mbfx_gg_",
|
27
|
+
"_stroke": "__stroke_1mbfx_gg_",
|
28
|
+
"--stroke": "--stroke_1mbfx",
|
29
|
+
"_transparent": "__transparent_1mbfx_gg_",
|
30
|
+
"__SCap": "___SCap_1mbfx_gg_",
|
31
|
+
"_pattern": "__pattern_1mbfx_gg_",
|
32
|
+
"__SIcon": "___SIcon_1mbfx_gg_",
|
33
|
+
"__SLabel": "___SLabel_1mbfx_gg_",
|
34
|
+
"--color": "--color_1mbfx",
|
35
|
+
"__SLineCap": "___SLineCap_1mbfx_gg_"
|
36
36
|
});
|
37
37
|
var baseAngle = -Math.PI / 2; // The top vertical line
|
38
38
|
var RadialTreeBase = /*#__PURE__*/function (_Component) {
|
@@ -12,18 +12,18 @@ import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
|
|
12
12
|
import createElement from './createElement';
|
13
13
|
import { scaleOfBandwidth } from './utils';
|
14
14
|
/*__reshadow-styles__:"./style/reference.shadow.css"*/
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
16
|
-
"__SReferenceLine": "
|
17
|
-
"__STitle": "
|
18
|
-
"--transform-origin": "--transform-
|
19
|
-
"_position_top": "
|
20
|
-
"_position_bottom": "
|
21
|
-
"_position_right": "
|
22
|
-
"_position_left": "
|
23
|
-
"__SBackground": "
|
24
|
-
"__SStripes": "
|
25
|
-
"--fill": "--
|
26
|
-
"__SStripesPatternPath": "
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_ubj1i_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_ubj1i_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_ubj1i)}.___STitle_ubj1i_gg_._position_top_ubj1i_gg_{text-anchor:middle}.___STitle_ubj1i_gg_._position_bottom_ubj1i_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_ubj1i_gg_._position_left_ubj1i_gg_,.___STitle_ubj1i_gg_._position_right_ubj1i_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_ubj1i_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_ubj1i_gg_{fill:var(--fill_ubj1i)}.___SStripesPatternPath_ubj1i_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "ubj1i_gg_") /*__reshadow_css_end__*/, {
|
16
|
+
"__SReferenceLine": "___SReferenceLine_ubj1i_gg_",
|
17
|
+
"__STitle": "___STitle_ubj1i_gg_",
|
18
|
+
"--transform-origin": "--transform-origin_ubj1i",
|
19
|
+
"_position_top": "_position_top_ubj1i_gg_",
|
20
|
+
"_position_bottom": "_position_bottom_ubj1i_gg_",
|
21
|
+
"_position_right": "_position_right_ubj1i_gg_",
|
22
|
+
"_position_left": "_position_left_ubj1i_gg_",
|
23
|
+
"__SBackground": "___SBackground_ubj1i_gg_",
|
24
|
+
"__SStripes": "___SStripes_ubj1i_gg_",
|
25
|
+
"--fill": "--fill_ubj1i",
|
26
|
+
"__SStripesPatternPath": "___SStripesPatternPath_ubj1i_gg_"
|
27
27
|
});
|
28
28
|
var side2direction = {
|
29
29
|
left: 'vertical',
|
@@ -18,15 +18,15 @@ import { getScatterPlotRadius } from './utils';
|
|
18
18
|
import Tooltip from './Tooltip';
|
19
19
|
import { PatternFill } from './Pattern';
|
20
20
|
/*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
|
21
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
22
|
-
"__SScatterPlot": "
|
23
|
-
"_color": "
|
24
|
-
"--color": "--
|
25
|
-
"_pattern": "
|
26
|
-
"--pattern": "--
|
27
|
-
"_transparent": "
|
28
|
-
"__SValue": "
|
29
|
-
"--duration": "--
|
21
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_pot5s_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_pot5s);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_pot5s_gg_:hover{opacity:.8}}.___SScatterPlot_pot5s_gg_.__color_pot5s_gg_{fill:var(--color_pot5s)}.___SScatterPlot_pot5s_gg_.__pattern_pot5s_gg_.__color_pot5s_gg_{fill:var(--pattern_pot5s);stroke:var(--color_pot5s);stroke-width:1px}.___SScatterPlot_pot5s_gg_.__transparent_pot5s_gg_{opacity:.3}.___SValue_pot5s_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_pot5s_gg_.__color_pot5s_gg_{stroke:var(--color_pot5s)}.___SValue_pot5s_gg_.__transparent_pot5s_gg_{opacity:.3}" /*__inner_css_end__*/, "pot5s_gg_") /*__reshadow_css_end__*/, {
|
22
|
+
"__SScatterPlot": "___SScatterPlot_pot5s_gg_",
|
23
|
+
"_color": "__color_pot5s_gg_",
|
24
|
+
"--color": "--color_pot5s",
|
25
|
+
"_pattern": "__pattern_pot5s_gg_",
|
26
|
+
"--pattern": "--pattern_pot5s",
|
27
|
+
"_transparent": "__transparent_pot5s_gg_",
|
28
|
+
"__SValue": "___SValue_pot5s_gg_",
|
29
|
+
"--duration": "--duration_pot5s"
|
30
30
|
});
|
31
31
|
var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
|
32
32
|
_inherits(ScatterPlotRoot, _Component);
|
@@ -21,15 +21,15 @@ import createElement from './createElement';
|
|
21
21
|
import { getChartDefaultColorName } from './utils';
|
22
22
|
import { useColorResolver } from 'intergalactic/utils/lib/use/useColorResolver';
|
23
23
|
/*__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
24
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
25
|
-
"__STooltip": "
|
26
|
-
"__STitle": "
|
27
|
-
"__SDotGroup": "
|
28
|
-
"__SDot": "
|
29
|
-
"__SDotCircle": "
|
30
|
-
"_color": "
|
31
|
-
"--color": "--
|
32
|
-
"__SFooter": "
|
24
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_1lxfx_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_1lxfx_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_1lxfx_gg_{display:flex;align-items:center}.___SDot_1lxfx_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_1lxfx_gg_.__color_1lxfx_gg_{background-color:var(--color_1lxfx);width:8px;height:8px;border-radius:50%}.___SFooter_1lxfx_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))}" /*__inner_css_end__*/, "1lxfx_gg_") /*__reshadow_css_end__*/, {
|
25
|
+
"__STooltip": "___STooltip_1lxfx_gg_",
|
26
|
+
"__STitle": "___STitle_1lxfx_gg_",
|
27
|
+
"__SDotGroup": "___SDotGroup_1lxfx_gg_",
|
28
|
+
"__SDot": "___SDot_1lxfx_gg_",
|
29
|
+
"__SDotCircle": "___SDotCircle_1lxfx_gg_",
|
30
|
+
"_color": "__color_1lxfx_gg_",
|
31
|
+
"--color": "--color_1lxfx",
|
32
|
+
"__SFooter": "___SFooter_1lxfx_gg_"
|
33
33
|
});
|
34
34
|
import { PatternSymbol } from './Pattern';
|
35
35
|
|
package/d3-chart/lib/es6/Venn.js
CHANGED
@@ -20,15 +20,15 @@ import Tooltip from './Tooltip';
|
|
20
20
|
import { PatternFill } from './Pattern';
|
21
21
|
import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
|
22
22
|
/*__reshadow-styles__:"./style/venn.shadow.css"*/
|
23
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
24
|
-
"__SCircle": "
|
25
|
-
"_color": "
|
26
|
-
"--color": "--
|
27
|
-
"_transparent": "
|
28
|
-
"__SIntersection": "
|
29
|
-
"--duration": "--
|
30
|
-
"_pattern": "
|
31
|
-
"--pattern": "--
|
23
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_10lwc_gg_,.___SIntersection_10lwc_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_10lwc_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_10lwc);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_10lwc_gg_:hover{fill-opacity:.7}}.___SCircle_10lwc_gg_.__color_10lwc_gg_{fill:var(--color_10lwc)}.___SCircle_10lwc_gg_.__pattern_10lwc_gg_.__color_10lwc_gg_{fill:var(--pattern_10lwc);fill-opacity:.7;stroke:var(--color_10lwc);stroke-width:1px}@media (hover:hover){.___SCircle_10lwc_gg_.__pattern_10lwc_gg_.__color_10lwc_gg_:hover{fill-opacity:.85}}.___SCircle_10lwc_gg_.__transparent_10lwc_gg_{opacity:.3}.___SIntersection_10lwc_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_10lwc_gg_:hover{fill-opacity:.1}}.___SIntersection_10lwc_gg_.__transparent_10lwc_gg_{opacity:.3}" /*__inner_css_end__*/, "10lwc_gg_") /*__reshadow_css_end__*/, {
|
24
|
+
"__SCircle": "___SCircle_10lwc_gg_",
|
25
|
+
"_color": "__color_10lwc_gg_",
|
26
|
+
"--color": "--color_10lwc",
|
27
|
+
"_transparent": "__transparent_10lwc_gg_",
|
28
|
+
"__SIntersection": "___SIntersection_10lwc_gg_",
|
29
|
+
"--duration": "--duration_10lwc",
|
30
|
+
"_pattern": "__pattern_10lwc_gg_",
|
31
|
+
"--pattern": "--pattern_10lwc"
|
32
32
|
});
|
33
33
|
var VennRoot = /*#__PURE__*/function (_Component) {
|
34
34
|
_inherits(VennRoot, _Component);
|
@@ -10,8 +10,8 @@ import { normalizeLocale } from './locale';
|
|
10
10
|
import { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';
|
11
11
|
import { Root, sstyled } from 'intergalactic/core';
|
12
12
|
/*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
|
13
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
14
|
-
"__SPlotA11yModule": "
|
13
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_100fm_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_100fm_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "100fm_gg_") /*__reshadow_css_end__*/, {
|
14
|
+
"__SPlotA11yModule": "___SPlotA11yModule_100fm_gg_"
|
15
15
|
});
|
16
16
|
import { Context as I18nContext, useI18n } from 'intergalactic/utils/lib/enhances/WithI18n';
|
17
17
|
import { Box } from 'intergalactic/flex-box';
|
@@ -9,8 +9,8 @@ import { getIntl } from './intl';
|
|
9
9
|
import { summarize } from './summarize';
|
10
10
|
import { Root, sstyled } from 'intergalactic/core';
|
11
11
|
/*__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
|
12
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
13
|
-
"__SPlotA11yView": "
|
12
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_ug05b_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);border:3px solid var(--intergalactic-border-primary, #c4c7cf);font-size:var(--intergalactic-fs-50, 10px);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_ug05b_gg_:focus,.___SPlotA11yView_ug05b_gg_:focus-within{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1;z-index:var(--intergalactic-z-index-overlay, 500);position:relative;display:block}.___SPlotA11yView_ug05b_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_ug05b_gg_ table,.___SPlotA11yView_ug05b_gg_ td,.___SPlotA11yView_ug05b_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "ug05b_gg_") /*__reshadow_css_end__*/, {
|
13
|
+
"__SPlotA11yView": "___SPlotA11yView_ug05b_gg_"
|
14
14
|
});
|
15
15
|
import { Box } from 'intergalactic/flex-box';
|
16
16
|
import { useAsyncI18nMessages } from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
@@ -10,10 +10,10 @@ import React from 'react';
|
|
10
10
|
import createComponent, { sstyled, Root } from 'intergalactic/core';
|
11
11
|
import { Flex } from 'intergalactic/flex-box';
|
12
12
|
/*__reshadow-styles__:"./legend-flex.shadow.css"*/
|
13
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
14
|
-
"__SLegendFlex": "
|
15
|
-
"_direction_row": "
|
16
|
-
"_direction_column": "
|
13
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_vvm4y_gg_._direction_row_vvm4y_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_vvm4y_gg_._direction_column_vvm4y_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "vvm4y_gg_") /*__reshadow_css_end__*/, {
|
14
|
+
"__SLegendFlex": "___SLegendFlex_vvm4y_gg_",
|
15
|
+
"_direction_row": "_direction_row_vvm4y_gg_",
|
16
|
+
"_direction_column": "_direction_column_vvm4y_gg_"
|
17
17
|
});
|
18
18
|
import { LegendItemComponent } from '../LegendItem/LegendItem';
|
19
19
|
import Divider from 'intergalactic/divider';
|
@@ -19,23 +19,23 @@ import { Flex, Box } from 'intergalactic/flex-box';
|
|
19
19
|
import Checkbox from 'intergalactic/checkbox';
|
20
20
|
import { Text as TypographyText } from 'intergalactic/typography';
|
21
21
|
/*__reshadow-styles__:"./legend-item.shadow.css"*/
|
22
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
23
|
-
"__SLegendItem": "
|
24
|
-
"_disabled": "
|
25
|
-
"__SPointShape": "
|
26
|
-
"_color": "
|
27
|
-
"--color": "--
|
28
|
-
"_shape_Circle": "
|
29
|
-
"_size_l": "
|
30
|
-
"_size_m": "
|
31
|
-
"_shape_Line": "
|
32
|
-
"_shape_Square": "
|
33
|
-
"_shape_Pattern": "
|
34
|
-
"__SIcon": "
|
35
|
-
"__SLabel": "
|
36
|
-
"__SAdditionalLabel": "
|
37
|
-
"__SCount": "
|
38
|
-
"__SPatternSymbol": "
|
22
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendItem_hi751_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_hi751_gg_:hover{cursor:pointer}.___SLegendItem_hi751_gg_.__disabled_hi751_gg_:hover{cursor:default}}.___SPointShape_hi751_gg_.__color_hi751_gg_{background-color:var(--color_hi751);margin-right:8px;flex-shrink:0}.___SPointShape_hi751_gg_._shape_Circle_hi751_gg_._size_l_hi751_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_hi751_gg_._shape_Circle_hi751_gg_._size_m_hi751_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_hi751_gg_._shape_Line_hi751_gg_._size_l_hi751_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_hi751_gg_._shape_Line_hi751_gg_._size_m_hi751_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_hi751_gg_._shape_Square_hi751_gg_._size_l_hi751_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_hi751_gg_._shape_Square_hi751_gg_._size_m_hi751_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_hi751_gg_._shape_Pattern_hi751_gg_{background-color:transparent;margin-right:4px}.___SIcon_hi751_gg_{line-height:0;margin-right:4px}.___SIcon_hi751_gg_._size_l_hi751_gg_{margin-top:4px}.___SIcon_hi751_gg_._size_m_hi751_gg_{margin-top:2px}.___SLabel_hi751_gg_{min-width:0}.___SAdditionalLabel_hi751_gg_._size_l_hi751_gg_,.___SCount_hi751_gg_._size_l_hi751_gg_,.___SLabel_hi751_gg_._size_l_hi751_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_hi751_gg_._size_m_hi751_gg_,.___SCount_hi751_gg_._size_m_hi751_gg_,.___SLabel_hi751_gg_._size_m_hi751_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_hi751_gg_,.___SCount_hi751_gg_{margin-left:4px}.___SAdditionalLabel_hi751_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_hi751_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_hi751_gg_._size_l_hi751_gg_::before{margin-top:10px}.___SAdditionalLabel_hi751_gg_._size_m_hi751_gg_::before{margin-top:8px}.___SPatternSymbol_hi751_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "hi751_gg_") /*__reshadow_css_end__*/, {
|
23
|
+
"__SLegendItem": "___SLegendItem_hi751_gg_",
|
24
|
+
"_disabled": "__disabled_hi751_gg_",
|
25
|
+
"__SPointShape": "___SPointShape_hi751_gg_",
|
26
|
+
"_color": "__color_hi751_gg_",
|
27
|
+
"--color": "--color_hi751",
|
28
|
+
"_shape_Circle": "_shape_Circle_hi751_gg_",
|
29
|
+
"_size_l": "_size_l_hi751_gg_",
|
30
|
+
"_size_m": "_size_m_hi751_gg_",
|
31
|
+
"_shape_Line": "_shape_Line_hi751_gg_",
|
32
|
+
"_shape_Square": "_shape_Square_hi751_gg_",
|
33
|
+
"_shape_Pattern": "_shape_Pattern_hi751_gg_",
|
34
|
+
"__SIcon": "___SIcon_hi751_gg_",
|
35
|
+
"__SLabel": "___SLabel_hi751_gg_",
|
36
|
+
"__SAdditionalLabel": "___SAdditionalLabel_hi751_gg_",
|
37
|
+
"__SCount": "___SCount_hi751_gg_",
|
38
|
+
"__SPatternSymbol": "___SPatternSymbol_hi751_gg_"
|
39
39
|
});
|
40
40
|
import { StaticShapes } from './LegendItem.type';
|
41
41
|
import resolveColorEnhance from 'intergalactic/utils/lib/enhances/resolveColorEnhance';
|
@@ -11,12 +11,12 @@ import React from 'react';
|
|
11
11
|
import createComponent, { sstyled, Root } from 'intergalactic/core';
|
12
12
|
import { Box } from 'intergalactic/flex-box';
|
13
13
|
/*__reshadow-styles__:"./legend-table.shadow.css"*/
|
14
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
15
|
-
"__SLegendTable": "
|
16
|
-
"_columns-count": "__columns-
|
17
|
-
"__SColumnItem": "
|
18
|
-
"_size_l": "
|
19
|
-
"_size_m": "
|
14
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendTable_7tshf_gg_.__columns-count_7tshf_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_7tshf_gg_._size_l_7tshf_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_7tshf_gg_._size_m_7tshf_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "7tshf_gg_") /*__reshadow_css_end__*/, {
|
15
|
+
"__SLegendTable": "___SLegendTable_7tshf_gg_",
|
16
|
+
"_columns-count": "__columns-count_7tshf_gg_",
|
17
|
+
"__SColumnItem": "___SColumnItem_7tshf_gg_",
|
18
|
+
"_size_l": "_size_l_7tshf_gg_",
|
19
|
+
"_size_m": "_size_m_7tshf_gg_"
|
20
20
|
});
|
21
21
|
import { LegendItemComponent } from '../LegendItem/LegendItem';
|
22
22
|
import { BaseLegend } from '../BaseLegend';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Bar.d.js","names":[],"sources":["../../../src/types/Bar.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { IntergalacticD3Component } from './Plot';\nimport { ScaleBand, ScaleLinear } from 'd3-scale';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IBarProps extends BarProps, UnknownProperties {}\nexport type BarProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Line color */\n color?: string;\n /** Element hide property */\n hide?: boolean;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Radius of curvature\n * @default 2\n */\n r?: number | number[];\n /** Minimal height\n * @default 2\n */\n hMin?: number;\n /**\n * Bar click handler\n */\n onClick?: (\n data: { [key: string]: string | number | Date },\n event: React.SyntheticEvent,\n barIndex: number,\n barKey: string,\n ) => void;\n /** Enables element transparency */\n transparent?: boolean;\n /**\n * The maximum width of each Bar\n */\n maxBarSize?: number;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\n/** @deprecated */\nexport interface IBarContext extends BarContext, UnknownProperties {}\nexport type BarContext = {\n scale: [ScaleBand<any>, ScaleLinear<any, any>];\n /** @deprecated */\n value: unknown;\n /** Index in `data` array */\n index: number;\n x: number;\n y: number;\n width: number;\n height: number;\n};\n\n/** @deprecated */\nexport interface IBackgroundProps extends BackgroundProps, UnknownProperties {}\nexport type BackgroundProps = Context & {\n /** Coordinate x */\n x?: number | string;\n /** Coordinate y */\n y?: number | string;\n /** Value element of data */\n /** @deprecated */\n value?: any;\n /** Width rect */\n width?: number | string;\n /** Height rect */\n height?: number | string;\n};\n\ntype BackgroundContext = Context & {\n /** Index in `data` array */\n index: number;\n};\n\ndeclare const Bar: IntergalacticD3Component<'rect', BarProps, BarContext> & {\n Background: IntergalacticD3Component<'rect', BackgroundProps, BackgroundContext>;\n};\n\nexport default Bar;\n"],"mappings":""}
|
1
|
+
{"version":3,"file":"Bar.d.js","names":[],"sources":["../../../src/types/Bar.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { IntergalacticD3Component } from './Plot';\nimport { ScaleBand, ScaleLinear } from 'd3-scale';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IBarProps extends BarProps, UnknownProperties {}\nexport type BarProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Line color */\n color?: string;\n /** Element hide property */\n hide?: boolean;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Radius of curvature\n * @default 2\n */\n r?: number | number[];\n /** Minimal height\n * @default 2\n */\n hMin?: number;\n /**\n * Bar click handler\n */\n onClick?: (\n data: { [key: string]: string | number | Date },\n event: React.SyntheticEvent,\n barIndex: number,\n barKey: string,\n ) => void;\n /** Enables element transparency */\n transparent?: boolean;\n /**\n * The maximum width of each Bar\n */\n maxBarSize?: number;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n /**\n * Defines the x and y offset for positioning bars\n */\n offset?: [number, number] | ((index: number) => [number, number]);\n};\n\n/** @deprecated */\nexport interface IBarContext extends BarContext, UnknownProperties {}\nexport type BarContext = {\n scale: [ScaleBand<any>, ScaleLinear<any, any>];\n /** @deprecated */\n value: unknown;\n /** Index in `data` array */\n index: number;\n x: number;\n y: number;\n width: number;\n height: number;\n};\n\n/** @deprecated */\nexport interface IBackgroundProps extends BackgroundProps, UnknownProperties {}\nexport type BackgroundProps = Context & {\n /** Coordinate x */\n x?: number | string;\n /** Coordinate y */\n y?: number | string;\n /** Value element of data */\n /** @deprecated */\n value?: any;\n /** Width rect */\n width?: number | string;\n /** Height rect */\n height?: number | string;\n};\n\ntype BackgroundContext = Context & {\n /** Index in `data` array */\n index: number;\n};\n\ndeclare const Bar: IntergalacticD3Component<'rect', BarProps, BarContext> & {\n Background: IntergalacticD3Component<'rect', BackgroundProps, BackgroundContext>;\n};\n\nexport default Bar;\n"],"mappings":""}
|
@@ -45,6 +45,10 @@ export type BarProps = Context & {
|
|
45
45
|
maxBarSize?: number;
|
46
46
|
/** Enables charts patterns that enhances charts accessibility */
|
47
47
|
patterns?: PatternsConfig;
|
48
|
+
/**
|
49
|
+
* Defines the x and y offset for positioning bars
|
50
|
+
*/
|
51
|
+
offset?: [number, number] | ((index: number) => [number, number]);
|
48
52
|
};
|
49
53
|
|
50
54
|
/** @deprecated */
|
package/d3-chart/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/d3-chart","description":"Semrush D3 Chart Component","version":"3.
|
1
|
+
{"name":"intergalactic/d3-chart","description":"Semrush D3 Chart Component","version":"3.54.0","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.js","types":"./lib/types/index.d.ts"},"scripts":{"build":"pnpm semcore-builder --source=js,ts"},"dependencies":{"@formatjs/intl":"2.3.0","@semcore/animation":"2.35.0","@semcore/divider":"4.34.0","@semcore/flex-box":"5.35.0","@semcore/popper":"5.42.0","@semcore/utils":"4.39.0","@types/d3-shape":"^3.1.0","@upsetjs/venn.js":"1.4.2","d3-array":"3.1.6","d3-interpolate":"3.0.1","d3-polygon":"^3.0.1","d3-scale":"4.0.2","d3-shape":"3.2.0","d3-time":"3.1.0","d3-time-format":"4.1.0","d3-transition":"3.0.1","hoist-non-react-statics":"3.3.2"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/d3-chart"},"devDependencies":{"@semcore/babel-plugin-react-semcore":"^4.2.1","@semcore/button":"*","@semcore/divider":"*","@semcore/checkbox":"*","@semcore/dropdown-menu":"*","@semcore/ellipsis":"*","@semcore/icon":"*","@semcore/testing-utils":"1.0.0","@semcore/typography":"*","@semcore/utils":"*","@types/d3-array":"^3.0.2","@types/d3-scale":"^4.0.2","@types/d3-transition":"^3.0.1","@types/react":"18.0.21"}}
|
@@ -33,9 +33,9 @@ var _getFocusableIn = require("intergalactic/utils/lib/focus-lock/getFocusableIn
|
|
33
33
|
var _excluded = ["childrenPropsGetter"],
|
34
34
|
_excluded2 = ["childrenPropsGetter"];
|
35
35
|
/*__reshadow-styles__:"./style/scroll-shadows.shadow.css"*/
|
36
|
-
var scrollStyles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
37
|
-
"__SShadowHorizontal": "
|
38
|
-
"__SShadowVertical": "
|
36
|
+
var scrollStyles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SShadowHorizontal_3qhl4_gg_:after,.___SShadowHorizontal_3qhl4_gg_:before,.___SShadowVertical_3qhl4_gg_:after,.___SShadowVertical_3qhl4_gg_:before{z-index:1}" /*__inner_css_end__*/, "3qhl4_gg_") /*__reshadow_css_end__*/, {
|
37
|
+
"__SShadowHorizontal": "___SShadowHorizontal_3qhl4_gg_",
|
38
|
+
"__SShadowVertical": "___SShadowVertical_3qhl4_gg_"
|
39
39
|
});
|
40
40
|
var testEnv = process.env.NODE_ENV === 'test';
|
41
41
|
var getCellsByColumn = function getCellsByColumn(cells) {
|