intergalactic 15.120.0 → 15.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +142 -27
- 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 +12 -10
- package/breadcrumbs/lib/cjs/Breadcrumbs.js.map +1 -1
- package/breadcrumbs/lib/es6/Breadcrumbs.js +12 -10
- package/breadcrumbs/lib/es6/Breadcrumbs.js.map +1 -1
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +27 -27
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +27 -27
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/package.json +1 -1
- package/carousel/Carousel.types.d.ts +6 -0
- package/carousel/lib/cjs/Carousel.js +83 -65
- package/carousel/lib/cjs/Carousel.js.map +1 -1
- package/carousel/lib/cjs/Carousel.types.js.map +1 -1
- package/carousel/lib/cjs/style/carousel.shadow.css +0 -1
- package/carousel/lib/es6/Carousel.js +84 -65
- package/carousel/lib/es6/Carousel.js.map +1 -1
- package/carousel/lib/es6/Carousel.types.js.map +1 -1
- package/carousel/lib/es6/style/carousel.shadow.css +0 -1
- package/carousel/lib/types/Carousel.types.d.ts +6 -0
- package/carousel/package.json +1 -1
- 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 +10 -6
- package/d3-chart/lib/cjs/Plot.js.map +1 -1
- 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 +13 -11
- package/d3-chart/lib/cjs/ScatterPlot.js.map +1 -1
- 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/Chart/AbstractChart.js +5 -2
- package/d3-chart/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +36 -24
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/cjs/style/hover.shadow.css +2 -0
- package/d3-chart/lib/cjs/style/radar.shadow.css +2 -1
- package/d3-chart/lib/cjs/translations/en.json +1 -0
- 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 +10 -6
- package/d3-chart/lib/es6/Plot.js.map +1 -1
- 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 +13 -11
- package/d3-chart/lib/es6/ScatterPlot.js.map +1 -1
- 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/Chart/AbstractChart.js +5 -2
- package/d3-chart/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +36 -24
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/style/hover.shadow.css +2 -0
- package/d3-chart/lib/es6/style/radar.shadow.css +2 -1
- package/d3-chart/lib/es6/translations/en.json +1 -0
- package/d3-chart/lib/types/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/d3-chart/package.json +1 -1
- package/d3-chart/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/data-table/lib/cjs/Body.js +8 -6
- package/data-table/lib/cjs/Body.js.map +1 -1
- package/data-table/lib/cjs/DataTable.js +81 -95
- package/data-table/lib/cjs/DataTable.js.map +1 -1
- package/data-table/lib/cjs/Head.js +8 -5
- package/data-table/lib/cjs/Head.js.map +1 -1
- package/data-table/lib/es6/Body.js +8 -6
- package/data-table/lib/es6/Body.js.map +1 -1
- package/data-table/lib/es6/DataTable.js +81 -95
- package/data-table/lib/es6/DataTable.js.map +1 -1
- package/data-table/lib/es6/Head.js +7 -5
- package/data-table/lib/es6/Head.js.map +1 -1
- 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 +36 -29
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js.map +1 -1
- package/date-picker/lib/cjs/components/InputTrigger.js +33 -31
- package/date-picker/lib/cjs/components/InputTrigger.js.map +1 -1
- 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 +36 -29
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js.map +1 -1
- package/date-picker/lib/es6/components/InputTrigger.js +33 -31
- package/date-picker/lib/es6/components/InputTrigger.js.map +1 -1
- 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/AbstractDropdown.js +49 -34
- package/dropdown/lib/cjs/AbstractDropdown.js.map +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -15
- package/dropdown/lib/cjs/Dropdown.js.map +1 -1
- package/dropdown/lib/cjs/style/dropdown.shadow.css +45 -2
- package/dropdown/lib/es6/AbstractDropdown.js +49 -34
- package/dropdown/lib/es6/AbstractDropdown.js.map +1 -1
- package/dropdown/lib/es6/Dropdown.js +16 -15
- package/dropdown/lib/es6/Dropdown.js.map +1 -1
- package/dropdown/lib/es6/style/dropdown.shadow.css +45 -2
- package/dropdown/package.json +1 -1
- package/dropdown-menu/index.d.ts +9 -2
- package/dropdown-menu/lib/cjs/DropdownMenu.js +79 -40
- package/dropdown-menu/lib/cjs/DropdownMenu.js.map +1 -1
- package/dropdown-menu/lib/cjs/index.d.js.map +1 -1
- package/dropdown-menu/lib/es6/DropdownMenu.js +79 -40
- package/dropdown-menu/lib/es6/DropdownMenu.js.map +1 -1
- package/dropdown-menu/lib/es6/index.d.js.map +1 -1
- package/dropdown-menu/lib/types/index.d.ts +9 -2
- 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 +10 -8
- package/feedback-form/lib/cjs/FeedbackForm.js.map +1 -1
- 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/cjs/style/feedback-form.shadow.css +1 -0
- package/feedback-form/lib/es6/FeedbackForm.js +10 -8
- package/feedback-form/lib/es6/FeedbackForm.js.map +1 -1
- 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/lib/es6/style/feedback-form.shadow.css +1 -0
- 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/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/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/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/AccessDenied/index.js +1 -0
- package/illustration/AccessDenied/index.mjs +1 -0
- package/illustration/AccessLogIn/index.js +1 -0
- package/illustration/AccessLogIn/index.mjs +1 -0
- package/illustration/AreaChart/index.js +1 -0
- package/illustration/AreaChart/index.mjs +1 -0
- package/illustration/Blocked/index.js +1 -0
- package/illustration/Blocked/index.mjs +1 -0
- package/illustration/ChoroplethMapChart/index.js +1 -0
- package/illustration/ChoroplethMapChart/index.mjs +1 -0
- package/illustration/Coffee/index.js +1 -0
- package/illustration/Coffee/index.mjs +1 -0
- package/illustration/Collection/index.js +1 -0
- package/illustration/Collection/index.mjs +1 -0
- package/illustration/CombinedChart/index.js +1 -0
- package/illustration/CombinedChart/index.mjs +1 -0
- package/illustration/Configuration/index.js +1 -0
- package/illustration/Configuration/index.mjs +1 -0
- package/illustration/Confirmation/index.js +1 -0
- package/illustration/Confirmation/index.mjs +1 -0
- package/illustration/Congrats/index.js +1 -0
- package/illustration/Congrats/index.mjs +1 -0
- package/illustration/ConnectionLost/index.js +1 -0
- package/illustration/ConnectionLost/index.mjs +1 -0
- package/illustration/DeletedAccount/index.js +1 -0
- package/illustration/DeletedAccount/index.mjs +1 -0
- package/illustration/DeletedPage/index.js +1 -0
- package/illustration/DeletedPage/index.mjs +1 -0
- package/illustration/Dns/index.js +1 -0
- package/illustration/Dns/index.mjs +1 -0
- package/illustration/DonutChart/index.js +1 -0
- package/illustration/DonutChart/index.mjs +1 -0
- package/illustration/Duplicates/index.js +1 -0
- package/illustration/Duplicates/index.mjs +1 -0
- package/illustration/Feedback/index.js +1 -0
- package/illustration/Feedback/index.mjs +1 -0
- package/illustration/FunnelChart/index.js +1 -0
- package/illustration/FunnelChart/index.mjs +1 -0
- package/illustration/Good/index.js +1 -0
- package/illustration/Good/index.mjs +1 -0
- package/illustration/HeatMapChart/index.js +1 -0
- package/illustration/HeatMapChart/index.mjs +1 -0
- package/illustration/HorizontalBarChart/index.js +1 -0
- package/illustration/HorizontalBarChart/index.mjs +1 -0
- package/illustration/KagiChart/index.js +1 -0
- package/illustration/KagiChart/index.mjs +1 -0
- package/illustration/LineChart/index.js +1 -0
- package/illustration/LineChart/index.mjs +1 -0
- package/illustration/LollipopChart/index.js +1 -0
- package/illustration/LollipopChart/index.mjs +1 -0
- package/illustration/MailSent/index.js +1 -0
- package/illustration/MailSent/index.mjs +1 -0
- package/illustration/Maintenance/index.js +1 -0
- package/illustration/Maintenance/index.mjs +1 -0
- package/illustration/Nexttime/index.js +1 -0
- package/illustration/Nexttime/index.mjs +1 -0
- package/illustration/NoPayment/index.js +1 -0
- package/illustration/NoPayment/index.mjs +1 -0
- package/illustration/NothingFound/index.js +1 -0
- package/illustration/NothingFound/index.mjs +1 -0
- package/illustration/OtherData/index.js +1 -0
- package/illustration/OtherData/index.mjs +1 -0
- package/illustration/PageError/index.js +1 -0
- package/illustration/PageError/index.mjs +1 -0
- package/illustration/PageNotFound/index.js +1 -0
- package/illustration/PageNotFound/index.mjs +1 -0
- package/illustration/PieChart/index.js +1 -0
- package/illustration/PieChart/index.mjs +1 -0
- package/illustration/Processing/index.js +1 -0
- package/illustration/Processing/index.mjs +1 -0
- package/illustration/ProjectNotFound/index.js +1 -0
- package/illustration/ProjectNotFound/index.mjs +1 -0
- package/illustration/RadarChart/index.js +1 -0
- package/illustration/RadarChart/index.mjs +1 -0
- package/illustration/RadialTreeChart/index.js +1 -0
- package/illustration/RadialTreeChart/index.mjs +1 -0
- package/illustration/SankeyChart/index.js +1 -0
- package/illustration/SankeyChart/index.mjs +1 -0
- package/illustration/ScatterPlotChart/index.js +1 -0
- package/illustration/ScatterPlotChart/index.mjs +1 -0
- package/illustration/StackedAreaChart/index.js +1 -0
- package/illustration/StackedAreaChart/index.mjs +1 -0
- package/illustration/Suggestion/index.js +1 -0
- package/illustration/Suggestion/index.mjs +1 -0
- package/illustration/Suggestions/index.js +1 -0
- package/illustration/Suggestions/index.mjs +1 -0
- package/illustration/Table/index.js +1 -0
- package/illustration/Table/index.mjs +1 -0
- package/illustration/TagCloud/index.js +1 -0
- package/illustration/TagCloud/index.mjs +1 -0
- package/illustration/TextLinksEtc/index.js +1 -0
- package/illustration/TextLinksEtc/index.mjs +1 -0
- package/illustration/Timeout/index.js +1 -0
- package/illustration/Timeout/index.mjs +1 -0
- package/illustration/UnderConstruction/index.js +1 -0
- package/illustration/UnderConstruction/index.mjs +1 -0
- package/illustration/VennChart/index.js +1 -0
- package/illustration/VennChart/index.mjs +1 -0
- package/illustration/VerticalBarChart/index.js +1 -0
- package/illustration/VerticalBarChart/index.mjs +1 -0
- package/illustration/Waiting/index.js +1 -0
- package/illustration/Waiting/index.mjs +1 -0
- package/illustration/Warning/index.js +1 -0
- package/illustration/Warning/index.mjs +1 -0
- 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 +25 -6
- package/inline-edit/lib/cjs/InlineEdit.js.map +1 -1
- package/inline-edit/lib/es6/InlineEdit.js +25 -6
- package/inline-edit/lib/es6/InlineEdit.js.map +1 -1
- 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/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/lib/cjs/InputTags.js +24 -14
- package/input-tags/lib/cjs/InputTags.js.map +1 -1
- package/input-tags/lib/es6/InputTags.js +24 -14
- package/input-tags/lib/es6/InputTags.js.map +1 -1
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +32 -16
- package/link/lib/cjs/Link.js.map +1 -1
- package/link/lib/es6/Link.js +32 -16
- package/link/lib/es6/Link.js.map +1 -1
- 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/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 +41 -22
- package/notice/lib/cjs/Notice.js.map +1 -1
- package/notice/lib/es6/Notice.js +41 -22
- package/notice/lib/es6/Notice.js.map +1 -1
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +41 -20
- package/notice-bubble/lib/cjs/NoticeBubble.js.map +1 -1
- package/notice-bubble/lib/cjs/NoticeBubbleManager.js +1 -1
- package/notice-bubble/lib/cjs/NoticeBubbleManager.js.map +1 -1
- package/notice-bubble/lib/es6/NoticeBubble.js +42 -20
- package/notice-bubble/lib/es6/NoticeBubble.js.map +1 -1
- package/notice-bubble/lib/es6/NoticeBubbleManager.js +1 -1
- package/notice-bubble/lib/es6/NoticeBubbleManager.js.map +1 -1
- 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/lib/cjs/OutsideClick.js +40 -5
- package/outside-click/lib/cjs/OutsideClick.js.map +1 -1
- package/outside-click/lib/es6/OutsideClick.js +35 -0
- package/outside-click/lib/es6/OutsideClick.js.map +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +10 -10
- package/pagination/lib/es6/Pagination.js +10 -10
- 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/index.d.ts +0 -4
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/cjs/index.d.js.map +1 -1
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/es6/index.d.js.map +1 -1
- package/select/lib/types/index.d.ts +0 -4
- 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/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 +9 -8
- package/skeleton/lib/cjs/Skeleton.js.map +1 -1
- 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 +9 -8
- package/skeleton/lib/es6/Skeleton.js.map +1 -1
- 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/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- 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 +13 -19
- package/tooltip/lib/cjs/Tooltip.js.map +1 -1
- package/tooltip/lib/es6/Tooltip.js +13 -19
- package/tooltip/lib/es6/Tooltip.js.map +1 -1
- 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/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/utils/lib/propsForElement.js +1 -1
- package/utils/lib/propsForElement.js.map +1 -1
- package/utils/lib/propsForElement.mjs +1 -1
- package/utils/lib/propsForElement.mjs.map +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/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.types.js","names":[],"sources":["../../src/Carousel.types.ts"],"sourcesContent":["import { PropGetterFn, UnknownProperties, Intergalactic, IRootComponentProps } from '@semcore/core';\nimport { BoxProps } from '@semcore/flex-box';\n\n/** @deprecated */\nexport interface ICarouselProps extends CarouselProps, UnknownProperties {}\nexport type CarouselProps = BoxProps & {\n /** Index active item */\n index?: number;\n /**\n * Index of the active item selected by default\n * @default 0\n */\n defaultIndex?: number;\n /** Called when the selection is changed */\n onIndexChange?: (index: number) => void;\n /** Animation duration\n * @default 300 */\n duration?: number;\n /** Disables infinite items change in the carousel\n * @default false */\n bounded?: boolean;\n /** @ignore */\n step?: number;\n locale?: string;\n /** Enable zoom feature for carousel items */\n zoom?: boolean;\n /** Width for items in zooming modal */\n zoomWidth?: number;\n /** Type of indicators */\n indicators?: 'default' | 'hide' | 'preview';\n};\n\n/** @deprecated */\nexport interface ICarouselContext extends CarouselContext, UnknownProperties {}\nexport type CarouselContext = {\n getContainerProps: PropGetterFn;\n getItemProps: PropGetterFn;\n getPrevProps: PropGetterFn;\n getNextProps: PropGetterFn;\n getIndicatorsProps: PropGetterFn;\n};\n\nexport type CarouselItem = {\n node: HTMLElement;\n};\n\nexport type CarouselItemProps = BoxProps & {\n /** Flag for css cursor\n * @private\n */\n zoomIn?: boolean;\n /** Flag for css cursor\n * @private\n */\n zoomOut?: boolean;\n\n /** Function to add item to list in Carousel\n * @private\n */\n toggleItem?: (item: CarouselItem, toRemove?: boolean) => void;\n\n /** Index of item in carousel */\n index?: number;\n\n uid?: string;\n\n /** Flag - is current item shown now */\n current?: boolean;\n\n /** Handler for show item in modal window\n * @private\n */\n onToggleZoomModal?: () => void;\n\n /** Value for transform item\n * @private\n */\n transform?: number;\n};\n\n/** @deprecated */\nexport interface ICarouselState extends CarouselState, UnknownProperties {}\nexport type CarouselState = {\n isOpenZoom: boolean;\n selectedIndex: number;\n items: CarouselItem[];\n};\n\nexport type CarouselButtonProps = IRootComponentProps &\n BoxProps & {\n label?: string;\n inverted?: boolean;\n tabIndex?: number;\n };\n\nexport type CarouselIndicatorsProps = IRootComponentProps &\n BoxProps & {\n items?: CarouselItem[];\n inverted?: boolean;\n };\n\nexport type CarouselIndicatorProps = IRootComponentProps &\n Omit<BoxProps, 'position'> & {\n active?: boolean;\n onClick?: () => void;\n inverted?: boolean;\n } & CarouselItem;\n\ndeclare const CarouselType: Intergalactic.Component<\n 'div',\n CarouselProps,\n CarouselContext & CarouselState\n> & {\n Container: Intergalactic.Component<'div', BoxProps>;\n Indicators: Intergalactic.Component<'div', CarouselIndicatorsProps, CarouselState>;\n Indicator: Intergalactic.Component<'div', CarouselIndicatorProps>;\n Item: Intergalactic.Component<'div', CarouselItemProps>;\n Prev: Intergalactic.Component<'div', CarouselButtonProps>;\n Next: Intergalactic.Component<'div', CarouselButtonProps>;\n};\n\nexport default CarouselType;\n"],"mappings":""}
|
1
|
+
{"version":3,"file":"Carousel.types.js","names":[],"sources":["../../src/Carousel.types.ts"],"sourcesContent":["import { PropGetterFn, UnknownProperties, Intergalactic, IRootComponentProps } from '@semcore/core';\nimport { BoxProps } from '@semcore/flex-box';\n\n/** @deprecated */\nexport interface ICarouselProps extends CarouselProps, UnknownProperties {}\nexport type CarouselProps = BoxProps & {\n /** Index active item */\n index?: number;\n /**\n * Index of the active item selected by default\n * @default 0\n */\n defaultIndex?: number;\n /** Called when the selection is changed */\n onIndexChange?: (index: number) => void;\n /** Animation duration\n * @default 300 */\n duration?: number;\n /** Disables infinite items change in the carousel\n * @default false */\n bounded?: boolean;\n /** @ignore */\n step?: number;\n locale?: string;\n /** Enable zoom feature for carousel items */\n zoom?: boolean;\n /** Width for items in zooming modal */\n zoomWidth?: number;\n /** Type of indicators */\n indicators?: 'default' | 'hide' | 'preview';\n};\n\n/** @deprecated */\nexport interface ICarouselContext extends CarouselContext, UnknownProperties {}\nexport type CarouselContext = {\n getContainerProps: PropGetterFn;\n getItemProps: PropGetterFn;\n getPrevProps: PropGetterFn;\n getNextProps: PropGetterFn;\n getIndicatorsProps: PropGetterFn;\n};\n\nexport type CarouselItem = {\n node: HTMLElement;\n};\n\nexport type CarouselItemProps = BoxProps & {\n /** Flag for css cursor\n * @private\n */\n zoomIn?: boolean;\n /** Flag for css cursor\n * @private\n */\n zoomOut?: boolean;\n\n /** Function to add item to list in Carousel\n * @private\n */\n toggleItem?: (item: CarouselItem, toRemove?: boolean) => void;\n\n /** Index of item in carousel */\n index?: number;\n\n uid?: string;\n\n /** Flag - is current item shown now */\n current?: boolean;\n\n /** Handler for show item in modal window\n * @private\n */\n onToggleZoomModal?: () => void;\n\n /** Value for transform item\n * @private\n */\n transform?: number;\n\n /**\n * Flag data zoomed\n * @private\n */\n isOpenZoom?: boolean;\n};\n\n/** @deprecated */\nexport interface ICarouselState extends CarouselState, UnknownProperties {}\nexport type CarouselState = {\n isOpenZoom: boolean;\n selectedIndex: number;\n items: CarouselItem[];\n};\n\nexport type CarouselButtonProps = IRootComponentProps &\n BoxProps & {\n label?: string;\n inverted?: boolean;\n tabIndex?: number;\n };\n\nexport type CarouselIndicatorsProps = IRootComponentProps &\n BoxProps & {\n items?: CarouselItem[];\n inverted?: boolean;\n };\n\nexport type CarouselIndicatorProps = IRootComponentProps &\n Omit<BoxProps, 'position'> & {\n active?: boolean;\n onClick?: () => void;\n inverted?: boolean;\n } & CarouselItem;\n\ndeclare const CarouselType: Intergalactic.Component<\n 'div',\n CarouselProps,\n CarouselContext & CarouselState\n> & {\n Container: Intergalactic.Component<'div', BoxProps>;\n ContentBox: Intergalactic.Component<'div', BoxProps>;\n Indicators: Intergalactic.Component<'div', CarouselIndicatorsProps, CarouselState>;\n Indicator: Intergalactic.Component<'div', CarouselIndicatorProps>;\n Item: Intergalactic.Component<'div', CarouselItemProps>;\n Prev: Intergalactic.Component<'div', CarouselButtonProps>;\n Next: Intergalactic.Component<'div', CarouselButtonProps>;\n};\n\nexport default CarouselType;\n"],"mappings":""}
|
@@ -8,6 +8,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
8
8
|
import _createSuper from "@babel/runtime/helpers/createSuper";
|
9
9
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
10
10
|
import { sstyled as _sstyled } from 'intergalactic/utils/lib/core/index';
|
11
|
+
import { assignProps as _assignProps10 } from 'intergalactic/core';
|
11
12
|
import { assignProps as _assignProps9 } from 'intergalactic/core';
|
12
13
|
import { assignProps as _assignProps8 } from 'intergalactic/core';
|
13
14
|
import { assignProps as _assignProps7 } from 'intergalactic/core';
|
@@ -29,27 +30,27 @@ import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
|
29
30
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
30
31
|
import logger from 'intergalactic/utils/lib/logger';
|
31
32
|
/*__reshadow-styles__:"./style/carousel.shadow.css"*/
|
32
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
33
|
-
"__SCarousel": "
|
34
|
-
"__SContainer": "
|
35
|
-
"--duration": "--
|
36
|
-
"__SModalContainer": "
|
37
|
-
"__SItem": "
|
38
|
-
"--transform": "--
|
39
|
-
"_zoomIn": "
|
40
|
-
"_zoomOut": "
|
41
|
-
"__SIndicators": "
|
42
|
-
"_keyboardFocused": "
|
43
|
-
"__SIndicator": "
|
44
|
-
"_active": "
|
45
|
-
"_inverted": "
|
46
|
-
"__SPrev": "
|
47
|
-
"__SNext": "
|
48
|
-
"_disabled": "
|
49
|
-
"__SContentBox": "
|
50
|
-
"__SModalBox": "
|
51
|
-
"__SPrevButton": "
|
52
|
-
"__SNextButton": "
|
33
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCarousel_3a60i_gg_{overflow:hidden;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SContainer_3a60i_gg_{display:flex;transition:transform var(--duration_3a60i) ease-in-out}.___SContentBox_3a60i_gg_,.___SModalBox_3a60i_gg_{position:relative;overflow:hidden;border-radius:var(--intergalactic-surface-rounded, 6px)}.___SContentBox_3a60i_gg_:has(.___SItem_3a60i_gg_.__keyboardFocused_3a60i_gg_):after,.___SModalBox_3a60i_gg_:has(.___SItem_3a60i_gg_.__keyboardFocused_3a60i_gg_):after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px}.___SModalContainer_3a60i_gg_{display:flex;transition:transform var(--duration_3a60i) ease-in-out}.___SItem_3a60i_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_3a60i);border-radius:var(--intergalactic-surface-rounded, 6px);overflow:hidden;outline:0}.___SItem_3a60i_gg_.__zoomIn_3a60i_gg_{cursor:zoom-in}.___SItem_3a60i_gg_.__zoomOut_3a60i_gg_{cursor:zoom-out}.___SIndicators_3a60i_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x, 16px);outline:0;position:relative}.___SIndicators_3a60i_gg_.__keyboardFocused_3a60i_gg_:after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px);top:0;left:3px}.___SIndicator_3a60i_gg_{margin:0 calc(.5*var(--intergalactic-spacing-3x, 12px));cursor:pointer;display:block;width:12px;height:12px;border-radius:var(--intergalactic-control-rounded, 6px);background-color:var(--intergalactic-icon-secondary-neutral, #a9abb6);opacity:var(--intergalactic-disabled-opacity, 0.3);-o-object-fit:cover;object-fit:cover;transition:ease-in-out opacity .1s}@media (hover:hover){.___SIndicator_3a60i_gg_:hover{opacity:calc(2*var(--intergalactic-disabled-opacity, 0.3))}}.___SIndicator_3a60i_gg_.__active_3a60i_gg_{opacity:1}.___SIndicator_3a60i_gg_.__inverted_3a60i_gg_{background-color:var(--intergalactic-icon-primary-invert, #ffffff)}.___SNext_3a60i_gg_,.___SPrev_3a60i_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--intergalactic-icon-primary-neutral, #6c6e79)}.___SNext_3a60i_gg_ .___SNextButton_3a60i_gg_ span:has(>svg:only-child),.___SNext_3a60i_gg_ .___SPrevButton_3a60i_gg_ span:has(>svg:only-child),.___SPrev_3a60i_gg_ .___SNextButton_3a60i_gg_ span:has(>svg:only-child),.___SPrev_3a60i_gg_ .___SPrevButton_3a60i_gg_ span:has(>svg:only-child){margin-left:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px)}.___SNextButton_3a60i_gg_:focus-visible,.___SPrevButton_3a60i_gg_:focus-visible{box-shadow:none}.___SNextButton_3a60i_gg_:focus-visible:after,.___SPrevButton_3a60i_gg_:focus-visible:after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px;border-radius:var(--intergalactic-control-rounded, 6px)}.___SPrev_3a60i_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNext_3a60i_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNext_3a60i_gg_.__disabled_3a60i_gg_,.___SPrev_3a60i_gg_.__disabled_3a60i_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_3a60i_gg_{transition:none}}" /*__inner_css_end__*/, "3a60i_gg_") /*__reshadow_css_end__*/, {
|
34
|
+
"__SCarousel": "___SCarousel_3a60i_gg_",
|
35
|
+
"__SContainer": "___SContainer_3a60i_gg_",
|
36
|
+
"--duration": "--duration_3a60i",
|
37
|
+
"__SModalContainer": "___SModalContainer_3a60i_gg_",
|
38
|
+
"__SItem": "___SItem_3a60i_gg_",
|
39
|
+
"--transform": "--transform_3a60i",
|
40
|
+
"_zoomIn": "__zoomIn_3a60i_gg_",
|
41
|
+
"_zoomOut": "__zoomOut_3a60i_gg_",
|
42
|
+
"__SIndicators": "___SIndicators_3a60i_gg_",
|
43
|
+
"_keyboardFocused": "__keyboardFocused_3a60i_gg_",
|
44
|
+
"__SIndicator": "___SIndicator_3a60i_gg_",
|
45
|
+
"_active": "__active_3a60i_gg_",
|
46
|
+
"_inverted": "__inverted_3a60i_gg_",
|
47
|
+
"__SPrev": "___SPrev_3a60i_gg_",
|
48
|
+
"__SNext": "___SNext_3a60i_gg_",
|
49
|
+
"_disabled": "__disabled_3a60i_gg_",
|
50
|
+
"__SContentBox": "___SContentBox_3a60i_gg_",
|
51
|
+
"__SModalBox": "___SModalBox_3a60i_gg_",
|
52
|
+
"__SPrevButton": "___SPrevButton_3a60i_gg_",
|
53
|
+
"__SNextButton": "___SNextButton_3a60i_gg_"
|
53
54
|
});
|
54
55
|
import { findAllComponents } from 'intergalactic/utils/lib/findComponent';
|
55
56
|
import { createBreakpoints } from 'intergalactic/breakpoints';
|
@@ -68,7 +69,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
68
69
|
_inherits(CarouselRoot, _Component);
|
69
70
|
var _super = _createSuper(CarouselRoot);
|
70
71
|
function CarouselRoot(props) {
|
71
|
-
var
|
72
|
+
var _ref20, _props$index;
|
72
73
|
var _this;
|
73
74
|
_classCallCheck(this, CarouselRoot);
|
74
75
|
_this = _super.call(this, props);
|
@@ -111,6 +112,9 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
111
112
|
_this.slideToValue(lastSlide);
|
112
113
|
}
|
113
114
|
}
|
115
|
+
if ((e.key === 'Enter' || e.key === ' ') && e.target instanceof HTMLDivElement && e.target.role === 'tabpanel') {
|
116
|
+
_this.handleToggleZoomModal();
|
117
|
+
}
|
114
118
|
});
|
115
119
|
_defineProperty(_assertThisInitialized(_this), "toggleItem", function (item) {
|
116
120
|
var removeItem = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
@@ -266,7 +270,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
266
270
|
_this.state = {
|
267
271
|
items: [],
|
268
272
|
isOpenZoom: false,
|
269
|
-
selectedIndex: (
|
273
|
+
selectedIndex: (_ref20 = (_props$index = props.index) !== null && _props$index !== void 0 ? _props$index : props.defaultIndex) !== null && _ref20 !== void 0 ? _ref20 : 0
|
270
274
|
};
|
271
275
|
return _this;
|
272
276
|
}
|
@@ -336,7 +340,8 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
336
340
|
current: isCurrent,
|
337
341
|
zoomIn: zoom,
|
338
342
|
onToggleZoomModal: this.handleToggleZoomModal,
|
339
|
-
transform: isCurrent ? this.getTransform() : undefined
|
343
|
+
transform: isCurrent ? this.getTransform() : undefined,
|
344
|
+
isOpenZoom: this.state.isOpenZoom
|
340
345
|
};
|
341
346
|
}
|
342
347
|
}, {
|
@@ -453,7 +458,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
453
458
|
key: "renderModal",
|
454
459
|
value: function renderModal(isSmall, ComponentItems) {
|
455
460
|
var _ref = this.asProps,
|
456
|
-
|
461
|
+
_ref10,
|
457
462
|
_this5 = this;
|
458
463
|
var SModalContainer = Box;
|
459
464
|
var SModalBox = Box;
|
@@ -463,16 +468,16 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
463
468
|
duration = _this$asProps3.duration,
|
464
469
|
zoomWidth = _this$asProps3.zoomWidth;
|
465
470
|
var isOpenZoom = this.state.isOpenZoom;
|
466
|
-
return
|
471
|
+
return _ref10 = sstyled(styles), /*#__PURE__*/React.createElement(Modal, _ref10.cn("Modal", {
|
467
472
|
"visible": isOpenZoom,
|
468
473
|
"onClose": this.handleToggleZoomModal,
|
469
474
|
"ghost": true,
|
470
475
|
"closable": !isSmall
|
471
|
-
}), /*#__PURE__*/React.createElement(Flex,
|
476
|
+
}), /*#__PURE__*/React.createElement(Flex, _ref10.cn("Flex", {
|
472
477
|
"direction": isSmall ? 'column' : 'row'
|
473
478
|
}), !isSmall && /*#__PURE__*/React.createElement(Carousel.Prev, {
|
474
479
|
inverted: true
|
475
|
-
}), /*#__PURE__*/React.createElement(SModalBox,
|
480
|
+
}), /*#__PURE__*/React.createElement(SModalBox, _ref10.cn("SModalBox", {}), /*#__PURE__*/React.createElement(SModalContainer, _ref10.cn("SModalContainer", _objectSpread({}, _assignProps({
|
476
481
|
"aria-live": 'polite',
|
477
482
|
"use:duration": "".concat(duration, "ms"),
|
478
483
|
"ref": this.refModalContainer,
|
@@ -489,7 +494,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
489
494
|
zoomOut: true,
|
490
495
|
transform: _this5.isSelected(i) ? _this5.getTransform() : undefined
|
491
496
|
}));
|
492
|
-
}))), isSmall ? /*#__PURE__*/React.createElement(Flex,
|
497
|
+
}))), isSmall ? /*#__PURE__*/React.createElement(Flex, _ref10.cn("Flex", {
|
493
498
|
"justifyContent": 'center',
|
494
499
|
"mt": 2
|
495
500
|
}), /*#__PURE__*/React.createElement(Carousel.Prev, {
|
@@ -506,10 +511,9 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
506
511
|
key: "render",
|
507
512
|
value: function render() {
|
508
513
|
var _ref2 = this.asProps,
|
509
|
-
|
514
|
+
_ref11,
|
510
515
|
_this6 = this;
|
511
516
|
var SCarousel = Box;
|
512
|
-
var SContentBox = Box;
|
513
517
|
var _this$asProps4 = this.asProps,
|
514
518
|
styles = _this$asProps4.styles,
|
515
519
|
Children = _this$asProps4.Children,
|
@@ -520,7 +524,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
520
524
|
indicators = _this$asProps4.indicators;
|
521
525
|
var ComponentItems = findAllComponents(Children, ['Carousel.Item']);
|
522
526
|
var Controls = findAllComponents(Children, ['Carousel.Prev', 'Carousel.Next', 'Carousel.Indicators']);
|
523
|
-
return
|
527
|
+
return _ref11 = sstyled(styles), /*#__PURE__*/React.createElement(SCarousel, _ref11.cn("SCarousel", _objectSpread({}, _assignProps2({
|
524
528
|
"role": 'region',
|
525
529
|
"roledescription": 'carousel',
|
526
530
|
"onKeyDown": this.handlerKeyDown,
|
@@ -529,9 +533,9 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
529
533
|
"ref": this.refCarousel,
|
530
534
|
"id": "igc-".concat(uid, "-carousel"),
|
531
535
|
"aria-roledescription": ariaRoledescription
|
532
|
-
}, _ref2))), Controls.length === 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Flex,
|
536
|
+
}, _ref2))), Controls.length === 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Flex, _ref11.cn("Flex", {}), /*#__PURE__*/React.createElement(Carousel.Prev, null), /*#__PURE__*/React.createElement(Carousel.ContentBox, null, /*#__PURE__*/React.createElement(Carousel.Container, {
|
533
537
|
"aria-label": ariaLabel
|
534
|
-
}, /*#__PURE__*/React.createElement(Children,
|
538
|
+
}, /*#__PURE__*/React.createElement(Children, _ref11.cn("Children", {})))), /*#__PURE__*/React.createElement(Carousel.Next, null)), indicators === 'default' && /*#__PURE__*/React.createElement(Carousel.Indicators, null), indicators === 'preview' && /*#__PURE__*/React.createElement(Carousel.Indicators, null, function () {
|
535
539
|
return ComponentItems.map(function (item, index) {
|
536
540
|
return /*#__PURE__*/React.createElement(Carousel.Indicator, _extends({}, item.props, {
|
537
541
|
key: item.key,
|
@@ -542,7 +546,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
|
|
542
546
|
onClick: _this6.bindHandlerClickIndicator(index)
|
543
547
|
}));
|
544
548
|
});
|
545
|
-
})) : /*#__PURE__*/React.createElement(Children,
|
549
|
+
})) : /*#__PURE__*/React.createElement(Children, _ref11.cn("Children", {})), hasZoom && /*#__PURE__*/React.createElement(BreakPoints, _ref11.cn("BreakPoints", {}), /*#__PURE__*/React.createElement(BreakPoints.Context.Consumer, null, function (mediaIndex) {
|
546
550
|
return _this6.renderModal(isSmallScreen(mediaIndex), ComponentItems);
|
547
551
|
})));
|
548
552
|
}
|
@@ -563,15 +567,22 @@ _defineProperty(CarouselRoot, "style", style);
|
|
563
567
|
_defineProperty(CarouselRoot, "enhance", enhance);
|
564
568
|
var Container = function Container(props) {
|
565
569
|
var _ref3 = arguments[0],
|
566
|
-
|
570
|
+
_ref12;
|
567
571
|
var SContainer = Box;
|
568
572
|
var styles = props.styles,
|
569
573
|
duration = props.duration;
|
570
|
-
return
|
574
|
+
return _ref12 = sstyled(styles), /*#__PURE__*/React.createElement(SContainer, _ref12.cn("SContainer", _objectSpread({}, _assignProps3({
|
571
575
|
"use:duration": "".concat(duration, "ms"),
|
572
576
|
"aria-live": 'polite'
|
573
577
|
}, _ref3))));
|
574
578
|
};
|
579
|
+
var ContentBox = function ContentBox(props) {
|
580
|
+
var _ref4 = arguments[0],
|
581
|
+
_ref13;
|
582
|
+
var SContentBox = Box;
|
583
|
+
var styles = props.styles;
|
584
|
+
return _ref13 = sstyled(styles), /*#__PURE__*/React.createElement(SContentBox, _ref13.cn("SContentBox", _objectSpread({}, _assignProps4({}, _ref4))));
|
585
|
+
};
|
575
586
|
var Item = /*#__PURE__*/function (_Component2) {
|
576
587
|
_inherits(Item, _Component2);
|
577
588
|
var _super2 = _createSuper(Item);
|
@@ -613,6 +624,7 @@ var Item = /*#__PURE__*/function (_Component2) {
|
|
613
624
|
}, {
|
614
625
|
key: "componentDidUpdate",
|
615
626
|
value: function componentDidUpdate(prevProps) {
|
627
|
+
var _this8 = this;
|
616
628
|
clearTimeout(this.keepFocusTimeout);
|
617
629
|
var transform = this.props.transform;
|
618
630
|
var refItem = this.refItem.current;
|
@@ -627,12 +639,18 @@ var Item = /*#__PURE__*/function (_Component2) {
|
|
627
639
|
}
|
628
640
|
}, 100);
|
629
641
|
}
|
642
|
+
if (prevProps.isOpenZoom === true && this.props.isOpenZoom === false && this.props.current && !this.props.zoomOut) {
|
643
|
+
this.keepFocusTimeout = setTimeout(function () {
|
644
|
+
var _this8$refItem$curren;
|
645
|
+
(_this8$refItem$curren = _this8.refItem.current) === null || _this8$refItem$curren === void 0 ? void 0 : _this8$refItem$curren.focus();
|
646
|
+
}, 200);
|
647
|
+
}
|
630
648
|
}
|
631
649
|
}, {
|
632
650
|
key: "render",
|
633
651
|
value: function render() {
|
634
|
-
var
|
635
|
-
|
652
|
+
var _ref5 = this.asProps,
|
653
|
+
_ref14;
|
636
654
|
var _this$props2 = this.props,
|
637
655
|
styles = _this$props2.styles,
|
638
656
|
index = _this$props2.index,
|
@@ -641,7 +659,7 @@ var Item = /*#__PURE__*/function (_Component2) {
|
|
641
659
|
zoomIn = _this$props2.zoomIn,
|
642
660
|
onToggleZoomModal = _this$props2.onToggleZoomModal;
|
643
661
|
var SItem = Box;
|
644
|
-
return
|
662
|
+
return _ref14 = sstyled(styles), /*#__PURE__*/React.createElement(SItem, _ref14.cn("SItem", _objectSpread({}, _assignProps5({
|
645
663
|
"ref": this.refItem,
|
646
664
|
"role": 'tabpanel',
|
647
665
|
"data-carousel": "igc-".concat(uid, "-carousel"),
|
@@ -650,15 +668,15 @@ var Item = /*#__PURE__*/function (_Component2) {
|
|
650
668
|
"use:tabIndex": current ? 0 : -1,
|
651
669
|
"onClick": zoomIn ? onToggleZoomModal : undefined,
|
652
670
|
"zoomIn": zoomIn
|
653
|
-
},
|
671
|
+
}, _ref5))));
|
654
672
|
}
|
655
673
|
}]);
|
656
674
|
return Item;
|
657
675
|
}(Component);
|
658
676
|
_defineProperty(Item, "enhance", [keyboardFocusEnhance(false)]);
|
659
677
|
var Prev = function Prev(props) {
|
660
|
-
var
|
661
|
-
|
678
|
+
var _ref6 = arguments[0],
|
679
|
+
_ref15;
|
662
680
|
var styles = props.styles,
|
663
681
|
children = props.children,
|
664
682
|
Children = props.Children,
|
@@ -668,9 +686,9 @@ var Prev = function Prev(props) {
|
|
668
686
|
inverted = props.inverted;
|
669
687
|
var SPrev = Box;
|
670
688
|
var SPrevButton = Button;
|
671
|
-
return
|
689
|
+
return _ref15 = sstyled(styles), /*#__PURE__*/React.createElement(SPrev, _ref15.cn("SPrev", _objectSpread({}, _assignProps6({
|
672
690
|
"top": top
|
673
|
-
},
|
691
|
+
}, _ref6))), children ? /*#__PURE__*/React.createElement(Children, _ref15.cn("Children", {})) : /*#__PURE__*/React.createElement(SPrevButton, _ref15.cn("SPrevButton", {
|
674
692
|
"addonLeft": ChevronLeft,
|
675
693
|
"aria-label": label,
|
676
694
|
"theme": inverted ? 'invert' : 'muted',
|
@@ -679,8 +697,8 @@ var Prev = function Prev(props) {
|
|
679
697
|
})));
|
680
698
|
};
|
681
699
|
var Next = function Next(props) {
|
682
|
-
var
|
683
|
-
|
700
|
+
var _ref7 = arguments[0],
|
701
|
+
_ref16;
|
684
702
|
var styles = props.styles,
|
685
703
|
children = props.children,
|
686
704
|
Children = props.Children,
|
@@ -690,9 +708,9 @@ var Next = function Next(props) {
|
|
690
708
|
inverted = props.inverted;
|
691
709
|
var SNext = Box;
|
692
710
|
var SNextButton = Button;
|
693
|
-
return
|
711
|
+
return _ref16 = sstyled(styles), /*#__PURE__*/React.createElement(SNext, _ref16.cn("SNext", _objectSpread({}, _assignProps7({
|
694
712
|
"top": top
|
695
|
-
},
|
713
|
+
}, _ref7))), children ? /*#__PURE__*/React.createElement(Children, _ref16.cn("Children", {})) : /*#__PURE__*/React.createElement(SNextButton, _ref16.cn("SNextButton", {
|
696
714
|
"addonLeft": ChevronRight,
|
697
715
|
"aria-label": label,
|
698
716
|
"theme": inverted ? 'invert' : 'muted',
|
@@ -700,19 +718,19 @@ var Next = function Next(props) {
|
|
700
718
|
"size": 'l'
|
701
719
|
})));
|
702
720
|
};
|
703
|
-
var Indicators = function Indicators(
|
704
|
-
var
|
705
|
-
|
706
|
-
var items =
|
707
|
-
styles =
|
708
|
-
Children =
|
709
|
-
inverted =
|
721
|
+
var Indicators = function Indicators(_ref21) {
|
722
|
+
var _ref8 = arguments[0],
|
723
|
+
_ref18;
|
724
|
+
var items = _ref21.items,
|
725
|
+
styles = _ref21.styles,
|
726
|
+
Children = _ref21.Children,
|
727
|
+
inverted = _ref21.inverted;
|
710
728
|
var SIndicators = Box;
|
711
729
|
if (Children.origin) {
|
712
|
-
var
|
713
|
-
return
|
730
|
+
var _ref17;
|
731
|
+
return _ref17 = sstyled(styles), /*#__PURE__*/React.createElement(SIndicators, _ref17.cn("SIndicators", _objectSpread({}, _assignProps8({}, _ref8))), /*#__PURE__*/React.createElement(Children, _ref17.cn("Children", {})));
|
714
732
|
}
|
715
|
-
return
|
733
|
+
return _ref18 = sstyled(styles), /*#__PURE__*/React.createElement(SIndicators, _ref18.cn("SIndicators", _objectSpread({}, _assignProps9({}, _ref8))), items === null || items === void 0 ? void 0 : items.map(function (item, index) {
|
716
734
|
return /*#__PURE__*/React.createElement(Carousel.Indicator, _extends({
|
717
735
|
key: index
|
718
736
|
}, item, {
|
@@ -721,16 +739,17 @@ var Indicators = function Indicators(_ref19) {
|
|
721
739
|
}));
|
722
740
|
};
|
723
741
|
Indicators.enhance = [keyboardFocusEnhance()];
|
724
|
-
var Indicator = function Indicator(
|
725
|
-
var
|
726
|
-
|
727
|
-
var styles =
|
728
|
-
Children =
|
742
|
+
var Indicator = function Indicator(_ref22) {
|
743
|
+
var _ref9 = arguments[0],
|
744
|
+
_ref19;
|
745
|
+
var styles = _ref22.styles,
|
746
|
+
Children = _ref22.Children;
|
729
747
|
var SIndicator = Box;
|
730
|
-
return
|
748
|
+
return _ref19 = sstyled(styles), /*#__PURE__*/React.createElement(SIndicator, _ref19.cn("SIndicator", _objectSpread({}, _assignProps10({}, _ref9))), /*#__PURE__*/React.createElement(Children, _ref19.cn("Children", {})));
|
731
749
|
};
|
732
750
|
var Carousel = createComponent(CarouselRoot, {
|
733
751
|
Container: Container,
|
752
|
+
ContentBox: ContentBox,
|
734
753
|
Indicators: Indicators,
|
735
754
|
Indicator: Indicator,
|
736
755
|
Item: Item,
|