@sebgroup/green-core 1.53.0 → 1.54.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.42PXLAME.js → chunk.34LPBFQR.js} +1 -1
- package/chunks/{chunk.LD3DR5XF.js → chunk.3BKGIELV.js} +19 -5
- package/chunks/{chunk.4TVLZNPT.js → chunk.3PYHGMYD.js} +5 -4
- package/chunks/{chunk.HHIMJM3I.js → chunk.3UZXCQHO.js} +7 -6
- package/chunks/{chunk.73NZRIVS.js → chunk.AH3YKJ73.js} +3 -2
- package/chunks/{chunk.FGC4UTL3.js → chunk.BB3SAGAP.js} +1 -1
- package/chunks/{chunk.Q5OLRSYK.js → chunk.BVAQCU5F.js} +1 -1
- package/chunks/{chunk.DN2OAVGL.js → chunk.BXLOSSUH.js} +2 -2
- package/chunks/{chunk.SNMFZLKM.js → chunk.DSVEQL7E.js} +1 -1
- package/chunks/{chunk.4ZEY7PY3.js → chunk.E33NC7OG.js} +1 -1
- package/chunks/{chunk.SHNODDWS.js → chunk.EHRSKF2Z.js} +2 -2
- package/chunks/{chunk.G4MIWNYF.js → chunk.H4AV4AQC.js} +60 -14
- package/chunks/{chunk.J7DSST52.js → chunk.J2PCHH5O.js} +1 -1
- package/chunks/{chunk.QUEDVKUX.js → chunk.JIU2RTLM.js} +1 -1
- package/chunks/{chunk.SB7IYMZJ.js → chunk.LGBIFNH5.js} +4 -3
- package/chunks/{chunk.J5DMXXVI.js → chunk.LGNFXNZ4.js} +9 -9
- package/chunks/{chunk.R4WVPY43.js → chunk.LKW735YK.js} +1 -1
- package/chunks/{chunk.AQNM536Y.js → chunk.LLP4AB5E.js} +1 -1
- package/chunks/{chunk.ZJJAPP2N.js → chunk.LXSELJ4Y.js} +1 -1
- package/chunks/chunk.MLXMQIEV.js +1 -1
- package/chunks/{chunk.EOPGCWMH.js → chunk.NATI2OJG.js} +1 -1
- package/chunks/{chunk.V7EJYOZX.js → chunk.NE34DSSV.js} +3 -2
- package/chunks/{chunk.TWRFSLE6.js → chunk.NKZ4SF67.js} +3 -2
- package/chunks/{chunk.3EGZBI5M.js → chunk.NPOBEJAO.js} +1 -1
- package/chunks/{chunk.YML4GZFK.js → chunk.NVTB6QQA.js} +3 -2
- package/chunks/{chunk.FTNCVDPI.js → chunk.O3EMYRDH.js} +2 -2
- package/chunks/{chunk.D3L6HEPA.js → chunk.OEOBWDKQ.js} +2 -2
- package/chunks/{chunk.O5GPUELM.js → chunk.QQ6XWQPB.js} +1 -1
- package/chunks/{chunk.GR2UJWJ6.js → chunk.T4ZKFPT7.js} +2 -2
- package/chunks/{chunk.JKGAGDGB.js → chunk.TLB35D23.js} +6 -4
- package/chunks/{chunk.63P446RK.js → chunk.TR76G4A4.js} +1 -1
- package/chunks/{chunk.X67XGMIT.js → chunk.UEJZWDMS.js} +1 -0
- package/chunks/{chunk.M6XP56RZ.js → chunk.UNSDY6SL.js} +1 -1
- package/chunks/{chunk.L5CV67AQ.js → chunk.ZUDBW5Z4.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.d.ts +1 -0
- 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/context-menu/context-menu.js +2 -2
- package/components/context-menu/index.js +2 -2
- package/components/datepicker/datepicker.js +8 -8
- package/components/datepicker/index.js +8 -8
- 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 +6 -6
- package/components/dropdown/index.js +6 -6
- 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.js +30 -30
- package/components/input/index.js +9 -9
- package/components/input/input.js +9 -9
- package/components/link/index.js +2 -2
- package/components/link/link.js +2 -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 +1 -1
- package/components/popover/popover.js +1 -1
- package/components/rich-text/index.js +3 -3
- package/components/rich-text/rich-text.js +3 -3
- 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 +3 -3
- package/components/text/text.js +3 -3
- package/components/textarea/index.js +9 -9
- package/components/textarea/textarea.js +9 -9
- 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 +30 -30
- 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 +6 -6
- package/primitives/form-control-header/index.js +6 -6
- 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/setup-jest.js +4 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.TYGMNHNO.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.LGNFXNZ4.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.6X2WDWO3.js";
|
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
} from "./chunk.SEHSDSX2.js";
|
|
25
25
|
|
|
26
26
|
// libs/core/src/components/calendar/calendar.ts
|
|
27
|
-
import { msg } from "@lit/localize";
|
|
27
|
+
import { localized, msg } from "@lit/localize";
|
|
28
28
|
import { html } from "lit";
|
|
29
|
-
import { property, query } from "lit/decorators.js";
|
|
29
|
+
import { property, query, state } from "lit/decorators.js";
|
|
30
30
|
import { classMap } from "lit/directives/class-map.js";
|
|
31
31
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
32
32
|
import { when } from "lit/directives/when.js";
|
|
@@ -143,7 +143,13 @@ var GdsCalendar = class extends GdsElement {
|
|
|
143
143
|
this.showWeekNumbers = false;
|
|
144
144
|
this.hideExtraneousDays = false;
|
|
145
145
|
this.hideDayNames = false;
|
|
146
|
-
this.dateLabelTemplate = (date) => date.
|
|
146
|
+
this.dateLabelTemplate = (date) => date.toLocaleDateString(this._currentLocale, {
|
|
147
|
+
weekday: "long",
|
|
148
|
+
year: "numeric",
|
|
149
|
+
month: "long",
|
|
150
|
+
day: "numeric"
|
|
151
|
+
});
|
|
152
|
+
this._currentLocale = navigator.language;
|
|
147
153
|
}
|
|
148
154
|
get focusedMonth() {
|
|
149
155
|
return this.focusedDate.getMonth();
|
|
@@ -177,6 +183,10 @@ var GdsCalendar = class extends GdsElement {
|
|
|
177
183
|
super.connectedCallback();
|
|
178
184
|
TransitionalStyles.instance.apply(this, "gds-calendar");
|
|
179
185
|
this.addEventListener("keydown", __privateMethod(this, _handleKeyDown, handleKeyDown_fn));
|
|
186
|
+
window.addEventListener("lit-localize-status", (e) => {
|
|
187
|
+
if (e.detail.status === "ready")
|
|
188
|
+
this._currentLocale = e.detail.readyLocale;
|
|
189
|
+
});
|
|
180
190
|
}
|
|
181
191
|
focus() {
|
|
182
192
|
var _a;
|
|
@@ -395,6 +405,9 @@ __decorateClass([
|
|
|
395
405
|
__decorateClass([
|
|
396
406
|
property({ attribute: false })
|
|
397
407
|
], GdsCalendar.prototype, "dateLabelTemplate", 2);
|
|
408
|
+
__decorateClass([
|
|
409
|
+
state()
|
|
410
|
+
], GdsCalendar.prototype, "_currentLocale", 2);
|
|
398
411
|
__decorateClass([
|
|
399
412
|
query('td[tabindex="0"]')
|
|
400
413
|
], GdsCalendar.prototype, "_elFocusedCell", 2);
|
|
@@ -402,7 +415,8 @@ __decorateClass([
|
|
|
402
415
|
watch("value")
|
|
403
416
|
], GdsCalendar.prototype, "_valueChanged", 1);
|
|
404
417
|
GdsCalendar = __decorateClass([
|
|
405
|
-
gdsCustomElement("gds-calendar")
|
|
418
|
+
gdsCustomElement("gds-calendar"),
|
|
419
|
+
localized()
|
|
406
420
|
], GdsCalendar);
|
|
407
421
|
|
|
408
422
|
export {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.H2KG3F2S.js";
|
|
4
4
|
import {
|
|
5
5
|
forwardAttributes
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.J2PCHH5O.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.LGNFXNZ4.js";
|
|
16
16
|
import {
|
|
17
17
|
gdsCustomElement,
|
|
18
18
|
html
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk.SEHSDSX2.js";
|
|
26
26
|
|
|
27
27
|
// libs/core/src/components/textarea/textarea.ts
|
|
28
|
-
import { msg } from "@lit/localize";
|
|
28
|
+
import { localized, msg } from "@lit/localize";
|
|
29
29
|
import { property, query, queryAsync, state } from "lit/decorators.js";
|
|
30
30
|
import { choose } from "lit/directives/choose.js";
|
|
31
31
|
import { when } from "lit/directives/when.js";
|
|
@@ -491,7 +491,8 @@ __decorateClass([
|
|
|
491
491
|
watch("value")
|
|
492
492
|
], GdsTextarea.prototype, "_setAutoHeight", 1);
|
|
493
493
|
GdsTextarea = __decorateClass([
|
|
494
|
-
gdsCustomElement("gds-textarea")
|
|
494
|
+
gdsCustomElement("gds-textarea"),
|
|
495
|
+
localized()
|
|
495
496
|
], GdsTextarea);
|
|
496
497
|
|
|
497
498
|
export {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk.TYGMNHNO.js";
|
|
14
14
|
import {
|
|
15
15
|
tokens
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.LGNFXNZ4.js";
|
|
17
17
|
import {
|
|
18
18
|
gdsCustomElement,
|
|
19
19
|
html
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk.SEHSDSX2.js";
|
|
28
28
|
|
|
29
29
|
// libs/core/src/components/datepicker/datepicker.ts
|
|
30
|
-
import { msg } from "@lit/localize";
|
|
30
|
+
import { localized, msg } from "@lit/localize";
|
|
31
31
|
import { nothing } from "lit";
|
|
32
32
|
import { property, query, queryAll, queryAsync, state } from "lit/decorators.js";
|
|
33
33
|
import { classMap } from "lit/directives/class-map.js";
|
|
@@ -422,7 +422,7 @@ var GdsDatepicker = class extends GdsFormControlElement {
|
|
|
422
422
|
() => html`<label for="spinner-0" id="label">${this.label}</label>`
|
|
423
423
|
)}
|
|
424
424
|
|
|
425
|
-
<div class="form-info"><slot name="sub-label"></slot></div>
|
|
425
|
+
<div class="form-info" id="sub-label"><slot name="sub-label"></slot></div>
|
|
426
426
|
|
|
427
427
|
<div
|
|
428
428
|
class=${classMap({ field: true, small: this.size === "small" })}
|
|
@@ -446,7 +446,7 @@ var GdsDatepicker = class extends GdsFormControlElement {
|
|
|
446
446
|
aria-valuemin=${__privateMethod(this, _getMinSpinnerValue, getMinSpinnerValue_fn).call(this, f.name)}
|
|
447
447
|
aria-valuemax=${__privateMethod(this, _getMaxSpinnerValue, getMaxSpinnerValue_fn).call(this, f.name)}
|
|
448
448
|
aria-label=${__privateMethod(this, _getSpinnerLabel, getSpinnerLabel_fn).call(this, f.name)}
|
|
449
|
-
aria-describedby="label"
|
|
449
|
+
aria-describedby="label sub-label message"
|
|
450
450
|
@keydown=${__privateGet(this, _handleSpinnerKeydown)}
|
|
451
451
|
@change=${(e) => __privateGet(this, _handleSpinnerChange).call(this, e.detail.value, f.name)}
|
|
452
452
|
@focus=${__privateGet(this, _handleSpinnerFocus)}
|
|
@@ -472,7 +472,7 @@ var GdsDatepicker = class extends GdsFormControlElement {
|
|
|
472
472
|
</button>
|
|
473
473
|
</div>
|
|
474
474
|
|
|
475
|
-
<div class="form-info">
|
|
475
|
+
<div class="form-info" aria-live="polite" id="message">
|
|
476
476
|
<slot name="message">${this.validationMessage}</slot>
|
|
477
477
|
</div>
|
|
478
478
|
|
|
@@ -818,7 +818,8 @@ __decorateClass([
|
|
|
818
818
|
watch("open")
|
|
819
819
|
], GdsDatepicker.prototype, "_handleOpenChange", 1);
|
|
820
820
|
GdsDatepicker = __decorateClass([
|
|
821
|
-
gdsCustomElement("gds-datepicker")
|
|
821
|
+
gdsCustomElement("gds-datepicker"),
|
|
822
|
+
localized()
|
|
822
823
|
], GdsDatepicker);
|
|
823
824
|
|
|
824
825
|
export {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk.SEHSDSX2.js";
|
|
14
14
|
|
|
15
15
|
// libs/core/src/primitives/form-control-header/form-control-header.ts
|
|
16
|
-
import { msg } from "@lit/localize";
|
|
16
|
+
import { localized, msg } from "@lit/localize";
|
|
17
17
|
import { property, query, state } from "lit/decorators.js";
|
|
18
18
|
import { when } from "lit/directives/when.js";
|
|
19
19
|
|
|
@@ -160,7 +160,8 @@ __decorateClass([
|
|
|
160
160
|
query("#extended-supporting-text")
|
|
161
161
|
], GdsFormControlHeader.prototype, "_extendedSupportingText", 2);
|
|
162
162
|
GdsFormControlHeader = __decorateClass([
|
|
163
|
-
gdsCustomElement("gds-form-control-header")
|
|
163
|
+
gdsCustomElement("gds-form-control-header"),
|
|
164
|
+
localized()
|
|
164
165
|
], GdsFormControlHeader);
|
|
165
166
|
|
|
166
167
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UEJZWDMS.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.LGNFXNZ4.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.6X2WDWO3.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UNSDY6SL.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.LGNFXNZ4.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UEJZWDMS.js";
|
|
4
4
|
import {
|
|
5
5
|
observeLightDOM
|
|
6
6
|
} from "./chunk.WM7HBMMV.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.LGNFXNZ4.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.6X2WDWO3.js";
|
|
@@ -25,6 +25,7 @@ var styles = css`
|
|
|
25
25
|
line-height: var(--gds-text-line-height-body-m);
|
|
26
26
|
--default-border: 1px solid
|
|
27
27
|
color-mix(in srgb, currentColor, transparent 80%);
|
|
28
|
+
letter-spacing: 0.0125rem;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
:host > :first-child {
|
|
@@ -47,12 +48,15 @@ var styles = css`
|
|
|
47
48
|
|
|
48
49
|
p {
|
|
49
50
|
margin-bottom: 1lh;
|
|
51
|
+
max-width: 80ch;
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
blockquote {
|
|
53
55
|
margin: unset;
|
|
56
|
+
margin-block: 2lh;
|
|
54
57
|
border-left: 0.2rem solid currentColor;
|
|
55
|
-
padding-left:
|
|
58
|
+
padding-left: 2ch;
|
|
59
|
+
max-width: 40ch;
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
s {
|
|
@@ -97,6 +101,7 @@ var styles = css`
|
|
|
97
101
|
}
|
|
98
102
|
figcaption {
|
|
99
103
|
font-size: smaller;
|
|
104
|
+
margin-block-start: 0.4lh;
|
|
100
105
|
}
|
|
101
106
|
|
|
102
107
|
/*
|
|
@@ -104,17 +109,28 @@ var styles = css`
|
|
|
104
109
|
* -----------------------------------------------------------
|
|
105
110
|
*/
|
|
106
111
|
table {
|
|
107
|
-
border-collapse:
|
|
112
|
+
border-collapse: separate;
|
|
113
|
+
border-spacing: 0;
|
|
108
114
|
width: 100%;
|
|
115
|
+
border: var(--default-border);
|
|
116
|
+
border-radius: var(--gds-space-s);
|
|
109
117
|
}
|
|
110
118
|
th {
|
|
111
119
|
font-weight: var(--gds-text-weight-book);
|
|
112
120
|
text-align: left;
|
|
113
121
|
border-bottom: var(--default-border);
|
|
122
|
+
border-left: transparent;
|
|
123
|
+
border-right: transparent;
|
|
124
|
+
color: var(--gds-color-l3-content-secondary);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
th:not(:last-child) {
|
|
128
|
+
border-right: var(--default-border);
|
|
114
129
|
}
|
|
130
|
+
|
|
115
131
|
th,
|
|
116
132
|
td {
|
|
117
|
-
padding: 0.3lh
|
|
133
|
+
padding: 0.3lh 2ch;
|
|
118
134
|
}
|
|
119
135
|
td:not(:last-child) {
|
|
120
136
|
border-right: var(--default-border);
|
|
@@ -128,24 +144,54 @@ var styles = css`
|
|
|
128
144
|
* -----------------------------------------------------------
|
|
129
145
|
*/
|
|
130
146
|
details {
|
|
131
|
-
border: var(--
|
|
132
|
-
|
|
133
|
-
|
|
147
|
+
border-top: solid var(--gds-space-4xs) var(--gds-color-l3-border-tertiary);
|
|
148
|
+
font-size: var(--gds-text-size-body-m);
|
|
149
|
+
line-height: var(--gds-text-line-height-body-m);
|
|
150
|
+
color: var(--gds-color-l2-content-secondary);
|
|
134
151
|
}
|
|
135
152
|
|
|
136
153
|
summary {
|
|
137
|
-
font-weight: var(--gds-text-weight-
|
|
138
|
-
|
|
139
|
-
padding: 0.
|
|
154
|
+
font-weight: var(--gds-text-weight-regular);
|
|
155
|
+
list-style: none;
|
|
156
|
+
padding: 0.4lh 0.2ch;
|
|
157
|
+
font-size: var(--gds-text-size-body-l);
|
|
158
|
+
line-height: var(--gds-text-line-height-body-l);
|
|
159
|
+
color: var(--gds-color-l2-content-primary);
|
|
160
|
+
display: flex;
|
|
161
|
+
justify-content: space-between;
|
|
162
|
+
align-items: center;
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
user-select: none;
|
|
165
|
+
outline-offset: var(--gds-space-2xs);
|
|
166
|
+
outline-color: currentColor;
|
|
167
|
+
|
|
168
|
+
&:focus-visible {
|
|
169
|
+
border-radius: var(--gds-space-2xs);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
summary::after {
|
|
174
|
+
content: '+';
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
justify-content: center;
|
|
178
|
+
width: 24px;
|
|
179
|
+
height: 24px;
|
|
180
|
+
font-weight: var(--gds-text-weight-regular);
|
|
181
|
+
font-size: var(--gds-text-size-body-l);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
details[open] summary::after {
|
|
185
|
+
content: '-';
|
|
140
186
|
}
|
|
141
187
|
|
|
142
188
|
details[open] {
|
|
143
|
-
|
|
189
|
+
margin-bottom: 1lh;
|
|
144
190
|
}
|
|
145
191
|
|
|
146
192
|
details[open] summary {
|
|
147
|
-
border-bottom: var(--
|
|
148
|
-
|
|
193
|
+
border-bottom: var(--gds-space-4xs) solid
|
|
194
|
+
var(--gds-color-l3-border-tertiary);
|
|
149
195
|
}
|
|
150
196
|
`;
|
|
151
197
|
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.TYGMNHNO.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.LGNFXNZ4.js";
|
|
13
13
|
import {
|
|
14
14
|
GdsElement
|
|
15
15
|
} from "./chunk.6X2WDWO3.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk.SEHSDSX2.js";
|
|
27
27
|
|
|
28
28
|
// libs/core/src/components/segmented-control/segmented-control.ts
|
|
29
|
-
import { msg } from "@lit/localize";
|
|
29
|
+
import { localized, msg } from "@lit/localize";
|
|
30
30
|
import { unsafeCSS } from "lit";
|
|
31
31
|
import { property, query, state } from "lit/decorators.js";
|
|
32
32
|
|
|
@@ -344,7 +344,8 @@ __decorateClass([
|
|
|
344
344
|
watch("segMinWidth")
|
|
345
345
|
], GdsSegmentedControl.prototype, "_recalculateMinWidth", 1);
|
|
346
346
|
GdsSegmentedControl = __decorateClass([
|
|
347
|
-
gdsCustomElement("gds-segmented-control")
|
|
347
|
+
gdsCustomElement("gds-segmented-control"),
|
|
348
|
+
localized()
|
|
348
349
|
], GdsSegmentedControl);
|
|
349
350
|
|
|
350
351
|
export {
|
|
@@ -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 Wed, 06 Nov 2024
|
|
8
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 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 Wed, 06 Nov 2024
|
|
122
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 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 Wed, 06 Nov 2024
|
|
239
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 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 Wed, 06 Nov 2024
|
|
258
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 GMT
|
|
259
259
|
*/
|
|
260
260
|
|
|
261
261
|
:host {
|
|
@@ -416,7 +416,7 @@ var pallet_default = `/**
|
|
|
416
416
|
// dist/libs/tokens/internal/shadow.css?inline
|
|
417
417
|
var shadow_default = `/**
|
|
418
418
|
* Do not edit directly
|
|
419
|
-
* Generated on Wed, 06 Nov 2024
|
|
419
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 GMT
|
|
420
420
|
*/
|
|
421
421
|
|
|
422
422
|
:host {
|
|
@@ -431,7 +431,7 @@ var shadow_default = `/**
|
|
|
431
431
|
// dist/libs/tokens/internal/size.css?inline
|
|
432
432
|
var size_default = `/**
|
|
433
433
|
* Do not edit directly
|
|
434
|
-
* Generated on Wed, 06 Nov 2024
|
|
434
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 GMT
|
|
435
435
|
*/
|
|
436
436
|
|
|
437
437
|
:host {
|
|
@@ -458,7 +458,7 @@ var size_default = `/**
|
|
|
458
458
|
// dist/libs/tokens/internal/text.css?inline
|
|
459
459
|
var text_default = `/**
|
|
460
460
|
* Do not edit directly
|
|
461
|
-
* Generated on Wed, 06 Nov 2024
|
|
461
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 GMT
|
|
462
462
|
*/
|
|
463
463
|
|
|
464
464
|
:host {
|
|
@@ -519,7 +519,7 @@ var text_default = `/**
|
|
|
519
519
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
520
520
|
var light_default2 = `/**
|
|
521
521
|
* Do not edit directly
|
|
522
|
-
* Generated on Wed, 06 Nov 2024
|
|
522
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 GMT
|
|
523
523
|
*/
|
|
524
524
|
|
|
525
525
|
:host {
|
|
@@ -745,7 +745,7 @@ var light_default2 = `/**
|
|
|
745
745
|
// dist/libs/tokens/internal/viewport.css?inline
|
|
746
746
|
var viewport_default = `/**
|
|
747
747
|
* Do not edit directly
|
|
748
|
-
* Generated on Wed, 06 Nov 2024
|
|
748
|
+
* Generated on Wed, 06 Nov 2024 14:50:25 GMT
|
|
749
749
|
*/
|
|
750
750
|
|
|
751
751
|
:host {
|
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 = "-2c2afd";
|
|
10
10
|
var ScopedElementRegistry = class {
|
|
11
11
|
static get instance() {
|
|
12
12
|
var _a;
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk.SEHSDSX2.js";
|
|
24
24
|
|
|
25
25
|
// libs/core/src/components/popover/popover.ts
|
|
26
|
-
import { msg } from "@lit/localize";
|
|
26
|
+
import { localized, msg } from "@lit/localize";
|
|
27
27
|
import { unsafeCSS } from "lit";
|
|
28
28
|
import { property, query, state } from "lit/decorators.js";
|
|
29
29
|
import { classMap } from "lit/directives/class-map.js";
|
|
@@ -472,7 +472,8 @@ __decorateClass([
|
|
|
472
472
|
watchMediaQuery("(max-width: 576px)")
|
|
473
473
|
], GdsPopover.prototype, "_handleMobileLayout", 1);
|
|
474
474
|
GdsPopover = __decorateClass([
|
|
475
|
-
gdsCustomElement("gds-popover")
|
|
475
|
+
gdsCustomElement("gds-popover"),
|
|
476
|
+
localized()
|
|
476
477
|
], GdsPopover);
|
|
477
478
|
|
|
478
479
|
export {
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk.SEHSDSX2.js";
|
|
23
23
|
|
|
24
24
|
// libs/core/src/components/dialog/dialog.ts
|
|
25
|
+
import { localized, msg } from "@lit/localize";
|
|
25
26
|
import { property, query } from "lit/decorators.js";
|
|
26
27
|
import { when } from "lit/directives/when.js";
|
|
27
28
|
|
|
@@ -97,7 +98,6 @@ var styles = css`
|
|
|
97
98
|
`;
|
|
98
99
|
|
|
99
100
|
// libs/core/src/components/dialog/dialog.ts
|
|
100
|
-
import { msg } from "@lit/localize";
|
|
101
101
|
registerGlobalScrollLockStyles();
|
|
102
102
|
var _returnValue, _handleNativeClose, _dispatchCloseEvent, _dispatchShowEvent, _dispatchUiStateEvent, _handleTriggerSlotChange, handleTriggerSlotChange_fn, _handleTriggerClick;
|
|
103
103
|
var GdsDialog = class extends GdsElement {
|
|
@@ -284,7 +284,8 @@ __decorateClass([
|
|
|
284
284
|
watch("open")
|
|
285
285
|
], GdsDialog.prototype, "_handleOpenChange", 1);
|
|
286
286
|
GdsDialog = __decorateClass([
|
|
287
|
-
gdsCustomElement("gds-dialog")
|
|
287
|
+
gdsCustomElement("gds-dialog"),
|
|
288
|
+
localized()
|
|
288
289
|
], GdsDialog);
|
|
289
290
|
|
|
290
291
|
export {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.SEHSDSX2.js";
|
|
16
16
|
|
|
17
17
|
// libs/core/src/components/context-menu/context-menu.ts
|
|
18
|
-
import { msg } from "@lit/localize";
|
|
18
|
+
import { localized, msg } from "@lit/localize";
|
|
19
19
|
import { nothing } from "lit";
|
|
20
20
|
import { property, queryAsync } from "lit/decorators.js";
|
|
21
21
|
import { classMap } from "lit/directives/class-map.js";
|
|
@@ -138,7 +138,8 @@ __decorateClass([
|
|
|
138
138
|
queryAsync("#trigger")
|
|
139
139
|
], GdsContextMenu.prototype, "elTriggerBtn", 2);
|
|
140
140
|
GdsContextMenu = __decorateClass([
|
|
141
|
-
gdsCustomElement("gds-context-menu")
|
|
141
|
+
gdsCustomElement("gds-context-menu"),
|
|
142
|
+
localized()
|
|
142
143
|
], GdsContextMenu);
|
|
143
144
|
|
|
144
145
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UNSDY6SL.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.LGNFXNZ4.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|