@semcore/input 3.0.4 → 3.0.7

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 CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [3.0.7] - 2022-07-13
6
+
7
+ ### Fixed
8
+
9
+ - Fixed applying style(border-radius) for outline.
10
+
11
+ ## [3.0.6] - 2022-07-07
12
+
13
+ ### Changed
14
+
15
+ - Version patch update due to children dependencies update (`@semcore/utils` [3.33.0 ~> 3.34.0], `@semcore/flex-box` [4.5.5 ~> 4.5.6]).
16
+
17
+ ## [3.0.5] - 2022-06-02
18
+
19
+ ### Changed
20
+
21
+ - Version patch update due to children dependencies update (`@semcore/utils` [3.32.2 ~> 3.33.0], `@semcore/flex-box` [4.5.4 ~> 4.5.5], `@semcore/icon` [2.26.1 ~> 2.27.0]).
22
+
5
23
  ## [3.0.4] - 2022-05-31
6
24
 
7
25
  ### Changed
package/README.md CHANGED
@@ -0,0 +1,67 @@
1
+ # @semcore/input
2
+
3
+ [![version](https://img.shields.io/npm/v/@semcore/input.svg)](https://www.npmjs.com/@semcore/input)
4
+ [![downloads](https://img.shields.io/npm/dt/@semcore/input.svg)](https://www.npmjs.com/package/@semcore/input)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/semrush/intergalactic/blob/master/LICENSE)
6
+
7
+ > This component is part of the Intergalactic design system
8
+
9
+ ### 📖 [Component documentation](https://developer.semrush.com/intergalactic/components/input/)
10
+
11
+ ### 🏠 [Design system](https://developer.semrush.com/intergalactic/)
12
+
13
+ ## Install
14
+
15
+ ```sh
16
+ npm install @semcore/ui
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```jsx
22
+ import Input from '@semcore/ui/input';
23
+ ```
24
+
25
+ <details>
26
+ <summary>Alternative installation and use</summary>
27
+
28
+ **We do not recommend this usage path due to possible dependency and update issues.**
29
+
30
+ ### Install
31
+
32
+ You can only install one package from the design system
33
+
34
+ ```sh
35
+ npm install @semcore/input @semcore/core
36
+ ```
37
+
38
+ `@semcore/core` - _is the basic package by which we create our components, and it contains all of the common logic
39
+ of the components that is discussed below. There should only be one version of the package in the project._
40
+
41
+ ### Usage
42
+
43
+ You can use the package the same way but without `/ui/` in the import path.
44
+
45
+ ```jsx
46
+ import Input from '@semcore/input';
47
+ ```
48
+
49
+ </details>
50
+
51
+ ## 👤 Author
52
+
53
+ [UI-kit team](https://github.com/semrush/intergalactic/blob/master/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
54
+
55
+ ## 🤝 Contributing
56
+
57
+ Contributions, issues and feature requests are welcome!
58
+
59
+ Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/master/CONTRIBUTING.md).
60
+
61
+ ## Show your support
62
+
63
+ Give a ⭐️ if this project helped you!
64
+
65
+ ## 📝 License
66
+
67
+ This project is [MIT](https://github.com/semrush/intergalactic/blob/master/LICENSE) licensed.
package/lib/cjs/Input.js CHANGED
@@ -50,26 +50,26 @@ var style = (
50
50
  /*__reshadow_css_start__*/
51
51
  _core.sstyled.insert(
52
52
  /*__inner_css_start__*/
53
- ".___SInput_12tss_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_12tss_gg_ input:-webkit-autofill{border-radius:6px;-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_12tss_gg_ input:-webkit-autofill~.___SOutline_12tss_gg_{background-color:#faffbd}.___SInput_12tss_gg_ .___SOutline_12tss_gg_{border-radius:6px}.___SValue_12tss_gg_{min-width:0;width:100%;height:100%;padding:0;border:none;box-sizing:border-box;color:#191b23;font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:transparent}.___SValue_12tss_gg_:focus{outline:none}.___SValue_12tss_gg_::-moz-placeholder{color:#a9abb6}.___SValue_12tss_gg_:-ms-input-placeholder{color:#a9abb6}.___SValue_12tss_gg_::placeholder{color:#a9abb6}.___SValue_12tss_gg_:-moz-read-only~.___SOutline_12tss_gg_{background:#f4f5f9}.___SValue_12tss_gg_:read-only~.___SOutline_12tss_gg_{background:#f4f5f9}.___SValue_12tss_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.3}.___SValue_12tss_gg_:disabled~.___SOutline_12tss_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SOutline_12tss_gg_{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;z-index:-1;background:#fff}.___SAddon_12tss_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;padding:0 8px;height:100%;color:#a9abb6}.___SAddon_12tss_gg_.__interactive_12tss_gg_{cursor:pointer}.___SAddon_12tss_gg_.__interactive_12tss_gg_:hover{color:#8a8e9b}.___SAddon_12tss_gg_.__disabled_12tss_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SInput_12tss_gg_._size_m_12tss_gg_{font-size:14px;height:28px}.___SValue_12tss_gg_._size_l_12tss_gg_,.___SValue_12tss_gg_._size_m_12tss_gg_{padding:0 8px}.___SInput_12tss_gg_._size_l_12tss_gg_{font-size:16px;height:40px;padding-left:4px;padding-right:4px}.___SInput_12tss_gg_.__focused_12tss_gg_{z-index:1}.___SInput_12tss_gg_._state_normal_12tss_gg_ .___SOutline_12tss_gg_{border-color:#c4c7cf}.___SInput_12tss_gg_._state_normal_12tss_gg_ .___SValue_12tss_gg_:focus~.___SOutline_12tss_gg_{border-color:#008ff8;box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SInput_12tss_gg_._state_valid_12tss_gg_ .___SOutline_12tss_gg_{border-color:#59ddaa}.___SInput_12tss_gg_._state_valid_12tss_gg_ .___SValue_12tss_gg_:focus~.___SOutline_12tss_gg_{border-color:#009f81;box-shadow:0px 0px 0px 3px rgba(0, 159, 129, 0.2)}.___SInput_12tss_gg_._state_invalid_12tss_gg_ .___SOutline_12tss_gg_{border-color:#ffaeb5}.___SInput_12tss_gg_._state_invalid_12tss_gg_ .___SValue_12tss_gg_:focus~.___SOutline_12tss_gg_{border-color:#ff4953;box-shadow:0px 0px 0px 3px rgba(255, 73, 83, 0.2)}.___SInput_12tss_gg_._neighborLocation_right_12tss_gg_ .___SOutline_12tss_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_12tss_gg_._neighborLocation_both_12tss_gg_ .___SOutline_12tss_gg_{border-radius:0;border-left:none}.___SInput_12tss_gg_._neighborLocation_left_12tss_gg_ .___SOutline_12tss_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SAddon_12tss_gg_._neighborLocation_right_12tss_gg_{padding-right:8px}.___SAddon_12tss_gg_._neighborLocation_left_12tss_gg_{padding-left:8px}.___SValue_12tss_gg_._neighborLocation_right_12tss_gg_{padding-right:0}.___SValue_12tss_gg_._neighborLocation_both_12tss_gg_{padding-left:0;padding-right:0}.___SValue_12tss_gg_._neighborLocation_left_12tss_gg_{padding-left:0}"
53
+ ".___SInput_1e3n5_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_1e3n5_gg_ input:-webkit-autofill{border-radius:6px;-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_1e3n5_gg_ input:-webkit-autofill~.___SOutline_1e3n5_gg_{background-color:#faffbd}.___SValue_1e3n5_gg_{min-width:0;width:100%;height:100%;padding:0;border:none;box-sizing:border-box;color:#191b23;font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:transparent}.___SValue_1e3n5_gg_:focus{outline:none}.___SValue_1e3n5_gg_::-moz-placeholder{color:#a9abb6}.___SValue_1e3n5_gg_:-ms-input-placeholder{color:#a9abb6}.___SValue_1e3n5_gg_::placeholder{color:#a9abb6}.___SValue_1e3n5_gg_:-moz-read-only~.___SOutline_1e3n5_gg_{background:#f4f5f9}.___SValue_1e3n5_gg_:read-only~.___SOutline_1e3n5_gg_{background:#f4f5f9}.___SValue_1e3n5_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.3}.___SValue_1e3n5_gg_:disabled~.___SOutline_1e3n5_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SOutline_1e3n5_gg_{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-radius:6px;z-index:-1;background:#fff}.___SAddon_1e3n5_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;padding:0 8px;height:100%;color:#a9abb6}.___SAddon_1e3n5_gg_.__interactive_1e3n5_gg_{cursor:pointer}.___SAddon_1e3n5_gg_.__interactive_1e3n5_gg_:hover{color:#8a8e9b}.___SAddon_1e3n5_gg_.__disabled_1e3n5_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SInput_1e3n5_gg_._size_m_1e3n5_gg_{font-size:14px;height:28px}.___SValue_1e3n5_gg_._size_l_1e3n5_gg_,.___SValue_1e3n5_gg_._size_m_1e3n5_gg_{padding:0 8px}.___SInput_1e3n5_gg_._size_l_1e3n5_gg_{font-size:16px;height:40px;padding-left:4px;padding-right:4px}.___SInput_1e3n5_gg_.__focused_1e3n5_gg_{z-index:1}.___SInput_1e3n5_gg_._state_normal_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-color:#c4c7cf}.___SInput_1e3n5_gg_._state_normal_1e3n5_gg_ .___SValue_1e3n5_gg_:focus~.___SOutline_1e3n5_gg_{border-color:#008ff8;box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SInput_1e3n5_gg_._state_valid_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-color:#59ddaa}.___SInput_1e3n5_gg_._state_valid_1e3n5_gg_ .___SValue_1e3n5_gg_:focus~.___SOutline_1e3n5_gg_{border-color:#009f81;box-shadow:0px 0px 0px 3px rgba(0, 159, 129, 0.2)}.___SInput_1e3n5_gg_._state_invalid_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-color:#ffaeb5}.___SInput_1e3n5_gg_._state_invalid_1e3n5_gg_ .___SValue_1e3n5_gg_:focus~.___SOutline_1e3n5_gg_{border-color:#ff4953;box-shadow:0px 0px 0px 3px rgba(255, 73, 83, 0.2)}.___SInput_1e3n5_gg_._neighborLocation_right_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_1e3n5_gg_._neighborLocation_both_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-radius:0;border-left:none}.___SInput_1e3n5_gg_._neighborLocation_left_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SAddon_1e3n5_gg_._neighborLocation_right_1e3n5_gg_{padding-right:8px}.___SAddon_1e3n5_gg_._neighborLocation_left_1e3n5_gg_{padding-left:8px}.___SValue_1e3n5_gg_._neighborLocation_right_1e3n5_gg_{padding-right:0}.___SValue_1e3n5_gg_._neighborLocation_both_1e3n5_gg_{padding-left:0;padding-right:0}.___SValue_1e3n5_gg_._neighborLocation_left_1e3n5_gg_{padding-left:0}"
54
54
  /*__inner_css_end__*/
55
- , "17wylmg_gg_")
55
+ , "q9t2u9_gg_")
56
56
  /*__reshadow_css_end__*/
57
57
  , {
58
- "__SInput": "___SInput_12tss_gg_",
59
- "__SOutline": "___SOutline_12tss_gg_",
60
- "__SValue": "___SValue_12tss_gg_",
61
- "__SAddon": "___SAddon_12tss_gg_",
62
- "_interactive": "__interactive_12tss_gg_",
63
- "_disabled": "__disabled_12tss_gg_",
64
- "_size_m": "_size_m_12tss_gg_",
65
- "_size_l": "_size_l_12tss_gg_",
66
- "_focused": "__focused_12tss_gg_",
67
- "_state_normal": "_state_normal_12tss_gg_",
68
- "_state_valid": "_state_valid_12tss_gg_",
69
- "_state_invalid": "_state_invalid_12tss_gg_",
70
- "_neighborLocation_right": "_neighborLocation_right_12tss_gg_",
71
- "_neighborLocation_both": "_neighborLocation_both_12tss_gg_",
72
- "_neighborLocation_left": "_neighborLocation_left_12tss_gg_"
58
+ "__SInput": "___SInput_1e3n5_gg_",
59
+ "__SOutline": "___SOutline_1e3n5_gg_",
60
+ "__SValue": "___SValue_1e3n5_gg_",
61
+ "__SAddon": "___SAddon_1e3n5_gg_",
62
+ "_interactive": "__interactive_1e3n5_gg_",
63
+ "_disabled": "__disabled_1e3n5_gg_",
64
+ "_size_m": "_size_m_1e3n5_gg_",
65
+ "_size_l": "_size_l_1e3n5_gg_",
66
+ "_focused": "__focused_1e3n5_gg_",
67
+ "_state_normal": "_state_normal_1e3n5_gg_",
68
+ "_state_valid": "_state_valid_1e3n5_gg_",
69
+ "_state_invalid": "_state_invalid_1e3n5_gg_",
70
+ "_neighborLocation_right": "_neighborLocation_right_1e3n5_gg_",
71
+ "_neighborLocation_both": "_neighborLocation_both_1e3n5_gg_",
72
+ "_neighborLocation_left": "_neighborLocation_left_1e3n5_gg_"
73
73
  });
74
74
 
75
75
  var Input = /*#__PURE__*/function (_Component) {
@@ -18,10 +18,6 @@ SInput {
18
18
  background-color: rgb(250, 255, 189);
19
19
  }
20
20
  }
21
-
22
- & SOutline {
23
- border-radius: var(--rounded-m);
24
- }
25
21
  }
26
22
 
27
23
  SValue {
@@ -69,6 +65,7 @@ SOutline {
69
65
  bottom: 0;
70
66
  left: 0;
71
67
  border: 1px solid;
68
+ border-radius: var(--rounded-m);
72
69
  z-index: -1;
73
70
  background: #fff;
74
71
  }
package/lib/es6/Input.js CHANGED
@@ -29,26 +29,26 @@ var style = (
29
29
  /*__reshadow_css_start__*/
30
30
  _sstyled.insert(
31
31
  /*__inner_css_start__*/
32
- ".___SInput_12tss_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_12tss_gg_ input:-webkit-autofill{border-radius:6px;-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_12tss_gg_ input:-webkit-autofill~.___SOutline_12tss_gg_{background-color:#faffbd}.___SInput_12tss_gg_ .___SOutline_12tss_gg_{border-radius:6px}.___SValue_12tss_gg_{min-width:0;width:100%;height:100%;padding:0;border:none;box-sizing:border-box;color:#191b23;font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:transparent}.___SValue_12tss_gg_:focus{outline:none}.___SValue_12tss_gg_::-moz-placeholder{color:#a9abb6}.___SValue_12tss_gg_:-ms-input-placeholder{color:#a9abb6}.___SValue_12tss_gg_::placeholder{color:#a9abb6}.___SValue_12tss_gg_:-moz-read-only~.___SOutline_12tss_gg_{background:#f4f5f9}.___SValue_12tss_gg_:read-only~.___SOutline_12tss_gg_{background:#f4f5f9}.___SValue_12tss_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.3}.___SValue_12tss_gg_:disabled~.___SOutline_12tss_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SOutline_12tss_gg_{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;z-index:-1;background:#fff}.___SAddon_12tss_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;padding:0 8px;height:100%;color:#a9abb6}.___SAddon_12tss_gg_.__interactive_12tss_gg_{cursor:pointer}.___SAddon_12tss_gg_.__interactive_12tss_gg_:hover{color:#8a8e9b}.___SAddon_12tss_gg_.__disabled_12tss_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SInput_12tss_gg_._size_m_12tss_gg_{font-size:14px;height:28px}.___SValue_12tss_gg_._size_l_12tss_gg_,.___SValue_12tss_gg_._size_m_12tss_gg_{padding:0 8px}.___SInput_12tss_gg_._size_l_12tss_gg_{font-size:16px;height:40px;padding-left:4px;padding-right:4px}.___SInput_12tss_gg_.__focused_12tss_gg_{z-index:1}.___SInput_12tss_gg_._state_normal_12tss_gg_ .___SOutline_12tss_gg_{border-color:#c4c7cf}.___SInput_12tss_gg_._state_normal_12tss_gg_ .___SValue_12tss_gg_:focus~.___SOutline_12tss_gg_{border-color:#008ff8;box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SInput_12tss_gg_._state_valid_12tss_gg_ .___SOutline_12tss_gg_{border-color:#59ddaa}.___SInput_12tss_gg_._state_valid_12tss_gg_ .___SValue_12tss_gg_:focus~.___SOutline_12tss_gg_{border-color:#009f81;box-shadow:0px 0px 0px 3px rgba(0, 159, 129, 0.2)}.___SInput_12tss_gg_._state_invalid_12tss_gg_ .___SOutline_12tss_gg_{border-color:#ffaeb5}.___SInput_12tss_gg_._state_invalid_12tss_gg_ .___SValue_12tss_gg_:focus~.___SOutline_12tss_gg_{border-color:#ff4953;box-shadow:0px 0px 0px 3px rgba(255, 73, 83, 0.2)}.___SInput_12tss_gg_._neighborLocation_right_12tss_gg_ .___SOutline_12tss_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_12tss_gg_._neighborLocation_both_12tss_gg_ .___SOutline_12tss_gg_{border-radius:0;border-left:none}.___SInput_12tss_gg_._neighborLocation_left_12tss_gg_ .___SOutline_12tss_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SAddon_12tss_gg_._neighborLocation_right_12tss_gg_{padding-right:8px}.___SAddon_12tss_gg_._neighborLocation_left_12tss_gg_{padding-left:8px}.___SValue_12tss_gg_._neighborLocation_right_12tss_gg_{padding-right:0}.___SValue_12tss_gg_._neighborLocation_both_12tss_gg_{padding-left:0;padding-right:0}.___SValue_12tss_gg_._neighborLocation_left_12tss_gg_{padding-left:0}"
32
+ ".___SInput_1e3n5_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_1e3n5_gg_ input:-webkit-autofill{border-radius:6px;-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_1e3n5_gg_ input:-webkit-autofill~.___SOutline_1e3n5_gg_{background-color:#faffbd}.___SValue_1e3n5_gg_{min-width:0;width:100%;height:100%;padding:0;border:none;box-sizing:border-box;color:#191b23;font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:transparent}.___SValue_1e3n5_gg_:focus{outline:none}.___SValue_1e3n5_gg_::-moz-placeholder{color:#a9abb6}.___SValue_1e3n5_gg_:-ms-input-placeholder{color:#a9abb6}.___SValue_1e3n5_gg_::placeholder{color:#a9abb6}.___SValue_1e3n5_gg_:-moz-read-only~.___SOutline_1e3n5_gg_{background:#f4f5f9}.___SValue_1e3n5_gg_:read-only~.___SOutline_1e3n5_gg_{background:#f4f5f9}.___SValue_1e3n5_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.3}.___SValue_1e3n5_gg_:disabled~.___SOutline_1e3n5_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SOutline_1e3n5_gg_{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-radius:6px;z-index:-1;background:#fff}.___SAddon_1e3n5_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;padding:0 8px;height:100%;color:#a9abb6}.___SAddon_1e3n5_gg_.__interactive_1e3n5_gg_{cursor:pointer}.___SAddon_1e3n5_gg_.__interactive_1e3n5_gg_:hover{color:#8a8e9b}.___SAddon_1e3n5_gg_.__disabled_1e3n5_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SInput_1e3n5_gg_._size_m_1e3n5_gg_{font-size:14px;height:28px}.___SValue_1e3n5_gg_._size_l_1e3n5_gg_,.___SValue_1e3n5_gg_._size_m_1e3n5_gg_{padding:0 8px}.___SInput_1e3n5_gg_._size_l_1e3n5_gg_{font-size:16px;height:40px;padding-left:4px;padding-right:4px}.___SInput_1e3n5_gg_.__focused_1e3n5_gg_{z-index:1}.___SInput_1e3n5_gg_._state_normal_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-color:#c4c7cf}.___SInput_1e3n5_gg_._state_normal_1e3n5_gg_ .___SValue_1e3n5_gg_:focus~.___SOutline_1e3n5_gg_{border-color:#008ff8;box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SInput_1e3n5_gg_._state_valid_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-color:#59ddaa}.___SInput_1e3n5_gg_._state_valid_1e3n5_gg_ .___SValue_1e3n5_gg_:focus~.___SOutline_1e3n5_gg_{border-color:#009f81;box-shadow:0px 0px 0px 3px rgba(0, 159, 129, 0.2)}.___SInput_1e3n5_gg_._state_invalid_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-color:#ffaeb5}.___SInput_1e3n5_gg_._state_invalid_1e3n5_gg_ .___SValue_1e3n5_gg_:focus~.___SOutline_1e3n5_gg_{border-color:#ff4953;box-shadow:0px 0px 0px 3px rgba(255, 73, 83, 0.2)}.___SInput_1e3n5_gg_._neighborLocation_right_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_1e3n5_gg_._neighborLocation_both_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-radius:0;border-left:none}.___SInput_1e3n5_gg_._neighborLocation_left_1e3n5_gg_ .___SOutline_1e3n5_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SAddon_1e3n5_gg_._neighborLocation_right_1e3n5_gg_{padding-right:8px}.___SAddon_1e3n5_gg_._neighborLocation_left_1e3n5_gg_{padding-left:8px}.___SValue_1e3n5_gg_._neighborLocation_right_1e3n5_gg_{padding-right:0}.___SValue_1e3n5_gg_._neighborLocation_both_1e3n5_gg_{padding-left:0;padding-right:0}.___SValue_1e3n5_gg_._neighborLocation_left_1e3n5_gg_{padding-left:0}"
33
33
  /*__inner_css_end__*/
34
- , "17wylmg_gg_")
34
+ , "q9t2u9_gg_")
35
35
  /*__reshadow_css_end__*/
36
36
  , {
37
- "__SInput": "___SInput_12tss_gg_",
38
- "__SOutline": "___SOutline_12tss_gg_",
39
- "__SValue": "___SValue_12tss_gg_",
40
- "__SAddon": "___SAddon_12tss_gg_",
41
- "_interactive": "__interactive_12tss_gg_",
42
- "_disabled": "__disabled_12tss_gg_",
43
- "_size_m": "_size_m_12tss_gg_",
44
- "_size_l": "_size_l_12tss_gg_",
45
- "_focused": "__focused_12tss_gg_",
46
- "_state_normal": "_state_normal_12tss_gg_",
47
- "_state_valid": "_state_valid_12tss_gg_",
48
- "_state_invalid": "_state_invalid_12tss_gg_",
49
- "_neighborLocation_right": "_neighborLocation_right_12tss_gg_",
50
- "_neighborLocation_both": "_neighborLocation_both_12tss_gg_",
51
- "_neighborLocation_left": "_neighborLocation_left_12tss_gg_"
37
+ "__SInput": "___SInput_1e3n5_gg_",
38
+ "__SOutline": "___SOutline_1e3n5_gg_",
39
+ "__SValue": "___SValue_1e3n5_gg_",
40
+ "__SAddon": "___SAddon_1e3n5_gg_",
41
+ "_interactive": "__interactive_1e3n5_gg_",
42
+ "_disabled": "__disabled_1e3n5_gg_",
43
+ "_size_m": "_size_m_1e3n5_gg_",
44
+ "_size_l": "_size_l_1e3n5_gg_",
45
+ "_focused": "__focused_1e3n5_gg_",
46
+ "_state_normal": "_state_normal_1e3n5_gg_",
47
+ "_state_valid": "_state_valid_1e3n5_gg_",
48
+ "_state_invalid": "_state_invalid_1e3n5_gg_",
49
+ "_neighborLocation_right": "_neighborLocation_right_1e3n5_gg_",
50
+ "_neighborLocation_both": "_neighborLocation_both_1e3n5_gg_",
51
+ "_neighborLocation_left": "_neighborLocation_left_1e3n5_gg_"
52
52
  });
53
53
 
54
54
  var Input = /*#__PURE__*/function (_Component) {
@@ -18,10 +18,6 @@ SInput {
18
18
  background-color: rgb(250, 255, 189);
19
19
  }
20
20
  }
21
-
22
- & SOutline {
23
- border-radius: var(--rounded-m);
24
- }
25
21
  }
26
22
 
27
23
  SValue {
@@ -69,6 +65,7 @@ SOutline {
69
65
  bottom: 0;
70
66
  left: 0;
71
67
  border: 1px solid;
68
+ border-radius: var(--rounded-m);
72
69
  z-index: -1;
73
70
  background: #fff;
74
71
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@semcore/input",
3
3
  "description": "SEMRush Input Component",
4
- "version": "3.0.4",
4
+ "version": "3.0.7",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
8
8
  "sideEffects": false,
9
- "author": "Roman Lysov <r.lysov@semrush.com>",
9
+ "author": "UI-kit team <ui-kit-team@semrush.com>",
10
10
  "license": "MIT",
11
11
  "scripts": {
12
12
  "build": "build --source=js",
@@ -18,10 +18,6 @@ SInput {
18
18
  background-color: rgb(250, 255, 189);
19
19
  }
20
20
  }
21
-
22
- & SOutline {
23
- border-radius: var(--rounded-m);
24
- }
25
21
  }
26
22
 
27
23
  SValue {
@@ -69,6 +65,7 @@ SOutline {
69
65
  bottom: 0;
70
66
  left: 0;
71
67
  border: 1px solid;
68
+ border-radius: var(--rounded-m);
72
69
  z-index: -1;
73
70
  background: #fff;
74
71
  }