@semcore/input-number 4.7.1 → 4.7.2
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/InputNumber.js +9 -9
- package/lib/es6/InputNumber.js +9 -9
- package/package.json +3 -7
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.7.2] - 2023-06-22
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/input` [3.6.32 ~> 3.7.0]).
|
|
10
|
+
|
|
5
11
|
## [4.7.1] - 2023-06-14
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/InputNumber.js
CHANGED
|
@@ -20,15 +20,15 @@ var _buttons = require("./buttons");
|
|
|
20
20
|
var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
|
|
21
21
|
var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i18nEnhance"));
|
|
22
22
|
/*__reshadow-styles__:"./style/input-number.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
24
|
-
"__SValue": "
|
|
25
|
-
"__SControls": "
|
|
26
|
-
"_showControls": "
|
|
27
|
-
"__SUp": "
|
|
28
|
-
"__SDown": "
|
|
29
|
-
"_type_number": "
|
|
30
|
-
"_disabled": "
|
|
31
|
-
"__SValueHidden": "
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SValue_1aqvf_gg_:focus~.___SControls_1aqvf_gg_{display:flex}.___SControls_1aqvf_gg_{display:none;flex-flow:column;justify-content:center;height:100%;box-sizing:border-box}.___SControls_1aqvf_gg_.__showControls_1aqvf_gg_{display:flex}.___SDown_1aqvf_gg_,.___SUp_1aqvf_gg_{padding:0;width:16px;color:var(--intergalactic-icon-secondary-neutral, #a9abb6);box-sizing:border-box;display:inline-flex;justify-content:center;border:0;background:0 0;cursor:pointer}.___SDown_1aqvf_gg_:focus,.___SUp_1aqvf_gg_:focus{outline:0}@media (hover:hover){.___SDown_1aqvf_gg_:hover,.___SUp_1aqvf_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #8a8e9b)}}.___SUp_1aqvf_gg_{padding-bottom:1px}.___SDown_1aqvf_gg_{padding-top:1px}.___SValue_1aqvf_gg_::-webkit-inner-spin-button,.___SValue_1aqvf_gg_::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.___SValue_1aqvf_gg_._type_number_1aqvf_gg_{-moz-appearance:textfield}.___SValue_1aqvf_gg_.__disabled_1aqvf_gg_~.___SControls_1aqvf_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SValueHidden_1aqvf_gg_{position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden}" /*__inner_css_end__*/, "1aqvf_gg_") /*__reshadow_css_end__*/, {
|
|
24
|
+
"__SValue": "___SValue_1aqvf_gg_",
|
|
25
|
+
"__SControls": "___SControls_1aqvf_gg_",
|
|
26
|
+
"_showControls": "__showControls_1aqvf_gg_",
|
|
27
|
+
"__SUp": "___SUp_1aqvf_gg_",
|
|
28
|
+
"__SDown": "___SDown_1aqvf_gg_",
|
|
29
|
+
"_type_number": "_type_number_1aqvf_gg_",
|
|
30
|
+
"_disabled": "__disabled_1aqvf_gg_",
|
|
31
|
+
"__SValueHidden": "___SValueHidden_1aqvf_gg_"
|
|
32
32
|
});
|
|
33
33
|
function parseValueWithMinMax(value) {
|
|
34
34
|
var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.MIN_SAFE_INTEGER;
|
package/lib/es6/InputNumber.js
CHANGED
|
@@ -16,15 +16,15 @@ import { IncrementIcon, DecrementIcon } from './buttons';
|
|
|
16
16
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
17
17
|
import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
18
18
|
/*__reshadow-styles__:"./style/input-number.shadow.css"*/
|
|
19
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
20
|
-
"__SValue": "
|
|
21
|
-
"__SControls": "
|
|
22
|
-
"_showControls": "
|
|
23
|
-
"__SUp": "
|
|
24
|
-
"__SDown": "
|
|
25
|
-
"_type_number": "
|
|
26
|
-
"_disabled": "
|
|
27
|
-
"__SValueHidden": "
|
|
19
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SValue_1aqvf_gg_:focus~.___SControls_1aqvf_gg_{display:flex}.___SControls_1aqvf_gg_{display:none;flex-flow:column;justify-content:center;height:100%;box-sizing:border-box}.___SControls_1aqvf_gg_.__showControls_1aqvf_gg_{display:flex}.___SDown_1aqvf_gg_,.___SUp_1aqvf_gg_{padding:0;width:16px;color:var(--intergalactic-icon-secondary-neutral, #a9abb6);box-sizing:border-box;display:inline-flex;justify-content:center;border:0;background:0 0;cursor:pointer}.___SDown_1aqvf_gg_:focus,.___SUp_1aqvf_gg_:focus{outline:0}@media (hover:hover){.___SDown_1aqvf_gg_:hover,.___SUp_1aqvf_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #8a8e9b)}}.___SUp_1aqvf_gg_{padding-bottom:1px}.___SDown_1aqvf_gg_{padding-top:1px}.___SValue_1aqvf_gg_::-webkit-inner-spin-button,.___SValue_1aqvf_gg_::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.___SValue_1aqvf_gg_._type_number_1aqvf_gg_{-moz-appearance:textfield}.___SValue_1aqvf_gg_.__disabled_1aqvf_gg_~.___SControls_1aqvf_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SValueHidden_1aqvf_gg_{position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden}" /*__inner_css_end__*/, "1aqvf_gg_") /*__reshadow_css_end__*/, {
|
|
20
|
+
"__SValue": "___SValue_1aqvf_gg_",
|
|
21
|
+
"__SControls": "___SControls_1aqvf_gg_",
|
|
22
|
+
"_showControls": "__showControls_1aqvf_gg_",
|
|
23
|
+
"__SUp": "___SUp_1aqvf_gg_",
|
|
24
|
+
"__SDown": "___SDown_1aqvf_gg_",
|
|
25
|
+
"_type_number": "_type_number_1aqvf_gg_",
|
|
26
|
+
"_disabled": "__disabled_1aqvf_gg_",
|
|
27
|
+
"__SValueHidden": "___SValueHidden_1aqvf_gg_"
|
|
28
28
|
});
|
|
29
29
|
function parseValueWithMinMax(value) {
|
|
30
30
|
var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.MIN_SAFE_INTEGER;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/input-number",
|
|
3
3
|
"description": "Semrush InputNumber Component",
|
|
4
|
-
"version": "4.7.
|
|
4
|
+
"version": "4.7.2",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -17,9 +17,6 @@
|
|
|
17
17
|
"react": "16.8 - 18",
|
|
18
18
|
"react-dom": "16.8 - 18"
|
|
19
19
|
},
|
|
20
|
-
"jest": {
|
|
21
|
-
"preset": "@semcore/jest-preset-ui"
|
|
22
|
-
},
|
|
23
20
|
"repository": {
|
|
24
21
|
"type": "git",
|
|
25
22
|
"url": "https://github.com/semrush/intergalactic.git",
|
|
@@ -27,10 +24,9 @@
|
|
|
27
24
|
},
|
|
28
25
|
"devDependencies": {
|
|
29
26
|
"@types/react": "18.0.21",
|
|
30
|
-
"@semcore/
|
|
27
|
+
"@semcore/testing-utils": "1.0.0"
|
|
31
28
|
},
|
|
32
29
|
"scripts": {
|
|
33
|
-
"build": "pnpm semcore-builder --source=js"
|
|
34
|
-
"test": "jest"
|
|
30
|
+
"build": "pnpm semcore-builder --source=js"
|
|
35
31
|
}
|
|
36
32
|
}
|