@proximus/lavender-heading 2.0.0-alpha.243 → 2.0.0-alpha.244
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.
- package/dist/AbstractHeading.d.ts +21 -2
- package/dist/custom-elements.json +432 -1
- package/dist/index.es.js +10 -1
- package/dist/web-types.json +31 -1
- package/package.json +1 -1
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare abstract class AbstractHeading<HEADING_ELEMENT extends HTMLHeadingElement | HTMLParagraphElement> extends
|
|
1
|
+
import { PxTextElement } from '@proximus/lavender-common';
|
|
2
|
+
export declare abstract class AbstractHeading<HEADING_ELEMENT extends HTMLHeadingElement | HTMLParagraphElement> extends PxTextElement<HEADING_ELEMENT> {
|
|
3
3
|
static nativeAttributes: {};
|
|
4
|
+
static cssProperties: {
|
|
5
|
+
'text-wrap': {
|
|
6
|
+
property: "textWrap";
|
|
7
|
+
responsive: true;
|
|
8
|
+
};
|
|
9
|
+
'overflow-wrap': {
|
|
10
|
+
property: "overflowWrap";
|
|
11
|
+
responsive: true;
|
|
12
|
+
};
|
|
13
|
+
hyphens: {
|
|
14
|
+
property: "hyphens";
|
|
15
|
+
responsive: false;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
textWrap: string | null;
|
|
19
|
+
textWrapMobile: string | null;
|
|
20
|
+
textWrapTablet: string | null;
|
|
21
|
+
textWrapLaptop: string | null;
|
|
22
|
+
textWrapDesktop: string | null;
|
|
4
23
|
/** Overridden by each heading level (`<h1>`…`<h6>`). */
|
|
5
24
|
protected static readonly template: HTMLTemplateElement;
|
|
6
25
|
constructor();
|
|
@@ -20,6 +20,47 @@
|
|
|
20
20
|
"static": true,
|
|
21
21
|
"default": "{}"
|
|
22
22
|
},
|
|
23
|
+
{
|
|
24
|
+
"kind": "field",
|
|
25
|
+
"name": "cssProperties",
|
|
26
|
+
"static": true,
|
|
27
|
+
"default": "{ ...super.cssProperties, 'text-wrap': { property: 'textWrap', responsive: true }, } satisfies CssPropertyMap"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"kind": "field",
|
|
31
|
+
"name": "textWrap",
|
|
32
|
+
"type": {
|
|
33
|
+
"text": "string | null"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"kind": "field",
|
|
38
|
+
"name": "textWrapMobile",
|
|
39
|
+
"type": {
|
|
40
|
+
"text": "string | null"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"kind": "field",
|
|
45
|
+
"name": "textWrapTablet",
|
|
46
|
+
"type": {
|
|
47
|
+
"text": "string | null"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "field",
|
|
52
|
+
"name": "textWrapLaptop",
|
|
53
|
+
"type": {
|
|
54
|
+
"text": "string | null"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"kind": "field",
|
|
59
|
+
"name": "textWrapDesktop",
|
|
60
|
+
"type": {
|
|
61
|
+
"text": "string | null"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
23
64
|
{
|
|
24
65
|
"kind": "field",
|
|
25
66
|
"name": "template",
|
|
@@ -200,7 +241,7 @@
|
|
|
200
241
|
}
|
|
201
242
|
],
|
|
202
243
|
"superclass": {
|
|
203
|
-
"name": "
|
|
244
|
+
"name": "PxTextElement",
|
|
204
245
|
"package": "@proximus/lavender-common"
|
|
205
246
|
}
|
|
206
247
|
}
|
|
@@ -262,6 +303,71 @@
|
|
|
262
303
|
"module": "src/AbstractHeading.ts"
|
|
263
304
|
}
|
|
264
305
|
},
|
|
306
|
+
{
|
|
307
|
+
"kind": "field",
|
|
308
|
+
"name": "cssProperties",
|
|
309
|
+
"static": true,
|
|
310
|
+
"default": "{ ...super.cssProperties, 'text-wrap': { property: 'textWrap', responsive: true }, } satisfies CssPropertyMap",
|
|
311
|
+
"inheritedFrom": {
|
|
312
|
+
"name": "AbstractHeading",
|
|
313
|
+
"module": "src/AbstractHeading.ts"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"kind": "field",
|
|
318
|
+
"name": "textWrap",
|
|
319
|
+
"type": {
|
|
320
|
+
"text": "string | null"
|
|
321
|
+
},
|
|
322
|
+
"inheritedFrom": {
|
|
323
|
+
"name": "AbstractHeading",
|
|
324
|
+
"module": "src/AbstractHeading.ts"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "field",
|
|
329
|
+
"name": "textWrapMobile",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "string | null"
|
|
332
|
+
},
|
|
333
|
+
"inheritedFrom": {
|
|
334
|
+
"name": "AbstractHeading",
|
|
335
|
+
"module": "src/AbstractHeading.ts"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "field",
|
|
340
|
+
"name": "textWrapTablet",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "string | null"
|
|
343
|
+
},
|
|
344
|
+
"inheritedFrom": {
|
|
345
|
+
"name": "AbstractHeading",
|
|
346
|
+
"module": "src/AbstractHeading.ts"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"kind": "field",
|
|
351
|
+
"name": "textWrapLaptop",
|
|
352
|
+
"type": {
|
|
353
|
+
"text": "string | null"
|
|
354
|
+
},
|
|
355
|
+
"inheritedFrom": {
|
|
356
|
+
"name": "AbstractHeading",
|
|
357
|
+
"module": "src/AbstractHeading.ts"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"kind": "field",
|
|
362
|
+
"name": "textWrapDesktop",
|
|
363
|
+
"type": {
|
|
364
|
+
"text": "string | null"
|
|
365
|
+
},
|
|
366
|
+
"inheritedFrom": {
|
|
367
|
+
"name": "AbstractHeading",
|
|
368
|
+
"module": "src/AbstractHeading.ts"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
265
371
|
{
|
|
266
372
|
"kind": "method",
|
|
267
373
|
"name": "toggleClass",
|
|
@@ -591,6 +697,71 @@
|
|
|
591
697
|
"module": "src/AbstractHeading.ts"
|
|
592
698
|
}
|
|
593
699
|
},
|
|
700
|
+
{
|
|
701
|
+
"kind": "field",
|
|
702
|
+
"name": "cssProperties",
|
|
703
|
+
"static": true,
|
|
704
|
+
"default": "{ ...super.cssProperties, 'text-wrap': { property: 'textWrap', responsive: true }, } satisfies CssPropertyMap",
|
|
705
|
+
"inheritedFrom": {
|
|
706
|
+
"name": "AbstractHeading",
|
|
707
|
+
"module": "src/AbstractHeading.ts"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"kind": "field",
|
|
712
|
+
"name": "textWrap",
|
|
713
|
+
"type": {
|
|
714
|
+
"text": "string | null"
|
|
715
|
+
},
|
|
716
|
+
"inheritedFrom": {
|
|
717
|
+
"name": "AbstractHeading",
|
|
718
|
+
"module": "src/AbstractHeading.ts"
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"kind": "field",
|
|
723
|
+
"name": "textWrapMobile",
|
|
724
|
+
"type": {
|
|
725
|
+
"text": "string | null"
|
|
726
|
+
},
|
|
727
|
+
"inheritedFrom": {
|
|
728
|
+
"name": "AbstractHeading",
|
|
729
|
+
"module": "src/AbstractHeading.ts"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"kind": "field",
|
|
734
|
+
"name": "textWrapTablet",
|
|
735
|
+
"type": {
|
|
736
|
+
"text": "string | null"
|
|
737
|
+
},
|
|
738
|
+
"inheritedFrom": {
|
|
739
|
+
"name": "AbstractHeading",
|
|
740
|
+
"module": "src/AbstractHeading.ts"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"kind": "field",
|
|
745
|
+
"name": "textWrapLaptop",
|
|
746
|
+
"type": {
|
|
747
|
+
"text": "string | null"
|
|
748
|
+
},
|
|
749
|
+
"inheritedFrom": {
|
|
750
|
+
"name": "AbstractHeading",
|
|
751
|
+
"module": "src/AbstractHeading.ts"
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"kind": "field",
|
|
756
|
+
"name": "textWrapDesktop",
|
|
757
|
+
"type": {
|
|
758
|
+
"text": "string | null"
|
|
759
|
+
},
|
|
760
|
+
"inheritedFrom": {
|
|
761
|
+
"name": "AbstractHeading",
|
|
762
|
+
"module": "src/AbstractHeading.ts"
|
|
763
|
+
}
|
|
764
|
+
},
|
|
594
765
|
{
|
|
595
766
|
"kind": "method",
|
|
596
767
|
"name": "toggleClass",
|
|
@@ -920,6 +1091,71 @@
|
|
|
920
1091
|
"module": "src/AbstractHeading.ts"
|
|
921
1092
|
}
|
|
922
1093
|
},
|
|
1094
|
+
{
|
|
1095
|
+
"kind": "field",
|
|
1096
|
+
"name": "cssProperties",
|
|
1097
|
+
"static": true,
|
|
1098
|
+
"default": "{ ...super.cssProperties, 'text-wrap': { property: 'textWrap', responsive: true }, } satisfies CssPropertyMap",
|
|
1099
|
+
"inheritedFrom": {
|
|
1100
|
+
"name": "AbstractHeading",
|
|
1101
|
+
"module": "src/AbstractHeading.ts"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "field",
|
|
1106
|
+
"name": "textWrap",
|
|
1107
|
+
"type": {
|
|
1108
|
+
"text": "string | null"
|
|
1109
|
+
},
|
|
1110
|
+
"inheritedFrom": {
|
|
1111
|
+
"name": "AbstractHeading",
|
|
1112
|
+
"module": "src/AbstractHeading.ts"
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"kind": "field",
|
|
1117
|
+
"name": "textWrapMobile",
|
|
1118
|
+
"type": {
|
|
1119
|
+
"text": "string | null"
|
|
1120
|
+
},
|
|
1121
|
+
"inheritedFrom": {
|
|
1122
|
+
"name": "AbstractHeading",
|
|
1123
|
+
"module": "src/AbstractHeading.ts"
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "field",
|
|
1128
|
+
"name": "textWrapTablet",
|
|
1129
|
+
"type": {
|
|
1130
|
+
"text": "string | null"
|
|
1131
|
+
},
|
|
1132
|
+
"inheritedFrom": {
|
|
1133
|
+
"name": "AbstractHeading",
|
|
1134
|
+
"module": "src/AbstractHeading.ts"
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"kind": "field",
|
|
1139
|
+
"name": "textWrapLaptop",
|
|
1140
|
+
"type": {
|
|
1141
|
+
"text": "string | null"
|
|
1142
|
+
},
|
|
1143
|
+
"inheritedFrom": {
|
|
1144
|
+
"name": "AbstractHeading",
|
|
1145
|
+
"module": "src/AbstractHeading.ts"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"kind": "field",
|
|
1150
|
+
"name": "textWrapDesktop",
|
|
1151
|
+
"type": {
|
|
1152
|
+
"text": "string | null"
|
|
1153
|
+
},
|
|
1154
|
+
"inheritedFrom": {
|
|
1155
|
+
"name": "AbstractHeading",
|
|
1156
|
+
"module": "src/AbstractHeading.ts"
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
923
1159
|
{
|
|
924
1160
|
"kind": "method",
|
|
925
1161
|
"name": "toggleClass",
|
|
@@ -1249,6 +1485,71 @@
|
|
|
1249
1485
|
"module": "src/AbstractHeading.ts"
|
|
1250
1486
|
}
|
|
1251
1487
|
},
|
|
1488
|
+
{
|
|
1489
|
+
"kind": "field",
|
|
1490
|
+
"name": "cssProperties",
|
|
1491
|
+
"static": true,
|
|
1492
|
+
"default": "{ ...super.cssProperties, 'text-wrap': { property: 'textWrap', responsive: true }, } satisfies CssPropertyMap",
|
|
1493
|
+
"inheritedFrom": {
|
|
1494
|
+
"name": "AbstractHeading",
|
|
1495
|
+
"module": "src/AbstractHeading.ts"
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"kind": "field",
|
|
1500
|
+
"name": "textWrap",
|
|
1501
|
+
"type": {
|
|
1502
|
+
"text": "string | null"
|
|
1503
|
+
},
|
|
1504
|
+
"inheritedFrom": {
|
|
1505
|
+
"name": "AbstractHeading",
|
|
1506
|
+
"module": "src/AbstractHeading.ts"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "field",
|
|
1511
|
+
"name": "textWrapMobile",
|
|
1512
|
+
"type": {
|
|
1513
|
+
"text": "string | null"
|
|
1514
|
+
},
|
|
1515
|
+
"inheritedFrom": {
|
|
1516
|
+
"name": "AbstractHeading",
|
|
1517
|
+
"module": "src/AbstractHeading.ts"
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"kind": "field",
|
|
1522
|
+
"name": "textWrapTablet",
|
|
1523
|
+
"type": {
|
|
1524
|
+
"text": "string | null"
|
|
1525
|
+
},
|
|
1526
|
+
"inheritedFrom": {
|
|
1527
|
+
"name": "AbstractHeading",
|
|
1528
|
+
"module": "src/AbstractHeading.ts"
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"kind": "field",
|
|
1533
|
+
"name": "textWrapLaptop",
|
|
1534
|
+
"type": {
|
|
1535
|
+
"text": "string | null"
|
|
1536
|
+
},
|
|
1537
|
+
"inheritedFrom": {
|
|
1538
|
+
"name": "AbstractHeading",
|
|
1539
|
+
"module": "src/AbstractHeading.ts"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"kind": "field",
|
|
1544
|
+
"name": "textWrapDesktop",
|
|
1545
|
+
"type": {
|
|
1546
|
+
"text": "string | null"
|
|
1547
|
+
},
|
|
1548
|
+
"inheritedFrom": {
|
|
1549
|
+
"name": "AbstractHeading",
|
|
1550
|
+
"module": "src/AbstractHeading.ts"
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1252
1553
|
{
|
|
1253
1554
|
"kind": "method",
|
|
1254
1555
|
"name": "toggleClass",
|
|
@@ -1578,6 +1879,71 @@
|
|
|
1578
1879
|
"module": "src/AbstractHeading.ts"
|
|
1579
1880
|
}
|
|
1580
1881
|
},
|
|
1882
|
+
{
|
|
1883
|
+
"kind": "field",
|
|
1884
|
+
"name": "cssProperties",
|
|
1885
|
+
"static": true,
|
|
1886
|
+
"default": "{ ...super.cssProperties, 'text-wrap': { property: 'textWrap', responsive: true }, } satisfies CssPropertyMap",
|
|
1887
|
+
"inheritedFrom": {
|
|
1888
|
+
"name": "AbstractHeading",
|
|
1889
|
+
"module": "src/AbstractHeading.ts"
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"kind": "field",
|
|
1894
|
+
"name": "textWrap",
|
|
1895
|
+
"type": {
|
|
1896
|
+
"text": "string | null"
|
|
1897
|
+
},
|
|
1898
|
+
"inheritedFrom": {
|
|
1899
|
+
"name": "AbstractHeading",
|
|
1900
|
+
"module": "src/AbstractHeading.ts"
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"kind": "field",
|
|
1905
|
+
"name": "textWrapMobile",
|
|
1906
|
+
"type": {
|
|
1907
|
+
"text": "string | null"
|
|
1908
|
+
},
|
|
1909
|
+
"inheritedFrom": {
|
|
1910
|
+
"name": "AbstractHeading",
|
|
1911
|
+
"module": "src/AbstractHeading.ts"
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"kind": "field",
|
|
1916
|
+
"name": "textWrapTablet",
|
|
1917
|
+
"type": {
|
|
1918
|
+
"text": "string | null"
|
|
1919
|
+
},
|
|
1920
|
+
"inheritedFrom": {
|
|
1921
|
+
"name": "AbstractHeading",
|
|
1922
|
+
"module": "src/AbstractHeading.ts"
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"kind": "field",
|
|
1927
|
+
"name": "textWrapLaptop",
|
|
1928
|
+
"type": {
|
|
1929
|
+
"text": "string | null"
|
|
1930
|
+
},
|
|
1931
|
+
"inheritedFrom": {
|
|
1932
|
+
"name": "AbstractHeading",
|
|
1933
|
+
"module": "src/AbstractHeading.ts"
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"kind": "field",
|
|
1938
|
+
"name": "textWrapDesktop",
|
|
1939
|
+
"type": {
|
|
1940
|
+
"text": "string | null"
|
|
1941
|
+
},
|
|
1942
|
+
"inheritedFrom": {
|
|
1943
|
+
"name": "AbstractHeading",
|
|
1944
|
+
"module": "src/AbstractHeading.ts"
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1581
1947
|
{
|
|
1582
1948
|
"kind": "method",
|
|
1583
1949
|
"name": "toggleClass",
|
|
@@ -1907,6 +2273,71 @@
|
|
|
1907
2273
|
"module": "src/AbstractHeading.ts"
|
|
1908
2274
|
}
|
|
1909
2275
|
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "field",
|
|
2278
|
+
"name": "cssProperties",
|
|
2279
|
+
"static": true,
|
|
2280
|
+
"default": "{ ...super.cssProperties, 'text-wrap': { property: 'textWrap', responsive: true }, } satisfies CssPropertyMap",
|
|
2281
|
+
"inheritedFrom": {
|
|
2282
|
+
"name": "AbstractHeading",
|
|
2283
|
+
"module": "src/AbstractHeading.ts"
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"kind": "field",
|
|
2288
|
+
"name": "textWrap",
|
|
2289
|
+
"type": {
|
|
2290
|
+
"text": "string | null"
|
|
2291
|
+
},
|
|
2292
|
+
"inheritedFrom": {
|
|
2293
|
+
"name": "AbstractHeading",
|
|
2294
|
+
"module": "src/AbstractHeading.ts"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"kind": "field",
|
|
2299
|
+
"name": "textWrapMobile",
|
|
2300
|
+
"type": {
|
|
2301
|
+
"text": "string | null"
|
|
2302
|
+
},
|
|
2303
|
+
"inheritedFrom": {
|
|
2304
|
+
"name": "AbstractHeading",
|
|
2305
|
+
"module": "src/AbstractHeading.ts"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"kind": "field",
|
|
2310
|
+
"name": "textWrapTablet",
|
|
2311
|
+
"type": {
|
|
2312
|
+
"text": "string | null"
|
|
2313
|
+
},
|
|
2314
|
+
"inheritedFrom": {
|
|
2315
|
+
"name": "AbstractHeading",
|
|
2316
|
+
"module": "src/AbstractHeading.ts"
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"kind": "field",
|
|
2321
|
+
"name": "textWrapLaptop",
|
|
2322
|
+
"type": {
|
|
2323
|
+
"text": "string | null"
|
|
2324
|
+
},
|
|
2325
|
+
"inheritedFrom": {
|
|
2326
|
+
"name": "AbstractHeading",
|
|
2327
|
+
"module": "src/AbstractHeading.ts"
|
|
2328
|
+
}
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"kind": "field",
|
|
2332
|
+
"name": "textWrapDesktop",
|
|
2333
|
+
"type": {
|
|
2334
|
+
"text": "string | null"
|
|
2335
|
+
},
|
|
2336
|
+
"inheritedFrom": {
|
|
2337
|
+
"name": "AbstractHeading",
|
|
2338
|
+
"module": "src/AbstractHeading.ts"
|
|
2339
|
+
}
|
|
2340
|
+
},
|
|
1910
2341
|
{
|
|
1911
2342
|
"kind": "method",
|
|
1912
2343
|
"name": "toggleClass",
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PxTextElement as e, colorValues as t, createTemplate as n, headingValues as r, log as i, renderTemplate as a, textalignValues as o } from "@proximus/lavender-common";
|
|
2
2
|
//#region src/heading.css?inline
|
|
3
3
|
var s = "h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{font-family:var(--px-font-family);color:var(--heading-color-default,var(--px-color-text-brand-default));text-align:var(--heading-text-align--mobile,left);font-size:var(--px-text-size-heading-s-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title);margin:0}::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-mobile)}:host([inverted]) h1,:host([inverted]) .style-title-4xl,:host([inverted]) ::slotted(h1),:host([inverted]) h2,:host([inverted]) .style-title-3xl,:host([inverted]) ::slotted(h2),:host([inverted]) h3,:host([inverted]) .style-title-2xl,:host([inverted]) ::slotted(h3),:host([inverted]) h4,:host([inverted]) .style-title-xl,:host([inverted]) ::slotted(h4),:host([inverted]) h5,:host([inverted]) .style-title-l,:host([inverted]) ::slotted(h5),:host([inverted]) h6,:host([inverted]) .style-title-m,:host([inverted]) ::slotted(h6),:host([inverted]) .style-title-s,:host([inverted]) .style-subtitle{color:var(--heading-color-inverted,var(--px-color-text-brand-inverted))}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-mobile);line-height:var(--px-line-height-ratio-s)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-mobile)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-mobile)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-mobile)}.style-subtitle{font-size:var(--px-text-size-heading-xl-mobile);font-weight:var(--px-font-weight-subtitle)}.style-title-s{font-size:var(--px-text-size-heading-s-mobile)}@media screen and (width>=48rem){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-tablet)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--tablet,left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-tablet)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-tablet)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-tablet)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-tablet)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-tablet)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-tablet)}.style-title-s{font-size:var(--px-text-size-heading-s-tablet)}.style-subtitle{font-size:var(--px-text-size-heading-xl-tablet)}}@media screen and (width>=64.0625rem){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-laptop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--laptop,left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-laptop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-laptop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-laptop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-laptop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-laptop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-laptop)}.style-title-s{font-size:var(--px-text-size-heading-s-laptop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-laptop)}}@media screen and (width>=90.0625rem){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-desktop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--desktop,left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-desktop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-desktop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-desktop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-desktop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-desktop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-desktop)}.style-title-s{font-size:var(--px-text-size-heading-s-desktop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-desktop)}}", c = ".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media screen and (width>=48rem){.font-size-body-l{font-size:var(--px-text-size-body-l-tablet)}.font-size-body-m{font-size:var(--px-text-size-body-m-tablet)}.font-size-body-s{font-size:var(--px-text-size-body-s-tablet)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-tablet)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-tablet)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-tablet)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-tablet)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-tablet)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-tablet)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-tablet)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-tablet)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-tablet)}.font-size-link-m{font-size:var(--px-text-size-link-m-tablet)}.font-size-link-s{font-size:var(--px-text-size-link-s-tablet)}}@media screen and (width>=64.0625rem){.font-size-body-l{font-size:var(--px-text-size-body-l-laptop)}.font-size-body-m{font-size:var(--px-text-size-body-m-laptop)}.font-size-body-s{font-size:var(--px-text-size-body-s-laptop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-laptop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-laptop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-laptop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-laptop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-laptop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-laptop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-laptop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-laptop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-laptop)}.font-size-link-m{font-size:var(--px-text-size-link-m-laptop)}.font-size-link-s{font-size:var(--px-text-size-link-s-laptop)}}@media screen and (width>=90.0625rem){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}", l = new CSSStyleSheet();
|
|
4
4
|
l.replaceSync(s);
|
|
@@ -8,6 +8,15 @@ var d = class extends e {
|
|
|
8
8
|
static {
|
|
9
9
|
this.nativeAttributes = {};
|
|
10
10
|
}
|
|
11
|
+
static {
|
|
12
|
+
this.cssProperties = {
|
|
13
|
+
...super.cssProperties,
|
|
14
|
+
"text-wrap": {
|
|
15
|
+
property: "textWrap",
|
|
16
|
+
responsive: !0
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
}
|
|
11
20
|
constructor() {
|
|
12
21
|
super(l, u), a(this.shadowRoot, this.constructor.template);
|
|
13
22
|
}
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@proximus/lavender-heading",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.244",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -24,6 +24,11 @@
|
|
|
24
24
|
"events": [],
|
|
25
25
|
"js": {
|
|
26
26
|
"properties": [
|
|
27
|
+
{ "name": "textWrap", "type": "string | null" },
|
|
28
|
+
{ "name": "textWrapMobile", "type": "string | null" },
|
|
29
|
+
{ "name": "textWrapTablet", "type": "string | null" },
|
|
30
|
+
{ "name": "textWrapLaptop", "type": "string | null" },
|
|
31
|
+
{ "name": "textWrapDesktop", "type": "string | null" },
|
|
27
32
|
{ "name": "variant" },
|
|
28
33
|
{ "name": "color" },
|
|
29
34
|
{ "name": "textAlign" },
|
|
@@ -55,6 +60,11 @@
|
|
|
55
60
|
"events": [],
|
|
56
61
|
"js": {
|
|
57
62
|
"properties": [
|
|
63
|
+
{ "name": "textWrap", "type": "string | null" },
|
|
64
|
+
{ "name": "textWrapMobile", "type": "string | null" },
|
|
65
|
+
{ "name": "textWrapTablet", "type": "string | null" },
|
|
66
|
+
{ "name": "textWrapLaptop", "type": "string | null" },
|
|
67
|
+
{ "name": "textWrapDesktop", "type": "string | null" },
|
|
58
68
|
{ "name": "variant" },
|
|
59
69
|
{ "name": "color" },
|
|
60
70
|
{ "name": "textAlign" },
|
|
@@ -86,6 +96,11 @@
|
|
|
86
96
|
"events": [],
|
|
87
97
|
"js": {
|
|
88
98
|
"properties": [
|
|
99
|
+
{ "name": "textWrap", "type": "string | null" },
|
|
100
|
+
{ "name": "textWrapMobile", "type": "string | null" },
|
|
101
|
+
{ "name": "textWrapTablet", "type": "string | null" },
|
|
102
|
+
{ "name": "textWrapLaptop", "type": "string | null" },
|
|
103
|
+
{ "name": "textWrapDesktop", "type": "string | null" },
|
|
89
104
|
{ "name": "variant" },
|
|
90
105
|
{ "name": "color" },
|
|
91
106
|
{ "name": "textAlign" },
|
|
@@ -117,6 +132,11 @@
|
|
|
117
132
|
"events": [],
|
|
118
133
|
"js": {
|
|
119
134
|
"properties": [
|
|
135
|
+
{ "name": "textWrap", "type": "string | null" },
|
|
136
|
+
{ "name": "textWrapMobile", "type": "string | null" },
|
|
137
|
+
{ "name": "textWrapTablet", "type": "string | null" },
|
|
138
|
+
{ "name": "textWrapLaptop", "type": "string | null" },
|
|
139
|
+
{ "name": "textWrapDesktop", "type": "string | null" },
|
|
120
140
|
{ "name": "variant" },
|
|
121
141
|
{ "name": "color" },
|
|
122
142
|
{ "name": "textAlign" },
|
|
@@ -148,6 +168,11 @@
|
|
|
148
168
|
"events": [],
|
|
149
169
|
"js": {
|
|
150
170
|
"properties": [
|
|
171
|
+
{ "name": "textWrap", "type": "string | null" },
|
|
172
|
+
{ "name": "textWrapMobile", "type": "string | null" },
|
|
173
|
+
{ "name": "textWrapTablet", "type": "string | null" },
|
|
174
|
+
{ "name": "textWrapLaptop", "type": "string | null" },
|
|
175
|
+
{ "name": "textWrapDesktop", "type": "string | null" },
|
|
151
176
|
{ "name": "variant" },
|
|
152
177
|
{ "name": "color" },
|
|
153
178
|
{ "name": "textAlign" },
|
|
@@ -179,6 +204,11 @@
|
|
|
179
204
|
"events": [],
|
|
180
205
|
"js": {
|
|
181
206
|
"properties": [
|
|
207
|
+
{ "name": "textWrap", "type": "string | null" },
|
|
208
|
+
{ "name": "textWrapMobile", "type": "string | null" },
|
|
209
|
+
{ "name": "textWrapTablet", "type": "string | null" },
|
|
210
|
+
{ "name": "textWrapLaptop", "type": "string | null" },
|
|
211
|
+
{ "name": "textWrapDesktop", "type": "string | null" },
|
|
182
212
|
{ "name": "variant" },
|
|
183
213
|
{ "name": "color" },
|
|
184
214
|
{ "name": "textAlign" },
|