microboard-ui-temp 0.1.24 → 0.1.26
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 +7 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -256023,9 +256023,7 @@ registerHotkey({
|
|
|
256023
256023
|
if (!cards) {
|
|
256024
256024
|
return;
|
|
256025
256025
|
}
|
|
256026
|
-
cards.
|
|
256027
|
-
card.toggleIsOpen();
|
|
256028
|
-
});
|
|
256026
|
+
cards[0].toggleIsOpen(cards);
|
|
256029
256027
|
}
|
|
256030
256028
|
}
|
|
256031
256029
|
});
|
|
@@ -257830,7 +257828,8 @@ function checkHotkeys(hotkeyMap, event, board) {
|
|
|
257830
257828
|
return false;
|
|
257831
257829
|
}
|
|
257832
257830
|
function getHotkeyLabel(hotkey) {
|
|
257833
|
-
const
|
|
257831
|
+
const hotkeys2 = { ...hotkeys_default, ...hotkeyNames };
|
|
257832
|
+
const hotkeyLabel = hotkeys2[hotkey].label;
|
|
257834
257833
|
switch (conf.FORCE_HOTKEYS || "auto") {
|
|
257835
257834
|
case "windows":
|
|
257836
257835
|
return hotkeyLabel.windows;
|
|
@@ -355578,7 +355577,8 @@ function FlipCard({ rounded = "none" }) {
|
|
|
355578
355577
|
tooltipPosition: "top",
|
|
355579
355578
|
onClick: handleClick,
|
|
355580
355579
|
variant: "secondary",
|
|
355581
|
-
rounded
|
|
355580
|
+
rounded,
|
|
355581
|
+
hotkey: getHotkeyLabel("flipCard")
|
|
355582
355582
|
}, /* @__PURE__ */ import_react284.default.createElement(Icon, {
|
|
355583
355583
|
iconName: "RotateCard",
|
|
355584
355584
|
width: 24,
|
|
@@ -423666,7 +423666,7 @@ var MouseOrTrackpadModal = () => {
|
|
|
423666
423666
|
}
|
|
423667
423667
|
})), /* @__PURE__ */ import_react403.default.createElement("div", {
|
|
423668
423668
|
className: MouseOrTracpadModal_module_default.cardsGrid
|
|
423669
|
-
}, getCardsArray().map((card) => /* @__PURE__ */ import_react403.default.createElement(
|
|
423669
|
+
}, getCardsArray().map((card) => /* @__PURE__ */ import_react403.default.createElement(Card5, {
|
|
423670
423670
|
key: card.iconName,
|
|
423671
423671
|
iconName: card.iconName,
|
|
423672
423672
|
text: card.text,
|
|
@@ -423675,7 +423675,7 @@ var MouseOrTrackpadModal = () => {
|
|
|
423675
423675
|
onClick: setControlMode
|
|
423676
423676
|
}, t11("common.save"))));
|
|
423677
423677
|
};
|
|
423678
|
-
var
|
|
423678
|
+
var Card5 = ({ iconName, style: style3, text: text5 }) => {
|
|
423679
423679
|
return /* @__PURE__ */ import_react403.default.createElement("div", {
|
|
423680
423680
|
className: MouseOrTracpadModal_module_default.card,
|
|
423681
423681
|
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.26",
|
|
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.5",
|
|
55
55
|
"nanoid": "^5.1.5",
|
|
56
56
|
"prop-types": "^15.8.1",
|
|
57
57
|
"react-hot-toast": "2.4.1",
|