@semcore/inline-input 3.1.0 → 3.1.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 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
+ ## [3.1.1] - 2022-10-17
6
+
7
+ ### Changed
8
+
9
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [4.6.0 ~> 4.6.1], `@semcore/icon` [3.0.0 ~> 3.0.1], `@semcore/utils` [3.39.0 ~> 3.39.0]).
10
+
5
11
  ## [3.1.0] - 2022-10-10
6
12
 
7
13
  ### Changed
@@ -56,21 +56,21 @@ var style = (
56
56
  /*__reshadow_css_start__*/
57
57
  _core.sstyled.insert(
58
58
  /*__inner_css_start__*/
59
- ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SInlineInput_bqhjj_gg_ {\n display: inline-flex;\n width: 100%;\n height: 100%;\n align-items: center;\n position: relative;\n z-index: 0;\n vertical-align: middle;\n padding: 1px;\n box-sizing: border-box;\n\n background-color: #ffffff;\n}\n\n.___SInlineInput_bqhjj_gg_.__disabled_bqhjj_gg_ {\n cursor: default;\n pointer-events: none;\n opacity: 0.3;\n}\n\n.___SValue_bqhjj_gg_ {\n /* hack for firefox */\n min-width: 0;\n\n width: 100%;\n height: 100%;\n padding: 0px 4px;\n border: none;\n box-sizing: border-box;\n color: #191b23;\n font-size: inherit;\n line-height: 1.2;\n text-overflow: ellipsis;\n font-family: inherit;\n background: transparent;\n min-height: 1em\n}\n\n.___SValue_bqhjj_gg_:focus {\n outline: none;\n }\n\n.___SValue_bqhjj_gg_::-moz-placeholder {\n color: #a9abb6;\n }\n\n.___SValue_bqhjj_gg_::placeholder {\n color: #a9abb6;\n }\n\n.___SValue_bqhjj_gg_.__disabled_bqhjj_gg_ {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n }\n\n.___SUnderline_bqhjj_gg_ {\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-grow: 1;\n width: 100%;\n height: 100%;\n min-height: 1em;\n border: 1px solid transparent;\n border-bottom: 1px solid #c4c7cf;\n}\n\n.___SAddon_bqhjj_gg_ {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n flex: 0 0 auto;\n height: 100%;\n color: #a9abb6;\n padding: 0 4px;\n}\n\n.___SAddon_bqhjj_gg_.__disabled_bqhjj_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n}\n\n.___SConfirmIcon_bqhjj_gg_ {\n color: #00c192;\n cursor: pointer;\n}\n\n.___SConfirmIcon_bqhjj_gg_:hover {\n color: #009f81;\n}\n\n.___SCancelIcon_bqhjj_gg_ {\n color: #a9abb6;\n cursor: pointer;\n}\n\n.___SCancelIcon_bqhjj_gg_:hover {\n color: #8a8e9b;\n}\n\n.___SInlineInput_bqhjj_gg_.__focused_bqhjj_gg_ {\n z-index: 1;\n}\n\n.___SInlineInput_bqhjj_gg_.__focused_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #008ff8;\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n.___SInlineInput_bqhjj_gg_._state_valid_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #59ddaa;\n}\n\n.___SInlineInput_bqhjj_gg_._state_valid_bqhjj_gg_.__focused_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #009f81;\n box-shadow: 0px 0px 0px 3px rgba(0, 159, 129, 0.2);\n}\n\n.___SInlineInput_bqhjj_gg_._state_invalid_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #ffaeb5;\n}\n\n.___SInlineInput_bqhjj_gg_._state_invalid_bqhjj_gg_.__focused_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #ff4953;\n box-shadow: 0px 0px 0px 3px rgba(255, 73, 83, 0.2);\n}\n"
59
+ ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SInlineInput_1gia6_gg_ {\n display: inline-flex;\n width: 100%;\n height: 100%;\n align-items: center;\n position: relative;\n z-index: 0;\n vertical-align: middle;\n padding: 1px;\n box-sizing: border-box;\n\n background-color: #ffffff;\n}\n\n.___SInlineInput_1gia6_gg_.__disabled_1gia6_gg_ {\n cursor: default;\n pointer-events: none;\n opacity: 0.3;\n}\n\n.___SValue_1gia6_gg_ {\n /* hack for firefox */\n min-width: 0;\n\n width: 100%;\n height: 100%;\n padding: 0px 4px;\n border: none;\n box-sizing: border-box;\n color: #191b23;\n font-size: inherit;\n line-height: 1.2;\n text-overflow: ellipsis;\n font-family: inherit;\n background: transparent;\n min-height: 1em\n}\n\n.___SValue_1gia6_gg_:focus {\n outline: none;\n }\n\n.___SValue_1gia6_gg_::-moz-placeholder {\n color: #a9abb6;\n }\n\n.___SValue_1gia6_gg_::placeholder {\n color: #a9abb6;\n }\n\n.___SValue_1gia6_gg_.__disabled_1gia6_gg_ {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n }\n\n.___SUnderline_1gia6_gg_ {\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-grow: 1;\n width: 100%;\n height: 100%;\n min-height: 1em;\n border: 1px solid transparent;\n border-bottom: 1px solid #c4c7cf;\n}\n\n.___SAddon_1gia6_gg_ {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n flex: 0 0 auto;\n height: 100%;\n color: #a9abb6;\n padding: 0 4px;\n}\n\n.___SAddon_1gia6_gg_.__disabled_1gia6_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n}\n\n.___SConfirmIcon_1gia6_gg_ {\n color: #00c192;\n cursor: pointer;\n}\n\n.___SConfirmIcon_1gia6_gg_:hover {\n color: #009f81;\n}\n\n.___SCancelIcon_1gia6_gg_ {\n color: #a9abb6;\n cursor: pointer;\n}\n\n.___SCancelIcon_1gia6_gg_:hover {\n color: #8a8e9b;\n}\n\n.___SInlineInput_1gia6_gg_.__focused_1gia6_gg_ {\n z-index: 1;\n}\n\n.___SInlineInput_1gia6_gg_.__focused_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #008ff8;\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n.___SInlineInput_1gia6_gg_._state_valid_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #59ddaa;\n}\n\n.___SInlineInput_1gia6_gg_._state_valid_1gia6_gg_.__focused_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #009f81;\n box-shadow: 0px 0px 0px 3px rgba(0, 159, 129, 0.2);\n}\n\n.___SInlineInput_1gia6_gg_._state_invalid_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #ffaeb5;\n}\n\n.___SInlineInput_1gia6_gg_._state_invalid_1gia6_gg_.__focused_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #ff4953;\n box-shadow: 0px 0px 0px 3px rgba(255, 73, 83, 0.2);\n}\n"
60
60
  /*__inner_css_end__*/
61
- , "bqhjj_gg_")
61
+ , "1gia6_gg_")
62
62
  /*__reshadow_css_end__*/
63
63
  , {
64
- "__SInlineInput": "___SInlineInput_bqhjj_gg_",
65
- "_disabled": "__disabled_bqhjj_gg_",
66
- "__SValue": "___SValue_bqhjj_gg_",
67
- "__SUnderline": "___SUnderline_bqhjj_gg_",
68
- "__SAddon": "___SAddon_bqhjj_gg_",
69
- "__SConfirmIcon": "___SConfirmIcon_bqhjj_gg_",
70
- "__SCancelIcon": "___SCancelIcon_bqhjj_gg_",
71
- "_focused": "__focused_bqhjj_gg_",
72
- "_state_valid": "_state_valid_bqhjj_gg_",
73
- "_state_invalid": "_state_invalid_bqhjj_gg_"
64
+ "__SInlineInput": "___SInlineInput_1gia6_gg_",
65
+ "_disabled": "__disabled_1gia6_gg_",
66
+ "__SValue": "___SValue_1gia6_gg_",
67
+ "__SUnderline": "___SUnderline_1gia6_gg_",
68
+ "__SAddon": "___SAddon_1gia6_gg_",
69
+ "__SConfirmIcon": "___SConfirmIcon_1gia6_gg_",
70
+ "__SCancelIcon": "___SCancelIcon_1gia6_gg_",
71
+ "_focused": "__focused_1gia6_gg_",
72
+ "_state_valid": "_state_valid_1gia6_gg_",
73
+ "_state_invalid": "_state_invalid_1gia6_gg_"
74
74
  });
75
75
 
76
76
  var isFocusOutsideOf = function isFocusOutsideOf(element) {
@@ -33,21 +33,21 @@ var style = (
33
33
  /*__reshadow_css_start__*/
34
34
  _sstyled.insert(
35
35
  /*__inner_css_start__*/
36
- ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SInlineInput_bqhjj_gg_ {\n display: inline-flex;\n width: 100%;\n height: 100%;\n align-items: center;\n position: relative;\n z-index: 0;\n vertical-align: middle;\n padding: 1px;\n box-sizing: border-box;\n\n background-color: #ffffff;\n}\n\n.___SInlineInput_bqhjj_gg_.__disabled_bqhjj_gg_ {\n cursor: default;\n pointer-events: none;\n opacity: 0.3;\n}\n\n.___SValue_bqhjj_gg_ {\n /* hack for firefox */\n min-width: 0;\n\n width: 100%;\n height: 100%;\n padding: 0px 4px;\n border: none;\n box-sizing: border-box;\n color: #191b23;\n font-size: inherit;\n line-height: 1.2;\n text-overflow: ellipsis;\n font-family: inherit;\n background: transparent;\n min-height: 1em\n}\n\n.___SValue_bqhjj_gg_:focus {\n outline: none;\n }\n\n.___SValue_bqhjj_gg_::-moz-placeholder {\n color: #a9abb6;\n }\n\n.___SValue_bqhjj_gg_::placeholder {\n color: #a9abb6;\n }\n\n.___SValue_bqhjj_gg_.__disabled_bqhjj_gg_ {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n }\n\n.___SUnderline_bqhjj_gg_ {\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-grow: 1;\n width: 100%;\n height: 100%;\n min-height: 1em;\n border: 1px solid transparent;\n border-bottom: 1px solid #c4c7cf;\n}\n\n.___SAddon_bqhjj_gg_ {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n flex: 0 0 auto;\n height: 100%;\n color: #a9abb6;\n padding: 0 4px;\n}\n\n.___SAddon_bqhjj_gg_.__disabled_bqhjj_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n}\n\n.___SConfirmIcon_bqhjj_gg_ {\n color: #00c192;\n cursor: pointer;\n}\n\n.___SConfirmIcon_bqhjj_gg_:hover {\n color: #009f81;\n}\n\n.___SCancelIcon_bqhjj_gg_ {\n color: #a9abb6;\n cursor: pointer;\n}\n\n.___SCancelIcon_bqhjj_gg_:hover {\n color: #8a8e9b;\n}\n\n.___SInlineInput_bqhjj_gg_.__focused_bqhjj_gg_ {\n z-index: 1;\n}\n\n.___SInlineInput_bqhjj_gg_.__focused_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #008ff8;\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n.___SInlineInput_bqhjj_gg_._state_valid_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #59ddaa;\n}\n\n.___SInlineInput_bqhjj_gg_._state_valid_bqhjj_gg_.__focused_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #009f81;\n box-shadow: 0px 0px 0px 3px rgba(0, 159, 129, 0.2);\n}\n\n.___SInlineInput_bqhjj_gg_._state_invalid_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #ffaeb5;\n}\n\n.___SInlineInput_bqhjj_gg_._state_invalid_bqhjj_gg_.__focused_bqhjj_gg_ .___SUnderline_bqhjj_gg_ {\n border-bottom-color: #ff4953;\n box-shadow: 0px 0px 0px 3px rgba(255, 73, 83, 0.2);\n}\n"
36
+ ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SInlineInput_1gia6_gg_ {\n display: inline-flex;\n width: 100%;\n height: 100%;\n align-items: center;\n position: relative;\n z-index: 0;\n vertical-align: middle;\n padding: 1px;\n box-sizing: border-box;\n\n background-color: #ffffff;\n}\n\n.___SInlineInput_1gia6_gg_.__disabled_1gia6_gg_ {\n cursor: default;\n pointer-events: none;\n opacity: 0.3;\n}\n\n.___SValue_1gia6_gg_ {\n /* hack for firefox */\n min-width: 0;\n\n width: 100%;\n height: 100%;\n padding: 0px 4px;\n border: none;\n box-sizing: border-box;\n color: #191b23;\n font-size: inherit;\n line-height: 1.2;\n text-overflow: ellipsis;\n font-family: inherit;\n background: transparent;\n min-height: 1em\n}\n\n.___SValue_1gia6_gg_:focus {\n outline: none;\n }\n\n.___SValue_1gia6_gg_::-moz-placeholder {\n color: #a9abb6;\n }\n\n.___SValue_1gia6_gg_::placeholder {\n color: #a9abb6;\n }\n\n.___SValue_1gia6_gg_.__disabled_1gia6_gg_ {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n }\n\n.___SUnderline_1gia6_gg_ {\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-grow: 1;\n width: 100%;\n height: 100%;\n min-height: 1em;\n border: 1px solid transparent;\n border-bottom: 1px solid #c4c7cf;\n}\n\n.___SAddon_1gia6_gg_ {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n flex: 0 0 auto;\n height: 100%;\n color: #a9abb6;\n padding: 0 4px;\n}\n\n.___SAddon_1gia6_gg_.__disabled_1gia6_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n}\n\n.___SConfirmIcon_1gia6_gg_ {\n color: #00c192;\n cursor: pointer;\n}\n\n.___SConfirmIcon_1gia6_gg_:hover {\n color: #009f81;\n}\n\n.___SCancelIcon_1gia6_gg_ {\n color: #a9abb6;\n cursor: pointer;\n}\n\n.___SCancelIcon_1gia6_gg_:hover {\n color: #8a8e9b;\n}\n\n.___SInlineInput_1gia6_gg_.__focused_1gia6_gg_ {\n z-index: 1;\n}\n\n.___SInlineInput_1gia6_gg_.__focused_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #008ff8;\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n.___SInlineInput_1gia6_gg_._state_valid_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #59ddaa;\n}\n\n.___SInlineInput_1gia6_gg_._state_valid_1gia6_gg_.__focused_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #009f81;\n box-shadow: 0px 0px 0px 3px rgba(0, 159, 129, 0.2);\n}\n\n.___SInlineInput_1gia6_gg_._state_invalid_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #ffaeb5;\n}\n\n.___SInlineInput_1gia6_gg_._state_invalid_1gia6_gg_.__focused_1gia6_gg_ .___SUnderline_1gia6_gg_ {\n border-bottom-color: #ff4953;\n box-shadow: 0px 0px 0px 3px rgba(255, 73, 83, 0.2);\n}\n"
37
37
  /*__inner_css_end__*/
38
- , "bqhjj_gg_")
38
+ , "1gia6_gg_")
39
39
  /*__reshadow_css_end__*/
40
40
  , {
41
- "__SInlineInput": "___SInlineInput_bqhjj_gg_",
42
- "_disabled": "__disabled_bqhjj_gg_",
43
- "__SValue": "___SValue_bqhjj_gg_",
44
- "__SUnderline": "___SUnderline_bqhjj_gg_",
45
- "__SAddon": "___SAddon_bqhjj_gg_",
46
- "__SConfirmIcon": "___SConfirmIcon_bqhjj_gg_",
47
- "__SCancelIcon": "___SCancelIcon_bqhjj_gg_",
48
- "_focused": "__focused_bqhjj_gg_",
49
- "_state_valid": "_state_valid_bqhjj_gg_",
50
- "_state_invalid": "_state_invalid_bqhjj_gg_"
41
+ "__SInlineInput": "___SInlineInput_1gia6_gg_",
42
+ "_disabled": "__disabled_1gia6_gg_",
43
+ "__SValue": "___SValue_1gia6_gg_",
44
+ "__SUnderline": "___SUnderline_1gia6_gg_",
45
+ "__SAddon": "___SAddon_1gia6_gg_",
46
+ "__SConfirmIcon": "___SConfirmIcon_1gia6_gg_",
47
+ "__SCancelIcon": "___SCancelIcon_1gia6_gg_",
48
+ "_focused": "__focused_1gia6_gg_",
49
+ "_state_valid": "_state_valid_1gia6_gg_",
50
+ "_state_invalid": "_state_invalid_1gia6_gg_"
51
51
  });
52
52
  import CheckM from '@semcore/icon/Check/m';
53
53
  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": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",