diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 4274b77dbb..27c74ead2b 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -69,7 +69,6 @@ export default defineConfig({ { text: 'Empty State', link: '/components/empty-state' }, { text: 'External Link', link: '/components/external-link' }, { text: 'File Upload', link: '/components/file-upload' }, - { text: 'Icon', link: '/components/icon' }, { text: 'Input', link: '/components/input' }, { text: 'Input Switch', link: '/components/input-switch' }, { text: 'Label', link: '/components/label' }, diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index a5214b5511..c29c43c0c6 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -2,7 +2,6 @@ import type { EnhanceAppContext } from 'vitepress' import DefaultTheme from 'vitepress/theme' import Kongponents from '../../../src' // Import component-specific files -import * as icons from '../../../src/components/KIcon/icons' // KIcon icons import ToastManager from '../../../src/components/KToaster/ToastManager' import RouterLink from '../components/RouterLink.vue' @@ -15,9 +14,6 @@ export default { // Extend default theme custom behaviour DefaultTheme.enhanceApp(ctx) - // Register KIcon icons - ctx.app.config.globalProperties.$icons = Object.keys(icons) - // Register ToastManager // TODO: May need to handle SSR ctx.app.config.globalProperties.$toaster = new ToastManager() diff --git a/docs/components/button.md b/docs/components/button.md index eaf041d169..c6fa9d94e0 100644 --- a/docs/components/button.md +++ b/docs/components/button.md @@ -64,23 +64,16 @@ KButton can render either a `` or `` by simply passing the `to` ### icon -:::warning NOTE -This prop will be changed to a `boolean` in the `9.0.0-beta.0` release. -::: - -A string for the `KIcon` name to be displayed to the left of the button's content. Specifying a value for `icon` will automatically indicate that it should be visible. - -If the disable state of the button can be changed, it is recommended to use the `icon` property instead of the slot, as using the prop will apply correct -coloring to the icon depending on the `disabled` state of the button. +Optional boolean flag that you can use when the only content you are passing to KButton is icon and you need to make the button square (_left and right padding = top and bottom_). Defaults to `false`. -
- I'm a button - I'm a button -
+ + + ```html -I'm a button -I'm a button + + + ``` ### Disabled HTML Attribute @@ -135,40 +128,6 @@ For utilizing icons in KButton not sourced from `@kong/icons`, we recommend the We also recommend setting the icon style `color` property to a value of `currentColor` to inherit the default KButton styling for slotted content. ::: -### icon - -:::danger NOTE -This slot is deprecated and will be removed in the `9.0.0-beta.0` release. Please use the [`default` slot](#default) instead whenever possible (unless the only content you are passing to KButton is icon and you need to make the button square (_left and right padding = top and bottom_)). -::: - -
- - - With Text - - - - -
- -```html - - - With Text - - - - -``` - ## Events KButton supports all events a native `button` and `a` elements do. Simply bind your event handler function to event with any modifiers. @@ -196,7 +155,7 @@ KButton supports all events a native `button` and `a` elements do. Simply bind y ``` - diff --git a/docs/components/renderless/k-component.md b/docs/components/renderless/k-component.md index 50234ce4f3..6a6b3fd4ff 100644 --- a/docs/components/renderless/k-component.md +++ b/docs/components/renderless/k-component.md @@ -9,11 +9,11 @@ e.g.
- + {{ data.count }} - +
diff --git a/docs/guide/migrating-to-version-9.md b/docs/guide/migrating-to-version-9.md index 82ad6b87e5..08271a2655 100644 --- a/docs/guide/migrating-to-version-9.md +++ b/docs/guide/migrating-to-version-9.md @@ -129,11 +129,11 @@ Kongponents styles are no longer designed to be utilized standalone, separately * `showCaret` prop is removed * `caretColor` prop is removed * `isRounded` prop is removed -* `icon` prop has changed to boolean (TODO: [beta]) +* `icon` prop has changed to `boolean`. Use it when only content you're passing to KButton is an icon to make KButton square #### Slots -* `icon` slot is removed (TODO: [beta]) +* `icon` slot has been deprecated. Please use `default` slot instead #### Structure @@ -353,7 +353,7 @@ Component has been renamed to `KDropdown` * `appearance` prop has been changed in favor of the `selectionMenu` prop for the selection menu functionality. `appearance` now controls the underlying `KButton` `appearance` prop (note that default `appearance` for component when `selectionMenu` is `true` changed from `tertiary` to `primary`) * `buttonAppearance` prop has been removed in favor of `appearance`, still controlling the `KButton` `appearance` prop * `testMode` prop has been removed -* `icon` prop is removed (TODO: [beta]) +* `icon` prop is removed * `caretColor` prop is removed * `isDangerous` `KDropdownItem` prop has been deprecated in favor of `danger` @@ -433,6 +433,7 @@ No breaking changes. ### KIcon +This component has been removed. ### KInlineEdit diff --git a/sandbox/pages/SandboxButton.vue b/sandbox/pages/SandboxButton.vue index c3be07121f..fb5b02770e 100644 --- a/sandbox/pages/SandboxButton.vue +++ b/sandbox/pages/SandboxButton.vue @@ -495,199 +495,6 @@ - - - - -
- - Primary - - - Secondary - - - Tertiary - - - Danger - -
-
- - Primary - - - Secondary - - - Tertiary - - - Danger - -
-
- - Primary - - - Secondary - - - Tertiary - - - Danger - -
-
- -
- - Primary - - - - Secondary - - - - Tertiary - - - - Danger - - -
-
- - Primary - - - - Secondary - - - - Tertiary - - - - Danger - - -
-
- - Primary - - - - Secondary - - - - Tertiary - - - - Danger - - -
-
diff --git a/sandbox/pages/SandboxCard.vue b/sandbox/pages/SandboxCard.vue index 3302cba80a..7f39d78ce2 100644 --- a/sandbox/pages/SandboxCard.vue +++ b/sandbox/pages/SandboxCard.vue @@ -54,7 +54,7 @@ > @@ -85,7 +85,7 @@ > diff --git a/sandbox/pages/SandboxDropdown.vue b/sandbox/pages/SandboxDropdown.vue index 04820d6c53..0b1cdf0aee 100644 --- a/sandbox/pages/SandboxDropdown.vue +++ b/sandbox/pages/SandboxDropdown.vue @@ -167,7 +167,7 @@ diff --git a/src/components/KButton/KButton.cy.ts b/src/components/KButton/KButton.cy.ts index 2bff06ac8a..e047390628 100644 --- a/src/components/KButton/KButton.cy.ts +++ b/src/components/KButton/KButton.cy.ts @@ -39,11 +39,13 @@ describe('KButton', () => { // Loop through ButtonSizes Object.values(ButtonSizes).map(s => rendersCorrectSize(s)) - // TODO: [beta] update this when we change icon prop - it('sets icon-button class when size passed', () => { + it('sets icon-button class when icon prop is `true` passed', () => { mount(KButton, { + props: { + icon: true, + }, slots: { - icon: () => 'Pretend I am an icon', + default: () => 'Pretend I am an icon', }, }) @@ -65,21 +67,7 @@ describe('KButton', () => { cy.get('a').invoke('attr', 'href').should('eq', 'https://google.com') }) - // TODO: [beta] remove this when we change icon prop - it('renders an icon when using icon prop', () => { - mount(KButton, { - props: { - icon: 'spinner', - }, - slots: { - default: () => 'Click me', - }, - }) - - cy.get('.k-button .k-button-icon').should('be.visible') - }) - - // TODO: [beta] remove this when we remove icon slot + // TODO: remove this when we remove icon slot it('renders an icon when using icon slot', () => { const iconText = 'Pretend I am an icon' mount(KButton, { diff --git a/src/components/KButton/KButton.vue b/src/components/KButton/KButton.vue index 4b59a60612..7cbaaffc6d 100644 --- a/src/components/KButton/KButton.vue +++ b/src/components/KButton/KButton.vue @@ -2,31 +2,23 @@ - - - - + + + - - - - - - diff --git a/src/components/KIcon/icons/icn-arrow-down.svg b/src/components/KIcon/icons/icn-arrow-down.svg deleted file mode 100644 index 70a1ac2887..0000000000 --- a/src/components/KIcon/icons/icn-arrow-down.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Down - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-arrow-left.svg b/src/components/KIcon/icons/icn-arrow-left.svg deleted file mode 100644 index ca594b7338..0000000000 --- a/src/components/KIcon/icons/icn-arrow-left.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Back - - diff --git a/src/components/KIcon/icons/icn-arrow-right.svg b/src/components/KIcon/icons/icn-arrow-right.svg deleted file mode 100644 index 59f309ecbe..0000000000 --- a/src/components/KIcon/icons/icn-arrow-right.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Forward - - diff --git a/src/components/KIcon/icons/icn-arrow-up.svg b/src/components/KIcon/icons/icn-arrow-up.svg deleted file mode 100644 index 36c97b2cdb..0000000000 --- a/src/components/KIcon/icons/icn-arrow-up.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Up - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-back.svg b/src/components/KIcon/icons/icn-back.svg deleted file mode 100644 index 91358cb5b4..0000000000 --- a/src/components/KIcon/icons/icn-back.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Back - - diff --git a/src/components/KIcon/icons/icn-book.svg b/src/components/KIcon/icons/icn-book.svg deleted file mode 100644 index d97baa893a..0000000000 --- a/src/components/KIcon/icons/icn-book.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-bot.svg b/src/components/KIcon/icons/icn-bot.svg deleted file mode 100644 index cb1a01f067..0000000000 --- a/src/components/KIcon/icons/icn-bot.svg +++ /dev/null @@ -1,3 +0,0 @@ - -Bot - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-brain.svg b/src/components/KIcon/icons/icn-brain.svg deleted file mode 100644 index 740de10608..0000000000 --- a/src/components/KIcon/icons/icn-brain.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/components/KIcon/icons/icn-calendar.svg b/src/components/KIcon/icons/icn-calendar.svg deleted file mode 100644 index 6b7fae2197..0000000000 --- a/src/components/KIcon/icons/icn-calendar.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Calendar - - diff --git a/src/components/KIcon/icons/icn-check.svg b/src/components/KIcon/icons/icn-check.svg deleted file mode 100644 index e5f19b3f01..0000000000 --- a/src/components/KIcon/icons/icn-check.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/KIcon/icons/icn-chevron-down.svg b/src/components/KIcon/icons/icn-chevron-down.svg deleted file mode 100644 index 23f4495d03..0000000000 --- a/src/components/KIcon/icons/icn-chevron-down.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Expand - - diff --git a/src/components/KIcon/icons/icn-chevron-left.svg b/src/components/KIcon/icons/icn-chevron-left.svg deleted file mode 100644 index 5aa6d75fa1..0000000000 --- a/src/components/KIcon/icons/icn-chevron-left.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Back - - diff --git a/src/components/KIcon/icons/icn-chevron-right.svg b/src/components/KIcon/icons/icn-chevron-right.svg deleted file mode 100644 index 0e2496e59f..0000000000 --- a/src/components/KIcon/icons/icn-chevron-right.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Forward - - diff --git a/src/components/KIcon/icons/icn-chevron-up.svg b/src/components/KIcon/icons/icn-chevron-up.svg deleted file mode 100644 index a20b901da7..0000000000 --- a/src/components/KIcon/icons/icn-chevron-up.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Collapse - - diff --git a/src/components/KIcon/icons/icn-circle-check.svg b/src/components/KIcon/icons/icn-circle-check.svg deleted file mode 100644 index 2f6a311558..0000000000 --- a/src/components/KIcon/icons/icn-circle-check.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Check - - diff --git a/src/components/KIcon/icons/icn-clear.svg b/src/components/KIcon/icons/icn-clear.svg deleted file mode 100644 index f4a69a10bc..0000000000 --- a/src/components/KIcon/icons/icn-clear.svg +++ /dev/null @@ -1,5 +0,0 @@ - - Clear - - - diff --git a/src/components/KIcon/icons/icn-clipboard.svg b/src/components/KIcon/icons/icn-clipboard.svg deleted file mode 100644 index 19065e8f9a..0000000000 --- a/src/components/KIcon/icons/icn-clipboard.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Copy to Clipboard - - diff --git a/src/components/KIcon/icons/icn-close.svg b/src/components/KIcon/icons/icn-close.svg deleted file mode 100644 index c222fe1929..0000000000 --- a/src/components/KIcon/icons/icn-close.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Close - - diff --git a/src/components/KIcon/icons/icn-cloud-hybrid.svg b/src/components/KIcon/icons/icn-cloud-hybrid.svg deleted file mode 100644 index a050dba532..0000000000 --- a/src/components/KIcon/icons/icn-cloud-hybrid.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Cloud Hybrid - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-cogwheel.svg b/src/components/KIcon/icons/icn-cogwheel.svg deleted file mode 100644 index 09ed4593f8..0000000000 --- a/src/components/KIcon/icons/icn-cogwheel.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Settings - - diff --git a/src/components/KIcon/icons/icn-collapse-expand.svg b/src/components/KIcon/icons/icn-collapse-expand.svg deleted file mode 100644 index c855d28142..0000000000 --- a/src/components/KIcon/icons/icn-collapse-expand.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Go to Beginning - - diff --git a/src/components/KIcon/icons/icn-collapse-workspaces.svg b/src/components/KIcon/icons/icn-collapse-workspaces.svg deleted file mode 100644 index c5fd13fedc..0000000000 --- a/src/components/KIcon/icons/icn-collapse-workspaces.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/KIcon/icons/icn-connections.svg b/src/components/KIcon/icons/icn-connections.svg deleted file mode 100644 index cdf4d0e5cc..0000000000 --- a/src/components/KIcon/icons/icn-connections.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Connections - - diff --git a/src/components/KIcon/icons/icn-contact-support.svg b/src/components/KIcon/icons/icn-contact-support.svg deleted file mode 100644 index b0e616fc9b..0000000000 --- a/src/components/KIcon/icons/icn-contact-support.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-copy.svg b/src/components/KIcon/icons/icn-copy.svg deleted file mode 100644 index c6b540ceba..0000000000 --- a/src/components/KIcon/icons/icn-copy.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Copy - - diff --git a/src/components/KIcon/icons/icn-danger-circle-outline.svg b/src/components/KIcon/icons/icn-danger-circle-outline.svg deleted file mode 100644 index 3d4ac1a4c6..0000000000 --- a/src/components/KIcon/icons/icn-danger-circle-outline.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Danger - - diff --git a/src/components/KIcon/icons/icn-danger-circle.svg b/src/components/KIcon/icons/icn-danger-circle.svg deleted file mode 100644 index c1fd74574a..0000000000 --- a/src/components/KIcon/icons/icn-danger-circle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Danger - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-dashboard.svg b/src/components/KIcon/icons/icn-dashboard.svg deleted file mode 100644 index 17e8d4fbf5..0000000000 --- a/src/components/KIcon/icons/icn-dashboard.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Dashboard - - diff --git a/src/components/KIcon/icons/icn-decrease.svg b/src/components/KIcon/icons/icn-decrease.svg deleted file mode 100644 index 065168a36f..0000000000 --- a/src/components/KIcon/icons/icn-decrease.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Decrease - - diff --git a/src/components/KIcon/icons/icn-dev-portal.svg b/src/components/KIcon/icons/icn-dev-portal.svg deleted file mode 100644 index f7a9ac77eb..0000000000 --- a/src/components/KIcon/icons/icn-dev-portal.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Dev Portal - - diff --git a/src/components/KIcon/icons/icn-disabled.svg b/src/components/KIcon/icons/icn-disabled.svg deleted file mode 100644 index d3f1b7e94b..0000000000 --- a/src/components/KIcon/icons/icn-disabled.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Close - - diff --git a/src/components/KIcon/icons/icn-document-list.svg b/src/components/KIcon/icons/icn-document-list.svg deleted file mode 100644 index 65aebad4f1..0000000000 --- a/src/components/KIcon/icons/icn-document-list.svg +++ /dev/null @@ -1,7 +0,0 @@ - - Document - - - - - diff --git a/src/components/KIcon/icons/icn-document.svg b/src/components/KIcon/icons/icn-document.svg deleted file mode 100644 index 2b131820a6..0000000000 --- a/src/components/KIcon/icons/icn-document.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Document - - diff --git a/src/components/KIcon/icons/icn-drag.svg b/src/components/KIcon/icons/icn-drag.svg deleted file mode 100644 index 10b16ad5a5..0000000000 --- a/src/components/KIcon/icons/icn-drag.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Drag - - diff --git a/src/components/KIcon/icons/icn-error-filled.svg b/src/components/KIcon/icons/icn-error-filled.svg deleted file mode 100644 index 49b3ab601d..0000000000 --- a/src/components/KIcon/icons/icn-error-filled.svg +++ /dev/null @@ -1,6 +0,0 @@ - - Error - - - - diff --git a/src/components/KIcon/icons/icn-expand.svg b/src/components/KIcon/icons/icn-expand.svg deleted file mode 100644 index d9b80b1653..0000000000 --- a/src/components/KIcon/icons/icn-expand.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Expand - - diff --git a/src/components/KIcon/icons/icn-external-link.svg b/src/components/KIcon/icons/icn-external-link.svg deleted file mode 100644 index 4c8929456c..0000000000 --- a/src/components/KIcon/icons/icn-external-link.svg +++ /dev/null @@ -1,4 +0,0 @@ - - External Link - - diff --git a/src/components/KIcon/icons/icn-feature-request.svg b/src/components/KIcon/icons/icn-feature-request.svg deleted file mode 100644 index 6fa327df41..0000000000 --- a/src/components/KIcon/icons/icn-feature-request.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/KIcon/icons/icn-file-empty.svg b/src/components/KIcon/icons/icn-file-empty.svg deleted file mode 100644 index d3f76ab048..0000000000 --- a/src/components/KIcon/icons/icn-file-empty.svg +++ /dev/null @@ -1,4 +0,0 @@ - - File - - diff --git a/src/components/KIcon/icons/icn-file-json.svg b/src/components/KIcon/icons/icn-file-json.svg deleted file mode 100644 index 1180ea0378..0000000000 --- a/src/components/KIcon/icons/icn-file-json.svg +++ /dev/null @@ -1,5 +0,0 @@ - - JSON File - - - diff --git a/src/components/KIcon/icons/icn-file-md.svg b/src/components/KIcon/icons/icn-file-md.svg deleted file mode 100644 index 045f0e28b9..0000000000 --- a/src/components/KIcon/icons/icn-file-md.svg +++ /dev/null @@ -1,5 +0,0 @@ - - Markdown File - - - diff --git a/src/components/KIcon/icons/icn-file-yaml.svg b/src/components/KIcon/icons/icn-file-yaml.svg deleted file mode 100644 index 88d8b246c4..0000000000 --- a/src/components/KIcon/icons/icn-file-yaml.svg +++ /dev/null @@ -1,5 +0,0 @@ - - YAML File - - - diff --git a/src/components/KIcon/icons/icn-filter.svg b/src/components/KIcon/icons/icn-filter.svg deleted file mode 100644 index 37c3f76d76..0000000000 --- a/src/components/KIcon/icons/icn-filter.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Filter - - diff --git a/src/components/KIcon/icons/icn-flag.svg b/src/components/KIcon/icons/icn-flag.svg deleted file mode 100644 index adbc660174..0000000000 --- a/src/components/KIcon/icons/icn-flag.svg +++ /dev/null @@ -1,3 +0,0 @@ - -Flag - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-forbidden.svg b/src/components/KIcon/icons/icn-forbidden.svg deleted file mode 100644 index f3b8607548..0000000000 --- a/src/components/KIcon/icons/icn-forbidden.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-forward.svg b/src/components/KIcon/icons/icn-forward.svg deleted file mode 100644 index 72e035f4cd..0000000000 --- a/src/components/KIcon/icons/icn-forward.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Forward - - diff --git a/src/components/KIcon/icons/icn-gateway.svg b/src/components/KIcon/icons/icn-gateway.svg deleted file mode 100644 index fe34ad50cc..0000000000 --- a/src/components/KIcon/icons/icn-gateway.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Gateway - - diff --git a/src/components/KIcon/icons/icn-gear-filled.svg b/src/components/KIcon/icons/icn-gear-filled.svg deleted file mode 100644 index cc8b320f33..0000000000 --- a/src/components/KIcon/icons/icn-gear-filled.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Settings - - diff --git a/src/components/KIcon/icons/icn-gear.svg b/src/components/KIcon/icons/icn-gear.svg deleted file mode 100644 index 8e24f6d1d0..0000000000 --- a/src/components/KIcon/icons/icn-gear.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Settings - - diff --git a/src/components/KIcon/icons/icn-graduation-hat.svg b/src/components/KIcon/icons/icn-graduation-hat.svg deleted file mode 100644 index 170e4e9205..0000000000 --- a/src/components/KIcon/icons/icn-graduation-hat.svg +++ /dev/null @@ -1,3 +0,0 @@ - -Graduation Hat - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-grid.svg b/src/components/KIcon/icons/icn-grid.svg deleted file mode 100644 index 1f36a76e98..0000000000 --- a/src/components/KIcon/icons/icn-grid.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Grid View - - diff --git a/src/components/KIcon/icons/icn-hand-clock.svg b/src/components/KIcon/icons/icn-hand-clock.svg deleted file mode 100644 index c6dee9cad4..0000000000 --- a/src/components/KIcon/icons/icn-hand-clock.svg +++ /dev/null @@ -1,3 +0,0 @@ - -Hand Clock - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-help.svg b/src/components/KIcon/icons/icn-help.svg deleted file mode 100644 index dc8f72abf1..0000000000 --- a/src/components/KIcon/icons/icn-help.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Help - - diff --git a/src/components/KIcon/icons/icn-image.svg b/src/components/KIcon/icons/icn-image.svg deleted file mode 100644 index aa92c7aaa2..0000000000 --- a/src/components/KIcon/icons/icn-image.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-immunity.svg b/src/components/KIcon/icons/icn-immunity.svg deleted file mode 100644 index c7026a26e5..0000000000 --- a/src/components/KIcon/icons/icn-immunity.svg +++ /dev/null @@ -1,7 +0,0 @@ - - Immunity - - - - - diff --git a/src/components/KIcon/icons/icn-increase.svg b/src/components/KIcon/icons/icn-increase.svg deleted file mode 100644 index 5a6ed1ce33..0000000000 --- a/src/components/KIcon/icons/icn-increase.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Increase - - diff --git a/src/components/KIcon/icons/icn-info-filled.svg b/src/components/KIcon/icons/icn-info-filled.svg deleted file mode 100644 index b93fa55ee8..0000000000 --- a/src/components/KIcon/icons/icn-info-filled.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Information - - diff --git a/src/components/KIcon/icons/icn-info.svg b/src/components/KIcon/icons/icn-info.svg deleted file mode 100644 index 3c09f46d8e..0000000000 --- a/src/components/KIcon/icons/icn-info.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Information - - diff --git a/src/components/KIcon/icons/icn-insights.svg b/src/components/KIcon/icons/icn-insights.svg deleted file mode 100644 index 0bb08052f0..0000000000 --- a/src/components/KIcon/icons/icn-insights.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-kong.svg b/src/components/KIcon/icons/icn-kong.svg deleted file mode 100644 index c752e2c817..0000000000 --- a/src/components/KIcon/icons/icn-kong.svg +++ /dev/null @@ -1,7 +0,0 @@ - - Kong - - - - - diff --git a/src/components/KIcon/icons/icn-list.svg b/src/components/KIcon/icons/icn-list.svg deleted file mode 100644 index 8c269d4b88..0000000000 --- a/src/components/KIcon/icons/icn-list.svg +++ /dev/null @@ -1,11 +0,0 @@ - - List View - - - - - - - - - diff --git a/src/components/KIcon/icons/icn-lock.svg b/src/components/KIcon/icons/icn-lock.svg deleted file mode 100644 index 1ace72638b..0000000000 --- a/src/components/KIcon/icons/icn-lock.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Locked - - diff --git a/src/components/KIcon/icons/icn-mesh.svg b/src/components/KIcon/icons/icn-mesh.svg deleted file mode 100644 index cd442e6ffa..0000000000 --- a/src/components/KIcon/icons/icn-mesh.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - diff --git a/src/components/KIcon/icons/icn-more-horizontal.svg b/src/components/KIcon/icons/icn-more-horizontal.svg deleted file mode 100644 index b44f124baa..0000000000 --- a/src/components/KIcon/icons/icn-more-horizontal.svg +++ /dev/null @@ -1,4 +0,0 @@ - -More - - diff --git a/src/components/KIcon/icons/icn-more.svg b/src/components/KIcon/icons/icn-more.svg deleted file mode 100644 index bd5835c90e..0000000000 --- a/src/components/KIcon/icons/icn-more.svg +++ /dev/null @@ -1,6 +0,0 @@ - - More Actions - - - - diff --git a/src/components/KIcon/icons/icn-network.svg b/src/components/KIcon/icons/icn-network.svg deleted file mode 100644 index 1ad8f89439..0000000000 --- a/src/components/KIcon/icons/icn-network.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/KIcon/icons/icn-no-data.svg b/src/components/KIcon/icons/icn-no-data.svg deleted file mode 100644 index 2cc248e398..0000000000 --- a/src/components/KIcon/icons/icn-no-data.svg +++ /dev/null @@ -1,4 +0,0 @@ - - No Data - - diff --git a/src/components/KIcon/icons/icn-notification-bell.svg b/src/components/KIcon/icons/icn-notification-bell.svg deleted file mode 100644 index df8b94952e..0000000000 --- a/src/components/KIcon/icons/icn-notification-bell.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Notifications - - diff --git a/src/components/KIcon/icons/icn-notification-inbox.svg b/src/components/KIcon/icons/icn-notification-inbox.svg deleted file mode 100644 index 1cb269347e..0000000000 --- a/src/components/KIcon/icons/icn-notification-inbox.svg +++ /dev/null @@ -1,6 +0,0 @@ - - Notifications - - - - diff --git a/src/components/KIcon/icons/icn-organization.svg b/src/components/KIcon/icons/icn-organization.svg deleted file mode 100644 index 9427b4860a..0000000000 --- a/src/components/KIcon/icons/icn-organization.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Organization - - diff --git a/src/components/KIcon/icons/icn-organizations.svg b/src/components/KIcon/icons/icn-organizations.svg deleted file mode 100644 index f6b6b96081..0000000000 --- a/src/components/KIcon/icons/icn-organizations.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Organization - - diff --git a/src/components/KIcon/icons/icn-pencil.svg b/src/components/KIcon/icons/icn-pencil.svg deleted file mode 100644 index 775c9f12fd..0000000000 --- a/src/components/KIcon/icons/icn-pencil.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Edit - - diff --git a/src/components/KIcon/icons/icn-people.svg b/src/components/KIcon/icons/icn-people.svg deleted file mode 100644 index a64774b7e6..0000000000 --- a/src/components/KIcon/icons/icn-people.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Organization - - diff --git a/src/components/KIcon/icons/icn-plug.svg b/src/components/KIcon/icons/icn-plug.svg deleted file mode 100644 index c5f588a52a..0000000000 --- a/src/components/KIcon/icons/icn-plug.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-plus.svg b/src/components/KIcon/icons/icn-plus.svg deleted file mode 100644 index 27fa16e6af..0000000000 --- a/src/components/KIcon/icons/icn-plus.svg +++ /dev/null @@ -1,5 +0,0 @@ - - Add - - - diff --git a/src/components/KIcon/icons/icn-portal.svg b/src/components/KIcon/icons/icn-portal.svg deleted file mode 100644 index a5a0ada0ca..0000000000 --- a/src/components/KIcon/icons/icn-portal.svg +++ /dev/null @@ -1,7 +0,0 @@ - - Dev Portal - - - - - diff --git a/src/components/KIcon/icons/icn-presentation.svg b/src/components/KIcon/icons/icn-presentation.svg deleted file mode 100644 index 6e426ecad5..0000000000 --- a/src/components/KIcon/icons/icn-presentation.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Presentation - - diff --git a/src/components/KIcon/icons/icn-profile.svg b/src/components/KIcon/icons/icn-profile.svg deleted file mode 100644 index 34a47aa0d0..0000000000 --- a/src/components/KIcon/icons/icn-profile.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Profile - - diff --git a/src/components/KIcon/icons/icn-redo.svg b/src/components/KIcon/icons/icn-redo.svg deleted file mode 100644 index dca482c141..0000000000 --- a/src/components/KIcon/icons/icn-redo.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Redo - - diff --git a/src/components/KIcon/icons/icn-runtimes.svg b/src/components/KIcon/icons/icn-runtimes.svg deleted file mode 100644 index b712724f9a..0000000000 --- a/src/components/KIcon/icons/icn-runtimes.svg +++ /dev/null @@ -1,5 +0,0 @@ - - Runtimes - - - diff --git a/src/components/KIcon/icons/icn-search.svg b/src/components/KIcon/icons/icn-search.svg deleted file mode 100644 index 56cdc056e8..0000000000 --- a/src/components/KIcon/icons/icn-search.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Search - - diff --git a/src/components/KIcon/icons/icn-security.svg b/src/components/KIcon/icons/icn-security.svg deleted file mode 100644 index 769cfa9d38..0000000000 --- a/src/components/KIcon/icons/icn-security.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Security - - diff --git a/src/components/KIcon/icons/icn-service-document.svg b/src/components/KIcon/icons/icn-service-document.svg deleted file mode 100644 index 1da258109f..0000000000 --- a/src/components/KIcon/icons/icn-service-document.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Document - - diff --git a/src/components/KIcon/icons/icn-servicehub.svg b/src/components/KIcon/icons/icn-servicehub.svg deleted file mode 100644 index fe09aa5437..0000000000 --- a/src/components/KIcon/icons/icn-servicehub.svg +++ /dev/null @@ -1,4 +0,0 @@ - - ServiceHub - - diff --git a/src/components/KIcon/icons/icn-services.svg b/src/components/KIcon/icons/icn-services.svg deleted file mode 100644 index 26d9af09a4..0000000000 --- a/src/components/KIcon/icons/icn-services.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Services - - diff --git a/src/components/KIcon/icons/icn-shared-config.svg b/src/components/KIcon/icons/icn-shared-config.svg deleted file mode 100644 index d985510e34..0000000000 --- a/src/components/KIcon/icons/icn-shared-config.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Shared Config - - diff --git a/src/components/KIcon/icons/icn-spinner.svg b/src/components/KIcon/icons/icn-spinner.svg deleted file mode 100644 index 0f21075686..0000000000 --- a/src/components/KIcon/icons/icn-spinner.svg +++ /dev/null @@ -1,6 +0,0 @@ - - Loading - - - - diff --git a/src/components/KIcon/icons/icn-stacked-cards.svg b/src/components/KIcon/icons/icn-stacked-cards.svg deleted file mode 100644 index 9948969dc7..0000000000 --- a/src/components/KIcon/icons/icn-stacked-cards.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/KIcon/icons/icn-state-configure.svg b/src/components/KIcon/icons/icn-state-configure.svg deleted file mode 100644 index e259366a95..0000000000 --- a/src/components/KIcon/icons/icn-state-configure.svg +++ /dev/null @@ -1,3 +0,0 @@ - - State Configure - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-state-gruceo.svg b/src/components/KIcon/icons/icn-state-gruceo.svg deleted file mode 100644 index 3c8598749c..0000000000 --- a/src/components/KIcon/icons/icn-state-gruceo.svg +++ /dev/null @@ -1,3 +0,0 @@ - - State Gruceo - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-state-no-data.svg b/src/components/KIcon/icons/icn-state-no-data.svg deleted file mode 100644 index 66c52d89df..0000000000 --- a/src/components/KIcon/icons/icn-state-no-data.svg +++ /dev/null @@ -1,3 +0,0 @@ - - State No Data - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-state-no-search-results.svg b/src/components/KIcon/icons/icn-state-no-search-results.svg deleted file mode 100644 index 80ef8bdd29..0000000000 --- a/src/components/KIcon/icons/icn-state-no-search-results.svg +++ /dev/null @@ -1,15 +0,0 @@ - - State No Search Results - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-state-upload.svg b/src/components/KIcon/icons/icn-state-upload.svg deleted file mode 100644 index b7e523fabd..0000000000 --- a/src/components/KIcon/icons/icn-state-upload.svg +++ /dev/null @@ -1,3 +0,0 @@ - - State Upload - \ No newline at end of file diff --git a/src/components/KIcon/icons/icn-support.svg b/src/components/KIcon/icons/icn-support.svg deleted file mode 100644 index 53840c30af..0000000000 --- a/src/components/KIcon/icons/icn-support.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Support - - diff --git a/src/components/KIcon/icons/icn-table.svg b/src/components/KIcon/icons/icn-table.svg deleted file mode 100644 index 3443dff2e1..0000000000 --- a/src/components/KIcon/icons/icn-table.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Table - - diff --git a/src/components/KIcon/icons/icn-team-member.svg b/src/components/KIcon/icons/icn-team-member.svg deleted file mode 100644 index e67a9e9a6c..0000000000 --- a/src/components/KIcon/icons/icn-team-member.svg +++ /dev/null @@ -1,5 +0,0 @@ - - Team Member - - - diff --git a/src/components/KIcon/icons/icn-team.svg b/src/components/KIcon/icons/icn-team.svg deleted file mode 100644 index 6c889fd666..0000000000 --- a/src/components/KIcon/icons/icn-team.svg +++ /dev/null @@ -1,6 +0,0 @@ - - Team - - - diff --git a/src/components/KIcon/icons/icn-trash.svg b/src/components/KIcon/icons/icn-trash.svg deleted file mode 100644 index 5216bd9b29..0000000000 --- a/src/components/KIcon/icons/icn-trash.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Delete - - diff --git a/src/components/KIcon/icons/icn-vitals-chart.svg b/src/components/KIcon/icons/icn-vitals-chart.svg deleted file mode 100644 index a31a9e6ec1..0000000000 --- a/src/components/KIcon/icons/icn-vitals-chart.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Vitals - - diff --git a/src/components/KIcon/icons/icn-vitals.svg b/src/components/KIcon/icons/icn-vitals.svg deleted file mode 100644 index 6737ed3acd..0000000000 --- a/src/components/KIcon/icons/icn-vitals.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Vitals - - diff --git a/src/components/KIcon/icons/icn-warning.svg b/src/components/KIcon/icons/icn-warning.svg deleted file mode 100644 index b94121b12c..0000000000 --- a/src/components/KIcon/icons/icn-warning.svg +++ /dev/null @@ -1,10 +0,0 @@ - - Warning - - - - - - - - diff --git a/src/components/KIcon/icons/icn-workspaces.svg b/src/components/KIcon/icons/icn-workspaces.svg deleted file mode 100644 index 9eca69de59..0000000000 --- a/src/components/KIcon/icons/icn-workspaces.svg +++ /dev/null @@ -1,4 +0,0 @@ - - Workspaces - - diff --git a/src/components/KIcon/icons/index.ts b/src/components/KIcon/icons/index.ts deleted file mode 100644 index 151be5a591..0000000000 --- a/src/components/KIcon/icons/index.ts +++ /dev/null @@ -1,103 +0,0 @@ -// Import icons with `?raw' at the end of the path so Vite will import them raw (without the need for an additional loader) -export { default as arrowDown } from './icn-arrow-down.svg?raw' -export { default as arrowLeft } from './icn-arrow-left.svg?raw' -export { default as arrowRight } from './icn-arrow-right.svg?raw' -export { default as arrowUp } from './icn-arrow-up.svg?raw' -export { default as back } from './icn-back.svg?raw' -export { default as book } from './icn-book.svg?raw' -export { default as bot } from './icn-bot.svg?raw' -export { default as brain } from './icn-brain.svg?raw' -export { default as calendar } from './icn-calendar.svg?raw' -export { default as check } from './icn-check.svg?raw' -export { default as chevronDown } from './icn-chevron-down.svg?raw' -export { default as chevronLeft } from './icn-chevron-left.svg?raw' -export { default as chevronRight } from './icn-chevron-right.svg?raw' -export { default as chevronUp } from './icn-chevron-up.svg?raw' -export { default as circleCheck } from './icn-circle-check.svg?raw' -export { default as clear } from './icn-clear.svg?raw' -export { default as clipboard } from './icn-clipboard.svg?raw' -export { default as close } from './icn-close.svg?raw' -export { default as cloudHybrid } from './icn-cloud-hybrid.svg?raw' -export { default as cogwheel } from './icn-cogwheel.svg?raw' -export { default as collapseExpand } from './icn-collapse-expand.svg?raw' -export { default as contactSupport } from './icn-contact-support.svg?raw' -export { default as connections } from './icn-connections.svg?raw' -export { default as copy } from './icn-copy.svg?raw' -export { default as dangerCircle } from './icn-danger-circle.svg?raw' -export { default as dangerCircleOutline } from './icn-danger-circle-outline.svg?raw' -export { default as dashboard } from './icn-dashboard.svg?raw' -export { default as decrease } from './icn-decrease.svg?raw' -export { default as devPortal } from './icn-dev-portal.svg?raw' -export { default as disabled } from './icn-disabled.svg?raw' -export { default as document } from './icn-document.svg?raw' -export { default as documentList } from './icn-document-list.svg?raw' -export { default as drag } from './icn-drag.svg?raw' -export { default as errorFilled } from './icn-error-filled.svg?raw' -export { default as expand } from './icn-expand.svg?raw' -export { default as externalLink } from './icn-external-link.svg?raw' -export { default as featureRequest } from './icn-feature-request.svg?raw' -export { default as fileEmpty } from './icn-file-empty.svg?raw' -export { default as fileJson } from './icn-file-json.svg?raw' -export { default as fileMd } from './icn-file-md.svg?raw' -export { default as fileYaml } from './icn-file-yaml.svg?raw' -export { default as filter } from './icn-filter.svg?raw' -export { default as flag } from './icn-flag.svg?raw' -export { default as forbidden } from './icn-forbidden.svg?raw' -export { default as forward } from './icn-forward.svg?raw' -export { default as gateway } from './icn-gateway.svg?raw' -export { default as gear } from './icn-gear.svg?raw' -export { default as gearFilled } from './icn-gear-filled.svg?raw' -export { default as graduationHat } from './icn-graduation-hat.svg?raw' -export { default as grid } from './icn-grid.svg?raw' -export { default as handClock } from './icn-hand-clock.svg?raw' -export { default as help } from './icn-help.svg?raw' -export { default as image } from './icn-image.svg?raw' -export { default as immunity } from './icn-immunity.svg?raw' -export { default as increase } from './icn-increase.svg?raw' -export { default as info } from './icn-info.svg?raw' -export { default as infoFilled } from './icn-info-filled.svg?raw' -export { default as insights } from './icn-insights.svg?raw' -export { default as kong } from './icn-kong.svg?raw' -export { default as lock } from './icn-lock.svg?raw' -export { default as list } from './icn-list.svg?raw' -export { default as mesh } from './icn-mesh.svg?raw' -export { default as more } from './icn-more.svg?raw' -export { default as moreHorizontal } from './icn-more-horizontal.svg?raw' -export { default as noData } from './icn-no-data.svg?raw' -export { default as notificationBell } from './icn-notification-bell.svg?raw' -export { default as notificationInbox } from './icn-notification-inbox.svg?raw' -export { default as organization } from './icn-organization.svg?raw' -export { default as plug } from './icn-plug.svg?raw' -export { default as plus } from './icn-plus.svg?raw' -export { default as organizations } from './icn-organizations.svg?raw' -export { default as pencil } from './icn-pencil.svg?raw' -export { default as people } from './icn-people.svg?raw' -export { default as portal } from './icn-portal.svg?raw' -export { default as presentation } from './icn-presentation.svg?raw' -export { default as profile } from './icn-profile.svg?raw' -export { default as redo } from './icn-redo.svg?raw' -export { default as runtimes } from './icn-runtimes.svg?raw' -export { default as search } from './icn-search.svg?raw' -export { default as security } from './icn-security.svg?raw' -export { default as serviceDocument } from './icn-service-document.svg?raw' -export { default as serviceHub } from './icn-servicehub.svg?raw' -export { default as services } from './icn-services.svg?raw' -export { default as sharedConfig } from './icn-shared-config.svg?raw' -export { default as spinner } from './icn-spinner.svg?raw' -export { default as stackedCards } from './icn-stacked-cards.svg?raw' -export { default as stateConfigure } from './icn-state-configure.svg?raw' -export { default as stateGruceo } from './icn-state-gruceo.svg?raw' -export { default as stateNoData } from './icn-state-no-data.svg?raw' -export { default as stateNoSearchResults } from './icn-state-no-search-results.svg?raw' -export { default as stateUpload } from './icn-state-upload.svg?raw' -export { default as support } from './icn-support.svg?raw' -export { default as table } from './icn-table.svg?raw' -export { default as team } from './icn-team.svg?raw' -export { default as teamMember } from './icn-team-member.svg?raw' -export { default as trash } from './icn-trash.svg?raw' -export { default as vitals } from './icn-vitals.svg?raw' -export { default as vitalsChart } from './icn-vitals-chart.svg?raw' -export { default as warning } from './icn-warning.svg?raw' -export { default as workspaces } from './icn-workspaces.svg?raw' -export { default as workspacesCollapsed } from './icn-collapse-workspaces.svg?raw' -export { default as network } from './icn-network.svg?raw' diff --git a/src/components/KInput/KInput.vue b/src/components/KInput/KInput.vue index d0c2214d70..aca864731a 100644 --- a/src/components/KInput/KInput.vue +++ b/src/components/KInput/KInput.vue @@ -330,7 +330,7 @@ $kInputSlotSpacing: var(--kui-space-40, $kui-space-40); // $kSelectInputSlotSpac // reset default margin from browser margin: 0; - margin-top: var(--kui-space-40, $kui-space-40); + margin-top: var(--kui-space-40, $kui-space-40) !important; // need important to override some overrides of default p margin in other components } // slots styles diff --git a/src/components/KModalFullscreen/KModalFullscreen.vue b/src/components/KModalFullscreen/KModalFullscreen.vue index 7499f6d308..96b4496cc4 100644 --- a/src/components/KModalFullscreen/KModalFullscreen.vue +++ b/src/components/KModalFullscreen/KModalFullscreen.vue @@ -407,9 +407,5 @@ $fullscreen-modal-padding: 64px; margin-bottom: var(--kui-space-auto, $kui-space-auto) !important; margin-top: var(--kui-space-auto, $kui-space-auto) !important; padding-right: var(--kui-space-40, $kui-space-40) !important; - .kong-icon.kong-icon-kong { - position: relative; - top: 1px; - } } diff --git a/src/components/KMultiselect/KMultiselect.vue b/src/components/KMultiselect/KMultiselect.vue index a640d9968a..a1e3d32642 100644 --- a/src/components/KMultiselect/KMultiselect.vue +++ b/src/components/KMultiselect/KMultiselect.vue @@ -1248,7 +1248,7 @@ $kMultiselectInputHelpTextHeight: var(--kui-line-height-20, $kui-line-height-20) // reset default margin from browser margin: 0; - margin-top: var(--kui-space-40, $kui-space-40); + margin-top: var(--kui-space-40, $kui-space-40) !important; // need important to override some overrides of default p margin in other components } &.multiselect-error { diff --git a/src/components/KSelect/KSelect.vue b/src/components/KSelect/KSelect.vue index 3929f59681..79d15f9c1a 100644 --- a/src/components/KSelect/KSelect.vue +++ b/src/components/KSelect/KSelect.vue @@ -809,7 +809,7 @@ $kSelectInputHelpTextHeight: calc(var(--kui-line-height-20, $kui-line-height-20) // reset default margin from browser margin: 0; - margin-top: var(--kui-space-40, $kui-space-40); + margin-top: var(--kui-space-40, $kui-space-40) !important; // need important to override some overrides of default p margin in other components &.select-error { color: var(--kui-color-text-danger, $kui-color-text-danger); diff --git a/src/components/KTextArea/KTextArea.vue b/src/components/KTextArea/KTextArea.vue index 88b1aaf97e..4383d5a24b 100644 --- a/src/components/KTextArea/KTextArea.vue +++ b/src/components/KTextArea/KTextArea.vue @@ -270,7 +270,7 @@ $kTextAreaPaddingY: var(--kui-space-40, $kui-space-40); // corresponds to mixin, // reset default margin from browser margin: 0; - margin-top: var(--kui-space-40, $kui-space-40); + margin-top: var(--kui-space-40, $kui-space-40) !important; // need important to override some overrides of default p margin in other components } .input-textarea { diff --git a/src/components/index.ts b/src/components/index.ts index 8a4ac966eb..bab3860cd0 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -24,7 +24,6 @@ export { default as KDropdownItem } from './KDropdown/KDropdownItem.vue' export { default as KDropdownMenu } from './KDropdown/KDropdown.vue' // KDropdown alias export { default as KEmptyState } from './KEmptyState/KEmptyState.vue' export { default as KFileUpload } from './KFileUpload/KFileUpload.vue' -export { default as KIcon } from './KIcon/KIcon.vue' export { default as KInput } from './KInput/KInput.vue' export { default as KInputSwitch } from './KInputSwitch/KInputSwitch.vue' export { default as KLabel } from './KLabel/KLabel.vue' diff --git a/src/global-components.ts b/src/global-components.ts index 96dee12f50..81269026ca 100644 --- a/src/global-components.ts +++ b/src/global-components.ts @@ -22,7 +22,6 @@ declare module '@vue/runtime-core' { KEmptyState: typeof components.KEmptyState KExternalLink: typeof components.KExternalLink KFileUpload: typeof components.KFileUpload - KIcon: typeof components.KIcon KInput: typeof components.KInput KInputSwitch: typeof components.KInputSwitch KLabel: typeof components.KLabel