suis 0.27.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,4 +30,5 @@ export * from './suis-spinner-container';
30
30
  export * from './suis-table';
31
31
  export * from './suis-tabs';
32
32
  export * from './suis-title';
33
+ export * from './suis-toggle';
33
34
  export * from './suis-toolbar';
@@ -1,17 +1,9 @@
1
- import { SuisInputBase } from '../../shared/classes/suis-input.base';
2
1
  import { SuisIconType } from '../suis-icon';
2
+ import { SuisCheckboxBase } from '../../shared/classes/suis-checkbox.base';
3
3
  import * as i0 from "@angular/core";
4
- export declare class SuisInputCheckboxComponent extends SuisInputBase {
4
+ export declare class SuisInputCheckboxComponent extends SuisCheckboxBase {
5
5
  /** @internal */
6
6
  readonly SuisIconType: typeof SuisIconType;
7
- /** @internal */
8
- value: boolean;
9
- /**
10
- * Adds a red colored asterisk after the label. By default set to false.
11
- */
12
- required: boolean;
13
- writeValue(obj: boolean): void;
14
- onChange(event: Event): void;
15
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisInputCheckboxComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputCheckboxComponent, "suis-input-checkbox", never, { "required": { "alias": "required"; "required": false; }; }, {}, never, ["*"], true, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputCheckboxComponent, "suis-input-checkbox", never, {}, {}, never, ["*"], true, never>;
17
9
  }
@@ -0,0 +1 @@
1
+ export * from './suis-toggle.component';
@@ -0,0 +1,6 @@
1
+ import { SuisCheckboxBase } from '../../shared/classes/suis-checkbox.base';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SuisToggleComponent extends SuisCheckboxBase {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuisToggleComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisToggleComponent, "suis-toggle", never, {}, {}, never, ["*"], true, never>;
6
+ }
@@ -1,3 +1,4 @@
1
1
  export * from './suis-button.base';
2
+ export * from './suis-checkbox.base';
2
3
  export * from './suis-input.base';
3
4
  export * from './suis-select.base';
@@ -0,0 +1,18 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { SuisInputBase } from './suis-input.base';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class SuisCheckboxBase extends SuisInputBase implements AfterViewInit {
5
+ /** @internal */
6
+ checkboxInput?: ElementRef;
7
+ /** @internal */
8
+ value: boolean;
9
+ /**
10
+ * Adds a red colored asterisk after the label. By default set to false.
11
+ */
12
+ required: boolean;
13
+ ngAfterViewInit(): void;
14
+ writeValue(obj: boolean): void;
15
+ onChange(event: Event): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuisCheckboxBase, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SuisCheckboxBase, never, never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never>;
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suis",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "main": "src/index.ts",
5
5
  "author": "Karol Jaskółka",
6
6
  "description": "Angular 16+ Component Library",