@excalidraw/excalidraw 0.17.1-1d71f84 → 0.17.1-3e334a6

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.
@@ -560,6 +560,6 @@
560
560
  "noMatch": "No matching commands..."
561
561
  },
562
562
  "itemNotAvailable": "Command is not available...",
563
- "shortcutHint": "For Command palette, use {{shortcutOne}} or {{shortcutTwo}}"
563
+ "shortcutHint": "For Command palette, use {{shortcut}}"
564
564
  }
565
565
  }
package/dist/dev/index.js CHANGED
@@ -13441,7 +13441,7 @@ init_define_import_meta_env();
13441
13441
 
13442
13442
  // i18n.ts
13443
13443
  init_define_import_meta_env();
13444
- import fallbackLangData from "./en-II4GK66F.json";
13444
+ import fallbackLangData from "./en-N2RZZLK5.json";
13445
13445
  import percentages from "./percentages-UCQDHIQF.json";
13446
13446
 
13447
13447
  // jotai.ts
@@ -13465,7 +13465,7 @@ var globImport_locales_json = __glob({
13465
13465
  "./locales/da-DK.json": () => import("./da-DK-WBEQB3CJ.json"),
13466
13466
  "./locales/de-DE.json": () => import("./de-DE-VEIMCP7R.json"),
13467
13467
  "./locales/el-GR.json": () => import("./el-GR-TKRKG5GQ.json"),
13468
- "./locales/en.json": () => import("./en-II4GK66F.json"),
13468
+ "./locales/en.json": () => import("./en-N2RZZLK5.json"),
13469
13469
  "./locales/es-ES.json": () => import("./es-ES-TOLWEZNW.json"),
13470
13470
  "./locales/eu-ES.json": () => import("./eu-ES-7CDRJQWJ.json"),
13471
13471
  "./locales/fa-IR.json": () => import("./fa-IR-527E2XGU.json"),
@@ -26109,8 +26109,8 @@ var shortcutMap = {
26109
26109
  clearCanvas: [getShortcutKey("CtrlOrCmd+Delete")],
26110
26110
  imageExport: [getShortcutKey("CtrlOrCmd+Shift+E")],
26111
26111
  commandPalette: [
26112
- getShortcutKey("CtrlOrCmd+Shift+P"),
26113
- getShortcutKey("CtrlOrCmd+/")
26112
+ getShortcutKey("CtrlOrCmd+/"),
26113
+ getShortcutKey("CtrlOrCmd+Shift+P")
26114
26114
  ],
26115
26115
  cut: [getShortcutKey("CtrlOrCmd+X")],
26116
26116
  copy: [getShortcutKey("CtrlOrCmd+C")],
@@ -29637,7 +29637,7 @@ var HelpDialog = ({ onClose }) => {
29637
29637
  Shortcut,
29638
29638
  {
29639
29639
  label: t("commandPalette.title"),
29640
- shortcuts: [
29640
+ shortcuts: isFirefox ? [getShortcutFromShortcutName("commandPalette")] : [
29641
29641
  getShortcutFromShortcutName("commandPalette"),
29642
29642
  getShortcutFromShortcutName("commandPalette", 1)
29643
29643
  ]
@@ -39083,8 +39083,7 @@ var App = class _App extends React38.Component {
39083
39083
  if (event[KEYS.CTRL_OR_CMD] && event.key === KEYS.P && !event.shiftKey && !event.altKey) {
39084
39084
  this.setToast({
39085
39085
  message: t("commandPalette.shortcutHint", {
39086
- shortcutOne: getShortcutFromShortcutName("commandPalette"),
39087
- shortcutTwo: getShortcutFromShortcutName("commandPalette", 1)
39086
+ shortcut: getShortcutFromShortcutName("commandPalette")
39088
39087
  })
39089
39088
  });
39090
39089
  event.preventDefault();