intergalactic 15.107.0 → 15.108.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 +53 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/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/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- 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/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/button/component/AbstractButton/AbstractButton.d.ts +24 -0
- package/button/component/AbstractButton/AbstractButton.type.d.ts +39 -0
- package/button/component/AbstractButton/SpinButton.d.ts +3 -0
- package/button/component/Button/Button.d.ts +3 -0
- package/button/component/Button/Button.type.d.ts +39 -0
- package/button/component/ButtonLink/ButtonLink.d.ts +2 -0
- package/button/component/ButtonLink/ButtonLink.type.d.ts +25 -0
- package/button/index.d.ts +5 -68
- package/button/lib/cjs/component/AbstractButton/AbstractButton.js +182 -0
- package/button/lib/cjs/component/AbstractButton/AbstractButton.js.map +1 -0
- package/button/lib/cjs/component/AbstractButton/AbstractButton.type.js +2 -0
- package/button/lib/cjs/component/AbstractButton/AbstractButton.type.js.map +1 -0
- package/button/lib/cjs/component/AbstractButton/SpinButton.js.map +1 -0
- package/button/lib/cjs/component/Button/Button.js +94 -0
- package/button/lib/cjs/component/Button/Button.js.map +1 -0
- package/button/lib/cjs/component/Button/Button.type.js +2 -0
- package/button/lib/cjs/component/Button/Button.type.js.map +1 -0
- package/button/lib/cjs/{style → component/Button}/button.shadow.css +1 -1
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +92 -0
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js.map +1 -0
- package/button/lib/cjs/component/ButtonLink/ButtonLink.type.js +2 -0
- package/button/lib/cjs/component/ButtonLink/ButtonLink.type.js.map +1 -0
- package/button/lib/cjs/component/ButtonLink/buttonLink.shadow.css +160 -0
- package/button/lib/cjs/index.js +40 -6
- package/button/lib/cjs/index.js.map +1 -1
- package/button/lib/es6/component/AbstractButton/AbstractButton.js +175 -0
- package/button/lib/es6/component/AbstractButton/AbstractButton.js.map +1 -0
- package/button/lib/es6/component/AbstractButton/AbstractButton.type.js +2 -0
- package/button/lib/es6/component/AbstractButton/AbstractButton.type.js.map +1 -0
- package/button/lib/es6/component/AbstractButton/SpinButton.js.map +1 -0
- package/button/lib/es6/component/Button/Button.js +87 -0
- package/button/lib/es6/component/Button/Button.js.map +1 -0
- package/button/lib/es6/component/Button/Button.type.js +2 -0
- package/button/lib/es6/component/Button/Button.type.js.map +1 -0
- package/button/lib/es6/{style → component/Button}/button.shadow.css +1 -1
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +85 -0
- package/button/lib/es6/component/ButtonLink/ButtonLink.js.map +1 -0
- package/button/lib/es6/component/ButtonLink/ButtonLink.type.js +2 -0
- package/button/lib/es6/component/ButtonLink/ButtonLink.type.js.map +1 -0
- package/button/lib/es6/component/ButtonLink/buttonLink.shadow.css +160 -0
- package/button/lib/es6/index.js +5 -2
- package/button/lib/es6/index.js.map +1 -1
- package/button/lib/types/component/AbstractButton/AbstractButton.d.ts +24 -0
- package/button/lib/types/component/AbstractButton/AbstractButton.type.d.ts +39 -0
- package/button/lib/types/component/AbstractButton/SpinButton.d.ts +3 -0
- package/button/lib/types/component/Button/Button.d.ts +3 -0
- package/button/lib/types/component/Button/Button.type.d.ts +39 -0
- package/button/lib/types/component/ButtonLink/ButtonLink.d.ts +2 -0
- package/button/lib/types/component/ButtonLink/ButtonLink.type.d.ts +25 -0
- package/button/lib/types/index.d.ts +5 -68
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +19 -22
- package/card/lib/cjs/Card.js.map +1 -1
- package/card/lib/cjs/style/card.shadow.css +13 -15
- package/card/lib/es6/Card.js +19 -22
- package/card/lib/es6/Card.js.map +1 -1
- package/card/lib/es6/style/card.shadow.css +13 -15
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +79 -57
- package/carousel/lib/cjs/Carousel.js.map +1 -1
- package/carousel/lib/cjs/style/carousel.shadow.css +48 -4
- package/carousel/lib/cjs/translations/de.json +4 -2
- package/carousel/lib/cjs/translations/en.json +4 -2
- package/carousel/lib/cjs/translations/es.json +4 -2
- package/carousel/lib/cjs/translations/fr.json +4 -2
- package/carousel/lib/cjs/translations/it.json +4 -2
- package/carousel/lib/cjs/translations/ja.json +4 -2
- package/carousel/lib/cjs/translations/ko.json +4 -2
- package/carousel/lib/cjs/translations/nl.json +4 -2
- package/carousel/lib/cjs/translations/pl.json +4 -2
- package/carousel/lib/cjs/translations/pt.json +4 -2
- package/carousel/lib/cjs/translations/sv.json +4 -2
- package/carousel/lib/cjs/translations/tr.json +4 -2
- package/carousel/lib/cjs/translations/vi.json +4 -2
- package/carousel/lib/cjs/translations/zh.json +4 -2
- package/carousel/lib/es6/Carousel.js +79 -57
- package/carousel/lib/es6/Carousel.js.map +1 -1
- package/carousel/lib/es6/style/carousel.shadow.css +48 -4
- package/carousel/lib/es6/translations/de.json +4 -2
- package/carousel/lib/es6/translations/en.json +4 -2
- package/carousel/lib/es6/translations/es.json +4 -2
- package/carousel/lib/es6/translations/fr.json +4 -2
- package/carousel/lib/es6/translations/it.json +4 -2
- package/carousel/lib/es6/translations/ja.json +4 -2
- package/carousel/lib/es6/translations/ko.json +4 -2
- package/carousel/lib/es6/translations/nl.json +4 -2
- package/carousel/lib/es6/translations/pl.json +4 -2
- package/carousel/lib/es6/translations/pt.json +4 -2
- package/carousel/lib/es6/translations/sv.json +4 -2
- package/carousel/lib/es6/translations/tr.json +4 -2
- package/carousel/lib/es6/translations/vi.json +4 -2
- package/carousel/lib/es6/translations/zh.json +4 -2
- package/carousel/lib/types/translations/__intergalactic-dynamic-locales.d.ts +28 -0
- package/carousel/package.json +1 -1
- package/carousel/translations/__intergalactic-dynamic-locales.d.ts +28 -0
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- 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/package.json +1 -1
- package/components.json +73 -73
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- 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/package.json +1 -1
- package/data-table/Body.d.ts +4 -1
- package/data-table/DataTable.d.ts +15 -58
- package/data-table/Head.d.ts +8 -2
- package/data-table/lib/cjs/Body.js +62 -12
- package/data-table/lib/cjs/Body.js.map +1 -1
- package/data-table/lib/cjs/DataTable.js +206 -45
- package/data-table/lib/cjs/DataTable.js.map +1 -1
- package/data-table/lib/cjs/Head.js +87 -16
- package/data-table/lib/cjs/Head.js.map +1 -1
- package/data-table/lib/cjs/style/data-table.shadow.css +14 -0
- package/data-table/lib/cjs/translations/__intergalactic-dynamic-locales.js +39 -0
- package/data-table/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -0
- package/data-table/lib/cjs/translations/de.json +3 -0
- package/data-table/lib/cjs/translations/en.json +3 -0
- package/data-table/lib/cjs/translations/es.json +3 -0
- package/data-table/lib/cjs/translations/fr.json +3 -0
- package/data-table/lib/cjs/translations/it.json +3 -0
- package/data-table/lib/cjs/translations/ja.json +3 -0
- package/data-table/lib/cjs/translations/ko.json +3 -0
- package/data-table/lib/cjs/translations/nl.json +3 -0
- package/data-table/lib/cjs/translations/pl.json +3 -0
- package/data-table/lib/cjs/translations/pt.json +3 -0
- package/data-table/lib/cjs/translations/sv.json +3 -0
- package/data-table/lib/cjs/translations/tr.json +3 -0
- package/data-table/lib/cjs/translations/vi.json +3 -0
- package/data-table/lib/cjs/translations/zh.json +3 -0
- package/data-table/lib/cjs/types.js.map +1 -1
- package/data-table/lib/es6/Body.js +62 -12
- package/data-table/lib/es6/Body.js.map +1 -1
- package/data-table/lib/es6/DataTable.js +207 -45
- package/data-table/lib/es6/DataTable.js.map +1 -1
- package/data-table/lib/es6/Head.js +87 -16
- package/data-table/lib/es6/Head.js.map +1 -1
- package/data-table/lib/es6/style/data-table.shadow.css +14 -0
- package/data-table/lib/es6/translations/__intergalactic-dynamic-locales.js +31 -0
- package/data-table/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -0
- package/data-table/lib/es6/translations/de.json +3 -0
- package/data-table/lib/es6/translations/en.json +3 -0
- package/data-table/lib/es6/translations/es.json +3 -0
- package/data-table/lib/es6/translations/fr.json +3 -0
- package/data-table/lib/es6/translations/it.json +3 -0
- package/data-table/lib/es6/translations/ja.json +3 -0
- package/data-table/lib/es6/translations/ko.json +3 -0
- package/data-table/lib/es6/translations/nl.json +3 -0
- package/data-table/lib/es6/translations/pl.json +3 -0
- package/data-table/lib/es6/translations/pt.json +3 -0
- package/data-table/lib/es6/translations/sv.json +3 -0
- package/data-table/lib/es6/translations/tr.json +3 -0
- package/data-table/lib/es6/translations/vi.json +3 -0
- package/data-table/lib/es6/translations/zh.json +3 -0
- package/data-table/lib/es6/types.js.map +1 -1
- package/data-table/lib/types/Body.d.ts +4 -1
- package/data-table/lib/types/DataTable.d.ts +15 -58
- package/data-table/lib/types/Head.d.ts +8 -2
- package/data-table/lib/types/translations/__intergalactic-dynamic-locales.d.ts +44 -0
- package/data-table/lib/types/types.d.ts +2 -0
- package/data-table/package.json +1 -1
- package/data-table/translations/__intergalactic-dynamic-locales.d.ts +44 -0
- package/data-table/types.d.ts +2 -0
- 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/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +16 -16
- package/drag-and-drop/lib/es6/DragAndDrop.js +16 -16
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +2 -2
- package/dropdown/lib/es6/Dropdown.js +2 -2
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +25 -25
- package/dropdown-menu/lib/cjs/DropdownMenuOld.js +21 -21
- package/dropdown-menu/lib/es6/DropdownMenu.js +25 -25
- package/dropdown-menu/lib/es6/DropdownMenuOld.js +21 -21
- 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/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- 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/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +6 -6
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +6 -6
- 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/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/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/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- 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/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 +6 -6
- package/icon/lib/es6/Icon.js +6 -6
- 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/package.json +1 -1
- package/inline-input/index.d.ts +11 -2
- package/inline-input/lib/cjs/InlineInput.js +31 -35
- package/inline-input/lib/cjs/InlineInput.js.map +1 -1
- package/inline-input/lib/cjs/index.d.js.map +1 -1
- package/inline-input/lib/cjs/style/inline-input.shadow.css +1 -1
- package/inline-input/lib/es6/InlineInput.js +31 -35
- package/inline-input/lib/es6/InlineInput.js.map +1 -1
- package/inline-input/lib/es6/index.d.js.map +1 -1
- package/inline-input/lib/es6/style/inline-input.shadow.css +1 -1
- package/inline-input/lib/types/index.d.ts +11 -2
- 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/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/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/package.json +1 -1
- package/input-tags/InputTags.d.ts +1 -0
- package/input-tags/lib/cjs/InputTags.js +67 -36
- package/input-tags/lib/cjs/InputTags.js.map +1 -1
- package/input-tags/lib/cjs/style/input-tag.shadow.css +2 -2
- package/input-tags/lib/cjs/translations/__intergalactic-dynamic-locales.js +39 -0
- package/input-tags/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -0
- package/input-tags/lib/cjs/translations/de.json +3 -0
- package/input-tags/lib/cjs/translations/en.json +3 -0
- package/input-tags/lib/cjs/translations/es.json +3 -0
- package/input-tags/lib/cjs/translations/fr.json +3 -0
- package/input-tags/lib/cjs/translations/it.json +3 -0
- package/input-tags/lib/cjs/translations/ja.json +3 -0
- package/input-tags/lib/cjs/translations/ko.json +3 -0
- package/input-tags/lib/cjs/translations/nl.json +3 -0
- package/input-tags/lib/cjs/translations/pl.json +3 -0
- package/input-tags/lib/cjs/translations/pt.json +3 -0
- package/input-tags/lib/cjs/translations/sv.json +3 -0
- package/input-tags/lib/cjs/translations/tr.json +3 -0
- package/input-tags/lib/cjs/translations/vi.json +3 -0
- package/input-tags/lib/cjs/translations/zh.json +3 -0
- package/input-tags/lib/es6/InputTags.js +68 -36
- package/input-tags/lib/es6/InputTags.js.map +1 -1
- package/input-tags/lib/es6/style/input-tag.shadow.css +2 -2
- package/input-tags/lib/es6/translations/__intergalactic-dynamic-locales.js +31 -0
- package/input-tags/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -0
- package/input-tags/lib/es6/translations/de.json +3 -0
- package/input-tags/lib/es6/translations/en.json +3 -0
- package/input-tags/lib/es6/translations/es.json +3 -0
- package/input-tags/lib/es6/translations/fr.json +3 -0
- package/input-tags/lib/es6/translations/it.json +3 -0
- package/input-tags/lib/es6/translations/ja.json +3 -0
- package/input-tags/lib/es6/translations/ko.json +3 -0
- package/input-tags/lib/es6/translations/nl.json +3 -0
- package/input-tags/lib/es6/translations/pl.json +3 -0
- package/input-tags/lib/es6/translations/pt.json +3 -0
- package/input-tags/lib/es6/translations/sv.json +3 -0
- package/input-tags/lib/es6/translations/tr.json +3 -0
- package/input-tags/lib/es6/translations/vi.json +3 -0
- package/input-tags/lib/es6/translations/zh.json +3 -0
- package/input-tags/lib/types/InputTags.d.ts +1 -0
- package/input-tags/lib/types/translations/__intergalactic-dynamic-locales.d.ts +44 -0
- package/input-tags/package.json +1 -1
- package/input-tags/translations/__intergalactic-dynamic-locales.d.ts +44 -0
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- 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 +17 -17
- 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 +17 -17
- 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/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +14 -14
- package/notice/lib/es6/Notice.js +14 -14
- 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/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/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +12 -16
- package/pagination/lib/cjs/Pagination.js.map +1 -1
- package/pagination/lib/es6/Pagination.js +12 -16
- package/pagination/lib/es6/Pagination.js.map +1 -1
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- 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/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/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- 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/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +23 -28
- package/side-panel/lib/cjs/SidePanel.js.map +1 -1
- package/side-panel/lib/cjs/style/side-panel.shadow.css +8 -30
- package/side-panel/lib/es6/SidePanel.js +23 -28
- package/side-panel/lib/es6/SidePanel.js.map +1 -1
- package/side-panel/lib/es6/style/side-panel.shadow.css +8 -30
- 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/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- 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/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- 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/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/package.json +1 -1
- package/tag/index.d.ts +2 -0
- package/tag/lib/cjs/Tag.js +167 -95
- package/tag/lib/cjs/Tag.js.map +1 -1
- package/tag/lib/cjs/index.d.js.map +1 -1
- package/tag/lib/cjs/style/tag.shadow.css +125 -90
- package/tag/lib/cjs/translations/de.json +1 -1
- package/tag/lib/cjs/translations/en.json +1 -1
- package/tag/lib/cjs/translations/es.json +1 -1
- package/tag/lib/cjs/translations/fr.json +1 -1
- package/tag/lib/cjs/translations/it.json +1 -1
- package/tag/lib/cjs/translations/ja.json +1 -1
- package/tag/lib/cjs/translations/ko.json +1 -1
- package/tag/lib/cjs/translations/nl.json +1 -1
- package/tag/lib/cjs/translations/pl.json +1 -1
- package/tag/lib/cjs/translations/pt.json +1 -1
- package/tag/lib/cjs/translations/sv.json +1 -1
- package/tag/lib/cjs/translations/tr.json +1 -1
- package/tag/lib/cjs/translations/vi.json +1 -1
- package/tag/lib/cjs/translations/zh.json +1 -1
- package/tag/lib/es6/Tag.js +168 -95
- package/tag/lib/es6/Tag.js.map +1 -1
- package/tag/lib/es6/index.d.js.map +1 -1
- package/tag/lib/es6/style/tag.shadow.css +125 -90
- package/tag/lib/es6/translations/de.json +1 -1
- package/tag/lib/es6/translations/en.json +1 -1
- package/tag/lib/es6/translations/es.json +1 -1
- package/tag/lib/es6/translations/fr.json +1 -1
- package/tag/lib/es6/translations/it.json +1 -1
- package/tag/lib/es6/translations/ja.json +1 -1
- package/tag/lib/es6/translations/ko.json +1 -1
- package/tag/lib/es6/translations/nl.json +1 -1
- package/tag/lib/es6/translations/pl.json +1 -1
- package/tag/lib/es6/translations/pt.json +1 -1
- package/tag/lib/es6/translations/sv.json +1 -1
- package/tag/lib/es6/translations/tr.json +1 -1
- package/tag/lib/es6/translations/vi.json +1 -1
- package/tag/lib/es6/translations/zh.json +1 -1
- package/tag/lib/types/index.d.ts +2 -0
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- 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/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- 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/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/focus-lock/isFocusable.js +6 -1
- package/utils/lib/focus-lock/isFocusable.js.map +1 -1
- package/utils/lib/focus-lock/isFocusable.mjs +6 -1
- package/utils/lib/focus-lock/isFocusable.mjs.map +1 -1
- 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/package.json +1 -1
- package/wizard/index.d.ts +17 -0
- package/wizard/lib/cjs/Wizard.js +201 -47
- package/wizard/lib/cjs/Wizard.js.map +1 -1
- package/wizard/lib/cjs/index.d.js.map +1 -1
- package/wizard/lib/cjs/style/wizard.shadow.css +4 -0
- package/wizard/lib/cjs/translations/de.json +3 -1
- package/wizard/lib/cjs/translations/en.json +3 -1
- package/wizard/lib/cjs/translations/es.json +3 -1
- package/wizard/lib/cjs/translations/fr.json +3 -1
- package/wizard/lib/cjs/translations/it.json +3 -1
- package/wizard/lib/cjs/translations/ja.json +3 -1
- package/wizard/lib/cjs/translations/ko.json +3 -1
- package/wizard/lib/cjs/translations/nl.json +3 -1
- package/wizard/lib/cjs/translations/pl.json +3 -1
- package/wizard/lib/cjs/translations/pt.json +3 -1
- package/wizard/lib/cjs/translations/sv.json +3 -1
- package/wizard/lib/cjs/translations/tr.json +3 -1
- package/wizard/lib/cjs/translations/vi.json +3 -1
- package/wizard/lib/cjs/translations/zh.json +3 -1
- package/wizard/lib/es6/Wizard.js +203 -47
- package/wizard/lib/es6/Wizard.js.map +1 -1
- package/wizard/lib/es6/index.d.js.map +1 -1
- package/wizard/lib/es6/style/wizard.shadow.css +4 -0
- package/wizard/lib/es6/translations/de.json +3 -1
- package/wizard/lib/es6/translations/en.json +3 -1
- package/wizard/lib/es6/translations/es.json +3 -1
- package/wizard/lib/es6/translations/fr.json +3 -1
- package/wizard/lib/es6/translations/it.json +3 -1
- package/wizard/lib/es6/translations/ja.json +3 -1
- package/wizard/lib/es6/translations/ko.json +3 -1
- package/wizard/lib/es6/translations/nl.json +3 -1
- package/wizard/lib/es6/translations/pl.json +3 -1
- package/wizard/lib/es6/translations/pt.json +3 -1
- package/wizard/lib/es6/translations/sv.json +3 -1
- package/wizard/lib/es6/translations/tr.json +3 -1
- package/wizard/lib/es6/translations/vi.json +3 -1
- package/wizard/lib/es6/translations/zh.json +3 -1
- package/wizard/lib/types/index.d.ts +17 -0
- package/wizard/package.json +1 -1
- package/button/lib/cjs/Button.js +0 -237
- package/button/lib/cjs/Button.js.map +0 -1
- package/button/lib/cjs/SpinButton.js.map +0 -1
- package/button/lib/cjs/index.d.js +0 -2
- package/button/lib/cjs/index.d.js.map +0 -1
- package/button/lib/es6/Button.js +0 -231
- package/button/lib/es6/Button.js.map +0 -1
- package/button/lib/es6/SpinButton.js.map +0 -1
- package/button/lib/es6/index.d.js +0 -2
- package/button/lib/es6/index.d.js.map +0 -1
- /package/button/lib/cjs/{SpinButton.js → component/AbstractButton/SpinButton.js} +0 -0
- /package/button/lib/es6/{SpinButton.js → component/AbstractButton/SpinButton.js} +0 -0
@@ -30,15 +30,15 @@ var _portal = _interopRequireDefault(require("intergalactic/portal"));
|
|
30
30
|
var _zIndexStacking = require("intergalactic/utils/lib/zIndexStacking");
|
31
31
|
var _excluded = ["Children", "title", "offset", "forcedAdvancedMode"];
|
32
32
|
/*__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
33
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
34
|
-
"__STooltip": "
|
35
|
-
"_theme_invert": "
|
36
|
-
"_theme_warning": "
|
37
|
-
"__STooltipPortalledWrapper": "
|
38
|
-
"__SArrow": "
|
39
|
-
"_bgColor": "
|
40
|
-
"--shadowColor": "--
|
41
|
-
"--bgColor": "--
|
33
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___STooltip_jwqwn_gg_{position:relative;padding:var(--intergalactic-spacing-3x, 12px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);word-wrap:break-word;max-width:228px;font-weight:400;white-space:normal;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));background-color:var(--intergalactic-tooltip-default, #ffffff);border:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___STooltip_jwqwn_gg_._theme_invert_jwqwn_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-tooltip-invert, #191b23);border:1px solid var(--intergalactic-border-tooltip-invert, #6c6e79)}.___STooltip_jwqwn_gg_._theme_warning_jwqwn_gg_{background-color:var(--intergalactic-tooltip-warning, #ffd7df);border:1px solid var(--intergalactic-border-critical-active, #d1002f)}.___SArrow_jwqwn_gg_{position:absolute;border:6px solid;border-color:var(--intergalactic-border-secondary, #e0e1e9)}.___SArrow_jwqwn_gg_:before{content:\"\";position:absolute;border:6px solid;border-color:var(--intergalactic-tooltip-default, #ffffff)}.___SArrow_jwqwn_gg_._theme_invert_jwqwn_gg_{border-color:var(--intergalactic-border-tooltip-invert, #6c6e79)}.___SArrow_jwqwn_gg_._theme_invert_jwqwn_gg_::before{border-color:var(--intergalactic-tooltip-invert, #191b23)}.___SArrow_jwqwn_gg_._theme_warning_jwqwn_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SArrow_jwqwn_gg_._theme_warning_jwqwn_gg_::before{border-color:var(--intergalactic-tooltip-warning, #ffd7df)}.___SArrow_jwqwn_gg_.__bgColor_jwqwn_gg_{border-color:var(--shadowColor_jwqwn)}.___SArrow_jwqwn_gg_.__bgColor_jwqwn_gg_::before{border-color:var(--bgColor_jwqwn)}.___STooltip_jwqwn_gg_[data-popper-placement^=top] .___SArrow_jwqwn_gg_,.___STooltip_jwqwn_gg_[data-popper-placement^=top] .___SArrow_jwqwn_gg_::before{top:100%;border-bottom:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=top] .___SArrow_jwqwn_gg_::before{top:-7px;left:-6px}.___STooltip_jwqwn_gg_[data-popper-placement^=bottom] .___SArrow_jwqwn_gg_{bottom:100%;border-top:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=bottom] .___SArrow_jwqwn_gg_::before{top:1px;left:-6px;border-top:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=left] .___SArrow_jwqwn_gg_,.___STooltip_jwqwn_gg_[data-popper-placement^=left] .___SArrow_jwqwn_gg_::before{left:100%;border-right:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=left] .___SArrow_jwqwn_gg_::before{top:-6px;left:-7px}.___STooltip_jwqwn_gg_[data-popper-placement^=right] .___SArrow_jwqwn_gg_{right:100%;border-left:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=right] .___SArrow_jwqwn_gg_::before{top:-6px;left:1px;border-left:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltipPortalledWrapper_jwqwn_gg_{position:relative}" /*__inner_css_end__*/, "jwqwn_gg_") /*__reshadow_css_end__*/, {
|
34
|
+
"__STooltip": "___STooltip_jwqwn_gg_",
|
35
|
+
"_theme_invert": "_theme_invert_jwqwn_gg_",
|
36
|
+
"_theme_warning": "_theme_warning_jwqwn_gg_",
|
37
|
+
"__STooltipPortalledWrapper": "___STooltipPortalledWrapper_jwqwn_gg_",
|
38
|
+
"__SArrow": "___SArrow_jwqwn_gg_",
|
39
|
+
"_bgColor": "__bgColor_jwqwn_gg_",
|
40
|
+
"--shadowColor": "--shadowColor_jwqwn",
|
41
|
+
"--bgColor": "--bgColor_jwqwn"
|
42
42
|
});
|
43
43
|
var Popper = _popper["default"][_core.CREATE_COMPONENT]();
|
44
44
|
var defaultProps = {
|
@@ -24,15 +24,15 @@ import logger from 'intergalactic/utils/lib/logger';
|
|
24
24
|
import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
|
25
25
|
import Portal from 'intergalactic/portal';
|
26
26
|
/*__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
27
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
28
|
-
"__STooltip": "
|
29
|
-
"_theme_invert": "
|
30
|
-
"_theme_warning": "
|
31
|
-
"__STooltipPortalledWrapper": "
|
32
|
-
"__SArrow": "
|
33
|
-
"_bgColor": "
|
34
|
-
"--shadowColor": "--
|
35
|
-
"--bgColor": "--
|
27
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_jwqwn_gg_{position:relative;padding:var(--intergalactic-spacing-3x, 12px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);word-wrap:break-word;max-width:228px;font-weight:400;white-space:normal;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));background-color:var(--intergalactic-tooltip-default, #ffffff);border:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___STooltip_jwqwn_gg_._theme_invert_jwqwn_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-tooltip-invert, #191b23);border:1px solid var(--intergalactic-border-tooltip-invert, #6c6e79)}.___STooltip_jwqwn_gg_._theme_warning_jwqwn_gg_{background-color:var(--intergalactic-tooltip-warning, #ffd7df);border:1px solid var(--intergalactic-border-critical-active, #d1002f)}.___SArrow_jwqwn_gg_{position:absolute;border:6px solid;border-color:var(--intergalactic-border-secondary, #e0e1e9)}.___SArrow_jwqwn_gg_:before{content:\"\";position:absolute;border:6px solid;border-color:var(--intergalactic-tooltip-default, #ffffff)}.___SArrow_jwqwn_gg_._theme_invert_jwqwn_gg_{border-color:var(--intergalactic-border-tooltip-invert, #6c6e79)}.___SArrow_jwqwn_gg_._theme_invert_jwqwn_gg_::before{border-color:var(--intergalactic-tooltip-invert, #191b23)}.___SArrow_jwqwn_gg_._theme_warning_jwqwn_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SArrow_jwqwn_gg_._theme_warning_jwqwn_gg_::before{border-color:var(--intergalactic-tooltip-warning, #ffd7df)}.___SArrow_jwqwn_gg_.__bgColor_jwqwn_gg_{border-color:var(--shadowColor_jwqwn)}.___SArrow_jwqwn_gg_.__bgColor_jwqwn_gg_::before{border-color:var(--bgColor_jwqwn)}.___STooltip_jwqwn_gg_[data-popper-placement^=top] .___SArrow_jwqwn_gg_,.___STooltip_jwqwn_gg_[data-popper-placement^=top] .___SArrow_jwqwn_gg_::before{top:100%;border-bottom:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=top] .___SArrow_jwqwn_gg_::before{top:-7px;left:-6px}.___STooltip_jwqwn_gg_[data-popper-placement^=bottom] .___SArrow_jwqwn_gg_{bottom:100%;border-top:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=bottom] .___SArrow_jwqwn_gg_::before{top:1px;left:-6px;border-top:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=left] .___SArrow_jwqwn_gg_,.___STooltip_jwqwn_gg_[data-popper-placement^=left] .___SArrow_jwqwn_gg_::before{left:100%;border-right:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=left] .___SArrow_jwqwn_gg_::before{top:-6px;left:-7px}.___STooltip_jwqwn_gg_[data-popper-placement^=right] .___SArrow_jwqwn_gg_{right:100%;border-left:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltip_jwqwn_gg_[data-popper-placement^=right] .___SArrow_jwqwn_gg_::before{top:-6px;left:1px;border-left:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltipPortalledWrapper_jwqwn_gg_{position:relative}" /*__inner_css_end__*/, "jwqwn_gg_") /*__reshadow_css_end__*/, {
|
28
|
+
"__STooltip": "___STooltip_jwqwn_gg_",
|
29
|
+
"_theme_invert": "_theme_invert_jwqwn_gg_",
|
30
|
+
"_theme_warning": "_theme_warning_jwqwn_gg_",
|
31
|
+
"__STooltipPortalledWrapper": "___STooltipPortalledWrapper_jwqwn_gg_",
|
32
|
+
"__SArrow": "___SArrow_jwqwn_gg_",
|
33
|
+
"_bgColor": "__bgColor_jwqwn_gg_",
|
34
|
+
"--shadowColor": "--shadowColor_jwqwn",
|
35
|
+
"--bgColor": "--bgColor_jwqwn"
|
36
36
|
});
|
37
37
|
import { useZIndexStacking, ZIndexStackingContextProvider } from 'intergalactic/utils/lib/zIndexStacking';
|
38
38
|
var Popper = PopperOrigin[CREATE_COMPONENT]();
|
package/tooltip/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/tooltip","description":"Semrush Tooltip Component","version":"6.
|
1
|
+
{"name":"intergalactic/tooltip","description":"Semrush Tooltip Component","version":"6.42.0-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","test":"jest --no-cache"},"dependencies":{"@semcore/utils":"4.36.0-prerelease.1","@semcore/flex-box":"5.33.0-prerelease.1","@semcore/popper":"5.40.0-prerelease.1","@semcore/portal":"3.33.0-prerelease.1"},"peerDependencies":{"@semcore/core":"^2.31.0-prerelease.1","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/tooltip"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -12,10 +12,10 @@ var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _isNode = _interopRequireDefault(require("intergalactic/utils/lib/isNode"));
|
13
13
|
var _flexBox = require("intergalactic/flex-box");
|
14
14
|
/*__reshadow-styles__:"./style/blockquote.shadow.css"*/
|
15
|
-
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
16
|
-
"__SBlockquote": "
|
17
|
-
"__SDoubleQuotation": "
|
18
|
-
"__SAuthor": "
|
15
|
+
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SBlockquote_yv8np_gg_{position:relative;display:flex;font-style:italic;font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%);color:var(--intergalactic-text-primary, #191b23)}.___SDoubleQuotation_yv8np_gg_{position:relative;margin-right:var(--intergalactic-spacing-5x, 20px);font-family:\"Times New Roman\",serif;font-style:normal;font-size:68px;line-height:52px;color:var(--intergalactic-text-large-secondary, #a9abb6)}.___SAuthor_yv8np_gg_{display:block;margin-top:var(--intergalactic-spacing-4x, 16px);color:var(--intergalactic-text-secondary, #6c6e79);font-style:normal;font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}" /*__inner_css_end__*/, "yv8np_gg_") /*__reshadow_css_end__*/, {
|
16
|
+
"__SBlockquote": "___SBlockquote_yv8np_gg_",
|
17
|
+
"__SDoubleQuotation": "___SDoubleQuotation_yv8np_gg_",
|
18
|
+
"__SAuthor": "___SAuthor_yv8np_gg_"
|
19
19
|
});
|
20
20
|
function Blockquote(props, ref) {
|
21
21
|
var _ref = arguments[0],
|
@@ -20,13 +20,13 @@ var _keyboardFocusEnhance = _interopRequireDefault(require("intergalactic/utils/
|
|
20
20
|
var _addonTextChildren = _interopRequireDefault(require("intergalactic/utils/lib/addonTextChildren"));
|
21
21
|
var _Text = _interopRequireDefault(require("./Text"));
|
22
22
|
/*__reshadow-styles__:"./style/hint.shadow.css"*/
|
23
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
24
|
-
"__SHint": "
|
25
|
-
"_keyboardFocused": "
|
26
|
-
"_disabled": "
|
27
|
-
"__SAddon": "
|
28
|
-
"__SText": "
|
29
|
-
"_active": "
|
23
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SHint_t3p0a_gg_{display:inline-block;transition:all .15s ease-in-out;-webkit-text-decoration:none;text-decoration:none;outline:0;cursor:pointer;color:var(--intergalactic-text-secondary, #6c6e79)}.___SHint_t3p0a_gg_.__active_t3p0a_gg_,.___SHint_t3p0a_gg_:active{color:var(--intergalactic-text-hint-hover-active, #484a54)}@media (hover:hover){.___SHint_t3p0a_gg_:hover{color:var(--intergalactic-text-hint-hover-active, #484a54)}}.___SHint_t3p0a_gg_.__keyboardFocused_t3p0a_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHint_t3p0a_gg_.__disabled_t3p0a_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_t3p0a_gg_{vertical-align:middle;display:inline-flex}.___SHint_t3p0a_gg_ .___SAddon_t3p0a_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SHint_t3p0a_gg_ .___SAddon_t3p0a_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_t3p0a_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}@media (prefers-reduced-motion){.___SHint_t3p0a_gg_{transition:none}}" /*__inner_css_end__*/, "t3p0a_gg_") /*__reshadow_css_end__*/, {
|
24
|
+
"__SHint": "___SHint_t3p0a_gg_",
|
25
|
+
"_keyboardFocused": "__keyboardFocused_t3p0a_gg_",
|
26
|
+
"_disabled": "__disabled_t3p0a_gg_",
|
27
|
+
"__SAddon": "___SAddon_t3p0a_gg_",
|
28
|
+
"__SText": "___SText_t3p0a_gg_",
|
29
|
+
"_active": "__active_t3p0a_gg_"
|
30
30
|
});
|
31
31
|
var RootHint = /*#__PURE__*/function (_Component) {
|
32
32
|
(0, _inherits2["default"])(RootHint, _Component);
|
@@ -20,11 +20,11 @@ var _isNode = _interopRequireDefault(require("intergalactic/utils/lib/isNode"));
|
|
20
20
|
var _findComponent = require("intergalactic/utils/lib/findComponent");
|
21
21
|
var _Text = _interopRequireDefault(require("./Text"));
|
22
22
|
/*__reshadow-styles__:"./style/list.shadow.css"*/
|
23
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
24
|
-
"__SList": "
|
25
|
-
"__SContent": "
|
26
|
-
"__SItem": "
|
27
|
-
"__SMarker": "
|
23
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SList_b0hut_gg_{padding:0;margin:0;list-style-type:none}.___SContent_b0hut_gg_{overflow:inherit;text-overflow:inherit}.___SItem_b0hut_gg_+.___SItem_b0hut_gg_,.___SList_b0hut_gg_ .___SList_b0hut_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_b0hut_gg_{display:flex}.___SMarker_b0hut_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, #6c6e79);line-height:normal}" /*__inner_css_end__*/, "b0hut_gg_") /*__reshadow_css_end__*/, {
|
24
|
+
"__SList": "___SList_b0hut_gg_",
|
25
|
+
"__SContent": "___SContent_b0hut_gg_",
|
26
|
+
"__SItem": "___SItem_b0hut_gg_",
|
27
|
+
"__SMarker": "___SMarker_b0hut_gg_"
|
28
28
|
});
|
29
29
|
var ListRoot = /*#__PURE__*/function (_Component) {
|
30
30
|
(0, _inherits2["default"])(ListRoot, _Component);
|
@@ -12,40 +12,40 @@ var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _flexBox = require("intergalactic/flex-box");
|
13
13
|
var _useColorResolver = require("intergalactic/utils/lib/use/useColorResolver");
|
14
14
|
/*__reshadow-styles__:"./style/text.shadow.css"*/
|
15
|
-
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
16
|
-
"__SText": "
|
17
|
-
"_size_100": "
|
18
|
-
"_size_200": "
|
19
|
-
"_size_300": "
|
20
|
-
"_size_400": "
|
21
|
-
"_size_500": "
|
22
|
-
"_size_600": "
|
23
|
-
"_size_700": "
|
24
|
-
"_size_800": "
|
25
|
-
"_noWrap": "
|
26
|
-
"_medium": "
|
27
|
-
"_semibold": "
|
28
|
-
"_bold": "
|
29
|
-
"_italic": "
|
30
|
-
"_monospace": "
|
31
|
-
"_uppercase": "
|
32
|
-
"_lowercase": "
|
33
|
-
"_capitalize": "
|
34
|
-
"_decoration": "
|
35
|
-
"--decoration": "--
|
36
|
-
"_color": "
|
37
|
-
"--color": "--
|
38
|
-
"_fontSize": "
|
39
|
-
"--fontSize": "--
|
40
|
-
"_lineHeight": "
|
41
|
-
"--lineHeight": "--
|
42
|
-
"_fontWeight": "
|
43
|
-
"--fontWeight": "--
|
44
|
-
"_textAlign": "
|
45
|
-
"--textAlign": "--
|
46
|
-
"_use_primary": "
|
47
|
-
"_use_secondary": "
|
48
|
-
"_disabled": "
|
15
|
+
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SText_11alw_gg_{padding:0;margin:0}.___SText_11alw_gg_._size_100_11alw_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_11alw_gg_._size_200_11alw_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_11alw_gg_._size_300_11alw_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_11alw_gg_._size_400_11alw_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_11alw_gg_._size_500_11alw_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_11alw_gg_._size_600_11alw_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_11alw_gg_._size_700_11alw_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_11alw_gg_._size_800_11alw_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_11alw_gg_.__noWrap_11alw_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_11alw_gg_.__medium_11alw_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_11alw_gg_.__semibold_11alw_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_11alw_gg_.__bold_11alw_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_11alw_gg_.__italic_11alw_gg_{font-style:italic}.___SText_11alw_gg_.__monospace_11alw_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_11alw_gg_.__uppercase_11alw_gg_{text-transform:uppercase}.___SText_11alw_gg_.__lowercase_11alw_gg_{text-transform:lowercase}.___SText_11alw_gg_.__capitalize_11alw_gg_{text-transform:capitalize}.___SText_11alw_gg_.__decoration_11alw_gg_{-webkit-text-decoration:var(--decoration_11alw);text-decoration:var(--decoration_11alw)}.___SText_11alw_gg_.__color_11alw_gg_{color:var(--color_11alw)}.___SText_11alw_gg_.__fontSize_11alw_gg_{font-size:var(--fontSize_11alw)}.___SText_11alw_gg_.__lineHeight_11alw_gg_{line-height:var(--lineHeight_11alw)}.___SText_11alw_gg_.__fontWeight_11alw_gg_{font-weight:var(--fontWeight_11alw)}.___SText_11alw_gg_.__textAlign_11alw_gg_{text-align:var(--textAlign_11alw)}.___SText_11alw_gg_._use_primary_11alw_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_11alw_gg_._use_secondary_11alw_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_11alw_gg_.__disabled_11alw_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "11alw_gg_") /*__reshadow_css_end__*/, {
|
16
|
+
"__SText": "___SText_11alw_gg_",
|
17
|
+
"_size_100": "_size_100_11alw_gg_",
|
18
|
+
"_size_200": "_size_200_11alw_gg_",
|
19
|
+
"_size_300": "_size_300_11alw_gg_",
|
20
|
+
"_size_400": "_size_400_11alw_gg_",
|
21
|
+
"_size_500": "_size_500_11alw_gg_",
|
22
|
+
"_size_600": "_size_600_11alw_gg_",
|
23
|
+
"_size_700": "_size_700_11alw_gg_",
|
24
|
+
"_size_800": "_size_800_11alw_gg_",
|
25
|
+
"_noWrap": "__noWrap_11alw_gg_",
|
26
|
+
"_medium": "__medium_11alw_gg_",
|
27
|
+
"_semibold": "__semibold_11alw_gg_",
|
28
|
+
"_bold": "__bold_11alw_gg_",
|
29
|
+
"_italic": "__italic_11alw_gg_",
|
30
|
+
"_monospace": "__monospace_11alw_gg_",
|
31
|
+
"_uppercase": "__uppercase_11alw_gg_",
|
32
|
+
"_lowercase": "__lowercase_11alw_gg_",
|
33
|
+
"_capitalize": "__capitalize_11alw_gg_",
|
34
|
+
"_decoration": "__decoration_11alw_gg_",
|
35
|
+
"--decoration": "--decoration_11alw",
|
36
|
+
"_color": "__color_11alw_gg_",
|
37
|
+
"--color": "--color_11alw",
|
38
|
+
"_fontSize": "__fontSize_11alw_gg_",
|
39
|
+
"--fontSize": "--fontSize_11alw",
|
40
|
+
"_lineHeight": "__lineHeight_11alw_gg_",
|
41
|
+
"--lineHeight": "--lineHeight_11alw",
|
42
|
+
"_fontWeight": "__fontWeight_11alw_gg_",
|
43
|
+
"--fontWeight": "--fontWeight_11alw",
|
44
|
+
"_textAlign": "__textAlign_11alw_gg_",
|
45
|
+
"--textAlign": "--textAlign_11alw",
|
46
|
+
"_use_primary": "_use_primary_11alw_gg_",
|
47
|
+
"_use_secondary": "_use_secondary_11alw_gg_",
|
48
|
+
"_disabled": "__disabled_11alw_gg_"
|
49
49
|
});
|
50
50
|
function getTextDecoration(underline, lineThrough) {
|
51
51
|
if (underline) {
|
@@ -6,10 +6,10 @@ import { createBaseComponent, Root, sstyled } from 'intergalactic/core';
|
|
6
6
|
import isNode from 'intergalactic/utils/lib/isNode';
|
7
7
|
import { Box } from 'intergalactic/flex-box';
|
8
8
|
/*__reshadow-styles__:"./style/blockquote.shadow.css"*/
|
9
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
10
|
-
"__SBlockquote": "
|
11
|
-
"__SDoubleQuotation": "
|
12
|
-
"__SAuthor": "
|
9
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBlockquote_yv8np_gg_{position:relative;display:flex;font-style:italic;font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%);color:var(--intergalactic-text-primary, #191b23)}.___SDoubleQuotation_yv8np_gg_{position:relative;margin-right:var(--intergalactic-spacing-5x, 20px);font-family:\"Times New Roman\",serif;font-style:normal;font-size:68px;line-height:52px;color:var(--intergalactic-text-large-secondary, #a9abb6)}.___SAuthor_yv8np_gg_{display:block;margin-top:var(--intergalactic-spacing-4x, 16px);color:var(--intergalactic-text-secondary, #6c6e79);font-style:normal;font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}" /*__inner_css_end__*/, "yv8np_gg_") /*__reshadow_css_end__*/, {
|
10
|
+
"__SBlockquote": "___SBlockquote_yv8np_gg_",
|
11
|
+
"__SDoubleQuotation": "___SDoubleQuotation_yv8np_gg_",
|
12
|
+
"__SAuthor": "___SAuthor_yv8np_gg_"
|
13
13
|
});
|
14
14
|
function Blockquote(props, ref) {
|
15
15
|
var _ref = arguments[0],
|
@@ -15,13 +15,13 @@ import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocus
|
|
15
15
|
import addonTextChildren from 'intergalactic/utils/lib/addonTextChildren';
|
16
16
|
import Text from './Text';
|
17
17
|
/*__reshadow-styles__:"./style/hint.shadow.css"*/
|
18
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
19
|
-
"__SHint": "
|
20
|
-
"_keyboardFocused": "
|
21
|
-
"_disabled": "
|
22
|
-
"__SAddon": "
|
23
|
-
"__SText": "
|
24
|
-
"_active": "
|
18
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHint_t3p0a_gg_{display:inline-block;transition:all .15s ease-in-out;-webkit-text-decoration:none;text-decoration:none;outline:0;cursor:pointer;color:var(--intergalactic-text-secondary, #6c6e79)}.___SHint_t3p0a_gg_.__active_t3p0a_gg_,.___SHint_t3p0a_gg_:active{color:var(--intergalactic-text-hint-hover-active, #484a54)}@media (hover:hover){.___SHint_t3p0a_gg_:hover{color:var(--intergalactic-text-hint-hover-active, #484a54)}}.___SHint_t3p0a_gg_.__keyboardFocused_t3p0a_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHint_t3p0a_gg_.__disabled_t3p0a_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_t3p0a_gg_{vertical-align:middle;display:inline-flex}.___SHint_t3p0a_gg_ .___SAddon_t3p0a_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SHint_t3p0a_gg_ .___SAddon_t3p0a_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_t3p0a_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}@media (prefers-reduced-motion){.___SHint_t3p0a_gg_{transition:none}}" /*__inner_css_end__*/, "t3p0a_gg_") /*__reshadow_css_end__*/, {
|
19
|
+
"__SHint": "___SHint_t3p0a_gg_",
|
20
|
+
"_keyboardFocused": "__keyboardFocused_t3p0a_gg_",
|
21
|
+
"_disabled": "__disabled_t3p0a_gg_",
|
22
|
+
"__SAddon": "___SAddon_t3p0a_gg_",
|
23
|
+
"__SText": "___SText_t3p0a_gg_",
|
24
|
+
"_active": "__active_t3p0a_gg_"
|
25
25
|
});
|
26
26
|
var RootHint = /*#__PURE__*/function (_Component) {
|
27
27
|
_inherits(RootHint, _Component);
|
@@ -15,11 +15,11 @@ import isNode from 'intergalactic/utils/lib/isNode';
|
|
15
15
|
import { isAdvanceMode } from 'intergalactic/utils/lib/findComponent';
|
16
16
|
import Text from './Text';
|
17
17
|
/*__reshadow-styles__:"./style/list.shadow.css"*/
|
18
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
19
|
-
"__SList": "
|
20
|
-
"__SContent": "
|
21
|
-
"__SItem": "
|
22
|
-
"__SMarker": "
|
18
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SList_b0hut_gg_{padding:0;margin:0;list-style-type:none}.___SContent_b0hut_gg_{overflow:inherit;text-overflow:inherit}.___SItem_b0hut_gg_+.___SItem_b0hut_gg_,.___SList_b0hut_gg_ .___SList_b0hut_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_b0hut_gg_{display:flex}.___SMarker_b0hut_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, #6c6e79);line-height:normal}" /*__inner_css_end__*/, "b0hut_gg_") /*__reshadow_css_end__*/, {
|
19
|
+
"__SList": "___SList_b0hut_gg_",
|
20
|
+
"__SContent": "___SContent_b0hut_gg_",
|
21
|
+
"__SItem": "___SItem_b0hut_gg_",
|
22
|
+
"__SMarker": "___SMarker_b0hut_gg_"
|
23
23
|
});
|
24
24
|
var ListRoot = /*#__PURE__*/function (_Component) {
|
25
25
|
_inherits(ListRoot, _Component);
|
@@ -5,40 +5,40 @@ import React from 'react';
|
|
5
5
|
import { createBaseComponent, Root, sstyled } from 'intergalactic/core';
|
6
6
|
import { Box } from 'intergalactic/flex-box';
|
7
7
|
/*__reshadow-styles__:"./style/text.shadow.css"*/
|
8
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
9
|
-
"__SText": "
|
10
|
-
"_size_100": "
|
11
|
-
"_size_200": "
|
12
|
-
"_size_300": "
|
13
|
-
"_size_400": "
|
14
|
-
"_size_500": "
|
15
|
-
"_size_600": "
|
16
|
-
"_size_700": "
|
17
|
-
"_size_800": "
|
18
|
-
"_noWrap": "
|
19
|
-
"_medium": "
|
20
|
-
"_semibold": "
|
21
|
-
"_bold": "
|
22
|
-
"_italic": "
|
23
|
-
"_monospace": "
|
24
|
-
"_uppercase": "
|
25
|
-
"_lowercase": "
|
26
|
-
"_capitalize": "
|
27
|
-
"_decoration": "
|
28
|
-
"--decoration": "--
|
29
|
-
"_color": "
|
30
|
-
"--color": "--
|
31
|
-
"_fontSize": "
|
32
|
-
"--fontSize": "--
|
33
|
-
"_lineHeight": "
|
34
|
-
"--lineHeight": "--
|
35
|
-
"_fontWeight": "
|
36
|
-
"--fontWeight": "--
|
37
|
-
"_textAlign": "
|
38
|
-
"--textAlign": "--
|
39
|
-
"_use_primary": "
|
40
|
-
"_use_secondary": "
|
41
|
-
"_disabled": "
|
8
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SText_11alw_gg_{padding:0;margin:0}.___SText_11alw_gg_._size_100_11alw_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_11alw_gg_._size_200_11alw_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_11alw_gg_._size_300_11alw_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_11alw_gg_._size_400_11alw_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_11alw_gg_._size_500_11alw_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_11alw_gg_._size_600_11alw_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_11alw_gg_._size_700_11alw_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_11alw_gg_._size_800_11alw_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_11alw_gg_.__noWrap_11alw_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_11alw_gg_.__medium_11alw_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_11alw_gg_.__semibold_11alw_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_11alw_gg_.__bold_11alw_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_11alw_gg_.__italic_11alw_gg_{font-style:italic}.___SText_11alw_gg_.__monospace_11alw_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_11alw_gg_.__uppercase_11alw_gg_{text-transform:uppercase}.___SText_11alw_gg_.__lowercase_11alw_gg_{text-transform:lowercase}.___SText_11alw_gg_.__capitalize_11alw_gg_{text-transform:capitalize}.___SText_11alw_gg_.__decoration_11alw_gg_{-webkit-text-decoration:var(--decoration_11alw);text-decoration:var(--decoration_11alw)}.___SText_11alw_gg_.__color_11alw_gg_{color:var(--color_11alw)}.___SText_11alw_gg_.__fontSize_11alw_gg_{font-size:var(--fontSize_11alw)}.___SText_11alw_gg_.__lineHeight_11alw_gg_{line-height:var(--lineHeight_11alw)}.___SText_11alw_gg_.__fontWeight_11alw_gg_{font-weight:var(--fontWeight_11alw)}.___SText_11alw_gg_.__textAlign_11alw_gg_{text-align:var(--textAlign_11alw)}.___SText_11alw_gg_._use_primary_11alw_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_11alw_gg_._use_secondary_11alw_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_11alw_gg_.__disabled_11alw_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "11alw_gg_") /*__reshadow_css_end__*/, {
|
9
|
+
"__SText": "___SText_11alw_gg_",
|
10
|
+
"_size_100": "_size_100_11alw_gg_",
|
11
|
+
"_size_200": "_size_200_11alw_gg_",
|
12
|
+
"_size_300": "_size_300_11alw_gg_",
|
13
|
+
"_size_400": "_size_400_11alw_gg_",
|
14
|
+
"_size_500": "_size_500_11alw_gg_",
|
15
|
+
"_size_600": "_size_600_11alw_gg_",
|
16
|
+
"_size_700": "_size_700_11alw_gg_",
|
17
|
+
"_size_800": "_size_800_11alw_gg_",
|
18
|
+
"_noWrap": "__noWrap_11alw_gg_",
|
19
|
+
"_medium": "__medium_11alw_gg_",
|
20
|
+
"_semibold": "__semibold_11alw_gg_",
|
21
|
+
"_bold": "__bold_11alw_gg_",
|
22
|
+
"_italic": "__italic_11alw_gg_",
|
23
|
+
"_monospace": "__monospace_11alw_gg_",
|
24
|
+
"_uppercase": "__uppercase_11alw_gg_",
|
25
|
+
"_lowercase": "__lowercase_11alw_gg_",
|
26
|
+
"_capitalize": "__capitalize_11alw_gg_",
|
27
|
+
"_decoration": "__decoration_11alw_gg_",
|
28
|
+
"--decoration": "--decoration_11alw",
|
29
|
+
"_color": "__color_11alw_gg_",
|
30
|
+
"--color": "--color_11alw",
|
31
|
+
"_fontSize": "__fontSize_11alw_gg_",
|
32
|
+
"--fontSize": "--fontSize_11alw",
|
33
|
+
"_lineHeight": "__lineHeight_11alw_gg_",
|
34
|
+
"--lineHeight": "--lineHeight_11alw",
|
35
|
+
"_fontWeight": "__fontWeight_11alw_gg_",
|
36
|
+
"--fontWeight": "--fontWeight_11alw",
|
37
|
+
"_textAlign": "__textAlign_11alw_gg_",
|
38
|
+
"--textAlign": "--textAlign_11alw",
|
39
|
+
"_use_primary": "_use_primary_11alw_gg_",
|
40
|
+
"_use_secondary": "_use_secondary_11alw_gg_",
|
41
|
+
"_disabled": "__disabled_11alw_gg_"
|
42
42
|
});
|
43
43
|
import { useColorResolver } from 'intergalactic/utils/lib/use/useColorResolver';
|
44
44
|
function getTextDecoration(underline, lineThrough) {
|
package/typography/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/typography","description":"Semrush Typography Component","version":"5.
|
1
|
+
{"name":"intergalactic/typography","description":"Semrush Typography Component","version":"5.42.0-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"},"dependencies":{"@semcore/utils":"4.36.0-prerelease.1","@semcore/flex-box":"5.33.0-prerelease.1","@semcore/icon":"4.45.0-prerelease.1","csstype":"3.0.8"},"peerDependencies":{"@semcore/core":"^2.31.0-prerelease.1","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/typography"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -10,8 +10,8 @@ var _index = require("intergalactic/utils/lib/core/index");
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
11
11
|
var _index2 = _interopRequireWildcard(require("../../core/index"));
|
12
12
|
/*__reshadow-styles__:"./invalidStatePattern.shadow.css"*/
|
13
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
14
|
-
"__SPattern": "
|
13
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPattern_1lnzn_gg_{width:6px;height:100%;position:absolute;background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px)}" /*__inner_css_end__*/, "1lnzn_gg_") /*__reshadow_css_end__*/, {
|
14
|
+
"__SPattern": "___SPattern_1lnzn_gg_"
|
15
15
|
});
|
16
16
|
var InvalidStatePatternComponent = function InvalidStatePatternComponent() {
|
17
17
|
var _ref;
|
@@ -2,8 +2,8 @@ import { sstyled as _sstyled } from 'intergalactic/utils/lib/core/index';
|
|
2
2
|
import React from 'react';
|
3
3
|
import createComponent, { sstyled, Root } from "../../core/index.mjs";
|
4
4
|
/*__reshadow-styles__:"./invalidStatePattern.shadow.css"*/
|
5
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
6
|
-
"__SPattern": "
|
5
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPattern_1lnzn_gg_{width:6px;height:100%;position:absolute;background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px)}" /*__inner_css_end__*/, "1lnzn_gg_") /*__reshadow_css_end__*/, {
|
6
|
+
"__SPattern": "___SPattern_1lnzn_gg_"
|
7
7
|
});
|
8
8
|
var InvalidStatePatternComponent = function InvalidStatePatternComponent() {
|
9
9
|
var SPattern = Root;
|
@@ -29,6 +29,7 @@ var isFocusable = function isFocusable(node) {
|
|
29
29
|
if (!(node instanceof node.ownerDocument.defaultView.HTMLElement || node instanceof node.ownerDocument.defaultView.SVGElement)) return false;
|
30
30
|
if (node.hasAttribute('disabled')) return false;
|
31
31
|
if (node.getAttribute('tabindex') === '-1') return false;
|
32
|
+
if (node.getAttribute('hidden') !== null) return false;
|
32
33
|
var tagName = node.tagName;
|
33
34
|
for (var _i = 0, _focusable = focusable; _i < _focusable.length; _i++) {
|
34
35
|
var params = _focusable[_i];
|
@@ -36,7 +37,11 @@ var isFocusable = function isFocusable(node) {
|
|
36
37
|
if (typeof param === 'string' && param === tagName) return true;
|
37
38
|
if ((0, _typeof2["default"])(param) === 'object' && param.has && node.hasAttribute(param.has)) return true;
|
38
39
|
return false;
|
39
|
-
}))
|
40
|
+
})) {
|
41
|
+
var style = getComputedStyle(node);
|
42
|
+
if (style.display === 'none' || style.visibility === 'hidden') return false;
|
43
|
+
return true;
|
44
|
+
}
|
40
45
|
}
|
41
46
|
return false;
|
42
47
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"isFocusable.js","names":["focusable","has","isFocusable","node","_node$ownerDocument$d","ownerDocument","defaultView","HTMLElement","SVGElement","hasAttribute","getAttribute","tagName","_i","_focusable","length","params","every","param","_typeof2","exports"],"sources":["../../src/focus-lock/isFocusable.ts"],"sourcesContent":["const focusable = [\n ['BUTTON'],\n ['SELECT'],\n ['TEXTAREA'],\n ['INPUT'],\n ['A', { has: 'href' }],\n ['AREA', { has: 'href' }],\n ['SUMMARY'],\n ['IFRAME'],\n ['OBJECT'],\n ['EMBED'],\n ['AUDIO', { has: 'controls' }],\n ['VIDEO', { has: 'controls' }],\n [{ has: 'tabindex' }],\n [{ has: 'contenteditable' }],\n [{ has: 'autofocus' }],\n];\n\nexport const isFocusable = (node: Node) => {\n if (!node) return false;\n if (!node.ownerDocument) return false;\n if (!node.ownerDocument.defaultView?.HTMLElement) return false;\n if (\n !(\n node instanceof node.ownerDocument.defaultView.HTMLElement ||\n node instanceof node.ownerDocument.defaultView.SVGElement\n )\n )\n return false;\n if (node.hasAttribute('disabled')) return false;\n if (node.getAttribute('tabindex') === '-1') return false;\n const tagName = node.tagName;\n for (const params of focusable) {\n if (\n params.every((param) => {\n if (typeof param === 'string' && param === tagName) return true;\n if (typeof param === 'object' && param.has && node.hasAttribute(param.has)) return true;\n return false;\n })\n )\n return true;\n }\n return false;\n};\n"],"mappings":";;;;;;;;AAAA,IAAMA,SAAS,GAAG,CAChB,CAAC,QAAQ,CAAC,EACV,CAAC,QAAQ,CAAC,EACV,CAAC,UAAU,CAAC,EACZ,CAAC,OAAO,CAAC,EACT,CAAC,GAAG,EAAE;EAAEC,GAAG,EAAE;AAAO,CAAC,CAAC,EACtB,CAAC,MAAM,EAAE;EAAEA,GAAG,EAAE;AAAO,CAAC,CAAC,EACzB,CAAC,SAAS,CAAC,EACX,CAAC,QAAQ,CAAC,EACV,CAAC,QAAQ,CAAC,EACV,CAAC,OAAO,CAAC,EACT,CAAC,OAAO,EAAE;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EAC9B,CAAC,OAAO,EAAE;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EAC9B,CAAC;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EACrB,CAAC;EAAEA,GAAG,EAAE;AAAkB,CAAC,CAAC,EAC5B,CAAC;EAAEA,GAAG,EAAE;AAAY,CAAC,CAAC,CACvB;AAEM,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAU,EAAK;EAAA,IAAAC,qBAAA;EACzC,IAAI,CAACD,IAAI,EAAE,OAAO,KAAK;EACvB,IAAI,CAACA,IAAI,CAACE,aAAa,EAAE,OAAO,KAAK;EACrC,IAAI,GAAAD,qBAAA,GAACD,IAAI,CAACE,aAAa,CAACC,WAAW,cAAAF,qBAAA,eAA9BA,qBAAA,CAAgCG,WAAW,GAAE,OAAO,KAAK;EAC9D,IACE,EACEJ,IAAI,YAAYA,IAAI,CAACE,aAAa,CAACC,WAAW,CAACC,WAAW,IAC1DJ,IAAI,YAAYA,IAAI,CAACE,aAAa,CAACC,WAAW,CAACE,UAAU,CAC1D,EAED,OAAO,KAAK;EACd,IAAIL,IAAI,CAACM,YAAY,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK;EAC/C,IAAIN,IAAI,CAACO,YAAY,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE,OAAO,KAAK;EACxD,IAAMC,OAAO,GAAGR,IAAI,CAACQ,OAAO;EAC5B,SAAAC,EAAA,MAAAC,UAAA,GAAqBb,SAAS,EAAAY,EAAA,GAAAC,UAAA,CAAAC,MAAA,EAAAF,EAAA,IAAE;IAA3B,IAAMG,MAAM,GAAAF,UAAA,CAAAD,EAAA;IACf,IACEG,MAAM,CAACC,KAAK,CAAC,UAACC,KAAK,EAAK;MACtB,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,KAAKN,OAAO,EAAE,OAAO,IAAI;MAC/D,IAAI,IAAAO,QAAA,aAAOD,KAAK,MAAK,QAAQ,IAAIA,KAAK,CAAChB,GAAG,IAAIE,IAAI,CAACM,YAAY,CAACQ,KAAK,CAAChB,GAAG,CAAC,EAAE,OAAO,IAAI;MACvF,OAAO,KAAK;IACd,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"isFocusable.js","names":["focusable","has","isFocusable","node","_node$ownerDocument$d","ownerDocument","defaultView","HTMLElement","SVGElement","hasAttribute","getAttribute","tagName","_i","_focusable","length","params","every","param","_typeof2","style","getComputedStyle","display","visibility","exports"],"sources":["../../src/focus-lock/isFocusable.ts"],"sourcesContent":["const focusable = [\n ['BUTTON'],\n ['SELECT'],\n ['TEXTAREA'],\n ['INPUT'],\n ['A', { has: 'href' }],\n ['AREA', { has: 'href' }],\n ['SUMMARY'],\n ['IFRAME'],\n ['OBJECT'],\n ['EMBED'],\n ['AUDIO', { has: 'controls' }],\n ['VIDEO', { has: 'controls' }],\n [{ has: 'tabindex' }],\n [{ has: 'contenteditable' }],\n [{ has: 'autofocus' }],\n];\n\nexport const isFocusable = (node: Node) => {\n if (!node) return false;\n if (!node.ownerDocument) return false;\n if (!node.ownerDocument.defaultView?.HTMLElement) return false;\n if (\n !(\n node instanceof node.ownerDocument.defaultView.HTMLElement ||\n node instanceof node.ownerDocument.defaultView.SVGElement\n )\n )\n return false;\n if (node.hasAttribute('disabled')) return false;\n if (node.getAttribute('tabindex') === '-1') return false;\n if (node.getAttribute('hidden') !== null) return false;\n const tagName = node.tagName;\n for (const params of focusable) {\n if (\n params.every((param) => {\n if (typeof param === 'string' && param === tagName) return true;\n if (typeof param === 'object' && param.has && node.hasAttribute(param.has)) return true;\n return false;\n })\n ) {\n const style = getComputedStyle(node);\n if (style.display === 'none' || style.visibility === 'hidden') return false;\n\n return true;\n }\n }\n return false;\n};\n"],"mappings":";;;;;;;;AAAA,IAAMA,SAAS,GAAG,CAChB,CAAC,QAAQ,CAAC,EACV,CAAC,QAAQ,CAAC,EACV,CAAC,UAAU,CAAC,EACZ,CAAC,OAAO,CAAC,EACT,CAAC,GAAG,EAAE;EAAEC,GAAG,EAAE;AAAO,CAAC,CAAC,EACtB,CAAC,MAAM,EAAE;EAAEA,GAAG,EAAE;AAAO,CAAC,CAAC,EACzB,CAAC,SAAS,CAAC,EACX,CAAC,QAAQ,CAAC,EACV,CAAC,QAAQ,CAAC,EACV,CAAC,OAAO,CAAC,EACT,CAAC,OAAO,EAAE;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EAC9B,CAAC,OAAO,EAAE;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EAC9B,CAAC;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EACrB,CAAC;EAAEA,GAAG,EAAE;AAAkB,CAAC,CAAC,EAC5B,CAAC;EAAEA,GAAG,EAAE;AAAY,CAAC,CAAC,CACvB;AAEM,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAU,EAAK;EAAA,IAAAC,qBAAA;EACzC,IAAI,CAACD,IAAI,EAAE,OAAO,KAAK;EACvB,IAAI,CAACA,IAAI,CAACE,aAAa,EAAE,OAAO,KAAK;EACrC,IAAI,GAAAD,qBAAA,GAACD,IAAI,CAACE,aAAa,CAACC,WAAW,cAAAF,qBAAA,eAA9BA,qBAAA,CAAgCG,WAAW,GAAE,OAAO,KAAK;EAC9D,IACE,EACEJ,IAAI,YAAYA,IAAI,CAACE,aAAa,CAACC,WAAW,CAACC,WAAW,IAC1DJ,IAAI,YAAYA,IAAI,CAACE,aAAa,CAACC,WAAW,CAACE,UAAU,CAC1D,EAED,OAAO,KAAK;EACd,IAAIL,IAAI,CAACM,YAAY,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK;EAC/C,IAAIN,IAAI,CAACO,YAAY,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE,OAAO,KAAK;EACxD,IAAIP,IAAI,CAACO,YAAY,CAAC,QAAQ,CAAC,KAAK,IAAI,EAAE,OAAO,KAAK;EACtD,IAAMC,OAAO,GAAGR,IAAI,CAACQ,OAAO;EAC5B,SAAAC,EAAA,MAAAC,UAAA,GAAqBb,SAAS,EAAAY,EAAA,GAAAC,UAAA,CAAAC,MAAA,EAAAF,EAAA,IAAE;IAA3B,IAAMG,MAAM,GAAAF,UAAA,CAAAD,EAAA;IACf,IACEG,MAAM,CAACC,KAAK,CAAC,UAACC,KAAK,EAAK;MACtB,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,KAAKN,OAAO,EAAE,OAAO,IAAI;MAC/D,IAAI,IAAAO,QAAA,aAAOD,KAAK,MAAK,QAAQ,IAAIA,KAAK,CAAChB,GAAG,IAAIE,IAAI,CAACM,YAAY,CAACQ,KAAK,CAAChB,GAAG,CAAC,EAAE,OAAO,IAAI;MACvF,OAAO,KAAK;IACd,CAAC,CAAC,EACF;MACA,IAAMkB,KAAK,GAAGC,gBAAgB,CAACjB,IAAI,CAAC;MACpC,IAAIgB,KAAK,CAACE,OAAO,KAAK,MAAM,IAAIF,KAAK,CAACG,UAAU,KAAK,QAAQ,EAAE,OAAO,KAAK;MAE3E,OAAO,IAAI;IACb;EACF;EACA,OAAO,KAAK;AACd,CAAC;AAACC,OAAA,CAAArB,WAAA,GAAAA,WAAA"}
|
@@ -22,6 +22,7 @@ export var isFocusable = function isFocusable(node) {
|
|
22
22
|
if (!(node instanceof node.ownerDocument.defaultView.HTMLElement || node instanceof node.ownerDocument.defaultView.SVGElement)) return false;
|
23
23
|
if (node.hasAttribute('disabled')) return false;
|
24
24
|
if (node.getAttribute('tabindex') === '-1') return false;
|
25
|
+
if (node.getAttribute('hidden') !== null) return false;
|
25
26
|
var tagName = node.tagName;
|
26
27
|
for (var _i = 0, _focusable = focusable; _i < _focusable.length; _i++) {
|
27
28
|
var params = _focusable[_i];
|
@@ -29,7 +30,11 @@ export var isFocusable = function isFocusable(node) {
|
|
29
30
|
if (typeof param === 'string' && param === tagName) return true;
|
30
31
|
if (_typeof(param) === 'object' && param.has && node.hasAttribute(param.has)) return true;
|
31
32
|
return false;
|
32
|
-
}))
|
33
|
+
})) {
|
34
|
+
var style = getComputedStyle(node);
|
35
|
+
if (style.display === 'none' || style.visibility === 'hidden') return false;
|
36
|
+
return true;
|
37
|
+
}
|
33
38
|
}
|
34
39
|
return false;
|
35
40
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"isFocusable.mjs","names":["focusable","has","isFocusable","node","_node$ownerDocument$d","ownerDocument","defaultView","HTMLElement","SVGElement","hasAttribute","getAttribute","tagName","_i","_focusable","length","params","every","param","_typeof"],"sources":["../../src/focus-lock/isFocusable.ts"],"sourcesContent":["const focusable = [\n ['BUTTON'],\n ['SELECT'],\n ['TEXTAREA'],\n ['INPUT'],\n ['A', { has: 'href' }],\n ['AREA', { has: 'href' }],\n ['SUMMARY'],\n ['IFRAME'],\n ['OBJECT'],\n ['EMBED'],\n ['AUDIO', { has: 'controls' }],\n ['VIDEO', { has: 'controls' }],\n [{ has: 'tabindex' }],\n [{ has: 'contenteditable' }],\n [{ has: 'autofocus' }],\n];\n\nexport const isFocusable = (node: Node) => {\n if (!node) return false;\n if (!node.ownerDocument) return false;\n if (!node.ownerDocument.defaultView?.HTMLElement) return false;\n if (\n !(\n node instanceof node.ownerDocument.defaultView.HTMLElement ||\n node instanceof node.ownerDocument.defaultView.SVGElement\n )\n )\n return false;\n if (node.hasAttribute('disabled')) return false;\n if (node.getAttribute('tabindex') === '-1') return false;\n const tagName = node.tagName;\n for (const params of focusable) {\n if (\n params.every((param) => {\n if (typeof param === 'string' && param === tagName) return true;\n if (typeof param === 'object' && param.has && node.hasAttribute(param.has)) return true;\n return false;\n })\n )\n return true;\n }\n return false;\n};\n"],"mappings":";AAAA,IAAMA,SAAS,GAAG,CAChB,CAAC,QAAQ,CAAC,EACV,CAAC,QAAQ,CAAC,EACV,CAAC,UAAU,CAAC,EACZ,CAAC,OAAO,CAAC,EACT,CAAC,GAAG,EAAE;EAAEC,GAAG,EAAE;AAAO,CAAC,CAAC,EACtB,CAAC,MAAM,EAAE;EAAEA,GAAG,EAAE;AAAO,CAAC,CAAC,EACzB,CAAC,SAAS,CAAC,EACX,CAAC,QAAQ,CAAC,EACV,CAAC,QAAQ,CAAC,EACV,CAAC,OAAO,CAAC,EACT,CAAC,OAAO,EAAE;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EAC9B,CAAC,OAAO,EAAE;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EAC9B,CAAC;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EACrB,CAAC;EAAEA,GAAG,EAAE;AAAkB,CAAC,CAAC,EAC5B,CAAC;EAAEA,GAAG,EAAE;AAAY,CAAC,CAAC,CACvB;AAED,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAU,EAAK;EAAA,IAAAC,qBAAA;EACzC,IAAI,CAACD,IAAI,EAAE,OAAO,KAAK;EACvB,IAAI,CAACA,IAAI,CAACE,aAAa,EAAE,OAAO,KAAK;EACrC,IAAI,GAAAD,qBAAA,GAACD,IAAI,CAACE,aAAa,CAACC,WAAW,cAAAF,qBAAA,eAA9BA,qBAAA,CAAgCG,WAAW,GAAE,OAAO,KAAK;EAC9D,IACE,EACEJ,IAAI,YAAYA,IAAI,CAACE,aAAa,CAACC,WAAW,CAACC,WAAW,IAC1DJ,IAAI,YAAYA,IAAI,CAACE,aAAa,CAACC,WAAW,CAACE,UAAU,CAC1D,EAED,OAAO,KAAK;EACd,IAAIL,IAAI,CAACM,YAAY,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK;EAC/C,IAAIN,IAAI,CAACO,YAAY,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE,OAAO,KAAK;EACxD,IAAMC,OAAO,GAAGR,IAAI,CAACQ,OAAO;EAC5B,SAAAC,EAAA,MAAAC,UAAA,GAAqBb,SAAS,EAAAY,EAAA,GAAAC,UAAA,CAAAC,MAAA,EAAAF,EAAA,IAAE;IAA3B,IAAMG,MAAM,GAAAF,UAAA,CAAAD,EAAA;IACf,IACEG,MAAM,CAACC,KAAK,CAAC,UAACC,KAAK,EAAK;MACtB,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,KAAKN,OAAO,EAAE,OAAO,IAAI;MAC/D,IAAIO,OAAA,CAAOD,KAAK,MAAK,QAAQ,IAAIA,KAAK,CAAChB,GAAG,IAAIE,IAAI,CAACM,YAAY,CAACQ,KAAK,CAAChB,GAAG,CAAC,EAAE,OAAO,IAAI;MACvF,OAAO,KAAK;IACd,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"isFocusable.mjs","names":["focusable","has","isFocusable","node","_node$ownerDocument$d","ownerDocument","defaultView","HTMLElement","SVGElement","hasAttribute","getAttribute","tagName","_i","_focusable","length","params","every","param","_typeof","style","getComputedStyle","display","visibility"],"sources":["../../src/focus-lock/isFocusable.ts"],"sourcesContent":["const focusable = [\n ['BUTTON'],\n ['SELECT'],\n ['TEXTAREA'],\n ['INPUT'],\n ['A', { has: 'href' }],\n ['AREA', { has: 'href' }],\n ['SUMMARY'],\n ['IFRAME'],\n ['OBJECT'],\n ['EMBED'],\n ['AUDIO', { has: 'controls' }],\n ['VIDEO', { has: 'controls' }],\n [{ has: 'tabindex' }],\n [{ has: 'contenteditable' }],\n [{ has: 'autofocus' }],\n];\n\nexport const isFocusable = (node: Node) => {\n if (!node) return false;\n if (!node.ownerDocument) return false;\n if (!node.ownerDocument.defaultView?.HTMLElement) return false;\n if (\n !(\n node instanceof node.ownerDocument.defaultView.HTMLElement ||\n node instanceof node.ownerDocument.defaultView.SVGElement\n )\n )\n return false;\n if (node.hasAttribute('disabled')) return false;\n if (node.getAttribute('tabindex') === '-1') return false;\n if (node.getAttribute('hidden') !== null) return false;\n const tagName = node.tagName;\n for (const params of focusable) {\n if (\n params.every((param) => {\n if (typeof param === 'string' && param === tagName) return true;\n if (typeof param === 'object' && param.has && node.hasAttribute(param.has)) return true;\n return false;\n })\n ) {\n const style = getComputedStyle(node);\n if (style.display === 'none' || style.visibility === 'hidden') return false;\n\n return true;\n }\n }\n return false;\n};\n"],"mappings":";AAAA,IAAMA,SAAS,GAAG,CAChB,CAAC,QAAQ,CAAC,EACV,CAAC,QAAQ,CAAC,EACV,CAAC,UAAU,CAAC,EACZ,CAAC,OAAO,CAAC,EACT,CAAC,GAAG,EAAE;EAAEC,GAAG,EAAE;AAAO,CAAC,CAAC,EACtB,CAAC,MAAM,EAAE;EAAEA,GAAG,EAAE;AAAO,CAAC,CAAC,EACzB,CAAC,SAAS,CAAC,EACX,CAAC,QAAQ,CAAC,EACV,CAAC,QAAQ,CAAC,EACV,CAAC,OAAO,CAAC,EACT,CAAC,OAAO,EAAE;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EAC9B,CAAC,OAAO,EAAE;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EAC9B,CAAC;EAAEA,GAAG,EAAE;AAAW,CAAC,CAAC,EACrB,CAAC;EAAEA,GAAG,EAAE;AAAkB,CAAC,CAAC,EAC5B,CAAC;EAAEA,GAAG,EAAE;AAAY,CAAC,CAAC,CACvB;AAED,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAU,EAAK;EAAA,IAAAC,qBAAA;EACzC,IAAI,CAACD,IAAI,EAAE,OAAO,KAAK;EACvB,IAAI,CAACA,IAAI,CAACE,aAAa,EAAE,OAAO,KAAK;EACrC,IAAI,GAAAD,qBAAA,GAACD,IAAI,CAACE,aAAa,CAACC,WAAW,cAAAF,qBAAA,eAA9BA,qBAAA,CAAgCG,WAAW,GAAE,OAAO,KAAK;EAC9D,IACE,EACEJ,IAAI,YAAYA,IAAI,CAACE,aAAa,CAACC,WAAW,CAACC,WAAW,IAC1DJ,IAAI,YAAYA,IAAI,CAACE,aAAa,CAACC,WAAW,CAACE,UAAU,CAC1D,EAED,OAAO,KAAK;EACd,IAAIL,IAAI,CAACM,YAAY,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK;EAC/C,IAAIN,IAAI,CAACO,YAAY,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE,OAAO,KAAK;EACxD,IAAIP,IAAI,CAACO,YAAY,CAAC,QAAQ,CAAC,KAAK,IAAI,EAAE,OAAO,KAAK;EACtD,IAAMC,OAAO,GAAGR,IAAI,CAACQ,OAAO;EAC5B,SAAAC,EAAA,MAAAC,UAAA,GAAqBb,SAAS,EAAAY,EAAA,GAAAC,UAAA,CAAAC,MAAA,EAAAF,EAAA,IAAE;IAA3B,IAAMG,MAAM,GAAAF,UAAA,CAAAD,EAAA;IACf,IACEG,MAAM,CAACC,KAAK,CAAC,UAACC,KAAK,EAAK;MACtB,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,KAAKN,OAAO,EAAE,OAAO,IAAI;MAC/D,IAAIO,OAAA,CAAOD,KAAK,MAAK,QAAQ,IAAIA,KAAK,CAAChB,GAAG,IAAIE,IAAI,CAACM,YAAY,CAACQ,KAAK,CAAChB,GAAG,CAAC,EAAE,OAAO,IAAI;MACvF,OAAO,KAAK;IACd,CAAC,CAAC,EACF;MACA,IAAMkB,KAAK,GAAGC,gBAAgB,CAACjB,IAAI,CAAC;MACpC,IAAIgB,KAAK,CAACE,OAAO,KAAK,MAAM,IAAIF,KAAK,CAACG,UAAU,KAAK,QAAQ,EAAE,OAAO,KAAK;MAE3E,OAAO,IAAI;IACb;EACF;EACA,OAAO,KAAK;AACd,CAAC"}
|
package/utils/lib/injectStyle.js
CHANGED
@@ -19,11 +19,11 @@ var _illustration = require("intergalactic/illustration");
|
|
19
19
|
var _flexBox = require("intergalactic/flex-box");
|
20
20
|
var _isNode = _interopRequireDefault(require("intergalactic/utils/lib/isNode"));
|
21
21
|
/*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
|
22
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
23
|
-
"__SWidgetEmpty": "
|
24
|
-
"__SImage": "
|
25
|
-
"__STitle": "
|
26
|
-
"__SDescription": "
|
22
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_1nf5t_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_1nf5t_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_1nf5t_gg_,.___STitle_1nf5t_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_1nf5t_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_1nf5t_gg_{text-align:center;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_1nf5t_gg_+.___SDescription_1nf5t_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_1nf5t_gg_+.___SDescription_1nf5t_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "1nf5t_gg_") /*__reshadow_css_end__*/, {
|
23
|
+
"__SWidgetEmpty": "___SWidgetEmpty_1nf5t_gg_",
|
24
|
+
"__SImage": "___SImage_1nf5t_gg_",
|
25
|
+
"__STitle": "___STitle_1nf5t_gg_",
|
26
|
+
"__SDescription": "___SDescription_1nf5t_gg_"
|
27
27
|
});
|
28
28
|
var getIconPath = function getIconPath(name) {
|
29
29
|
return (0, _illustration.getIllustrationPath)(name);
|