@semcore/base-trigger 2.5.1 → 2.6.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 +18 -0
- package/lib/cjs/BaseTrigger.js +21 -21
- package/lib/cjs/ButtonTrigger.js +2 -2
- package/lib/cjs/FilterTrigger.js +17 -17
- 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/ButtonTrigger.js +2 -2
- package/lib/es6/FilterTrigger.js +17 -17
- 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 +6 -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.0] - 2021-03-04
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Disabled animation if reduce motion is preferred.
|
|
10
|
+
|
|
11
|
+
## [2.5.3] - 2022-02-25
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Improved keyboard focus styles.
|
|
16
|
+
|
|
17
|
+
## [2.5.2] - 2022-02-24
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Added repository field to package.json file.
|
|
22
|
+
|
|
5
23
|
## [2.5.1] - 2022-02-18
|
|
6
24
|
|
|
7
25
|
### Fixed
|
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/ButtonTrigger.js
CHANGED
|
@@ -46,12 +46,12 @@ var style = (
|
|
|
46
46
|
/*__reshadow_css_start__*/
|
|
47
47
|
_core.sstyled.insert(
|
|
48
48
|
/*__inner_css_start__*/
|
|
49
|
-
".
|
|
49
|
+
".___SButtonAddon_1yp15_gg_{width:12px;height:12px}"
|
|
50
50
|
/*__inner_css_end__*/
|
|
51
51
|
, "18emizi_gg_")
|
|
52
52
|
/*__reshadow_css_end__*/
|
|
53
53
|
, {
|
|
54
|
-
"__SButtonAddon": "
|
|
54
|
+
"__SButtonAddon": "___SButtonAddon_1yp15_gg_"
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
var RootButtonTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/FilterTrigger.js
CHANGED
|
@@ -60,27 +60,27 @@ var style = (
|
|
|
60
60
|
/*__reshadow_css_start__*/
|
|
61
61
|
_core.sstyled.insert(
|
|
62
62
|
/*__inner_css_start__*/
|
|
63
|
-
".
|
|
63
|
+
".___SButtonTrigger_1le1w_gg_{border:1px solid #a6b0b3;background:#fff;color:#333333}.___SButtonTrigger_1le1w_gg_::-moz-focus-inner{border:none;padding:0}.___SButtonTrigger_1le1w_gg_:active,.___SButtonTrigger_1le1w_gg_:focus,.___SButtonTrigger_1le1w_gg_:hover{outline:0;text-decoration:none}.___SButtonTrigger_1le1w_gg_:active,.___SButtonTrigger_1le1w_gg_:hover,.___SButtonTrigger_1le1w_gg_.__active_1le1w_gg_{background-color:rgba(166,176,179,.2)}.___SButtonTrigger_1le1w_gg_._size_s_1le1w_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SButtonTrigger_1le1w_gg_._size_m_1le1w_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SButtonTrigger_1le1w_gg_._size_l_1le1w_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SButtonTrigger_1le1w_gg_._size_xl_1le1w_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SText_1le1w_gg_.__placeholder_1le1w_gg_{color:#aaaaaa}.___SButtonTrigger_1le1w_gg_._state_normal_1le1w_gg_{border-color:#a6b0b3}.___SButtonTrigger_1le1w_gg_._state_valid_1le1w_gg_{border-color:#4fae33}.___SButtonTrigger_1le1w_gg_._state_invalid_1le1w_gg_{border-color:#ff7f00}.___SFilterTrigger_1le1w_gg_.__selected_1le1w_gg_{border-color:#2b94e1;background-color:rgba(43,148,225,.2)}.___SFilterTrigger_1le1w_gg_.__selected_1le1w_gg_:hover,.___SFilterTrigger_1le1w_gg_.__selected_1le1w_gg_.__active_1le1w_gg_{background:rgba(43,148,225,.3)}.___SWrapper_1le1w_gg_{display:inline-flex}.___SWrapper_1le1w_gg_:focus{outline:none}.___SWrapper_1le1w_gg_.__keyboardFocused_1le1w_gg_{box-shadow:0 0 0 3px rgba(43, 148, 225, 0.3)}.___SCounter_1le1w_gg_{background-color:#2b94e1}"
|
|
64
64
|
/*__inner_css_end__*/
|
|
65
65
|
, "y8g6v3_gg_")
|
|
66
66
|
/*__reshadow_css_end__*/
|
|
67
67
|
, {
|
|
68
|
-
"__SButtonTrigger": "
|
|
69
|
-
"_active": "
|
|
70
|
-
"_size_s": "
|
|
71
|
-
"_size_m": "
|
|
72
|
-
"_size_l": "
|
|
73
|
-
"_size_xl": "
|
|
74
|
-
"__SText": "
|
|
75
|
-
"_placeholder": "
|
|
76
|
-
"_state_normal": "
|
|
77
|
-
"_state_valid": "
|
|
78
|
-
"_state_invalid": "
|
|
79
|
-
"__SFilterTrigger": "
|
|
80
|
-
"_selected": "
|
|
81
|
-
"__SWrapper": "
|
|
82
|
-
"_keyboardFocused": "
|
|
83
|
-
"__SCounter": "
|
|
68
|
+
"__SButtonTrigger": "___SButtonTrigger_1le1w_gg_",
|
|
69
|
+
"_active": "__active_1le1w_gg_",
|
|
70
|
+
"_size_s": "_size_s_1le1w_gg_",
|
|
71
|
+
"_size_m": "_size_m_1le1w_gg_",
|
|
72
|
+
"_size_l": "_size_l_1le1w_gg_",
|
|
73
|
+
"_size_xl": "_size_xl_1le1w_gg_",
|
|
74
|
+
"__SText": "___SText_1le1w_gg_",
|
|
75
|
+
"_placeholder": "__placeholder_1le1w_gg_",
|
|
76
|
+
"_state_normal": "_state_normal_1le1w_gg_",
|
|
77
|
+
"_state_valid": "_state_valid_1le1w_gg_",
|
|
78
|
+
"_state_invalid": "_state_invalid_1le1w_gg_",
|
|
79
|
+
"__SFilterTrigger": "___SFilterTrigger_1le1w_gg_",
|
|
80
|
+
"_selected": "__selected_1le1w_gg_",
|
|
81
|
+
"__SWrapper": "___SWrapper_1le1w_gg_",
|
|
82
|
+
"_keyboardFocused": "__keyboardFocused_1le1w_gg_",
|
|
83
|
+
"__SCounter": "___SCounter_1le1w_gg_"
|
|
84
84
|
});
|
|
85
85
|
|
|
86
86
|
var RootFilterTrigger = /*#__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/ButtonTrigger.js
CHANGED
|
@@ -23,12 +23,12 @@ var style = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
_sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
".
|
|
26
|
+
".___SButtonAddon_1yp15_gg_{width:12px;height:12px}"
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
28
|
, "18emizi_gg_")
|
|
29
29
|
/*__reshadow_css_end__*/
|
|
30
30
|
, {
|
|
31
|
-
"__SButtonAddon": "
|
|
31
|
+
"__SButtonAddon": "___SButtonAddon_1yp15_gg_"
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
var RootButtonTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/es6/FilterTrigger.js
CHANGED
|
@@ -33,27 +33,27 @@ var style = (
|
|
|
33
33
|
/*__reshadow_css_start__*/
|
|
34
34
|
_sstyled.insert(
|
|
35
35
|
/*__inner_css_start__*/
|
|
36
|
-
".
|
|
36
|
+
".___SButtonTrigger_1le1w_gg_{border:1px solid #a6b0b3;background:#fff;color:#333333}.___SButtonTrigger_1le1w_gg_::-moz-focus-inner{border:none;padding:0}.___SButtonTrigger_1le1w_gg_:active,.___SButtonTrigger_1le1w_gg_:focus,.___SButtonTrigger_1le1w_gg_:hover{outline:0;text-decoration:none}.___SButtonTrigger_1le1w_gg_:active,.___SButtonTrigger_1le1w_gg_:hover,.___SButtonTrigger_1le1w_gg_.__active_1le1w_gg_{background-color:rgba(166,176,179,.2)}.___SButtonTrigger_1le1w_gg_._size_s_1le1w_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SButtonTrigger_1le1w_gg_._size_m_1le1w_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SButtonTrigger_1le1w_gg_._size_l_1le1w_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SButtonTrigger_1le1w_gg_._size_xl_1le1w_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SText_1le1w_gg_.__placeholder_1le1w_gg_{color:#aaaaaa}.___SButtonTrigger_1le1w_gg_._state_normal_1le1w_gg_{border-color:#a6b0b3}.___SButtonTrigger_1le1w_gg_._state_valid_1le1w_gg_{border-color:#4fae33}.___SButtonTrigger_1le1w_gg_._state_invalid_1le1w_gg_{border-color:#ff7f00}.___SFilterTrigger_1le1w_gg_.__selected_1le1w_gg_{border-color:#2b94e1;background-color:rgba(43,148,225,.2)}.___SFilterTrigger_1le1w_gg_.__selected_1le1w_gg_:hover,.___SFilterTrigger_1le1w_gg_.__selected_1le1w_gg_.__active_1le1w_gg_{background:rgba(43,148,225,.3)}.___SWrapper_1le1w_gg_{display:inline-flex}.___SWrapper_1le1w_gg_:focus{outline:none}.___SWrapper_1le1w_gg_.__keyboardFocused_1le1w_gg_{box-shadow:0 0 0 3px rgba(43, 148, 225, 0.3)}.___SCounter_1le1w_gg_{background-color:#2b94e1}"
|
|
37
37
|
/*__inner_css_end__*/
|
|
38
38
|
, "y8g6v3_gg_")
|
|
39
39
|
/*__reshadow_css_end__*/
|
|
40
40
|
, {
|
|
41
|
-
"__SButtonTrigger": "
|
|
42
|
-
"_active": "
|
|
43
|
-
"_size_s": "
|
|
44
|
-
"_size_m": "
|
|
45
|
-
"_size_l": "
|
|
46
|
-
"_size_xl": "
|
|
47
|
-
"__SText": "
|
|
48
|
-
"_placeholder": "
|
|
49
|
-
"_state_normal": "
|
|
50
|
-
"_state_valid": "
|
|
51
|
-
"_state_invalid": "
|
|
52
|
-
"__SFilterTrigger": "
|
|
53
|
-
"_selected": "
|
|
54
|
-
"__SWrapper": "
|
|
55
|
-
"_keyboardFocused": "
|
|
56
|
-
"__SCounter": "
|
|
41
|
+
"__SButtonTrigger": "___SButtonTrigger_1le1w_gg_",
|
|
42
|
+
"_active": "__active_1le1w_gg_",
|
|
43
|
+
"_size_s": "_size_s_1le1w_gg_",
|
|
44
|
+
"_size_m": "_size_m_1le1w_gg_",
|
|
45
|
+
"_size_l": "_size_l_1le1w_gg_",
|
|
46
|
+
"_size_xl": "_size_xl_1le1w_gg_",
|
|
47
|
+
"__SText": "___SText_1le1w_gg_",
|
|
48
|
+
"_placeholder": "__placeholder_1le1w_gg_",
|
|
49
|
+
"_state_normal": "_state_normal_1le1w_gg_",
|
|
50
|
+
"_state_valid": "_state_valid_1le1w_gg_",
|
|
51
|
+
"_state_invalid": "_state_invalid_1le1w_gg_",
|
|
52
|
+
"__SFilterTrigger": "___SFilterTrigger_1le1w_gg_",
|
|
53
|
+
"_selected": "__selected_1le1w_gg_",
|
|
54
|
+
"__SWrapper": "___SWrapper_1le1w_gg_",
|
|
55
|
+
"_keyboardFocused": "__keyboardFocused_1le1w_gg_",
|
|
56
|
+
"__SCounter": "___SCounter_1le1w_gg_"
|
|
57
57
|
});
|
|
58
58
|
|
|
59
59
|
var RootFilterTrigger = /*#__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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/base-trigger",
|
|
3
3
|
"description": "SEMRush BaseTrigger Component",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.6.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -26,5 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"jest": {
|
|
28
28
|
"preset": "@semcore/jest-preset-ui"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/semrush/intergalactic.git",
|
|
33
|
+
"directory": "semcore/base-trigger"
|
|
29
34
|
}
|
|
30
35
|
}
|
|
@@ -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
|
}
|