@lobehub/ui 1.169.0 → 1.169.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/es/Hotkey/index.js +1 -1
- package/es/Hotkey/type.d.ts +2 -0
- package/es/Hotkey/type.js +4 -0
- package/es/HotkeyInput/index.js +1 -1
- package/package.json +1 -1
package/es/Hotkey/index.js
CHANGED
|
@@ -91,7 +91,7 @@ var mappingKey = function mappingKey(isAppleDevice) {
|
|
|
91
91
|
icon: ArrowRightToLineIcon
|
|
92
92
|
}) : 'Tab'), KeyMapEnum.Up, /*#__PURE__*/_jsx(Icon, {
|
|
93
93
|
icon: ArrowUpIcon
|
|
94
|
-
})), KeyMapEnum.Comma, ','), KeyMapEnum.Period, '.'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, KeyMapEnum.Slash, '
|
|
94
|
+
})), KeyMapEnum.Comma, ','), KeyMapEnum.Period, '.'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, KeyMapEnum.Slash, '?'), KeyMapEnum.Semicolon, ';'), KeyMapEnum.Quote, "'"), KeyMapEnum.Backquote, '`'), KeyMapEnum.Backslash, '\\'), KeyMapEnum.BracketLeft, '['), KeyMapEnum.BracketRight, ']'), KeyMapEnum.Minus, '-'), KeyMapEnum.Equal, '+');
|
|
95
95
|
};
|
|
96
96
|
var Hotkey = /*#__PURE__*/memo(function (_ref2) {
|
|
97
97
|
var _ref2$variant = _ref2.variant,
|
package/es/Hotkey/type.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export declare const KeyMapEnum: {
|
|
|
19
19
|
readonly Minus: "minus";
|
|
20
20
|
readonly Mod: "mod";
|
|
21
21
|
readonly Period: "period";
|
|
22
|
+
readonly Plus: "equal";
|
|
23
|
+
readonly QuestionMark: "slash";
|
|
22
24
|
readonly Quote: "quote";
|
|
23
25
|
readonly Right: "right";
|
|
24
26
|
readonly RightClick: "right-click";
|
package/es/Hotkey/type.js
CHANGED
package/es/HotkeyInput/index.js
CHANGED
|
@@ -263,7 +263,7 @@ var HotkeyInput = /*#__PURE__*/memo(function (_ref) {
|
|
|
263
263
|
style: {
|
|
264
264
|
pointerEvents: 'none'
|
|
265
265
|
}
|
|
266
|
-
}), allowReset && hotkeyValue && hotkeyValue !== resetValue && !disabled && /*#__PURE__*/_jsx(ActionIcon, {
|
|
266
|
+
}), !isFocused && allowReset && hotkeyValue && hotkeyValue !== resetValue && !disabled && /*#__PURE__*/_jsx(ActionIcon, {
|
|
267
267
|
active: true,
|
|
268
268
|
icon: Undo2Icon,
|
|
269
269
|
onClick: handleReset,
|