intergalactic 15.127.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 +33 -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/BulkTextarea.d.ts +1 -1
- package/bulk-textarea/BulkTextarea.types.d.ts +23 -21
- package/bulk-textarea/components/InputField/InputField.d.ts +4 -4
- package/bulk-textarea/components/InputField/InputField.types.d.ts +4 -4
- package/bulk-textarea/lib/cjs/BulkTextarea.js +10 -8
- package/bulk-textarea/lib/cjs/BulkTextarea.js.map +1 -1
- package/bulk-textarea/lib/cjs/BulkTextarea.types.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +39 -26
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.types.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/inputField.shadow.css +17 -7
- package/bulk-textarea/lib/es6/BulkTextarea.js +10 -8
- package/bulk-textarea/lib/es6/BulkTextarea.js.map +1 -1
- package/bulk-textarea/lib/es6/BulkTextarea.types.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +39 -26
- package/bulk-textarea/lib/es6/components/InputField/InputField.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/InputField.types.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/inputField.shadow.css +17 -7
- package/bulk-textarea/lib/esm/BulkTextarea.mjs +53 -50
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +273 -259
- package/bulk-textarea/lib/types/BulkTextarea.d.ts +1 -1
- package/bulk-textarea/lib/types/BulkTextarea.types.d.ts +23 -21
- package/bulk-textarea/lib/types/components/InputField/InputField.d.ts +4 -4
- package/bulk-textarea/lib/types/components/InputField/InputField.types.d.ts +4 -4
- 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 +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 +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 +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 +58 -58
- 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 +10 -4
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js.map +1 -1
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +18 -14
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js.map +1 -1
- package/feedback-form/lib/cjs/style/slider-rating.shadow.css +1 -3
- 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 +10 -4
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js.map +1 -1
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +18 -14
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js.map +1 -1
- package/feedback-form/lib/es6/style/slider-rating.shadow.css +1 -3
- package/feedback-form/lib/esm/FeedbackForm.mjs +39 -39
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +13 -13
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +85 -81
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +83 -79
- 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/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 +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 +111 -111
- 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/lib/cjs/OutsideClick.js +14 -7
- package/outside-click/lib/cjs/OutsideClick.js.map +1 -1
- package/outside-click/lib/es6/OutsideClick.js +14 -7
- package/outside-click/lib/es6/OutsideClick.js.map +1 -1
- package/outside-click/lib/esm/OutsideClick.mjs +39 -35
- 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 +66 -66
- 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/lib/cjs/InputSearch.js +15 -19
- package/select/lib/cjs/InputSearch.js.map +1 -1
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +15 -19
- package/select/lib/es6/InputSearch.js.map +1 -1
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/esm/InputSearch.mjs +63 -65
- package/select/lib/esm/Select.mjs +122 -122
- 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 +72 -72
- 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/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/TimePicker.mjs +38 -38
- 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 +111 -111
- 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 +33 -33
- 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 +85 -85
- package/wizard/package.json +1 -1
@@ -1,60 +1,60 @@
|
|
1
1
|
import J from "@babel/runtime/helpers/esm/slicedToArray";
|
2
|
-
import
|
2
|
+
import D from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
import d from "@babel/runtime/helpers/esm/objectSpread2";
|
4
4
|
import K from "@babel/runtime/helpers/esm/classCallCheck";
|
5
5
|
import Q from "@babel/runtime/helpers/esm/createClass";
|
6
|
-
import
|
6
|
+
import z from "@babel/runtime/helpers/esm/assertThisInitialized";
|
7
7
|
import X from "@babel/runtime/helpers/esm/inherits";
|
8
8
|
import Y from "@babel/runtime/helpers/esm/createSuper";
|
9
9
|
import S from "@babel/runtime/helpers/esm/defineProperty";
|
10
10
|
import { sstyled as Z } from 'intergalactic/utils/lib/core/index';
|
11
|
-
import ee, { sstyled as h, Component as te, assignProps as
|
11
|
+
import ee, { sstyled as h, Component as te, assignProps as F } from 'intergalactic/core';
|
12
12
|
import i from "react";
|
13
13
|
import R from 'intergalactic/tooltip';
|
14
|
-
import { Box as
|
14
|
+
import { Box as L } from 'intergalactic/flex-box';
|
15
15
|
import { useResizeObserver as ie } from "./useResizeObserver.mjs";
|
16
16
|
import ne from 'intergalactic/utils/lib/use/useEnhancedEffect';
|
17
17
|
import re, { isAdvanceMode as oe } from 'intergalactic/utils/lib/findComponent';
|
18
|
-
import
|
19
|
-
import
|
20
|
-
import
|
18
|
+
import N from 'intergalactic/utils/lib/reactToText';
|
19
|
+
import W from 'intergalactic/utils/lib/getOriginChildren';
|
20
|
+
import j from 'intergalactic/utils/lib/pick';
|
21
21
|
import { forkRef as le } from 'intergalactic/utils/lib/ref';
|
22
22
|
import { callAllEventHandlers as ae } from 'intergalactic/utils/lib/assignProps';
|
23
23
|
var se = ["styles", "Children", "maxLine", "tooltip", "trim", "containerRect", "containerRef", "includeTooltipProps", "children"], de = ["styles", "text", "tooltip", "containerRect", "containerRef", "textRef", "tooltipProps", "children", "advanceMode"], ce = (
|
24
24
|
/*__reshadow_css_start__*/
|
25
25
|
(Z.insert(
|
26
26
|
/*__inner_css_start__*/
|
27
|
-
".
|
28
|
-
"
|
27
|
+
".___SContainerMiddle_gtb2q_gg_,.___SContainer_gtb2q_gg_,.___SEllipsis_gtb2q_gg_.__middle-mod_gtb2q_gg_,.___SNoTooltipContainer_gtb2q_gg_{display:flex;overflow:hidden}.___SBeginning_gtb2q_gg_,.___SEllipsis_gtb2q_gg_{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:pre}.___SEllipsis_gtb2q_gg_.__maxLine_gtb2q_gg_{display:-webkit-box;-webkit-line-clamp:var(--maxLine_gtb2q);-webkit-box-orient:vertical;overflow:hidden;white-space:normal;word-wrap:break-word}.___SContainerMiddle_gtb2q_gg_>:has(.___SBeginning_gtb2q_gg_),.___SContainerMiddle_gtb2q_gg_>:has(.___STail_gtb2q_gg_){display:flex;width:100%}.___STail_gtb2q_gg_{white-space:pre}",
|
28
|
+
"gtb2q_gg_"
|
29
29
|
), {
|
30
|
-
__SContainer: "
|
31
|
-
__SNoTooltipContainer: "
|
32
|
-
__SContainerMiddle: "
|
33
|
-
__SBeginning: "
|
34
|
-
__SEllipsis: "
|
35
|
-
"_middle-mod": "__middle-
|
36
|
-
_maxLine: "
|
37
|
-
"--maxLine": "--
|
38
|
-
__STail: "
|
30
|
+
__SContainer: "___SContainer_gtb2q_gg_",
|
31
|
+
__SNoTooltipContainer: "___SNoTooltipContainer_gtb2q_gg_",
|
32
|
+
__SContainerMiddle: "___SContainerMiddle_gtb2q_gg_",
|
33
|
+
__SBeginning: "___SBeginning_gtb2q_gg_",
|
34
|
+
__SEllipsis: "___SEllipsis_gtb2q_gg_",
|
35
|
+
"_middle-mod": "__middle-mod_gtb2q_gg_",
|
36
|
+
_maxLine: "__maxLine_gtb2q_gg_",
|
37
|
+
"--maxLine": "--maxLine_gtb2q",
|
38
|
+
__STail: "___STail_gtb2q_gg_"
|
39
39
|
})
|
40
|
-
), pe = ["title", "theme", "strategy", "modifiers", "placement", "interaction", "timeout", "visible", "defaultVisible", "onVisibleChange", "offset", "preventOverflow", "arrow", "flip", "computeStyles", "eventListeners", "onFirstUpdate", "cursorAnchoring"],
|
40
|
+
), pe = ["title", "theme", "strategy", "modifiers", "placement", "interaction", "timeout", "visible", "defaultVisible", "onVisibleChange", "offset", "preventOverflow", "arrow", "flip", "computeStyles", "eventListeners", "onFirstUpdate", "cursorAnchoring"], ge = function(o, l) {
|
41
41
|
var t = window.getComputedStyle(o, null), e = document.createElement("temporary-block");
|
42
42
|
return e.style.display = t.getPropertyValue("display"), e.style.padding = t.getPropertyValue("padding"), e.style.position = "absolute", e.style.right = "0%", e.style.bottom = "0%", e.style.visibility = "hidden", e.style.fontFamily = t.getPropertyValue("font-family"), e.style.fontSize = t.getPropertyValue("font-size"), e.style.fontWeight = t.getPropertyValue("font-weight"), e.style.lineHeight = t.getPropertyValue("line-height"), e.style.whiteSpace = t.getPropertyValue("white-space"), e.style.wordWrap = t.getPropertyValue("word-wrap"), e.style.fontFeatureSettings = t.getPropertyValue("font-feature-settings"), e.style.fontVariantNumeric = t.getPropertyValue("font-variant-numeric"), e.innerHTML = l ?? o.innerHTML, e;
|
43
43
|
};
|
44
|
-
function
|
44
|
+
function _e(u, o, l) {
|
45
45
|
if (!u) return !1;
|
46
|
-
var t = u.getBoundingClientRect(), e = t.height, a = t.width, r =
|
46
|
+
var t = u.getBoundingClientRect(), e = t.height, a = t.width, r = ge(u, l), n = !1;
|
47
47
|
if (document.body.appendChild(r), o) {
|
48
48
|
r.style.width = "".concat(a, "px");
|
49
|
-
var
|
50
|
-
(Math.ceil(e) < s || Math.ceil(a) <
|
49
|
+
var g = r.scrollWidth, s = r.getBoundingClientRect().height;
|
50
|
+
(Math.ceil(e) < s || Math.ceil(a) < g) && (n = !0);
|
51
51
|
} else
|
52
52
|
r.style.whiteSpace = "nowrap", n = Math.ceil(a) < r.getBoundingClientRect().width;
|
53
53
|
return document.body.removeChild(r), n;
|
54
54
|
}
|
55
|
-
var
|
55
|
+
var I = {
|
56
56
|
forcedAdvancedMode: !0
|
57
|
-
},
|
57
|
+
}, me = {}, B = /* @__PURE__ */ function(u) {
|
58
58
|
X(l, u);
|
59
59
|
var o = Y(l);
|
60
60
|
function l() {
|
@@ -62,9 +62,9 @@ var U = {
|
|
62
62
|
K(this, l);
|
63
63
|
for (var e = arguments.length, a = new Array(e), r = 0; r < e; r++)
|
64
64
|
a[r] = arguments[r];
|
65
|
-
return t = o.call.apply(o, [this].concat(a)), S(
|
65
|
+
return t = o.call.apply(o, [this].concat(a)), S(z(t), "state", {
|
66
66
|
visible: !1
|
67
|
-
}), S(
|
67
|
+
}), S(z(t), "textRef", /* @__PURE__ */ i.createRef()), S(z(t), "handlerVisibleChange", function(n) {
|
68
68
|
t.setState({
|
69
69
|
visible: n && t.showTooltip()
|
70
70
|
});
|
@@ -73,8 +73,8 @@ var U = {
|
|
73
73
|
return Q(l, [{
|
74
74
|
key: "showTooltip",
|
75
75
|
value: function() {
|
76
|
-
var e = this.asProps, a = e.maxLine, r = a === void 0 ? 1 : a, n = e.Children,
|
77
|
-
return
|
76
|
+
var e = this.asProps, a = e.maxLine, r = a === void 0 ? 1 : a, n = e.Children, g = N(W(n));
|
77
|
+
return _e(this.textRef.current, r > 1, g);
|
78
78
|
}
|
79
79
|
}, {
|
80
80
|
key: "getContentProps",
|
@@ -87,23 +87,23 @@ var U = {
|
|
87
87
|
}, {
|
88
88
|
key: "getPopperProps",
|
89
89
|
value: function() {
|
90
|
-
var e = this.asProps, a = e.Children, r = e.includeTooltipProps, n = W(
|
90
|
+
var e = this.asProps, a = e.Children, r = e.includeTooltipProps, n = N(W(a)), g = j(this.asProps, r);
|
91
91
|
return d({
|
92
92
|
children: n
|
93
|
-
},
|
93
|
+
}, g);
|
94
94
|
}
|
95
95
|
}, {
|
96
96
|
key: "render",
|
97
97
|
value: function() {
|
98
|
-
var e, a, r = this.Root, n = R,
|
98
|
+
var e, a, r = this.Root, n = R, g = L, s = this.asProps, _ = s.styles, c = s.Children, y = s.maxLine, m = s.tooltip, k = s.trim, M = s.containerRect, E = s.containerRef, A = s.includeTooltipProps;
|
99
99
|
s.children;
|
100
|
-
var b =
|
101
|
-
if (p.visible = (a = p.visible) !== null && a !== void 0 ? a : T, p.onVisibleChange = p.onVisibleChange ? ae(p.onVisibleChange, this.handlerVisibleChange) : this.handlerVisibleChange,
|
100
|
+
var b = D(s, se), T = this.state.visible, q = re(c, [$.Content.displayName]), P = N(q || W(c)), f = oe(c, [$.Content.displayName, $.Popper.displayName]), p = j(this.asProps, A);
|
101
|
+
if (p.visible = (a = p.visible) !== null && a !== void 0 ? a : T, p.onVisibleChange = p.onVisibleChange ? ae(p.onVisibleChange, this.handlerVisibleChange) : this.handlerVisibleChange, k === "middle") {
|
102
102
|
var C;
|
103
|
-
return C = h(
|
103
|
+
return C = h(_), /* @__PURE__ */ i.createElement(ue, C.cn("EllipsisMiddle", d({
|
104
104
|
text: P,
|
105
|
-
styles:
|
106
|
-
tooltip:
|
105
|
+
styles: _,
|
106
|
+
tooltip: m,
|
107
107
|
containerRect: M,
|
108
108
|
containerRef: E,
|
109
109
|
textRef: this.textRef,
|
@@ -111,53 +111,53 @@ var U = {
|
|
111
111
|
advanceMode: f
|
112
112
|
}, b)), /* @__PURE__ */ i.createElement(c, C.cn("Children", {})));
|
113
113
|
}
|
114
|
-
if (
|
114
|
+
if (m) {
|
115
115
|
var v;
|
116
|
-
return v = h(
|
116
|
+
return v = h(_), /* @__PURE__ */ i.createElement(n, v.cn("SContainer", d(d({
|
117
117
|
interaction: "hover",
|
118
118
|
title: f ? void 0 : P
|
119
|
-
}, p), f ?
|
120
|
-
render:
|
119
|
+
}, p), f ? I : me)), f ? /* @__PURE__ */ i.createElement(c, v.cn("Children", {})) : /* @__PURE__ */ i.createElement(r, v.cn("SEllipsis", d({
|
120
|
+
render: L,
|
121
121
|
ref: this.textRef,
|
122
122
|
maxLine: y
|
123
123
|
}, b)), /* @__PURE__ */ i.createElement(c, v.cn("Children", {}))));
|
124
124
|
}
|
125
|
-
return e = h(
|
126
|
-
render:
|
125
|
+
return e = h(_), /* @__PURE__ */ i.createElement(g, e.cn("SNoTooltipContainer", {}), f ? /* @__PURE__ */ i.createElement(c, e.cn("Children", {})) : /* @__PURE__ */ i.createElement(r, e.cn("SEllipsis", d({
|
126
|
+
render: L,
|
127
127
|
ref: this.textRef,
|
128
128
|
maxLine: y
|
129
129
|
}, b)), /* @__PURE__ */ i.createElement(c, e.cn("Children", {}))));
|
130
130
|
}
|
131
131
|
}]), l;
|
132
132
|
}(te);
|
133
|
-
S(
|
134
|
-
S(
|
135
|
-
S(
|
133
|
+
S(B, "displayName", "Ellipsis");
|
134
|
+
S(B, "style", ce);
|
135
|
+
S(B, "defaultProps", {
|
136
136
|
trim: "end",
|
137
137
|
tooltip: !0,
|
138
138
|
includeTooltipProps: pe,
|
139
139
|
__excludeProps: ["title"]
|
140
140
|
});
|
141
|
-
var
|
142
|
-
var l, t = o.styles, e = o.text, a = o.tooltip, r = o.containerRect, n = o.containerRef,
|
141
|
+
var U = /* @__PURE__ */ i.createContext(null), ue = function(o) {
|
142
|
+
var l, t = o.styles, e = o.text, a = o.tooltip, r = o.containerRect, n = o.containerRef, g = o.textRef, s = o.tooltipProps, _ = o.children, c = o.advanceMode, y = D(o, de), m = i.useRef(null), k = i.useState({
|
143
143
|
fontSize: "14",
|
144
144
|
symbolWidth: 0
|
145
|
-
}), M = J(
|
145
|
+
}), M = J(k, 2), E = M[0], A = M[1], b = ie(m, r).width;
|
146
146
|
ne(function() {
|
147
|
-
var
|
148
|
-
if (
|
147
|
+
var O = (n == null ? void 0 : n.current) || (m == null ? void 0 : m.current);
|
148
|
+
if (O) {
|
149
149
|
var w = document.createElement("temporary-block");
|
150
150
|
w.setAttribute("style", "fontSize: ".concat(E.fontSize, "px")), w.innerHTML = "a", document.body.appendChild(w);
|
151
151
|
var G = w.getBoundingClientRect();
|
152
|
-
|
153
|
-
fontSize: window.getComputedStyle(
|
152
|
+
A({
|
153
|
+
fontSize: window.getComputedStyle(O, null).getPropertyValue("font-size"),
|
154
154
|
symbolWidth: G.width
|
155
155
|
}), document.body.removeChild(w);
|
156
156
|
}
|
157
157
|
}, []);
|
158
|
-
var T = "span",
|
158
|
+
var T = "span", q = "span", P = o.tag || L, f = R, p = i.useMemo(function() {
|
159
159
|
return Math.round(b / E.symbolWidth);
|
160
|
-
}, [b, E.symbolWidth]), C = e.length > p ? "hover" : "none", v = n ??
|
160
|
+
}, [b, E.symbolWidth]), C = e.length > p ? "hover" : "none", v = n ?? m, x = i.useMemo(function() {
|
161
161
|
return {
|
162
162
|
begining: e.substring(0, e.length - p / 2 - 1),
|
163
163
|
tail: e.substring(e.length - p / 2 - 1),
|
@@ -165,40 +165,40 @@ var q = /* @__PURE__ */ i.createContext(null), ue = function(o) {
|
|
165
165
|
};
|
166
166
|
}, [e, p]);
|
167
167
|
if (c) {
|
168
|
-
var
|
169
|
-
return
|
168
|
+
var H;
|
169
|
+
return H = h(t), /* @__PURE__ */ i.createElement(f, H.cn("SAdvancedModeContainerMiddle", d(d({
|
170
170
|
interaction: C
|
171
|
-
}, s),
|
171
|
+
}, s), I)), /* @__PURE__ */ i.createElement(U.Provider, {
|
172
172
|
value: x
|
173
|
-
},
|
173
|
+
}, _));
|
174
174
|
}
|
175
175
|
if (a) {
|
176
|
-
var
|
177
|
-
return
|
176
|
+
var V;
|
177
|
+
return V = h(t), /* @__PURE__ */ i.createElement(P, V.cn("SContainerMiddle", d({
|
178
178
|
interaction: C,
|
179
179
|
title: e,
|
180
|
-
ref: le(v,
|
180
|
+
ref: le(v, g),
|
181
181
|
tag: R,
|
182
182
|
__excludeProps: ["title"]
|
183
|
-
}, s)), /* @__PURE__ */ i.createElement(
|
183
|
+
}, s)), /* @__PURE__ */ i.createElement(q, V.cn("SBeginning", {}), x.begining), /* @__PURE__ */ i.createElement(T, V.cn("STail", {}), x.tail));
|
184
184
|
}
|
185
185
|
return l = h(t), /* @__PURE__ */ i.createElement(P, l.cn("SContainerMiddle", d(d({}, y), {}, {
|
186
|
-
ref: n ??
|
187
|
-
})), /* @__PURE__ */ i.createElement(
|
186
|
+
ref: n ?? m
|
187
|
+
})), /* @__PURE__ */ i.createElement(q, l.cn("SBeginning", {}), x.begining), /* @__PURE__ */ i.createElement(T, l.cn("STail", {}), x.tail));
|
188
188
|
}, ve = function(o) {
|
189
|
-
var l = arguments[0], t, e = o.styles, a = o.Children, r = R.Trigger, n = i.useContext(
|
189
|
+
var l = arguments[0], t, e = o.styles, a = o.Children, r = R.Trigger, n = i.useContext(U), g = "span", s = "span";
|
190
190
|
if (n) {
|
191
|
-
var
|
192
|
-
return
|
191
|
+
var _, c = n.begining, y = n.tail, m = n.ref;
|
192
|
+
return _ = h(e), /* @__PURE__ */ i.createElement(r, _.cn("SEllipsis", d({}, F({
|
193
193
|
"middle-mod": !0,
|
194
|
-
ref:
|
195
|
-
}, l))), /* @__PURE__ */ i.createElement(s,
|
194
|
+
ref: m
|
195
|
+
}, l))), /* @__PURE__ */ i.createElement(s, _.cn("SBeginning", {}), c), /* @__PURE__ */ i.createElement(g, _.cn("STail", {}), y));
|
196
196
|
}
|
197
|
-
return t = h(e), /* @__PURE__ */ i.createElement(r, t.cn("SEllipsis", d({},
|
198
|
-
},
|
197
|
+
return t = h(e), /* @__PURE__ */ i.createElement(r, t.cn("SEllipsis", d({}, F({}, l))), /* @__PURE__ */ i.createElement(a, t.cn("Children", {})));
|
198
|
+
}, $ = ee(B, {
|
199
199
|
Content: ve,
|
200
200
|
Popper: R.Popper
|
201
201
|
});
|
202
202
|
export {
|
203
|
-
|
203
|
+
$ as default
|
204
204
|
};
|
package/ellipsis/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/ellipsis","description":"Semrush Ellipsis Component","version":"2.39.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/utils":"4.48.1","@semcore/flex-box":"5.41.1","@semcore/tooltip":"6.49.1"},"peerDependencies":{"@semcore/core":"^2.
|
1
|
+
{"name":"intergalactic/ellipsis","description":"Semrush Ellipsis Component","version":"2.39.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/utils":"4.48.2-prerelease.1","@semcore/flex-box":"5.41.2-prerelease.1","@semcore/tooltip":"6.49.2-prerelease.1"},"peerDependencies":{"@semcore/core":"^2.39.2-prerelease.1","react":"16.8 - 18","react-dom":"16.8 - 18"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/ellipsis"}}
|
package/errors/lib/cjs/Error.js
CHANGED
@@ -18,15 +18,15 @@ var _react = _interopRequireDefault(require("react"));
|
|
18
18
|
var _flexBox = require("intergalactic/flex-box");
|
19
19
|
var _illustration = require("intergalactic/illustration");
|
20
20
|
/*__reshadow-styles__:"./style/errors.shadow.css"*/
|
21
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
22
|
-
"__SError": "
|
23
|
-
"__SControls": "
|
24
|
-
"__SInner": "
|
25
|
-
"__SImageWrapper": "
|
26
|
-
"__SImage": "
|
27
|
-
"__SWrapper": "
|
28
|
-
"__STitle": "
|
29
|
-
"__SDescription": "
|
21
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SError_129di_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_129di_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_129di_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_129di_gg_ .___SControls_129di_gg_{display:flex;align-items:center}.___SError_129di_gg_ .___SControls_129di_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_129di_gg_ .___SInner_129di_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_,.___SError_129di_gg_ .___SInner_129di_gg_ .___SImage_129di_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_,.___SError_129di_gg_ .___SInner_129di_gg_ .___SImage_129di_gg_{width:200px;height:200px}}.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_129di_gg_ .___SInner_129di_gg_ .___SWrapper_129di_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_129di_gg_ .___SInner_129di_gg_ .___STitle_129di_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_129di_gg_ .___SInner_129di_gg_ .___SDescription_129di_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}" /*__inner_css_end__*/, "129di_gg_") /*__reshadow_css_end__*/, {
|
22
|
+
"__SError": "___SError_129di_gg_",
|
23
|
+
"__SControls": "___SControls_129di_gg_",
|
24
|
+
"__SInner": "___SInner_129di_gg_",
|
25
|
+
"__SImageWrapper": "___SImageWrapper_129di_gg_",
|
26
|
+
"__SImage": "___SImage_129di_gg_",
|
27
|
+
"__SWrapper": "___SWrapper_129di_gg_",
|
28
|
+
"__STitle": "___STitle_129di_gg_",
|
29
|
+
"__SDescription": "___SDescription_129di_gg_"
|
30
30
|
});
|
31
31
|
var getIconPath = function getIconPath(name) {
|
32
32
|
return (0, _illustration.getIllustrationPath)(name);
|
package/errors/lib/es6/Error.js
CHANGED
@@ -14,15 +14,15 @@ import { Box, Flex } from 'intergalactic/flex-box';
|
|
14
14
|
import createComponent, { Root, Component, sstyled } from 'intergalactic/core';
|
15
15
|
import { getIllustrationPath } from 'intergalactic/illustration';
|
16
16
|
/*__reshadow-styles__:"./style/errors.shadow.css"*/
|
17
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
18
|
-
"__SError": "
|
19
|
-
"__SControls": "
|
20
|
-
"__SInner": "
|
21
|
-
"__SImageWrapper": "
|
22
|
-
"__SImage": "
|
23
|
-
"__SWrapper": "
|
24
|
-
"__STitle": "
|
25
|
-
"__SDescription": "
|
17
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SError_129di_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_129di_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_129di_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_129di_gg_ .___SControls_129di_gg_{display:flex;align-items:center}.___SError_129di_gg_ .___SControls_129di_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_129di_gg_ .___SInner_129di_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_,.___SError_129di_gg_ .___SInner_129di_gg_ .___SImage_129di_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_,.___SError_129di_gg_ .___SInner_129di_gg_ .___SImage_129di_gg_{width:200px;height:200px}}.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_129di_gg_ .___SInner_129di_gg_ .___SWrapper_129di_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_129di_gg_ .___SInner_129di_gg_ .___STitle_129di_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_129di_gg_ .___SInner_129di_gg_ .___SDescription_129di_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}" /*__inner_css_end__*/, "129di_gg_") /*__reshadow_css_end__*/, {
|
18
|
+
"__SError": "___SError_129di_gg_",
|
19
|
+
"__SControls": "___SControls_129di_gg_",
|
20
|
+
"__SInner": "___SInner_129di_gg_",
|
21
|
+
"__SImageWrapper": "___SImageWrapper_129di_gg_",
|
22
|
+
"__SImage": "___SImage_129di_gg_",
|
23
|
+
"__SWrapper": "___SWrapper_129di_gg_",
|
24
|
+
"__STitle": "___STitle_129di_gg_",
|
25
|
+
"__SDescription": "___SDescription_129di_gg_"
|
26
26
|
});
|
27
27
|
export var getIconPath = function getIconPath(name) {
|
28
28
|
return getIllustrationPath(name);
|
package/errors/lib/esm/Error.mjs
CHANGED
@@ -1,34 +1,34 @@
|
|
1
|
-
import
|
1
|
+
import n from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import u from "@babel/runtime/helpers/esm/classCallCheck";
|
3
3
|
import y from "@babel/runtime/helpers/esm/createClass";
|
4
4
|
import C from "@babel/runtime/helpers/esm/inherits";
|
5
5
|
import W from "@babel/runtime/helpers/esm/createSuper";
|
6
|
-
import
|
6
|
+
import d from "@babel/runtime/helpers/esm/defineProperty";
|
7
7
|
import { sstyled as w } from 'intergalactic/utils/lib/core/index';
|
8
8
|
import P, { sstyled as o, assignProps as p, Component as b } from 'intergalactic/core';
|
9
|
-
import
|
9
|
+
import e from "react";
|
10
10
|
import { Flex as D, Box as s } from 'intergalactic/flex-box';
|
11
11
|
import { getIllustrationPath as T } from 'intergalactic/illustration';
|
12
12
|
var z = (
|
13
13
|
/*__reshadow_css_start__*/
|
14
14
|
(w.insert(
|
15
15
|
/*__inner_css_start__*/
|
16
|
-
".
|
17
|
-
"
|
16
|
+
".___SError_129di_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_129di_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_129di_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_129di_gg_ .___SControls_129di_gg_{display:flex;align-items:center}.___SError_129di_gg_ .___SControls_129di_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_129di_gg_ .___SInner_129di_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_,.___SError_129di_gg_ .___SInner_129di_gg_ .___SImage_129di_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_,.___SError_129di_gg_ .___SInner_129di_gg_ .___SImage_129di_gg_{width:200px;height:200px}}.___SError_129di_gg_ .___SInner_129di_gg_ .___SImageWrapper_129di_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_129di_gg_ .___SInner_129di_gg_ .___SWrapper_129di_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_129di_gg_ .___SInner_129di_gg_ .___STitle_129di_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_129di_gg_ .___SInner_129di_gg_ .___SDescription_129di_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}",
|
17
|
+
"129di_gg_"
|
18
18
|
), {
|
19
|
-
__SError: "
|
20
|
-
__SControls: "
|
21
|
-
__SInner: "
|
22
|
-
__SImageWrapper: "
|
23
|
-
__SImage: "
|
24
|
-
__SWrapper: "
|
25
|
-
__STitle: "
|
26
|
-
__SDescription: "
|
19
|
+
__SError: "___SError_129di_gg_",
|
20
|
+
__SControls: "___SControls_129di_gg_",
|
21
|
+
__SInner: "___SInner_129di_gg_",
|
22
|
+
__SImageWrapper: "___SImageWrapper_129di_gg_",
|
23
|
+
__SImage: "___SImage_129di_gg_",
|
24
|
+
__SWrapper: "___SWrapper_129di_gg_",
|
25
|
+
__STitle: "___STitle_129di_gg_",
|
26
|
+
__SDescription: "___SDescription_129di_gg_"
|
27
27
|
})
|
28
28
|
), M = function(r) {
|
29
29
|
return T(r);
|
30
|
-
}, l = /* @__PURE__ */ function(
|
31
|
-
C(_,
|
30
|
+
}, l = /* @__PURE__ */ function(i) {
|
31
|
+
C(_, i);
|
32
32
|
var r = W(_);
|
33
33
|
function _() {
|
34
34
|
return u(this, _), r.apply(this, arguments);
|
@@ -36,32 +36,32 @@ var z = (
|
|
36
36
|
return y(_, [{
|
37
37
|
key: "render",
|
38
38
|
value: function() {
|
39
|
-
var m = this.asProps,
|
40
|
-
return
|
39
|
+
var m = this.asProps, t, S = D, c = this.asProps, x = c.Children, f = c.styles, g = c.icon, v = "div", h = "div", E = "div", I = "img";
|
40
|
+
return t = o(f), /* @__PURE__ */ e.createElement(S, t.cn("SError", n({}, p({}, m))), /* @__PURE__ */ e.createElement(v, t.cn("SInner", {}), g && /* @__PURE__ */ e.createElement(h, t.cn("SImageWrapper", {}), typeof g == "string" ? /* @__PURE__ */ e.createElement(I, t.cn("SImage", {
|
41
41
|
src: g,
|
42
42
|
alt: ""
|
43
|
-
})) : g), /* @__PURE__ */
|
43
|
+
})) : g), /* @__PURE__ */ e.createElement(E, t.cn("SWrapper", {}), /* @__PURE__ */ e.createElement(x, t.cn("Children", {})))));
|
44
44
|
}
|
45
45
|
}]), _;
|
46
46
|
}(b);
|
47
|
-
|
48
|
-
|
49
|
-
function R(
|
50
|
-
var r = arguments[0], _,
|
51
|
-
return _ = o(
|
47
|
+
d(l, "displayName", "Error");
|
48
|
+
d(l, "style", z);
|
49
|
+
function R(i) {
|
50
|
+
var r = arguments[0], _, a = s;
|
51
|
+
return _ = o(i.styles), /* @__PURE__ */ e.createElement(a, _.cn("STitle", n({}, p({
|
52
52
|
"data-errors-title": !0,
|
53
53
|
tag: "h2"
|
54
54
|
}, r))));
|
55
55
|
}
|
56
|
-
function j(
|
57
|
-
var r = arguments[0], _,
|
58
|
-
return _ = o(
|
56
|
+
function j(i) {
|
57
|
+
var r = arguments[0], _, a = s;
|
58
|
+
return _ = o(i.styles), /* @__PURE__ */ e.createElement(a, _.cn("SDescription", n({}, p({
|
59
59
|
tag: "p"
|
60
60
|
}, r))));
|
61
61
|
}
|
62
|
-
function k(
|
63
|
-
var r = arguments[0], _,
|
64
|
-
return _ = o(
|
62
|
+
function k(i) {
|
63
|
+
var r = arguments[0], _, a = s;
|
64
|
+
return _ = o(i.styles), /* @__PURE__ */ e.createElement(a, _.cn("SControls", n({}, p({}, r))));
|
65
65
|
}
|
66
66
|
const O = P(l, {
|
67
67
|
Title: R,
|
package/errors/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/errors","description":"Semrush Errors Component","version":"4.47.
|
1
|
+
{"name":"intergalactic/errors","description":"Semrush Errors Component","version":"4.47.1-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/button":"5.43.1-prerelease.1","@semcore/flex-box":"5.41.2-prerelease.1","@semcore/format-text":"4.41.2-prerelease.1","@semcore/illustration":"2.44.0-prerelease.1","@semcore/typography":"5.52.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/errors"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -28,18 +28,18 @@ var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynam
|
|
28
28
|
var _button = _interopRequireDefault(require("intergalactic/button"));
|
29
29
|
var _excluded = ["styles", "forwardRef", "onVisibleChange", "modifiers"];
|
30
30
|
/*__reshadow-styles__:"./style/feature-popover.shadow.css"*/
|
31
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
32
|
-
"__SFeaturePopover": "
|
33
|
-
"__STrigger": "
|
34
|
-
"@showTrigger": "
|
35
|
-
"@scaleSizeAndHide": "
|
36
|
-
"__SClose": "
|
37
|
-
"__SAddon": "
|
38
|
-
"__SSpot": "
|
31
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes showTrigger_1bz3f{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_1bz3f{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_1bz3f_gg_{padding-top:var(--intergalactic-spacing-4x, 16px);padding-right:var(--intergalactic-spacing-10x, 40px);padding-bottom:var(--intergalactic-spacing-4x, 16px);padding-left:var(--intergalactic-spacing-4x, 16px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-highlight, #fce081);color:var(--intergalactic-text-primary, #191b23);box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));position:relative}.___STrigger_1bz3f_gg_{position:relative}.___SClose_1bz3f_gg_{position:absolute;z-index:1;right:var(--intergalactic-spacing-2x, 8px);top:var(--intergalactic-spacing-2x, 8px)}.___SClose_1bz3f_gg_ .___SAddon_1bz3f_gg_:only-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px);margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SSpot_1bz3f_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_1bz3f;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_1bz3f_gg_::after,.___SSpot_1bz3f_gg_::before{content:\"\";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px}.___SSpot_1bz3f_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_1bz3f;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s;background-color:var(--intergalactic-feature-popover-dot-outer-border, #fce081)}.___SSpot_1bz3f_gg_::after{background-color:var(--intergalactic-bg-primary-highlight, #fce081)}@media (prefers-reduced-motion){.___SSpot_1bz3f_gg_,.___SSpot_1bz3f_gg_::before{animation-name:none}}" /*__inner_css_end__*/, "1bz3f_gg_") /*__reshadow_css_end__*/, {
|
32
|
+
"__SFeaturePopover": "___SFeaturePopover_1bz3f_gg_",
|
33
|
+
"__STrigger": "___STrigger_1bz3f_gg_",
|
34
|
+
"@showTrigger": "showTrigger_1bz3f",
|
35
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_1bz3f",
|
36
|
+
"__SClose": "___SClose_1bz3f_gg_",
|
37
|
+
"__SAddon": "___SAddon_1bz3f_gg_",
|
38
|
+
"__SSpot": "___SSpot_1bz3f_gg_"
|
39
39
|
});
|
40
|
-
var stylePopper = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
41
|
-
"@enter": "
|
42
|
-
"@exit": "
|
40
|
+
var stylePopper = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes enter_1bceb{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_1bceb{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}" /*__inner_css_end__*/, "1bceb_gg_") /*__reshadow_css_end__*/, {
|
41
|
+
"@enter": "enter_1bceb",
|
42
|
+
"@exit": "exit_1bceb"
|
43
43
|
});
|
44
44
|
var FeaturePopover = /*#__PURE__*/function (_Component) {
|
45
45
|
(0, _inherits2["default"])(FeaturePopover, _Component);
|
@@ -23,18 +23,18 @@ import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
|
23
23
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
24
24
|
import Button from 'intergalactic/button';
|
25
25
|
/*__reshadow-styles__:"./style/feature-popover.shadow.css"*/
|
26
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
27
|
-
"__SFeaturePopover": "
|
28
|
-
"__STrigger": "
|
29
|
-
"@showTrigger": "
|
30
|
-
"@scaleSizeAndHide": "
|
31
|
-
"__SClose": "
|
32
|
-
"__SAddon": "
|
33
|
-
"__SSpot": "
|
26
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes showTrigger_1bz3f{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_1bz3f{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_1bz3f_gg_{padding-top:var(--intergalactic-spacing-4x, 16px);padding-right:var(--intergalactic-spacing-10x, 40px);padding-bottom:var(--intergalactic-spacing-4x, 16px);padding-left:var(--intergalactic-spacing-4x, 16px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-highlight, #fce081);color:var(--intergalactic-text-primary, #191b23);box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));position:relative}.___STrigger_1bz3f_gg_{position:relative}.___SClose_1bz3f_gg_{position:absolute;z-index:1;right:var(--intergalactic-spacing-2x, 8px);top:var(--intergalactic-spacing-2x, 8px)}.___SClose_1bz3f_gg_ .___SAddon_1bz3f_gg_:only-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px);margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SSpot_1bz3f_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_1bz3f;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_1bz3f_gg_::after,.___SSpot_1bz3f_gg_::before{content:\"\";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px}.___SSpot_1bz3f_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_1bz3f;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s;background-color:var(--intergalactic-feature-popover-dot-outer-border, #fce081)}.___SSpot_1bz3f_gg_::after{background-color:var(--intergalactic-bg-primary-highlight, #fce081)}@media (prefers-reduced-motion){.___SSpot_1bz3f_gg_,.___SSpot_1bz3f_gg_::before{animation-name:none}}" /*__inner_css_end__*/, "1bz3f_gg_") /*__reshadow_css_end__*/, {
|
27
|
+
"__SFeaturePopover": "___SFeaturePopover_1bz3f_gg_",
|
28
|
+
"__STrigger": "___STrigger_1bz3f_gg_",
|
29
|
+
"@showTrigger": "showTrigger_1bz3f",
|
30
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_1bz3f",
|
31
|
+
"__SClose": "___SClose_1bz3f_gg_",
|
32
|
+
"__SAddon": "___SAddon_1bz3f_gg_",
|
33
|
+
"__SSpot": "___SSpot_1bz3f_gg_"
|
34
34
|
});
|
35
|
-
var stylePopper = ( /*__reshadow_css_start__*/sstyled.insert( /*__inner_css_start__*/"@keyframes
|
36
|
-
"@enter": "
|
37
|
-
"@exit": "
|
35
|
+
var stylePopper = ( /*__reshadow_css_start__*/sstyled.insert( /*__inner_css_start__*/"@keyframes enter_1bceb{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_1bceb{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}" /*__inner_css_end__*/, "1bceb_gg_") /*__reshadow_css_end__*/, {
|
36
|
+
"@enter": "enter_1bceb",
|
37
|
+
"@exit": "exit_1bceb"
|
38
38
|
});
|
39
39
|
var FeaturePopover = /*#__PURE__*/function (_Component) {
|
40
40
|
_inherits(FeaturePopover, _Component);
|