Skip to content

Commit

Permalink
Merge pull request #863 from AlexVelezLl/prepare-release-rc11
Browse files Browse the repository at this point in the history
Update KDS version to 5.0.0-rc11 and fix formatting issues
  • Loading branch information
AlexVelezLl authored Dec 10, 2024
2 parents d6ae85d + 8ed4d51 commit 990c744
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 13 deletions.
13 changes: 9 additions & 4 deletions docs/pages/installation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@
</p>

<!-- eslint-disable -->
<!-- prettier-ignore -->
<DocsShowCode language="javascript">
import KThemePlugin from 'kolibri-design-system/lib/KThemePlugin'; import trackInputModality
from 'kolibri-design-system/lib/styles/trackInputModality'; import trackMediaType from
'kolibri-design-system/lib/styles/trackMediaType'; Vue.use(KThemePlugin);
trackInputModality(); trackMediaType();
import KThemePlugin from 'kolibri-design-system/lib/KThemePlugin';
import trackInputModality from 'kolibri-design-system/lib/styles/trackInputModality';
import trackMediaType from 'kolibri-design-system/lib/styles/trackMediaType';

Vue.use(KThemePlugin);

trackInputModality();
trackMediaType();
</DocsShowCode>
<!-- eslint-enable -->

Expand Down
9 changes: 8 additions & 1 deletion docs/pages/kcard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,15 @@
</DocsShowCode>

<!-- eslint-disable -->
<!-- prettier-ignore -->
<DocsShowCode language="javascript">
export default { methods() { onClick() { console.log('Card clicked'); } }, };
export default {
methods() {
onClick() {
console.log('Card clicked');
}
},
};
</DocsShowCode>
<!-- eslint-enable -->

Expand Down
30 changes: 24 additions & 6 deletions docs/pages/ktabslist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,16 @@
<!-- eslint-disable -->
<!-- prettier-ignore -->
<DocsShowCode language="javascript">
data() { return { activeTabId: 'tabLessons', tabs: [ { id: 'tabLessons', label: 'Lessons' },
{ id: 'tabLearners', label: 'Learners' }, { id: 'tabGroups', label: 'Groups' }, ], }; },
data() {
return {
activeTabId: 'tabLessons',
tabs: [
{ id: 'tabLessons', label: 'Lessons' },
{ id: 'tabLearners', label: 'Learners' },
{ id: 'tabGroups', label: 'Groups' },
],
};
},
</DocsShowCode>
<!-- eslint-enable -->
</DocsPageSection>
Expand All @@ -96,9 +104,15 @@
<!-- eslint-disable -->
<!-- prettier-ignore -->
<DocsShowCode language="javascript">
data() { return { tabs: [ { id: 'tabLessons', label: 'Lessons', to: { path: '/lessons' } },
{ id: 'tabLearners', label: 'Learners', to: { path: '/learners' } }, { id: 'tabGroups',
label: 'Groups', to: { path: '/groups' } }, ], }; },
data() {
return {
tabs: [
{ id: 'tabLessons', label: 'Lessons', to: { path: '/lessons' } },
{ id: 'tabLearners', label: 'Learners', to: { path: '/learners' } },
{ id: 'tabGroups', label: 'Groups', to: { path: '/groups' } },
],
};
},
</DocsShowCode>
<!-- eslint-enable -->

Expand Down Expand Up @@ -343,7 +357,11 @@
<!-- eslint-disable -->
<!-- prettier-ignore -->
<DocsShowCode language="javascript">
icons: { tabLessons: 'lesson', tabLearners: 'person', tabGroups: 'people', },
icons: {
tabLessons: 'lesson',
tabLearners: 'person',
tabGroups: 'people',
},
</DocsShowCode>
<!-- eslint-enable -->
</DocsPageSection>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/layout/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
Responsive layouts in the design system are built using reactive JavaScript state in Vue
components rather than CSS media queries. This is done using
<DocsLibraryLink component="useKResponsiveWindow" /> when reactive window's size information
is needed or <DocsLibraryLink component="KResponsiveElement" /> when reactive component's
is needed or <DocsLibraryLink component="useKResponsiveElement" /> when reactive component's
size information is needed.
</p>
</DocsPageSection>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kolibri-design-system",
"version": "5.0.0-rc10",
"version": "5.0.0-rc11",
"private": false,
"description": "The Kolibri Design System defines common design patterns and code for use in Kolibri applications",
"repository": {
Expand Down

0 comments on commit 990c744

Please sign in to comment.