@koobiq/components 17.0.0-rc.2 → 17.0.0-rc.4

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 (100) hide show
  1. package/alert/_alert-theme.scss +47 -20
  2. package/alert/alert.component.d.ts +23 -3
  3. package/alert/alert.component.scss +89 -56
  4. package/code-block/_code-block-theme.scss +23 -1
  5. package/code-block/actionbar.component.scss +2 -2
  6. package/code-block/code-block.component.d.ts +12 -4
  7. package/code-block/code-block.scss +36 -9
  8. package/core/locales/formatters.d.ts +96 -0
  9. package/core/locales/locale-service.d.ts +96 -0
  10. package/core/pop-up/pop-up-trigger.d.ts +3 -1
  11. package/core/styles/_variables.scss +1 -1
  12. package/core/styles/common/_tokens.scss +28 -0
  13. package/core/styles/theming/_components-theming.scss +67 -10
  14. package/core/styles/theming/_theming.scss +2 -2
  15. package/core/styles/typography/_typography.scss +35 -2
  16. package/core/utils/data-size/config.d.ts +20 -2
  17. package/core/utils/data-size/data-size.pipe.d.ts +10 -9
  18. package/core/utils/data-size/size.d.ts +3 -4
  19. package/ellipsis-center/ellipsis-center.directive.d.ts +3 -2
  20. package/esm2022/alert/alert.component.mjs +52 -5
  21. package/esm2022/code-block/actionbar.component.mjs +2 -2
  22. package/esm2022/code-block/code-block.component.mjs +58 -14
  23. package/esm2022/core/animation/select-animations.mjs +4 -4
  24. package/esm2022/core/locales/formatters.mjs +97 -1
  25. package/esm2022/core/pop-up/pop-up-trigger.mjs +18 -11
  26. package/esm2022/core/utils/data-size/config.mjs +5 -17
  27. package/esm2022/core/utils/data-size/data-size.pipe.mjs +36 -22
  28. package/esm2022/core/utils/data-size/size.mjs +10 -14
  29. package/esm2022/core/version.mjs +2 -2
  30. package/esm2022/dropdown/dropdown-animations.mjs +4 -4
  31. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -5
  32. package/esm2022/file-upload/file-upload.module.mjs +4 -5
  33. package/esm2022/form-field/password-toggle.mjs +11 -9
  34. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  35. package/esm2022/modal/modal.component.mjs +5 -6
  36. package/esm2022/navbar/navbar-item.component.mjs +9 -9
  37. package/esm2022/select/select-option.directive.mjs +7 -5
  38. package/esm2022/splitter/splitter.component.mjs +36 -16
  39. package/esm2022/textarea/textarea.component.mjs +12 -10
  40. package/esm2022/timezone/timezone-option.directive.mjs +7 -5
  41. package/esm2022/title/title.directive.mjs +2 -3
  42. package/esm2022/toast/toast-container.component.mjs +2 -2
  43. package/esm2022/toast/toast.component.mjs +4 -4
  44. package/esm2022/toast/toast.service.mjs +2 -2
  45. package/esm2022/toast/toast.type.mjs +3 -1
  46. package/esm2022/tooltip/tooltip.component.mjs +26 -12
  47. package/esm2022/tree/padding.directive.mjs +2 -2
  48. package/fesm2022/koobiq-components-alert.mjs +52 -5
  49. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  50. package/fesm2022/koobiq-components-code-block.mjs +57 -14
  51. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  52. package/fesm2022/koobiq-components-core.mjs +160 -62
  53. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  54. package/fesm2022/koobiq-components-dropdown.mjs +3 -3
  55. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  56. package/fesm2022/koobiq-components-ellipsis-center.mjs +5 -4
  57. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  58. package/fesm2022/koobiq-components-file-upload.mjs +3 -4
  59. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  60. package/fesm2022/koobiq-components-form-field.mjs +15 -15
  61. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  62. package/fesm2022/koobiq-components-loader-overlay.mjs +1 -1
  63. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  64. package/fesm2022/koobiq-components-modal.mjs +4 -5
  65. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  66. package/fesm2022/koobiq-components-navbar.mjs +8 -8
  67. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  68. package/fesm2022/koobiq-components-select.mjs +5 -4
  69. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  70. package/fesm2022/koobiq-components-splitter.mjs +35 -15
  71. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  72. package/fesm2022/koobiq-components-textarea.mjs +11 -9
  73. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  74. package/fesm2022/koobiq-components-timezone.mjs +5 -4
  75. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  76. package/fesm2022/koobiq-components-title.mjs +1 -2
  77. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  78. package/fesm2022/koobiq-components-toast.mjs +8 -6
  79. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  80. package/fesm2022/koobiq-components-tooltip.mjs +24 -11
  81. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  82. package/fesm2022/koobiq-components-tree.mjs +1 -1
  83. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  84. package/file-upload/file-upload.module.d.ts +1 -1
  85. package/form-field/password-toggle.d.ts +3 -2
  86. package/link/_link-theme.scss +4 -2
  87. package/navbar/navbar-item.component.d.ts +4 -4
  88. package/package.json +6 -6
  89. package/prebuilt-themes/dark-theme.css +1 -1
  90. package/prebuilt-themes/light-theme.css +1 -1
  91. package/schematics/ng-add/index.js +4 -4
  92. package/select/select-option.directive.d.ts +3 -2
  93. package/splitter/splitter.component.d.ts +10 -5
  94. package/timezone/timezone-option.directive.d.ts +3 -2
  95. package/title/title.directive.d.ts +0 -1
  96. package/toast/_toast-theme.scss +10 -5
  97. package/toast/toast-container.component.scss +4 -1
  98. package/toast/toast.component.scss +22 -17
  99. package/toast/toast.type.d.ts +2 -0
  100. package/tooltip/tooltip.component.d.ts +12 -8
@@ -15,6 +15,6 @@ import * as i13 from "@koobiq/components/core";
15
15
  import * as i14 from "@koobiq/components/link";
16
16
  export declare class KbqFileUploadModule {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqFileUploadModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFileUploadModule, [typeof i1.KbqFileDropDirective, typeof i2.KbqSingleFileUploadComponent, typeof i3.KbqMultipleFileUploadComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.KbqToolTipModule, typeof i7.KbqProgressSpinnerModule, typeof i8.KbqIconModule, typeof i9.KbqButtonModule, typeof i10.KbqListModule, typeof i11.KbqFormFieldModule, typeof i12.KbqEllipsisCenterModule, typeof i13.KbqDataSizeModule, typeof i14.KbqLinkModule], [typeof i2.KbqSingleFileUploadComponent, typeof i3.KbqMultipleFileUploadComponent, typeof i1.KbqFileDropDirective]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFileUploadModule, [typeof i1.KbqFileDropDirective, typeof i2.KbqSingleFileUploadComponent, typeof i3.KbqMultipleFileUploadComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.KbqToolTipModule, typeof i7.KbqProgressSpinnerModule, typeof i8.KbqIconModule, typeof i9.KbqButtonModule, typeof i10.KbqListModule, typeof i11.KbqFormFieldModule, typeof i12.KbqEllipsisCenterModule, typeof i13.KbqDataSizePipe, typeof i14.KbqLinkModule], [typeof i2.KbqSingleFileUploadComponent, typeof i3.KbqMultipleFileUploadComponent, typeof i1.KbqFileDropDirective]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqFileUploadModule>;
20
20
  }
@@ -1,3 +1,4 @@
1
+ import { FocusMonitor } from '@angular/cdk/a11y';
1
2
  import { Directionality } from '@angular/cdk/bidi';
2
3
  import { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';
3
4
  import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, TemplateRef, ViewContainerRef } from '@angular/core';
@@ -15,10 +16,10 @@ export declare class KbqPasswordToggle extends KbqTooltipTrigger implements Afte
15
16
  get hidden(): boolean;
16
17
  get iconClass(): string;
17
18
  get visibility(): string;
18
- constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, formField: KbqFormFieldRef, changeDetector: ChangeDetectorRef);
19
+ constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, focusMonitor: FocusMonitor, direction: Directionality, formField: KbqFormFieldRef, changeDetector: ChangeDetectorRef);
19
20
  ngAfterViewInit(): void;
20
21
  toggle(event: KeyboardEvent): void;
21
22
  private updateState;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordToggle, [null, null, null, null, null, null, { optional: true; }, null, null]>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordToggle, [null, null, null, null, null, null, null, { optional: true; }, null, null]>;
23
24
  static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordToggle, "kbq-password-toggle", ["kbqPasswordToggle"], { "content": { "alias": "kbqTooltipNotHidden"; "required": false; }; "kbqTooltipHidden": { "alias": "kbqTooltipHidden"; "required": false; }; }, {}, never, never, false, never>;
24
25
  }
@@ -117,7 +117,8 @@
117
117
  @include kbq-link-state($hover);
118
118
  }
119
119
 
120
- &:active {
120
+ &:active,
121
+ &.kbq-active {
121
122
  $active: map.get($link, active);
122
123
  @include kbq-link-state($active);
123
124
  }
@@ -131,7 +132,8 @@
131
132
  @include kbq-link-state($visited-hover);
132
133
  }
133
134
 
134
- &:active {
135
+ &:active,
136
+ &.kbq-active {
135
137
  $visited-active: map.get($link, visited-active);
136
138
  @include kbq-link-state($visited-active);
137
139
  }
@@ -128,13 +128,13 @@ export declare class KbqNavbarItem extends KbqTooltipTrigger {
128
128
  get showVerticalDropDownAngle(): boolean;
129
129
  get showHorizontalDropDownAngle(): boolean;
130
130
  get hasCroppedText(): boolean;
131
- constructor(rectangleElement: KbqNavbarRectangleElement, navbarFocusableItem: KbqNavbarFocusableItem, changeDetectorRef: ChangeDetectorRef, overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, dropdownTrigger: KbqDropdownTrigger, bento: KbqNavbarBento);
131
+ constructor(rectangleElement: KbqNavbarRectangleElement, navbarFocusableItem: KbqNavbarFocusableItem, changeDetectorRef: ChangeDetectorRef, overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, focusMonitor: FocusMonitor, direction: Directionality, dropdownTrigger: KbqDropdownTrigger, bento: KbqNavbarBento);
132
132
  ngAfterContentInit(): void;
133
133
  updateTooltip(): void;
134
134
  getTitleWidth(): number;
135
135
  onKeyDown($event: KeyboardEvent): void;
136
136
  private updateCollapsedState;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarItem, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
137
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarItem, [null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
138
138
  static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarItem, "kbq-navbar-item, [kbq-navbar-item]", ["kbqNavbarItem"], { "collapsedText": { "alias": "collapsedText"; "required": false; }; "trigger": { "alias": "kbqTrigger"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; }, {}, ["title", "icon"], ["[kbq-icon]", "kbq-navbar-title, [kbq-navbar-title]", "*"], false, never>;
139
139
  }
140
140
  export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDestroy {
@@ -146,12 +146,12 @@ export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDest
146
146
  set content(content: string | TemplateRef<any>);
147
147
  get disabled(): boolean;
148
148
  protected modifier: TooltipModifier;
149
- constructor(navbar: KbqVerticalNavbar, changeDetectorRef: ChangeDetectorRef, overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, document: any);
149
+ constructor(navbar: KbqVerticalNavbar, changeDetectorRef: ChangeDetectorRef, overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, focusMonitor: FocusMonitor, direction: Directionality, document: any);
150
150
  onKeydown($event: KeyboardEvent): void;
151
151
  ngOnDestroy(): void;
152
152
  toggle: () => void;
153
153
  private getWindow;
154
154
  private windowToggleHandler;
155
- static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
155
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
156
156
  static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarToggle, "kbq-navbar-toggle", never, { "content": { "alias": "kbqCollapsedTooltip"; "required": false; }; }, {}, ["customIcon"], ["[kbq-icon]", "kbq-navbar-title"], false, never>;
157
157
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koobiq/components",
3
- "version": "17.0.0-rc.2",
3
+ "version": "17.0.0-rc.4",
4
4
  "description": "koobiq",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,13 +19,13 @@
19
19
  "peerDependencies": {
20
20
  "@angular/cdk": "^17.2.0",
21
21
  "@angular/forms": "^17.2.0",
22
- "@koobiq/cdk": "^17.0.0-rc.2",
23
- "@koobiq/angular-moment-adapter": "^17.0.0-rc.2",
24
- "@koobiq/angular-luxon-adapter": "^17.0.0-rc.2",
22
+ "@koobiq/cdk": "^17.0.0-rc.4",
23
+ "@koobiq/angular-moment-adapter": "^17.0.0-rc.4",
24
+ "@koobiq/angular-luxon-adapter": "^17.0.0-rc.4",
25
25
  "@koobiq/date-formatter": "^3.0.2",
26
26
  "@koobiq/icons": "^7.1.0",
27
- "@koobiq/tokens-builder": "3.0.0-beta.32",
28
- "@koobiq/design-tokens": "3.0.0-beta.32",
27
+ "@koobiq/tokens-builder": "3.0.0-rc.4",
28
+ "@koobiq/design-tokens": "3.0.0-rc.4",
29
29
  "marked": "^4.0.18",
30
30
  "overlayscrollbars": "^2.2.0",
31
31
  "ngx-highlightjs": "^10.0.0"