@sebgroup/green-core 1.68.4 → 1.68.5
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.LWTVR43C.js → chunk.2UGVYZW6.js} +2 -2
- package/chunks/{chunk.2M44U2K3.js → chunk.3ER354IV.js} +2 -2
- package/chunks/{chunk.J7EM7GJ6.js → chunk.3JPQEXQG.js} +1 -1
- package/chunks/{chunk.C6XGJNM4.js → chunk.4RYCDDEL.js} +1 -1
- package/chunks/{chunk.MSVSXABF.js → chunk.7Y2HXZTW.js} +2 -2
- package/chunks/{chunk.45A3E7GA.js → chunk.AYJAUUCZ.js} +1 -1
- package/chunks/{chunk.EFTM4D5F.js → chunk.CTQODNHP.js} +11 -5
- package/chunks/{chunk.XUOZ3TKN.js → chunk.DNBHE2HW.js} +1 -1
- package/chunks/{chunk.EYXSM3IO.js → chunk.DYN6322L.js} +2 -2
- package/chunks/{chunk.DMFM4FHD.js → chunk.F2SQQT5J.js} +93 -91
- package/chunks/{chunk.GETVG6RJ.js → chunk.FFOHUW46.js} +1 -1
- package/chunks/{chunk.ZWWU5COM.js → chunk.G5A6TLEB.js} +1 -1
- package/chunks/{chunk.WPD7436F.js → chunk.HXC56ASG.js} +1 -1
- package/chunks/{chunk.ZA7FUZWW.js → chunk.IJTVVDT5.js} +1 -1
- package/chunks/{chunk.IW324TUB.js → chunk.J5LBLNY4.js} +2 -2
- package/chunks/{chunk.JKFDIQUQ.js → chunk.JO7TMUNS.js} +1 -1
- package/chunks/{chunk.2OHW47UJ.js → chunk.KC6Z3HNY.js} +2 -2
- package/chunks/{chunk.Y65XQQBB.js → chunk.KFICL24P.js} +1 -1
- package/chunks/{chunk.NAFFMLGK.js → chunk.KRR2MHH6.js} +1 -1
- package/chunks/{chunk.TMBUYE3G.js → chunk.KYGKWH6H.js} +2 -8
- package/chunks/{chunk.NOL7ELKS.js → chunk.L27GXXCR.js} +1 -1
- package/chunks/{chunk.WGJELYN3.js → chunk.L5PE6QYR.js} +1 -1
- package/chunks/{chunk.FYHXXDHZ.js → chunk.L76SIVXL.js} +2 -2
- package/chunks/{chunk.4DRWAIPQ.js → chunk.M42OSKF3.js} +1 -1
- package/chunks/{chunk.WBSBQTTV.js → chunk.M6XWWL3K.js} +2 -2
- package/chunks/{chunk.MTHVWA5N.js → chunk.NGISBDVX.js} +6 -6
- package/chunks/{chunk.LCNJORVJ.js → chunk.OXFUYPNR.js} +1 -1
- package/chunks/chunk.QK3R23GV.js +1 -1
- package/chunks/{chunk.7CRT7WQF.js → chunk.R7PMRDER.js} +1 -1
- package/chunks/{chunk.SXI3P5U5.js → chunk.R7SHJPQX.js} +1 -1
- package/chunks/{chunk.TUSHH76M.js → chunk.RF56IWRC.js} +1 -1
- package/chunks/{chunk.7PVEQR6Y.js → chunk.SSMQSB4N.js} +1 -1
- package/chunks/{chunk.EDYRAGUL.js → chunk.TOBY35JG.js} +1 -1
- package/chunks/{chunk.TQ3TKXVC.js → chunk.TRS2VCUR.js} +1 -1
- package/chunks/{chunk.6XYPJFZ5.js → chunk.UPA7PT7F.js} +2 -2
- package/chunks/{chunk.5ZIK4RYR.js → chunk.W7XFAJ4E.js} +2 -2
- package/chunks/{chunk.ZRPKWV7G.js → chunk.XB7K3C5P.js} +2 -2
- package/chunks/{chunk.4DVL6SCE.js → chunk.XHLTNW7U.js} +2 -2
- package/chunks/{chunk.4NEQU7ZK.js → chunk.Y2NHXTDW.js} +1 -1
- package/chunks/{chunk.IF5LOTNI.js → chunk.Y5YZV6CC.js} +1 -1
- package/chunks/{chunk.IY2VDC7T.js → chunk.YDPMAYLA.js} +2 -2
- package/chunks/{chunk.ZP33HSUL.js → chunk.ZNRXC2JN.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 +2 -2
- package/components/button/index.js +4 -4
- package/components/calendar/calendar.js +3 -3
- package/components/calendar/calendar.trans.styles.js +2 -2
- 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 +3 -3
- package/components/container/index.js +3 -3
- package/components/context-menu/context-menu.js +6 -6
- package/components/context-menu/context-menu.trans.styles.js +2 -2
- package/components/context-menu/index.js +7 -7
- package/components/datepicker/datepicker.js +16 -16
- package/components/datepicker/datepicker.trans.styles.js +2 -2
- package/components/datepicker/index.js +16 -16
- package/components/dialog/dialog.js +7 -7
- package/components/dialog/index.js +7 -7
- package/components/div/div.js +2 -2
- package/components/div/index.js +2 -2
- package/components/divider/divider.js +2 -2
- package/components/divider/index.js +2 -2
- package/components/dropdown/dropdown.js +13 -13
- package/components/dropdown/dropdown.trans.styles.js +2 -2
- package/components/dropdown/index.js +14 -14
- 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 +2 -2
- 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 +2 -2
- 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 +6 -6
- package/components/form/summary/index.js +6 -6
- package/components/form/summary/summary.js +6 -6
- package/components/grid/grid.js +3 -3
- package/components/grid/index.js +3 -3
- package/components/grouped-list/grouped-list.js +3 -3
- package/components/grouped-list/grouped-list.trans.styles.js +2 -2
- package/components/grouped-list/index.js +3 -3
- package/components/img/img.js +2 -2
- package/components/img/index.js +2 -2
- package/components/index.js +39 -39
- package/components/input/index.js +10 -10
- package/components/input/input.js +10 -10
- package/components/input/input.trans.styles.js +2 -2
- 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 +3 -3
- package/components/popover/popover.js +3 -3
- package/components/popover/popover.trans.styles.js +2 -2
- 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 +2 -2
- package/components/segmented-control/segmented-control.js +4 -4
- package/components/segmented-control/segmented-control.trans.styles.js +2 -2
- package/components/select/index.js +10 -10
- package/components/select/select.js +10 -10
- package/components/select/select.trans.styles.js +2 -2
- 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/spinner/gds-spinner.js +2 -2
- package/components/spinner/index.js +2 -2
- package/components/text/index.js +3 -3
- package/components/text/text.js +3 -3
- package/components/textarea/index.js +10 -10
- package/components/textarea/textarea.js +10 -10
- package/components/theme/index.js +3 -3
- package/components/theme/theme.js +3 -3
- package/components/theme/theme.trans.styles.js +2 -2
- package/components/video/index.js +2 -2
- package/components/video/video.js +2 -2
- package/index.js +39 -39
- package/package.json +1 -1
- package/primitives/field-base/field-base.js +3 -3
- package/primitives/field-base/index.js +3 -3
- 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 +4 -4
- package/primitives/menu/menu-heading.js +3 -3
- package/primitives/menu/menu-item.js +3 -3
- package/primitives/menu/menu.js +4 -4
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/transitional-styles.js +2 -2
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk.TWXTKG4B.js";
|
|
9
9
|
import {
|
|
10
10
|
TransitionalStyles
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.Y2NHXTDW.js";
|
|
12
12
|
import {
|
|
13
13
|
watch
|
|
14
14
|
} from "./chunk.TYGMNHNO.js";
|
|
15
15
|
import {
|
|
16
16
|
tokens
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.NGISBDVX.js";
|
|
18
18
|
import {
|
|
19
19
|
GdsElement
|
|
20
20
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk.TWXTKG4B.js";
|
|
5
5
|
import {
|
|
6
6
|
TransitionalStyles
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.Y2NHXTDW.js";
|
|
8
8
|
import {
|
|
9
9
|
tokens
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.NGISBDVX.js";
|
|
11
11
|
import {
|
|
12
12
|
GdsElement
|
|
13
13
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
forwardAttributes
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.W7XFAJ4E.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsFormControlElement
|
|
6
6
|
} from "./chunk.VA6TUMR2.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk.TWXTKG4B.js";
|
|
12
12
|
import {
|
|
13
13
|
tokens
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.NGISBDVX.js";
|
|
15
15
|
import {
|
|
16
16
|
gdsCustomElement,
|
|
17
17
|
html
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.WM7HBMMV.js";
|
|
4
4
|
import {
|
|
5
5
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.Y2NHXTDW.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
9
|
} from "./chunk.TYGMNHNO.js";
|
|
@@ -30,8 +30,8 @@ import { classMap } from "lit/directives/class-map.js";
|
|
|
30
30
|
import {
|
|
31
31
|
autoUpdate,
|
|
32
32
|
computePosition,
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
offset,
|
|
34
|
+
shift
|
|
35
35
|
} from "@floating-ui/dom";
|
|
36
36
|
|
|
37
37
|
// libs/core/src/components/popover/popover.styles.ts
|
|
@@ -145,9 +145,15 @@ var GdsPopover = class extends GdsElement {
|
|
|
145
145
|
this.calcMinWidth = (referenceEl) => `${referenceEl.offsetWidth}px`;
|
|
146
146
|
this.calcMaxWidth = (_referenceEl) => `auto`;
|
|
147
147
|
this.calcMinHeight = (_referenceEl) => `auto`;
|
|
148
|
-
this.calcMaxHeight = (_referenceEl) =>
|
|
148
|
+
this.calcMaxHeight = (_referenceEl) => `${window.innerHeight - 16}px`;
|
|
149
149
|
this.nonmodal = false;
|
|
150
|
-
this.floatingUIMiddleware = [
|
|
150
|
+
this.floatingUIMiddleware = [
|
|
151
|
+
offset(8),
|
|
152
|
+
shift({
|
|
153
|
+
crossAxis: true,
|
|
154
|
+
padding: 8
|
|
155
|
+
})
|
|
156
|
+
];
|
|
151
157
|
this._trigger = void 0;
|
|
152
158
|
this._anchor = void 0;
|
|
153
159
|
this._isVirtKbVisible = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsDiv
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.R7PMRDER.js";
|
|
4
4
|
import {
|
|
5
5
|
forSpaceTokens
|
|
6
6
|
} from "./chunk.76QWARGM.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.NUUST5OZ.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.NGISBDVX.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
} from "./chunk.TWXTKG4B.js";
|
|
13
13
|
import {
|
|
14
14
|
TransitionalStyles
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.Y2NHXTDW.js";
|
|
16
16
|
import {
|
|
17
17
|
watch
|
|
18
18
|
} from "./chunk.TYGMNHNO.js";
|
|
19
19
|
import {
|
|
20
20
|
tokens
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.NGISBDVX.js";
|
|
22
22
|
import {
|
|
23
23
|
gdsCustomElement,
|
|
24
24
|
html
|
|
@@ -454,110 +454,112 @@ var Datepicker = class extends GdsFormControlElement {
|
|
|
454
454
|
this._elCalendar.then((cal) => cal.focus());
|
|
455
455
|
}}
|
|
456
456
|
>
|
|
457
|
-
<gds-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
<gds-button
|
|
464
|
-
@click=${__privateGet(this, _handleDecrementFocusedMonth)}
|
|
465
|
-
aria-label=${msg("Previous month")}
|
|
466
|
-
rank="tertiary"
|
|
467
|
-
size="small"
|
|
468
|
-
>
|
|
469
|
-
<gds-icon-chevron-left></gds-icon-chevron-left>
|
|
470
|
-
</gds-button>
|
|
471
|
-
<gds-dropdown
|
|
472
|
-
.value=${this._focusedMonth.toString()}
|
|
473
|
-
@change=${__privateGet(this, _handleMonthChange)}
|
|
474
|
-
.maxHeight=${300}
|
|
475
|
-
label="${msg("Month")}"
|
|
476
|
-
size="small"
|
|
477
|
-
class="month"
|
|
478
|
-
hide-label
|
|
457
|
+
<gds-div overflow="auto">
|
|
458
|
+
<gds-flex
|
|
459
|
+
align-items="center"
|
|
460
|
+
justify-content="space-between"
|
|
461
|
+
gap="s"
|
|
462
|
+
padding="m m 0 m"
|
|
479
463
|
>
|
|
480
|
-
<gds-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
<gds-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
464
|
+
<gds-button
|
|
465
|
+
@click=${__privateGet(this, _handleDecrementFocusedMonth)}
|
|
466
|
+
aria-label=${msg("Previous month")}
|
|
467
|
+
rank="tertiary"
|
|
468
|
+
size="small"
|
|
469
|
+
>
|
|
470
|
+
<gds-icon-chevron-left></gds-icon-chevron-left>
|
|
471
|
+
</gds-button>
|
|
472
|
+
<gds-dropdown
|
|
473
|
+
.value=${this._focusedMonth.toString()}
|
|
474
|
+
@change=${__privateGet(this, _handleMonthChange)}
|
|
475
|
+
.maxHeight=${300}
|
|
476
|
+
label="${msg("Month")}"
|
|
477
|
+
size="small"
|
|
478
|
+
class="month"
|
|
479
|
+
hide-label
|
|
480
|
+
>
|
|
481
|
+
<gds-option value="0">${msg("January")}</gds-option>
|
|
482
|
+
<gds-option value="1">${msg("February")}</gds-option>
|
|
483
|
+
<gds-option value="2">${msg("March")}</gds-option>
|
|
484
|
+
<gds-option value="3">${msg("April")}</gds-option>
|
|
485
|
+
<gds-option value="4">${msg("May")}</gds-option>
|
|
486
|
+
<gds-option value="5">${msg("June")}</gds-option>
|
|
487
|
+
<gds-option value="6">${msg("July")}</gds-option>
|
|
488
|
+
<gds-option value="7">${msg("August")}</gds-option>
|
|
489
|
+
<gds-option value="8">${msg("September")}</gds-option>
|
|
490
|
+
<gds-option value="9">${msg("October")}</gds-option>
|
|
491
|
+
<gds-option value="10">${msg("November")}</gds-option>
|
|
492
|
+
<gds-option value="11">${msg("December")}</gds-option>
|
|
493
|
+
</gds-dropdown>
|
|
494
|
+
<gds-dropdown
|
|
495
|
+
.value=${this._focusedYear.toString()}
|
|
496
|
+
@change=${__privateGet(this, _handleYearChange)}
|
|
497
|
+
.maxHeight=${300}
|
|
498
|
+
label="${msg("Year")}"
|
|
499
|
+
size="small"
|
|
500
|
+
class="year"
|
|
501
|
+
hide-label
|
|
502
|
+
>
|
|
503
|
+
${repeat(
|
|
503
504
|
__privateGet(this, _years, years_get),
|
|
504
505
|
(year) => year,
|
|
505
506
|
(year) => html`<gds-option value=${year}>${year}</gds-option>`
|
|
506
507
|
)}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
508
|
+
</gds-dropdown>
|
|
509
|
+
<gds-button
|
|
510
|
+
@click=${__privateGet(this, _handleIncrementFocusedMonth)}
|
|
511
|
+
aria-label=${msg("Next month")}
|
|
512
|
+
rank="tertiary"
|
|
513
|
+
size="small"
|
|
514
|
+
>
|
|
515
|
+
<gds-icon-chevron-right></gds-icon-chevron-right>
|
|
516
|
+
</gds-button>
|
|
517
|
+
</gds-flex>
|
|
517
518
|
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
519
|
+
<gds-calendar
|
|
520
|
+
id="calendar"
|
|
521
|
+
@change=${__privateGet(this, _handleCalendarChange)}
|
|
522
|
+
@gds-date-focused=${__privateGet(this, _handleCalendarFocusChange)}
|
|
523
|
+
.focusedMonth=${this._focusedMonth}
|
|
524
|
+
.focusedYear=${this._focusedYear}
|
|
525
|
+
.value=${this.value}
|
|
526
|
+
.min=${this.min}
|
|
527
|
+
.max=${this.max}
|
|
528
|
+
.showWeekNumbers=${this.showWeekNumbers}
|
|
529
|
+
.disabledWeekends=${this.disabledWeekends}
|
|
530
|
+
.disabledDates=${this.disabledDates}
|
|
531
|
+
></gds-calendar>
|
|
531
532
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
533
|
+
<gds-flex
|
|
534
|
+
align-items="center"
|
|
535
|
+
justify-content="space-between"
|
|
536
|
+
padding="0 m m m"
|
|
537
|
+
>
|
|
538
|
+
<gds-button
|
|
539
|
+
rank="tertiary"
|
|
540
|
+
size="small"
|
|
541
|
+
@click=${(e) => {
|
|
541
542
|
e.stopPropagation();
|
|
542
543
|
this.value = void 0;
|
|
543
544
|
this.open = false;
|
|
544
545
|
__privateMethod(this, _dispatchChangeEvent, dispatchChangeEvent_fn).call(this);
|
|
545
546
|
}}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
547
|
+
>
|
|
548
|
+
${msg("Clear")}
|
|
549
|
+
</gds-button>
|
|
550
|
+
${until(__privateMethod(this, _renderBackToValidRangeButton, renderBackToValidRangeButton_fn).call(this), nothing)}
|
|
551
|
+
<gds-button
|
|
552
|
+
rank="tertiary"
|
|
553
|
+
size="small"
|
|
554
|
+
@click=${(e) => {
|
|
554
555
|
e.stopPropagation();
|
|
555
556
|
__privateMethod(this, _focusDate, focusDate_fn).call(this, /* @__PURE__ */ new Date());
|
|
556
557
|
}}
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
558
|
+
>
|
|
559
|
+
${msg("Today")}
|
|
560
|
+
</gds-button>
|
|
561
|
+
</gds-flex>
|
|
562
|
+
</gds-div>
|
|
561
563
|
</gds-popover>
|
|
562
564
|
`;
|
|
563
565
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.Y2NHXTDW.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.NGISBDVX.js";
|
|
12
12
|
import {
|
|
13
13
|
GdsElement
|
|
14
14
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.2JGBCOIQ.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsDiv
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.R7PMRDER.js";
|
|
7
7
|
import {
|
|
8
8
|
styleExpressionProperty
|
|
9
9
|
} from "./chunk.NUUST5OZ.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.NGISBDVX.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement
|
|
15
15
|
} from "./chunk.QK3R23GV.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.TYGMNHNO.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.NGISBDVX.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -210,13 +210,7 @@ var GdsDropdown = class extends GdsFormControlElement {
|
|
|
210
210
|
`;
|
|
211
211
|
});
|
|
212
212
|
__privateAdd(this, _calcMaxHeight, (trigger) => {
|
|
213
|
-
const
|
|
214
|
-
const windowHeight = window.innerHeight;
|
|
215
|
-
const bottomSpace = windowHeight - triggerRect.bottom;
|
|
216
|
-
const topSpace = triggerRect.top;
|
|
217
|
-
let height = Math.min(topSpace, this.maxHeight);
|
|
218
|
-
if (bottomSpace > topSpace)
|
|
219
|
-
height = Math.min(bottomSpace, this.maxHeight);
|
|
213
|
+
const height = Math.min(window.innerHeight, this.maxHeight);
|
|
220
214
|
return `${height - 16}px`;
|
|
221
215
|
});
|
|
222
216
|
__privateAdd(this, _dispatchUISateEvent, (toState, reason) => this.dispatchEvent(
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsDiv
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.R7PMRDER.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.NUUST5OZ.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.NGISBDVX.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk.ZRKILGXZ.js";
|
|
5
5
|
import {
|
|
6
6
|
TransitionalStyles
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.Y2NHXTDW.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.NGISBDVX.js";
|
|
14
14
|
import {
|
|
15
15
|
GdsElement
|
|
16
16
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -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 Wed, 12 Mar 2025 20:07: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
|
|
122
|
+
* Generated on Wed, 12 Mar 2025 20:07: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
|
|
239
|
+
* Generated on Wed, 12 Mar 2025 20:07:25 GMT
|
|
240
240
|
*/
|
|
241
241
|
|
|
242
242
|
:host {
|
|
@@ -255,7 +255,7 @@ var motion_default = `/**
|
|
|
255
255
|
// dist/libs/tokens/internal/shadow.css?inline
|
|
256
256
|
var shadow_default = `/**
|
|
257
257
|
* Do not edit directly
|
|
258
|
-
* Generated on
|
|
258
|
+
* Generated on Wed, 12 Mar 2025 20:07:25 GMT
|
|
259
259
|
*/
|
|
260
260
|
|
|
261
261
|
:host {
|
|
@@ -270,7 +270,7 @@ var shadow_default = `/**
|
|
|
270
270
|
// dist/libs/tokens/internal/size.css?inline
|
|
271
271
|
var size_default = `/**
|
|
272
272
|
* Do not edit directly
|
|
273
|
-
* Generated on
|
|
273
|
+
* Generated on Wed, 12 Mar 2025 20:07:25 GMT
|
|
274
274
|
*/
|
|
275
275
|
|
|
276
276
|
:host {
|
|
@@ -297,7 +297,7 @@ var size_default = `/**
|
|
|
297
297
|
// dist/libs/tokens/internal/text.css?inline
|
|
298
298
|
var text_default = `/**
|
|
299
299
|
* Do not edit directly
|
|
300
|
-
* Generated on
|
|
300
|
+
* Generated on Wed, 12 Mar 2025 20:07:25 GMT
|
|
301
301
|
*/
|
|
302
302
|
|
|
303
303
|
:host {
|
package/chunks/chunk.QK3R23GV.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 = "-f5b7af";
|
|
10
10
|
var ScopedElementRegistry = class {
|
|
11
11
|
static get instance() {
|
|
12
12
|
var _a;
|