@semcore/base-trigger 2.4.0 → 2.4.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
|
+
## [2.4.1] - 2021-12-23
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Changed `line-height` from 1.2 to 1.1 for correct display in all browsers.
|
|
10
|
+
|
|
5
11
|
## [2.4.0] - 2021-10-01
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/BaseTrigger.js
CHANGED
|
@@ -48,30 +48,30 @@ var style = (
|
|
|
48
48
|
/*__reshadow_css_start__*/
|
|
49
49
|
_core.sstyled.insert(
|
|
50
50
|
/*__inner_css_start__*/
|
|
51
|
-
".
|
|
51
|
+
".___SBaseTrigger_10p2s_gg_{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:1px solid #a6b0b3;background:#fff;color:#333}.___SBaseTrigger_10p2s_gg_::-moz-focus-inner{border:none;padding:0}.___SBaseTrigger_10p2s_gg_:active,.___SBaseTrigger_10p2s_gg_:focus,.___SBaseTrigger_10p2s_gg_:hover{outline:0;text-decoration:none}.___SBaseTrigger_10p2s_gg_:active,.___SBaseTrigger_10p2s_gg_:hover,.___SBaseTrigger_10p2s_gg_.__active_10p2s_gg_{background-color:rgba(166,176,179,.2)}.___SBaseTrigger_10p2s_gg_.__disabled_10p2s_gg_{opacity:.3;cursor:default;pointer-events:none}.___SBaseTrigger_10p2s_gg_.__keyboardFocused_10p2s_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3);z-index:1}.___SInner_10p2s_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SText_10p2s_gg_{display:inline;padding:1px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1;flex-grow:1;text-align:left}.___SAddon_10p2s_gg_{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.___SBaseAddon_10p2s_gg_{width:12px;height:12px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_ .___SText_10p2s_gg_{margin-left:4px;margin-right:4px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):first-child{margin-left:4px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):last-child{margin-right:4px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_ .___SAddon_10p2s_gg_:only-child{margin-left:-2px;margin-right:-2px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_ .___SText_10p2s_gg_{margin-left:8px;margin-right:8px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):first-child{margin-left:8px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):last-child{margin-right:8px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_ .___SAddon_10p2s_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_ .___SText_10p2s_gg_{margin-left:8px;margin-right:8px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):first-child{margin-left:8px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):last-child{margin-right:8px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_ .___SAddon_10p2s_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_ .___SText_10p2s_gg_{margin-left:12px;margin-right:12px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):first-child{margin-left:12px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):last-child{margin-right:12px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_ .___SAddon_10p2s_gg_:only-child{margin-left:-6px;margin-right:-6px}.___SBaseTrigger_10p2s_gg_._neighborLocation_right_10p2s_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SBaseTrigger_10p2s_gg_._neighborLocation_both_10p2s_gg_{border-radius:0;margin-left:-1px}.___SBaseTrigger_10p2s_gg_._neighborLocation_left_10p2s_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SText_10p2s_gg_.__placeholder_10p2s_gg_{color:#aaa}.___SBaseTrigger_10p2s_gg_._state_normal_10p2s_gg_{border-color:#a6b0b3}.___SBaseTrigger_10p2s_gg_._state_valid_10p2s_gg_{border-color:#4fae33}.___SBaseTrigger_10p2s_gg_._state_invalid_10p2s_gg_{border-color:#ff7f00}"
|
|
52
52
|
/*__inner_css_end__*/
|
|
53
|
-
, "
|
|
53
|
+
, "upa657_gg_")
|
|
54
54
|
/*__reshadow_css_end__*/
|
|
55
55
|
, {
|
|
56
|
-
"__SBaseTrigger": "
|
|
57
|
-
"_active": "
|
|
58
|
-
"_disabled": "
|
|
59
|
-
"_keyboardFocused": "
|
|
60
|
-
"__SInner": "
|
|
61
|
-
"__SText": "
|
|
62
|
-
"__SAddon": "
|
|
63
|
-
"__SBaseAddon": "
|
|
64
|
-
"_size_s": "
|
|
65
|
-
"_size_m": "
|
|
66
|
-
"_size_l": "
|
|
67
|
-
"_size_xl": "
|
|
68
|
-
"_neighborLocation_right": "
|
|
69
|
-
"_neighborLocation_both": "
|
|
70
|
-
"_neighborLocation_left": "
|
|
71
|
-
"_placeholder": "
|
|
72
|
-
"_state_normal": "
|
|
73
|
-
"_state_valid": "
|
|
74
|
-
"_state_invalid": "
|
|
56
|
+
"__SBaseTrigger": "___SBaseTrigger_10p2s_gg_",
|
|
57
|
+
"_active": "__active_10p2s_gg_",
|
|
58
|
+
"_disabled": "__disabled_10p2s_gg_",
|
|
59
|
+
"_keyboardFocused": "__keyboardFocused_10p2s_gg_",
|
|
60
|
+
"__SInner": "___SInner_10p2s_gg_",
|
|
61
|
+
"__SText": "___SText_10p2s_gg_",
|
|
62
|
+
"__SAddon": "___SAddon_10p2s_gg_",
|
|
63
|
+
"__SBaseAddon": "___SBaseAddon_10p2s_gg_",
|
|
64
|
+
"_size_s": "_size_s_10p2s_gg_",
|
|
65
|
+
"_size_m": "_size_m_10p2s_gg_",
|
|
66
|
+
"_size_l": "_size_l_10p2s_gg_",
|
|
67
|
+
"_size_xl": "_size_xl_10p2s_gg_",
|
|
68
|
+
"_neighborLocation_right": "_neighborLocation_right_10p2s_gg_",
|
|
69
|
+
"_neighborLocation_both": "_neighborLocation_both_10p2s_gg_",
|
|
70
|
+
"_neighborLocation_left": "_neighborLocation_left_10p2s_gg_",
|
|
71
|
+
"_placeholder": "__placeholder_10p2s_gg_",
|
|
72
|
+
"_state_normal": "_state_normal_10p2s_gg_",
|
|
73
|
+
"_state_valid": "_state_valid_10p2s_gg_",
|
|
74
|
+
"_state_invalid": "_state_invalid_10p2s_gg_"
|
|
75
75
|
});
|
|
76
76
|
|
|
77
77
|
var RootBaseTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/es6/BaseTrigger.js
CHANGED
|
@@ -30,30 +30,30 @@ var style = (
|
|
|
30
30
|
/*__reshadow_css_start__*/
|
|
31
31
|
_sstyled.insert(
|
|
32
32
|
/*__inner_css_start__*/
|
|
33
|
-
".
|
|
33
|
+
".___SBaseTrigger_10p2s_gg_{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:1px solid #a6b0b3;background:#fff;color:#333}.___SBaseTrigger_10p2s_gg_::-moz-focus-inner{border:none;padding:0}.___SBaseTrigger_10p2s_gg_:active,.___SBaseTrigger_10p2s_gg_:focus,.___SBaseTrigger_10p2s_gg_:hover{outline:0;text-decoration:none}.___SBaseTrigger_10p2s_gg_:active,.___SBaseTrigger_10p2s_gg_:hover,.___SBaseTrigger_10p2s_gg_.__active_10p2s_gg_{background-color:rgba(166,176,179,.2)}.___SBaseTrigger_10p2s_gg_.__disabled_10p2s_gg_{opacity:.3;cursor:default;pointer-events:none}.___SBaseTrigger_10p2s_gg_.__keyboardFocused_10p2s_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3);z-index:1}.___SInner_10p2s_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SText_10p2s_gg_{display:inline;padding:1px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1;flex-grow:1;text-align:left}.___SAddon_10p2s_gg_{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.___SBaseAddon_10p2s_gg_{width:12px;height:12px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_ .___SText_10p2s_gg_{margin-left:4px;margin-right:4px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):first-child{margin-left:4px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):last-child{margin-right:4px}.___SBaseTrigger_10p2s_gg_._size_s_10p2s_gg_ .___SAddon_10p2s_gg_:only-child{margin-left:-2px;margin-right:-2px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_ .___SText_10p2s_gg_{margin-left:8px;margin-right:8px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):first-child{margin-left:8px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):last-child{margin-right:8px}.___SBaseTrigger_10p2s_gg_._size_m_10p2s_gg_ .___SAddon_10p2s_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_ .___SText_10p2s_gg_{margin-left:8px;margin-right:8px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):first-child{margin-left:8px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):last-child{margin-right:8px}.___SBaseTrigger_10p2s_gg_._size_l_10p2s_gg_ .___SAddon_10p2s_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_ .___SText_10p2s_gg_{margin-left:12px;margin-right:12px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):first-child{margin-left:12px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_ .___SAddon_10p2s_gg_:not(:only-child):last-child{margin-right:12px}.___SBaseTrigger_10p2s_gg_._size_xl_10p2s_gg_ .___SAddon_10p2s_gg_:only-child{margin-left:-6px;margin-right:-6px}.___SBaseTrigger_10p2s_gg_._neighborLocation_right_10p2s_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SBaseTrigger_10p2s_gg_._neighborLocation_both_10p2s_gg_{border-radius:0;margin-left:-1px}.___SBaseTrigger_10p2s_gg_._neighborLocation_left_10p2s_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SText_10p2s_gg_.__placeholder_10p2s_gg_{color:#aaa}.___SBaseTrigger_10p2s_gg_._state_normal_10p2s_gg_{border-color:#a6b0b3}.___SBaseTrigger_10p2s_gg_._state_valid_10p2s_gg_{border-color:#4fae33}.___SBaseTrigger_10p2s_gg_._state_invalid_10p2s_gg_{border-color:#ff7f00}"
|
|
34
34
|
/*__inner_css_end__*/
|
|
35
|
-
, "
|
|
35
|
+
, "upa657_gg_")
|
|
36
36
|
/*__reshadow_css_end__*/
|
|
37
37
|
, {
|
|
38
|
-
"__SBaseTrigger": "
|
|
39
|
-
"_active": "
|
|
40
|
-
"_disabled": "
|
|
41
|
-
"_keyboardFocused": "
|
|
42
|
-
"__SInner": "
|
|
43
|
-
"__SText": "
|
|
44
|
-
"__SAddon": "
|
|
45
|
-
"__SBaseAddon": "
|
|
46
|
-
"_size_s": "
|
|
47
|
-
"_size_m": "
|
|
48
|
-
"_size_l": "
|
|
49
|
-
"_size_xl": "
|
|
50
|
-
"_neighborLocation_right": "
|
|
51
|
-
"_neighborLocation_both": "
|
|
52
|
-
"_neighborLocation_left": "
|
|
53
|
-
"_placeholder": "
|
|
54
|
-
"_state_normal": "
|
|
55
|
-
"_state_valid": "
|
|
56
|
-
"_state_invalid": "
|
|
38
|
+
"__SBaseTrigger": "___SBaseTrigger_10p2s_gg_",
|
|
39
|
+
"_active": "__active_10p2s_gg_",
|
|
40
|
+
"_disabled": "__disabled_10p2s_gg_",
|
|
41
|
+
"_keyboardFocused": "__keyboardFocused_10p2s_gg_",
|
|
42
|
+
"__SInner": "___SInner_10p2s_gg_",
|
|
43
|
+
"__SText": "___SText_10p2s_gg_",
|
|
44
|
+
"__SAddon": "___SAddon_10p2s_gg_",
|
|
45
|
+
"__SBaseAddon": "___SBaseAddon_10p2s_gg_",
|
|
46
|
+
"_size_s": "_size_s_10p2s_gg_",
|
|
47
|
+
"_size_m": "_size_m_10p2s_gg_",
|
|
48
|
+
"_size_l": "_size_l_10p2s_gg_",
|
|
49
|
+
"_size_xl": "_size_xl_10p2s_gg_",
|
|
50
|
+
"_neighborLocation_right": "_neighborLocation_right_10p2s_gg_",
|
|
51
|
+
"_neighborLocation_both": "_neighborLocation_both_10p2s_gg_",
|
|
52
|
+
"_neighborLocation_left": "_neighborLocation_left_10p2s_gg_",
|
|
53
|
+
"_placeholder": "__placeholder_10p2s_gg_",
|
|
54
|
+
"_state_normal": "_state_normal_10p2s_gg_",
|
|
55
|
+
"_state_valid": "_state_valid_10p2s_gg_",
|
|
56
|
+
"_state_invalid": "_state_invalid_10p2s_gg_"
|
|
57
57
|
});
|
|
58
58
|
|
|
59
59
|
var RootBaseTrigger = /*#__PURE__*/function (_Component) {
|
package/package.json
CHANGED