Skip to content

Commit 990c744

Browse files
authored
Merge pull request #863 from AlexVelezLl/prepare-release-rc11
Update KDS version to 5.0.0-rc11 and fix formatting issues
2 parents d6ae85d + 8ed4d51 commit 990c744

File tree

5 files changed

+43
-13
lines changed

5 files changed

+43
-13
lines changed

docs/pages/installation.vue

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@
1111
</p>
1212

1313
<!-- eslint-disable -->
14+
<!-- prettier-ignore -->
1415
<DocsShowCode language="javascript">
15-
import KThemePlugin from 'kolibri-design-system/lib/KThemePlugin'; import trackInputModality
16-
from 'kolibri-design-system/lib/styles/trackInputModality'; import trackMediaType from
17-
'kolibri-design-system/lib/styles/trackMediaType'; Vue.use(KThemePlugin);
18-
trackInputModality(); trackMediaType();
16+
import KThemePlugin from 'kolibri-design-system/lib/KThemePlugin';
17+
import trackInputModality from 'kolibri-design-system/lib/styles/trackInputModality';
18+
import trackMediaType from 'kolibri-design-system/lib/styles/trackMediaType';
19+
20+
Vue.use(KThemePlugin);
21+
22+
trackInputModality();
23+
trackMediaType();
1924
</DocsShowCode>
2025
<!-- eslint-enable -->
2126

docs/pages/kcard.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,15 @@
402402
</DocsShowCode>
403403

404404
<!-- eslint-disable -->
405+
<!-- prettier-ignore -->
405406
<DocsShowCode language="javascript">
406-
export default { methods() { onClick() { console.log('Card clicked'); } }, };
407+
export default {
408+
methods() {
409+
onClick() {
410+
console.log('Card clicked');
411+
}
412+
},
413+
};
407414
</DocsShowCode>
408415
<!-- eslint-enable -->
409416

docs/pages/ktabslist.vue

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,16 @@
7272
<!-- eslint-disable -->
7373
<!-- prettier-ignore -->
7474
<DocsShowCode language="javascript">
75-
data() { return { activeTabId: 'tabLessons', tabs: [ { id: 'tabLessons', label: 'Lessons' },
76-
{ id: 'tabLearners', label: 'Learners' }, { id: 'tabGroups', label: 'Groups' }, ], }; },
75+
data() {
76+
return {
77+
activeTabId: 'tabLessons',
78+
tabs: [
79+
{ id: 'tabLessons', label: 'Lessons' },
80+
{ id: 'tabLearners', label: 'Learners' },
81+
{ id: 'tabGroups', label: 'Groups' },
82+
],
83+
};
84+
},
7785
</DocsShowCode>
7886
<!-- eslint-enable -->
7987
</DocsPageSection>
@@ -96,9 +104,15 @@
96104
<!-- eslint-disable -->
97105
<!-- prettier-ignore -->
98106
<DocsShowCode language="javascript">
99-
data() { return { tabs: [ { id: 'tabLessons', label: 'Lessons', to: { path: '/lessons' } },
100-
{ id: 'tabLearners', label: 'Learners', to: { path: '/learners' } }, { id: 'tabGroups',
101-
label: 'Groups', to: { path: '/groups' } }, ], }; },
107+
data() {
108+
return {
109+
tabs: [
110+
{ id: 'tabLessons', label: 'Lessons', to: { path: '/lessons' } },
111+
{ id: 'tabLearners', label: 'Learners', to: { path: '/learners' } },
112+
{ id: 'tabGroups', label: 'Groups', to: { path: '/groups' } },
113+
],
114+
};
115+
},
102116
</DocsShowCode>
103117
<!-- eslint-enable -->
104118

@@ -343,7 +357,11 @@
343357
<!-- eslint-disable -->
344358
<!-- prettier-ignore -->
345359
<DocsShowCode language="javascript">
346-
icons: { tabLessons: 'lesson', tabLearners: 'person', tabGroups: 'people', },
360+
icons: {
361+
tabLessons: 'lesson',
362+
tabLearners: 'person',
363+
tabGroups: 'people',
364+
},
347365
</DocsShowCode>
348366
<!-- eslint-enable -->
349367
</DocsPageSection>

docs/pages/layout/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
Responsive layouts in the design system are built using reactive JavaScript state in Vue
122122
components rather than CSS media queries. This is done using
123123
<DocsLibraryLink component="useKResponsiveWindow" /> when reactive window's size information
124-
is needed or <DocsLibraryLink component="KResponsiveElement" /> when reactive component's
124+
is needed or <DocsLibraryLink component="useKResponsiveElement" /> when reactive component's
125125
size information is needed.
126126
</p>
127127
</DocsPageSection>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kolibri-design-system",
3-
"version": "5.0.0-rc10",
3+
"version": "5.0.0-rc11",
44
"private": false,
55
"description": "The Kolibri Design System defines common design patterns and code for use in Kolibri applications",
66
"repository": {

0 commit comments

Comments
 (0)