@semcore/base-trigger 2.3.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 +24 -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 +13 -13
- package/lib/cjs/style/base-trigger.shadow.css +1 -1
- 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 +13 -13
- package/lib/es6/style/base-trigger.shadow.css +1 -1
- package/lib/types/index.d.ts +14 -16
- package/package.json +3 -8
- package/src/index.d.ts +14 -16
- package/src/style/base-trigger.shadow.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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
|
+
|
|
11
|
+
## [2.4.0] - 2021-10-01
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Up version package `@semcore/dot`.
|
|
16
|
+
|
|
17
|
+
## [2.3.2] - 2021-8-26
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Add 'sideEffect=false' for more optimal build via webpack
|
|
22
|
+
|
|
23
|
+
## [2.3.1] - 2021-08-02
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- [ts] correct types.
|
|
28
|
+
|
|
5
29
|
## [2.3.0] - 2021-06-08
|
|
6
30
|
|
|
7
31
|
### 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/cjs/ButtonTrigger.js
CHANGED
|
@@ -42,12 +42,12 @@ var style = (
|
|
|
42
42
|
/*__reshadow_css_start__*/
|
|
43
43
|
_core.sstyled.insert(
|
|
44
44
|
/*__inner_css_start__*/
|
|
45
|
-
".
|
|
45
|
+
".___SButtonAddon_12p8m_gg_{width:12px;height:12px}"
|
|
46
46
|
/*__inner_css_end__*/
|
|
47
47
|
, "18emizi_gg_")
|
|
48
48
|
/*__reshadow_css_end__*/
|
|
49
49
|
, {
|
|
50
|
-
"__SButtonAddon": "
|
|
50
|
+
"__SButtonAddon": "___SButtonAddon_12p8m_gg_"
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
var RootButtonTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/FilterTrigger.js
CHANGED
|
@@ -56,27 +56,27 @@ var style = (
|
|
|
56
56
|
/*__reshadow_css_start__*/
|
|
57
57
|
_core.sstyled.insert(
|
|
58
58
|
/*__inner_css_start__*/
|
|
59
|
-
".
|
|
59
|
+
".___SButtonTrigger_17o6g_gg_{border:1px solid #a6b0b3;background:#fff;color:#333}.___SButtonTrigger_17o6g_gg_::-moz-focus-inner{border:none;padding:0}.___SButtonTrigger_17o6g_gg_:active,.___SButtonTrigger_17o6g_gg_:focus,.___SButtonTrigger_17o6g_gg_:hover{outline:0;text-decoration:none}.___SButtonTrigger_17o6g_gg_:active,.___SButtonTrigger_17o6g_gg_:hover,.___SButtonTrigger_17o6g_gg_.__active_17o6g_gg_{background-color:rgba(166,176,179,.2)}.___SButtonTrigger_17o6g_gg_._size_s_17o6g_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SButtonTrigger_17o6g_gg_._size_m_17o6g_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SButtonTrigger_17o6g_gg_._size_l_17o6g_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SButtonTrigger_17o6g_gg_._size_xl_17o6g_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SText_17o6g_gg_.__placeholder_17o6g_gg_{color:#aaa}.___SButtonTrigger_17o6g_gg_._state_normal_17o6g_gg_{border-color:#a6b0b3}.___SButtonTrigger_17o6g_gg_._state_valid_17o6g_gg_{border-color:#4fae33}.___SButtonTrigger_17o6g_gg_._state_invalid_17o6g_gg_{border-color:#ff7f00}.___SFilterTrigger_17o6g_gg_.__selected_17o6g_gg_{border-color:#2b94e1;background-color:rgba(43,148,225,.2)}.___SFilterTrigger_17o6g_gg_.__selected_17o6g_gg_:hover,.___SFilterTrigger_17o6g_gg_.__selected_17o6g_gg_.__active_17o6g_gg_{background:rgba(43,148,225,.3)}.___SWrapper_17o6g_gg_{display:inline-flex}.___SWrapper_17o6g_gg_:focus{outline:none}.___SWrapper_17o6g_gg_.__keyboardFocused_17o6g_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3)}.___SCounter_17o6g_gg_{background-color:#2b94e1}"
|
|
60
60
|
/*__inner_css_end__*/
|
|
61
61
|
, "y8g6v3_gg_")
|
|
62
62
|
/*__reshadow_css_end__*/
|
|
63
63
|
, {
|
|
64
|
-
"__SButtonTrigger": "
|
|
65
|
-
"_active": "
|
|
66
|
-
"_size_s": "
|
|
67
|
-
"_size_m": "
|
|
68
|
-
"_size_l": "
|
|
69
|
-
"_size_xl": "
|
|
70
|
-
"__SText": "
|
|
71
|
-
"_placeholder": "
|
|
72
|
-
"_state_normal": "
|
|
73
|
-
"_state_valid": "
|
|
74
|
-
"_state_invalid": "
|
|
75
|
-
"__SFilterTrigger": "
|
|
76
|
-
"_selected": "
|
|
77
|
-
"__SWrapper": "
|
|
78
|
-
"_keyboardFocused": "
|
|
79
|
-
"__SCounter": "
|
|
64
|
+
"__SButtonTrigger": "___SButtonTrigger_17o6g_gg_",
|
|
65
|
+
"_active": "__active_17o6g_gg_",
|
|
66
|
+
"_size_s": "_size_s_17o6g_gg_",
|
|
67
|
+
"_size_m": "_size_m_17o6g_gg_",
|
|
68
|
+
"_size_l": "_size_l_17o6g_gg_",
|
|
69
|
+
"_size_xl": "_size_xl_17o6g_gg_",
|
|
70
|
+
"__SText": "___SText_17o6g_gg_",
|
|
71
|
+
"_placeholder": "__placeholder_17o6g_gg_",
|
|
72
|
+
"_state_normal": "_state_normal_17o6g_gg_",
|
|
73
|
+
"_state_valid": "_state_valid_17o6g_gg_",
|
|
74
|
+
"_state_invalid": "_state_invalid_17o6g_gg_",
|
|
75
|
+
"__SFilterTrigger": "___SFilterTrigger_17o6g_gg_",
|
|
76
|
+
"_selected": "__selected_17o6g_gg_",
|
|
77
|
+
"__SWrapper": "___SWrapper_17o6g_gg_",
|
|
78
|
+
"_keyboardFocused": "__keyboardFocused_17o6g_gg_",
|
|
79
|
+
"__SCounter": "___SCounter_17o6g_gg_"
|
|
80
80
|
});
|
|
81
81
|
|
|
82
82
|
var RootFilterTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/LinkTrigger.js
CHANGED
|
@@ -50,24 +50,24 @@ var style = (
|
|
|
50
50
|
/*__reshadow_css_start__*/
|
|
51
51
|
_core.sstyled.insert(
|
|
52
52
|
/*__inner_css_start__*/
|
|
53
|
-
".
|
|
53
|
+
".___SLinkTrigger_1jygk_gg_{display:inline-flex;align-items:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;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;color:#0071bc;background:none;transition:color .15s ease-in-out}.___SLinkTrigger_1jygk_gg_:active,.___SLinkTrigger_1jygk_gg_:hover,.___SLinkTrigger_1jygk_gg_.__active_1jygk_gg_{color:#0063a5}.___SLinkTrigger_1jygk_gg_:active .___SText_1jygk_gg_,.___SLinkTrigger_1jygk_gg_:hover .___SText_1jygk_gg_,.___SLinkTrigger_1jygk_gg_.__active_1jygk_gg_ .___SText_1jygk_gg_{border-color:currentColor}.___SLinkTrigger_1jygk_gg_ .___SText_1jygk_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLinkTrigger_1jygk_gg_.__color_1jygk_gg_{color:var(--color_hznr82)}.___SLinkTrigger_1jygk_gg_.__color_1jygk_gg_:hover{color:color-mod(var(--color_hznr82) shade(12%))}.___SLinkTrigger_1jygk_gg_.__disabled_1jygk_gg_{opacity:.3;cursor:default;pointer-events:none}.___SLinkTrigger_1jygk_gg_.__keyboardFocused_1jygk_gg_{box-shadow:0 0 0 3px color-mod(#2b94e1 a(30%));z-index:1}.___SAddon_1jygk_gg_,.___SLinkAddon_1jygk_gg_{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.___SAddon_1jygk_gg_:not(:only-child):first-child,.___SLinkAddon_1jygk_gg_:not(:only-child):first-child{margin-right:4px}.___SAddon_1jygk_gg_:not(:only-child):last-child,.___SLinkAddon_1jygk_gg_:not(:only-child):last-child{margin-left:4px}.___SLinkAddon_1jygk_gg_{width:12px;height:12px}.___SLinkTrigger_1jygk_gg_._size_s_1jygk_gg_{font-size:10px}.___SLinkTrigger_1jygk_gg_._size_m_1jygk_gg_{font-size:12px}.___SLinkTrigger_1jygk_gg_._size_l_1jygk_gg_{font-size:14px}.___SLinkTrigger_1jygk_gg_._size_xl_1jygk_gg_{font-size:16px}"
|
|
54
54
|
/*__inner_css_end__*/
|
|
55
55
|
, "hznr82_gg_")
|
|
56
56
|
/*__reshadow_css_end__*/
|
|
57
57
|
, {
|
|
58
|
-
"__SLinkTrigger": "
|
|
59
|
-
"_active": "
|
|
60
|
-
"__SText": "
|
|
61
|
-
"_color": "
|
|
58
|
+
"__SLinkTrigger": "___SLinkTrigger_1jygk_gg_",
|
|
59
|
+
"_active": "__active_1jygk_gg_",
|
|
60
|
+
"__SText": "___SText_1jygk_gg_",
|
|
61
|
+
"_color": "__color_1jygk_gg_",
|
|
62
62
|
"--color": "--color_hznr82",
|
|
63
|
-
"_disabled": "
|
|
64
|
-
"_keyboardFocused": "
|
|
65
|
-
"__SAddon": "
|
|
66
|
-
"__SLinkAddon": "
|
|
67
|
-
"_size_s": "
|
|
68
|
-
"_size_m": "
|
|
69
|
-
"_size_l": "
|
|
70
|
-
"_size_xl": "
|
|
63
|
+
"_disabled": "__disabled_1jygk_gg_",
|
|
64
|
+
"_keyboardFocused": "__keyboardFocused_1jygk_gg_",
|
|
65
|
+
"__SAddon": "___SAddon_1jygk_gg_",
|
|
66
|
+
"__SLinkAddon": "___SLinkAddon_1jygk_gg_",
|
|
67
|
+
"_size_s": "_size_s_1jygk_gg_",
|
|
68
|
+
"_size_m": "_size_m_1jygk_gg_",
|
|
69
|
+
"_size_l": "_size_l_1jygk_gg_",
|
|
70
|
+
"_size_xl": "_size_xl_1jygk_gg_"
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
var RootLinkTrigger = /*#__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/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_12p8m_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_12p8m_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_17o6g_gg_{border:1px solid #a6b0b3;background:#fff;color:#333}.___SButtonTrigger_17o6g_gg_::-moz-focus-inner{border:none;padding:0}.___SButtonTrigger_17o6g_gg_:active,.___SButtonTrigger_17o6g_gg_:focus,.___SButtonTrigger_17o6g_gg_:hover{outline:0;text-decoration:none}.___SButtonTrigger_17o6g_gg_:active,.___SButtonTrigger_17o6g_gg_:hover,.___SButtonTrigger_17o6g_gg_.__active_17o6g_gg_{background-color:rgba(166,176,179,.2)}.___SButtonTrigger_17o6g_gg_._size_s_17o6g_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SButtonTrigger_17o6g_gg_._size_m_17o6g_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SButtonTrigger_17o6g_gg_._size_l_17o6g_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SButtonTrigger_17o6g_gg_._size_xl_17o6g_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SText_17o6g_gg_.__placeholder_17o6g_gg_{color:#aaa}.___SButtonTrigger_17o6g_gg_._state_normal_17o6g_gg_{border-color:#a6b0b3}.___SButtonTrigger_17o6g_gg_._state_valid_17o6g_gg_{border-color:#4fae33}.___SButtonTrigger_17o6g_gg_._state_invalid_17o6g_gg_{border-color:#ff7f00}.___SFilterTrigger_17o6g_gg_.__selected_17o6g_gg_{border-color:#2b94e1;background-color:rgba(43,148,225,.2)}.___SFilterTrigger_17o6g_gg_.__selected_17o6g_gg_:hover,.___SFilterTrigger_17o6g_gg_.__selected_17o6g_gg_.__active_17o6g_gg_{background:rgba(43,148,225,.3)}.___SWrapper_17o6g_gg_{display:inline-flex}.___SWrapper_17o6g_gg_:focus{outline:none}.___SWrapper_17o6g_gg_.__keyboardFocused_17o6g_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3)}.___SCounter_17o6g_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_17o6g_gg_",
|
|
42
|
+
"_active": "__active_17o6g_gg_",
|
|
43
|
+
"_size_s": "_size_s_17o6g_gg_",
|
|
44
|
+
"_size_m": "_size_m_17o6g_gg_",
|
|
45
|
+
"_size_l": "_size_l_17o6g_gg_",
|
|
46
|
+
"_size_xl": "_size_xl_17o6g_gg_",
|
|
47
|
+
"__SText": "___SText_17o6g_gg_",
|
|
48
|
+
"_placeholder": "__placeholder_17o6g_gg_",
|
|
49
|
+
"_state_normal": "_state_normal_17o6g_gg_",
|
|
50
|
+
"_state_valid": "_state_valid_17o6g_gg_",
|
|
51
|
+
"_state_invalid": "_state_invalid_17o6g_gg_",
|
|
52
|
+
"__SFilterTrigger": "___SFilterTrigger_17o6g_gg_",
|
|
53
|
+
"_selected": "__selected_17o6g_gg_",
|
|
54
|
+
"__SWrapper": "___SWrapper_17o6g_gg_",
|
|
55
|
+
"_keyboardFocused": "__keyboardFocused_17o6g_gg_",
|
|
56
|
+
"__SCounter": "___SCounter_17o6g_gg_"
|
|
57
57
|
});
|
|
58
58
|
|
|
59
59
|
var RootFilterTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/es6/LinkTrigger.js
CHANGED
|
@@ -31,24 +31,24 @@ var style = (
|
|
|
31
31
|
/*__reshadow_css_start__*/
|
|
32
32
|
_sstyled.insert(
|
|
33
33
|
/*__inner_css_start__*/
|
|
34
|
-
".
|
|
34
|
+
".___SLinkTrigger_1jygk_gg_{display:inline-flex;align-items:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;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;color:#0071bc;background:none;transition:color .15s ease-in-out}.___SLinkTrigger_1jygk_gg_:active,.___SLinkTrigger_1jygk_gg_:hover,.___SLinkTrigger_1jygk_gg_.__active_1jygk_gg_{color:#0063a5}.___SLinkTrigger_1jygk_gg_:active .___SText_1jygk_gg_,.___SLinkTrigger_1jygk_gg_:hover .___SText_1jygk_gg_,.___SLinkTrigger_1jygk_gg_.__active_1jygk_gg_ .___SText_1jygk_gg_{border-color:currentColor}.___SLinkTrigger_1jygk_gg_ .___SText_1jygk_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLinkTrigger_1jygk_gg_.__color_1jygk_gg_{color:var(--color_hznr82)}.___SLinkTrigger_1jygk_gg_.__color_1jygk_gg_:hover{color:color-mod(var(--color_hznr82) shade(12%))}.___SLinkTrigger_1jygk_gg_.__disabled_1jygk_gg_{opacity:.3;cursor:default;pointer-events:none}.___SLinkTrigger_1jygk_gg_.__keyboardFocused_1jygk_gg_{box-shadow:0 0 0 3px color-mod(#2b94e1 a(30%));z-index:1}.___SAddon_1jygk_gg_,.___SLinkAddon_1jygk_gg_{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.___SAddon_1jygk_gg_:not(:only-child):first-child,.___SLinkAddon_1jygk_gg_:not(:only-child):first-child{margin-right:4px}.___SAddon_1jygk_gg_:not(:only-child):last-child,.___SLinkAddon_1jygk_gg_:not(:only-child):last-child{margin-left:4px}.___SLinkAddon_1jygk_gg_{width:12px;height:12px}.___SLinkTrigger_1jygk_gg_._size_s_1jygk_gg_{font-size:10px}.___SLinkTrigger_1jygk_gg_._size_m_1jygk_gg_{font-size:12px}.___SLinkTrigger_1jygk_gg_._size_l_1jygk_gg_{font-size:14px}.___SLinkTrigger_1jygk_gg_._size_xl_1jygk_gg_{font-size:16px}"
|
|
35
35
|
/*__inner_css_end__*/
|
|
36
36
|
, "hznr82_gg_")
|
|
37
37
|
/*__reshadow_css_end__*/
|
|
38
38
|
, {
|
|
39
|
-
"__SLinkTrigger": "
|
|
40
|
-
"_active": "
|
|
41
|
-
"__SText": "
|
|
42
|
-
"_color": "
|
|
39
|
+
"__SLinkTrigger": "___SLinkTrigger_1jygk_gg_",
|
|
40
|
+
"_active": "__active_1jygk_gg_",
|
|
41
|
+
"__SText": "___SText_1jygk_gg_",
|
|
42
|
+
"_color": "__color_1jygk_gg_",
|
|
43
43
|
"--color": "--color_hznr82",
|
|
44
|
-
"_disabled": "
|
|
45
|
-
"_keyboardFocused": "
|
|
46
|
-
"__SAddon": "
|
|
47
|
-
"__SLinkAddon": "
|
|
48
|
-
"_size_s": "
|
|
49
|
-
"_size_m": "
|
|
50
|
-
"_size_l": "
|
|
51
|
-
"_size_xl": "
|
|
44
|
+
"_disabled": "__disabled_1jygk_gg_",
|
|
45
|
+
"_keyboardFocused": "__keyboardFocused_1jygk_gg_",
|
|
46
|
+
"__SAddon": "___SAddon_1jygk_gg_",
|
|
47
|
+
"__SLinkAddon": "___SLinkAddon_1jygk_gg_",
|
|
48
|
+
"_size_s": "_size_s_1jygk_gg_",
|
|
49
|
+
"_size_m": "_size_m_1jygk_gg_",
|
|
50
|
+
"_size_l": "_size_l_1jygk_gg_",
|
|
51
|
+
"_size_xl": "_size_xl_1jygk_gg_"
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
var RootLinkTrigger = /*#__PURE__*/function (_Component) {
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ComponentProps } from 'react';
|
|
2
|
-
import { CProps,
|
|
3
|
-
import { IBoxProps } from '@semcore/flex-box';
|
|
2
|
+
import { CProps, ReturnEl } from '@semcore/core';
|
|
3
|
+
import { Box, IBoxProps } from '@semcore/flex-box';
|
|
4
4
|
import Dot from '@semcore/dot';
|
|
5
5
|
import { INeighborItemProps } from '@semcore/neighbor-location';
|
|
6
6
|
import { IKeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
|
|
@@ -55,29 +55,27 @@ export interface IFilterTriggerProps extends IBaseTriggerProps {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
declare const BaseTrigger: (<T>(props: CProps<IBaseTriggerProps & T>) => ReturnEl) & {
|
|
58
|
-
Text: typeof Box
|
|
59
|
-
Addon: typeof Box
|
|
58
|
+
Text: typeof Box;
|
|
59
|
+
Addon: typeof Box;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
declare const ButtonTrigger: (<T>(props: CProps<IButtonTriggerProps & T>) => ReturnEl) & {
|
|
63
|
-
Text: typeof BaseTrigger.Text
|
|
64
|
-
Addon: typeof BaseTrigger.Addon
|
|
63
|
+
Text: typeof BaseTrigger.Text;
|
|
64
|
+
Addon: typeof BaseTrigger.Addon;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
declare const LinkTrigger: (<T>(props: CProps<ILinkTriggerProps & T>) => ReturnEl) & {
|
|
68
|
-
Text: typeof BaseTrigger.Text
|
|
69
|
-
Addon: typeof BaseTrigger.Addon
|
|
68
|
+
Text: typeof BaseTrigger.Text;
|
|
69
|
+
Addon: typeof BaseTrigger.Addon;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
declare const FilterTrigger: (<T>(props: CProps<ILinkTriggerProps & T>) => ReturnEl) & {
|
|
73
|
-
Text: typeof BaseTrigger.Text
|
|
74
|
-
Addon: typeof BaseTrigger.Addon
|
|
75
|
-
Counter: <T>(
|
|
73
|
+
Text: typeof BaseTrigger.Text;
|
|
74
|
+
Addon: typeof BaseTrigger.Addon;
|
|
75
|
+
Counter: <T>(
|
|
76
|
+
props: ComponentProps<typeof BaseTrigger.Addon> & ComponentProps<typeof Dot> & T,
|
|
77
|
+
) => ReturnEl;
|
|
76
78
|
};
|
|
77
79
|
|
|
78
80
|
export default BaseTrigger;
|
|
79
|
-
export {
|
|
80
|
-
ButtonTrigger,
|
|
81
|
-
LinkTrigger,
|
|
82
|
-
FilterTrigger,
|
|
83
|
-
};
|
|
81
|
+
export { ButtonTrigger, LinkTrigger, FilterTrigger };
|
package/package.json
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/base-trigger",
|
|
3
3
|
"description": "SEMRush BaseTrigger Component",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.4.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
8
|
-
"sideEffects":
|
|
9
|
-
"lib/*/BaseTrigger.js",
|
|
10
|
-
"lib/*/ButtonTrigger.js",
|
|
11
|
-
"lib/*/FilterTrigger.js",
|
|
12
|
-
"lib/*/LinkTrigger.js"
|
|
13
|
-
],
|
|
8
|
+
"sideEffects": false,
|
|
14
9
|
"author": "Roman Lysov <r.lysov@semrush.com>",
|
|
15
10
|
"license": "MIT",
|
|
16
11
|
"scripts": {
|
|
@@ -19,7 +14,7 @@
|
|
|
19
14
|
},
|
|
20
15
|
"dependencies": {
|
|
21
16
|
"@semcore/utils": "^3.15",
|
|
22
|
-
"@semcore/dot": "^
|
|
17
|
+
"@semcore/dot": "^3",
|
|
23
18
|
"@semcore/flex-box": "^4",
|
|
24
19
|
"@semcore/icon": "^2",
|
|
25
20
|
"@semcore/neighbor-location": "^2",
|
package/src/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ComponentProps } from 'react';
|
|
2
|
-
import { CProps,
|
|
3
|
-
import { IBoxProps } from '@semcore/flex-box';
|
|
2
|
+
import { CProps, ReturnEl } from '@semcore/core';
|
|
3
|
+
import { Box, IBoxProps } from '@semcore/flex-box';
|
|
4
4
|
import Dot from '@semcore/dot';
|
|
5
5
|
import { INeighborItemProps } from '@semcore/neighbor-location';
|
|
6
6
|
import { IKeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
|
|
@@ -55,29 +55,27 @@ export interface IFilterTriggerProps extends IBaseTriggerProps {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
declare const BaseTrigger: (<T>(props: CProps<IBaseTriggerProps & T>) => ReturnEl) & {
|
|
58
|
-
Text: typeof Box
|
|
59
|
-
Addon: typeof Box
|
|
58
|
+
Text: typeof Box;
|
|
59
|
+
Addon: typeof Box;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
declare const ButtonTrigger: (<T>(props: CProps<IButtonTriggerProps & T>) => ReturnEl) & {
|
|
63
|
-
Text: typeof BaseTrigger.Text
|
|
64
|
-
Addon: typeof BaseTrigger.Addon
|
|
63
|
+
Text: typeof BaseTrigger.Text;
|
|
64
|
+
Addon: typeof BaseTrigger.Addon;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
declare const LinkTrigger: (<T>(props: CProps<ILinkTriggerProps & T>) => ReturnEl) & {
|
|
68
|
-
Text: typeof BaseTrigger.Text
|
|
69
|
-
Addon: typeof BaseTrigger.Addon
|
|
68
|
+
Text: typeof BaseTrigger.Text;
|
|
69
|
+
Addon: typeof BaseTrigger.Addon;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
declare const FilterTrigger: (<T>(props: CProps<ILinkTriggerProps & T>) => ReturnEl) & {
|
|
73
|
-
Text: typeof BaseTrigger.Text
|
|
74
|
-
Addon: typeof BaseTrigger.Addon
|
|
75
|
-
Counter: <T>(
|
|
73
|
+
Text: typeof BaseTrigger.Text;
|
|
74
|
+
Addon: typeof BaseTrigger.Addon;
|
|
75
|
+
Counter: <T>(
|
|
76
|
+
props: ComponentProps<typeof BaseTrigger.Addon> & ComponentProps<typeof Dot> & T,
|
|
77
|
+
) => ReturnEl;
|
|
76
78
|
};
|
|
77
79
|
|
|
78
80
|
export default BaseTrigger;
|
|
79
|
-
export {
|
|
80
|
-
ButtonTrigger,
|
|
81
|
-
LinkTrigger,
|
|
82
|
-
FilterTrigger,
|
|
83
|
-
};
|
|
81
|
+
export { ButtonTrigger, LinkTrigger, FilterTrigger };
|