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
@@ -1,15 +1,15 @@
|
|
1
1
|
import A from "@babel/runtime/helpers/esm/slicedToArray";
|
2
|
-
import
|
2
|
+
import V from "@babel/runtime/helpers/esm/objectSpread2";
|
3
3
|
import x from "@babel/runtime/helpers/esm/classCallCheck";
|
4
4
|
import I from "@babel/runtime/helpers/esm/createClass";
|
5
5
|
import d from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
6
|
import C from "@babel/runtime/helpers/esm/inherits";
|
7
7
|
import k from "@babel/runtime/helpers/esm/createSuper";
|
8
|
-
import
|
8
|
+
import l from "@babel/runtime/helpers/esm/defineProperty";
|
9
9
|
import { sstyled as M } from 'intergalactic/utils/lib/core/index';
|
10
|
-
import z, { sstyled as
|
10
|
+
import z, { sstyled as D, assignProps as R, Component as $ } from 'intergalactic/core';
|
11
11
|
import h from "react";
|
12
|
-
import
|
12
|
+
import P from 'intergalactic/input';
|
13
13
|
import { IncrementIcon as W, DecrementIcon as K } from "./buttons.mjs";
|
14
14
|
import { localizedMessages as F } from "./translations/__intergalactic-dynamic-locales.mjs";
|
15
15
|
import L from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
@@ -19,38 +19,38 @@ var N = (
|
|
19
19
|
/*__reshadow_css_start__*/
|
20
20
|
(M.insert(
|
21
21
|
/*__inner_css_start__*/
|
22
|
-
".
|
23
|
-
"
|
22
|
+
".___SValue_otw7a_gg_:focus~.___SControls_otw7a_gg_{display:flex}.___SControls_otw7a_gg_{display:none;flex-flow:column;justify-content:center;height:100%;box-sizing:border-box}.___SControls_otw7a_gg_.__showControls_otw7a_gg_{display:flex}.___SDown_otw7a_gg_,.___SUp_otw7a_gg_{padding:0;width:16px;color:var(--intergalactic-icon-secondary-neutral, #a9abb6);box-sizing:border-box;display:inline-flex;justify-content:center;border:0;background:0 0;cursor:pointer}.___SDown_otw7a_gg_:focus,.___SUp_otw7a_gg_:focus{outline:0}@media (hover:hover){.___SDown_otw7a_gg_:hover,.___SUp_otw7a_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SUp_otw7a_gg_{padding-bottom:1px}.___SDown_otw7a_gg_{padding-top:1px}.___SValue_otw7a_gg_::-webkit-inner-spin-button,.___SValue_otw7a_gg_::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.___SValue_otw7a_gg_._type_number_otw7a_gg_{-moz-appearance:textfield}.___SValue_otw7a_gg_.__disabled_otw7a_gg_~.___SControls_otw7a_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SValueHidden_otw7a_gg_{position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden}",
|
23
|
+
"otw7a_gg_"
|
24
24
|
), {
|
25
|
-
__SValue: "
|
26
|
-
__SControls: "
|
27
|
-
_showControls: "
|
28
|
-
__SUp: "
|
29
|
-
__SDown: "
|
30
|
-
_disabled: "
|
31
|
-
__SValueHidden: "
|
32
|
-
_type_number: "
|
25
|
+
__SValue: "___SValue_otw7a_gg_",
|
26
|
+
__SControls: "___SControls_otw7a_gg_",
|
27
|
+
_showControls: "__showControls_otw7a_gg_",
|
28
|
+
__SUp: "___SUp_otw7a_gg_",
|
29
|
+
__SDown: "___SDown_otw7a_gg_",
|
30
|
+
_disabled: "__disabled_otw7a_gg_",
|
31
|
+
__SValueHidden: "___SValueHidden_otw7a_gg_",
|
32
|
+
_type_number: "_type_number_otw7a_gg_"
|
33
33
|
})
|
34
34
|
);
|
35
35
|
function H(m) {
|
36
36
|
var g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MIN_SAFE_INTEGER, c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Number.MAX_SAFE_INTEGER;
|
37
37
|
return Math.max(g, Math.min(c, m));
|
38
38
|
}
|
39
|
-
var
|
39
|
+
var b = /* @__PURE__ */ function(m) {
|
40
40
|
C(c, m);
|
41
41
|
var g = k(c);
|
42
42
|
function c() {
|
43
|
-
var
|
43
|
+
var t;
|
44
44
|
x(this, c);
|
45
|
-
for (var n = arguments.length, s = new Array(n),
|
46
|
-
s[
|
47
|
-
return
|
48
|
-
var
|
49
|
-
(
|
50
|
-
}),
|
51
|
-
var
|
52
|
-
(
|
53
|
-
}),
|
45
|
+
for (var n = arguments.length, s = new Array(n), i = 0; i < n; i++)
|
46
|
+
s[i] = arguments[i];
|
47
|
+
return t = g.call.apply(g, [this].concat(s)), l(d(t), "inputRef", /* @__PURE__ */ h.createRef()), l(d(t), "increment", function(e) {
|
48
|
+
var a, r;
|
49
|
+
(a = t.inputRef.current) === null || a === void 0 || (r = a.stepUp) === null || r === void 0 || r.call(a, e);
|
50
|
+
}), l(d(t), "decrement", function(e) {
|
51
|
+
var a, r;
|
52
|
+
(a = t.inputRef.current) === null || a === void 0 || (r = a.stepDown) === null || r === void 0 || r.call(a, e);
|
53
|
+
}), t;
|
54
54
|
}
|
55
55
|
return I(c, [{
|
56
56
|
key: "getValueProps",
|
@@ -68,26 +68,26 @@ var P = /* @__PURE__ */ function(m) {
|
|
68
68
|
}, {
|
69
69
|
key: "getControlsProps",
|
70
70
|
value: function() {
|
71
|
-
var n = this.asProps, s = n.size,
|
71
|
+
var n = this.asProps, s = n.size, i = n.getI18nText;
|
72
72
|
return {
|
73
73
|
size: s,
|
74
74
|
increment: this.increment,
|
75
75
|
decrement: this.decrement,
|
76
|
-
getI18nText:
|
76
|
+
getI18nText: i
|
77
77
|
};
|
78
78
|
}
|
79
79
|
}, {
|
80
80
|
key: "render",
|
81
81
|
value: function() {
|
82
|
-
var n = this.asProps, s,
|
83
|
-
return s =
|
82
|
+
var n = this.asProps, s, i = P;
|
83
|
+
return s = D(this.asProps.style), /* @__PURE__ */ h.createElement(i, s.cn("SInputNumber", V({}, R({}, n))));
|
84
84
|
}
|
85
85
|
}]), c;
|
86
86
|
}($);
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
87
|
+
l(b, "displayName", "InputNumber");
|
88
|
+
l(b, "style", N);
|
89
|
+
l(b, "enhance", [L(F)]);
|
90
|
+
l(b, "defaultProps", {
|
91
91
|
size: "m",
|
92
92
|
i18n: F,
|
93
93
|
locale: "en"
|
@@ -96,116 +96,116 @@ var E = /* @__PURE__ */ function(m) {
|
|
96
96
|
C(c, m);
|
97
97
|
var g = k(c);
|
98
98
|
function c() {
|
99
|
-
var
|
99
|
+
var t;
|
100
100
|
x(this, c);
|
101
|
-
for (var n = arguments.length, s = new Array(n),
|
102
|
-
s[
|
103
|
-
return
|
104
|
-
return e.replace(new RegExp("[".concat(
|
105
|
-
}),
|
106
|
-
var
|
107
|
-
if (Number.isNaN(Number(
|
101
|
+
for (var n = arguments.length, s = new Array(n), i = 0; i < n; i++)
|
102
|
+
s[i] = arguments[i];
|
103
|
+
return t = g.call.apply(g, [this].concat(s)), l(d(t), "valueInputRef", /* @__PURE__ */ h.createRef()), l(d(t), "cursorPosition", -1), l(d(t), "getFormattedValue", function(e) {
|
104
|
+
return e.replace(new RegExp("[".concat(t.separatorThousands, "]"), "g"), "").replace(t.separatorDecimal, ".");
|
105
|
+
}), l(d(t), "valueParser", function(e, a, r) {
|
106
|
+
var u = t.props.numberFormatter, o = t.getFormattedValue(String(e));
|
107
|
+
if (Number.isNaN(Number(o)))
|
108
108
|
return {
|
109
|
-
parsedValue:
|
110
|
-
displayValue:
|
109
|
+
parsedValue: a,
|
110
|
+
displayValue: r
|
111
111
|
};
|
112
112
|
var f = "";
|
113
|
-
if (/\.[0-9]*0$/.test(
|
114
|
-
var p =
|
115
|
-
f =
|
116
|
-
} else
|
113
|
+
if (/\.[0-9]*0$/.test(o)) {
|
114
|
+
var p = o.split(t.separatorDecimal), _ = A(p, 2), v = _[0], S = _[1];
|
115
|
+
f = u.format(v) + t.separatorDecimal + S;
|
116
|
+
} else o !== "" && (f = u.format(o));
|
117
117
|
return {
|
118
|
-
parsedValue:
|
118
|
+
parsedValue: o,
|
119
119
|
displayValue: f
|
120
120
|
};
|
121
|
-
}),
|
122
|
-
var
|
123
|
-
if (Number.isNaN(
|
124
|
-
e.currentTarget.value = "",
|
121
|
+
}), l(d(t), "handleValidation", function(e) {
|
122
|
+
var a = t.asProps, r = a.value, u = a.displayValue, o = a.min, f = a.max, p = a.step, _ = t.valueParser(e.currentTarget.value, r, u), v = _.parsedValue, S = p < 1 ? p.toString().split(".")[1].length : 1;
|
123
|
+
if (Number.isNaN(r) || Number.isNaN(Number.parseFloat(v)))
|
124
|
+
e.currentTarget.value = "", t.handlers.value("", e);
|
125
125
|
else {
|
126
|
-
var y = H(Number.parseFloat(v),
|
127
|
-
|
126
|
+
var y = H(Number.parseFloat(v), o, f), w = t.round(y % p, p);
|
127
|
+
w !== 0 && (w >= p / 2 ? y += p - w : Math.abs(w) < p && (y -= w));
|
128
128
|
var U = Number(y.toFixed(S));
|
129
|
-
|
129
|
+
t.handlers.value(String(U), e);
|
130
130
|
}
|
131
|
-
}),
|
132
|
-
G(
|
133
|
-
}),
|
134
|
-
e.target ===
|
135
|
-
}),
|
136
|
-
var
|
137
|
-
if (
|
138
|
-
return
|
139
|
-
if (
|
131
|
+
}), l(d(t), "onWheel", function(e) {
|
132
|
+
G(t.asProps.onWheel, t.handleWheel)(e);
|
133
|
+
}), l(d(t), "handleWheel", function(e) {
|
134
|
+
e.target === t.valueInputRef.current && document.activeElement === t.valueInputRef.current && (e.preventDefault(), e.wheelDelta > 0 ? t.stepUp(e) : e.wheelDelta < 0 && t.stepDown(e));
|
135
|
+
}), l(d(t), "handleChange", function(e) {
|
136
|
+
var a = t.getFormattedValue(e.currentTarget.value), r = t.asProps, u = r.numberFormatter, o = r.value;
|
137
|
+
if (a === "." || a === "-")
|
138
|
+
return t.handlers.displayValue(a), !1;
|
139
|
+
if (a.endsWith("-"))
|
140
140
|
return !1;
|
141
|
-
if (
|
142
|
-
return
|
143
|
-
var f = /[0-9.-]+/.test(
|
144
|
-
(f ||
|
145
|
-
}),
|
146
|
-
e.key === "Shift" && (
|
147
|
-
}),
|
148
|
-
var
|
141
|
+
if (a.endsWith("."))
|
142
|
+
return a.length > o.length ? (t.handlers.displayValue(u.format(a) + t.separatorDecimal), !1) : (t.handlers.value(a.slice(0, -1), e), !1);
|
143
|
+
var f = /[0-9.-]+/.test(a);
|
144
|
+
(f || a === "") && t.handlers.value(a, e);
|
145
|
+
}), l(d(t), "handleKeyUp", function(e) {
|
146
|
+
e.key === "Shift" && (t.cursorPosition = -1);
|
147
|
+
}), l(d(t), "handleKeyDown", function(e) {
|
148
|
+
var a = e.currentTarget, r = a.value, u = r.length, o = t.asProps.displayValue;
|
149
149
|
if (e.key === "." || e.key === ",") {
|
150
|
-
if (
|
151
|
-
e.currentTarget.value =
|
152
|
-
else if (
|
150
|
+
if (r.indexOf(t.separatorDecimal) === -1 && e.key === ",")
|
151
|
+
e.currentTarget.value = r + ".";
|
152
|
+
else if (r.indexOf(t.separatorDecimal) !== -1) {
|
153
153
|
e.preventDefault(), e.stopPropagation();
|
154
154
|
return;
|
155
155
|
}
|
156
156
|
}
|
157
|
-
if (e.key === "Backspace" &&
|
158
|
-
return e.preventDefault(), e.stopPropagation(),
|
159
|
-
if (
|
160
|
-
var f =
|
157
|
+
if (e.key === "Backspace" && r.endsWith(t.separatorDecimal))
|
158
|
+
return e.preventDefault(), e.stopPropagation(), t.handlers.displayValue(o.slice(0, -1)), !1;
|
159
|
+
if (a.selectionStart !== u && (e.key === "Backspace" || e.key === t.separatorDecimal || ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"].includes(e.key))) {
|
160
|
+
var f = r.slice(a.selectionEnd);
|
161
161
|
requestAnimationFrame(function() {
|
162
|
-
var _ =
|
163
|
-
|
162
|
+
var _ = t.state.displayValue, v = _.lastIndexOf(f), S = v, y = v;
|
163
|
+
a.setSelectionRange(S, y);
|
164
164
|
});
|
165
165
|
}
|
166
166
|
var p = 2;
|
167
|
-
switch (e.shiftKey &&
|
167
|
+
switch (e.shiftKey && t.cursorPosition === -1 && (t.cursorPosition = a.selectionStart), e.key) {
|
168
168
|
case "ArrowLeft": {
|
169
|
-
e.preventDefault(),
|
169
|
+
e.preventDefault(), t.moveSelectionLeft(a, p);
|
170
170
|
break;
|
171
171
|
}
|
172
172
|
case "ArrowRight": {
|
173
|
-
e.preventDefault(),
|
173
|
+
e.preventDefault(), t.moveSelectionRight(a, p);
|
174
174
|
break;
|
175
175
|
}
|
176
176
|
case "ArrowDown": {
|
177
|
-
e.preventDefault(),
|
177
|
+
e.preventDefault(), t.stepDown(e);
|
178
178
|
break;
|
179
179
|
}
|
180
180
|
case "ArrowUp": {
|
181
|
-
e.preventDefault(),
|
181
|
+
e.preventDefault(), t.stepUp(e);
|
182
182
|
break;
|
183
183
|
}
|
184
184
|
}
|
185
|
-
}),
|
186
|
-
var
|
187
|
-
|
188
|
-
}),
|
189
|
-
var
|
190
|
-
|
191
|
-
}),
|
192
|
-
var
|
193
|
-
|
194
|
-
}),
|
195
|
-
|
196
|
-
}),
|
197
|
-
var
|
198
|
-
if (p === "" ? _ =
|
199
|
-
var v = _ + f <=
|
200
|
-
|
185
|
+
}), l(d(t), "moveSelectionLeft", function(e, a) {
|
186
|
+
var r = e.value, u = e.selectionStart - 1 >= 0 ? e.selectionStart - 1 : 0, o = r[e.selectionStart - a] === t.separatorThousands ? e.selectionStart - a : u;
|
187
|
+
t.cursorPosition === -1 ? e.setSelectionRange(o, o) : e.selectionStart <= t.cursorPosition && e.selectionEnd === t.cursorPosition ? e.setSelectionRange(o, e.selectionEnd) : e.setSelectionRange(e.selectionStart, r[e.selectionEnd - a] === t.separatorThousands ? e.selectionEnd - a : e.selectionEnd - 1);
|
188
|
+
}), l(d(t), "moveSelectionRight", function(e, a) {
|
189
|
+
var r = e.value, u = e.selectionEnd + 1, o = r[e.selectionEnd] === t.separatorThousands ? e.selectionEnd + a : u;
|
190
|
+
t.cursorPosition === -1 ? e.setSelectionRange(o, o) : e.selectionEnd >= t.cursorPosition && e.selectionStart === t.cursorPosition ? e.setSelectionRange(e.selectionStart, o) : e.setSelectionRange(r[e.selectionStart] === t.separatorThousands ? e.selectionStart + a : e.selectionStart + 1, e.selectionEnd);
|
191
|
+
}), l(d(t), "handleClick", function(e) {
|
192
|
+
var a = e.target, r = a.value;
|
193
|
+
r[a.selectionStart - 1] === t.separatorThousands && a.setSelectionRange(a.selectionStart - 1, a.selectionEnd - 1);
|
194
|
+
}), l(d(t), "handleBlur", function(e) {
|
195
|
+
t.cursorPosition = -1, t.handleValidation(e);
|
196
|
+
}), l(d(t), "stepUp", function(e) {
|
197
|
+
var a = t.asProps, r = a.max, u = r === void 0 ? Number.MAX_SAFE_INTEGER : r, o = a.min, f = a.step, p = a.value, _;
|
198
|
+
if (p === "" ? _ = o ?? 0 : _ = Number.parseFloat(p), !Number.isNaN(_)) {
|
199
|
+
var v = _ + f <= u ? _ + f : u;
|
200
|
+
t.handlers.value(v.toString(), e);
|
201
201
|
}
|
202
|
-
}),
|
203
|
-
var
|
204
|
-
if (p === "" ? _ =
|
205
|
-
var v = _ - f >=
|
206
|
-
|
202
|
+
}), l(d(t), "stepDown", function(e) {
|
203
|
+
var a = t.asProps, r = a.max, u = a.min, o = u === void 0 ? Number.MIN_SAFE_INTEGER : u, f = a.step, p = a.value, _;
|
204
|
+
if (p === "" ? _ = r ?? 0 : _ = Number.parseFloat(p), !Number.isNaN(_)) {
|
205
|
+
var v = _ - f >= o ? _ - f : o;
|
206
|
+
t.handlers.value(v.toString(), e);
|
207
207
|
}
|
208
|
-
}),
|
208
|
+
}), t;
|
209
209
|
}
|
210
210
|
return I(c, [{
|
211
211
|
key: "uncontrolledProps",
|
@@ -214,8 +214,8 @@ var E = /* @__PURE__ */ function(m) {
|
|
214
214
|
return {
|
215
215
|
displayValue: null,
|
216
216
|
value: [null, function(s) {
|
217
|
-
var
|
218
|
-
return n.handlers.displayValue(
|
217
|
+
var i = n.asProps, e = i.value, a = i.displayValue, r = n.valueParser(s, e, a), u = r.parsedValue, o = r.displayValue;
|
218
|
+
return n.handlers.displayValue(o), u;
|
219
219
|
}]
|
220
220
|
};
|
221
221
|
}
|
@@ -234,8 +234,8 @@ var E = /* @__PURE__ */ function(m) {
|
|
234
234
|
}, {
|
235
235
|
key: "round",
|
236
236
|
value: function(n, s) {
|
237
|
-
var
|
238
|
-
return
|
237
|
+
var i = Math.floor(s) === s ? 0 : s.toString().split(".")[1].length || 0;
|
238
|
+
return i === 0 ? Number.parseFloat(n) : Number.parseFloat(n).toPrecision(i);
|
239
239
|
}
|
240
240
|
}, {
|
241
241
|
key: "componentDidMount",
|
@@ -244,10 +244,10 @@ var E = /* @__PURE__ */ function(m) {
|
|
244
244
|
function() {
|
245
245
|
var n;
|
246
246
|
(n = this.valueInputRef.current) === null || n === void 0 || n.addEventListener("wheel", this.onWheel);
|
247
|
-
var s = this.asProps,
|
248
|
-
if (
|
249
|
-
var
|
250
|
-
this.handlers.displayValue(
|
247
|
+
var s = this.asProps, i = s.inputRef, e = s.value;
|
248
|
+
if (i.current && (i.current.stepUp = this.stepUp, i.current.stepDown = this.stepDown), e !== "") {
|
249
|
+
var a = this.valueParser(e, "", ""), r = a.displayValue;
|
250
|
+
this.handlers.displayValue(r);
|
251
251
|
}
|
252
252
|
}
|
253
253
|
)
|
@@ -255,8 +255,8 @@ var E = /* @__PURE__ */ function(m) {
|
|
255
255
|
key: "componentDidUpdate",
|
256
256
|
value: function(n) {
|
257
257
|
if (n.value !== this.props.value) {
|
258
|
-
var s = this.valueParser(this.props.value, n.value, n.displayValue),
|
259
|
-
this.handlers.displayValue(
|
258
|
+
var s = this.valueParser(this.props.value, n.value, n.displayValue), i = s.displayValue;
|
259
|
+
this.handlers.displayValue(i);
|
260
260
|
}
|
261
261
|
}
|
262
262
|
}, {
|
@@ -268,8 +268,8 @@ var E = /* @__PURE__ */ function(m) {
|
|
268
268
|
}, {
|
269
269
|
key: "render",
|
270
270
|
value: function() {
|
271
|
-
var n = this.asProps, s,
|
272
|
-
return s =
|
271
|
+
var n = this.asProps, s, i = P.Value, e = this.asProps, a = e.styles, r = e.min, u = e.max, o = e.step, f = e.forwardRef, p = e.inputRef, _ = e.displayValue;
|
272
|
+
return s = D(a), /* @__PURE__ */ h.createElement(h.Fragment, null, /* @__PURE__ */ h.createElement(i, s.cn("SValue", V({}, R({
|
273
273
|
autoComplete: "off",
|
274
274
|
onBlur: this.handleValidation,
|
275
275
|
"use:onChange": this.handleChange,
|
@@ -278,45 +278,45 @@ var E = /* @__PURE__ */ function(m) {
|
|
278
278
|
onClick: this.handleClick,
|
279
279
|
"use:ref": B(this.valueInputRef, p, f),
|
280
280
|
"use:value": _,
|
281
|
-
inputMode: Number.isInteger(
|
282
|
-
min:
|
283
|
-
max:
|
284
|
-
step:
|
281
|
+
inputMode: Number.isInteger(o) ? "numeric" : "decimal",
|
282
|
+
min: r,
|
283
|
+
max: u,
|
284
|
+
step: o
|
285
285
|
}, n)))));
|
286
286
|
}
|
287
287
|
}]), c;
|
288
288
|
}($);
|
289
|
-
|
290
|
-
|
289
|
+
l(E, "style", N);
|
290
|
+
l(E, "defaultProps", {
|
291
291
|
defaultValue: "",
|
292
292
|
defaultDisplayValue: "",
|
293
293
|
step: 1
|
294
294
|
});
|
295
295
|
function T(m) {
|
296
|
-
var g = arguments[0], c,
|
297
|
-
return c =
|
296
|
+
var g = arguments[0], c, t = m.Children, n = m.increment, s = m.decrement, i = m.size, e = m.styles, a = m.getI18nText, r = P.Addon, u = "button", o = "button";
|
297
|
+
return c = D(e), /* @__PURE__ */ h.createElement(r, c.cn("SControls", V({}, R({
|
298
298
|
"aria-hidden": "true"
|
299
|
-
}, g))), /* @__PURE__ */ h.createElement(
|
299
|
+
}, g))), /* @__PURE__ */ h.createElement(u, c.cn("SUp", {
|
300
300
|
onClick: n,
|
301
301
|
tabIndex: -1,
|
302
302
|
type: "button",
|
303
|
-
size:
|
304
|
-
"aria-label":
|
305
|
-
}), /* @__PURE__ */ h.createElement(W, c.cn("IncrementIcon", {}))), /* @__PURE__ */ h.createElement(
|
303
|
+
size: i,
|
304
|
+
"aria-label": a("increment")
|
305
|
+
}), /* @__PURE__ */ h.createElement(W, c.cn("IncrementIcon", {}))), /* @__PURE__ */ h.createElement(o, c.cn("SDown", {
|
306
306
|
onClick: s,
|
307
307
|
tabIndex: -1,
|
308
308
|
type: "button",
|
309
|
-
size:
|
310
|
-
"aria-label":
|
311
|
-
}), /* @__PURE__ */ h.createElement(K, c.cn("DecrementIcon", {}))), /* @__PURE__ */ h.createElement(
|
309
|
+
size: i,
|
310
|
+
"aria-label": a("decrement")
|
311
|
+
}), /* @__PURE__ */ h.createElement(K, c.cn("DecrementIcon", {}))), /* @__PURE__ */ h.createElement(t, c.cn("Children", {})));
|
312
312
|
}
|
313
313
|
T.style = N;
|
314
|
-
const
|
314
|
+
const ue = z(b, {
|
315
315
|
Value: E,
|
316
316
|
Controls: T,
|
317
|
-
Addon:
|
317
|
+
Addon: P.Addon
|
318
318
|
});
|
319
319
|
export {
|
320
|
-
|
320
|
+
ue as default,
|
321
321
|
H as parseValueWithMinMax
|
322
322
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/input-number","description":"Semrush InputNumber Component","version":"5.41.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/input":"4.42.0","@semcore/utils":"4.48.0","@semcore/flex-box":"5.41.0"},"peerDependencies":{"@semcore/core":"^2.
|
1
|
+
{"name":"intergalactic/input-number","description":"Semrush InputNumber Component","version":"5.41.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/input":"4.42.1-prerelease.0","@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/input-number"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -30,18 +30,18 @@ var _i18nEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhan
|
|
30
30
|
var _findComponent = require("intergalactic/utils/lib/findComponent");
|
31
31
|
var _getAccessibleName = require("intergalactic/utils/lib/getAccessibleName");
|
32
32
|
/*__reshadow-styles__:"./style/input-tag.shadow.css"*/
|
33
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
34
|
-
"__SInputTags": "
|
35
|
-
"__SContainer": "
|
36
|
-
"__SOutline": "
|
37
|
-
"_orientation_vertical": "
|
38
|
-
"_size_m": "
|
39
|
-
"_size_l": "
|
40
|
-
"__STagContainer": "
|
41
|
-
"_editable": "
|
42
|
-
"__SValue": "
|
43
|
-
"__SSpacer": "
|
44
|
-
"__SListAriaWrapper": "
|
33
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SInputTags_mjffa_gg_{box-sizing:border-box;cursor:text;align-items:flex-start;overflow:visible;overflow:initial}.___SInputTags_mjffa_gg_ .___SContainer_mjffa_gg_:focus .___SOutline_mjffa_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInputTags_mjffa_gg_ .___SContainer_mjffa_gg_:focus:has(.___SOutline_mjffa_gg_)::after{box-shadow:none}.___SContainer_mjffa_gg_{padding:1px 0;box-sizing:border-box;border-bottom:1px solid transparent;border-top:1px solid transparent}.___SInputTags_mjffa_gg_>div>div{display:flex;align-items:center;flex-flow:row wrap}.___SInputTags_mjffa_gg_>div[data-ui-name=\"ScrollArea.Bar\"]._orientation_vertical_mjffa_gg_{right:1px!important}.___SInputTags_mjffa_gg_._size_m_mjffa_gg_{min-height:var(--intergalactic-form-control-m, 28px);height:auto;padding:0 calc(var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))}.___SInputTags_mjffa_gg_._size_l_mjffa_gg_{min-height:var(--intergalactic-form-control-l, 40px);height:auto;padding:0 calc(var(--intergalactic-spacing-2x, 8px) + var(--intergalactic-spacing-05x, 2px))}.___STagContainer_mjffa_gg_{margin:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_mjffa_gg_.__editable_mjffa_gg_{cursor:pointer}.___SInputTags_mjffa_gg_._size_m_mjffa_gg_ .___SValue_mjffa_gg_{height:calc(var(--intergalactic-form-control-m, 28px) - var(--intergalactic-spacing-1x, 4px))}.___SInputTags_mjffa_gg_._size_l_mjffa_gg_ .___SValue_mjffa_gg_{height:calc(var(--intergalactic-form-control-l, 40px) - var(--intergalactic-spacing-1x, 4px))}.___SValue_mjffa_gg_{padding:0!important;margin-left:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-05x, 2px)}.___SSpacer_mjffa_gg_{position:absolute;top:0;left:0;visibility:hidden;height:0;overflow:scroll;white-space:pre;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;text-transform:inherit}.___SListAriaWrapper_mjffa_gg_{display:contents}" /*__inner_css_end__*/, "mjffa_gg_") /*__reshadow_css_end__*/, {
|
34
|
+
"__SInputTags": "___SInputTags_mjffa_gg_",
|
35
|
+
"__SContainer": "___SContainer_mjffa_gg_",
|
36
|
+
"__SOutline": "___SOutline_mjffa_gg_",
|
37
|
+
"_orientation_vertical": "_orientation_vertical_mjffa_gg_",
|
38
|
+
"_size_m": "_size_m_mjffa_gg_",
|
39
|
+
"_size_l": "_size_l_mjffa_gg_",
|
40
|
+
"__STagContainer": "___STagContainer_mjffa_gg_",
|
41
|
+
"_editable": "__editable_mjffa_gg_",
|
42
|
+
"__SValue": "___SValue_mjffa_gg_",
|
43
|
+
"__SSpacer": "___SSpacer_mjffa_gg_",
|
44
|
+
"__SListAriaWrapper": "___SListAriaWrapper_mjffa_gg_"
|
45
45
|
});
|
46
46
|
var InputTags = /*#__PURE__*/function (_Component) {
|
47
47
|
(0, _inherits2["default"])(InputTags, _Component);
|
@@ -26,18 +26,18 @@ import Portal from 'intergalactic/portal';
|
|
26
26
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
27
27
|
import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
28
28
|
/*__reshadow-styles__:"./style/input-tag.shadow.css"*/
|
29
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
30
|
-
"__SInputTags": "
|
31
|
-
"__SContainer": "
|
32
|
-
"__SOutline": "
|
33
|
-
"_orientation_vertical": "
|
34
|
-
"_size_m": "
|
35
|
-
"_size_l": "
|
36
|
-
"__STagContainer": "
|
37
|
-
"_editable": "
|
38
|
-
"__SValue": "
|
39
|
-
"__SSpacer": "
|
40
|
-
"__SListAriaWrapper": "
|
29
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SInputTags_mjffa_gg_{box-sizing:border-box;cursor:text;align-items:flex-start;overflow:visible;overflow:initial}.___SInputTags_mjffa_gg_ .___SContainer_mjffa_gg_:focus .___SOutline_mjffa_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInputTags_mjffa_gg_ .___SContainer_mjffa_gg_:focus:has(.___SOutline_mjffa_gg_)::after{box-shadow:none}.___SContainer_mjffa_gg_{padding:1px 0;box-sizing:border-box;border-bottom:1px solid transparent;border-top:1px solid transparent}.___SInputTags_mjffa_gg_>div>div{display:flex;align-items:center;flex-flow:row wrap}.___SInputTags_mjffa_gg_>div[data-ui-name=\"ScrollArea.Bar\"]._orientation_vertical_mjffa_gg_{right:1px!important}.___SInputTags_mjffa_gg_._size_m_mjffa_gg_{min-height:var(--intergalactic-form-control-m, 28px);height:auto;padding:0 calc(var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))}.___SInputTags_mjffa_gg_._size_l_mjffa_gg_{min-height:var(--intergalactic-form-control-l, 40px);height:auto;padding:0 calc(var(--intergalactic-spacing-2x, 8px) + var(--intergalactic-spacing-05x, 2px))}.___STagContainer_mjffa_gg_{margin:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_mjffa_gg_.__editable_mjffa_gg_{cursor:pointer}.___SInputTags_mjffa_gg_._size_m_mjffa_gg_ .___SValue_mjffa_gg_{height:calc(var(--intergalactic-form-control-m, 28px) - var(--intergalactic-spacing-1x, 4px))}.___SInputTags_mjffa_gg_._size_l_mjffa_gg_ .___SValue_mjffa_gg_{height:calc(var(--intergalactic-form-control-l, 40px) - var(--intergalactic-spacing-1x, 4px))}.___SValue_mjffa_gg_{padding:0!important;margin-left:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-05x, 2px)}.___SSpacer_mjffa_gg_{position:absolute;top:0;left:0;visibility:hidden;height:0;overflow:scroll;white-space:pre;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;text-transform:inherit}.___SListAriaWrapper_mjffa_gg_{display:contents}" /*__inner_css_end__*/, "mjffa_gg_") /*__reshadow_css_end__*/, {
|
30
|
+
"__SInputTags": "___SInputTags_mjffa_gg_",
|
31
|
+
"__SContainer": "___SContainer_mjffa_gg_",
|
32
|
+
"__SOutline": "___SOutline_mjffa_gg_",
|
33
|
+
"_orientation_vertical": "_orientation_vertical_mjffa_gg_",
|
34
|
+
"_size_m": "_size_m_mjffa_gg_",
|
35
|
+
"_size_l": "_size_l_mjffa_gg_",
|
36
|
+
"__STagContainer": "___STagContainer_mjffa_gg_",
|
37
|
+
"_editable": "__editable_mjffa_gg_",
|
38
|
+
"__SValue": "___SValue_mjffa_gg_",
|
39
|
+
"__SSpacer": "___SSpacer_mjffa_gg_",
|
40
|
+
"__SListAriaWrapper": "___SListAriaWrapper_mjffa_gg_"
|
41
41
|
});
|
42
42
|
import { extractFrom, isAdvanceMode } from 'intergalactic/utils/lib/findComponent';
|
43
43
|
import { getAccessibleName } from 'intergalactic/utils/lib/getAccessibleName';
|