@sebgroup/green-core 1.37.1 → 1.38.1
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/chunks/chunk.6OEWQFQM.js +87 -0
- package/chunks/{chunk.UOICZQEF.js → chunk.6OJLIA73.js} +1 -1
- package/chunks/{chunk.ZSQJO33Y.js → chunk.AP23QGB4.js} +1 -1
- package/chunks/{chunk.UPMNOUXU.js → chunk.D35VWG7Z.js} +2 -2
- package/chunks/{chunk.DYPJZPWR.js → chunk.HEEBT6PP.js} +1 -1
- package/chunks/{chunk.VJBREBFI.js → chunk.IMMOU34L.js} +3 -2
- package/chunks/{chunk.TNLTSPZS.js → chunk.IWTL7STV.js} +1 -1
- package/chunks/{chunk.4HVHFLEB.js → chunk.J5IZQIXN.js} +1 -1
- package/chunks/chunk.JTFG2VCZ.js +12 -0
- package/chunks/{chunk.VQLNKK6A.js → chunk.NMP7SICY.js} +1 -1
- package/chunks/{chunk.KEH76AOH.js → chunk.OYCRDQFS.js} +68 -46
- package/chunks/{chunk.Q2TJK5H6.js → chunk.PC4VJLMM.js} +3 -3
- package/chunks/{chunk.I5MEHADH.js → chunk.PN4BONI4.js} +2 -2
- package/chunks/{chunk.VJPENO3A.js → chunk.R2RVGPT7.js} +1 -1
- package/chunks/{chunk.BIGNKD34.js → chunk.REE5LG5I.js} +9 -8
- package/chunks/{chunk.RTQT64GZ.js → chunk.SXLN3MMQ.js} +1 -1
- package/chunks/{chunk.AM6QDD3K.js → chunk.TH5D3QVK.js} +8 -6
- package/chunks/{chunk.JRGHGU44.js → chunk.V22RY2FP.js} +2 -2
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/{chunk.V5CDX5KA.js → chunk.WBYZIT2A.js} +31 -14
- package/chunks/{chunk.KSPGHBWK.js → chunk.WWR3VPSV.js} +2 -5
- package/chunks/{chunk.XGNPHISX.js → chunk.XKFWKMOP.js} +1 -1
- package/chunks/{chunk.75A656AN.js → chunk.Z3RX3OZJ.js} +1 -1
- package/chunks/{chunk.YXEGR6AD.js → chunk.ZEGPRNBY.js} +1 -1
- package/components/button/button.js +3 -3
- package/components/button/fab/fab.js +4 -4
- package/components/button/fab/index.js +4 -4
- package/components/button/index.js +3 -3
- package/components/calendar/calendar.js +2 -2
- package/components/calendar/index.js +2 -2
- package/components/content/divider/divider.js +2 -2
- package/components/content/divider/index.js +2 -2
- package/components/content/spacer/index.js +2 -2
- package/components/content/spacer/spacer.js +2 -2
- package/components/content/text/index.js +3 -3
- package/components/content/text/text.d.ts +32 -23
- package/components/content/text/text.js +3 -3
- package/components/content/text/text.style.css.js +1 -1
- package/components/context-menu/context-menu.js +1 -1
- package/components/context-menu/index.js +1 -1
- package/components/datepicker/datepicker.js +8 -8
- package/components/datepicker/index.js +8 -8
- package/components/dropdown/dropdown.js +6 -6
- package/components/dropdown/index.js +6 -6
- package/components/filter-chips/filter-chip/filter-chip.js +3 -3
- package/components/filter-chips/filter-chip/index.js +3 -3
- package/components/filter-chips/filter-chips.js +3 -3
- package/components/filter-chips/index.js +3 -3
- package/components/form/index.js +5 -5
- package/components/form/summary/index.js +5 -5
- package/components/form/summary/summary.js +5 -5
- package/components/index.js +22 -22
- package/components/layout/card/card.js +4 -4
- package/components/layout/card/card.style.css.js +1 -1
- package/components/layout/card/index.js +4 -4
- package/components/layout/container/container.js +2 -2
- package/components/layout/container/index.js +2 -2
- package/components/layout/flex/flex.js +3 -3
- package/components/layout/flex/index.js +3 -3
- package/components/layout/grid/grid.js +2 -2
- package/components/layout/grid/index.js +2 -2
- package/components/media/img/img.js +2 -2
- package/components/media/img/index.js +2 -2
- package/components/media/video/index.js +2 -2
- package/components/media/video/video.js +2 -2
- package/components/menu-button/index.js +2 -2
- package/components/menu-button/menu-button.d.ts +2 -0
- package/components/menu-button/menu-button.js +2 -2
- package/components/popover/index.js +1 -1
- package/components/popover/popover.d.ts +1 -1
- package/components/popover/popover.js +1 -1
- package/components/segmented-control/index.js +3 -3
- package/components/segmented-control/segment/index.js +2 -2
- package/components/segmented-control/segment/segment.js +2 -2
- package/components/segmented-control/segmented-control.js +3 -3
- package/index.js +22 -22
- package/package.json +1 -1
- package/primitives/listbox/index.js +2 -2
- package/primitives/listbox/listbox.js +2 -2
- package/primitives/listbox/option.js +2 -2
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/chunks/chunk.3ULLOORV.js +0 -22
- package/chunks/chunk.KK4QVD34.js +0 -29
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// libs/core/src/components/content/text/text.style.css.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var style = css`
|
|
4
|
+
:host {
|
|
5
|
+
display: contents;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
* {
|
|
9
|
+
margin: unset;
|
|
10
|
+
font-weight: inherit;
|
|
11
|
+
font-size: inherit;
|
|
12
|
+
line-height: inherit;
|
|
13
|
+
text-wrap: inherit;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host(:not([size])) {
|
|
17
|
+
h1 {
|
|
18
|
+
font-size: var(--gds-text-size-heading-xl);
|
|
19
|
+
line-height: var(--gds-text-line-height-heading-xl);
|
|
20
|
+
font-weight: var(--gds-text-weight-regular);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
h2 {
|
|
24
|
+
font-size: var(--gds-text-size-heading-l);
|
|
25
|
+
line-height: var(--gds-text-line-height-heading-l);
|
|
26
|
+
font-weight: var(--gds-text-weight-regular);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
h3 {
|
|
30
|
+
font-size: var(--gds-text-size-heading-m);
|
|
31
|
+
line-height: var(--gds-text-line-height-heading-m);
|
|
32
|
+
font-weight: var(--gds-text-weight-regular);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
h4 {
|
|
36
|
+
font-size: var(--gds-text-size-heading-s);
|
|
37
|
+
line-height: var(--gds-text-line-height-heading-s);
|
|
38
|
+
font-weight: var(--gds-text-weight-regular);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h5 {
|
|
42
|
+
font-size: var(--gds-text-size-heading-xs);
|
|
43
|
+
line-height: var(--gds-text-line-height-heading-xs);
|
|
44
|
+
font-weight: var(--gds-text-weight-regular);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
h6 {
|
|
48
|
+
font-size: var(--gds-text-size-heading-2xs);
|
|
49
|
+
line-height: var(--gds-text-line-height-heading-2xs);
|
|
50
|
+
font-weight: var(--gds-text-weight-regular);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
p,
|
|
54
|
+
span,
|
|
55
|
+
em,
|
|
56
|
+
strong,
|
|
57
|
+
mark {
|
|
58
|
+
font-size: var(--gds-text-size-body-m);
|
|
59
|
+
line-height: var(--gds-text-line-height-body-m);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
small {
|
|
63
|
+
font-size: var(--gds-text-size-detail-xs);
|
|
64
|
+
line-height: var(--gds-text-line-height-detail-xs);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host(:not([weight])) {
|
|
69
|
+
strong {
|
|
70
|
+
font-weight: var(--gds-text-weight-book);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:host([lines]) {
|
|
75
|
+
* {
|
|
76
|
+
display: -webkit-box;
|
|
77
|
+
-webkit-box-orient: vertical;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
-webkit-line-clamp: var(--_lines);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`;
|
|
83
|
+
var text_style_css_default = style;
|
|
84
|
+
|
|
85
|
+
export {
|
|
86
|
+
text_style_css_default
|
|
87
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsSegment
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.AP23QGB4.js";
|
|
4
4
|
import {
|
|
5
5
|
resizeObserver
|
|
6
6
|
} from "./chunk.VHN4JEZC.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.S7DYDS4E.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.OYCRDQFS.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.2WO4NHJ2.js";
|
|
@@ -11,7 +11,8 @@ import {
|
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.ZQ4D5K7J.js";
|
|
13
13
|
import {
|
|
14
|
-
gdsCustomElement
|
|
14
|
+
gdsCustomElement,
|
|
15
|
+
html
|
|
15
16
|
} from "./chunk.VOYMQ322.js";
|
|
16
17
|
import {
|
|
17
18
|
__decorateClass,
|
|
@@ -22,7 +23,7 @@ import {
|
|
|
22
23
|
} from "./chunk.5VURDMKE.js";
|
|
23
24
|
|
|
24
25
|
// libs/core/src/components/popover/popover.ts
|
|
25
|
-
import {
|
|
26
|
+
import { unsafeCSS } from "lit";
|
|
26
27
|
import { property, query, state } from "lit/decorators.js";
|
|
27
28
|
import { classMap } from "lit/directives/class-map.js";
|
|
28
29
|
import { msg } from "@lit/localize";
|
|
@@ -4,7 +4,7 @@ import { unsafeCSS } from "lit";
|
|
|
4
4
|
// dist/libs/tokens/internal/pallet.css?inline
|
|
5
5
|
var pallet_default = `/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Thu, 05 Sep 2024 08:48:46 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
:host {
|
|
@@ -165,7 +165,7 @@ var pallet_default = `/**
|
|
|
165
165
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
166
166
|
var light_default = `/**
|
|
167
167
|
* Do not edit directly
|
|
168
|
-
* Generated on
|
|
168
|
+
* Generated on Thu, 05 Sep 2024 08:48:46 GMT
|
|
169
169
|
*/
|
|
170
170
|
|
|
171
171
|
:host {
|
|
@@ -286,7 +286,7 @@ var light_default = `/**
|
|
|
286
286
|
// dist/libs/tokens/internal/size.css?inline
|
|
287
287
|
var size_default = `/**
|
|
288
288
|
* Do not edit directly
|
|
289
|
-
* Generated on
|
|
289
|
+
* Generated on Thu, 05 Sep 2024 08:48:46 GMT
|
|
290
290
|
*/
|
|
291
291
|
|
|
292
292
|
:host {
|
|
@@ -313,7 +313,7 @@ var size_default = `/**
|
|
|
313
313
|
// dist/libs/tokens/internal/text.css?inline
|
|
314
314
|
var text_default = `/**
|
|
315
315
|
* Do not edit directly
|
|
316
|
-
* Generated on
|
|
316
|
+
* Generated on Thu, 05 Sep 2024 08:48:46 GMT
|
|
317
317
|
*/
|
|
318
318
|
|
|
319
319
|
:host {
|
|
@@ -322,53 +322,59 @@ var text_default = `/**
|
|
|
322
322
|
--gds-text-weight-book: 450;
|
|
323
323
|
--gds-text-weight-regular: 400;
|
|
324
324
|
--gds-text-weight-light: 300;
|
|
325
|
-
--gds-text-size-
|
|
326
|
-
--gds-text-size-
|
|
327
|
-
--gds-text-size-
|
|
328
|
-
--gds-text-size-
|
|
329
|
-
--gds-text-size-
|
|
330
|
-
--gds-text-size-
|
|
331
|
-
--gds-text-size-
|
|
332
|
-
--gds-text-size-
|
|
333
|
-
--gds-text-size-
|
|
334
|
-
--gds-text-size-
|
|
335
|
-
--gds-text-size-
|
|
336
|
-
--gds-text-size-
|
|
337
|
-
--gds-text-size-
|
|
338
|
-
--gds-text-size-
|
|
339
|
-
--gds-text-size-
|
|
340
|
-
--gds-text-size-
|
|
341
|
-
--gds-text-size-
|
|
342
|
-
--gds-text-size-
|
|
343
|
-
--gds-text-size-
|
|
344
|
-
--gds-text-size-
|
|
345
|
-
--gds-text-
|
|
346
|
-
--gds-text-
|
|
347
|
-
--gds-text-
|
|
348
|
-
--gds-text-line-height-
|
|
349
|
-
--gds-text-line-height-
|
|
350
|
-
--gds-text-line-height-
|
|
351
|
-
--gds-text-line-height-
|
|
352
|
-
--gds-text-line-height-
|
|
353
|
-
--gds-text-line-height-
|
|
354
|
-
--gds-text-line-height-
|
|
355
|
-
--gds-text-line-height-
|
|
356
|
-
--gds-text-line-height-
|
|
357
|
-
--gds-text-line-height-
|
|
358
|
-
--gds-text-line-height-
|
|
359
|
-
--gds-text-line-height-
|
|
360
|
-
--gds-text-line-height-
|
|
361
|
-
--gds-text-line-height-
|
|
362
|
-
--gds-text-line-height-
|
|
363
|
-
--gds-text-line-height-
|
|
364
|
-
--gds-text-line-height-
|
|
325
|
+
--gds-text-size-preamble-xs: 16px;
|
|
326
|
+
--gds-text-size-preamble-s: 18px;
|
|
327
|
+
--gds-text-size-preamble-m: 20px;
|
|
328
|
+
--gds-text-size-preamble-l: 24px;
|
|
329
|
+
--gds-text-size-preamble-xl: 28px;
|
|
330
|
+
--gds-text-size-preamble-2xl: 32px;
|
|
331
|
+
--gds-text-size-display-s: 32px;
|
|
332
|
+
--gds-text-size-display-m: 36px;
|
|
333
|
+
--gds-text-size-display-l: 48px;
|
|
334
|
+
--gds-text-size-display-xl: 64px;
|
|
335
|
+
--gds-text-size-display-2xl: 82px;
|
|
336
|
+
--gds-text-size-body-s: 14px;
|
|
337
|
+
--gds-text-size-body-m: 16px;
|
|
338
|
+
--gds-text-size-body-l: 20px;
|
|
339
|
+
--gds-text-size-detail-xs: 12px;
|
|
340
|
+
--gds-text-size-detail-s: 14px;
|
|
341
|
+
--gds-text-size-detail-m: 16px;
|
|
342
|
+
--gds-text-size-heading-2xl: 14px;
|
|
343
|
+
--gds-text-size-heading-xs: 16px;
|
|
344
|
+
--gds-text-size-heading-s: 20px;
|
|
345
|
+
--gds-text-size-heading-m: 24px;
|
|
346
|
+
--gds-text-size-heading-l: 28px;
|
|
347
|
+
--gds-text-size-heading-xl: 32px;
|
|
348
|
+
--gds-text-line-height-preamble-xs: 24px;
|
|
349
|
+
--gds-text-line-height-preamble-s: 26px;
|
|
350
|
+
--gds-text-line-height-preamble-m: 28px;
|
|
351
|
+
--gds-text-line-height-preamble-l: 32px;
|
|
352
|
+
--gds-text-line-height-preamble-xl: 36px;
|
|
353
|
+
--gds-text-line-height-preamble-2xl: 40px;
|
|
354
|
+
--gds-text-line-height-display-s: 40px;
|
|
355
|
+
--gds-text-line-height-display-m: 44px;
|
|
356
|
+
--gds-text-line-height-display-l: 56px;
|
|
357
|
+
--gds-text-line-height-display-xl: 72px;
|
|
358
|
+
--gds-text-line-height-display-2xl: 90px;
|
|
359
|
+
--gds-text-line-height-body-s: 20px;
|
|
360
|
+
--gds-text-line-height-body-m: 24px;
|
|
361
|
+
--gds-text-line-height-body-l: 26px;
|
|
362
|
+
--gds-text-line-height-detail-xs: 16px;
|
|
363
|
+
--gds-text-line-height-detail-s: 18px;
|
|
364
|
+
--gds-text-line-height-detail-m: 20px;
|
|
365
|
+
--gds-text-line-height-heading-2xs: 20px;
|
|
366
|
+
--gds-text-line-height-heading-xs: 24px;
|
|
367
|
+
--gds-text-line-height-heading-s: 28px;
|
|
368
|
+
--gds-text-line-height-heading-m: 32px;
|
|
369
|
+
--gds-text-line-height-heading-l: 40px;
|
|
370
|
+
--gds-text-line-height-heading-xl: 44px;
|
|
365
371
|
}
|
|
366
372
|
`;
|
|
367
373
|
|
|
368
374
|
// dist/libs/tokens/internal/motion.css?inline
|
|
369
375
|
var motion_default = `/**
|
|
370
376
|
* Do not edit directly
|
|
371
|
-
* Generated on
|
|
377
|
+
* Generated on Thu, 05 Sep 2024 08:48:46 GMT
|
|
372
378
|
*/
|
|
373
379
|
|
|
374
380
|
:host {
|
|
@@ -383,13 +389,29 @@ var motion_default = `/**
|
|
|
383
389
|
}
|
|
384
390
|
`;
|
|
385
391
|
|
|
392
|
+
// dist/libs/tokens/internal/shadow.css?inline
|
|
393
|
+
var shadow_default = `/**
|
|
394
|
+
* Do not edit directly
|
|
395
|
+
* Generated on Thu, 05 Sep 2024 08:48:46 GMT
|
|
396
|
+
*/
|
|
397
|
+
|
|
398
|
+
:host {
|
|
399
|
+
--gds-shadow-xs: 0px 0px 1px 0px rgba(0, 0, 0, 0.1), 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
|
400
|
+
--gds-shadow-s: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
|
|
401
|
+
--gds-shadow-m: 0px 4px 8px -2px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.06);
|
|
402
|
+
--gds-shadow-l: 0px 12px 16px -4px rgba(0, 0, 0, 0.08), 0px 4px 6px -2px rgba(0, 0, 0, 0.03);
|
|
403
|
+
--gds-shadow-xl: 0px 20px 24px -4px rgba(0, 0, 0, 0.08), 0px 8px 8px -4px rgba(0, 0, 0, 0.03);
|
|
404
|
+
}
|
|
405
|
+
`;
|
|
406
|
+
|
|
386
407
|
// libs/core/src/tokens.style.ts
|
|
387
408
|
var tokens = [
|
|
388
409
|
unsafeCSS(pallet_default),
|
|
389
410
|
unsafeCSS(light_default),
|
|
390
411
|
unsafeCSS(size_default),
|
|
391
412
|
unsafeCSS(text_default),
|
|
392
|
-
unsafeCSS(motion_default)
|
|
413
|
+
unsafeCSS(motion_default),
|
|
414
|
+
unsafeCSS(shadow_default)
|
|
393
415
|
];
|
|
394
416
|
|
|
395
417
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
card_style_css_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JTFG2VCZ.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsContainer
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.Z3RX3OZJ.js";
|
|
7
7
|
import {
|
|
8
8
|
styleExpressionProperty
|
|
9
9
|
} from "./chunk.ADPMTWTS.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.OYCRDQFS.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.54252E4T.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsContainer
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.Z3RX3OZJ.js";
|
|
7
7
|
import {
|
|
8
8
|
styleExpressionProperty
|
|
9
9
|
} from "./chunk.ADPMTWTS.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.OYCRDQFS.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk.S7DYDS4E.js";
|
|
11
11
|
import {
|
|
12
12
|
tokens
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.OYCRDQFS.js";
|
|
14
14
|
import {
|
|
15
15
|
watch
|
|
16
16
|
} from "./chunk.2WO4NHJ2.js";
|
|
@@ -78,16 +78,16 @@ var styles = css`
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
label {
|
|
81
|
-
font-size: var(--gds-text-size-
|
|
81
|
+
font-size: var(--gds-text-size-detail-m);
|
|
82
|
+
line-height: var(--gds-text-line-height-detail-m);
|
|
82
83
|
font-weight: var(--gds-text-weight-book);
|
|
83
|
-
line-height: var(--gds-text-line-height-label-input-large);
|
|
84
84
|
font-family: inherit;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.form-info {
|
|
88
|
-
font-size: var(--gds-text-size-
|
|
88
|
+
font-size: var(--gds-text-size-detail-s);
|
|
89
|
+
line-height: var(--gds-text-line-height-detail-s);
|
|
89
90
|
font-weight: var(--gds-text-weight-regular);
|
|
90
|
-
line-height: var(--gds-text-line-height-label-information-medium);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.field {
|
|
@@ -96,8 +96,8 @@ var styles = css`
|
|
|
96
96
|
gap: var(--gds-space-2xs);
|
|
97
97
|
padding: var(--gds-space-2xs);
|
|
98
98
|
border-radius: var(--gds-space-xs);
|
|
99
|
-
font-size: var(--gds-text-size-
|
|
100
|
-
line-height: var(--gds-text-line-height-
|
|
99
|
+
font-size: var(--gds-text-size-detail-m);
|
|
100
|
+
line-height: var(--gds-text-line-height-detail-m);
|
|
101
101
|
font-weight: var(--gds-text-weight-regular);
|
|
102
102
|
font-family: inherit;
|
|
103
103
|
overflow: hidden;
|
|
@@ -165,6 +165,7 @@ var styles = css`
|
|
|
165
165
|
outline-offset: -4px;
|
|
166
166
|
border-radius: var(--gds-space-xs);
|
|
167
167
|
padding-top: var(--gds-space-3xs);
|
|
168
|
+
font-family: inherit;
|
|
168
169
|
|
|
169
170
|
&:focus-visible,
|
|
170
171
|
&:hover {
|
|
@@ -174,7 +175,7 @@ var styles = css`
|
|
|
174
175
|
|
|
175
176
|
&.small {
|
|
176
177
|
height: var(--gds-space-xl);
|
|
177
|
-
font-size: var(--gds-text-size-
|
|
178
|
+
font-size: var(--gds-text-size-detail-s);
|
|
178
179
|
padding: 0;
|
|
179
180
|
|
|
180
181
|
button {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.S7DYDS4E.js";
|
|
13
13
|
import {
|
|
14
14
|
tokens
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.OYCRDQFS.js";
|
|
16
16
|
import {
|
|
17
17
|
watch
|
|
18
18
|
} from "./chunk.2WO4NHJ2.js";
|
|
@@ -62,6 +62,7 @@ var style = css`
|
|
|
62
62
|
cursor: pointer;
|
|
63
63
|
box-sizing: border-box;
|
|
64
64
|
font-size: var(--gds-space-m);
|
|
65
|
+
font-family: inherit;
|
|
65
66
|
|
|
66
67
|
// TODO: Update colors to use tokens
|
|
67
68
|
border-color: #6f6f6f;
|
|
@@ -106,9 +107,9 @@ var style = css`
|
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
label {
|
|
109
|
-
font-
|
|
110
|
-
line-height: var(--gds-text-line-height-
|
|
111
|
-
font-
|
|
110
|
+
font-size: var(--gds-text-size-detail-m);
|
|
111
|
+
line-height: var(--gds-text-line-height-detail-m);
|
|
112
|
+
font-weight: var(--gds-text-weight-book);
|
|
112
113
|
padding-block: var(--gds-space-2xs);
|
|
113
114
|
font-family: inherit;
|
|
114
115
|
}
|
|
@@ -125,9 +126,10 @@ var style = css`
|
|
|
125
126
|
border-bottom: 1px solid var(--gds-sys-color-base400);
|
|
126
127
|
width: 100%;
|
|
127
128
|
padding: var(--gds-space-m);
|
|
128
|
-
font-weight: var(--gds-text-weight-
|
|
129
|
+
font-weight: var(--gds-text-weight-book);
|
|
129
130
|
flex: 1;
|
|
130
131
|
box-sizing: border-box;
|
|
132
|
+
font-family: inherit;
|
|
131
133
|
|
|
132
134
|
&:focus {
|
|
133
135
|
border-color: var(--gds-sys-color-base800);
|
|
@@ -136,7 +138,7 @@ var style = css`
|
|
|
136
138
|
&::placeholder {
|
|
137
139
|
color: currrentColor;
|
|
138
140
|
font-family: inherit;
|
|
139
|
-
font-weight: var(--gds-text-weight-
|
|
141
|
+
font-weight: var(--gds-text-weight-book);
|
|
140
142
|
color: var(--gds-sys-color-base800);
|
|
141
143
|
}
|
|
142
144
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.KBYQYDL3.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.OYCRDQFS.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsElement
|
|
9
9
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -179,7 +179,7 @@ var MenuButton = class extends GdsElement {
|
|
|
179
179
|
download=${ifDefined(__privateGet(this, _isLink, isLink_get) ? this.download : void 0)}
|
|
180
180
|
>
|
|
181
181
|
<slot name="lead"></slot>
|
|
182
|
-
<slot></slot>
|
|
182
|
+
<slot part="main-slot"></slot>
|
|
183
183
|
<slot name="trail"></slot>
|
|
184
184
|
</${tag}>
|
|
185
185
|
`;
|
package/chunks/chunk.VOYMQ322.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// libs/core/src/utils/helpers/custom-element-scoping.ts
|
|
2
2
|
import { html as litHtml } from "lit";
|
|
3
3
|
import { customElement } from "lit/decorators.js";
|
|
4
|
-
var VER_SUFFIX = "-
|
|
4
|
+
var VER_SUFFIX = "-c7402d";
|
|
5
5
|
var elementLookupTable = /* @__PURE__ */ new Map();
|
|
6
6
|
var gdsCustomElement = (tagName) => {
|
|
7
7
|
if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
|