intergalactic 15.128.0-prerelease.0 → 15.128.0-prerelease.1
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 +4 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +85 -85
- 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 +57 -57
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +35 -35
- package/animation/lib/esm/Scale.mjs +45 -45
- package/animation/lib/esm/Slide.mjs +34 -34
- package/animation/lib/esm/Transform.mjs +42 -42
- 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 +19 -19
- 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 +51 -51
- package/base-trigger/lib/esm/ButtonTrigger.mjs +19 -19
- package/base-trigger/lib/esm/FilterTrigger.mjs +67 -67
- package/base-trigger/lib/esm/LinkTrigger.mjs +45 -45
- 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 +46 -46
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +28 -28
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +28 -28
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +56 -56
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +54 -54
- 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 +31 -31
- 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 +132 -132
- 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 +88 -88
- 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 +96 -96
- package/color-picker/lib/esm/PaletteManager.mjs +61 -61
- package/color-picker/lib/esm/components/InputColor.mjs +86 -86
- package/color-picker/package.json +1 -1
- package/components.json +68 -68
- 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 +21 -21
- 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 +72 -72
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +169 -169
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +63 -63
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +104 -104
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +75 -75
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +127 -127
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +46 -46
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +55 -55
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +37 -37
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +80 -80
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +18 -18
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +206 -206
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +102 -102
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +95 -95
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +32 -32
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +49 -49
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +69 -69
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +31 -31
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +39 -39
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +27 -27
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +34 -34
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +3 -3
- package/data-table/lib/cjs/DataTable.js +36 -36
- package/data-table/lib/es6/Body.js +3 -3
- package/data-table/lib/es6/DataTable.js +36 -36
- package/data-table/lib/esm/Body.mjs +66 -66
- package/data-table/lib/esm/DataTable.mjs +237 -237
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/esm/components/Calendar.mjs +134 -134
- package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +114 -114
- package/date-picker/lib/esm/components/InputTrigger.mjs +150 -150
- package/date-picker/lib/esm/components/PickerAbstract.mjs +58 -58
- package/date-picker/lib/esm/components/RangePickerAbstract.mjs +46 -46
- 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 +37 -37
- 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 +37 -37
- 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 +186 -186
- 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 +84 -84
- 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 +138 -138
- 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 +73 -73
- 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 +35 -35
- 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 +58 -58
- package/feature-popover/package.json +1 -1
- 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 +50 -50
- package/flex-box/lib/esm/Flex/useFlex.mjs +15 -15
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +10 -10
- 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 +73 -73
- 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 +160 -160
- 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 +32 -32
- 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/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 +38 -38
- 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 +125 -125
- 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 +91 -91
- 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 +70 -70
- 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 +126 -126
- 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 +112 -112
- 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 +54 -54
- 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 +38 -38
- package/mini-chart/lib/esm/component/score/Line.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Bar.mjs +31 -31
- package/mini-chart/lib/esm/component/trend/Line.mjs +32 -32
- package/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +96 -96
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +70 -70
- 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 +115 -115
- 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 +51 -51
- 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 +69 -69
- 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 +74 -74
- 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 +79 -79
- 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 +26 -26
- package/product-head/lib/esm/ProductHead.mjs +37 -37
- package/product-head/lib/esm/Title.mjs +17 -17
- 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 +60 -60
- 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 +113 -113
- 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 +98 -98
- package/scroll-area/lib/esm/ScrollBar.mjs +40 -40
- package/scroll-area/package.json +1 -1
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +56 -56
- package/side-panel/package.json +1 -1
- package/skeleton/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 +27 -27
- package/skeleton/lib/esm/Charts/Bar.mjs +23 -23
- package/skeleton/lib/esm/Charts/Bubble.mjs +24 -24
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +22 -22
- package/skeleton/lib/esm/Charts/Donut.mjs +24 -24
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +25 -25
- package/skeleton/lib/esm/Charts/RadialTree.mjs +10 -10
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +19 -19
- package/skeleton/lib/esm/Charts/Venn.mjs +24 -24
- package/skeleton/lib/esm/Skeleton.mjs +44 -44
- 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 +78 -78
- 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 +41 -41
- 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 +43 -43
- 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 +18 -18
- 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 +104 -104
- 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 +76 -76
- 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 +39 -39
- 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 +114 -114
- 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 +49 -49
- package/textarea/package.json +1 -1
- 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 +113 -113
- 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 +41 -41
- package/typography/lib/esm/List.mjs +48 -48
- 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 +19 -19
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +94 -94
- package/wizard/package.json +1 -1
@@ -1,83 +1,83 @@
|
|
1
1
|
import N from "@babel/runtime/helpers/esm/slicedToArray";
|
2
2
|
import W from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
3
|
+
import h from "@babel/runtime/helpers/esm/objectSpread2";
|
4
|
+
import L from "@babel/runtime/helpers/esm/classCallCheck";
|
5
|
+
import z from "@babel/runtime/helpers/esm/createClass";
|
6
|
+
import u from "@babel/runtime/helpers/esm/assertThisInitialized";
|
7
7
|
import C from "@babel/runtime/helpers/esm/inherits";
|
8
8
|
import A from "@babel/runtime/helpers/esm/createSuper";
|
9
|
-
import
|
9
|
+
import o from "@babel/runtime/helpers/esm/defineProperty";
|
10
10
|
import { sstyled as q } from 'intergalactic/utils/lib/core/index';
|
11
11
|
import B, { sstyled as y, assignProps as I, Component as D } from 'intergalactic/core';
|
12
|
-
import
|
12
|
+
import g from "react";
|
13
13
|
import { Box as p } from 'intergalactic/flex-box';
|
14
14
|
import k from 'intergalactic/neighbor-location';
|
15
15
|
import H from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
16
16
|
import G from 'intergalactic/utils/lib/enhances/resolveColorEnhance';
|
17
17
|
import J, { inputProps as O } from 'intergalactic/utils/lib/inputProps';
|
18
|
-
import { inputProps as
|
19
|
-
import { callAllEventHandlers as
|
18
|
+
import { inputProps as P_ } from 'intergalactic/utils/lib/inputProps';
|
19
|
+
import { callAllEventHandlers as T } from 'intergalactic/utils/lib/assignProps';
|
20
20
|
import Q from 'intergalactic/utils/lib/uniqueID';
|
21
21
|
import "@semcore/utils/lib/canUseDOM";
|
22
22
|
var Y = ["Children", "forwardRef", "styles", "includeInputProps", "keyboardFocused", "neighborLocation", "theme", "uid", "active", "resolveColor"], Z = (
|
23
23
|
/*__reshadow_css_start__*/
|
24
24
|
(q.insert(
|
25
25
|
/*__inner_css_start__*/
|
26
|
-
".
|
27
|
-
"
|
26
|
+
".___SSwitch_utncw_gg_{display:inline-flex;vertical-align:middle;align-items:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SSwitch_utncw_gg_.__size_utncw_gg_ .___SToggle_utncw_gg_{border-radius:var(--intergalactic-switch-rounded, 24px)}.___SSwitch_utncw_gg_._size_m_utncw_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SSwitch_utncw_gg_._size_m_utncw_gg_ .___SToggle_utncw_gg_{width:20px;height:12px;min-width:20px}.___SSwitch_utncw_gg_._size_m_utncw_gg_ .___SSlider_utncw_gg_{width:8px;height:8px;border-radius:4px}.___SSwitch_utncw_gg_._size_l_utncw_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SSwitch_utncw_gg_._size_l_utncw_gg_ .___SToggle_utncw_gg_{height:20px;width:36px;min-width:36px}.___SSwitch_utncw_gg_._size_l_utncw_gg_ .___SSlider_utncw_gg_{width:16px;height:16px;border-radius:8px}.___SSwitch_utncw_gg_._size_xl_utncw_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SSwitch_utncw_gg_._size_xl_utncw_gg_ .___SToggle_utncw_gg_{width:44px;height:24px;min-width:44px}.___SSwitch_utncw_gg_._size_xl_utncw_gg_ .___SSlider_utncw_gg_{width:20px;height:20px;border-radius:10px}.___SSwitch_utncw_gg_.__disabled_utncw_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SSwitch_utncw_gg_.__disabled_utncw_gg_ .___SAddon_utncw_gg_,.___SSwitch_utncw_gg_.__disabled_utncw_gg_ .___SToggle_utncw_gg_{cursor:default}.___SSlider_utncw_gg_,.___SToggle_utncw_gg_{display:flex;align-items:center;justify-content:space-around}.___SToggle_utncw_gg_{background:var(--intergalactic-control-switch-bg, #a9abb6);position:relative;color:var(--intergalactic-icon-secondary-neutral, #a9abb6);cursor:pointer}.___SToggle_utncw_gg_.__checked_utncw_gg_._theme_info_utncw_gg_{color:var(--intergalactic-control-primary-info, #008ff8);background-color:var(--intergalactic-control-primary-info, #008ff8)}.___SToggle_utncw_gg_.__checked_utncw_gg_._theme_success_utncw_gg_{color:var(--intergalactic-control-primary-success, #009f81);background-color:var(--intergalactic-control-primary-success, #009f81)}.___SToggle_utncw_gg_.__checked_utncw_gg_._theme_custom_utncw_gg_{color:var(--color_utncw);background-color:var(--color_utncw)}.___SToggle_utncw_gg_.__keyboardFocused_utncw_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SToggle_utncw_gg_._neighborLocation_left_utncw_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SToggle_utncw_gg_._neighborLocation_both_utncw_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);margin-left:var(--intergalactic-spacing-2x, 8px)}.___SToggle_utncw_gg_._neighborLocation_right_utncw_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SSlider_utncw_gg_{background:var(--intergalactic-bg-primary-neutral, #ffffff);transform:translateX(-50%) scaleX(1);transition:transform calc(var(--intergalactic-duration-switch, 100)*1ms) ease-in-out;pointer-events:none}.___SSlider_utncw_gg_.__checked_utncw_gg_{transform:translateX(50%) scaleX(1)}.___SToggle_utncw_gg_.__active_utncw_gg_ .___SSlider_utncw_gg_{transform:translateX(-50%) scaleX(1.15) translateX(1px)}.___SToggle_utncw_gg_.__active_utncw_gg_ .___SSlider_utncw_gg_.__checked_utncw_gg_{transform:translateX(50%) scaleX(1.15) translateX(-1px)}.___SInput_utncw_gg_{position:absolute;clip:rect(1px,1px,1px,1px)}.___SAddon_utncw_gg_{cursor:pointer}.___SAddon_utncw_gg_._neighborLocation_right_utncw_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SAddon_utncw_gg_._neighborLocation_left_utncw_gg_,.___SSwitch_utncw_gg_.__checked_utncw_gg_ .___SAddon_utncw_gg_._neighborLocation_right_utncw_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SAddon_utncw_gg_._neighborLocation_left_utncw_gg_:nth-child(2){color:var(--intergalactic-text-primary, #191b23)}.___SSwitch_utncw_gg_.__checked_utncw_gg_ .___SAddon_utncw_gg_._neighborLocation_right_utncw_gg_:nth-last-child(2){color:var(--intergalactic-text-primary, #191b23)}.___SSwitch_utncw_gg_.__checked_utncw_gg_ .___SAddon_utncw_gg_._neighborLocation_left_utncw_gg_{color:var(--intergalactic-text-primary, #191b23)}@media (prefers-reduced-motion){.___SSlider_utncw_gg_{transition:none}}",
|
27
|
+
"utncw_gg_"
|
28
28
|
), {
|
29
|
-
__SSwitch: "
|
30
|
-
__SToggle: "
|
31
|
-
_checked: "
|
32
|
-
_theme_info: "
|
33
|
-
_theme_success: "
|
34
|
-
_theme_custom: "
|
35
|
-
"--color": "--
|
36
|
-
_keyboardFocused: "
|
37
|
-
_neighborLocation_left: "
|
38
|
-
_neighborLocation_both: "
|
39
|
-
_neighborLocation_right: "
|
40
|
-
__SInput: "
|
41
|
-
__SAddon: "
|
42
|
-
__SSlider: "
|
43
|
-
_size: "
|
44
|
-
_size_m: "
|
45
|
-
_size_l: "
|
46
|
-
_size_xl: "
|
47
|
-
_disabled: "
|
48
|
-
_active: "
|
29
|
+
__SSwitch: "___SSwitch_utncw_gg_",
|
30
|
+
__SToggle: "___SToggle_utncw_gg_",
|
31
|
+
_checked: "__checked_utncw_gg_",
|
32
|
+
_theme_info: "_theme_info_utncw_gg_",
|
33
|
+
_theme_success: "_theme_success_utncw_gg_",
|
34
|
+
_theme_custom: "_theme_custom_utncw_gg_",
|
35
|
+
"--color": "--color_utncw",
|
36
|
+
_keyboardFocused: "__keyboardFocused_utncw_gg_",
|
37
|
+
_neighborLocation_left: "_neighborLocation_left_utncw_gg_",
|
38
|
+
_neighborLocation_both: "_neighborLocation_both_utncw_gg_",
|
39
|
+
_neighborLocation_right: "_neighborLocation_right_utncw_gg_",
|
40
|
+
__SInput: "___SInput_utncw_gg_",
|
41
|
+
__SAddon: "___SAddon_utncw_gg_",
|
42
|
+
__SSlider: "___SSlider_utncw_gg_",
|
43
|
+
_size: "__size_utncw_gg_",
|
44
|
+
_size_m: "_size_m_utncw_gg_",
|
45
|
+
_size_l: "_size_l_utncw_gg_",
|
46
|
+
_size_xl: "_size_xl_utncw_gg_",
|
47
|
+
_disabled: "__disabled_utncw_gg_",
|
48
|
+
_active: "__active_utncw_gg_"
|
49
49
|
})
|
50
50
|
);
|
51
|
-
function __(
|
52
|
-
return !["info", "success"].includes(
|
51
|
+
function __(a) {
|
52
|
+
return !["info", "success"].includes(a);
|
53
53
|
}
|
54
|
-
var
|
55
|
-
C(
|
56
|
-
var
|
57
|
-
function
|
54
|
+
var w = /* @__PURE__ */ function(a) {
|
55
|
+
C(i, a);
|
56
|
+
var s = A(i);
|
57
|
+
function i(e) {
|
58
58
|
var _;
|
59
|
-
return
|
59
|
+
return L(this, i), _ = s.call(this, e), o(u(_), "inputRef", /* @__PURE__ */ g.createRef()), o(u(_), "state", {
|
60
60
|
active: !1
|
61
|
-
}),
|
61
|
+
}), o(u(_), "handleMouseUp", function() {
|
62
62
|
_.setState({
|
63
63
|
active: !1
|
64
64
|
});
|
65
|
-
}),
|
66
|
-
(
|
65
|
+
}), o(u(_), "handleMouseDown", function(t) {
|
66
|
+
(t == null ? void 0 : t.button) === 0 && _.setState({
|
67
67
|
active: !0
|
68
68
|
});
|
69
|
-
}), _.forceUpdate = _.forceUpdate.bind(
|
69
|
+
}), _.forceUpdate = _.forceUpdate.bind(u(_)), _;
|
70
70
|
}
|
71
|
-
return
|
71
|
+
return z(i, [{
|
72
72
|
key: "getValueProps",
|
73
73
|
value: function() {
|
74
|
-
var _ = this.asProps,
|
74
|
+
var _ = this.asProps, t = _.theme, n = _.uid, c = this.state.active;
|
75
75
|
return {
|
76
|
-
theme:
|
76
|
+
theme: t,
|
77
77
|
ref: this.inputRef,
|
78
78
|
$rootForceUpdate: this.forceUpdate,
|
79
|
-
uid:
|
80
|
-
active:
|
79
|
+
uid: n,
|
80
|
+
active: c
|
81
81
|
};
|
82
82
|
}
|
83
83
|
}, {
|
@@ -91,46 +91,46 @@ var z = /* @__PURE__ */ function(c) {
|
|
91
91
|
}, {
|
92
92
|
key: "render",
|
93
93
|
value: function() {
|
94
|
-
var _ = this.asProps,
|
95
|
-
return
|
94
|
+
var _ = this.asProps, t, n, c = p, r = this.asProps, f = r.Children, S = r.styles, v = r.controlsLength, b = (n = this.inputRef.current) === null || n === void 0 ? void 0 : n.checked;
|
95
|
+
return t = y(S), /* @__PURE__ */ g.createElement(c, t.cn("SSwitch", h({}, I({
|
96
96
|
tag: "label",
|
97
97
|
checked: b,
|
98
98
|
onMouseDown: this.handleMouseDown,
|
99
99
|
onMouseUp: this.handleMouseUp
|
100
|
-
}, _))), /* @__PURE__ */
|
100
|
+
}, _))), /* @__PURE__ */ g.createElement(k, t.cn("NeighborLocation", {
|
101
101
|
controlsLength: v
|
102
|
-
}), /* @__PURE__ */
|
102
|
+
}), /* @__PURE__ */ g.createElement(f, t.cn("Children", {}))));
|
103
103
|
}
|
104
|
-
}]),
|
104
|
+
}]), i;
|
105
105
|
}(D);
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
106
|
+
o(w, "displayName", "Switch");
|
107
|
+
o(w, "style", Z);
|
108
|
+
o(w, "enhance", [Q()]);
|
109
|
+
o(w, "defaultProps", {
|
110
110
|
theme: "info",
|
111
111
|
size: "m"
|
112
112
|
});
|
113
|
-
var m = /* @__PURE__ */ function(
|
114
|
-
C(
|
115
|
-
var
|
116
|
-
function
|
117
|
-
var
|
118
|
-
|
119
|
-
for (var _ = arguments.length,
|
120
|
-
|
121
|
-
return
|
122
|
-
(
|
123
|
-
}),
|
124
|
-
return
|
125
|
-
}),
|
113
|
+
var m = /* @__PURE__ */ function(a) {
|
114
|
+
C(i, a);
|
115
|
+
var s = A(i);
|
116
|
+
function i() {
|
117
|
+
var e;
|
118
|
+
L(this, i);
|
119
|
+
for (var _ = arguments.length, t = new Array(_), n = 0; n < _; n++)
|
120
|
+
t[n] = arguments[n];
|
121
|
+
return e = s.call.apply(s, [this].concat(t)), o(u(e), "timer", null), o(u(e), "handleKeyDown", function(c) {
|
122
|
+
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), e.handlers.checked(!e.asProps.checked, c));
|
123
|
+
}), o(u(e), "handlerInputClick", function(c) {
|
124
|
+
return c.stopPropagation();
|
125
|
+
}), e;
|
126
126
|
}
|
127
|
-
return
|
127
|
+
return z(i, [{
|
128
128
|
key: "uncontrolledProps",
|
129
129
|
value: function() {
|
130
130
|
var _ = this;
|
131
131
|
return {
|
132
|
-
checked: [function(
|
133
|
-
return
|
132
|
+
checked: [function(t) {
|
133
|
+
return t.target.checked;
|
134
134
|
}, function() {
|
135
135
|
clearTimeout(_.timer), _.timer = setTimeout(function() {
|
136
136
|
_.asProps.$rootForceUpdate();
|
@@ -146,8 +146,8 @@ var m = /* @__PURE__ */ function(c) {
|
|
146
146
|
}, {
|
147
147
|
key: "componentDidUpdate",
|
148
148
|
value: function(_) {
|
149
|
-
var
|
150
|
-
|
149
|
+
var t = _.checked;
|
150
|
+
t !== void 0 && t !== this.asProps.checked && this.asProps.$rootForceUpdate();
|
151
151
|
}
|
152
152
|
}, {
|
153
153
|
key: "componentWillUnmount",
|
@@ -157,60 +157,60 @@ var m = /* @__PURE__ */ function(c) {
|
|
157
157
|
}, {
|
158
158
|
key: "render",
|
159
159
|
value: function() {
|
160
|
-
var _ = this,
|
161
|
-
|
162
|
-
var F =
|
163
|
-
return /* @__PURE__ */
|
160
|
+
var _ = this, t = p, n = p, c = p, r = this.asProps, f = r.Children, S = r.forwardRef, v = r.styles, b = r.includeInputProps, E = r.keyboardFocused, U = r.neighborLocation, x = r.theme;
|
161
|
+
r.uid;
|
162
|
+
var F = r.active, $ = r.resolveColor, X = W(r, Y), R = J(X, b), P = N(R, 2), l = P[0], M = P[1], K = __(x) ? "custom" : x, V = $(x);
|
163
|
+
return /* @__PURE__ */ g.createElement(k.Detect, {
|
164
164
|
neighborLocation: U
|
165
165
|
}, function(j) {
|
166
|
-
var
|
167
|
-
return
|
166
|
+
var d;
|
167
|
+
return d = y(v), /* @__PURE__ */ g.createElement(t, d.cn("SToggle", h({
|
168
168
|
keyboardFocused: E,
|
169
169
|
neighborLocation: j,
|
170
|
-
checked:
|
170
|
+
checked: l.checked,
|
171
171
|
active: F,
|
172
172
|
"use:theme": K,
|
173
173
|
"use:color": V
|
174
|
-
}, M)), /* @__PURE__ */
|
174
|
+
}, M)), /* @__PURE__ */ g.createElement(n, d.cn("SInput", h(h({
|
175
175
|
tag: "input",
|
176
176
|
type: "checkbox",
|
177
177
|
ref: S,
|
178
178
|
role: "switch",
|
179
|
-
"aria-readonly":
|
180
|
-
},
|
181
|
-
onClick:
|
182
|
-
onKeyDown:
|
183
|
-
}))), /* @__PURE__ */
|
184
|
-
checked:
|
185
|
-
}), /* @__PURE__ */
|
179
|
+
"aria-readonly": l.disabled
|
180
|
+
}, l), {}, {
|
181
|
+
onClick: T(_.handlerInputClick, l.click),
|
182
|
+
onKeyDown: T(_.handleKeyDown, l.onKeyDown)
|
183
|
+
}))), /* @__PURE__ */ g.createElement(c, d.cn("SSlider", {
|
184
|
+
checked: l.checked
|
185
|
+
}), /* @__PURE__ */ g.createElement(f, d.cn("Children", {}))));
|
186
186
|
});
|
187
187
|
}
|
188
|
-
}]),
|
188
|
+
}]), i;
|
189
189
|
}(D);
|
190
|
-
|
191
|
-
|
192
|
-
|
190
|
+
o(m, "hoistProps", ["checked", "disabled"]);
|
191
|
+
o(m, "enhance", [H(), G()]);
|
192
|
+
o(m, "defaultProps", {
|
193
193
|
includeInputProps: O,
|
194
194
|
defaultChecked: !1
|
195
195
|
});
|
196
|
-
function
|
197
|
-
var
|
198
|
-
return /* @__PURE__ */
|
196
|
+
function t_(a) {
|
197
|
+
var s = arguments[0], i = p, e = a.styles, _ = a.neighborLocation, t = a.uid;
|
198
|
+
return /* @__PURE__ */ g.createElement(k.Detect, {
|
199
199
|
neighborLocation: _
|
200
|
-
}, function(
|
201
|
-
var
|
202
|
-
return
|
200
|
+
}, function(n) {
|
201
|
+
var c;
|
202
|
+
return c = y(e), /* @__PURE__ */ g.createElement(i, c.cn("SAddon", h({}, I({
|
203
203
|
tag: "span",
|
204
|
-
neighborLocation:
|
205
|
-
id: "igc-".concat(
|
206
|
-
},
|
204
|
+
neighborLocation: n,
|
205
|
+
id: "igc-".concat(t, "-switch-addon-").concat(n)
|
206
|
+
}, s))));
|
207
207
|
});
|
208
208
|
}
|
209
|
-
const x_ = B(
|
209
|
+
const x_ = B(w, {
|
210
210
|
Value: m,
|
211
|
-
Addon:
|
211
|
+
Addon: t_
|
212
212
|
});
|
213
213
|
export {
|
214
214
|
x_ as default,
|
215
|
-
|
215
|
+
P_ as inputProps
|
216
216
|
};
|
package/switch/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/switch","description":"Semrush Switch Component","version":"5.40.1","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/flex-box":"5.41.1","@semcore/neighbor-location":"4.40.1","@semcore/utils":"4.48.1"},"peerDependencies":{"@semcore/core":"^2.
|
1
|
+
{"name":"intergalactic/switch","description":"Semrush Switch Component","version":"5.40.2-prerelease.1","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/flex-box":"5.41.2-prerelease.1","@semcore/neighbor-location":"4.40.2-prerelease.1","@semcore/utils":"4.48.2-prerelease.1"},"peerDependencies":{"@semcore/core":"^2.39.2-prerelease.1","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/switch"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -22,19 +22,19 @@ var _keyboardFocusEnhance = _interopRequireDefault(require("intergalactic/utils/
|
|
22
22
|
var _a11yEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/a11yEnhance"));
|
23
23
|
var _neighborLocation = _interopRequireDefault(require("intergalactic/neighbor-location"));
|
24
24
|
/*__reshadow-styles__:"./style/tab-line.shadow.css"*/
|
25
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
26
|
-
"__STabLine": "
|
27
|
-
"_underlined": "
|
28
|
-
"__SCaret": "
|
29
|
-
"__STabLineItem": "
|
30
|
-
"_selected": "
|
31
|
-
"_disabled": "
|
32
|
-
"_keyboardFocused": "
|
33
|
-
"__SText": "
|
34
|
-
"__SAddon": "
|
35
|
-
"_neighborLocation_left": "
|
36
|
-
"_size_m": "
|
37
|
-
"_size_l": "
|
25
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___STabLine_xoas8_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_xoas8_gg_.__underlined_xoas8_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___STabLineItem_xoas8_gg_{display:inline-flex;align-items:center;justify-content:center;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;-webkit-text-decoration:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:0;background:0 0;color:var(--intergalactic-text-primary, #191b23);margin-right:var(--intergalactic-spacing-4x, 16px);font-weight:var(--intergalactic-medium, 500)}.___STabLineItem_xoas8_gg_::-moz-focus-inner{border:0;padding:0}.___STabLineItem_xoas8_gg_:active,.___STabLineItem_xoas8_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STabLineItem_xoas8_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___STabLineItem_xoas8_gg_::after,.___STabLineItem_xoas8_gg_::before{content:\"\";position:absolute;left:0;bottom:-1px;height:3px;width:100%;background-color:transparent}.___STabLineItem_xoas8_gg_::before{transition:background-color calc(var(--intergalactic-duration-control, 200)*1ms) ease-in-out}@media (hover:hover){.___STabLineItem_xoas8_gg_:hover::before{background-color:var(--intergalactic-border-primary, #c4c7cf)}}.___STabLineItem_xoas8_gg_.__selected_xoas8_gg_::after{transition-delay:calc(var(--intergalactic-duration-control, 200)*1ms);background-color:var(--intergalactic-border-info-active, #006dca)}.___STabLineItem_xoas8_gg_ .___SAddon_xoas8_gg_:not(:last-child),.___STabLineItem_xoas8_gg_ .___SText_xoas8_gg_:not(:last-child){margin-right:var(--intergalactic-spacing-2x, 8px)}.___SCaret_xoas8_gg_{position:absolute;bottom:-1px;height:3px;background-color:var(--intergalactic-border-info-active, #006dca);transition:calc(var(--intergalactic-duration-control, 200)*1ms) all ease-in-out}.___STabLineItem_xoas8_gg_.__selected_xoas8_gg_{flex-shrink:0}.___STabLineItem_xoas8_gg_.__disabled_xoas8_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STabLineItem_xoas8_gg_.__keyboardFocused_xoas8_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SText_xoas8_gg_{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_xoas8_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_xoas8_gg_._size_m_xoas8_gg_{height:28px;min-width:18px}.___STabLineItem_xoas8_gg_._size_m_xoas8_gg_ .___SText_xoas8_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STabLineItem_xoas8_gg_._size_l_xoas8_gg_{height:40px;min-width:26px}.___STabLineItem_xoas8_gg_._size_l_xoas8_gg_ .___SText_xoas8_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STabLineItem_xoas8_gg_._neighborLocation_left_xoas8_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_xoas8_gg_.__selected_xoas8_gg_::after,.___STabLineItem_xoas8_gg_::after,.___STabLineItem_xoas8_gg_::before{transition:none}.___SCaret_xoas8_gg_{display:none}}" /*__inner_css_end__*/, "xoas8_gg_") /*__reshadow_css_end__*/, {
|
26
|
+
"__STabLine": "___STabLine_xoas8_gg_",
|
27
|
+
"_underlined": "__underlined_xoas8_gg_",
|
28
|
+
"__SCaret": "___SCaret_xoas8_gg_",
|
29
|
+
"__STabLineItem": "___STabLineItem_xoas8_gg_",
|
30
|
+
"_selected": "__selected_xoas8_gg_",
|
31
|
+
"_disabled": "__disabled_xoas8_gg_",
|
32
|
+
"_keyboardFocused": "__keyboardFocused_xoas8_gg_",
|
33
|
+
"__SText": "___SText_xoas8_gg_",
|
34
|
+
"__SAddon": "___SAddon_xoas8_gg_",
|
35
|
+
"_neighborLocation_left": "_neighborLocation_left_xoas8_gg_",
|
36
|
+
"_size_m": "_size_m_xoas8_gg_",
|
37
|
+
"_size_l": "_size_l_xoas8_gg_"
|
38
38
|
});
|
39
39
|
var optionsA11yEnhance = {
|
40
40
|
onNeighborChange: function onNeighborChange(neighborElement, props) {
|
@@ -18,19 +18,19 @@ import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocus
|
|
18
18
|
import a11yEnhance from 'intergalactic/utils/lib/enhances/a11yEnhance';
|
19
19
|
import NeighborLocation from 'intergalactic/neighbor-location';
|
20
20
|
/*__reshadow-styles__:"./style/tab-line.shadow.css"*/
|
21
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
22
|
-
"__STabLine": "
|
23
|
-
"_underlined": "
|
24
|
-
"__SCaret": "
|
25
|
-
"__STabLineItem": "
|
26
|
-
"_selected": "
|
27
|
-
"_disabled": "
|
28
|
-
"_keyboardFocused": "
|
29
|
-
"__SText": "
|
30
|
-
"__SAddon": "
|
31
|
-
"_neighborLocation_left": "
|
32
|
-
"_size_m": "
|
33
|
-
"_size_l": "
|
21
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STabLine_xoas8_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_xoas8_gg_.__underlined_xoas8_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___STabLineItem_xoas8_gg_{display:inline-flex;align-items:center;justify-content:center;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;-webkit-text-decoration:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:0;background:0 0;color:var(--intergalactic-text-primary, #191b23);margin-right:var(--intergalactic-spacing-4x, 16px);font-weight:var(--intergalactic-medium, 500)}.___STabLineItem_xoas8_gg_::-moz-focus-inner{border:0;padding:0}.___STabLineItem_xoas8_gg_:active,.___STabLineItem_xoas8_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STabLineItem_xoas8_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___STabLineItem_xoas8_gg_::after,.___STabLineItem_xoas8_gg_::before{content:\"\";position:absolute;left:0;bottom:-1px;height:3px;width:100%;background-color:transparent}.___STabLineItem_xoas8_gg_::before{transition:background-color calc(var(--intergalactic-duration-control, 200)*1ms) ease-in-out}@media (hover:hover){.___STabLineItem_xoas8_gg_:hover::before{background-color:var(--intergalactic-border-primary, #c4c7cf)}}.___STabLineItem_xoas8_gg_.__selected_xoas8_gg_::after{transition-delay:calc(var(--intergalactic-duration-control, 200)*1ms);background-color:var(--intergalactic-border-info-active, #006dca)}.___STabLineItem_xoas8_gg_ .___SAddon_xoas8_gg_:not(:last-child),.___STabLineItem_xoas8_gg_ .___SText_xoas8_gg_:not(:last-child){margin-right:var(--intergalactic-spacing-2x, 8px)}.___SCaret_xoas8_gg_{position:absolute;bottom:-1px;height:3px;background-color:var(--intergalactic-border-info-active, #006dca);transition:calc(var(--intergalactic-duration-control, 200)*1ms) all ease-in-out}.___STabLineItem_xoas8_gg_.__selected_xoas8_gg_{flex-shrink:0}.___STabLineItem_xoas8_gg_.__disabled_xoas8_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STabLineItem_xoas8_gg_.__keyboardFocused_xoas8_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SText_xoas8_gg_{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_xoas8_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_xoas8_gg_._size_m_xoas8_gg_{height:28px;min-width:18px}.___STabLineItem_xoas8_gg_._size_m_xoas8_gg_ .___SText_xoas8_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STabLineItem_xoas8_gg_._size_l_xoas8_gg_{height:40px;min-width:26px}.___STabLineItem_xoas8_gg_._size_l_xoas8_gg_ .___SText_xoas8_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STabLineItem_xoas8_gg_._neighborLocation_left_xoas8_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_xoas8_gg_.__selected_xoas8_gg_::after,.___STabLineItem_xoas8_gg_::after,.___STabLineItem_xoas8_gg_::before{transition:none}.___SCaret_xoas8_gg_{display:none}}" /*__inner_css_end__*/, "xoas8_gg_") /*__reshadow_css_end__*/, {
|
22
|
+
"__STabLine": "___STabLine_xoas8_gg_",
|
23
|
+
"_underlined": "__underlined_xoas8_gg_",
|
24
|
+
"__SCaret": "___SCaret_xoas8_gg_",
|
25
|
+
"__STabLineItem": "___STabLineItem_xoas8_gg_",
|
26
|
+
"_selected": "__selected_xoas8_gg_",
|
27
|
+
"_disabled": "__disabled_xoas8_gg_",
|
28
|
+
"_keyboardFocused": "__keyboardFocused_xoas8_gg_",
|
29
|
+
"__SText": "___SText_xoas8_gg_",
|
30
|
+
"__SAddon": "___SAddon_xoas8_gg_",
|
31
|
+
"_neighborLocation_left": "_neighborLocation_left_xoas8_gg_",
|
32
|
+
"_size_m": "_size_m_xoas8_gg_",
|
33
|
+
"_size_l": "_size_l_xoas8_gg_"
|
34
34
|
});
|
35
35
|
var optionsA11yEnhance = {
|
36
36
|
onNeighborChange: function onNeighborChange(neighborElement, props) {
|