@koobiq/components 18.3.0 → 18.4.1

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 (162) hide show
  1. package/accordion/accordion-tokens.scss +0 -2
  2. package/alert/alert-tokens.scss +0 -2
  3. package/autocomplete/autocomplete-tokens.scss +0 -2
  4. package/badge/badge-tokens.scss +0 -2
  5. package/button/button-tokens.scss +7 -2
  6. package/button/button.scss +0 -2
  7. package/button-toggle/button-toggle-tokens.scss +0 -2
  8. package/checkbox/checkbox-tokens.scss +0 -2
  9. package/code-block/_code-block-theme.scss +1 -1
  10. package/code-block/actionbar.component.d.ts +14 -4
  11. package/code-block/code-block-tokens.scss +4 -6
  12. package/code-block/code-block.component.d.ts +12 -15
  13. package/code-block/code-block.types.d.ts +12 -0
  14. package/core/common-behaviors/color.d.ts +1 -1
  15. package/core/formatters/date/formatter.pipe.d.ts +82 -65
  16. package/core/formatters/index.d.ts +1 -1
  17. package/core/forms/forms-tokens.scss +0 -2
  18. package/core/forms/validators.d.ts +21 -0
  19. package/core/locales/en-US.d.ts +13 -0
  20. package/core/locales/es-LA.d.ts +13 -0
  21. package/core/locales/fa-IR.d.ts +13 -0
  22. package/core/locales/locale-service.d.ts +78 -0
  23. package/core/locales/pt-BR.d.ts +13 -0
  24. package/core/locales/ru-RU.d.ts +13 -0
  25. package/core/locales/zh-CN.d.ts +13 -0
  26. package/core/option/optgroup-tokens.scss +0 -2
  27. package/core/option/option-action-tokens.scss +0 -2
  28. package/core/option/option-tokens.scss +0 -2
  29. package/core/select/common.d.ts +2 -0
  30. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +0 -2
  31. package/core/services/theme.service.d.ts +2 -2
  32. package/core/styles/theming/_components-theming.scss +1 -1
  33. package/core/styles/theming/_theming.scss +1 -1
  34. package/core/styles/theming/scrollbar-tokens.scss +0 -2
  35. package/datepicker/_datepicker-theme.scss +1 -1
  36. package/datepicker/datepicker-tokens.scss +2 -4
  37. package/divider/divider-tokens.scss +0 -2
  38. package/dl/dl-tokens.scss +0 -2
  39. package/dropdown/_dropdown-theme.scss +1 -1
  40. package/dropdown/dropdown-tokens.scss +1 -3
  41. package/empty-state/empty-state-tokens.scss +0 -2
  42. package/esm2022/button/button.component.mjs +2 -2
  43. package/esm2022/code-block/actionbar.component.mjs +35 -8
  44. package/esm2022/code-block/code-block.component.mjs +28 -19
  45. package/esm2022/code-block/code-block.types.mjs +5 -2
  46. package/esm2022/core/common-behaviors/color.mjs +2 -2
  47. package/esm2022/core/formatters/date/formatter.pipe.mjs +280 -120
  48. package/esm2022/core/formatters/index.mjs +65 -12
  49. package/esm2022/core/forms/validators.mjs +32 -1
  50. package/esm2022/core/locales/en-US.mjs +14 -1
  51. package/esm2022/core/locales/es-LA.mjs +14 -1
  52. package/esm2022/core/locales/fa-IR.mjs +14 -1
  53. package/esm2022/core/locales/pt-BR.mjs +14 -1
  54. package/esm2022/core/locales/ru-RU.mjs +14 -1
  55. package/esm2022/core/locales/zh-CN.mjs +14 -1
  56. package/esm2022/core/select/common.mjs +7 -1
  57. package/esm2022/core/services/theme.service.mjs +3 -3
  58. package/esm2022/core/version.mjs +2 -2
  59. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  60. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  61. package/esm2022/file-upload/file-upload.mjs +2 -3
  62. package/esm2022/file-upload/multiple-file-upload.component.mjs +57 -17
  63. package/esm2022/file-upload/single-file-upload.component.mjs +31 -19
  64. package/esm2022/form-field/validate.directive.mjs +21 -1
  65. package/esm2022/markdown/markdown.values.mjs +4 -2
  66. package/esm2022/modal/modal.component.mjs +2 -2
  67. package/esm2022/navbar/navbar-item.component.mjs +2 -2
  68. package/esm2022/navbar/navbar.component.mjs +2 -2
  69. package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
  70. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  71. package/esm2022/popover/popover.component.mjs +3 -3
  72. package/esm2022/select/select.component.mjs +1 -1
  73. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  74. package/esm2022/splitter/splitter.component.mjs +2 -2
  75. package/esm2022/timezone/timezone-select.component.mjs +20 -10
  76. package/esm2022/toast/toast.component.mjs +3 -3
  77. package/esm2022/tooltip/tooltip.component.mjs +13 -1
  78. package/fesm2022/koobiq-components-button.mjs +2 -2
  79. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  80. package/fesm2022/koobiq-components-code-block.mjs +58 -24
  81. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  82. package/fesm2022/koobiq-components-core.mjs +461 -131
  83. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  84. package/fesm2022/koobiq-components-datepicker.mjs +2 -2
  85. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  86. package/fesm2022/koobiq-components-dropdown.mjs +2 -2
  87. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  88. package/fesm2022/koobiq-components-file-upload.mjs +76 -27
  89. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  90. package/fesm2022/koobiq-components-form-field.mjs +20 -0
  91. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  92. package/fesm2022/koobiq-components-markdown.mjs +3 -1
  93. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  94. package/fesm2022/koobiq-components-modal.mjs +2 -2
  95. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  96. package/fesm2022/koobiq-components-navbar.mjs +6 -6
  97. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  98. package/fesm2022/koobiq-components-popover.mjs +4 -4
  99. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  100. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  101. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  102. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  103. package/fesm2022/koobiq-components-splitter.mjs +1 -1
  104. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  105. package/fesm2022/koobiq-components-timezone.mjs +18 -8
  106. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  107. package/fesm2022/koobiq-components-toast.mjs +2 -2
  108. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  109. package/fesm2022/koobiq-components-tooltip.mjs +12 -0
  110. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  111. package/file-upload/_file-upload-theme.scss +6 -10
  112. package/file-upload/file-upload-tokens.scss +0 -2
  113. package/file-upload/file-upload.d.ts +3 -0
  114. package/file-upload/file-upload.scss +6 -0
  115. package/file-upload/multiple-file-upload.component.d.ts +28 -5
  116. package/file-upload/multiple-file-upload.component.scss +0 -4
  117. package/file-upload/single-file-upload.component.d.ts +13 -4
  118. package/file-upload/single-file-upload.component.scss +0 -12
  119. package/form-field/form-field-tokens.scss +0 -2
  120. package/form-field/hint-tokens.scss +0 -2
  121. package/form-field/validate.directive.d.ts +20 -0
  122. package/icon/icon-button-tokens.scss +0 -2
  123. package/icon/icon-item-tokens.scss +0 -2
  124. package/icon/icon-tokens.scss +0 -2
  125. package/input/input-tokens.scss +0 -2
  126. package/link/link-tokens.scss +0 -2
  127. package/list/list-tokens.scss +0 -2
  128. package/loader-overlay/loader-overlay-tokens.scss +0 -2
  129. package/markdown/markdown-tokens.scss +0 -2
  130. package/markdown/markdown.values.d.ts +3 -0
  131. package/modal/_modal-theme.scss +1 -1
  132. package/modal/modal-tokens.scss +2 -4
  133. package/navbar/_navbar-theme.scss +1 -1
  134. package/navbar/navbar-tokens.scss +2 -10
  135. package/package.json +4 -4
  136. package/popover/_popover-theme.scss +2 -2
  137. package/popover/popover-tokens.scss +2 -4
  138. package/popover/popover.scss +2 -2
  139. package/progress-bar/progress-bar-tokens.scss +0 -2
  140. package/progress-spinner/progress-spinner-tokens.scss +0 -2
  141. package/radio/radio-tokens.scss +0 -2
  142. package/risk-level/risk-level-tokens.scss +0 -2
  143. package/schematics/ng-add/index.js +2 -2
  144. package/scrollbar/scrollbar-tokens.scss +0 -2
  145. package/select/select-tokens.scss +0 -2
  146. package/select/select.component.d.ts +1 -1
  147. package/sidepanel/_sidepanel-theme.scss +1 -1
  148. package/sidepanel/sidepanel-tokens.scss +2 -4
  149. package/table/table-tokens.scss +0 -2
  150. package/tabs/tabs-tokens.scss +0 -2
  151. package/tags/tag-input-tokens.scss +0 -2
  152. package/tags/tag-tokens.scss +0 -2
  153. package/textarea/textarea-tokens.scss +0 -2
  154. package/timezone/timezone-option-tokens.scss +0 -2
  155. package/timezone/timezone-select.component.d.ts +5 -6
  156. package/toast/toast-tokens.scss +4 -3
  157. package/toggle/toggle-tokens.scss +0 -2
  158. package/tooltip/tooltip-tokens.scss +0 -2
  159. package/tooltip/tooltip.component.d.ts +9 -0
  160. package/tree/tree-tokens.scss +0 -2
  161. package/tree-select/tree-select-tokens.scss +0 -2
  162. package/splitter/splitter-tokens.scss +0 -1
@@ -3,6 +3,26 @@ import { AbstractControl, FormGroupDirective, NgControl, NgForm, Validator, Vali
3
3
  import { KbqValidationOptions } from '@koobiq/components/core';
4
4
  import { KbqFormFieldControl } from './form-field-control';
5
5
  import * as i0 from "@angular/core";
6
+ /**
7
+ * @deprecated Will be removed in next major release (#DS-2838)
8
+ *
9
+ * Legacy mosaic validation
10
+ *
11
+ * ### How to disable?
12
+ *
13
+ * ```typescript
14
+ * import { KBQ_VALIDATION, KbqValidationOptions } from '@koobiq/components/core';
15
+ *
16
+ * @NgModule({
17
+ * providers: [
18
+ * {
19
+ * provide: KBQ_VALIDATION,
20
+ * useValue: { useValidation: false } satisfies KbqValidationOptions
21
+ * }
22
+ * ]
23
+ * })
24
+ * ```
25
+ */
6
26
  export declare class KbqValidateDirective implements AfterContentInit {
7
27
  private formFieldControl;
8
28
  rawValidators: Validator[];
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-icon-button {
4
2
  --kbq-icon-button-size-horizontal-padding: var(--kbq-size-s);
5
3
  --kbq-icon-button-size-left-icon-padding: var(--kbq-size-xs);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-icon-item {
4
2
  --kbq-icon-item-size-normal-horizontal-padding: var(--kbq-size-s);
5
3
  --kbq-icon-item-size-normal-vertical-padding: var(--kbq-size-s);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
4
2
  --kbq-icon-theme-color: var(--kbq-icon-theme);
5
3
  --kbq-icon-contrast-color: var(--kbq-icon-contrast);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-input {
4
2
  --kbq-input-size-padding-horizontal: var(--kbq-size-m);
5
3
  --kbq-input-size-padding-vertical: var(--kbq-size-xs);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-link {
4
2
  --kbq-link-size-state-focused-outline-offset: 0px;
5
3
  --kbq-link-size-state-focused-outline-width: 2px;
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-list,
4
2
  .kbq-list-selection {
5
3
  --kbq-list-size-container-padding-left: var(--kbq-size-m);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-loader-overlay {
4
2
  --kbq-loader-overlay-size-big-overlay-padding-horizontal: var(--kbq-size-3xl);
5
3
  --kbq-loader-overlay-size-big-loader-margin-bottom: var(--kbq-size-xxl);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-markdown {
4
2
  --kbq-markdown-h1-size-max-width: var(--kbq-markdown-size-max-width);
5
3
  --kbq-markdown-h1-size-margin-top: 0;
@@ -1,3 +1,6 @@
1
1
  export declare const MARKDOWN_TAGS_TO_CLASS_ALIAS: string[];
2
+ /**
3
+ * separating `th` and `p` to prevent it's conflict with `thead` and `pre`
4
+ */
2
5
  export declare const MARKDOWN_WHOLE_TAGS_TO_CLASS_ALIAS: string[];
3
6
  export declare const CLASS_PREFIX: string;
@@ -5,7 +5,7 @@
5
5
  @mixin kbq-modal-theme() {
6
6
  .kbq-modal {
7
7
  background: var(--kbq-modal-container-background);
8
- box-shadow: var(--kbq-modal-container-box-shadow);
8
+ box-shadow: var(--kbq-modal-container-shadow);
9
9
 
10
10
  .kbq-modal-header {
11
11
  & .kbq-modal-title {
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-modal {
4
2
  --kbq-modal-size-small-width: 400px;
5
3
  --kbq-modal-size-medium-width: 640px;
@@ -36,7 +34,7 @@
36
34
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
37
35
  --kbq-modal-overlay-background: var(--kbq-background-overlay);
38
36
  --kbq-modal-container-background: var(--kbq-background-card);
39
- --kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);
37
+ --kbq-modal-container-shadow: var(--kbq-shadow-overlay);
40
38
  --kbq-modal-close-button-color: var(--kbq-icon-contrast);
41
39
  --kbq-modal-header-text-color: var(--kbq-foreground-contrast);
42
40
  --kbq-modal-content-text-color: var(--kbq-foreground-contrast);
@@ -45,7 +43,7 @@
45
43
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
46
44
  --kbq-modal-overlay-background: var(--kbq-background-overlay);
47
45
  --kbq-modal-container-background: var(--kbq-background-card);
48
- --kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);
46
+ --kbq-modal-container-shadow: var(--kbq-shadow-overlay);
49
47
  --kbq-modal-close-button-color: var(--kbq-icon-contrast);
50
48
  --kbq-modal-header-text-color: var(--kbq-foreground-contrast);
51
49
  --kbq-modal-content-text-color: var(--kbq-foreground-contrast);
@@ -101,7 +101,7 @@ button {
101
101
 
102
102
  .kbq-navbar-brand {
103
103
  .kbq-navbar-title {
104
- @include kbq-typography-css-variables(navbar, title);
104
+ @include kbq-typography-level-to-styles_css-variables(typography, navbar-title);
105
105
  }
106
106
  }
107
107
  }
@@ -1,13 +1,5 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
- .kbq-navbar {
4
- --kbq-navbar-font-title-font-size: var(--kbq-typography-navbar-title-font-size);
5
- --kbq-navbar-font-title-line-height: var(--kbq-typography-navbar-title-line-height);
6
- --kbq-navbar-font-title-letter-spacing: var(--kbq-typography-navbar-title-letter-spacing);
7
- --kbq-navbar-font-title-font-weight: var(--kbq-typography-navbar-title-font-weight);
8
- --kbq-navbar-font-title-font-family: var(--kbq-typography-navbar-title-font-family);
9
- --kbq-navbar-font-title-text-transform: var(--kbq-typography-navbar-title-text-transform);
10
- --kbq-navbar-font-title-font-feature-settings: var(--kbq-typography-navbar-title-font-feature-settings);
1
+ .kbq-navbar,
2
+ .kbq-vertical-navbar {
11
3
  --kbq-navbar-item-size-content-border-radius: var(--kbq-button-size-border-radius);
12
4
  }
13
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koobiq/components",
3
- "version": "18.3.0",
3
+ "version": "18.4.1",
4
4
  "description": "koobiq",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,9 +24,9 @@
24
24
  "@angular/cdk": "^18.0.0",
25
25
  "@angular/core": "^18.0.0",
26
26
  "@angular/forms": "^18.0.0",
27
- "@koobiq/cdk": "18.3.0",
28
- "@koobiq/angular-moment-adapter": "18.3.0",
29
- "@koobiq/angular-luxon-adapter": "18.3.0",
27
+ "@koobiq/cdk": "18.4.1",
28
+ "@koobiq/angular-moment-adapter": "18.4.1",
29
+ "@koobiq/angular-luxon-adapter": "18.4.1",
30
30
  "@koobiq/date-formatter": "^3.1.3",
31
31
  "@koobiq/icons": "^9.0.0",
32
32
  "@koobiq/tokens-builder": "3.7.3",
@@ -2,7 +2,7 @@
2
2
 
3
3
  @mixin kbq-popover-theme() {
4
4
  .kbq-popover {
5
- box-shadow: var(--kbq-popover-container-box-shadow);
5
+ box-shadow: var(--kbq-popover-container-shadow);
6
6
  }
7
7
 
8
8
  .kbq-popover__container {
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  .kbq-popover__arrow {
13
- box-shadow: var(--kbq-popover-container-box-shadow);
13
+ box-shadow: var(--kbq-popover-container-shadow);
14
14
  background: var(--kbq-popover-container-background);
15
15
  }
16
16
 
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-popover {
4
2
  --kbq-button-size-border-radius: var(--kbq-size-s);
5
3
  --kbq-popover-size-container-width-small: 200px;
@@ -38,7 +36,7 @@
38
36
 
39
37
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
40
38
  --kbq-popover-container-background: var(--kbq-background-card);
41
- --kbq-popover-container-box-shadow: var(--kbq-shadow-popup);
39
+ --kbq-popover-container-shadow: var(--kbq-shadow-popup);
42
40
  --kbq-popover-header-text-color: var(--kbq-foreground-contrast);
43
41
  --kbq-popover-header-scroll-shadow: var(--kbq-shadow-overflow-normal-bottom);
44
42
  --kbq-popover-content-text-color: var(--kbq-foreground-contrast);
@@ -47,7 +45,7 @@
47
45
 
48
46
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
49
47
  --kbq-popover-container-background: var(--kbq-background-card);
50
- --kbq-popover-container-box-shadow: var(--kbq-shadow-popup);
48
+ --kbq-popover-container-shadow: var(--kbq-shadow-popup);
51
49
  --kbq-popover-header-text-color: var(--kbq-foreground-contrast);
52
50
  --kbq-popover-header-scroll-shadow: var(--kbq-shadow-overflow-normal-bottom);
53
51
  --kbq-popover-content-text-color: var(--kbq-foreground-contrast);
@@ -92,7 +92,7 @@ $trigger-margin: 9px;
92
92
  }
93
93
 
94
94
  .kbq-popover__header_top-overflow {
95
- box-shadow: 0 9px 8px -12px rgba(138, 143, 168, 1);
95
+ box-shadow: var(--kbq-shadow-overflow-normal-bottom);
96
96
  }
97
97
 
98
98
  .kbq-popover__header_with-close-button {
@@ -104,7 +104,7 @@ $trigger-margin: 9px;
104
104
  }
105
105
 
106
106
  .kbq-popover__footer_bottom-overflow {
107
- box-shadow: 0 -9px 8px -12px rgba(138, 143, 168, 1);
107
+ box-shadow: var(--kbq-shadow-overflow-normal-top);
108
108
  }
109
109
 
110
110
  .kbq-popover__arrow {
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-progress-bar {
4
2
  --kbq-progress-bar-size-container-content-gap: var(--kbq-size-s);
5
3
  --kbq-progress-bar-size-container-border-radius: var(--kbq-size-3xs);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-progress-spinner {
4
2
  --kbq-progress-spinner-size-compact-size: var(--kbq-size-l);
5
3
  --kbq-progress-spinner-size-compact-stroke-width: 2px;
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-radio-button {
4
2
  --kbq-radio-size-normal-outer-size: var(--kbq-size-l);
5
3
  --kbq-radio-size-normal-inner-size: var(--kbq-size-xs);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-risk-level {
4
2
  --kbq-risk-level-size-padding-vertical: var(--kbq-size-3xs);
5
3
  --kbq-risk-level-size-padding-horizontal: var(--kbq-size-s);
@@ -42,8 +42,8 @@ function ngAdd(options) {
42
42
  }
43
43
  // Installing dependencies
44
44
  utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.6");
45
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.3.0");
46
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.3.0");
45
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.4.1");
46
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.4.1");
47
47
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.1.3");
48
48
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.1.3");
49
49
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^9.1.0");
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-scrollbar-component {
4
2
  --kbq-scrollbar-size-track-dimension: var(--kbq-size-l);
5
3
  --kbq-scrollbar-size-track-padding-vertical: var(--kbq-size-3xs);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-select,
4
2
  .kbq-select__panel {
5
3
  --kbq-option-size-horizontal-padding: var(--kbq-size-m);
@@ -41,7 +41,7 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
41
41
  private readonly _dir;
42
42
  private readonly parentFormField;
43
43
  private readonly scrollStrategyFactory;
44
- private localeService?;
44
+ protected localeService?: KbqLocaleService | undefined;
45
45
  /** A name for this control that can be used by `kbq-form-field`. */
46
46
  controlType: string;
47
47
  hiddenItems: number;
@@ -12,7 +12,7 @@
12
12
 
13
13
  .kbq-sidepanel-container_shadowed {
14
14
  .kbq-sidepanel-content {
15
- box-shadow: var(--kbq-sidepanel-container-box-shadow);
15
+ box-shadow: var(--kbq-sidepanel-container-shadow);
16
16
  }
17
17
  }
18
18
  }
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-sidepanel-container {
4
2
  --kbq-sidepanel-size-small-width: 400px;
5
3
  --kbq-sidepanel-size-medium-width: 640px;
@@ -33,7 +31,7 @@
33
31
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
34
32
  --kbq-sidepanel-overlay-background: var(--kbq-background-overlay);
35
33
  --kbq-sidepanel-container-background: var(--kbq-background-card);
36
- --kbq-sidepanel-container-box-shadow: var(--kbq-shadow-overlay);
34
+ --kbq-sidepanel-container-shadow: var(--kbq-shadow-overlay);
37
35
  --kbq-sidepanel-header-text-color: var(--kbq-foreground-contrast);
38
36
  --kbq-sidepanel-content-text-color: var(--kbq-foreground-contrast);
39
37
  }
@@ -41,7 +39,7 @@
41
39
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
42
40
  --kbq-sidepanel-overlay-background: var(--kbq-background-overlay);
43
41
  --kbq-sidepanel-container-background: var(--kbq-background-card);
44
- --kbq-sidepanel-container-box-shadow: var(--kbq-shadow-overlay);
42
+ --kbq-sidepanel-container-shadow: var(--kbq-shadow-overlay);
45
43
  --kbq-sidepanel-header-text-color: var(--kbq-foreground-contrast);
46
44
  --kbq-sidepanel-content-text-color: var(--kbq-foreground-contrast);
47
45
  }
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-table {
4
2
  --kbq-table-size-border-width: var(--kbq-size-border-width);
5
3
  --kbq-table-size-row-padding-vertical: 10px;
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-tab-group,
4
2
  .kbq-tab-nav-bar {
5
3
  --kbq-tabs-size-tab-item-padding-horizontal: var(--kbq-size-m);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-form-field-type-tag-list {
4
2
  --kbq-tag-input-size-padding-left: var(--kbq-size-xxs);
5
3
  --kbq-tag-input-size-padding-right: var(--kbq-size-m);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-tag,
4
2
  .kbq-tag-list,
5
3
  .kbq-tag-input {
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-textarea {
4
2
  --kbq-textarea-size-min-height: 64px;
5
3
  --kbq-textarea-size-max-height: 96px;
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-timezone-select__panel {
4
2
  --kbq-option-size-horizontal-padding: var(--kbq-size-m);
5
3
  --kbq-option-size-height: var(--kbq-size-3xl);
@@ -1,15 +1,14 @@
1
- import { KbqSelectSearch } from '@koobiq/components/core';
2
- import { KbqCleaner } from '@koobiq/components/form-field';
1
+ import { AfterContentInit } from '@angular/core';
3
2
  import { KbqSelect } from '@koobiq/components/select';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class KbqTimezoneSelectTrigger {
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTimezoneSelectTrigger, never>;
7
6
  static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTimezoneSelectTrigger, "kbq-timezone-select-trigger", never, {}, {}, never, never, false, never>;
8
7
  }
9
- export declare class KbqTimezoneSelect extends KbqSelect {
8
+ export declare class KbqTimezoneSelect extends KbqSelect implements AfterContentInit {
10
9
  customTrigger: KbqTimezoneSelectTrigger;
11
- cleaner: KbqCleaner;
12
- search: KbqSelectSearch;
10
+ ngAfterContentInit(): void;
11
+ private updateLocaleParamsForSearch;
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTimezoneSelect, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqTimezoneSelect, "kbq-timezone-select", ["kbqTimezoneSelect"], {}, {}, ["customTrigger", "cleaner", "search"], ["kbq-timezone-select-trigger", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*"], false, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqTimezoneSelect, "kbq-timezone-select", ["kbqTimezoneSelect"], {}, {}, ["customTrigger"], ["kbq-timezone-select-trigger", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*"], false, never>;
15
14
  }
@@ -1,6 +1,7 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
- .kbq-toast {
1
+ .kbq-toast-container {
2
+ --kbq-toast-stack-size-margin-top: var(--kbq-size-m);
3
+ --kbq-toast-stack-size-margin-right: var(--kbq-size-m);
4
+ --kbq-toast-stack-size-gap: var(--kbq-size-s);
4
5
  --kbq-toast-size-container-width: 360px;
5
6
  --kbq-toast-size-container-border-radius: var(--kbq-size-s);
6
7
  --kbq-toast-size-container-padding-left: var(--kbq-size-m);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-toggle {
4
2
  --kbq-toggle-size-normal-height: var(--kbq-size-l);
5
3
  --kbq-toggle-size-normal-width: 28px;
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-tooltip {
4
2
  --kbq-tooltip-size-max-width: 300px;
5
3
  --kbq-tooltip-size-border-radius: var(--kbq-size-s);
@@ -80,6 +80,15 @@ export declare class KbqTooltipTrigger extends KbqPopUpTrigger<KbqTooltipCompone
80
80
  constructor();
81
81
  ngOnDestroy(): void;
82
82
  show(delay?: number): void;
83
+ /**
84
+ * method allows to show the tooltip relative to the element
85
+ * Use this approach when it is not possible to define a trigger in the template.
86
+ *
87
+ * For example:
88
+ * const tooltip = new KbqTooltipTrigger();
89
+ * tooltip.showForElement(element);
90
+ */
91
+ showForElement(element: HTMLElement): void;
83
92
  updateData(): void;
84
93
  closingActions(): import("rxjs").Observable<void | MouseEvent>;
85
94
  getOverlayHandleComponentType(): Type<KbqTooltipComponent>;
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-tree,
4
2
  .kbq-tree-selection {
5
3
  --kbq-tree-size-indent-level: var(--kbq-size-xxl);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-tree-select {
4
2
  --kbq-select-panel-size-border-radius: var(--kbq-size-s);
5
3
  --kbq-select-panel-size-max-height: 256px;
@@ -1 +0,0 @@
1
- /* stylelint-disable no-unknown-custom-properties */