intergalactic 15.116.0-prerelease.0 → 15.117.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 +38 -0
- package/accordion/package.json +1 -1
- package/animation/package.json +1 -1
- package/badge/package.json +1 -1
- package/base-trigger/package.json +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/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/index.d.ts +2 -2
- 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/cjs/index.d.js.map +1 -1
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/es6/index.d.js.map +1 -1
- package/color-picker/lib/types/index.d.ts +2 -2
- package/color-picker/package.json +1 -1
- package/components.json +21 -21
- package/core/package.json +1 -1
- package/counter/package.json +1 -1
- 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/cjs/translations/de.json +1 -0
- package/date-picker/lib/cjs/translations/en.json +1 -1
- package/date-picker/lib/cjs/translations/es.json +1 -0
- package/date-picker/lib/cjs/translations/fr.json +1 -0
- package/date-picker/lib/cjs/translations/it.json +1 -0
- package/date-picker/lib/cjs/translations/ja.json +1 -0
- package/date-picker/lib/cjs/translations/ko.json +1 -0
- package/date-picker/lib/cjs/translations/nl.json +1 -0
- package/date-picker/lib/cjs/translations/pl.json +1 -0
- package/date-picker/lib/cjs/translations/pt.json +1 -0
- package/date-picker/lib/cjs/translations/sv.json +1 -0
- package/date-picker/lib/cjs/translations/tr.json +1 -0
- package/date-picker/lib/cjs/translations/vi.json +1 -0
- package/date-picker/lib/cjs/translations/zh.json +1 -0
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/translations/de.json +1 -0
- package/date-picker/lib/es6/translations/en.json +1 -1
- package/date-picker/lib/es6/translations/es.json +1 -0
- package/date-picker/lib/es6/translations/fr.json +1 -0
- package/date-picker/lib/es6/translations/it.json +1 -0
- package/date-picker/lib/es6/translations/ja.json +1 -0
- package/date-picker/lib/es6/translations/ko.json +1 -0
- package/date-picker/lib/es6/translations/nl.json +1 -0
- package/date-picker/lib/es6/translations/pl.json +1 -0
- package/date-picker/lib/es6/translations/pt.json +1 -0
- package/date-picker/lib/es6/translations/sv.json +1 -0
- package/date-picker/lib/es6/translations/tr.json +1 -0
- package/date-picker/lib/es6/translations/vi.json +1 -0
- package/date-picker/lib/es6/translations/zh.json +1 -0
- 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/package.json +1 -1
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +14 -13
- package/ellipsis/lib/cjs/Ellipsis.js.map +1 -1
- package/ellipsis/lib/es6/Ellipsis.js +14 -13
- package/ellipsis/lib/es6/Ellipsis.js.map +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/lib/cjs/FeaturePopover.js +13 -11
- package/feature-popover/lib/cjs/FeaturePopover.js.map +1 -1
- package/feature-popover/lib/es6/FeaturePopover.js +13 -11
- package/feature-popover/lib/es6/FeaturePopover.js.map +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-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +6 -6
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +6 -6
- package/feedback-form/package.json +1 -1
- package/flags/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/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 +9 -11
- package/input-number/lib/cjs/InputNumber.js.map +1 -1
- package/input-number/lib/es6/InputNumber.js +9 -11
- package/input-number/lib/es6/InputNumber.js.map +1 -1
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +13 -13
- package/input-tags/lib/cjs/InputTags.js.map +1 -1
- package/input-tags/lib/es6/InputTags.js +13 -13
- package/input-tags/lib/es6/InputTags.js.map +1 -1
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/package.json +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 +56 -57
- package/pagination/lib/cjs/Pagination.js.map +1 -1
- package/pagination/lib/es6/Pagination.js +56 -57
- package/pagination/lib/es6/Pagination.js.map +1 -1
- 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 +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/package.json +1 -1
- package/side-panel/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/lib/cjs/Tag.js +24 -24
- package/tag/lib/cjs/Tag.js.map +1 -1
- package/tag/lib/cjs/style/tag.shadow.css +6 -2
- package/tag/lib/es6/Tag.js +24 -24
- package/tag/lib/es6/Tag.js.map +1 -1
- package/tag/lib/es6/style/tag.shadow.css +6 -2
- 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/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/cjs/style/tooltip.shadow.css +3 -1
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/es6/style/tooltip.shadow.css +3 -1
- package/tooltip/package.json +1 -1
- package/typography/package.json +1 -1
- 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_oyhqa_gg_{padding:var(--intergalactic-spacing-4x, 16px);outline:0}.___SPopper_oyhqa_gg_::-moz-focus-inner{border:0;padding:0}.___SPopper_oyhqa_gg_:active,.___SPopper_oyhqa_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SPopper_oyhqa_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SPopper_oyhqa_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHeader_oyhqa_gg_,.___STitle_oyhqa_gg_{display:flex;align-items:center}.___STitle_oyhqa_gg_{font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-primary, #191b23);height:32px;width:100%;justify-content:center}.___SToday_oyhqa_gg_{display:flex;margin-top:var(--intergalactic-spacing-3x, 12px);justify-content:center}.___SPeriod_oyhqa_gg_{display:flex;flex-direction:column;margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SButton_oyhqa_gg_ .___SInner_oyhqa_gg_{justify-content:flex-start}.___SInputMask_oyhqa_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_oyhqa_gg_.__animationsDisabled_oyhqa_gg_{transition:none}.___SInputMask_oyhqa_gg_ .___SValue_oyhqa_gg_{letter-spacing:0}.___SIndicator_oyhqa_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SRangeIndicator_oyhqa_gg_{border-radius:50%;flex-shrink:0}.___SRangeIndicator_oyhqa_gg_._range_value_oyhqa_gg_{background-color:var(--intergalactic-date-picker-cell-active, #2bb3ff)}.___SRangeIndicator_oyhqa_gg_._range_compare_oyhqa_gg_{background-color:var(--intergalactic-date-picker-cell-comparison-active, #8649e1)}.___SRangeIndicator_oyhqa_gg_.__disabled_oyhqa_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SHumanizedDate_oyhqa_gg_{position:absolute;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.___SMask_oyhqa_gg_{letter-spacing:0;white-space:nowrap;overflow:hidden}.___SDateRange_oyhqa_gg_ .___SMask_oyhqa_gg_,.___SDateRange_oyhqa_gg_ .___SValue_oyhqa_gg_,.___SSingleDateInput_oyhqa_gg_ .___SMask_oyhqa_gg_,.___SSingleDateInput_oyhqa_gg_ .___SValue_oyhqa_gg_{opacity:0}.___SSingleDateInput_oyhqa_gg_:focus-within .___SHumanizedDate_oyhqa_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SSingleDateInput_oyhqa_gg_:focus-within .___SMask_oyhqa_gg_,.___SSingleDateInput_oyhqa_gg_:focus-within .___SValue_oyhqa_gg_{opacity:1}.___SDateRange_oyhqa_gg_:focus-within .___SHumanizedDate_oyhqa_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SDateRange_oyhqa_gg_:focus-within .___SMask_oyhqa_gg_,.___SDateRange_oyhqa_gg_:focus-within .___SValue_oyhqa_gg_{opacity:1}.___SInputMask_oyhqa_gg_.__noHumanizedDate_oyhqa_gg_ .___SMask_oyhqa_gg_,.___SInputMask_oyhqa_gg_.__noHumanizedDate_oyhqa_gg_ .___SValue_oyhqa_gg_{opacity:1}.___SDateRange_oyhqa_gg_ .___SInputMask_oyhqa_gg_:focus-within .___SMask_oyhqa_gg_{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SDateRange_oyhqa_gg_:focus-within .___SRangeSep_oyhqa_gg_,.___SRangeSep_oyhqa_gg_.__fulfilled_oyhqa_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SRangeComparatorHeader_oyhqa_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SRangeCalendar_oyhqa_gg_,.___SRangeComparatorHeader_oyhqa_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___SFooter_oyhqa_gg_{border-top:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SFooter_oyhqa_gg_,.___SPeriodsList_oyhqa_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___STooltip_oyhqa_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SCompareToggle_oyhqa_gg_{white-space:nowrap}@media (prefers-reduced-motion){.___SInputMask_oyhqa_gg_{transition:none}}" /*__inner_css_end__*/, "oyhqa_gg_") /*__reshadow_css_end__*/, {
|
17
|
+
"__SHeader": "___SHeader_oyhqa_gg_",
|
18
|
+
"__STitle": "___STitle_oyhqa_gg_",
|
19
|
+
"__SToday": "___SToday_oyhqa_gg_",
|
20
|
+
"__SPeriod": "___SPeriod_oyhqa_gg_",
|
21
|
+
"__SButton": "___SButton_oyhqa_gg_",
|
22
|
+
"__SInner": "___SInner_oyhqa_gg_",
|
23
|
+
"__SInputMask": "___SInputMask_oyhqa_gg_",
|
24
|
+
"_animationsDisabled": "__animationsDisabled_oyhqa_gg_",
|
25
|
+
"__SValue": "___SValue_oyhqa_gg_",
|
26
|
+
"__SIndicator": "___SIndicator_oyhqa_gg_",
|
27
|
+
"__SRangeIndicator": "___SRangeIndicator_oyhqa_gg_",
|
28
|
+
"_range_value": "_range_value_oyhqa_gg_",
|
29
|
+
"_range_compare": "_range_compare_oyhqa_gg_",
|
30
|
+
"_disabled": "__disabled_oyhqa_gg_",
|
31
|
+
"__SHumanizedDate": "___SHumanizedDate_oyhqa_gg_",
|
32
|
+
"__SMask": "___SMask_oyhqa_gg_",
|
33
|
+
"__SSingleDateInput": "___SSingleDateInput_oyhqa_gg_",
|
34
|
+
"__SDateRange": "___SDateRange_oyhqa_gg_",
|
35
|
+
"_noHumanizedDate": "__noHumanizedDate_oyhqa_gg_",
|
36
|
+
"__SRangeSep": "___SRangeSep_oyhqa_gg_",
|
37
|
+
"_fulfilled": "__fulfilled_oyhqa_gg_",
|
38
|
+
"__SRangeComparatorHeader": "___SRangeComparatorHeader_oyhqa_gg_",
|
39
|
+
"__SRangeCalendar": "___SRangeCalendar_oyhqa_gg_",
|
40
|
+
"__SFooter": "___SFooter_oyhqa_gg_",
|
41
|
+
"__SPeriodsList": "___SPeriodsList_oyhqa_gg_",
|
42
|
+
"__STooltip": "___STooltip_oyhqa_gg_",
|
43
|
+
"__SCompareToggle": "___SCompareToggle_oyhqa_gg_",
|
44
|
+
"__SPopper": "___SPopper_oyhqa_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_oyhqa_gg_{padding:var(--intergalactic-spacing-4x, 16px);outline:0}.___SPopper_oyhqa_gg_::-moz-focus-inner{border:0;padding:0}.___SPopper_oyhqa_gg_:active,.___SPopper_oyhqa_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SPopper_oyhqa_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SPopper_oyhqa_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHeader_oyhqa_gg_,.___STitle_oyhqa_gg_{display:flex;align-items:center}.___STitle_oyhqa_gg_{font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-primary, #191b23);height:32px;width:100%;justify-content:center}.___SToday_oyhqa_gg_{display:flex;margin-top:var(--intergalactic-spacing-3x, 12px);justify-content:center}.___SPeriod_oyhqa_gg_{display:flex;flex-direction:column;margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SButton_oyhqa_gg_ .___SInner_oyhqa_gg_{justify-content:flex-start}.___SInputMask_oyhqa_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_oyhqa_gg_.__animationsDisabled_oyhqa_gg_{transition:none}.___SInputMask_oyhqa_gg_ .___SValue_oyhqa_gg_{letter-spacing:0}.___SIndicator_oyhqa_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SRangeIndicator_oyhqa_gg_{border-radius:50%;flex-shrink:0}.___SRangeIndicator_oyhqa_gg_._range_value_oyhqa_gg_{background-color:var(--intergalactic-date-picker-cell-active, #2bb3ff)}.___SRangeIndicator_oyhqa_gg_._range_compare_oyhqa_gg_{background-color:var(--intergalactic-date-picker-cell-comparison-active, #8649e1)}.___SRangeIndicator_oyhqa_gg_.__disabled_oyhqa_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SHumanizedDate_oyhqa_gg_{position:absolute;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.___SMask_oyhqa_gg_{letter-spacing:0;white-space:nowrap;overflow:hidden}.___SDateRange_oyhqa_gg_ .___SMask_oyhqa_gg_,.___SDateRange_oyhqa_gg_ .___SValue_oyhqa_gg_,.___SSingleDateInput_oyhqa_gg_ .___SMask_oyhqa_gg_,.___SSingleDateInput_oyhqa_gg_ .___SValue_oyhqa_gg_{opacity:0}.___SSingleDateInput_oyhqa_gg_:focus-within .___SHumanizedDate_oyhqa_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SSingleDateInput_oyhqa_gg_:focus-within .___SMask_oyhqa_gg_,.___SSingleDateInput_oyhqa_gg_:focus-within .___SValue_oyhqa_gg_{opacity:1}.___SDateRange_oyhqa_gg_:focus-within .___SHumanizedDate_oyhqa_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SDateRange_oyhqa_gg_:focus-within .___SMask_oyhqa_gg_,.___SDateRange_oyhqa_gg_:focus-within .___SValue_oyhqa_gg_{opacity:1}.___SInputMask_oyhqa_gg_.__noHumanizedDate_oyhqa_gg_ .___SMask_oyhqa_gg_,.___SInputMask_oyhqa_gg_.__noHumanizedDate_oyhqa_gg_ .___SValue_oyhqa_gg_{opacity:1}.___SDateRange_oyhqa_gg_ .___SInputMask_oyhqa_gg_:focus-within .___SMask_oyhqa_gg_{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SDateRange_oyhqa_gg_:focus-within .___SRangeSep_oyhqa_gg_,.___SRangeSep_oyhqa_gg_.__fulfilled_oyhqa_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SRangeComparatorHeader_oyhqa_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SRangeCalendar_oyhqa_gg_,.___SRangeComparatorHeader_oyhqa_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___SFooter_oyhqa_gg_{border-top:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SFooter_oyhqa_gg_,.___SPeriodsList_oyhqa_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___STooltip_oyhqa_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SCompareToggle_oyhqa_gg_{white-space:nowrap}@media (prefers-reduced-motion){.___SInputMask_oyhqa_gg_{transition:none}}" /*__inner_css_end__*/, "oyhqa_gg_") /*__reshadow_css_end__*/, {
|
25
|
+
"__SHeader": "___SHeader_oyhqa_gg_",
|
26
|
+
"__STitle": "___STitle_oyhqa_gg_",
|
27
|
+
"__SToday": "___SToday_oyhqa_gg_",
|
28
|
+
"__SPeriod": "___SPeriod_oyhqa_gg_",
|
29
|
+
"__SButton": "___SButton_oyhqa_gg_",
|
30
|
+
"__SInner": "___SInner_oyhqa_gg_",
|
31
|
+
"__SInputMask": "___SInputMask_oyhqa_gg_",
|
32
|
+
"_animationsDisabled": "__animationsDisabled_oyhqa_gg_",
|
33
|
+
"__SValue": "___SValue_oyhqa_gg_",
|
34
|
+
"__SIndicator": "___SIndicator_oyhqa_gg_",
|
35
|
+
"__SRangeIndicator": "___SRangeIndicator_oyhqa_gg_",
|
36
|
+
"_range_value": "_range_value_oyhqa_gg_",
|
37
|
+
"_range_compare": "_range_compare_oyhqa_gg_",
|
38
|
+
"_disabled": "__disabled_oyhqa_gg_",
|
39
|
+
"__SHumanizedDate": "___SHumanizedDate_oyhqa_gg_",
|
40
|
+
"__SMask": "___SMask_oyhqa_gg_",
|
41
|
+
"__SSingleDateInput": "___SSingleDateInput_oyhqa_gg_",
|
42
|
+
"__SDateRange": "___SDateRange_oyhqa_gg_",
|
43
|
+
"_noHumanizedDate": "__noHumanizedDate_oyhqa_gg_",
|
44
|
+
"__SRangeSep": "___SRangeSep_oyhqa_gg_",
|
45
|
+
"_fulfilled": "__fulfilled_oyhqa_gg_",
|
46
|
+
"__SRangeComparatorHeader": "___SRangeComparatorHeader_oyhqa_gg_",
|
47
|
+
"__SRangeCalendar": "___SRangeCalendar_oyhqa_gg_",
|
48
|
+
"__SFooter": "___SFooter_oyhqa_gg_",
|
49
|
+
"__SPeriodsList": "___SPeriodsList_oyhqa_gg_",
|
50
|
+
"__STooltip": "___STooltip_oyhqa_gg_",
|
51
|
+
"__SCompareToggle": "___SCompareToggle_oyhqa_gg_",
|
52
|
+
"__SPopper": "___SPopper_oyhqa_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.3-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.43.2","@semcore/base-trigger":"4.48.1","@semcore/button":"5.39.3-prerelease.0","@semcore/divider":"4.37.1","@semcore/dropdown":"4.41.2","@semcore/flex-box":"5.38.1","@semcore/icon":"4.52.1","@semcore/input":"4.39.1","@semcore/input-mask":"5.40.1","@semcore/neighbor-location":"4.36.1","@semcore/typography":"5.47.1","@semcore/checkbox":"7.41.1","@semcore/tooltip":"6.46.2-prerelease.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.37.1
|
1
|
+
{"name":"intergalactic/divider","description":"Semrush Divider Component","version":"4.37.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/utils":"4.43.2","@semcore/flex-box":"5.38.1"},"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.37.1
|
1
|
+
{"name":"intergalactic/dot","description":"Semrush Dot Component","version":"5.37.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/animation":"2.38.1","@semcore/flex-box":"5.38.1","@semcore/portal":"3.38.1","@semcore/utils":"4.43.2"},"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"}}
|
@@ -26,22 +26,22 @@ var _ScreenReaderOnly = require("intergalactic/utils/lib/ScreenReaderOnly");
|
|
26
26
|
var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID"));
|
27
27
|
var _canUseDOM = _interopRequireDefault(require("intergalactic/utils/lib/canUseDOM"));
|
28
28
|
/*__reshadow-styles__:"./style/drag-and-drop.shadow.css"*/
|
29
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
30
|
-
"__SDraggable": "
|
31
|
-
"_placement_top": "
|
32
|
-
"_placement_right": "
|
33
|
-
"_placement_left": "
|
34
|
-
"_placement_bottom": "
|
35
|
-
"__SDropZone": "
|
36
|
-
"_dropPreview": "
|
37
|
-
"_dark": "
|
38
|
-
"_keyboardFocused": "
|
39
|
-
"_keyboardDragging": "
|
40
|
-
"_reversedScaling": "
|
41
|
-
"_animatedScaling": "
|
42
|
-
"__SA11yHint": "
|
43
|
-
"_draggable": "
|
44
|
-
"_hideHoverEffect": "
|
29
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SDraggable_18mhc_gg_.__draggable_18mhc_gg_{position:relative;cursor:grab;-moz-user-select:none;-webkit-user-select:none;user-select:none}.___SDraggable_18mhc_gg_.__draggable_18mhc_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_18mhc_gg_.__draggable_18mhc_gg_:hover::before{display:block}}.___SDraggable_18mhc_gg_.__draggable_18mhc_gg_.__hideHoverEffect_18mhc_gg_::before{display:none}.___SDraggable_18mhc_gg_._placement_right_18mhc_gg_::before{right:0}.___SDraggable_18mhc_gg_._placement_bottom_18mhc_gg_::before{bottom:0}.___SDraggable_18mhc_gg_._placement_left_18mhc_gg_::before{left:0}.___SDraggable_18mhc_gg_._placement_top_18mhc_gg_::before{top:0;left:0;width:100%;height:16px}.___SDraggable_18mhc_gg_._placement_bottom_18mhc_gg_::before{left:0;width:100%;height:16px}.___SDraggable_18mhc_gg_._placement_left_18mhc_gg_::before,.___SDraggable_18mhc_gg_._placement_right_18mhc_gg_::before{top:0;width:16px;height:100%}.___SDropZone_18mhc_gg_{position:relative}.___SDraggable_18mhc_gg_.__dropPreview_18mhc_gg_,.___SDropZone_18mhc_gg_.__dropPreview_18mhc_gg_{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SDraggable_18mhc_gg_.__dark_18mhc_gg_.__dropPreview_18mhc_gg_,.___SDropZone_18mhc_gg_.__dark_18mhc_gg_.__dropPreview_18mhc_gg_{background-color:var(--intergalactic-bg-primary-invert-active, #484a54)}.___SDraggable_18mhc_gg_:focus{outline:0}.___SDraggable_18mhc_gg_.__keyboardFocused_18mhc_gg_:focus{box-shadow:none}.___SDraggable_18mhc_gg_.__keyboardFocused_18mhc_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_18mhc_gg_.__keyboardDragging_18mhc_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_18mhc_gg_.__keyboardDragging_18mhc_gg_.__hideHoverEffect_18mhc_gg_::before,.___SDraggable_18mhc_gg_.__keyboardDragging_18mhc_gg_::before{display:block}.___SDraggable_18mhc_gg_.__keyboardDragging_18mhc_gg_.__reversedScaling_18mhc_gg_{scale:.95}.___SDraggable_18mhc_gg_.__animatedScaling_18mhc_gg_{transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SA11yHint_18mhc_gg_{position:absolute;margin-top:-1px;height:1px;width:1px;clip:rect(0 0 0 0)}@media (prefers-reduced-motion:reduce){.___SDraggable_18mhc_gg_{transition:none}}" /*__inner_css_end__*/, "18mhc_gg_") /*__reshadow_css_end__*/, {
|
30
|
+
"__SDraggable": "___SDraggable_18mhc_gg_",
|
31
|
+
"_placement_top": "_placement_top_18mhc_gg_",
|
32
|
+
"_placement_right": "_placement_right_18mhc_gg_",
|
33
|
+
"_placement_left": "_placement_left_18mhc_gg_",
|
34
|
+
"_placement_bottom": "_placement_bottom_18mhc_gg_",
|
35
|
+
"__SDropZone": "___SDropZone_18mhc_gg_",
|
36
|
+
"_dropPreview": "__dropPreview_18mhc_gg_",
|
37
|
+
"_dark": "__dark_18mhc_gg_",
|
38
|
+
"_keyboardFocused": "__keyboardFocused_18mhc_gg_",
|
39
|
+
"_keyboardDragging": "__keyboardDragging_18mhc_gg_",
|
40
|
+
"_reversedScaling": "__reversedScaling_18mhc_gg_",
|
41
|
+
"_animatedScaling": "__animatedScaling_18mhc_gg_",
|
42
|
+
"__SA11yHint": "___SA11yHint_18mhc_gg_",
|
43
|
+
"_draggable": "__draggable_18mhc_gg_",
|
44
|
+
"_hideHoverEffect": "__hideHoverEffect_18mhc_gg_"
|
45
45
|
});
|
46
46
|
var noop = function noop() {
|
47
47
|
/* 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_18mhc_gg_.__draggable_18mhc_gg_{position:relative;cursor:grab;-moz-user-select:none;-webkit-user-select:none;user-select:none}.___SDraggable_18mhc_gg_.__draggable_18mhc_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_18mhc_gg_.__draggable_18mhc_gg_:hover::before{display:block}}.___SDraggable_18mhc_gg_.__draggable_18mhc_gg_.__hideHoverEffect_18mhc_gg_::before{display:none}.___SDraggable_18mhc_gg_._placement_right_18mhc_gg_::before{right:0}.___SDraggable_18mhc_gg_._placement_bottom_18mhc_gg_::before{bottom:0}.___SDraggable_18mhc_gg_._placement_left_18mhc_gg_::before{left:0}.___SDraggable_18mhc_gg_._placement_top_18mhc_gg_::before{top:0;left:0;width:100%;height:16px}.___SDraggable_18mhc_gg_._placement_bottom_18mhc_gg_::before{left:0;width:100%;height:16px}.___SDraggable_18mhc_gg_._placement_left_18mhc_gg_::before,.___SDraggable_18mhc_gg_._placement_right_18mhc_gg_::before{top:0;width:16px;height:100%}.___SDropZone_18mhc_gg_{position:relative}.___SDraggable_18mhc_gg_.__dropPreview_18mhc_gg_,.___SDropZone_18mhc_gg_.__dropPreview_18mhc_gg_{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SDraggable_18mhc_gg_.__dark_18mhc_gg_.__dropPreview_18mhc_gg_,.___SDropZone_18mhc_gg_.__dark_18mhc_gg_.__dropPreview_18mhc_gg_{background-color:var(--intergalactic-bg-primary-invert-active, #484a54)}.___SDraggable_18mhc_gg_:focus{outline:0}.___SDraggable_18mhc_gg_.__keyboardFocused_18mhc_gg_:focus{box-shadow:none}.___SDraggable_18mhc_gg_.__keyboardFocused_18mhc_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_18mhc_gg_.__keyboardDragging_18mhc_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_18mhc_gg_.__keyboardDragging_18mhc_gg_.__hideHoverEffect_18mhc_gg_::before,.___SDraggable_18mhc_gg_.__keyboardDragging_18mhc_gg_::before{display:block}.___SDraggable_18mhc_gg_.__keyboardDragging_18mhc_gg_.__reversedScaling_18mhc_gg_{scale:.95}.___SDraggable_18mhc_gg_.__animatedScaling_18mhc_gg_{transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SA11yHint_18mhc_gg_{position:absolute;margin-top:-1px;height:1px;width:1px;clip:rect(0 0 0 0)}@media (prefers-reduced-motion:reduce){.___SDraggable_18mhc_gg_{transition:none}}" /*__inner_css_end__*/, "18mhc_gg_") /*__reshadow_css_end__*/, {
|
21
|
+
"__SDraggable": "___SDraggable_18mhc_gg_",
|
22
|
+
"_placement_top": "_placement_top_18mhc_gg_",
|
23
|
+
"_placement_right": "_placement_right_18mhc_gg_",
|
24
|
+
"_placement_left": "_placement_left_18mhc_gg_",
|
25
|
+
"_placement_bottom": "_placement_bottom_18mhc_gg_",
|
26
|
+
"__SDropZone": "___SDropZone_18mhc_gg_",
|
27
|
+
"_dropPreview": "__dropPreview_18mhc_gg_",
|
28
|
+
"_dark": "__dark_18mhc_gg_",
|
29
|
+
"_keyboardFocused": "__keyboardFocused_18mhc_gg_",
|
30
|
+
"_keyboardDragging": "__keyboardDragging_18mhc_gg_",
|
31
|
+
"_reversedScaling": "__reversedScaling_18mhc_gg_",
|
32
|
+
"_animatedScaling": "__animatedScaling_18mhc_gg_",
|
33
|
+
"__SA11yHint": "___SA11yHint_18mhc_gg_",
|
34
|
+
"_draggable": "__draggable_18mhc_gg_",
|
35
|
+
"_hideHoverEffect": "__hideHoverEffect_18mhc_gg_"
|
36
36
|
});
|
37
37
|
import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
38
38
|
import { ScreenReaderOnly } from 'intergalactic/utils/lib/ScreenReaderOnly';
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/drag-and-drop","description":"Semrush DragAndDrop Component","version":"3.44.
|
1
|
+
{"name":"intergalactic/drag-and-drop","description":"Semrush DragAndDrop Component","version":"3.44.3-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.43.3-prerelease.0","@semcore/flex-box":"5.38.1","@semcore/grid":"5.37.1","@semcore/utils":"4.43.2"},"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"}}
|
package/dropdown/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/dropdown","description":"Semrush Dropdown Component","version":"4.41.2
|
1
|
+
{"name":"intergalactic/dropdown","description":"Semrush Dropdown Component","version":"4.41.2","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/flex-box":"5.38.1","@semcore/popper":"5.44.1","@semcore/utils":"4.43.2"},"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/dropdown"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/dropdown-menu","description":"Semrush DropdownMenu Component","version":"4.43.2
|
1
|
+
{"name":"intergalactic/dropdown-menu","description":"Semrush DropdownMenu Component","version":"4.43.2","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/dropdown":"4.41.2","@semcore/flex-box":"5.38.1","@semcore/scroll-area":"5.42.1","@semcore/utils":"4.43.2","@semcore/icon":"4.52.1","@semcore/typography":"5.47.1","classnames":"2.2.6"},"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/dropdown-menu"},"devDependencies":{"@types/react":"18.0.21","@types/classnames":"2.2.6","@semcore/testing-utils":"1.0.0","@semcore/base-trigger":"4.26.1","@semcore/icon":"workspace:*","@semcore/button":"workspace:*"}}
|
@@ -27,19 +27,20 @@ var _reactToText = _interopRequireDefault(require("intergalactic/utils/lib/react
|
|
27
27
|
var _getOriginChildren = _interopRequireDefault(require("intergalactic/utils/lib/getOriginChildren"));
|
28
28
|
var _pick = _interopRequireDefault(require("intergalactic/utils/lib/pick"));
|
29
29
|
var _ref11 = require("intergalactic/utils/lib/ref");
|
30
|
+
var _assignProps3 = require("intergalactic/utils/lib/assignProps");
|
30
31
|
var _excluded = ["styles", "Children", "maxLine", "tooltip", "trim", "containerRect", "containerRef", "includeTooltipProps", "children"],
|
31
32
|
_excluded2 = ["styles", "text", "tooltip", "containerRect", "containerRef", "textRef", "tooltipProps", "children", "advanceMode"];
|
32
33
|
/*__reshadow-styles__:"./style/ellipsis.shadow.css"*/
|
33
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
34
|
-
"__SContainer": "
|
35
|
-
"__SNoTooltipContainer": "
|
36
|
-
"__SContainerMiddle": "
|
37
|
-
"__SBeginning": "
|
38
|
-
"__SEllipsis": "
|
39
|
-
"_middle-mod": "__middle-
|
40
|
-
"_maxLine": "
|
41
|
-
"--maxLine": "--
|
42
|
-
"__STail": "
|
34
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SContainerMiddle_1n0r6_gg_,.___SContainer_1n0r6_gg_,.___SEllipsis_1n0r6_gg_.__middle-mod_1n0r6_gg_,.___SNoTooltipContainer_1n0r6_gg_{display:flex;overflow:hidden}.___SBeginning_1n0r6_gg_,.___SEllipsis_1n0r6_gg_{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap}.___SEllipsis_1n0r6_gg_.__maxLine_1n0r6_gg_{display:-webkit-box;-webkit-line-clamp:var(--maxLine_1n0r6);-webkit-box-orient:vertical;overflow:hidden;white-space:normal;word-wrap:break-word}.___SContainerMiddle_1n0r6_gg_>:has(.___SBeginning_1n0r6_gg_),.___SContainerMiddle_1n0r6_gg_>:has(.___STail_1n0r6_gg_){display:flex;width:100%}.___STail_1n0r6_gg_{white-space:nowrap}" /*__inner_css_end__*/, "1n0r6_gg_") /*__reshadow_css_end__*/, {
|
35
|
+
"__SContainer": "___SContainer_1n0r6_gg_",
|
36
|
+
"__SNoTooltipContainer": "___SNoTooltipContainer_1n0r6_gg_",
|
37
|
+
"__SContainerMiddle": "___SContainerMiddle_1n0r6_gg_",
|
38
|
+
"__SBeginning": "___SBeginning_1n0r6_gg_",
|
39
|
+
"__SEllipsis": "___SEllipsis_1n0r6_gg_",
|
40
|
+
"_middle-mod": "__middle-mod_1n0r6_gg_",
|
41
|
+
"_maxLine": "__maxLine_1n0r6_gg_",
|
42
|
+
"--maxLine": "--maxLine_1n0r6",
|
43
|
+
"__STail": "___STail_1n0r6_gg_"
|
43
44
|
});
|
44
45
|
var defaultTooltipProps = ['title', 'theme', 'strategy', 'modifiers', 'placement', 'interaction', 'timeout', 'visible', 'defaultVisible', 'onVisibleChange', 'offset', 'preventOverflow', 'arrow', 'flip', 'computeStyles', 'eventListeners', 'onFirstUpdate', 'cursorAnchoring'];
|
45
46
|
var createMeasurerElement = function createMeasurerElement(element, text) {
|
@@ -142,7 +143,7 @@ var RootEllipsis = /*#__PURE__*/function (_Component) {
|
|
142
143
|
}, {
|
143
144
|
key: "render",
|
144
145
|
value: function render() {
|
145
|
-
var _ref4;
|
146
|
+
var _ref4, _tooltipProps$visible;
|
146
147
|
var SEllipsis = this.Root;
|
147
148
|
var SContainer = _tooltip["default"];
|
148
149
|
var SNoTooltipContainer = _flexBox.Box;
|
@@ -162,8 +163,8 @@ var RootEllipsis = /*#__PURE__*/function (_Component) {
|
|
162
163
|
var text = (0, _reactToText["default"])(advancedContent || (0, _getOriginChildren["default"])(Children));
|
163
164
|
var advanceMode = (0, _findComponent.isAdvanceMode)(Children, [Ellipsis.Content.displayName, Ellipsis.Popper.displayName]);
|
164
165
|
var tooltipProps = (0, _pick["default"])(this.asProps, includeTooltipProps);
|
165
|
-
tooltipProps.visible = visible;
|
166
|
-
tooltipProps.onVisibleChange = this.handlerVisibleChange;
|
166
|
+
tooltipProps.visible = (_tooltipProps$visible = tooltipProps.visible) !== null && _tooltipProps$visible !== void 0 ? _tooltipProps$visible : visible;
|
167
|
+
tooltipProps.onVisibleChange = tooltipProps.onVisibleChange ? (0, _assignProps3.callAllEventHandlers)(tooltipProps.onVisibleChange, this.handlerVisibleChange) : this.handlerVisibleChange;
|
167
168
|
if (trim === 'middle') {
|
168
169
|
var _ref2;
|
169
170
|
return _ref2 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(EllipsisMiddle, _ref2.cn("EllipsisMiddle", (0, _objectSpread2["default"])({
|