@koobiq/components 18.39.3 → 18.39.5

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 (107) hide show
  1. package/checkbox/checkbox.scss +5 -5
  2. package/code-block/code-block.d.ts +10 -3
  3. package/code-block/code-block.module.d.ts +1 -1
  4. package/code-block/code-block.scss +1 -0
  5. package/code-block/types.d.ts +9 -0
  6. package/core/pop-up/pop-up-trigger.d.ts +4 -1
  7. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +2 -2
  8. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +4 -4
  9. package/esm2022/checkbox/checkbox.mjs +2 -2
  10. package/esm2022/code-block/code-block.mjs +23 -6
  11. package/esm2022/code-block/code-block.module.mjs +8 -5
  12. package/esm2022/code-block/types.mjs +1 -1
  13. package/esm2022/core/locales/en-US.mjs +2 -2
  14. package/esm2022/core/locales/es-LA.mjs +2 -2
  15. package/esm2022/core/locales/pt-BR.mjs +2 -2
  16. package/esm2022/core/locales/ru-RU.mjs +2 -2
  17. package/esm2022/core/locales/tk-TM.mjs +2 -2
  18. package/esm2022/core/pop-up/pop-up-trigger.mjs +11 -3
  19. package/esm2022/core/version.mjs +2 -2
  20. package/esm2022/filter-bar/pipes/pipe-date.mjs +7 -8
  21. package/esm2022/filter-bar/pipes/pipe-datetime.mjs +8 -9
  22. package/esm2022/filter-bar/pipes/pipe-text.mjs +3 -3
  23. package/esm2022/form-field/cleaner.mjs +3 -3
  24. package/esm2022/form-field/fieldset.mjs +2 -2
  25. package/esm2022/form-field/form-field.mjs +2 -2
  26. package/esm2022/form-field/password-toggle.mjs +3 -3
  27. package/esm2022/form-field/stepper.mjs +3 -1
  28. package/esm2022/icon/icon-button.component.mjs +2 -2
  29. package/esm2022/input/input-password.mjs +5 -4
  30. package/esm2022/input/input.mjs +5 -4
  31. package/esm2022/modal/modal-control.service.mjs +7 -1
  32. package/esm2022/navbar/navbar-item.component.mjs +9 -2
  33. package/esm2022/progress-spinner/progress-spinner.component.mjs +4 -3
  34. package/esm2022/search-expandable/search-expandable.mjs +3 -3
  35. package/esm2022/select/select.component.mjs +4 -3
  36. package/esm2022/sidepanel/sidepanel-directives.mjs +3 -3
  37. package/esm2022/tabs/tab-header.component.mjs +2 -2
  38. package/esm2022/tabs/tab-nav-bar.mjs +3 -3
  39. package/esm2022/tags/tag-input.mjs +15 -19
  40. package/esm2022/tags/tag-list.component.mjs +4 -3
  41. package/esm2022/textarea/textarea.component.mjs +4 -3
  42. package/esm2022/title/title.directive.mjs +18 -5
  43. package/esm2022/tooltip/tooltip.component.mjs +2 -2
  44. package/esm2022/top-bar/top-bar.mjs +7 -15
  45. package/esm2022/tree-select/tree-select.component.mjs +4 -3
  46. package/fesm2022/koobiq-components-autocomplete.mjs +3 -3
  47. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  48. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  49. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  50. package/fesm2022/koobiq-components-code-block.mjs +29 -9
  51. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  52. package/fesm2022/koobiq-components-core.mjs +15 -7
  53. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  54. package/fesm2022/koobiq-components-filter-bar.mjs +22 -22
  55. package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
  56. package/fesm2022/koobiq-components-form-field.mjs +10 -8
  57. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  58. package/fesm2022/koobiq-components-icon.mjs +2 -2
  59. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  60. package/fesm2022/koobiq-components-input.mjs +6 -4
  61. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  62. package/fesm2022/koobiq-components-modal.mjs +6 -0
  63. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  64. package/fesm2022/koobiq-components-navbar.mjs +8 -1
  65. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  66. package/fesm2022/koobiq-components-progress-spinner.mjs +3 -2
  67. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  68. package/fesm2022/koobiq-components-search-expandable.mjs +2 -2
  69. package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
  70. package/fesm2022/koobiq-components-select.mjs +3 -2
  71. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  72. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  73. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  74. package/fesm2022/koobiq-components-tabs.mjs +4 -4
  75. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  76. package/fesm2022/koobiq-components-tags.mjs +15 -18
  77. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  78. package/fesm2022/koobiq-components-textarea.mjs +3 -2
  79. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  80. package/fesm2022/koobiq-components-title.mjs +17 -4
  81. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  82. package/fesm2022/koobiq-components-tooltip.mjs +1 -1
  83. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  84. package/fesm2022/koobiq-components-top-bar.mjs +6 -14
  85. package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
  86. package/fesm2022/koobiq-components-tree-select.mjs +3 -2
  87. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  88. package/filter-bar/pipes/pipe-date.scss +3 -15
  89. package/form-field/form-field.scss +2 -1
  90. package/icon/icon-button.scss +4 -0
  91. package/input/input-password.d.ts +1 -0
  92. package/input/input.d.ts +1 -0
  93. package/navbar/navbar-item.component.d.ts +3 -1
  94. package/package.json +4 -4
  95. package/progress-spinner/_progress-spinner-theme.scss +14 -4
  96. package/progress-spinner/progress-spinner-tokens.scss +2 -0
  97. package/progress-spinner/progress-spinner.scss +1 -0
  98. package/schematics/ng-add/index.js +3 -3
  99. package/select/select.component.d.ts +1 -0
  100. package/tabs/_tabs-common.scss +2 -1
  101. package/tags/tag-input.d.ts +4 -3
  102. package/tags/tag-list.component.d.ts +1 -0
  103. package/textarea/textarea.component.d.ts +1 -0
  104. package/title/title.directive.d.ts +3 -0
  105. package/top-bar/top-bar.d.ts +1 -8
  106. package/top-bar/top-bar.scss +2 -8
  107. package/tree-select/tree-select.component.d.ts +1 -0
@@ -31,6 +31,7 @@
31
31
  transform: rotateZ(-90deg);
32
32
 
33
33
  font-size: 0;
34
+ line-height: 0;
34
35
  }
35
36
 
36
37
  .kbq-progress-spinner__content {
@@ -27,11 +27,11 @@ function ngAdd(options) {
27
27
  }
28
28
  // Installing dependencies
29
29
  utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.14");
30
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.39.3");
31
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.39.3");
30
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.39.5");
31
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.39.5");
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
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^10.10.0");
34
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^10.10.1");
35
35
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.14.0");
36
36
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.14.0");
37
37
  utils_packageConfig.addPackageToPackageJson(tree, '@messageformat/core', "^3.4.0");
@@ -74,6 +74,7 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
74
74
  ngControl: NgControl;
75
75
  private readonly scrollStrategyFactory;
76
76
  protected localeService?: KbqLocaleService | undefined;
77
+ private readonly useLegacyValidation;
77
78
  /** @docs-private */
78
79
  protected readonly destroyRef: DestroyRef;
79
80
  protected readonly isBrowser: boolean;
@@ -67,6 +67,7 @@
67
67
  & .kbq-tab-label__content {
68
68
  display: flex;
69
69
  align-items: center;
70
+ overflow: hidden;
70
71
 
71
72
  gap: var(--kbq-tabs-size-tab-item-content-gap-horizontal);
72
73
  }
@@ -83,7 +84,7 @@
83
84
  &.kbq-tab-label_vertical {
84
85
  justify-content: flex-start;
85
86
 
86
- & .kbq-tab-label__content {
87
+ & .kbq-tab-label__content:not(.kbq-tab-label__template) {
87
88
  display: block;
88
89
  overflow: hidden;
89
90
  text-overflow: ellipsis;
@@ -37,6 +37,7 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
37
37
  */
38
38
  set separatorKeyCodes(value: number[]);
39
39
  private _separatorKeyCodes;
40
+ /** @docs-private */
40
41
  get separators(): KbqTagSeparator[];
41
42
  private _separators;
42
43
  /** Emitted when a tag is to be added. */
@@ -58,10 +59,9 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
58
59
  private _addOnBlur;
59
60
  /**
60
61
  * Whether the tagEnd event will be emitted when the text pasted.
62
+ * @default true
61
63
  */
62
- get addOnPaste(): boolean;
63
- set addOnPaste(value: boolean);
64
- private _addOnPaste;
64
+ addOnPaste: boolean;
65
65
  /** Whether the input is disabled. */
66
66
  get disabled(): boolean;
67
67
  set disabled(value: boolean);
@@ -106,4 +106,5 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
106
106
  private isSeparatorKey;
107
107
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagInput, [null, null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
108
108
  static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagInput, "input[kbqTagInputFor]", ["kbqTagInput", "kbqTagInputFor"], { "separatorKeyCodes": { "alias": "kbqTagInputSeparatorKeyCodes"; "required": false; }; "distinct": { "alias": "distinct"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tagList": { "alias": "kbqTagInputFor"; "required": false; }; "addOnBlur": { "alias": "kbqTagInputAddOnBlur"; "required": false; }; "addOnPaste": { "alias": "kbqTagInputAddOnPaste"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "tagEnd": "kbqTagInputTokenEnd"; }, never, never, false, [{ directive: typeof i1.KbqFieldSizingContent; inputs: {}; outputs: {}; }]>;
109
+ static ngAcceptInputType_addOnPaste: unknown;
109
110
  }
@@ -28,6 +28,7 @@ export declare class KbqTagList implements KbqFormFieldControl<any>, ControlValu
28
28
  parentForm: NgForm;
29
29
  parentFormGroup: FormGroupDirective;
30
30
  ngControl: NgControl;
31
+ private readonly useLegacyValidation;
31
32
  private readonly dropList;
32
33
  private readonly destroyRef;
33
34
  private readonly focusMonitor;
@@ -15,6 +15,7 @@ export declare class KbqTextarea implements KbqFormFieldControl<any>, OnInit, On
15
15
  defaultErrorStateMatcher: ErrorStateMatcher;
16
16
  private parent;
17
17
  private ngZone;
18
+ private readonly useLegacyValidation;
18
19
  /** Whether the component is in an error state. */
19
20
  errorState: boolean;
20
21
  /** Parameter enables or disables the ability to automatically increase the height.
@@ -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;
@@ -1,4 +1,3 @@
1
- import { KbqOverflowItems } from '@koobiq/components/overflow-items';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class KbqTopBarSpacer {
4
3
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarSpacer, never>;
@@ -11,13 +10,7 @@ export declare class KbqTopBarContainer {
11
10
  /**
12
11
  * Conditionally applies a CSS class based on the value
13
12
  */
14
- placement: import("@angular/core").InputSignal<"start" | "end">;
15
- /**
16
- * Track if container has `KbqOverflowItems` directive assigned.
17
- * Used to replace `gap` with `margin` so `KbqOverflowItems` will calculate correct width on resize.
18
- * @docs-private
19
- */
20
- protected readonly overflowItems: KbqOverflowItems | null;
13
+ readonly placement: import("@angular/core").InputSignal<"start" | "end">;
21
14
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarContainer, never>;
22
15
  static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTopBarContainer, "[kbqTopBarContainer]", never, { "placement": { "alias": "placement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
23
16
  }
@@ -50,10 +50,6 @@
50
50
  margin-bottom: calc(-1 * var(--kbq-size-border-width));
51
51
  }
52
52
 
53
- .kbq-overflow-items {
54
- @include _overflow-items-margins;
55
- }
56
-
57
53
  &.kbq-top-bar-container__start {
58
54
  display: flex;
59
55
  gap: var(--kbq-top-bar-container-start-gap);
@@ -68,10 +64,8 @@
68
64
  justify-content: end;
69
65
  }
70
66
 
71
- &.kbq-top-bar-container__with-overflow-items {
72
- gap: unset;
73
- justify-content: unset;
74
-
67
+ &.kbq-overflow-items,
68
+ > .kbq-overflow-items {
75
69
  @include _overflow-items-margins;
76
70
  }
77
71
  }
@@ -80,6 +80,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
80
80
  ngControl: NgControl;
81
81
  private localeService?;
82
82
  protected readonly isBrowser: boolean;
83
+ private readonly useLegacyValidation;
83
84
  private readonly defaultOptions;
84
85
  /** Whether the component is in an error state. */
85
86
  errorState: boolean;