@sebgroup/green-core 1.24.0 → 1.25.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.VJU6J3FA.js → chunk.2YTPPLUR.js} +1 -1
- package/chunks/{chunk.27R7X3C3.js → chunk.7JJ5VKPL.js} +1 -1
- package/chunks/{chunk.RP6ZZ4QP.js → chunk.AIIIR7YQ.js} +1 -1
- package/chunks/{chunk.5C4NFKBM.js → chunk.BIHHI4LS.js} +26 -22
- package/chunks/{chunk.KTHP2O7D.js → chunk.BWE3LWZR.js} +4 -4
- package/chunks/{chunk.PKI5W62Y.js → chunk.F7RPWFJJ.js} +1 -1
- package/chunks/{chunk.JX4Q5BTZ.js → chunk.FMXZ2CBC.js} +1 -1
- package/chunks/{chunk.GVBFAXSJ.js → chunk.H4WGDTHX.js} +1 -1
- package/chunks/{chunk.YWNV7RJ2.js → chunk.HA34PFHO.js} +2 -2
- package/chunks/{chunk.QHKBUCE7.js → chunk.HFSAPWTQ.js} +1 -1
- package/chunks/{chunk.K3GEZRU5.js → chunk.HNQ5BESO.js} +12 -9
- package/chunks/{chunk.Y3RSAFGU.js → chunk.JWG3HSMO.js} +2 -2
- package/chunks/{chunk.QD3OLQ7I.js → chunk.JZPPDKRE.js} +1 -1
- package/chunks/{chunk.P2QL4AHI.js → chunk.LA5JE2G2.js} +1 -1
- package/chunks/{chunk.CUCCR5I2.js → chunk.LQAZXKB4.js} +4 -4
- package/chunks/{chunk.B35Y6NNU.js → chunk.MYA45ATV.js} +1 -1
- package/chunks/{chunk.HGXKBXR6.js → chunk.NW6QJEJ7.js} +1 -1
- package/chunks/{chunk.DOKUYRLP.js → chunk.PLBDEP73.js} +3 -3
- package/chunks/{chunk.NNJ6DJO2.js → chunk.RB5IEYTY.js} +1 -1
- package/chunks/{chunk.RG4ALIDZ.js → chunk.S2PCHWDW.js} +3 -3
- package/chunks/{chunk.CPCAGCFR.js → chunk.S63G7END.js} +1 -1
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/{chunk.ZX42RSEL.js → chunk.ZDK6GCF7.js} +1 -1
- package/components/button/button.js +5 -5
- package/components/button/button.trans.styles.js +1 -1
- package/components/button/index.js +5 -5
- package/{primitives → components}/calendar/calendar.d.ts +5 -1
- package/{primitives → components}/calendar/calendar.js +3 -3
- package/components/calendar/calendar.trans.styles.js +11 -0
- package/{primitives → components}/calendar/functions.js +1 -1
- package/{primitives → components}/calendar/index.js +4 -4
- package/components/context-menu/context-menu.js +6 -6
- package/components/context-menu/context-menu.trans.styles.js +1 -1
- package/components/context-menu/index.js +9 -9
- package/components/datepicker/datepicker.d.ts +1 -1
- 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/dropdown/dropdown.js +6 -6
- package/components/dropdown/dropdown.trans.styles.js +1 -1
- package/components/dropdown/index.js +7 -7
- package/components/filter-chips/filter-chip/filter-chip.js +6 -6
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +2 -2
- package/components/filter-chips/filter-chip/index.js +6 -6
- package/components/filter-chips/filter-chips.js +7 -7
- package/components/filter-chips/filter-chips.trans.styles.js +2 -2
- package/components/filter-chips/index.js +7 -7
- package/components/grid/grid.js +2 -2
- package/components/grid/index.js +2 -2
- package/components/grouped-list/grouped-list.js +2 -2
- package/components/grouped-list/grouped-list.trans.styles.js +2 -2
- package/components/grouped-list/index.js +2 -2
- package/components/icon/icons/index.js +180 -180
- package/components/index.js +46 -46
- 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/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/theme/index.js +2 -2
- package/components/theme/theme.js +2 -2
- package/components/theme/theme.trans.styles.js +2 -2
- package/index.js +46 -46
- package/package.json +1 -1
- package/primitives/listbox/index.js +3 -3
- package/primitives/listbox/listbox.js +3 -3
- package/primitives/listbox/option.js +2 -2
- 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
- /package/chunks/{chunk.TMBQL2RO.js → chunk.DJ2OXJZN.js} +0 -0
- /package/{primitives → components}/calendar/calendar.styles.d.ts +0 -0
- /package/{primitives → components}/calendar/calendar.trans.styles.d.ts +0 -0
- /package/{primitives → components}/calendar/functions.d.ts +0 -0
- /package/{primitives → components}/calendar/index.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderMonthGridView
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RB5IEYTY.js";
|
|
4
4
|
import {
|
|
5
5
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.HNQ5BESO.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsElement
|
|
9
9
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -20,9 +20,10 @@ import {
|
|
|
20
20
|
__spreadValues
|
|
21
21
|
} from "./chunk.5VURDMKE.js";
|
|
22
22
|
|
|
23
|
-
// libs/core/src/
|
|
23
|
+
// libs/core/src/components/calendar/calendar.ts
|
|
24
24
|
import { html } from "lit";
|
|
25
25
|
import { classMap } from "lit/directives/class-map.js";
|
|
26
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
26
27
|
import { when } from "lit/directives/when.js";
|
|
27
28
|
import { property, query } from "lit/decorators.js";
|
|
28
29
|
import { msg } from "@lit/localize";
|
|
@@ -36,13 +37,13 @@ import {
|
|
|
36
37
|
lastDayOfMonth
|
|
37
38
|
} from "date-fns";
|
|
38
39
|
|
|
39
|
-
// libs/core/src/
|
|
40
|
+
// libs/core/src/components/calendar/calendar.styles.ts
|
|
40
41
|
import { css } from "lit";
|
|
41
42
|
var style = css`
|
|
42
43
|
@layer base, reset, transitional-styles;
|
|
43
44
|
@layer base {
|
|
44
45
|
td.disabled {
|
|
45
|
-
color: #
|
|
46
|
+
color: #555;
|
|
46
47
|
cursor: default;
|
|
47
48
|
}
|
|
48
49
|
td.today {
|
|
@@ -52,7 +53,7 @@ var style = css`
|
|
|
52
53
|
`;
|
|
53
54
|
var calendar_styles_default = style;
|
|
54
55
|
|
|
55
|
-
// libs/core/src/
|
|
56
|
+
// libs/core/src/components/calendar/calendar.ts
|
|
56
57
|
var _setSelectedDate, setSelectedDate_fn, _handleKeyDown, handleKeyDown_fn;
|
|
57
58
|
var GdsCalendar = class extends GdsElement {
|
|
58
59
|
constructor() {
|
|
@@ -105,9 +106,9 @@ var GdsCalendar = class extends GdsElement {
|
|
|
105
106
|
}
|
|
106
107
|
render() {
|
|
107
108
|
const currentDate = /* @__PURE__ */ new Date();
|
|
108
|
-
return html`<table>
|
|
109
|
-
<thead>
|
|
110
|
-
<tr>
|
|
109
|
+
return html`<table role="grid" aria-label="${ifDefined(this.label)}">
|
|
110
|
+
<thead role="rowgroup">
|
|
111
|
+
<tr role="row">
|
|
111
112
|
${when(this.showWeekNumbers, () => html`<th></th>`)}
|
|
112
113
|
<th>${msg("Mon")}</th>
|
|
113
114
|
<th>${msg("Tue")}</th>
|
|
@@ -118,35 +119,35 @@ var GdsCalendar = class extends GdsElement {
|
|
|
118
119
|
<th>${msg("Sun")}</th>
|
|
119
120
|
</tr>
|
|
120
121
|
</thead>
|
|
121
|
-
<tbody>
|
|
122
|
+
<tbody role="rowgroup">
|
|
122
123
|
${renderMonthGridView(
|
|
123
124
|
this.focusedDate,
|
|
124
125
|
(weeks) => html`
|
|
125
126
|
${weeks.map(
|
|
126
127
|
(week) => html`
|
|
127
|
-
<tr>
|
|
128
|
+
<tr role="row">
|
|
128
129
|
${when(
|
|
129
130
|
this.showWeekNumbers,
|
|
130
|
-
() => html`<td class="week-number">
|
|
131
|
+
() => html`<td class="week-number" scope="row">
|
|
131
132
|
${getWeek(week.days[0])}
|
|
132
133
|
</td>`
|
|
133
134
|
)}
|
|
134
135
|
${week.days.map((day) => {
|
|
135
|
-
const customization =
|
|
136
|
+
const customization = this.customizedDates && this.customizedDates.find((d) => isSameDay(d.date, day));
|
|
137
|
+
const displayOptions = __spreadValues({
|
|
136
138
|
// Defaults
|
|
137
139
|
color: "currentColor",
|
|
138
140
|
// Get baseline disabled state from the disabledDates prop (or false if unset)
|
|
139
141
|
disabled: Boolean(
|
|
140
142
|
this.disabledDates && this.disabledDates.some((d) => isSameDay(d, day))
|
|
141
143
|
)
|
|
142
|
-
},
|
|
143
|
-
(d) => isSameDay(d.date, day)
|
|
144
|
-
));
|
|
144
|
+
}, customization);
|
|
145
145
|
const isOutsideCurrentMonth = !isSameMonth(this.focusedDate, day) || day < this.min || day > this.max;
|
|
146
146
|
const isWeekend = day.getDay() === 0 || day.getDay() === 6;
|
|
147
|
-
const isDisabled =
|
|
147
|
+
const isDisabled = displayOptions.disabled || isOutsideCurrentMonth || this.disabledWeekends && isWeekend;
|
|
148
148
|
return html`
|
|
149
149
|
<td
|
|
150
|
+
role="${ifDefined(isDisabled ? void 0 : "gridcell")}"
|
|
150
151
|
class="${classMap({
|
|
151
152
|
"custom-date": Boolean(customization),
|
|
152
153
|
disabled: Boolean(isDisabled),
|
|
@@ -154,22 +155,22 @@ var GdsCalendar = class extends GdsElement {
|
|
|
154
155
|
})}"
|
|
155
156
|
?disabled=${isDisabled}
|
|
156
157
|
tabindex="${isSameDay(this.focusedDate, day) ? 0 : -1}"
|
|
157
|
-
aria-selected="${this.value && isSameDay(this.value, day)}"
|
|
158
|
+
aria-selected="${this.value && isSameDay(this.value, day) ? "true" : "false"}"
|
|
158
159
|
aria-label="${day.toDateString()}"
|
|
159
160
|
@click=${() => isDisabled ? null : __privateMethod(this, _setSelectedDate, setSelectedDate_fn).call(this, day)}
|
|
160
161
|
id="dateCell-${day.getDate()}"
|
|
161
162
|
>
|
|
162
163
|
<span
|
|
163
164
|
class="number"
|
|
164
|
-
style="--_color: ${
|
|
165
|
+
style="--_color: ${displayOptions ? displayOptions == null ? void 0 : displayOptions.color : ""}"
|
|
165
166
|
>${day.getDate()}</span
|
|
166
167
|
>
|
|
167
168
|
|
|
168
169
|
${when(
|
|
169
|
-
|
|
170
|
+
displayOptions.indicator,
|
|
170
171
|
() => html`<span
|
|
171
|
-
class="indicator-${
|
|
172
|
-
style="--_color: ${
|
|
172
|
+
class="indicator-${displayOptions == null ? void 0 : displayOptions.indicator}"
|
|
173
|
+
style="--_color: ${displayOptions == null ? void 0 : displayOptions.color}"
|
|
173
174
|
></span>`
|
|
174
175
|
)}
|
|
175
176
|
</td>
|
|
@@ -289,6 +290,9 @@ __decorateClass([
|
|
|
289
290
|
__decorateClass([
|
|
290
291
|
property({ attribute: false })
|
|
291
292
|
], GdsCalendar.prototype, "customizedDates", 2);
|
|
293
|
+
__decorateClass([
|
|
294
|
+
property()
|
|
295
|
+
], GdsCalendar.prototype, "label", 2);
|
|
292
296
|
__decorateClass([
|
|
293
297
|
query('td[tabindex="0"]')
|
|
294
298
|
], GdsCalendar.prototype, "_elFocusedCell", 2);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFormControlElement
|
|
3
3
|
} from "./chunk.MZSK66DN.js";
|
|
4
|
+
import {
|
|
5
|
+
observeLightDOM
|
|
6
|
+
} from "./chunk.WM7HBMMV.js";
|
|
4
7
|
import {
|
|
5
8
|
constrainSlots
|
|
6
9
|
} from "./chunk.KBYQYDL3.js";
|
|
7
10
|
import {
|
|
8
11
|
TransitionalStyles
|
|
9
|
-
} from "./chunk.
|
|
10
|
-
import {
|
|
11
|
-
observeLightDOM
|
|
12
|
-
} from "./chunk.WM7HBMMV.js";
|
|
12
|
+
} from "./chunk.HNQ5BESO.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.2WO4NHJ2.js";
|
|
@@ -1210,7 +1210,7 @@ var datepicker_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
1210
1210
|
}
|
|
1211
1211
|
}`;
|
|
1212
1212
|
|
|
1213
|
-
// libs/core/src/
|
|
1213
|
+
// libs/core/src/components/calendar/calendar.trans.styles.scss?inline
|
|
1214
1214
|
var calendar_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
1215
1215
|
/* stylelint-enable max-nesting-depth */
|
|
1216
1216
|
/**
|
|
@@ -1396,10 +1396,11 @@ var calendar_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
1396
1396
|
}
|
|
1397
1397
|
}`;
|
|
1398
1398
|
|
|
1399
|
-
// libs/core/src/
|
|
1399
|
+
// libs/core/src/components/calendar/calendar.trans.styles.ts
|
|
1400
1400
|
function register6() {
|
|
1401
1401
|
TransitionalStyles.instance.register("gds-calendar", calendar_trans_styles_default.toString());
|
|
1402
1402
|
}
|
|
1403
|
+
var calendar_trans_styles_default2 = register6;
|
|
1403
1404
|
|
|
1404
1405
|
// libs/core/src/components/datepicker/datepicker.trans.styles.ts
|
|
1405
1406
|
function register7() {
|
|
@@ -2765,19 +2766,21 @@ export {
|
|
|
2765
2766
|
dropdown_trans_styles_default2 as dropdown_trans_styles_default,
|
|
2766
2767
|
register5 as register4,
|
|
2767
2768
|
context_menu_trans_styles_default2 as context_menu_trans_styles_default,
|
|
2768
|
-
|
|
2769
|
+
register6 as register5,
|
|
2770
|
+
calendar_trans_styles_default2 as calendar_trans_styles_default,
|
|
2771
|
+
register7 as register6,
|
|
2769
2772
|
datepicker_trans_styles_default2 as datepicker_trans_styles_default,
|
|
2770
|
-
register8 as
|
|
2773
|
+
register8 as register7,
|
|
2771
2774
|
grouped_list_trans_styles_default2 as grouped_list_trans_styles_default,
|
|
2772
|
-
register9 as
|
|
2775
|
+
register9 as register8,
|
|
2773
2776
|
segment_trans_styles_default2 as segment_trans_styles_default,
|
|
2774
|
-
register10 as
|
|
2777
|
+
register10 as register9,
|
|
2775
2778
|
segmented_control_trans_styles_default2 as segmented_control_trans_styles_default,
|
|
2776
|
-
register11 as
|
|
2779
|
+
register11 as register10,
|
|
2777
2780
|
filter_chip_trans_styles_default2 as filter_chip_trans_styles_default,
|
|
2778
|
-
register12 as
|
|
2781
|
+
register12 as register11,
|
|
2779
2782
|
filter_chips_trans_styles_default2 as filter_chips_trans_styles_default,
|
|
2780
|
-
register13 as
|
|
2783
|
+
register13 as register12,
|
|
2781
2784
|
theme_trans_styles_default,
|
|
2782
2785
|
registerTransitionalStyles,
|
|
2783
2786
|
TransitionalStyles
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tokens
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LQAZXKB4.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsFormControlElement
|
|
6
6
|
} from "./chunk.MZSK66DN.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.KBYQYDL3.js";
|
|
10
10
|
import {
|
|
11
11
|
TransitionalStyles
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.HNQ5BESO.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -4,7 +4,7 @@ import { unsafeCSS } from "lit";
|
|
|
4
4
|
// dist/libs/tokens/internal/pallet.css?inline
|
|
5
5
|
var pallet_default = `/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Mon, 01 Jul 2024 13:44:52 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
:host {
|
|
@@ -165,7 +165,7 @@ var pallet_default = `/**
|
|
|
165
165
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
166
166
|
var light_default = `/**
|
|
167
167
|
* Do not edit directly
|
|
168
|
-
* Generated on
|
|
168
|
+
* Generated on Mon, 01 Jul 2024 13:44:52 GMT
|
|
169
169
|
*/
|
|
170
170
|
|
|
171
171
|
:host {
|
|
@@ -286,7 +286,7 @@ var light_default = `/**
|
|
|
286
286
|
// dist/libs/tokens/internal/size.css?inline
|
|
287
287
|
var size_default = `/**
|
|
288
288
|
* Do not edit directly
|
|
289
|
-
* Generated on
|
|
289
|
+
* Generated on Mon, 01 Jul 2024 13:44:52 GMT
|
|
290
290
|
*/
|
|
291
291
|
|
|
292
292
|
:host {
|
|
@@ -532,7 +532,7 @@ var size_default = `/**
|
|
|
532
532
|
// dist/libs/tokens/internal/motion.css?inline
|
|
533
533
|
var motion_default = `/**
|
|
534
534
|
* Do not edit directly
|
|
535
|
-
* Generated on
|
|
535
|
+
* Generated on Mon, 01 Jul 2024 13:44:52 GMT
|
|
536
536
|
*/
|
|
537
537
|
|
|
538
538
|
:host {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsSegment
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.HA34PFHO.js";
|
|
4
4
|
import {
|
|
5
5
|
resizeObserver
|
|
6
6
|
} from "./chunk.VHN4JEZC.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.LQAZXKB4.js";
|
|
10
10
|
import {
|
|
11
11
|
TransitionalStyles
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.HNQ5BESO.js";
|
|
13
13
|
import {
|
|
14
14
|
GdsElement
|
|
15
15
|
} from "./chunk.ZQ4D5K7J.js";
|
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 = "-f3a002";
|
|
5
5
|
var elementLookupTable = /* @__PURE__ */ new Map();
|
|
6
6
|
var gdsCustomElement = (tagName) => {
|
|
7
7
|
if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsButton
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.JWG3HSMO.js";
|
|
4
4
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.7JJ5VKPL.js";
|
|
6
|
+
import "../../chunks/chunk.LQAZXKB4.js";
|
|
7
7
|
import "../../chunks/chunk.MZSK66DN.js";
|
|
8
|
-
import "../../chunks/chunk.KBYQYDL3.js";
|
|
9
|
-
import "../../chunks/chunk.K3GEZRU5.js";
|
|
10
8
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
9
|
+
import "../../chunks/chunk.KBYQYDL3.js";
|
|
10
|
+
import "../../chunks/chunk.HNQ5BESO.js";
|
|
11
11
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
12
12
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
13
13
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../chunks/chunk.JGTSJ4J6.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsButton
|
|
4
|
-
} from "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.JWG3HSMO.js";
|
|
5
5
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.7JJ5VKPL.js";
|
|
7
|
+
import "../../chunks/chunk.LQAZXKB4.js";
|
|
8
8
|
import "../../chunks/chunk.MZSK66DN.js";
|
|
9
|
-
import "../../chunks/chunk.KBYQYDL3.js";
|
|
10
|
-
import "../../chunks/chunk.K3GEZRU5.js";
|
|
11
9
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
10
|
+
import "../../chunks/chunk.KBYQYDL3.js";
|
|
11
|
+
import "../../chunks/chunk.HNQ5BESO.js";
|
|
12
12
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
13
13
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
14
14
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
@@ -22,7 +22,7 @@ export type CustomizedDate = {
|
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* @element gds-calendar
|
|
25
|
-
* @
|
|
25
|
+
* @status beta
|
|
26
26
|
*
|
|
27
27
|
* A calendar is a widget that allows the user to select a date.
|
|
28
28
|
*
|
|
@@ -76,6 +76,10 @@ export declare class GdsCalendar extends GdsElement {
|
|
|
76
76
|
* This can only be set through the property, not through an attribute.
|
|
77
77
|
*/
|
|
78
78
|
customizedDates?: CustomizedDate[];
|
|
79
|
+
/**
|
|
80
|
+
* The accessible label for the calendar.
|
|
81
|
+
*/
|
|
82
|
+
label?: string;
|
|
79
83
|
/**
|
|
80
84
|
* Returns the date cell element for the given day number.
|
|
81
85
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsCalendar
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.BIHHI4LS.js";
|
|
4
|
+
import "../../chunks/chunk.RB5IEYTY.js";
|
|
5
|
+
import "../../chunks/chunk.HNQ5BESO.js";
|
|
6
6
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
7
7
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
8
8
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
calendar_trans_styles_default,
|
|
3
|
+
register5 as register
|
|
4
|
+
} from "../../chunks/chunk.HNQ5BESO.js";
|
|
5
|
+
import "../../chunks/chunk.W7CV3QYI.js";
|
|
6
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
7
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
8
|
+
export {
|
|
9
|
+
calendar_trans_styles_default as default,
|
|
10
|
+
register
|
|
11
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../chunks/chunk.
|
|
1
|
+
import "../../chunks/chunk.DJ2OXJZN.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsCalendar
|
|
4
|
-
} from "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.BIHHI4LS.js";
|
|
5
|
+
import "../../chunks/chunk.RB5IEYTY.js";
|
|
6
|
+
import "../../chunks/chunk.HNQ5BESO.js";
|
|
7
7
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
8
8
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
9
9
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContextMenu
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.JZPPDKRE.js";
|
|
4
4
|
import "../../chunks/chunk.UF6IEONX.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.S63G7END.js";
|
|
6
|
+
import "../../chunks/chunk.FMXZ2CBC.js";
|
|
7
7
|
import "../../chunks/chunk.7TCXY7BP.js";
|
|
8
8
|
import "../../chunks/chunk.2X23R32H.js";
|
|
9
9
|
import "../../chunks/chunk.2ND5EWHE.js";
|
|
10
10
|
import "../../chunks/chunk.4HJGQCBX.js";
|
|
11
|
-
import "../../chunks/chunk.
|
|
11
|
+
import "../../chunks/chunk.PLBDEP73.js";
|
|
12
12
|
import "../../chunks/chunk.3BCIYHO6.js";
|
|
13
13
|
import "../../chunks/chunk.M5FNUZ66.js";
|
|
14
14
|
import "../../chunks/chunk.L7I7KHQL.js";
|
|
15
|
-
import "../../chunks/chunk.KBYQYDL3.js";
|
|
16
|
-
import "../../chunks/chunk.K3GEZRU5.js";
|
|
17
15
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
16
|
+
import "../../chunks/chunk.KBYQYDL3.js";
|
|
17
|
+
import "../../chunks/chunk.HNQ5BESO.js";
|
|
18
18
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
19
19
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
20
20
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
context_menu_trans_styles_default,
|
|
3
3
|
register4 as register
|
|
4
|
-
} from "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.HNQ5BESO.js";
|
|
5
5
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
6
6
|
import "../../chunks/chunk.VOYMQ322.js";
|
|
7
7
|
import "../../chunks/chunk.5VURDMKE.js";
|