@semcore/base-trigger 2.5.2 → 2.6.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 +18 -0
- package/lib/cjs/BaseTrigger.js +21 -21
- package/lib/cjs/LinkTrigger.js +16 -16
- package/lib/cjs/style/base-trigger.shadow.css +10 -1
- package/lib/cjs/style/link-trigger.shadow.css +9 -0
- package/lib/es6/BaseTrigger.js +21 -21
- package/lib/es6/LinkTrigger.js +16 -16
- package/lib/es6/style/base-trigger.shadow.css +10 -1
- package/lib/es6/style/link-trigger.shadow.css +9 -0
- package/package.json +1 -1
- package/src/style/base-trigger.shadow.css +10 -1
- package/src/style/link-trigger.shadow.css +9 -0
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
|
+
## [2.6.1] - 2022-03-05
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/dot` [3.0.2 ~> 3.0.3]).
|
|
10
|
+
|
|
11
|
+
## [2.6.0] - 2021-03-04
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Disabled animation if reduce motion is preferred.
|
|
16
|
+
|
|
17
|
+
## [2.5.3] - 2022-02-25
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Improved keyboard focus styles.
|
|
22
|
+
|
|
5
23
|
## [2.5.2] - 2022-02-24
|
|
6
24
|
|
|
7
25
|
### Added
|
package/lib/cjs/BaseTrigger.js
CHANGED
|
@@ -52,30 +52,30 @@ var style = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
".___SBaseTrigger_qaw1b_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:#333333}.___SBaseTrigger_qaw1b_gg_::-moz-focus-inner{border:none;padding:0}.___SBaseTrigger_qaw1b_gg_:active,.___SBaseTrigger_qaw1b_gg_:focus,.___SBaseTrigger_qaw1b_gg_:hover{outline:0;text-decoration:none}.___SBaseTrigger_qaw1b_gg_.__keyboardFocused_qaw1b_gg_{border:1px solid #2b94e1;box-shadow:0 0 0 3px rgba(43, 148, 225, 0.3)}.___SBaseTrigger_qaw1b_gg_:active,.___SBaseTrigger_qaw1b_gg_:hover,.___SBaseTrigger_qaw1b_gg_.__active_qaw1b_gg_{background-color:rgba(166,176,179,.2)}.___SBaseTrigger_qaw1b_gg_.__disabled_qaw1b_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SBaseTrigger_qaw1b_gg_.__keyboardFocused_qaw1b_gg_{z-index:1}.___SInner_qaw1b_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SText_qaw1b_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_qaw1b_gg_{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.___SBaseAddon_qaw1b_gg_{width:12px;height:12px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_ .___SText_qaw1b_gg_{margin-left:4px;margin-right:4px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):first-child{margin-left:4px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):last-child{margin-right:4px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_ .___SAddon_qaw1b_gg_:only-child{margin-left:-2px;margin-right:-2px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_ .___SText_qaw1b_gg_{margin-left:8px;margin-right:8px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):first-child{margin-left:8px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):last-child{margin-right:8px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_ .___SAddon_qaw1b_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_ .___SText_qaw1b_gg_{margin-left:8px;margin-right:8px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):first-child{margin-left:8px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):last-child{margin-right:8px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_ .___SAddon_qaw1b_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_ .___SText_qaw1b_gg_{margin-left:12px;margin-right:12px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):first-child{margin-left:12px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):last-child{margin-right:12px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_ .___SAddon_qaw1b_gg_:only-child{margin-left:-6px;margin-right:-6px}.___SBaseTrigger_qaw1b_gg_._neighborLocation_right_qaw1b_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SBaseTrigger_qaw1b_gg_._neighborLocation_both_qaw1b_gg_{border-radius:0;margin-left:-1px}.___SBaseTrigger_qaw1b_gg_._neighborLocation_left_qaw1b_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SText_qaw1b_gg_.__placeholder_qaw1b_gg_{color:#aaaaaa}.___SBaseTrigger_qaw1b_gg_._state_normal_qaw1b_gg_{border-color:#a6b0b3}.___SBaseTrigger_qaw1b_gg_._state_valid_qaw1b_gg_{border-color:#4fae33}.___SBaseTrigger_qaw1b_gg_._state_invalid_qaw1b_gg_{border-color:#ff7f00}.___SBaseTrigger_qaw1b_gg_._state_invalid_qaw1b_gg_.__keyboardFocused_qaw1b_gg_{border-color:#ff7f00;box-shadow:0 0 0 3px rgba(255,127,0,.3)}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "pimup5_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__SBaseTrigger": "
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"__SInner": "
|
|
65
|
-
"__SText": "
|
|
66
|
-
"__SAddon": "
|
|
67
|
-
"__SBaseAddon": "
|
|
68
|
-
"_size_s": "
|
|
69
|
-
"_size_m": "
|
|
70
|
-
"_size_l": "
|
|
71
|
-
"_size_xl": "
|
|
72
|
-
"_neighborLocation_right": "
|
|
73
|
-
"_neighborLocation_both": "
|
|
74
|
-
"_neighborLocation_left": "
|
|
75
|
-
"_placeholder": "
|
|
76
|
-
"_state_normal": "
|
|
77
|
-
"_state_valid": "
|
|
78
|
-
"_state_invalid": "
|
|
60
|
+
"__SBaseTrigger": "___SBaseTrigger_qaw1b_gg_",
|
|
61
|
+
"_keyboardFocused": "__keyboardFocused_qaw1b_gg_",
|
|
62
|
+
"_active": "__active_qaw1b_gg_",
|
|
63
|
+
"_disabled": "__disabled_qaw1b_gg_",
|
|
64
|
+
"__SInner": "___SInner_qaw1b_gg_",
|
|
65
|
+
"__SText": "___SText_qaw1b_gg_",
|
|
66
|
+
"__SAddon": "___SAddon_qaw1b_gg_",
|
|
67
|
+
"__SBaseAddon": "___SBaseAddon_qaw1b_gg_",
|
|
68
|
+
"_size_s": "_size_s_qaw1b_gg_",
|
|
69
|
+
"_size_m": "_size_m_qaw1b_gg_",
|
|
70
|
+
"_size_l": "_size_l_qaw1b_gg_",
|
|
71
|
+
"_size_xl": "_size_xl_qaw1b_gg_",
|
|
72
|
+
"_neighborLocation_right": "_neighborLocation_right_qaw1b_gg_",
|
|
73
|
+
"_neighborLocation_both": "_neighborLocation_both_qaw1b_gg_",
|
|
74
|
+
"_neighborLocation_left": "_neighborLocation_left_qaw1b_gg_",
|
|
75
|
+
"_placeholder": "__placeholder_qaw1b_gg_",
|
|
76
|
+
"_state_normal": "_state_normal_qaw1b_gg_",
|
|
77
|
+
"_state_valid": "_state_valid_qaw1b_gg_",
|
|
78
|
+
"_state_invalid": "_state_invalid_qaw1b_gg_"
|
|
79
79
|
});
|
|
80
80
|
|
|
81
81
|
var RootBaseTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/LinkTrigger.js
CHANGED
|
@@ -54,25 +54,25 @@ var style = (
|
|
|
54
54
|
/*__reshadow_css_start__*/
|
|
55
55
|
_core.sstyled.insert(
|
|
56
56
|
/*__inner_css_start__*/
|
|
57
|
-
".
|
|
57
|
+
".___SLinkTrigger_qt3iv_gg_{display:inline-flex;align-items: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;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;vertical-align:middle;font-family:inherit;cursor:pointer}.___SLinkTrigger_qt3iv_gg_{color:#0071bc;background:none;transition:color .15s ease-in-out}.___SLinkTrigger_qt3iv_gg_:active,.___SLinkTrigger_qt3iv_gg_:hover,.___SLinkTrigger_qt3iv_gg_.__active_qt3iv_gg_{color:#0063a5}.___SLinkTrigger_qt3iv_gg_:active .___SText_qt3iv_gg_,.___SLinkTrigger_qt3iv_gg_:hover .___SText_qt3iv_gg_,.___SLinkTrigger_qt3iv_gg_.__active_qt3iv_gg_ .___SText_qt3iv_gg_{border-color:currentColor}.___SLinkTrigger_qt3iv_gg_ .___SText_qt3iv_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLinkTrigger_qt3iv_gg_.__color_qt3iv_gg_{color:var(--color_rbea4n)}.___SLinkTrigger_qt3iv_gg_.__color_qt3iv_gg_:hover{color:var(--color-hover_rbea4n)}.___SLinkTrigger_qt3iv_gg_.__disabled_qt3iv_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SLinkTrigger_qt3iv_gg_.__keyboardFocused_qt3iv_gg_{box-shadow:0 0 0 3px rgba(43, 148, 225, 0.3);z-index:1}.___SAddon_qt3iv_gg_,.___SLinkAddon_qt3iv_gg_{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.___SAddon_qt3iv_gg_:not(:only-child):first-child,.___SLinkAddon_qt3iv_gg_:not(:only-child):first-child{margin-right:4px}.___SAddon_qt3iv_gg_:not(:only-child):last-child,.___SLinkAddon_qt3iv_gg_:not(:only-child):last-child{margin-left:4px}.___SLinkAddon_qt3iv_gg_{width:12px;height:12px}.___SLinkTrigger_qt3iv_gg_._size_s_qt3iv_gg_{font-size:10px}.___SLinkTrigger_qt3iv_gg_._size_m_qt3iv_gg_{font-size:12px}.___SLinkTrigger_qt3iv_gg_._size_l_qt3iv_gg_{font-size:14px}.___SLinkTrigger_qt3iv_gg_._size_xl_qt3iv_gg_{font-size:16px}@media (prefers-reduced-motion){.___SLinkTrigger_qt3iv_gg_{transition:none}.___SLinkTrigger_qt3iv_gg_ .___SText_qt3iv_gg_{transition:none}}"
|
|
58
58
|
/*__inner_css_end__*/
|
|
59
|
-
, "
|
|
59
|
+
, "rbea4n_gg_")
|
|
60
60
|
/*__reshadow_css_end__*/
|
|
61
61
|
, {
|
|
62
|
-
"__SLinkTrigger": "
|
|
63
|
-
"_active": "
|
|
64
|
-
"__SText": "
|
|
65
|
-
"_color": "
|
|
66
|
-
"--color": "--
|
|
67
|
-
"--color-hover": "--color-
|
|
68
|
-
"_disabled": "
|
|
69
|
-
"_keyboardFocused": "
|
|
70
|
-
"__SAddon": "
|
|
71
|
-
"__SLinkAddon": "
|
|
72
|
-
"_size_s": "
|
|
73
|
-
"_size_m": "
|
|
74
|
-
"_size_l": "
|
|
75
|
-
"_size_xl": "
|
|
62
|
+
"__SLinkTrigger": "___SLinkTrigger_qt3iv_gg_",
|
|
63
|
+
"_active": "__active_qt3iv_gg_",
|
|
64
|
+
"__SText": "___SText_qt3iv_gg_",
|
|
65
|
+
"_color": "__color_qt3iv_gg_",
|
|
66
|
+
"--color": "--color_rbea4n",
|
|
67
|
+
"--color-hover": "--color-hover_rbea4n",
|
|
68
|
+
"_disabled": "__disabled_qt3iv_gg_",
|
|
69
|
+
"_keyboardFocused": "__keyboardFocused_qt3iv_gg_",
|
|
70
|
+
"__SAddon": "___SAddon_qt3iv_gg_",
|
|
71
|
+
"__SLinkAddon": "___SLinkAddon_qt3iv_gg_",
|
|
72
|
+
"_size_s": "_size_s_qt3iv_gg_",
|
|
73
|
+
"_size_m": "_size_m_qt3iv_gg_",
|
|
74
|
+
"_size_l": "_size_l_qt3iv_gg_",
|
|
75
|
+
"_size_xl": "_size_xl_qt3iv_gg_"
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
var RootLinkTrigger = /*#__PURE__*/function (_Component) {
|
|
@@ -39,6 +39,11 @@ SBaseTrigger {
|
|
|
39
39
|
text-decoration: none;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
&[keyboardFocused] {
|
|
43
|
+
border: 1px solid var(--light-blue);
|
|
44
|
+
box-shadow: var(--keyborad-focus);
|
|
45
|
+
}
|
|
46
|
+
|
|
42
47
|
&:active,
|
|
43
48
|
&:hover,
|
|
44
49
|
&[active] {
|
|
@@ -53,7 +58,6 @@ SBaseTrigger[disabled] {
|
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
SBaseTrigger[keyboardFocused] {
|
|
56
|
-
box-shadow: var(--keyborad-focus);
|
|
57
61
|
z-index: 1;
|
|
58
62
|
}
|
|
59
63
|
|
|
@@ -226,4 +230,9 @@ SBaseTrigger[state='valid'] {
|
|
|
226
230
|
|
|
227
231
|
SBaseTrigger[state='invalid'] {
|
|
228
232
|
border-color: var(--orange);
|
|
233
|
+
|
|
234
|
+
&[keyboardFocused] {
|
|
235
|
+
border-color: var(--orange);
|
|
236
|
+
box-shadow: 0 0 0 3px color-mod(var(--orange) a(30%));
|
|
237
|
+
}
|
|
229
238
|
}
|
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_qaw1b_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:#333333}.___SBaseTrigger_qaw1b_gg_::-moz-focus-inner{border:none;padding:0}.___SBaseTrigger_qaw1b_gg_:active,.___SBaseTrigger_qaw1b_gg_:focus,.___SBaseTrigger_qaw1b_gg_:hover{outline:0;text-decoration:none}.___SBaseTrigger_qaw1b_gg_.__keyboardFocused_qaw1b_gg_{border:1px solid #2b94e1;box-shadow:0 0 0 3px rgba(43, 148, 225, 0.3)}.___SBaseTrigger_qaw1b_gg_:active,.___SBaseTrigger_qaw1b_gg_:hover,.___SBaseTrigger_qaw1b_gg_.__active_qaw1b_gg_{background-color:rgba(166,176,179,.2)}.___SBaseTrigger_qaw1b_gg_.__disabled_qaw1b_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SBaseTrigger_qaw1b_gg_.__keyboardFocused_qaw1b_gg_{z-index:1}.___SInner_qaw1b_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SText_qaw1b_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_qaw1b_gg_{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.___SBaseAddon_qaw1b_gg_{width:12px;height:12px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_ .___SText_qaw1b_gg_{margin-left:4px;margin-right:4px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):first-child{margin-left:4px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):last-child{margin-right:4px}.___SBaseTrigger_qaw1b_gg_._size_s_qaw1b_gg_ .___SAddon_qaw1b_gg_:only-child{margin-left:-2px;margin-right:-2px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_ .___SText_qaw1b_gg_{margin-left:8px;margin-right:8px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):first-child{margin-left:8px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):last-child{margin-right:8px}.___SBaseTrigger_qaw1b_gg_._size_m_qaw1b_gg_ .___SAddon_qaw1b_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_ .___SText_qaw1b_gg_{margin-left:8px;margin-right:8px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):first-child{margin-left:8px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):last-child{margin-right:8px}.___SBaseTrigger_qaw1b_gg_._size_l_qaw1b_gg_ .___SAddon_qaw1b_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_ .___SText_qaw1b_gg_{margin-left:12px;margin-right:12px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):first-child{margin-left:12px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_ .___SAddon_qaw1b_gg_:not(:only-child):last-child{margin-right:12px}.___SBaseTrigger_qaw1b_gg_._size_xl_qaw1b_gg_ .___SAddon_qaw1b_gg_:only-child{margin-left:-6px;margin-right:-6px}.___SBaseTrigger_qaw1b_gg_._neighborLocation_right_qaw1b_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SBaseTrigger_qaw1b_gg_._neighborLocation_both_qaw1b_gg_{border-radius:0;margin-left:-1px}.___SBaseTrigger_qaw1b_gg_._neighborLocation_left_qaw1b_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SText_qaw1b_gg_.__placeholder_qaw1b_gg_{color:#aaaaaa}.___SBaseTrigger_qaw1b_gg_._state_normal_qaw1b_gg_{border-color:#a6b0b3}.___SBaseTrigger_qaw1b_gg_._state_valid_qaw1b_gg_{border-color:#4fae33}.___SBaseTrigger_qaw1b_gg_._state_invalid_qaw1b_gg_{border-color:#ff7f00}.___SBaseTrigger_qaw1b_gg_._state_invalid_qaw1b_gg_.__keyboardFocused_qaw1b_gg_{border-color:#ff7f00;box-shadow:0 0 0 3px rgba(255,127,0,.3)}"
|
|
34
34
|
/*__inner_css_end__*/
|
|
35
|
-
, "
|
|
35
|
+
, "pimup5_gg_")
|
|
36
36
|
/*__reshadow_css_end__*/
|
|
37
37
|
, {
|
|
38
|
-
"__SBaseTrigger": "
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
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_qaw1b_gg_",
|
|
39
|
+
"_keyboardFocused": "__keyboardFocused_qaw1b_gg_",
|
|
40
|
+
"_active": "__active_qaw1b_gg_",
|
|
41
|
+
"_disabled": "__disabled_qaw1b_gg_",
|
|
42
|
+
"__SInner": "___SInner_qaw1b_gg_",
|
|
43
|
+
"__SText": "___SText_qaw1b_gg_",
|
|
44
|
+
"__SAddon": "___SAddon_qaw1b_gg_",
|
|
45
|
+
"__SBaseAddon": "___SBaseAddon_qaw1b_gg_",
|
|
46
|
+
"_size_s": "_size_s_qaw1b_gg_",
|
|
47
|
+
"_size_m": "_size_m_qaw1b_gg_",
|
|
48
|
+
"_size_l": "_size_l_qaw1b_gg_",
|
|
49
|
+
"_size_xl": "_size_xl_qaw1b_gg_",
|
|
50
|
+
"_neighborLocation_right": "_neighborLocation_right_qaw1b_gg_",
|
|
51
|
+
"_neighborLocation_both": "_neighborLocation_both_qaw1b_gg_",
|
|
52
|
+
"_neighborLocation_left": "_neighborLocation_left_qaw1b_gg_",
|
|
53
|
+
"_placeholder": "__placeholder_qaw1b_gg_",
|
|
54
|
+
"_state_normal": "_state_normal_qaw1b_gg_",
|
|
55
|
+
"_state_valid": "_state_valid_qaw1b_gg_",
|
|
56
|
+
"_state_invalid": "_state_invalid_qaw1b_gg_"
|
|
57
57
|
});
|
|
58
58
|
|
|
59
59
|
var RootBaseTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/es6/LinkTrigger.js
CHANGED
|
@@ -31,25 +31,25 @@ var style = (
|
|
|
31
31
|
/*__reshadow_css_start__*/
|
|
32
32
|
_sstyled.insert(
|
|
33
33
|
/*__inner_css_start__*/
|
|
34
|
-
".
|
|
34
|
+
".___SLinkTrigger_qt3iv_gg_{display:inline-flex;align-items: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;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;vertical-align:middle;font-family:inherit;cursor:pointer}.___SLinkTrigger_qt3iv_gg_{color:#0071bc;background:none;transition:color .15s ease-in-out}.___SLinkTrigger_qt3iv_gg_:active,.___SLinkTrigger_qt3iv_gg_:hover,.___SLinkTrigger_qt3iv_gg_.__active_qt3iv_gg_{color:#0063a5}.___SLinkTrigger_qt3iv_gg_:active .___SText_qt3iv_gg_,.___SLinkTrigger_qt3iv_gg_:hover .___SText_qt3iv_gg_,.___SLinkTrigger_qt3iv_gg_.__active_qt3iv_gg_ .___SText_qt3iv_gg_{border-color:currentColor}.___SLinkTrigger_qt3iv_gg_ .___SText_qt3iv_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLinkTrigger_qt3iv_gg_.__color_qt3iv_gg_{color:var(--color_rbea4n)}.___SLinkTrigger_qt3iv_gg_.__color_qt3iv_gg_:hover{color:var(--color-hover_rbea4n)}.___SLinkTrigger_qt3iv_gg_.__disabled_qt3iv_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SLinkTrigger_qt3iv_gg_.__keyboardFocused_qt3iv_gg_{box-shadow:0 0 0 3px rgba(43, 148, 225, 0.3);z-index:1}.___SAddon_qt3iv_gg_,.___SLinkAddon_qt3iv_gg_{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.___SAddon_qt3iv_gg_:not(:only-child):first-child,.___SLinkAddon_qt3iv_gg_:not(:only-child):first-child{margin-right:4px}.___SAddon_qt3iv_gg_:not(:only-child):last-child,.___SLinkAddon_qt3iv_gg_:not(:only-child):last-child{margin-left:4px}.___SLinkAddon_qt3iv_gg_{width:12px;height:12px}.___SLinkTrigger_qt3iv_gg_._size_s_qt3iv_gg_{font-size:10px}.___SLinkTrigger_qt3iv_gg_._size_m_qt3iv_gg_{font-size:12px}.___SLinkTrigger_qt3iv_gg_._size_l_qt3iv_gg_{font-size:14px}.___SLinkTrigger_qt3iv_gg_._size_xl_qt3iv_gg_{font-size:16px}@media (prefers-reduced-motion){.___SLinkTrigger_qt3iv_gg_{transition:none}.___SLinkTrigger_qt3iv_gg_ .___SText_qt3iv_gg_{transition:none}}"
|
|
35
35
|
/*__inner_css_end__*/
|
|
36
|
-
, "
|
|
36
|
+
, "rbea4n_gg_")
|
|
37
37
|
/*__reshadow_css_end__*/
|
|
38
38
|
, {
|
|
39
|
-
"__SLinkTrigger": "
|
|
40
|
-
"_active": "
|
|
41
|
-
"__SText": "
|
|
42
|
-
"_color": "
|
|
43
|
-
"--color": "--
|
|
44
|
-
"--color-hover": "--color-
|
|
45
|
-
"_disabled": "
|
|
46
|
-
"_keyboardFocused": "
|
|
47
|
-
"__SAddon": "
|
|
48
|
-
"__SLinkAddon": "
|
|
49
|
-
"_size_s": "
|
|
50
|
-
"_size_m": "
|
|
51
|
-
"_size_l": "
|
|
52
|
-
"_size_xl": "
|
|
39
|
+
"__SLinkTrigger": "___SLinkTrigger_qt3iv_gg_",
|
|
40
|
+
"_active": "__active_qt3iv_gg_",
|
|
41
|
+
"__SText": "___SText_qt3iv_gg_",
|
|
42
|
+
"_color": "__color_qt3iv_gg_",
|
|
43
|
+
"--color": "--color_rbea4n",
|
|
44
|
+
"--color-hover": "--color-hover_rbea4n",
|
|
45
|
+
"_disabled": "__disabled_qt3iv_gg_",
|
|
46
|
+
"_keyboardFocused": "__keyboardFocused_qt3iv_gg_",
|
|
47
|
+
"__SAddon": "___SAddon_qt3iv_gg_",
|
|
48
|
+
"__SLinkAddon": "___SLinkAddon_qt3iv_gg_",
|
|
49
|
+
"_size_s": "_size_s_qt3iv_gg_",
|
|
50
|
+
"_size_m": "_size_m_qt3iv_gg_",
|
|
51
|
+
"_size_l": "_size_l_qt3iv_gg_",
|
|
52
|
+
"_size_xl": "_size_xl_qt3iv_gg_"
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
var RootLinkTrigger = /*#__PURE__*/function (_Component) {
|
|
@@ -39,6 +39,11 @@ SBaseTrigger {
|
|
|
39
39
|
text-decoration: none;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
&[keyboardFocused] {
|
|
43
|
+
border: 1px solid var(--light-blue);
|
|
44
|
+
box-shadow: var(--keyborad-focus);
|
|
45
|
+
}
|
|
46
|
+
|
|
42
47
|
&:active,
|
|
43
48
|
&:hover,
|
|
44
49
|
&[active] {
|
|
@@ -53,7 +58,6 @@ SBaseTrigger[disabled] {
|
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
SBaseTrigger[keyboardFocused] {
|
|
56
|
-
box-shadow: var(--keyborad-focus);
|
|
57
61
|
z-index: 1;
|
|
58
62
|
}
|
|
59
63
|
|
|
@@ -226,4 +230,9 @@ SBaseTrigger[state='valid'] {
|
|
|
226
230
|
|
|
227
231
|
SBaseTrigger[state='invalid'] {
|
|
228
232
|
border-color: var(--orange);
|
|
233
|
+
|
|
234
|
+
&[keyboardFocused] {
|
|
235
|
+
border-color: var(--orange);
|
|
236
|
+
box-shadow: 0 0 0 3px color-mod(var(--orange) a(30%));
|
|
237
|
+
}
|
|
229
238
|
}
|
package/package.json
CHANGED
|
@@ -39,6 +39,11 @@ SBaseTrigger {
|
|
|
39
39
|
text-decoration: none;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
&[keyboardFocused] {
|
|
43
|
+
border: 1px solid var(--light-blue);
|
|
44
|
+
box-shadow: var(--keyborad-focus);
|
|
45
|
+
}
|
|
46
|
+
|
|
42
47
|
&:active,
|
|
43
48
|
&:hover,
|
|
44
49
|
&[active] {
|
|
@@ -53,7 +58,6 @@ SBaseTrigger[disabled] {
|
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
SBaseTrigger[keyboardFocused] {
|
|
56
|
-
box-shadow: var(--keyborad-focus);
|
|
57
61
|
z-index: 1;
|
|
58
62
|
}
|
|
59
63
|
|
|
@@ -226,4 +230,9 @@ SBaseTrigger[state='valid'] {
|
|
|
226
230
|
|
|
227
231
|
SBaseTrigger[state='invalid'] {
|
|
228
232
|
border-color: var(--orange);
|
|
233
|
+
|
|
234
|
+
&[keyboardFocused] {
|
|
235
|
+
border-color: var(--orange);
|
|
236
|
+
box-shadow: 0 0 0 3px color-mod(var(--orange) a(30%));
|
|
237
|
+
}
|
|
229
238
|
}
|