tyrell-components 1.0.0-TC52 → 1.0.0-TC53
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/css/tyrell-theme.css +25 -2
- package/css/tyrell.css +4 -0
- package/dist/tyrell-colors-static.css +1 -316
- package/dist/tyrell-theme.css +1 -1443
- package/dist/tyrell.css +1 -1390
- package/dist/tyrell.js +1 -1
- package/lib/base/ty-component.js +196 -196
- package/lib/components/button.d.ts +1 -1
- package/lib/components/button.js +260 -259
- package/lib/components/calendar-month.d.ts +2 -2
- package/lib/components/calendar-month.js +426 -416
- package/lib/components/calendar-navigation.js +238 -238
- package/lib/components/calendar.js +605 -602
- package/lib/components/checkbox.d.ts +1 -1
- package/lib/components/checkbox.js +273 -272
- package/lib/components/copy.d.ts +1 -1
- package/lib/components/copy.js +279 -278
- package/lib/components/date-picker.d.ts +1 -1
- package/lib/components/date-picker.js +1103 -1108
- package/lib/components/file-upload.js +404 -404
- package/lib/components/icon.js +141 -141
- package/lib/components/input.d.ts +1 -1
- package/lib/components/input.js +593 -596
- package/lib/components/modal.js +319 -319
- package/lib/components/option.js +167 -167
- package/lib/components/popup.js +233 -233
- package/lib/components/radio.d.ts +2 -2
- package/lib/components/radio.js +407 -406
- package/lib/components/resize-observer.js +67 -67
- package/lib/components/scroll-container.js +294 -294
- package/lib/components/select.d.ts +1 -1
- package/lib/components/select.js +1524 -1532
- package/lib/components/selected-tags.js +184 -184
- package/lib/components/step.js +62 -62
- package/lib/components/switch.d.ts +1 -1
- package/lib/components/switch.js +214 -213
- package/lib/components/tab.js +62 -62
- package/lib/components/tabs.js +507 -507
- package/lib/components/tag.d.ts +1 -1
- package/lib/components/tag.js +236 -235
- package/lib/components/textarea.d.ts +1 -1
- package/lib/components/textarea.js +457 -456
- package/lib/components/tooltip.js +283 -283
- package/lib/components/wizard.js +384 -384
- package/lib/icons/heroicons/micro.js +392 -392
- package/lib/icons/heroicons/mini.js +382 -382
- package/lib/icons/heroicons/outline.js +337 -337
- package/lib/icons/heroicons/solid.js +407 -407
- package/lib/icons/lucide.js +22843 -22843
- package/lib/icons/material/filled.js +9653 -9653
- package/lib/icons/material/outlined.js +10271 -10271
- package/lib/icons/material/round.js +10495 -10495
- package/lib/icons/material/sharp.js +9905 -9905
- package/lib/icons/material/two-tone.js +12792 -12792
- package/lib/index.js +21 -21
- package/lib/styles/button.js +176 -288
- package/lib/styles/calendar-month.js +123 -183
- package/lib/styles/calendar-navigation.js +60 -79
- package/lib/styles/calendar.js +8 -9
- package/lib/styles/checkbox.js +45 -72
- package/lib/styles/copy.js +67 -91
- package/lib/styles/custom-scrollbar.js +80 -100
- package/lib/styles/date-picker.js +261 -331
- package/lib/styles/field-size.d.ts +6 -0
- package/lib/styles/field-size.js +91 -0
- package/lib/styles/file-upload.js +139 -169
- package/lib/styles/icon.js +92 -156
- package/lib/styles/input.js +125 -241
- package/lib/styles/modal.js +67 -102
- package/lib/styles/option.d.ts +1 -1
- package/lib/styles/option.js +47 -67
- package/lib/styles/popup.js +34 -65
- package/lib/styles/radio.js +69 -96
- package/lib/styles/resize-observer.js +2 -5
- package/lib/styles/scroll-container.js +100 -130
- package/lib/styles/select-base.js +525 -778
- package/lib/styles/select.js +140 -228
- package/lib/styles/step.js +22 -29
- package/lib/styles/switch.js +34 -55
- package/lib/styles/tab.js +22 -29
- package/lib/styles/tabs.js +171 -252
- package/lib/styles/tag.js +135 -188
- package/lib/styles/textarea.d.ts +1 -1
- package/lib/styles/textarea.js +205 -271
- package/lib/styles/tooltip.js +3 -3
- package/lib/styles/wizard.js +170 -226
- package/lib/types/common.d.ts +2 -0
- package/lib/types/common.js +6 -5
- package/lib/utils/calendar-utils.js +100 -100
- package/lib/utils/custom-scrollbar.js +272 -272
- package/lib/utils/flavor-sheet.js +14 -14
- package/lib/utils/icon-registry.js +127 -127
- package/lib/utils/loader-registry.js +3 -3
- package/lib/utils/locale.js +34 -34
- package/lib/utils/mobile.js +1 -1
- package/lib/utils/number-format.js +54 -54
- package/lib/utils/positioning.js +212 -212
- package/lib/utils/property-capture.js +36 -36
- package/lib/utils/property-manager.js +125 -125
- package/lib/utils/resize-observer.js +23 -23
- package/lib/utils/scroll-lock.js +57 -57
- package/lib/utils/styles.js +17 -17
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -4
package/lib/components/button.js
CHANGED
|
@@ -1,271 +1,272 @@
|
|
|
1
|
+
import { DEFAULT_SIZE } from "../types/common.js";
|
|
1
2
|
import { TyComponent } from "../base/ty-component.js";
|
|
2
3
|
import { ensureStyles, buildClassList } from "../utils/styles.js";
|
|
3
4
|
import { buttonStyles, buttonCustomFlavorCss } from "../styles/button.js";
|
|
4
5
|
import { syncCustomFlavorSheet } from "../utils/flavor-sheet.js";
|
|
5
6
|
import { getLoaderSvg } from "../utils/loader-registry.js";
|
|
6
7
|
export class TyButton extends TyComponent {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this._structureInitialized = false;
|
|
11
|
+
this._customFlavorSheet = null;
|
|
12
|
+
ensureStyles(this.shadowRoot, { css: buttonStyles, id: "ty-button" });
|
|
13
|
+
}
|
|
14
|
+
onConnect() {
|
|
15
|
+
this._syncCustomFlavor();
|
|
16
|
+
}
|
|
17
|
+
onDisconnect() { }
|
|
18
|
+
onPropertiesChanged(changes) {
|
|
19
|
+
if (changes.some((c) => c.name === "flavor")) {
|
|
20
|
+
this._syncCustomFlavor();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
_syncCustomFlavor() {
|
|
24
|
+
const { base } = this.parseFlavor();
|
|
25
|
+
this._customFlavorSheet = syncCustomFlavorSheet(this.shadowRoot, this._customFlavorSheet, base, () => buttonCustomFlavorCss(base));
|
|
26
|
+
}
|
|
27
|
+
get flavor() {
|
|
28
|
+
return this.getProperty("flavor");
|
|
29
|
+
}
|
|
30
|
+
set flavor(value) {
|
|
31
|
+
this.setProperty("flavor", value);
|
|
32
|
+
}
|
|
33
|
+
get size() {
|
|
34
|
+
return this.getProperty("size");
|
|
35
|
+
}
|
|
36
|
+
set size(value) {
|
|
37
|
+
this.setProperty("size", value);
|
|
38
|
+
}
|
|
39
|
+
get appearance() {
|
|
40
|
+
return this.getProperty("appearance");
|
|
41
|
+
}
|
|
42
|
+
set appearance(value) {
|
|
43
|
+
this.setProperty("appearance", value);
|
|
44
|
+
}
|
|
45
|
+
get disabled() {
|
|
46
|
+
return this.getProperty("disabled");
|
|
47
|
+
}
|
|
48
|
+
set disabled(value) {
|
|
49
|
+
this.setProperty("disabled", value);
|
|
50
|
+
}
|
|
51
|
+
get loading() {
|
|
52
|
+
return this.getProperty("loading");
|
|
53
|
+
}
|
|
54
|
+
set loading(value) {
|
|
55
|
+
this.setProperty("loading", value);
|
|
56
|
+
}
|
|
57
|
+
get type() {
|
|
58
|
+
return this.getProperty("type");
|
|
59
|
+
}
|
|
60
|
+
set type(value) {
|
|
61
|
+
this.setProperty("type", value);
|
|
62
|
+
}
|
|
63
|
+
get pill() {
|
|
64
|
+
return this.getProperty("pill");
|
|
65
|
+
}
|
|
66
|
+
set pill(value) {
|
|
67
|
+
this.setProperty("pill", value);
|
|
68
|
+
}
|
|
69
|
+
get action() {
|
|
70
|
+
return this.getProperty("action");
|
|
71
|
+
}
|
|
72
|
+
set action(value) {
|
|
73
|
+
this.setProperty("action", value);
|
|
74
|
+
}
|
|
75
|
+
get muted() {
|
|
76
|
+
return this.getProperty("muted");
|
|
77
|
+
}
|
|
78
|
+
set muted(value) {
|
|
79
|
+
this.setProperty("muted", value);
|
|
80
|
+
}
|
|
81
|
+
get wide() {
|
|
82
|
+
return this.getProperty("wide");
|
|
83
|
+
}
|
|
84
|
+
set wide(value) {
|
|
85
|
+
this.setProperty("wide", value);
|
|
86
|
+
}
|
|
87
|
+
get name() {
|
|
88
|
+
return this.getProperty("name");
|
|
89
|
+
}
|
|
90
|
+
set name(value) {
|
|
91
|
+
this.setProperty("name", value);
|
|
92
|
+
}
|
|
93
|
+
get value() {
|
|
94
|
+
return this.getProperty("value");
|
|
95
|
+
}
|
|
96
|
+
set value(value) {
|
|
97
|
+
this.setProperty("value", value);
|
|
98
|
+
}
|
|
99
|
+
parseFlavor() {
|
|
100
|
+
const f = this.flavor || "";
|
|
101
|
+
if (f.length > 1 && f.endsWith("+"))
|
|
102
|
+
return { base: f.slice(0, -1), tone: "+" };
|
|
103
|
+
if (f.length > 1 && f.endsWith("-"))
|
|
104
|
+
return { base: f.slice(0, -1), tone: "-" };
|
|
105
|
+
return { base: f, tone: "" };
|
|
106
|
+
}
|
|
107
|
+
buildClasses() {
|
|
108
|
+
const { base, tone } = this.parseFlavor();
|
|
109
|
+
return buildClassList(base, this.size, this.appearance, this.pill && "pill", this.action && "action", this.muted && "muted", tone === "+" && "tone-plus", tone === "-" && "tone-minus");
|
|
110
|
+
}
|
|
111
|
+
handleFormAction() {
|
|
112
|
+
const form = this._internals.form;
|
|
113
|
+
if (!form)
|
|
114
|
+
return;
|
|
115
|
+
switch (this.type) {
|
|
116
|
+
case "submit":
|
|
117
|
+
if (this.name && this.value) {
|
|
118
|
+
this._internals.setFormValue(this.value);
|
|
119
|
+
}
|
|
120
|
+
form.requestSubmit();
|
|
121
|
+
break;
|
|
122
|
+
case "reset":
|
|
123
|
+
form.reset();
|
|
124
|
+
break;
|
|
125
|
+
case "button":
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
initializeButtonStructure() {
|
|
130
|
+
const shadow = this.shadowRoot;
|
|
131
|
+
const classes = this.buildClasses();
|
|
132
|
+
const button = document.createElement("button");
|
|
133
|
+
button.disabled = this.disabled;
|
|
134
|
+
button.className = classes;
|
|
135
|
+
const loader = document.createElement("span");
|
|
136
|
+
loader.className = "loader-icon";
|
|
137
|
+
loader.setAttribute("aria-hidden", "true");
|
|
138
|
+
loader.innerHTML = getLoaderSvg();
|
|
139
|
+
const startSlot = document.createElement("slot");
|
|
140
|
+
startSlot.name = "start";
|
|
141
|
+
startSlot.className = "start";
|
|
142
|
+
const defaultSlot = document.createElement("slot");
|
|
143
|
+
const endSlot = document.createElement("slot");
|
|
144
|
+
endSlot.name = "end";
|
|
145
|
+
endSlot.className = "end";
|
|
146
|
+
button.appendChild(loader);
|
|
147
|
+
button.appendChild(startSlot);
|
|
148
|
+
button.appendChild(defaultSlot);
|
|
149
|
+
button.appendChild(endSlot);
|
|
150
|
+
button.addEventListener("click", (e) => {
|
|
151
|
+
if (this.disabled || this.loading)
|
|
152
|
+
return;
|
|
153
|
+
e.stopPropagation();
|
|
154
|
+
this.handleFormAction();
|
|
155
|
+
this.dispatchEvent(new CustomEvent("click", {
|
|
156
|
+
bubbles: true,
|
|
157
|
+
composed: true,
|
|
158
|
+
detail: { originalEvent: e },
|
|
159
|
+
}));
|
|
160
|
+
});
|
|
161
|
+
this.applyLoadingState(button);
|
|
162
|
+
shadow.appendChild(button);
|
|
163
|
+
this._structureInitialized = true;
|
|
164
|
+
}
|
|
165
|
+
applyLoadingState(button) {
|
|
166
|
+
const isLoading = this.loading;
|
|
167
|
+
button.classList.toggle("loading", isLoading);
|
|
168
|
+
if (isLoading) {
|
|
169
|
+
button.setAttribute("aria-busy", "true");
|
|
170
|
+
const loader = button.querySelector(".loader-icon");
|
|
171
|
+
if (loader)
|
|
172
|
+
loader.innerHTML = getLoaderSvg();
|
|
173
|
+
}
|
|
174
|
+
else {
|
|
175
|
+
button.removeAttribute("aria-busy");
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
render() {
|
|
179
|
+
const shadow = this.shadowRoot;
|
|
180
|
+
if (!this._structureInitialized) {
|
|
181
|
+
this.initializeButtonStructure();
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
const classes = this.buildClasses();
|
|
185
|
+
const button = shadow.querySelector("button");
|
|
186
|
+
if (button) {
|
|
187
|
+
button.disabled = this.disabled;
|
|
188
|
+
button.className = classes;
|
|
189
|
+
this.applyLoadingState(button);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
191
192
|
}
|
|
192
193
|
TyButton.formAssociated = true;
|
|
193
194
|
TyButton.properties = {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
195
|
+
flavor: {
|
|
196
|
+
type: "string",
|
|
197
|
+
visual: true,
|
|
198
|
+
default: "neutral",
|
|
199
|
+
},
|
|
200
|
+
size: {
|
|
201
|
+
type: "string",
|
|
202
|
+
visual: true,
|
|
203
|
+
default: DEFAULT_SIZE,
|
|
204
|
+
validate: (v) => ["xs", "sm", "md", "lg", "xl"].includes(v),
|
|
205
|
+
coerce: (v) => {
|
|
206
|
+
if (!["xs", "sm", "md", "lg", "xl"].includes(v)) {
|
|
207
|
+
console.warn(`[ty-button] Invalid size '${v}'. Using '${DEFAULT_SIZE}'.`);
|
|
208
|
+
return DEFAULT_SIZE;
|
|
209
|
+
}
|
|
210
|
+
return v;
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
appearance: {
|
|
214
|
+
type: "string",
|
|
215
|
+
visual: true,
|
|
216
|
+
default: "solid",
|
|
217
|
+
validate: (v) => ["solid", "outlined", "ghost"].includes(v),
|
|
218
|
+
coerce: (v) => {
|
|
219
|
+
if (!["solid", "outlined", "ghost"].includes(v)) {
|
|
220
|
+
console.warn(`[ty-button] Invalid appearance '${v}'. Using 'solid'.`);
|
|
221
|
+
return "solid";
|
|
222
|
+
}
|
|
223
|
+
return v;
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
disabled: {
|
|
227
|
+
type: "boolean",
|
|
228
|
+
visual: true,
|
|
229
|
+
default: false,
|
|
230
|
+
},
|
|
231
|
+
loading: {
|
|
232
|
+
type: "boolean",
|
|
233
|
+
visual: true,
|
|
234
|
+
default: false,
|
|
235
|
+
},
|
|
236
|
+
type: {
|
|
237
|
+
type: "string",
|
|
238
|
+
visual: false,
|
|
239
|
+
default: "submit",
|
|
240
|
+
},
|
|
241
|
+
pill: {
|
|
242
|
+
type: "boolean",
|
|
243
|
+
visual: true,
|
|
244
|
+
default: false,
|
|
245
|
+
},
|
|
246
|
+
action: {
|
|
247
|
+
type: "boolean",
|
|
248
|
+
visual: true,
|
|
249
|
+
default: false,
|
|
250
|
+
},
|
|
251
|
+
muted: {
|
|
252
|
+
type: "boolean",
|
|
253
|
+
visual: true,
|
|
254
|
+
default: false,
|
|
255
|
+
},
|
|
256
|
+
wide: {
|
|
257
|
+
type: "boolean",
|
|
258
|
+
visual: false,
|
|
259
|
+
default: false,
|
|
260
|
+
},
|
|
261
|
+
name: {
|
|
262
|
+
type: "string",
|
|
263
|
+
default: "",
|
|
264
|
+
},
|
|
265
|
+
value: {
|
|
266
|
+
type: "string",
|
|
267
|
+
default: "",
|
|
268
|
+
},
|
|
268
269
|
};
|
|
269
270
|
if (!customElements.get("ty-button")) {
|
|
270
|
-
|
|
271
|
+
customElements.define("ty-button", TyButton);
|
|
271
272
|
}
|
|
@@ -47,8 +47,8 @@ export declare class TyCalendarMonth extends HTMLElement {
|
|
|
47
47
|
private _focusedIndex;
|
|
48
48
|
private _cellElements;
|
|
49
49
|
/**
|
|
50
|
-
* Observed attributes
|
|
51
|
-
*
|
|
50
|
+
* Observed attributes. `display-year`/`display-month` mirror the
|
|
51
|
+
* displayYear/displayMonth properties (which are what ty-calendar drives).
|
|
52
52
|
*/
|
|
53
53
|
static get observedAttributes(): string[];
|
|
54
54
|
constructor();
|