@sebgroup/green-core 1.48.0 → 1.49.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.
- package/chunks/{chunk.5NCSB5RJ.js → chunk.3SJD5JSB.js} +2 -2
- package/chunks/{chunk.YZT2CUUD.js → chunk.5HJ2J3HW.js} +1 -1
- package/chunks/{chunk.SXKTSPO2.js → chunk.66RAEZTU.js} +1 -1
- package/chunks/{chunk.F3ZWHONN.js → chunk.6XYKZASZ.js} +1 -1
- package/chunks/{chunk.SYUP2BR2.js → chunk.ACIPAM5Q.js} +1 -1
- package/chunks/{chunk.35BA4JUK.js → chunk.AZJZPTQM.js} +1 -1
- package/chunks/{chunk.2JL43I2I.js → chunk.DK4WNTND.js} +1 -1
- package/chunks/chunk.EX5R6FB7.js +103 -0
- package/chunks/{chunk.F7KHQYGX.js → chunk.FPU44TUT.js} +2 -2
- package/chunks/{chunk.GFU3XSNV.js → chunk.GEAI5HOL.js} +1 -1
- package/chunks/{chunk.TEZYFLSO.js → chunk.H7QIU5VU.js} +1 -1
- package/chunks/{chunk.B7NCIPGW.js → chunk.HSY6PRL4.js} +9 -9
- package/chunks/{chunk.7GFQPZ5R.js → chunk.IFIR2GJH.js} +5 -5
- package/chunks/{chunk.ADXWHIFC.js → chunk.K2YKC27M.js} +2 -1
- package/chunks/{chunk.MZJXJMX2.js → chunk.LBO4KOVP.js} +1 -1
- package/chunks/{chunk.VCKROBGQ.js → chunk.LHGAFV5E.js} +1 -1
- package/chunks/{chunk.R46P5VNP.js → chunk.LPEZEUTO.js} +1 -1
- package/chunks/{chunk.DVM7DESQ.js → chunk.LWBDGAUF.js} +1 -1
- package/chunks/{chunk.HRXQV24U.js → chunk.LXSXFTZF.js} +2 -2
- package/chunks/chunk.MLXMQIEV.js +1 -1
- package/chunks/{chunk.Z4ERHLAB.js → chunk.MOMVCLDM.js} +1 -1
- package/chunks/{chunk.HXMJ44SH.js → chunk.MULYFXQM.js} +1 -1
- package/chunks/{chunk.WJFJZ5OY.js → chunk.NS3YNF4U.js} +2 -2
- package/chunks/{chunk.WPWW2ZWL.js → chunk.RC25VDRL.js} +2 -2
- package/chunks/{chunk.OYYU5WCG.js → chunk.S4VAAZSU.js} +1 -1
- package/chunks/{chunk.CFBXPIRS.js → chunk.TRMH73XA.js} +1 -1
- package/chunks/{chunk.V2RO6M45.js → chunk.XWVLGNMR.js} +112 -109
- package/chunks/{chunk.6XJ52H5G.js → chunk.YKYSOCEE.js} +1 -1
- package/chunks/{chunk.2GBG6J7M.js → chunk.ZKPYN6F4.js} +1 -1
- package/components/badge/badge.js +2 -2
- package/components/badge/index.js +2 -2
- package/components/button/button.js +3 -3
- package/components/button/index.js +3 -3
- package/components/calendar/calendar.js +2 -2
- package/components/calendar/index.js +2 -2
- package/components/card/card.js +3 -3
- package/components/card/index.js +3 -3
- package/components/container/container.js +2 -2
- package/components/container/index.js +2 -2
- package/components/datepicker/datepicker.js +7 -7
- package/components/datepicker/index.js +7 -7
- package/components/dialog/dialog.js +6 -6
- package/components/dialog/index.js +6 -6
- package/components/divider/divider.js +2 -2
- package/components/divider/index.js +2 -2
- package/components/dropdown/dropdown.js +5 -5
- package/components/dropdown/index.js +5 -5
- package/components/fab/fab.js +4 -4
- package/components/fab/index.js +4 -4
- 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/flex/flex.js +3 -3
- package/components/flex/index.js +3 -3
- package/components/form/index.js +4 -4
- package/components/form/summary/index.js +4 -4
- package/components/form/summary/summary.js +4 -4
- package/components/grid/grid.js +3 -3
- package/components/grid/index.js +3 -3
- package/components/img/img.js +2 -2
- package/components/img/index.js +2 -2
- package/components/index.d.ts +1 -0
- package/components/index.js +37 -33
- package/components/input/index.js +10 -10
- package/components/input/input.js +10 -10
- package/components/link/index.d.ts +1 -0
- package/components/link/index.js +12 -0
- package/components/link/link.d.ts +35 -0
- package/components/link/link.js +12 -0
- package/components/link/link.styles.d.ts +2 -0
- package/components/mask/index.js +4 -4
- package/components/mask/mask.js +4 -4
- package/components/menu-button/index.js +2 -2
- package/components/menu-button/menu-button.js +2 -2
- package/components/menu-button/menu-button.styles.d.ts +2 -0
- package/components/rich-text/index.js +2 -2
- package/components/rich-text/rich-text.js +2 -2
- 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/components/signal/index.js +2 -2
- package/components/signal/signal.js +2 -2
- package/components/spacer/index.js +2 -2
- package/components/spacer/spacer.js +2 -2
- package/components/text/index.js +2 -2
- package/components/text/text.js +2 -2
- package/components/textarea/index.js +10 -10
- package/components/textarea/textarea.js +10 -10
- package/components/theme/index.js +2 -2
- package/components/theme/theme.js +2 -2
- package/components/video/index.js +2 -2
- package/components/video/video.js +2 -2
- package/index.js +37 -33
- package/package.json +1 -1
- package/primitives/form-control-footer/form-control-footer.js +2 -2
- package/primitives/form-control-footer/index.js +2 -2
- package/primitives/form-control-header/form-control-header.js +5 -5
- package/primitives/form-control-header/index.js +5 -5
- 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.CYWCFGJ4.js → chunk.4EWOQKZC.js} +0 -0
- /package/components/flex/{flex.style.d.ts → flex.styles.d.ts} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFlex
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.IFIR2GJH.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.H2KG3F2S.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.HSY6PRL4.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement
|
|
12
12
|
} from "./chunk.MLXMQIEV.js";
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tokens
|
|
3
|
+
} from "./chunk.HSY6PRL4.js";
|
|
4
|
+
import {
|
|
5
|
+
GdsElement
|
|
6
|
+
} from "./chunk.6X2WDWO3.js";
|
|
7
|
+
import {
|
|
8
|
+
gdsCustomElement
|
|
9
|
+
} from "./chunk.MLXMQIEV.js";
|
|
10
|
+
import {
|
|
11
|
+
__decorateClass,
|
|
12
|
+
__privateAdd,
|
|
13
|
+
__privateGet
|
|
14
|
+
} from "./chunk.SEHSDSX2.js";
|
|
15
|
+
|
|
16
|
+
// libs/core/src/components/link/link.ts
|
|
17
|
+
import { unsafeCSS } from "lit";
|
|
18
|
+
import { property } from "lit/decorators.js";
|
|
19
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
20
|
+
import { html as staticHtml } from "lit/static-html.js";
|
|
21
|
+
|
|
22
|
+
// libs/core/src/components/link/link.styles.ts
|
|
23
|
+
import { css } from "lit";
|
|
24
|
+
var style = css`
|
|
25
|
+
@layer core, link;
|
|
26
|
+
|
|
27
|
+
@layer core {
|
|
28
|
+
:host {
|
|
29
|
+
display: inline-block;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@layer link {
|
|
34
|
+
a {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 1ch;
|
|
38
|
+
text-decoration: underline;
|
|
39
|
+
text-underline-offset: 0.2lh;
|
|
40
|
+
color: currentColor;
|
|
41
|
+
outline-offset: 4px;
|
|
42
|
+
outline-color: currentColor;
|
|
43
|
+
font-weight: var(--gds-text-weight-book);
|
|
44
|
+
|
|
45
|
+
&:hover {
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
`;
|
|
51
|
+
var link_styles_default = style;
|
|
52
|
+
|
|
53
|
+
// libs/core/src/components/link/link.ts
|
|
54
|
+
var _defaultRel, defaultRel_get;
|
|
55
|
+
var GdsLink = class extends GdsElement {
|
|
56
|
+
constructor() {
|
|
57
|
+
super();
|
|
58
|
+
__privateAdd(this, _defaultRel);
|
|
59
|
+
this.href = "";
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
return staticHtml`
|
|
63
|
+
<a
|
|
64
|
+
href=${ifDefined(this.href)}
|
|
65
|
+
target=${ifDefined(this.target)}
|
|
66
|
+
rel=${ifDefined(this.rel || __privateGet(this, _defaultRel, defaultRel_get))}
|
|
67
|
+
download=${ifDefined(this.download)}
|
|
68
|
+
>
|
|
69
|
+
<slot name="lead"></slot>
|
|
70
|
+
<slot></slot>
|
|
71
|
+
<slot name="trail"></slot>
|
|
72
|
+
</a>
|
|
73
|
+
`;
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
_defaultRel = new WeakSet();
|
|
77
|
+
defaultRel_get = function() {
|
|
78
|
+
return this.target === "_blank" ? "noreferrer noopener" : void 0;
|
|
79
|
+
};
|
|
80
|
+
GdsLink.styles = [tokens, unsafeCSS(link_styles_default)];
|
|
81
|
+
GdsLink.shadowRootOptions = {
|
|
82
|
+
mode: "open",
|
|
83
|
+
delegatesFocus: true
|
|
84
|
+
};
|
|
85
|
+
__decorateClass([
|
|
86
|
+
property()
|
|
87
|
+
], GdsLink.prototype, "href", 2);
|
|
88
|
+
__decorateClass([
|
|
89
|
+
property()
|
|
90
|
+
], GdsLink.prototype, "target", 2);
|
|
91
|
+
__decorateClass([
|
|
92
|
+
property()
|
|
93
|
+
], GdsLink.prototype, "rel", 2);
|
|
94
|
+
__decorateClass([
|
|
95
|
+
property()
|
|
96
|
+
], GdsLink.prototype, "download", 2);
|
|
97
|
+
GdsLink = __decorateClass([
|
|
98
|
+
gdsCustomElement("gds-link")
|
|
99
|
+
], GdsLink);
|
|
100
|
+
|
|
101
|
+
export {
|
|
102
|
+
GdsLink
|
|
103
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ACIPAM5Q.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.H2KG3F2S.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.HSY6PRL4.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// dist/libs/tokens/internal/dark.css?inline
|
|
2
2
|
var dark_default = `/**
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
color-scheme: dark;
|
|
@@ -115,7 +115,7 @@ color-scheme: dark;
|
|
|
115
115
|
// dist/libs/tokens/internal/light.css?inline
|
|
116
116
|
var light_default = `/**
|
|
117
117
|
* Do not edit directly
|
|
118
|
-
* Generated on
|
|
118
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
119
119
|
*/
|
|
120
120
|
|
|
121
121
|
color-scheme: light;
|
|
@@ -232,7 +232,7 @@ import { unsafeCSS } from "lit";
|
|
|
232
232
|
// dist/libs/tokens/internal/motion.css?inline
|
|
233
233
|
var motion_default = `/**
|
|
234
234
|
* Do not edit directly
|
|
235
|
-
* Generated on
|
|
235
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
236
236
|
*/
|
|
237
237
|
|
|
238
238
|
:host {
|
|
@@ -251,7 +251,7 @@ var motion_default = `/**
|
|
|
251
251
|
// dist/libs/tokens/internal/pallet.css?inline
|
|
252
252
|
var pallet_default = `/**
|
|
253
253
|
* Do not edit directly
|
|
254
|
-
* Generated on
|
|
254
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
255
255
|
*/
|
|
256
256
|
|
|
257
257
|
:host {
|
|
@@ -412,7 +412,7 @@ var pallet_default = `/**
|
|
|
412
412
|
// dist/libs/tokens/internal/shadow.css?inline
|
|
413
413
|
var shadow_default = `/**
|
|
414
414
|
* Do not edit directly
|
|
415
|
-
* Generated on
|
|
415
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
416
416
|
*/
|
|
417
417
|
|
|
418
418
|
:host {
|
|
@@ -427,7 +427,7 @@ var shadow_default = `/**
|
|
|
427
427
|
// dist/libs/tokens/internal/size.css?inline
|
|
428
428
|
var size_default = `/**
|
|
429
429
|
* Do not edit directly
|
|
430
|
-
* Generated on
|
|
430
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
431
431
|
*/
|
|
432
432
|
|
|
433
433
|
:host {
|
|
@@ -454,7 +454,7 @@ var size_default = `/**
|
|
|
454
454
|
// dist/libs/tokens/internal/text.css?inline
|
|
455
455
|
var text_default = `/**
|
|
456
456
|
* Do not edit directly
|
|
457
|
-
* Generated on
|
|
457
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
458
458
|
*/
|
|
459
459
|
|
|
460
460
|
:host {
|
|
@@ -515,7 +515,7 @@ var text_default = `/**
|
|
|
515
515
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
516
516
|
var light_default2 = `/**
|
|
517
517
|
* Do not edit directly
|
|
518
|
-
* Generated on
|
|
518
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
519
519
|
*/
|
|
520
520
|
|
|
521
521
|
:host {
|
|
@@ -741,7 +741,7 @@ var light_default2 = `/**
|
|
|
741
741
|
// dist/libs/tokens/internal/viewport.css?inline
|
|
742
742
|
var viewport_default = `/**
|
|
743
743
|
* Do not edit directly
|
|
744
|
-
* Generated on
|
|
744
|
+
* Generated on Fri, 01 Nov 2024 11:03:44 GMT
|
|
745
745
|
*/
|
|
746
746
|
|
|
747
747
|
:host {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ACIPAM5Q.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.H2KG3F2S.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.HSY6PRL4.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.SEHSDSX2.js";
|
|
17
17
|
|
|
18
|
-
// libs/core/src/components/flex/flex.
|
|
18
|
+
// libs/core/src/components/flex/flex.styles.ts
|
|
19
19
|
import { css } from "lit";
|
|
20
20
|
var style = css`
|
|
21
21
|
:host {
|
|
22
22
|
box-sizing: border-box;
|
|
23
23
|
}
|
|
24
24
|
`;
|
|
25
|
-
var
|
|
25
|
+
var flex_styles_default = style;
|
|
26
26
|
|
|
27
27
|
// libs/core/src/components/flex/flex.ts
|
|
28
28
|
var GdsFlex = class extends GdsContainer {
|
|
@@ -34,7 +34,7 @@ var GdsFlex = class extends GdsContainer {
|
|
|
34
34
|
return html`<slot></slot>`;
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
GdsFlex.styles = [tokens,
|
|
37
|
+
GdsFlex.styles = [tokens, flex_styles_default];
|
|
38
38
|
__decorateClass([
|
|
39
39
|
styleExpressionProperty({
|
|
40
40
|
styleTemplate: (_prop, values) => {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.WM7HBMMV.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.HSY6PRL4.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.6X2WDWO3.js";
|
|
@@ -90,6 +90,7 @@ var styles = css`
|
|
|
90
90
|
*/
|
|
91
91
|
figure {
|
|
92
92
|
margin: 0;
|
|
93
|
+
padding: 0;
|
|
93
94
|
& img {
|
|
94
95
|
display: block;
|
|
95
96
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
forwardAttributes
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.MOMVCLDM.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsFormControlElement
|
|
6
6
|
} from "./chunk.JPBBNSKG.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.HSY6PRL4.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
package/chunks/chunk.MLXMQIEV.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
// libs/core/src/utils/helpers/custom-element-scoping.ts
|
|
7
7
|
import { html as litHtml } from "lit";
|
|
8
8
|
import { customElement } from "lit/decorators.js";
|
|
9
|
-
var VER_SUFFIX = "-
|
|
9
|
+
var VER_SUFFIX = "-3d0b3f";
|
|
10
10
|
var ScopedElementRegistry = class {
|
|
11
11
|
static get instance() {
|
|
12
12
|
var _a;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ACIPAM5Q.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.H2KG3F2S.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.HSY6PRL4.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.H2KG3F2S.js";
|
|
4
4
|
import {
|
|
5
5
|
forwardAttributes
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.MOMVCLDM.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsFormControlElement
|
|
9
9
|
} from "./chunk.JPBBNSKG.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.TYGMNHNO.js";
|
|
13
13
|
import {
|
|
14
14
|
tokens
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.HSY6PRL4.js";
|
|
16
16
|
import {
|
|
17
17
|
gdsCustomElement,
|
|
18
18
|
html
|