@norwegian/core-components 5.3.0 → 5.4.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.
@@ -23,6 +23,15 @@ export declare class AccordionComponent extends NasComponentBase implements OnIn
23
23
  * ```
24
24
  */
25
25
  title: string;
26
+ /**
27
+ * @description
28
+ * A string input value to set subheader text of component.
29
+ * @example
30
+ * ```html
31
+ * <nas-accordion [subheader]="'This is a subheader'">You can put any kind of elements and content here...</nas-accordion>
32
+ * ```
33
+ */
34
+ subheader: string;
26
35
  /**
27
36
  * @description
28
37
  * A string input value to set icon text of component. Specifies the icon name, defaults to 'small'.
@@ -157,6 +166,22 @@ export declare class AccordionComponent extends NasComponentBase implements OnIn
157
166
  * ```
158
167
  */
159
168
  info?: boolean;
169
+ /**
170
+ * A boolean input value to set the accordion to subheader positive style.
171
+ * @example
172
+ * ```html
173
+ * <nas-accordion subheader="This is subheader" subheaderPositive>You can put any kind of elements and content here...</nas-accordion>
174
+ * ```
175
+ */
176
+ subheaderPositive?: boolean;
177
+ /**
178
+ * A boolean input value to set the accordion to subheader negative style.
179
+ * @example
180
+ * ```html
181
+ * <nas-accordion subheader="This is subheader" subheaderNegative>You can put any kind of elements and content here...</nas-accordion>
182
+ * ```
183
+ */
184
+ subheaderNegative?: boolean;
160
185
  /**
161
186
  * @description
162
187
  * Adds custom CSS class to the accordion. Accordion will sett additional custom styling.