@pairdraw/vue 0.21.1 → 0.22.0

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.
Files changed (156) hide show
  1. package/dist/canvas/index.d.ts +2 -1
  2. package/dist/canvas/index.js +2 -1
  3. package/dist/canvas/pointer/drag-move.js +2 -2
  4. package/dist/canvas/pointer/drag-move.js.map +1 -1
  5. package/dist/canvas/surface/color-space.d.ts.map +1 -1
  6. package/dist/canvas/surface/color-space.js +3 -19
  7. package/dist/canvas/surface/color-space.js.map +1 -1
  8. package/dist/canvas/surface/kit-loader.d.ts +10 -0
  9. package/dist/canvas/surface/kit-loader.d.ts.map +1 -0
  10. package/dist/canvas/surface/kit-loader.js +11 -2
  11. package/dist/canvas/surface/kit-loader.js.map +1 -1
  12. package/dist/canvas/tools/registry.js +1 -0
  13. package/dist/canvas/tools/registry.js.map +1 -1
  14. package/dist/canvas/useCanvasInput.d.ts +420 -0
  15. package/dist/controls/layout/helpers.js +28 -9
  16. package/dist/controls/layout/helpers.js.map +1 -1
  17. package/dist/controls/layout/use.d.ts +2 -0
  18. package/dist/controls/layout/use.d.ts.map +1 -1
  19. package/dist/controls/layout/use.js +3 -1
  20. package/dist/controls/layout/use.js.map +1 -1
  21. package/dist/controls/node-props/helpers.d.ts.map +1 -1
  22. package/dist/controls/node-props/helpers.js +1 -1
  23. package/dist/controls/node-props/helpers.js.map +1 -1
  24. package/dist/controls/number-variable-binding/index.d.ts +2 -2
  25. package/dist/controls/number-variable-binding/index.js +2 -2
  26. package/dist/controls/number-variable-binding/use.d.ts +7 -2
  27. package/dist/controls/number-variable-binding/use.d.ts.map +1 -1
  28. package/dist/controls/number-variable-binding/use.js +9 -1
  29. package/dist/controls/number-variable-binding/use.js.map +1 -1
  30. package/dist/controls/position/use.d.ts +1 -1
  31. package/dist/controls/typography/arrivals.js +35 -0
  32. package/dist/controls/typography/arrivals.js.map +1 -0
  33. package/dist/controls/typography/axes.d.ts.map +1 -1
  34. package/dist/controls/typography/axes.js +3 -0
  35. package/dist/controls/typography/axes.js.map +1 -1
  36. package/dist/controls/typography/faces.js +4 -15
  37. package/dist/controls/typography/faces.js.map +1 -1
  38. package/dist/controls/typography/features.d.ts.map +1 -1
  39. package/dist/controls/typography/features.js +3 -17
  40. package/dist/controls/typography/features.js.map +1 -1
  41. package/dist/editor/commands/actions.d.ts +10 -0
  42. package/dist/editor/commands/actions.d.ts.map +1 -0
  43. package/dist/editor/commands/actions.js +9 -1
  44. package/dist/editor/commands/actions.js.map +1 -1
  45. package/dist/editor/commands/index.d.ts +3 -1
  46. package/dist/editor/commands/index.js +3 -1
  47. package/dist/editor/commands/refusals.d.ts +18 -0
  48. package/dist/editor/commands/refusals.d.ts.map +1 -0
  49. package/dist/editor/commands/refusals.js +16 -0
  50. package/dist/editor/commands/refusals.js.map +1 -0
  51. package/dist/editor/commands/registry.d.ts +4 -1
  52. package/dist/editor/commands/registry.d.ts.map +1 -1
  53. package/dist/editor/commands/registry.js +2 -1
  54. package/dist/editor/commands/registry.js.map +1 -1
  55. package/dist/editor/commands/selection.js +11 -0
  56. package/dist/editor/commands/selection.js.map +1 -1
  57. package/dist/editor/commands/types.d.ts +1 -1
  58. package/dist/editor/commands/types.d.ts.map +1 -1
  59. package/dist/editor/selection-capabilities/use.d.ts +2 -0
  60. package/dist/editor/selection-capabilities/use.d.ts.map +1 -1
  61. package/dist/editor/selection-capabilities/use.js +38 -11
  62. package/dist/editor/selection-capabilities/use.js.map +1 -1
  63. package/dist/editor/selection-state/use.js +1 -5
  64. package/dist/editor/selection-state/use.js.map +1 -1
  65. package/dist/editor/tool-cursor/index.d.ts.map +1 -1
  66. package/dist/editor/tool-cursor/index.js +1 -0
  67. package/dist/editor/tool-cursor/index.js.map +1 -1
  68. package/dist/i18n/locales/de/ai.json.js +4 -11
  69. package/dist/i18n/locales/de/commands.json.js +4 -2
  70. package/dist/i18n/locales/de/files.json.js +21 -1
  71. package/dist/i18n/locales/de/menu.json.js +2 -0
  72. package/dist/i18n/locales/de/panels.json.js +77 -2
  73. package/dist/i18n/locales/de/tools.json.js +1 -0
  74. package/dist/i18n/locales/es/ai.json.js +4 -11
  75. package/dist/i18n/locales/es/commands.json.js +4 -2
  76. package/dist/i18n/locales/es/files.json.js +21 -1
  77. package/dist/i18n/locales/es/menu.json.js +2 -0
  78. package/dist/i18n/locales/es/panels.json.js +77 -2
  79. package/dist/i18n/locales/es/tools.json.js +1 -0
  80. package/dist/i18n/locales/fr/ai.json.js +4 -11
  81. package/dist/i18n/locales/fr/commands.json.js +4 -2
  82. package/dist/i18n/locales/fr/files.json.js +21 -1
  83. package/dist/i18n/locales/fr/menu.json.js +2 -0
  84. package/dist/i18n/locales/fr/panels.json.js +77 -2
  85. package/dist/i18n/locales/fr/tools.json.js +1 -0
  86. package/dist/i18n/locales/id/ai.json.js +4 -11
  87. package/dist/i18n/locales/id/commands.json.js +4 -2
  88. package/dist/i18n/locales/id/files.json.js +21 -1
  89. package/dist/i18n/locales/id/menu.json.js +2 -0
  90. package/dist/i18n/locales/id/panels.json.js +77 -2
  91. package/dist/i18n/locales/id/tools.json.js +1 -0
  92. package/dist/i18n/locales/it/ai.json.js +4 -11
  93. package/dist/i18n/locales/it/commands.json.js +4 -2
  94. package/dist/i18n/locales/it/files.json.js +21 -1
  95. package/dist/i18n/locales/it/menu.json.js +2 -0
  96. package/dist/i18n/locales/it/panels.json.js +77 -2
  97. package/dist/i18n/locales/it/tools.json.js +1 -0
  98. package/dist/i18n/locales/ja/ai.json.js +4 -11
  99. package/dist/i18n/locales/ja/commands.json.js +4 -2
  100. package/dist/i18n/locales/ja/files.json.js +21 -1
  101. package/dist/i18n/locales/ja/menu.json.js +2 -0
  102. package/dist/i18n/locales/ja/panels.json.js +77 -2
  103. package/dist/i18n/locales/ja/tools.json.js +1 -0
  104. package/dist/i18n/locales/pl/ai.json.js +4 -11
  105. package/dist/i18n/locales/pl/commands.json.js +4 -2
  106. package/dist/i18n/locales/pl/files.json.js +21 -1
  107. package/dist/i18n/locales/pl/menu.json.js +2 -0
  108. package/dist/i18n/locales/pl/panels.json.js +77 -2
  109. package/dist/i18n/locales/pl/tools.json.js +1 -0
  110. package/dist/i18n/locales/ru/ai.json.js +4 -11
  111. package/dist/i18n/locales/ru/commands.json.js +4 -2
  112. package/dist/i18n/locales/ru/files.json.js +21 -1
  113. package/dist/i18n/locales/ru/menu.json.js +2 -0
  114. package/dist/i18n/locales/ru/panels.json.js +77 -2
  115. package/dist/i18n/locales/ru/tools.json.js +1 -0
  116. package/dist/i18n/locales/zh-cn/ai.json.js +4 -11
  117. package/dist/i18n/locales/zh-cn/commands.json.js +4 -2
  118. package/dist/i18n/locales/zh-cn/files.json.js +21 -1
  119. package/dist/i18n/locales/zh-cn/menu.json.js +2 -0
  120. package/dist/i18n/locales/zh-cn/panels.json.js +77 -2
  121. package/dist/i18n/locales/zh-cn/tools.json.js +1 -0
  122. package/dist/i18n/messages/ai.d.ts +10 -11
  123. package/dist/i18n/messages/ai.js +4 -11
  124. package/dist/i18n/messages/ai.js.map +1 -1
  125. package/dist/i18n/messages/commands.d.ts +3 -1
  126. package/dist/i18n/messages/commands.d.ts.map +1 -1
  127. package/dist/i18n/messages/commands.js +3 -1
  128. package/dist/i18n/messages/commands.js.map +1 -1
  129. package/dist/i18n/messages/files.d.ts +34 -0
  130. package/dist/i18n/messages/files.d.ts.map +1 -1
  131. package/dist/i18n/messages/files.js +20 -0
  132. package/dist/i18n/messages/files.js.map +1 -1
  133. package/dist/i18n/messages/menu.d.ts +2 -0
  134. package/dist/i18n/messages/menu.d.ts.map +1 -1
  135. package/dist/i18n/messages/menu.js +2 -0
  136. package/dist/i18n/messages/menu.js.map +1 -1
  137. package/dist/i18n/messages/panels.d.ts +77 -0
  138. package/dist/i18n/messages/panels.d.ts.map +1 -1
  139. package/dist/i18n/messages/panels.js +75 -0
  140. package/dist/i18n/messages/panels.js.map +1 -1
  141. package/dist/i18n/messages/tools.d.ts +1 -0
  142. package/dist/i18n/messages/tools.d.ts.map +1 -1
  143. package/dist/i18n/messages/tools.js +1 -0
  144. package/dist/i18n/messages/tools.js.map +1 -1
  145. package/dist/i18n/messages.d.ts +127 -12
  146. package/dist/i18n/useI18n.d.ts +508 -48
  147. package/dist/i18n/useI18n.d.ts.map +1 -1
  148. package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +1 -1
  149. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.d.ts.map +1 -1
  150. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.js +2 -0
  151. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.js.map +1 -1
  152. package/dist/shared/input/resize.js +28 -12
  153. package/dist/shared/input/resize.js.map +1 -1
  154. package/dist/shared/input/types.js +1 -0
  155. package/dist/shared/input/types.js.map +1 -1
  156. package/package.json +4 -4
@@ -13,7 +13,17 @@ const filesMessageDefaults = {
13
13
  clipboardImagesUnavailableWeb: params("Pasted design includes {count} images that cannot be loaded in the web app. Use the desktop app to include them."),
14
14
  clipboardImageFetchFailed: "Failed to fetch 1 image from Figma. Check that the source file is accessible and try again.",
15
15
  clipboardImagesFetchFailed: params("Failed to fetch {count} images from Figma. Check that the source file is accessible and try again."),
16
+ clipboardPatternSourceMissing: "Pasted design includes a pattern fill whose source layer is not in this file, so it draws its colour instead; copy the design together with the layer its pattern uses to keep it.",
17
+ clipboardPatternSourcesMissing: params("Pasted design includes {count} pattern fills whose source layers are not in this file, so they draw their colour instead; copy the design together with the layers their patterns use to keep them."),
16
18
  mermaidPasteFailed: params("Could not read the Mermaid diagram. {error}"),
19
+ codePasteUnreadable: "This text is not code Pairdraw can read as layers.",
20
+ codePasteTooLarge: "This paste is too large to read as layers. Paste a smaller part of it.",
21
+ codePasteLayers: params("Pasted {count} layers"),
22
+ codePasteComponents: params("{count} components as frames"),
23
+ codePastePlaceholders: params("{count} placeholders"),
24
+ codePasteDropped: params("{count} dropped"),
25
+ codePasteTokens: params("{count} tokens bound"),
26
+ codePasteImages: params("{count} images as placeholders"),
17
27
  webPasteFailed: params("Could not paste the web content. {error}"),
18
28
  webCaptureUnreadable: "The copied web capture could not be read. Capture the page again.",
19
29
  webCaptureNewer: "The copied web capture is from a newer capture extension. Update Pairdraw to paste it.",
@@ -71,6 +81,16 @@ const filesMessageDefaults = {
71
81
  loadingDesignSystems: "Loading design systems…",
72
82
  saveAsPrompt: "Save as:",
73
83
  preparingDocument: "Preparing document",
84
+ loading: "Loading…",
85
+ preparationReading: "Reading document",
86
+ preparationDecoding: "Decoding Figma document",
87
+ preparationMaterializing: "Preparing layers",
88
+ preparationPopulatingPage: "Preparing page",
89
+ preparationResolvingFonts: "Resolving fonts",
90
+ preparationResolvingFallbacks: "Finalizing typography",
91
+ preparationLayout: "Computing layout",
92
+ preparationDrawingShaders: "Drawing shaders",
93
+ preparationPreparingRender: "Preparing canvas",
74
94
  browserFileAPINotSupported: "Your browser doesn't support the local file API. Files will be downloaded instead of saved in place.",
75
95
  fileChangedOnDisk: params("“{name}” changed on disk"),
76
96
  fileChangedOnDiskDescription: "Another app changed this file while you have unsaved edits. Reload to open the file’s version and discard your edits, or ignore the change and keep editing. Saving replaces the file with your version.",
@@ -1 +1 @@
1
- {"version":3,"file":"files.js","names":[],"sources":["../../../src/i18n/messages/files.ts"],"sourcesContent":["import { count, params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const filesMessageDefaults = {\n newTab: 'New tab',\n home: 'Home',\n closeTab: params('Close {name}'),\n unsavedChanges: 'Unsaved changes',\n saveBeforeClosing: params('Save changes to “{name}”?'),\n saveBeforeClosingDescription: 'Your changes will be discarded if you close without saving.',\n discard: 'Don’t Save',\n clipboardImageUnavailableWeb:\n 'Pasted design includes 1 image that cannot be loaded in the web app. Use the desktop app to include it.',\n clipboardImagesUnavailableWeb: params(\n 'Pasted design includes {count} images that cannot be loaded in the web app. Use the desktop app to include them.'\n ),\n clipboardImageFetchFailed:\n 'Failed to fetch 1 image from Figma. Check that the source file is accessible and try again.',\n clipboardImagesFetchFailed: params(\n 'Failed to fetch {count} images from Figma. Check that the source file is accessible and try again.'\n ),\n mermaidPasteFailed: params('Could not read the Mermaid diagram. {error}'),\n webPasteFailed: params('Could not paste the web content. {error}'),\n webCaptureUnreadable: 'The copied web capture could not be read. Capture the page again.',\n webCaptureNewer:\n 'The copied web capture is from a newer capture extension. Update Pairdraw to paste it.',\n webCaptureTruncated: 'The page was too large to capture whole, so part of it was left out.',\n recentFiles: 'Recent files',\n recentFilesDescription: 'Continue working on a design or start a new one.',\n noRecentFiles: 'No recent files yet',\n noRecentFilesDescription: 'Files you open in the desktop app will appear here.',\n searchFiles: 'Search files…',\n searchRecentAndStorageFiles: 'Search recent and storage files…',\n newDesign: 'New design',\n newFile: 'New file',\n createDesign: 'Design',\n createBoard: 'Board',\n createIn: params('Creates it in {place}'),\n noMatchingFiles: params('No files match “{query}”.'),\n documentActions: params('Actions for {name}'),\n deleteDocument: 'Delete',\n deleteDocumentConfirmation: params('Delete “{name}”?'),\n deleteDocumentDescription:\n 'The document is deleted for everyone who can open it. This can’t be undone.',\n deleteDocumentFailed: params('Couldn’t delete “{name}”. Try again.'),\n deleteDocumentsConfirmation: count({\n one: 'Delete {count} document?',\n many: 'Delete {count} documents?'\n }),\n deleteDocumentsDescription:\n 'The documents are deleted for everyone who can open them. This can’t be undone.',\n sortFiles: params('Sort by {order}'),\n sortByName: 'Name',\n sortByLastUsed: 'Last used',\n sortByCreated: 'Created',\n selectDocument: 'Select',\n deselectDocument: 'Deselect',\n documentSelected: 'Selected',\n selectAllDocuments: 'Select all',\n clearDocumentSelection: 'Clear selection',\n selectedDocuments: count({ one: '{count} selected', many: '{count} selected' }),\n selectionActions: 'Selected files',\n openSelectedDocuments: 'Open',\n removeFromRecents: 'Remove from Recents',\n saveDocumentAs: 'Save As…',\n savedDocumentAs: params('Saved a copy as “{name}”.'),\n saveDocumentAsFailed: params('Couldn’t save a copy of “{name}”. {error}'),\n designSystems: 'Design systems',\n designSystemsDescription: 'Start a new design with the components of a published library.',\n noDesignSystems: 'No design systems yet',\n noDesignSystemsDescription:\n 'Publish a library from a document’s Assets panel to start new designs from it here.',\n designSystemComponents: count({ one: '{count} component', many: '{count} components' }),\n newDesignWith: params('New design with {name}'),\n loadingDesignSystems: 'Loading design systems…',\n saveAsPrompt: 'Save as:',\n preparingDocument: 'Preparing document',\n browserFileAPINotSupported:\n \"Your browser doesn't support the local file API. Files will be downloaded instead of saved in place.\",\n fileChangedOnDisk: params('“{name}” changed on disk'),\n fileChangedOnDiskDescription:\n 'Another app changed this file while you have unsaved edits. Reload to open the file’s version and discard your edits, or ignore the change and keep editing. Saving replaces the file with your version.',\n reloadFromDisk: 'Reload',\n ignoreDiskChange: 'Ignore',\n pasteImportHeading: 'Import variables and styles?',\n pasteImportDescription:\n 'These layers use variables or styles from another document. Import them to keep the layers linked to them, or paste the layers as they look.',\n pasteImportConflicts: 'Already in this document',\n pasteImportConflictsHint:\n 'Use the ones this document has, or add the copied ones under a new name.',\n pasteImportUseExisting: 'Use existing',\n pasteImportAddRenamed: 'Add renamed',\n pasteImportVariables: count({ one: '{count} variable', many: '{count} variables' }),\n pasteImportFillStyle: 'Color style',\n pasteImportTextStyle: 'Text style',\n pasteImportEffectStyle: 'Effect style',\n pasteImportGridStyle: 'Grid style',\n pasteImportChoiceLabel: params('{name}: use existing or add renamed'),\n pasteImportAsIs: 'Paste as is',\n pasteImportConfirm: 'Yes, import'\n} as const\n\nexport const filesMessages = i18n('files', filesMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,uBAAuB;CAClC,QAAQ;CACR,MAAM;CACN,UAAU,OAAO,cAAc;CAC/B,gBAAgB;CAChB,mBAAmB,OAAO,2BAA2B;CACrD,8BAA8B;CAC9B,SAAS;CACT,8BACE;CACF,+BAA+B,OAC7B,kHACF;CACA,2BACE;CACF,4BAA4B,OAC1B,oGACF;CACA,oBAAoB,OAAO,6CAA6C;CACxE,gBAAgB,OAAO,0CAA0C;CACjE,sBAAsB;C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,SAAS,oBAAoB"}
1
+ {"version":3,"file":"files.js","names":[],"sources":["../../../src/i18n/messages/files.ts"],"sourcesContent":["import { count, params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const filesMessageDefaults = {\n newTab: 'New tab',\n home: 'Home',\n closeTab: params('Close {name}'),\n unsavedChanges: 'Unsaved changes',\n saveBeforeClosing: params('Save changes to “{name}”?'),\n saveBeforeClosingDescription: 'Your changes will be discarded if you close without saving.',\n discard: 'Don’t Save',\n clipboardImageUnavailableWeb:\n 'Pasted design includes 1 image that cannot be loaded in the web app. Use the desktop app to include it.',\n clipboardImagesUnavailableWeb: params(\n 'Pasted design includes {count} images that cannot be loaded in the web app. Use the desktop app to include them.'\n ),\n clipboardImageFetchFailed:\n 'Failed to fetch 1 image from Figma. Check that the source file is accessible and try again.',\n clipboardImagesFetchFailed: params(\n 'Failed to fetch {count} images from Figma. Check that the source file is accessible and try again.'\n ),\n clipboardPatternSourceMissing:\n 'Pasted design includes a pattern fill whose source layer is not in this file, so it draws its colour instead; copy the design together with the layer its pattern uses to keep it.',\n clipboardPatternSourcesMissing: params(\n 'Pasted design includes {count} pattern fills whose source layers are not in this file, so they draw their colour instead; copy the design together with the layers their patterns use to keep them.'\n ),\n mermaidPasteFailed: params('Could not read the Mermaid diagram. {error}'),\n codePasteUnreadable: 'This text is not code Pairdraw can read as layers.',\n codePasteTooLarge: 'This paste is too large to read as layers. Paste a smaller part of it.',\n codePasteLayers: params('Pasted {count} layers'),\n codePasteComponents: params('{count} components as frames'),\n codePastePlaceholders: params('{count} placeholders'),\n codePasteDropped: params('{count} dropped'),\n codePasteTokens: params('{count} tokens bound'),\n codePasteImages: params('{count} images as placeholders'),\n webPasteFailed: params('Could not paste the web content. {error}'),\n webCaptureUnreadable: 'The copied web capture could not be read. Capture the page again.',\n webCaptureNewer:\n 'The copied web capture is from a newer capture extension. Update Pairdraw to paste it.',\n webCaptureTruncated: 'The page was too large to capture whole, so part of it was left out.',\n recentFiles: 'Recent files',\n recentFilesDescription: 'Continue working on a design or start a new one.',\n noRecentFiles: 'No recent files yet',\n noRecentFilesDescription: 'Files you open in the desktop app will appear here.',\n searchFiles: 'Search files…',\n searchRecentAndStorageFiles: 'Search recent and storage files…',\n newDesign: 'New design',\n newFile: 'New file',\n createDesign: 'Design',\n createBoard: 'Board',\n createIn: params('Creates it in {place}'),\n noMatchingFiles: params('No files match “{query}”.'),\n documentActions: params('Actions for {name}'),\n deleteDocument: 'Delete',\n deleteDocumentConfirmation: params('Delete “{name}”?'),\n deleteDocumentDescription:\n 'The document is deleted for everyone who can open it. This can’t be undone.',\n deleteDocumentFailed: params('Couldn’t delete “{name}”. Try again.'),\n deleteDocumentsConfirmation: count({\n one: 'Delete {count} document?',\n many: 'Delete {count} documents?'\n }),\n deleteDocumentsDescription:\n 'The documents are deleted for everyone who can open them. This can’t be undone.',\n sortFiles: params('Sort by {order}'),\n sortByName: 'Name',\n sortByLastUsed: 'Last used',\n sortByCreated: 'Created',\n selectDocument: 'Select',\n deselectDocument: 'Deselect',\n documentSelected: 'Selected',\n selectAllDocuments: 'Select all',\n clearDocumentSelection: 'Clear selection',\n selectedDocuments: count({ one: '{count} selected', many: '{count} selected' }),\n selectionActions: 'Selected files',\n openSelectedDocuments: 'Open',\n removeFromRecents: 'Remove from Recents',\n saveDocumentAs: 'Save As…',\n savedDocumentAs: params('Saved a copy as “{name}”.'),\n saveDocumentAsFailed: params('Couldn’t save a copy of “{name}”. {error}'),\n designSystems: 'Design systems',\n designSystemsDescription: 'Start a new design with the components of a published library.',\n noDesignSystems: 'No design systems yet',\n noDesignSystemsDescription:\n 'Publish a library from a document’s Assets panel to start new designs from it here.',\n designSystemComponents: count({ one: '{count} component', many: '{count} components' }),\n newDesignWith: params('New design with {name}'),\n loadingDesignSystems: 'Loading design systems…',\n saveAsPrompt: 'Save as:',\n preparingDocument: 'Preparing document',\n loading: 'Loading…',\n preparationReading: 'Reading document',\n preparationDecoding: 'Decoding Figma document',\n preparationMaterializing: 'Preparing layers',\n preparationPopulatingPage: 'Preparing page',\n preparationResolvingFonts: 'Resolving fonts',\n preparationResolvingFallbacks: 'Finalizing typography',\n preparationLayout: 'Computing layout',\n preparationDrawingShaders: 'Drawing shaders',\n preparationPreparingRender: 'Preparing canvas',\n browserFileAPINotSupported:\n \"Your browser doesn't support the local file API. Files will be downloaded instead of saved in place.\",\n fileChangedOnDisk: params('“{name}” changed on disk'),\n fileChangedOnDiskDescription:\n 'Another app changed this file while you have unsaved edits. Reload to open the file’s version and discard your edits, or ignore the change and keep editing. Saving replaces the file with your version.',\n reloadFromDisk: 'Reload',\n ignoreDiskChange: 'Ignore',\n pasteImportHeading: 'Import variables and styles?',\n pasteImportDescription:\n 'These layers use variables or styles from another document. Import them to keep the layers linked to them, or paste the layers as they look.',\n pasteImportConflicts: 'Already in this document',\n pasteImportConflictsHint:\n 'Use the ones this document has, or add the copied ones under a new name.',\n pasteImportUseExisting: 'Use existing',\n pasteImportAddRenamed: 'Add renamed',\n pasteImportVariables: count({ one: '{count} variable', many: '{count} variables' }),\n pasteImportFillStyle: 'Color style',\n pasteImportTextStyle: 'Text style',\n pasteImportEffectStyle: 'Effect style',\n pasteImportGridStyle: 'Grid style',\n pasteImportChoiceLabel: params('{name}: use existing or add renamed'),\n pasteImportAsIs: 'Paste as is',\n pasteImportConfirm: 'Yes, import'\n} as const\n\nexport const filesMessages = i18n('files', filesMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,uBAAuB;CAClC,QAAQ;CACR,MAAM;CACN,UAAU,OAAO,cAAc;CAC/B,gBAAgB;CAChB,mBAAmB,OAAO,2BAA2B;CACrD,8BAA8B;CAC9B,SAAS;CACT,8BACE;CACF,+BAA+B,OAC7B,kHACF;CACA,2BACE;CACF,4BAA4B,OAC1B,oGACF;CACA,+BACE;CACF,gCAAgC,OAC9B,qMACF;CACA,oBAAoB,OAAO,6CAA6C;CACxE,qBAAqB;CACrB,mBAAmB;CACnB,iBAAiB,OAAO,uBA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BAAmB,OAAO,0BAA0B;CACpD,8BACE;CACF,gBAAgB;CAChB,kBAAkB;CAClB,oBAAoB;CACpB,wBACE;CACF,sBAAsB;CACtB,0BACE;CACF,wBAAwB;CACxB,uBAAuB;CACvB,sBAAsB,MAAM;EAAE,KAAK;EAAoB,MAAM;CAAoB,CAAC;CAClF,sBAAsB;CACtB,sBAAsB;CACtB,wBAAwB;CACxB,sBAAsB;CACtB,wBAAwB,OAAO,qCAAqC;CACpE,iBAAiB;CACjB,oBAAoB;AACtB;AAEA,MAAa,gBAAgB,KAAK,SAAS,oBAAoB"}
@@ -71,6 +71,8 @@ declare const menuMessages: import("@nanostores/i18n").Messages<{
71
71
  readonly underline: "Underline";
72
72
  readonly strikethrough: "Strikethrough";
73
73
  readonly pasteHere: "Paste here";
74
+ readonly pasteAsCode: "Paste as code";
75
+ readonly pasteAsText: "Paste as text";
74
76
  readonly pasteToReplace: "Paste to replace";
75
77
  readonly replaceInInstance: "Replace inside instance";
76
78
  readonly copyProperties: "Copy properties";
@@ -1 +1 @@
1
- {"version":3,"file":"menu.d.ts","names":[],"sources":["../../../src/i18n/messages/menu.ts"],"mappings":";cAgIa,yCAAY"}
1
+ {"version":3,"file":"menu.d.ts","names":[],"sources":["../../../src/i18n/messages/menu.ts"],"mappings":";cAkIa,yCAAY"}
@@ -72,6 +72,8 @@ const menuMessageDefaults = {
72
72
  underline: "Underline",
73
73
  strikethrough: "Strikethrough",
74
74
  pasteHere: "Paste here",
75
+ pasteAsCode: "Paste as code",
76
+ pasteAsText: "Paste as text",
75
77
  pasteToReplace: "Paste to replace",
76
78
  replaceInInstance: "Replace inside instance",
77
79
  copyProperties: "Copy properties",
@@ -1 +1 @@
1
- {"version":3,"file":"menu.js","names":[],"sources":["../../../src/i18n/messages/menu.ts"],"sourcesContent":["import { i18n } from '#vue/i18n/create'\n\nexport const menuMessageDefaults = {\n file: 'File',\n edit: 'Edit',\n view: 'View',\n object: 'Object',\n arrange: 'Arrange',\n text: 'Text',\n\n new: 'New design',\n newTab: 'New tab',\n open: 'Open…',\n openTour: 'Open the Tour',\n diagnostics: 'Diagnostics…',\n save: 'Save',\n saveAs: 'Save as…',\n saveTo: 'Save to…',\n showVersionHistory: 'Show version history',\n saveToVersionHistory: 'Save to version history…',\n exportSelection: 'Export selection…',\n exportSelectionAsPNG: 'Export selection as PNG',\n exportSelectionAsSVG: 'Export selection as SVG',\n exportSelectionAsPPTX: 'Export selection as PPTX',\n exportSelectionAsDrawIO: 'Export selection as draw.io',\n exportSelectionAsFig: 'Export selection as .fig',\n autosave: 'Auto-save to local file',\n closeTab: 'Close tab',\n selectPreviousTab: 'Select previous tab',\n selectNextTab: 'Select next tab',\n\n copy: 'Copy',\n paste: 'Paste',\n\n theme: 'Theme',\n themeLight: 'Light',\n themeDark: 'Dark',\n themeAuto: 'Auto',\n profiler: 'Performance profiler',\n language: 'Language',\n settings: 'Settings…',\n variables: 'Variables…',\n insertIcon: 'Insert Icon…',\n insertScript: 'Insert Script…',\n placeImage: 'Place image…',\n exportFramesToPDF: 'Export frames to PDF…',\n exportPrototypeVideo: 'Export prototype as video…',\n /** The kind of file Place image's desktop dialog lists. */\n imageFiles: 'Images',\n rulers: 'Rulers',\n pixelGrid: 'Pixel grid',\n multiplayerCursors: 'Multiplayer cursors',\n comments: 'Comments',\n preferences: 'Preferences',\n snapToGeometry: 'Snap to geometry',\n snapToObjects: 'Snap to objects',\n snapToPixelGrid: 'Snap to pixel grid',\n\n moveToPage: 'Move to page',\n autoArrange: 'Auto arrange',\n createInstance: 'Create instance',\n hide: 'Hide',\n show: 'Show',\n lock: 'Lock',\n unlock: 'Unlock',\n cut: 'Cut',\n front: 'Front',\n back: 'Back',\n toggleUI: 'Toggle UI',\n togglePreview: 'Preview',\n present: 'Present',\n /** The field that renames the document, in place of its tab's name. */\n documentName: 'Document name',\n\n bold: 'Bold',\n italic: 'Italic',\n underline: 'Underline',\n strikethrough: 'Strikethrough',\n\n pasteHere: 'Paste here',\n pasteToReplace: 'Paste to replace',\n replaceInInstance: 'Replace inside instance',\n copyProperties: 'Copy properties',\n pasteProperties: 'Paste properties',\n renameSelection: 'Rename selection…',\n findLayers: 'Find layers…',\n goodies: 'Goodies…',\n copyPasteAs: 'Copy/Paste as',\n copyAsText: 'Copy as text',\n copyAsSVG: 'Copy as SVG',\n copyAsPNG: 'Copy as PNG',\n copyAsJSX: 'Copy as JSX',\n copyAsHTML: 'Copy as HTML',\n copyNodeId: 'Copy node ID',\n copyXPath: 'Copy XPath',\n convertToVector: 'Convert to vector',\n /** Sends the selected sticky notes' text to the document's AI chat. */\n runStickyAsPrompt: 'Run sticky as prompt',\n exploreVariations: 'Variations…',\n booleanOperations: 'Boolean operations',\n arrangeAlignLeft: 'Align left',\n arrangeAlignCenter: 'Align center',\n arrangeAlignRight: 'Align right',\n arrangeAlignTop: 'Align top',\n arrangeAlignMiddle: 'Align middle',\n arrangeAlignBottom: 'Align bottom',\n zoomIn: 'Zoom in',\n zoomOut: 'Zoom out',\n /** The magnifier tool the toolbar's Hand flyout also holds. */\n zoomTool: 'Zoom tool',\n splitRight: 'Split right',\n splitDown: 'Split down',\n closeView: 'Close view',\n viewContextMenu: 'View context menu',\n splitMenu: 'Split menu',\n previousToolbarCategory: 'Previous toolbar category',\n nextToolbarCategory: 'Next toolbar category',\n removeGuide: 'Remove guide',\n layersPanel: 'Layers panel',\n designPanel: 'Design panel',\n keyboardShortcuts: 'Keyboard shortcuts',\n removeAutoLayout: 'Remove auto layout',\n /** Opens Shader Mode on the selection's shader paint. */\n shaderMode: 'Shader Mode',\n /** Opens the link editor for the selected texts. */\n addLink: 'Add link'\n} as const\n\nexport const menuMessages = i18n('menu', menuMessageDefaults)\n"],"mappings":";;AAEA,MAAa,sBAAsB;CACjC,MAAM;CACN,MAAM;CACN,MAAM;CACN,QAAQ;CACR,SAAS;CACT,MAAM;CAEN,KAAK;CACL,QAAQ;CACR,MAAM;CACN,UAAU;CACV,aAAa;CACb,MAAM;CACN,QAAQ;CACR,QAA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eAAe,KAAK,QAAQ,mBAAmB"}
1
+ {"version":3,"file":"menu.js","names":[],"sources":["../../../src/i18n/messages/menu.ts"],"sourcesContent":["import { i18n } from '#vue/i18n/create'\n\nexport const menuMessageDefaults = {\n file: 'File',\n edit: 'Edit',\n view: 'View',\n object: 'Object',\n arrange: 'Arrange',\n text: 'Text',\n\n new: 'New design',\n newTab: 'New tab',\n open: 'Open…',\n openTour: 'Open the Tour',\n diagnostics: 'Diagnostics…',\n save: 'Save',\n saveAs: 'Save as…',\n saveTo: 'Save to…',\n showVersionHistory: 'Show version history',\n saveToVersionHistory: 'Save to version history…',\n exportSelection: 'Export selection…',\n exportSelectionAsPNG: 'Export selection as PNG',\n exportSelectionAsSVG: 'Export selection as SVG',\n exportSelectionAsPPTX: 'Export selection as PPTX',\n exportSelectionAsDrawIO: 'Export selection as draw.io',\n exportSelectionAsFig: 'Export selection as .fig',\n autosave: 'Auto-save to local file',\n closeTab: 'Close tab',\n selectPreviousTab: 'Select previous tab',\n selectNextTab: 'Select next tab',\n\n copy: 'Copy',\n paste: 'Paste',\n\n theme: 'Theme',\n themeLight: 'Light',\n themeDark: 'Dark',\n themeAuto: 'Auto',\n profiler: 'Performance profiler',\n language: 'Language',\n settings: 'Settings…',\n variables: 'Variables…',\n insertIcon: 'Insert Icon…',\n insertScript: 'Insert Script…',\n placeImage: 'Place image…',\n exportFramesToPDF: 'Export frames to PDF…',\n exportPrototypeVideo: 'Export prototype as video…',\n /** The kind of file Place image's desktop dialog lists. */\n imageFiles: 'Images',\n rulers: 'Rulers',\n pixelGrid: 'Pixel grid',\n multiplayerCursors: 'Multiplayer cursors',\n comments: 'Comments',\n preferences: 'Preferences',\n snapToGeometry: 'Snap to geometry',\n snapToObjects: 'Snap to objects',\n snapToPixelGrid: 'Snap to pixel grid',\n\n moveToPage: 'Move to page',\n autoArrange: 'Auto arrange',\n createInstance: 'Create instance',\n hide: 'Hide',\n show: 'Show',\n lock: 'Lock',\n unlock: 'Unlock',\n cut: 'Cut',\n front: 'Front',\n back: 'Back',\n toggleUI: 'Toggle UI',\n togglePreview: 'Preview',\n present: 'Present',\n /** The field that renames the document, in place of its tab's name. */\n documentName: 'Document name',\n\n bold: 'Bold',\n italic: 'Italic',\n underline: 'Underline',\n strikethrough: 'Strikethrough',\n\n pasteHere: 'Paste here',\n pasteAsCode: 'Paste as code',\n pasteAsText: 'Paste as text',\n pasteToReplace: 'Paste to replace',\n replaceInInstance: 'Replace inside instance',\n copyProperties: 'Copy properties',\n pasteProperties: 'Paste properties',\n renameSelection: 'Rename selection…',\n findLayers: 'Find layers…',\n goodies: 'Goodies…',\n copyPasteAs: 'Copy/Paste as',\n copyAsText: 'Copy as text',\n copyAsSVG: 'Copy as SVG',\n copyAsPNG: 'Copy as PNG',\n copyAsJSX: 'Copy as JSX',\n copyAsHTML: 'Copy as HTML',\n copyNodeId: 'Copy node ID',\n copyXPath: 'Copy XPath',\n convertToVector: 'Convert to vector',\n /** Sends the selected sticky notes' text to the document's AI chat. */\n runStickyAsPrompt: 'Run sticky as prompt',\n exploreVariations: 'Variations…',\n booleanOperations: 'Boolean operations',\n arrangeAlignLeft: 'Align left',\n arrangeAlignCenter: 'Align center',\n arrangeAlignRight: 'Align right',\n arrangeAlignTop: 'Align top',\n arrangeAlignMiddle: 'Align middle',\n arrangeAlignBottom: 'Align bottom',\n zoomIn: 'Zoom in',\n zoomOut: 'Zoom out',\n /** The magnifier tool the toolbar's Hand flyout also holds. */\n zoomTool: 'Zoom tool',\n splitRight: 'Split right',\n splitDown: 'Split down',\n closeView: 'Close view',\n viewContextMenu: 'View context menu',\n splitMenu: 'Split menu',\n previousToolbarCategory: 'Previous toolbar category',\n nextToolbarCategory: 'Next toolbar category',\n removeGuide: 'Remove guide',\n layersPanel: 'Layers panel',\n designPanel: 'Design panel',\n keyboardShortcuts: 'Keyboard shortcuts',\n removeAutoLayout: 'Remove auto layout',\n /** Opens Shader Mode on the selection's shader paint. */\n shaderMode: 'Shader Mode',\n /** Opens the link editor for the selected texts. */\n addLink: 'Add link'\n} as const\n\nexport const menuMessages = i18n('menu', menuMessageDefaults)\n"],"mappings":";;AAEA,MAAa,sBAAsB;CACjC,MAAM;CACN,MAAM;CACN,MAAM;CACN,QAAQ;CACR,SAAS;CACT,MAAM;CAEN,KAAK;CACL,QAAQ;CACR,MAAM;CACN,UAAU;CACV,aAAa;CACb,MAAM;CACN,QAAQ;CACR,QAAQ;CACR,oBAAoB;CACpB,sBAAsB;CACtB,iBAAiB;CACjB,sBAAsB;CACtB,sBAAsB;CACtB,uBAAuB;CACvB,yBAAyB;CACzB,sBAAsB;CACtB,UAAU;CACV,UAAU;CACV,mBAAmB;CACnB,eAAe;CAEf,MAAM;CACN,OAAO;CAEP,OAAO;CACP,YAAY;CACZ,WAAW;CACX,WAAW;CACX,UAAU;CACV,UAAU;CACV,UAAU;CACV,WAAW;CACX,YAAY;CACZ,cAAc;CACd,YAAY;CACZ,mBAAmB;CACnB,sBAAsB;;CAEtB,YAAY;CACZ,QAAQ;CACR,WAAW;CACX,oBAAoB;CACpB,UAAU;CACV,aAAa;CACb,gBAAgB;CAChB,eAAe;CACf,iBAAiB;CAEjB,YAAY;CACZ,aAAa;CACb,gBAAgB;CAChB,MAAM;CACN,MAAM;CACN,MAAM;CACN,QAAQ;CACR,KAAK;CACL,OAAO;CACP,MAAM;CACN,UAAU;CACV,eAAe;CACf,SAAS;;CAET,cAAc;CAEd,MAAM;CACN,QAAQ;CACR,WAAW;CACX,eAAe;CAEf,WAAW;CACX,aAAa;CACb,aAAa;CACb,gBAAgB;CAChB,mBAAmB;CACnB,gBAAgB;CAChB,iBAAiB;CACjB,iBAAiB;CACjB,YAAY;CACZ,SAAS;CACT,aAAa;CACb,YAAY;CACZ,WAAW;CACX,WAAW;CACX,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,WAAW;CACX,iBAAiB;;CAEjB,mBAAmB;CACnB,mBAAmB;CACnB,mBAAmB;CACnB,kBAAkB;CAClB,oBAAoB;CACpB,mBAAmB;CACnB,iBAAiB;CACjB,oBAAoB;CACpB,oBAAoB;CACpB,QAAQ;CACR,SAAS;;CAET,UAAU;CACV,YAAY;CACZ,WAAW;CACX,WAAW;CACX,iBAAiB;CACjB,WAAW;CACX,yBAAyB;CACzB,qBAAqB;CACrB,aAAa;CACb,aAAa;CACb,aAAa;CACb,mBAAmB;CACnB,kBAAkB;;CAElB,YAAY;;CAEZ,SAAS;AACX;AAEA,MAAa,eAAe,KAAK,QAAQ,mBAAmB"}
@@ -101,6 +101,7 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
101
101
  readonly duplicateVariantValues: "Duplicate variant values";
102
102
  readonly addVariantProperty: "Add variant property";
103
103
  readonly addVariant: "Add variant";
104
+ readonly combineAsVariants: "Combine as variants";
104
105
  readonly duplicateVariant: "Duplicate variant";
105
106
  readonly removeVariantProperty: "Remove variant property";
106
107
  readonly variantConflictHelp: "Each variant needs a unique combination of property values";
@@ -110,6 +111,8 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
110
111
  readonly component: "Component";
111
112
  readonly insertInstance: "Insert instance";
112
113
  readonly description: "Description";
114
+ readonly editStyle: "Edit style";
115
+ readonly styleEditScope: "Only the value shown here changes; the style's other entries are kept.";
113
116
  readonly documentation: "Documentation";
114
117
  readonly openDocs: "Open docs";
115
118
  readonly properties: "Properties";
@@ -214,6 +217,7 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
214
217
  readonly alignment: "Alignment";
215
218
  readonly appearance: "Appearance";
216
219
  readonly fill: "Fill";
220
+ readonly resetOverride: "Reset override";
217
221
  readonly stroke: "Stroke";
218
222
  readonly effects: "Effects";
219
223
  readonly mask: "Mask";
@@ -323,6 +327,12 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
323
327
  readonly variables: "Variables";
324
328
  readonly variants: "Variants";
325
329
  readonly componentProperties: "Component properties";
330
+ readonly componentDescription: "Description";
331
+ readonly componentDescriptionPlaceholder: "Describe this component";
332
+ readonly componentDocumentationLink: "Documentation link";
333
+ readonly componentDocumentationLinkPlaceholder: "https://example.com/docs";
334
+ readonly componentDocumentationInvalid: "Enter a URL that starts with http:// or https://.";
335
+ readonly componentDocumentationEmpty: "No description yet.";
326
336
  readonly slotDefault: "Default";
327
337
  readonly slotModified: "Modified";
328
338
  readonly slotItemCount: import("@nanostores/i18n").TranslationFunction<[number], string>;
@@ -451,6 +461,9 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
451
461
  readonly removePreferredInstance: "Remove from preferred";
452
462
  readonly searchStyles: "Search styles";
453
463
  readonly noStylesFound: "No styles found";
464
+ readonly createStyle: "Create style";
465
+ readonly createStyleName: "Style name";
466
+ readonly createStyleConfirm: "Create";
454
467
  readonly noComponentsFound: "No components found";
455
468
  readonly constraints: "Constraints";
456
469
  readonly horizontalConstraint: "Horizontal constraint";
@@ -473,6 +486,7 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
473
486
  readonly removeStroke: "Remove stroke";
474
487
  readonly changeStrokeColor: "Change stroke color";
475
488
  readonly changeFillColor: "Change fill color";
489
+ readonly changeShadowColor: "Change shadow color";
476
490
  readonly removeEffect: "Remove effect";
477
491
  readonly removeExport: "Remove export";
478
492
  readonly expandEffectSettings: "Expand effect settings";
@@ -539,6 +553,13 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
539
553
  readonly strokeType: "Stroke type";
540
554
  readonly strokeWeight: "Stroke weight";
541
555
  readonly noSelection: "No selection";
556
+ readonly annotations: "Annotations";
557
+ readonly annotationText: "Annotation";
558
+ readonly annotationCategory: "Category";
559
+ readonly addAnnotation: "Add annotation";
560
+ readonly removeAnnotation: "Remove annotation";
561
+ readonly annotationLocked: "Annotations on instance internals stay read-only here.";
562
+ readonly noAnnotations: "No annotations";
542
563
  readonly noLocalVariables: "No local variables";
543
564
  readonly openVariables: "Open variables";
544
565
  readonly addPage: "Add page";
@@ -558,6 +579,12 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
558
579
  readonly alignBottom: "Align bottom";
559
580
  readonly moreAlignmentActions: "More actions";
560
581
  readonly flipHorizontal: "Flip horizontal";
582
+ readonly addSizeLimit: "Add size limit";
583
+ readonly firstOnTop: "First on top";
584
+ readonly wrapAlignment: "Wrap alignment";
585
+ readonly wrapAlignAuto: "Auto";
586
+ readonly wrapAlignSpaceBetween: "Space between";
587
+ readonly absolutePosition: "Absolute position";
561
588
  readonly ignoreAutoLayout: "Ignore auto layout";
562
589
  readonly flipVertical: "Flip vertical";
563
590
  readonly rotate90: "Rotate 90°";
@@ -744,6 +771,16 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
744
771
  readonly addGridRow: "Add row";
745
772
  readonly removeGridColumn: "Remove column";
746
773
  readonly removeGridRow: "Remove row";
774
+ readonly gridPlacement: "Grid placement";
775
+ readonly gridColumnStart: "Column start";
776
+ readonly gridRowStart: "Row start";
777
+ readonly gridColumnSpan: "Column span";
778
+ readonly gridRowSpan: "Row span";
779
+ readonly gridHorizontalAlign: "Horizontal alignment";
780
+ readonly gridVerticalAlign: "Vertical alignment";
781
+ readonly alignStart: "Start";
782
+ readonly alignCenter: "Center";
783
+ readonly alignEnd: "End";
747
784
  readonly sizingFixed: "Fixed";
748
785
  readonly sizingHug: "Hug";
749
786
  readonly sizingFill: "Fill";
@@ -908,10 +945,50 @@ declare const panelMessages: import("@nanostores/i18n").Messages<{
908
945
  readonly prototypeAnimationInstant: "Instant";
909
946
  readonly prototypeAnimationDissolve: "Dissolve";
910
947
  readonly prototypeAnimationSmartAnimate: "Smart animate";
948
+ readonly prototypeVariableRefused: import("@nanostores/i18n").TranslationFunction<[{
949
+ reason: string | number;
950
+ } & object], string>;
951
+ readonly prototypeActionSetVariable: "Set variable";
952
+ readonly prototypeActionSetVariableMode: "Change mode";
953
+ readonly prototypeActionConditional: "Conditional";
954
+ readonly prototypeVariable: "Variable";
955
+ readonly prototypeVariablePlaceholder: "Choose a variable";
956
+ readonly prototypeValue: "Value";
957
+ readonly prototypeValueNumber: "Number";
958
+ readonly prototypeValueText: "Text";
959
+ readonly prototypeValueBoolean: "Boolean";
960
+ readonly prototypeValueVariable: "Variable";
961
+ readonly prototypeValueExpression: "Expression";
962
+ readonly prototypeValueColor: "Colour";
963
+ readonly prototypeValueTrue: "True";
964
+ readonly prototypeValueFalse: "False";
965
+ readonly prototypeExpressionFunction: "Operation";
966
+ readonly prototypeCollection: "Collection";
967
+ readonly prototypeCollectionPlaceholder: "Choose a collection";
968
+ readonly prototypeMode: "Mode";
969
+ readonly prototypeModePlaceholder: "Choose a mode";
970
+ readonly prototypeCondition: "Condition";
971
+ readonly prototypeIf: "If";
972
+ readonly prototypeElseIf: "Else if";
973
+ readonly prototypeElse: "Else";
974
+ readonly prototypeAddCondition: "Add condition";
975
+ readonly prototypeRemoveCondition: "Remove condition";
911
976
  readonly prototypeEasing: "Easing";
912
977
  readonly prototypeEasingEaseOut: "Ease out";
913
978
  readonly prototypeEasingEaseIn: "Ease in";
914
979
  readonly prototypeEasingEaseInAndOut: "Ease in and out";
980
+ readonly prototypeEasingEaseInBack: "Ease in back";
981
+ readonly prototypeEasingEaseOutBack: "Ease out back";
982
+ readonly prototypeEasingEaseInAndOutBack: "Ease in and out back";
983
+ readonly prototypeEasingGentle: "Gentle";
984
+ readonly prototypeEasingQuick: "Quick";
985
+ readonly prototypeEasingBouncy: "Bouncy";
986
+ readonly prototypeEasingSlow: "Slow";
987
+ readonly prototypeEasingCustomBezier: "Custom bezier";
988
+ readonly prototypeEasingCustomSpring: "Custom spring";
989
+ readonly prototypeSpringMass: "Mass";
990
+ readonly prototypeSpringStiffness: "Stiffness";
991
+ readonly prototypeSpringDamping: "Damping";
915
992
  readonly prototypeEasingLinear: "Linear";
916
993
  readonly prototypeDuration: "Duration";
917
994
  readonly prototypeNoFrames: "Add a frame to this page to link to.";
@@ -1 +1 @@
1
- {"version":3,"file":"panels.d.ts","names":[],"sources":["../../../src/i18n/messages/panels.ts"],"mappings":";cAm3Ba,0CAAa"}
1
+ {"version":3,"file":"panels.d.ts","names":[],"sources":["../../../src/i18n/messages/panels.ts"],"mappings":";cA87Ba,0CAAa"}
@@ -90,6 +90,7 @@ const panelMessageDefaults = {
90
90
  duplicateVariantValues: "Duplicate variant values",
91
91
  addVariantProperty: "Add variant property",
92
92
  addVariant: "Add variant",
93
+ combineAsVariants: "Combine as variants",
93
94
  duplicateVariant: "Duplicate variant",
94
95
  removeVariantProperty: "Remove variant property",
95
96
  variantConflictHelp: "Each variant needs a unique combination of property values",
@@ -99,6 +100,8 @@ const panelMessageDefaults = {
99
100
  component: "Component",
100
101
  insertInstance: "Insert instance",
101
102
  description: "Description",
103
+ editStyle: "Edit style",
104
+ styleEditScope: "Only the value shown here changes; the style's other entries are kept.",
102
105
  documentation: "Documentation",
103
106
  openDocs: "Open docs",
104
107
  properties: "Properties",
@@ -179,6 +182,7 @@ const panelMessageDefaults = {
179
182
  alignment: "Alignment",
180
183
  appearance: "Appearance",
181
184
  fill: "Fill",
185
+ resetOverride: "Reset override",
182
186
  stroke: "Stroke",
183
187
  effects: "Effects",
184
188
  mask: "Mask",
@@ -278,6 +282,12 @@ const panelMessageDefaults = {
278
282
  variables: "Variables",
279
283
  variants: "Variants",
280
284
  componentProperties: "Component properties",
285
+ componentDescription: "Description",
286
+ componentDescriptionPlaceholder: "Describe this component",
287
+ componentDocumentationLink: "Documentation link",
288
+ componentDocumentationLinkPlaceholder: "https://example.com/docs",
289
+ componentDocumentationInvalid: "Enter a URL that starts with http:// or https://.",
290
+ componentDocumentationEmpty: "No description yet.",
281
291
  slotDefault: "Default",
282
292
  slotModified: "Modified",
283
293
  slotItemCount: count({
@@ -412,6 +422,9 @@ const panelMessageDefaults = {
412
422
  removePreferredInstance: "Remove from preferred",
413
423
  searchStyles: "Search styles",
414
424
  noStylesFound: "No styles found",
425
+ createStyle: "Create style",
426
+ createStyleName: "Style name",
427
+ createStyleConfirm: "Create",
415
428
  noComponentsFound: "No components found",
416
429
  constraints: "Constraints",
417
430
  horizontalConstraint: "Horizontal constraint",
@@ -434,6 +447,7 @@ const panelMessageDefaults = {
434
447
  removeStroke: "Remove stroke",
435
448
  changeStrokeColor: "Change stroke color",
436
449
  changeFillColor: "Change fill color",
450
+ changeShadowColor: "Change shadow color",
437
451
  removeEffect: "Remove effect",
438
452
  removeExport: "Remove export",
439
453
  expandEffectSettings: "Expand effect settings",
@@ -500,6 +514,13 @@ const panelMessageDefaults = {
500
514
  strokeType: "Stroke type",
501
515
  strokeWeight: "Stroke weight",
502
516
  noSelection: "No selection",
517
+ annotations: "Annotations",
518
+ annotationText: "Annotation",
519
+ annotationCategory: "Category",
520
+ addAnnotation: "Add annotation",
521
+ removeAnnotation: "Remove annotation",
522
+ annotationLocked: "Annotations on instance internals stay read-only here.",
523
+ noAnnotations: "No annotations",
503
524
  noLocalVariables: "No local variables",
504
525
  openVariables: "Open variables",
505
526
  addPage: "Add page",
@@ -519,6 +540,12 @@ const panelMessageDefaults = {
519
540
  alignBottom: "Align bottom",
520
541
  moreAlignmentActions: "More actions",
521
542
  flipHorizontal: "Flip horizontal",
543
+ addSizeLimit: "Add size limit",
544
+ firstOnTop: "First on top",
545
+ wrapAlignment: "Wrap alignment",
546
+ wrapAlignAuto: "Auto",
547
+ wrapAlignSpaceBetween: "Space between",
548
+ absolutePosition: "Absolute position",
522
549
  ignoreAutoLayout: "Ignore auto layout",
523
550
  flipVertical: "Flip vertical",
524
551
  rotate90: "Rotate 90°",
@@ -691,6 +718,16 @@ const panelMessageDefaults = {
691
718
  addGridRow: "Add row",
692
719
  removeGridColumn: "Remove column",
693
720
  removeGridRow: "Remove row",
721
+ gridPlacement: "Grid placement",
722
+ gridColumnStart: "Column start",
723
+ gridRowStart: "Row start",
724
+ gridColumnSpan: "Column span",
725
+ gridRowSpan: "Row span",
726
+ gridHorizontalAlign: "Horizontal alignment",
727
+ gridVerticalAlign: "Vertical alignment",
728
+ alignStart: "Start",
729
+ alignCenter: "Center",
730
+ alignEnd: "End",
694
731
  sizingFixed: "Fixed",
695
732
  sizingHug: "Hug",
696
733
  sizingFill: "Fill",
@@ -837,10 +874,48 @@ const panelMessageDefaults = {
837
874
  prototypeAnimationInstant: "Instant",
838
875
  prototypeAnimationDissolve: "Dissolve",
839
876
  prototypeAnimationSmartAnimate: "Smart animate",
877
+ prototypeVariableRefused: params("Could not run the variable action: {reason}"),
878
+ prototypeActionSetVariable: "Set variable",
879
+ prototypeActionSetVariableMode: "Change mode",
880
+ prototypeActionConditional: "Conditional",
881
+ prototypeVariable: "Variable",
882
+ prototypeVariablePlaceholder: "Choose a variable",
883
+ prototypeValue: "Value",
884
+ prototypeValueNumber: "Number",
885
+ prototypeValueText: "Text",
886
+ prototypeValueBoolean: "Boolean",
887
+ prototypeValueVariable: "Variable",
888
+ prototypeValueExpression: "Expression",
889
+ prototypeValueColor: "Colour",
890
+ prototypeValueTrue: "True",
891
+ prototypeValueFalse: "False",
892
+ prototypeExpressionFunction: "Operation",
893
+ prototypeCollection: "Collection",
894
+ prototypeCollectionPlaceholder: "Choose a collection",
895
+ prototypeMode: "Mode",
896
+ prototypeModePlaceholder: "Choose a mode",
897
+ prototypeCondition: "Condition",
898
+ prototypeIf: "If",
899
+ prototypeElseIf: "Else if",
900
+ prototypeElse: "Else",
901
+ prototypeAddCondition: "Add condition",
902
+ prototypeRemoveCondition: "Remove condition",
840
903
  prototypeEasing: "Easing",
841
904
  prototypeEasingEaseOut: "Ease out",
842
905
  prototypeEasingEaseIn: "Ease in",
843
906
  prototypeEasingEaseInAndOut: "Ease in and out",
907
+ prototypeEasingEaseInBack: "Ease in back",
908
+ prototypeEasingEaseOutBack: "Ease out back",
909
+ prototypeEasingEaseInAndOutBack: "Ease in and out back",
910
+ prototypeEasingGentle: "Gentle",
911
+ prototypeEasingQuick: "Quick",
912
+ prototypeEasingBouncy: "Bouncy",
913
+ prototypeEasingSlow: "Slow",
914
+ prototypeEasingCustomBezier: "Custom bezier",
915
+ prototypeEasingCustomSpring: "Custom spring",
916
+ prototypeSpringMass: "Mass",
917
+ prototypeSpringStiffness: "Stiffness",
918
+ prototypeSpringDamping: "Damping",
844
919
  prototypeEasingLinear: "Linear",
845
920
  prototypeDuration: "Duration",
846
921
  prototypeNoFrames: "Add a frame to this page to link to.",