@koobiq/components 18.26.0 → 18.28.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 (182) hide show
  1. package/badge/_badge-theme.scss +1 -1
  2. package/breadcrumbs/breadcrumbs.scss +0 -1
  3. package/button/_button-theme.scss +1 -1
  4. package/button-toggle/_button-toggle-theme.scss +1 -1
  5. package/code-block/code-block.scss +2 -0
  6. package/core/locales/en-US.d.ts +1 -0
  7. package/core/locales/es-LA.d.ts +1 -0
  8. package/core/locales/fa-IR.d.ts +1 -0
  9. package/core/locales/locale-service.d.ts +7 -0
  10. package/core/locales/pt-BR.d.ts +1 -0
  11. package/core/locales/ru-RU.d.ts +1 -0
  12. package/core/locales/tk-TM.d.ts +1 -0
  13. package/core/locales/zh-CN.d.ts +1 -0
  14. package/core/option/_option-action-theme.scss +3 -3
  15. package/core/option/_option-theme.scss +1 -1
  16. package/core/option/option.d.ts +3 -1
  17. package/core/styles/theming/_components-theming.scss +343 -206
  18. package/core/styles/typography/_typography.scss +2 -0
  19. package/core/styles/visual/_layout-media.scss +1 -0
  20. package/core/styles/visual/_layout.scss +2 -0
  21. package/datepicker/datepicker-module.d.ts +1 -1
  22. package/dropdown/_dropdown-theme.scss +1 -1
  23. package/empty-state/empty-state.module.d.ts +1 -1
  24. package/esm2022/alert/alert.component.mjs +3 -2
  25. package/esm2022/badge/badge.component.mjs +2 -2
  26. package/esm2022/breadcrumbs/breadcrumbs.mjs +3 -3
  27. package/esm2022/button/button.component.mjs +2 -2
  28. package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
  29. package/esm2022/core/locales/en-US.mjs +3 -2
  30. package/esm2022/core/locales/es-LA.mjs +3 -2
  31. package/esm2022/core/locales/fa-IR.mjs +3 -2
  32. package/esm2022/core/locales/pt-BR.mjs +3 -2
  33. package/esm2022/core/locales/ru-RU.mjs +3 -2
  34. package/esm2022/core/locales/tk-TM.mjs +3 -2
  35. package/esm2022/core/locales/zh-CN.mjs +3 -2
  36. package/esm2022/core/option/action.mjs +2 -2
  37. package/esm2022/core/option/option.mjs +9 -5
  38. package/esm2022/core/pop-up/pop-up-trigger.mjs +7 -4
  39. package/esm2022/core/version.mjs +2 -2
  40. package/esm2022/datepicker/calendar-header.component.mjs +1 -1
  41. package/esm2022/datepicker/calendar.component.mjs +2 -1
  42. package/esm2022/datepicker/datepicker-module.mjs +1 -4
  43. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  44. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +1 -2
  45. package/esm2022/empty-state/empty-state.module.mjs +1 -3
  46. package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
  47. package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
  48. package/esm2022/filter-bar/filter-bar.mjs +11 -7
  49. package/esm2022/filter-bar/filter-bar.types.mjs +4 -1
  50. package/esm2022/filter-bar/pipe-add.mjs +2 -2
  51. package/esm2022/filter-bar/pipes/base-pipe.mjs +5 -3
  52. package/esm2022/filter-bar/pipes/pipe-button.mjs +13 -6
  53. package/esm2022/filter-bar/pipes/pipe-date.mjs +3 -3
  54. package/esm2022/filter-bar/pipes/pipe-datetime.mjs +3 -3
  55. package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +54 -5
  56. package/esm2022/filter-bar/pipes/pipe-readonly.mjs +68 -0
  57. package/esm2022/filter-bar/pipes/pipe-select.mjs +12 -3
  58. package/esm2022/filter-bar/pipes/pipe-state.mjs +12 -5
  59. package/esm2022/filter-bar/pipes/pipe-text.mjs +3 -3
  60. package/esm2022/filter-bar/public-api.mjs +2 -1
  61. package/esm2022/form-field/form-field.mjs +2 -2
  62. package/esm2022/form-field/hint.mjs +2 -2
  63. package/esm2022/form-field/password-hint.mjs +2 -2
  64. package/esm2022/input/input-number.mjs +2 -2
  65. package/esm2022/list/list-selection.component.mjs +2 -2
  66. package/esm2022/list/list.component.mjs +2 -2
  67. package/esm2022/markdown/markdown.component.mjs +2 -2
  68. package/esm2022/navbar/navbar-item.component.mjs +6 -4
  69. package/esm2022/navbar/navbar.component.mjs +4 -4
  70. package/esm2022/navbar/vertical-navbar.component.mjs +5 -4
  71. package/esm2022/select/select.component.mjs +12 -5
  72. package/esm2022/tabs/tab-nav-bar.mjs +4 -4
  73. package/esm2022/textarea/textarea.component.mjs +5 -4
  74. package/esm2022/timezone/timezone-option.component.mjs +2 -2
  75. package/esm2022/toast/toast-container.component.mjs +2 -2
  76. package/esm2022/toast/toast.component.mjs +3 -3
  77. package/esm2022/toast/toast.service.mjs +18 -15
  78. package/esm2022/toast/toast.type.mjs +19 -2
  79. package/esm2022/toggle/toggle.component.mjs +18 -12
  80. package/esm2022/tree/toggle.mjs +2 -2
  81. package/esm2022/tree/tree-selection.component.mjs +2 -2
  82. package/esm2022/tree/tree.mjs +2 -2
  83. package/esm2022/tree-select/tree-select.component.mjs +12 -4
  84. package/fesm2022/koobiq-components-alert.mjs +2 -1
  85. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  86. package/fesm2022/koobiq-components-badge.mjs +2 -2
  87. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  88. package/fesm2022/koobiq-components-breadcrumbs.mjs +2 -2
  89. package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
  90. package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
  91. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  92. package/fesm2022/koobiq-components-button.mjs +2 -2
  93. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  94. package/fesm2022/koobiq-components-core.mjs +31 -17
  95. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  96. package/fesm2022/koobiq-components-datepicker.mjs +2 -4
  97. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  98. package/fesm2022/koobiq-components-dropdown.mjs +2 -2
  99. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  100. package/fesm2022/koobiq-components-ellipsis-center.mjs +0 -1
  101. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  102. package/fesm2022/koobiq-components-empty-state.mjs +0 -2
  103. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  104. package/fesm2022/koobiq-components-file-upload.mjs +4 -4
  105. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  106. package/fesm2022/koobiq-components-filter-bar.mjs +168 -33
  107. package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
  108. package/fesm2022/koobiq-components-form-field.mjs +6 -6
  109. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  110. package/fesm2022/koobiq-components-input.mjs +1 -1
  111. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  112. package/fesm2022/koobiq-components-list.mjs +4 -4
  113. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  114. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  115. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  116. package/fesm2022/koobiq-components-navbar.mjs +11 -9
  117. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  118. package/fesm2022/koobiq-components-select.mjs +11 -4
  119. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  120. package/fesm2022/koobiq-components-tabs.mjs +3 -3
  121. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  122. package/fesm2022/koobiq-components-textarea.mjs +4 -3
  123. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  124. package/fesm2022/koobiq-components-timezone.mjs +2 -2
  125. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  126. package/fesm2022/koobiq-components-toast.mjs +40 -20
  127. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  128. package/fesm2022/koobiq-components-toggle.mjs +16 -10
  129. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  130. package/fesm2022/koobiq-components-tree-select.mjs +11 -3
  131. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  132. package/fesm2022/koobiq-components-tree.mjs +6 -6
  133. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  134. package/file-upload/_file-upload-theme.scss +9 -7
  135. package/file-upload/file-upload.scss +3 -0
  136. package/file-upload/multiple-file-upload.component.scss +2 -0
  137. package/file-upload/single-file-upload.component.scss +2 -0
  138. package/filter-bar/_filter-bar-theme.scss +1 -1
  139. package/filter-bar/filter-bar.d.ts +4 -2
  140. package/filter-bar/filter-bar.types.d.ts +5 -1
  141. package/filter-bar/pipes/base-pipe.d.ts +3 -1
  142. package/filter-bar/pipes/base-pipe.scss +1 -1
  143. package/filter-bar/pipes/pipe-button.d.ts +4 -1
  144. package/filter-bar/pipes/pipe-multi-select.d.ts +18 -2
  145. package/filter-bar/pipes/pipe-readonly.d.ts +7 -0
  146. package/filter-bar/pipes/pipe-readonly.scss +18 -0
  147. package/filter-bar/pipes/pipe-select.d.ts +5 -2
  148. package/filter-bar/pipes/pipe-state.d.ts +7 -1
  149. package/filter-bar/public-api.d.ts +1 -0
  150. package/form-field/_form-field-theme.scss +2 -2
  151. package/form-field/_hint-theme.scss +1 -1
  152. package/link/_link-theme.scss +1 -1
  153. package/list/_list-theme.scss +2 -2
  154. package/markdown/markdown.scss +3 -1
  155. package/modal/modal.scss +2 -0
  156. package/navbar/_navbar-theme.scss +1 -1
  157. package/package.json +5 -5
  158. package/prebuilt-themes/dark-theme.css +1 -1
  159. package/prebuilt-themes/light-theme.css +1 -1
  160. package/prebuilt-themes/theme.css +1 -1
  161. package/schematics/migrations/css-selectors/README.md +1 -1
  162. package/schematics/migrations/deprecated-icons/README.md +3 -3
  163. package/schematics/migrations/empty-state-size-attr/README.md +2 -2
  164. package/schematics/migrations/loader-overlay-size-attr/README.md +2 -2
  165. package/schematics/migrations/new-icons-pack/README.md +3 -3
  166. package/schematics/ng-add/index.js +6 -6
  167. package/scrollbar/scrollbar.component.scss +2 -0
  168. package/select/select.component.d.ts +1 -0
  169. package/sidepanel/sidepanel.scss +1 -0
  170. package/tabs/_tabs-theme.scss +1 -1
  171. package/tabs/tab-nav-bar.d.ts +1 -1
  172. package/tags/_tag-theme.scss +1 -1
  173. package/textarea/textarea.component.d.ts +1 -1
  174. package/toast/toast-container.component.scss +29 -3
  175. package/toast/toast-tokens.scss +5 -1
  176. package/toast/toast.component.scss +2 -1
  177. package/toast/toast.service.d.ts +0 -1
  178. package/toast/toast.type.d.ts +12 -2
  179. package/toggle/toggle.component.d.ts +6 -2
  180. package/toggle/toggle.scss +3 -0
  181. package/tree/_tree-theme.scss +4 -4
  182. package/tree-select/tree-select.component.d.ts +1 -0
@@ -10,7 +10,7 @@
10
10
  color: var(--kbq-#{$base-path}-caption);
11
11
  }
12
12
 
13
- & .kbq-icon {
13
+ & .kbq-icon.kbq-empty {
14
14
  color: var(--kbq-#{$base-path}-icon);
15
15
  }
16
16
 
@@ -6,7 +6,6 @@
6
6
  align-items: center;
7
7
  gap: var(--kbq-breadcrumbs-gap);
8
8
  flex-grow: 1;
9
- flex-wrap: wrap;
10
9
 
11
10
  .kbq-overflow-items {
12
11
  // add space not to cut focus outline
@@ -1,7 +1,7 @@
1
1
  @use '../core/styles/common/tokens' as *;
2
2
 
3
3
  @mixin _icon($left-icon, $right-icon) {
4
- .kbq-icon {
4
+ .kbq-icon.kbq-empty {
5
5
  color: $left-icon;
6
6
 
7
7
  &.kbq-icon_left {
@@ -5,7 +5,7 @@
5
5
 
6
6
  color: var(--kbq-button-toggle-item-#{$state-name}-text);
7
7
 
8
- & .kbq-icon {
8
+ & .kbq-icon.kbq-empty {
9
9
  color: var(--kbq-button-toggle-item-#{$state-name}-icon);
10
10
  }
11
11
  }
@@ -71,6 +71,7 @@
71
71
  }
72
72
  }
73
73
 
74
+ /* stylelint-disable-next-line selector-class-pattern */
74
75
  .hljs {
75
76
  display: block;
76
77
  }
@@ -84,6 +85,7 @@
84
85
  .hljs-ln {
85
86
  border-collapse: unset;
86
87
 
88
+ /* stylelint-disable-next-line selector-class-pattern */
87
89
  .hljs {
88
90
  padding: 0;
89
91
  }
@@ -78,6 +78,7 @@ export declare const enUSLocaleData: {
78
78
  removeButtonTooltip: string;
79
79
  applyButton: string;
80
80
  emptySearchResult: string;
81
+ selectAll: string;
81
82
  };
82
83
  datePipe: {
83
84
  customPeriod: string;
@@ -77,6 +77,7 @@ export declare const esLALocaleData: {
77
77
  removeButtonTooltip: string;
78
78
  applyButton: string;
79
79
  emptySearchResult: string;
80
+ selectAll: string;
80
81
  };
81
82
  datePipe: {
82
83
  customPeriod: string;
@@ -77,6 +77,7 @@ export declare const faIRLocaleData: {
77
77
  removeButtonTooltip: string;
78
78
  applyButton: string;
79
79
  emptySearchResult: string;
80
+ selectAll: string;
80
81
  };
81
82
  datePipe: {
82
83
  customPeriod: string;
@@ -122,6 +122,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
122
122
  removeButtonTooltip: string;
123
123
  applyButton: string;
124
124
  emptySearchResult: string;
125
+ selectAll: string;
125
126
  };
126
127
  datePipe: {
127
128
  customPeriod: string;
@@ -244,6 +245,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
244
245
  removeButtonTooltip: string;
245
246
  applyButton: string;
246
247
  emptySearchResult: string;
248
+ selectAll: string;
247
249
  };
248
250
  datePipe: {
249
251
  customPeriod: string;
@@ -367,6 +369,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
367
369
  removeButtonTooltip: string;
368
370
  applyButton: string;
369
371
  emptySearchResult: string;
372
+ selectAll: string;
370
373
  };
371
374
  datePipe: {
372
375
  customPeriod: string;
@@ -490,6 +493,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
490
493
  removeButtonTooltip: string;
491
494
  applyButton: string;
492
495
  emptySearchResult: string;
496
+ selectAll: string;
493
497
  };
494
498
  datePipe: {
495
499
  customPeriod: string;
@@ -615,6 +619,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
615
619
  removeButtonTooltip: string;
616
620
  applyButton: string;
617
621
  emptySearchResult: string;
622
+ selectAll: string;
618
623
  };
619
624
  datePipe: {
620
625
  customPeriod: string;
@@ -739,6 +744,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
739
744
  removeButtonTooltip: string;
740
745
  applyButton: string;
741
746
  emptySearchResult: string;
747
+ selectAll: string;
742
748
  };
743
749
  datePipe: {
744
750
  customPeriod: string;
@@ -863,6 +869,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
863
869
  removeButtonTooltip: string;
864
870
  applyButton: string;
865
871
  emptySearchResult: string;
872
+ selectAll: string;
866
873
  };
867
874
  datePipe: {
868
875
  customPeriod: string;
@@ -77,6 +77,7 @@ export declare const ptBRLocaleData: {
77
77
  removeButtonTooltip: string;
78
78
  applyButton: string;
79
79
  emptySearchResult: string;
80
+ selectAll: string;
80
81
  };
81
82
  datePipe: {
82
83
  customPeriod: string;
@@ -78,6 +78,7 @@ export declare const ruRULocaleData: {
78
78
  removeButtonTooltip: string;
79
79
  applyButton: string;
80
80
  emptySearchResult: string;
81
+ selectAll: string;
81
82
  };
82
83
  datePipe: {
83
84
  customPeriod: string;
@@ -78,6 +78,7 @@ export declare const tkTMLocaleData: {
78
78
  removeButtonTooltip: string;
79
79
  applyButton: string;
80
80
  emptySearchResult: string;
81
+ selectAll: string;
81
82
  };
82
83
  datePipe: {
83
84
  customPeriod: string;
@@ -77,6 +77,7 @@ export declare const zhCNLocaleData: {
77
77
  removeButtonTooltip: string;
78
78
  applyButton: string;
79
79
  emptySearchResult: string;
80
+ selectAll: string;
80
81
  };
81
82
  datePipe: {
82
83
  customPeriod: string;
@@ -8,19 +8,19 @@
8
8
 
9
9
  &:active,
10
10
  &.kbq-pressed {
11
- & .kbq-icon {
11
+ & .kbq-icon.kbq-empty {
12
12
  color: var(--kbq-states-icon-contrast-fade-active);
13
13
  }
14
14
 
15
15
  background-color: var(--kbq-background-transparent);
16
16
  }
17
17
 
18
- &:hover .kbq-icon {
18
+ &:hover .kbq-icon.kbq-empty {
19
19
  color: var(--kbq-states-icon-contrast-fade-hover);
20
20
  }
21
21
 
22
22
  &.kbq-disabled {
23
- & .kbq-icon {
23
+ & .kbq-icon.kbq-empty {
24
24
  color: var(--kbq-states-icon-disabled);
25
25
  }
26
26
 
@@ -7,7 +7,7 @@
7
7
  color: var(--kbq-list-#{$style-name}-text-color);
8
8
  }
9
9
 
10
- .kbq-option-action .kbq-icon {
10
+ .kbq-option-action .kbq-icon.kbq-empty {
11
11
  color: var(--kbq-list-#{$style-name}-icon-button-color);
12
12
  }
13
13
 
@@ -63,6 +63,7 @@ export declare class KbqOption extends KbqOptionBase implements AfterViewChecked
63
63
  textElement: ElementRef;
64
64
  /** The form value of the option. */
65
65
  value: any;
66
+ selectable: boolean;
66
67
  userSelect: boolean;
67
68
  get showCheckbox(): boolean | undefined;
68
69
  set showCheckbox(value: boolean | undefined);
@@ -125,7 +126,8 @@ export declare class KbqOption extends KbqOptionBase implements AfterViewChecked
125
126
  getTabIndex(): string;
126
127
  getHostElement(): HTMLElement;
127
128
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqOption, [null, null, { optional: true; }, { optional: true; }]>;
128
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqOption, "kbq-option", ["kbqOption"], { "value": { "alias": "value"; "required": false; }; "userSelect": { "alias": "userSelect"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
129
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqOption, "kbq-option", ["kbqOption"], { "value": { "alias": "value"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "userSelect": { "alias": "userSelect"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; }, never, ["kbq-pseudo-checkbox", "*"], false, never>;
130
+ static ngAcceptInputType_selectable: unknown;
129
131
  static ngAcceptInputType_userSelect: unknown;
130
132
  }
131
133
  /**