@xmesh/system-design 0.0.2 → 0.0.4
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/dist/lit/components/alert/index.d.ts +1 -1
- package/dist/lit/components/alert/index.js +1 -0
- package/dist/lit/components/app-bar/index.d.ts +1 -1
- package/dist/lit/components/app-bar/index.js +1 -0
- package/dist/lit/components/artifact/index.d.ts +1 -1
- package/dist/lit/components/artifact/index.js +16 -2
- package/dist/lit/components/avatar/index.d.ts +1 -1
- package/dist/lit/components/avatar/index.js +1 -0
- package/dist/lit/components/avatar-group/index.d.ts +1 -1
- package/dist/lit/components/avatar-group/index.js +1 -0
- package/dist/lit/components/badge/index.d.ts +1 -2
- package/dist/lit/components/badge/index.js +1 -0
- package/dist/lit/components/brand-mark/index.d.ts +2 -2
- package/dist/lit/components/brand-mark/index.js +14 -0
- package/dist/lit/components/breadcrumbs/index.d.ts +1 -1
- package/dist/lit/components/breadcrumbs/index.js +1 -0
- package/dist/lit/components/bubble/index.d.ts +4 -4
- package/dist/lit/components/bubble/index.js +18 -0
- package/dist/lit/components/button/index.d.ts +1 -1
- package/dist/lit/components/button/index.js +1 -0
- package/dist/lit/components/card/index.d.ts +1 -1
- package/dist/lit/components/card/index.js +1 -0
- package/dist/lit/components/chat/index.d.ts +1 -2
- package/dist/lit/components/chat/index.js +16 -2
- package/dist/lit/components/checkbox/index.d.ts +1 -2
- package/dist/lit/components/checkbox/index.js +1 -0
- package/dist/lit/components/chip/index.d.ts +1 -1
- package/dist/lit/components/chip/index.js +1 -0
- package/dist/lit/components/chip-group/index.d.ts +1 -1
- package/dist/lit/components/chip-group/index.js +1 -0
- package/dist/lit/components/code/index.d.ts +1 -2
- package/dist/lit/components/code/index.js +1 -0
- package/dist/lit/components/composer/index.d.ts +1 -2
- package/dist/lit/components/composer/index.js +14 -0
- package/dist/lit/components/date-range/index.css +324 -0
- package/dist/lit/components/date-range/index.d.ts +57 -0
- package/dist/lit/components/date-range/index.js +702 -0
- package/dist/lit/components/divider/index.d.ts +1 -1
- package/dist/lit/components/divider/index.js +1 -0
- package/dist/lit/components/expansion-panel/index.d.ts +1 -2
- package/dist/lit/components/expansion-panel/index.js +1 -0
- package/dist/lit/components/grid/index.d.ts +1 -1
- package/dist/lit/components/grid/index.js +1 -0
- package/dist/lit/components/kbd/index.d.ts +1 -2
- package/dist/lit/components/kbd/index.js +1 -0
- package/dist/lit/components/list/index.d.ts +1 -1
- package/dist/lit/components/list/index.js +1 -0
- package/dist/lit/components/list-item/index.d.ts +1 -2
- package/dist/lit/components/list-item/index.js +1 -0
- package/dist/lit/components/navigation-drawer/index.d.ts +1 -2
- package/dist/lit/components/navigation-drawer/index.js +1 -0
- package/dist/lit/components/pagination/index.d.ts +1 -1
- package/dist/lit/components/pagination/index.js +1 -0
- package/dist/lit/components/popover/index.css +34 -0
- package/dist/lit/components/popover/index.d.ts +29 -0
- package/dist/lit/components/popover/index.js +204 -0
- package/dist/lit/components/primitives/index.d.ts +2 -2
- package/dist/lit/components/primitives/index.js +14 -0
- package/dist/lit/components/sidebar-item/index.d.ts +1 -1
- package/dist/lit/components/sidebar-item/index.js +13 -0
- package/dist/lit/components/snackbar/index.d.ts +1 -2
- package/dist/lit/components/snackbar/index.js +16 -2
- package/dist/lit/components/stack/index.d.ts +1 -1
- package/dist/lit/components/stack/index.js +1 -0
- package/dist/lit/components/table/index.d.ts +1 -2
- package/dist/lit/components/table/index.js +5 -9
- package/dist/lit/components/tabs/index.d.ts +3 -3
- package/dist/lit/components/tabs/index.js +3 -0
- package/dist/lit/components/validation/index.d.ts +1 -2
- package/dist/lit/components/validation/index.js +16 -1
- package/dist/lit/index.d.ts +2 -0
- package/dist/lit/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
/* ============================================
|
|
2
|
+
<xm-date-range /> — preset rail + calendar range picker.
|
|
3
|
+
|
|
4
|
+
A field-styled trigger opens an anchored popover (role="dialog") holding a
|
|
5
|
+
vertical preset rail and a calendar grid. The popover surface chrome
|
|
6
|
+
(inverse-surface fill, hairline border, level3 elevation, edge-flip, motion)
|
|
7
|
+
is owned by the composed <xm-overlay> in the `menu` tier; this file styles the
|
|
8
|
+
trigger and the panel that rides inside the overlay body. Inputs are the
|
|
9
|
+
card tier, so all ink is inverse-on-surface (POLICIES 7a).
|
|
10
|
+
|
|
11
|
+
Selected endpoints fill with --md-sys-color-primary-container (circular,
|
|
12
|
+
corner-full). The in-range band is a softer translucent coral derived from
|
|
13
|
+
that same container via color-mix (token-only ingredients) so the run between
|
|
14
|
+
the two endpoints reads as one continuous selection. The active preset is a
|
|
15
|
+
solid --md-sys-color-primary pill. Severity is never hue here — no error
|
|
16
|
+
tokens; the invalid-range message is icon + copy (AD-11).
|
|
17
|
+
|
|
18
|
+
BEM block: `date-range`. Registered in scripts/check-bem.sh STRICT_BLOCKS.
|
|
19
|
+
Elements: __trigger __icon __value __panel __layout __rail __preset
|
|
20
|
+
__calendar __cal-head __month __nav __grid __weekday __cell __day __sr-only
|
|
21
|
+
__alert __alert-icon __footer __btn.
|
|
22
|
+
Modifiers: __trigger--open · __value--placeholder · __preset--active ·
|
|
23
|
+
__cell--in-range/--start/--end · __day--today/--selected/--muted ·
|
|
24
|
+
__btn--apply.
|
|
25
|
+
============================================ */
|
|
26
|
+
|
|
27
|
+
/* ---------- Trigger ---------- */
|
|
28
|
+
.date-range__trigger {
|
|
29
|
+
appearance: none;
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
gap: var(--s-2);
|
|
33
|
+
min-width: 220px;
|
|
34
|
+
padding: var(--s-2) var(--s-3);
|
|
35
|
+
background: var(--md-sys-color-inverse-surface);
|
|
36
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
37
|
+
border-radius: var(--md-sys-shape-corner-button);
|
|
38
|
+
color: var(--md-sys-color-inverse-on-surface);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
text-align: start;
|
|
41
|
+
font:
|
|
42
|
+
var(--md-sys-typescale-body-small-weight)
|
|
43
|
+
var(--md-sys-typescale-body-small-size) /
|
|
44
|
+
var(--md-sys-typescale-body-small-line-height)
|
|
45
|
+
var(--md-sys-typescale-body-small-font);
|
|
46
|
+
transition:
|
|
47
|
+
border-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
48
|
+
box-shadow var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
49
|
+
}
|
|
50
|
+
.date-range__trigger:hover { border-color: var(--md-sys-color-outline); }
|
|
51
|
+
.date-range__trigger:focus { outline: none; }
|
|
52
|
+
.date-range__trigger:focus-visible,
|
|
53
|
+
.date-range__trigger--open {
|
|
54
|
+
border-color: var(--md-sys-color-primary);
|
|
55
|
+
box-shadow: var(--xm-state-focus-ring);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.date-range__icon {
|
|
59
|
+
display: inline-flex;
|
|
60
|
+
flex-shrink: 0;
|
|
61
|
+
color: var(--xm-color-inverse-on-surface-muted);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.date-range__value {
|
|
65
|
+
flex: 1;
|
|
66
|
+
min-width: 0;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
text-overflow: ellipsis;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
}
|
|
71
|
+
.date-range__value--placeholder {
|
|
72
|
+
color: var(--xm-color-inverse-on-surface-muted);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* ---------- Panel (rides inside overlay body; no chrome of its own) ---------- */
|
|
76
|
+
.date-range__panel {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
outline: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.date-range__layout {
|
|
83
|
+
display: flex;
|
|
84
|
+
gap: var(--s-4);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* ---------- Preset rail ---------- */
|
|
88
|
+
.date-range__rail {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
gap: var(--s-1);
|
|
92
|
+
min-width: 132px;
|
|
93
|
+
padding-inline-end: var(--s-3);
|
|
94
|
+
border-inline-end: 1px solid var(--md-sys-color-outline-variant);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.date-range__preset {
|
|
98
|
+
appearance: none;
|
|
99
|
+
text-align: start;
|
|
100
|
+
padding: var(--s-2) var(--s-3);
|
|
101
|
+
background: transparent;
|
|
102
|
+
border: 1px solid transparent;
|
|
103
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
104
|
+
color: var(--md-sys-color-inverse-on-surface);
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
font:
|
|
107
|
+
var(--md-sys-typescale-label-large-weight)
|
|
108
|
+
var(--md-sys-typescale-label-large-size) /
|
|
109
|
+
var(--md-sys-typescale-label-large-line-height)
|
|
110
|
+
var(--md-sys-typescale-label-large-font);
|
|
111
|
+
transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
112
|
+
}
|
|
113
|
+
.date-range__preset:hover {
|
|
114
|
+
background: color-mix(in oklab, var(--md-sys-color-inverse-on-surface) var(--md-sys-state-hover-state-layer-opacity), transparent);
|
|
115
|
+
}
|
|
116
|
+
.date-range__preset:focus { outline: none; }
|
|
117
|
+
.date-range__preset:focus-visible { box-shadow: var(--xm-state-focus-ring); }
|
|
118
|
+
.date-range__preset--active {
|
|
119
|
+
background: var(--md-sys-color-primary);
|
|
120
|
+
color: var(--md-sys-color-on-primary);
|
|
121
|
+
}
|
|
122
|
+
.date-range__preset--active:hover { background: var(--md-sys-color-primary); }
|
|
123
|
+
|
|
124
|
+
/* ---------- Calendar ---------- */
|
|
125
|
+
.date-range__calendar {
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
gap: var(--s-2);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.date-range__cal-head {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: space-between;
|
|
135
|
+
gap: var(--s-2);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.date-range__month {
|
|
139
|
+
flex: 1;
|
|
140
|
+
text-align: center;
|
|
141
|
+
color: var(--md-sys-color-inverse-on-surface);
|
|
142
|
+
font:
|
|
143
|
+
var(--md-sys-typescale-title-small-weight)
|
|
144
|
+
var(--md-sys-typescale-title-small-size) /
|
|
145
|
+
var(--md-sys-typescale-title-small-line-height)
|
|
146
|
+
var(--md-sys-typescale-title-small-font);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.date-range__nav {
|
|
150
|
+
appearance: none;
|
|
151
|
+
display: inline-flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
justify-content: center;
|
|
154
|
+
width: 28px;
|
|
155
|
+
height: 28px;
|
|
156
|
+
padding: 0;
|
|
157
|
+
background: none;
|
|
158
|
+
border: none;
|
|
159
|
+
border-radius: var(--md-sys-shape-corner-extra-small);
|
|
160
|
+
color: var(--xm-color-inverse-on-surface-muted);
|
|
161
|
+
cursor: pointer;
|
|
162
|
+
transition: color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
163
|
+
}
|
|
164
|
+
.date-range__nav:hover { color: var(--md-sys-color-inverse-on-surface); }
|
|
165
|
+
.date-range__nav:focus { outline: none; }
|
|
166
|
+
.date-range__nav:focus-visible { box-shadow: var(--xm-state-focus-ring); }
|
|
167
|
+
|
|
168
|
+
.date-range__grid {
|
|
169
|
+
display: grid;
|
|
170
|
+
grid-template-columns: repeat(7, 36px);
|
|
171
|
+
gap: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Row wrappers carry role="row" for the ARIA grid; display:contents keeps the
|
|
175
|
+
columnheaders/gridcells as direct items of the 7-column grid so the visual
|
|
176
|
+
layout is unchanged. */
|
|
177
|
+
.date-range__weekdays,
|
|
178
|
+
.date-range__week {
|
|
179
|
+
display: contents;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.date-range__weekday {
|
|
183
|
+
display: inline-flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
height: 28px;
|
|
187
|
+
color: var(--xm-color-inverse-on-surface-muted);
|
|
188
|
+
font:
|
|
189
|
+
var(--md-sys-typescale-label-medium-weight)
|
|
190
|
+
var(--md-sys-typescale-label-medium-size) /
|
|
191
|
+
var(--md-sys-typescale-label-medium-line-height)
|
|
192
|
+
var(--md-sys-typescale-label-medium-font);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* The cell carries the in-range band so it spans the full 36px column with no
|
|
196
|
+
inter-cell gap — the band reads continuous across a week. */
|
|
197
|
+
.date-range__cell {
|
|
198
|
+
display: inline-flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
width: 36px;
|
|
202
|
+
height: 36px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.date-range__cell--in-range {
|
|
206
|
+
background: color-mix(in oklab, var(--md-sys-color-primary-container) 55%, transparent);
|
|
207
|
+
}
|
|
208
|
+
/* Round the band ends at the endpoints so the run has soft caps. */
|
|
209
|
+
.date-range__cell--start {
|
|
210
|
+
background: color-mix(in oklab, var(--md-sys-color-primary-container) 55%, transparent);
|
|
211
|
+
border-start-start-radius: var(--md-sys-shape-corner-full);
|
|
212
|
+
border-end-start-radius: var(--md-sys-shape-corner-full);
|
|
213
|
+
}
|
|
214
|
+
.date-range__cell--end {
|
|
215
|
+
background: color-mix(in oklab, var(--md-sys-color-primary-container) 55%, transparent);
|
|
216
|
+
border-start-end-radius: var(--md-sys-shape-corner-full);
|
|
217
|
+
border-end-end-radius: var(--md-sys-shape-corner-full);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.date-range__day {
|
|
221
|
+
appearance: none;
|
|
222
|
+
display: inline-flex;
|
|
223
|
+
align-items: center;
|
|
224
|
+
justify-content: center;
|
|
225
|
+
width: 32px;
|
|
226
|
+
height: 32px;
|
|
227
|
+
padding: 0;
|
|
228
|
+
background: transparent;
|
|
229
|
+
border: 1px solid transparent;
|
|
230
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
231
|
+
color: var(--md-sys-color-inverse-on-surface);
|
|
232
|
+
cursor: pointer;
|
|
233
|
+
font:
|
|
234
|
+
var(--md-sys-typescale-body-small-weight)
|
|
235
|
+
var(--md-sys-typescale-body-small-size) /
|
|
236
|
+
var(--md-sys-typescale-body-small-line-height)
|
|
237
|
+
var(--md-sys-typescale-body-small-font);
|
|
238
|
+
transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
239
|
+
}
|
|
240
|
+
.date-range__day:hover {
|
|
241
|
+
background: color-mix(in oklab, var(--md-sys-color-inverse-on-surface) var(--md-sys-state-hover-state-layer-opacity), transparent);
|
|
242
|
+
}
|
|
243
|
+
.date-range__day:focus { outline: none; }
|
|
244
|
+
.date-range__day:focus-visible { box-shadow: var(--xm-state-focus-ring); }
|
|
245
|
+
|
|
246
|
+
.date-range__day--muted { color: var(--xm-color-inverse-on-surface-muted); }
|
|
247
|
+
|
|
248
|
+
.date-range__day--today { border-color: var(--md-sys-color-primary); }
|
|
249
|
+
|
|
250
|
+
.date-range__day--selected {
|
|
251
|
+
background: var(--md-sys-color-primary-container);
|
|
252
|
+
color: var(--md-sys-color-on-primary-container);
|
|
253
|
+
}
|
|
254
|
+
.date-range__day--selected:hover { background: var(--md-sys-color-primary-container); }
|
|
255
|
+
|
|
256
|
+
/* ---------- Screen-reader-only live region + invalid alert ---------- */
|
|
257
|
+
.date-range__sr-only {
|
|
258
|
+
position: absolute;
|
|
259
|
+
width: 1px;
|
|
260
|
+
height: 1px;
|
|
261
|
+
overflow: hidden;
|
|
262
|
+
clip: rect(0 0 0 0);
|
|
263
|
+
white-space: nowrap;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.date-range__alert {
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: center;
|
|
269
|
+
gap: var(--s-2);
|
|
270
|
+
margin-top: var(--s-2);
|
|
271
|
+
color: var(--md-sys-color-inverse-on-surface);
|
|
272
|
+
font:
|
|
273
|
+
var(--md-sys-typescale-label-medium-weight)
|
|
274
|
+
var(--md-sys-typescale-label-medium-size) /
|
|
275
|
+
var(--md-sys-typescale-label-medium-line-height)
|
|
276
|
+
var(--md-sys-typescale-label-medium-font);
|
|
277
|
+
}
|
|
278
|
+
.date-range__alert-icon {
|
|
279
|
+
display: inline-flex;
|
|
280
|
+
flex-shrink: 0;
|
|
281
|
+
color: var(--md-sys-color-primary);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/* ---------- Footer ---------- */
|
|
285
|
+
.date-range__footer {
|
|
286
|
+
display: flex;
|
|
287
|
+
justify-content: flex-end;
|
|
288
|
+
gap: var(--s-2);
|
|
289
|
+
margin-top: var(--s-3);
|
|
290
|
+
padding-top: var(--s-3);
|
|
291
|
+
border-top: 1px solid var(--md-sys-color-outline-variant);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.date-range__btn {
|
|
295
|
+
appearance: none;
|
|
296
|
+
padding: var(--s-2) var(--s-4);
|
|
297
|
+
border-radius: var(--md-sys-shape-corner-button);
|
|
298
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
299
|
+
background: transparent;
|
|
300
|
+
color: var(--md-sys-color-inverse-on-surface);
|
|
301
|
+
cursor: pointer;
|
|
302
|
+
font:
|
|
303
|
+
var(--md-sys-typescale-label-large-weight)
|
|
304
|
+
var(--md-sys-typescale-label-large-size) /
|
|
305
|
+
var(--md-sys-typescale-label-large-line-height)
|
|
306
|
+
var(--md-sys-typescale-label-large-font);
|
|
307
|
+
transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
308
|
+
}
|
|
309
|
+
.date-range__btn:hover {
|
|
310
|
+
background: color-mix(in oklab, var(--md-sys-color-inverse-on-surface) var(--md-sys-state-hover-state-layer-opacity), transparent);
|
|
311
|
+
}
|
|
312
|
+
.date-range__btn:focus { outline: none; }
|
|
313
|
+
.date-range__btn:focus-visible { box-shadow: var(--xm-state-focus-ring); }
|
|
314
|
+
|
|
315
|
+
.date-range__btn--apply {
|
|
316
|
+
background: var(--md-sys-color-primary);
|
|
317
|
+
border-color: transparent;
|
|
318
|
+
color: var(--md-sys-color-on-primary);
|
|
319
|
+
}
|
|
320
|
+
.date-range__btn--apply:hover { background: var(--md-sys-color-primary); }
|
|
321
|
+
.date-range__btn--apply[aria-disabled="true"] {
|
|
322
|
+
opacity: 0.45;
|
|
323
|
+
cursor: not-allowed;
|
|
324
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import type { TemplateResult } from "lit";
|
|
3
|
+
export interface DateRangeChangeDetail {
|
|
4
|
+
from: string | null;
|
|
5
|
+
to: string | null;
|
|
6
|
+
}
|
|
7
|
+
export declare class XmDateRange extends LitElement {
|
|
8
|
+
from: string | null;
|
|
9
|
+
to: string | null;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
open: boolean;
|
|
12
|
+
private _id;
|
|
13
|
+
private _draftFrom;
|
|
14
|
+
private _draftTo;
|
|
15
|
+
private _view;
|
|
16
|
+
private _focusDay;
|
|
17
|
+
private _liveMsg;
|
|
18
|
+
private _activePreset;
|
|
19
|
+
private _overlay;
|
|
20
|
+
private _trigger;
|
|
21
|
+
private _panel;
|
|
22
|
+
private _closing;
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
private _onDocPointer;
|
|
26
|
+
private _initDraft;
|
|
27
|
+
private _toggle;
|
|
28
|
+
private _close;
|
|
29
|
+
private _onOverlayClose;
|
|
30
|
+
private _focusRovingDay;
|
|
31
|
+
private _applyPreset;
|
|
32
|
+
private _pickDay;
|
|
33
|
+
private get _invalid();
|
|
34
|
+
private _apply;
|
|
35
|
+
private _clear;
|
|
36
|
+
private _emit;
|
|
37
|
+
private _shiftMonth;
|
|
38
|
+
private _onGridKey;
|
|
39
|
+
private _panelFocusables;
|
|
40
|
+
private _onPanelKey;
|
|
41
|
+
private _daysInMonth;
|
|
42
|
+
protected willUpdate(changed: Map<string, unknown>): void;
|
|
43
|
+
protected updated(changed: Map<string, unknown>): void;
|
|
44
|
+
render(): TemplateResult;
|
|
45
|
+
private _renderTriggerValue;
|
|
46
|
+
private _renderPanel;
|
|
47
|
+
private _renderRail;
|
|
48
|
+
private _renderCalendar;
|
|
49
|
+
private _renderWeeks;
|
|
50
|
+
private _renderDay;
|
|
51
|
+
private _renderFooter;
|
|
52
|
+
}
|
|
53
|
+
declare global {
|
|
54
|
+
interface HTMLElementTagNameMap {
|
|
55
|
+
"xm-date-range": XmDateRange;
|
|
56
|
+
}
|
|
57
|
+
}
|