diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bac5b2b4..3dfa49884 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ - Replace the fragmented Vue SDK color-picker model helpers with `useColorModel()`, providing precise Reka bridges, extensible formats, and shared RGB, HSL, HSB, and OkHCL channel behavior. - Add accessible color-channel sliders, binding-aware fill primitives, and keyboard-operable gradient stops while separating fill state from popover composition. - Rebuild Fill, Stroke, Effects, and Export controls with shared compact item rows, semantic actions, binding-aware paint fields, and reversible color-picker edits. +- Finish the Design panel migration with compact labeled Typography, Variant, Mask, and Page controls plus semantic empty-section states. - Upgrade Vue SDK documentation with shared Tailwind demos, source-generated component API tables, and type-aware Twoslash examples in VitePress. - Add desktop image drag-and-drop into the Tauri app window. - Add open-document discovery for live CLI and MCP automation so agents can target the intended document and page. diff --git a/packages/vue/src/i18n/locales/de/panels.json b/packages/vue/src/i18n/locales/de/panels.json index 2f6528972..f27985da3 100644 --- a/packages/vue/src/i18n/locales/de/panels.json +++ b/packages/vue/src/i18n/locales/de/panels.json @@ -16,6 +16,14 @@ "effects": "Effekte", "export": "Export", "typography": "Typografie", + "fontFamily": "Schriftfamilie", + "fontWeight": "Schriftstärke", + "fontSize": "Schriftgröße", + "lineHeight": "Zeilenhöhe", + "letterSpacing": "Zeichenabstand", + "textAlignment": "Textausrichtung", + "textFormatting": "Textformatierung", + "pageBackground": "Seitenhintergrund", "variables": "Variablen", "constraints": "Einschränkungen", "addFill": "Füllung hinzufügen", diff --git a/packages/vue/src/i18n/locales/es/panels.json b/packages/vue/src/i18n/locales/es/panels.json index 870bbfa4a..df1601b4c 100644 --- a/packages/vue/src/i18n/locales/es/panels.json +++ b/packages/vue/src/i18n/locales/es/panels.json @@ -26,6 +26,14 @@ "effects": "Efectos", "export": "Exportar", "typography": "Tipografía", + "fontFamily": "Familia tipográfica", + "fontWeight": "Peso de fuente", + "fontSize": "Tamaño de fuente", + "lineHeight": "Altura de línea", + "letterSpacing": "Espaciado entre letras", + "textAlignment": "Alineación del texto", + "textFormatting": "Formato de texto", + "pageBackground": "Fondo de página", "variables": "Variables", "constraints": "Restricciones", "addFill": "Añadir relleno", diff --git a/packages/vue/src/i18n/locales/fr/panels.json b/packages/vue/src/i18n/locales/fr/panels.json index 56d842c3b..04054fd4b 100644 --- a/packages/vue/src/i18n/locales/fr/panels.json +++ b/packages/vue/src/i18n/locales/fr/panels.json @@ -16,6 +16,14 @@ "effects": "Effets", "export": "Export", "typography": "Typographie", + "fontFamily": "Famille de police", + "fontWeight": "Graisse", + "fontSize": "Taille de police", + "lineHeight": "Hauteur de ligne", + "letterSpacing": "Espacement des lettres", + "textAlignment": "Alignement du texte", + "textFormatting": "Mise en forme du texte", + "pageBackground": "Arrière-plan de la page", "variables": "Variables", "constraints": "Contraintes", "addFill": "Ajouter un remplissage", diff --git a/packages/vue/src/i18n/locales/it/panels.json b/packages/vue/src/i18n/locales/it/panels.json index 0a6ef29c7..012f57d56 100644 --- a/packages/vue/src/i18n/locales/it/panels.json +++ b/packages/vue/src/i18n/locales/it/panels.json @@ -16,6 +16,14 @@ "effects": "Effetti", "export": "Esporta", "typography": "Tipografia", + "fontFamily": "Famiglia di caratteri", + "fontWeight": "Peso del carattere", + "fontSize": "Dimensione del carattere", + "lineHeight": "Altezza riga", + "letterSpacing": "Spaziatura lettere", + "textAlignment": "Allineamento testo", + "textFormatting": "Formattazione testo", + "pageBackground": "Sfondo pagina", "variables": "Variabili", "constraints": "Vincoli", "addFill": "Aggiungi riempimento", diff --git a/packages/vue/src/i18n/locales/ja/panels.json b/packages/vue/src/i18n/locales/ja/panels.json index 17b7269f7..db4548784 100644 --- a/packages/vue/src/i18n/locales/ja/panels.json +++ b/packages/vue/src/i18n/locales/ja/panels.json @@ -26,6 +26,14 @@ "effects": "エフェクト", "export": "エクスポート", "typography": "タイポグラフィ", + "fontFamily": "フォントファミリー", + "fontWeight": "フォントの太さ", + "fontSize": "フォントサイズ", + "lineHeight": "行の高さ", + "letterSpacing": "文字間隔", + "textAlignment": "テキストの配置", + "textFormatting": "テキストの書式", + "pageBackground": "ページの背景", "variables": "変数", "constraints": "制約", "addFill": "塗りを追加", diff --git a/packages/vue/src/i18n/locales/pl/panels.json b/packages/vue/src/i18n/locales/pl/panels.json index 01efe4c78..799a9995c 100644 --- a/packages/vue/src/i18n/locales/pl/panels.json +++ b/packages/vue/src/i18n/locales/pl/panels.json @@ -16,6 +16,14 @@ "effects": "Efekty", "export": "Eksport", "typography": "Typografia", + "fontFamily": "Rodzina czcionek", + "fontWeight": "Grubość czcionki", + "fontSize": "Rozmiar czcionki", + "lineHeight": "Wysokość wiersza", + "letterSpacing": "Odstępy między literami", + "textAlignment": "Wyrównanie tekstu", + "textFormatting": "Formatowanie tekstu", + "pageBackground": "Tło strony", "variables": "Zmienne", "constraints": "Ograniczenia", "addFill": "Dodaj wypełnienie", diff --git a/packages/vue/src/i18n/locales/ru/panels.json b/packages/vue/src/i18n/locales/ru/panels.json index be7aafd8d..2d8db563f 100644 --- a/packages/vue/src/i18n/locales/ru/panels.json +++ b/packages/vue/src/i18n/locales/ru/panels.json @@ -16,6 +16,14 @@ "effects": "Эффекты", "export": "Экспорт", "typography": "Типографика", + "fontFamily": "Гарнитура шрифта", + "fontWeight": "Насыщенность шрифта", + "fontSize": "Размер шрифта", + "lineHeight": "Высота строки", + "letterSpacing": "Межбуквенный интервал", + "textAlignment": "Выравнивание текста", + "textFormatting": "Форматирование текста", + "pageBackground": "Фон страницы", "variables": "Переменные", "constraints": "Ограничения", "addFill": "Добавить заливку", diff --git a/packages/vue/src/i18n/locales/zh-cn/panels.json b/packages/vue/src/i18n/locales/zh-cn/panels.json index 7d27cdf71..aaa60fd77 100644 --- a/packages/vue/src/i18n/locales/zh-cn/panels.json +++ b/packages/vue/src/i18n/locales/zh-cn/panels.json @@ -16,6 +16,14 @@ "effects": "效果", "export": "导出", "typography": "排版", + "fontFamily": "字体", + "fontWeight": "字重", + "fontSize": "字号", + "lineHeight": "行高", + "letterSpacing": "字间距", + "textAlignment": "文本对齐", + "textFormatting": "文本格式", + "pageBackground": "页面背景", "variables": "变量", "constraints": "约束", "addFill": "添加填充", diff --git a/packages/vue/src/i18n/messages/panels.ts b/packages/vue/src/i18n/messages/panels.ts index 440b42c3c..7067d5d1a 100644 --- a/packages/vue/src/i18n/messages/panels.ts +++ b/packages/vue/src/i18n/messages/panels.ts @@ -47,6 +47,14 @@ export const panelMessageDefaults = { mask: 'Mask', export: 'Export', typography: 'Typography', + fontFamily: 'Font family', + fontWeight: 'Font weight', + fontSize: 'Font size', + lineHeight: 'Line height', + letterSpacing: 'Letter spacing', + textAlignment: 'Text alignment', + textFormatting: 'Text formatting', + pageBackground: 'Page background', variables: 'Variables', variants: 'Variants', constraints: 'Constraints', diff --git a/src/components/DesignPanel.vue b/src/components/DesignPanel.vue index fe89bff50..9ec4b3427 100644 --- a/src/components/DesignPanel.vue +++ b/src/components/DesignPanel.vue @@ -88,14 +88,14 @@ const { panels } = useI18n() class="flex flex-col gap-1 border-b border-border px-3 py-2" >