@koobiq/components 17.2.0 → 17.4.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/alert/_alert-theme.scss +3 -3
  2. package/alert/alert.component.scss +6 -6
  3. package/autocomplete/_autocomplete-theme.scss +2 -2
  4. package/badge/_badge-theme.scss +6 -5
  5. package/button/_button-theme.scss +4 -4
  6. package/button-toggle/_button-toggle-theme.scss +4 -1
  7. package/checkbox/_checkbox-theme.scss +35 -17
  8. package/code-block/_code-block-theme.scss +218 -214
  9. package/core/forms/_forms.scss +2 -2
  10. package/core/option/_option-action-theme.scss +1 -1
  11. package/core/option/_option-theme.scss +7 -4
  12. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +5 -5
  13. package/core/styles/_koobiq-theme.scss +2 -2
  14. package/core/styles/theming/_components-theming.scss +17 -19
  15. package/core/styles/theming/_scrollbar-theme.scss +6 -5
  16. package/core/styles/theming/_theming.scss +1 -0
  17. package/core/styles/typography/_typography.scss +70 -68
  18. package/datepicker/_datepicker-theme.scss +14 -11
  19. package/datepicker/calendar-header.component.d.ts +1 -0
  20. package/datepicker/datepicker-content.scss +8 -3
  21. package/datepicker/datepicker-toggle.scss +1 -0
  22. package/dl/_dl-theme.scss +2 -2
  23. package/dropdown/_dropdown-theme.scss +4 -4
  24. package/empty-state/_empty-state-theme.scss +2 -2
  25. package/esm2022/core/common-behaviors/common-module.mjs +2 -2
  26. package/esm2022/core/version.mjs +2 -2
  27. package/esm2022/datepicker/calendar-header.component.mjs +7 -3
  28. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  29. package/esm2022/form-field/form-field.mjs +2 -2
  30. package/esm2022/form-field/stepper.mjs +2 -2
  31. package/esm2022/icon/icon-button.component.mjs +2 -2
  32. package/esm2022/list/list-selection.component.mjs +2 -2
  33. package/esm2022/list/list.component.mjs +2 -2
  34. package/esm2022/markdown/markdown.component.mjs +2 -2
  35. package/esm2022/modal/modal-ref.class.mjs +1 -1
  36. package/esm2022/modal/modal.service.mjs +4 -6
  37. package/esm2022/modal/modal.type.mjs +1 -1
  38. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  39. package/esm2022/popover/popover.component.mjs +72 -15
  40. package/esm2022/popover/popover.module.mjs +6 -4
  41. package/esm2022/select/select.component.mjs +2 -2
  42. package/esm2022/tabs/tab-body.component.mjs +3 -3
  43. package/esm2022/tabs/tab.component.mjs +3 -4
  44. package/esm2022/toast/toast.component.mjs +3 -3
  45. package/fesm2022/koobiq-components-core.mjs +2 -2
  46. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  47. package/fesm2022/koobiq-components-datepicker.mjs +8 -4
  48. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  49. package/fesm2022/koobiq-components-form-field.mjs +4 -4
  50. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  51. package/fesm2022/koobiq-components-icon.mjs +2 -2
  52. package/fesm2022/koobiq-components-list.mjs +4 -4
  53. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  54. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  55. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  56. package/fesm2022/koobiq-components-modal.mjs +3 -5
  57. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  58. package/fesm2022/koobiq-components-popover.mjs +82 -25
  59. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  60. package/fesm2022/koobiq-components-select.mjs +1 -1
  61. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  62. package/fesm2022/koobiq-components-tabs.mjs +4 -5
  63. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  64. package/fesm2022/koobiq-components-toast.mjs +2 -2
  65. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  66. package/file-upload/_file-upload-theme.scss +31 -27
  67. package/form-field/_form-field-theme.scss +6 -6
  68. package/form-field/form-field.scss +2 -2
  69. package/form-field/stepper.scss +5 -1
  70. package/icon/_icon-button-theme.scss +45 -26
  71. package/icon/_icon-item-theme.scss +1 -1
  72. package/icon/icon-button.scss +4 -4
  73. package/input/_input-theme.scss +1 -1
  74. package/link/_link-theme.scss +12 -6
  75. package/list/_list-theme.scss +8 -5
  76. package/list/list.scss +1 -0
  77. package/loader-overlay/_loader-overlay-theme.scss +10 -6
  78. package/markdown/_markdown-theme.scss +1 -1
  79. package/markdown/markdown.scss +5 -6
  80. package/modal/_modal-theme.scss +6 -5
  81. package/modal/modal-ref.class.d.ts +2 -2
  82. package/modal/modal.service.d.ts +9 -9
  83. package/modal/modal.type.d.ts +6 -6
  84. package/navbar/_navbar-theme.scss +9 -9
  85. package/package.json +18 -14
  86. package/popover/_popover-theme.scss +9 -4
  87. package/popover/popover.component.d.ts +22 -8
  88. package/popover/popover.module.d.ts +3 -1
  89. package/popover/popover.scss +32 -0
  90. package/prebuilt-themes/dark-theme.css +1 -1
  91. package/prebuilt-themes/light-theme.css +1 -1
  92. package/progress-bar/_progress-bar-theme.scss +2 -2
  93. package/progress-spinner/_progress-spinner-theme.scss +3 -3
  94. package/radio/_radio-theme.scss +15 -19
  95. package/schematics/ng-add/index.js +4 -4
  96. package/scrollbar/_scrollbar-component-theme.scss +27 -12
  97. package/select/_select-theme.scss +2 -2
  98. package/sidepanel/_sidepanel-theme.scss +4 -4
  99. package/splitter/_splitter-theme.scss +1 -2
  100. package/splitter/splitter.scss +3 -3
  101. package/table/_table-theme.scss +2 -2
  102. package/tabs/_tabs-theme.scss +4 -3
  103. package/tags/_tag-theme.scss +7 -5
  104. package/timepicker/timepicker.scss +1 -0
  105. package/timezone/_timezone-option-theme.scss +3 -3
  106. package/toast/_toast-theme.scss +1 -1
  107. package/toast/toast.component.scss +1 -1
  108. package/toggle/_toggle-theme.scss +1 -1
  109. package/tooltip/_tooltip-theme.scss +1 -0
  110. package/tree/_tree-theme.scss +5 -5
  111. package/tree/toggle.scss +1 -1
  112. package/tree-select/_tree-select-theme.scss +2 -2
  113. package/toggle/README.md +0 -0
@@ -18,11 +18,11 @@
18
18
  }
19
19
 
20
20
  .kbq-progress-bar-text {
21
- color: kbq-css-variable(progress-bar-text, map.get($progress-bar, text));
21
+ color: kbq-css-variable(progress-bar-text-color, map.get($progress-bar, text));
22
22
  }
23
23
 
24
24
  .kbq-progress-bar-caption {
25
- color: kbq-css-variable(progress-bar-caption, map.get($progress-bar, caption));
25
+ color: kbq-css-variable(progress-bar-caption-color, map.get($progress-bar, caption));
26
26
  }
27
27
  }
28
28
 
@@ -9,16 +9,16 @@
9
9
 
10
10
  .kbq-progress-spinner {
11
11
  .kbq-progress-spinner__circle {
12
- stroke: kbq-css-variable(progress-spinner-circle, map.get($progress-spinner, circle));
12
+ stroke: kbq-css-variable(progress-spinner-circle-background, map.get($progress-spinner, circle));
13
13
  }
14
14
  }
15
15
 
16
16
  .kbq-progress-spinner-text {
17
- color: kbq-css-variable(progress-spinner-text, map.get($progress-spinner, text));
17
+ color: kbq-css-variable(progress-spinner-text-color, map.get($progress-spinner, text));
18
18
  }
19
19
 
20
20
  .kbq-progress-spinner-caption {
21
- color: kbq-css-variable(progress-spinner-caption, map.get($progress-spinner, caption));
21
+ color: kbq-css-variable(progress-spinner-caption-color, map.get($progress-spinner, caption));
22
22
  }
23
23
  }
24
24
 
@@ -6,27 +6,17 @@
6
6
 
7
7
  @mixin kbq-radio-state($component, $type, $state-name) {
8
8
  $state: map.get($component, $type, $state-name);
9
+ $base-path: radio-#{$type}-#{$state-name};
9
10
 
10
11
  & .kbq-radio-button__outer-circle {
11
- border-color: kbq-css-variable(
12
- radio-#{$type}-#{$state-name}-outer-circle-border,
13
- map.get($state, outer-circle-border)
14
- );
15
- background: kbq-css-variable(
16
- radio-#{$type}-#{$state-name}-outer-circle-background,
17
- map.get($state, outer-circle-background)
18
- );
19
- box-shadow: kbq-css-variable(
20
- radio-#{$type}-#{$state-name}-outer-circle-shadow,
21
- map.get($state, outer-circle-shadow)
22
- );
12
+ border-color: kbq-css-variable(#{$base-path}-outer-circle-border, map.get($state, outer-circle-border));
13
+ background: kbq-css-variable(#{$base-path}-outer-circle-background, map.get($state, outer-circle-background));
14
+ // FIXME: move under &.cdk-keyboard-focused, because used only for focused state.
15
+ box-shadow: kbq-css-variable(#{$base-path}-outer-circle-shadow, map.get($state, outer-circle-shadow));
23
16
  }
24
17
 
25
18
  & .kbq-radio-button__inner-circle {
26
- background: kbq-css-variable(
27
- radio-#{$type}-#{$state-name}-inner-circle-background,
28
- map.get($state, inner-circle-background)
29
- );
19
+ background: kbq-css-variable(#{$base-path}-inner-circle-background, map.get($state, inner-circle-background));
30
20
  }
31
21
  }
32
22
 
@@ -34,7 +24,7 @@
34
24
  @include kbq-radio-state($component, $type-name, default);
35
25
 
36
26
  & .kbq-hint .kbq-hint__text {
37
- color: map.get($component, $type-name, default, caption);
27
+ color: kbq-css-variable(radio-#{$type-name}-default-caption, map.get($component, $type-name, default, caption));
38
28
  }
39
29
 
40
30
  &:hover {
@@ -58,11 +48,17 @@
58
48
 
59
49
  & .kbq-radio-label {
60
50
  cursor: default;
61
- color: map.get($component, $type-name, states-disabled, caption);
51
+ color: kbq-css-variable(
52
+ radio-#{$type-name}-states-disabled-caption,
53
+ map.get($component, $type-name, states-disabled, caption)
54
+ );
62
55
  }
63
56
 
64
57
  & .kbq-hint .kbq-hint__text {
65
- color: map.get($component, $type-name, states-disabled, caption);
58
+ color: kbq-css-variable(
59
+ radio-#{$type-name}-states-disabled-caption,
60
+ map.get($component, $type-name, states-disabled, caption)
61
+ );
66
62
  }
67
63
  }
68
64
  }
@@ -52,13 +52,13 @@ function ngAdd(options) {
52
52
  }
53
53
  // Installing dependencies
54
54
  addPackageToPackageJson(tree, '@angular/cdk', "^17.2.0");
55
- addPackageToPackageJson(tree, '@koobiq/cdk', "^17.2.0");
56
- addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^17.2.0");
55
+ addPackageToPackageJson(tree, '@koobiq/cdk', "^17.4.0");
56
+ addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^17.4.0");
57
57
  addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.1.2");
58
58
  addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.1.2");
59
59
  addPackageToPackageJson(tree, '@koobiq/icons', "^7.1.1");
60
- addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.3.1");
61
- addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.3.1");
60
+ addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.4.0");
61
+ addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.4.0");
62
62
  addPackageToPackageJson(tree, '@messageformat/core', "^3.0.1");
63
63
  addPackageToPackageJson(tree, 'luxon', "^3.4.4");
64
64
  addPackageToPackageJson(tree, 'marked', "^9.0.0");
@@ -8,21 +8,30 @@
8
8
  .os-scrollbar {
9
9
  .os-scrollbar-handle {
10
10
  &::before {
11
- border-color: kbq-css-variable(scrollbar-default, map.get($scrollbar, default));
12
- background-color: kbq-css-variable(scrollbar-default, map.get($scrollbar, default));
11
+ border-color: kbq-css-variable(scrollbar-thumb-default-background, map.get($scrollbar, default));
12
+ background-color: kbq-css-variable(
13
+ scrollbar-thumb-default-background,
14
+ map.get($scrollbar, default)
15
+ );
13
16
  }
14
17
 
15
18
  &:hover {
16
19
  &::before {
17
- border-color: kbq-css-variable(scrollbar-hover, map.get($scrollbar, hover));
18
- background-color: kbq-css-variable(scrollbar-hover, map.get($scrollbar, hover));
20
+ border-color: kbq-css-variable(scrollbar-thumb-hover-background, map.get($scrollbar, hover));
21
+ background-color: kbq-css-variable(
22
+ scrollbar-thumb-hover-background,
23
+ map.get($scrollbar, hover)
24
+ );
19
25
  }
20
26
  }
21
27
 
22
28
  &:active {
23
29
  &::before {
24
- border-color: kbq-css-variable(scrollbar-active, map.get($scrollbar, active));
25
- background-color: kbq-css-variable(scrollbar-active, map.get($scrollbar, active));
30
+ border-color: kbq-css-variable(scrollbar-thumb-active-background, map.get($scrollbar, active));
31
+ background-color: kbq-css-variable(
32
+ scrollbar-thumb-active-background,
33
+ map.get($scrollbar, active)
34
+ );
26
35
  }
27
36
  }
28
37
  }
@@ -30,17 +39,23 @@
30
39
  .os-scrollbar-track,
31
40
  .os-scrollbar-handle {
32
41
  border-style: solid;
33
- border-color: kbq-css-variable(scrollbar-track-default, map.get($scrollbar, track, default)) !important;
34
- background-color: kbq-css-variable(scrollbar-track-default, map.get($scrollbar, track, default));
42
+ border-color: kbq-css-variable(
43
+ scrollbar-track-default-border,
44
+ map.get($scrollbar, track, default)
45
+ ) !important;
46
+ background-color: kbq-css-variable(
47
+ scrollbar-track-default-background,
48
+ map.get($scrollbar, track, default)
49
+ );
35
50
 
36
51
  &:hover {
37
- border-color: kbq-css-variable(scrollbar-track-hover, map.get($scrollbar, track, hover));
38
- background: kbq-css-variable(scrollbar-track-hover, map.get($scrollbar, track, hover));
52
+ border-color: kbq-css-variable(scrollbar-track-hover-border, map.get($scrollbar, track, hover));
53
+ background: kbq-css-variable(scrollbar-track-hover-background, map.get($scrollbar, track, hover));
39
54
  }
40
55
 
41
56
  &:active {
42
- border-color: kbq-css-variable(scrollbar-track-active, map.get($scrollbar, track, active));
43
- background: kbq-css-variable(scrollbar-track-active, map.get($scrollbar, track, active));
57
+ border-color: kbq-css-variable(scrollbar-track-active-border, map.get($scrollbar, track, active));
58
+ background: kbq-css-variable(scrollbar-track-active-background, map.get($scrollbar, track, active));
44
59
  }
45
60
  }
46
61
  }
@@ -33,8 +33,8 @@
33
33
  }
34
34
 
35
35
  .kbq-select__panel {
36
- box-shadow: kbq-css-variable(select-panel-shadow, map.get($select-panel, shadow));
37
- background: kbq-css-variable(select-panel-background, map.get($select-panel, background));
36
+ box-shadow: kbq-css-variable(select-panel-dropdown-shadow, map.get($select-panel, shadow));
37
+ background: kbq-css-variable(select-panel-dropdown-background, map.get($select-panel, background));
38
38
 
39
39
  & .kbq-select__footer {
40
40
  border-color: kbq-css-variable(divider-color, map.get($divider, color));
@@ -8,17 +8,17 @@
8
8
  $sidepanel: map.get($theme, components, sidepanel);
9
9
 
10
10
  .kbq-sidepanel-title {
11
- color: kbq-css-variable(sidepanel-header-text, map.get($sidepanel, header-text));
11
+ color: kbq-css-variable(sidepanel-header-text-color, map.get($sidepanel, header-text));
12
12
  }
13
13
 
14
14
  .kbq-sidepanel-content {
15
- background-color: kbq-css-variable(sidepanel-background, map.get($sidepanel, background));
16
- color: kbq-css-variable(sidepanel-content-text, map.get($sidepanel, content-text));
15
+ background-color: kbq-css-variable(sidepanel-container-background, map.get($sidepanel, background));
16
+ color: kbq-css-variable(sidepanel-content-text-color, map.get($sidepanel, content-text));
17
17
  }
18
18
 
19
19
  .kbq-sidepanel-container_shadowed {
20
20
  .kbq-sidepanel-content {
21
- box-shadow: kbq-css-variable(sidepanel-box-shadow, map.get($sidepanel, box-shadow));
21
+ box-shadow: kbq-css-variable(sidepanel-container-box-shadow, map.get($sidepanel, box-shadow));
22
22
  }
23
23
  }
24
24
  }
@@ -17,9 +17,8 @@
17
17
  cursor: row-resize;
18
18
  }
19
19
 
20
- // todo
21
20
  &[disabled] {
22
- background-color: kbq-css-variable(background-disabled, map.get($background, disabled));
21
+ background-color: kbq-css-variable(background-background-disabled, map.get($background, disabled));
23
22
 
24
23
  cursor: default;
25
24
  }
@@ -8,10 +8,10 @@
8
8
 
9
9
  .kbq-splitter-area {
10
10
  overflow: hidden;
11
+ }
11
12
 
12
- &_resizing {
13
- pointer-events: none;
14
- }
13
+ .kbq-splitter-area_resizing {
14
+ pointer-events: none;
15
15
  }
16
16
  }
17
17
 
@@ -14,7 +14,7 @@
14
14
  color: kbq-css-variable(foreground-contrast-secondary, map.get($foreground, contrast-secondary));
15
15
 
16
16
  & > tr > th {
17
- border-bottom-color: kbq-css-variable(line-contrast-fade, map.get($line, contrast-fade));
17
+ border-bottom-color: kbq-css-variable(line-contrast-less, map.get($line, contrast-less));
18
18
  }
19
19
  }
20
20
 
@@ -38,7 +38,7 @@
38
38
  & > tbody > tr {
39
39
  & th,
40
40
  & td {
41
- border-bottom-color: kbq-css-variable(line-contrast-fade, map.get($line, contrast-fade));
41
+ border-bottom-color: kbq-css-variable(line-contrast-less, map.get($line, contrast-less));
42
42
  }
43
43
  }
44
44
  }
@@ -10,10 +10,10 @@
10
10
  $base: tabs-tab-item-#{$type}-#{$sub-type}-#{$style-name};
11
11
 
12
12
  background: kbq-css-variable(#{$base}-background, map.get($style, background));
13
- color: kbq-css-variable(#{$base}-text, map.get($style, text));
13
+ color: kbq-css-variable(#{$base}-text-color, map.get($style, text));
14
14
 
15
15
  & .kbq-icon {
16
- color: kbq-css-variable(#{$base}-icon, map.get($style, icon));
16
+ color: kbq-css-variable(#{$base}-icon-color, map.get($style, icon));
17
17
  }
18
18
  }
19
19
 
@@ -34,7 +34,7 @@
34
34
 
35
35
  &.cdk-keyboard-focused {
36
36
  border-color: kbq-css-variable(
37
- tabs-tab-item-#{$type}-#{$sub-type}-states-focused-border-color,
37
+ tabs-tab-item-#{$type}-#{$sub-type}-states-focused-focus-outline-color,
38
38
  map.get($component, $type, $sub-type, states-focused, border-color)
39
39
  );
40
40
  }
@@ -76,6 +76,7 @@
76
76
  );
77
77
  }
78
78
 
79
+ // FIXME: need check, tab-group has different subtype
79
80
  & .kbq-tab-label {
80
81
  @include kbq-tab-item-style($tab-item, filled, on-background);
81
82
  }
@@ -26,19 +26,21 @@
26
26
 
27
27
  &:hover,
28
28
  &.kbq-hovered {
29
- @include kbq-tag-state($component, $type, hover);
29
+ @include kbq-tag-state($component, $type, states-hover);
30
30
  }
31
31
 
32
32
  &.kbq-focused {
33
- @include kbq-tag-state($component, $type, focus);
33
+ @include kbq-tag-state($component, $type, states-focus);
34
34
 
35
35
  box-shadow:
36
- inset 0 0 0.1px 1px kbq-css-variable(tag-#{$type}-focus-outline, map.get($component, $type, focus, outline)),
37
- 0 0 0.1px 1px kbq-css-variable(tag-#{$type}-focus-outline, map.get($component, $type, focus, outline));
36
+ inset 0 0 0.1px 1px
37
+ kbq-css-variable(tag-#{$type}-states-focus-outline, map.get($component, $type, focus, outline)),
38
+ 0 0 0.1px 1px
39
+ kbq-css-variable(tag-#{$type}-states-focus-outline, map.get($component, $type, focus, outline));
38
40
  }
39
41
 
40
42
  &.kbq-disabled {
41
- @include kbq-tag-state($component, $type, disabled);
43
+ @include kbq-tag-state($component, $type, states-disabled);
42
44
  }
43
45
  }
44
46
 
@@ -4,6 +4,7 @@
4
4
  @use '../core/styles/common/tokens' as *;
5
5
 
6
6
  .kbq-timepicker {
7
+ // FIXME: default token doesn't exist
7
8
  padding-right: kbq-css-variable(timepicker-size-padding-right);
8
9
  }
9
10
 
@@ -9,15 +9,15 @@
9
9
 
10
10
  .kbq-timezone-option__offset,
11
11
  .kbq-timezone-option__city {
12
- color: kbq-css-variable(timezone-text, map.get($timezone, text));
12
+ color: kbq-css-variable(timezone-option-text, map.get($timezone, text));
13
13
  }
14
14
 
15
15
  .kbq-timezone-option__cities {
16
- color: kbq-css-variable(timezone-caption, map.get($timezone, caption));
16
+ color: kbq-css-variable(timezone-option-caption, map.get($timezone, caption));
17
17
  }
18
18
 
19
19
  .kbq-timezone-select__panel.kbq-select__panel .kbq-optgroup-label {
20
- color: kbq-css-variable(timezone-optgroup-label, map.get($timezone, optgroup-label));
20
+ color: kbq-css-variable(timezone-option-optgroup-label, map.get($timezone, optgroup-label));
21
21
  }
22
22
  }
23
23
 
@@ -33,7 +33,7 @@
33
33
  }
34
34
 
35
35
  &.kbq-toast_warning {
36
- @include kbq-toast($toast, success);
36
+ @include kbq-toast($toast, warning);
37
37
  }
38
38
 
39
39
  &.kbq-toast_error {
@@ -26,7 +26,7 @@ $tokens: meta.module-variables(tokens) !default;
26
26
  height: kbq-css-variable(toast-size-icon-height);
27
27
  max-height: kbq-css-variable(toast-size-icon-height);
28
28
 
29
- border-radius: kbq-css-variable(toast-size-border-radius);
29
+ border-radius: kbq-css-variable(toast-size-container-border-radius);
30
30
 
31
31
  margin-right: kbq-css-variable(toast-size-icon-margin-right);
32
32
 
@@ -84,7 +84,7 @@
84
84
  }
85
85
 
86
86
  &.kbq-disabled {
87
- color: map.get($foreground, text-disabled);
87
+ color: kbq-css-variable(foreground-text-disabled, map.get($foreground, text-disabled));
88
88
  }
89
89
  }
90
90
  }
@@ -1,6 +1,7 @@
1
1
  @use 'sass:meta';
2
2
  @use 'sass:map';
3
3
 
4
+ // FIXME: @use properties are used, which are most likely not applied. Need to check
4
5
  @use '../core/pop-up/pop-up' as *;
5
6
  @use '../core/styles/typography/typography-utils' as *;
6
7
  @use '../core/styles/common/tokens' as *;
@@ -11,19 +11,19 @@
11
11
  background: kbq-css-variable(tree-#{$state-name}-container-background, map.get($state, container-background));
12
12
 
13
13
  .kbq-option-text {
14
- color: kbq-css-variable(tree-#{$state-name}-text, map.get($state, text));
14
+ color: kbq-css-variable(tree-#{$state-name}-text-color, map.get($state, text));
15
15
  }
16
16
 
17
17
  .kbq-tree-node-toggle .kbq-icon {
18
- color: kbq-css-variable(tree-#{$state-name}-tree-toggle, map.get($state, tree-toggle));
18
+ color: kbq-css-variable(tree-#{$state-name}-tree-toggle-color, map.get($state, tree-toggle));
19
19
  }
20
20
 
21
21
  .kbq-option-action .kbq-icon {
22
- color: kbq-css-variable(tree-#{$state-name}-action-button, map.get($state, action-button));
22
+ color: kbq-css-variable(tree-#{$state-name}-action-button-color, map.get($state, action-button));
23
23
  }
24
24
 
25
25
  .kbq-option-caption {
26
- color: kbq-css-variable(tree-#{$state-name}-caption, map.get($state, caption));
26
+ color: kbq-css-variable(tree-#{$state-name}-caption-color, map.get($state, caption));
27
27
  }
28
28
  }
29
29
 
@@ -44,7 +44,7 @@
44
44
  &.kbq-focused,
45
45
  &.kbq-active {
46
46
  border-color: kbq-css-variable(
47
- tree-states-focused-focus-outline,
47
+ tree-states-focused-focus-outline-color,
48
48
  map.get($tree-item, states-focused, focus-outline)
49
49
  );
50
50
  }
package/tree/toggle.scss CHANGED
@@ -10,7 +10,7 @@
10
10
  flex-shrink: 0;
11
11
 
12
12
  height: 100%;
13
-
13
+ // FIXME: default token doesn't exist
14
14
  padding-left: kbq-css-variable(tree-size-toggle-padding);
15
15
  padding-right: kbq-css-variable(tree-size-toggle-padding);
16
16
 
@@ -31,8 +31,8 @@
31
31
  }
32
32
 
33
33
  .kbq-tree-select__panel {
34
- box-shadow: kbq-css-variable(select-panel-shadow, map.get($select-panel, shadow));
35
- background: kbq-css-variable(select-panel-background, map.get($select-panel, background));
34
+ box-shadow: kbq-css-variable(select-panel-dropdown-shadow, map.get($select-panel, shadow));
35
+ background: kbq-css-variable(select-panel-dropdown-background, map.get($select-panel, background));
36
36
 
37
37
  & .kbq-select__footer {
38
38
  border-color: kbq-css-variable(divider-color, map.get($divider, color));
package/toggle/README.md DELETED
File without changes