microboard-temp 0.5.3 → 0.5.4

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.
@@ -49868,7 +49868,8 @@ function checkHotkeys(hotkeyMap, event, board) {
49868
49868
  }
49869
49869
  // src/Keyboard/getHotkeyLabel.ts
49870
49870
  function getHotkeyLabel(hotkey) {
49871
- const hotkeyLabel = hotkeys_default[hotkey].label;
49871
+ const hotkeys = { ...hotkeys_default, ...hotkeyNames };
49872
+ const hotkeyLabel = hotkeys[hotkey].label;
49872
49873
  switch (conf.FORCE_HOTKEYS || "auto") {
49873
49874
  case "windows":
49874
49875
  return hotkeyLabel.windows;
package/dist/cjs/index.js CHANGED
@@ -49868,7 +49868,8 @@ function checkHotkeys(hotkeyMap, event, board) {
49868
49868
  }
49869
49869
  // src/Keyboard/getHotkeyLabel.ts
49870
49870
  function getHotkeyLabel(hotkey) {
49871
- const hotkeyLabel = hotkeys_default[hotkey].label;
49871
+ const hotkeys = { ...hotkeys_default, ...hotkeyNames };
49872
+ const hotkeyLabel = hotkeys[hotkey].label;
49872
49873
  switch (conf.FORCE_HOTKEYS || "auto") {
49873
49874
  case "windows":
49874
49875
  return hotkeyLabel.windows;
package/dist/cjs/node.js CHANGED
@@ -52341,7 +52341,8 @@ function checkHotkeys(hotkeyMap, event, board) {
52341
52341
  }
52342
52342
  // src/Keyboard/getHotkeyLabel.ts
52343
52343
  function getHotkeyLabel(hotkey) {
52344
- const hotkeyLabel = hotkeys_default[hotkey].label;
52344
+ const hotkeys = { ...hotkeys_default, ...hotkeyNames };
52345
+ const hotkeyLabel = hotkeys[hotkey].label;
52345
52346
  switch (conf.FORCE_HOTKEYS || "auto") {
52346
52347
  case "windows":
52347
52348
  return hotkeyLabel.windows;
@@ -49714,7 +49714,8 @@ function checkHotkeys(hotkeyMap, event, board) {
49714
49714
  }
49715
49715
  // src/Keyboard/getHotkeyLabel.ts
49716
49716
  function getHotkeyLabel(hotkey) {
49717
- const hotkeyLabel = hotkeys_default[hotkey].label;
49717
+ const hotkeys = { ...hotkeys_default, ...hotkeyNames };
49718
+ const hotkeyLabel = hotkeys[hotkey].label;
49718
49719
  switch (conf.FORCE_HOTKEYS || "auto") {
49719
49720
  case "windows":
49720
49721
  return hotkeyLabel.windows;
package/dist/esm/index.js CHANGED
@@ -49707,7 +49707,8 @@ function checkHotkeys(hotkeyMap, event, board) {
49707
49707
  }
49708
49708
  // src/Keyboard/getHotkeyLabel.ts
49709
49709
  function getHotkeyLabel(hotkey) {
49710
- const hotkeyLabel = hotkeys_default[hotkey].label;
49710
+ const hotkeys = { ...hotkeys_default, ...hotkeyNames };
49711
+ const hotkeyLabel = hotkeys[hotkey].label;
49711
49712
  switch (conf.FORCE_HOTKEYS || "auto") {
49712
49713
  case "windows":
49713
49714
  return hotkeyLabel.windows;
package/dist/esm/node.js CHANGED
@@ -52175,7 +52175,8 @@ function checkHotkeys(hotkeyMap, event, board) {
52175
52175
  }
52176
52176
  // src/Keyboard/getHotkeyLabel.ts
52177
52177
  function getHotkeyLabel(hotkey) {
52178
- const hotkeyLabel = hotkeys_default[hotkey].label;
52178
+ const hotkeys = { ...hotkeys_default, ...hotkeyNames };
52179
+ const hotkeyLabel = hotkeys[hotkey].label;
52179
52180
  switch (conf.FORCE_HOTKEYS || "auto") {
52180
52181
  case "windows":
52181
52182
  return hotkeyLabel.windows;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",