@semcore/input-number 16.0.8 → 16.0.9-prerelease.3
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/lib/esm/InputNumber.mjs +10 -10
- package/package.json +6 -6
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
|
+
## [16.0.9] - 2025-09-12
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/input` [16.0.8 ~> 16.0.9], `@semcore/flex-box` [16.0.8 ~> 16.0.9], `@semcore/base-components` [16.2.2 ~> 16.2.3]).
|
|
10
|
+
|
|
5
11
|
## [16.0.8] - 2025-09-05
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/InputNumber.js
CHANGED
|
@@ -25,17 +25,17 @@ var _buttons = require("./buttons");
|
|
|
25
25
|
var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
|
|
26
26
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
27
27
|
/*!__reshadow-styles__:"./style/input-number.shadow.css"*/
|
|
28
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
28
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SValue_oawnw_gg_:focus~.___SControls_oawnw_gg_{display:flex}.___SControls_oawnw_gg_{display:none;flex-flow:column;justify-content:center;height:100%;box-sizing:border-box}.___SControls_oawnw_gg_.__showControls_oawnw_gg_{display:flex}.___SDown_oawnw_gg_,.___SUp_oawnw_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_oawnw_gg_:focus,.___SUp_oawnw_gg_:focus{outline:0}@media (hover:hover){.___SDown_oawnw_gg_:hover,.___SUp_oawnw_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SUp_oawnw_gg_{padding-bottom:1px}.___SDown_oawnw_gg_{padding-top:1px}.___SValue_oawnw_gg_::-webkit-inner-spin-button,.___SValue_oawnw_gg_::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.___SValue_oawnw_gg_._type_number_oawnw_gg_{-moz-appearance:textfield}.___SValue_oawnw_gg_.__disabled_oawnw_gg_~.___SControls_oawnw_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SValueHidden_oawnw_gg_{position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden}", /*__inner_css_end__*/"oawnw_gg_"),
|
|
29
29
|
/*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SValue": "
|
|
32
|
-
"__SControls": "
|
|
33
|
-
"_showControls": "
|
|
34
|
-
"__SUp": "
|
|
35
|
-
"__SDown": "
|
|
36
|
-
"_disabled": "
|
|
37
|
-
"__SValueHidden": "
|
|
38
|
-
"_type_number": "
|
|
31
|
+
"__SValue": "___SValue_oawnw_gg_",
|
|
32
|
+
"__SControls": "___SControls_oawnw_gg_",
|
|
33
|
+
"_showControls": "__showControls_oawnw_gg_",
|
|
34
|
+
"__SUp": "___SUp_oawnw_gg_",
|
|
35
|
+
"__SDown": "___SDown_oawnw_gg_",
|
|
36
|
+
"_disabled": "__disabled_oawnw_gg_",
|
|
37
|
+
"__SValueHidden": "___SValueHidden_oawnw_gg_",
|
|
38
|
+
"_type_number": "_type_number_oawnw_gg_"
|
|
39
39
|
});
|
|
40
40
|
function parseValueWithMinMax(value) {
|
|
41
41
|
var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.MIN_SAFE_INTEGER;
|
package/lib/es6/InputNumber.js
CHANGED
|
@@ -20,17 +20,17 @@ import Input from '@semcore/input';
|
|
|
20
20
|
import React from 'react';
|
|
21
21
|
import { DecrementIcon, IncrementIcon } from './buttons';
|
|
22
22
|
/*!__reshadow-styles__:"./style/input-number.shadow.css"*/
|
|
23
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
23
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SValue_oawnw_gg_:focus~.___SControls_oawnw_gg_{display:flex}.___SControls_oawnw_gg_{display:none;flex-flow:column;justify-content:center;height:100%;box-sizing:border-box}.___SControls_oawnw_gg_.__showControls_oawnw_gg_{display:flex}.___SDown_oawnw_gg_,.___SUp_oawnw_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_oawnw_gg_:focus,.___SUp_oawnw_gg_:focus{outline:0}@media (hover:hover){.___SDown_oawnw_gg_:hover,.___SUp_oawnw_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SUp_oawnw_gg_{padding-bottom:1px}.___SDown_oawnw_gg_{padding-top:1px}.___SValue_oawnw_gg_::-webkit-inner-spin-button,.___SValue_oawnw_gg_::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.___SValue_oawnw_gg_._type_number_oawnw_gg_{-moz-appearance:textfield}.___SValue_oawnw_gg_.__disabled_oawnw_gg_~.___SControls_oawnw_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SValueHidden_oawnw_gg_{position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden}", /*__inner_css_end__*/"oawnw_gg_"),
|
|
24
24
|
/*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SValue": "
|
|
27
|
-
"__SControls": "
|
|
28
|
-
"_showControls": "
|
|
29
|
-
"__SUp": "
|
|
30
|
-
"__SDown": "
|
|
31
|
-
"_disabled": "
|
|
32
|
-
"__SValueHidden": "
|
|
33
|
-
"_type_number": "
|
|
26
|
+
"__SValue": "___SValue_oawnw_gg_",
|
|
27
|
+
"__SControls": "___SControls_oawnw_gg_",
|
|
28
|
+
"_showControls": "__showControls_oawnw_gg_",
|
|
29
|
+
"__SUp": "___SUp_oawnw_gg_",
|
|
30
|
+
"__SDown": "___SDown_oawnw_gg_",
|
|
31
|
+
"_disabled": "__disabled_oawnw_gg_",
|
|
32
|
+
"__SValueHidden": "___SValueHidden_oawnw_gg_",
|
|
33
|
+
"_type_number": "_type_number_oawnw_gg_"
|
|
34
34
|
});
|
|
35
35
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
36
36
|
export function parseValueWithMinMax(value) {
|
package/lib/esm/InputNumber.mjs
CHANGED
|
@@ -23,19 +23,19 @@ var style = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
(sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
".
|
|
26
|
+
".___SValue_oawnw_gg_:focus~.___SControls_oawnw_gg_{display:flex}.___SControls_oawnw_gg_{display:none;flex-flow:column;justify-content:center;height:100%;box-sizing:border-box}.___SControls_oawnw_gg_.__showControls_oawnw_gg_{display:flex}.___SDown_oawnw_gg_,.___SUp_oawnw_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_oawnw_gg_:focus,.___SUp_oawnw_gg_:focus{outline:0}@media (hover:hover){.___SDown_oawnw_gg_:hover,.___SUp_oawnw_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SUp_oawnw_gg_{padding-bottom:1px}.___SDown_oawnw_gg_{padding-top:1px}.___SValue_oawnw_gg_::-webkit-inner-spin-button,.___SValue_oawnw_gg_::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.___SValue_oawnw_gg_._type_number_oawnw_gg_{-moz-appearance:textfield}.___SValue_oawnw_gg_.__disabled_oawnw_gg_~.___SControls_oawnw_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SValueHidden_oawnw_gg_{position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden}",
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
|
-
"
|
|
28
|
+
"oawnw_gg_"
|
|
29
29
|
), /*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SValue": "
|
|
32
|
-
"__SControls": "
|
|
33
|
-
"_showControls": "
|
|
34
|
-
"__SUp": "
|
|
35
|
-
"__SDown": "
|
|
36
|
-
"_disabled": "
|
|
37
|
-
"__SValueHidden": "
|
|
38
|
-
"_type_number": "
|
|
31
|
+
"__SValue": "___SValue_oawnw_gg_",
|
|
32
|
+
"__SControls": "___SControls_oawnw_gg_",
|
|
33
|
+
"_showControls": "__showControls_oawnw_gg_",
|
|
34
|
+
"__SUp": "___SUp_oawnw_gg_",
|
|
35
|
+
"__SDown": "___SDown_oawnw_gg_",
|
|
36
|
+
"_disabled": "__disabled_oawnw_gg_",
|
|
37
|
+
"__SValueHidden": "___SValueHidden_oawnw_gg_",
|
|
38
|
+
"_type_number": "_type_number_oawnw_gg_"
|
|
39
39
|
})
|
|
40
40
|
);
|
|
41
41
|
function parseValueWithMinMax(value) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/input-number",
|
|
3
3
|
"description": "Semrush InputNumber Component",
|
|
4
|
-
"version": "16.0.
|
|
4
|
+
"version": "16.0.9-prerelease.3",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/input": "16.0.
|
|
18
|
-
"@semcore/flex-box": "16.0.
|
|
17
|
+
"@semcore/input": "16.0.9-prerelease.3",
|
|
18
|
+
"@semcore/flex-box": "16.0.9-prerelease.3"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@semcore/base-components": "^16.
|
|
21
|
+
"@semcore/base-components": "^16.2.3-prerelease.3"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"directory": "semcore/input-number"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@semcore/
|
|
30
|
-
"@semcore/
|
|
29
|
+
"@semcore/testing-utils": "1.0.0",
|
|
30
|
+
"@semcore/core": "16.3.0-prerelease.3"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|