intergalactic 15.126.0 → 15.126.1-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 +10 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +72 -72
- package/accordion/package.json +1 -1
- package/add-filter/package.json +1 -1
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/animation/lib/esm/Animation.mjs +39 -39
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +36 -36
- package/animation/lib/esm/Scale.mjs +49 -49
- package/animation/lib/esm/Slide.mjs +37 -37
- package/animation/lib/esm/Transform.mjs +40 -40
- package/animation/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/badge/lib/esm/Badge.mjs +28 -28
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +7 -7
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/lib/esm/BaseTrigger.mjs +53 -53
- package/base-trigger/lib/esm/ButtonTrigger.mjs +13 -13
- package/base-trigger/lib/esm/FilterTrigger.mjs +62 -62
- package/base-trigger/lib/esm/LinkTrigger.mjs +41 -41
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/esm/Breadcrumbs.mjs +42 -42
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +83 -83
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +27 -27
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +27 -27
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +61 -61
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +58 -58
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/lib/esm/Card.mjs +49 -49
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/lib/esm/Carousel.mjs +155 -155
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/checkbox/lib/esm/Checkbox.mjs +126 -126
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/esm/ColorPicker.mjs +87 -87
- package/color-picker/lib/esm/PaletteManager.mjs +74 -74
- package/color-picker/lib/esm/components/InputColor.mjs +75 -75
- package/color-picker/package.json +1 -1
- package/components.json +75 -75
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/lib/esm/Counter.mjs +38 -38
- package/counter/package.json +1 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +16 -16
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Donut.js +9 -9
- package/d3-chart/lib/cjs/Dots.js +8 -8
- package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Hover.js +3 -3
- package/d3-chart/lib/cjs/Line.js +9 -9
- package/d3-chart/lib/cjs/Plot.js +3 -3
- package/d3-chart/lib/cjs/Radar.js +19 -19
- package/d3-chart/lib/cjs/RadialTree.js +12 -12
- package/d3-chart/lib/cjs/Reference.js +12 -12
- package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
- package/d3-chart/lib/cjs/Tooltip.js +9 -9
- package/d3-chart/lib/cjs/Venn.js +9 -9
- package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/Area.js +11 -11
- package/d3-chart/lib/es6/Axis.js +14 -14
- package/d3-chart/lib/es6/Bar.js +16 -16
- package/d3-chart/lib/es6/Bubble.js +12 -12
- package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Donut.js +9 -9
- package/d3-chart/lib/es6/Dots.js +8 -8
- package/d3-chart/lib/es6/HorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Hover.js +3 -3
- package/d3-chart/lib/es6/Line.js +9 -9
- package/d3-chart/lib/es6/Plot.js +3 -3
- package/d3-chart/lib/es6/Radar.js +19 -19
- package/d3-chart/lib/es6/RadialTree.js +12 -12
- package/d3-chart/lib/es6/Reference.js +12 -12
- package/d3-chart/lib/es6/ScatterPlot.js +9 -9
- package/d3-chart/lib/es6/Tooltip.js +9 -9
- package/d3-chart/lib/es6/Venn.js +9 -9
- package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +70 -70
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +120 -120
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +59 -59
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +101 -101
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +113 -113
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +132 -132
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +58 -58
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +52 -52
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +51 -51
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +79 -79
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +33 -33
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +195 -195
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +96 -96
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +60 -60
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +35 -35
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +57 -57
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +28 -28
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +36 -36
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +26 -26
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +79 -79
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +43 -43
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +3 -3
- package/data-table/lib/cjs/DataTable.js +36 -36
- package/data-table/lib/es6/Body.js +3 -3
- package/data-table/lib/es6/DataTable.js +36 -36
- package/data-table/lib/esm/Body.mjs +53 -53
- package/data-table/lib/esm/DataTable.mjs +229 -229
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/esm/semcore/date-picker/src/components/Calendar.mjs +147 -147
- package/date-picker/lib/esm/semcore/date-picker/src/components/DateRangeComparatorAbstract.mjs +191 -191
- package/date-picker/lib/esm/semcore/date-picker/src/components/InputTrigger.mjs +209 -209
- package/date-picker/lib/esm/semcore/date-picker/src/components/PickerAbstract.mjs +109 -109
- package/date-picker/lib/esm/semcore/date-picker/src/components/RangePickerAbstract.mjs +144 -144
- package/date-picker/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/lib/esm/Divider.mjs +34 -34
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/lib/esm/Dot.mjs +41 -41
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/esm/DragAndDrop.mjs +171 -171
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/esm/Dropdown.mjs +99 -99
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/esm/DropdownMenu.mjs +162 -162
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/ellipsis/lib/esm/Ellipsis.mjs +96 -96
- package/ellipsis/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/lib/esm/Error.mjs +29 -29
- package/errors/package.json +1 -1
- package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
- package/feature-popover/lib/es6/FeaturePopover.js +11 -11
- package/feature-popover/lib/esm/FeaturePopover.mjs +74 -74
- package/feature-popover/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/esm/FeedbackForm.mjs +28 -28
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +25 -25
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +54 -54
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +49 -49
- package/feedback-form/package.json +1 -1
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flags/package.json +1 -1
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/esm/Box/useBox.mjs +12 -12
- package/flex-box/lib/esm/Flex/useFlex.mjs +16 -16
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +13 -13
- package/flex-box/package.json +1 -1
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/esm/FullscreenModal.mjs +74 -74
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/lib/esm/Grid.mjs +153 -153
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MetaColored/l/index.js +4 -4
- package/icon/color/MetaColored/l/index.mjs +4 -4
- package/icon/color/MetaColored/m/index.js +4 -4
- package/icon/color/MetaColored/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/lib/esm/Icon.mjs +24 -24
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/lib/cjs/index.js +1 -1
- package/illustration/lib/es6/index.js +1 -1
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-edit/lib/esm/InlineEdit.mjs +36 -36
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/cjs/InlineInput.js +14 -14
- package/inline-input/lib/es6/InlineInput.js +14 -14
- package/inline-input/lib/esm/InlineInput.mjs +102 -102
- package/inline-input/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input/lib/esm/Input.mjs +59 -59
- package/input/package.json +1 -1
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-mask/lib/esm/InputMask.mjs +55 -55
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-number/lib/esm/InputNumber.mjs +138 -138
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/lib/esm/InputTags.mjs +105 -105
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/lib/esm/Link.mjs +50 -50
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +18 -18
- package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
- package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
- package/mini-chart/lib/es6/component/score/Donut.js +9 -9
- package/mini-chart/lib/es6/component/score/Line.js +18 -18
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/mini-chart/lib/esm/component/score/Donut.mjs +29 -29
- package/mini-chart/lib/esm/component/score/Line.mjs +46 -46
- package/mini-chart/lib/esm/component/trend/Bar.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Line.mjs +54 -54
- package/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +60 -60
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +53 -53
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
- package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
- package/notice-bubble/lib/esm/NoticeBubble.mjs +129 -129
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/notice-global/lib/esm/NoticeGlobal.mjs +54 -54
- package/notice-global/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +12 -12
- package/pagination/lib/es6/Pagination.js +12 -12
- package/pagination/lib/esm/Pagination.mjs +141 -141
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/lib/esm/Pills.mjs +84 -84
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/esm/Popper.mjs +110 -110
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/product-head/lib/esm/Info.mjs +25 -25
- package/product-head/lib/esm/ProductHead.mjs +33 -33
- package/product-head/lib/esm/Title.mjs +20 -20
- package/product-head/package.json +1 -1
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/progress-bar/lib/esm/ProgressBar.mjs +58 -58
- package/progress-bar/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/lib/esm/Radio.mjs +123 -123
- package/radio/package.json +1 -1
- package/scroll-area/lib/cjs/ScrollArea.js +21 -21
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/ScrollArea.js +21 -21
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/lib/esm/ScrollArea.mjs +103 -103
- package/scroll-area/lib/esm/ScrollBar.mjs +34 -34
- package/scroll-area/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/esm/InputSearch.mjs +51 -51
- package/select/lib/esm/Select.mjs +126 -126
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +114 -114
- package/side-panel/package.json +1 -1
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/skeleton/lib/esm/Charts/Area.mjs +21 -21
- package/skeleton/lib/esm/Charts/Bar.mjs +19 -19
- package/skeleton/lib/esm/Charts/Bubble.mjs +20 -20
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +16 -16
- package/skeleton/lib/esm/Charts/Donut.mjs +28 -28
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +22 -22
- package/skeleton/lib/esm/Charts/RadialTree.mjs +17 -17
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +18 -18
- package/skeleton/lib/esm/Charts/Venn.mjs +23 -23
- package/skeleton/lib/esm/Skeleton.mjs +64 -64
- package/skeleton/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/lib/esm/Slider.mjs +79 -79
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin/lib/esm/Spin.mjs +40 -40
- package/spin/package.json +1 -1
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/spin-container/lib/esm/SpinContainer.mjs +50 -50
- package/spin-container/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/lib/esm/Sticky.mjs +15 -15
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/lib/esm/Switch.mjs +90 -90
- package/switch/package.json +1 -1
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-line/lib/esm/TabLine.mjs +88 -88
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tab-panel/lib/esm/TabPanel.mjs +47 -47
- package/tab-panel/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/lib/esm/Tag.mjs +154 -154
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/textarea/lib/esm/Textarea.mjs +35 -35
- package/textarea/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/TimePicker.mjs +72 -72
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +108 -108
- package/tooltip/package.json +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/typography/lib/esm/Blockquote.mjs +15 -15
- package/typography/lib/esm/Hint.mjs +45 -45
- package/typography/lib/esm/List.mjs +35 -35
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/package.json +1 -1
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/lib/esm/WidgetEmpty.mjs +31 -31
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +72 -72
- package/wizard/package.json +1 -1
@@ -1,16 +1,16 @@
|
|
1
|
-
import
|
1
|
+
import F from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import ra from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
|
-
import
|
3
|
+
import W from "@babel/runtime/helpers/esm/slicedToArray";
|
4
4
|
import na from "@babel/runtime/helpers/esm/toConsumableArray";
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
5
|
+
import B from "@babel/runtime/helpers/esm/classCallCheck";
|
6
|
+
import j from "@babel/runtime/helpers/esm/createClass";
|
7
|
+
import K from "@babel/runtime/helpers/esm/assertThisInitialized";
|
8
8
|
import U from "@babel/runtime/helpers/esm/inherits";
|
9
9
|
import q from "@babel/runtime/helpers/esm/createSuper";
|
10
10
|
import d from "@babel/runtime/helpers/esm/defineProperty";
|
11
11
|
import { sstyled as ia } from 'intergalactic/utils/lib/core/index';
|
12
12
|
import b from "react";
|
13
|
-
import { transition as
|
13
|
+
import { transition as H } from "d3-transition";
|
14
14
|
import { sstyled as R, Component as G } from 'intergalactic/core';
|
15
15
|
import oa from 'intergalactic/utils/lib/uniqueID';
|
16
16
|
import la from 'intergalactic/utils/lib/assignProps';
|
@@ -23,29 +23,29 @@ var _a = ["data"], Q = (
|
|
23
23
|
/*__reshadow_css_start__*/
|
24
24
|
(ia.insert(
|
25
25
|
/*__inner_css_start__*/
|
26
|
-
".
|
27
|
-
"
|
26
|
+
".___SRadian_15y8y_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_15y8y_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_15y8y_gg_.__stroke_15y8y_gg_{stroke:var(--stroke_15y8y)}.___SLine_15y8y_gg_.__transparent_15y8y_gg_{opacity:.3}.___SCap_15y8y_gg_{transition:r .1s}.___SCap_15y8y_gg_.__pattern_15y8y_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_15y8y_gg_.__transparent_15y8y_gg_,.___SIcon_15y8y_gg_.__transparent_15y8y_gg_,.___SLabel_15y8y_gg_.__transparent_15y8y_gg_{opacity:.3}.___SLabel_15y8y_gg_{fill:var(--color_15y8y)}@media (hover:hover){.___SRadian_15y8y_gg_:hover .___SLabel_15y8y_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_15y8y_gg_{transition:none}}",
|
27
|
+
"15y8y_gg_"
|
28
28
|
), {
|
29
|
-
__SRadian: "
|
30
|
-
__SLine: "
|
31
|
-
_stroke: "
|
32
|
-
"--stroke": "--
|
33
|
-
_transparent: "
|
34
|
-
__SCap: "
|
35
|
-
_pattern: "
|
36
|
-
__SIcon: "
|
37
|
-
__SLabel: "
|
38
|
-
"--color": "--
|
39
|
-
__SLineCap: "
|
29
|
+
__SRadian: "___SRadian_15y8y_gg_",
|
30
|
+
__SLine: "___SLine_15y8y_gg_",
|
31
|
+
_stroke: "__stroke_15y8y_gg_",
|
32
|
+
"--stroke": "--stroke_15y8y",
|
33
|
+
_transparent: "__transparent_15y8y_gg_",
|
34
|
+
__SCap: "___SCap_15y8y_gg_",
|
35
|
+
_pattern: "__pattern_15y8y_gg_",
|
36
|
+
__SIcon: "___SIcon_15y8y_gg_",
|
37
|
+
__SLabel: "___SLabel_15y8y_gg_",
|
38
|
+
"--color": "--color_15y8y",
|
39
|
+
__SLineCap: "___SLineCap_15y8y_gg_"
|
40
40
|
})
|
41
|
-
),
|
42
|
-
U(
|
43
|
-
var i = q(
|
44
|
-
function
|
41
|
+
), N = -Math.PI / 2, V = /* @__PURE__ */ function(z) {
|
42
|
+
U(h, z);
|
43
|
+
var i = q(h);
|
44
|
+
function h(p) {
|
45
45
|
var a;
|
46
|
-
return
|
46
|
+
return B(this, h), a = i.call(this, p), d(K(a), "Element", void 0), a.handleRadianClick = a.handleRadianClick.bind(K(a)), a;
|
47
47
|
}
|
48
|
-
return
|
48
|
+
return j(h, [{
|
49
49
|
key: "uncontrolledProps",
|
50
50
|
value: function() {
|
51
51
|
return {
|
@@ -59,10 +59,10 @@ var _a = ["data"], Q = (
|
|
59
59
|
if (da()) {
|
60
60
|
var e = (a = window.matchMedia("(prefers-reduced-motion: reduce)")) === null || a === void 0 ? void 0 : a.matches;
|
61
61
|
if (r > 0 && !e) {
|
62
|
-
var v =
|
63
|
-
if (
|
64
|
-
var P =
|
65
|
-
var s, t, S, g,
|
62
|
+
var v = H().selection().selectAll("[data-radial-animation=".concat(o, "-cap-circle]")).interrupt(), l = H().selection().selectAll("[data-radial-animation=".concat(o, "-cap-icon]")).interrupt(), u = H().selection().selectAll("[data-radial-animation=".concat(o, "-line]")).interrupt(), _ = H().selection().selectAll("[data-radial-animation=".concat(o, "-label]")).interrupt(), y = v.nodes(), x = l.nodes(), m = u.nodes(), f = u.nodes();
|
63
|
+
if (y.length > 0) {
|
64
|
+
var P = y.map(function(c) {
|
65
|
+
var s, t, S, g, A = parseInt(c.dataset.radianIndex, 10), k = m[A];
|
66
66
|
return {
|
67
67
|
from: {
|
68
68
|
cx: (s = k.x1) === null || s === void 0 || (t = s.baseVal) === null || t === void 0 ? void 0 : t.value,
|
@@ -90,11 +90,11 @@ var _a = ["data"], Q = (
|
|
90
90
|
}
|
91
91
|
if (x.length > 0) {
|
92
92
|
var C = x.map(function(c) {
|
93
|
-
var s, t, S, g,
|
93
|
+
var s, t, S, g, A, k, L, E, I = (s = c.width) === null || s === void 0 || (t = s.baseVal) === null || t === void 0 ? void 0 : t.value, M = (S = c.height) === null || S === void 0 || (g = S.baseVal) === null || g === void 0 ? void 0 : g.value, w = parseInt(c.dataset.radianIndex, 10), T = m[w];
|
94
94
|
return {
|
95
95
|
from: {
|
96
|
-
x: ((
|
97
|
-
y: ((
|
96
|
+
x: ((A = T.x1) === null || A === void 0 || (k = A.baseVal) === null || k === void 0 ? void 0 : k.value) - I / 2,
|
97
|
+
y: ((L = T.y1) === null || L === void 0 || (E = L.baseVal) === null || E === void 0 ? void 0 : E.value) - M / 2
|
98
98
|
},
|
99
99
|
to: {
|
100
100
|
x: c.dataset.x,
|
@@ -179,10 +179,10 @@ var _a = ["data"], Q = (
|
|
179
179
|
}, {
|
180
180
|
key: "getTitleProps",
|
181
181
|
value: function() {
|
182
|
-
var a = this.asProps, n = a.uid, r = a.size, o = a.textSize, e =
|
182
|
+
var a = this.asProps, n = a.uid, r = a.size, o = a.textSize, e = W(r, 2), v = e[0], l = e[1], u = [v / 2, l / 2], _ = u[0], y = u[1];
|
183
183
|
return d({
|
184
184
|
x: _,
|
185
|
-
y
|
185
|
+
y,
|
186
186
|
textSize: o * 1.5
|
187
187
|
}, "data-radial-animation", "".concat(n, "-label"));
|
188
188
|
}
|
@@ -190,7 +190,7 @@ var _a = ["data"], Q = (
|
|
190
190
|
key: "getRadianProps",
|
191
191
|
value: function() {
|
192
192
|
var a = this.asProps, n = a.data, r = ra(a, _a), o = this.computeTextWidth();
|
193
|
-
return
|
193
|
+
return F(F({}, r), {}, {
|
194
194
|
radiansCount: n.length,
|
195
195
|
data: n,
|
196
196
|
textWidth: o,
|
@@ -205,12 +205,12 @@ var _a = ["data"], Q = (
|
|
205
205
|
render: "g"
|
206
206
|
}), /* @__PURE__ */ b.createElement(r, a.cn("Children", {})));
|
207
207
|
}
|
208
|
-
}]),
|
208
|
+
}]), h;
|
209
209
|
}(G);
|
210
|
-
d(
|
211
|
-
d(
|
212
|
-
d(
|
213
|
-
d(
|
210
|
+
d(V, "displayName", "RadialTree");
|
211
|
+
d(V, "style", Q);
|
212
|
+
d(V, "enhance", [oa()]);
|
213
|
+
d(V, "defaultProps", {
|
214
214
|
angleOffset: 0,
|
215
215
|
duration: 300,
|
216
216
|
centralMargin: 50,
|
@@ -221,52 +221,52 @@ d(T, "defaultProps", {
|
|
221
221
|
textSize: 14,
|
222
222
|
defaultActiveKey: null
|
223
223
|
});
|
224
|
-
var
|
225
|
-
U(
|
226
|
-
var i = q(
|
227
|
-
function
|
224
|
+
var D = /* @__PURE__ */ function(z) {
|
225
|
+
U(h, z);
|
226
|
+
var i = q(h);
|
227
|
+
function h(p) {
|
228
228
|
var a;
|
229
|
-
return
|
229
|
+
return B(this, h), a = i.call(this, p), d(K(a), "Element", void 0), a.renderRadian = a.renderRadian.bind(K(a)), a;
|
230
230
|
}
|
231
|
-
return
|
231
|
+
return j(h, [{
|
232
232
|
key: "getInteractiveAreaProps",
|
233
233
|
value: function(a, n) {
|
234
|
-
var r, o = a.$rootProps, e = (r = o.data) === null || r === void 0 ? void 0 : r[n], v = this.computeRadianPosition(e, n), l = v.xStart, u = v.yStart, _ = v.xLabelCenter,
|
234
|
+
var r, o = a.$rootProps, e = (r = o.data) === null || r === void 0 ? void 0 : r[n], v = this.computeRadianPosition(e, n), l = v.xStart, u = v.yStart, _ = v.xLabelCenter, y = v.yLabelCenter, x = v.capSize;
|
235
235
|
return {
|
236
236
|
x1: l,
|
237
237
|
y1: u,
|
238
238
|
x2: _,
|
239
|
-
y2:
|
239
|
+
y2: y,
|
240
240
|
strokeWidth: x * 3
|
241
241
|
};
|
242
242
|
}
|
243
243
|
}, {
|
244
244
|
key: "getLineProps",
|
245
245
|
value: function(a, n) {
|
246
|
-
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xStart,
|
246
|
+
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xStart, y = u.yStart, x = u.xEnd, m = u.yEnd, f = this.asProps, P = f.uid, C = f.transparent, $ = f.resolveColor, c = (o = l.color) !== null && o !== void 0 ? o : this.asProps.color;
|
247
247
|
return e = {
|
248
248
|
x1: _,
|
249
|
-
y1:
|
249
|
+
y1: y,
|
250
250
|
x2: x,
|
251
251
|
y2: m,
|
252
252
|
stroke: c,
|
253
253
|
resolveColor: $,
|
254
254
|
transparent: C
|
255
|
-
}, d(e, "data-x1", _), d(e, "data-y1",
|
255
|
+
}, d(e, "data-x1", _), d(e, "data-y1", y), d(e, "data-x2", x), d(e, "data-y2", m), d(e, "data-radial-animation", "".concat(P, "-line")), d(e, "data-radian-index", n), e;
|
256
256
|
}
|
257
257
|
}, {
|
258
258
|
key: "getCapProps",
|
259
259
|
value: function(a, n) {
|
260
|
-
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xEnd,
|
260
|
+
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xEnd, y = u.yEnd, x = u.capSize, m = this.asProps, f = m.uid, P = m.transparent, C = m.resolveColor, $ = m.patterns, c = (o = l.color) !== null && o !== void 0 ? o : this.asProps.color;
|
261
261
|
return e = {
|
262
262
|
x: _,
|
263
|
-
y
|
264
|
-
}, d(e, "data-cx", _), d(e, "data-cy",
|
263
|
+
y
|
264
|
+
}, d(e, "data-cx", _), d(e, "data-cy", y), d(e, "radius", x), d(e, "color", c), d(e, "resolveColor", C), d(e, "transparent", P), d(e, "patterns", $), d(e, "uid", "".concat(f, "-cap-").concat(n)), d(e, "data-radial-animation", "".concat(f, "-cap-circle")), d(e, "data-radian-index", n), e;
|
265
265
|
}
|
266
266
|
}, {
|
267
267
|
key: "getIconProps",
|
268
268
|
value: function(a, n) {
|
269
|
-
var r, o, e, v, l, u = a.$rootProps, _ = (r = u.data) === null || r === void 0 ? void 0 : r[n],
|
269
|
+
var r, o, e, v, l, u = a.$rootProps, _ = (r = u.data) === null || r === void 0 ? void 0 : r[n], y = this.computeRadianPosition(_, n), x = y.xEnd, m = y.yEnd, f = y.isActive, P = this.asProps, C = P.uid, $ = P.resolveColor, c = (o = _.iconColor) !== null && o !== void 0 ? o : this.asProps.iconColor, s = (e = _.iconSize) !== null && e !== void 0 ? e : this.asProps.iconSize, t = (v = _.icon) !== null && v !== void 0 ? v : this.asProps.icon, S = x - s / 2, g = m - s / 2;
|
270
270
|
return l = {
|
271
271
|
x: S,
|
272
272
|
y: g
|
@@ -275,10 +275,10 @@ var K = /* @__PURE__ */ function(z) {
|
|
275
275
|
}, {
|
276
276
|
key: "getLabelProps",
|
277
277
|
value: function(a, n) {
|
278
|
-
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xLabelCenter,
|
278
|
+
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xLabelCenter, y = u.yLabelCenter, x = u.labelAngle, m = u.isHorizontal, f = this.asProps, P = f.uid, C = f.textSize, $ = f.transparent, c = f.resolveColor, s = l, t = s.label, S = (o = l.color) !== null && o !== void 0 ? o : this.asProps.color;
|
279
279
|
return e = {
|
280
280
|
x: _,
|
281
|
-
y
|
281
|
+
y,
|
282
282
|
angle: x
|
283
283
|
}, d(e, "data-radial-animation", "".concat(P, "-label")), d(e, "data-radian-index", n), d(e, "label", t), d(e, "color", S), d(e, "resolveColor", c), d(e, "isHorizontal", m), d(e, "textSize", C), d(e, "transparent", $), e;
|
284
284
|
}
|
@@ -291,7 +291,7 @@ var K = /* @__PURE__ */ function(z) {
|
|
291
291
|
}, {
|
292
292
|
key: "computeRadianPosition",
|
293
293
|
value: function(a, n) {
|
294
|
-
var r, o = this.asProps, e = o.centralMargin, v = o.labelMargin, l = o.angleOffset, u = o.activeKey, _ = o.size,
|
294
|
+
var r, o = this.asProps, e = o.centralMargin, v = o.labelMargin, l = o.angleOffset, u = o.activeKey, _ = o.size, y = o.radiansCount, x = o.textWidth, m = W(_, 2), f = m[0], P = m[1], C = this.getRadianKey(a, n), $ = u === C, c = (r = a.capSize) !== null && r !== void 0 ? r : this.asProps.capSize, s = c * ($ ? 1 : 0.5), t = Math.min(f, P) / 2, S = Math.max(t - x - c - e - v * 2, 10), g = N + l + n / y * (Math.PI * 2), A = g - N > 1 / 6 * Math.PI && g - N < 5 / 6 * Math.PI || g - N > 7 / 6 * Math.PI && g - N < 11 / 6 * Math.PI, k = -Math.PI / 2, L = (g - k) % Math.PI + k, E = [f / 2, P / 2], I = E[0], M = E[1], w = [I + Math.cos(g) * e, M + Math.sin(g) * e], T = [I + Math.cos(g) * (e + S), M + Math.sin(g) * (e + S)], X = w[0], Y = w[1], Z = T[0], aa = T[1], O = [I + Math.cos(g) * (e + S + c + x / 2 + v), M + Math.sin(g) * (e + S + c + x / 2 + v)], ta = O[0], ea = O[1];
|
295
295
|
return {
|
296
296
|
xStart: X,
|
297
297
|
yStart: Y,
|
@@ -299,8 +299,8 @@ var K = /* @__PURE__ */ function(z) {
|
|
299
299
|
yEnd: aa,
|
300
300
|
xLabelCenter: ta,
|
301
301
|
yLabelCenter: ea,
|
302
|
-
labelAngle:
|
303
|
-
isHorizontal:
|
302
|
+
labelAngle: L,
|
303
|
+
isHorizontal: A,
|
304
304
|
capSize: s,
|
305
305
|
isActive: $
|
306
306
|
};
|
@@ -308,10 +308,10 @@ var K = /* @__PURE__ */ function(z) {
|
|
308
308
|
}, {
|
309
309
|
key: "renderRadian",
|
310
310
|
value: function(a, n) {
|
311
|
-
var r, o = this.asProps, e = o.styles, v = o.Children, l = o.onRadianClick, u = this.getRadianKey(a, n), _ = "g",
|
312
|
-
if (typeof
|
313
|
-
var x = this.asProps.children, m = la(
|
314
|
-
|
311
|
+
var r, o = this.asProps, e = o.styles, v = o.Children, l = o.onRadianClick, u = this.getRadianKey(a, n), _ = "g", y = sa(v);
|
312
|
+
if (typeof y == "function") {
|
313
|
+
var x = this.asProps.children, m = la(y(this.asProps), this.asProps);
|
314
|
+
y = m.children, m.children = x;
|
315
315
|
}
|
316
316
|
this.asProps.dataHintsHandler.describeValueEntity("".concat(n, ".").concat(a.label), a.label);
|
317
317
|
var f = Pa.Radian.InteractiveArea;
|
@@ -319,7 +319,7 @@ var K = /* @__PURE__ */ function(z) {
|
|
319
319
|
"aria-hidden": !0,
|
320
320
|
key: u,
|
321
321
|
onClick: l(u)
|
322
|
-
}), /* @__PURE__ */ b.createElement(f, r.cn("InteractiveArea", {})),
|
322
|
+
}), /* @__PURE__ */ b.createElement(f, r.cn("InteractiveArea", {})), y);
|
323
323
|
}
|
324
324
|
}, {
|
325
325
|
key: "render",
|
@@ -329,11 +329,11 @@ var K = /* @__PURE__ */ function(z) {
|
|
329
329
|
return n.renderRadian(e, v);
|
330
330
|
}));
|
331
331
|
}
|
332
|
-
}]),
|
332
|
+
}]), h;
|
333
333
|
}(G);
|
334
|
-
d(
|
335
|
-
d(
|
336
|
-
d(
|
334
|
+
d(D, "displayName", "RadialTreeRadian");
|
335
|
+
d(D, "style", Q);
|
336
|
+
d(D, "defaultProps", {
|
337
337
|
centralMargin: 50,
|
338
338
|
labelMargin: 2,
|
339
339
|
iconColor: "#fff",
|
@@ -341,22 +341,22 @@ d(K, "defaultProps", {
|
|
341
341
|
iconSize: 16,
|
342
342
|
textSize: 14
|
343
343
|
});
|
344
|
-
var
|
345
|
-
var
|
346
|
-
return
|
344
|
+
var ya = function(i) {
|
345
|
+
var h, p = i.Element, a = i.styles;
|
346
|
+
return h = R(a), /* @__PURE__ */ b.createElement(p, h.cn("SInteractiveArea", {
|
347
347
|
stroke: "transparent",
|
348
348
|
render: "line"
|
349
349
|
}));
|
350
|
-
},
|
351
|
-
var
|
352
|
-
return
|
350
|
+
}, ha = function(i) {
|
351
|
+
var h, p = i.Element, a = i.styles, n = i.stroke, r = i.resolveColor, o = i.transparent;
|
352
|
+
return h = R(a), /* @__PURE__ */ b.createElement(p, h.cn("SLine", {
|
353
353
|
render: "line",
|
354
354
|
stroke: r(n),
|
355
355
|
transparent: o
|
356
356
|
}));
|
357
357
|
}, ma = function(i) {
|
358
|
-
var
|
359
|
-
if (!
|
358
|
+
var h, p = i.Element, a = i.styles, n = i.x, r = n === void 0 ? 0 : n, o = i.y, e = o === void 0 ? 0 : o, v = i.radius, l = i.color, u = i.resolveColor, _ = i.transparent, y = i.patterns;
|
359
|
+
if (!y) {
|
360
360
|
var x;
|
361
361
|
return x = R(a), /* @__PURE__ */ b.createElement(p, x.cn("SCap", {
|
362
362
|
render: "circle",
|
@@ -369,9 +369,9 @@ var ha = function(i) {
|
|
369
369
|
}
|
370
370
|
var m = l || va(0), f = ua({
|
371
371
|
patternKey: m,
|
372
|
-
patterns:
|
373
|
-
}), P =
|
374
|
-
return
|
372
|
+
patterns: y
|
373
|
+
}), P = W(f, 2), C = P[0], $ = P[1];
|
374
|
+
return h = R(a), /* @__PURE__ */ b.createElement(p, h.cn("SCap", {
|
375
375
|
render: pa,
|
376
376
|
patternKey: l,
|
377
377
|
x: r - (C || 0) / 2,
|
@@ -381,10 +381,10 @@ var ha = function(i) {
|
|
381
381
|
pattern: !0
|
382
382
|
}));
|
383
383
|
}, ga = function(i) {
|
384
|
-
var
|
384
|
+
var h, p = i.Element, a = i.styles, n = i.isActive, r = i.tag, o = i.x, e = i.y, v = i.iconSize, l = i.transparent;
|
385
385
|
if (!(n && r)) return null;
|
386
386
|
var u = v, _ = v;
|
387
|
-
return
|
387
|
+
return h = R(a), /* @__PURE__ */ b.createElement(p, h.cn("SIcon", {
|
388
388
|
x: o,
|
389
389
|
y: e,
|
390
390
|
width: u,
|
@@ -393,13 +393,13 @@ var ha = function(i) {
|
|
393
393
|
transparent: l
|
394
394
|
}));
|
395
395
|
}, xa = function(i) {
|
396
|
-
var
|
396
|
+
var h = i.Element, p = i.Children, a = i.styles, n = i.label, r = i.color, o = i.resolveColor, e = i.isHorizontal, v = i.x, l = i.y, u = i.textSize, _ = i.angle, y = i.transparent, x = String(n).split(`
|
397
397
|
`), m = x.length, f = "tspan", P = (_ / Math.PI * 180).toFixed(2), C = [v.toFixed(2), l.toFixed(2)], $ = "rotate(".concat([P].concat(C).join(", "), ")"), c = R(a), s = c.cn("SLabel", {
|
398
398
|
color: o(r),
|
399
399
|
"text-cursor": e ? "text" : "vertical-text",
|
400
|
-
transparent:
|
400
|
+
transparent: y
|
401
401
|
});
|
402
|
-
return /* @__PURE__ */ b.createElement(
|
402
|
+
return /* @__PURE__ */ b.createElement(h, {
|
403
403
|
"aria-hidden": !0,
|
404
404
|
render: "text",
|
405
405
|
textAnchor: "middle",
|
@@ -416,15 +416,15 @@ var ha = function(i) {
|
|
416
416
|
key: "#".concat(S, "-").concat(t)
|
417
417
|
}, t);
|
418
418
|
}), /* @__PURE__ */ b.createElement(p, null));
|
419
|
-
}, fa = J(
|
420
|
-
InteractiveArea:
|
421
|
-
Line:
|
419
|
+
}, fa = J(D, {
|
420
|
+
InteractiveArea: ya,
|
421
|
+
Line: ha,
|
422
422
|
Cap: ma,
|
423
423
|
Icon: ga,
|
424
424
|
Label: xa
|
425
425
|
}), Sa = function(i) {
|
426
|
-
var
|
427
|
-
return typeof n == "string" && _.setTitle("vertical", n),
|
426
|
+
var h, p = i.Element, a = i.Children, n = i.children, r = i.styles, o = i.textSize, e = i.color, v = i.resolveColor, l = i.x, u = i.y, _ = i.dataHintsHandler;
|
427
|
+
return typeof n == "string" && _.setTitle("vertical", n), h = R(r), /* @__PURE__ */ b.createElement(p, h.cn("STitle", {
|
428
428
|
"aria-hidden": !0,
|
429
429
|
render: "text",
|
430
430
|
textAnchor: "middle",
|
@@ -433,8 +433,8 @@ var ha = function(i) {
|
|
433
433
|
fill: v(e),
|
434
434
|
x: l,
|
435
435
|
y: u
|
436
|
-
}), /* @__PURE__ */ b.createElement(a,
|
437
|
-
}, Pa = J(
|
436
|
+
}), /* @__PURE__ */ b.createElement(a, h.cn("Children", {})));
|
437
|
+
}, Pa = J(V, {
|
438
438
|
Title: Sa,
|
439
439
|
Radian: fa
|
440
440
|
});
|