@semcore/inline-input 3.1.8 → 3.2.0
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.2.0] - 2022-11-30
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Updated border-color in focus state from `--blue-400` to `--blue-500`, `--red-400` to `--red-500`, `--green-400` to `--green-500`.
|
|
10
|
+
|
|
5
11
|
## [3.1.8] - 2022-11-30
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/InlineInput.js
CHANGED
|
@@ -56,21 +56,21 @@ var style = (
|
|
|
56
56
|
/*__reshadow_css_start__*/
|
|
57
57
|
_core.sstyled.insert(
|
|
58
58
|
/*__inner_css_start__*/
|
|
59
|
-
".
|
|
59
|
+
".___SInlineInput_188w3_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:#ffffff}.___SInlineInput_188w3_gg_.__disabled_188w3_gg_{cursor:default;pointer-events:none;opacity:0.3}.___SValue_188w3_gg_{min-width:0;width:100%;height:100%;padding:0 4px;border:none;box-sizing:border-box;color:#191b23;font-size:inherit;line-height:1.2;text-overflow:ellipsis;font-family:inherit;background:transparent;min-height:1em}.___SValue_188w3_gg_:focus{outline:none}.___SValue_188w3_gg_::-moz-placeholder{color:#a9abb6}.___SValue_188w3_gg_::placeholder{color:#a9abb6}.___SValue_188w3_gg_.__disabled_188w3_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SUnderline_188w3_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 #c4c7cf}.___SAddon_188w3_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;height:100%;color:#a9abb6;padding:0 4px}.___SAddon_188w3_gg_.__disabled_188w3_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SConfirmIcon_188w3_gg_{color:#00c192;cursor:pointer}.___SConfirmIcon_188w3_gg_:hover{color:#009f81}.___SCancelIcon_188w3_gg_{color:#a9abb6;cursor:pointer}.___SCancelIcon_188w3_gg_:hover{color:#8a8e9b}.___SInlineInput_188w3_gg_.__focused_188w3_gg_{z-index:1}.___SInlineInput_188w3_gg_.__focused_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#006dca;box-shadow:0 0 0 3px rgba(0, 143, 248, 0.3)}.___SInlineInput_188w3_gg_._state_valid_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#59ddaa}.___SInlineInput_188w3_gg_._state_valid_188w3_gg_.__focused_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#007c65;box-shadow:0px 0px 0px 3px rgba(0, 159, 129, 0.3)}.___SInlineInput_188w3_gg_._state_invalid_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#ffaeb5}.___SInlineInput_188w3_gg_._state_invalid_188w3_gg_.__focused_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#d1002f;box-shadow:0px 0px 0px 3px rgba(255, 73, 83, 0.3)}"
|
|
60
60
|
/*__inner_css_end__*/
|
|
61
|
-
, "
|
|
61
|
+
, "188w3_gg_")
|
|
62
62
|
/*__reshadow_css_end__*/
|
|
63
63
|
, {
|
|
64
|
-
"__SInlineInput": "
|
|
65
|
-
"_disabled": "
|
|
66
|
-
"__SValue": "
|
|
67
|
-
"__SUnderline": "
|
|
68
|
-
"__SAddon": "
|
|
69
|
-
"__SConfirmIcon": "
|
|
70
|
-
"__SCancelIcon": "
|
|
71
|
-
"_focused": "
|
|
72
|
-
"_state_valid": "
|
|
73
|
-
"_state_invalid": "
|
|
64
|
+
"__SInlineInput": "___SInlineInput_188w3_gg_",
|
|
65
|
+
"_disabled": "__disabled_188w3_gg_",
|
|
66
|
+
"__SValue": "___SValue_188w3_gg_",
|
|
67
|
+
"__SUnderline": "___SUnderline_188w3_gg_",
|
|
68
|
+
"__SAddon": "___SAddon_188w3_gg_",
|
|
69
|
+
"__SConfirmIcon": "___SConfirmIcon_188w3_gg_",
|
|
70
|
+
"__SCancelIcon": "___SCancelIcon_188w3_gg_",
|
|
71
|
+
"_focused": "__focused_188w3_gg_",
|
|
72
|
+
"_state_valid": "_state_valid_188w3_gg_",
|
|
73
|
+
"_state_invalid": "_state_invalid_188w3_gg_"
|
|
74
74
|
});
|
|
75
75
|
|
|
76
76
|
var isFocusOutsideOf = function isFocusOutsideOf(element) {
|
|
@@ -98,7 +98,7 @@ SInlineInput[focused] {
|
|
|
98
98
|
z-index: 1;
|
|
99
99
|
}
|
|
100
100
|
SInlineInput[focused] SUnderline {
|
|
101
|
-
border-bottom-color: var(--blue-
|
|
101
|
+
border-bottom-color: var(--blue-500);
|
|
102
102
|
box-shadow: var(--keyboard-focus);
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -106,13 +106,13 @@ SInlineInput[state='valid'] SUnderline {
|
|
|
106
106
|
border-bottom-color: var(--green-200);
|
|
107
107
|
}
|
|
108
108
|
SInlineInput[state='valid'][focused] SUnderline {
|
|
109
|
-
border-bottom-color: var(--green-
|
|
109
|
+
border-bottom-color: var(--green-500);
|
|
110
110
|
box-shadow: var(--keyboard-focus-valid);
|
|
111
111
|
}
|
|
112
112
|
SInlineInput[state='invalid'] SUnderline {
|
|
113
113
|
border-bottom-color: var(--red-200);
|
|
114
114
|
}
|
|
115
115
|
SInlineInput[state='invalid'][focused] SUnderline {
|
|
116
|
-
border-bottom-color: var(--red-
|
|
116
|
+
border-bottom-color: var(--red-500);
|
|
117
117
|
box-shadow: var(--keyboard-focus-invalid);
|
|
118
118
|
}
|
package/lib/es6/InlineInput.js
CHANGED
|
@@ -33,21 +33,21 @@ var style = (
|
|
|
33
33
|
/*__reshadow_css_start__*/
|
|
34
34
|
_sstyled.insert(
|
|
35
35
|
/*__inner_css_start__*/
|
|
36
|
-
".
|
|
36
|
+
".___SInlineInput_188w3_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:#ffffff}.___SInlineInput_188w3_gg_.__disabled_188w3_gg_{cursor:default;pointer-events:none;opacity:0.3}.___SValue_188w3_gg_{min-width:0;width:100%;height:100%;padding:0 4px;border:none;box-sizing:border-box;color:#191b23;font-size:inherit;line-height:1.2;text-overflow:ellipsis;font-family:inherit;background:transparent;min-height:1em}.___SValue_188w3_gg_:focus{outline:none}.___SValue_188w3_gg_::-moz-placeholder{color:#a9abb6}.___SValue_188w3_gg_::placeholder{color:#a9abb6}.___SValue_188w3_gg_.__disabled_188w3_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SUnderline_188w3_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 #c4c7cf}.___SAddon_188w3_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;height:100%;color:#a9abb6;padding:0 4px}.___SAddon_188w3_gg_.__disabled_188w3_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SConfirmIcon_188w3_gg_{color:#00c192;cursor:pointer}.___SConfirmIcon_188w3_gg_:hover{color:#009f81}.___SCancelIcon_188w3_gg_{color:#a9abb6;cursor:pointer}.___SCancelIcon_188w3_gg_:hover{color:#8a8e9b}.___SInlineInput_188w3_gg_.__focused_188w3_gg_{z-index:1}.___SInlineInput_188w3_gg_.__focused_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#006dca;box-shadow:0 0 0 3px rgba(0, 143, 248, 0.3)}.___SInlineInput_188w3_gg_._state_valid_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#59ddaa}.___SInlineInput_188w3_gg_._state_valid_188w3_gg_.__focused_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#007c65;box-shadow:0px 0px 0px 3px rgba(0, 159, 129, 0.3)}.___SInlineInput_188w3_gg_._state_invalid_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#ffaeb5}.___SInlineInput_188w3_gg_._state_invalid_188w3_gg_.__focused_188w3_gg_ .___SUnderline_188w3_gg_{border-bottom-color:#d1002f;box-shadow:0px 0px 0px 3px rgba(255, 73, 83, 0.3)}"
|
|
37
37
|
/*__inner_css_end__*/
|
|
38
|
-
, "
|
|
38
|
+
, "188w3_gg_")
|
|
39
39
|
/*__reshadow_css_end__*/
|
|
40
40
|
, {
|
|
41
|
-
"__SInlineInput": "
|
|
42
|
-
"_disabled": "
|
|
43
|
-
"__SValue": "
|
|
44
|
-
"__SUnderline": "
|
|
45
|
-
"__SAddon": "
|
|
46
|
-
"__SConfirmIcon": "
|
|
47
|
-
"__SCancelIcon": "
|
|
48
|
-
"_focused": "
|
|
49
|
-
"_state_valid": "
|
|
50
|
-
"_state_invalid": "
|
|
41
|
+
"__SInlineInput": "___SInlineInput_188w3_gg_",
|
|
42
|
+
"_disabled": "__disabled_188w3_gg_",
|
|
43
|
+
"__SValue": "___SValue_188w3_gg_",
|
|
44
|
+
"__SUnderline": "___SUnderline_188w3_gg_",
|
|
45
|
+
"__SAddon": "___SAddon_188w3_gg_",
|
|
46
|
+
"__SConfirmIcon": "___SConfirmIcon_188w3_gg_",
|
|
47
|
+
"__SCancelIcon": "___SCancelIcon_188w3_gg_",
|
|
48
|
+
"_focused": "__focused_188w3_gg_",
|
|
49
|
+
"_state_valid": "_state_valid_188w3_gg_",
|
|
50
|
+
"_state_invalid": "_state_invalid_188w3_gg_"
|
|
51
51
|
});
|
|
52
52
|
import CheckM from '@semcore/icon/Check/m';
|
|
53
53
|
import CloseM from '@semcore/icon/Close/m';
|
|
@@ -98,7 +98,7 @@ SInlineInput[focused] {
|
|
|
98
98
|
z-index: 1;
|
|
99
99
|
}
|
|
100
100
|
SInlineInput[focused] SUnderline {
|
|
101
|
-
border-bottom-color: var(--blue-
|
|
101
|
+
border-bottom-color: var(--blue-500);
|
|
102
102
|
box-shadow: var(--keyboard-focus);
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -106,13 +106,13 @@ SInlineInput[state='valid'] SUnderline {
|
|
|
106
106
|
border-bottom-color: var(--green-200);
|
|
107
107
|
}
|
|
108
108
|
SInlineInput[state='valid'][focused] SUnderline {
|
|
109
|
-
border-bottom-color: var(--green-
|
|
109
|
+
border-bottom-color: var(--green-500);
|
|
110
110
|
box-shadow: var(--keyboard-focus-valid);
|
|
111
111
|
}
|
|
112
112
|
SInlineInput[state='invalid'] SUnderline {
|
|
113
113
|
border-bottom-color: var(--red-200);
|
|
114
114
|
}
|
|
115
115
|
SInlineInput[state='invalid'][focused] SUnderline {
|
|
116
|
-
border-bottom-color: var(--red-
|
|
116
|
+
border-bottom-color: var(--red-500);
|
|
117
117
|
box-shadow: var(--keyboard-focus-invalid);
|
|
118
118
|
}
|