@koobiq/components 16.0.0-beta.11 → 16.0.0-beta.13

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 (61) hide show
  1. package/button/_button-theme.scss +8 -20
  2. package/checkbox/checkbox.scss +6 -8
  3. package/code-block/_code-block-theme.scss +10 -10
  4. package/code-block/code-block.scss +1 -1
  5. package/core/locales/index.d.ts +0 -2
  6. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +4 -15
  7. package/core/styles/common/_select.scss +2 -1
  8. package/core/styles/theming/_components-theming.scss +4 -12
  9. package/core/styles/typography/_typography.scss +4 -0
  10. package/esm2022/button/button.component.mjs +6 -3
  11. package/esm2022/checkbox/checkbox.mjs +2 -2
  12. package/esm2022/code-block/code-block.component.mjs +2 -2
  13. package/esm2022/core/formatters/index.mjs +4 -3
  14. package/esm2022/core/locales/index.mjs +1 -3
  15. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  16. package/esm2022/core/version.mjs +2 -2
  17. package/esm2022/form-field/form-field.mjs +2 -2
  18. package/esm2022/form-field/hint.mjs +17 -5
  19. package/esm2022/form-field/password-hint.mjs +22 -19
  20. package/esm2022/form-field/validate.directive.mjs +4 -5
  21. package/esm2022/input/input-number.mjs +4 -3
  22. package/esm2022/navbar/navbar-item.component.mjs +7 -7
  23. package/esm2022/select/select.component.mjs +5 -4
  24. package/esm2022/timezone/timezone-select.component.mjs +3 -3
  25. package/esm2022/tree-select/tree-select.component.mjs +15 -7
  26. package/esm2022/tree-select/tree-select.module.mjs +6 -6
  27. package/fesm2022/koobiq-components-button.mjs +5 -2
  28. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  29. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  30. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  31. package/fesm2022/koobiq-components-code-block.mjs +2 -2
  32. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  33. package/fesm2022/koobiq-components-core.mjs +8 -10
  34. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  35. package/fesm2022/koobiq-components-form-field.mjs +40 -27
  36. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  37. package/fesm2022/koobiq-components-input.mjs +3 -2
  38. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  39. package/fesm2022/koobiq-components-navbar.mjs +6 -6
  40. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  41. package/fesm2022/koobiq-components-select.mjs +4 -3
  42. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  43. package/fesm2022/koobiq-components-timezone.mjs +2 -2
  44. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  45. package/fesm2022/koobiq-components-tree-select.mjs +19 -11
  46. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  47. package/file-upload/_file-upload-theme.scss +3 -1
  48. package/form-field/_form-field-theme.scss +3 -8
  49. package/form-field/form-field.scss +12 -1
  50. package/form-field/hint.scss +1 -1
  51. package/form-field/password-hint.d.ts +7 -5
  52. package/link/_link-theme.scss +1 -0
  53. package/navbar/_navbar-theme.scss +5 -3
  54. package/navbar/navbar-item.component.d.ts +1 -1
  55. package/package.json +10 -10
  56. package/prebuilt-themes/dark-theme.css +1 -1
  57. package/prebuilt-themes/light-theme.css +1 -1
  58. package/select/select.scss +7 -0
  59. package/tree-select/tree-select.component.d.ts +8 -4
  60. package/tree-select/tree-select.module.d.ts +1 -1
  61. package/form-field/password-hint.scss +0 -17
@@ -717,7 +717,7 @@ const znCNLocaleData = {
717
717
  }
718
718
  };
719
719
 
720
- const KBQ_LOCALE_ID$1 = new InjectionToken('KbqLocaleId');
720
+ const KBQ_LOCALE_ID = new InjectionToken('KbqLocaleId');
721
721
  const KBQ_DEFAULT_LOCALE_ID = 'ru-RU';
722
722
  function KBQ_DEFAULT_LOCALE_DATA_FACTORY() {
723
723
  return {
@@ -760,7 +760,7 @@ class KbqLocaleService {
760
760
  getParams(componentName) {
761
761
  return this.current[componentName];
762
762
  }
763
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqLocaleService, deps: [{ token: KBQ_LOCALE_ID$1, optional: true }, { token: KBQ_LOCALE_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
763
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqLocaleService, deps: [{ token: KBQ_LOCALE_ID, optional: true }, { token: KBQ_LOCALE_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
764
764
  /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqLocaleService, providedIn: 'root' }); }
765
765
  }
766
766
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqLocaleService, decorators: [{
@@ -770,7 +770,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
770
770
  type: Optional
771
771
  }, {
772
772
  type: Inject,
773
- args: [KBQ_LOCALE_ID$1]
773
+ args: [KBQ_LOCALE_ID]
774
774
  }] }, { type: undefined, decorators: [{
775
775
  type: Optional
776
776
  }, {
@@ -794,8 +794,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
794
794
  }]
795
795
  }] });
796
796
 
797
- const KBQ_LOCALE_ID = new InjectionToken('KbqLocaleId');
798
-
799
797
  /* tslint:disable:naming-convention */
800
798
  const KBQ_NUMBER_FORMATTER_OPTIONS = new InjectionToken('KbqNumberFormatterOptions');
801
799
  const KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS = {
@@ -1175,7 +1173,7 @@ class KbqFormattersModule {
1175
1173
  RangeDateTimeFormatterPipe,
1176
1174
  RangeShortDateTimeFormatterPipe,
1177
1175
  RangeMiddleDateTimeFormatterPipe] }); }
1178
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormattersModule, providers: [DateFormatter] }); }
1176
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormattersModule, providers: [{ provide: DateFormatter, deps: [DateAdapter, KBQ_DATE_LOCALE] }] }); }
1179
1177
  }
1180
1178
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormattersModule, decorators: [{
1181
1179
  type: NgModule,
@@ -1216,7 +1214,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
1216
1214
  RangeShortDateTimeFormatterPipe,
1217
1215
  RangeMiddleDateTimeFormatterPipe
1218
1216
  ],
1219
- providers: [DateFormatter]
1217
+ providers: [{ provide: DateFormatter, deps: [DateAdapter, KBQ_DATE_LOCALE] }]
1220
1218
  }]
1221
1219
  }] });
1222
1220
 
@@ -1478,7 +1476,7 @@ class KbqPseudoCheckbox extends KbqPseudoCheckboxMixinBase {
1478
1476
  this.disabled = false;
1479
1477
  }
1480
1478
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqPseudoCheckbox, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
1481
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqPseudoCheckbox, selector: "kbq-pseudo-checkbox", inputs: { color: "color", big: "big", state: "state", disabled: "disabled" }, host: { properties: { "class.kbq-checkbox_big": "big", "class.kbq-indeterminate": "state === \"indeterminate\"", "class.kbq-checked": "state === \"checked\"", "class.kbq-disabled": "disabled" }, classAttribute: "kbq-pseudo-checkbox" }, usesInheritance: true, ngImport: i0, template: "<i class=\"kbq-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"kbq-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".kbq-pseudo-checkbox{position:relative;display:inline-block;box-sizing:border-box;width:var(--kbq-checkbox-size-normal-width, 16px);height:var(--kbq-checkbox-size-normal-width, 16px);border-radius:var(--kbq-checkbox-size-normal-border-radius, 4px);border-width:var(--kbq-checkbox-size-normal-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.kbq-pseudo-checkbox .kbq-checkbox-checkmark,.kbq-pseudo-checkbox .kbq-checkbox-mixedmark{display:none;position:absolute;top:calc(-1 * var(--kbq-checkbox-size-normal-border-width, 1px));left:calc(-1 * var(--kbq-checkbox-size-normal-border-width, 1px))}.kbq-pseudo-checkbox.kbq-pseudo-checkbox-checked,.kbq-pseudo-checkbox.kbq-pseudo-checkbox-indeterminate{border-color:transparent}.kbq-pseudo-checkbox.kbq-checked .kbq-checkbox-checkmark,.kbq-pseudo-checkbox.kbq-indeterminate .kbq-checkbox-mixedmark{display:inline-block}.kbq-pseudo-checkbox.kbq-disabled{cursor:default}.kbq-pseudo-checkbox.kbq-pseudo-checkbox_big{width:var(--kbq-checkbox-size-big-width, 16px);height:var(--kbq-checkbox-size-big-width, 16px);border-radius:var(--kbq-checkbox-size-big-border-radius, 4px);border-width:var(--kbq-checkbox-size-big-border-width, 1px)}.kbq-pseudo-checkbox.kbq-pseudo-checkbox_big .kbq-checkbox-checkmark,.kbq-pseudo-checkbox.kbq-pseudo-checkbox_big .kbq-checkbox-mixedmark{top:calc(-1 * var(--kbq-checkbox-size-big-border-width, 1px));left:calc(-1 * var(--kbq-checkbox-size-big-border-width, 1px))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1479
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqPseudoCheckbox, selector: "kbq-pseudo-checkbox", inputs: { color: "color", big: "big", state: "state", disabled: "disabled" }, host: { properties: { "class.kbq-checkbox_big": "big", "class.kbq-indeterminate": "state === \"indeterminate\"", "class.kbq-checked": "state === \"checked\"", "class.kbq-disabled": "disabled" }, classAttribute: "kbq-pseudo-checkbox" }, usesInheritance: true, ngImport: i0, template: "<i class=\"kbq-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"kbq-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".kbq-pseudo-checkbox{position:relative;display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;width:var(--kbq-checkbox-size-normal-width, 16px);height:var(--kbq-checkbox-size-normal-width, 16px);border-radius:var(--kbq-checkbox-size-normal-border-radius, 4px);border-width:var(--kbq-checkbox-size-normal-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.kbq-pseudo-checkbox .kbq-checkbox-checkmark,.kbq-pseudo-checkbox .kbq-checkbox-mixedmark{display:none}.kbq-pseudo-checkbox.kbq-pseudo-checkbox-checked,.kbq-pseudo-checkbox.kbq-pseudo-checkbox-indeterminate{border-color:transparent}.kbq-pseudo-checkbox.kbq-checked .kbq-checkbox-checkmark,.kbq-pseudo-checkbox.kbq-indeterminate .kbq-checkbox-mixedmark{display:inline-block}.kbq-pseudo-checkbox.kbq-disabled{cursor:default}.kbq-pseudo-checkbox.kbq-pseudo-checkbox_big{width:var(--kbq-checkbox-size-big-width, 16px);height:var(--kbq-checkbox-size-big-width, 16px);border-radius:var(--kbq-checkbox-size-big-border-radius, 4px);border-width:var(--kbq-checkbox-size-big-border-width, 1px)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1482
1480
  }
1483
1481
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqPseudoCheckbox, decorators: [{
1484
1482
  type: Component,
@@ -1488,7 +1486,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
1488
1486
  '[class.kbq-indeterminate]': 'state === "indeterminate"',
1489
1487
  '[class.kbq-checked]': 'state === "checked"',
1490
1488
  '[class.kbq-disabled]': 'disabled'
1491
- }, preserveWhitespaces: false, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<i class=\"kbq-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"kbq-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".kbq-pseudo-checkbox{position:relative;display:inline-block;box-sizing:border-box;width:var(--kbq-checkbox-size-normal-width, 16px);height:var(--kbq-checkbox-size-normal-width, 16px);border-radius:var(--kbq-checkbox-size-normal-border-radius, 4px);border-width:var(--kbq-checkbox-size-normal-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.kbq-pseudo-checkbox .kbq-checkbox-checkmark,.kbq-pseudo-checkbox .kbq-checkbox-mixedmark{display:none;position:absolute;top:calc(-1 * var(--kbq-checkbox-size-normal-border-width, 1px));left:calc(-1 * var(--kbq-checkbox-size-normal-border-width, 1px))}.kbq-pseudo-checkbox.kbq-pseudo-checkbox-checked,.kbq-pseudo-checkbox.kbq-pseudo-checkbox-indeterminate{border-color:transparent}.kbq-pseudo-checkbox.kbq-checked .kbq-checkbox-checkmark,.kbq-pseudo-checkbox.kbq-indeterminate .kbq-checkbox-mixedmark{display:inline-block}.kbq-pseudo-checkbox.kbq-disabled{cursor:default}.kbq-pseudo-checkbox.kbq-pseudo-checkbox_big{width:var(--kbq-checkbox-size-big-width, 16px);height:var(--kbq-checkbox-size-big-width, 16px);border-radius:var(--kbq-checkbox-size-big-border-radius, 4px);border-width:var(--kbq-checkbox-size-big-border-width, 1px)}.kbq-pseudo-checkbox.kbq-pseudo-checkbox_big .kbq-checkbox-checkmark,.kbq-pseudo-checkbox.kbq-pseudo-checkbox_big .kbq-checkbox-mixedmark{top:calc(-1 * var(--kbq-checkbox-size-big-border-width, 1px));left:calc(-1 * var(--kbq-checkbox-size-big-border-width, 1px))}\n"] }]
1489
+ }, preserveWhitespaces: false, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<i class=\"kbq-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"kbq-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".kbq-pseudo-checkbox{position:relative;display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;width:var(--kbq-checkbox-size-normal-width, 16px);height:var(--kbq-checkbox-size-normal-width, 16px);border-radius:var(--kbq-checkbox-size-normal-border-radius, 4px);border-width:var(--kbq-checkbox-size-normal-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.kbq-pseudo-checkbox .kbq-checkbox-checkmark,.kbq-pseudo-checkbox .kbq-checkbox-mixedmark{display:none}.kbq-pseudo-checkbox.kbq-pseudo-checkbox-checked,.kbq-pseudo-checkbox.kbq-pseudo-checkbox-indeterminate{border-color:transparent}.kbq-pseudo-checkbox.kbq-checked .kbq-checkbox-checkmark,.kbq-pseudo-checkbox.kbq-indeterminate .kbq-checkbox-mixedmark{display:inline-block}.kbq-pseudo-checkbox.kbq-disabled{cursor:default}.kbq-pseudo-checkbox.kbq-pseudo-checkbox_big{width:var(--kbq-checkbox-size-big-width, 16px);height:var(--kbq-checkbox-size-big-width, 16px);border-radius:var(--kbq-checkbox-size-big-border-radius, 4px);border-width:var(--kbq-checkbox-size-big-border-width, 1px)}\n"] }]
1492
1490
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { big: [{
1493
1491
  type: Input
1494
1492
  }], state: [{
@@ -2817,7 +2815,7 @@ const validationTooltipShowDelay = 10;
2817
2815
  const validationTooltipHideDelay = 3000;
2818
2816
  const KBQ_VALIDATION = new InjectionToken('KbqUseValidation', { factory: () => ({ useValidation: true }) });
2819
2817
 
2820
- const VERSION = new Version('16.0.0-beta.11+sha-0a44c80');
2818
+ const VERSION = new Version('16.0.0-beta.13+sha-affb8bc');
2821
2819
 
2822
2820
  /**
2823
2821
  * Generated bundle index. Do not edit.