intergalactic 15.126.0 → 15.126.1-prerelease.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +72 -72
- package/accordion/package.json +1 -1
- package/add-filter/package.json +1 -1
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/animation/lib/esm/Animation.mjs +39 -39
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +36 -36
- package/animation/lib/esm/Scale.mjs +49 -49
- package/animation/lib/esm/Slide.mjs +37 -37
- package/animation/lib/esm/Transform.mjs +40 -40
- package/animation/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/badge/lib/esm/Badge.mjs +28 -28
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +7 -7
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/lib/esm/BaseTrigger.mjs +53 -53
- package/base-trigger/lib/esm/ButtonTrigger.mjs +13 -13
- package/base-trigger/lib/esm/FilterTrigger.mjs +62 -62
- package/base-trigger/lib/esm/LinkTrigger.mjs +41 -41
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/esm/Breadcrumbs.mjs +42 -42
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +83 -83
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +27 -27
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +27 -27
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +61 -61
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +58 -58
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/lib/esm/Card.mjs +49 -49
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/lib/esm/Carousel.mjs +155 -155
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/checkbox/lib/esm/Checkbox.mjs +126 -126
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/esm/ColorPicker.mjs +87 -87
- package/color-picker/lib/esm/PaletteManager.mjs +74 -74
- package/color-picker/lib/esm/components/InputColor.mjs +75 -75
- package/color-picker/package.json +1 -1
- package/components.json +75 -75
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/lib/esm/Counter.mjs +38 -38
- package/counter/package.json +1 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +16 -16
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Donut.js +9 -9
- package/d3-chart/lib/cjs/Dots.js +8 -8
- package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Hover.js +3 -3
- package/d3-chart/lib/cjs/Line.js +9 -9
- package/d3-chart/lib/cjs/Plot.js +3 -3
- package/d3-chart/lib/cjs/Radar.js +19 -19
- package/d3-chart/lib/cjs/RadialTree.js +12 -12
- package/d3-chart/lib/cjs/Reference.js +12 -12
- package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
- package/d3-chart/lib/cjs/Tooltip.js +9 -9
- package/d3-chart/lib/cjs/Venn.js +9 -9
- package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/Area.js +11 -11
- package/d3-chart/lib/es6/Axis.js +14 -14
- package/d3-chart/lib/es6/Bar.js +16 -16
- package/d3-chart/lib/es6/Bubble.js +12 -12
- package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Donut.js +9 -9
- package/d3-chart/lib/es6/Dots.js +8 -8
- package/d3-chart/lib/es6/HorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Hover.js +3 -3
- package/d3-chart/lib/es6/Line.js +9 -9
- package/d3-chart/lib/es6/Plot.js +3 -3
- package/d3-chart/lib/es6/Radar.js +19 -19
- package/d3-chart/lib/es6/RadialTree.js +12 -12
- package/d3-chart/lib/es6/Reference.js +12 -12
- package/d3-chart/lib/es6/ScatterPlot.js +9 -9
- package/d3-chart/lib/es6/Tooltip.js +9 -9
- package/d3-chart/lib/es6/Venn.js +9 -9
- package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +70 -70
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +120 -120
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +59 -59
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +101 -101
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +113 -113
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +132 -132
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +58 -58
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +52 -52
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +51 -51
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +79 -79
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +33 -33
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +195 -195
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +96 -96
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +60 -60
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +35 -35
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +57 -57
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +28 -28
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +36 -36
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +26 -26
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +79 -79
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +43 -43
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +3 -3
- package/data-table/lib/cjs/DataTable.js +36 -36
- package/data-table/lib/es6/Body.js +3 -3
- package/data-table/lib/es6/DataTable.js +36 -36
- package/data-table/lib/esm/Body.mjs +53 -53
- package/data-table/lib/esm/DataTable.mjs +229 -229
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/esm/semcore/date-picker/src/components/Calendar.mjs +147 -147
- package/date-picker/lib/esm/semcore/date-picker/src/components/DateRangeComparatorAbstract.mjs +191 -191
- package/date-picker/lib/esm/semcore/date-picker/src/components/InputTrigger.mjs +209 -209
- package/date-picker/lib/esm/semcore/date-picker/src/components/PickerAbstract.mjs +109 -109
- package/date-picker/lib/esm/semcore/date-picker/src/components/RangePickerAbstract.mjs +144 -144
- package/date-picker/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/lib/esm/Divider.mjs +34 -34
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/lib/esm/Dot.mjs +41 -41
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/esm/DragAndDrop.mjs +171 -171
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/esm/Dropdown.mjs +99 -99
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/esm/DropdownMenu.mjs +162 -162
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/ellipsis/lib/esm/Ellipsis.mjs +96 -96
- package/ellipsis/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/lib/esm/Error.mjs +29 -29
- package/errors/package.json +1 -1
- package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
- package/feature-popover/lib/es6/FeaturePopover.js +11 -11
- package/feature-popover/lib/esm/FeaturePopover.mjs +74 -74
- package/feature-popover/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/esm/FeedbackForm.mjs +28 -28
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +25 -25
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +54 -54
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +49 -49
- package/feedback-form/package.json +1 -1
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flags/package.json +1 -1
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/esm/Box/useBox.mjs +12 -12
- package/flex-box/lib/esm/Flex/useFlex.mjs +16 -16
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +13 -13
- package/flex-box/package.json +1 -1
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/esm/FullscreenModal.mjs +74 -74
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/lib/esm/Grid.mjs +153 -153
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MetaColored/l/index.js +4 -4
- package/icon/color/MetaColored/l/index.mjs +4 -4
- package/icon/color/MetaColored/m/index.js +4 -4
- package/icon/color/MetaColored/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/lib/esm/Icon.mjs +24 -24
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/lib/cjs/index.js +1 -1
- package/illustration/lib/es6/index.js +1 -1
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-edit/lib/esm/InlineEdit.mjs +36 -36
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/cjs/InlineInput.js +14 -14
- package/inline-input/lib/es6/InlineInput.js +14 -14
- package/inline-input/lib/esm/InlineInput.mjs +102 -102
- package/inline-input/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input/lib/esm/Input.mjs +59 -59
- package/input/package.json +1 -1
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-mask/lib/esm/InputMask.mjs +55 -55
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-number/lib/esm/InputNumber.mjs +138 -138
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/lib/esm/InputTags.mjs +105 -105
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/lib/esm/Link.mjs +50 -50
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +18 -18
- package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
- package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
- package/mini-chart/lib/es6/component/score/Donut.js +9 -9
- package/mini-chart/lib/es6/component/score/Line.js +18 -18
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/mini-chart/lib/esm/component/score/Donut.mjs +29 -29
- package/mini-chart/lib/esm/component/score/Line.mjs +46 -46
- package/mini-chart/lib/esm/component/trend/Bar.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Line.mjs +54 -54
- package/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +60 -60
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +53 -53
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
- package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
- package/notice-bubble/lib/esm/NoticeBubble.mjs +129 -129
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/notice-global/lib/esm/NoticeGlobal.mjs +54 -54
- package/notice-global/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +12 -12
- package/pagination/lib/es6/Pagination.js +12 -12
- package/pagination/lib/esm/Pagination.mjs +141 -141
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/lib/esm/Pills.mjs +84 -84
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/esm/Popper.mjs +110 -110
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/product-head/lib/esm/Info.mjs +25 -25
- package/product-head/lib/esm/ProductHead.mjs +33 -33
- package/product-head/lib/esm/Title.mjs +20 -20
- package/product-head/package.json +1 -1
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/progress-bar/lib/esm/ProgressBar.mjs +58 -58
- package/progress-bar/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/lib/esm/Radio.mjs +123 -123
- package/radio/package.json +1 -1
- package/scroll-area/lib/cjs/ScrollArea.js +21 -21
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/ScrollArea.js +21 -21
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/lib/esm/ScrollArea.mjs +103 -103
- package/scroll-area/lib/esm/ScrollBar.mjs +34 -34
- package/scroll-area/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/esm/InputSearch.mjs +51 -51
- package/select/lib/esm/Select.mjs +126 -126
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +114 -114
- package/side-panel/package.json +1 -1
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/skeleton/lib/esm/Charts/Area.mjs +21 -21
- package/skeleton/lib/esm/Charts/Bar.mjs +19 -19
- package/skeleton/lib/esm/Charts/Bubble.mjs +20 -20
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +16 -16
- package/skeleton/lib/esm/Charts/Donut.mjs +28 -28
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +22 -22
- package/skeleton/lib/esm/Charts/RadialTree.mjs +17 -17
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +18 -18
- package/skeleton/lib/esm/Charts/Venn.mjs +23 -23
- package/skeleton/lib/esm/Skeleton.mjs +64 -64
- package/skeleton/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/lib/esm/Slider.mjs +79 -79
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin/lib/esm/Spin.mjs +40 -40
- package/spin/package.json +1 -1
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/spin-container/lib/esm/SpinContainer.mjs +50 -50
- package/spin-container/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/lib/esm/Sticky.mjs +15 -15
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/lib/esm/Switch.mjs +90 -90
- package/switch/package.json +1 -1
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-line/lib/esm/TabLine.mjs +88 -88
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tab-panel/lib/esm/TabPanel.mjs +47 -47
- package/tab-panel/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/lib/esm/Tag.mjs +154 -154
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/textarea/lib/esm/Textarea.mjs +35 -35
- package/textarea/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/TimePicker.mjs +72 -72
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +108 -108
- package/tooltip/package.json +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/typography/lib/esm/Blockquote.mjs +15 -15
- package/typography/lib/esm/Hint.mjs +45 -45
- package/typography/lib/esm/List.mjs +35 -35
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/package.json +1 -1
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/lib/esm/WidgetEmpty.mjs +31 -31
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +72 -72
- package/wizard/package.json +1 -1
@@ -24,27 +24,27 @@ import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocus
|
|
24
24
|
import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
|
25
25
|
import canUseDOM from 'intergalactic/utils/lib/canUseDOM';
|
26
26
|
/*__reshadow-styles__:"./style/scroll-area.shadow.css"*/
|
27
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
28
|
-
"__SScrollArea": "
|
29
|
-
"__SShadowHorizontal": "
|
30
|
-
"_leftOffset": "
|
31
|
-
"--leftOffset": "--
|
32
|
-
"_rightOffset": "
|
33
|
-
"--rightOffset": "--
|
34
|
-
"__SShadowVertical": "
|
35
|
-
"_topOffset": "
|
36
|
-
"--topOffset": "--
|
37
|
-
"_bottomOffset": "
|
38
|
-
"--bottomOffset": "--
|
39
|
-
"__SContainer": "
|
40
|
-
"_keyboardFocused": "
|
41
|
-
"--focusRingTopOffset": "--
|
42
|
-
"--focusRingRightOffset": "--
|
43
|
-
"--focusRingBottomOffset": "--
|
44
|
-
"--focusRingLeftOffset": "--
|
45
|
-
"_position_median": "
|
46
|
-
"_position_start": "
|
47
|
-
"_position_end": "
|
27
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScrollArea_cd2x4_gg_{position:relative;width:100%;height:100%}.___SShadowHorizontal_cd2x4_gg_:after,.___SShadowHorizontal_cd2x4_gg_:before,.___SShadowVertical_cd2x4_gg_:after,.___SShadowVertical_cd2x4_gg_:before{content:\"\";position:absolute;display:none;pointer-events:none}.___SShadowHorizontal_cd2x4_gg_:after,.___SShadowHorizontal_cd2x4_gg_:before{top:0;width:5px;height:100%}.___SShadowHorizontal_cd2x4_gg_._position_median_cd2x4_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_cd2x4_gg_._position_median_cd2x4_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_cd2x4_gg_._position_start_cd2x4_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_cd2x4_gg_._position_end_cd2x4_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_cd2x4_gg_.__leftOffset_cd2x4_gg_:before{left:var(--leftOffset_cd2x4)}.___SShadowHorizontal_cd2x4_gg_.__rightOffset_cd2x4_gg_:after{right:var(--rightOffset_cd2x4)}.___SShadowVertical_cd2x4_gg_:after,.___SShadowVertical_cd2x4_gg_:before{left:0;width:100%;height:5px}.___SShadowVertical_cd2x4_gg_._position_median_cd2x4_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_cd2x4_gg_._position_median_cd2x4_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_cd2x4_gg_._position_start_cd2x4_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_cd2x4_gg_._position_end_cd2x4_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_cd2x4_gg_.__topOffset_cd2x4_gg_:before{top:var(--topOffset_cd2x4)}.___SShadowVertical_cd2x4_gg_.__bottomOffset_cd2x4_gg_:after{bottom:var(--bottomOffset_cd2x4)}.___SContainer_cd2x4_gg_{display:block;width:100%;height:100%;box-sizing:content-box;overflow:auto;-webkit-overflow-scrolling:touch;outline:0;scrollbar-width:none;-ms-overflow-style:none}.___SContainer_cd2x4_gg_::-webkit-scrollbar{display:none}.___SContainer_cd2x4_gg_.__keyboardFocused_cd2x4_gg_:focus::after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;top:var(--focusRingTopOffset_cd2x4);right:var(--focusRingRightOffset_cd2x4);bottom:var(--focusRingBottomOffset_cd2x4);left:var(--focusRingLeftOffset_cd2x4);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;z-index:2}" /*__inner_css_end__*/, "cd2x4_gg_") /*__reshadow_css_end__*/, {
|
28
|
+
"__SScrollArea": "___SScrollArea_cd2x4_gg_",
|
29
|
+
"__SShadowHorizontal": "___SShadowHorizontal_cd2x4_gg_",
|
30
|
+
"_leftOffset": "__leftOffset_cd2x4_gg_",
|
31
|
+
"--leftOffset": "--leftOffset_cd2x4",
|
32
|
+
"_rightOffset": "__rightOffset_cd2x4_gg_",
|
33
|
+
"--rightOffset": "--rightOffset_cd2x4",
|
34
|
+
"__SShadowVertical": "___SShadowVertical_cd2x4_gg_",
|
35
|
+
"_topOffset": "__topOffset_cd2x4_gg_",
|
36
|
+
"--topOffset": "--topOffset_cd2x4",
|
37
|
+
"_bottomOffset": "__bottomOffset_cd2x4_gg_",
|
38
|
+
"--bottomOffset": "--bottomOffset_cd2x4",
|
39
|
+
"__SContainer": "___SContainer_cd2x4_gg_",
|
40
|
+
"_keyboardFocused": "__keyboardFocused_cd2x4_gg_",
|
41
|
+
"--focusRingTopOffset": "--focusRingTopOffset_cd2x4",
|
42
|
+
"--focusRingRightOffset": "--focusRingRightOffset_cd2x4",
|
43
|
+
"--focusRingBottomOffset": "--focusRingBottomOffset_cd2x4",
|
44
|
+
"--focusRingLeftOffset": "--focusRingLeftOffset_cd2x4",
|
45
|
+
"_position_median": "_position_median_cd2x4_gg_",
|
46
|
+
"_position_start": "_position_start_cd2x4_gg_",
|
47
|
+
"_position_end": "_position_end_cd2x4_gg_"
|
48
48
|
});
|
49
49
|
var eventCalculate = undefined;
|
50
50
|
if (typeof window !== 'undefined') {
|
@@ -16,12 +16,12 @@ import { Box } from 'intergalactic/flex-box';
|
|
16
16
|
import { getNodeByRef } from 'intergalactic/utils/lib/ref';
|
17
17
|
import contextEnhance from 'intergalactic/utils/lib/enhances/contextEnhance';
|
18
18
|
/*__reshadow-styles__:"./style/scroll-bar.shadow.css"*/
|
19
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
20
|
-
"__SScrollBar": "
|
21
|
-
"_orientation_vertical": "
|
22
|
-
"--offsetSum": "--
|
23
|
-
"_orientation_horizontal": "
|
24
|
-
"__SSlider": "
|
19
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScrollBar_1211c_gg_{position:absolute;display:flex}.___SScrollBar_1211c_gg_._orientation_vertical_1211c_gg_{top:var(--intergalactic-spacing-1x, 4px);right:0;width:8px;height:calc(100% - var(--offsetSum_1211c) - var(--intergalactic-spacing-2x, 8px));justify-content:center}.___SScrollBar_1211c_gg_._orientation_horizontal_1211c_gg_{bottom:0;height:12px;align-items:center;width:calc(100% - var(--offsetSum_1211c) - var(--intergalactic-spacing-2x, 8px))}.___SSlider_1211c_gg_{cursor:pointer;width:6px;height:6px;border-radius:4px;background-color:var(--intergalactic-scroll-bar-background, rgba(25, 27, 35, 0.3))}" /*__inner_css_end__*/, "1211c_gg_") /*__reshadow_css_end__*/, {
|
20
|
+
"__SScrollBar": "___SScrollBar_1211c_gg_",
|
21
|
+
"_orientation_vertical": "_orientation_vertical_1211c_gg_",
|
22
|
+
"--offsetSum": "--offsetSum_1211c",
|
23
|
+
"_orientation_horizontal": "_orientation_horizontal_1211c_gg_",
|
24
|
+
"__SSlider": "___SSlider_1211c_gg_"
|
25
25
|
});
|
26
26
|
export var hideScrollBarsFromScreenReadersContext = /*#__PURE__*/React.createContext(false);
|
27
27
|
export var DEFAULT_SLIDER_SIZE = 50;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import H from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import W from "@babel/runtime/helpers/esm/classCallCheck";
|
3
3
|
import F from "@babel/runtime/helpers/esm/createClass";
|
4
|
-
import
|
4
|
+
import d from "@babel/runtime/helpers/esm/assertThisInitialized";
|
5
5
|
import L from "@babel/runtime/helpers/esm/inherits";
|
6
6
|
import N from "@babel/runtime/helpers/esm/createSuper";
|
7
|
-
import
|
7
|
+
import l from "@babel/runtime/helpers/esm/defineProperty";
|
8
8
|
import D from "@babel/runtime/helpers/esm/extends";
|
9
9
|
import U from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
10
10
|
import { sstyled as j } from 'intergalactic/utils/lib/core/index';
|
11
11
|
import q, { sstyled as M, assignProps as V, Component as G } from 'intergalactic/core';
|
12
|
-
import
|
12
|
+
import s from "react";
|
13
13
|
import { findDOMNode as J } from "react-dom";
|
14
14
|
import { Box as R } from 'intergalactic/flex-box';
|
15
|
-
import
|
15
|
+
import y from 'intergalactic/utils/lib/rafTrottle';
|
16
16
|
import { getNodeByRef as k } from 'intergalactic/utils/lib/ref';
|
17
17
|
import { isAdvanceMode as K } from 'intergalactic/utils/lib/findComponent';
|
18
18
|
import { callAllEventHandlers as B } from 'intergalactic/utils/lib/assignProps';
|
@@ -24,99 +24,99 @@ var tt = ["position"], et = (
|
|
24
24
|
/*__reshadow_css_start__*/
|
25
25
|
(j.insert(
|
26
26
|
/*__inner_css_start__*/
|
27
|
-
`.
|
28
|
-
linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.
|
29
|
-
linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.
|
30
|
-
linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.
|
31
|
-
linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.
|
32
|
-
linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.
|
33
|
-
linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.
|
34
|
-
linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.
|
35
|
-
linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.
|
36
|
-
"
|
27
|
+
`.___SScrollArea_cd2x4_gg_{position:relative;width:100%;height:100%}.___SShadowHorizontal_cd2x4_gg_:after,.___SShadowHorizontal_cd2x4_gg_:before,.___SShadowVertical_cd2x4_gg_:after,.___SShadowVertical_cd2x4_gg_:before{content:"";position:absolute;display:none;pointer-events:none}.___SShadowHorizontal_cd2x4_gg_:after,.___SShadowHorizontal_cd2x4_gg_:before{top:0;width:5px;height:100%}.___SShadowHorizontal_cd2x4_gg_._position_median_cd2x4_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,
|
28
|
+
linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_cd2x4_gg_._position_median_cd2x4_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,
|
29
|
+
linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_cd2x4_gg_._position_start_cd2x4_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,
|
30
|
+
linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_cd2x4_gg_._position_end_cd2x4_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,
|
31
|
+
linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_cd2x4_gg_.__leftOffset_cd2x4_gg_:before{left:var(--leftOffset_cd2x4)}.___SShadowHorizontal_cd2x4_gg_.__rightOffset_cd2x4_gg_:after{right:var(--rightOffset_cd2x4)}.___SShadowVertical_cd2x4_gg_:after,.___SShadowVertical_cd2x4_gg_:before{left:0;width:100%;height:5px}.___SShadowVertical_cd2x4_gg_._position_median_cd2x4_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,
|
32
|
+
linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_cd2x4_gg_._position_median_cd2x4_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,
|
33
|
+
linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_cd2x4_gg_._position_start_cd2x4_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,
|
34
|
+
linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_cd2x4_gg_._position_end_cd2x4_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,
|
35
|
+
linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_cd2x4_gg_.__topOffset_cd2x4_gg_:before{top:var(--topOffset_cd2x4)}.___SShadowVertical_cd2x4_gg_.__bottomOffset_cd2x4_gg_:after{bottom:var(--bottomOffset_cd2x4)}.___SContainer_cd2x4_gg_{display:block;width:100%;height:100%;box-sizing:content-box;overflow:auto;-webkit-overflow-scrolling:touch;outline:0;scrollbar-width:none;-ms-overflow-style:none}.___SContainer_cd2x4_gg_::-webkit-scrollbar{display:none}.___SContainer_cd2x4_gg_.__keyboardFocused_cd2x4_gg_:focus::after{position:absolute;display:block;content:"";top:0;right:0;bottom:0;left:0;top:var(--focusRingTopOffset_cd2x4);right:var(--focusRingRightOffset_cd2x4);bottom:var(--focusRingBottomOffset_cd2x4);left:var(--focusRingLeftOffset_cd2x4);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;z-index:2}`,
|
36
|
+
"cd2x4_gg_"
|
37
37
|
), {
|
38
|
-
__SScrollArea: "
|
39
|
-
__SShadowHorizontal: "
|
40
|
-
_leftOffset: "
|
41
|
-
"--leftOffset": "--
|
42
|
-
_rightOffset: "
|
43
|
-
"--rightOffset": "--
|
44
|
-
__SShadowVertical: "
|
45
|
-
_topOffset: "
|
46
|
-
"--topOffset": "--
|
47
|
-
_bottomOffset: "
|
48
|
-
"--bottomOffset": "--
|
49
|
-
__SContainer: "
|
50
|
-
_keyboardFocused: "
|
51
|
-
"--focusRingTopOffset": "--
|
52
|
-
"--focusRingRightOffset": "--
|
53
|
-
"--focusRingBottomOffset": "--
|
54
|
-
"--focusRingLeftOffset": "--
|
55
|
-
_position_median: "
|
56
|
-
_position_start: "
|
57
|
-
_position_end: "
|
38
|
+
__SScrollArea: "___SScrollArea_cd2x4_gg_",
|
39
|
+
__SShadowHorizontal: "___SShadowHorizontal_cd2x4_gg_",
|
40
|
+
_leftOffset: "__leftOffset_cd2x4_gg_",
|
41
|
+
"--leftOffset": "--leftOffset_cd2x4",
|
42
|
+
_rightOffset: "__rightOffset_cd2x4_gg_",
|
43
|
+
"--rightOffset": "--rightOffset_cd2x4",
|
44
|
+
__SShadowVertical: "___SShadowVertical_cd2x4_gg_",
|
45
|
+
_topOffset: "__topOffset_cd2x4_gg_",
|
46
|
+
"--topOffset": "--topOffset_cd2x4",
|
47
|
+
_bottomOffset: "__bottomOffset_cd2x4_gg_",
|
48
|
+
"--bottomOffset": "--bottomOffset_cd2x4",
|
49
|
+
__SContainer: "___SContainer_cd2x4_gg_",
|
50
|
+
_keyboardFocused: "__keyboardFocused_cd2x4_gg_",
|
51
|
+
"--focusRingTopOffset": "--focusRingTopOffset_cd2x4",
|
52
|
+
"--focusRingRightOffset": "--focusRingRightOffset_cd2x4",
|
53
|
+
"--focusRingBottomOffset": "--focusRingBottomOffset_cd2x4",
|
54
|
+
"--focusRingLeftOffset": "--focusRingLeftOffset_cd2x4",
|
55
|
+
_position_median: "_position_median_cd2x4_gg_",
|
56
|
+
_position_start: "_position_start_cd2x4_gg_",
|
57
|
+
_position_end: "_position_end_cd2x4_gg_"
|
58
58
|
})
|
59
59
|
), A = void 0;
|
60
60
|
typeof window < "u" && (A = new Event("calculate"));
|
61
|
-
var P = /* @__PURE__ */
|
61
|
+
var P = /* @__PURE__ */ s.forwardRef(function(h, x) {
|
62
62
|
h.position;
|
63
63
|
var p = U(h, tt);
|
64
|
-
return /* @__PURE__ */
|
65
|
-
ref:
|
64
|
+
return /* @__PURE__ */ s.createElement(R, D({
|
65
|
+
ref: x
|
66
66
|
}, p));
|
67
|
-
}),
|
67
|
+
}), O = /* @__PURE__ */ function(h) {
|
68
68
|
L(p, h);
|
69
|
-
var
|
70
|
-
function p(
|
69
|
+
var x = N(p);
|
70
|
+
function p(g) {
|
71
71
|
var t;
|
72
|
-
return W(this, p), t =
|
72
|
+
return W(this, p), t = x.call(this, g), l(d(t), "$wrapper", null), l(d(t), "observer", null), l(d(t), "horizontalBarRef", /* @__PURE__ */ s.createRef()), l(d(t), "verticalBarRef", /* @__PURE__ */ s.createRef()), l(d(t), "state", {
|
73
73
|
shadowHorizontal: !1,
|
74
74
|
shadowVertical: !1
|
75
|
-
}),
|
75
|
+
}), l(d(t), "refWrapper", function(e) {
|
76
76
|
t.$wrapper = J(e);
|
77
|
-
}),
|
77
|
+
}), l(d(t), "setStyleSizeProperty", function(e, o, r) {
|
78
78
|
var i = r;
|
79
79
|
typeof r == "number" && (i = r < 1 ? "".concat(100 * r, "%") : "".concat(r, "px")), e.style.setProperty(o, i);
|
80
|
-
}),
|
80
|
+
}), l(d(t), "calculate", y(function() {
|
81
81
|
if (t.$container) {
|
82
82
|
var e = t.calculateSizeContainer(), o = e.height, r = e.width;
|
83
83
|
o && (t.$container.style.height = o), r && (t.$container.style.width = r), t.$container.dispatchEvent(A), t.setShadowContainer();
|
84
84
|
}
|
85
|
-
})),
|
85
|
+
})), l(d(t), "updateBarsAria", y(function() {
|
86
86
|
X(t.$container, t.horizontalBarRef.current, t.verticalBarRef.current);
|
87
|
-
})),
|
87
|
+
})), l(d(t), "handleScrollContainer", y(function() {
|
88
88
|
t.$container && (t.setShadowContainer(), t.updateBarsAria());
|
89
|
-
})),
|
89
|
+
})), l(d(t), "handleScroll", function(e) {
|
90
90
|
var o;
|
91
91
|
(o = e.target) !== null && o !== void 0 && o.isEqualNode(t.$wrapper) && (e.target.scrollTop = 0, e.target.scrollLeft = 0);
|
92
|
-
}),
|
92
|
+
}), l(d(t), "handleFocusIn", function(e) {
|
93
93
|
setTimeout(function() {
|
94
|
-
var o = t.asProps, r = o.keyboardFocused, i = o.leftOffset, a = o.rightOffset,
|
94
|
+
var o = t.asProps, r = o.keyboardFocused, i = o.leftOffset, a = o.rightOffset, f = o.topOffset, u = o.bottomOffset;
|
95
95
|
if (t.$container && typeof t.$container.scrollTo == "function") {
|
96
|
-
var
|
97
|
-
top:
|
96
|
+
var c = t.$container.getBoundingClientRect(), n = e.target.getBoundingClientRect(), _ = {
|
97
|
+
top: f ?? 0,
|
98
98
|
left: i ?? 0,
|
99
99
|
right: a ?? 0,
|
100
100
|
bottom: u ?? 0
|
101
101
|
};
|
102
|
-
if (
|
103
|
-
var
|
104
|
-
|
105
|
-
top: n.top + t.$container.scrollTop -
|
106
|
-
left: n.left + t.$container.scrollLeft -
|
102
|
+
if (c) {
|
103
|
+
var m = Math.floor(n.top) >= c.bottom - _.bottom || Math.floor(n.bottom) <= c.top + _.top || Math.floor(n.left) >= c.right - _.right || Math.floor(n.right) <= c.left + _.left;
|
104
|
+
m && r && t.$container.scrollTo({
|
105
|
+
top: n.top + t.$container.scrollTop - _.top - c.top,
|
106
|
+
left: n.left + t.$container.scrollLeft - _.left - c.left
|
107
107
|
});
|
108
108
|
}
|
109
109
|
}
|
110
110
|
}, 0);
|
111
|
-
}),
|
112
|
-
var i = Math.round(e), a = Math.round(o),
|
113
|
-
a <= 0 || (i <= 0 ?
|
114
|
-
}),
|
111
|
+
}), l(d(t), "toggleShadow", function(e, o, r) {
|
112
|
+
var i = Math.round(e), a = Math.round(o), f = "";
|
113
|
+
a <= 0 || (i <= 0 ? f = "end" : i >= a ? f = "start" : i > 0 && (f = "median")), t.setState(l({}, r, f));
|
114
|
+
}), l(d(t), "setShadowContainer", function() {
|
115
115
|
if (!(!t.asProps.shadow || !t.$container || !t.$wrapper)) {
|
116
|
-
var e = t.$container, o = e.scrollWidth, r = e.clientWidth, i = e.scrollHeight, a = e.clientHeight,
|
117
|
-
t.toggleShadow(
|
116
|
+
var e = t.$container, o = e.scrollWidth, r = e.clientWidth, i = e.scrollHeight, a = e.clientHeight, f = e.scrollLeft, u = e.scrollTop, c = o - r, n = i - a;
|
117
|
+
t.toggleShadow(f, c, "shadowHorizontal"), t.toggleShadow(u, n, "shadowVertical");
|
118
118
|
}
|
119
|
-
}), Z() && (t.observer = new ResizeObserver(B(
|
119
|
+
}), Z() && (t.observer = new ResizeObserver(B(g.onResize, t.calculate))), t;
|
120
120
|
}
|
121
121
|
return F(p, [{
|
122
122
|
key: "$container",
|
@@ -138,25 +138,25 @@ var P = /* @__PURE__ */ f.forwardRef(function(h, v) {
|
|
138
138
|
height: ""
|
139
139
|
};
|
140
140
|
if (!this.$container || !this.$wrapper) return i;
|
141
|
-
var a = this.$container,
|
141
|
+
var a = this.$container, f = a.scrollWidth, u = a.scrollHeight, c = window.getComputedStyle(this.$wrapper), n = this.$wrapper.parentElement, _ = {
|
142
142
|
width: 0,
|
143
143
|
height: 0
|
144
144
|
};
|
145
|
-
r && (n && (
|
146
|
-
var
|
147
|
-
if (
|
148
|
-
if (r && e && n.scrollWidth >
|
149
|
-
var S = Math.round(n.scrollWidth.toFixed(1)) - Math.round(
|
150
|
-
S <
|
145
|
+
r && (n && (_ = n.getBoundingClientRect()), e && this.setStyleSizeProperty(this.$wrapper, "max-width", e), o && this.setStyleSizeProperty(this.$wrapper, "max-height", o));
|
146
|
+
var m = Number.parseInt(c.getPropertyValue("max-width")), v = Number.parseInt(c.getPropertyValue("max-height"));
|
147
|
+
if (m) {
|
148
|
+
if (r && e && n.scrollWidth > _.width) {
|
149
|
+
var S = Math.round(n.scrollWidth.toFixed(1)) - Math.round(_.width.toFixed(1));
|
150
|
+
S < m && (m = m - S, this.$wrapper.style.setProperty("max-width", "".concat(m, "px")));
|
151
151
|
}
|
152
|
-
|
152
|
+
f > m ? i.width = "".concat(m, "px") : i.width = "100%";
|
153
153
|
}
|
154
|
-
if (
|
155
|
-
if (r && o && n.scrollHeight >
|
156
|
-
var
|
157
|
-
|
154
|
+
if (v) {
|
155
|
+
if (r && o && n.scrollHeight > _.height) {
|
156
|
+
var b = Math.round(n.scrollHeight.toFixed(1)) - Math.round(_.height.toFixed(1));
|
157
|
+
b < v && (v = v - b, this.$wrapper.style.setProperty("max-height", "".concat(v, "px")));
|
158
158
|
}
|
159
|
-
u >
|
159
|
+
u > v ? i.height = "".concat(v, "px") : i.height = "100%";
|
160
160
|
}
|
161
161
|
return i;
|
162
162
|
}
|
@@ -214,59 +214,59 @@ var P = /* @__PURE__ */ f.forwardRef(function(h, v) {
|
|
214
214
|
}, {
|
215
215
|
key: "render",
|
216
216
|
value: function() {
|
217
|
-
var t = this.asProps, e, o = R, r = P, i = P, a = this.asProps,
|
218
|
-
return e = M(u), /* @__PURE__ */
|
217
|
+
var t = this.asProps, e, o = R, r = P, i = P, a = this.asProps, f = a.Children, u = a.styles, c = a.orientation, n = a.tabIndex, _ = a.forcedAdvancedMode, m = a.leftOffset, v = a.rightOffset, S = a.topOffset, b = a.bottomOffset, $ = this.state, z = $.shadowVertical, C = $.shadowHorizontal, T = _ || K(f, [w.Container.displayName, w.Bar.displayName]);
|
218
|
+
return e = M(u), /* @__PURE__ */ s.createElement(o, e.cn("SScrollArea", H({}, V({
|
219
219
|
ref: this.refWrapper,
|
220
220
|
onScroll: this.handleScroll,
|
221
221
|
__excludeProps: ["tabIndex"]
|
222
|
-
}, t))), T ? /* @__PURE__ */
|
222
|
+
}, t))), T ? /* @__PURE__ */ s.createElement(f, e.cn("Children", {})) : /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(w.Container, {
|
223
223
|
tabIndex: n
|
224
|
-
}, /* @__PURE__ */
|
224
|
+
}, /* @__PURE__ */ s.createElement(f, e.cn("Children", {}))), (c === void 0 || c === "horizontal") && /* @__PURE__ */ s.createElement(w.Bar, {
|
225
225
|
orientation: "horizontal"
|
226
|
-
}), (
|
226
|
+
}), (c === void 0 || c === "vertical") && /* @__PURE__ */ s.createElement(w.Bar, {
|
227
227
|
orientation: "vertical"
|
228
|
-
})),
|
229
|
-
position:
|
228
|
+
})), z && /* @__PURE__ */ s.createElement(r, e.cn("SShadowVertical", {
|
229
|
+
position: z,
|
230
230
|
topOffset: S ? "".concat(S, "px") : void 0,
|
231
|
-
bottomOffset:
|
232
|
-
})), C && /* @__PURE__ */
|
231
|
+
bottomOffset: b ? "".concat(b, "px") : void 0
|
232
|
+
})), C && /* @__PURE__ */ s.createElement(i, e.cn("SShadowHorizontal", {
|
233
233
|
position: C,
|
234
|
-
leftOffset:
|
235
|
-
rightOffset:
|
234
|
+
leftOffset: m ? "".concat(m, "px") : void 0,
|
235
|
+
rightOffset: v ? "".concat(v, "px") : void 0
|
236
236
|
})));
|
237
237
|
}
|
238
238
|
}]), p;
|
239
239
|
}(G);
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
240
|
+
l(O, "displayName", "ScrollArea");
|
241
|
+
l(O, "style", et);
|
242
|
+
l(O, "enhance", [Y(), E()]);
|
243
|
+
l(O, "defaultProps", function() {
|
244
244
|
return {
|
245
|
-
container: /* @__PURE__ */
|
246
|
-
inner: /* @__PURE__ */
|
245
|
+
container: /* @__PURE__ */ s.createRef(),
|
246
|
+
inner: /* @__PURE__ */ s.createRef(),
|
247
247
|
tabIndex: 0,
|
248
248
|
observeParentSize: !1
|
249
249
|
};
|
250
250
|
});
|
251
251
|
function I(h) {
|
252
|
-
var
|
253
|
-
return p = M(e), /* @__PURE__ */
|
252
|
+
var x = arguments[0], p, g = R, t = h.Children, e = h.styles, o = h.$refInner, r = h.focusRingTopOffset, i = r === void 0 ? 0 : r, a = h.focusRingRightOffset, f = a === void 0 ? 0 : a, u = h.focusRingBottomOffset, c = u === void 0 ? 0 : u, n = h.focusRingLeftOffset, _ = n === void 0 ? 0 : n;
|
253
|
+
return p = M(e), /* @__PURE__ */ s.createElement(g, p.cn("SContainer", H({}, V({
|
254
254
|
tabIndex: 0,
|
255
255
|
focusRingTopOffset: i,
|
256
|
-
focusRingRightOffset:
|
257
|
-
focusRingBottomOffset:
|
258
|
-
focusRingLeftOffset:
|
259
|
-
},
|
256
|
+
focusRingRightOffset: f,
|
257
|
+
focusRingBottomOffset: c,
|
258
|
+
focusRingLeftOffset: _
|
259
|
+
}, x))), /* @__PURE__ */ s.createElement("div", p.cn("div", {
|
260
260
|
ref: o
|
261
|
-
}), /* @__PURE__ */
|
261
|
+
}), /* @__PURE__ */ s.createElement(t, p.cn("Children", {}))));
|
262
262
|
}
|
263
263
|
I.enhance = [E()];
|
264
|
-
var
|
264
|
+
var w = q(O, {
|
265
265
|
Container: I,
|
266
266
|
Bar: Q
|
267
267
|
});
|
268
268
|
export {
|
269
|
-
|
270
|
-
|
269
|
+
w as ScrollArea,
|
270
|
+
w as default,
|
271
271
|
A as eventCalculate
|
272
272
|
};
|
@@ -1,42 +1,42 @@
|
|
1
1
|
import W from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import M from "@babel/runtime/helpers/esm/slicedToArray";
|
3
|
-
import
|
4
|
-
import
|
3
|
+
import T from "@babel/runtime/helpers/esm/classCallCheck";
|
4
|
+
import X from "@babel/runtime/helpers/esm/createClass";
|
5
5
|
import f from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
|
-
import
|
7
|
-
import
|
6
|
+
import Y from "@babel/runtime/helpers/esm/inherits";
|
7
|
+
import A from "@babel/runtime/helpers/esm/createSuper";
|
8
8
|
import s from "@babel/runtime/helpers/esm/defineProperty";
|
9
|
-
import { sstyled as
|
10
|
-
import
|
9
|
+
import { sstyled as K } from 'intergalactic/utils/lib/core/index';
|
10
|
+
import U, { sstyled as H, assignProps as L, Component as V } from 'intergalactic/core';
|
11
11
|
import $ from "react";
|
12
12
|
import { findDOMNode as w } from "react-dom";
|
13
13
|
import { Box as P } from 'intergalactic/flex-box';
|
14
|
-
import { getNodeByRef as
|
15
|
-
import
|
16
|
-
var
|
14
|
+
import { getNodeByRef as F } from 'intergalactic/utils/lib/ref';
|
15
|
+
import N from 'intergalactic/utils/lib/enhances/contextEnhance';
|
16
|
+
var I = (
|
17
17
|
/*__reshadow_css_start__*/
|
18
|
-
(
|
18
|
+
(K.insert(
|
19
19
|
/*__inner_css_start__*/
|
20
|
-
".
|
21
|
-
"
|
20
|
+
".___SScrollBar_1211c_gg_{position:absolute;display:flex}.___SScrollBar_1211c_gg_._orientation_vertical_1211c_gg_{top:var(--intergalactic-spacing-1x, 4px);right:0;width:8px;height:calc(100% - var(--offsetSum_1211c) - var(--intergalactic-spacing-2x, 8px));justify-content:center}.___SScrollBar_1211c_gg_._orientation_horizontal_1211c_gg_{bottom:0;height:12px;align-items:center;width:calc(100% - var(--offsetSum_1211c) - var(--intergalactic-spacing-2x, 8px))}.___SSlider_1211c_gg_{cursor:pointer;width:6px;height:6px;border-radius:4px;background-color:var(--intergalactic-scroll-bar-background, rgba(25, 27, 35, 0.3))}",
|
21
|
+
"1211c_gg_"
|
22
22
|
), {
|
23
|
-
__SScrollBar: "
|
24
|
-
_orientation_vertical: "
|
25
|
-
"--offsetSum": "--
|
26
|
-
_orientation_horizontal: "
|
27
|
-
__SSlider: "
|
23
|
+
__SScrollBar: "___SScrollBar_1211c_gg_",
|
24
|
+
_orientation_vertical: "_orientation_vertical_1211c_gg_",
|
25
|
+
"--offsetSum": "--offsetSum_1211c",
|
26
|
+
_orientation_horizontal: "_orientation_horizontal_1211c_gg_",
|
27
|
+
__SSlider: "___SSlider_1211c_gg_"
|
28
28
|
})
|
29
|
-
),
|
29
|
+
), j = /* @__PURE__ */ $.createContext(!1), k = 50, Z = function(v, d, t) {
|
30
30
|
if (!(!v || !(d || t))) {
|
31
31
|
var r = v.scrollWidth, l = v.clientWidth, o = v.scrollHeight, e = v.clientHeight, i = v.scrollLeft, a = v.scrollTop, n = r - l, u = o - e;
|
32
32
|
d && (d.setAttribute("aria-valuenow", Math.floor(i)), d.setAttribute("aria-valuemax", n)), t && (t.setAttribute("aria-valuenow", Math.floor(a)), t.setAttribute("aria-valuemax", u));
|
33
33
|
}
|
34
34
|
}, x = /* @__PURE__ */ function(B) {
|
35
|
-
|
36
|
-
var v =
|
35
|
+
Y(d, B);
|
36
|
+
var v = A(d);
|
37
37
|
function d() {
|
38
38
|
var t;
|
39
|
-
|
39
|
+
T(this, d);
|
40
40
|
for (var r = arguments.length, l = new Array(r), o = 0; o < r; o++)
|
41
41
|
l[o] = arguments[o];
|
42
42
|
return t = v.call.apply(v, [this].concat(l)), s(f(t), "$bar", null), s(f(t), "$slider", null), s(f(t), "sliderStyle", {
|
@@ -60,7 +60,7 @@ var F = (
|
|
60
60
|
var i = w(e);
|
61
61
|
t.$bar = i;
|
62
62
|
var a = t.getOrientation(), n = t.asProps, u = n.horizontalBarRef, c = n.verticalBarRef;
|
63
|
-
a === "horizontal" && u && (u.current = i), a === "vertical" && c && (c.current = i),
|
63
|
+
a === "horizontal" && u && (u.current = i), a === "vertical" && c && (c.current = i), Z(t.$container, u == null ? void 0 : u.current, c == null ? void 0 : c.current);
|
64
64
|
}), s(f(t), "refSlider", function(e) {
|
65
65
|
t.$slider = w(e);
|
66
66
|
}), s(f(t), "calculate", function() {
|
@@ -103,10 +103,10 @@ var F = (
|
|
103
103
|
g === "horizontal" ? t.$container.scrollLeft = t.calculateScrollByClick(p, u, i, t.kefBar.x, t.kefScroll.x) : g === "vertical" && (t.$container.scrollTop = t.calculateScrollByClick(_, c, a, t.kefBar.y, t.kefScroll.y));
|
104
104
|
}), t;
|
105
105
|
}
|
106
|
-
return
|
106
|
+
return X(d, [{
|
107
107
|
key: "$container",
|
108
108
|
get: function() {
|
109
|
-
return
|
109
|
+
return F(this.asProps.container);
|
110
110
|
}
|
111
111
|
}, {
|
112
112
|
key: "calculateVisibleScroll",
|
@@ -211,8 +211,8 @@ var F = (
|
|
211
211
|
g && (g += R), m && (m += E);
|
212
212
|
}
|
213
213
|
if (c === "vertical" && (S && (b += S), y && (b += y), n === "sticky" && u.current)) {
|
214
|
-
var D = u.current.getBoundingClientRect(),
|
215
|
-
S && (S +=
|
214
|
+
var D = u.current.getBoundingClientRect(), z = D.top, C = D.bottom;
|
215
|
+
S && (S += z), y && (y += C);
|
216
216
|
}
|
217
217
|
return l = H(i), /* @__PURE__ */ $.createElement(o, l.cn("SScrollBar", W({}, L({
|
218
218
|
left: c === "horizontal" && g ? "".concat(g, "px") : void 0,
|
@@ -231,17 +231,17 @@ var F = (
|
|
231
231
|
}, r))));
|
232
232
|
}
|
233
233
|
}]), d;
|
234
|
-
}(
|
234
|
+
}(V);
|
235
235
|
s(x, "displayName", "Bar");
|
236
|
-
s(x, "style",
|
237
|
-
s(x, "enhance", [
|
236
|
+
s(x, "style", I);
|
237
|
+
s(x, "enhance", [N(j, "hideFromScreenReaders")]);
|
238
238
|
s(x, "defaultProps", function() {
|
239
239
|
return {
|
240
240
|
container: /* @__PURE__ */ $.createRef(),
|
241
241
|
children: /* @__PURE__ */ $.createElement(G.Slider, null)
|
242
242
|
};
|
243
243
|
});
|
244
|
-
function
|
244
|
+
function q(B) {
|
245
245
|
var v = arguments[0], d, t = B.styles, r = P;
|
246
246
|
return d = H(t), /* @__PURE__ */ $.createElement(r, d.cn("SSlider", W({}, L({
|
247
247
|
onDragStart: function() {
|
@@ -249,12 +249,12 @@ function Z(B) {
|
|
249
249
|
}
|
250
250
|
}, v))));
|
251
251
|
}
|
252
|
-
var G =
|
253
|
-
Slider:
|
252
|
+
var G = U(x, {
|
253
|
+
Slider: q
|
254
254
|
});
|
255
255
|
export {
|
256
256
|
k as DEFAULT_SLIDER_SIZE,
|
257
257
|
G as default,
|
258
|
-
|
259
|
-
|
258
|
+
j as hideScrollBarsFromScreenReadersContext,
|
259
|
+
Z as setAreaValue
|
260
260
|
};
|
package/scroll-area/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/scroll-area","description":"Semrush ScrollArea Component","version":"5.45.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","scripts":{"build":"pnpm semcore-builder --source=js && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/utils":"4.48.0","@semcore/flex-box":"5.41.0"},"peerDependencies":{"@semcore/core":"^2.
|
1
|
+
{"name":"intergalactic/scroll-area","description":"Semrush ScrollArea Component","version":"5.45.1-prerelease.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","scripts":{"build":"pnpm semcore-builder --source=js && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/utils":"4.48.1-prerelease.0","@semcore/flex-box":"5.41.1-prerelease.0"},"peerDependencies":{"@semcore/core":"^2.39.1-prerelease.0","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/scroll-area"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -24,12 +24,12 @@ var _context = require("./context");
|
|
24
24
|
var _i18nEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/i18nEnhance"));
|
25
25
|
var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
|
26
26
|
/*__reshadow-styles__:"./style/input-search.shadow.css"*/
|
27
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
28
|
-
"__SInputSearch": "
|
29
|
-
"_size_m": "
|
30
|
-
"__SSearchClear": "
|
31
|
-
"_hide": "
|
32
|
-
"__SOutline": "
|
27
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SInputSearch_1180s_gg_._size_m_1180s_gg_{height:32px}.___SSearchClear_1180s_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SSearchClear_1180s_gg_.__hide_1180s_gg_{visibility:hidden}.___SOutline_1180s_gg_{top:-1px;left:-1px;width:100%;border-radius:var(--intergalactic-control-rounded, 6px) var(--intergalactic-control-rounded, 6px)0 0;box-sizing:content-box}" /*__inner_css_end__*/, "1180s_gg_") /*__reshadow_css_end__*/, {
|
28
|
+
"__SInputSearch": "___SInputSearch_1180s_gg_",
|
29
|
+
"_size_m": "_size_m_1180s_gg_",
|
30
|
+
"__SSearchClear": "___SSearchClear_1180s_gg_",
|
31
|
+
"_hide": "__hide_1180s_gg_",
|
32
|
+
"__SOutline": "___SOutline_1180s_gg_"
|
33
33
|
});
|
34
34
|
var InputSearchRoot = /*#__PURE__*/function (_Component) {
|
35
35
|
(0, _inherits2["default"])(InputSearchRoot, _Component);
|