Skip to content

Commit

Permalink
deps(*): upgrade kongponents
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed May 27, 2024
1 parent 420a2ac commit 78f8ed4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@kong-ui-public/i18n": "^2.1.6",
"@kong-ui-public/misc-widgets": "^2.0.45",
"@kong/icons": "^1.9.2",
"@kong/kongponents": "^9.0.0-alpha.156",
"@kong/kongponents": "^9.0.0-alpha.159",
"@material-design-icons/font": "^0.14.9",
"axios": "^1.6.0",
"dayjs": "^1.11.10",
Expand Down
2 changes: 2 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
</template>
<router-view />
<MakeAWish />
<!--Empty element just for Teleport, KHCP-11277-->
<div id="kong-ui-app-page-header-action-button" />
</AppLayout>
</template>

Expand Down
1 change: 1 addition & 0 deletions src/pages/data-plane-nodes/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
<KButton
appearance="tertiary"
class="actions-trigger"
icon
size="small"
>
<MoreIcon />
Expand Down
2 changes: 1 addition & 1 deletion tests/playwright/commands/selectOption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Locator } from '@playwright/test'

export const selectOption = async (locator: Locator, option: string) => {
const selectRoot = locator.locator('.k-select').or(locator)
const selectTrigger = selectRoot.locator('.k-input-wrapper.select-input')
const selectTrigger = selectRoot.locator('.k-input.select-input')

await selectTrigger.click()
await selectRoot.locator(`.select-item[data-testid="select-item-${option}"]`).click()
Expand Down
2 changes: 1 addition & 1 deletion tests/playwright/specs/routes/01-Routes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const selectProtocols = async (page: Page, protocol: string) => {
const locator = page.locator('.k-select').filter({ hasText: 'Protocols' })

await expect(locator.locator('[data-testid="route-form-protocols"]')).toBeVisible()
await locator.locator('.k-input-wrapper.select-input').click()
await locator.locator('.k-input.select-input').click()

await expect(locator.locator('.popover-content .select-items-container')).toBeVisible()
await locator.locator(`[data-testid="select-item-${protocol}"]`).click()
Expand Down
2 changes: 1 addition & 1 deletion tests/playwright/specs/upstreams/01-Upstreams.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ test.describe('upstreams', () => {
await create_upstream(
page, upstreamListPage,
async () => {
await page.click('.k-select.name-select .k-input-wrapper.select-input')
await page.click('.k-select.name-select .k-input.select-input')
await page.locator('.k-select.name-select input').type(newName)
await page.getByTestId('select-add-item').click()
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,10 @@
resolved "https://registry.yarnpkg.com/@kong/icons/-/icons-1.9.2.tgz#13b1c72af2616227ec0a0c3193658d53e8913519"
integrity sha512-XMLnCyaBE0xrrnY7DOLXVy2Q1F76AEsfi4mxEdVKfSGOkgV0dqVIHL34aqxo8OoSKUllcCKn/WW25X+YI65nCw==

"@kong/kongponents@^9.0.0-alpha.156":
version "9.0.0-alpha.156"
resolved "https://registry.yarnpkg.com/@kong/kongponents/-/kongponents-9.0.0-alpha.156.tgz#3edb5c583b7e05056c50c21b6bbd8fa05fd8e576"
integrity sha512-AXBmo63qgfwtFe+xdcNdEkfyXJrH5y91yjgR3EE9EDXpTw4f2WfaFh80kbwaQVs1pkUeKcKwzDw8KFu2EGjCkQ==
"@kong/kongponents@^9.0.0-alpha.159":
version "9.0.0-alpha.159"
resolved "https://registry.yarnpkg.com/@kong/kongponents/-/kongponents-9.0.0-alpha.159.tgz#14376dd49cf28995458f0d9a85d9bfad01ea61d7"
integrity sha512-qWMMI2musAewJVt2uSZ2B9oAALD1af3FjGBO9ErXmBIN3No1x27KeKLhttk6tqFjE7JBr0rsKIr9DC2P2M+yjA==
dependencies:
"@kong/icons" "^1.9.1"
"@popperjs/core" "^2.11.8"
Expand Down

0 comments on commit 78f8ed4

Please sign in to comment.