Skip to content

Commit

Permalink
fix(deps): bump @kong/design-tokens [KHCP-8987]
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM committed Oct 17, 2023
1 parent 9613e68 commit 2bf8dc7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 33 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@cypress/vite-dev-server": "^5.0.6",
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
"@evilmartians/lefthook": "^1.5.1",
"@kong/design-tokens": "^1.11.3",
"@kong/design-tokens": "^1.11.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/inquirer": "^9.0.3",
Expand Down
24 changes: 0 additions & 24 deletions src/components/KButton/KButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,20 +170,12 @@ export default {
// TODO: [beta] remove :deep(.kong-icon) once once we remove the icon prop & slot
// enforce icon size exported by @kong/icons because it's defined by the design system
:deep(#{$kongponentsKongIconSelector}), :deep(.kong-icon) {
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
height: var(--kui-icon-size-40, $kui-icon-size-40) !important;
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
width: var(--kui-icon-size-40, $kui-icon-size-40) !important;
// TODO: [beta] remove this once once we remove the icon prop & slot
svg {
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
height: var(--kui-icon-size-40, $kui-icon-size-40) !important;
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
width: var(--kui-icon-size-40, $kui-icon-size-40) !important;
}
}
Expand Down Expand Up @@ -328,20 +320,12 @@ export default {
// TODO: [beta] remove :deep(.kong-icon) once once we remove the icon prop & slot
// enforce icon size exported by @kong/icons because it's defined by the design system
:deep(#{$kongponentsKongIconSelector}), :deep(.kong-icon) {
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
height: var(--kui-icon-size-50, $kui-icon-size-50) !important;
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
width: var(--kui-icon-size-50, $kui-icon-size-50) !important;
// TODO: [beta] remove this once once we remove the icon prop & slot
svg {
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
height: var(--kui-icon-size-50, $kui-icon-size-50) !important;
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
width: var(--kui-icon-size-50, $kui-icon-size-50) !important;
}
}
Expand All @@ -366,20 +350,12 @@ export default {
// TODO: [beta] remove :deep(.kong-icon) once once we remove the icon prop & slot
// enforce icon size exported by @kong/icons because it's defined by the design system
:deep(#{$kongponentsKongIconSelector}), :deep(.kong-icon) {
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
height: var(--kui-icon-size-30, $kui-icon-size-30) !important;
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
width: var(--kui-icon-size-30, $kui-icon-size-30) !important;
// TODO: [beta] remove this once once we remove the icon prop & slot
svg {
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
height: var(--kui-icon-size-30, $kui-icon-size-30) !important;
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
width: var(--kui-icon-size-30, $kui-icon-size-30) !important;
}
}
Expand Down
4 changes: 0 additions & 4 deletions src/components/KLabel/KLabel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ $kLabelRequiredDotSize: 6px;
.tooltip-trigger-icon {
cursor: pointer;
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
height: var(--kui-icon-size-30, $kui-icon-size-30) !important;
// override use-proper-token stylelint rule here to override the icon size
/* stylelint-disable-next-line @kong/design-tokens/use-proper-token */
width: var(--kui-icon-size-30, $kui-icon-size-30) !important;
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -763,10 +763,10 @@
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"

"@kong/design-tokens@^1.11.3":
version "1.11.3"
resolved "https://registry.yarnpkg.com/@kong/design-tokens/-/design-tokens-1.11.3.tgz#5f4891493843f777d19499bb0a43216c4f34f6e8"
integrity sha512-qBladWjD6m7KwOhdQU4jwF2n3SGvC3h5/BqUfx46KzMnWWV0Mr48kYimzYaUbk8B9SwkqTt6kruwzutSFzPS6Q==
"@kong/design-tokens@^1.11.4":
version "1.11.4"
resolved "https://registry.yarnpkg.com/@kong/design-tokens/-/design-tokens-1.11.4.tgz#ded64856a95e2cff8d79021a073ee46393f2c9af"
integrity sha512-ODuBtKZS5uoXB9k2263bb7SsgB4EXplcjXOOFymuekaSvWHeYQr2jAmHZk289LaEb4pr/A72JHZuw9DpJwvRbg==

"@kong/icons@^1.7.3":
version "1.7.3"
Expand Down

0 comments on commit 2bf8dc7

Please sign in to comment.