@semcore/select 4.49.4 → 4.49.5-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 +6 -0
- package/lib/cjs/InputSearch.js +6 -6
- package/lib/cjs/Select.js +8 -8
- package/lib/es6/InputSearch.js +6 -6
- package/lib/es6/Select.js +8 -8
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [4.49.5] - 2025-02-05
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/base-trigger` [4.51.0 ~> 4.51.1], `@semcore/button` [5.41.1 ~> 5.41.2], `@semcore/checkbox` [7.43.0 ~> 7.43.1], `@semcore/divider` [4.39.0 ~> 4.39.1], `@semcore/dropdown-menu` [4.45.0 ~> 4.45.1], `@semcore/dropdown` [4.42.2 ~> 4.42.3], `@semcore/popper` [5.45.2 ~> 5.45.3], `@semcore/flex-box` [5.40.0 ~> 5.40.1], `@semcore/icon` [4.57.0 ~> 4.57.1], `@semcore/input` [4.41.0 ~> 4.41.1], `@semcore/utils` [4.45.0 ~> 4.45.1], `@semcore/core` [2.38.0 ~> 2.38.1]).
|
|
10
|
+
|
|
5
11
|
## [4.49.4] - 2025-02-05
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/InputSearch.js
CHANGED
|
@@ -24,12 +24,12 @@ var _context = require("./context");
|
|
|
24
24
|
var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i18nEnhance"));
|
|
25
25
|
var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
|
|
26
26
|
/*__reshadow-styles__:"./style/input-search.shadow.css"*/
|
|
27
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
28
|
-
"__SInputSearch": "
|
|
29
|
-
"_size_m": "
|
|
30
|
-
"__SSearchClear": "
|
|
31
|
-
"_hide": "
|
|
32
|
-
"__SOutline": "
|
|
27
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SInputSearch_6f63y_gg_._size_m_6f63y_gg_{height:32px}.___SSearchClear_6f63y_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SSearchClear_6f63y_gg_.__hide_6f63y_gg_{visibility:hidden}.___SOutline_6f63y_gg_{top:-1px;left:-1px;width:100%;border-radius:var(--intergalactic-control-rounded, 6px) var(--intergalactic-control-rounded, 6px)0 0;box-sizing:content-box}" /*__inner_css_end__*/, "6f63y_gg_") /*__reshadow_css_end__*/, {
|
|
28
|
+
"__SInputSearch": "___SInputSearch_6f63y_gg_",
|
|
29
|
+
"_size_m": "_size_m_6f63y_gg_",
|
|
30
|
+
"__SSearchClear": "___SSearchClear_6f63y_gg_",
|
|
31
|
+
"_hide": "__hide_6f63y_gg_",
|
|
32
|
+
"__SOutline": "___SOutline_6f63y_gg_"
|
|
33
33
|
});
|
|
34
34
|
var InputSearchRoot = /*#__PURE__*/function (_Component) {
|
|
35
35
|
(0, _inherits2["default"])(InputSearchRoot, _Component);
|
package/lib/cjs/Select.js
CHANGED
|
@@ -38,14 +38,14 @@ var _popper = require("@semcore/popper");
|
|
|
38
38
|
var _assignProps6 = require("@semcore/utils/lib/assignProps");
|
|
39
39
|
var _excluded = ["Children", "options", "multiselect", "value", "uid", "forcedAdvancedMode"];
|
|
40
40
|
/*__reshadow-styles__:"./style/select.shadow.css"*/
|
|
41
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
42
|
-
"__SOptionCheckbox": "
|
|
43
|
-
"_selected": "
|
|
44
|
-
"_size_l": "
|
|
45
|
-
"_indeterminate": "
|
|
46
|
-
"_theme": "
|
|
47
|
-
"--theme": "--
|
|
48
|
-
"_size_m": "
|
|
41
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SOptionCheckbox_gbth5_gg_{margin-top:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-2x, 8px);margin-bottom:auto;position:relative;flex-shrink:0;width:16px;height:16px}.___SOptionCheckbox_gbth5_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;background:var(--intergalactic-bg-primary-neutral, #ffffff);border:1px solid;border-radius:var(--intergalactic-addon-rounded, 4px);border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SOptionCheckbox_gbth5_gg_::after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;margin:0 var(--intergalactic-spacing-05x, 2px);background-repeat:no-repeat;background-position:center center}.___SOptionCheckbox_gbth5_gg_.__selected_gbth5_gg_::after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04LjI1IDFMNCA1LjI1TDEuNzUgMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_gbth5_gg_._size_l_gbth5_gg_{width:20px;height:20px}.___SOptionCheckbox_gbth5_gg_._size_l_gbth5_gg_.__selected_gbth5_gg_::after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMSAxLjVMNC43NSA3Ljc1TDEgNCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_gbth5_gg_.__indeterminate_gbth5_gg_:before,.___SOptionCheckbox_gbth5_gg_.__selected_gbth5_gg_:before{background-color:var(--intergalactic-control-primary-info, #008ff8);border-color:var(--intergalactic-control-primary-info, #008ff8)}.___SOptionCheckbox_gbth5_gg_.__theme_gbth5_gg_:before{border-color:var(--theme_gbth5)}.___SOptionCheckbox_gbth5_gg_.__theme_gbth5_gg_.__indeterminate_gbth5_gg_:before,.___SOptionCheckbox_gbth5_gg_.__theme_gbth5_gg_.__selected_gbth5_gg_:before{background-color:var(--theme_gbth5);border-color:var(--theme_gbth5)}.___SOptionCheckbox_gbth5_gg_.__selected_gbth5_gg_{background-color:var(--intergalactic-dropdown-menu-item-selected, rgba(196, 229, 254, 0.7))}@media (hover:hover){.___SOptionCheckbox_gbth5_gg_.__selected_gbth5_gg_:hover{background-color:var(--intergalactic-dropdown-menu-item-selected-hover, #c4e5fe)}}.___SOptionCheckbox_gbth5_gg_.__indeterminate_gbth5_gg_:after{background-color:#fff;background-image:none;margin:auto;border-radius:1px}.___SOptionCheckbox_gbth5_gg_.__indeterminate_gbth5_gg_._size_l_gbth5_gg_:after{width:12px;height:2px}.___SOptionCheckbox_gbth5_gg_.__indeterminate_gbth5_gg_._size_m_gbth5_gg_:after{width:8px;height:2px}" /*__inner_css_end__*/, "gbth5_gg_") /*__reshadow_css_end__*/, {
|
|
42
|
+
"__SOptionCheckbox": "___SOptionCheckbox_gbth5_gg_",
|
|
43
|
+
"_selected": "__selected_gbth5_gg_",
|
|
44
|
+
"_size_l": "_size_l_gbth5_gg_",
|
|
45
|
+
"_indeterminate": "__indeterminate_gbth5_gg_",
|
|
46
|
+
"_theme": "__theme_gbth5_gg_",
|
|
47
|
+
"--theme": "--theme_gbth5",
|
|
48
|
+
"_size_m": "_size_m_gbth5_gg_"
|
|
49
49
|
});
|
|
50
50
|
function isSelectedOption(value, valueOption) {
|
|
51
51
|
return Array.isArray(value) ? value.includes(valueOption) : valueOption === value;
|
package/lib/es6/InputSearch.js
CHANGED
|
@@ -20,12 +20,12 @@ import { selectContext } from './context';
|
|
|
20
20
|
import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
21
21
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
22
22
|
/*__reshadow-styles__:"./style/input-search.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
24
|
-
"__SInputSearch": "
|
|
25
|
-
"_size_m": "
|
|
26
|
-
"__SSearchClear": "
|
|
27
|
-
"_hide": "
|
|
28
|
-
"__SOutline": "
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SInputSearch_6f63y_gg_._size_m_6f63y_gg_{height:32px}.___SSearchClear_6f63y_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SSearchClear_6f63y_gg_.__hide_6f63y_gg_{visibility:hidden}.___SOutline_6f63y_gg_{top:-1px;left:-1px;width:100%;border-radius:var(--intergalactic-control-rounded, 6px) var(--intergalactic-control-rounded, 6px)0 0;box-sizing:content-box}" /*__inner_css_end__*/, "6f63y_gg_") /*__reshadow_css_end__*/, {
|
|
24
|
+
"__SInputSearch": "___SInputSearch_6f63y_gg_",
|
|
25
|
+
"_size_m": "_size_m_6f63y_gg_",
|
|
26
|
+
"__SSearchClear": "___SSearchClear_6f63y_gg_",
|
|
27
|
+
"_hide": "__hide_6f63y_gg_",
|
|
28
|
+
"__SOutline": "___SOutline_6f63y_gg_"
|
|
29
29
|
});
|
|
30
30
|
var InputSearchRoot = /*#__PURE__*/function (_Component) {
|
|
31
31
|
_inherits(InputSearchRoot, _Component);
|
package/lib/es6/Select.js
CHANGED
|
@@ -34,14 +34,14 @@ import { selectContext } from './context';
|
|
|
34
34
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
35
35
|
import { isInputTriggerTag } from '@semcore/popper';
|
|
36
36
|
/*__reshadow-styles__:"./style/select.shadow.css"*/
|
|
37
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
38
|
-
"__SOptionCheckbox": "
|
|
39
|
-
"_selected": "
|
|
40
|
-
"_size_l": "
|
|
41
|
-
"_indeterminate": "
|
|
42
|
-
"_theme": "
|
|
43
|
-
"--theme": "--
|
|
44
|
-
"_size_m": "
|
|
37
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SOptionCheckbox_gbth5_gg_{margin-top:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-2x, 8px);margin-bottom:auto;position:relative;flex-shrink:0;width:16px;height:16px}.___SOptionCheckbox_gbth5_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;background:var(--intergalactic-bg-primary-neutral, #ffffff);border:1px solid;border-radius:var(--intergalactic-addon-rounded, 4px);border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SOptionCheckbox_gbth5_gg_::after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;margin:0 var(--intergalactic-spacing-05x, 2px);background-repeat:no-repeat;background-position:center center}.___SOptionCheckbox_gbth5_gg_.__selected_gbth5_gg_::after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04LjI1IDFMNCA1LjI1TDEuNzUgMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_gbth5_gg_._size_l_gbth5_gg_{width:20px;height:20px}.___SOptionCheckbox_gbth5_gg_._size_l_gbth5_gg_.__selected_gbth5_gg_::after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMSAxLjVMNC43NSA3Ljc1TDEgNCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_gbth5_gg_.__indeterminate_gbth5_gg_:before,.___SOptionCheckbox_gbth5_gg_.__selected_gbth5_gg_:before{background-color:var(--intergalactic-control-primary-info, #008ff8);border-color:var(--intergalactic-control-primary-info, #008ff8)}.___SOptionCheckbox_gbth5_gg_.__theme_gbth5_gg_:before{border-color:var(--theme_gbth5)}.___SOptionCheckbox_gbth5_gg_.__theme_gbth5_gg_.__indeterminate_gbth5_gg_:before,.___SOptionCheckbox_gbth5_gg_.__theme_gbth5_gg_.__selected_gbth5_gg_:before{background-color:var(--theme_gbth5);border-color:var(--theme_gbth5)}.___SOptionCheckbox_gbth5_gg_.__selected_gbth5_gg_{background-color:var(--intergalactic-dropdown-menu-item-selected, rgba(196, 229, 254, 0.7))}@media (hover:hover){.___SOptionCheckbox_gbth5_gg_.__selected_gbth5_gg_:hover{background-color:var(--intergalactic-dropdown-menu-item-selected-hover, #c4e5fe)}}.___SOptionCheckbox_gbth5_gg_.__indeterminate_gbth5_gg_:after{background-color:#fff;background-image:none;margin:auto;border-radius:1px}.___SOptionCheckbox_gbth5_gg_.__indeterminate_gbth5_gg_._size_l_gbth5_gg_:after{width:12px;height:2px}.___SOptionCheckbox_gbth5_gg_.__indeterminate_gbth5_gg_._size_m_gbth5_gg_:after{width:8px;height:2px}" /*__inner_css_end__*/, "gbth5_gg_") /*__reshadow_css_end__*/, {
|
|
38
|
+
"__SOptionCheckbox": "___SOptionCheckbox_gbth5_gg_",
|
|
39
|
+
"_selected": "__selected_gbth5_gg_",
|
|
40
|
+
"_size_l": "_size_l_gbth5_gg_",
|
|
41
|
+
"_indeterminate": "__indeterminate_gbth5_gg_",
|
|
42
|
+
"_theme": "__theme_gbth5_gg_",
|
|
43
|
+
"--theme": "--theme_gbth5",
|
|
44
|
+
"_size_m": "_size_m_gbth5_gg_"
|
|
45
45
|
});
|
|
46
46
|
import { callAllEventHandlers } from '@semcore/utils/lib/assignProps';
|
|
47
47
|
import { isAdvanceMode } from '@semcore/utils/lib/findComponent';
|
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/select",
|
|
3
3
|
"description": "Semrush Select Component",
|
|
4
|
-
"version": "4.49.
|
|
4
|
+
"version": "4.49.5-prerelease.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
8
8
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@semcore/base-trigger": "4.51.0",
|
|
12
|
-
"@semcore/button": "5.41.
|
|
13
|
-
"@semcore/checkbox": "7.43.0",
|
|
14
|
-
"@semcore/divider": "4.39.0",
|
|
15
|
-
"@semcore/dropdown-menu": "4.45.0",
|
|
16
|
-
"@semcore/dropdown": "4.42.
|
|
17
|
-
"@semcore/popper": "5.45.
|
|
18
|
-
"@semcore/flex-box": "5.40.0",
|
|
19
|
-
"@semcore/icon": "4.57.0",
|
|
20
|
-
"@semcore/input": "4.41.0",
|
|
21
|
-
"@semcore/utils": "4.45.0",
|
|
11
|
+
"@semcore/base-trigger": "4.51.1-prerelease.0",
|
|
12
|
+
"@semcore/button": "5.41.2-prerelease.0",
|
|
13
|
+
"@semcore/checkbox": "7.43.1-prerelease.0",
|
|
14
|
+
"@semcore/divider": "4.39.1-prerelease.0",
|
|
15
|
+
"@semcore/dropdown-menu": "4.45.1-prerelease.0",
|
|
16
|
+
"@semcore/dropdown": "4.42.3-prerelease.0",
|
|
17
|
+
"@semcore/popper": "5.45.3-prerelease.0",
|
|
18
|
+
"@semcore/flex-box": "5.40.1-prerelease.0",
|
|
19
|
+
"@semcore/icon": "4.57.1-prerelease.0",
|
|
20
|
+
"@semcore/input": "4.41.1-prerelease.0",
|
|
21
|
+
"@semcore/utils": "4.45.1-prerelease.0",
|
|
22
22
|
"classnames": "2.2.6"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@semcore/core": "^2.
|
|
25
|
+
"@semcore/core": "^2.38.1-prerelease.0",
|
|
26
26
|
"react": "16.8 - 18",
|
|
27
27
|
"react-dom": "16.8 - 18"
|
|
28
28
|
},
|