@sebgroup/green-core 1.43.0 → 1.43.2
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.QX3VLACM.js → chunk.2H7MM3R5.js} +1 -1
- package/chunks/{chunk.CXRT6D5K.js → chunk.367AOZHV.js} +2 -2
- package/chunks/{chunk.GZZHMTT6.js → chunk.3OY52RN6.js} +1 -1
- package/chunks/{chunk.C7Y7PTZR.js → chunk.4AK63H3M.js} +1 -5
- package/chunks/{chunk.COV7GAYR.js → chunk.4I32U2ZT.js} +1 -1
- package/chunks/{chunk.U7PZF5JG.js → chunk.5O2MUX72.js} +1 -1
- package/chunks/{chunk.PINFIHVO.js → chunk.5OHKZX6J.js} +1 -1
- package/chunks/{chunk.7DT5MKRB.js → chunk.7SUC5LC4.js} +1 -1
- package/chunks/{chunk.6TK2YLON.js → chunk.BEQC4Q2L.js} +12 -6
- package/chunks/{chunk.BSBZ273F.js → chunk.DBBDMYRW.js} +2 -2
- package/chunks/{chunk.BV4C5SVG.js → chunk.J3NDIFWU.js} +1 -1
- package/chunks/{chunk.FJYZD6XI.js → chunk.JFYBWJIX.js} +1 -1
- package/chunks/{chunk.YGBQCHTD.js → chunk.JNS7UNAI.js} +2 -2
- package/chunks/{chunk.RPYPYJW6.js → chunk.KRCCIBEM.js} +10 -6
- package/chunks/{chunk.AYPTUHYC.js → chunk.LJ7M66BU.js} +2 -2
- package/chunks/{chunk.VM32X2K4.js → chunk.M7DQB2RS.js} +8 -8
- package/chunks/{chunk.GWCQWDVH.js → chunk.MOJ6YQEY.js} +2 -2
- package/chunks/{chunk.BMCPXEME.js → chunk.NXSSEMCW.js} +2 -2
- package/chunks/{chunk.O7DQRPML.js → chunk.OU3B5NRG.js} +1 -1
- package/chunks/{chunk.MPWX3JFB.js → chunk.PUPZI5GO.js} +1 -1
- package/chunks/{chunk.SIMOQIAG.js → chunk.SAM5XOZG.js} +1 -1
- package/chunks/{chunk.U5ZHQXSW.js → chunk.SHHRPCU7.js} +56 -56
- package/chunks/{chunk.WPF76QMP.js → chunk.T2ATE6AB.js} +1 -1
- package/chunks/{chunk.G5USMKIK.js → chunk.TOQ3GKK7.js} +1 -1
- package/chunks/{chunk.N36GFO5Q.js → chunk.V5ZCRJWK.js} +1 -1
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/{chunk.5ILTFS7Z.js → chunk.WHZSVSDA.js} +2 -1
- package/chunks/{chunk.45G6WXHQ.js → chunk.ZOUUQSHM.js} +2 -2
- package/components/badge/badge.js +2 -2
- package/components/badge/index.js +2 -2
- 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 +2 -2
- package/components/content/text/text.js +2 -2
- 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 +4 -4
- package/components/form/summary/index.js +4 -4
- package/components/form/summary/summary.js +4 -4
- package/components/index.js +25 -25
- package/components/input/index.js +9 -9
- package/components/input/input.js +9 -9
- package/components/layout/card/card.js +3 -3
- package/components/layout/card/index.js +3 -3
- 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 +3 -3
- package/components/layout/grid/index.js +3 -3
- package/components/layout/mask/index.js +4 -4
- package/components/layout/mask/mask.js +4 -4
- 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.js +2 -2
- package/components/popover/index.js +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/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/index.js +25 -25
- 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/primitives/signal/index.js +2 -2
- package/primitives/signal/signal.js +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SAM5XOZG.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.XKACXVCM.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.M7DQB2RS.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.XKACXVCM.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsButton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.PUPZI5GO.js";
|
|
7
7
|
import {
|
|
8
8
|
gdsCustomElement
|
|
9
9
|
} from "./chunk.VOYMQ322.js";
|
|
@@ -14,10 +14,6 @@ import {
|
|
|
14
14
|
// libs/core/src/components/button/fab/fab.styles.ts
|
|
15
15
|
import { css } from "lit";
|
|
16
16
|
var style = css`
|
|
17
|
-
:host {
|
|
18
|
-
display: contents;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
17
|
.button {
|
|
22
18
|
box-shadow: var(--gds-shadow-m);
|
|
23
19
|
position: fixed;
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.2WO4NHJ2.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.M7DQB2RS.js";
|
|
13
13
|
import {
|
|
14
14
|
GdsElement
|
|
15
15
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -37,7 +37,8 @@ import {
|
|
|
37
37
|
getWeek,
|
|
38
38
|
subMonths,
|
|
39
39
|
addMonths,
|
|
40
|
-
lastDayOfMonth
|
|
40
|
+
lastDayOfMonth,
|
|
41
|
+
setHours
|
|
41
42
|
} from "date-fns";
|
|
42
43
|
|
|
43
44
|
// libs/core/src/components/calendar/calendar.styles.ts
|
|
@@ -223,9 +224,13 @@ var GdsCalendar = class extends GdsElement {
|
|
|
223
224
|
this.disabledDates && this.disabledDates.some((d) => isSameDay(d, day))
|
|
224
225
|
)
|
|
225
226
|
}, customization);
|
|
226
|
-
const isOutsideCurrentMonth = !isSameMonth(
|
|
227
|
+
const isOutsideCurrentMonth = !isSameMonth(
|
|
228
|
+
this.focusedDate,
|
|
229
|
+
day
|
|
230
|
+
);
|
|
231
|
+
const isOutsideMinMax = (day < this.min || day > this.max) && !isSameDay(day, this.min) && !isSameDay(day, this.max);
|
|
227
232
|
const isWeekend = day.getDay() === 0 || day.getDay() === 6;
|
|
228
|
-
const isDisabled = displayOptions.disabled || isOutsideCurrentMonth || this.disabledWeekends && isWeekend;
|
|
233
|
+
const isDisabled = displayOptions.disabled || isOutsideCurrentMonth || isOutsideMinMax || this.disabledWeekends && isWeekend;
|
|
229
234
|
const shouldRenderBlank = this.hideExtraneousDays && isOutsideCurrentMonth;
|
|
230
235
|
return shouldRenderBlank ? html`<td inert></td>` : html`
|
|
231
236
|
<td
|
|
@@ -276,10 +281,11 @@ var GdsCalendar = class extends GdsElement {
|
|
|
276
281
|
};
|
|
277
282
|
_setSelectedDate = new WeakSet();
|
|
278
283
|
setSelectedDate_fn = function(date) {
|
|
279
|
-
|
|
284
|
+
const dateOnMidDay = setHours(date, 12);
|
|
285
|
+
this.value = dateOnMidDay;
|
|
280
286
|
this.dispatchEvent(
|
|
281
287
|
new CustomEvent("change", {
|
|
282
|
-
detail:
|
|
288
|
+
detail: dateOnMidDay,
|
|
283
289
|
bubbles: false,
|
|
284
290
|
composed: false
|
|
285
291
|
})
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SAM5XOZG.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.XKACXVCM.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.M7DQB2RS.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFlex
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LJ7M66BU.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.XKACXVCM.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.M7DQB2RS.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement
|
|
12
12
|
} from "./chunk.VOYMQ322.js";
|
|
@@ -254,8 +254,9 @@ var GdsPopover = class extends GdsElement {
|
|
|
254
254
|
</div>`;
|
|
255
255
|
}
|
|
256
256
|
_handleOpenChange() {
|
|
257
|
+
const clickOutsideTarget = (this.nonmodal ? __privateGet(this, _backdropEl) : this._elDialog) || document;
|
|
257
258
|
this.updateComplete.then(() => {
|
|
258
|
-
var _a, _b, _c, _d
|
|
259
|
+
var _a, _b, _c, _d;
|
|
259
260
|
(_a = this._trigger) == null ? void 0 : _a.setAttribute("aria-expanded", String(this.open));
|
|
260
261
|
if (this.open) {
|
|
261
262
|
!this.nonmodal ? (_b = this._elDialog) == null ? void 0 : _b.showModal() : (_c = this._elDialog) == null ? void 0 : _c.setAttribute("open", "true");
|
|
@@ -266,15 +267,18 @@ var GdsPopover = class extends GdsElement {
|
|
|
266
267
|
});
|
|
267
268
|
setTimeout(() => __privateGet(this, _focusFirstSlottedChild).call(this), 250);
|
|
268
269
|
setTimeout(
|
|
269
|
-
() =>
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
() => clickOutsideTarget.addEventListener(
|
|
271
|
+
"click",
|
|
272
|
+
__privateGet(this, _handleClickOutside)
|
|
273
|
+
),
|
|
273
274
|
0
|
|
274
275
|
);
|
|
275
276
|
} else {
|
|
276
277
|
(_d = this._elDialog) == null ? void 0 : _d.close();
|
|
277
|
-
|
|
278
|
+
clickOutsideTarget.removeEventListener(
|
|
279
|
+
"click",
|
|
280
|
+
__privateGet(this, _handleClickOutside)
|
|
281
|
+
);
|
|
278
282
|
if (__privateGet(this, _backdropEl))
|
|
279
283
|
__privateGet(this, _backdropEl).show = false;
|
|
280
284
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SAM5XOZG.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.XKACXVCM.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.M7DQB2RS.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// dist/libs/tokens/internal/light.css?inline
|
|
2
2
|
var light_default = `/**
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 01 Oct 2024 12:46:48 GMT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
color-scheme: light;
|
|
@@ -115,7 +115,7 @@ color-scheme: light;
|
|
|
115
115
|
// dist/libs/tokens/internal/dark.css?inline
|
|
116
116
|
var dark_default = `/**
|
|
117
117
|
* Do not edit directly
|
|
118
|
-
* Generated on
|
|
118
|
+
* Generated on Tue, 01 Oct 2024 12:46:48 GMT
|
|
119
119
|
*/
|
|
120
120
|
|
|
121
121
|
color-scheme: dark;
|
|
@@ -232,7 +232,7 @@ import { unsafeCSS } from "lit";
|
|
|
232
232
|
// dist/libs/tokens/internal/pallet.css?inline
|
|
233
233
|
var pallet_default = `/**
|
|
234
234
|
* Do not edit directly
|
|
235
|
-
* Generated on
|
|
235
|
+
* Generated on Tue, 01 Oct 2024 12:46:48 GMT
|
|
236
236
|
*/
|
|
237
237
|
|
|
238
238
|
:host {
|
|
@@ -393,7 +393,7 @@ var pallet_default = `/**
|
|
|
393
393
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
394
394
|
var light_default2 = `/**
|
|
395
395
|
* Do not edit directly
|
|
396
|
-
* Generated on
|
|
396
|
+
* Generated on Tue, 01 Oct 2024 12:46:48 GMT
|
|
397
397
|
*/
|
|
398
398
|
|
|
399
399
|
:host {
|
|
@@ -619,7 +619,7 @@ var light_default2 = `/**
|
|
|
619
619
|
// dist/libs/tokens/internal/size.css?inline
|
|
620
620
|
var size_default = `/**
|
|
621
621
|
* Do not edit directly
|
|
622
|
-
* Generated on
|
|
622
|
+
* Generated on Tue, 01 Oct 2024 12:46:48 GMT
|
|
623
623
|
*/
|
|
624
624
|
|
|
625
625
|
:host {
|
|
@@ -646,7 +646,7 @@ var size_default = `/**
|
|
|
646
646
|
// dist/libs/tokens/internal/text.css?inline
|
|
647
647
|
var text_default = `/**
|
|
648
648
|
* Do not edit directly
|
|
649
|
-
* Generated on
|
|
649
|
+
* Generated on Tue, 01 Oct 2024 12:46:48 GMT
|
|
650
650
|
*/
|
|
651
651
|
|
|
652
652
|
:host {
|
|
@@ -707,7 +707,7 @@ var text_default = `/**
|
|
|
707
707
|
// dist/libs/tokens/internal/motion.css?inline
|
|
708
708
|
var motion_default = `/**
|
|
709
709
|
* Do not edit directly
|
|
710
|
-
* Generated on
|
|
710
|
+
* Generated on Tue, 01 Oct 2024 12:46:48 GMT
|
|
711
711
|
*/
|
|
712
712
|
|
|
713
713
|
:host {
|
|
@@ -725,7 +725,7 @@ var motion_default = `/**
|
|
|
725
725
|
// dist/libs/tokens/internal/shadow.css?inline
|
|
726
726
|
var shadow_default = `/**
|
|
727
727
|
* Do not edit directly
|
|
728
|
-
* Generated on
|
|
728
|
+
* Generated on Tue, 01 Oct 2024 12:46:48 GMT
|
|
729
729
|
*/
|
|
730
730
|
|
|
731
731
|
:host {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.XKACXVCM.js";
|
|
4
4
|
import {
|
|
5
5
|
forwardAttributes
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.PUPZI5GO.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsFormControlElement
|
|
9
9
|
} from "./chunk.YUFO2JLT.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.2WO4NHJ2.js";
|
|
16
16
|
import {
|
|
17
17
|
tokens
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.M7DQB2RS.js";
|
|
19
19
|
import {
|
|
20
20
|
gdsCustomElement,
|
|
21
21
|
html
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
forwardAttributes
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.PUPZI5GO.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsFormControlElement
|
|
6
6
|
} from "./chunk.YUFO2JLT.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.2WO4NHJ2.js";
|
|
13
13
|
import {
|
|
14
14
|
tokens
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.M7DQB2RS.js";
|
|
16
16
|
import {
|
|
17
17
|
gdsCustomElement,
|
|
18
18
|
html
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.XKACXVCM.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.M7DQB2RS.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsElement
|
|
9
9
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.5VURDMKE.js";
|
|
16
16
|
|
|
17
17
|
// libs/core/src/components/content/text/text.ts
|
|
18
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
18
19
|
import { html, unsafeStatic } from "lit/static-html.js";
|
|
19
20
|
import { property } from "lit/decorators.js";
|
|
20
21
|
|
|
@@ -33,71 +34,65 @@ var style = css`
|
|
|
33
34
|
text-wrap: inherit;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
37
|
+
h1.no-size-set {
|
|
38
|
+
font-size: var(--gds-text-size-heading-xl);
|
|
39
|
+
line-height: var(--gds-text-line-height-heading-xl);
|
|
40
|
+
font-weight: var(--gds-text-weight-regular);
|
|
41
|
+
}
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
h2.no-size-set {
|
|
44
|
+
font-size: var(--gds-text-size-heading-l);
|
|
45
|
+
line-height: var(--gds-text-line-height-heading-l);
|
|
46
|
+
font-weight: var(--gds-text-weight-regular);
|
|
47
|
+
}
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
h3.no-size-set {
|
|
50
|
+
font-size: var(--gds-text-size-heading-m);
|
|
51
|
+
line-height: var(--gds-text-line-height-heading-m);
|
|
52
|
+
font-weight: var(--gds-text-weight-regular);
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
h4.no-size-set {
|
|
56
|
+
font-size: var(--gds-text-size-heading-s);
|
|
57
|
+
line-height: var(--gds-text-line-height-heading-s);
|
|
58
|
+
font-weight: var(--gds-text-weight-regular);
|
|
59
|
+
}
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
h5.no-size-set {
|
|
62
|
+
font-size: var(--gds-text-size-heading-xs);
|
|
63
|
+
line-height: var(--gds-text-line-height-heading-xs);
|
|
64
|
+
font-weight: var(--gds-text-weight-regular);
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
h6.no-size-set {
|
|
68
|
+
font-size: var(--gds-text-size-heading-2xs);
|
|
69
|
+
line-height: var(--gds-text-line-height-heading-2xs);
|
|
70
|
+
font-weight: var(--gds-text-weight-regular);
|
|
71
|
+
}
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
73
|
+
p.no-size-set,
|
|
74
|
+
span.no-size-set,
|
|
75
|
+
em.no-size-set,
|
|
76
|
+
strong.no-size-set,
|
|
77
|
+
mark.no-size-set {
|
|
78
|
+
font-size: var(--gds-text-size-body-m);
|
|
79
|
+
line-height: var(--gds-text-line-height-body-m);
|
|
80
|
+
}
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
82
|
+
small.no-size-set {
|
|
83
|
+
font-size: var(--gds-text-size-detail-xs);
|
|
84
|
+
line-height: var(--gds-text-line-height-detail-xs);
|
|
86
85
|
}
|
|
87
86
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
font-weight: var(--gds-text-weight-book);
|
|
91
|
-
}
|
|
87
|
+
strong.no-weight-set {
|
|
88
|
+
font-weight: var(--gds-text-weight-book);
|
|
92
89
|
}
|
|
93
90
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
-webkit-line-clamp: var(--_lines);
|
|
100
|
-
}
|
|
91
|
+
.lines-set {
|
|
92
|
+
display: -webkit-box;
|
|
93
|
+
-webkit-box-orient: vertical;
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
-webkit-line-clamp: var(--_lines);
|
|
101
96
|
}
|
|
102
97
|
`;
|
|
103
98
|
var text_style_default = style;
|
|
@@ -112,7 +107,12 @@ var GdsText = class extends GdsElement {
|
|
|
112
107
|
render() {
|
|
113
108
|
const TAG_ENCODE = encodeURI(this.tag);
|
|
114
109
|
const TAG = unsafeStatic(TAG_ENCODE);
|
|
115
|
-
|
|
110
|
+
const classes = {
|
|
111
|
+
"no-size-set": !this["font-size"],
|
|
112
|
+
"no-weight-set": !this["font-weight"],
|
|
113
|
+
"lines-set": !!this.lines
|
|
114
|
+
};
|
|
115
|
+
return html`<${TAG} tag class=${classMap(classes)}><slot></slot></${TAG}>`;
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
GdsText.styles = [tokens, text_style_default];
|
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 = "-49d009";
|
|
5
5
|
var elementLookupTable = /* @__PURE__ */ new Map();
|
|
6
6
|
var gdsCustomElement = (tagName) => {
|
|
7
7
|
if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk.2WO4NHJ2.js";
|
|
14
14
|
import {
|
|
15
15
|
tokens
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.M7DQB2RS.js";
|
|
17
17
|
import {
|
|
18
18
|
gdsCustomElement,
|
|
19
19
|
html
|
|
@@ -365,6 +365,7 @@ var GdsDatepicker = class extends GdsFormControlElement {
|
|
|
365
365
|
newDate.setFullYear(parseInt(__privateGet(this, _spinnerState).year));
|
|
366
366
|
newDate.setMonth(parseInt(__privateGet(this, _spinnerState).month) - 1);
|
|
367
367
|
newDate.setDate(parseInt(__privateGet(this, _spinnerState).day));
|
|
368
|
+
newDate.setHours(12, 0, 0, 0);
|
|
368
369
|
if (newDate.toString() === "Invalid Date")
|
|
369
370
|
return;
|
|
370
371
|
this.value = newDate;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsSegment
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5OHKZX6J.js";
|
|
4
4
|
import {
|
|
5
5
|
resizeObserver
|
|
6
6
|
} from "./chunk.VHN4JEZC.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.2WO4NHJ2.js";
|
|
13
13
|
import {
|
|
14
14
|
tokens
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.M7DQB2RS.js";
|
|
16
16
|
import {
|
|
17
17
|
GdsElement
|
|
18
18
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsBadge
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.5O2MUX72.js";
|
|
4
|
+
import "../../chunks/chunk.M7DQB2RS.js";
|
|
5
5
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
6
6
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
7
7
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../chunks/chunk.CK2UGCPG.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsBadge
|
|
4
|
-
} from "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.5O2MUX72.js";
|
|
5
|
+
import "../../chunks/chunk.M7DQB2RS.js";
|
|
6
6
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
7
7
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
8
8
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsButton
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.PUPZI5GO.js";
|
|
4
4
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.4I32U2ZT.js";
|
|
6
6
|
import "../../chunks/chunk.YUFO2JLT.js";
|
|
7
7
|
import "../../chunks/chunk.KBYQYDL3.js";
|
|
8
8
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
9
9
|
import "../../chunks/chunk.3XCSDEVC.js";
|
|
10
10
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
11
|
-
import "../../chunks/chunk.
|
|
11
|
+
import "../../chunks/chunk.M7DQB2RS.js";
|
|
12
12
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
13
13
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
14
14
|
import "../../chunks/chunk.YO24ZYAD.js";
|