From 4ada24cc425592406237fedc7e43c0d30dcfbc8d Mon Sep 17 00:00:00 2001 From: shruti862 Date: Thu, 12 Dec 2024 18:18:14 +0530 Subject: [PATCH] new commit --- docs/assets/definitions.scss | 3 +- docs/common/DocsDoNot.vue | 8 ++- .../common/DocsPageTemplate/SideNav/index.vue | 2 +- docs/common/DocsPageTemplate/index.vue | 2 +- .../DocsPageTemplate/jsdocs/EventsTable.vue | 4 +- .../DocsPageTemplate/jsdocs/MethodsTable.vue | 4 +- .../DocsPageTemplate/jsdocs/PropsTable.vue | 4 +- .../DocsPageTemplate/jsdocs/SlotsTable.vue | 4 +- docs/common/DocsShowCode/webpack-loader.js | 9 ++-- docs/pages/appbars/index.vue | 26 +++++---- docs/pages/buttons.vue | 2 +- docs/pages/colors.vue | 28 +++++++--- docs/pages/errors/index.vue | 34 +++++++----- docs/pages/glossary/index.vue | 8 ++- docs/pages/icons/IconTable.vue | 24 ++++++--- docs/pages/kcard.vue | 2 +- docs/pages/kcardgrid.vue | 4 +- docs/pages/kemptyplaceholder.vue | 44 +++++++++++---- docs/pages/kimg.vue | 16 ++++-- docs/pages/klistwithoverflow.vue | 2 +- docs/pages/klogo.vue | 20 +++++-- docs/pages/ktabs.vue | 24 ++++++--- docs/pages/ktabslist.vue | 12 +++-- docs/pages/layout/index.vue | 10 ++-- docs/pages/menus/index.vue | 24 ++++++--- docs/pages/modals/index.vue | 52 +++++++++++------- docs/pages/pageheader/index.vue | 4 +- docs/pages/playground/cards.vue | 4 +- docs/pages/styling/index.vue | 28 +++++++--- docs/pages/tabs.vue | 12 +++-- docs/pages/textfields/index.vue | 54 ++++++++++++------- docs/pages/usekliveregion.vue | 8 ++- docs/pages/usekshow.vue | 10 ++-- jest.conf/index.js | 6 ++- jest.conf/setup.js | 6 +-- lib/KDateRange/KDateCalendar.vue | 8 +-- lib/KDateRange/KDateDay.vue | 16 +++--- .../__tests__/ValidationMachine.spec.js | 8 +-- lib/KDateRange/index.vue | 2 +- lib/KIcon/index.vue | 2 +- lib/KImg/__tests__/KImg.spec.js | 2 +- lib/KModal.vue | 15 ++---- lib/KRadioButton.vue | 2 +- lib/KSelect/index.vue | 37 +++++++++---- lib/KTable/index.vue | 10 ++-- lib/KTable/useSorting/__tests__/index.spec.js | 14 ++--- lib/KTable/useSorting/index.js | 2 +- lib/KTooltip/Popper.vue | 2 +- lib/buttons-and-links/buttonMixin.js | 2 +- lib/buttons-and-links/buttons.scss | 7 +-- lib/cards/KCard.vue | 6 +-- lib/cards/KCardGrid.vue | 2 +- lib/cards/useGridLayout.js | 2 +- lib/cards/useGridLoading.js | 4 +- lib/cards/utils.js | 2 +- lib/composables/_useOverlay/index.js | 2 +- lib/grids/KFixedGridItem.vue | 2 +- lib/grids/test/KFixedGrid.spec.js | 2 +- lib/loaders/KCircularLoader.vue | 4 +- lib/styles/darkenColors.js | 12 +++-- lib/styles/definitions.scss | 12 ++--- lib/styles/theme.js | 2 +- lib/styles/trackInputModality.js | 12 ++--- lib/tabs/KTabsList.vue | 4 +- lib/tabs/__tests__/KTabsList.spec.js | 4 +- lib/utils/focusManagement.js | 2 +- nuxt.config.js | 3 +- utils/extractApi.js | 2 +- utils/extractEnvironment.js | 2 +- utils/extractRstIcons.js | 4 +- 70 files changed, 457 insertions(+), 261 deletions(-) diff --git a/docs/assets/definitions.scss b/docs/assets/definitions.scss index 189800664..d5b47a33d 100644 --- a/docs/assets/definitions.scss +++ b/docs/assets/definitions.scss @@ -4,6 +4,5 @@ $code-color: #696680; $link-color: #368d74; $link-hover-color: #26614d; $selection-color: #badbd2; -$basic-transition: color 0.25s ease, - fill 0.25s ease; +$basic-transition: color 0.25s ease, fill 0.25s ease; $nav-width: 260px; diff --git a/docs/common/DocsDoNot.vue b/docs/common/DocsDoNot.vue index 0f2bf3588..2dbc2dd1b 100644 --- a/docs/common/DocsDoNot.vue +++ b/docs/common/DocsDoNot.vue @@ -5,7 +5,9 @@ v-if="$slots.do" class="show" > -
Do
+
+ Do +
@@ -14,7 +16,9 @@ v-if="$slots.not" class="show" > -
Don't
+
+ Don't +
diff --git a/docs/common/DocsPageTemplate/SideNav/index.vue b/docs/common/DocsPageTemplate/SideNav/index.vue index 8a66d9619..217b3df4f 100644 --- a/docs/common/DocsPageTemplate/SideNav/index.vue +++ b/docs/common/DocsPageTemplate/SideNav/index.vue @@ -67,7 +67,7 @@ // otherwise, check for matching pages by title and keywords else { const matchingPages = section.pages.filter(page => - matches(this.terms, page.title + page.keywords.join(' ')), + matches(this.terms, page.title + page.keywords.join(' ')) ); if (matchingPages.length) { toc.push(section.clone({ pages: matchingPages })); diff --git a/docs/common/DocsPageTemplate/index.vue b/docs/common/DocsPageTemplate/index.vue index 40e874a84..854be74fe 100644 --- a/docs/common/DocsPageTemplate/index.vue +++ b/docs/common/DocsPageTemplate/index.vue @@ -60,7 +60,7 @@ node => node.componentOptions && node.componentOptions.tag === DocsPageSection.name && - node.componentOptions.propsData.anchor, + node.componentOptions.propsData.anchor ) .map(node => node.componentOptions.propsData); } diff --git a/docs/common/DocsPageTemplate/jsdocs/EventsTable.vue b/docs/common/DocsPageTemplate/jsdocs/EventsTable.vue index a024a2394..93038f640 100644 --- a/docs/common/DocsPageTemplate/jsdocs/EventsTable.vue +++ b/docs/common/DocsPageTemplate/jsdocs/EventsTable.vue @@ -4,7 +4,9 @@ Name - Description + + Description + diff --git a/docs/common/DocsPageTemplate/jsdocs/MethodsTable.vue b/docs/common/DocsPageTemplate/jsdocs/MethodsTable.vue index 8d871c2d5..72af96c5e 100644 --- a/docs/common/DocsPageTemplate/jsdocs/MethodsTable.vue +++ b/docs/common/DocsPageTemplate/jsdocs/MethodsTable.vue @@ -4,7 +4,9 @@ Name - Description + + Description + diff --git a/docs/common/DocsPageTemplate/jsdocs/PropsTable.vue b/docs/common/DocsPageTemplate/jsdocs/PropsTable.vue index a9e6f4103..02e038588 100644 --- a/docs/common/DocsPageTemplate/jsdocs/PropsTable.vue +++ b/docs/common/DocsPageTemplate/jsdocs/PropsTable.vue @@ -4,7 +4,9 @@ Name - Description + + Description + Type Default Required diff --git a/docs/common/DocsPageTemplate/jsdocs/SlotsTable.vue b/docs/common/DocsPageTemplate/jsdocs/SlotsTable.vue index 7b9b54171..4a7cd754d 100644 --- a/docs/common/DocsPageTemplate/jsdocs/SlotsTable.vue +++ b/docs/common/DocsPageTemplate/jsdocs/SlotsTable.vue @@ -4,7 +4,9 @@ Name - Description + + Description + diff --git a/docs/common/DocsShowCode/webpack-loader.js b/docs/common/DocsShowCode/webpack-loader.js index 3a9bda661..39799e5f5 100644 --- a/docs/common/DocsShowCode/webpack-loader.js +++ b/docs/common/DocsShowCode/webpack-loader.js @@ -1,11 +1,14 @@ var TAG_PATTERN = new RegExp(`(.*?)`, 'gms'); function escape(unsafe) { - return (unsafe || '').replace(/&/gm, '&').replace(//gm, '>'); + return (unsafe || '') + .replace(/&/gm, '&') + .replace(//gm, '>'); } -module.exports = function (content) { - return content.replace(TAG_PATTERN, function (_, attributes, innerText) { +module.exports = function(content) { + return content.replace(TAG_PATTERN, function(_, attributes, innerText) { return `${escape(innerText)}`; }); }; diff --git a/docs/pages/appbars/index.vue b/docs/pages/appbars/index.vue index d54ddb1a4..cf653de15 100644 --- a/docs/pages/appbars/index.vue +++ b/docs/pages/appbars/index.vue @@ -101,12 +101,16 @@ @@ -119,7 +123,7 @@