microboard-ui-temp 0.1.24 → 0.1.25
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/dist/index.js +6 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -257830,7 +257830,8 @@ function checkHotkeys(hotkeyMap, event, board) {
|
|
|
257830
257830
|
return false;
|
|
257831
257831
|
}
|
|
257832
257832
|
function getHotkeyLabel(hotkey) {
|
|
257833
|
-
const
|
|
257833
|
+
const hotkeys2 = { ...hotkeys_default, ...hotkeyNames };
|
|
257834
|
+
const hotkeyLabel = hotkeys2[hotkey].label;
|
|
257834
257835
|
switch (conf.FORCE_HOTKEYS || "auto") {
|
|
257835
257836
|
case "windows":
|
|
257836
257837
|
return hotkeyLabel.windows;
|
|
@@ -355578,7 +355579,8 @@ function FlipCard({ rounded = "none" }) {
|
|
|
355578
355579
|
tooltipPosition: "top",
|
|
355579
355580
|
onClick: handleClick,
|
|
355580
355581
|
variant: "secondary",
|
|
355581
|
-
rounded
|
|
355582
|
+
rounded,
|
|
355583
|
+
hotkey: getHotkeyLabel("flipCard")
|
|
355582
355584
|
}, /* @__PURE__ */ import_react284.default.createElement(Icon, {
|
|
355583
355585
|
iconName: "RotateCard",
|
|
355584
355586
|
width: 24,
|
|
@@ -423666,7 +423668,7 @@ var MouseOrTrackpadModal = () => {
|
|
|
423666
423668
|
}
|
|
423667
423669
|
})), /* @__PURE__ */ import_react403.default.createElement("div", {
|
|
423668
423670
|
className: MouseOrTracpadModal_module_default.cardsGrid
|
|
423669
|
-
}, getCardsArray().map((card) => /* @__PURE__ */ import_react403.default.createElement(
|
|
423671
|
+
}, getCardsArray().map((card) => /* @__PURE__ */ import_react403.default.createElement(Card5, {
|
|
423670
423672
|
key: card.iconName,
|
|
423671
423673
|
iconName: card.iconName,
|
|
423672
423674
|
text: card.text,
|
|
@@ -423675,7 +423677,7 @@ var MouseOrTrackpadModal = () => {
|
|
|
423675
423677
|
onClick: setControlMode
|
|
423676
423678
|
}, t11("common.save"))));
|
|
423677
423679
|
};
|
|
423678
|
-
var
|
|
423680
|
+
var Card5 = ({ iconName, style: style3, text: text5 }) => {
|
|
423679
423681
|
return /* @__PURE__ */ import_react403.default.createElement("div", {
|
|
423680
423682
|
className: MouseOrTracpadModal_module_default.card,
|
|
423681
423683
|
style: style3
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
52
52
|
"js-cookie": "^3.0.5",
|
|
53
53
|
"jwt-decode": "^4.0.0",
|
|
54
|
-
"microboard-temp": "^0.5.
|
|
54
|
+
"microboard-temp": "^0.5.4",
|
|
55
55
|
"nanoid": "^5.1.5",
|
|
56
56
|
"prop-types": "^15.8.1",
|
|
57
57
|
"react-hot-toast": "2.4.1",
|