suis 0.29.0 → 0.30.0

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 (31) hide show
  1. package/README.md +2 -0
  2. package/esm2022/lib/components/index.mjs +3 -1
  3. package/esm2022/lib/components/suis-accordion/index.mjs +2 -0
  4. package/esm2022/lib/components/suis-accordion/suis-accordion.component.mjs +35 -0
  5. package/esm2022/lib/components/suis-box/suis-box.component.mjs +2 -2
  6. package/esm2022/lib/components/suis-input/suis-input.component.mjs +3 -3
  7. package/esm2022/lib/components/suis-input-checkbox/suis-input-checkbox.component.mjs +3 -3
  8. package/esm2022/lib/components/suis-input-image/suis-input-image.component.mjs +3 -3
  9. package/esm2022/lib/components/suis-input-number/suis-input-number.component.mjs +3 -3
  10. package/esm2022/lib/components/suis-input-radio/suis-input-radio.component.mjs +3 -3
  11. package/esm2022/lib/components/suis-item/index.mjs +2 -0
  12. package/esm2022/lib/components/suis-item/suis-item.component.mjs +33 -0
  13. package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +29 -4
  14. package/esm2022/lib/components/suis-navigation-group-item/suis-navigation-group-item.component.mjs +3 -3
  15. package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.component.mjs +3 -3
  16. package/esm2022/lib/components/suis-select/suis-select.component.mjs +3 -3
  17. package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +3 -3
  18. package/esm2022/lib/components/suis-table/suis-table.component.mjs +3 -3
  19. package/esm2022/lib/components/suis-tabs/suis-tabs.component.mjs +3 -3
  20. package/esm2022/lib/components/suis-text-area/suis-text-area.component.mjs +3 -3
  21. package/esm2022/lib/components/suis-toggle/suis-toggle.component.mjs +3 -3
  22. package/esm2022/lib/components/suis-toolbar/suis-toolbar.component.mjs +3 -3
  23. package/fesm2022/suis.mjs +132 -50
  24. package/fesm2022/suis.mjs.map +1 -1
  25. package/lib/components/index.d.ts +2 -0
  26. package/lib/components/suis-accordion/index.d.ts +1 -0
  27. package/lib/components/suis-accordion/suis-accordion.component.d.ts +18 -0
  28. package/lib/components/suis-item/index.d.ts +1 -0
  29. package/lib/components/suis-item/suis-item.component.d.ts +17 -0
  30. package/lib/components/suis-navigation/suis-navigation.component.d.ts +18 -1
  31. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ export * from './suis-accordion';
1
2
  export * from './suis-alert';
2
3
  export * from './suis-box';
3
4
  export * from './suis-breadcrumbs';
@@ -14,6 +15,7 @@ export * from './suis-input-chips';
14
15
  export * from './suis-input-image';
15
16
  export * from './suis-input-number';
16
17
  export * from './suis-input-radio';
18
+ export * from './suis-item';
17
19
  export * from './suis-label';
18
20
  export * from './suis-navigation';
19
21
  export * from './suis-navigation-group';
@@ -0,0 +1 @@
1
+ export * from './suis-accordion.component';
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { SuisIconType } from '../suis-icon';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SuisAccordionComponent {
5
+ /** @internal */
6
+ readonly SuisIconType: typeof SuisIconType;
7
+ /**
8
+ * Controlls styling of the accordion based on expanded state of group. By default set to false.
9
+ */
10
+ expanded: boolean;
11
+ /**
12
+ * Emits when expanded value of the accordion has been changed.
13
+ */
14
+ expandedChange: EventEmitter<boolean>;
15
+ onToggle(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuisAccordionComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisAccordionComponent, "suis-accordion", never, { "expanded": { "alias": "expanded"; "required": false; }; }, { "expandedChange": "expandedChange"; }, never, ["[suisAccordionHeader]", "[suisAccordionContent]"], true, never>;
18
+ }
@@ -0,0 +1 @@
1
+ export * from './suis-item.component';
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SuisItemComponent {
3
+ /**
4
+ * Adds a padding around the content. By default set to true.
5
+ */
6
+ spacing: boolean;
7
+ /**
8
+ * Styles item as a header. By default set to false.
9
+ */
10
+ header: boolean;
11
+ /**
12
+ * Displays border bottom below the item. Does not effect header item. By default set to true.
13
+ */
14
+ divider: boolean;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuisItemComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisItemComponent, "suis-item", never, { "spacing": { "alias": "spacing"; "required": false; }; "header": { "alias": "header"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["*"], true, never>;
17
+ }
@@ -1,7 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { SuisNavigationGroupItem } from '../suis-navigation-item/suis-navigation-item.interfaces';
2
3
  import { SuisNavigationItemDirective } from '../suis-navigation-item';
4
+ import { SuisIconType } from '../suis-icon';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class SuisNavigationComponent {
7
+ /** @internal */
8
+ readonly SuisIconType: typeof SuisIconType;
5
9
  /** @internal */
6
10
  suisNavigationItem?: SuisNavigationItemDirective;
7
11
  /**
@@ -16,8 +20,21 @@ export declare class SuisNavigationComponent {
16
20
  * Adds expand / collapse logic to group header items. By default set to false.
17
21
  */
18
22
  expandable: boolean;
23
+ /**
24
+ * Adds collapse / epxand logic to navigiaton. By default set to false.
25
+ */
26
+ collapsable: boolean;
27
+ /**
28
+ * Collapses the navigiation. By default set to false.
29
+ */
30
+ collapsed: boolean;
31
+ /**
32
+ * Emits on collapsed value changed.
33
+ */
34
+ collaspedChange: EventEmitter<boolean>;
35
+ onToggle(): void;
19
36
  /** @internal */
20
37
  groupItemTrackBy(index: number, groupItem: SuisNavigationGroupItem): string;
21
38
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationComponent, "suis-navigation", never, { "items": { "alias": "items"; "required": false; }; "expandedGroups": { "alias": "expandedGroups"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, {}, ["suisNavigationItem"], never, true, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationComponent, "suis-navigation", never, { "items": { "alias": "items"; "required": false; }; "expandedGroups": { "alias": "expandedGroups"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "collaspedChange": { "alias": "collaspedChange"; "required": false; }; }, {}, ["suisNavigationItem"], never, true, never>;
23
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suis",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "main": "src/index.ts",
5
5
  "author": "Karol Jaskółka",
6
6
  "description": "Angular 16+ Component Library",