Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migration guide #3045

Merged
merged 4 commits into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/docs/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3782,6 +3782,18 @@
"styles": "Styles",
"stylesDescription": "* All typography classes now have `va` prefix. For instance: link renamed to `va-link`, `text--right` renamed to `va-text-right`",
"typography_1": "* `display-1` has been renamed to `va-h1`, same for 2 to 6"
},
"1_6": {
"components": "Components",
"navbar": "* `center` slot was replaced with default one;\n * default (`center`) slot is now visible on mobiles.",
"innerLoading": "CSS variables names were changed.",
"scrollContainer": "`size` prop acceptable values names were changed.",
"image": "Component was reworked. Suggest to check all places of usage.",
"extensions": "Extensions",
"aggrid_0": "Ag Grid",
"aggrid_1": "Removed SCSS mixins for Vuestic UI theme customization.",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They must be available with @vuestic/ag-grid/scss import. @rustem-nasyrov?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This phrase was approved by him.

"styles": "Styles",
"grid": "Vuestic UI grid helpers were deprecated. Use Tailwind CSS instead."
}
}
},
Expand Down
12 changes: 12 additions & 0 deletions packages/docs/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -3680,6 +3680,18 @@
"styles": "Стили",
"stylesDescription": "* Все классы типографии получили префикс `va`. Например, `link` переименован в `va-link` `text--right` переименован в `va-text-right`",
"typography_1": "* `display-1` переименован в `va-h1`, то же с 2, 3, 4, 5, 6"
},
"1_6": {
"components": "Компоненты",
"navbar": "* слот `center` был заменен дефолтным;\n * дефолтный (`center`) слот теперь не исчезает на мобильных устройствах.",
"innerLoading": "Имена CSS-переменных были откорректированы.",
"scrollContainer": "У свойства `size` изменился список допустимых значений.",
"image": "Компонент был полностью переработан, рекомендуем проверить места использования.",
"extensions": "Расширения",
"aggrid_0": "AG Grid",
"aggrid_1": "Убраны SCSS миксины для кастомизаии темы Vuestic UI.",
"styles": "Стили",
"grid": "CSS хелперы Vuestic UI были переведены в статус устаревших и будут окончательно удалены из пакета в версии 1.7.0. Вместо них мы рекомендуем использовать Tailwind CSS."
}
},
"treeShaking": {
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/modules/page-config/blocks/collapse/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ const { t } = useI18n()
@import 'vuestic-ui/styles/resources';

.page-config-collapse {
& + & {
margin-top: 0.5rem;
}

.va-collapse__header {
--va-collapse-header-content-border-radius: 0.25rem;
}
Expand Down
16 changes: 16 additions & 0 deletions packages/docs/page-config/getting-started/installation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@ export default definePageConfig({
block.code("quick-start.ts"),

block.headline("installation.migrationGuide.title"),

// Follow migration guide order from newer to older
block.collapse("1.5 -> 1.6", [
block.subtitle("installation.migrationGuide.1_6.components"),
block.headline("VaNavbar"),
block.paragraph("installation.migrationGuide.1_6.navbar"),
block.headline("VaInnerLoading"),
block.paragraph("installation.migrationGuide.1_6.innerLoading"),
block.headline("VaScrollContainer"),
block.paragraph("installation.migrationGuide.1_6.scrollContainer"),
block.subtitle("installation.migrationGuide.1_6.extensions"),
block.headline("installation.migrationGuide.1_6.aggrid_0"),
block.paragraph("installation.migrationGuide.1_6.aggrid_1"),
block.subtitle("installation.migrationGuide.1_6.styles"),
block.paragraph("installation.migrationGuide.1_6.grid"),
]),
block.collapse("1.4 -> 1.5", [
block.subtitle("installation.migrationGuide.1_5.components"),
block.headline("VaButton"),
Expand Down