@dhutaryan/ngx-mat-timepicker 18.0.1 → 18.0.3

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.
@@ -1,8 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { BooleanInput } from '@angular/cdk/coercion';
3
+ import { MatTimepickerIntl } from './timepicker-intl';
3
4
  import * as i0 from "@angular/core";
4
5
  export type MatTimePeriodType = 'am' | 'pm';
5
6
  export declare class MatTimePeriod {
7
+ _intl: MatTimepickerIntl;
6
8
  /** Whether the time period is vertically aligned. */
7
9
  get vertical(): boolean;
8
10
  set vertical(value: BooleanInput);
@@ -14,6 +16,7 @@ export declare class MatTimePeriod {
14
16
  set disabledPeriod(value: MatTimePeriodType | null);
15
17
  private _disabledPeriod;
16
18
  periodChanged: EventEmitter<MatTimePeriodType>;
19
+ constructor(_intl: MatTimepickerIntl);
17
20
  setPeriod(event: Event, period: MatTimePeriodType): void;
18
21
  _isPeriodDisabled(period: MatTimePeriodType): boolean;
19
22
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTimePeriod, never>;
@@ -16,6 +16,10 @@ export declare class MatTimepickerIntl {
16
16
  okButton: string;
17
17
  /** A label for cancel button to close timepicker. */
18
18
  cancelButton: string;
19
+ /** A label for am text. */
20
+ am: string;
21
+ /** A label for am text. */
22
+ pm: string;
19
23
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTimepickerIntl, never>;
20
24
  static ɵprov: i0.ɵɵInjectableDeclaration<MatTimepickerIntl>;
21
25
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dhutaryan/ngx-mat-timepicker",
3
3
  "description": "Angular timepicker to add time which is based on material design and Angular material.",
4
- "version": "18.0.1",
4
+ "version": "18.0.3",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Dzmitry Hutaryan"
@@ -33,18 +33,19 @@
33
33
  "dependencies": {
34
34
  "tslib": ">=2.0.0"
35
35
  },
36
- "sideEffects": false,
37
- "module": "fesm2022/dhutaryan-ngx-mat-timepicker.mjs",
38
- "typings": "index.d.ts",
39
36
  "exports": {
40
- "./package.json": {
41
- "default": "./package.json"
42
- },
43
37
  ".": {
38
+ "sass": "./_index.scss",
44
39
  "types": "./index.d.ts",
45
40
  "esm2022": "./esm2022/dhutaryan-ngx-mat-timepicker.mjs",
46
41
  "esm": "./esm2022/dhutaryan-ngx-mat-timepicker.mjs",
47
42
  "default": "./fesm2022/dhutaryan-ngx-mat-timepicker.mjs"
43
+ },
44
+ "./package.json": {
45
+ "default": "./package.json"
48
46
  }
49
- }
47
+ },
48
+ "sideEffects": false,
49
+ "module": "fesm2022/dhutaryan-ngx-mat-timepicker.mjs",
50
+ "typings": "index.d.ts"
50
51
  }
@@ -18,6 +18,6 @@
18
18
  @include typography.m2-typography($typography);
19
19
  } @else {
20
20
  $typography: mat.m2-define-typography-config();
21
- @include typography($typography);
21
+ @include typography.m2-typography($typography);
22
22
  }
23
23
  }