@koobiq/components 19.0.0 → 19.1.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 (80) hide show
  1. package/app-switcher/app-switcher.d.ts +4 -3
  2. package/checkbox/checkbox.scss +5 -21
  3. package/core/locales/en-US.d.ts +8 -0
  4. package/core/locales/es-LA.d.ts +8 -0
  5. package/core/locales/locale-service.d.ts +40 -0
  6. package/core/locales/pt-BR.d.ts +8 -0
  7. package/core/locales/ru-RU.d.ts +8 -0
  8. package/core/locales/tk-TM.d.ts +8 -0
  9. package/core/locales/types.d.ts +21 -0
  10. package/core/option/option.d.ts +1 -0
  11. package/core/styles/common/_visually-hidden.scss +1 -0
  12. package/core/styles/theming/_scrollbar-theme.scss +1 -0
  13. package/datepicker/datepicker-input.directive.d.ts +1 -1
  14. package/fesm2022/koobiq-components-app-switcher.mjs +19 -16
  15. package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -1
  16. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  17. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  18. package/fesm2022/koobiq-components-content-panel.mjs.map +1 -1
  19. package/fesm2022/koobiq-components-core.mjs +54 -12
  20. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  21. package/fesm2022/koobiq-components-datepicker.mjs +0 -1
  22. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  23. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  24. package/fesm2022/koobiq-components-file-upload.mjs +106 -64
  25. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  26. package/fesm2022/koobiq-components-filter-bar.mjs +75 -38
  27. package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
  28. package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
  29. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  30. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  31. package/fesm2022/koobiq-components-modal.mjs +2 -2
  32. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  33. package/fesm2022/koobiq-components-navbar-ic.mjs.map +1 -1
  34. package/fesm2022/koobiq-components-popover.mjs +4 -4
  35. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  36. package/fesm2022/koobiq-components-progress-spinner.mjs +3 -2
  37. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  38. package/fesm2022/koobiq-components-risk-level.mjs +6 -0
  39. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  40. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  41. package/fesm2022/koobiq-components-select.mjs +4 -2
  42. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  43. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  44. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  45. package/fesm2022/koobiq-components-timepicker.mjs +3 -4
  46. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  47. package/fesm2022/koobiq-components-title.mjs +15 -2
  48. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  49. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  50. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  51. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  52. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  53. package/fesm2022/koobiq-components-tree.mjs +2 -2
  54. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  55. package/file-upload/file-upload.d.ts +22 -3
  56. package/file-upload/multiple-file-upload.component.d.ts +15 -27
  57. package/file-upload/single-file-upload.component.d.ts +16 -12
  58. package/filter-bar/pipes/pipe-multi-select.d.ts +4 -1
  59. package/filter-bar/pipes/pipe-multi-tree-select.d.ts +5 -0
  60. package/loader-overlay/loader-overlay.scss +22 -31
  61. package/modal/modal.scss +1 -1
  62. package/package.json +6 -6
  63. package/popover/_popover-theme.scss +2 -2
  64. package/progress-spinner/_progress-spinner-theme.scss +14 -4
  65. package/progress-spinner/progress-spinner-tokens.scss +2 -0
  66. package/progress-spinner/progress-spinner.scss +1 -1
  67. package/risk-level/risk-level.component.d.ts +3 -0
  68. package/risk-level/risk-level.module.d.ts +3 -0
  69. package/schematics/migrations/new-icons-pack/README.md +52 -4
  70. package/schematics/migrations/new-icons-pack/data.js +1142 -1142
  71. package/schematics/migrations/new-icons-pack/index.js +18 -7
  72. package/schematics/migrations/new-icons-pack/migration.json +4570 -0
  73. package/schematics/migrations/new-icons-pack/replacement.json +18 -0
  74. package/schematics/migrations/new-icons-pack/schema.json +13 -0
  75. package/schematics/ng-add/index.js +4 -4
  76. package/timepicker/timepicker.directive.d.ts +2 -2
  77. package/title/title.directive.d.ts +3 -0
  78. package/tooltip/_tooltip-theme.scss +5 -6
  79. package/tooltip/tooltip.scss +1 -0
  80. package/tree/tree-option.scss +1 -1
@@ -0,0 +1,18 @@
1
+ [
2
+ {
3
+ "replace": "class=\"mc mc-icon",
4
+ "replaceWith": "class=\"kbq mc-icon"
5
+ },
6
+ {
7
+ "replace": "class=\"mc ",
8
+ "replaceWith": "class=\"kbq "
9
+ },
10
+ {
11
+ "replace": "class: 'mc mc-icon",
12
+ "replaceWith": "class: 'kbq mc-icon"
13
+ },
14
+ {
15
+ "replace": " mc ",
16
+ "replaceWith": " kbq "
17
+ }
18
+ ]
@@ -20,6 +20,19 @@
20
20
  "type": "string",
21
21
  "description": "Use this option to specify styles extension preferred in your project",
22
22
  "default": "scss"
23
+ },
24
+ "updatePrefix": {
25
+ "type": "boolean",
26
+ "description": "Whether to change icon prefixes",
27
+ "default": false
28
+ },
29
+ "customDataPath": {
30
+ "type": "string",
31
+ "description": "Use this option to specify styles extension preferred in your project"
32
+ },
33
+ "customIconReplacementPath": {
34
+ "type": "string",
35
+ "description": "Use this option to specify styles extension preferred in your project"
23
36
  }
24
37
  }
25
38
  }
@@ -27,13 +27,13 @@ function ngAdd(options) {
27
27
  }
28
28
  // Installing dependencies
29
29
  utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^19.2.19");
30
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^19.0.0");
31
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^19.0.0");
30
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^19.1.0");
31
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^19.1.0");
32
32
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.4.0");
33
33
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.4.0");
34
34
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^11.2.0");
35
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.14.0");
36
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.14.0");
35
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.15.0");
36
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.15.0");
37
37
  utils_packageConfig.addPackageToPackageJson(tree, '@messageformat/core', "^3.4.0");
38
38
  utils_packageConfig.addPackageToPackageJson(tree, 'luxon', "^3.7.2");
39
39
  };
@@ -2,7 +2,7 @@ import { AfterContentInit, DoCheck, ElementRef, EventEmitter, OnDestroy, Rendere
2
2
  import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
3
  import { DateAdapter, ErrorStateMatcher, KbqLocaleService } from '@koobiq/components/core';
4
4
  import { KbqFormFieldControl } from '@koobiq/components/form-field';
5
- import { KbqWarningTooltipTrigger } from '@koobiq/components/tooltip';
5
+ import type { KbqWarningTooltipTrigger } from '@koobiq/components/tooltip';
6
6
  import { Subject } from 'rxjs';
7
7
  import { TimeFormats } from './timepicker.constants';
8
8
  import * as i0 from "@angular/core";
@@ -89,7 +89,7 @@ export declare class KbqTimepicker<D> implements KbqFormFieldControl<D>, Control
89
89
  private readonly uid;
90
90
  private readonly validator;
91
91
  private lastValueValid;
92
- private control;
92
+ private control?;
93
93
  private defaultPlaceholder;
94
94
  private separator;
95
95
  private onChange;
@@ -5,6 +5,8 @@ import { Subject } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class KbqTitleDirective extends KbqTooltipTrigger implements AfterViewInit, OnDestroy {
7
7
  private componentInstance?;
8
+ private readonly renderer;
9
+ private readonly nativeElement;
8
10
  private contentObserver;
9
11
  set trigger(value: string);
10
12
  get trigger(): string;
@@ -14,6 +16,7 @@ export declare class KbqTitleDirective extends KbqTooltipTrigger implements Afte
14
16
  get viewValue(): string;
15
17
  get parent(): HTMLElement;
16
18
  get child(): HTMLElement;
19
+ get hasOnlyText(): boolean;
17
20
  readonly resizeStream: Subject<Event>;
18
21
  private readonly debounceInterval;
19
22
  private resizeSubscription;
@@ -9,7 +9,6 @@
9
9
 
10
10
  & .kbq-tooltip__arrow {
11
11
  background-color: var(--kbq-tooltip-#{$style-name}-background);
12
- box-shadow: var(--kbq-tooltip-borderless-shadow);
13
12
  }
14
13
 
15
14
  &.kbq-tooltip_arrowless {
@@ -18,11 +17,6 @@
18
17
  }
19
18
 
20
19
  @mixin kbq-tooltip-theme() {
21
- .kbq-tooltip,
22
- .kbq-tooltip__arrow {
23
- box-shadow: var(--kbq-tooltip-borderless-shadow);
24
- }
25
-
26
20
  .kbq-tooltip.kbq-theme {
27
21
  @include kbq-tooltip-color(theme-fade-off);
28
22
  }
@@ -33,6 +27,11 @@
33
27
 
34
28
  .kbq-tooltip.kbq-contrast-fade {
35
29
  @include kbq-tooltip-color(contrast-fade-on);
30
+
31
+ &.kbq-tooltip,
32
+ & .kbq-tooltip__arrow {
33
+ box-shadow: var(--kbq-shadow-popup);
34
+ }
36
35
  }
37
36
 
38
37
  .kbq-tooltip.kbq-warning {
@@ -35,6 +35,7 @@ $trigger-margin_without-arrow: 4px;
35
35
 
36
36
  .kbq-tooltip__inner {
37
37
  border-radius: var(--kbq-tooltip-size-border-radius);
38
+ /* stylelint-disable-next-line declaration-property-value-keyword-no-deprecated */
38
39
  word-break: break-word;
39
40
  }
40
41
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  min-height: 32px;
16
16
 
17
- word-wrap: break-word;
17
+ overflow-wrap: break-word;
18
18
 
19
19
  border-width: var(--kbq-tree-size-container-focus-outline-width);
20
20
  border-style: solid;