You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A layout box for grouping elements, as well its possible to append a header, with a headline or other elements to the box.
10
16
* @element uui-box
11
17
* @slot headline - headline area, this area is placed within the headline tag which is located inside the header. Use this to ensure the right headline styling.
12
-
* @slot header - header area, use this for things that is not the headline but located in the header.
18
+
* @slot header - header area, use this for things that are not the headline but are located in the header.
19
+
* @slot header-actions - right-side of the box header, use this to append some actions that are general for the topic of this box.
13
20
* @slot - area for the content of the box
14
21
* @cssprop --uui-box-default-padding - overwrite the box padding
15
22
*
16
23
*/
17
24
@defineElement('uui-box')
18
25
exportclassUUIBoxElementextendsLitElement{
19
26
/**
20
-
* Headline for this box, can also be set via the 'box' slot.
27
+
* Headline for this box, can also be set via the `headline` slot.
21
28
* @type string
22
29
* @attr
23
30
* @default null
@@ -27,7 +34,7 @@ export class UUIBoxElement extends LitElement {
27
34
28
35
/**
29
36
* Changes the headline variant for accessibility for this box.
30
-
* Notice this does not change the visual representation of the headline. (Umbraco does only recommend displaying a h5 sizes headline in the UUI-BOX)
37
+
* Notice this does not change the visual representation of the headline. (Umbraco recommends displaying a h5 size headline in the UUI-BOX)
31
38
* @type {"h1" | "h2" | "h3" | "h4" | "h5" | "h6"}
32
39
* @attr
33
40
* @default "h5"
@@ -47,19 +54,23 @@ export class UUIBoxElement extends LitElement {
0 commit comments