Skip to content

Commit b8d2901

Browse files
authored
fix(*): kongponents alpha phase 11 [KHCP-11527] (#1333)
* chore(deps): bump kongponents to preview [KHCP-11527] * fix(kcodeblock): update component usage * test(kcollapse): update selectors * test(kcodeblock): update selectors * test(*): fix component tests * chore(deps): bump @kong/kongponents * fix(entities-shared): json code block styles * chore(deps): bump @kong/kongponents * chore(*): peer deps * chore(*): peer deps
1 parent 15bf01d commit b8d2901

File tree

43 files changed

+541
-343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+541
-343
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
2626
"@evilmartians/lefthook": "^1.6.8",
2727
"@kong/design-tokens": "1.12.11",
28-
"@kong/kongponents": "9.0.0-alpha.124",
28+
"@kong/kongponents": "9.0.0-alpha.146",
2929
"@rushstack/eslint-patch": "^1.7.2",
3030
"@types/flat": "^5.0.5",
3131
"@types/js-yaml": "^4.0.9",

packages/analytics/analytics-chart/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
},
2323
"peerDependencies": {
2424
"@kong-ui-public/i18n": "workspace:^",
25-
"@kong/kongponents": "9.0.0-alpha.124",
25+
"@kong/kongponents": "^9.0.0-alpha.146",
2626
"vue": ">= 3.3.13 < 4"
2727
},
2828
"devDependencies": {
2929
"@kong-ui-public/i18n": "workspace:^",
3030
"@kong-ui-public/sandbox-layout": "workspace:^",
3131
"@kong/design-tokens": "1.12.11",
32-
"@kong/kongponents": "9.0.0-alpha.124",
32+
"@kong/kongponents": "9.0.0-alpha.146",
3333
"@types/uuid": "^9.0.8",
3434
"file-saver": "^2.0.5",
3535
"lodash.mapkeys": "^4.6.0",

packages/analytics/analytics-chart/sandbox/pages/BarChartDemo.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@
196196
v-if="dataCode"
197197
id="data-codeblock"
198198
:code="dataCode"
199-
is-searchable
200199
language="json"
200+
searchable
201201
/>
202202
</div>
203203
<br>
@@ -208,8 +208,8 @@
208208
v-if="optionsCode"
209209
id="options-codeblock"
210210
:code="optionsCode"
211-
is-searchable
212211
language="json"
212+
searchable
213213
/>
214214
</div>
215215
</SandboxLayout>

packages/analytics/analytics-chart/sandbox/pages/ChartDemoSimple.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@
202202
v-if="dataCode"
203203
id="data-codeblock"
204204
:code="dataCode"
205-
is-searchable
206205
language="json"
206+
searchable
207207
/>
208208
</div>
209209
<br>
@@ -214,8 +214,8 @@
214214
v-if="optionsCode"
215215
id="options-codeblock"
216216
:code="optionsCode"
217-
is-searchable
218217
language="json"
218+
searchable
219219
/>
220220
</div>
221221
</SandboxLayout>

packages/analytics/analytics-chart/sandbox/pages/DonutChartDemo.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@
133133
v-if="dataCode"
134134
id="data-codeblock"
135135
:code="dataCode"
136-
is-searchable
137136
language="json"
137+
searchable
138138
/>
139139
</div>
140140
<br>
@@ -145,8 +145,8 @@
145145
v-if="optionsCode"
146146
id="options-codeblock"
147147
:code="optionsCode"
148-
is-searchable
149148
language="json"
149+
searchable
150150
/>
151151
</div>
152152
</SandboxLayout>

packages/analytics/analytics-chart/sandbox/pages/TimeSeriesChartDemo.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@
213213
v-if="dataCode"
214214
id="data-codeblock"
215215
:code="dataCode"
216-
is-searchable
217216
language="json"
217+
searchable
218218
/>
219219
</div>
220220
<br>
@@ -225,8 +225,8 @@
225225
v-if="optionsCode"
226226
id="options-codeblock"
227227
:code="optionsCode"
228-
is-searchable
229228
language="json"
229+
searchable
230230
/>
231231
</div>
232232
</SandboxLayout>

packages/analytics/analytics-metric-provider/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@kong-ui-public/analytics-config-store": "workspace:^",
6666
"@kong-ui-public/analytics-utilities": "workspace:^",
6767
"@kong-ui-public/i18n": "workspace:^",
68-
"@kong/kongponents": "9.0.0-alpha.124",
68+
"@kong/kongponents": "9.0.0-alpha.146",
6969
"pinia": ">= 2.1.7 < 3"
7070
}
7171
}

packages/analytics/dashboard-renderer/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@kong-ui-public/i18n": "workspace:^",
4747
"@kong-ui-public/sandbox-layout": "workspace:^",
4848
"@kong/design-tokens": "1.12.11",
49-
"@kong/kongponents": "9.0.0-alpha.124",
49+
"@kong/kongponents": "9.0.0-alpha.146",
5050
"json-schema-to-ts": "^3.0.1",
5151
"pinia": ">= 2.1.7 < 3",
5252
"swrv": "^1.0.4",
@@ -75,7 +75,7 @@
7575
"@kong-ui-public/analytics-metric-provider": "workspace:^",
7676
"@kong-ui-public/analytics-utilities": "workspace:^",
7777
"@kong-ui-public/i18n": "workspace:^",
78-
"@kong/kongponents": "9.0.0-alpha.124",
78+
"@kong/kongponents": "^9.0.0-alpha.146",
7979
"swrv": "^1.0.4",
8080
"vue": ">= 3.3.13 < 4"
8181
},

packages/analytics/dashboard-renderer/sandbox/pages/DynamicDashboardDemo.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<KCodeBlock
1010
id="data-codeblock"
1111
:code="JSON.stringify(definition, null, 2)"
12-
is-searchable
1312
language="json"
13+
searchable
1414
/>
1515
</template>
1616
<div class="sandbox-container">

packages/analytics/metric-cards/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
"test:unit:open": "cross-env FORCE_COLOR=1 vitest --ui"
4040
},
4141
"peerDependencies": {
42-
"@kong/kongponents": "9.0.0-alpha.124",
42+
"@kong/kongponents": "^9.0.0-alpha.146",
4343
"vue": ">= 3.3.13 < 4"
4444
},
4545
"devDependencies": {
4646
"@kong/design-tokens": "1.12.11",
47-
"@kong/kongponents": "9.0.0-alpha.124",
47+
"@kong/kongponents": "9.0.0-alpha.146",
4848
"vue": "^3.4.21"
4949
},
5050
"dependencies": {

packages/core/app-layout/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"test:unit:open": "cross-env FORCE_COLOR=1 vitest --ui"
4040
},
4141
"peerDependencies": {
42-
"@kong/kongponents": "9.0.0-alpha.124",
42+
"@kong/kongponents": "^9.0.0-alpha.146",
4343
"vue": ">= 3.3.13 < 4",
4444
"vue-router": "^4.3.0"
4545
},
@@ -51,7 +51,7 @@
5151
},
5252
"devDependencies": {
5353
"@kong/design-tokens": "1.12.11",
54-
"@kong/kongponents": "9.0.0-alpha.124",
54+
"@kong/kongponents": "9.0.0-alpha.146",
5555
"@types/lodash.clonedeep": "^4.5.9",
5656
"vue": "^3.4.21",
5757
"vue-router": "^4.3.0"

packages/core/documentation/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
},
4646
"peerDependencies": {
4747
"@kong-ui-public/i18n": "workspace:^",
48-
"@kong/kongponents": "9.0.0-alpha.124",
48+
"@kong/kongponents": "^9.0.0-alpha.146",
4949
"vue": "^3.4.21"
5050
},
5151
"devDependencies": {
5252
"@kong-ui-public/i18n": "workspace:^",
5353
"@kong/design-tokens": "1.12.11",
54-
"@kong/kongponents": "9.0.0-alpha.124",
54+
"@kong/kongponents": "9.0.0-alpha.146",
5555
"axios": "^1.6.8",
5656
"vue": ">= 3.3.13 < 4"
5757
},

packages/core/expressions/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"devDependencies": {
4242
"@kong/atc-router": "1.6.0-rc.1",
4343
"@kong/design-tokens": "1.12.11",
44-
"@kong/kongponents": "9.0.0-alpha.124",
44+
"@kong/kongponents": "9.0.0-alpha.146",
4545
"monaco-editor": "0.47.0",
4646
"vite-plugin-monaco-editor": "^1.1.0",
4747
"vite-plugin-top-level-await": "^1.4.1",

packages/core/forms/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@
5656
},
5757
"peerDependencies": {
5858
"@kong-ui-public/i18n": "workspace:^",
59-
"@kong/kongponents": "9.0.0-alpha.124",
59+
"@kong/kongponents": "^9.0.0-alpha.146",
6060
"vue": "^3.4.21"
6161
},
6262
"devDependencies": {
6363
"@kong-ui-public/i18n": "workspace:^",
6464
"@kong/design-tokens": "1.12.11",
65-
"@kong/kongponents": "9.0.0-alpha.124",
65+
"@kong/kongponents": "9.0.0-alpha.146",
6666
"@types/lodash": "^4.14.202",
6767
"pug": "^3.0.2"
6868
},

packages/core/misc-widgets/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
},
4141
"peerDependencies": {
4242
"@kong-ui-public/i18n": "workspace:^",
43-
"@kong/kongponents": "9.0.0-alpha.124",
43+
"@kong/kongponents": "^9.0.0-alpha.146",
4444
"vue": ">= 3.3.13 < 4"
4545
},
4646
"devDependencies": {
4747
"@kong-ui-public/i18n": "workspace:^",
48-
"@kong/kongponents": "9.0.0-alpha.124",
48+
"@kong/kongponents": "9.0.0-alpha.146",
4949
"vue": "^3.4.21"
5050
},
5151
"repository": {

packages/core/sandbox-layout/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"devDependencies": {
4242
"@kong/design-tokens": "1.12.11",
43-
"@kong/kongponents": "9.0.0-alpha.124",
43+
"@kong/kongponents": "9.0.0-alpha.146",
4444
"vue": "^3.4.21",
4545
"vue-router": "^4.3.0"
4646
},
@@ -62,7 +62,7 @@
6262
"errorLimit": "200KB"
6363
},
6464
"peerDependencies": {
65-
"@kong/kongponents": "9.0.0-alpha.124",
65+
"@kong/kongponents": "^9.0.0-alpha.146",
6666
"vue": ">= 3.3.13 < 4"
6767
},
6868
"dependencies": {

packages/entities/entities-certificates/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
},
2323
"peerDependencies": {
2424
"@kong-ui-public/i18n": "workspace:^",
25-
"@kong/kongponents": "9.0.0-alpha.124",
25+
"@kong/kongponents": "^9.0.0-alpha.146",
2626
"axios": "^1.6.8",
2727
"vue": ">= 3.3.13 < 4",
2828
"vue-router": "^4.3.0"
2929
},
3030
"devDependencies": {
3131
"@kong-ui-public/i18n": "workspace:^",
3232
"@kong/design-tokens": "1.12.11",
33-
"@kong/kongponents": "9.0.0-alpha.124",
33+
"@kong/kongponents": "9.0.0-alpha.146",
3434
"axios": "^1.6.8",
3535
"vue": "^3.4.21",
3636
"vue-router": "^4.3.0"

packages/entities/entities-certificates/src/components/CACertificateConfigCard.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
v-if="getPropValue('rowValue', slotProps)"
1616
:id="`ca-cert-${config.entityId}-cert-codeblock`"
1717
:code="getPropValue('rowValue', slotProps)"
18-
is-single-line
1918
language="plaintext"
19+
single-line
2020
/>
2121
</template>
2222
<template #metadata-label>

packages/entities/entities-certificates/src/components/CertificateConfigCard.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
v-if="getPropValue('rowValue', slotProps)"
2626
:id="`certificate-${config.entityId}-cert-codeblock`"
2727
:code="getPropValue('rowValue', slotProps)"
28-
is-single-line
2928
language="plaintext"
29+
single-line
3030
/>
3131
</template>
3232
<template #key-label-tooltip>
@@ -98,8 +98,8 @@
9898
v-if="getPropValue('rowValue', slotProps)"
9999
:id="`certificate-${config.entityId}-cert-alt-codeblock`"
100100
:code="getPropValue('rowValue', slotProps)"
101-
is-single-line
102101
language="plaintext"
102+
single-line
103103
/>
104104
</template>
105105

packages/entities/entities-consumer-credentials/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
},
2323
"peerDependencies": {
2424
"@kong-ui-public/i18n": "workspace:^",
25-
"@kong/kongponents": "9.0.0-alpha.124",
25+
"@kong/kongponents": "^9.0.0-alpha.146",
2626
"axios": "^1.6.8",
2727
"vue": ">= 3.3.13 < 4",
2828
"vue-router": "^4.3.0"
2929
},
3030
"devDependencies": {
3131
"@kong-ui-public/i18n": "workspace:^",
3232
"@kong/design-tokens": "1.12.11",
33-
"@kong/kongponents": "9.0.0-alpha.124",
33+
"@kong/kongponents": "9.0.0-alpha.146",
3434
"axios": "^1.6.8",
3535
"vue": "^3.4.21",
3636
"vue-router": "^4.3.0"

packages/entities/entities-consumer-groups/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
},
2323
"peerDependencies": {
2424
"@kong-ui-public/i18n": "workspace:^",
25-
"@kong/kongponents": "9.0.0-alpha.124",
25+
"@kong/kongponents": "^9.0.0-alpha.146",
2626
"axios": "^1.6.8",
2727
"vue": ">= 3.3.13 < 4",
2828
"vue-router": "^4.3.0"
2929
},
3030
"devDependencies": {
3131
"@kong-ui-public/i18n": "workspace:^",
3232
"@kong/design-tokens": "1.12.11",
33-
"@kong/kongponents": "9.0.0-alpha.124",
33+
"@kong/kongponents": "9.0.0-alpha.146",
3434
"axios": "^1.6.8",
3535
"vue": "^3.4.21",
3636
"vue-router": "^4.3.0"

packages/entities/entities-consumers/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
},
2323
"peerDependencies": {
2424
"@kong-ui-public/i18n": "workspace:^",
25-
"@kong/kongponents": "9.0.0-alpha.124",
25+
"@kong/kongponents": "^9.0.0-alpha.146",
2626
"axios": "^1.6.8",
2727
"vue": ">= 3.3.13 < 4",
2828
"vue-router": "^4.3.0"
2929
},
3030
"devDependencies": {
3131
"@kong-ui-public/i18n": "workspace:^",
3232
"@kong/design-tokens": "1.12.11",
33-
"@kong/kongponents": "9.0.0-alpha.124",
33+
"@kong/kongponents": "9.0.0-alpha.146",
3434
"axios": "^1.6.8",
3535
"vue": "^3.4.21",
3636
"vue-router": "^4.3.0"

packages/entities/entities-gateway-services/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
},
2323
"peerDependencies": {
2424
"@kong-ui-public/i18n": "workspace:^",
25-
"@kong/kongponents": "9.0.0-alpha.124",
25+
"@kong/kongponents": "^9.0.0-alpha.146",
2626
"axios": "^1.6.8",
2727
"vue": ">= 3.3.13 < 4",
2828
"vue-router": "^4.3.0"
2929
},
3030
"devDependencies": {
3131
"@kong-ui-public/i18n": "workspace:^",
3232
"@kong/design-tokens": "1.12.11",
33-
"@kong/kongponents": "9.0.0-alpha.124",
33+
"@kong/kongponents": "9.0.0-alpha.146",
3434
"axios": "^1.6.8",
3535
"vue": "^3.4.21",
3636
"vue-router": "^4.3.0"

0 commit comments

Comments
 (0)