@sebgroup/green-core 1.59.0 → 1.60.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.THTM3MPD.js → chunk.2FIMLN5K.js} +2 -2
- package/chunks/{chunk.6CDROL37.js → chunk.2QH66UQK.js} +1 -1
- package/chunks/{chunk.SLTY6IRR.js → chunk.2RPIXTTF.js} +1 -0
- package/chunks/{chunk.4FJV5OXR.js → chunk.2Z4W2TRI.js} +1 -1
- package/chunks/{chunk.5ZO2U5L5.js → chunk.3DRYWPZO.js} +2 -2
- package/chunks/{chunk.2B24JPD4.js → chunk.3WZNFNK6.js} +1 -1
- package/chunks/{chunk.HWRJQU7Q.js → chunk.4VYS7SYU.js} +2 -2
- package/chunks/{chunk.2MDVPYTH.js → chunk.4ZHTAQDZ.js} +1 -1
- package/chunks/{chunk.3G24GKHY.js → chunk.532242YD.js} +1 -1
- package/chunks/{chunk.MYMGFXGP.js → chunk.6YX75PNT.js} +1 -1
- package/chunks/{chunk.6BQT6I5K.js → chunk.AIJ6QFLC.js} +1 -1
- package/chunks/{chunk.MRCKWB44.js → chunk.B3BCODWZ.js} +2 -2
- package/chunks/{chunk.4YK4466N.js → chunk.BGWGCMCR.js} +7 -6
- package/chunks/{chunk.344MOTBA.js → chunk.DDEH4BLM.js} +1 -1
- package/chunks/{chunk.UOH5HIUS.js → chunk.E5WWCN6L.js} +1 -1
- package/chunks/{chunk.JIL5N2O7.js → chunk.ECWUT62F.js} +2 -2
- package/chunks/{chunk.65XVXAER.js → chunk.EQK24GA7.js} +1 -1
- package/chunks/{chunk.E35QV6HB.js → chunk.EXYL4FK6.js} +2 -2
- package/chunks/{chunk.A7YLGH5V.js → chunk.FAQESENL.js} +2 -2
- package/chunks/{chunk.CL2QGGOM.js → chunk.H7DJUX62.js} +1 -1
- package/chunks/{chunk.5AIZQSFL.js → chunk.HLWSHILT.js} +2 -2
- package/chunks/{chunk.BKMUS6XU.js → chunk.HRNZCGRZ.js} +2 -2
- package/chunks/{chunk.JRPYNA67.js → chunk.HZSYETQW.js} +1 -1
- package/chunks/{chunk.4A5Q5B6I.js → chunk.JHTTWGJB.js} +1 -1
- package/chunks/{chunk.G4N6BNOK.js → chunk.KOSOFSBP.js} +1 -1
- package/chunks/{chunk.Y7NAUHML.js → chunk.LJOYUM3A.js} +6 -7
- package/chunks/chunk.MLXMQIEV.js +1 -1
- package/chunks/{chunk.LZ4ZSNNZ.js → chunk.MXCTN4I7.js} +2 -2
- package/chunks/{chunk.AGWLT4FM.js → chunk.P2DEMU5V.js} +2 -2
- package/chunks/{chunk.7UAEEGWL.js → chunk.PIVMG24U.js} +1 -1
- package/chunks/{chunk.JCEOMQJJ.js → chunk.RXOV7ZV4.js} +1 -1
- package/chunks/{chunk.52PCA7LP.js → chunk.SHITJ27X.js} +1 -1
- package/chunks/{chunk.QJCHBN2T.js → chunk.TPWB5DUJ.js} +2 -2
- package/chunks/{chunk.AWGXHDH7.js → chunk.UDVIBJU2.js} +1 -1
- package/chunks/{chunk.OJBBKYVQ.js → chunk.VI2KPHVV.js} +9 -9
- package/chunks/{chunk.YLVGKKKI.js → chunk.W6APMWG7.js} +1 -1
- package/chunks/{chunk.JNR32IH4.js → chunk.WOGUULLN.js} +15 -17
- package/chunks/{chunk.UGHKTEE4.js → chunk.XFOLMVIU.js} +2 -2
- package/components/badge/badge.js +4 -4
- package/components/badge/index.js +4 -4
- package/components/button/button.js +4 -4
- package/components/button/button.trans.styles.js +1 -1
- package/components/button/index.js +4 -4
- package/components/calendar/calendar.js +3 -3
- package/components/calendar/calendar.trans.styles.js +1 -1
- package/components/calendar/index.js +3 -3
- 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/context-menu/context-menu.js +5 -5
- package/components/context-menu/context-menu.trans.styles.js +1 -1
- package/components/context-menu/index.js +6 -6
- package/components/datepicker/datepicker.js +11 -11
- package/components/datepicker/datepicker.trans.styles.js +1 -1
- package/components/datepicker/index.js +11 -11
- package/components/dialog/dialog.js +7 -7
- package/components/dialog/index.js +7 -7
- package/components/divider/divider.js +2 -2
- package/components/divider/index.js +2 -2
- package/components/dropdown/dropdown.js +8 -8
- package/components/dropdown/dropdown.trans.styles.js +1 -1
- package/components/dropdown/index.js +9 -9
- package/components/fab/fab.js +5 -5
- package/components/fab/index.js +5 -5
- package/components/filter-chips/filter-chip/filter-chip.js +5 -5
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +1 -1
- package/components/filter-chips/filter-chip/index.js +5 -5
- package/components/filter-chips/filter-chips.js +5 -5
- package/components/filter-chips/filter-chips.trans.styles.js +1 -1
- package/components/filter-chips/index.js +5 -5
- 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/grouped-list/grouped-list.js +2 -2
- package/components/grouped-list/grouped-list.trans.styles.js +1 -1
- package/components/grouped-list/index.js +2 -2
- package/components/img/img.js +2 -2
- package/components/img/index.js +2 -2
- package/components/index.js +35 -35
- package/components/input/index.js +9 -9
- package/components/input/input.js +9 -9
- package/components/link/index.js +3 -2
- package/components/link/link.d.ts +9 -2
- package/components/link/link.js +3 -2
- 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/popover/index.js +2 -2
- package/components/popover/popover.js +2 -2
- package/components/popover/popover.trans.styles.js +1 -1
- package/components/rich-text/index.js +2 -2
- package/components/rich-text/rich-text.js +2 -2
- package/components/segmented-control/index.js +4 -4
- package/components/segmented-control/segment/index.js +3 -3
- package/components/segmented-control/segment/segment.js +3 -3
- package/components/segmented-control/segment/segment.trans.styles.js +1 -1
- package/components/segmented-control/segmented-control.js +4 -4
- package/components/segmented-control/segmented-control.trans.styles.js +1 -1
- 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 +9 -9
- package/components/textarea/textarea.js +9 -9
- package/components/theme/index.js +3 -3
- package/components/theme/theme.js +3 -3
- package/components/theme/theme.trans.styles.js +1 -1
- package/components/video/index.js +2 -2
- package/components/video/video.js +2 -2
- package/index.js +35 -35
- package/package.json +1 -1
- package/primitives/form-control-footer/form-control-footer.js +4 -4
- package/primitives/form-control-footer/index.js +4 -4
- package/primitives/form-control-header/form-control-header.js +6 -6
- package/primitives/form-control-header/index.js +6 -6
- package/primitives/listbox/index.js +4 -4
- package/primitives/listbox/listbox.js +4 -4
- package/primitives/listbox/option.js +3 -3
- package/primitives/menu/index.js +3 -3
- package/primitives/menu/menu-heading.js +2 -2
- package/primitives/menu/menu-item.js +2 -2
- package/primitives/menu/menu.js +3 -3
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/transitional-styles.js +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JHTTWGJB.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.VI2KPHVV.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk.TVJYFYLU.js";
|
|
5
5
|
import {
|
|
6
6
|
TransitionalStyles
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.2RPIXTTF.js";
|
|
8
8
|
import {
|
|
9
9
|
watch
|
|
10
10
|
} from "./chunk.TYGMNHNO.js";
|
|
11
11
|
import {
|
|
12
12
|
tokens
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.VI2KPHVV.js";
|
|
14
14
|
import {
|
|
15
15
|
GdsElement
|
|
16
16
|
} from "./chunk.LQSWYCMZ.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
forwardAttributes
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.BGWGCMCR.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsFormControlElement
|
|
6
6
|
} from "./chunk.JYQY43ZR.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.VI2KPHVV.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2RPIXTTF.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.TYGMNHNO.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
dark_default,
|
|
9
9
|
light_default,
|
|
10
10
|
tokens
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.VI2KPHVV.js";
|
|
12
12
|
import {
|
|
13
13
|
GdsElement
|
|
14
14
|
} from "./chunk.LQSWYCMZ.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk.WM7HBMMV.js";
|
|
7
7
|
import {
|
|
8
8
|
TransitionalStyles
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.2RPIXTTF.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.VI2KPHVV.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -88,7 +88,7 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
|
|
|
88
88
|
|
|
89
89
|
@layer core {
|
|
90
90
|
:host {
|
|
91
|
-
display: inline-
|
|
91
|
+
display: inline-flex;
|
|
92
92
|
max-width: 100%;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -117,10 +117,10 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
|
|
|
117
117
|
padding-inline: var(--gds-space-l);
|
|
118
118
|
position: relative;
|
|
119
119
|
text-decoration: none;
|
|
120
|
-
transition-property: color, border-
|
|
121
|
-
transition:
|
|
120
|
+
transition-property: color, border-colorm, background;
|
|
121
|
+
transition-duration: 0.4s;
|
|
122
122
|
max-width: 100%;
|
|
123
|
-
|
|
123
|
+
flex: 1;
|
|
124
124
|
|
|
125
125
|
&:focus {
|
|
126
126
|
outline-color: color-mix(in srgb, currentcolor, #000 100%);
|
|
@@ -159,6 +159,7 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
|
|
|
159
159
|
.button.circle {
|
|
160
160
|
aspect-ratio: 1/1;
|
|
161
161
|
padding: 0;
|
|
162
|
+
min-block-size: var(--_block-size);
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
.button:disabled {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk.H2KG3F2S.js";
|
|
4
4
|
import {
|
|
5
5
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.2RPIXTTF.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.VI2KPHVV.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.LQSWYCMZ.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JHTTWGJB.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.VI2KPHVV.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk.JYQY43ZR.js";
|
|
8
8
|
import {
|
|
9
9
|
TransitionalStyles
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.2RPIXTTF.js";
|
|
11
11
|
import {
|
|
12
12
|
watch
|
|
13
13
|
} from "./chunk.TYGMNHNO.js";
|
|
14
14
|
import {
|
|
15
15
|
tokens
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.VI2KPHVV.js";
|
|
17
17
|
import {
|
|
18
18
|
gdsCustomElement,
|
|
19
19
|
html
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2RPIXTTF.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.TYGMNHNO.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.VI2KPHVV.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.LQSWYCMZ.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.H2KG3F2S.js";
|
|
4
4
|
import {
|
|
5
5
|
forwardAttributes
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.BGWGCMCR.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsFormControlElement
|
|
9
9
|
} from "./chunk.JYQY43ZR.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.TYGMNHNO.js";
|
|
13
13
|
import {
|
|
14
14
|
tokens
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.VI2KPHVV.js";
|
|
16
16
|
import {
|
|
17
17
|
gdsCustomElement,
|
|
18
18
|
html
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.H2KG3F2S.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsButton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.BGWGCMCR.js";
|
|
7
7
|
import {
|
|
8
8
|
gdsCustomElement
|
|
9
9
|
} from "./chunk.MLXMQIEV.js";
|
|
@@ -16,11 +16,12 @@ import { css } from "lit";
|
|
|
16
16
|
var style = css`
|
|
17
17
|
:host {
|
|
18
18
|
display: flex;
|
|
19
|
+
z-index: 1050;
|
|
20
|
+
position: fixed;
|
|
21
|
+
inset: auto var(--gds-space-3xl) var(--gds-space-3xl) auto;
|
|
19
22
|
}
|
|
20
23
|
.button {
|
|
21
24
|
box-shadow: var(--gds-shadow-m);
|
|
22
|
-
position: fixed;
|
|
23
|
-
inset: auto var(--gds-space-3xl) var(--gds-space-3xl) auto;
|
|
24
25
|
block-size: calc(var(--_block-size) + var(--gds-space-xs));
|
|
25
26
|
width: max-content;
|
|
26
27
|
}
|
|
@@ -36,8 +37,7 @@ var GdsFab = class extends GdsButton {
|
|
|
36
37
|
};
|
|
37
38
|
__decorateClass([
|
|
38
39
|
styleExpressionProperty({
|
|
39
|
-
valueTemplate: (v) => v
|
|
40
|
-
selector: '[part="_button"]'
|
|
40
|
+
valueTemplate: (v) => v
|
|
41
41
|
})
|
|
42
42
|
], GdsFab.prototype, "position", 2);
|
|
43
43
|
__decorateClass([
|
|
@@ -47,8 +47,7 @@ __decorateClass([
|
|
|
47
47
|
], GdsFab.prototype, "transform", 2);
|
|
48
48
|
__decorateClass([
|
|
49
49
|
styleExpressionProperty({
|
|
50
|
-
valueTemplate: (v) => v
|
|
51
|
-
selector: '[part="_button"]'
|
|
50
|
+
valueTemplate: (v) => v
|
|
52
51
|
})
|
|
53
52
|
], GdsFab.prototype, "inset", 2);
|
|
54
53
|
GdsFab = __decorateClass([
|
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 = "-44e8f2";
|
|
10
10
|
var ScopedElementRegistry = class {
|
|
11
11
|
static get instance() {
|
|
12
12
|
var _a;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFlex
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EXYL4FK6.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.VI2KPHVV.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement
|
|
12
12
|
} from "./chunk.MLXMQIEV.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JHTTWGJB.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.VI2KPHVV.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk.WM7HBMMV.js";
|
|
7
7
|
import {
|
|
8
8
|
TransitionalStyles
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.2RPIXTTF.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.TYGMNHNO.js";
|
|
13
13
|
import {
|
|
14
14
|
tokens
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.VI2KPHVV.js";
|
|
16
16
|
import {
|
|
17
17
|
gdsCustomElement,
|
|
18
18
|
html
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// dist/libs/tokens/internal/dark.css?inline
|
|
6
6
|
var dark_default = `/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
color-scheme: dark;
|
|
@@ -119,7 +119,7 @@ color-scheme: dark;
|
|
|
119
119
|
// dist/libs/tokens/internal/light.css?inline
|
|
120
120
|
var light_default = `/**
|
|
121
121
|
* Do not edit directly
|
|
122
|
-
* Generated on
|
|
122
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
125
|
color-scheme: light;
|
|
@@ -236,7 +236,7 @@ import { css, unsafeCSS } from "lit";
|
|
|
236
236
|
// dist/libs/tokens/internal/motion.css?inline
|
|
237
237
|
var motion_default = `/**
|
|
238
238
|
* Do not edit directly
|
|
239
|
-
* Generated on
|
|
239
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
240
240
|
*/
|
|
241
241
|
|
|
242
242
|
:host {
|
|
@@ -255,7 +255,7 @@ var motion_default = `/**
|
|
|
255
255
|
// dist/libs/tokens/internal/pallet.css?inline
|
|
256
256
|
var pallet_default = `/**
|
|
257
257
|
* Do not edit directly
|
|
258
|
-
* Generated on
|
|
258
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
259
259
|
*/
|
|
260
260
|
|
|
261
261
|
:host {
|
|
@@ -417,7 +417,7 @@ var pallet_default = `/**
|
|
|
417
417
|
// dist/libs/tokens/internal/shadow.css?inline
|
|
418
418
|
var shadow_default = `/**
|
|
419
419
|
* Do not edit directly
|
|
420
|
-
* Generated on
|
|
420
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
421
421
|
*/
|
|
422
422
|
|
|
423
423
|
:host {
|
|
@@ -432,7 +432,7 @@ var shadow_default = `/**
|
|
|
432
432
|
// dist/libs/tokens/internal/size.css?inline
|
|
433
433
|
var size_default = `/**
|
|
434
434
|
* Do not edit directly
|
|
435
|
-
* Generated on
|
|
435
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
436
436
|
*/
|
|
437
437
|
|
|
438
438
|
:host {
|
|
@@ -459,7 +459,7 @@ var size_default = `/**
|
|
|
459
459
|
// dist/libs/tokens/internal/text.css?inline
|
|
460
460
|
var text_default = `/**
|
|
461
461
|
* Do not edit directly
|
|
462
|
-
* Generated on
|
|
462
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
463
463
|
*/
|
|
464
464
|
|
|
465
465
|
:host {
|
|
@@ -520,7 +520,7 @@ var text_default = `/**
|
|
|
520
520
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
521
521
|
var light_default2 = `/**
|
|
522
522
|
* Do not edit directly
|
|
523
|
-
* Generated on
|
|
523
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
524
524
|
*/
|
|
525
525
|
|
|
526
526
|
:host {
|
|
@@ -753,7 +753,7 @@ var light_default2 = `/**
|
|
|
753
753
|
// dist/libs/tokens/internal/viewport.css?inline
|
|
754
754
|
var viewport_default = `/**
|
|
755
755
|
* Do not edit directly
|
|
756
|
-
* Generated on
|
|
756
|
+
* Generated on Fri, 29 Nov 2024 23:54:56 GMT
|
|
757
757
|
*/
|
|
758
758
|
|
|
759
759
|
:host {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
styleExpressionProperty
|
|
3
|
+
} from "./chunk.H2KG3F2S.js";
|
|
1
4
|
import {
|
|
2
5
|
tokens
|
|
3
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.VI2KPHVV.js";
|
|
4
7
|
import {
|
|
5
8
|
GdsElement
|
|
6
9
|
} from "./chunk.LQSWYCMZ.js";
|
|
@@ -16,7 +19,6 @@ import {
|
|
|
16
19
|
// libs/core/src/components/link/link.ts
|
|
17
20
|
import { unsafeCSS } from "lit";
|
|
18
21
|
import { property } from "lit/decorators.js";
|
|
19
|
-
import { classMap } from "lit/directives/class-map.js";
|
|
20
22
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
21
23
|
import { html as staticHtml } from "lit/static-html.js";
|
|
22
24
|
|
|
@@ -36,22 +38,20 @@ var style = css`
|
|
|
36
38
|
display: flex;
|
|
37
39
|
align-items: center;
|
|
38
40
|
gap: 1ch;
|
|
39
|
-
text-decoration:
|
|
41
|
+
text-decoration: none;
|
|
40
42
|
text-underline-offset: 0.2lh;
|
|
41
43
|
color: currentColor;
|
|
42
44
|
outline-offset: 4px;
|
|
43
45
|
outline-color: currentColor;
|
|
44
46
|
font-weight: var(--gds-text-weight-book);
|
|
47
|
+
transition: all 0.2s ease-in-out;
|
|
45
48
|
|
|
46
49
|
&:hover {
|
|
47
|
-
text-decoration:
|
|
48
|
-
|
|
50
|
+
text-decoration: underline;
|
|
51
|
+
text-underline-offset: 0.16lh;
|
|
49
52
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
&:hover {
|
|
54
|
-
text-decoration: underline;
|
|
53
|
+
&:active {
|
|
54
|
+
text-underline-offset: 0.08lh;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -66,19 +66,14 @@ var GdsLink = class extends GdsElement {
|
|
|
66
66
|
super();
|
|
67
67
|
__privateAdd(this, _defaultRel);
|
|
68
68
|
this.href = "";
|
|
69
|
-
this.variant = "default";
|
|
70
69
|
}
|
|
71
70
|
render() {
|
|
72
|
-
const CLASSES = {
|
|
73
|
-
secondary: this.variant === "secondary"
|
|
74
|
-
};
|
|
75
71
|
return staticHtml`
|
|
76
72
|
<a
|
|
77
73
|
href=${ifDefined(this.href)}
|
|
78
74
|
target=${ifDefined(this.target)}
|
|
79
75
|
rel=${ifDefined(this.rel || __privateGet(this, _defaultRel, defaultRel_get))}
|
|
80
76
|
download=${ifDefined(this.download)}
|
|
81
|
-
class=${classMap(CLASSES)}
|
|
82
77
|
>
|
|
83
78
|
<slot name="lead"></slot>
|
|
84
79
|
<slot></slot>
|
|
@@ -109,8 +104,11 @@ __decorateClass([
|
|
|
109
104
|
property()
|
|
110
105
|
], GdsLink.prototype, "download", 2);
|
|
111
106
|
__decorateClass([
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
styleExpressionProperty({
|
|
108
|
+
valueTemplate: (v) => v,
|
|
109
|
+
selector: "a"
|
|
110
|
+
})
|
|
111
|
+
], GdsLink.prototype, "text-decoration", 2);
|
|
114
112
|
GdsLink = __decorateClass([
|
|
115
113
|
gdsCustomElement("gds-link")
|
|
116
114
|
], GdsLink);
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.VHN4JEZC.js";
|
|
4
4
|
import {
|
|
5
5
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.2RPIXTTF.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
9
|
} from "./chunk.TYGMNHNO.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.VI2KPHVV.js";
|
|
13
13
|
import {
|
|
14
14
|
GdsElement
|
|
15
15
|
} from "./chunk.LQSWYCMZ.js";
|