From 2bf8dc722a00aa1f2fb97aedd2fc6a720f448f09 Mon Sep 17 00:00:00 2001 From: portikM Date: Tue, 17 Oct 2023 16:25:54 -0400 Subject: [PATCH] fix(deps): bump @kong/design-tokens [KHCP-8987] --- package.json | 2 +- src/components/KButton/KButton.vue | 24 ------------------------ src/components/KLabel/KLabel.vue | 4 ---- yarn.lock | 8 ++++---- 4 files changed, 5 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 47a7d04350..9099a06573 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/KButton/KButton.vue b/src/components/KButton/KButton.vue index 7fd890397f..c978ad545f 100644 --- a/src/components/KButton/KButton.vue +++ b/src/components/KButton/KButton.vue @@ -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; } } @@ -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; } } @@ -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; } } diff --git a/src/components/KLabel/KLabel.vue b/src/components/KLabel/KLabel.vue index c81bfa29a8..e94b8a2c3c 100644 --- a/src/components/KLabel/KLabel.vue +++ b/src/components/KLabel/KLabel.vue @@ -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; } diff --git a/yarn.lock b/yarn.lock index e3104548d8..4920ccb19b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"