@koobiq/components 18.5.3 → 18.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/accordion/_accordion-theme.scss +3 -3
  2. package/alert/_alert-theme.scss +3 -3
  3. package/badge/_badge-theme.scss +8 -4
  4. package/badge/badge-tokens.scss +8 -0
  5. package/badge/badge.component.d.ts +1 -0
  6. package/button/_button-theme.scss +2 -2
  7. package/button-toggle/_button-toggle-theme.scss +1 -1
  8. package/checkbox/_checkbox-theme.scss +4 -4
  9. package/checkbox/checkbox-tokens.scss +4 -4
  10. package/code-block/_code-block-theme.scss +4 -4
  11. package/core/forms/_forms-theme.scss +1 -1
  12. package/core/option/_optgroup-theme.scss +2 -2
  13. package/core/option/_option-action-theme.scss +1 -1
  14. package/core/option/_option-theme.scss +2 -2
  15. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +4 -4
  16. package/core/styles/theming/_theming.scss +2 -42
  17. package/core/styles/typography/_typography.scss +120 -159
  18. package/core/styles/visual/_layout.scss +1 -1
  19. package/datepicker/_datepicker-theme.scss +2 -2
  20. package/dl/_dl-theme.scss +2 -2
  21. package/dl/dl-tokens.scss +2 -2
  22. package/dropdown/_dropdown-theme.scss +8 -4
  23. package/empty-state/_empty-state-theme.scss +4 -4
  24. package/esm2022/badge/badge.component.mjs +4 -3
  25. package/esm2022/button/button.component.mjs +2 -2
  26. package/esm2022/checkbox/checkbox.mjs +2 -2
  27. package/esm2022/code-block/code-block.component.mjs +2 -2
  28. package/esm2022/core/option/action.mjs +2 -2
  29. package/esm2022/core/option/optgroup.mjs +2 -2
  30. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  31. package/esm2022/core/version.mjs +2 -2
  32. package/esm2022/dl/dl.component.mjs +2 -2
  33. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  34. package/esm2022/icon/icon-button.component.mjs +2 -2
  35. package/esm2022/markdown/markdown.component.mjs +2 -2
  36. package/esm2022/select/select.component.mjs +3 -3
  37. package/esm2022/splitter/splitter.component.mjs +3 -3
  38. package/esm2022/timezone/timezone-select.component.mjs +2 -2
  39. package/esm2022/toggle/toggle.component.mjs +3 -3
  40. package/esm2022/tree-select/tree-select.component.mjs +3 -3
  41. package/fesm2022/koobiq-components-badge.mjs +3 -2
  42. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  43. package/fesm2022/koobiq-components-button.mjs +2 -2
  44. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  45. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  46. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  47. package/fesm2022/koobiq-components-code-block.mjs +2 -2
  48. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  49. package/fesm2022/koobiq-components-core.mjs +7 -7
  50. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  51. package/fesm2022/koobiq-components-dl.mjs +2 -2
  52. package/fesm2022/koobiq-components-dropdown.mjs +2 -2
  53. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  54. package/fesm2022/koobiq-components-icon.mjs +2 -2
  55. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  56. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  57. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  58. package/fesm2022/koobiq-components-select.mjs +2 -2
  59. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  60. package/fesm2022/koobiq-components-splitter.mjs +2 -2
  61. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  62. package/fesm2022/koobiq-components-timezone.mjs +2 -2
  63. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  64. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  65. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  66. package/fesm2022/koobiq-components-tree-select.mjs +2 -2
  67. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  68. package/file-upload/_file-upload-theme.scss +7 -7
  69. package/form-field/_form-field-theme.scss +2 -2
  70. package/form-field/_hint-theme.scss +2 -2
  71. package/icon/_icon-button-theme.scss +2 -2
  72. package/input/_input-theme.scss +2 -2
  73. package/link/_link-theme.scss +3 -3
  74. package/list/_list-theme.scss +2 -2
  75. package/loader-overlay/_loader-overlay-theme.scss +4 -4
  76. package/markdown/_markdown-theme.scss +9 -9
  77. package/markdown/markdown-tokens.scss +23 -23
  78. package/modal/_modal-theme.scss +2 -2
  79. package/navbar/_navbar-theme.scss +2 -2
  80. package/package.json +6 -6
  81. package/popover/_popover-theme.scss +2 -2
  82. package/prebuilt-themes/dark-theme.css +1 -1
  83. package/prebuilt-themes/light-theme.css +1 -1
  84. package/prebuilt-themes/theme.css +1 -1
  85. package/progress-bar/_progress-bar-theme.scss +2 -2
  86. package/progress-spinner/_progress-spinner-theme.scss +2 -2
  87. package/radio/_radio-theme.scss +4 -4
  88. package/risk-level/_risk-level-theme.scss +1 -1
  89. package/schematics/collection.json +12 -2
  90. package/schematics/migrations/css-selectors/data.js +65 -0
  91. package/schematics/migrations/css-selectors/index.js +103 -0
  92. package/schematics/migrations/css-selectors/schema.json +25 -0
  93. package/schematics/migrations/deprecated-icons/data.js +1580 -0
  94. package/schematics/migrations/deprecated-icons/index.js +96 -0
  95. package/schematics/{new-icons-pack → migrations/new-icons-pack}/index.js +13 -29
  96. package/schematics/migrations/new-icons-pack/schema.json +25 -0
  97. package/schematics/ng-add/index.js +5 -5
  98. package/schematics/utils/package-config.js +6 -60
  99. package/select/_select-theme.scss +5 -5
  100. package/sidepanel/_sidepanel-theme.scss +2 -2
  101. package/splitter/_splitter-theme.scss +1 -1
  102. package/table/_table-theme.scss +2 -2
  103. package/tabs/_tabs-theme.scss +1 -1
  104. package/tags/_tag-theme.scss +2 -2
  105. package/textarea/_textarea-theme.scss +1 -1
  106. package/timezone/_timezone-option-theme.scss +4 -4
  107. package/toast/_toast-theme.scss +2 -2
  108. package/toggle/_toggle-theme.scss +5 -5
  109. package/tooltip/_tooltip-theme.scss +2 -2
  110. package/tree/_tree-theme.scss +2 -2
  111. package/tree-select/_tree-select-theme.scss +3 -3
  112. /package/schematics/{new-icons-pack → migrations/deprecated-icons}/schema.json +0 -0
  113. /package/schematics/{new-icons-pack → migrations/new-icons-pack}/data.js +0 -0
@@ -0,0 +1,96 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var path = require('path');
6
+ var utils_packageConfig = require('../../package-config-D0ROjo4J.js');
7
+ var migrations_deprecatedIcons_data = require('./data.js');
8
+ require('@angular-devkit/schematics');
9
+ require('@schematics/angular/utility');
10
+
11
+ function _interopNamespaceDefault(e) {
12
+ var n = Object.create(null);
13
+ if (e) {
14
+ Object.keys(e).forEach(function (k) {
15
+ if (k !== 'default') {
16
+ var d = Object.getOwnPropertyDescriptor(e, k);
17
+ Object.defineProperty(n, k, d.get ? d : {
18
+ enumerable: true,
19
+ get: function () { return e[k]; }
20
+ });
21
+ }
22
+ });
23
+ }
24
+ n.default = e;
25
+ return Object.freeze(n);
26
+ }
27
+
28
+ var path__namespace = /*#__PURE__*/_interopNamespaceDefault(path);
29
+
30
+ const iconsFontImportRule = "@use '@koobiq/icons/fonts/kbq-icons';";
31
+ function deprecatedIcons(options) {
32
+ let targetDir;
33
+ return async (tree, context) => {
34
+ const { project, fix, stylesExt } = options;
35
+ try {
36
+ const projectDefinition = await utils_packageConfig.setupOptions(project, tree);
37
+ targetDir = projectDefinition ? tree.getDir(projectDefinition.root) : tree;
38
+ }
39
+ catch (e) {
40
+ targetDir = tree;
41
+ }
42
+ const { logger } = context;
43
+ const handleDeprecatedIcons = (newContent, filePath) => {
44
+ if (fix) {
45
+ migrations_deprecatedIcons_data.iconsMapping.forEach(({ replace, replaceWith }) => {
46
+ newContent = newContent.replace(new RegExp(`kbq-${replace}`, 'g'), `kbq-${replaceWith}`);
47
+ });
48
+ }
49
+ else {
50
+ const foundIcons = migrations_deprecatedIcons_data.iconsMapping.filter(({ replace }) => newContent.indexOf(replace) !== -1);
51
+ if (foundIcons.length) {
52
+ const parsedFilePath = path__namespace.relative(__dirname, `.${filePath}`).replace(/\\/g, '/');
53
+ utils_packageConfig.logMessage(logger, [
54
+ `Please pay attention! Found deprecated icons in file: `,
55
+ parsedFilePath,
56
+ foundIcons.map(({ replace, replaceWith }) => `\t${replace} -> \t${replaceWith}`).join('\n')
57
+ ]);
58
+ }
59
+ }
60
+ return newContent;
61
+ };
62
+ // Update styles, templates & components
63
+ targetDir.visit((filePath, entry) => {
64
+ let initialContent;
65
+ // if project property not provided, skip files in node_modules & dist
66
+ if (filePath.includes('node_modules') || filePath.includes('dist')) {
67
+ return;
68
+ }
69
+ if (filePath.endsWith('.html') || filePath.endsWith('.ts') || filePath.endsWith(stylesExt)) {
70
+ initialContent = entry?.content.toString();
71
+ let newContent = initialContent;
72
+ if (newContent) {
73
+ migrations_deprecatedIcons_data.iconClassReplacements.forEach(({ replace, replaceWith }) => {
74
+ newContent = newContent.replace(new RegExp(replace, 'g'), replaceWith);
75
+ });
76
+ newContent = handleDeprecatedIcons(newContent, filePath);
77
+ if (initialContent !== newContent) {
78
+ tree.overwrite(filePath, newContent || '');
79
+ }
80
+ }
81
+ }
82
+ });
83
+ // check if icon styles from new scope should be included in styles file
84
+ targetDir.visit((filePath, entry) => {
85
+ if (filePath.endsWith(stylesExt) && !entry?.content.toString()?.includes(iconsFontImportRule)) {
86
+ const parsedFilePath = path__namespace.relative(__dirname, `.${filePath}`).replace(/\\/g, '/');
87
+ utils_packageConfig.logMessage(logger, [
88
+ parsedFilePath,
89
+ `Provide \`${iconsFontImportRule}\` to support icon styles from new scope`
90
+ ]);
91
+ }
92
+ });
93
+ };
94
+ }
95
+
96
+ exports.default = deprecatedIcons;
@@ -2,10 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chalk = require('chalk');
6
5
  var path = require('path');
7
- var utils_packageConfig = require('../utils/package-config.js');
8
- var newIconsPack_data = require('./data.js');
6
+ var utils_packageConfig = require('../../package-config-D0ROjo4J.js');
7
+ var migrations_newIconsPack_data = require('./data.js');
9
8
  require('@angular-devkit/schematics');
10
9
  require('@schematics/angular/utility');
11
10
 
@@ -28,12 +27,9 @@ function _interopNamespaceDefault(e) {
28
27
 
29
28
  var path__namespace = /*#__PURE__*/_interopNamespaceDefault(path);
30
29
 
31
- const { italic, blue, bold } = chalk;
32
- const data = newIconsPack_data.newIconsPackData;
30
+ const data = migrations_newIconsPack_data.newIconsPackData;
33
31
  function newIconsPack(options) {
34
32
  let targetDir;
35
- const breakingIconsVersionRegExp = /^\^|\~?9\.1\.0/;
36
- const pkg = '@koobiq/icons';
37
33
  return async (tree, context) => {
38
34
  const { project, fix, stylesExt } = options;
39
35
  try {
@@ -44,7 +40,7 @@ function newIconsPack(options) {
44
40
  targetDir = tree;
45
41
  }
46
42
  const { logger } = context;
47
- const handleDeprecatedIcons = (newContent, path) => {
43
+ const handleDeprecatedIcons = (newContent, filePath) => {
48
44
  if (fix) {
49
45
  data.forEach(({ replace, replaceWith }) => {
50
46
  newContent = newContent.replace(new RegExp(`kbq-${replace}`, 'g'), `kbq-${replaceWith}`);
@@ -53,32 +49,27 @@ function newIconsPack(options) {
53
49
  else {
54
50
  const foundIcons = data.filter(({ replace }) => newContent.indexOf(replace) !== -1);
55
51
  if (foundIcons.length) {
56
- showWarning(path, foundIcons, logger);
52
+ const parsedFilePath = path__namespace.relative(__dirname, `.${filePath}`).replace(/\\/g, '/');
53
+ utils_packageConfig.logMessage(logger, [
54
+ `Please pay attention! Found deprecated icons in file: `,
55
+ parsedFilePath,
56
+ foundIcons.map(({ replace, replaceWith }) => `\t${replace} -> \t${replaceWith}`).join('\n')
57
+ ]);
57
58
  }
58
59
  }
59
60
  return newContent;
60
61
  };
61
- // Check if breaking version is used indeed
62
- if (tree.exists('package.json')) {
63
- const sourceText = tree.read('package.json').toString('utf-8');
64
- const json = JSON.parse(sourceText);
65
- const isIconsBreakingVersionUsed = ['devDependencies', 'dependencies', 'peerDependencies'].some((type) => json[type] && json[type][pkg] && breakingIconsVersionRegExp.test(json[type][pkg]));
66
- if (!isIconsBreakingVersionUsed) {
67
- logger.warn('Breaking version of icons is not used. Everything is OK.');
68
- return;
69
- }
70
- }
71
62
  // Update templates & components
72
63
  targetDir.visit((path, entry) => {
73
- // if project property not provided, provide node_modules to be changed
74
- if (path.includes('node_modules')) {
64
+ // if project property not provided, skip files in node_modules & dist
65
+ if (path.includes('node_modules') || path.includes('dist')) {
75
66
  return;
76
67
  }
77
68
  if (path.endsWith('.html') || path.endsWith('.ts') || path.endsWith('.md')) {
78
69
  const initialContent = entry?.content.toString();
79
70
  let newContent = initialContent;
80
71
  if (newContent) {
81
- newIconsPack_data.iconReplacements.forEach(({ replace, replaceWith }) => {
72
+ migrations_newIconsPack_data.iconReplacements.forEach(({ replace, replaceWith }) => {
82
73
  newContent = newContent.replace(new RegExp(replace, 'g'), replaceWith);
83
74
  });
84
75
  newContent = handleDeprecatedIcons(newContent, path);
@@ -109,12 +100,5 @@ function newIconsPack(options) {
109
100
  });
110
101
  };
111
102
  }
112
- function showWarning(filePath, foundIcons, logger) {
113
- logger.warn('-------------------------');
114
- logger.warn(`Please pay attention! Found deprecated icons in file: `);
115
- logger.info(`${bold(italic(blue(path__namespace.resolve(`.${filePath}`))))}`);
116
- logger.warn(foundIcons.map(({ replace, replaceWith }) => `\t${replace} -> \t${replaceWith}`).join('\n'));
117
- logger.warn('-------------------------');
118
- }
119
103
 
120
104
  exports.default = newIconsPack;
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "koobiq-components-new-icons-pack",
4
+ "title": "koobiq-components new-icons-pack schematic",
5
+ "type": "object",
6
+ "properties": {
7
+ "project": {
8
+ "type": "string",
9
+ "description": "Name of the project",
10
+ "$default": {
11
+ "$source": "projectName"
12
+ }
13
+ },
14
+ "fix": {
15
+ "type": "boolean",
16
+ "description": "Whether overwrite icons prefixes or simply inform in console",
17
+ "default": false
18
+ },
19
+ "stylesExt": {
20
+ "type": "string",
21
+ "description": "Use this option to specify styles extension preferred in your project",
22
+ "default": "scss"
23
+ }
24
+ }
25
+ }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var schematics = require('@angular-devkit/schematics');
6
6
  var utility = require('@schematics/angular/utility');
7
- var utils_packageConfig = require('../utils/package-config.js');
7
+ var utils_packageConfig = require('../package-config-D0ROjo4J.js');
8
8
 
9
9
  function noProject(project) {
10
10
  return `Unable to find project '${project}' in the workspace`;
@@ -41,13 +41,13 @@ function ngAdd(options) {
41
41
  }
42
42
  // Installing dependencies
43
43
  utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.6");
44
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.5.3");
45
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.5.3");
44
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.7.0");
45
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.7.0");
46
46
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.1.3");
47
47
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.1.3");
48
48
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^9.1.0");
49
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.7.3");
50
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.7.3");
49
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.8.1");
50
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.8.1");
51
51
  utils_packageConfig.addPackageToPackageJson(tree, '@messageformat/core', "^3.0.1");
52
52
  utils_packageConfig.addPackageToPackageJson(tree, '@radix-ng/primitives', VERSIONS.RADIX_NG);
53
53
  utils_packageConfig.addPackageToPackageJson(tree, 'luxon', "^3.4.4");
@@ -1,65 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var schematics = require('@angular-devkit/schematics');
4
- var utility = require('@schematics/angular/utility');
3
+ require('@angular-devkit/schematics');
4
+ require('@schematics/angular/utility');
5
+ var utils_packageConfig = require('../package-config-D0ROjo4J.js');
5
6
 
6
- function noProject(project) {
7
- return `Unable to find project '${project}' in the workspace`;
8
- }
9
7
 
10
- /**
11
- * Sorts the keys of the given object.
12
- * @returns A new object instance with sorted keys
13
- */
14
- function sortObjectByKeys(obj) {
15
- return Object.keys(obj)
16
- .sort()
17
- .reduce((result, key) => (result[key] = obj[key]) && result, {});
18
- }
19
- /**
20
- * Adds a package to the package.json in the given tree
21
- */
22
- function addPackageToPackageJson(tree, pkg, version, devDependency = false) {
23
- if (tree.exists('package.json')) {
24
- const sourceText = tree.read('package.json').toString('utf-8');
25
- const json = JSON.parse(sourceText);
26
- const dependenciesType = devDependency ? 'devDependencies' : 'dependencies';
27
- const dependencies = json[dependenciesType] || {};
28
- if (!dependencies[pkg]) {
29
- dependencies[pkg] = version;
30
- json[dependenciesType] = sortObjectByKeys(dependencies);
31
- }
32
- tree.overwrite('package.json', JSON.stringify(json, null, 2));
33
- }
34
- return tree;
35
- }
36
- /**
37
- * Gets the version of the specified package by looking at the package.json in the given tree
38
- */
39
- function getPackageVersionFromPackageJson(tree, name, includeDevDependencies = false) {
40
- if (!tree.exists('package.json')) {
41
- return null;
42
- }
43
- const packageJson = JSON.parse(tree.read('package.json').toString('utf8'));
44
- if (packageJson.dependencies && packageJson.dependencies[name]) {
45
- return packageJson.dependencies[name];
46
- }
47
- if (includeDevDependencies && packageJson.devDependencies && packageJson.devDependencies[name]) {
48
- return packageJson.devDependencies[name];
49
- }
50
- return null;
51
- }
52
- async function setupOptions(project, tree) {
53
- if (project) {
54
- const workspace = await utility.readWorkspace(tree);
55
- const projectWorkspace = workspace.projects.get(project);
56
- if (!projectWorkspace) {
57
- throw new schematics.SchematicsException(noProject(project));
58
- }
59
- return projectWorkspace;
60
- }
61
- }
62
8
 
63
- exports.addPackageToPackageJson = addPackageToPackageJson;
64
- exports.getPackageVersionFromPackageJson = getPackageVersionFromPackageJson;
65
- exports.setupOptions = setupOptions;
9
+ exports.addPackageToPackageJson = utils_packageConfig.addPackageToPackageJson;
10
+ exports.getPackageVersionFromPackageJson = utils_packageConfig.getPackageVersionFromPackageJson;
11
+ exports.setupOptions = utils_packageConfig.setupOptions;
@@ -11,14 +11,14 @@
11
11
  }
12
12
 
13
13
  &.kbq-disabled {
14
- color: var(--kbq-foreground-text-disabled);
14
+ color: var(--kbq-states-foreground-disabled);
15
15
  }
16
16
  }
17
17
 
18
18
  .kbq-select__placeholder {
19
19
  text-overflow: ellipsis;
20
20
 
21
- color: var(--kbq-foreground-text-disabled);
21
+ color: var(--kbq-states-foreground-disabled);
22
22
  }
23
23
 
24
24
  .kbq-select__panel {
@@ -35,16 +35,16 @@
35
35
  }
36
36
 
37
37
  .kbq-select__no-options-message {
38
- color: var(--kbq-foreground-text-less-contrast);
38
+ color: var(--kbq-foreground-contrast-secondary);
39
39
  }
40
40
  }
41
41
 
42
42
  @mixin kbq-select-typography() {
43
43
  .kbq-select {
44
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
44
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
45
45
  }
46
46
 
47
47
  .kbq-select__panel {
48
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
48
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
49
49
  }
50
50
  }
@@ -19,11 +19,11 @@
19
19
 
20
20
  @mixin kbq-sidepanel-typography() {
21
21
  .kbq-sidepanel-title {
22
- @include kbq-typography-level-to-styles_css-variables(typography, title);
22
+ @include kbq-typography-level-to-styles-css-variables(typography, title);
23
23
  }
24
24
 
25
25
  .kbq-sidepanel-container,
26
26
  .kbq-sidepanel-footer {
27
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
27
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
28
28
  }
29
29
  }
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  &[disabled] {
17
- background-color: var(--kbq-background-background-disabled);
17
+ background-color: var(--kbq-states-background-disabled);
18
18
 
19
19
  cursor: default;
20
20
  }
@@ -41,7 +41,7 @@
41
41
  font-weight: normal;
42
42
  }
43
43
 
44
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
44
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
45
45
  }
46
46
 
47
47
  & > tbody {
@@ -49,7 +49,7 @@
49
49
  font-weight: normal;
50
50
  }
51
51
 
52
- @include kbq-typography-level-to-styles_css-variables(typography, tabular-normal);
52
+ @include kbq-typography-level-to-styles-css-variables(typography, tabular-normal);
53
53
  }
54
54
  }
55
55
  }
@@ -151,6 +151,6 @@
151
151
  @mixin kbq-tabs-typography() {
152
152
  .kbq-tab-label,
153
153
  .kbq-tab-link {
154
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal-medium);
154
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal-medium);
155
155
  }
156
156
  }
@@ -55,10 +55,10 @@
55
55
 
56
56
  @mixin kbq-tag-typography() {
57
57
  .kbq-tag {
58
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal-medium);
58
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal-medium);
59
59
  }
60
60
 
61
61
  .kbq-tag-input {
62
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
62
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
63
63
  }
64
64
  }
@@ -2,6 +2,6 @@
2
2
 
3
3
  @mixin kbq-textarea-typography() {
4
4
  .kbq-textarea {
5
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
5
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
6
6
  }
7
7
  }
@@ -17,18 +17,18 @@
17
17
 
18
18
  @mixin kbq-timezone-option-typography() {
19
19
  .kbq-timezone-option__offset {
20
- @include kbq-typography-level-to-styles_css-variables(typography, tabular-normal);
20
+ @include kbq-typography-level-to-styles-css-variables(typography, tabular-normal);
21
21
  }
22
22
 
23
23
  .kbq-timezone-option__city {
24
- @include kbq-typography-level-to-styles_css-variables(typography, tabular-normal);
24
+ @include kbq-typography-level-to-styles-css-variables(typography, tabular-normal);
25
25
  }
26
26
 
27
27
  .kbq-timezone-option__cities {
28
- @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
28
+ @include kbq-typography-level-to-styles-css-variables(typography, text-compact);
29
29
  }
30
30
 
31
31
  .kbq-timezone-select__panel.kbq-select__panel .kbq-optgroup-label {
32
- @include kbq-typography-level-to-styles_css-variables(typography, caps-compact-strong);
32
+ @include kbq-typography-level-to-styles-css-variables(typography, caps-compact-strong);
33
33
  }
34
34
  }
@@ -36,10 +36,10 @@
36
36
 
37
37
  @mixin kbq-toast-typography() {
38
38
  .kbq-toast {
39
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
39
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
40
40
  }
41
41
 
42
42
  .kbq-toast__title {
43
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
43
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
44
44
  }
45
45
  }
@@ -61,17 +61,17 @@
61
61
  }
62
62
 
63
63
  &.kbq-disabled {
64
- color: var(--kbq-foreground-text-disabled);
64
+ color: var(--kbq-states-foreground-disabled);
65
65
  }
66
66
  }
67
67
  }
68
68
 
69
69
  @mixin kbq-toggle-typography() {
70
70
  .kbq-toggle:not(.kbq-toggle_big) {
71
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
71
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
72
72
 
73
73
  & .kbq-hint {
74
- @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
74
+ @include kbq-typography-level-to-styles-css-variables(typography, text-compact);
75
75
  }
76
76
 
77
77
  & .kbq-toggle-bar-container {
@@ -80,10 +80,10 @@
80
80
  }
81
81
 
82
82
  .kbq-toggle.kbq-toggle_big {
83
- @include kbq-typography-level-to-styles_css-variables(typography, text-big);
83
+ @include kbq-typography-level-to-styles-css-variables(typography, text-big);
84
84
 
85
85
  & .kbq-hint {
86
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
86
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
87
87
  }
88
88
 
89
89
  & .kbq-toggle-bar-container {
@@ -39,10 +39,10 @@
39
39
 
40
40
  @mixin kbq-tooltip-typography() {
41
41
  .kbq-tooltip {
42
- @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
42
+ @include kbq-typography-level-to-styles-css-variables(typography, text-compact);
43
43
 
44
44
  .kbq-tooltip__header {
45
- @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
45
+ @include kbq-typography-level-to-styles-css-variables(typography, text-compact);
46
46
  }
47
47
  }
48
48
  }
@@ -59,10 +59,10 @@
59
59
 
60
60
  @mixin kbq-tree-typography() {
61
61
  .kbq-tree-option {
62
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
62
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
63
63
  }
64
64
 
65
65
  .kbq-tree-option-caption {
66
- @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
66
+ @include kbq-typography-level-to-styles-css-variables(typography, text-compact);
67
67
  }
68
68
  }
@@ -9,14 +9,14 @@
9
9
  }
10
10
 
11
11
  &.kbq-disabled {
12
- color: var(--kbq-foreground-text-disabled);
12
+ color: var(--kbq-states-foreground-disabled);
13
13
  }
14
14
  }
15
15
 
16
16
  .kbq-select__placeholder {
17
17
  text-overflow: ellipsis;
18
18
 
19
- color: var(--kbq-foreground-text-disabled);
19
+ color: var(--kbq-states-foreground-disabled);
20
20
  }
21
21
 
22
22
  .kbq-tree-select__panel {
@@ -32,6 +32,6 @@
32
32
  @mixin kbq-tree-select-typography() {
33
33
  .kbq-tree-select,
34
34
  .kbq-tree-select__panel {
35
- @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
35
+ @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
36
36
  }
37
37
  }