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
package/link/lib/cjs/Link.js
CHANGED
@@ -25,18 +25,18 @@ var _logger = _interopRequireDefault(require("intergalactic/utils/lib/logger"));
|
|
25
25
|
var _hasLabels = _interopRequireDefault(require("intergalactic/utils/lib/hasLabels"));
|
26
26
|
var _resolveColorEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/resolveColorEnhance"));
|
27
27
|
/*__reshadow-styles__:"./style/link.shadow.css"*/
|
28
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
29
|
-
"__SLink": "
|
30
|
-
"_keyboardFocused": "
|
31
|
-
"_visually-disabled": "__visually-
|
32
|
-
"_noWrapText": "
|
33
|
-
"_inline": "
|
34
|
-
"__SAddon": "
|
35
|
-
"__SText": "
|
36
|
-
"_active": "
|
37
|
-
"_enableVisited": "
|
38
|
-
"_text-color": "__text-
|
39
|
-
"--text-color": "--text-
|
28
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLink_14b1h_gg_{display:inline-block;font-family:inherit;color:var(--intergalactic-text-link, #006dca);line-height:normal;position:relative;cursor:pointer;-webkit-text-decoration:none;text-decoration:none;border:0;padding:0;margin:0;box-shadow:none;-webkit-tap-highlight-color:transparent;outline:0;background:0 0;transition:color .15s ease-in-out}.___SLink_14b1h_gg_:active,.___SLink_14b1h_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SLink_14b1h_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SLink_14b1h_gg_::-moz-focus-inner{border:0;padding:0}.___SLink_14b1h_gg_.__active_14b1h_gg_,.___SLink_14b1h_gg_:active{color:var(--intergalactic-text-link-hover-active, #044792)}@media (hover:hover){.___SLink_14b1h_gg_:hover{color:var(--intergalactic-text-link-hover-active, #044792)}}.___SLink_14b1h_gg_.__active_14b1h_gg_ .___SText_14b1h_gg_,.___SLink_14b1h_gg_:active .___SText_14b1h_gg_{border-color:currentColor}@media (hover:hover){.___SLink_14b1h_gg_:hover .___SText_14b1h_gg_{border-color:currentColor}}.___SLink_14b1h_gg_.__enableVisited_14b1h_gg_:visited{color:var(--intergalactic-text-link-visited, #8649e1)}@media (hover:hover){.___SLink_14b1h_gg_.__enableVisited_14b1h_gg_:visited:hover{color:var(--intergalactic-text-link-visited, #8649e1)}}.___SLink_14b1h_gg_.__keyboardFocused_14b1h_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 143, 248, 0.5));outline-style:solid;outline-width:3px}.___SLink_14b1h_gg_.__visually-disabled_14b1h_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SLink_14b1h_gg_.__noWrapText_14b1h_gg_{white-space:nowrap}.___SLink_14b1h_gg_.__inline_14b1h_gg_{display:inline}.___SAddon_14b1h_gg_{display:inline-flex;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-05x, 2px);vertical-align:middle;pointer-events:none}.___SLink_14b1h_gg_ .___SAddon_14b1h_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SLink_14b1h_gg_ .___SAddon_14b1h_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_14b1h_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLink_14b1h_gg_.__text-color_14b1h_gg_{color:var(--text-color_14b1h)}.___SLink_14b1h_gg_.__text-color_14b1h_gg_.__active_14b1h_gg_,.___SLink_14b1h_gg_.__text-color_14b1h_gg_:active{color:var(--text-color_14b1h);filter:brightness(.8)}@media (hover:hover){.___SLink_14b1h_gg_.__text-color_14b1h_gg_:hover{color:var(--text-color_14b1h);filter:brightness(.8)}}@media (prefers-reduced-motion){.___SLink_14b1h_gg_,.___SText_14b1h_gg_{transition:none}}" /*__inner_css_end__*/, "14b1h_gg_") /*__reshadow_css_end__*/, {
|
29
|
+
"__SLink": "___SLink_14b1h_gg_",
|
30
|
+
"_keyboardFocused": "__keyboardFocused_14b1h_gg_",
|
31
|
+
"_visually-disabled": "__visually-disabled_14b1h_gg_",
|
32
|
+
"_noWrapText": "__noWrapText_14b1h_gg_",
|
33
|
+
"_inline": "__inline_14b1h_gg_",
|
34
|
+
"__SAddon": "___SAddon_14b1h_gg_",
|
35
|
+
"__SText": "___SText_14b1h_gg_",
|
36
|
+
"_active": "__active_14b1h_gg_",
|
37
|
+
"_enableVisited": "__enableVisited_14b1h_gg_",
|
38
|
+
"_text-color": "__text-color_14b1h_gg_",
|
39
|
+
"--text-color": "--text-color_14b1h"
|
40
40
|
});
|
41
41
|
var RootLink = /*#__PURE__*/function (_Component) {
|
42
42
|
(0, _inherits2["default"])(RootLink, _Component);
|
package/link/lib/es6/Link.js
CHANGED
@@ -20,18 +20,18 @@ import logger from 'intergalactic/utils/lib/logger';
|
|
20
20
|
import hasLabels from 'intergalactic/utils/lib/hasLabels';
|
21
21
|
import resolveColorEnhance from 'intergalactic/utils/lib/enhances/resolveColorEnhance';
|
22
22
|
/*__reshadow-styles__:"./style/link.shadow.css"*/
|
23
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
24
|
-
"__SLink": "
|
25
|
-
"_keyboardFocused": "
|
26
|
-
"_visually-disabled": "__visually-
|
27
|
-
"_noWrapText": "
|
28
|
-
"_inline": "
|
29
|
-
"__SAddon": "
|
30
|
-
"__SText": "
|
31
|
-
"_active": "
|
32
|
-
"_enableVisited": "
|
33
|
-
"_text-color": "__text-
|
34
|
-
"--text-color": "--text-
|
23
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLink_14b1h_gg_{display:inline-block;font-family:inherit;color:var(--intergalactic-text-link, #006dca);line-height:normal;position:relative;cursor:pointer;-webkit-text-decoration:none;text-decoration:none;border:0;padding:0;margin:0;box-shadow:none;-webkit-tap-highlight-color:transparent;outline:0;background:0 0;transition:color .15s ease-in-out}.___SLink_14b1h_gg_:active,.___SLink_14b1h_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SLink_14b1h_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SLink_14b1h_gg_::-moz-focus-inner{border:0;padding:0}.___SLink_14b1h_gg_.__active_14b1h_gg_,.___SLink_14b1h_gg_:active{color:var(--intergalactic-text-link-hover-active, #044792)}@media (hover:hover){.___SLink_14b1h_gg_:hover{color:var(--intergalactic-text-link-hover-active, #044792)}}.___SLink_14b1h_gg_.__active_14b1h_gg_ .___SText_14b1h_gg_,.___SLink_14b1h_gg_:active .___SText_14b1h_gg_{border-color:currentColor}@media (hover:hover){.___SLink_14b1h_gg_:hover .___SText_14b1h_gg_{border-color:currentColor}}.___SLink_14b1h_gg_.__enableVisited_14b1h_gg_:visited{color:var(--intergalactic-text-link-visited, #8649e1)}@media (hover:hover){.___SLink_14b1h_gg_.__enableVisited_14b1h_gg_:visited:hover{color:var(--intergalactic-text-link-visited, #8649e1)}}.___SLink_14b1h_gg_.__keyboardFocused_14b1h_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 143, 248, 0.5));outline-style:solid;outline-width:3px}.___SLink_14b1h_gg_.__visually-disabled_14b1h_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SLink_14b1h_gg_.__noWrapText_14b1h_gg_{white-space:nowrap}.___SLink_14b1h_gg_.__inline_14b1h_gg_{display:inline}.___SAddon_14b1h_gg_{display:inline-flex;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-05x, 2px);vertical-align:middle;pointer-events:none}.___SLink_14b1h_gg_ .___SAddon_14b1h_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SLink_14b1h_gg_ .___SAddon_14b1h_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_14b1h_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLink_14b1h_gg_.__text-color_14b1h_gg_{color:var(--text-color_14b1h)}.___SLink_14b1h_gg_.__text-color_14b1h_gg_.__active_14b1h_gg_,.___SLink_14b1h_gg_.__text-color_14b1h_gg_:active{color:var(--text-color_14b1h);filter:brightness(.8)}@media (hover:hover){.___SLink_14b1h_gg_.__text-color_14b1h_gg_:hover{color:var(--text-color_14b1h);filter:brightness(.8)}}@media (prefers-reduced-motion){.___SLink_14b1h_gg_,.___SText_14b1h_gg_{transition:none}}" /*__inner_css_end__*/, "14b1h_gg_") /*__reshadow_css_end__*/, {
|
24
|
+
"__SLink": "___SLink_14b1h_gg_",
|
25
|
+
"_keyboardFocused": "__keyboardFocused_14b1h_gg_",
|
26
|
+
"_visually-disabled": "__visually-disabled_14b1h_gg_",
|
27
|
+
"_noWrapText": "__noWrapText_14b1h_gg_",
|
28
|
+
"_inline": "__inline_14b1h_gg_",
|
29
|
+
"__SAddon": "___SAddon_14b1h_gg_",
|
30
|
+
"__SText": "___SText_14b1h_gg_",
|
31
|
+
"_active": "__active_14b1h_gg_",
|
32
|
+
"_enableVisited": "__enableVisited_14b1h_gg_",
|
33
|
+
"_text-color": "__text-color_14b1h_gg_",
|
34
|
+
"--text-color": "--text-color_14b1h"
|
35
35
|
});
|
36
36
|
var RootLink = /*#__PURE__*/function (_Component) {
|
37
37
|
_inherits(RootLink, _Component);
|
package/link/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/link","description":"Semrush Link Component","version":"5.41.
|
1
|
+
{"name":"intergalactic/link","description":"Semrush Link Component","version":"5.41.2-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/typography":"5.47.1","@semcore/flex-box":"5.38.1","@semcore/tooltip":"6.46.2-prerelease.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/link"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0","@semcore/icon":"*"}}
|
package/mini-chart/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/mini-chart","description":"Semrush MiniChart Component","version":"0.25.1
|
1
|
+
{"name":"intergalactic/mini-chart","description":"Semrush MiniChart Component","version":"0.25.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=ts"},"dependencies":{"@semcore/flex-box":"5.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/mini-chart"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
package/modal/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/modal","description":"Semrush Modal Component","version":"4.49.2
|
1
|
+
{"name":"intergalactic/modal","description":"Semrush Modal Component","version":"4.49.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/animation":"2.38.1","@semcore/flex-box":"5.38.1","@semcore/icon":"4.52.1","@semcore/outside-click":"3.36.1","@semcore/portal":"3.38.1","@semcore/typography":"5.47.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/modal"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/neighbor-location","description":"Semrush NeighborLocation Component","version":"4.36.1
|
1
|
+
{"name":"intergalactic/neighbor-location","description":"Semrush NeighborLocation Component","version":"4.36.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"},"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/neighbor-location"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
package/notice/lib/cjs/Notice.js
CHANGED
@@ -26,20 +26,20 @@ var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynam
|
|
26
26
|
var _i18nEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/i18nEnhance"));
|
27
27
|
var _useCssVariable = require("intergalactic/utils/lib/useCssVariable");
|
28
28
|
/*__reshadow-styles__:"./style/notice.shadow.css"*/
|
29
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
30
|
-
"__SNotice": "
|
31
|
-
"__SContent": "
|
32
|
-
"__SActions": "
|
33
|
-
"__SLabel": "
|
34
|
-
"_theme_info": "
|
35
|
-
"_theme_danger": "
|
36
|
-
"_theme_warning": "
|
37
|
-
"_theme_success": "
|
38
|
-
"_theme_muted": "
|
39
|
-
"_theme_custom": "
|
40
|
-
"--color": "--
|
41
|
-
"__SCloseIcon": "
|
42
|
-
"--backgroundColor": "--
|
29
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SNotice_nwo5j_gg_{display:flex;padding:var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);box-sizing:border-box;border-style:solid;border-width:1px;border-radius:var(--intergalactic-surface-rounded, 6px);color:var(--intergalactic-text-primary, #191b23)}.___SNotice_nwo5j_gg_._theme_info_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-info, #e9f7ff);border-color:var(--intergalactic-border-info, #8ecdff)}.___SNotice_nwo5j_gg_._theme_info_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-neutral, #6c6e79)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_info_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-neutral-hover-active, #565861)}}.___SNotice_nwo5j_gg_._theme_danger_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-critical, #fff0f7);border-color:var(--intergalactic-border-critical, #ffaeb5)}.___SNotice_nwo5j_gg_._theme_danger_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-critical, #ff4953)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_danger_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-critical-hover-active, #CC3A42)}}.___SNotice_nwo5j_gg_._theme_warning_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-warning, #fff3d9);border-color:var(--intergalactic-border-warning, #ffb26e)}.___SNotice_nwo5j_gg_._theme_warning_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-warning, #ff642d)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_warning_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-warning-hover-active, #CC5024)}}.___SNotice_nwo5j_gg_._theme_success_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-success, #dbfee8);border-color:var(--intergalactic-border-success, #59ddaa)}.___SNotice_nwo5j_gg_._theme_success_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-success, #009f81)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_success_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-success-hover-active, #037E68)}}.___SNotice_nwo5j_gg_._theme_muted_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9);border-color:var(--intergalactic-border-secondary, #e0e1e9)}.___SLabel_nwo5j_gg_._theme_info_nwo5j_gg_,.___SNotice_nwo5j_gg_._theme_muted_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-neutral, #6c6e79)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_muted_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-neutral-hover-active, #565861)}}.___SContent_nwo5j_gg_{flex:1 1 auto;width:100%}.___SActions_nwo5j_gg_{flex-shrink:0;margin-top:var(--intergalactic-spacing-3x, 12px)}.___SLabel_nwo5j_gg_{min-height:var(--intergalactic-form-control-m, 28px);height:-moz-fit-content;height:fit-content;margin-right:var(--intergalactic-spacing-2x, 8px);display:inline-flex;align-items:center}.___SLabel_nwo5j_gg_._theme_danger_nwo5j_gg_{color:var(--intergalactic-icon-primary-critical, #ff4953)}.___SLabel_nwo5j_gg_._theme_warning_nwo5j_gg_{color:var(--intergalactic-icon-primary-warning, #ff642d)}.___SLabel_nwo5j_gg_._theme_success_nwo5j_gg_{color:var(--intergalactic-icon-primary-success, #009f81)}.___SLabel_nwo5j_gg_._theme_muted_nwo5j_gg_{color:var(--intergalactic-icon-primary-neutral, #6c6e79)}.___SLabel_nwo5j_gg_._theme_custom_nwo5j_gg_{color:var(--color_nwo5j)}.___SCloseIcon_nwo5j_gg_{flex-shrink:0;margin-left:var(--intergalactic-spacing-4x, 16px)}.___SNotice_nwo5j_gg_._theme_custom_nwo5j_gg_{background-color:var(--backgroundColor_nwo5j);border-color:var(--backgroundColor_nwo5j)}" /*__inner_css_end__*/, "nwo5j_gg_") /*__reshadow_css_end__*/, {
|
30
|
+
"__SNotice": "___SNotice_nwo5j_gg_",
|
31
|
+
"__SContent": "___SContent_nwo5j_gg_",
|
32
|
+
"__SActions": "___SActions_nwo5j_gg_",
|
33
|
+
"__SLabel": "___SLabel_nwo5j_gg_",
|
34
|
+
"_theme_info": "_theme_info_nwo5j_gg_",
|
35
|
+
"_theme_danger": "_theme_danger_nwo5j_gg_",
|
36
|
+
"_theme_warning": "_theme_warning_nwo5j_gg_",
|
37
|
+
"_theme_success": "_theme_success_nwo5j_gg_",
|
38
|
+
"_theme_muted": "_theme_muted_nwo5j_gg_",
|
39
|
+
"_theme_custom": "_theme_custom_nwo5j_gg_",
|
40
|
+
"--color": "--color_nwo5j",
|
41
|
+
"__SCloseIcon": "___SCloseIcon_nwo5j_gg_",
|
42
|
+
"--backgroundColor": "--backgroundColor_nwo5j"
|
43
43
|
});
|
44
44
|
function isCustomTheme(theme) {
|
45
45
|
return !['danger', 'warning', 'success', 'info', 'muted'].includes(theme);
|
package/notice/lib/es6/Notice.js
CHANGED
@@ -24,20 +24,20 @@ import { localizedMessages } from './translations/__intergalactic-dynamic-locale
|
|
24
24
|
import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
25
25
|
import { cssVariableEnhance } from 'intergalactic/utils/lib/useCssVariable';
|
26
26
|
/*__reshadow-styles__:"./style/notice.shadow.css"*/
|
27
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
28
|
-
"__SNotice": "
|
29
|
-
"__SContent": "
|
30
|
-
"__SActions": "
|
31
|
-
"__SLabel": "
|
32
|
-
"_theme_info": "
|
33
|
-
"_theme_danger": "
|
34
|
-
"_theme_warning": "
|
35
|
-
"_theme_success": "
|
36
|
-
"_theme_muted": "
|
37
|
-
"_theme_custom": "
|
38
|
-
"--color": "--
|
39
|
-
"__SCloseIcon": "
|
40
|
-
"--backgroundColor": "--
|
27
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SNotice_nwo5j_gg_{display:flex;padding:var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);box-sizing:border-box;border-style:solid;border-width:1px;border-radius:var(--intergalactic-surface-rounded, 6px);color:var(--intergalactic-text-primary, #191b23)}.___SNotice_nwo5j_gg_._theme_info_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-info, #e9f7ff);border-color:var(--intergalactic-border-info, #8ecdff)}.___SNotice_nwo5j_gg_._theme_info_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-neutral, #6c6e79)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_info_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-neutral-hover-active, #565861)}}.___SNotice_nwo5j_gg_._theme_danger_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-critical, #fff0f7);border-color:var(--intergalactic-border-critical, #ffaeb5)}.___SNotice_nwo5j_gg_._theme_danger_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-critical, #ff4953)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_danger_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-critical-hover-active, #CC3A42)}}.___SNotice_nwo5j_gg_._theme_warning_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-warning, #fff3d9);border-color:var(--intergalactic-border-warning, #ffb26e)}.___SNotice_nwo5j_gg_._theme_warning_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-warning, #ff642d)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_warning_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-warning-hover-active, #CC5024)}}.___SNotice_nwo5j_gg_._theme_success_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-success, #dbfee8);border-color:var(--intergalactic-border-success, #59ddaa)}.___SNotice_nwo5j_gg_._theme_success_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-success, #009f81)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_success_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-success-hover-active, #037E68)}}.___SNotice_nwo5j_gg_._theme_muted_nwo5j_gg_{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9);border-color:var(--intergalactic-border-secondary, #e0e1e9)}.___SLabel_nwo5j_gg_._theme_info_nwo5j_gg_,.___SNotice_nwo5j_gg_._theme_muted_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_{color:var(--intergalactic-icon-primary-neutral, #6c6e79)}@media (hover:hover){.___SNotice_nwo5j_gg_._theme_muted_nwo5j_gg_ .___SCloseIcon_nwo5j_gg_:hover{color:var(--intergalactic-icon-primary-neutral-hover-active, #565861)}}.___SContent_nwo5j_gg_{flex:1 1 auto;width:100%}.___SActions_nwo5j_gg_{flex-shrink:0;margin-top:var(--intergalactic-spacing-3x, 12px)}.___SLabel_nwo5j_gg_{min-height:var(--intergalactic-form-control-m, 28px);height:-moz-fit-content;height:fit-content;margin-right:var(--intergalactic-spacing-2x, 8px);display:inline-flex;align-items:center}.___SLabel_nwo5j_gg_._theme_danger_nwo5j_gg_{color:var(--intergalactic-icon-primary-critical, #ff4953)}.___SLabel_nwo5j_gg_._theme_warning_nwo5j_gg_{color:var(--intergalactic-icon-primary-warning, #ff642d)}.___SLabel_nwo5j_gg_._theme_success_nwo5j_gg_{color:var(--intergalactic-icon-primary-success, #009f81)}.___SLabel_nwo5j_gg_._theme_muted_nwo5j_gg_{color:var(--intergalactic-icon-primary-neutral, #6c6e79)}.___SLabel_nwo5j_gg_._theme_custom_nwo5j_gg_{color:var(--color_nwo5j)}.___SCloseIcon_nwo5j_gg_{flex-shrink:0;margin-left:var(--intergalactic-spacing-4x, 16px)}.___SNotice_nwo5j_gg_._theme_custom_nwo5j_gg_{background-color:var(--backgroundColor_nwo5j);border-color:var(--backgroundColor_nwo5j)}" /*__inner_css_end__*/, "nwo5j_gg_") /*__reshadow_css_end__*/, {
|
28
|
+
"__SNotice": "___SNotice_nwo5j_gg_",
|
29
|
+
"__SContent": "___SContent_nwo5j_gg_",
|
30
|
+
"__SActions": "___SActions_nwo5j_gg_",
|
31
|
+
"__SLabel": "___SLabel_nwo5j_gg_",
|
32
|
+
"_theme_info": "_theme_info_nwo5j_gg_",
|
33
|
+
"_theme_danger": "_theme_danger_nwo5j_gg_",
|
34
|
+
"_theme_warning": "_theme_warning_nwo5j_gg_",
|
35
|
+
"_theme_success": "_theme_success_nwo5j_gg_",
|
36
|
+
"_theme_muted": "_theme_muted_nwo5j_gg_",
|
37
|
+
"_theme_custom": "_theme_custom_nwo5j_gg_",
|
38
|
+
"--color": "--color_nwo5j",
|
39
|
+
"__SCloseIcon": "___SCloseIcon_nwo5j_gg_",
|
40
|
+
"--backgroundColor": "--backgroundColor_nwo5j"
|
41
41
|
});
|
42
42
|
function isCustomTheme(theme) {
|
43
43
|
return !['danger', 'warning', 'success', 'info', 'muted'].includes(theme);
|
package/notice/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/notice","description":"Semrush Notice Component","version":"5.42.
|
1
|
+
{"name":"intergalactic/notice","description":"Semrush Notice Component","version":"5.42.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/animation":"2.38.1","@semcore/utils":"4.43.2","@semcore/button":"5.39.3-prerelease.0","@semcore/flex-box":"5.38.1","@semcore/icon":"4.52.1","@semcore/notice-global":"2.55.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/notice"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/notice-bubble","description":"Semrush NoticeBubble Component","version":"5.47.1
|
1
|
+
{"name":"intergalactic/notice-bubble","description":"Semrush NoticeBubble Component","version":"5.47.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","author":"UI-kit team <ui-kit-team@semrush.com>","sideEffects":false,"license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/utils":"4.43.2","@semcore/icon":"4.52.1","@semcore/portal":"3.38.1","@semcore/flex-box":"5.38.1","@semcore/animation":"2.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/notice-bubble"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/notice-global","description":"Semrush NoticeGlobal Component","version":"2.55.1
|
1
|
+
{"name":"intergalactic/notice-global","description":"Semrush NoticeGlobal Component","version":"2.55.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","author":"UI-kit team <ui-kit-team@semrush.com>","sideEffects":false,"license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/utils":"4.43.2","@semcore/icon":"4.52.1","@semcore/flex-box":"5.38.1","@semcore/animation":"2.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/notice-global"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/outside-click","description":"Semrush OutsideClick Component","version":"3.36.1
|
1
|
+
{"name":"intergalactic/outside-click","description":"Semrush OutsideClick Component","version":"3.36.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"},"dependencies":{"@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/outside-click"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
package/package.json
CHANGED
@@ -18,7 +18,7 @@ var _index = require("intergalactic/utils/lib/core/index");
|
|
18
18
|
var _core = _interopRequireWildcard(require("intergalactic/core"));
|
19
19
|
var _react = _interopRequireDefault(require("react"));
|
20
20
|
var _flexBox = require("intergalactic/flex-box");
|
21
|
-
var
|
21
|
+
var _inputNumber = _interopRequireDefault(require("intergalactic/input-number"));
|
22
22
|
var _typography = require("intergalactic/typography");
|
23
23
|
var _button = _interopRequireWildcard(require("intergalactic/button"));
|
24
24
|
var _tooltip = require("intergalactic/tooltip");
|
@@ -29,31 +29,17 @@ var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynam
|
|
29
29
|
var _ScreenReaderOnly = require("intergalactic/utils/lib/ScreenReaderOnly");
|
30
30
|
var _excluded = ["styles", "getI18nText", "totalPages", "isLastOrSingle", "children"];
|
31
31
|
/*__reshadow-styles__:"./style/pagination.shadow.css"*/
|
32
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
33
|
-
"__SPagination": "
|
34
|
-
"__SNextPage": "
|
35
|
-
"__SPrevPage": "
|
36
|
-
"__SLabel": "
|
37
|
-
"__STotalPages": "
|
38
|
-
"__STotalPagesLabel": "
|
39
|
-
"__STotalLastPages": "
|
40
|
-
"__SPageInput": "
|
41
|
-
"__SPageInputAddon": "
|
32
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPagination_5zvpa_gg_{justify-content:flex-start;align-items:center}.___SNextPage_5zvpa_gg_,.___SPrevPage_5zvpa_gg_{align-self:center;margin-left:var(--intergalactic-spacing-2x, 8px)}.___SLabel_5zvpa_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SLabel_5zvpa_gg_:not(:first-child){margin-left:var(--intergalactic-spacing-4x, 16px)}.___STotalPages_5zvpa_gg_{align-self:center;line-height:normal;color:var(--intergalactic-text-link, #006dca)}.___STotalPagesLabel_5zvpa_gg_{margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-1x, 4px);color:var(--intergalactic-text-primary, #191b23)}.___STotalLastPages_5zvpa_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-primary, #191b23)}.___SPageInput_5zvpa_gg_{max-width:68px;margin-left:var(--intergalactic-spacing-1x, 4px)}.___SPageInput_5zvpa_gg_:focus-within .___SPageInputAddon_5zvpa_gg_{opacity:1;clip:initial;position:static}.___SPageInputAddon_5zvpa_gg_{opacity:0;clip:rect(1px,1px,1px,1px);position:absolute}.___SLabel_5zvpa_gg_,.___STotalPagesLabel_5zvpa_gg_,.___STotalPages_5zvpa_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "5zvpa_gg_") /*__reshadow_css_end__*/, {
|
33
|
+
"__SPagination": "___SPagination_5zvpa_gg_",
|
34
|
+
"__SNextPage": "___SNextPage_5zvpa_gg_",
|
35
|
+
"__SPrevPage": "___SPrevPage_5zvpa_gg_",
|
36
|
+
"__SLabel": "___SLabel_5zvpa_gg_",
|
37
|
+
"__STotalPages": "___STotalPages_5zvpa_gg_",
|
38
|
+
"__STotalPagesLabel": "___STotalPagesLabel_5zvpa_gg_",
|
39
|
+
"__STotalLastPages": "___STotalLastPages_5zvpa_gg_",
|
40
|
+
"__SPageInput": "___SPageInput_5zvpa_gg_",
|
41
|
+
"__SPageInputAddon": "___SPageInputAddon_5zvpa_gg_"
|
42
42
|
});
|
43
|
-
function formatThousands(value) {
|
44
|
-
var main = String(value);
|
45
|
-
var length = main.length;
|
46
|
-
var output = '';
|
47
|
-
var i = length - 1;
|
48
|
-
while (i >= 0) {
|
49
|
-
output = main.charAt(i) + output;
|
50
|
-
if ((length - i) % 3 === 0 && i > 0) {
|
51
|
-
output = ",".concat(output);
|
52
|
-
}
|
53
|
-
i -= 1;
|
54
|
-
}
|
55
|
-
return output;
|
56
|
-
}
|
57
43
|
var PaginationRoot = /*#__PURE__*/function (_Component) {
|
58
44
|
(0, _inherits2["default"])(PaginationRoot, _Component);
|
59
45
|
var _super = (0, _createSuper2["default"])(PaginationRoot);
|
@@ -174,9 +160,12 @@ var PaginationRoot = /*#__PURE__*/function (_Component) {
|
|
174
160
|
};
|
175
161
|
});
|
176
162
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getPageInputProps", function () {
|
177
|
-
var
|
163
|
+
var _this$asProps4 = _this.asProps,
|
164
|
+
getI18nText = _this$asProps4.getI18nText,
|
165
|
+
locale = _this$asProps4.locale;
|
178
166
|
return {
|
179
|
-
getI18nText: getI18nText
|
167
|
+
getI18nText: getI18nText,
|
168
|
+
locale: locale
|
180
169
|
};
|
181
170
|
});
|
182
171
|
/** @deprecated */
|
@@ -189,10 +178,10 @@ var PaginationRoot = /*#__PURE__*/function (_Component) {
|
|
189
178
|
});
|
190
179
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getPageInputValueProps", function () {
|
191
180
|
var dirtyCurrentPage = _this.state.dirtyCurrentPage;
|
192
|
-
var _this$
|
193
|
-
currentPage = _this$
|
194
|
-
totalPages = _this$
|
195
|
-
getI18nText = _this$
|
181
|
+
var _this$asProps5 = _this.asProps,
|
182
|
+
currentPage = _this$asProps5.currentPage,
|
183
|
+
totalPages = _this$asProps5.totalPages,
|
184
|
+
getI18nText = _this$asProps5.getI18nText;
|
196
185
|
return {
|
197
186
|
min: 1,
|
198
187
|
max: totalPages,
|
@@ -205,13 +194,17 @@ var PaginationRoot = /*#__PURE__*/function (_Component) {
|
|
205
194
|
};
|
206
195
|
});
|
207
196
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getTotalPagesProps", function () {
|
208
|
-
var _this$
|
209
|
-
currentPage = _this$
|
210
|
-
totalPages = _this$
|
211
|
-
getI18nText = _this$
|
197
|
+
var _this$asProps6 = _this.asProps,
|
198
|
+
currentPage = _this$asProps6.currentPage,
|
199
|
+
totalPages = _this$asProps6.totalPages,
|
200
|
+
getI18nText = _this$asProps6.getI18nText,
|
201
|
+
locale = _this$asProps6.locale;
|
202
|
+
var formatter = new Intl.NumberFormat(locale, {
|
203
|
+
style: 'decimal'
|
204
|
+
});
|
212
205
|
return {
|
213
206
|
totalPages: totalPages,
|
214
|
-
children:
|
207
|
+
children: formatter.format(totalPages),
|
215
208
|
isLastOrSingle: currentPage === totalPages,
|
216
209
|
onClick: function onClick() {
|
217
210
|
return _this.handlePageChange(totalPages);
|
@@ -244,10 +237,10 @@ var PaginationRoot = /*#__PURE__*/function (_Component) {
|
|
244
237
|
var _ref = this.asProps,
|
245
238
|
_ref9;
|
246
239
|
var SPagination = _flexBox.Flex;
|
247
|
-
var _this$
|
248
|
-
Children = _this$
|
249
|
-
getI18nText = _this$
|
250
|
-
currentPage = _this$
|
240
|
+
var _this$asProps7 = this.asProps,
|
241
|
+
Children = _this$asProps7.Children,
|
242
|
+
getI18nText = _this$asProps7.getI18nText,
|
243
|
+
currentPage = _this$asProps7.currentPage;
|
251
244
|
return _ref9 = (0, _core.sstyled)(this.asProps.styles), /*#__PURE__*/_react["default"].createElement(SPagination, _ref9.cn("SPagination", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
|
252
245
|
"tag": 'nav',
|
253
246
|
"aria-label": getI18nText('pagination')
|
@@ -366,13 +359,13 @@ var TotalPages = /*#__PURE__*/function (_Component5) {
|
|
366
359
|
var STotalPages = _button.ButtonLink;
|
367
360
|
var STotalPagesLabel = _typography.Text;
|
368
361
|
var STotalLastPages = _typography.Text;
|
369
|
-
var _this$
|
370
|
-
styles = _this$
|
371
|
-
getI18nText = _this$
|
372
|
-
totalPages = _this$
|
373
|
-
isLastOrSingle = _this$
|
374
|
-
children = _this$
|
375
|
-
other = (0, _objectWithoutProperties2["default"])(_this$
|
362
|
+
var _this$asProps8 = this.asProps,
|
363
|
+
styles = _this$asProps8.styles,
|
364
|
+
getI18nText = _this$asProps8.getI18nText,
|
365
|
+
totalPages = _this$asProps8.totalPages,
|
366
|
+
isLastOrSingle = _this$asProps8.isLastOrSingle,
|
367
|
+
children = _this$asProps8.children,
|
368
|
+
other = (0, _objectWithoutProperties2["default"])(_this$asProps8, _excluded);
|
376
369
|
return _ref12 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(STotalPagesLabel, _ref12.cn("STotalPagesLabel", {}), getI18nText('totalPagesLabel')), isLastOrSingle ? /*#__PURE__*/_react["default"].createElement(STotalLastPages, _ref12.cn("STotalLastPages", (0, _objectSpread2["default"])({
|
377
370
|
"aria-label": getI18nText('lastPage', {
|
378
371
|
lastPageNumber: totalPages
|
@@ -389,13 +382,17 @@ var TotalPages = /*#__PURE__*/function (_Component5) {
|
|
389
382
|
var PageInputValue = function PageInputValue(props) {
|
390
383
|
var _ref6 = arguments[0],
|
391
384
|
_ref13;
|
392
|
-
var SPageInputValue =
|
393
|
-
return _ref13 = (0, _core.sstyled)(props.styles), /*#__PURE__*/_react["default"].createElement(SPageInputValue, _ref13.cn("SPageInputValue", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
|
385
|
+
var SPageInputValue = _inputNumber["default"].Value;
|
386
|
+
return _ref13 = (0, _core.sstyled)(props.styles), /*#__PURE__*/_react["default"].createElement(SPageInputValue, _ref13.cn("SPageInputValue", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
|
387
|
+
"onBlur": function onBlur() {
|
388
|
+
return false;
|
389
|
+
}
|
390
|
+
}, _ref6))));
|
394
391
|
};
|
395
392
|
var PageInputAddon = function PageInputAddon(props) {
|
396
393
|
var _ref7 = arguments[0],
|
397
394
|
_ref14;
|
398
|
-
var SPageInputAddon =
|
395
|
+
var SPageInputAddon = _inputNumber["default"].Addon;
|
399
396
|
return _ref14 = (0, _core.sstyled)(props.styles), /*#__PURE__*/_react["default"].createElement(SPageInputAddon, _ref14.cn("SPageInputAddon", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({}, _ref7))));
|
400
397
|
};
|
401
398
|
var PageInput = /*#__PURE__*/function (_Component6) {
|
@@ -410,18 +407,20 @@ var PageInput = /*#__PURE__*/function (_Component6) {
|
|
410
407
|
value: function render() {
|
411
408
|
var _ref8 = this.asProps,
|
412
409
|
_ref15;
|
413
|
-
var SPageInput =
|
410
|
+
var SPageInput = _inputNumber["default"];
|
414
411
|
var SLabel = _typography.Text;
|
415
|
-
var _this$
|
416
|
-
Children = _this$
|
417
|
-
getI18nText = _this$
|
418
|
-
styles = _this$
|
419
|
-
uid = _this$
|
412
|
+
var _this$asProps9 = this.asProps,
|
413
|
+
Children = _this$asProps9.Children,
|
414
|
+
getI18nText = _this$asProps9.getI18nText,
|
415
|
+
styles = _this$asProps9.styles,
|
416
|
+
uid = _this$asProps9.uid,
|
417
|
+
locale = _this$asProps9.locale;
|
420
418
|
return _ref15 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(SLabel, _ref15.cn("SLabel", {
|
421
419
|
"tag": 'label',
|
422
420
|
"htmlFor": "pagination-input-".concat(uid)
|
423
421
|
}), getI18nText('pageInputLabel')), /*#__PURE__*/_react["default"].createElement(SPageInput, _ref15.cn("SPageInput", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
|
424
|
-
"controlsLength": Children.origin ? undefined : 2
|
422
|
+
"controlsLength": Children.origin ? undefined : 2,
|
423
|
+
"locale": locale
|
425
424
|
}, _ref8))), Children.origin ? /*#__PURE__*/_react["default"].createElement(Children, _ref15.cn("Children", {})) : /*#__PURE__*/_react["default"].createElement(Pagination.PageInput.Value, {
|
426
425
|
id: "pagination-input-".concat(uid)
|
427
426
|
})));
|