Skip to content

Commit

Permalink
fix(*): kongponents alpha phase 7 [KHCP-10653] (#1149)
Browse files Browse the repository at this point in the history
* chore(deps): bump kongponents to preview [KHCP-10653]

* fix(ktooltip): update component usage

* test(entities-shared): fix selectors

* chore(deps): bump kongponents

* chore(deps): bump kongponents

* chore(deps): bump kongponents

* chore(deps): bump kongponents

* chore(deps): bump kongponents alpha
  • Loading branch information
portikM authored Feb 13, 2024
1 parent 05f61ef commit bd76d01
Show file tree
Hide file tree
Showing 37 changed files with 499 additions and 230 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
"@evilmartians/lefthook": "^1.5.6",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"@rushstack/eslint-patch": "^1.7.0",
"@types/flat": "^5.0.5",
"@types/js-yaml": "^4.0.9",
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics/analytics-chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": ">= 3.3.13 < 4"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong-ui-public/sandbox-layout": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"@types/uuid": "^9.0.7",
"file-saver": "^2.0.5",
"lodash.mapkeys": "^4.6.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics/analytics-metric-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.73"
"@kong/kongponents": "9.0.0-alpha.105"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101"
"@kong/kongponents": "9.0.0-alpha.105"
}
}
2 changes: 1 addition & 1 deletion packages/analytics/dashboard-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@kong-ui-public/i18n": "workspace:^",
"@kong-ui-public/sandbox-layout": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"json-schema-to-ts": "^3.0.0",
"swrv": "^1.0.4",
"vue": "^3.4.13"
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics/metric-cards/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"test:unit:open": "cross-env FORCE_COLOR=1 vitest --ui"
},
"peerDependencies": {
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": ">= 3.3.13 < 4"
},
"devDependencies": {
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": "^3.4.13"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<KTooltip
v-if="tooltip"
class="metricscard-tooltip"
:label="tooltip"
placement="right"
:text="tooltip"
>
<InfoIcon
:color="KUI_COLOR_TEXT_NEUTRAL"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/app-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"devDependencies": {
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"@types/lodash.clonedeep": "^4.5.9",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
<KTooltip
v-else
class="sidebar-item-tooltip"
:label="item.name"
placement="right"
position-fixed
:text="item.name"
>
<div class="sidebar-item-name has-tooltip">
<span
Expand Down
4 changes: 2 additions & 2 deletions packages/core/copy-uuid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": ">= 3.3.13 < 4"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": "^3.4.13"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/core/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": "^3.4.13"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"@types/lodash": "^4.14.202",
"pug": "^3.0.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/core/misc-widgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": ">= 3.3.13 < 4"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": "^3.4.13"
},
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="kong-ui-public-misc-widgets-github-star"
data-testid="github-star"
>
<KTooltip :label="tooltipLabel">
<KTooltip :text="tooltipLabel">
<span>
<a
:aria-label="i18n.t('githubStar.ariaLabel')"
Expand Down
4 changes: 2 additions & 2 deletions packages/core/sandbox-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"devDependencies": {
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
},
Expand All @@ -62,7 +62,7 @@
"errorLimit": "200KB"
},
"peerDependencies": {
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"vue": ">= 3.3.13 < 4"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-certificates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-consumer-credentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"peerDependencies": {
"@kong-ui-public/copy-uuid": "workspace:^",
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
Expand All @@ -32,7 +32,7 @@
"@kong-ui-public/copy-uuid": "workspace:^",
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-consumer-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-consumers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-gateway-services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-key-sets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"peerDependencies": {
"@kong-ui-public/copy-uuid": "workspace:^",
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@kong-ui-public/copy-uuid": "workspace:^",
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"peerDependencies": {
"@kong-ui-public/copy-uuid": "workspace:^",
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
Expand All @@ -32,7 +32,7 @@
"@kong-ui-public/copy-uuid": "workspace:^",
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<KTooltip
:label="plugin.disabledMessage"
position-fixed
:text="plugin.disabledMessage"
>
<a
class="plugin-select-card"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/entities/entities-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"peerDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": ">= 3.3.13 < 4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@kong-ui-public/i18n": "workspace:^",
"@kong/design-tokens": "1.12.7",
"@kong/kongponents": "9.0.0-alpha.101",
"@kong/kongponents": "9.0.0-alpha.105",
"axios": "^1.6.5",
"vue": "^3.4.13",
"vue-router": "^4.2.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ describe('<ConfigCardItem />', () => {
})

cy.get('.config-card-details-row').should('be.visible')
cy.get('.k-external-link .kong-icon-externalLink').should('be.visible')
cy.get('.k-external-link .kui-icon.external-link-icon').should('be.visible')
cy.getTestId(`${item.key}-external-link`).should('be.visible')
cy.getTestId(`${item.key}-external-link`).should('contain.text', link)
cy.get(`a[href="${link}"]`).should('exist')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

<KTooltip
v-else
:label="isTruncated ? item.value : ''"
:text="isTruncated ? item.value : ''"
>
<span
ref="textContent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
data-testid="first-col"
>
<KTooltip
:label="hasTooltip ? tooltipText : ''"
max-width="300"
placement="bottomStart"
:text="hasTooltip ? tooltipText : ''"
>
<slot />
</KTooltip>
Expand Down
Loading

0 comments on commit bd76d01

Please sign in to comment.