intergalactic 15.119.0-prerelease.0 → 15.120.0-prerelease.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -0
- package/accordion/lib/cjs/Accordion.js +11 -12
- package/accordion/lib/cjs/Accordion.js.map +1 -1
- package/accordion/lib/es6/Accordion.js +11 -12
- package/accordion/lib/es6/Accordion.js.map +1 -1
- package/accordion/package.json +1 -1
- package/animation/package.json +1 -1
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +20 -18
- package/base-trigger/lib/cjs/BaseTrigger.js.map +1 -1
- package/base-trigger/lib/cjs/ButtonTrigger.js +4 -7
- package/base-trigger/lib/cjs/ButtonTrigger.js.map +1 -1
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -11
- package/base-trigger/lib/cjs/FilterTrigger.js.map +1 -1
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +20 -18
- package/base-trigger/lib/es6/BaseTrigger.js.map +1 -1
- package/base-trigger/lib/es6/ButtonTrigger.js +4 -7
- package/base-trigger/lib/es6/ButtonTrigger.js.map +1 -1
- package/base-trigger/lib/es6/FilterTrigger.js +7 -11
- package/base-trigger/lib/es6/FilterTrigger.js.map +1 -1
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/button/lib/cjs/component/AbstractButton/AbstractButton.js +0 -1
- package/button/lib/cjs/component/AbstractButton/AbstractButton.js.map +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/AbstractButton/AbstractButton.js +0 -1
- package/button/lib/es6/component/AbstractButton/AbstractButton.js.map +1 -1
- 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/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/package.json +1 -1
- 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 +23 -23
- package/core/package.json +1 -1
- package/counter/package.json +1 -1
- package/d3-chart/component/ChartLegend/LegendItem/LegendItem.type.d.ts +1 -0
- package/d3-chart/component/StackGroupBar/StackGroupBar.d.ts +3 -0
- package/d3-chart/component/StackGroupBar/StackGroupBar.type.d.ts +29 -0
- package/d3-chart/index.d.ts +2 -0
- 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 +19 -19
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/cjs/component/StackGroupBar/StackGroupBar.js +173 -0
- package/d3-chart/lib/cjs/component/StackGroupBar/StackGroupBar.js.map +1 -0
- package/d3-chart/lib/cjs/component/StackGroupBar/StackGroupBar.type.js +2 -0
- package/d3-chart/lib/cjs/component/StackGroupBar/StackGroupBar.type.js.map +1 -0
- package/d3-chart/lib/cjs/index.js +7 -0
- package/d3-chart/lib/cjs/index.js.map +1 -1
- package/d3-chart/lib/cjs/types/index.d.js +9 -1
- package/d3-chart/lib/cjs/types/index.d.js.map +1 -1
- 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 +19 -19
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/component/StackGroupBar/StackGroupBar.js +163 -0
- package/d3-chart/lib/es6/component/StackGroupBar/StackGroupBar.js.map +1 -0
- package/d3-chart/lib/es6/component/StackGroupBar/StackGroupBar.type.js +2 -0
- package/d3-chart/lib/es6/component/StackGroupBar/StackGroupBar.type.js.map +1 -0
- package/d3-chart/lib/es6/index.js +1 -0
- package/d3-chart/lib/es6/index.js.map +1 -1
- package/d3-chart/lib/es6/types/index.d.js +1 -0
- package/d3-chart/lib/es6/types/index.d.js.map +1 -1
- package/d3-chart/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +1 -0
- package/d3-chart/lib/types/component/StackGroupBar/StackGroupBar.d.ts +3 -0
- package/d3-chart/lib/types/component/StackGroupBar/StackGroupBar.type.d.ts +29 -0
- package/d3-chart/lib/types/index.d.ts +2 -0
- package/d3-chart/package.json +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 +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/package.json +1 -1
- 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 +52 -43
- package/dropdown/lib/cjs/AbstractDropdown.js.map +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/cjs/Dropdown.js.map +1 -1
- package/dropdown/lib/es6/AbstractDropdown.js +52 -43
- package/dropdown/lib/es6/AbstractDropdown.js.map +1 -1
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js.map +1 -1
- package/dropdown/package.json +1 -1
- package/dropdown-menu/index.d.ts +2 -0
- package/dropdown-menu/lib/cjs/DropdownMenu.js +29 -18
- 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 +29 -18
- 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 +2 -0
- package/dropdown-menu/package.json +1 -1
- 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/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-item/FeedbackItem.js +1 -1
- package/feedback-form/lib/cjs/component/feedback-item/FeedbackItem.js.map +1 -1
- 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-item/FeedbackItem.js +1 -1
- package/feedback-form/lib/es6/component/feedback-item/FeedbackItem.js.map +1 -1
- 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/package.json +1 -1
- package/flex-box/package.json +1 -1
- 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/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/package.json +1 -1
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +16 -4
- package/inline-edit/lib/cjs/InlineEdit.js.map +1 -1
- package/inline-edit/lib/es6/InlineEdit.js +16 -4
- 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/package.json +1 -1
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +10 -21
- package/input-number/lib/cjs/InputNumber.js.map +1 -1
- package/input-number/lib/es6/InputNumber.js +10 -21
- package/input-number/lib/es6/InputNumber.js.map +1 -1
- package/input-number/package.json +1 -1
- package/input-tags/InputTags.d.ts +4 -2
- package/input-tags/lib/cjs/InputTags.js +51 -37
- package/input-tags/lib/cjs/InputTags.js.map +1 -1
- package/input-tags/lib/es6/InputTags.js +52 -37
- package/input-tags/lib/es6/InputTags.js.map +1 -1
- package/input-tags/lib/types/InputTags.d.ts +4 -2
- package/input-tags/package.json +1 -1
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +19 -13
- package/mini-chart/lib/cjs/component/score/Donut.js.map +1 -1
- package/mini-chart/lib/cjs/component/score/Line.js +18 -18
- package/mini-chart/lib/cjs/component/trend/Bar.js +17 -11
- package/mini-chart/lib/cjs/component/trend/Bar.js.map +1 -1
- package/mini-chart/lib/cjs/component/trend/Line.js +17 -11
- package/mini-chart/lib/cjs/component/trend/Line.js.map +1 -1
- package/mini-chart/lib/es6/component/score/Donut.js +19 -13
- package/mini-chart/lib/es6/component/score/Donut.js.map +1 -1
- package/mini-chart/lib/es6/component/score/Line.js +18 -18
- package/mini-chart/lib/es6/component/trend/Bar.js +17 -11
- package/mini-chart/lib/es6/component/trend/Bar.js.map +1 -1
- package/mini-chart/lib/es6/component/trend/Line.js +17 -11
- package/mini-chart/lib/es6/component/trend/Line.js.map +1 -1
- package/mini-chart/package.json +1 -1
- 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/package.json +1 -1
- 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 +10 -10
- package/pagination/lib/es6/Pagination.js +10 -10
- package/pagination/package.json +1 -1
- package/pills/package.json +1 -1
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/package.json +1 -1
- package/progress-bar/package.json +1 -1
- package/radio/package.json +1 -1
- package/scroll-area/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +20 -16
- package/select/lib/cjs/InputSearch.js.map +1 -1
- package/select/lib/cjs/Select.js +28 -13
- package/select/lib/cjs/Select.js.map +1 -1
- package/select/lib/cjs/translations/de.json +2 -2
- package/select/lib/cjs/translations/en.json +3 -1
- package/select/lib/cjs/translations/es.json +2 -2
- package/select/lib/cjs/translations/fr.json +2 -2
- package/select/lib/cjs/translations/it.json +2 -2
- package/select/lib/cjs/translations/ja.json +2 -2
- package/select/lib/cjs/translations/ko.json +2 -2
- package/select/lib/cjs/translations/nl.json +2 -2
- package/select/lib/cjs/translations/pl.json +2 -2
- package/select/lib/cjs/translations/pt.json +2 -2
- package/select/lib/cjs/translations/sv.json +2 -2
- package/select/lib/cjs/translations/tr.json +2 -2
- package/select/lib/cjs/translations/vi.json +2 -2
- package/select/lib/cjs/translations/zh.json +2 -2
- package/select/lib/es6/InputSearch.js +20 -16
- package/select/lib/es6/InputSearch.js.map +1 -1
- package/select/lib/es6/Select.js +28 -13
- package/select/lib/es6/Select.js.map +1 -1
- package/select/lib/es6/translations/de.json +2 -2
- package/select/lib/es6/translations/en.json +3 -1
- package/select/lib/es6/translations/es.json +2 -2
- package/select/lib/es6/translations/fr.json +2 -2
- package/select/lib/es6/translations/it.json +2 -2
- package/select/lib/es6/translations/ja.json +2 -2
- package/select/lib/es6/translations/ko.json +2 -2
- package/select/lib/es6/translations/nl.json +2 -2
- package/select/lib/es6/translations/pl.json +2 -2
- package/select/lib/es6/translations/pt.json +2 -2
- package/select/lib/es6/translations/sv.json +2 -2
- package/select/lib/es6/translations/tr.json +2 -2
- package/select/lib/es6/translations/vi.json +2 -2
- package/select/lib/es6/translations/zh.json +2 -2
- package/select/package.json +1 -1
- package/side-panel/package.json +1 -1
- package/skeleton/package.json +1 -1
- package/slider/package.json +1 -1
- package/spin/package.json +1 -1
- package/spin-container/package.json +1 -1
- package/sticky/package.json +1 -1
- package/switch/package.json +1 -1
- package/tab-line/package.json +1 -1
- package/tab-panel/package.json +1 -1
- package/tag/package.json +1 -1
- 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/package.json +1 -1
- package/typography/package.json +1 -1
- package/utils/lib/ariaProps.d.ts +12 -0
- package/utils/lib/ariaProps.js +22 -0
- package/utils/lib/ariaProps.js.map +1 -0
- package/utils/lib/ariaProps.mjs +16 -0
- package/utils/lib/ariaProps.mjs.map +1 -0
- package/widget-empty/package.json +1 -1
- package/wizard/package.json +1 -1
@@ -13,35 +13,35 @@ import Dropdown from 'intergalactic/dropdown';
|
|
13
13
|
import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
14
14
|
import { localizedMessages } from '../translations/__intergalactic-dynamic-locales';
|
15
15
|
/*__reshadow-styles__:"../style/date-picker.shadow.css"*/
|
16
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
17
|
-
"__SHeader": "
|
18
|
-
"__STitle": "
|
19
|
-
"__SToday": "
|
20
|
-
"__SPeriod": "
|
21
|
-
"__SButton": "
|
22
|
-
"__SInner": "
|
23
|
-
"__SInputMask": "
|
24
|
-
"_animationsDisabled": "
|
25
|
-
"__SValue": "
|
26
|
-
"__SIndicator": "
|
27
|
-
"__SRangeIndicator": "
|
28
|
-
"_range_value": "
|
29
|
-
"_range_compare": "
|
30
|
-
"_disabled": "
|
31
|
-
"__SHumanizedDate": "
|
32
|
-
"__SMask": "
|
33
|
-
"__SSingleDateInput": "
|
34
|
-
"__SDateRange": "
|
35
|
-
"_noHumanizedDate": "
|
36
|
-
"__SRangeSep": "
|
37
|
-
"_fulfilled": "
|
38
|
-
"__SRangeComparatorHeader": "
|
39
|
-
"__SRangeCalendar": "
|
40
|
-
"__SFooter": "
|
41
|
-
"__SPeriodsList": "
|
42
|
-
"__STooltip": "
|
43
|
-
"__SCompareToggle": "
|
44
|
-
"__SPopper": "
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPopper_1eyjh_gg_{padding:var(--intergalactic-spacing-4x, 16px);outline:0}.___SPopper_1eyjh_gg_::-moz-focus-inner{border:0;padding:0}.___SPopper_1eyjh_gg_:active,.___SPopper_1eyjh_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SPopper_1eyjh_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SPopper_1eyjh_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHeader_1eyjh_gg_,.___STitle_1eyjh_gg_{display:flex;align-items:center}.___STitle_1eyjh_gg_{font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-primary, #191b23);height:32px;width:100%;justify-content:center}.___SToday_1eyjh_gg_{display:flex;margin-top:var(--intergalactic-spacing-3x, 12px);justify-content:center}.___SPeriod_1eyjh_gg_{display:flex;flex-direction:column;margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SButton_1eyjh_gg_ .___SInner_1eyjh_gg_{justify-content:flex-start}.___SInputMask_1eyjh_gg_{color:var(--intergalactic-text-primary, #191b23);line-height:normal;padding-right:var(--intergalactic-spacing-2x, 8px);transition:width calc(var(--intergalactic-duration-medium, 300)*1ms) ease,min-width calc(var(--intergalactic-duration-medium, 300)*1ms) ease}.___SInputMask_1eyjh_gg_.__animationsDisabled_1eyjh_gg_{transition:none}.___SInputMask_1eyjh_gg_ .___SValue_1eyjh_gg_{letter-spacing:0}.___SIndicator_1eyjh_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SRangeIndicator_1eyjh_gg_{border-radius:50%;flex-shrink:0}.___SRangeIndicator_1eyjh_gg_._range_value_1eyjh_gg_{background-color:var(--intergalactic-date-picker-cell-active, #2bb3ff)}.___SRangeIndicator_1eyjh_gg_._range_compare_1eyjh_gg_{background-color:var(--intergalactic-date-picker-cell-comparison-active, #8649e1)}.___SRangeIndicator_1eyjh_gg_.__disabled_1eyjh_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SHumanizedDate_1eyjh_gg_{position:absolute;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.___SMask_1eyjh_gg_{letter-spacing:0;white-space:nowrap;overflow:hidden}.___SDateRange_1eyjh_gg_ .___SMask_1eyjh_gg_,.___SDateRange_1eyjh_gg_ .___SValue_1eyjh_gg_,.___SSingleDateInput_1eyjh_gg_ .___SMask_1eyjh_gg_,.___SSingleDateInput_1eyjh_gg_ .___SValue_1eyjh_gg_{opacity:0}.___SSingleDateInput_1eyjh_gg_:focus-within .___SHumanizedDate_1eyjh_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SSingleDateInput_1eyjh_gg_:focus-within .___SMask_1eyjh_gg_,.___SSingleDateInput_1eyjh_gg_:focus-within .___SValue_1eyjh_gg_{opacity:1}.___SDateRange_1eyjh_gg_:focus-within .___SHumanizedDate_1eyjh_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SDateRange_1eyjh_gg_:focus-within .___SMask_1eyjh_gg_,.___SDateRange_1eyjh_gg_:focus-within .___SValue_1eyjh_gg_{opacity:1}.___SInputMask_1eyjh_gg_.__noHumanizedDate_1eyjh_gg_ .___SMask_1eyjh_gg_,.___SInputMask_1eyjh_gg_.__noHumanizedDate_1eyjh_gg_ .___SValue_1eyjh_gg_{opacity:1}.___SDateRange_1eyjh_gg_ .___SInputMask_1eyjh_gg_:focus-within .___SMask_1eyjh_gg_{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SDateRange_1eyjh_gg_:focus-within .___SRangeSep_1eyjh_gg_,.___SRangeSep_1eyjh_gg_.__fulfilled_1eyjh_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SRangeComparatorHeader_1eyjh_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SRangeCalendar_1eyjh_gg_,.___SRangeComparatorHeader_1eyjh_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___SFooter_1eyjh_gg_{border-top:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SFooter_1eyjh_gg_,.___SPeriodsList_1eyjh_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___STooltip_1eyjh_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SCompareToggle_1eyjh_gg_{white-space:nowrap}@media (prefers-reduced-motion){.___SInputMask_1eyjh_gg_{transition:none}}" /*__inner_css_end__*/, "1eyjh_gg_") /*__reshadow_css_end__*/, {
|
17
|
+
"__SHeader": "___SHeader_1eyjh_gg_",
|
18
|
+
"__STitle": "___STitle_1eyjh_gg_",
|
19
|
+
"__SToday": "___SToday_1eyjh_gg_",
|
20
|
+
"__SPeriod": "___SPeriod_1eyjh_gg_",
|
21
|
+
"__SButton": "___SButton_1eyjh_gg_",
|
22
|
+
"__SInner": "___SInner_1eyjh_gg_",
|
23
|
+
"__SInputMask": "___SInputMask_1eyjh_gg_",
|
24
|
+
"_animationsDisabled": "__animationsDisabled_1eyjh_gg_",
|
25
|
+
"__SValue": "___SValue_1eyjh_gg_",
|
26
|
+
"__SIndicator": "___SIndicator_1eyjh_gg_",
|
27
|
+
"__SRangeIndicator": "___SRangeIndicator_1eyjh_gg_",
|
28
|
+
"_range_value": "_range_value_1eyjh_gg_",
|
29
|
+
"_range_compare": "_range_compare_1eyjh_gg_",
|
30
|
+
"_disabled": "__disabled_1eyjh_gg_",
|
31
|
+
"__SHumanizedDate": "___SHumanizedDate_1eyjh_gg_",
|
32
|
+
"__SMask": "___SMask_1eyjh_gg_",
|
33
|
+
"__SSingleDateInput": "___SSingleDateInput_1eyjh_gg_",
|
34
|
+
"__SDateRange": "___SDateRange_1eyjh_gg_",
|
35
|
+
"_noHumanizedDate": "__noHumanizedDate_1eyjh_gg_",
|
36
|
+
"__SRangeSep": "___SRangeSep_1eyjh_gg_",
|
37
|
+
"_fulfilled": "__fulfilled_1eyjh_gg_",
|
38
|
+
"__SRangeComparatorHeader": "___SRangeComparatorHeader_1eyjh_gg_",
|
39
|
+
"__SRangeCalendar": "___SRangeCalendar_1eyjh_gg_",
|
40
|
+
"__SFooter": "___SFooter_1eyjh_gg_",
|
41
|
+
"__SPeriodsList": "___SPeriodsList_1eyjh_gg_",
|
42
|
+
"__STooltip": "___STooltip_1eyjh_gg_",
|
43
|
+
"__SCompareToggle": "___SCompareToggle_1eyjh_gg_",
|
44
|
+
"__SPopper": "___SPopper_1eyjh_gg_"
|
45
45
|
});
|
46
46
|
import { includesDate } from '../utils/includesDate';
|
47
47
|
import { formatDDMMYY, formatMMYY } from '../utils/formatDate';
|
@@ -21,35 +21,35 @@ import { localizedMessages } from '../translations/__intergalactic-dynamic-local
|
|
21
21
|
import { includesDate } from '../utils/includesDate';
|
22
22
|
import { formatDDMMYY, formatMMYY } from '../utils/formatDate';
|
23
23
|
/*__reshadow-styles__:"../style/date-picker.shadow.css"*/
|
24
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
25
|
-
"__SHeader": "
|
26
|
-
"__STitle": "
|
27
|
-
"__SToday": "
|
28
|
-
"__SPeriod": "
|
29
|
-
"__SButton": "
|
30
|
-
"__SInner": "
|
31
|
-
"__SInputMask": "
|
32
|
-
"_animationsDisabled": "
|
33
|
-
"__SValue": "
|
34
|
-
"__SIndicator": "
|
35
|
-
"__SRangeIndicator": "
|
36
|
-
"_range_value": "
|
37
|
-
"_range_compare": "
|
38
|
-
"_disabled": "
|
39
|
-
"__SHumanizedDate": "
|
40
|
-
"__SMask": "
|
41
|
-
"__SSingleDateInput": "
|
42
|
-
"__SDateRange": "
|
43
|
-
"_noHumanizedDate": "
|
44
|
-
"__SRangeSep": "
|
45
|
-
"_fulfilled": "
|
46
|
-
"__SRangeComparatorHeader": "
|
47
|
-
"__SRangeCalendar": "
|
48
|
-
"__SFooter": "
|
49
|
-
"__SPeriodsList": "
|
50
|
-
"__STooltip": "
|
51
|
-
"__SCompareToggle": "
|
52
|
-
"__SPopper": "
|
24
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPopper_1eyjh_gg_{padding:var(--intergalactic-spacing-4x, 16px);outline:0}.___SPopper_1eyjh_gg_::-moz-focus-inner{border:0;padding:0}.___SPopper_1eyjh_gg_:active,.___SPopper_1eyjh_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SPopper_1eyjh_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SPopper_1eyjh_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHeader_1eyjh_gg_,.___STitle_1eyjh_gg_{display:flex;align-items:center}.___STitle_1eyjh_gg_{font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-primary, #191b23);height:32px;width:100%;justify-content:center}.___SToday_1eyjh_gg_{display:flex;margin-top:var(--intergalactic-spacing-3x, 12px);justify-content:center}.___SPeriod_1eyjh_gg_{display:flex;flex-direction:column;margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SButton_1eyjh_gg_ .___SInner_1eyjh_gg_{justify-content:flex-start}.___SInputMask_1eyjh_gg_{color:var(--intergalactic-text-primary, #191b23);line-height:normal;padding-right:var(--intergalactic-spacing-2x, 8px);transition:width calc(var(--intergalactic-duration-medium, 300)*1ms) ease,min-width calc(var(--intergalactic-duration-medium, 300)*1ms) ease}.___SInputMask_1eyjh_gg_.__animationsDisabled_1eyjh_gg_{transition:none}.___SInputMask_1eyjh_gg_ .___SValue_1eyjh_gg_{letter-spacing:0}.___SIndicator_1eyjh_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SRangeIndicator_1eyjh_gg_{border-radius:50%;flex-shrink:0}.___SRangeIndicator_1eyjh_gg_._range_value_1eyjh_gg_{background-color:var(--intergalactic-date-picker-cell-active, #2bb3ff)}.___SRangeIndicator_1eyjh_gg_._range_compare_1eyjh_gg_{background-color:var(--intergalactic-date-picker-cell-comparison-active, #8649e1)}.___SRangeIndicator_1eyjh_gg_.__disabled_1eyjh_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SHumanizedDate_1eyjh_gg_{position:absolute;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.___SMask_1eyjh_gg_{letter-spacing:0;white-space:nowrap;overflow:hidden}.___SDateRange_1eyjh_gg_ .___SMask_1eyjh_gg_,.___SDateRange_1eyjh_gg_ .___SValue_1eyjh_gg_,.___SSingleDateInput_1eyjh_gg_ .___SMask_1eyjh_gg_,.___SSingleDateInput_1eyjh_gg_ .___SValue_1eyjh_gg_{opacity:0}.___SSingleDateInput_1eyjh_gg_:focus-within .___SHumanizedDate_1eyjh_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SSingleDateInput_1eyjh_gg_:focus-within .___SMask_1eyjh_gg_,.___SSingleDateInput_1eyjh_gg_:focus-within .___SValue_1eyjh_gg_{opacity:1}.___SDateRange_1eyjh_gg_:focus-within .___SHumanizedDate_1eyjh_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SDateRange_1eyjh_gg_:focus-within .___SMask_1eyjh_gg_,.___SDateRange_1eyjh_gg_:focus-within .___SValue_1eyjh_gg_{opacity:1}.___SInputMask_1eyjh_gg_.__noHumanizedDate_1eyjh_gg_ .___SMask_1eyjh_gg_,.___SInputMask_1eyjh_gg_.__noHumanizedDate_1eyjh_gg_ .___SValue_1eyjh_gg_{opacity:1}.___SDateRange_1eyjh_gg_ .___SInputMask_1eyjh_gg_:focus-within .___SMask_1eyjh_gg_{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SDateRange_1eyjh_gg_:focus-within .___SRangeSep_1eyjh_gg_,.___SRangeSep_1eyjh_gg_.__fulfilled_1eyjh_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SRangeComparatorHeader_1eyjh_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SRangeCalendar_1eyjh_gg_,.___SRangeComparatorHeader_1eyjh_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___SFooter_1eyjh_gg_{border-top:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SFooter_1eyjh_gg_,.___SPeriodsList_1eyjh_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___STooltip_1eyjh_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SCompareToggle_1eyjh_gg_{white-space:nowrap}@media (prefers-reduced-motion){.___SInputMask_1eyjh_gg_{transition:none}}" /*__inner_css_end__*/, "1eyjh_gg_") /*__reshadow_css_end__*/, {
|
25
|
+
"__SHeader": "___SHeader_1eyjh_gg_",
|
26
|
+
"__STitle": "___STitle_1eyjh_gg_",
|
27
|
+
"__SToday": "___SToday_1eyjh_gg_",
|
28
|
+
"__SPeriod": "___SPeriod_1eyjh_gg_",
|
29
|
+
"__SButton": "___SButton_1eyjh_gg_",
|
30
|
+
"__SInner": "___SInner_1eyjh_gg_",
|
31
|
+
"__SInputMask": "___SInputMask_1eyjh_gg_",
|
32
|
+
"_animationsDisabled": "__animationsDisabled_1eyjh_gg_",
|
33
|
+
"__SValue": "___SValue_1eyjh_gg_",
|
34
|
+
"__SIndicator": "___SIndicator_1eyjh_gg_",
|
35
|
+
"__SRangeIndicator": "___SRangeIndicator_1eyjh_gg_",
|
36
|
+
"_range_value": "_range_value_1eyjh_gg_",
|
37
|
+
"_range_compare": "_range_compare_1eyjh_gg_",
|
38
|
+
"_disabled": "__disabled_1eyjh_gg_",
|
39
|
+
"__SHumanizedDate": "___SHumanizedDate_1eyjh_gg_",
|
40
|
+
"__SMask": "___SMask_1eyjh_gg_",
|
41
|
+
"__SSingleDateInput": "___SSingleDateInput_1eyjh_gg_",
|
42
|
+
"__SDateRange": "___SDateRange_1eyjh_gg_",
|
43
|
+
"_noHumanizedDate": "__noHumanizedDate_1eyjh_gg_",
|
44
|
+
"__SRangeSep": "___SRangeSep_1eyjh_gg_",
|
45
|
+
"_fulfilled": "__fulfilled_1eyjh_gg_",
|
46
|
+
"__SRangeComparatorHeader": "___SRangeComparatorHeader_1eyjh_gg_",
|
47
|
+
"__SRangeCalendar": "___SRangeCalendar_1eyjh_gg_",
|
48
|
+
"__SFooter": "___SFooter_1eyjh_gg_",
|
49
|
+
"__SPeriodsList": "___SPeriodsList_1eyjh_gg_",
|
50
|
+
"__STooltip": "___STooltip_1eyjh_gg_",
|
51
|
+
"__SCompareToggle": "___SCompareToggle_1eyjh_gg_",
|
52
|
+
"__SPopper": "___SPopper_1eyjh_gg_"
|
53
53
|
});
|
54
54
|
var INTERACTION_TAGS = ['INPUT'];
|
55
55
|
var INTERACTION_KEYS = ['ArrowDown', 'Enter', ' '];
|
package/date-picker/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/date-picker","description":"Semrush DatePicker Component","version":"4.54.
|
1
|
+
{"name":"intergalactic/date-picker","description":"Semrush DatePicker Component","version":"4.54.6-prerelease.0","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/utils":"4.44.0","@semcore/base-trigger":"4.49.2-prerelease.0","@semcore/button":"5.40.1-prerelease.0","@semcore/divider":"4.38.0","@semcore/dropdown":"4.41.7-prerelease.0","@semcore/flex-box":"5.39.0","@semcore/icon":"4.53.0","@semcore/input":"4.40.0","@semcore/input-mask":"5.41.0","@semcore/neighbor-location":"4.37.0","@semcore/typography":"5.48.0","@semcore/checkbox":"7.42.0","@semcore/tooltip":"6.47.0","dayjs":"1.8.36"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/date-picker"},"devDependencies":{"@semcore/testing-utils":"1.0.0","@types/react":"18.0.21"}}
|
package/divider/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/divider","description":"Semrush Divider Component","version":"4.38.0
|
1
|
+
{"name":"intergalactic/divider","description":"Semrush Divider Component","version":"4.38.0","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/utils":"4.44.0","@semcore/flex-box":"5.39.0"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/divider"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
package/dot/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/dot","description":"Semrush Dot Component","version":"5.38.0
|
1
|
+
{"name":"intergalactic/dot","description":"Semrush Dot Component","version":"5.38.0","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/animation":"2.39.0","@semcore/flex-box":"5.39.0","@semcore/portal":"3.39.0","@semcore/utils":"4.44.0"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/dot"},"devDependencies":{"@semcore/button":"*","@semcore/testing-utils":"1.0.0","@types/react":"18.0.21"}}
|
@@ -25,22 +25,22 @@ var _keyboardFocusEnhance = _interopRequireDefault(require("intergalactic/utils/
|
|
25
25
|
var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID"));
|
26
26
|
var _canUseDOM = _interopRequireDefault(require("intergalactic/utils/lib/canUseDOM"));
|
27
27
|
/*__reshadow-styles__:"./style/drag-and-drop.shadow.css"*/
|
28
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
29
|
-
"__SDraggable": "
|
30
|
-
"_placement_top": "
|
31
|
-
"_placement_right": "
|
32
|
-
"_placement_left": "
|
33
|
-
"_placement_bottom": "
|
34
|
-
"__SDropZone": "
|
35
|
-
"_dropPreview": "
|
36
|
-
"_dark": "
|
37
|
-
"_keyboardFocused": "
|
38
|
-
"_keyboardDragging": "
|
39
|
-
"_reversedScaling": "
|
40
|
-
"_animatedScaling": "
|
41
|
-
"__SA11yHint": "
|
42
|
-
"_draggable": "
|
43
|
-
"_hideHoverEffect": "
|
28
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SDraggable_1jvy9_gg_.__draggable_1jvy9_gg_{position:relative;cursor:grab;-moz-user-select:none;-webkit-user-select:none;user-select:none}.___SDraggable_1jvy9_gg_.__draggable_1jvy9_gg_::before{content:\"\";position:absolute;display:none;pointer-events:none;background-image:radial-gradient(circle at center,var(--intergalactic-icon-primary-neutral, #6c6e79) 1px,transparent 0);background-size:6px 6px;background-position:2px 2px;background-repeat:repeat repeat}@media (hover:hover){.___SDraggable_1jvy9_gg_.__draggable_1jvy9_gg_:hover::before{display:block}}.___SDraggable_1jvy9_gg_.__draggable_1jvy9_gg_.__hideHoverEffect_1jvy9_gg_::before{display:none}.___SDraggable_1jvy9_gg_._placement_right_1jvy9_gg_::before{right:0}.___SDraggable_1jvy9_gg_._placement_bottom_1jvy9_gg_::before{bottom:0}.___SDraggable_1jvy9_gg_._placement_left_1jvy9_gg_::before{left:0}.___SDraggable_1jvy9_gg_._placement_top_1jvy9_gg_::before{top:0;left:0;width:100%;height:16px}.___SDraggable_1jvy9_gg_._placement_bottom_1jvy9_gg_::before{left:0;width:100%;height:16px}.___SDraggable_1jvy9_gg_._placement_left_1jvy9_gg_::before,.___SDraggable_1jvy9_gg_._placement_right_1jvy9_gg_::before{top:0;width:16px;height:100%}.___SDropZone_1jvy9_gg_{position:relative}.___SDraggable_1jvy9_gg_.__dropPreview_1jvy9_gg_,.___SDropZone_1jvy9_gg_.__dropPreview_1jvy9_gg_{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SDraggable_1jvy9_gg_.__dark_1jvy9_gg_.__dropPreview_1jvy9_gg_,.___SDropZone_1jvy9_gg_.__dark_1jvy9_gg_.__dropPreview_1jvy9_gg_{background-color:var(--intergalactic-bg-primary-invert-active, #484a54)}.___SDraggable_1jvy9_gg_:focus{outline:0}.___SDraggable_1jvy9_gg_.__keyboardFocused_1jvy9_gg_:focus{box-shadow:none}.___SDraggable_1jvy9_gg_.__keyboardFocused_1jvy9_gg_:focus:after{position:absolute;display:block;content:\"\";top:3px;right:3px;bottom:3px;left:3px;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none}.___SDraggable_1jvy9_gg_.__keyboardDragging_1jvy9_gg_{scale:1.1;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);box-shadow:var(--intergalactic-box-shadow-dnd, 0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 12px 40px 0px rgba(25, 27, 35, 0.16))!important}.___SDraggable_1jvy9_gg_.__keyboardDragging_1jvy9_gg_.__hideHoverEffect_1jvy9_gg_::before,.___SDraggable_1jvy9_gg_.__keyboardDragging_1jvy9_gg_::before{display:block}.___SDraggable_1jvy9_gg_.__keyboardDragging_1jvy9_gg_.__reversedScaling_1jvy9_gg_{scale:.95}.___SDraggable_1jvy9_gg_.__animatedScaling_1jvy9_gg_{transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SA11yHint_1jvy9_gg_{position:absolute;margin-top:-1px;height:1px;width:1px;clip:rect(0 0 0 0)}@media (prefers-reduced-motion:reduce){.___SDraggable_1jvy9_gg_{transition:none}}" /*__inner_css_end__*/, "1jvy9_gg_") /*__reshadow_css_end__*/, {
|
29
|
+
"__SDraggable": "___SDraggable_1jvy9_gg_",
|
30
|
+
"_placement_top": "_placement_top_1jvy9_gg_",
|
31
|
+
"_placement_right": "_placement_right_1jvy9_gg_",
|
32
|
+
"_placement_left": "_placement_left_1jvy9_gg_",
|
33
|
+
"_placement_bottom": "_placement_bottom_1jvy9_gg_",
|
34
|
+
"__SDropZone": "___SDropZone_1jvy9_gg_",
|
35
|
+
"_dropPreview": "__dropPreview_1jvy9_gg_",
|
36
|
+
"_dark": "__dark_1jvy9_gg_",
|
37
|
+
"_keyboardFocused": "__keyboardFocused_1jvy9_gg_",
|
38
|
+
"_keyboardDragging": "__keyboardDragging_1jvy9_gg_",
|
39
|
+
"_reversedScaling": "__reversedScaling_1jvy9_gg_",
|
40
|
+
"_animatedScaling": "__animatedScaling_1jvy9_gg_",
|
41
|
+
"__SA11yHint": "___SA11yHint_1jvy9_gg_",
|
42
|
+
"_draggable": "__draggable_1jvy9_gg_",
|
43
|
+
"_hideHoverEffect": "__hideHoverEffect_1jvy9_gg_"
|
44
44
|
});
|
45
45
|
var noop = function noop() {
|
46
46
|
/* do nothing */
|
@@ -17,22 +17,22 @@ import { localizedMessages } from './translations/__intergalactic-dynamic-locale
|
|
17
17
|
import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
18
18
|
import useEnhancedEffect from 'intergalactic/utils/lib/use/useEnhancedEffect';
|
19
19
|
/*__reshadow-styles__:"./style/drag-and-drop.shadow.css"*/
|
20
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
21
|
-
"__SDraggable": "
|
22
|
-
"_placement_top": "
|
23
|
-
"_placement_right": "
|
24
|
-
"_placement_left": "
|
25
|
-
"_placement_bottom": "
|
26
|
-
"__SDropZone": "
|
27
|
-
"_dropPreview": "
|
28
|
-
"_dark": "
|
29
|
-
"_keyboardFocused": "
|
30
|
-
"_keyboardDragging": "
|
31
|
-
"_reversedScaling": "
|
32
|
-
"_animatedScaling": "
|
33
|
-
"__SA11yHint": "
|
34
|
-
"_draggable": "
|
35
|
-
"_hideHoverEffect": "
|
20
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDraggable_1jvy9_gg_.__draggable_1jvy9_gg_{position:relative;cursor:grab;-moz-user-select:none;-webkit-user-select:none;user-select:none}.___SDraggable_1jvy9_gg_.__draggable_1jvy9_gg_::before{content:\"\";position:absolute;display:none;pointer-events:none;background-image:radial-gradient(circle at center,var(--intergalactic-icon-primary-neutral, #6c6e79) 1px,transparent 0);background-size:6px 6px;background-position:2px 2px;background-repeat:repeat repeat}@media (hover:hover){.___SDraggable_1jvy9_gg_.__draggable_1jvy9_gg_:hover::before{display:block}}.___SDraggable_1jvy9_gg_.__draggable_1jvy9_gg_.__hideHoverEffect_1jvy9_gg_::before{display:none}.___SDraggable_1jvy9_gg_._placement_right_1jvy9_gg_::before{right:0}.___SDraggable_1jvy9_gg_._placement_bottom_1jvy9_gg_::before{bottom:0}.___SDraggable_1jvy9_gg_._placement_left_1jvy9_gg_::before{left:0}.___SDraggable_1jvy9_gg_._placement_top_1jvy9_gg_::before{top:0;left:0;width:100%;height:16px}.___SDraggable_1jvy9_gg_._placement_bottom_1jvy9_gg_::before{left:0;width:100%;height:16px}.___SDraggable_1jvy9_gg_._placement_left_1jvy9_gg_::before,.___SDraggable_1jvy9_gg_._placement_right_1jvy9_gg_::before{top:0;width:16px;height:100%}.___SDropZone_1jvy9_gg_{position:relative}.___SDraggable_1jvy9_gg_.__dropPreview_1jvy9_gg_,.___SDropZone_1jvy9_gg_.__dropPreview_1jvy9_gg_{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SDraggable_1jvy9_gg_.__dark_1jvy9_gg_.__dropPreview_1jvy9_gg_,.___SDropZone_1jvy9_gg_.__dark_1jvy9_gg_.__dropPreview_1jvy9_gg_{background-color:var(--intergalactic-bg-primary-invert-active, #484a54)}.___SDraggable_1jvy9_gg_:focus{outline:0}.___SDraggable_1jvy9_gg_.__keyboardFocused_1jvy9_gg_:focus{box-shadow:none}.___SDraggable_1jvy9_gg_.__keyboardFocused_1jvy9_gg_:focus:after{position:absolute;display:block;content:\"\";top:3px;right:3px;bottom:3px;left:3px;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none}.___SDraggable_1jvy9_gg_.__keyboardDragging_1jvy9_gg_{scale:1.1;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);box-shadow:var(--intergalactic-box-shadow-dnd, 0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 12px 40px 0px rgba(25, 27, 35, 0.16))!important}.___SDraggable_1jvy9_gg_.__keyboardDragging_1jvy9_gg_.__hideHoverEffect_1jvy9_gg_::before,.___SDraggable_1jvy9_gg_.__keyboardDragging_1jvy9_gg_::before{display:block}.___SDraggable_1jvy9_gg_.__keyboardDragging_1jvy9_gg_.__reversedScaling_1jvy9_gg_{scale:.95}.___SDraggable_1jvy9_gg_.__animatedScaling_1jvy9_gg_{transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SA11yHint_1jvy9_gg_{position:absolute;margin-top:-1px;height:1px;width:1px;clip:rect(0 0 0 0)}@media (prefers-reduced-motion:reduce){.___SDraggable_1jvy9_gg_{transition:none}}" /*__inner_css_end__*/, "1jvy9_gg_") /*__reshadow_css_end__*/, {
|
21
|
+
"__SDraggable": "___SDraggable_1jvy9_gg_",
|
22
|
+
"_placement_top": "_placement_top_1jvy9_gg_",
|
23
|
+
"_placement_right": "_placement_right_1jvy9_gg_",
|
24
|
+
"_placement_left": "_placement_left_1jvy9_gg_",
|
25
|
+
"_placement_bottom": "_placement_bottom_1jvy9_gg_",
|
26
|
+
"__SDropZone": "___SDropZone_1jvy9_gg_",
|
27
|
+
"_dropPreview": "__dropPreview_1jvy9_gg_",
|
28
|
+
"_dark": "__dark_1jvy9_gg_",
|
29
|
+
"_keyboardFocused": "__keyboardFocused_1jvy9_gg_",
|
30
|
+
"_keyboardDragging": "__keyboardDragging_1jvy9_gg_",
|
31
|
+
"_reversedScaling": "__reversedScaling_1jvy9_gg_",
|
32
|
+
"_animatedScaling": "__animatedScaling_1jvy9_gg_",
|
33
|
+
"__SA11yHint": "___SA11yHint_1jvy9_gg_",
|
34
|
+
"_draggable": "__draggable_1jvy9_gg_",
|
35
|
+
"_hideHoverEffect": "__hideHoverEffect_1jvy9_gg_"
|
36
36
|
});
|
37
37
|
import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
38
38
|
import { ScreenReaderOnly } from 'intergalactic/flex-box';
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/drag-and-drop","description":"Semrush DragAndDrop Component","version":"3.45.
|
1
|
+
{"name":"intergalactic/drag-and-drop","description":"Semrush DragAndDrop Component","version":"3.45.1-prerelease.0","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/card":"5.44.1-prerelease.0","@semcore/flex-box":"5.39.0","@semcore/grid":"5.38.0","@semcore/utils":"4.44.0"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/drag-and-drop"},"devDependencies":{"@semcore/badge":"*","@semcore/icon":"*","@semcore/testing-utils":"1.0.0","@semcore/tab-panel":"*","@types/react":"18.0.21"}}
|
@@ -44,19 +44,23 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
44
44
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleClickTrigger", function (e) {
|
45
45
|
var interaction = _this.asProps.interaction;
|
46
46
|
if (interaction === 'none') return false;
|
47
|
-
e.preventDefault();
|
48
|
-
e.stopPropagation();
|
49
|
-
_this.handlers.visible(true);
|
50
47
|
setTimeout(function () {
|
51
|
-
var _this$asProps
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
_this.handlers.highlightedIndex(highlightedIndex);
|
48
|
+
var _this$asProps = _this.asProps,
|
49
|
+
visible = _this$asProps.visible,
|
50
|
+
inlineActions = _this$asProps.inlineActions;
|
51
|
+
if (visible || inlineActions) {
|
52
|
+
_this.afterOpenPopper();
|
57
53
|
}
|
58
|
-
},
|
59
|
-
|
54
|
+
}, 200); // because first will be executed onClick handler in popper
|
55
|
+
});
|
56
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "afterOpenPopper", function () {
|
57
|
+
var _this$asProps$highlig;
|
58
|
+
var highlightedIndex = (_this$asProps$highlig = _this.asProps.highlightedIndex) !== null && _this$asProps$highlig !== void 0 ? _this$asProps$highlig : 0;
|
59
|
+
var element = _this.itemRefs[highlightedIndex];
|
60
|
+
element === null || element === void 0 ? void 0 : element.focus();
|
61
|
+
if (_this.role === 'menu') {
|
62
|
+
_this.handlers.highlightedIndex(highlightedIndex);
|
63
|
+
}
|
60
64
|
});
|
61
65
|
return _this;
|
62
66
|
}
|
@@ -83,12 +87,12 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
83
87
|
}, {
|
84
88
|
key: "getTriggerProps",
|
85
89
|
value: function getTriggerProps() {
|
86
|
-
var _this$
|
87
|
-
size = _this$
|
88
|
-
uid = _this$
|
89
|
-
disablePortal = _this$
|
90
|
-
visible = _this$
|
91
|
-
getI18nText = _this$
|
90
|
+
var _this$asProps2 = this.asProps,
|
91
|
+
size = _this$asProps2.size,
|
92
|
+
uid = _this$asProps2.uid,
|
93
|
+
disablePortal = _this$asProps2.disablePortal,
|
94
|
+
visible = _this$asProps2.visible,
|
95
|
+
getI18nText = _this$asProps2.getI18nText;
|
92
96
|
return {
|
93
97
|
size: size,
|
94
98
|
id: "igc-".concat(uid, "-trigger"),
|
@@ -112,12 +116,12 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
112
116
|
}, {
|
113
117
|
key: "getPopperProps",
|
114
118
|
value: function getPopperProps() {
|
115
|
-
var _this$
|
116
|
-
uid = _this$
|
117
|
-
disablePortal = _this$
|
118
|
-
ignorePortalsStacking = _this$
|
119
|
-
interaction = _this$
|
120
|
-
highlightedIndex = _this$
|
119
|
+
var _this$asProps3 = this.asProps,
|
120
|
+
uid = _this$asProps3.uid,
|
121
|
+
disablePortal = _this$asProps3.disablePortal,
|
122
|
+
ignorePortalsStacking = _this$asProps3.ignorePortalsStacking,
|
123
|
+
interaction = _this$asProps3.interaction,
|
124
|
+
highlightedIndex = _this$asProps3.highlightedIndex;
|
121
125
|
return {
|
122
126
|
ref: this.popperRef,
|
123
127
|
tabIndex: -1,
|
@@ -141,9 +145,9 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
141
145
|
key: "getItemProps",
|
142
146
|
value: function getItemProps(_, index) {
|
143
147
|
var _this3 = this;
|
144
|
-
var _this$
|
145
|
-
size = _this$
|
146
|
-
uid = _this$
|
148
|
+
var _this$asProps4 = this.asProps,
|
149
|
+
size = _this$asProps4.size,
|
150
|
+
uid = _this$asProps4.uid;
|
147
151
|
return {
|
148
152
|
id: "igc-".concat(uid, "-option-").concat(index),
|
149
153
|
size: size,
|
@@ -199,7 +203,7 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
199
203
|
var selectedIndex = this.itemProps.findIndex(function (item) {
|
200
204
|
return item.selected;
|
201
205
|
});
|
202
|
-
if (itemsLastIndex < 0) return
|
206
|
+
if (itemsLastIndex < 0) return -1;
|
203
207
|
var innerHighlightedIndex;
|
204
208
|
if (highlightedIndex == null) {
|
205
209
|
if (selectedIndex !== -1) {
|
@@ -221,7 +225,7 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
221
225
|
if ((_this$itemProps$newIn = this.itemProps[newIndex]) !== null && _this$itemProps$newIn !== void 0 && _this$itemProps$newIn.disabled) {
|
222
226
|
return this.getHighlightedIndex(amount < 0 ? amount - 1 : amount + 1);
|
223
227
|
} else if (!this.itemProps[newIndex]) {
|
224
|
-
return
|
228
|
+
return -1;
|
225
229
|
} else {
|
226
230
|
return newIndex;
|
227
231
|
}
|
@@ -229,9 +233,9 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
229
233
|
}, {
|
230
234
|
key: "componentDidUpdate",
|
231
235
|
value: function componentDidUpdate(prevProps) {
|
232
|
-
var _this$
|
233
|
-
visible = _this$
|
234
|
-
focusSourceRef = _this$
|
236
|
+
var _this$asProps5 = this.asProps,
|
237
|
+
visible = _this$asProps5.visible,
|
238
|
+
focusSourceRef = _this$asProps5.focusSourceRef;
|
235
239
|
var visibilityChanged = visible !== prevProps.visible;
|
236
240
|
if (visibilityChanged && prevProps.visible !== undefined) {
|
237
241
|
if (!visible) {
|
@@ -273,6 +277,9 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
273
277
|
key: "handleOpenKeyDown",
|
274
278
|
value: function handleOpenKeyDown(e) {
|
275
279
|
if (this.asProps.visible !== true && ['ArrowDown', 'ArrowUp', 'Enter', ' '].includes(e.key) && e.currentTarget.getAttribute('role') !== this.childRole) {
|
280
|
+
if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
|
281
|
+
this.handlers.visible(true);
|
282
|
+
}
|
276
283
|
this.handleClickTrigger(e);
|
277
284
|
}
|
278
285
|
}
|
@@ -280,9 +287,9 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
280
287
|
key: "handleArrowKeyDown",
|
281
288
|
value: function handleArrowKeyDown(e) {
|
282
289
|
var amountCount = e.shiftKey ? 5 : 1;
|
283
|
-
var _this$
|
284
|
-
highlightedIndex = _this$
|
285
|
-
inlineActions = _this$
|
290
|
+
var _this$asProps6 = this.asProps,
|
291
|
+
highlightedIndex = _this$asProps6.highlightedIndex,
|
292
|
+
inlineActions = _this$asProps6.inlineActions;
|
286
293
|
var amount = null;
|
287
294
|
switch (e.key) {
|
288
295
|
case 'ArrowDown':
|
@@ -315,7 +322,7 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
315
322
|
}
|
316
323
|
case ' ':
|
317
324
|
case 'Enter':
|
318
|
-
if (this.highlightedItemRef.current && highlightedIndex !== null) {
|
325
|
+
if (this.highlightedItemRef.current && highlightedIndex !== null && !this.itemProps[highlightedIndex].disabled) {
|
319
326
|
e.stopPropagation();
|
320
327
|
e.preventDefault();
|
321
328
|
this.highlightedItemRef.current.click();
|
@@ -324,14 +331,16 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
324
331
|
}
|
325
332
|
if (amount !== null) {
|
326
333
|
var newHighlightedIndex = this.getHighlightedIndex(amount);
|
327
|
-
if (newHighlightedIndex !== undefined && this.role === 'menu') {
|
328
|
-
var _this$itemRefs$newHig;
|
329
|
-
(_this$itemRefs$newHig = this.itemRefs[newHighlightedIndex]) === null || _this$itemRefs$newHig === void 0 ? void 0 : _this$itemRefs$newHig.focus();
|
330
|
-
}
|
331
334
|
if (this.role === 'listbox' && this.triggerRef.current && !(0, _useFocusLock.isFocusInside)(this.triggerRef.current)) {
|
332
335
|
this.focusTrigger();
|
333
336
|
}
|
334
|
-
|
337
|
+
if (newHighlightedIndex !== -1) {
|
338
|
+
this.handlers.highlightedIndex(newHighlightedIndex, e);
|
339
|
+
if (this.role === 'menu') {
|
340
|
+
var _this$itemRefs$newHig;
|
341
|
+
(_this$itemRefs$newHig = this.itemRefs[newHighlightedIndex]) === null || _this$itemRefs$newHig === void 0 ? void 0 : _this$itemRefs$newHig.focus();
|
342
|
+
}
|
343
|
+
}
|
335
344
|
e.preventDefault();
|
336
345
|
e.stopPropagation();
|
337
346
|
}
|
@@ -348,9 +357,9 @@ var AbstractDropdown = /*#__PURE__*/function (_Component) {
|
|
348
357
|
key: "getBasicListProps",
|
349
358
|
value: function getBasicListProps() {
|
350
359
|
var _this$triggerRef$curr;
|
351
|
-
var _this$
|
352
|
-
size = _this$
|
353
|
-
uid = _this$
|
360
|
+
var _this$asProps7 = this.asProps,
|
361
|
+
size = _this$asProps7.size,
|
362
|
+
uid = _this$asProps7.uid;
|
354
363
|
var triggerId = (_this$triggerRef$curr = this.triggerRef.current) === null || _this$triggerRef$curr === void 0 ? void 0 : _this$triggerRef$curr.id;
|
355
364
|
var triggerElement = triggerId ? document.getElementById(triggerId) : null;
|
356
365
|
return {
|