@semcore/inline-input 4.40.0 → 4.40.1
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/InlineInput.js +14 -14
- package/lib/es6/InlineInput.js +14 -14
- package/package.json +9 -9
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.40.1] - 2024-07-30
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [5.31.0 ~> 5.31.1], `@semcore/icon` [4.43.0 ~> 4.43.1], `@semcore/utils` [4.32.0 ~> 4.32.1], `@semcore/core` [2.29.0 ~> 2.29.1]).
|
|
10
|
+
|
|
5
11
|
## [4.40.0] - 2024-07-26
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/InlineInput.js
CHANGED
|
@@ -26,20 +26,20 @@ var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynam
|
|
|
26
26
|
var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i18nEnhance"));
|
|
27
27
|
var _inputNumber = _interopRequireDefault(require("@semcore/input-number"));
|
|
28
28
|
/*__reshadow-styles__:"./style/inline-input.shadow.css"*/
|
|
29
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
30
|
-
"__SInlineInput": "
|
|
31
|
-
"_disabled": "
|
|
32
|
-
"__SUnderline": "
|
|
33
|
-
"__SAddon": "
|
|
34
|
-
"_focused": "
|
|
35
|
-
"_state_valid": "
|
|
36
|
-
"_state_invalid": "
|
|
37
|
-
"__SValue": "
|
|
38
|
-
"__SControls": "
|
|
39
|
-
"__SInvalidPattern": "
|
|
40
|
-
"__SConfirmIcon": "
|
|
41
|
-
"__SCancelIcon": "
|
|
42
|
-
"_type_number": "
|
|
29
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SInlineInput_mgr44_gg_{display:inline-flex;width:100%;height:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SInlineInput_mgr44_gg_ .___SConfirmIcon_mgr44_gg_{color:var(--intergalactic-icon-secondary-success, #00c192);cursor:pointer}@media (hover:hover){.___SInlineInput_mgr44_gg_ .___SConfirmIcon_mgr44_gg_:hover{color:var(--intergalactic-icon-secondary-success-hover-active, #049B75)}}.___SInlineInput_mgr44_gg_ .___SCancelIcon_mgr44_gg_{color:var(--intergalactic-icon-secondary-neutral, #a9abb6);cursor:pointer}@media (hover:hover){.___SInlineInput_mgr44_gg_ .___SCancelIcon_mgr44_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SInlineInput_mgr44_gg_.__disabled_mgr44_gg_{cursor:default;pointer-events:none;opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SValue_mgr44_gg_{min-width:0;width:100%;height:100%;padding:0 var(--intergalactic-spacing-1x, 4px);border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:inherit;line-height:1.2;text-overflow:ellipsis;font-family:inherit;background:0 0;min-height:1em}.___SValue_mgr44_gg_:focus{outline:0}.___SValue_mgr44_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_mgr44_gg_::placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_mgr44_gg_.__disabled_mgr44_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SValue_mgr44_gg_::-webkit-inner-spin-button,.___SValue_mgr44_gg_::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.___SValue_mgr44_gg_._type_number_mgr44_gg_{-moz-appearance:textfield}.___SUnderline_mgr44_gg_{display:flex;flex-direction:row;align-items:center;flex-grow:1;width:100%;height:100%;min-height:1em;border:1px solid transparent;border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SAddon_mgr44_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;height:100%;color:var(--intergalactic-icon-secondary-neutral, #a9abb6);padding:0 var(--intergalactic-spacing-1x, 4px)}.___SAddon_mgr44_gg_.__disabled_mgr44_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SInlineInput_mgr44_gg_.__focused_mgr44_gg_{z-index:1}.___SInlineInput_mgr44_gg_.__focused_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInlineInput_mgr44_gg_._state_valid_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-success-active, #007c65)}.___SInlineInput_mgr44_gg_._state_valid_mgr44_gg_.__focused_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-success-active, #007c65);box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInlineInput_mgr44_gg_._state_invalid_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-critical-active, #d1002f)}.___SInlineInput_mgr44_gg_._state_invalid_mgr44_gg_.__focused_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-critical-active, #d1002f);box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SValue_mgr44_gg_:focus~.___SControls_mgr44_gg_{display:flex}.___SInvalidPattern_mgr44_gg_{margin-left:-1px;margin-top:-1px;border-radius:0;height:calc(100% - 3px)}" /*__inner_css_end__*/, "mgr44_gg_") /*__reshadow_css_end__*/, {
|
|
30
|
+
"__SInlineInput": "___SInlineInput_mgr44_gg_",
|
|
31
|
+
"_disabled": "__disabled_mgr44_gg_",
|
|
32
|
+
"__SUnderline": "___SUnderline_mgr44_gg_",
|
|
33
|
+
"__SAddon": "___SAddon_mgr44_gg_",
|
|
34
|
+
"_focused": "__focused_mgr44_gg_",
|
|
35
|
+
"_state_valid": "_state_valid_mgr44_gg_",
|
|
36
|
+
"_state_invalid": "_state_invalid_mgr44_gg_",
|
|
37
|
+
"__SValue": "___SValue_mgr44_gg_",
|
|
38
|
+
"__SControls": "___SControls_mgr44_gg_",
|
|
39
|
+
"__SInvalidPattern": "___SInvalidPattern_mgr44_gg_",
|
|
40
|
+
"__SConfirmIcon": "___SConfirmIcon_mgr44_gg_",
|
|
41
|
+
"__SCancelIcon": "___SCancelIcon_mgr44_gg_",
|
|
42
|
+
"_type_number": "_type_number_mgr44_gg_"
|
|
43
43
|
});
|
|
44
44
|
var pointInsideOfRect = function pointInsideOfRect(_ref17) {
|
|
45
45
|
var x = _ref17.x,
|
package/lib/es6/InlineInput.js
CHANGED
|
@@ -21,20 +21,20 @@ import { Box, InvalidStateBox } from '@semcore/flex-box';
|
|
|
21
21
|
import autoFocusEnhance from '@semcore/utils/lib/enhances/autoFocusEnhance';
|
|
22
22
|
import Tooltip from '@semcore/tooltip';
|
|
23
23
|
/*__reshadow-styles__:"./style/inline-input.shadow.css"*/
|
|
24
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
25
|
-
"__SInlineInput": "
|
|
26
|
-
"_disabled": "
|
|
27
|
-
"__SUnderline": "
|
|
28
|
-
"__SAddon": "
|
|
29
|
-
"_focused": "
|
|
30
|
-
"_state_valid": "
|
|
31
|
-
"_state_invalid": "
|
|
32
|
-
"__SValue": "
|
|
33
|
-
"__SControls": "
|
|
34
|
-
"__SInvalidPattern": "
|
|
35
|
-
"__SConfirmIcon": "
|
|
36
|
-
"__SCancelIcon": "
|
|
37
|
-
"_type_number": "
|
|
24
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SInlineInput_mgr44_gg_{display:inline-flex;width:100%;height:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SInlineInput_mgr44_gg_ .___SConfirmIcon_mgr44_gg_{color:var(--intergalactic-icon-secondary-success, #00c192);cursor:pointer}@media (hover:hover){.___SInlineInput_mgr44_gg_ .___SConfirmIcon_mgr44_gg_:hover{color:var(--intergalactic-icon-secondary-success-hover-active, #049B75)}}.___SInlineInput_mgr44_gg_ .___SCancelIcon_mgr44_gg_{color:var(--intergalactic-icon-secondary-neutral, #a9abb6);cursor:pointer}@media (hover:hover){.___SInlineInput_mgr44_gg_ .___SCancelIcon_mgr44_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SInlineInput_mgr44_gg_.__disabled_mgr44_gg_{cursor:default;pointer-events:none;opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SValue_mgr44_gg_{min-width:0;width:100%;height:100%;padding:0 var(--intergalactic-spacing-1x, 4px);border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:inherit;line-height:1.2;text-overflow:ellipsis;font-family:inherit;background:0 0;min-height:1em}.___SValue_mgr44_gg_:focus{outline:0}.___SValue_mgr44_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_mgr44_gg_::placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_mgr44_gg_.__disabled_mgr44_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SValue_mgr44_gg_::-webkit-inner-spin-button,.___SValue_mgr44_gg_::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.___SValue_mgr44_gg_._type_number_mgr44_gg_{-moz-appearance:textfield}.___SUnderline_mgr44_gg_{display:flex;flex-direction:row;align-items:center;flex-grow:1;width:100%;height:100%;min-height:1em;border:1px solid transparent;border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SAddon_mgr44_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;height:100%;color:var(--intergalactic-icon-secondary-neutral, #a9abb6);padding:0 var(--intergalactic-spacing-1x, 4px)}.___SAddon_mgr44_gg_.__disabled_mgr44_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SInlineInput_mgr44_gg_.__focused_mgr44_gg_{z-index:1}.___SInlineInput_mgr44_gg_.__focused_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInlineInput_mgr44_gg_._state_valid_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-success-active, #007c65)}.___SInlineInput_mgr44_gg_._state_valid_mgr44_gg_.__focused_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-success-active, #007c65);box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInlineInput_mgr44_gg_._state_invalid_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-critical-active, #d1002f)}.___SInlineInput_mgr44_gg_._state_invalid_mgr44_gg_.__focused_mgr44_gg_ .___SUnderline_mgr44_gg_{border-bottom-color:var(--intergalactic-border-critical-active, #d1002f);box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SValue_mgr44_gg_:focus~.___SControls_mgr44_gg_{display:flex}.___SInvalidPattern_mgr44_gg_{margin-left:-1px;margin-top:-1px;border-radius:0;height:calc(100% - 3px)}" /*__inner_css_end__*/, "mgr44_gg_") /*__reshadow_css_end__*/, {
|
|
25
|
+
"__SInlineInput": "___SInlineInput_mgr44_gg_",
|
|
26
|
+
"_disabled": "__disabled_mgr44_gg_",
|
|
27
|
+
"__SUnderline": "___SUnderline_mgr44_gg_",
|
|
28
|
+
"__SAddon": "___SAddon_mgr44_gg_",
|
|
29
|
+
"_focused": "__focused_mgr44_gg_",
|
|
30
|
+
"_state_valid": "_state_valid_mgr44_gg_",
|
|
31
|
+
"_state_invalid": "_state_invalid_mgr44_gg_",
|
|
32
|
+
"__SValue": "___SValue_mgr44_gg_",
|
|
33
|
+
"__SControls": "___SControls_mgr44_gg_",
|
|
34
|
+
"__SInvalidPattern": "___SInvalidPattern_mgr44_gg_",
|
|
35
|
+
"__SConfirmIcon": "___SConfirmIcon_mgr44_gg_",
|
|
36
|
+
"__SCancelIcon": "___SCancelIcon_mgr44_gg_",
|
|
37
|
+
"_type_number": "_type_number_mgr44_gg_"
|
|
38
38
|
});
|
|
39
39
|
import CheckM from '@semcore/icon/Check/m';
|
|
40
40
|
import CloseM from '@semcore/icon/Close/m';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/inline-input",
|
|
3
3
|
"description": "Semrush Input Component",
|
|
4
|
-
"version": "4.40.
|
|
4
|
+
"version": "4.40.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/flex-box": "5.31.
|
|
13
|
-
"@semcore/icon": "4.43.
|
|
14
|
-
"@semcore/spin": "5.31.
|
|
15
|
-
"@semcore/tooltip": "6.40.
|
|
16
|
-
"@semcore/utils": "4.32.
|
|
17
|
-
"@semcore/input-number": "5.33.
|
|
18
|
-
"@semcore/input": "4.32.
|
|
19
|
-
"@semcore/core": "2.29.
|
|
12
|
+
"@semcore/flex-box": "5.31.1",
|
|
13
|
+
"@semcore/icon": "4.43.1",
|
|
14
|
+
"@semcore/spin": "5.31.1",
|
|
15
|
+
"@semcore/tooltip": "6.40.1",
|
|
16
|
+
"@semcore/utils": "4.32.1",
|
|
17
|
+
"@semcore/input-number": "5.33.1",
|
|
18
|
+
"@semcore/input": "4.32.1",
|
|
19
|
+
"@semcore/core": "2.29.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/react": "18.0.21",
|