suis 0.26.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,7 @@ export * from './suis-input';
12
12
  export * from './suis-input-checkbox';
13
13
  export * from './suis-input-chips';
14
14
  export * from './suis-input-number';
15
+ export * from './suis-input-radio';
15
16
  export * from './suis-label';
16
17
  export * from './suis-navigation';
17
18
  export * from './suis-navigation-group';
@@ -29,4 +30,5 @@ export * from './suis-spinner-container';
29
30
  export * from './suis-table';
30
31
  export * from './suis-tabs';
31
32
  export * from './suis-title';
33
+ export * from './suis-toggle';
32
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-input-radio.component';
@@ -0,0 +1,26 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { RadioControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SuisInputRadioComponent extends RadioControlValueAccessor implements AfterViewInit {
5
+ /** @internal */
6
+ radioInput?: ElementRef;
7
+ /**
8
+ * Sets HTML id attribute of the input. By default is undefined.
9
+ */
10
+ id?: string;
11
+ /**
12
+ * Sets input disabled state. By default set to false.
13
+ */
14
+ readonly: boolean;
15
+ /**
16
+ * Adds invalid styling to the input. By default set to false.
17
+ */
18
+ invalid: boolean;
19
+ /**
20
+ * Sets input checked state to true. By default set to false.
21
+ */
22
+ default: boolean;
23
+ ngAfterViewInit(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuisInputRadioComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputRadioComponent, "suis-input-radio", never, { "id": { "alias": "id"; "required": true; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "default": { "alias": "default"; "required": false; }; }, {}, never, ["*"], true, never>;
26
+ }
@@ -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.26.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",