@proximus/lavender-content-header 2.0.0-alpha.23 → 2.0.0-alpha.231

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.
@@ -8,36 +8,44 @@ import type { Grid } from '@proximus/lavender-grid';
8
8
  import '@proximus/lavender-grid';
9
9
  import { PxElement } from '@proximus/lavender-common';
10
10
  export declare class ContentHeader extends PxElement<HTMLDivElement> {
11
+ protected static readonly template: HTMLTemplateElement;
11
12
  static nativeName: string;
12
- private template;
13
+ static nativeAttributes: {};
13
14
  constructor();
14
15
  static get observedAttributes(): string[];
15
16
  connectedCallback(): void;
16
17
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
18
+ disconnectedCallback(): void;
19
+ stylepatchDescriptionSlotted(): void;
20
+ styleSubtitleSlot(): void;
17
21
  createGridding(value?: string): void;
18
22
  get $grid(): Grid;
19
23
  get $section(): Section;
20
24
  get $h1(): H1;
21
- get $subtitleSlot(): HTMLSlotElement;
22
- get $patchDescriptionSlot(): HTMLSlotElement;
25
+ get $subtitleSlot(): HTMLSlotElement | null | undefined;
26
+ get $subtitleSlotted(): HTMLSlotElement;
27
+ get $patchDescriptionSlot(): HTMLSlotElement | null | undefined;
28
+ get $patchDescriptionSlotted(): HTMLSlotElement;
23
29
  get $overlapSlot(): HTMLSlotElement;
24
30
  get $children(): NodeListOf<Element>;
25
- get backgroundColor(): string;
26
- set backgroundColor(value: string);
27
- get gradient(): string;
28
- set gradient(value: string);
29
- get backgroundImage(): string;
30
- set backgroundImage(value: string);
31
- get backgroundImageMobile(): string;
32
- set backgroundImageMobile(value: string);
33
- get backgroundImageTablet(): string;
34
- set backgroundImageTablet(value: string);
35
- get backgroundImageLaptop(): string;
36
- set backgroundImageLaptop(value: string);
37
- get backgroundSize(): string;
38
- set backgroundSize(value: string);
39
- get backgroundPosition(): string;
40
- set backgroundPosition(value: string);
31
+ get backgroundColor(): string | null;
32
+ set backgroundColor(value: string | null);
33
+ get backgroundGradient(): string | null;
34
+ set backgroundGradient(value: string | null);
35
+ get gradient(): string | null;
36
+ set gradient(value: string | null);
37
+ get backgroundImage(): string | null;
38
+ set backgroundImage(value: string | null);
39
+ get backgroundImageMobile(): string | null;
40
+ set backgroundImageMobile(value: string | null);
41
+ get backgroundImageTablet(): string | null;
42
+ set backgroundImageTablet(value: string | null);
43
+ get backgroundImageLaptop(): string | null;
44
+ set backgroundImageLaptop(value: string | null);
45
+ get backgroundSize(): string | null;
46
+ set backgroundSize(value: string | null);
47
+ get backgroundPosition(): string | null;
48
+ set backgroundPosition(value: string | null);
41
49
  get gradientContrastHelper(): boolean;
42
50
  set gradientContrastHelper(value: boolean);
43
51
  get overlayContrastHelper(): boolean;
@@ -50,6 +58,8 @@ export declare class ContentHeader extends PxElement<HTMLDivElement> {
50
58
  set hasGriddingTablet(value: boolean);
51
59
  get hasGriddingLaptop(): boolean;
52
60
  set hasGriddingLaptop(value: boolean);
61
+ get hasGriddingDesktop(): boolean;
62
+ set hasGriddingDesktop(value: boolean);
53
63
  get inverted(): boolean;
54
64
  set inverted(value: boolean);
55
65
  get minHeight(): boolean;
@@ -0,0 +1,280 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/ContentHeader.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "ContentHeader",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "template",
17
+ "privacy": "protected",
18
+ "static": true,
19
+ "readonly": true
20
+ },
21
+ {
22
+ "kind": "field",
23
+ "name": "nativeName",
24
+ "type": {
25
+ "text": "string"
26
+ },
27
+ "static": true,
28
+ "default": "'div'"
29
+ },
30
+ {
31
+ "kind": "field",
32
+ "name": "nativeAttributes",
33
+ "type": {
34
+ "text": "object"
35
+ },
36
+ "static": true,
37
+ "default": "{}"
38
+ },
39
+ {
40
+ "kind": "method",
41
+ "name": "stylepatchDescriptionSlotted"
42
+ },
43
+ {
44
+ "kind": "method",
45
+ "name": "styleSubtitleSlot"
46
+ },
47
+ {
48
+ "kind": "method",
49
+ "name": "createGridding",
50
+ "parameters": [
51
+ {
52
+ "name": "value",
53
+ "optional": true,
54
+ "type": {
55
+ "text": "string"
56
+ }
57
+ }
58
+ ]
59
+ },
60
+ {
61
+ "kind": "field",
62
+ "name": "$grid",
63
+ "readonly": true
64
+ },
65
+ {
66
+ "kind": "field",
67
+ "name": "$section",
68
+ "readonly": true
69
+ },
70
+ {
71
+ "kind": "field",
72
+ "name": "$h1",
73
+ "readonly": true
74
+ },
75
+ {
76
+ "kind": "field",
77
+ "name": "$subtitleSlot",
78
+ "readonly": true
79
+ },
80
+ {
81
+ "kind": "field",
82
+ "name": "$subtitleSlotted",
83
+ "readonly": true
84
+ },
85
+ {
86
+ "kind": "field",
87
+ "name": "$patchDescriptionSlot",
88
+ "readonly": true
89
+ },
90
+ {
91
+ "kind": "field",
92
+ "name": "$patchDescriptionSlotted",
93
+ "readonly": true
94
+ },
95
+ {
96
+ "kind": "field",
97
+ "name": "$overlapSlot",
98
+ "readonly": true
99
+ },
100
+ {
101
+ "kind": "field",
102
+ "name": "$children",
103
+ "readonly": true
104
+ },
105
+ {
106
+ "kind": "field",
107
+ "name": "backgroundColor"
108
+ },
109
+ {
110
+ "kind": "field",
111
+ "name": "backgroundGradient"
112
+ },
113
+ {
114
+ "kind": "field",
115
+ "name": "gradient"
116
+ },
117
+ {
118
+ "kind": "field",
119
+ "name": "backgroundImage"
120
+ },
121
+ {
122
+ "kind": "field",
123
+ "name": "backgroundImageMobile"
124
+ },
125
+ {
126
+ "kind": "field",
127
+ "name": "backgroundImageTablet"
128
+ },
129
+ {
130
+ "kind": "field",
131
+ "name": "backgroundImageLaptop"
132
+ },
133
+ {
134
+ "kind": "field",
135
+ "name": "backgroundSize"
136
+ },
137
+ {
138
+ "kind": "field",
139
+ "name": "backgroundPosition"
140
+ },
141
+ {
142
+ "kind": "field",
143
+ "name": "gradientContrastHelper"
144
+ },
145
+ {
146
+ "kind": "field",
147
+ "name": "overlayContrastHelper"
148
+ },
149
+ {
150
+ "kind": "field",
151
+ "name": "hasGridding"
152
+ },
153
+ {
154
+ "kind": "field",
155
+ "name": "hasGriddingMobile"
156
+ },
157
+ {
158
+ "kind": "field",
159
+ "name": "hasGriddingTablet"
160
+ },
161
+ {
162
+ "kind": "field",
163
+ "name": "hasGriddingLaptop"
164
+ },
165
+ {
166
+ "kind": "field",
167
+ "name": "hasGriddingDesktop"
168
+ },
169
+ {
170
+ "kind": "field",
171
+ "name": "inverted"
172
+ },
173
+ {
174
+ "kind": "field",
175
+ "name": "minHeight"
176
+ }
177
+ ],
178
+ "attributes": [
179
+ {
180
+ "name": "background-color"
181
+ },
182
+ {
183
+ "name": "background-gradient"
184
+ },
185
+ {
186
+ "name": "background-image"
187
+ },
188
+ {
189
+ "name": "background-image--mobile"
190
+ },
191
+ {
192
+ "name": "background-image--tablet"
193
+ },
194
+ {
195
+ "name": "background-image--laptop"
196
+ },
197
+ {
198
+ "name": "background-size"
199
+ },
200
+ {
201
+ "name": "background-position"
202
+ },
203
+ {
204
+ "name": "contrast-helper-gradient"
205
+ },
206
+ {
207
+ "name": "contrast-helper-overlay"
208
+ },
209
+ {
210
+ "name": "min-height"
211
+ },
212
+ {
213
+ "name": "has-gridding"
214
+ },
215
+ {
216
+ "name": "has-gridding--mobile"
217
+ },
218
+ {
219
+ "name": "has-gridding--tablet"
220
+ },
221
+ {
222
+ "name": "has-gridding--laptop"
223
+ },
224
+ {
225
+ "name": "has-gridding--desktop"
226
+ },
227
+ {
228
+ "name": "inverted"
229
+ }
230
+ ],
231
+ "superclass": {
232
+ "name": "PxElement",
233
+ "package": "@proximus/lavender-common"
234
+ },
235
+ "tagName": "px-content-header",
236
+ "customElement": true
237
+ }
238
+ ],
239
+ "exports": [
240
+ {
241
+ "kind": "js",
242
+ "name": "ContentHeader",
243
+ "declaration": {
244
+ "name": "ContentHeader",
245
+ "module": "src/ContentHeader.ts"
246
+ }
247
+ },
248
+ {
249
+ "kind": "custom-element-definition",
250
+ "name": "px-content-header",
251
+ "declaration": {
252
+ "name": "ContentHeader",
253
+ "module": "src/ContentHeader.ts"
254
+ }
255
+ }
256
+ ]
257
+ },
258
+ {
259
+ "kind": "javascript-module",
260
+ "path": "src/contentheader.css",
261
+ "declarations": [],
262
+ "exports": []
263
+ },
264
+ {
265
+ "kind": "javascript-module",
266
+ "path": "src/index.ts",
267
+ "declarations": [],
268
+ "exports": [
269
+ {
270
+ "kind": "js",
271
+ "name": "*",
272
+ "declaration": {
273
+ "name": "*",
274
+ "module": "src/ContentHeader"
275
+ }
276
+ }
277
+ ]
278
+ }
279
+ ]
280
+ }