@nordhealth/components 1.0.0-beta.2 → 1.0.0-beta.22
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/README.md +1 -1
- package/custom-elements.json +2008 -1621
- package/lib/Avatar.js +2 -0
- package/lib/Avatar.js.map +1 -0
- package/lib/Badge.js +1 -1
- package/lib/Badge.js.map +1 -1
- package/lib/Banner.js +2 -0
- package/lib/Banner.js.map +1 -0
- package/lib/Button.js +1 -1
- package/lib/Button.js.map +1 -1
- package/lib/Calendar-72e99fb9.js +13 -0
- package/lib/Calendar-72e99fb9.js.map +1 -0
- package/lib/Calendar.js +1 -1
- package/lib/Card.js +1 -1
- package/lib/Card.js.map +1 -1
- package/lib/Checkbox.js +1 -1
- package/lib/Checkbox.js.map +1 -1
- package/lib/CommandMenu.js +1 -1
- package/lib/CommandMenu.js.map +1 -1
- package/lib/CommandMenuAction.js +1 -1
- package/lib/CommandMenuAction.js.map +1 -1
- package/lib/Component-9d373ef3.js +2 -0
- package/lib/Component-9d373ef3.js.map +1 -0
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/DateSelectEvent.js +1 -1
- package/lib/DateSelectEvent.js.map +1 -1
- package/lib/DraftComponentMixin-9e4b7b34.js +2 -0
- package/lib/DraftComponentMixin-9e4b7b34.js.map +1 -0
- package/lib/EmptyState.js +1 -1
- package/lib/EmptyState.js.map +1 -1
- package/lib/EventController-d99ebeef.js +2 -0
- package/lib/EventController-d99ebeef.js.map +1 -0
- package/lib/Fieldset.js +1 -1
- package/lib/Fieldset.js.map +1 -1
- package/lib/{FocusableMixin-98e13999.js → FocusableMixin-ebb67709.js} +2 -2
- package/lib/{FocusableMixin-98e13999.js.map → FocusableMixin-ebb67709.js.map} +1 -1
- package/lib/FormAssociatedMixin-1f97ed66.js +2 -0
- package/lib/FormAssociatedMixin-1f97ed66.js.map +1 -0
- package/lib/FormField-50bd73d5.js +2 -0
- package/lib/FormField-50bd73d5.js.map +1 -0
- package/lib/Header.js +1 -1
- package/lib/Header.js.map +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Icon.js.map +1 -1
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/InputMixin-94d15730.js +2 -0
- package/lib/{InputMixin-33bc2df5.js.map → InputMixin-94d15730.js.map} +1 -1
- package/lib/Layout.js +1 -1
- package/lib/Layout.js.map +1 -1
- package/lib/LightDismissController-a35d0f66.js +2 -0
- package/lib/LightDismissController-a35d0f66.js.map +1 -0
- package/lib/{LightDomController-f56fa1a4.js → LightDomController-011334da.js} +2 -2
- package/lib/{LightDomController-f56fa1a4.js.map → LightDomController-011334da.js.map} +1 -1
- package/lib/NavGroup.js +1 -1
- package/lib/NavGroup.js.map +1 -1
- package/lib/NavItem.js +1 -1
- package/lib/NavItem.js.map +1 -1
- package/lib/Navigation.js +1 -1
- package/lib/Navigation.js.map +1 -1
- package/lib/ProgressBar.js +2 -0
- package/lib/ProgressBar.js.map +1 -0
- package/lib/Radio.js +1 -1
- package/lib/Radio.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/SlotController-683d0e7c.js +2 -0
- package/lib/SlotController-683d0e7c.js.map +1 -0
- package/lib/Spinner.js +1 -1
- package/lib/Spinner.js.map +1 -1
- package/lib/Stack.js +1 -1
- package/lib/Stack.js.map +1 -1
- package/lib/Table.js +1 -1
- package/lib/Table.js.map +1 -1
- package/lib/TextField-ece1c786.js +2 -0
- package/lib/TextField-ece1c786.js.map +1 -0
- package/lib/Textarea.js +1 -1
- package/lib/Textarea.js.map +1 -1
- package/lib/Tooltip.js +1 -1
- package/lib/Tooltip.js.map +1 -1
- package/lib/VisuallyHidden.js +1 -1
- package/lib/VisuallyHidden.js.map +1 -1
- package/lib/bundle.js +10 -10
- package/lib/bundle.js.map +1 -1
- package/lib/{class-map-61e9e8c1.js → class-map-87423405.js} +2 -2
- package/lib/{class-map-61e9e8c1.js.map → class-map-87423405.js.map} +1 -1
- package/lib/fsm-50373df9.js +2 -0
- package/lib/fsm-50373df9.js.map +1 -0
- package/lib/if-defined-fe657a02.js +7 -0
- package/lib/{if-defined-2a4c6dbc.js.map → if-defined-fe657a02.js.map} +1 -1
- package/lib/index.js +1 -1
- package/lib/{lit-element-9646ab7e.js → lit-element-74b6bb4b.js} +3 -3
- package/lib/{lit-element-9646ab7e.js.map → lit-element-74b6bb4b.js.map} +1 -1
- package/lib/month-view.js +1 -1
- package/lib/month-view.js.map +1 -1
- package/lib/number-3a8ef88a.js +7 -0
- package/lib/{number-e7cd246c.js.map → number-3a8ef88a.js.map} +1 -1
- package/lib/query-assigned-elements-37b095c4.js +26 -0
- package/lib/query-assigned-elements-37b095c4.js.map +1 -0
- package/lib/ref-7d028e3a.js +17 -0
- package/lib/ref-7d028e3a.js.map +1 -0
- package/lib/src/avatar/Avatar.d.ts +35 -0
- package/lib/src/avatar/Avatar.test.d.ts +1 -0
- package/lib/src/badge/Badge.d.ts +2 -4
- package/lib/src/banner/Banner.d.ts +23 -0
- package/lib/src/banner/Banner.test.d.ts +5 -0
- package/lib/src/button/Button.d.ts +6 -3
- package/lib/src/calendar/Calendar.d.ts +10 -4
- package/lib/src/calendar/Calendar.test.d.ts +2 -0
- package/lib/src/calendar/DateSelectEvent.d.ts +1 -2
- package/lib/src/card/Card.d.ts +2 -4
- package/lib/src/checkbox/Checkbox.d.ts +1 -1
- package/lib/src/command-menu/CommandMenu.d.ts +2 -4
- package/lib/src/common/controllers/EventController.d.ts +14 -0
- package/lib/src/common/controllers/FormDataController.d.ts +1 -1
- package/lib/src/common/controllers/LightDismissController.d.ts +1 -1
- package/lib/src/common/controllers/SlotController.d.ts +1 -1
- package/lib/src/common/controllers/SwipeController.d.ts +3 -5
- package/lib/src/common/fsm.d.ts +7 -0
- package/lib/src/date-picker/DatePicker.d.ts +4 -5
- package/lib/src/empty-state/EmptyState.d.ts +4 -6
- package/lib/src/fieldset/Fieldset.d.ts +2 -4
- package/lib/src/header/Header.test.d.ts +1 -0
- package/lib/src/icon/Icon.d.ts +2 -4
- package/lib/src/index.d.ts +3 -0
- package/lib/src/input/Input.d.ts +3 -3
- package/lib/src/layout/Layout.d.ts +1 -2
- package/lib/src/layout/Layout.test.d.ts +2 -0
- package/lib/src/progress-bar/ProgressBar.d.ts +38 -0
- package/lib/src/progress-bar/ProgressBar.test.d.ts +3 -0
- package/lib/src/radio/Radio.d.ts +1 -1
- package/lib/src/select/Select.d.ts +1 -1
- package/lib/src/spinner/Spinner.d.ts +2 -4
- package/lib/src/stack/Stack.d.ts +6 -4
- package/lib/src/stack/Stack.test.d.ts +2 -0
- package/lib/src/table/Table.d.ts +2 -4
- package/lib/src/textarea/Textarea.d.ts +1 -1
- package/lib/src/tooltip/Tooltip.d.ts +18 -22
- package/lib/src/tooltip/Tooltip.test.d.ts +1 -0
- package/lib/src/visually-hidden/VisuallyHidden.d.ts +2 -4
- package/lib/unsafe-html-989a642b.js +7 -0
- package/lib/{unsafe-html-4da54dd2.js.map → unsafe-html-989a642b.js.map} +1 -1
- package/package.json +17 -8
- package/lib/Calendar-55a0b169.js +0 -13
- package/lib/Calendar-55a0b169.js.map +0 -1
- package/lib/Component-a19be7c9.js +0 -2
- package/lib/Component-a19be7c9.js.map +0 -1
- package/lib/DraftComponentMixin-30345acf.js +0 -26
- package/lib/DraftComponentMixin-30345acf.js.map +0 -1
- package/lib/FormAssociatedMixin-e146e0ab.js +0 -2
- package/lib/FormAssociatedMixin-e146e0ab.js.map +0 -1
- package/lib/FormField-b1c18e6e.js +0 -2
- package/lib/FormField-b1c18e6e.js.map +0 -1
- package/lib/InputMixin-33bc2df5.js +0 -2
- package/lib/LightDismissController-cc5b4bf2.js +0 -2
- package/lib/LightDismissController-cc5b4bf2.js.map +0 -1
- package/lib/SlotController-5bfc47d1.js +0 -2
- package/lib/SlotController-5bfc47d1.js.map +0 -1
- package/lib/TextField-b4155167.js +0 -2
- package/lib/TextField-b4155167.js.map +0 -1
- package/lib/directive-helpers-e7b6bf4b.js +0 -7
- package/lib/directive-helpers-e7b6bf4b.js.map +0 -1
- package/lib/if-defined-2a4c6dbc.js +0 -7
- package/lib/number-e7cd246c.js +0 -7
- package/lib/ref-eb5cfa10.js +0 -12
- package/lib/ref-eb5cfa10.js.map +0 -1
- package/lib/unsafe-html-4da54dd2.js +0 -7
package/custom-elements.json
CHANGED
|
@@ -206,9 +206,161 @@
|
|
|
206
206
|
"name": "default",
|
|
207
207
|
"module": "\"./empty-state/EmptyState.js\""
|
|
208
208
|
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "js",
|
|
212
|
+
"name": "Banner",
|
|
213
|
+
"declaration": {
|
|
214
|
+
"name": "default",
|
|
215
|
+
"module": "\"./banner/Banner.js\""
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "js",
|
|
220
|
+
"name": "Avatar",
|
|
221
|
+
"declaration": {
|
|
222
|
+
"name": "default",
|
|
223
|
+
"module": "\"./avatar/Avatar.js\""
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "js",
|
|
228
|
+
"name": "ProgressBar",
|
|
229
|
+
"declaration": {
|
|
230
|
+
"name": "default",
|
|
231
|
+
"module": "\"./progress-bar/ProgressBar.js\""
|
|
232
|
+
}
|
|
209
233
|
}
|
|
210
234
|
]
|
|
211
235
|
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "javascript-module",
|
|
238
|
+
"path": "src/avatar/Avatar.ts",
|
|
239
|
+
"declarations": [
|
|
240
|
+
{
|
|
241
|
+
"kind": "class",
|
|
242
|
+
"description": "Avatar is used for showing a thumbnail representation of a user or entity.\nDefault avatar illustration is displayed when no src is specified.",
|
|
243
|
+
"name": "Avatar",
|
|
244
|
+
"members": [
|
|
245
|
+
{
|
|
246
|
+
"kind": "field",
|
|
247
|
+
"name": "state",
|
|
248
|
+
"type": {
|
|
249
|
+
"text": "States<typeof transition>"
|
|
250
|
+
},
|
|
251
|
+
"privacy": "private",
|
|
252
|
+
"default": "\"initial\""
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"kind": "field",
|
|
256
|
+
"name": "size",
|
|
257
|
+
"type": {
|
|
258
|
+
"text": "\"m\" | \"l\" | \"xl\""
|
|
259
|
+
},
|
|
260
|
+
"default": "\"m\"",
|
|
261
|
+
"description": "The size of the avatar.",
|
|
262
|
+
"attribute": "size",
|
|
263
|
+
"reflects": true
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "field",
|
|
267
|
+
"name": "src",
|
|
268
|
+
"type": {
|
|
269
|
+
"text": "string | undefined"
|
|
270
|
+
},
|
|
271
|
+
"description": "The URL of the avatar image uploaded by the user.",
|
|
272
|
+
"attribute": "src",
|
|
273
|
+
"reflects": true
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"kind": "field",
|
|
277
|
+
"name": "name",
|
|
278
|
+
"type": {
|
|
279
|
+
"text": "string"
|
|
280
|
+
},
|
|
281
|
+
"default": "\"\"",
|
|
282
|
+
"description": "The name of the person.",
|
|
283
|
+
"attribute": "name"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"kind": "method",
|
|
287
|
+
"name": "renderImage",
|
|
288
|
+
"privacy": "protected"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"kind": "method",
|
|
292
|
+
"name": "renderFallback",
|
|
293
|
+
"privacy": "protected"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"kind": "method",
|
|
297
|
+
"name": "handleLoad",
|
|
298
|
+
"privacy": "private"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"kind": "method",
|
|
302
|
+
"name": "handleError",
|
|
303
|
+
"privacy": "private"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"attributes": [
|
|
307
|
+
{
|
|
308
|
+
"name": "size",
|
|
309
|
+
"type": {
|
|
310
|
+
"text": "\"m\" | \"l\" | \"xl\""
|
|
311
|
+
},
|
|
312
|
+
"default": "\"m\"",
|
|
313
|
+
"description": "The size of the avatar.",
|
|
314
|
+
"fieldName": "size"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "src",
|
|
318
|
+
"type": {
|
|
319
|
+
"text": "string | undefined"
|
|
320
|
+
},
|
|
321
|
+
"description": "The URL of the avatar image uploaded by the user.",
|
|
322
|
+
"fieldName": "src"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "name",
|
|
326
|
+
"type": {
|
|
327
|
+
"text": "string"
|
|
328
|
+
},
|
|
329
|
+
"default": "\"\"",
|
|
330
|
+
"description": "The name of the person.",
|
|
331
|
+
"fieldName": "name"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"superclass": {
|
|
335
|
+
"name": "LitElement",
|
|
336
|
+
"package": "lit"
|
|
337
|
+
},
|
|
338
|
+
"status": "new",
|
|
339
|
+
"category": "image",
|
|
340
|
+
"tagName": "nord-avatar",
|
|
341
|
+
"customElement": true
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
"exports": [
|
|
345
|
+
{
|
|
346
|
+
"kind": "js",
|
|
347
|
+
"name": "default",
|
|
348
|
+
"declaration": {
|
|
349
|
+
"name": "Avatar",
|
|
350
|
+
"module": "src/avatar/Avatar.ts"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"kind": "custom-element-definition",
|
|
355
|
+
"name": "nord-avatar",
|
|
356
|
+
"declaration": {
|
|
357
|
+
"name": "Avatar",
|
|
358
|
+
"module": "src/avatar/Avatar.ts"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Always add the name of the person using the `name` property.\n- For the best results, use square images or images cropped into a square.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Try to avoid using landscape or portrait images as avatars. Let users crop their images before or after uploading if possible.\n\n</div>\n"
|
|
363
|
+
},
|
|
212
364
|
{
|
|
213
365
|
"kind": "javascript-module",
|
|
214
366
|
"path": "src/badge/Badge.ts",
|
|
@@ -234,20 +386,6 @@
|
|
|
234
386
|
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
235
387
|
"attribute": "type",
|
|
236
388
|
"reflects": true
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"kind": "field",
|
|
240
|
-
"name": "_warningLogged",
|
|
241
|
-
"type": {
|
|
242
|
-
"text": "boolean"
|
|
243
|
-
},
|
|
244
|
-
"privacy": "private",
|
|
245
|
-
"static": true,
|
|
246
|
-
"default": "false",
|
|
247
|
-
"inheritedFrom": {
|
|
248
|
-
"name": "DraftComponentMixin",
|
|
249
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
250
|
-
}
|
|
251
389
|
}
|
|
252
390
|
],
|
|
253
391
|
"attributes": [
|
|
@@ -261,17 +399,11 @@
|
|
|
261
399
|
"fieldName": "type"
|
|
262
400
|
}
|
|
263
401
|
],
|
|
264
|
-
"mixins": [
|
|
265
|
-
{
|
|
266
|
-
"name": "DraftComponentMixin",
|
|
267
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
268
|
-
}
|
|
269
|
-
],
|
|
270
402
|
"superclass": {
|
|
271
403
|
"name": "LitElement",
|
|
272
404
|
"package": "lit"
|
|
273
405
|
},
|
|
274
|
-
"status": "
|
|
406
|
+
"status": "ready",
|
|
275
407
|
"category": "text",
|
|
276
408
|
"tagName": "nord-badge",
|
|
277
409
|
"customElement": true
|
|
@@ -311,12 +443,12 @@
|
|
|
311
443
|
"name": ""
|
|
312
444
|
},
|
|
313
445
|
{
|
|
314
|
-
"description": "Used to place content
|
|
315
|
-
"name": "
|
|
446
|
+
"description": "Used to place content at the start of button text. Typically used for icons.",
|
|
447
|
+
"name": "start"
|
|
316
448
|
},
|
|
317
449
|
{
|
|
318
|
-
"description": "Used to place content
|
|
319
|
-
"name": "
|
|
450
|
+
"description": "Used to place content at the end of button text. Typically used for icons.",
|
|
451
|
+
"name": "end"
|
|
320
452
|
}
|
|
321
453
|
],
|
|
322
454
|
"members": [
|
|
@@ -325,6 +457,12 @@
|
|
|
325
457
|
"name": "buttonRef",
|
|
326
458
|
"privacy": "private"
|
|
327
459
|
},
|
|
460
|
+
{
|
|
461
|
+
"kind": "field",
|
|
462
|
+
"name": "events",
|
|
463
|
+
"privacy": "private",
|
|
464
|
+
"default": "new EventController(this)"
|
|
465
|
+
},
|
|
328
466
|
{
|
|
329
467
|
"kind": "field",
|
|
330
468
|
"name": "lightDom",
|
|
@@ -438,10 +576,23 @@
|
|
|
438
576
|
"name": "renderLightDom",
|
|
439
577
|
"privacy": "private"
|
|
440
578
|
},
|
|
579
|
+
{
|
|
580
|
+
"kind": "field",
|
|
581
|
+
"name": "handleOuterClick",
|
|
582
|
+
"privacy": "private"
|
|
583
|
+
},
|
|
441
584
|
{
|
|
442
585
|
"kind": "method",
|
|
443
586
|
"name": "handleClick",
|
|
444
|
-
"privacy": "private"
|
|
587
|
+
"privacy": "private",
|
|
588
|
+
"parameters": [
|
|
589
|
+
{
|
|
590
|
+
"name": "e",
|
|
591
|
+
"type": {
|
|
592
|
+
"text": "Event"
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
]
|
|
445
596
|
},
|
|
446
597
|
{
|
|
447
598
|
"kind": "field",
|
|
@@ -540,20 +691,6 @@
|
|
|
540
691
|
"name": "FocusableMixin",
|
|
541
692
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
542
693
|
}
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"kind": "field",
|
|
546
|
-
"name": "_warningLogged",
|
|
547
|
-
"type": {
|
|
548
|
-
"text": "boolean"
|
|
549
|
-
},
|
|
550
|
-
"privacy": "private",
|
|
551
|
-
"static": true,
|
|
552
|
-
"default": "false",
|
|
553
|
-
"inheritedFrom": {
|
|
554
|
-
"name": "DraftComponentMixin",
|
|
555
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
556
|
-
}
|
|
557
694
|
}
|
|
558
695
|
],
|
|
559
696
|
"attributes": [
|
|
@@ -666,17 +803,13 @@
|
|
|
666
803
|
{
|
|
667
804
|
"name": "FocusableMixin",
|
|
668
805
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"name": "DraftComponentMixin",
|
|
672
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
673
806
|
}
|
|
674
807
|
],
|
|
675
808
|
"superclass": {
|
|
676
809
|
"name": "LitElement",
|
|
677
810
|
"package": "lit"
|
|
678
811
|
},
|
|
679
|
-
"status": "
|
|
812
|
+
"status": "ready",
|
|
680
813
|
"category": "action",
|
|
681
814
|
"tagName": "nord-button",
|
|
682
815
|
"customElement": true
|
|
@@ -702,6 +835,74 @@
|
|
|
702
835
|
],
|
|
703
836
|
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use clear and accurate labels.\n- Use established button colors appropriately. For example, only use a danger button style for an action that’s difficult or impossible to undo.\n- Prioritize the most important actions. Too many buttons will cause confusion.\n- Be consistent with positioning of buttons in the user interface.\n- Use strong, actionable verbs in labels such as “Add”, “Close”, “Cancel”, or “Save”.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use buttons to link to other pages. Use regular link or a plain style instead where necessary.\n- Don’t use buttons for navigation where the link appears within or following a sentence.\n- Don’t use labels such as “Read more”, “Click here” or “More”.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">View user settings</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n\n---\n\n## Variants\n\nThis section describes the different component variants, their purpose, and when to use each variant.\n\n| Name | Purpose |\n| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `default` | Default style is the most common button variant. Only switch to another variant if you need to adjust the visual weight of the element. |\n| `primary` | Primary style is reserved for main call-to-actions. Should be used only once per content area or panel, e.g. for a “Save” action. |\n| `dashed` | Dashed style should be used for actions that trigger filtering. |\n| `danger` | Danger style should be used for actions that delete data or otherwise make it hard to undo the action. |\n| `plain` | Used for less important or less common actions. Can be also used for linking to other pages. |\n| `disabled` | Used for actions that aren’t currently available or not available anymore. Also prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies. |\n\n---\n\n## Additional considerations\n\n- Users of assistive technology expect a button to submit data or do an action. If you need the button to navigate into another view, use the `href` property which will output `<a>` tag instead of a `<button>`.\n- When you need to disable a button, use `disabled` property as it conveys this information correctly to assistive technologies like screen readers.\n- Button component provides 3 size variants; small, medium and large. The large size should only be used for marketing purposes or on areas such as an empty space/content notice.\n"
|
|
704
837
|
},
|
|
838
|
+
{
|
|
839
|
+
"kind": "javascript-module",
|
|
840
|
+
"path": "src/banner/Banner.ts",
|
|
841
|
+
"declarations": [
|
|
842
|
+
{
|
|
843
|
+
"kind": "class",
|
|
844
|
+
"description": "Banner informs users about important changes or conditions in the\ninterface. Use this component if you need to communicate to users\nin a prominent way.",
|
|
845
|
+
"name": "Banner",
|
|
846
|
+
"slots": [
|
|
847
|
+
{
|
|
848
|
+
"description": "default slot",
|
|
849
|
+
"name": ""
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"members": [
|
|
853
|
+
{
|
|
854
|
+
"kind": "field",
|
|
855
|
+
"name": "variant",
|
|
856
|
+
"type": {
|
|
857
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
858
|
+
},
|
|
859
|
+
"default": "\"info\"",
|
|
860
|
+
"description": "The style variant of the banner.",
|
|
861
|
+
"attribute": "variant",
|
|
862
|
+
"reflects": true
|
|
863
|
+
}
|
|
864
|
+
],
|
|
865
|
+
"attributes": [
|
|
866
|
+
{
|
|
867
|
+
"name": "variant",
|
|
868
|
+
"type": {
|
|
869
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
870
|
+
},
|
|
871
|
+
"default": "\"info\"",
|
|
872
|
+
"description": "The style variant of the banner.",
|
|
873
|
+
"fieldName": "variant"
|
|
874
|
+
}
|
|
875
|
+
],
|
|
876
|
+
"superclass": {
|
|
877
|
+
"name": "LitElement",
|
|
878
|
+
"package": "lit"
|
|
879
|
+
},
|
|
880
|
+
"status": "new",
|
|
881
|
+
"category": "feedback",
|
|
882
|
+
"tagName": "nord-banner",
|
|
883
|
+
"customElement": true
|
|
884
|
+
}
|
|
885
|
+
],
|
|
886
|
+
"exports": [
|
|
887
|
+
{
|
|
888
|
+
"kind": "js",
|
|
889
|
+
"name": "default",
|
|
890
|
+
"declaration": {
|
|
891
|
+
"name": "Banner",
|
|
892
|
+
"module": "src/banner/Banner.ts"
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"kind": "custom-element-definition",
|
|
897
|
+
"name": "nord-banner",
|
|
898
|
+
"declaration": {
|
|
899
|
+
"name": "Banner",
|
|
900
|
+
"module": "src/banner/Banner.ts"
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use this component if you need to communicate in a prominent way.\n- Place banner at the top of the section it applies to.\n- Use for highlighting errors and success statuses.\n- Put banner close to the context it’s referring to.\n- Move focus to the banner if it’s relevant to the current workflow.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Move focus to banner if it appears on page load.\n- Use for highlighting general content or as a banner.\n- Use to replace an error page.\n\n</div>\n\n---\n\n## Content guidelines\n\nBanner content should be clear, accurate and easy to understand:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident. Please see our status page for more details.</div>\n<div class=\"n-usage n-usage-dont\">There was an error.</div>\n\nWhen writing banner content, always write it in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re Experiencing An Incident.</div>\n\nAlways end in punctuation:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re experiencing an incident</div>\n"
|
|
905
|
+
},
|
|
705
906
|
{
|
|
706
907
|
"kind": "javascript-module",
|
|
707
908
|
"path": "src/calendar/Calendar.ts",
|
|
@@ -842,9 +1043,11 @@
|
|
|
842
1043
|
"optional": true,
|
|
843
1044
|
"type": {
|
|
844
1045
|
"text": "FocusOptions & { target: \"day\" | \"month\" }"
|
|
845
|
-
}
|
|
1046
|
+
},
|
|
1047
|
+
"description": "An object which controls aspects of the focusing process."
|
|
846
1048
|
}
|
|
847
|
-
]
|
|
1049
|
+
],
|
|
1050
|
+
"description": "Programmatically move focus to the calendar."
|
|
848
1051
|
},
|
|
849
1052
|
{
|
|
850
1053
|
"kind": "method",
|
|
@@ -973,20 +1176,22 @@
|
|
|
973
1176
|
"kind": "field",
|
|
974
1177
|
"name": "disableActiveFocus",
|
|
975
1178
|
"privacy": "private"
|
|
1179
|
+
}
|
|
1180
|
+
],
|
|
1181
|
+
"events": [
|
|
1182
|
+
{
|
|
1183
|
+
"name": "nord-focus-date",
|
|
1184
|
+
"type": {
|
|
1185
|
+
"text": "DateSelectEvent"
|
|
1186
|
+
},
|
|
1187
|
+
"description": "Dispatched when the calendar's focused date changes."
|
|
976
1188
|
},
|
|
977
1189
|
{
|
|
978
|
-
"kind": "field",
|
|
979
|
-
"name": "_warningLogged",
|
|
980
1190
|
"type": {
|
|
981
|
-
"text": "
|
|
1191
|
+
"text": "DateSelectEvent"
|
|
982
1192
|
},
|
|
983
|
-
"
|
|
984
|
-
"
|
|
985
|
-
"default": "false",
|
|
986
|
-
"inheritedFrom": {
|
|
987
|
-
"name": "DraftComponentMixin",
|
|
988
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
989
|
-
}
|
|
1193
|
+
"description": "Dispatched when a date is selected and the value changes.",
|
|
1194
|
+
"name": "change"
|
|
990
1195
|
}
|
|
991
1196
|
],
|
|
992
1197
|
"attributes": [
|
|
@@ -1026,17 +1231,11 @@
|
|
|
1026
1231
|
"fieldName": "max"
|
|
1027
1232
|
}
|
|
1028
1233
|
],
|
|
1029
|
-
"mixins": [
|
|
1030
|
-
{
|
|
1031
|
-
"name": "DraftComponentMixin",
|
|
1032
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
1033
|
-
}
|
|
1034
|
-
],
|
|
1035
1234
|
"superclass": {
|
|
1036
1235
|
"name": "LitElement",
|
|
1037
1236
|
"package": "lit"
|
|
1038
1237
|
},
|
|
1039
|
-
"status": "
|
|
1238
|
+
"status": "ready",
|
|
1040
1239
|
"category": "list",
|
|
1041
1240
|
"tagName": "nord-calendar",
|
|
1042
1241
|
"customElement": true
|
|
@@ -1071,15 +1270,6 @@
|
|
|
1071
1270
|
"description": "",
|
|
1072
1271
|
"name": "DateSelectEvent",
|
|
1073
1272
|
"members": [
|
|
1074
|
-
{
|
|
1075
|
-
"kind": "field",
|
|
1076
|
-
"name": "eventName",
|
|
1077
|
-
"type": {
|
|
1078
|
-
"text": "string"
|
|
1079
|
-
},
|
|
1080
|
-
"static": true,
|
|
1081
|
-
"default": "\"nord-select\""
|
|
1082
|
-
},
|
|
1083
1273
|
{
|
|
1084
1274
|
"kind": "field",
|
|
1085
1275
|
"name": "date",
|
|
@@ -1181,6 +1371,94 @@
|
|
|
1181
1371
|
],
|
|
1182
1372
|
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when the user needs to choose a single date or a date range.\n- Close calendar after a single date is selected, unless a range with a start and end date is required.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for entering date of birth. Use input component instead.\n- Don’t use for choosing a date that is over 10 years in the future or the past.\n\n</div>\n\n---\n\n## Keyboard accessibility\n\nCalendar component is built to closely follow [W3C Date Picker Dialog example](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/datepicker-dialog.html) with some small exceptions to e.g. better support iOS VoiceOver and Android TalkBack.\n\n### Month/year buttons\n\n- `Space, Enter`: Changes the month and/or year displayed.\n\n### Calendar grid\n\n- `Space, Enter`: Selects a date.\n- `Arrow up`: Moves focus to the same day of the previous week.\n- `Arrow down`: Moves focus to the same day of the next week.\n- `Arrow right`: Moves focus to the next day. In right-to-left languages, moves focus to the previous day.\n- `Arrow left`: Moves focus to the previous day. In right-to-left languages, moves focus to the next day.\n- `Home`: Moves focus to the first day (e.g Monday) of the current week.\n- `End`: Moves focus to the last day (e.g. Sunday) of the current week.\n- `Page Up`: Changes the grid of dates to the previous month and sets focus on the same day of the same week.\n- `Shift + Page Up`: Changes the grid of dates to the previous year and sets focus on the same day of the same week.\n- `Page Down`: Changes the grid of dates to the next month and sets focus on the same day of the same week.\n- `Shift + Page Down`: Changes the grid of dates to the next year and sets focus on the same day of the same week.\n"
|
|
1183
1373
|
},
|
|
1374
|
+
{
|
|
1375
|
+
"kind": "javascript-module",
|
|
1376
|
+
"path": "src/card/Card.ts",
|
|
1377
|
+
"declarations": [
|
|
1378
|
+
{
|
|
1379
|
+
"kind": "class",
|
|
1380
|
+
"description": "Cards are shadowed surfaces that display content and actions on a\nsingle topic. They should be easy to scan for relevant and\nactionable information.",
|
|
1381
|
+
"name": "Card",
|
|
1382
|
+
"slots": [
|
|
1383
|
+
{
|
|
1384
|
+
"description": "The card content.",
|
|
1385
|
+
"name": ""
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"description": "Optional slot that holds a header for the card.",
|
|
1389
|
+
"name": "header"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"description": "Optional slot that holds footer content for the card.",
|
|
1393
|
+
"name": "footer"
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
"members": [
|
|
1397
|
+
{
|
|
1398
|
+
"kind": "field",
|
|
1399
|
+
"name": "headerSlot",
|
|
1400
|
+
"privacy": "private",
|
|
1401
|
+
"default": "new SlotController(this, \"header\")"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "field",
|
|
1405
|
+
"name": "footerSlot",
|
|
1406
|
+
"privacy": "private",
|
|
1407
|
+
"default": "new SlotController(this, \"footer\")"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"kind": "field",
|
|
1411
|
+
"name": "padding",
|
|
1412
|
+
"type": {
|
|
1413
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1414
|
+
},
|
|
1415
|
+
"default": "\"m\"",
|
|
1416
|
+
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1417
|
+
"attribute": "padding",
|
|
1418
|
+
"reflects": true
|
|
1419
|
+
}
|
|
1420
|
+
],
|
|
1421
|
+
"attributes": [
|
|
1422
|
+
{
|
|
1423
|
+
"name": "padding",
|
|
1424
|
+
"type": {
|
|
1425
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1426
|
+
},
|
|
1427
|
+
"default": "\"m\"",
|
|
1428
|
+
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1429
|
+
"fieldName": "padding"
|
|
1430
|
+
}
|
|
1431
|
+
],
|
|
1432
|
+
"superclass": {
|
|
1433
|
+
"name": "LitElement",
|
|
1434
|
+
"package": "lit"
|
|
1435
|
+
},
|
|
1436
|
+
"status": "ready",
|
|
1437
|
+
"category": "structure",
|
|
1438
|
+
"tagName": "nord-card",
|
|
1439
|
+
"customElement": true
|
|
1440
|
+
}
|
|
1441
|
+
],
|
|
1442
|
+
"exports": [
|
|
1443
|
+
{
|
|
1444
|
+
"kind": "js",
|
|
1445
|
+
"name": "default",
|
|
1446
|
+
"declaration": {
|
|
1447
|
+
"name": "Card",
|
|
1448
|
+
"module": "src/card/Card.ts"
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"kind": "custom-element-definition",
|
|
1453
|
+
"name": "nord-card",
|
|
1454
|
+
"declaration": {
|
|
1455
|
+
"name": "Card",
|
|
1456
|
+
"module": "src/card/Card.ts"
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
],
|
|
1460
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to display content and actions on a single topic inside a container.\n- Use to visually separate specific parts of content in an application view.\n- Use to wrap a form into a container, for example a login form.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use when you need to capture user’s attention in a prominent way.\n- Don’t use to inform user about important changes or conditions in the interface.\n- Don’t use multiple primary buttons inside a card. A card should only contain a single primary action.\n\n</div>\n"
|
|
1461
|
+
},
|
|
1184
1462
|
{
|
|
1185
1463
|
"kind": "javascript-module",
|
|
1186
1464
|
"path": "src/checkbox/Checkbox.ts",
|
|
@@ -1227,11 +1505,6 @@
|
|
|
1227
1505
|
"kind": "method",
|
|
1228
1506
|
"name": "handleChange",
|
|
1229
1507
|
"privacy": "protected",
|
|
1230
|
-
"return": {
|
|
1231
|
-
"type": {
|
|
1232
|
-
"text": "void"
|
|
1233
|
-
}
|
|
1234
|
-
},
|
|
1235
1508
|
"parameters": [
|
|
1236
1509
|
{
|
|
1237
1510
|
"name": "e",
|
|
@@ -1240,6 +1513,11 @@
|
|
|
1240
1513
|
}
|
|
1241
1514
|
}
|
|
1242
1515
|
],
|
|
1516
|
+
"return": {
|
|
1517
|
+
"type": {
|
|
1518
|
+
"text": "void"
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1243
1521
|
"inheritedFrom": {
|
|
1244
1522
|
"name": "FormAssociatedMixin",
|
|
1245
1523
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -1588,20 +1866,6 @@
|
|
|
1588
1866
|
"name": "FocusableMixin",
|
|
1589
1867
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1590
1868
|
}
|
|
1591
|
-
},
|
|
1592
|
-
{
|
|
1593
|
-
"kind": "field",
|
|
1594
|
-
"name": "_warningLogged",
|
|
1595
|
-
"type": {
|
|
1596
|
-
"text": "boolean"
|
|
1597
|
-
},
|
|
1598
|
-
"privacy": "private",
|
|
1599
|
-
"static": true,
|
|
1600
|
-
"default": "false",
|
|
1601
|
-
"inheritedFrom": {
|
|
1602
|
-
"name": "DraftComponentMixin",
|
|
1603
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
1604
|
-
}
|
|
1605
1869
|
}
|
|
1606
1870
|
],
|
|
1607
1871
|
"attributes": [
|
|
@@ -1753,17 +2017,13 @@
|
|
|
1753
2017
|
{
|
|
1754
2018
|
"name": "FocusableMixin",
|
|
1755
2019
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
1756
|
-
},
|
|
1757
|
-
{
|
|
1758
|
-
"name": "DraftComponentMixin",
|
|
1759
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
1760
2020
|
}
|
|
1761
2021
|
],
|
|
1762
2022
|
"superclass": {
|
|
1763
2023
|
"name": "LitElement",
|
|
1764
2024
|
"package": "lit"
|
|
1765
2025
|
},
|
|
1766
|
-
"status": "
|
|
2026
|
+
"status": "ready",
|
|
1767
2027
|
"category": "form",
|
|
1768
2028
|
"tagName": "nord-checkbox",
|
|
1769
2029
|
"customElement": true,
|
|
@@ -1813,114 +2073,6 @@
|
|
|
1813
2073
|
],
|
|
1814
2074
|
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use for making it possible to choose one or more options from a limited number of options.\n- Use for “accepting terms of service” and similar functionality.\n- Use in forms to toggle something on or off.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use when you have more than 10 options to choose from.\n- Don’t change the selection of another checkbox when another one is clicked. Only exception is when a checkbox is used to make a bulk selection of multiple items.\n\n</div>\n\n---\n\n## Content guidelines\n\nCheckbox labels should be clear, accurate and predictable. It should be possible for the user to understand what they are selecting:\n\n<div class=\"n-usage n-usage-do\">User settings</div>\n<div class=\"n-usage n-usage-dont\">Option 1</div>\n\nWhen writing checkbox labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">User settings</div>\n<div class=\"n-usage n-usage-dont\">User Settings</div>\n\nAvoid ending in punctuation if it’s a single sentence, word, or a fragment:\n\n<div class=\"n-usage n-usage-do\">Show dashboard</div>\n<div class=\"n-usage n-usage-dont\">Show dashboard.</div>\n\nDo not use commas or semicolons at the end of each line\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients;</div>\n"
|
|
1815
2075
|
},
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "javascript-module",
|
|
1818
|
-
"path": "src/card/Card.ts",
|
|
1819
|
-
"declarations": [
|
|
1820
|
-
{
|
|
1821
|
-
"kind": "class",
|
|
1822
|
-
"description": "Cards are shadowed surfaces that display content and actions on a\nsingle topic. They should be easy to scan for relevant and\nactionable information.",
|
|
1823
|
-
"name": "Card",
|
|
1824
|
-
"slots": [
|
|
1825
|
-
{
|
|
1826
|
-
"description": "The card content.",
|
|
1827
|
-
"name": ""
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
"description": "Optional slot that holds a header for the card.",
|
|
1831
|
-
"name": "header"
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"description": "Optional slot that holds footer content for the card.",
|
|
1835
|
-
"name": "footer"
|
|
1836
|
-
}
|
|
1837
|
-
],
|
|
1838
|
-
"members": [
|
|
1839
|
-
{
|
|
1840
|
-
"kind": "field",
|
|
1841
|
-
"name": "headerSlot",
|
|
1842
|
-
"privacy": "private",
|
|
1843
|
-
"default": "new SlotController(this, \"header\")"
|
|
1844
|
-
},
|
|
1845
|
-
{
|
|
1846
|
-
"kind": "field",
|
|
1847
|
-
"name": "footerSlot",
|
|
1848
|
-
"privacy": "private",
|
|
1849
|
-
"default": "new SlotController(this, \"footer\")"
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
"kind": "field",
|
|
1853
|
-
"name": "padding",
|
|
1854
|
-
"type": {
|
|
1855
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
1856
|
-
},
|
|
1857
|
-
"default": "\"m\"",
|
|
1858
|
-
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1859
|
-
"attribute": "padding",
|
|
1860
|
-
"reflects": true
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
"kind": "field",
|
|
1864
|
-
"name": "_warningLogged",
|
|
1865
|
-
"type": {
|
|
1866
|
-
"text": "boolean"
|
|
1867
|
-
},
|
|
1868
|
-
"privacy": "private",
|
|
1869
|
-
"static": true,
|
|
1870
|
-
"default": "false",
|
|
1871
|
-
"inheritedFrom": {
|
|
1872
|
-
"name": "DraftComponentMixin",
|
|
1873
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
1874
|
-
}
|
|
1875
|
-
}
|
|
1876
|
-
],
|
|
1877
|
-
"attributes": [
|
|
1878
|
-
{
|
|
1879
|
-
"name": "padding",
|
|
1880
|
-
"type": {
|
|
1881
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
1882
|
-
},
|
|
1883
|
-
"default": "\"m\"",
|
|
1884
|
-
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1885
|
-
"fieldName": "padding"
|
|
1886
|
-
}
|
|
1887
|
-
],
|
|
1888
|
-
"mixins": [
|
|
1889
|
-
{
|
|
1890
|
-
"name": "DraftComponentMixin",
|
|
1891
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
1892
|
-
}
|
|
1893
|
-
],
|
|
1894
|
-
"superclass": {
|
|
1895
|
-
"name": "LitElement",
|
|
1896
|
-
"package": "lit"
|
|
1897
|
-
},
|
|
1898
|
-
"status": "draft",
|
|
1899
|
-
"category": "structure",
|
|
1900
|
-
"tagName": "nord-card",
|
|
1901
|
-
"customElement": true
|
|
1902
|
-
}
|
|
1903
|
-
],
|
|
1904
|
-
"exports": [
|
|
1905
|
-
{
|
|
1906
|
-
"kind": "js",
|
|
1907
|
-
"name": "default",
|
|
1908
|
-
"declaration": {
|
|
1909
|
-
"name": "Card",
|
|
1910
|
-
"module": "src/card/Card.ts"
|
|
1911
|
-
}
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
"kind": "custom-element-definition",
|
|
1915
|
-
"name": "nord-card",
|
|
1916
|
-
"declaration": {
|
|
1917
|
-
"name": "Card",
|
|
1918
|
-
"module": "src/card/Card.ts"
|
|
1919
|
-
}
|
|
1920
|
-
}
|
|
1921
|
-
],
|
|
1922
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to display content and actions on a single topic inside a container.\n- Use to visually separate specific parts of content in an application view.\n- Use to wrap a form into a container, for example a login form.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use when you need to capture user’s attention in a prominent way.\n- Don’t use to inform user about important changes or conditions in the interface.\n- Don’t use multiple primary buttons inside a card. A card should only contain a single primary action.\n\n</div>\n"
|
|
1923
|
-
},
|
|
1924
2076
|
{
|
|
1925
2077
|
"kind": "javascript-module",
|
|
1926
2078
|
"path": "src/command-menu/CommandMenu.ts",
|
|
@@ -2194,20 +2346,6 @@
|
|
|
2194
2346
|
"kind": "method",
|
|
2195
2347
|
"name": "filterCommands",
|
|
2196
2348
|
"privacy": "private"
|
|
2197
|
-
},
|
|
2198
|
-
{
|
|
2199
|
-
"kind": "field",
|
|
2200
|
-
"name": "_warningLogged",
|
|
2201
|
-
"type": {
|
|
2202
|
-
"text": "boolean"
|
|
2203
|
-
},
|
|
2204
|
-
"privacy": "private",
|
|
2205
|
-
"static": true,
|
|
2206
|
-
"default": "false",
|
|
2207
|
-
"inheritedFrom": {
|
|
2208
|
-
"name": "DraftComponentMixin",
|
|
2209
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
2210
|
-
}
|
|
2211
2349
|
}
|
|
2212
2350
|
],
|
|
2213
2351
|
"events": [
|
|
@@ -2253,17 +2391,11 @@
|
|
|
2253
2391
|
"fieldName": "placeholder"
|
|
2254
2392
|
}
|
|
2255
2393
|
],
|
|
2256
|
-
"mixins": [
|
|
2257
|
-
{
|
|
2258
|
-
"name": "DraftComponentMixin",
|
|
2259
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2260
|
-
}
|
|
2261
|
-
],
|
|
2262
2394
|
"superclass": {
|
|
2263
2395
|
"name": "LitElement",
|
|
2264
2396
|
"package": "lit"
|
|
2265
2397
|
},
|
|
2266
|
-
"status": "
|
|
2398
|
+
"status": "ready",
|
|
2267
2399
|
"category": "action",
|
|
2268
2400
|
"tagName": "nord-command-menu",
|
|
2269
2401
|
"customElement": true
|
|
@@ -3286,7 +3418,35 @@
|
|
|
3286
3418
|
},
|
|
3287
3419
|
{
|
|
3288
3420
|
"kind": "javascript-module",
|
|
3289
|
-
"path": "src/common/
|
|
3421
|
+
"path": "src/common/fsm.ts",
|
|
3422
|
+
"declarations": [
|
|
3423
|
+
{
|
|
3424
|
+
"kind": "function",
|
|
3425
|
+
"name": "fsm",
|
|
3426
|
+
"parameters": [
|
|
3427
|
+
{
|
|
3428
|
+
"name": "config",
|
|
3429
|
+
"type": {
|
|
3430
|
+
"text": "TTransitions"
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
]
|
|
3434
|
+
}
|
|
3435
|
+
],
|
|
3436
|
+
"exports": [
|
|
3437
|
+
{
|
|
3438
|
+
"kind": "js",
|
|
3439
|
+
"name": "fsm",
|
|
3440
|
+
"declaration": {
|
|
3441
|
+
"name": "fsm",
|
|
3442
|
+
"module": "src/common/fsm.ts"
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
]
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
"kind": "javascript-module",
|
|
3449
|
+
"path": "src/common/input.ts",
|
|
3290
3450
|
"declarations": [
|
|
3291
3451
|
{
|
|
3292
3452
|
"kind": "function",
|
|
@@ -3459,6 +3619,51 @@
|
|
|
3459
3619
|
}
|
|
3460
3620
|
]
|
|
3461
3621
|
},
|
|
3622
|
+
{
|
|
3623
|
+
"kind": "javascript-module",
|
|
3624
|
+
"path": "src/empty-state/EmptyState.ts",
|
|
3625
|
+
"declarations": [
|
|
3626
|
+
{
|
|
3627
|
+
"kind": "class",
|
|
3628
|
+
"description": "Empty state can be used when there is no data to display to\ndescribe what the user can do next. Empty state provides\nexplanation and guidance to help user progress.",
|
|
3629
|
+
"name": "EmptyState",
|
|
3630
|
+
"slots": [
|
|
3631
|
+
{
|
|
3632
|
+
"description": "default slot",
|
|
3633
|
+
"name": ""
|
|
3634
|
+
}
|
|
3635
|
+
],
|
|
3636
|
+
"members": [],
|
|
3637
|
+
"superclass": {
|
|
3638
|
+
"name": "LitElement",
|
|
3639
|
+
"package": "lit"
|
|
3640
|
+
},
|
|
3641
|
+
"status": "new",
|
|
3642
|
+
"category": "feedback",
|
|
3643
|
+
"tagName": "nord-empty-state",
|
|
3644
|
+
"customElement": true
|
|
3645
|
+
}
|
|
3646
|
+
],
|
|
3647
|
+
"exports": [
|
|
3648
|
+
{
|
|
3649
|
+
"kind": "js",
|
|
3650
|
+
"name": "default",
|
|
3651
|
+
"declaration": {
|
|
3652
|
+
"name": "EmptyState",
|
|
3653
|
+
"module": "src/empty-state/EmptyState.ts"
|
|
3654
|
+
}
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
"kind": "custom-element-definition",
|
|
3658
|
+
"name": "nord-empty-state",
|
|
3659
|
+
"declaration": {
|
|
3660
|
+
"name": "EmptyState",
|
|
3661
|
+
"module": "src/empty-state/EmptyState.ts"
|
|
3662
|
+
}
|
|
3663
|
+
}
|
|
3664
|
+
],
|
|
3665
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when another component or part of UI has no items or data to show.\n- Help users by clearly explaining the benefit and utility of a product or feature.\n- Be encouraging and never make users feel unsuccessful or guilty.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use as a generic banner to highlight specific content.\n\n</div>\n\n---\n\n## Content guidelines\n\nEmpty state headings should state to the user what’s wrong or why there’s no content:\n\n<div class=\"n-usage n-usage-do\">No results found</div>\n<div class=\"n-usage n-usage-dont\">Error</div>\n\nWhen writing empty state headings, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">You don’t have access to this content</div>\n<div class=\"n-usage n-usage-dont\">You Don’t Have Access To This Content</div>\n\nDescriptions in empty states should add useful and relevant additional information:\n\n<div class=\"n-usage n-usage-do\">We were unable to connect to the service. Click Retry to try again or View log to learn what happened.</div>\n<div class=\"n-usage n-usage-dont\">No connection.</div>\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">Clear filters</div>\n<div class=\"n-usage n-usage-dont\">Clear</div>\n\nWhen writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">View log</div>\n<div class=\"n-usage n-usage-dont\">View Log</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Request access</div>\n<div class=\"n-usage n-usage-dont\">Request an access</div>\n"
|
|
3666
|
+
},
|
|
3462
3667
|
{
|
|
3463
3668
|
"kind": "javascript-module",
|
|
3464
3669
|
"path": "src/date-picker/DatePicker.ts",
|
|
@@ -3637,10 +3842,14 @@
|
|
|
3637
3842
|
"parameters": [
|
|
3638
3843
|
{
|
|
3639
3844
|
"name": "moveFocusToButton",
|
|
3640
|
-
"default": "true"
|
|
3845
|
+
"default": "true",
|
|
3846
|
+
"description": "controls whether focus should be returned to the date picker's button.",
|
|
3847
|
+
"type": {
|
|
3848
|
+
"text": "boolean"
|
|
3849
|
+
}
|
|
3641
3850
|
}
|
|
3642
3851
|
],
|
|
3643
|
-
"description": "Hide the calendar modal.
|
|
3852
|
+
"description": "Hide the calendar modal."
|
|
3644
3853
|
},
|
|
3645
3854
|
{
|
|
3646
3855
|
"kind": "method",
|
|
@@ -3901,6 +4110,14 @@
|
|
|
3901
4110
|
"kind": "method",
|
|
3902
4111
|
"name": "handleChange",
|
|
3903
4112
|
"privacy": "protected",
|
|
4113
|
+
"parameters": [
|
|
4114
|
+
{
|
|
4115
|
+
"name": "e",
|
|
4116
|
+
"type": {
|
|
4117
|
+
"text": "Event"
|
|
4118
|
+
}
|
|
4119
|
+
}
|
|
4120
|
+
],
|
|
3904
4121
|
"inheritedFrom": {
|
|
3905
4122
|
"name": "FormAssociatedMixin",
|
|
3906
4123
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -4043,20 +4260,6 @@
|
|
|
4043
4260
|
"name": "FocusableMixin",
|
|
4044
4261
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
4045
4262
|
}
|
|
4046
|
-
},
|
|
4047
|
-
{
|
|
4048
|
-
"kind": "field",
|
|
4049
|
-
"name": "_warningLogged",
|
|
4050
|
-
"type": {
|
|
4051
|
-
"text": "boolean"
|
|
4052
|
-
},
|
|
4053
|
-
"privacy": "private",
|
|
4054
|
-
"static": true,
|
|
4055
|
-
"default": "false",
|
|
4056
|
-
"inheritedFrom": {
|
|
4057
|
-
"name": "DraftComponentMixin",
|
|
4058
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
4059
|
-
}
|
|
4060
4263
|
}
|
|
4061
4264
|
],
|
|
4062
4265
|
"events": [
|
|
@@ -4272,17 +4475,13 @@
|
|
|
4272
4475
|
{
|
|
4273
4476
|
"name": "FocusableMixin",
|
|
4274
4477
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
4275
|
-
},
|
|
4276
|
-
{
|
|
4277
|
-
"name": "DraftComponentMixin",
|
|
4278
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
4279
4478
|
}
|
|
4280
4479
|
],
|
|
4281
4480
|
"superclass": {
|
|
4282
4481
|
"name": "LitElement",
|
|
4283
4482
|
"package": "lit"
|
|
4284
4483
|
},
|
|
4285
|
-
"status": "
|
|
4484
|
+
"status": "ready",
|
|
4286
4485
|
"category": "form",
|
|
4287
4486
|
"tagName": "nord-date-picker",
|
|
4288
4487
|
"customElement": true
|
|
@@ -4358,72 +4557,6 @@
|
|
|
4358
4557
|
],
|
|
4359
4558
|
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when the user needs to choose a single date or a date range.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for entering date of birth. Use input component instead.\n- Don’t use to choose a date that is over 10 years in the future or the past.\n\n</div>\n\n---\n\n## Keyboard accessibility\n\nDate picker is built to closely follow [W3C Date Picker Dialog example](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/datepicker-dialog.html) with some small exceptions to e.g. better support iOS VoiceOver and Android TalkBack.\n\n### Choose date button\n\n- `Space, Enter`: Opens the date picker dialog and moves focus to the first select menu in the dialog.\n\n### Date picker dialog\n\n- `Esc`: Closes the date picker dialog and moves focus back to the “choose date” button.\n- `Tab`: Moves focus to the next element in the dialog. Please note since the calendar uses `role=\"grid\"`, only one button in the calendar grid is in the tab sequence. Additionally, if focus is on the last focusable element, focus is next moved back to the first focusable element inside the date picker dialog.\n- `Shift + Tab`: Same as above, but in reverse order.\n\n### Date picker dialog: Month/year buttons\n\n- `Space, Enter`: Changes the month and/or year displayed.\n\n### Date picker dialog: Date grid\n\n- `Space, Enter`: Selects a date, closes the dialog, and moves focus back to the “Choose Date” button. Additionally updates the value of the date picker input with the selected date, and adds selected date to “Choose Date” button label.\n- `Arrow up`: Moves focus to the same day of the previous week.\n- `Arrow down`: Moves focus to the same day of the next week.\n- `Arrow right`: Moves focus to the next day. In right-to-left languages, moves focus to the previous day.\n- `Arrow left`: Moves focus to the previous day. In right-to-left languages, moves focus to the next day.\n- `Home`: Moves focus to the first day (e.g Monday) of the current week.\n- `End`: Moves focus to the last day (e.g. Sunday) of the current week.\n- `Page Up`: Changes the grid of dates to the previous month and sets focus on the same day of the same week.\n- `Shift + Page Up`: Changes the grid of dates to the previous year and sets focus on the same day of the same week.\n- `Page Down`: Changes the grid of dates to the next month and sets focus on the same day of the same week.\n- `Shift + Page Down`: Changes the grid of dates to the next year and sets focus on the same day of the same week.\n\n#### Date picker dialog: Close button\n\n- `Space, Enter`: Closes the dialog, moves focus to “choose date” button, but does not update the date in input.\n"
|
|
4360
4559
|
},
|
|
4361
|
-
{
|
|
4362
|
-
"kind": "javascript-module",
|
|
4363
|
-
"path": "src/empty-state/EmptyState.ts",
|
|
4364
|
-
"declarations": [
|
|
4365
|
-
{
|
|
4366
|
-
"kind": "class",
|
|
4367
|
-
"description": "Empty state can be used when there is no data to display to\ndescribe what the user can do next. Empty state should provide\nexplanation or guidance to help user progress.",
|
|
4368
|
-
"name": "EmptyState",
|
|
4369
|
-
"slots": [
|
|
4370
|
-
{
|
|
4371
|
-
"description": "default slot",
|
|
4372
|
-
"name": ""
|
|
4373
|
-
}
|
|
4374
|
-
],
|
|
4375
|
-
"members": [
|
|
4376
|
-
{
|
|
4377
|
-
"kind": "field",
|
|
4378
|
-
"name": "_warningLogged",
|
|
4379
|
-
"type": {
|
|
4380
|
-
"text": "boolean"
|
|
4381
|
-
},
|
|
4382
|
-
"privacy": "private",
|
|
4383
|
-
"static": true,
|
|
4384
|
-
"default": "false",
|
|
4385
|
-
"inheritedFrom": {
|
|
4386
|
-
"name": "DraftComponentMixin",
|
|
4387
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
4388
|
-
}
|
|
4389
|
-
}
|
|
4390
|
-
],
|
|
4391
|
-
"mixins": [
|
|
4392
|
-
{
|
|
4393
|
-
"name": "DraftComponentMixin",
|
|
4394
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
4395
|
-
}
|
|
4396
|
-
],
|
|
4397
|
-
"superclass": {
|
|
4398
|
-
"name": "LitElement",
|
|
4399
|
-
"package": "lit"
|
|
4400
|
-
},
|
|
4401
|
-
"status": "draft",
|
|
4402
|
-
"category": "feedback",
|
|
4403
|
-
"tagName": "nord-empty-state",
|
|
4404
|
-
"customElement": true
|
|
4405
|
-
}
|
|
4406
|
-
],
|
|
4407
|
-
"exports": [
|
|
4408
|
-
{
|
|
4409
|
-
"kind": "js",
|
|
4410
|
-
"name": "default",
|
|
4411
|
-
"declaration": {
|
|
4412
|
-
"name": "EmptyState",
|
|
4413
|
-
"module": "src/empty-state/EmptyState.ts"
|
|
4414
|
-
}
|
|
4415
|
-
},
|
|
4416
|
-
{
|
|
4417
|
-
"kind": "custom-element-definition",
|
|
4418
|
-
"name": "nord-empty-state",
|
|
4419
|
-
"declaration": {
|
|
4420
|
-
"name": "EmptyState",
|
|
4421
|
-
"module": "src/empty-state/EmptyState.ts"
|
|
4422
|
-
}
|
|
4423
|
-
}
|
|
4424
|
-
],
|
|
4425
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when another component or part of UI has no items or data to show.\n- Help users by clearly explaining the benefit and utility of a product or feature.\n- Be encouraging and never make users feel unsuccessful or guilty.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use as a generic banner to highlight specific content.\n\n</div>\n\n---\n\n## Content guidelines\n\nEmpty state headings should state to the user what’s wrong or why there’s no content:\n\n<div class=\"n-usage n-usage-do\">No results found</div>\n<div class=\"n-usage n-usage-dont\">Error</div>\n\nWhen writing empty state headings, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">You don’t have access to this content</div>\n<div class=\"n-usage n-usage-dont\">You Don’t Have Access To This Content</div>\n\nDescriptions in empty states should add useful and relevant additional information:\n\n<div class=\"n-usage n-usage-do\">We were unable to connect to the service. Click Retry to try again or View log to learn what happened.</div>\n<div class=\"n-usage n-usage-dont\">No connection.</div>\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">Clear filters</div>\n<div class=\"n-usage n-usage-dont\">Clear</div>\n\nWhen writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">View log</div>\n<div class=\"n-usage n-usage-dont\">View Log</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Request access</div>\n<div class=\"n-usage n-usage-dont\">Request an access</div>\n"
|
|
4426
|
-
},
|
|
4427
4560
|
{
|
|
4428
4561
|
"kind": "javascript-module",
|
|
4429
4562
|
"path": "src/fieldset/Fieldset.ts",
|
|
@@ -4496,20 +4629,6 @@
|
|
|
4496
4629
|
"kind": "field",
|
|
4497
4630
|
"name": "hasError",
|
|
4498
4631
|
"privacy": "protected"
|
|
4499
|
-
},
|
|
4500
|
-
{
|
|
4501
|
-
"kind": "field",
|
|
4502
|
-
"name": "_warningLogged",
|
|
4503
|
-
"type": {
|
|
4504
|
-
"text": "boolean"
|
|
4505
|
-
},
|
|
4506
|
-
"privacy": "private",
|
|
4507
|
-
"static": true,
|
|
4508
|
-
"default": "false",
|
|
4509
|
-
"inheritedFrom": {
|
|
4510
|
-
"name": "DraftComponentMixin",
|
|
4511
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
4512
|
-
}
|
|
4513
4632
|
}
|
|
4514
4633
|
],
|
|
4515
4634
|
"attributes": [
|
|
@@ -4539,17 +4658,11 @@
|
|
|
4539
4658
|
"fieldName": "error"
|
|
4540
4659
|
}
|
|
4541
4660
|
],
|
|
4542
|
-
"mixins": [
|
|
4543
|
-
{
|
|
4544
|
-
"name": "DraftComponentMixin",
|
|
4545
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
4546
|
-
}
|
|
4547
|
-
],
|
|
4548
4661
|
"superclass": {
|
|
4549
4662
|
"name": "LitElement",
|
|
4550
4663
|
"package": "lit"
|
|
4551
4664
|
},
|
|
4552
|
-
"status": "
|
|
4665
|
+
"status": "ready",
|
|
4553
4666
|
"category": "form",
|
|
4554
4667
|
"tagName": "nord-fieldset",
|
|
4555
4668
|
"customElement": true
|
|
@@ -4747,16 +4860,19 @@
|
|
|
4747
4860
|
"name": "iconOrName",
|
|
4748
4861
|
"type": {
|
|
4749
4862
|
"text": "string | { title: string; default: string }"
|
|
4750
|
-
}
|
|
4863
|
+
},
|
|
4864
|
+
"description": "The name of the icon to be registered or an object representing the icon to be registered, where \"title\" is the icon's name, and \"default\" is the SVG string."
|
|
4751
4865
|
},
|
|
4752
4866
|
{
|
|
4753
4867
|
"name": "icon",
|
|
4754
4868
|
"optional": true,
|
|
4755
4869
|
"type": {
|
|
4756
4870
|
"text": "string"
|
|
4757
|
-
}
|
|
4871
|
+
},
|
|
4872
|
+
"description": "The SVG string for the icon."
|
|
4758
4873
|
}
|
|
4759
|
-
]
|
|
4874
|
+
],
|
|
4875
|
+
"description": "Register an individual icon so it can be rendered synchronously, to avoid loading over the network."
|
|
4760
4876
|
},
|
|
4761
4877
|
{
|
|
4762
4878
|
"kind": "field",
|
|
@@ -4818,20 +4934,6 @@
|
|
|
4818
4934
|
"text": "string | Promise<string>"
|
|
4819
4935
|
}
|
|
4820
4936
|
}
|
|
4821
|
-
},
|
|
4822
|
-
{
|
|
4823
|
-
"kind": "field",
|
|
4824
|
-
"name": "_warningLogged",
|
|
4825
|
-
"type": {
|
|
4826
|
-
"text": "boolean"
|
|
4827
|
-
},
|
|
4828
|
-
"privacy": "private",
|
|
4829
|
-
"static": true,
|
|
4830
|
-
"default": "false",
|
|
4831
|
-
"inheritedFrom": {
|
|
4832
|
-
"name": "DraftComponentMixin",
|
|
4833
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
4834
|
-
}
|
|
4835
4937
|
}
|
|
4836
4938
|
],
|
|
4837
4939
|
"attributes": [
|
|
@@ -4870,17 +4972,11 @@
|
|
|
4870
4972
|
"fieldName": "label"
|
|
4871
4973
|
}
|
|
4872
4974
|
],
|
|
4873
|
-
"mixins": [
|
|
4874
|
-
{
|
|
4875
|
-
"name": "DraftComponentMixin",
|
|
4876
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
4877
|
-
}
|
|
4878
|
-
],
|
|
4879
4975
|
"superclass": {
|
|
4880
4976
|
"name": "LitElement",
|
|
4881
4977
|
"package": "lit"
|
|
4882
4978
|
},
|
|
4883
|
-
"status": "
|
|
4979
|
+
"status": "ready",
|
|
4884
4980
|
"category": "image",
|
|
4885
4981
|
"tagName": "nord-icon",
|
|
4886
4982
|
"customElement": true
|
|
@@ -4928,16 +5024,16 @@
|
|
|
4928
5024
|
"name": "error"
|
|
4929
5025
|
},
|
|
4930
5026
|
{
|
|
4931
|
-
"description": "Optional slot
|
|
4932
|
-
"name": "
|
|
5027
|
+
"description": "Optional slot used to place an icon at the start of the input.",
|
|
5028
|
+
"name": "start"
|
|
4933
5029
|
}
|
|
4934
5030
|
],
|
|
4935
5031
|
"members": [
|
|
4936
5032
|
{
|
|
4937
5033
|
"kind": "field",
|
|
4938
|
-
"name": "
|
|
5034
|
+
"name": "startSlot",
|
|
4939
5035
|
"privacy": "private",
|
|
4940
|
-
"default": "new SlotController(this, \"
|
|
5036
|
+
"default": "new SlotController(this, \"start\")"
|
|
4941
5037
|
},
|
|
4942
5038
|
{
|
|
4943
5039
|
"kind": "field",
|
|
@@ -5167,6 +5263,14 @@
|
|
|
5167
5263
|
"kind": "method",
|
|
5168
5264
|
"name": "handleChange",
|
|
5169
5265
|
"privacy": "protected",
|
|
5266
|
+
"parameters": [
|
|
5267
|
+
{
|
|
5268
|
+
"name": "e",
|
|
5269
|
+
"type": {
|
|
5270
|
+
"text": "Event"
|
|
5271
|
+
}
|
|
5272
|
+
}
|
|
5273
|
+
],
|
|
5170
5274
|
"inheritedFrom": {
|
|
5171
5275
|
"name": "FormAssociatedMixin",
|
|
5172
5276
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -5323,20 +5427,6 @@
|
|
|
5323
5427
|
"name": "FocusableMixin",
|
|
5324
5428
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
5325
5429
|
}
|
|
5326
|
-
},
|
|
5327
|
-
{
|
|
5328
|
-
"kind": "field",
|
|
5329
|
-
"name": "_warningLogged",
|
|
5330
|
-
"type": {
|
|
5331
|
-
"text": "boolean"
|
|
5332
|
-
},
|
|
5333
|
-
"privacy": "private",
|
|
5334
|
-
"static": true,
|
|
5335
|
-
"default": "false",
|
|
5336
|
-
"inheritedFrom": {
|
|
5337
|
-
"name": "DraftComponentMixin",
|
|
5338
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
5339
|
-
}
|
|
5340
5430
|
}
|
|
5341
5431
|
],
|
|
5342
5432
|
"attributes": [
|
|
@@ -5488,17 +5578,13 @@
|
|
|
5488
5578
|
{
|
|
5489
5579
|
"name": "FocusableMixin",
|
|
5490
5580
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
5491
|
-
},
|
|
5492
|
-
{
|
|
5493
|
-
"name": "DraftComponentMixin",
|
|
5494
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
5495
5581
|
}
|
|
5496
5582
|
],
|
|
5497
5583
|
"superclass": {
|
|
5498
5584
|
"name": "LitElement",
|
|
5499
5585
|
"package": "lit"
|
|
5500
5586
|
},
|
|
5501
|
-
"status": "
|
|
5587
|
+
"status": "ready",
|
|
5502
5588
|
"category": "form",
|
|
5503
5589
|
"tagName": "nord-input",
|
|
5504
5590
|
"customElement": true,
|
|
@@ -5554,7 +5640,7 @@
|
|
|
5554
5640
|
"declarations": [
|
|
5555
5641
|
{
|
|
5556
5642
|
"kind": "class",
|
|
5557
|
-
"description": "Layout component is used to create the main layout of an app. Layout\ncurrently comes with one main
|
|
5643
|
+
"description": "Layout component is used to create the main layout of an app. Layout\ncurrently comes with one main configuration: two-column.",
|
|
5558
5644
|
"name": "Layout",
|
|
5559
5645
|
"slots": [
|
|
5560
5646
|
{
|
|
@@ -6060,34 +6146,186 @@
|
|
|
6060
6146
|
},
|
|
6061
6147
|
{
|
|
6062
6148
|
"kind": "javascript-module",
|
|
6063
|
-
"path": "src/
|
|
6149
|
+
"path": "src/progress-bar/ProgressBar.ts",
|
|
6064
6150
|
"declarations": [
|
|
6065
6151
|
{
|
|
6066
6152
|
"kind": "class",
|
|
6067
|
-
"description": "
|
|
6068
|
-
"name": "
|
|
6069
|
-
"slots": [
|
|
6070
|
-
{
|
|
6071
|
-
"description": "Use when a label requires more than plain text.",
|
|
6072
|
-
"name": "label"
|
|
6073
|
-
},
|
|
6074
|
-
{
|
|
6075
|
-
"description": "Optional slot that holds hint text for the input.",
|
|
6076
|
-
"name": "hint"
|
|
6077
|
-
},
|
|
6078
|
-
{
|
|
6079
|
-
"description": "Optional slot that holds error text for the input.",
|
|
6080
|
-
"name": "error"
|
|
6081
|
-
}
|
|
6082
|
-
],
|
|
6153
|
+
"description": "Progress Bar is used to visually represent the completion\nof a task or process. It shows how much of the task has\nbeen completed and how much is still left.",
|
|
6154
|
+
"name": "ProgressBar",
|
|
6083
6155
|
"members": [
|
|
6084
6156
|
{
|
|
6085
6157
|
"kind": "field",
|
|
6086
|
-
"name": "
|
|
6158
|
+
"name": "value",
|
|
6087
6159
|
"type": {
|
|
6088
|
-
"text": "
|
|
6160
|
+
"text": "number | undefined"
|
|
6089
6161
|
},
|
|
6090
|
-
"
|
|
6162
|
+
"description": "Specifies how much of the task has been completed. Must be a valid floating\npoint number between 0 and max, or between 0 and 100 if max is omitted. If\nthere is no value, the progress bar is indeterminate; this indicates that\nan activity is ongoing with no indication of how long it’s expected to take.",
|
|
6163
|
+
"attribute": "value",
|
|
6164
|
+
"reflects": true
|
|
6165
|
+
},
|
|
6166
|
+
{
|
|
6167
|
+
"kind": "field",
|
|
6168
|
+
"name": "max",
|
|
6169
|
+
"type": {
|
|
6170
|
+
"text": "number"
|
|
6171
|
+
},
|
|
6172
|
+
"default": "100",
|
|
6173
|
+
"description": "Describes how much work the task indicated by the progress element requires.\nThe max attribute, if present, must have a value greater than 0 and be a\nvalid floating point number.",
|
|
6174
|
+
"attribute": "max",
|
|
6175
|
+
"reflects": true
|
|
6176
|
+
},
|
|
6177
|
+
{
|
|
6178
|
+
"kind": "field",
|
|
6179
|
+
"name": "label",
|
|
6180
|
+
"type": {
|
|
6181
|
+
"text": "string"
|
|
6182
|
+
},
|
|
6183
|
+
"default": "\"Current progress\"",
|
|
6184
|
+
"description": "Accessible label for the progress indicator. Visually hidden, but shown\nfor assistive technology.",
|
|
6185
|
+
"attribute": "label",
|
|
6186
|
+
"reflects": true
|
|
6187
|
+
},
|
|
6188
|
+
{
|
|
6189
|
+
"kind": "field",
|
|
6190
|
+
"name": "focusableRef",
|
|
6191
|
+
"privacy": "protected",
|
|
6192
|
+
"inheritedFrom": {
|
|
6193
|
+
"name": "FocusableMixin",
|
|
6194
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
6195
|
+
}
|
|
6196
|
+
},
|
|
6197
|
+
{
|
|
6198
|
+
"kind": "method",
|
|
6199
|
+
"name": "focus",
|
|
6200
|
+
"parameters": [
|
|
6201
|
+
{
|
|
6202
|
+
"name": "options",
|
|
6203
|
+
"optional": true,
|
|
6204
|
+
"type": {
|
|
6205
|
+
"text": "FocusOptions"
|
|
6206
|
+
},
|
|
6207
|
+
"description": "An object which controls aspects of the focusing process."
|
|
6208
|
+
}
|
|
6209
|
+
],
|
|
6210
|
+
"description": "Programmatically move focus to the component.",
|
|
6211
|
+
"inheritedFrom": {
|
|
6212
|
+
"name": "FocusableMixin",
|
|
6213
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
6214
|
+
}
|
|
6215
|
+
},
|
|
6216
|
+
{
|
|
6217
|
+
"kind": "method",
|
|
6218
|
+
"name": "blur",
|
|
6219
|
+
"description": "Programmatically remove focus from the component.",
|
|
6220
|
+
"inheritedFrom": {
|
|
6221
|
+
"name": "FocusableMixin",
|
|
6222
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
6223
|
+
}
|
|
6224
|
+
},
|
|
6225
|
+
{
|
|
6226
|
+
"kind": "method",
|
|
6227
|
+
"name": "click",
|
|
6228
|
+
"description": "Programmatically simulates a click on the component.",
|
|
6229
|
+
"inheritedFrom": {
|
|
6230
|
+
"name": "FocusableMixin",
|
|
6231
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
6232
|
+
}
|
|
6233
|
+
}
|
|
6234
|
+
],
|
|
6235
|
+
"attributes": [
|
|
6236
|
+
{
|
|
6237
|
+
"name": "value",
|
|
6238
|
+
"type": {
|
|
6239
|
+
"text": "number | undefined"
|
|
6240
|
+
},
|
|
6241
|
+
"description": "Specifies how much of the task has been completed. Must be a valid floating\npoint number between 0 and max, or between 0 and 100 if max is omitted. If\nthere is no value, the progress bar is indeterminate; this indicates that\nan activity is ongoing with no indication of how long it’s expected to take.",
|
|
6242
|
+
"fieldName": "value"
|
|
6243
|
+
},
|
|
6244
|
+
{
|
|
6245
|
+
"name": "max",
|
|
6246
|
+
"type": {
|
|
6247
|
+
"text": "number"
|
|
6248
|
+
},
|
|
6249
|
+
"default": "100",
|
|
6250
|
+
"description": "Describes how much work the task indicated by the progress element requires.\nThe max attribute, if present, must have a value greater than 0 and be a\nvalid floating point number.",
|
|
6251
|
+
"fieldName": "max"
|
|
6252
|
+
},
|
|
6253
|
+
{
|
|
6254
|
+
"name": "label",
|
|
6255
|
+
"type": {
|
|
6256
|
+
"text": "string"
|
|
6257
|
+
},
|
|
6258
|
+
"default": "\"Current progress\"",
|
|
6259
|
+
"description": "Accessible label for the progress indicator. Visually hidden, but shown\nfor assistive technology.",
|
|
6260
|
+
"fieldName": "label"
|
|
6261
|
+
}
|
|
6262
|
+
],
|
|
6263
|
+
"mixins": [
|
|
6264
|
+
{
|
|
6265
|
+
"name": "FocusableMixin",
|
|
6266
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
6267
|
+
}
|
|
6268
|
+
],
|
|
6269
|
+
"superclass": {
|
|
6270
|
+
"name": "LitElement",
|
|
6271
|
+
"package": "lit"
|
|
6272
|
+
},
|
|
6273
|
+
"status": "new",
|
|
6274
|
+
"category": "feedback",
|
|
6275
|
+
"tagName": "nord-progress-bar",
|
|
6276
|
+
"customElement": true
|
|
6277
|
+
}
|
|
6278
|
+
],
|
|
6279
|
+
"exports": [
|
|
6280
|
+
{
|
|
6281
|
+
"kind": "js",
|
|
6282
|
+
"name": "default",
|
|
6283
|
+
"declaration": {
|
|
6284
|
+
"name": "ProgressBar",
|
|
6285
|
+
"module": "src/progress-bar/ProgressBar.ts"
|
|
6286
|
+
}
|
|
6287
|
+
},
|
|
6288
|
+
{
|
|
6289
|
+
"kind": "custom-element-definition",
|
|
6290
|
+
"name": "nord-progress-bar",
|
|
6291
|
+
"declaration": {
|
|
6292
|
+
"name": "ProgressBar",
|
|
6293
|
+
"module": "src/progress-bar/ProgressBar.ts"
|
|
6294
|
+
}
|
|
6295
|
+
}
|
|
6296
|
+
],
|
|
6297
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to show the completion status of an ongoing task.\n- Use progress bar when you can determine the percentage of the completed task at any time.\n- Always provide an accessible label when using Progress Bar.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use in constrained spaces indicating indeterminate loading state, see [Spinner](/components/spinner/) instead.\n\n</div>\n"
|
|
6298
|
+
},
|
|
6299
|
+
{
|
|
6300
|
+
"kind": "javascript-module",
|
|
6301
|
+
"path": "src/radio/Radio.ts",
|
|
6302
|
+
"declarations": [
|
|
6303
|
+
{
|
|
6304
|
+
"kind": "class",
|
|
6305
|
+
"description": "Radio buttons are graphical user interface elements that allow user to choose only one option from\na predefined set of mutually exclusive options.",
|
|
6306
|
+
"name": "Radio",
|
|
6307
|
+
"slots": [
|
|
6308
|
+
{
|
|
6309
|
+
"description": "Use when a label requires more than plain text.",
|
|
6310
|
+
"name": "label"
|
|
6311
|
+
},
|
|
6312
|
+
{
|
|
6313
|
+
"description": "Optional slot that holds hint text for the input.",
|
|
6314
|
+
"name": "hint"
|
|
6315
|
+
},
|
|
6316
|
+
{
|
|
6317
|
+
"description": "Optional slot that holds error text for the input.",
|
|
6318
|
+
"name": "error"
|
|
6319
|
+
}
|
|
6320
|
+
],
|
|
6321
|
+
"members": [
|
|
6322
|
+
{
|
|
6323
|
+
"kind": "field",
|
|
6324
|
+
"name": "inputId",
|
|
6325
|
+
"type": {
|
|
6326
|
+
"text": "string"
|
|
6327
|
+
},
|
|
6328
|
+
"privacy": "protected",
|
|
6091
6329
|
"default": "\"input\"",
|
|
6092
6330
|
"inheritedFrom": {
|
|
6093
6331
|
"name": "FormAssociatedMixin",
|
|
@@ -6186,11 +6424,6 @@
|
|
|
6186
6424
|
"kind": "method",
|
|
6187
6425
|
"name": "handleChange",
|
|
6188
6426
|
"privacy": "protected",
|
|
6189
|
-
"return": {
|
|
6190
|
-
"type": {
|
|
6191
|
-
"text": "void"
|
|
6192
|
-
}
|
|
6193
|
-
},
|
|
6194
6427
|
"parameters": [
|
|
6195
6428
|
{
|
|
6196
6429
|
"name": "e",
|
|
@@ -6199,6 +6432,11 @@
|
|
|
6199
6432
|
}
|
|
6200
6433
|
}
|
|
6201
6434
|
],
|
|
6435
|
+
"return": {
|
|
6436
|
+
"type": {
|
|
6437
|
+
"text": "void"
|
|
6438
|
+
}
|
|
6439
|
+
},
|
|
6202
6440
|
"inheritedFrom": {
|
|
6203
6441
|
"name": "FormAssociatedMixin",
|
|
6204
6442
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -6488,20 +6726,6 @@
|
|
|
6488
6726
|
"name": "FocusableMixin",
|
|
6489
6727
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
6490
6728
|
}
|
|
6491
|
-
},
|
|
6492
|
-
{
|
|
6493
|
-
"kind": "field",
|
|
6494
|
-
"name": "_warningLogged",
|
|
6495
|
-
"type": {
|
|
6496
|
-
"text": "boolean"
|
|
6497
|
-
},
|
|
6498
|
-
"privacy": "private",
|
|
6499
|
-
"static": true,
|
|
6500
|
-
"default": "false",
|
|
6501
|
-
"inheritedFrom": {
|
|
6502
|
-
"name": "DraftComponentMixin",
|
|
6503
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
6504
|
-
}
|
|
6505
6729
|
}
|
|
6506
6730
|
],
|
|
6507
6731
|
"attributes": [
|
|
@@ -6653,17 +6877,13 @@
|
|
|
6653
6877
|
{
|
|
6654
6878
|
"name": "FocusableMixin",
|
|
6655
6879
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
6656
|
-
},
|
|
6657
|
-
{
|
|
6658
|
-
"name": "DraftComponentMixin",
|
|
6659
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
6660
6880
|
}
|
|
6661
6881
|
],
|
|
6662
6882
|
"superclass": {
|
|
6663
6883
|
"name": "LitElement",
|
|
6664
6884
|
"package": "lit"
|
|
6665
6885
|
},
|
|
6666
|
-
"status": "
|
|
6886
|
+
"status": "ready",
|
|
6667
6887
|
"category": "form",
|
|
6668
6888
|
"tagName": "nord-radio",
|
|
6669
6889
|
"customElement": true,
|
|
@@ -6987,6 +7207,14 @@
|
|
|
6987
7207
|
"kind": "method",
|
|
6988
7208
|
"name": "handleChange",
|
|
6989
7209
|
"privacy": "protected",
|
|
7210
|
+
"parameters": [
|
|
7211
|
+
{
|
|
7212
|
+
"name": "e",
|
|
7213
|
+
"type": {
|
|
7214
|
+
"text": "Event"
|
|
7215
|
+
}
|
|
7216
|
+
}
|
|
7217
|
+
],
|
|
6990
7218
|
"inheritedFrom": {
|
|
6991
7219
|
"name": "FormAssociatedMixin",
|
|
6992
7220
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -7143,20 +7371,6 @@
|
|
|
7143
7371
|
"name": "FocusableMixin",
|
|
7144
7372
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
7145
7373
|
}
|
|
7146
|
-
},
|
|
7147
|
-
{
|
|
7148
|
-
"kind": "field",
|
|
7149
|
-
"name": "_warningLogged",
|
|
7150
|
-
"type": {
|
|
7151
|
-
"text": "boolean"
|
|
7152
|
-
},
|
|
7153
|
-
"privacy": "private",
|
|
7154
|
-
"static": true,
|
|
7155
|
-
"default": "false",
|
|
7156
|
-
"inheritedFrom": {
|
|
7157
|
-
"name": "DraftComponentMixin",
|
|
7158
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
7159
|
-
}
|
|
7160
7374
|
}
|
|
7161
7375
|
],
|
|
7162
7376
|
"mixins": [
|
|
@@ -7171,17 +7385,13 @@
|
|
|
7171
7385
|
{
|
|
7172
7386
|
"name": "FocusableMixin",
|
|
7173
7387
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
7174
|
-
},
|
|
7175
|
-
{
|
|
7176
|
-
"name": "DraftComponentMixin",
|
|
7177
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
7178
7388
|
}
|
|
7179
7389
|
],
|
|
7180
7390
|
"superclass": {
|
|
7181
7391
|
"name": "LitElement",
|
|
7182
7392
|
"package": "lit"
|
|
7183
7393
|
},
|
|
7184
|
-
"status": "
|
|
7394
|
+
"status": "ready",
|
|
7185
7395
|
"category": "form",
|
|
7186
7396
|
"tagName": "nord-select",
|
|
7187
7397
|
"customElement": true,
|
|
@@ -7398,20 +7608,6 @@
|
|
|
7398
7608
|
"description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
|
|
7399
7609
|
"attribute": "label",
|
|
7400
7610
|
"reflects": true
|
|
7401
|
-
},
|
|
7402
|
-
{
|
|
7403
|
-
"kind": "field",
|
|
7404
|
-
"name": "_warningLogged",
|
|
7405
|
-
"type": {
|
|
7406
|
-
"text": "boolean"
|
|
7407
|
-
},
|
|
7408
|
-
"privacy": "private",
|
|
7409
|
-
"static": true,
|
|
7410
|
-
"default": "false",
|
|
7411
|
-
"inheritedFrom": {
|
|
7412
|
-
"name": "DraftComponentMixin",
|
|
7413
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
7414
|
-
}
|
|
7415
7611
|
}
|
|
7416
7612
|
],
|
|
7417
7613
|
"attributes": [
|
|
@@ -7441,17 +7637,11 @@
|
|
|
7441
7637
|
"fieldName": "label"
|
|
7442
7638
|
}
|
|
7443
7639
|
],
|
|
7444
|
-
"mixins": [
|
|
7445
|
-
{
|
|
7446
|
-
"name": "DraftComponentMixin",
|
|
7447
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
7448
|
-
}
|
|
7449
|
-
],
|
|
7450
7640
|
"superclass": {
|
|
7451
7641
|
"name": "LitElement",
|
|
7452
7642
|
"package": "lit"
|
|
7453
7643
|
},
|
|
7454
|
-
"status": "
|
|
7644
|
+
"status": "ready",
|
|
7455
7645
|
"category": "feedback",
|
|
7456
7646
|
"tagName": "nord-spinner",
|
|
7457
7647
|
"customElement": true
|
|
@@ -7526,17 +7716,13 @@
|
|
|
7526
7716
|
},
|
|
7527
7717
|
{
|
|
7528
7718
|
"kind": "field",
|
|
7529
|
-
"name": "
|
|
7719
|
+
"name": "justifyContent",
|
|
7530
7720
|
"type": {
|
|
7531
|
-
"text": "
|
|
7721
|
+
"text": "\"center\" | \"start\" | \"end\" | undefined"
|
|
7532
7722
|
},
|
|
7533
|
-
"
|
|
7534
|
-
"
|
|
7535
|
-
"
|
|
7536
|
-
"inheritedFrom": {
|
|
7537
|
-
"name": "DraftComponentMixin",
|
|
7538
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
7539
|
-
}
|
|
7723
|
+
"description": "How to justify the child items inside the stack.",
|
|
7724
|
+
"attribute": "justify-content",
|
|
7725
|
+
"reflects": true
|
|
7540
7726
|
}
|
|
7541
7727
|
],
|
|
7542
7728
|
"attributes": [
|
|
@@ -7565,19 +7751,21 @@
|
|
|
7565
7751
|
},
|
|
7566
7752
|
"description": "How to align the child items inside the stack.",
|
|
7567
7753
|
"fieldName": "alignItems"
|
|
7568
|
-
}
|
|
7569
|
-
],
|
|
7570
|
-
"mixins": [
|
|
7754
|
+
},
|
|
7571
7755
|
{
|
|
7572
|
-
"name": "
|
|
7573
|
-
"
|
|
7756
|
+
"name": "justify-content",
|
|
7757
|
+
"type": {
|
|
7758
|
+
"text": "\"center\" | \"start\" | \"end\" | undefined"
|
|
7759
|
+
},
|
|
7760
|
+
"description": "How to justify the child items inside the stack.",
|
|
7761
|
+
"fieldName": "justifyContent"
|
|
7574
7762
|
}
|
|
7575
7763
|
],
|
|
7576
7764
|
"superclass": {
|
|
7577
7765
|
"name": "LitElement",
|
|
7578
7766
|
"package": "lit"
|
|
7579
7767
|
},
|
|
7580
|
-
"status": "
|
|
7768
|
+
"status": "ready",
|
|
7581
7769
|
"category": "structure",
|
|
7582
7770
|
"tagName": "nord-stack",
|
|
7583
7771
|
"customElement": true
|
|
@@ -7640,44 +7828,24 @@
|
|
|
7640
7828
|
"name": "createRenderRoot",
|
|
7641
7829
|
"privacy": "protected",
|
|
7642
7830
|
"description": "opt out of shadow dom"
|
|
7643
|
-
}
|
|
7831
|
+
}
|
|
7832
|
+
],
|
|
7833
|
+
"attributes": [
|
|
7644
7834
|
{
|
|
7645
|
-
"
|
|
7646
|
-
"name": "_warningLogged",
|
|
7835
|
+
"name": "density",
|
|
7647
7836
|
"type": {
|
|
7648
|
-
"text": "
|
|
7649
|
-
},
|
|
7650
|
-
"privacy": "private",
|
|
7651
|
-
"static": true,
|
|
7652
|
-
"default": "false",
|
|
7653
|
-
"inheritedFrom": {
|
|
7654
|
-
"name": "DraftComponentMixin",
|
|
7655
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
7656
|
-
}
|
|
7657
|
-
}
|
|
7658
|
-
],
|
|
7659
|
-
"attributes": [
|
|
7660
|
-
{
|
|
7661
|
-
"name": "density",
|
|
7662
|
-
"type": {
|
|
7663
|
-
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
7837
|
+
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
7664
7838
|
},
|
|
7665
7839
|
"default": "\"default\"",
|
|
7666
7840
|
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
7667
7841
|
"fieldName": "density"
|
|
7668
7842
|
}
|
|
7669
7843
|
],
|
|
7670
|
-
"mixins": [
|
|
7671
|
-
{
|
|
7672
|
-
"name": "DraftComponentMixin",
|
|
7673
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
7674
|
-
}
|
|
7675
|
-
],
|
|
7676
7844
|
"superclass": {
|
|
7677
7845
|
"name": "LitElement",
|
|
7678
7846
|
"package": "lit"
|
|
7679
7847
|
},
|
|
7680
|
-
"status": "
|
|
7848
|
+
"status": "ready",
|
|
7681
7849
|
"category": "list",
|
|
7682
7850
|
"tagName": "nord-table",
|
|
7683
7851
|
"customElement": true
|
|
@@ -7947,6 +8115,14 @@
|
|
|
7947
8115
|
"kind": "method",
|
|
7948
8116
|
"name": "handleChange",
|
|
7949
8117
|
"privacy": "protected",
|
|
8118
|
+
"parameters": [
|
|
8119
|
+
{
|
|
8120
|
+
"name": "e",
|
|
8121
|
+
"type": {
|
|
8122
|
+
"text": "Event"
|
|
8123
|
+
}
|
|
8124
|
+
}
|
|
8125
|
+
],
|
|
7950
8126
|
"inheritedFrom": {
|
|
7951
8127
|
"name": "FormAssociatedMixin",
|
|
7952
8128
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -8103,20 +8279,6 @@
|
|
|
8103
8279
|
"name": "FocusableMixin",
|
|
8104
8280
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
8105
8281
|
}
|
|
8106
|
-
},
|
|
8107
|
-
{
|
|
8108
|
-
"kind": "field",
|
|
8109
|
-
"name": "_warningLogged",
|
|
8110
|
-
"type": {
|
|
8111
|
-
"text": "boolean"
|
|
8112
|
-
},
|
|
8113
|
-
"privacy": "private",
|
|
8114
|
-
"static": true,
|
|
8115
|
-
"default": "false",
|
|
8116
|
-
"inheritedFrom": {
|
|
8117
|
-
"name": "DraftComponentMixin",
|
|
8118
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
8119
|
-
}
|
|
8120
8282
|
}
|
|
8121
8283
|
],
|
|
8122
8284
|
"attributes": [
|
|
@@ -8268,17 +8430,13 @@
|
|
|
8268
8430
|
{
|
|
8269
8431
|
"name": "FocusableMixin",
|
|
8270
8432
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
8271
|
-
},
|
|
8272
|
-
{
|
|
8273
|
-
"name": "DraftComponentMixin",
|
|
8274
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
8275
8433
|
}
|
|
8276
8434
|
],
|
|
8277
8435
|
"superclass": {
|
|
8278
8436
|
"name": "LitElement",
|
|
8279
8437
|
"package": "lit"
|
|
8280
8438
|
},
|
|
8281
|
-
"status": "
|
|
8439
|
+
"status": "ready",
|
|
8282
8440
|
"category": "form",
|
|
8283
8441
|
"tagName": "nord-textarea",
|
|
8284
8442
|
"customElement": true,
|
|
@@ -8363,9 +8521,23 @@
|
|
|
8363
8521
|
},
|
|
8364
8522
|
{
|
|
8365
8523
|
"kind": "field",
|
|
8366
|
-
"name": "
|
|
8524
|
+
"name": "events",
|
|
8525
|
+
"privacy": "private",
|
|
8526
|
+
"default": "new EventController(this)"
|
|
8527
|
+
},
|
|
8528
|
+
{
|
|
8529
|
+
"kind": "field",
|
|
8530
|
+
"name": "currentElement",
|
|
8531
|
+
"type": {
|
|
8532
|
+
"text": "FocusableElement | undefined"
|
|
8533
|
+
},
|
|
8534
|
+
"privacy": "private"
|
|
8535
|
+
},
|
|
8536
|
+
{
|
|
8537
|
+
"kind": "field",
|
|
8538
|
+
"name": "timeoutId",
|
|
8367
8539
|
"type": {
|
|
8368
|
-
"text": "
|
|
8540
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
8369
8541
|
},
|
|
8370
8542
|
"privacy": "private"
|
|
8371
8543
|
},
|
|
@@ -8377,12 +8549,22 @@
|
|
|
8377
8549
|
},
|
|
8378
8550
|
{
|
|
8379
8551
|
"kind": "field",
|
|
8380
|
-
"name": "
|
|
8552
|
+
"name": "state",
|
|
8381
8553
|
"type": {
|
|
8382
|
-
"text": "
|
|
8554
|
+
"text": "TooltipStates"
|
|
8383
8555
|
},
|
|
8384
|
-
"
|
|
8385
|
-
"
|
|
8556
|
+
"privacy": "private",
|
|
8557
|
+
"default": "\"hidden\"",
|
|
8558
|
+
"description": "The current state of the tooltip, dependent on the state machine"
|
|
8559
|
+
},
|
|
8560
|
+
{
|
|
8561
|
+
"kind": "field",
|
|
8562
|
+
"name": "coords",
|
|
8563
|
+
"type": {
|
|
8564
|
+
"text": "[number, number]"
|
|
8565
|
+
},
|
|
8566
|
+
"privacy": "private",
|
|
8567
|
+
"default": "[0, 0]"
|
|
8386
8568
|
},
|
|
8387
8569
|
{
|
|
8388
8570
|
"kind": "field",
|
|
@@ -8428,6 +8610,19 @@
|
|
|
8428
8610
|
"attribute": "delay",
|
|
8429
8611
|
"reflects": true
|
|
8430
8612
|
},
|
|
8613
|
+
{
|
|
8614
|
+
"kind": "method",
|
|
8615
|
+
"name": "handleTransition",
|
|
8616
|
+
"privacy": "private",
|
|
8617
|
+
"parameters": [
|
|
8618
|
+
{
|
|
8619
|
+
"name": "prevState",
|
|
8620
|
+
"type": {
|
|
8621
|
+
"text": "TooltipStates"
|
|
8622
|
+
}
|
|
8623
|
+
}
|
|
8624
|
+
]
|
|
8625
|
+
},
|
|
8431
8626
|
{
|
|
8432
8627
|
"kind": "field",
|
|
8433
8628
|
"name": "updatePosition",
|
|
@@ -8436,48 +8631,38 @@
|
|
|
8436
8631
|
},
|
|
8437
8632
|
{
|
|
8438
8633
|
"kind": "field",
|
|
8439
|
-
"name": "
|
|
8634
|
+
"name": "hideTooltip",
|
|
8440
8635
|
"privacy": "private"
|
|
8441
8636
|
},
|
|
8442
8637
|
{
|
|
8443
8638
|
"kind": "field",
|
|
8444
|
-
"name": "
|
|
8445
|
-
"privacy": "private"
|
|
8446
|
-
"description": "Show and hide the tooltip using inline styles"
|
|
8639
|
+
"name": "reposition",
|
|
8640
|
+
"privacy": "private"
|
|
8447
8641
|
},
|
|
8448
8642
|
{
|
|
8449
8643
|
"kind": "field",
|
|
8450
|
-
"name": "
|
|
8644
|
+
"name": "handleShow",
|
|
8451
8645
|
"privacy": "private"
|
|
8452
8646
|
},
|
|
8453
8647
|
{
|
|
8454
8648
|
"kind": "field",
|
|
8455
|
-
"name": "
|
|
8649
|
+
"name": "handleHide",
|
|
8456
8650
|
"privacy": "private"
|
|
8457
8651
|
},
|
|
8458
8652
|
{
|
|
8459
8653
|
"kind": "field",
|
|
8460
|
-
"name": "
|
|
8654
|
+
"name": "hideOnEscape",
|
|
8461
8655
|
"privacy": "private"
|
|
8462
8656
|
},
|
|
8463
8657
|
{
|
|
8464
8658
|
"kind": "field",
|
|
8465
|
-
"name": "
|
|
8659
|
+
"name": "addDescribedBy",
|
|
8466
8660
|
"privacy": "private"
|
|
8467
8661
|
},
|
|
8468
8662
|
{
|
|
8469
8663
|
"kind": "field",
|
|
8470
|
-
"name": "
|
|
8471
|
-
"
|
|
8472
|
-
"text": "boolean"
|
|
8473
|
-
},
|
|
8474
|
-
"privacy": "private",
|
|
8475
|
-
"static": true,
|
|
8476
|
-
"default": "false",
|
|
8477
|
-
"inheritedFrom": {
|
|
8478
|
-
"name": "DraftComponentMixin",
|
|
8479
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
8480
|
-
}
|
|
8664
|
+
"name": "removeDescribedBy",
|
|
8665
|
+
"privacy": "private"
|
|
8481
8666
|
}
|
|
8482
8667
|
],
|
|
8483
8668
|
"attributes": [
|
|
@@ -8518,17 +8703,11 @@
|
|
|
8518
8703
|
"fieldName": "delay"
|
|
8519
8704
|
}
|
|
8520
8705
|
],
|
|
8521
|
-
"mixins": [
|
|
8522
|
-
{
|
|
8523
|
-
"name": "DraftComponentMixin",
|
|
8524
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
8525
|
-
}
|
|
8526
|
-
],
|
|
8527
8706
|
"superclass": {
|
|
8528
8707
|
"name": "LitElement",
|
|
8529
8708
|
"package": "lit"
|
|
8530
8709
|
},
|
|
8531
|
-
"status": "
|
|
8710
|
+
"status": "ready",
|
|
8532
8711
|
"category": "overlay",
|
|
8533
8712
|
"tagName": "nord-tooltip",
|
|
8534
8713
|
"customElement": true
|
|
@@ -8568,33 +8747,12 @@
|
|
|
8568
8747
|
"name": ""
|
|
8569
8748
|
}
|
|
8570
8749
|
],
|
|
8571
|
-
"members": [
|
|
8572
|
-
{
|
|
8573
|
-
"kind": "field",
|
|
8574
|
-
"name": "_warningLogged",
|
|
8575
|
-
"type": {
|
|
8576
|
-
"text": "boolean"
|
|
8577
|
-
},
|
|
8578
|
-
"privacy": "private",
|
|
8579
|
-
"static": true,
|
|
8580
|
-
"default": "false",
|
|
8581
|
-
"inheritedFrom": {
|
|
8582
|
-
"name": "DraftComponentMixin",
|
|
8583
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
8584
|
-
}
|
|
8585
|
-
}
|
|
8586
|
-
],
|
|
8587
|
-
"mixins": [
|
|
8588
|
-
{
|
|
8589
|
-
"name": "DraftComponentMixin",
|
|
8590
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
8591
|
-
}
|
|
8592
|
-
],
|
|
8750
|
+
"members": [],
|
|
8593
8751
|
"superclass": {
|
|
8594
8752
|
"name": "LitElement",
|
|
8595
8753
|
"package": "lit"
|
|
8596
8754
|
},
|
|
8597
|
-
"status": "
|
|
8755
|
+
"status": "ready",
|
|
8598
8756
|
"category": "text",
|
|
8599
8757
|
"tagName": "nord-visually-hidden",
|
|
8600
8758
|
"customElement": true
|
|
@@ -8622,217 +8780,206 @@
|
|
|
8622
8780
|
},
|
|
8623
8781
|
{
|
|
8624
8782
|
"kind": "javascript-module",
|
|
8625
|
-
"path": "src/common/
|
|
8783
|
+
"path": "src/common/directives/cond.ts",
|
|
8626
8784
|
"declarations": [
|
|
8627
8785
|
{
|
|
8628
|
-
"kind": "
|
|
8629
|
-
"
|
|
8630
|
-
"name": "DirectionController",
|
|
8631
|
-
"members": [
|
|
8632
|
-
{
|
|
8633
|
-
"kind": "field",
|
|
8634
|
-
"name": "hosts",
|
|
8635
|
-
"privacy": "private",
|
|
8636
|
-
"static": true,
|
|
8637
|
-
"default": "new Set<ReactiveControllerHost>()"
|
|
8638
|
-
},
|
|
8639
|
-
{
|
|
8640
|
-
"kind": "field",
|
|
8641
|
-
"name": "observer",
|
|
8642
|
-
"type": {
|
|
8643
|
-
"text": "MutationObserver | undefined"
|
|
8644
|
-
},
|
|
8645
|
-
"privacy": "private",
|
|
8646
|
-
"static": true
|
|
8647
|
-
},
|
|
8648
|
-
{
|
|
8649
|
-
"kind": "field",
|
|
8650
|
-
"name": "dir",
|
|
8651
|
-
"type": {
|
|
8652
|
-
"text": "WritingDirection"
|
|
8653
|
-
}
|
|
8654
|
-
},
|
|
8655
|
-
{
|
|
8656
|
-
"kind": "field",
|
|
8657
|
-
"name": "isLTR"
|
|
8658
|
-
},
|
|
8659
|
-
{
|
|
8660
|
-
"kind": "field",
|
|
8661
|
-
"name": "isRTL"
|
|
8662
|
-
},
|
|
8663
|
-
{
|
|
8664
|
-
"kind": "method",
|
|
8665
|
-
"name": "hostConnected"
|
|
8666
|
-
},
|
|
8667
|
-
{
|
|
8668
|
-
"kind": "method",
|
|
8669
|
-
"name": "hostDisconnected"
|
|
8670
|
-
},
|
|
8671
|
-
{
|
|
8672
|
-
"kind": "method",
|
|
8673
|
-
"name": "observe",
|
|
8674
|
-
"privacy": "private",
|
|
8675
|
-
"static": true
|
|
8676
|
-
},
|
|
8677
|
-
{
|
|
8678
|
-
"kind": "field",
|
|
8679
|
-
"name": "host",
|
|
8680
|
-
"default": "host"
|
|
8681
|
-
}
|
|
8682
|
-
]
|
|
8786
|
+
"kind": "variable",
|
|
8787
|
+
"name": "cond"
|
|
8683
8788
|
}
|
|
8684
8789
|
],
|
|
8685
8790
|
"exports": [
|
|
8686
8791
|
{
|
|
8687
8792
|
"kind": "js",
|
|
8688
|
-
"name": "
|
|
8793
|
+
"name": "cond",
|
|
8689
8794
|
"declaration": {
|
|
8690
|
-
"name": "
|
|
8691
|
-
"module": "src/common/
|
|
8795
|
+
"name": "cond",
|
|
8796
|
+
"module": "src/common/directives/cond.ts"
|
|
8692
8797
|
}
|
|
8693
8798
|
}
|
|
8694
8799
|
]
|
|
8695
8800
|
},
|
|
8696
8801
|
{
|
|
8697
8802
|
"kind": "javascript-module",
|
|
8698
|
-
"path": "src/common/
|
|
8803
|
+
"path": "src/common/directives/wrapIf.ts",
|
|
8699
8804
|
"declarations": [
|
|
8700
8805
|
{
|
|
8701
|
-
"kind": "
|
|
8702
|
-
"
|
|
8703
|
-
"
|
|
8704
|
-
|
|
8806
|
+
"kind": "function",
|
|
8807
|
+
"name": "wrapIf",
|
|
8808
|
+
"return": {
|
|
8809
|
+
"type": {
|
|
8810
|
+
"text": "TInner"
|
|
8811
|
+
}
|
|
8812
|
+
},
|
|
8813
|
+
"parameters": [
|
|
8705
8814
|
{
|
|
8706
|
-
"
|
|
8707
|
-
"
|
|
8815
|
+
"name": "condition",
|
|
8816
|
+
"type": {
|
|
8817
|
+
"text": "false"
|
|
8818
|
+
}
|
|
8708
8819
|
},
|
|
8709
8820
|
{
|
|
8710
|
-
"
|
|
8711
|
-
"
|
|
8821
|
+
"name": "inner",
|
|
8822
|
+
"type": {
|
|
8823
|
+
"text": "() => TInner"
|
|
8824
|
+
}
|
|
8712
8825
|
},
|
|
8713
8826
|
{
|
|
8714
|
-
"
|
|
8715
|
-
"
|
|
8716
|
-
|
|
8827
|
+
"name": "wrapper",
|
|
8828
|
+
"type": {
|
|
8829
|
+
"text": "(inner: TInner) => TWrapper"
|
|
8830
|
+
}
|
|
8831
|
+
}
|
|
8832
|
+
]
|
|
8833
|
+
},
|
|
8834
|
+
{
|
|
8835
|
+
"kind": "function",
|
|
8836
|
+
"name": "wrapIf",
|
|
8837
|
+
"return": {
|
|
8838
|
+
"type": {
|
|
8839
|
+
"text": "TWrapper"
|
|
8840
|
+
}
|
|
8841
|
+
},
|
|
8842
|
+
"parameters": [
|
|
8843
|
+
{
|
|
8844
|
+
"name": "condition",
|
|
8845
|
+
"type": {
|
|
8846
|
+
"text": "true"
|
|
8847
|
+
}
|
|
8717
8848
|
},
|
|
8718
8849
|
{
|
|
8719
|
-
"
|
|
8720
|
-
"
|
|
8721
|
-
|
|
8850
|
+
"name": "inner",
|
|
8851
|
+
"type": {
|
|
8852
|
+
"text": "() => TInner"
|
|
8853
|
+
}
|
|
8722
8854
|
},
|
|
8723
8855
|
{
|
|
8724
|
-
"
|
|
8725
|
-
"
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
"exports": [
|
|
8732
|
-
{
|
|
8733
|
-
"kind": "js",
|
|
8734
|
-
"name": "FormDataController",
|
|
8735
|
-
"declaration": {
|
|
8736
|
-
"name": "FormDataController",
|
|
8737
|
-
"module": "src/common/controllers/FormDataController.ts"
|
|
8738
|
-
}
|
|
8739
|
-
}
|
|
8740
|
-
]
|
|
8741
|
-
},
|
|
8742
|
-
{
|
|
8743
|
-
"kind": "javascript-module",
|
|
8744
|
-
"path": "src/common/controllers/LightDismissController.ts",
|
|
8745
|
-
"declarations": [
|
|
8856
|
+
"name": "wrapper",
|
|
8857
|
+
"type": {
|
|
8858
|
+
"text": "(inner: TInner) => TWrapper"
|
|
8859
|
+
}
|
|
8860
|
+
}
|
|
8861
|
+
]
|
|
8862
|
+
},
|
|
8746
8863
|
{
|
|
8747
|
-
"kind": "
|
|
8748
|
-
"
|
|
8749
|
-
"
|
|
8750
|
-
|
|
8864
|
+
"kind": "function",
|
|
8865
|
+
"name": "wrapIf",
|
|
8866
|
+
"return": {
|
|
8867
|
+
"type": {
|
|
8868
|
+
"text": "TInner | TWrapper"
|
|
8869
|
+
}
|
|
8870
|
+
},
|
|
8871
|
+
"parameters": [
|
|
8751
8872
|
{
|
|
8752
|
-
"
|
|
8753
|
-
"name": "shortcut",
|
|
8873
|
+
"name": "condition",
|
|
8754
8874
|
"type": {
|
|
8755
|
-
"text": "
|
|
8756
|
-
}
|
|
8757
|
-
"privacy": "private",
|
|
8758
|
-
"default": "new ShortcutController(this.host, { Escape: this.handleEsc })"
|
|
8759
|
-
},
|
|
8760
|
-
{
|
|
8761
|
-
"kind": "method",
|
|
8762
|
-
"name": "hostConnected"
|
|
8875
|
+
"text": "unknown"
|
|
8876
|
+
}
|
|
8763
8877
|
},
|
|
8764
8878
|
{
|
|
8765
|
-
"
|
|
8766
|
-
"
|
|
8879
|
+
"name": "inner",
|
|
8880
|
+
"type": {
|
|
8881
|
+
"text": "() => TInner"
|
|
8882
|
+
}
|
|
8767
8883
|
},
|
|
8768
8884
|
{
|
|
8769
|
-
"
|
|
8770
|
-
"
|
|
8771
|
-
|
|
8772
|
-
|
|
8885
|
+
"name": "wrapper",
|
|
8886
|
+
"type": {
|
|
8887
|
+
"text": "(inner: TInner) => TWrapper"
|
|
8888
|
+
}
|
|
8889
|
+
}
|
|
8890
|
+
]
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
"kind": "function",
|
|
8894
|
+
"name": "wrapIf",
|
|
8895
|
+
"parameters": [
|
|
8773
8896
|
{
|
|
8774
|
-
"
|
|
8775
|
-
"
|
|
8776
|
-
|
|
8897
|
+
"name": "condition",
|
|
8898
|
+
"type": {
|
|
8899
|
+
"text": "any"
|
|
8900
|
+
}
|
|
8777
8901
|
},
|
|
8778
8902
|
{
|
|
8779
|
-
"
|
|
8780
|
-
"
|
|
8781
|
-
|
|
8903
|
+
"name": "inner",
|
|
8904
|
+
"type": {
|
|
8905
|
+
"text": "() => TInner"
|
|
8906
|
+
}
|
|
8782
8907
|
},
|
|
8783
8908
|
{
|
|
8784
|
-
"
|
|
8785
|
-
"
|
|
8786
|
-
|
|
8909
|
+
"name": "wrapper",
|
|
8910
|
+
"type": {
|
|
8911
|
+
"text": "(innards: TInner) => TWrapper"
|
|
8912
|
+
}
|
|
8787
8913
|
}
|
|
8788
|
-
]
|
|
8914
|
+
],
|
|
8915
|
+
"return": {
|
|
8916
|
+
"type": {
|
|
8917
|
+
"text": ""
|
|
8918
|
+
}
|
|
8919
|
+
}
|
|
8789
8920
|
}
|
|
8790
8921
|
],
|
|
8791
8922
|
"exports": [
|
|
8792
8923
|
{
|
|
8793
8924
|
"kind": "js",
|
|
8794
|
-
"name": "
|
|
8925
|
+
"name": "wrapIf",
|
|
8795
8926
|
"declaration": {
|
|
8796
|
-
"name": "
|
|
8797
|
-
"module": "src/common/
|
|
8927
|
+
"name": "wrapIf",
|
|
8928
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
8929
|
+
}
|
|
8930
|
+
},
|
|
8931
|
+
{
|
|
8932
|
+
"kind": "js",
|
|
8933
|
+
"name": "wrapIf",
|
|
8934
|
+
"declaration": {
|
|
8935
|
+
"name": "wrapIf",
|
|
8936
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
8937
|
+
}
|
|
8938
|
+
},
|
|
8939
|
+
{
|
|
8940
|
+
"kind": "js",
|
|
8941
|
+
"name": "wrapIf",
|
|
8942
|
+
"declaration": {
|
|
8943
|
+
"name": "wrapIf",
|
|
8944
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
8945
|
+
}
|
|
8946
|
+
},
|
|
8947
|
+
{
|
|
8948
|
+
"kind": "js",
|
|
8949
|
+
"name": "wrapIf",
|
|
8950
|
+
"declaration": {
|
|
8951
|
+
"name": "wrapIf",
|
|
8952
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
8798
8953
|
}
|
|
8799
8954
|
}
|
|
8800
8955
|
]
|
|
8801
8956
|
},
|
|
8802
8957
|
{
|
|
8803
8958
|
"kind": "javascript-module",
|
|
8804
|
-
"path": "src/common/
|
|
8959
|
+
"path": "src/common/mixins/DraftComponentMixin.ts",
|
|
8805
8960
|
"declarations": [
|
|
8806
8961
|
{
|
|
8807
|
-
"kind": "
|
|
8962
|
+
"kind": "mixin",
|
|
8808
8963
|
"description": "",
|
|
8809
|
-
"name": "
|
|
8964
|
+
"name": "DraftComponentMixin",
|
|
8810
8965
|
"members": [
|
|
8811
8966
|
{
|
|
8812
8967
|
"kind": "field",
|
|
8813
|
-
"name": "
|
|
8968
|
+
"name": "_warningLogged",
|
|
8814
8969
|
"type": {
|
|
8815
|
-
"text": "
|
|
8970
|
+
"text": "boolean"
|
|
8816
8971
|
},
|
|
8817
|
-
"privacy": "private"
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
{
|
|
8824
|
-
"kind": "method",
|
|
8825
|
-
"name": "hostDisconnected"
|
|
8826
|
-
},
|
|
8827
|
-
{
|
|
8828
|
-
"kind": "field",
|
|
8829
|
-
"name": "host",
|
|
8830
|
-
"default": "host"
|
|
8831
|
-
},
|
|
8972
|
+
"privacy": "private",
|
|
8973
|
+
"static": true,
|
|
8974
|
+
"default": "false"
|
|
8975
|
+
}
|
|
8976
|
+
],
|
|
8977
|
+
"parameters": [
|
|
8832
8978
|
{
|
|
8833
|
-
"
|
|
8834
|
-
"
|
|
8835
|
-
|
|
8979
|
+
"name": "superClass",
|
|
8980
|
+
"type": {
|
|
8981
|
+
"text": "T"
|
|
8982
|
+
}
|
|
8836
8983
|
}
|
|
8837
8984
|
]
|
|
8838
8985
|
}
|
|
@@ -8840,468 +8987,619 @@
|
|
|
8840
8987
|
"exports": [
|
|
8841
8988
|
{
|
|
8842
8989
|
"kind": "js",
|
|
8843
|
-
"name": "
|
|
8990
|
+
"name": "DraftComponentMixin",
|
|
8844
8991
|
"declaration": {
|
|
8845
|
-
"name": "
|
|
8846
|
-
"module": "src/common/
|
|
8992
|
+
"name": "DraftComponentMixin",
|
|
8993
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
8847
8994
|
}
|
|
8848
8995
|
}
|
|
8849
8996
|
]
|
|
8850
8997
|
},
|
|
8851
8998
|
{
|
|
8852
8999
|
"kind": "javascript-module",
|
|
8853
|
-
"path": "src/common/
|
|
9000
|
+
"path": "src/common/mixins/FocusableMixin.ts",
|
|
8854
9001
|
"declarations": [
|
|
8855
9002
|
{
|
|
8856
9003
|
"kind": "class",
|
|
8857
|
-
"description": "
|
|
8858
|
-
"name": "
|
|
9004
|
+
"description": "",
|
|
9005
|
+
"name": "FocusableMixinInterface",
|
|
8859
9006
|
"members": [
|
|
8860
9007
|
{
|
|
8861
9008
|
"kind": "field",
|
|
8862
|
-
"name": "
|
|
9009
|
+
"name": "focusableRef",
|
|
8863
9010
|
"type": {
|
|
8864
|
-
"text": "
|
|
9011
|
+
"text": "Ref<HTMLElement>"
|
|
8865
9012
|
},
|
|
8866
|
-
"privacy": "
|
|
9013
|
+
"privacy": "protected"
|
|
8867
9014
|
},
|
|
8868
9015
|
{
|
|
8869
|
-
"kind": "
|
|
8870
|
-
"name": "
|
|
8871
|
-
"
|
|
8872
|
-
"
|
|
9016
|
+
"kind": "method",
|
|
9017
|
+
"name": "focus",
|
|
9018
|
+
"return": {
|
|
9019
|
+
"type": {
|
|
9020
|
+
"text": "void"
|
|
9021
|
+
}
|
|
8873
9022
|
},
|
|
8874
|
-
"
|
|
8875
|
-
|
|
9023
|
+
"parameters": [
|
|
9024
|
+
{
|
|
9025
|
+
"name": "options",
|
|
9026
|
+
"optional": true,
|
|
9027
|
+
"type": {
|
|
9028
|
+
"text": "FocusOptions"
|
|
9029
|
+
}
|
|
9030
|
+
}
|
|
9031
|
+
]
|
|
8876
9032
|
},
|
|
8877
9033
|
{
|
|
8878
9034
|
"kind": "method",
|
|
8879
|
-
"name": "
|
|
8880
|
-
"
|
|
8881
|
-
"
|
|
8882
|
-
|
|
9035
|
+
"name": "blur",
|
|
9036
|
+
"return": {
|
|
9037
|
+
"type": {
|
|
9038
|
+
"text": "void"
|
|
9039
|
+
}
|
|
8883
9040
|
}
|
|
8884
9041
|
},
|
|
8885
9042
|
{
|
|
8886
9043
|
"kind": "method",
|
|
8887
|
-
"name": "
|
|
8888
|
-
"
|
|
8889
|
-
"
|
|
8890
|
-
|
|
9044
|
+
"name": "click",
|
|
9045
|
+
"return": {
|
|
9046
|
+
"type": {
|
|
9047
|
+
"text": "void"
|
|
9048
|
+
}
|
|
8891
9049
|
}
|
|
8892
|
-
}
|
|
9050
|
+
}
|
|
9051
|
+
]
|
|
9052
|
+
},
|
|
9053
|
+
{
|
|
9054
|
+
"kind": "mixin",
|
|
9055
|
+
"description": "",
|
|
9056
|
+
"name": "FocusableMixin",
|
|
9057
|
+
"members": [
|
|
8893
9058
|
{
|
|
8894
9059
|
"kind": "field",
|
|
8895
|
-
"name": "
|
|
8896
|
-
"privacy": "protected"
|
|
9060
|
+
"name": "focusableRef",
|
|
9061
|
+
"privacy": "protected"
|
|
9062
|
+
},
|
|
9063
|
+
{
|
|
9064
|
+
"kind": "method",
|
|
9065
|
+
"name": "focus",
|
|
8897
9066
|
"parameters": [
|
|
8898
9067
|
{
|
|
8899
|
-
"name": "
|
|
9068
|
+
"name": "options",
|
|
9069
|
+
"optional": true,
|
|
8900
9070
|
"type": {
|
|
8901
|
-
"text": "
|
|
8902
|
-
}
|
|
9071
|
+
"text": "FocusOptions"
|
|
9072
|
+
},
|
|
9073
|
+
"description": "An object which controls aspects of the focusing process."
|
|
8903
9074
|
}
|
|
8904
9075
|
],
|
|
8905
|
-
"
|
|
8906
|
-
"name": "SlotController",
|
|
8907
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
8908
|
-
}
|
|
9076
|
+
"description": "Programmatically move focus to the component."
|
|
8909
9077
|
},
|
|
8910
9078
|
{
|
|
8911
9079
|
"kind": "method",
|
|
8912
|
-
"name": "
|
|
8913
|
-
"
|
|
9080
|
+
"name": "blur",
|
|
9081
|
+
"description": "Programmatically remove focus from the component."
|
|
8914
9082
|
},
|
|
8915
9083
|
{
|
|
8916
|
-
"kind": "
|
|
8917
|
-
"name": "
|
|
8918
|
-
"
|
|
9084
|
+
"kind": "method",
|
|
9085
|
+
"name": "click",
|
|
9086
|
+
"description": "Programmatically simulates a click on the component."
|
|
9087
|
+
}
|
|
9088
|
+
],
|
|
9089
|
+
"parameters": [
|
|
9090
|
+
{
|
|
9091
|
+
"name": "superClass",
|
|
9092
|
+
"type": {
|
|
9093
|
+
"text": "T"
|
|
9094
|
+
}
|
|
9095
|
+
}
|
|
9096
|
+
]
|
|
9097
|
+
}
|
|
9098
|
+
],
|
|
9099
|
+
"exports": [
|
|
9100
|
+
{
|
|
9101
|
+
"kind": "js",
|
|
9102
|
+
"name": "FocusableMixinInterface",
|
|
9103
|
+
"declaration": {
|
|
9104
|
+
"name": "FocusableMixinInterface",
|
|
9105
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
9106
|
+
}
|
|
9107
|
+
},
|
|
9108
|
+
{
|
|
9109
|
+
"kind": "js",
|
|
9110
|
+
"name": "FocusableMixin",
|
|
9111
|
+
"declaration": {
|
|
9112
|
+
"name": "FocusableMixin",
|
|
9113
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
9114
|
+
}
|
|
9115
|
+
}
|
|
9116
|
+
]
|
|
9117
|
+
},
|
|
9118
|
+
{
|
|
9119
|
+
"kind": "javascript-module",
|
|
9120
|
+
"path": "src/common/mixins/FormAssociatedMixin.ts",
|
|
9121
|
+
"declarations": [
|
|
9122
|
+
{
|
|
9123
|
+
"kind": "class",
|
|
9124
|
+
"description": "",
|
|
9125
|
+
"name": "FormAssociatedMixinInterface",
|
|
9126
|
+
"members": [
|
|
9127
|
+
{
|
|
9128
|
+
"kind": "field",
|
|
9129
|
+
"name": "label",
|
|
9130
|
+
"type": {
|
|
9131
|
+
"text": "string"
|
|
9132
|
+
}
|
|
8919
9133
|
},
|
|
8920
9134
|
{
|
|
8921
9135
|
"kind": "field",
|
|
8922
|
-
"name": "
|
|
8923
|
-
"
|
|
8924
|
-
"
|
|
8925
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
9136
|
+
"name": "required",
|
|
9137
|
+
"type": {
|
|
9138
|
+
"text": "boolean"
|
|
8926
9139
|
}
|
|
8927
9140
|
},
|
|
8928
9141
|
{
|
|
8929
9142
|
"kind": "field",
|
|
8930
|
-
"name": "
|
|
8931
|
-
"
|
|
8932
|
-
"
|
|
8933
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
9143
|
+
"name": "hint",
|
|
9144
|
+
"type": {
|
|
9145
|
+
"text": "string | undefined"
|
|
8934
9146
|
}
|
|
8935
9147
|
},
|
|
8936
9148
|
{
|
|
8937
9149
|
"kind": "field",
|
|
8938
|
-
"name": "
|
|
8939
|
-
"
|
|
8940
|
-
"
|
|
8941
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
9150
|
+
"name": "hideLabel",
|
|
9151
|
+
"type": {
|
|
9152
|
+
"text": "boolean"
|
|
8942
9153
|
}
|
|
8943
9154
|
},
|
|
8944
9155
|
{
|
|
8945
9156
|
"kind": "field",
|
|
8946
|
-
"name": "
|
|
8947
|
-
"
|
|
8948
|
-
|
|
8949
|
-
"name": "SlotController",
|
|
8950
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
9157
|
+
"name": "placeholder",
|
|
9158
|
+
"type": {
|
|
9159
|
+
"text": "string | undefined"
|
|
8951
9160
|
}
|
|
8952
9161
|
},
|
|
8953
9162
|
{
|
|
8954
9163
|
"kind": "field",
|
|
8955
|
-
"name": "
|
|
8956
|
-
"
|
|
8957
|
-
|
|
8958
|
-
"name": "SlotController",
|
|
8959
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
9164
|
+
"name": "error",
|
|
9165
|
+
"type": {
|
|
9166
|
+
"text": "string | undefined"
|
|
8960
9167
|
}
|
|
8961
9168
|
},
|
|
8962
9169
|
{
|
|
8963
9170
|
"kind": "field",
|
|
8964
|
-
"name": "
|
|
8965
|
-
"
|
|
8966
|
-
|
|
8967
|
-
"name": "SlotController",
|
|
8968
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
9171
|
+
"name": "expand",
|
|
9172
|
+
"type": {
|
|
9173
|
+
"text": "boolean"
|
|
8969
9174
|
}
|
|
8970
|
-
}
|
|
8971
|
-
],
|
|
8972
|
-
"superclass": {
|
|
8973
|
-
"name": "SlotController",
|
|
8974
|
-
"module": "/src/common/controllers/SlotController.js"
|
|
8975
|
-
},
|
|
8976
|
-
"status": null,
|
|
8977
|
-
"category": null
|
|
8978
|
-
}
|
|
8979
|
-
],
|
|
8980
|
-
"exports": [
|
|
8981
|
-
{
|
|
8982
|
-
"kind": "js",
|
|
8983
|
-
"name": "LightSlotController",
|
|
8984
|
-
"declaration": {
|
|
8985
|
-
"name": "LightSlotController",
|
|
8986
|
-
"module": "src/common/controllers/LightSlotController.ts"
|
|
8987
|
-
}
|
|
8988
|
-
}
|
|
8989
|
-
]
|
|
8990
|
-
},
|
|
8991
|
-
{
|
|
8992
|
-
"kind": "javascript-module",
|
|
8993
|
-
"path": "src/common/controllers/PortalController.ts",
|
|
8994
|
-
"declarations": [
|
|
8995
|
-
{
|
|
8996
|
-
"kind": "class",
|
|
8997
|
-
"description": "",
|
|
8998
|
-
"name": "PortalController",
|
|
8999
|
-
"members": [
|
|
9175
|
+
},
|
|
9000
9176
|
{
|
|
9001
9177
|
"kind": "field",
|
|
9002
|
-
"name": "
|
|
9178
|
+
"name": "inputId",
|
|
9003
9179
|
"type": {
|
|
9004
|
-
"text": "
|
|
9180
|
+
"text": "string"
|
|
9005
9181
|
},
|
|
9006
|
-
"privacy": "
|
|
9182
|
+
"privacy": "protected"
|
|
9007
9183
|
},
|
|
9008
9184
|
{
|
|
9009
9185
|
"kind": "field",
|
|
9010
|
-
"name": "
|
|
9186
|
+
"name": "errorId",
|
|
9011
9187
|
"type": {
|
|
9012
|
-
"text": "
|
|
9188
|
+
"text": "string"
|
|
9013
9189
|
},
|
|
9014
|
-
"privacy": "
|
|
9015
|
-
"default": "new LightDomController(host, {\n render: () => this.options.render.call(host),\n container: options.outlet,\n renderOptions: {\n renderBefore: this.renderHook,\n host,\n },\n })"
|
|
9190
|
+
"privacy": "protected"
|
|
9016
9191
|
},
|
|
9017
9192
|
{
|
|
9018
|
-
"kind": "
|
|
9019
|
-
"name": "
|
|
9193
|
+
"kind": "field",
|
|
9194
|
+
"name": "hintId",
|
|
9195
|
+
"type": {
|
|
9196
|
+
"text": "string"
|
|
9197
|
+
},
|
|
9198
|
+
"privacy": "protected"
|
|
9020
9199
|
},
|
|
9021
9200
|
{
|
|
9022
|
-
"kind": "
|
|
9023
|
-
"name": "
|
|
9201
|
+
"kind": "field",
|
|
9202
|
+
"name": "labelSlot",
|
|
9203
|
+
"type": {
|
|
9204
|
+
"text": "SlotController"
|
|
9205
|
+
},
|
|
9206
|
+
"privacy": "protected"
|
|
9024
9207
|
},
|
|
9025
9208
|
{
|
|
9026
|
-
"kind": "
|
|
9027
|
-
"name": "
|
|
9209
|
+
"kind": "field",
|
|
9210
|
+
"name": "hintSlot",
|
|
9211
|
+
"type": {
|
|
9212
|
+
"text": "SlotController"
|
|
9213
|
+
},
|
|
9214
|
+
"privacy": "protected"
|
|
9028
9215
|
},
|
|
9029
9216
|
{
|
|
9030
9217
|
"kind": "field",
|
|
9031
|
-
"name": "
|
|
9032
|
-
"
|
|
9218
|
+
"name": "errorSlot",
|
|
9219
|
+
"type": {
|
|
9220
|
+
"text": "SlotController"
|
|
9221
|
+
},
|
|
9222
|
+
"privacy": "protected"
|
|
9033
9223
|
},
|
|
9034
9224
|
{
|
|
9035
9225
|
"kind": "field",
|
|
9036
|
-
"name": "
|
|
9037
|
-
"
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
"exports": [
|
|
9043
|
-
{
|
|
9044
|
-
"kind": "js",
|
|
9045
|
-
"name": "PortalController",
|
|
9046
|
-
"declaration": {
|
|
9047
|
-
"name": "PortalController",
|
|
9048
|
-
"module": "src/common/controllers/PortalController.ts"
|
|
9049
|
-
}
|
|
9050
|
-
}
|
|
9051
|
-
]
|
|
9052
|
-
},
|
|
9053
|
-
{
|
|
9054
|
-
"kind": "javascript-module",
|
|
9055
|
-
"path": "src/common/controllers/ShortcutController.ts",
|
|
9056
|
-
"declarations": [
|
|
9057
|
-
{
|
|
9058
|
-
"kind": "class",
|
|
9059
|
-
"description": "",
|
|
9060
|
-
"name": "ShortcutController",
|
|
9061
|
-
"members": [
|
|
9226
|
+
"name": "formData",
|
|
9227
|
+
"type": {
|
|
9228
|
+
"text": "FormDataController"
|
|
9229
|
+
},
|
|
9230
|
+
"privacy": "protected"
|
|
9231
|
+
},
|
|
9062
9232
|
{
|
|
9063
9233
|
"kind": "field",
|
|
9064
|
-
"name": "
|
|
9234
|
+
"name": "formValue",
|
|
9065
9235
|
"type": {
|
|
9066
|
-
"text": "
|
|
9236
|
+
"text": "string | undefined"
|
|
9067
9237
|
},
|
|
9068
|
-
"privacy": "
|
|
9238
|
+
"privacy": "protected"
|
|
9069
9239
|
},
|
|
9070
9240
|
{
|
|
9071
|
-
"kind": "
|
|
9072
|
-
"name": "
|
|
9241
|
+
"kind": "field",
|
|
9242
|
+
"name": "hasError",
|
|
9243
|
+
"type": {
|
|
9244
|
+
"text": "boolean"
|
|
9245
|
+
},
|
|
9246
|
+
"privacy": "protected"
|
|
9073
9247
|
},
|
|
9074
9248
|
{
|
|
9075
|
-
"kind": "
|
|
9076
|
-
"name": "
|
|
9249
|
+
"kind": "field",
|
|
9250
|
+
"name": "hasHint",
|
|
9251
|
+
"type": {
|
|
9252
|
+
"text": "boolean"
|
|
9253
|
+
},
|
|
9254
|
+
"privacy": "protected"
|
|
9077
9255
|
},
|
|
9078
9256
|
{
|
|
9079
9257
|
"kind": "method",
|
|
9080
|
-
"name": "
|
|
9258
|
+
"name": "handleChange",
|
|
9259
|
+
"privacy": "protected",
|
|
9260
|
+
"return": {
|
|
9261
|
+
"type": {
|
|
9262
|
+
"text": "void"
|
|
9263
|
+
}
|
|
9264
|
+
},
|
|
9265
|
+
"parameters": [
|
|
9266
|
+
{
|
|
9267
|
+
"name": "e",
|
|
9268
|
+
"type": {
|
|
9269
|
+
"text": "Event"
|
|
9270
|
+
}
|
|
9271
|
+
}
|
|
9272
|
+
]
|
|
9081
9273
|
},
|
|
9082
9274
|
{
|
|
9083
9275
|
"kind": "method",
|
|
9084
|
-
"name": "
|
|
9276
|
+
"name": "handleInput",
|
|
9277
|
+
"privacy": "protected",
|
|
9278
|
+
"return": {
|
|
9279
|
+
"type": {
|
|
9280
|
+
"text": "void"
|
|
9281
|
+
}
|
|
9282
|
+
},
|
|
9085
9283
|
"parameters": [
|
|
9086
9284
|
{
|
|
9087
|
-
"name": "
|
|
9285
|
+
"name": "e",
|
|
9088
9286
|
"type": {
|
|
9089
|
-
"text": "
|
|
9287
|
+
"text": "Event"
|
|
9090
9288
|
}
|
|
9091
9289
|
}
|
|
9092
9290
|
]
|
|
9093
9291
|
},
|
|
9094
9292
|
{
|
|
9095
|
-
"kind": "
|
|
9096
|
-
"name": "
|
|
9097
|
-
"
|
|
9293
|
+
"kind": "method",
|
|
9294
|
+
"name": "renderLabel",
|
|
9295
|
+
"privacy": "protected",
|
|
9296
|
+
"return": {
|
|
9297
|
+
"type": {
|
|
9298
|
+
"text": "TemplateResult"
|
|
9299
|
+
}
|
|
9300
|
+
}
|
|
9098
9301
|
},
|
|
9099
9302
|
{
|
|
9100
|
-
"kind": "
|
|
9101
|
-
"name": "
|
|
9102
|
-
"
|
|
9303
|
+
"kind": "method",
|
|
9304
|
+
"name": "renderError",
|
|
9305
|
+
"privacy": "protected",
|
|
9306
|
+
"return": {
|
|
9307
|
+
"type": {
|
|
9308
|
+
"text": "TemplateResult"
|
|
9309
|
+
}
|
|
9310
|
+
}
|
|
9311
|
+
},
|
|
9312
|
+
{
|
|
9313
|
+
"kind": "method",
|
|
9314
|
+
"name": "getDescribedBy",
|
|
9315
|
+
"privacy": "protected",
|
|
9316
|
+
"return": {
|
|
9317
|
+
"type": {
|
|
9318
|
+
"text": "string | undefined"
|
|
9319
|
+
}
|
|
9320
|
+
}
|
|
9321
|
+
},
|
|
9322
|
+
{
|
|
9323
|
+
"kind": "method",
|
|
9324
|
+
"name": "getInvalid",
|
|
9325
|
+
"privacy": "protected",
|
|
9326
|
+
"return": {
|
|
9327
|
+
"type": {
|
|
9328
|
+
"text": "\"true\" | undefined"
|
|
9329
|
+
}
|
|
9330
|
+
}
|
|
9103
9331
|
}
|
|
9104
9332
|
]
|
|
9105
|
-
}
|
|
9106
|
-
],
|
|
9107
|
-
"exports": [
|
|
9108
|
-
{
|
|
9109
|
-
"kind": "js",
|
|
9110
|
-
"name": "ShortcutController",
|
|
9111
|
-
"declaration": {
|
|
9112
|
-
"name": "ShortcutController",
|
|
9113
|
-
"module": "src/common/controllers/ShortcutController.ts"
|
|
9114
|
-
}
|
|
9115
9333
|
},
|
|
9116
9334
|
{
|
|
9117
|
-
"kind": "
|
|
9118
|
-
"name": "ShortcutMap",
|
|
9119
|
-
"declaration": {
|
|
9120
|
-
"name": "KeyBindingMap",
|
|
9121
|
-
"module": "src/common/controllers/ShortcutController.ts"
|
|
9122
|
-
}
|
|
9123
|
-
}
|
|
9124
|
-
]
|
|
9125
|
-
},
|
|
9126
|
-
{
|
|
9127
|
-
"kind": "javascript-module",
|
|
9128
|
-
"path": "src/common/controllers/SlotController.ts",
|
|
9129
|
-
"declarations": [
|
|
9130
|
-
{
|
|
9131
|
-
"kind": "class",
|
|
9335
|
+
"kind": "mixin",
|
|
9132
9336
|
"description": "",
|
|
9133
|
-
"name": "
|
|
9337
|
+
"name": "FormAssociatedMixin",
|
|
9134
9338
|
"members": [
|
|
9135
9339
|
{
|
|
9136
|
-
"kind": "
|
|
9137
|
-
"name": "
|
|
9340
|
+
"kind": "field",
|
|
9341
|
+
"name": "labelSlot",
|
|
9342
|
+
"privacy": "protected",
|
|
9343
|
+
"default": "new SlotController(this, \"label\")"
|
|
9138
9344
|
},
|
|
9139
9345
|
{
|
|
9140
|
-
"kind": "
|
|
9141
|
-
"name": "
|
|
9346
|
+
"kind": "field",
|
|
9347
|
+
"name": "errorSlot",
|
|
9348
|
+
"privacy": "protected",
|
|
9349
|
+
"default": "new SlotController(this, \"error\")"
|
|
9142
9350
|
},
|
|
9143
9351
|
{
|
|
9144
9352
|
"kind": "field",
|
|
9145
|
-
"name": "
|
|
9353
|
+
"name": "hintSlot",
|
|
9354
|
+
"privacy": "protected",
|
|
9355
|
+
"default": "new SlotController(this, \"hint\")"
|
|
9146
9356
|
},
|
|
9147
9357
|
{
|
|
9148
9358
|
"kind": "field",
|
|
9149
|
-
"name": "
|
|
9359
|
+
"name": "formData",
|
|
9360
|
+
"privacy": "protected",
|
|
9361
|
+
"default": "new FormDataController(this, { value: () => this.formValue })"
|
|
9150
9362
|
},
|
|
9151
9363
|
{
|
|
9152
9364
|
"kind": "field",
|
|
9153
|
-
"name": "
|
|
9365
|
+
"name": "formValue",
|
|
9366
|
+
"privacy": "protected"
|
|
9154
9367
|
},
|
|
9155
9368
|
{
|
|
9156
9369
|
"kind": "field",
|
|
9157
|
-
"name": "
|
|
9158
|
-
"
|
|
9370
|
+
"name": "inputId",
|
|
9371
|
+
"type": {
|
|
9372
|
+
"text": "string"
|
|
9373
|
+
},
|
|
9374
|
+
"privacy": "protected",
|
|
9375
|
+
"default": "\"input\""
|
|
9159
9376
|
},
|
|
9160
9377
|
{
|
|
9161
|
-
"kind": "
|
|
9162
|
-
"name": "
|
|
9378
|
+
"kind": "field",
|
|
9379
|
+
"name": "errorId",
|
|
9380
|
+
"type": {
|
|
9381
|
+
"text": "string"
|
|
9382
|
+
},
|
|
9163
9383
|
"privacy": "protected",
|
|
9164
|
-
"
|
|
9165
|
-
{
|
|
9166
|
-
"name": "_e",
|
|
9167
|
-
"type": {
|
|
9168
|
-
"text": "Event"
|
|
9169
|
-
}
|
|
9170
|
-
}
|
|
9171
|
-
]
|
|
9384
|
+
"default": "\"error\""
|
|
9172
9385
|
},
|
|
9173
9386
|
{
|
|
9174
9387
|
"kind": "field",
|
|
9175
|
-
"name": "
|
|
9176
|
-
"
|
|
9388
|
+
"name": "hintId",
|
|
9389
|
+
"type": {
|
|
9390
|
+
"text": "string"
|
|
9391
|
+
},
|
|
9392
|
+
"privacy": "protected",
|
|
9393
|
+
"default": "\"hint\""
|
|
9177
9394
|
},
|
|
9178
9395
|
{
|
|
9179
9396
|
"kind": "field",
|
|
9180
|
-
"name": "
|
|
9181
|
-
"
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
"kind": "js",
|
|
9189
|
-
"name": "SlotController",
|
|
9190
|
-
"declaration": {
|
|
9191
|
-
"name": "SlotController",
|
|
9192
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
9193
|
-
}
|
|
9194
|
-
}
|
|
9195
|
-
]
|
|
9196
|
-
},
|
|
9197
|
-
{
|
|
9198
|
-
"kind": "javascript-module",
|
|
9199
|
-
"path": "src/common/controllers/SwipeController.ts",
|
|
9200
|
-
"declarations": [
|
|
9201
|
-
{
|
|
9202
|
-
"kind": "class",
|
|
9203
|
-
"description": "",
|
|
9204
|
-
"name": "SwipeController",
|
|
9205
|
-
"members": [
|
|
9397
|
+
"name": "label",
|
|
9398
|
+
"type": {
|
|
9399
|
+
"text": "string"
|
|
9400
|
+
},
|
|
9401
|
+
"default": "\"\"",
|
|
9402
|
+
"description": "Label for the input.",
|
|
9403
|
+
"attribute": "label"
|
|
9404
|
+
},
|
|
9206
9405
|
{
|
|
9207
9406
|
"kind": "field",
|
|
9208
|
-
"name": "
|
|
9407
|
+
"name": "hint",
|
|
9209
9408
|
"type": {
|
|
9210
|
-
"text": "
|
|
9409
|
+
"text": "string | undefined"
|
|
9211
9410
|
},
|
|
9212
|
-
"
|
|
9213
|
-
"
|
|
9411
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
9412
|
+
"attribute": "hint"
|
|
9214
9413
|
},
|
|
9215
9414
|
{
|
|
9216
9415
|
"kind": "field",
|
|
9217
|
-
"name": "
|
|
9416
|
+
"name": "hideLabel",
|
|
9218
9417
|
"type": {
|
|
9219
9418
|
"text": "boolean"
|
|
9220
9419
|
},
|
|
9221
|
-
"
|
|
9222
|
-
"
|
|
9420
|
+
"default": "false",
|
|
9421
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
9422
|
+
"attribute": "hide-label"
|
|
9223
9423
|
},
|
|
9224
9424
|
{
|
|
9225
9425
|
"kind": "field",
|
|
9226
|
-
"name": "
|
|
9426
|
+
"name": "placeholder",
|
|
9227
9427
|
"type": {
|
|
9228
|
-
"text": "
|
|
9428
|
+
"text": "string | undefined"
|
|
9229
9429
|
},
|
|
9230
|
-
"
|
|
9231
|
-
"
|
|
9430
|
+
"description": "Placeholder text to display within the input.",
|
|
9431
|
+
"attribute": "placeholder"
|
|
9232
9432
|
},
|
|
9233
9433
|
{
|
|
9234
9434
|
"kind": "field",
|
|
9235
|
-
"name": "
|
|
9435
|
+
"name": "error",
|
|
9236
9436
|
"type": {
|
|
9237
|
-
"text": "
|
|
9437
|
+
"text": "string | undefined"
|
|
9238
9438
|
},
|
|
9239
|
-
"
|
|
9240
|
-
"
|
|
9439
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
9440
|
+
"attribute": "error"
|
|
9241
9441
|
},
|
|
9242
9442
|
{
|
|
9243
9443
|
"kind": "field",
|
|
9244
|
-
"name": "
|
|
9444
|
+
"name": "required",
|
|
9245
9445
|
"type": {
|
|
9246
|
-
"text": "
|
|
9446
|
+
"text": "boolean"
|
|
9247
9447
|
},
|
|
9248
|
-
"
|
|
9448
|
+
"default": "false",
|
|
9449
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
9450
|
+
"attribute": "required"
|
|
9249
9451
|
},
|
|
9250
9452
|
{
|
|
9251
9453
|
"kind": "field",
|
|
9252
|
-
"name": "
|
|
9454
|
+
"name": "expand",
|
|
9253
9455
|
"type": {
|
|
9254
|
-
"text": "
|
|
9456
|
+
"text": "boolean"
|
|
9255
9457
|
},
|
|
9256
|
-
"
|
|
9458
|
+
"default": "false",
|
|
9459
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
9460
|
+
"attribute": "expand",
|
|
9461
|
+
"reflects": true
|
|
9257
9462
|
},
|
|
9258
9463
|
{
|
|
9259
|
-
"kind": "
|
|
9260
|
-
"name": "
|
|
9261
|
-
"
|
|
9262
|
-
|
|
9263
|
-
|
|
9464
|
+
"kind": "method",
|
|
9465
|
+
"name": "handleInput",
|
|
9466
|
+
"privacy": "protected",
|
|
9467
|
+
"parameters": [
|
|
9468
|
+
{
|
|
9469
|
+
"name": "e",
|
|
9470
|
+
"type": {
|
|
9471
|
+
"text": "Event"
|
|
9472
|
+
}
|
|
9473
|
+
}
|
|
9474
|
+
]
|
|
9264
9475
|
},
|
|
9265
9476
|
{
|
|
9266
9477
|
"kind": "method",
|
|
9267
|
-
"name": "
|
|
9478
|
+
"name": "handleChange",
|
|
9479
|
+
"privacy": "protected",
|
|
9480
|
+
"parameters": [
|
|
9481
|
+
{
|
|
9482
|
+
"name": "e",
|
|
9483
|
+
"type": {
|
|
9484
|
+
"text": "Event"
|
|
9485
|
+
}
|
|
9486
|
+
}
|
|
9487
|
+
]
|
|
9268
9488
|
},
|
|
9269
9489
|
{
|
|
9270
9490
|
"kind": "method",
|
|
9271
|
-
"name": "
|
|
9491
|
+
"name": "renderLabel",
|
|
9492
|
+
"privacy": "protected"
|
|
9493
|
+
},
|
|
9494
|
+
{
|
|
9495
|
+
"kind": "method",
|
|
9496
|
+
"name": "renderError",
|
|
9497
|
+
"privacy": "protected"
|
|
9498
|
+
},
|
|
9499
|
+
{
|
|
9500
|
+
"kind": "method",
|
|
9501
|
+
"name": "getDescribedBy",
|
|
9502
|
+
"privacy": "protected"
|
|
9503
|
+
},
|
|
9504
|
+
{
|
|
9505
|
+
"kind": "method",
|
|
9506
|
+
"name": "getInvalid",
|
|
9507
|
+
"privacy": "protected"
|
|
9272
9508
|
},
|
|
9273
9509
|
{
|
|
9274
9510
|
"kind": "field",
|
|
9275
|
-
"name": "
|
|
9276
|
-
"privacy": "
|
|
9511
|
+
"name": "hasHint",
|
|
9512
|
+
"privacy": "protected"
|
|
9277
9513
|
},
|
|
9278
9514
|
{
|
|
9279
9515
|
"kind": "field",
|
|
9280
|
-
"name": "
|
|
9281
|
-
"privacy": "
|
|
9516
|
+
"name": "hasError",
|
|
9517
|
+
"privacy": "protected"
|
|
9282
9518
|
}
|
|
9283
|
-
]
|
|
9284
|
-
|
|
9285
|
-
{
|
|
9286
|
-
"kind": "function",
|
|
9287
|
-
"name": "isHorizontalSwipe",
|
|
9288
|
-
"parameters": [
|
|
9519
|
+
],
|
|
9520
|
+
"events": [
|
|
9289
9521
|
{
|
|
9290
|
-
"name": "
|
|
9522
|
+
"name": "input",
|
|
9291
9523
|
"type": {
|
|
9292
|
-
"text": "
|
|
9293
|
-
}
|
|
9524
|
+
"text": "NordEvent"
|
|
9525
|
+
},
|
|
9526
|
+
"description": "Fired as the user types into the input."
|
|
9527
|
+
},
|
|
9528
|
+
{
|
|
9529
|
+
"name": "change",
|
|
9530
|
+
"type": {
|
|
9531
|
+
"text": "NordEvent"
|
|
9532
|
+
},
|
|
9533
|
+
"description": "Fired whenever the input's value is changed via user interaction."
|
|
9294
9534
|
}
|
|
9295
|
-
]
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9535
|
+
],
|
|
9536
|
+
"attributes": [
|
|
9537
|
+
{
|
|
9538
|
+
"name": "label",
|
|
9539
|
+
"type": {
|
|
9540
|
+
"text": "string"
|
|
9541
|
+
},
|
|
9542
|
+
"default": "\"\"",
|
|
9543
|
+
"description": "Label for the input.",
|
|
9544
|
+
"fieldName": "label"
|
|
9545
|
+
},
|
|
9546
|
+
{
|
|
9547
|
+
"name": "hint",
|
|
9548
|
+
"type": {
|
|
9549
|
+
"text": "string | undefined"
|
|
9550
|
+
},
|
|
9551
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
9552
|
+
"fieldName": "hint"
|
|
9553
|
+
},
|
|
9554
|
+
{
|
|
9555
|
+
"name": "hide-label",
|
|
9556
|
+
"type": {
|
|
9557
|
+
"text": "boolean"
|
|
9558
|
+
},
|
|
9559
|
+
"default": "false",
|
|
9560
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
9561
|
+
"fieldName": "hideLabel"
|
|
9562
|
+
},
|
|
9563
|
+
{
|
|
9564
|
+
"name": "placeholder",
|
|
9565
|
+
"type": {
|
|
9566
|
+
"text": "string | undefined"
|
|
9567
|
+
},
|
|
9568
|
+
"description": "Placeholder text to display within the input.",
|
|
9569
|
+
"fieldName": "placeholder"
|
|
9570
|
+
},
|
|
9571
|
+
{
|
|
9572
|
+
"name": "error",
|
|
9573
|
+
"type": {
|
|
9574
|
+
"text": "string | undefined"
|
|
9575
|
+
},
|
|
9576
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
9577
|
+
"fieldName": "error"
|
|
9578
|
+
},
|
|
9579
|
+
{
|
|
9580
|
+
"name": "required",
|
|
9581
|
+
"type": {
|
|
9582
|
+
"text": "boolean"
|
|
9583
|
+
},
|
|
9584
|
+
"default": "false",
|
|
9585
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
9586
|
+
"fieldName": "required"
|
|
9587
|
+
},
|
|
9588
|
+
{
|
|
9589
|
+
"name": "expand",
|
|
9590
|
+
"type": {
|
|
9591
|
+
"text": "boolean"
|
|
9592
|
+
},
|
|
9593
|
+
"default": "false",
|
|
9594
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
9595
|
+
"fieldName": "expand"
|
|
9596
|
+
}
|
|
9597
|
+
],
|
|
9300
9598
|
"parameters": [
|
|
9301
9599
|
{
|
|
9302
|
-
"name": "
|
|
9600
|
+
"name": "superClass",
|
|
9303
9601
|
"type": {
|
|
9304
|
-
"text": "
|
|
9602
|
+
"text": "T"
|
|
9305
9603
|
}
|
|
9306
9604
|
}
|
|
9307
9605
|
]
|
|
@@ -9310,232 +9608,218 @@
|
|
|
9310
9608
|
"exports": [
|
|
9311
9609
|
{
|
|
9312
9610
|
"kind": "js",
|
|
9313
|
-
"name": "
|
|
9314
|
-
"declaration": {
|
|
9315
|
-
"name": "SwipeController",
|
|
9316
|
-
"module": "src/common/controllers/SwipeController.ts"
|
|
9317
|
-
}
|
|
9318
|
-
},
|
|
9319
|
-
{
|
|
9320
|
-
"kind": "js",
|
|
9321
|
-
"name": "isHorizontalSwipe",
|
|
9611
|
+
"name": "FormAssociatedMixinInterface",
|
|
9322
9612
|
"declaration": {
|
|
9323
|
-
"name": "
|
|
9324
|
-
"module": "src/common/
|
|
9613
|
+
"name": "FormAssociatedMixinInterface",
|
|
9614
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9325
9615
|
}
|
|
9326
9616
|
},
|
|
9327
9617
|
{
|
|
9328
9618
|
"kind": "js",
|
|
9329
|
-
"name": "
|
|
9330
|
-
"declaration": {
|
|
9331
|
-
"name": "isDownwardsSwipe",
|
|
9332
|
-
"module": "src/common/controllers/SwipeController.ts"
|
|
9333
|
-
}
|
|
9334
|
-
}
|
|
9335
|
-
]
|
|
9336
|
-
},
|
|
9337
|
-
{
|
|
9338
|
-
"kind": "javascript-module",
|
|
9339
|
-
"path": "src/common/directives/cond.ts",
|
|
9340
|
-
"declarations": [
|
|
9341
|
-
{
|
|
9342
|
-
"kind": "variable",
|
|
9343
|
-
"name": "cond"
|
|
9344
|
-
}
|
|
9345
|
-
],
|
|
9346
|
-
"exports": [
|
|
9347
|
-
{
|
|
9348
|
-
"kind": "js",
|
|
9349
|
-
"name": "cond",
|
|
9619
|
+
"name": "FormAssociatedMixin",
|
|
9350
9620
|
"declaration": {
|
|
9351
|
-
"name": "
|
|
9352
|
-
"module": "src/common/
|
|
9621
|
+
"name": "FormAssociatedMixin",
|
|
9622
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9353
9623
|
}
|
|
9354
9624
|
}
|
|
9355
9625
|
]
|
|
9356
9626
|
},
|
|
9357
9627
|
{
|
|
9358
9628
|
"kind": "javascript-module",
|
|
9359
|
-
"path": "src/common/
|
|
9629
|
+
"path": "src/common/mixins/InputMixin.ts",
|
|
9360
9630
|
"declarations": [
|
|
9361
9631
|
{
|
|
9362
|
-
"kind": "
|
|
9363
|
-
"
|
|
9364
|
-
"
|
|
9365
|
-
|
|
9366
|
-
"text": "TInner"
|
|
9367
|
-
}
|
|
9368
|
-
},
|
|
9369
|
-
"parameters": [
|
|
9370
|
-
{
|
|
9371
|
-
"name": "condition",
|
|
9372
|
-
"type": {
|
|
9373
|
-
"text": "false"
|
|
9374
|
-
}
|
|
9375
|
-
},
|
|
9632
|
+
"kind": "class",
|
|
9633
|
+
"description": "",
|
|
9634
|
+
"name": "InputMixinInterface",
|
|
9635
|
+
"members": [
|
|
9376
9636
|
{
|
|
9377
|
-
"
|
|
9637
|
+
"kind": "field",
|
|
9638
|
+
"name": "name",
|
|
9378
9639
|
"type": {
|
|
9379
|
-
"text": "
|
|
9640
|
+
"text": "string"
|
|
9380
9641
|
}
|
|
9381
9642
|
},
|
|
9382
9643
|
{
|
|
9383
|
-
"
|
|
9384
|
-
"
|
|
9385
|
-
"text": "(inner: TInner) => TWrapper"
|
|
9386
|
-
}
|
|
9387
|
-
}
|
|
9388
|
-
]
|
|
9389
|
-
},
|
|
9390
|
-
{
|
|
9391
|
-
"kind": "function",
|
|
9392
|
-
"name": "wrapIf",
|
|
9393
|
-
"return": {
|
|
9394
|
-
"type": {
|
|
9395
|
-
"text": "TWrapper"
|
|
9396
|
-
}
|
|
9397
|
-
},
|
|
9398
|
-
"parameters": [
|
|
9399
|
-
{
|
|
9400
|
-
"name": "condition",
|
|
9644
|
+
"kind": "field",
|
|
9645
|
+
"name": "value",
|
|
9401
9646
|
"type": {
|
|
9402
|
-
"text": "
|
|
9647
|
+
"text": "string"
|
|
9403
9648
|
}
|
|
9404
9649
|
},
|
|
9405
9650
|
{
|
|
9406
|
-
"
|
|
9651
|
+
"kind": "field",
|
|
9652
|
+
"name": "disabled",
|
|
9407
9653
|
"type": {
|
|
9408
|
-
"text": "
|
|
9654
|
+
"text": "boolean"
|
|
9409
9655
|
}
|
|
9410
9656
|
},
|
|
9411
9657
|
{
|
|
9412
|
-
"
|
|
9658
|
+
"kind": "field",
|
|
9659
|
+
"name": "form",
|
|
9413
9660
|
"type": {
|
|
9414
|
-
"text": "
|
|
9661
|
+
"text": "HTMLFormElement | undefined"
|
|
9415
9662
|
}
|
|
9416
9663
|
}
|
|
9417
9664
|
]
|
|
9418
9665
|
},
|
|
9419
9666
|
{
|
|
9420
|
-
"kind": "
|
|
9421
|
-
"
|
|
9422
|
-
"
|
|
9423
|
-
|
|
9424
|
-
"text": "TInner | TWrapper"
|
|
9425
|
-
}
|
|
9426
|
-
},
|
|
9427
|
-
"parameters": [
|
|
9667
|
+
"kind": "mixin",
|
|
9668
|
+
"description": "",
|
|
9669
|
+
"name": "InputMixin",
|
|
9670
|
+
"members": [
|
|
9428
9671
|
{
|
|
9429
|
-
"
|
|
9672
|
+
"kind": "field",
|
|
9673
|
+
"name": "disabled",
|
|
9430
9674
|
"type": {
|
|
9431
|
-
"text": "
|
|
9432
|
-
}
|
|
9675
|
+
"text": "boolean"
|
|
9676
|
+
},
|
|
9677
|
+
"default": "false",
|
|
9678
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
9679
|
+
"attribute": "disabled",
|
|
9680
|
+
"reflects": true
|
|
9433
9681
|
},
|
|
9434
9682
|
{
|
|
9435
|
-
"
|
|
9683
|
+
"kind": "field",
|
|
9684
|
+
"name": "name",
|
|
9436
9685
|
"type": {
|
|
9437
|
-
"text": "
|
|
9438
|
-
}
|
|
9686
|
+
"text": "string | undefined"
|
|
9687
|
+
},
|
|
9688
|
+
"description": "The name of the form component.",
|
|
9689
|
+
"attribute": "name"
|
|
9439
9690
|
},
|
|
9440
9691
|
{
|
|
9441
|
-
"
|
|
9692
|
+
"kind": "field",
|
|
9693
|
+
"name": "value",
|
|
9442
9694
|
"type": {
|
|
9443
|
-
"text": "
|
|
9444
|
-
}
|
|
9695
|
+
"text": "string"
|
|
9696
|
+
},
|
|
9697
|
+
"default": "\"\"",
|
|
9698
|
+
"description": "The value of the form component.",
|
|
9699
|
+
"attribute": "value"
|
|
9700
|
+
},
|
|
9701
|
+
{
|
|
9702
|
+
"kind": "field",
|
|
9703
|
+
"name": "form",
|
|
9704
|
+
"privacy": "protected",
|
|
9705
|
+
"description": "Gets the form, if any, associated with the form element."
|
|
9445
9706
|
}
|
|
9446
|
-
]
|
|
9447
|
-
|
|
9448
|
-
{
|
|
9449
|
-
"kind": "function",
|
|
9450
|
-
"name": "wrapIf",
|
|
9451
|
-
"parameters": [
|
|
9707
|
+
],
|
|
9708
|
+
"attributes": [
|
|
9452
9709
|
{
|
|
9453
|
-
"name": "
|
|
9710
|
+
"name": "disabled",
|
|
9454
9711
|
"type": {
|
|
9455
|
-
"text": "
|
|
9456
|
-
}
|
|
9712
|
+
"text": "boolean"
|
|
9713
|
+
},
|
|
9714
|
+
"default": "false",
|
|
9715
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
9716
|
+
"fieldName": "disabled"
|
|
9457
9717
|
},
|
|
9458
9718
|
{
|
|
9459
|
-
"name": "
|
|
9719
|
+
"name": "name",
|
|
9460
9720
|
"type": {
|
|
9461
|
-
"text": "
|
|
9462
|
-
}
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9721
|
+
"text": "string | undefined"
|
|
9722
|
+
},
|
|
9723
|
+
"description": "The name of the form component.",
|
|
9724
|
+
"fieldName": "name"
|
|
9725
|
+
},
|
|
9726
|
+
{
|
|
9727
|
+
"name": "value",
|
|
9466
9728
|
"type": {
|
|
9467
|
-
"text": "
|
|
9468
|
-
}
|
|
9729
|
+
"text": "string"
|
|
9730
|
+
},
|
|
9731
|
+
"default": "\"\"",
|
|
9732
|
+
"description": "The value of the form component.",
|
|
9733
|
+
"fieldName": "value"
|
|
9469
9734
|
}
|
|
9470
9735
|
],
|
|
9471
|
-
"
|
|
9472
|
-
|
|
9473
|
-
"
|
|
9736
|
+
"parameters": [
|
|
9737
|
+
{
|
|
9738
|
+
"name": "superClass",
|
|
9739
|
+
"type": {
|
|
9740
|
+
"text": "T"
|
|
9741
|
+
}
|
|
9474
9742
|
}
|
|
9475
|
-
|
|
9743
|
+
]
|
|
9476
9744
|
}
|
|
9477
9745
|
],
|
|
9478
9746
|
"exports": [
|
|
9479
9747
|
{
|
|
9480
9748
|
"kind": "js",
|
|
9481
|
-
"name": "
|
|
9482
|
-
"declaration": {
|
|
9483
|
-
"name": "wrapIf",
|
|
9484
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
9485
|
-
}
|
|
9486
|
-
},
|
|
9487
|
-
{
|
|
9488
|
-
"kind": "js",
|
|
9489
|
-
"name": "wrapIf",
|
|
9490
|
-
"declaration": {
|
|
9491
|
-
"name": "wrapIf",
|
|
9492
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
9493
|
-
}
|
|
9494
|
-
},
|
|
9495
|
-
{
|
|
9496
|
-
"kind": "js",
|
|
9497
|
-
"name": "wrapIf",
|
|
9749
|
+
"name": "InputMixinInterface",
|
|
9498
9750
|
"declaration": {
|
|
9499
|
-
"name": "
|
|
9500
|
-
"module": "src/common/
|
|
9751
|
+
"name": "InputMixinInterface",
|
|
9752
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
9501
9753
|
}
|
|
9502
9754
|
},
|
|
9503
9755
|
{
|
|
9504
9756
|
"kind": "js",
|
|
9505
|
-
"name": "
|
|
9757
|
+
"name": "InputMixin",
|
|
9506
9758
|
"declaration": {
|
|
9507
|
-
"name": "
|
|
9508
|
-
"module": "src/common/
|
|
9759
|
+
"name": "InputMixin",
|
|
9760
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
9509
9761
|
}
|
|
9510
9762
|
}
|
|
9511
9763
|
]
|
|
9512
9764
|
},
|
|
9513
9765
|
{
|
|
9514
9766
|
"kind": "javascript-module",
|
|
9515
|
-
"path": "src/common/
|
|
9767
|
+
"path": "src/common/controllers/DirectionController.ts",
|
|
9516
9768
|
"declarations": [
|
|
9517
9769
|
{
|
|
9518
|
-
"kind": "
|
|
9770
|
+
"kind": "class",
|
|
9519
9771
|
"description": "",
|
|
9520
|
-
"name": "
|
|
9772
|
+
"name": "DirectionController",
|
|
9521
9773
|
"members": [
|
|
9522
9774
|
{
|
|
9523
9775
|
"kind": "field",
|
|
9524
|
-
"name": "
|
|
9776
|
+
"name": "hosts",
|
|
9777
|
+
"privacy": "private",
|
|
9778
|
+
"static": true,
|
|
9779
|
+
"default": "new Set<ReactiveControllerHost>()"
|
|
9780
|
+
},
|
|
9781
|
+
{
|
|
9782
|
+
"kind": "field",
|
|
9783
|
+
"name": "observer",
|
|
9525
9784
|
"type": {
|
|
9526
|
-
"text": "
|
|
9785
|
+
"text": "MutationObserver | undefined"
|
|
9527
9786
|
},
|
|
9528
9787
|
"privacy": "private",
|
|
9529
|
-
"static": true
|
|
9530
|
-
|
|
9531
|
-
}
|
|
9532
|
-
],
|
|
9533
|
-
"parameters": [
|
|
9788
|
+
"static": true
|
|
9789
|
+
},
|
|
9534
9790
|
{
|
|
9535
|
-
"
|
|
9791
|
+
"kind": "field",
|
|
9792
|
+
"name": "dir",
|
|
9536
9793
|
"type": {
|
|
9537
|
-
"text": "
|
|
9794
|
+
"text": "WritingDirection"
|
|
9538
9795
|
}
|
|
9796
|
+
},
|
|
9797
|
+
{
|
|
9798
|
+
"kind": "field",
|
|
9799
|
+
"name": "isLTR"
|
|
9800
|
+
},
|
|
9801
|
+
{
|
|
9802
|
+
"kind": "field",
|
|
9803
|
+
"name": "isRTL"
|
|
9804
|
+
},
|
|
9805
|
+
{
|
|
9806
|
+
"kind": "method",
|
|
9807
|
+
"name": "hostConnected"
|
|
9808
|
+
},
|
|
9809
|
+
{
|
|
9810
|
+
"kind": "method",
|
|
9811
|
+
"name": "hostDisconnected"
|
|
9812
|
+
},
|
|
9813
|
+
{
|
|
9814
|
+
"kind": "method",
|
|
9815
|
+
"name": "observe",
|
|
9816
|
+
"privacy": "private",
|
|
9817
|
+
"static": true
|
|
9818
|
+
},
|
|
9819
|
+
{
|
|
9820
|
+
"kind": "field",
|
|
9821
|
+
"name": "host",
|
|
9822
|
+
"default": "host"
|
|
9539
9823
|
}
|
|
9540
9824
|
]
|
|
9541
9825
|
}
|
|
@@ -9543,111 +9827,210 @@
|
|
|
9543
9827
|
"exports": [
|
|
9544
9828
|
{
|
|
9545
9829
|
"kind": "js",
|
|
9546
|
-
"name": "
|
|
9830
|
+
"name": "DirectionController",
|
|
9547
9831
|
"declaration": {
|
|
9548
|
-
"name": "
|
|
9549
|
-
"module": "src/common/
|
|
9832
|
+
"name": "DirectionController",
|
|
9833
|
+
"module": "src/common/controllers/DirectionController.ts"
|
|
9550
9834
|
}
|
|
9551
9835
|
}
|
|
9552
9836
|
]
|
|
9553
9837
|
},
|
|
9554
9838
|
{
|
|
9555
9839
|
"kind": "javascript-module",
|
|
9556
|
-
"path": "src/common/
|
|
9840
|
+
"path": "src/common/controllers/EventController.ts",
|
|
9557
9841
|
"declarations": [
|
|
9558
9842
|
{
|
|
9559
9843
|
"kind": "class",
|
|
9560
9844
|
"description": "",
|
|
9561
|
-
"name": "
|
|
9845
|
+
"name": "EventController",
|
|
9562
9846
|
"members": [
|
|
9563
9847
|
{
|
|
9564
9848
|
"kind": "field",
|
|
9565
|
-
"name": "
|
|
9849
|
+
"name": "listeners",
|
|
9566
9850
|
"type": {
|
|
9567
|
-
"text": "
|
|
9851
|
+
"text": "Array<() => void>"
|
|
9568
9852
|
},
|
|
9569
|
-
"privacy": "
|
|
9853
|
+
"privacy": "private",
|
|
9854
|
+
"default": "[]"
|
|
9570
9855
|
},
|
|
9571
9856
|
{
|
|
9572
9857
|
"kind": "method",
|
|
9573
|
-
"name": "
|
|
9858
|
+
"name": "hostDisconnected"
|
|
9859
|
+
},
|
|
9860
|
+
{
|
|
9861
|
+
"kind": "method",
|
|
9862
|
+
"name": "listen",
|
|
9574
9863
|
"return": {
|
|
9575
9864
|
"type": {
|
|
9576
9865
|
"text": "void"
|
|
9577
9866
|
}
|
|
9578
9867
|
},
|
|
9579
9868
|
"parameters": [
|
|
9869
|
+
{
|
|
9870
|
+
"name": "window",
|
|
9871
|
+
"type": {
|
|
9872
|
+
"text": "Window"
|
|
9873
|
+
}
|
|
9874
|
+
},
|
|
9875
|
+
{
|
|
9876
|
+
"name": "type",
|
|
9877
|
+
"type": {
|
|
9878
|
+
"text": "K"
|
|
9879
|
+
}
|
|
9880
|
+
},
|
|
9881
|
+
{
|
|
9882
|
+
"name": "listener",
|
|
9883
|
+
"type": {
|
|
9884
|
+
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
9885
|
+
}
|
|
9886
|
+
},
|
|
9580
9887
|
{
|
|
9581
9888
|
"name": "options",
|
|
9582
9889
|
"optional": true,
|
|
9583
9890
|
"type": {
|
|
9584
|
-
"text": "
|
|
9891
|
+
"text": "boolean | AddEventListenerOptions"
|
|
9585
9892
|
}
|
|
9586
9893
|
}
|
|
9587
9894
|
]
|
|
9588
9895
|
},
|
|
9589
9896
|
{
|
|
9590
9897
|
"kind": "method",
|
|
9591
|
-
"name": "
|
|
9898
|
+
"name": "listen",
|
|
9592
9899
|
"return": {
|
|
9593
9900
|
"type": {
|
|
9594
9901
|
"text": "void"
|
|
9595
9902
|
}
|
|
9596
|
-
}
|
|
9903
|
+
},
|
|
9904
|
+
"parameters": [
|
|
9905
|
+
{
|
|
9906
|
+
"name": "document",
|
|
9907
|
+
"type": {
|
|
9908
|
+
"text": "Document"
|
|
9909
|
+
}
|
|
9910
|
+
},
|
|
9911
|
+
{
|
|
9912
|
+
"name": "type",
|
|
9913
|
+
"type": {
|
|
9914
|
+
"text": "K"
|
|
9915
|
+
}
|
|
9916
|
+
},
|
|
9917
|
+
{
|
|
9918
|
+
"name": "listener",
|
|
9919
|
+
"type": {
|
|
9920
|
+
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
9921
|
+
}
|
|
9922
|
+
},
|
|
9923
|
+
{
|
|
9924
|
+
"name": "options",
|
|
9925
|
+
"optional": true,
|
|
9926
|
+
"type": {
|
|
9927
|
+
"text": "boolean | AddEventListenerOptions"
|
|
9928
|
+
}
|
|
9929
|
+
}
|
|
9930
|
+
]
|
|
9597
9931
|
},
|
|
9598
9932
|
{
|
|
9599
9933
|
"kind": "method",
|
|
9600
|
-
"name": "
|
|
9934
|
+
"name": "listen",
|
|
9601
9935
|
"return": {
|
|
9602
9936
|
"type": {
|
|
9603
9937
|
"text": "void"
|
|
9604
9938
|
}
|
|
9605
|
-
}
|
|
9606
|
-
}
|
|
9607
|
-
]
|
|
9608
|
-
},
|
|
9609
|
-
{
|
|
9610
|
-
"kind": "mixin",
|
|
9611
|
-
"description": "",
|
|
9612
|
-
"name": "FocusableMixin",
|
|
9613
|
-
"members": [
|
|
9614
|
-
{
|
|
9615
|
-
"kind": "field",
|
|
9616
|
-
"name": "focusableRef",
|
|
9617
|
-
"privacy": "protected"
|
|
9618
|
-
},
|
|
9619
|
-
{
|
|
9620
|
-
"kind": "method",
|
|
9621
|
-
"name": "focus",
|
|
9939
|
+
},
|
|
9622
9940
|
"parameters": [
|
|
9941
|
+
{
|
|
9942
|
+
"name": "element",
|
|
9943
|
+
"type": {
|
|
9944
|
+
"text": "HTMLElement"
|
|
9945
|
+
}
|
|
9946
|
+
},
|
|
9947
|
+
{
|
|
9948
|
+
"name": "type",
|
|
9949
|
+
"type": {
|
|
9950
|
+
"text": "K"
|
|
9951
|
+
}
|
|
9952
|
+
},
|
|
9953
|
+
{
|
|
9954
|
+
"name": "listener",
|
|
9955
|
+
"type": {
|
|
9956
|
+
"text": "(this: HTMLElement, ev: HTMLElementEventMap[K]) => any"
|
|
9957
|
+
}
|
|
9958
|
+
},
|
|
9623
9959
|
{
|
|
9624
9960
|
"name": "options",
|
|
9625
9961
|
"optional": true,
|
|
9626
9962
|
"type": {
|
|
9627
|
-
"text": "
|
|
9628
|
-
}
|
|
9629
|
-
"description": "An object which controls aspects of the focusing process."
|
|
9963
|
+
"text": "boolean | AddEventListenerOptions"
|
|
9964
|
+
}
|
|
9630
9965
|
}
|
|
9631
|
-
]
|
|
9632
|
-
"description": "Programmatically move focus to the component."
|
|
9966
|
+
]
|
|
9633
9967
|
},
|
|
9634
9968
|
{
|
|
9635
9969
|
"kind": "method",
|
|
9636
|
-
"name": "
|
|
9637
|
-
"
|
|
9970
|
+
"name": "listen",
|
|
9971
|
+
"return": {
|
|
9972
|
+
"type": {
|
|
9973
|
+
"text": "void"
|
|
9974
|
+
}
|
|
9975
|
+
},
|
|
9976
|
+
"parameters": [
|
|
9977
|
+
{
|
|
9978
|
+
"name": "element",
|
|
9979
|
+
"type": {
|
|
9980
|
+
"text": "ShadowRoot"
|
|
9981
|
+
}
|
|
9982
|
+
},
|
|
9983
|
+
{
|
|
9984
|
+
"name": "type",
|
|
9985
|
+
"type": {
|
|
9986
|
+
"text": "K"
|
|
9987
|
+
}
|
|
9988
|
+
},
|
|
9989
|
+
{
|
|
9990
|
+
"name": "listener",
|
|
9991
|
+
"type": {
|
|
9992
|
+
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
9993
|
+
}
|
|
9994
|
+
},
|
|
9995
|
+
{
|
|
9996
|
+
"name": "options",
|
|
9997
|
+
"optional": true,
|
|
9998
|
+
"type": {
|
|
9999
|
+
"text": "boolean | AddEventListenerOptions"
|
|
10000
|
+
}
|
|
10001
|
+
}
|
|
10002
|
+
]
|
|
9638
10003
|
},
|
|
9639
10004
|
{
|
|
9640
10005
|
"kind": "method",
|
|
9641
|
-
"name": "
|
|
9642
|
-
"
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
10006
|
+
"name": "listen",
|
|
10007
|
+
"parameters": [
|
|
10008
|
+
{
|
|
10009
|
+
"name": "element",
|
|
10010
|
+
"type": {
|
|
10011
|
+
"text": "Window | Document | HTMLElement | ShadowRoot"
|
|
10012
|
+
}
|
|
10013
|
+
},
|
|
10014
|
+
{
|
|
10015
|
+
"name": "type",
|
|
10016
|
+
"type": {
|
|
10017
|
+
"text": "string"
|
|
10018
|
+
}
|
|
10019
|
+
},
|
|
10020
|
+
{
|
|
10021
|
+
"name": "listener",
|
|
10022
|
+
"type": {
|
|
10023
|
+
"text": "(ev: any) => any"
|
|
10024
|
+
}
|
|
10025
|
+
},
|
|
10026
|
+
{
|
|
10027
|
+
"name": "options",
|
|
10028
|
+
"optional": true,
|
|
10029
|
+
"type": {
|
|
10030
|
+
"text": "boolean | AddEventListenerOptions"
|
|
10031
|
+
}
|
|
10032
|
+
}
|
|
10033
|
+
]
|
|
9651
10034
|
}
|
|
9652
10035
|
]
|
|
9653
10036
|
}
|
|
@@ -9655,500 +10038,440 @@
|
|
|
9655
10038
|
"exports": [
|
|
9656
10039
|
{
|
|
9657
10040
|
"kind": "js",
|
|
9658
|
-
"name": "
|
|
9659
|
-
"declaration": {
|
|
9660
|
-
"name": "FocusableMixinInterface",
|
|
9661
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
9662
|
-
}
|
|
9663
|
-
},
|
|
9664
|
-
{
|
|
9665
|
-
"kind": "js",
|
|
9666
|
-
"name": "FocusableMixin",
|
|
10041
|
+
"name": "EventController",
|
|
9667
10042
|
"declaration": {
|
|
9668
|
-
"name": "
|
|
9669
|
-
"module": "src/common/
|
|
10043
|
+
"name": "EventController",
|
|
10044
|
+
"module": "src/common/controllers/EventController.ts"
|
|
9670
10045
|
}
|
|
9671
10046
|
}
|
|
9672
10047
|
]
|
|
9673
10048
|
},
|
|
9674
10049
|
{
|
|
9675
10050
|
"kind": "javascript-module",
|
|
9676
|
-
"path": "src/common/
|
|
10051
|
+
"path": "src/common/controllers/FormDataController.ts",
|
|
9677
10052
|
"declarations": [
|
|
9678
10053
|
{
|
|
9679
10054
|
"kind": "class",
|
|
9680
10055
|
"description": "",
|
|
9681
|
-
"name": "
|
|
10056
|
+
"name": "FormDataController",
|
|
9682
10057
|
"members": [
|
|
9683
10058
|
{
|
|
9684
10059
|
"kind": "field",
|
|
9685
|
-
"name": "
|
|
10060
|
+
"name": "events",
|
|
9686
10061
|
"type": {
|
|
9687
|
-
"text": "
|
|
9688
|
-
}
|
|
10062
|
+
"text": "EventController"
|
|
10063
|
+
},
|
|
10064
|
+
"privacy": "private",
|
|
10065
|
+
"default": "new EventController(host)"
|
|
9689
10066
|
},
|
|
9690
10067
|
{
|
|
9691
|
-
"kind": "
|
|
9692
|
-
"name": "
|
|
9693
|
-
"type": {
|
|
9694
|
-
"text": "boolean"
|
|
9695
|
-
}
|
|
10068
|
+
"kind": "method",
|
|
10069
|
+
"name": "hostConnected"
|
|
9696
10070
|
},
|
|
9697
10071
|
{
|
|
9698
10072
|
"kind": "field",
|
|
9699
|
-
"name": "
|
|
9700
|
-
"
|
|
9701
|
-
"text": "string | undefined"
|
|
9702
|
-
}
|
|
10073
|
+
"name": "handleFormData",
|
|
10074
|
+
"privacy": "private"
|
|
9703
10075
|
},
|
|
9704
10076
|
{
|
|
9705
10077
|
"kind": "field",
|
|
9706
|
-
"name": "
|
|
9707
|
-
"
|
|
9708
|
-
"text": "boolean"
|
|
9709
|
-
}
|
|
10078
|
+
"name": "host",
|
|
10079
|
+
"default": "host"
|
|
9710
10080
|
},
|
|
9711
10081
|
{
|
|
9712
10082
|
"kind": "field",
|
|
9713
|
-
"name": "
|
|
9714
|
-
"
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
10083
|
+
"name": "options",
|
|
10084
|
+
"default": "options"
|
|
10085
|
+
}
|
|
10086
|
+
]
|
|
10087
|
+
}
|
|
10088
|
+
],
|
|
10089
|
+
"exports": [
|
|
10090
|
+
{
|
|
10091
|
+
"kind": "js",
|
|
10092
|
+
"name": "FormDataController",
|
|
10093
|
+
"declaration": {
|
|
10094
|
+
"name": "FormDataController",
|
|
10095
|
+
"module": "src/common/controllers/FormDataController.ts"
|
|
10096
|
+
}
|
|
10097
|
+
}
|
|
10098
|
+
]
|
|
10099
|
+
},
|
|
10100
|
+
{
|
|
10101
|
+
"kind": "javascript-module",
|
|
10102
|
+
"path": "src/common/controllers/LightDismissController.ts",
|
|
10103
|
+
"declarations": [
|
|
10104
|
+
{
|
|
10105
|
+
"kind": "class",
|
|
10106
|
+
"description": "",
|
|
10107
|
+
"name": "LightDismissController",
|
|
10108
|
+
"members": [
|
|
9718
10109
|
{
|
|
9719
10110
|
"kind": "field",
|
|
9720
|
-
"name": "
|
|
10111
|
+
"name": "shortcut",
|
|
9721
10112
|
"type": {
|
|
9722
|
-
"text": "
|
|
9723
|
-
}
|
|
10113
|
+
"text": "ShortcutController"
|
|
10114
|
+
},
|
|
10115
|
+
"privacy": "private",
|
|
10116
|
+
"default": "new ShortcutController(this.host, { Escape: this.handleEsc })"
|
|
9724
10117
|
},
|
|
9725
10118
|
{
|
|
9726
10119
|
"kind": "field",
|
|
9727
|
-
"name": "
|
|
10120
|
+
"name": "events",
|
|
9728
10121
|
"type": {
|
|
9729
|
-
"text": "
|
|
9730
|
-
}
|
|
10122
|
+
"text": "EventController"
|
|
10123
|
+
},
|
|
10124
|
+
"privacy": "private",
|
|
10125
|
+
"default": "new EventController(host)"
|
|
9731
10126
|
},
|
|
9732
10127
|
{
|
|
9733
|
-
"kind": "
|
|
9734
|
-
"name": "
|
|
9735
|
-
"type": {
|
|
9736
|
-
"text": "string"
|
|
9737
|
-
},
|
|
9738
|
-
"privacy": "protected"
|
|
10128
|
+
"kind": "method",
|
|
10129
|
+
"name": "hostConnected"
|
|
9739
10130
|
},
|
|
9740
10131
|
{
|
|
9741
10132
|
"kind": "field",
|
|
9742
|
-
"name": "
|
|
9743
|
-
"
|
|
9744
|
-
"text": "string"
|
|
9745
|
-
},
|
|
9746
|
-
"privacy": "protected"
|
|
10133
|
+
"name": "handleEsc",
|
|
10134
|
+
"privacy": "private"
|
|
9747
10135
|
},
|
|
9748
10136
|
{
|
|
9749
10137
|
"kind": "field",
|
|
9750
|
-
"name": "
|
|
9751
|
-
"
|
|
9752
|
-
"text": "string"
|
|
9753
|
-
},
|
|
9754
|
-
"privacy": "protected"
|
|
10138
|
+
"name": "handleClickOut",
|
|
10139
|
+
"privacy": "private"
|
|
9755
10140
|
},
|
|
9756
10141
|
{
|
|
9757
10142
|
"kind": "field",
|
|
9758
|
-
"name": "
|
|
9759
|
-
"
|
|
9760
|
-
"text": "SlotController"
|
|
9761
|
-
},
|
|
9762
|
-
"privacy": "protected"
|
|
10143
|
+
"name": "host",
|
|
10144
|
+
"default": "host"
|
|
9763
10145
|
},
|
|
9764
10146
|
{
|
|
9765
10147
|
"kind": "field",
|
|
9766
|
-
"name": "
|
|
9767
|
-
"
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
|
|
10148
|
+
"name": "options",
|
|
10149
|
+
"default": "options"
|
|
10150
|
+
}
|
|
10151
|
+
]
|
|
10152
|
+
}
|
|
10153
|
+
],
|
|
10154
|
+
"exports": [
|
|
10155
|
+
{
|
|
10156
|
+
"kind": "js",
|
|
10157
|
+
"name": "LightDismissController",
|
|
10158
|
+
"declaration": {
|
|
10159
|
+
"name": "LightDismissController",
|
|
10160
|
+
"module": "src/common/controllers/LightDismissController.ts"
|
|
10161
|
+
}
|
|
10162
|
+
}
|
|
10163
|
+
]
|
|
10164
|
+
},
|
|
10165
|
+
{
|
|
10166
|
+
"kind": "javascript-module",
|
|
10167
|
+
"path": "src/common/controllers/LightDomController.ts",
|
|
10168
|
+
"declarations": [
|
|
10169
|
+
{
|
|
10170
|
+
"kind": "class",
|
|
10171
|
+
"description": "",
|
|
10172
|
+
"name": "LightDomController",
|
|
10173
|
+
"members": [
|
|
9772
10174
|
{
|
|
9773
10175
|
"kind": "field",
|
|
9774
|
-
"name": "
|
|
10176
|
+
"name": "container",
|
|
9775
10177
|
"type": {
|
|
9776
|
-
"text": "
|
|
10178
|
+
"text": "HTMLElement"
|
|
9777
10179
|
},
|
|
9778
|
-
"privacy": "
|
|
10180
|
+
"privacy": "private"
|
|
9779
10181
|
},
|
|
9780
10182
|
{
|
|
9781
|
-
"kind": "
|
|
9782
|
-
"name": "
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
|
|
9786
|
-
"
|
|
10183
|
+
"kind": "method",
|
|
10184
|
+
"name": "hostUpdated"
|
|
10185
|
+
},
|
|
10186
|
+
{
|
|
10187
|
+
"kind": "method",
|
|
10188
|
+
"name": "hostDisconnected"
|
|
9787
10189
|
},
|
|
9788
10190
|
{
|
|
9789
10191
|
"kind": "field",
|
|
9790
|
-
"name": "
|
|
9791
|
-
"
|
|
9792
|
-
"text": "string | undefined"
|
|
9793
|
-
},
|
|
9794
|
-
"privacy": "protected"
|
|
10192
|
+
"name": "host",
|
|
10193
|
+
"default": "host"
|
|
9795
10194
|
},
|
|
9796
10195
|
{
|
|
9797
10196
|
"kind": "field",
|
|
9798
|
-
"name": "
|
|
10197
|
+
"name": "options",
|
|
10198
|
+
"default": "options"
|
|
10199
|
+
}
|
|
10200
|
+
]
|
|
10201
|
+
}
|
|
10202
|
+
],
|
|
10203
|
+
"exports": [
|
|
10204
|
+
{
|
|
10205
|
+
"kind": "js",
|
|
10206
|
+
"name": "LightDomController",
|
|
10207
|
+
"declaration": {
|
|
10208
|
+
"name": "LightDomController",
|
|
10209
|
+
"module": "src/common/controllers/LightDomController.ts"
|
|
10210
|
+
}
|
|
10211
|
+
}
|
|
10212
|
+
]
|
|
10213
|
+
},
|
|
10214
|
+
{
|
|
10215
|
+
"kind": "javascript-module",
|
|
10216
|
+
"path": "src/common/controllers/LightSlotController.ts",
|
|
10217
|
+
"declarations": [
|
|
10218
|
+
{
|
|
10219
|
+
"kind": "class",
|
|
10220
|
+
"description": "Handles cases where a component needs to render to light DOM,\nand potentially sync component properties to user-supplied content.",
|
|
10221
|
+
"name": "LightSlotController",
|
|
10222
|
+
"members": [
|
|
10223
|
+
{
|
|
10224
|
+
"kind": "field",
|
|
10225
|
+
"name": "renderHook",
|
|
9799
10226
|
"type": {
|
|
9800
|
-
"text": "
|
|
10227
|
+
"text": "Comment"
|
|
9801
10228
|
},
|
|
9802
|
-
"privacy": "
|
|
10229
|
+
"privacy": "private"
|
|
9803
10230
|
},
|
|
9804
10231
|
{
|
|
9805
10232
|
"kind": "field",
|
|
9806
|
-
"name": "
|
|
10233
|
+
"name": "lightDom",
|
|
9807
10234
|
"type": {
|
|
9808
|
-
"text": "
|
|
10235
|
+
"text": "LightDomController"
|
|
9809
10236
|
},
|
|
9810
|
-
"privacy": "
|
|
10237
|
+
"privacy": "private",
|
|
10238
|
+
"default": "new LightDomController(host, {\n render: () => (this.hasContent ? nothing : this.options.render()),\n renderOptions: { renderBefore: this.renderHook },\n })"
|
|
9811
10239
|
},
|
|
9812
10240
|
{
|
|
9813
10241
|
"kind": "method",
|
|
9814
|
-
"name": "
|
|
9815
|
-
"
|
|
9816
|
-
|
|
9817
|
-
"
|
|
9818
|
-
|
|
9819
|
-
}
|
|
9820
|
-
},
|
|
9821
|
-
"parameters": [
|
|
9822
|
-
{
|
|
9823
|
-
"name": "e",
|
|
9824
|
-
"type": {
|
|
9825
|
-
"text": "Event"
|
|
9826
|
-
}
|
|
9827
|
-
}
|
|
9828
|
-
]
|
|
10242
|
+
"name": "hostConnected",
|
|
10243
|
+
"inheritedFrom": {
|
|
10244
|
+
"name": "SlotController",
|
|
10245
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10246
|
+
}
|
|
9829
10247
|
},
|
|
9830
10248
|
{
|
|
9831
10249
|
"kind": "method",
|
|
9832
|
-
"name": "
|
|
10250
|
+
"name": "hostDisconnected"
|
|
10251
|
+
},
|
|
10252
|
+
{
|
|
10253
|
+
"kind": "field",
|
|
10254
|
+
"name": "onChange",
|
|
9833
10255
|
"privacy": "protected",
|
|
9834
|
-
"return": {
|
|
9835
|
-
"type": {
|
|
9836
|
-
"text": "void"
|
|
9837
|
-
}
|
|
9838
|
-
},
|
|
9839
10256
|
"parameters": [
|
|
9840
10257
|
{
|
|
9841
|
-
"name": "
|
|
10258
|
+
"name": "_e",
|
|
9842
10259
|
"type": {
|
|
9843
10260
|
"text": "Event"
|
|
9844
10261
|
}
|
|
9845
10262
|
}
|
|
9846
|
-
]
|
|
10263
|
+
],
|
|
10264
|
+
"inheritedFrom": {
|
|
10265
|
+
"name": "SlotController",
|
|
10266
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10267
|
+
}
|
|
9847
10268
|
},
|
|
9848
10269
|
{
|
|
9849
10270
|
"kind": "method",
|
|
9850
|
-
"name": "
|
|
9851
|
-
"privacy": "
|
|
9852
|
-
"return": {
|
|
9853
|
-
"type": {
|
|
9854
|
-
"text": "TemplateResult"
|
|
9855
|
-
}
|
|
9856
|
-
}
|
|
9857
|
-
},
|
|
9858
|
-
{
|
|
9859
|
-
"kind": "method",
|
|
9860
|
-
"name": "renderError",
|
|
9861
|
-
"privacy": "protected",
|
|
9862
|
-
"return": {
|
|
9863
|
-
"type": {
|
|
9864
|
-
"text": "TemplateResult"
|
|
9865
|
-
}
|
|
9866
|
-
}
|
|
9867
|
-
},
|
|
9868
|
-
{
|
|
9869
|
-
"kind": "method",
|
|
9870
|
-
"name": "getDescribedBy",
|
|
9871
|
-
"privacy": "protected",
|
|
9872
|
-
"return": {
|
|
9873
|
-
"type": {
|
|
9874
|
-
"text": "string | undefined"
|
|
9875
|
-
}
|
|
9876
|
-
}
|
|
9877
|
-
},
|
|
9878
|
-
{
|
|
9879
|
-
"kind": "method",
|
|
9880
|
-
"name": "getInvalid",
|
|
9881
|
-
"privacy": "protected",
|
|
9882
|
-
"return": {
|
|
9883
|
-
"type": {
|
|
9884
|
-
"text": "\"true\" | undefined"
|
|
9885
|
-
}
|
|
9886
|
-
}
|
|
9887
|
-
}
|
|
9888
|
-
]
|
|
9889
|
-
},
|
|
9890
|
-
{
|
|
9891
|
-
"kind": "mixin",
|
|
9892
|
-
"description": "",
|
|
9893
|
-
"name": "FormAssociatedMixin",
|
|
9894
|
-
"members": [
|
|
9895
|
-
{
|
|
9896
|
-
"kind": "field",
|
|
9897
|
-
"name": "labelSlot",
|
|
9898
|
-
"privacy": "protected",
|
|
9899
|
-
"default": "new SlotController(this, \"label\")"
|
|
9900
|
-
},
|
|
9901
|
-
{
|
|
9902
|
-
"kind": "field",
|
|
9903
|
-
"name": "errorSlot",
|
|
9904
|
-
"privacy": "protected",
|
|
9905
|
-
"default": "new SlotController(this, \"error\")"
|
|
9906
|
-
},
|
|
9907
|
-
{
|
|
9908
|
-
"kind": "field",
|
|
9909
|
-
"name": "hintSlot",
|
|
9910
|
-
"privacy": "protected",
|
|
9911
|
-
"default": "new SlotController(this, \"hint\")"
|
|
9912
|
-
},
|
|
9913
|
-
{
|
|
9914
|
-
"kind": "field",
|
|
9915
|
-
"name": "formData",
|
|
9916
|
-
"privacy": "protected",
|
|
9917
|
-
"default": "new FormDataController(this, { value: () => this.formValue })"
|
|
9918
|
-
},
|
|
9919
|
-
{
|
|
9920
|
-
"kind": "field",
|
|
9921
|
-
"name": "formValue",
|
|
9922
|
-
"privacy": "protected"
|
|
10271
|
+
"name": "syncLightDom",
|
|
10272
|
+
"privacy": "private"
|
|
9923
10273
|
},
|
|
9924
10274
|
{
|
|
9925
10275
|
"kind": "field",
|
|
9926
|
-
"name": "
|
|
9927
|
-
"
|
|
9928
|
-
"text": "string"
|
|
9929
|
-
},
|
|
9930
|
-
"privacy": "protected",
|
|
9931
|
-
"default": "\"input\""
|
|
10276
|
+
"name": "options",
|
|
10277
|
+
"default": "options"
|
|
9932
10278
|
},
|
|
9933
10279
|
{
|
|
9934
10280
|
"kind": "field",
|
|
9935
|
-
"name": "
|
|
10281
|
+
"name": "events",
|
|
9936
10282
|
"type": {
|
|
9937
|
-
"text": "
|
|
10283
|
+
"text": "EventController"
|
|
9938
10284
|
},
|
|
9939
|
-
"privacy": "
|
|
9940
|
-
"default": "
|
|
10285
|
+
"privacy": "private",
|
|
10286
|
+
"default": "new EventController(host)",
|
|
10287
|
+
"inheritedFrom": {
|
|
10288
|
+
"name": "SlotController",
|
|
10289
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10290
|
+
}
|
|
9941
10291
|
},
|
|
9942
10292
|
{
|
|
9943
10293
|
"kind": "field",
|
|
9944
|
-
"name": "
|
|
9945
|
-
"
|
|
9946
|
-
"
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
"default": "\"hint\""
|
|
10294
|
+
"name": "hasContent",
|
|
10295
|
+
"inheritedFrom": {
|
|
10296
|
+
"name": "SlotController",
|
|
10297
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10298
|
+
}
|
|
9950
10299
|
},
|
|
9951
10300
|
{
|
|
9952
10301
|
"kind": "field",
|
|
9953
|
-
"name": "
|
|
9954
|
-
"
|
|
9955
|
-
"
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
"description": "Label for the input.",
|
|
9959
|
-
"attribute": "label"
|
|
10302
|
+
"name": "isEmpty",
|
|
10303
|
+
"inheritedFrom": {
|
|
10304
|
+
"name": "SlotController",
|
|
10305
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10306
|
+
}
|
|
9960
10307
|
},
|
|
9961
10308
|
{
|
|
9962
10309
|
"kind": "field",
|
|
9963
|
-
"name": "
|
|
9964
|
-
"
|
|
9965
|
-
"
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
"attribute": "hint"
|
|
10310
|
+
"name": "content",
|
|
10311
|
+
"inheritedFrom": {
|
|
10312
|
+
"name": "SlotController",
|
|
10313
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10314
|
+
}
|
|
9969
10315
|
},
|
|
9970
10316
|
{
|
|
9971
10317
|
"kind": "field",
|
|
9972
|
-
"name": "
|
|
9973
|
-
"
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
"attribute": "hide-label"
|
|
10318
|
+
"name": "handleSlotChange",
|
|
10319
|
+
"privacy": "private",
|
|
10320
|
+
"inheritedFrom": {
|
|
10321
|
+
"name": "SlotController",
|
|
10322
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10323
|
+
}
|
|
9979
10324
|
},
|
|
9980
10325
|
{
|
|
9981
10326
|
"kind": "field",
|
|
9982
|
-
"name": "
|
|
9983
|
-
"
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
10327
|
+
"name": "host",
|
|
10328
|
+
"default": "host",
|
|
10329
|
+
"inheritedFrom": {
|
|
10330
|
+
"name": "SlotController",
|
|
10331
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10332
|
+
}
|
|
9988
10333
|
},
|
|
9989
10334
|
{
|
|
9990
10335
|
"kind": "field",
|
|
9991
|
-
"name": "
|
|
9992
|
-
"
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
}
|
|
10336
|
+
"name": "slotName",
|
|
10337
|
+
"default": "slotName",
|
|
10338
|
+
"inheritedFrom": {
|
|
10339
|
+
"name": "SlotController",
|
|
10340
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10341
|
+
}
|
|
10342
|
+
}
|
|
10343
|
+
],
|
|
10344
|
+
"superclass": {
|
|
10345
|
+
"name": "SlotController",
|
|
10346
|
+
"module": "/src/common/controllers/SlotController.js"
|
|
10347
|
+
},
|
|
10348
|
+
"status": null,
|
|
10349
|
+
"category": null
|
|
10350
|
+
}
|
|
10351
|
+
],
|
|
10352
|
+
"exports": [
|
|
10353
|
+
{
|
|
10354
|
+
"kind": "js",
|
|
10355
|
+
"name": "LightSlotController",
|
|
10356
|
+
"declaration": {
|
|
10357
|
+
"name": "LightSlotController",
|
|
10358
|
+
"module": "src/common/controllers/LightSlotController.ts"
|
|
10359
|
+
}
|
|
10360
|
+
}
|
|
10361
|
+
]
|
|
10362
|
+
},
|
|
10363
|
+
{
|
|
10364
|
+
"kind": "javascript-module",
|
|
10365
|
+
"path": "src/common/controllers/PortalController.ts",
|
|
10366
|
+
"declarations": [
|
|
10367
|
+
{
|
|
10368
|
+
"kind": "class",
|
|
10369
|
+
"description": "",
|
|
10370
|
+
"name": "PortalController",
|
|
10371
|
+
"members": [
|
|
9998
10372
|
{
|
|
9999
10373
|
"kind": "field",
|
|
10000
|
-
"name": "
|
|
10374
|
+
"name": "renderHook",
|
|
10001
10375
|
"type": {
|
|
10002
|
-
"text": "
|
|
10376
|
+
"text": "Comment"
|
|
10003
10377
|
},
|
|
10004
|
-
"
|
|
10005
|
-
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
10006
|
-
"attribute": "required"
|
|
10378
|
+
"privacy": "private"
|
|
10007
10379
|
},
|
|
10008
10380
|
{
|
|
10009
10381
|
"kind": "field",
|
|
10010
|
-
"name": "
|
|
10382
|
+
"name": "lightDom",
|
|
10011
10383
|
"type": {
|
|
10012
|
-
"text": "
|
|
10384
|
+
"text": "LightDomController"
|
|
10013
10385
|
},
|
|
10014
|
-
"
|
|
10015
|
-
"
|
|
10016
|
-
"attribute": "expand",
|
|
10017
|
-
"reflects": true
|
|
10018
|
-
},
|
|
10019
|
-
{
|
|
10020
|
-
"kind": "method",
|
|
10021
|
-
"name": "handleInput",
|
|
10022
|
-
"privacy": "protected",
|
|
10023
|
-
"parameters": [
|
|
10024
|
-
{
|
|
10025
|
-
"name": "e",
|
|
10026
|
-
"type": {
|
|
10027
|
-
"text": "Event"
|
|
10028
|
-
}
|
|
10029
|
-
}
|
|
10030
|
-
]
|
|
10031
|
-
},
|
|
10032
|
-
{
|
|
10033
|
-
"kind": "method",
|
|
10034
|
-
"name": "handleChange",
|
|
10035
|
-
"privacy": "protected"
|
|
10036
|
-
},
|
|
10037
|
-
{
|
|
10038
|
-
"kind": "method",
|
|
10039
|
-
"name": "renderLabel",
|
|
10040
|
-
"privacy": "protected"
|
|
10386
|
+
"privacy": "private",
|
|
10387
|
+
"default": "new LightDomController(host, {\n render: () => this.options.render.call(host),\n container: options.outlet,\n renderOptions: {\n renderBefore: this.renderHook,\n host,\n },\n })"
|
|
10041
10388
|
},
|
|
10042
10389
|
{
|
|
10043
10390
|
"kind": "method",
|
|
10044
|
-
"name": "
|
|
10045
|
-
"privacy": "protected"
|
|
10391
|
+
"name": "hostConnected"
|
|
10046
10392
|
},
|
|
10047
10393
|
{
|
|
10048
10394
|
"kind": "method",
|
|
10049
|
-
"name": "
|
|
10050
|
-
"privacy": "protected"
|
|
10395
|
+
"name": "hostUpdated"
|
|
10051
10396
|
},
|
|
10052
10397
|
{
|
|
10053
10398
|
"kind": "method",
|
|
10054
|
-
"name": "
|
|
10055
|
-
"privacy": "protected"
|
|
10399
|
+
"name": "hostDisconnected"
|
|
10056
10400
|
},
|
|
10057
10401
|
{
|
|
10058
10402
|
"kind": "field",
|
|
10059
|
-
"name": "
|
|
10060
|
-
"
|
|
10403
|
+
"name": "host",
|
|
10404
|
+
"default": "host"
|
|
10061
10405
|
},
|
|
10062
10406
|
{
|
|
10063
10407
|
"kind": "field",
|
|
10064
|
-
"name": "
|
|
10065
|
-
"
|
|
10066
|
-
}
|
|
10067
|
-
],
|
|
10068
|
-
"events": [
|
|
10069
|
-
{
|
|
10070
|
-
"name": "input",
|
|
10071
|
-
"type": {
|
|
10072
|
-
"text": "NordEvent"
|
|
10073
|
-
},
|
|
10074
|
-
"description": "Fired as the user types into the input."
|
|
10075
|
-
},
|
|
10076
|
-
{
|
|
10077
|
-
"name": "change",
|
|
10078
|
-
"type": {
|
|
10079
|
-
"text": "NordEvent"
|
|
10080
|
-
},
|
|
10081
|
-
"description": "Fired whenever the input's value is changed via user interaction."
|
|
10408
|
+
"name": "options",
|
|
10409
|
+
"default": "options"
|
|
10082
10410
|
}
|
|
10083
|
-
]
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10411
|
+
]
|
|
10412
|
+
}
|
|
10413
|
+
],
|
|
10414
|
+
"exports": [
|
|
10415
|
+
{
|
|
10416
|
+
"kind": "js",
|
|
10417
|
+
"name": "PortalController",
|
|
10418
|
+
"declaration": {
|
|
10419
|
+
"name": "PortalController",
|
|
10420
|
+
"module": "src/common/controllers/PortalController.ts"
|
|
10421
|
+
}
|
|
10422
|
+
}
|
|
10423
|
+
]
|
|
10424
|
+
},
|
|
10425
|
+
{
|
|
10426
|
+
"kind": "javascript-module",
|
|
10427
|
+
"path": "src/common/controllers/ShortcutController.ts",
|
|
10428
|
+
"declarations": [
|
|
10429
|
+
{
|
|
10430
|
+
"kind": "class",
|
|
10431
|
+
"description": "",
|
|
10432
|
+
"name": "ShortcutController",
|
|
10433
|
+
"members": [
|
|
10094
10434
|
{
|
|
10095
|
-
"
|
|
10435
|
+
"kind": "field",
|
|
10436
|
+
"name": "unregister",
|
|
10096
10437
|
"type": {
|
|
10097
|
-
"text": "
|
|
10438
|
+
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
10098
10439
|
},
|
|
10099
|
-
"
|
|
10100
|
-
"fieldName": "hint"
|
|
10440
|
+
"privacy": "private"
|
|
10101
10441
|
},
|
|
10102
|
-
{
|
|
10103
|
-
"
|
|
10104
|
-
"
|
|
10105
|
-
"text": "boolean"
|
|
10106
|
-
},
|
|
10107
|
-
"default": "false",
|
|
10108
|
-
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
10109
|
-
"fieldName": "hideLabel"
|
|
10442
|
+
{
|
|
10443
|
+
"kind": "method",
|
|
10444
|
+
"name": "hostConnected"
|
|
10110
10445
|
},
|
|
10111
10446
|
{
|
|
10112
|
-
"
|
|
10113
|
-
"
|
|
10114
|
-
"text": "string | undefined"
|
|
10115
|
-
},
|
|
10116
|
-
"description": "Placeholder text to display within the input.",
|
|
10117
|
-
"fieldName": "placeholder"
|
|
10447
|
+
"kind": "method",
|
|
10448
|
+
"name": "hostDisconnected"
|
|
10118
10449
|
},
|
|
10119
10450
|
{
|
|
10120
|
-
"
|
|
10121
|
-
"
|
|
10122
|
-
"text": "string | undefined"
|
|
10123
|
-
},
|
|
10124
|
-
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
10125
|
-
"fieldName": "error"
|
|
10451
|
+
"kind": "method",
|
|
10452
|
+
"name": "unbind"
|
|
10126
10453
|
},
|
|
10127
10454
|
{
|
|
10128
|
-
"
|
|
10129
|
-
"
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10455
|
+
"kind": "method",
|
|
10456
|
+
"name": "bind",
|
|
10457
|
+
"parameters": [
|
|
10458
|
+
{
|
|
10459
|
+
"name": "shortcuts",
|
|
10460
|
+
"type": {
|
|
10461
|
+
"text": "KeyBindingMap"
|
|
10462
|
+
}
|
|
10463
|
+
}
|
|
10464
|
+
]
|
|
10135
10465
|
},
|
|
10136
10466
|
{
|
|
10137
|
-
"
|
|
10138
|
-
"
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
"default": "false",
|
|
10142
|
-
"description": "Controls whether the input expands to fill the width of its container.",
|
|
10143
|
-
"fieldName": "expand"
|
|
10144
|
-
}
|
|
10145
|
-
],
|
|
10146
|
-
"parameters": [
|
|
10467
|
+
"kind": "field",
|
|
10468
|
+
"name": "shortcuts",
|
|
10469
|
+
"default": "shortcuts"
|
|
10470
|
+
},
|
|
10147
10471
|
{
|
|
10148
|
-
"
|
|
10149
|
-
"
|
|
10150
|
-
|
|
10151
|
-
}
|
|
10472
|
+
"kind": "field",
|
|
10473
|
+
"name": "target",
|
|
10474
|
+
"default": "target"
|
|
10152
10475
|
}
|
|
10153
10476
|
]
|
|
10154
10477
|
}
|
|
@@ -10156,136 +10479,192 @@
|
|
|
10156
10479
|
"exports": [
|
|
10157
10480
|
{
|
|
10158
10481
|
"kind": "js",
|
|
10159
|
-
"name": "
|
|
10482
|
+
"name": "ShortcutController",
|
|
10160
10483
|
"declaration": {
|
|
10161
|
-
"name": "
|
|
10162
|
-
"module": "src/common/
|
|
10484
|
+
"name": "ShortcutController",
|
|
10485
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
10163
10486
|
}
|
|
10164
10487
|
},
|
|
10165
10488
|
{
|
|
10166
10489
|
"kind": "js",
|
|
10167
|
-
"name": "
|
|
10490
|
+
"name": "ShortcutMap",
|
|
10168
10491
|
"declaration": {
|
|
10169
|
-
"name": "
|
|
10170
|
-
"module": "src/common/
|
|
10492
|
+
"name": "KeyBindingMap",
|
|
10493
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
10171
10494
|
}
|
|
10172
10495
|
}
|
|
10173
10496
|
]
|
|
10174
10497
|
},
|
|
10175
10498
|
{
|
|
10176
10499
|
"kind": "javascript-module",
|
|
10177
|
-
"path": "src/common/
|
|
10500
|
+
"path": "src/common/controllers/SlotController.ts",
|
|
10178
10501
|
"declarations": [
|
|
10179
10502
|
{
|
|
10180
10503
|
"kind": "class",
|
|
10181
10504
|
"description": "",
|
|
10182
|
-
"name": "
|
|
10505
|
+
"name": "SlotController",
|
|
10183
10506
|
"members": [
|
|
10184
10507
|
{
|
|
10185
10508
|
"kind": "field",
|
|
10186
|
-
"name": "
|
|
10509
|
+
"name": "events",
|
|
10187
10510
|
"type": {
|
|
10188
|
-
"text": "
|
|
10189
|
-
}
|
|
10511
|
+
"text": "EventController"
|
|
10512
|
+
},
|
|
10513
|
+
"privacy": "private",
|
|
10514
|
+
"default": "new EventController(host)"
|
|
10515
|
+
},
|
|
10516
|
+
{
|
|
10517
|
+
"kind": "method",
|
|
10518
|
+
"name": "hostConnected"
|
|
10190
10519
|
},
|
|
10191
10520
|
{
|
|
10192
10521
|
"kind": "field",
|
|
10193
|
-
"name": "
|
|
10194
|
-
"type": {
|
|
10195
|
-
"text": "string"
|
|
10196
|
-
}
|
|
10522
|
+
"name": "hasContent"
|
|
10197
10523
|
},
|
|
10198
10524
|
{
|
|
10199
10525
|
"kind": "field",
|
|
10200
|
-
"name": "
|
|
10201
|
-
"type": {
|
|
10202
|
-
"text": "boolean"
|
|
10203
|
-
}
|
|
10526
|
+
"name": "isEmpty"
|
|
10204
10527
|
},
|
|
10205
10528
|
{
|
|
10206
10529
|
"kind": "field",
|
|
10207
|
-
"name": "
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10530
|
+
"name": "content"
|
|
10531
|
+
},
|
|
10532
|
+
{
|
|
10533
|
+
"kind": "field",
|
|
10534
|
+
"name": "handleSlotChange",
|
|
10535
|
+
"privacy": "private"
|
|
10536
|
+
},
|
|
10537
|
+
{
|
|
10538
|
+
"kind": "method",
|
|
10539
|
+
"name": "onChange",
|
|
10540
|
+
"privacy": "protected",
|
|
10541
|
+
"parameters": [
|
|
10542
|
+
{
|
|
10543
|
+
"name": "_e",
|
|
10544
|
+
"type": {
|
|
10545
|
+
"text": "Event"
|
|
10546
|
+
}
|
|
10547
|
+
}
|
|
10548
|
+
]
|
|
10549
|
+
},
|
|
10550
|
+
{
|
|
10551
|
+
"kind": "field",
|
|
10552
|
+
"name": "host",
|
|
10553
|
+
"default": "host"
|
|
10554
|
+
},
|
|
10555
|
+
{
|
|
10556
|
+
"kind": "field",
|
|
10557
|
+
"name": "slotName",
|
|
10558
|
+
"default": "slotName"
|
|
10211
10559
|
}
|
|
10212
10560
|
]
|
|
10213
|
-
}
|
|
10561
|
+
}
|
|
10562
|
+
],
|
|
10563
|
+
"exports": [
|
|
10214
10564
|
{
|
|
10215
|
-
"kind": "
|
|
10565
|
+
"kind": "js",
|
|
10566
|
+
"name": "SlotController",
|
|
10567
|
+
"declaration": {
|
|
10568
|
+
"name": "SlotController",
|
|
10569
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10570
|
+
}
|
|
10571
|
+
}
|
|
10572
|
+
]
|
|
10573
|
+
},
|
|
10574
|
+
{
|
|
10575
|
+
"kind": "javascript-module",
|
|
10576
|
+
"path": "src/common/controllers/SwipeController.ts",
|
|
10577
|
+
"declarations": [
|
|
10578
|
+
{
|
|
10579
|
+
"kind": "class",
|
|
10216
10580
|
"description": "",
|
|
10217
|
-
"name": "
|
|
10581
|
+
"name": "SwipeController",
|
|
10218
10582
|
"members": [
|
|
10219
10583
|
{
|
|
10220
10584
|
"kind": "field",
|
|
10221
|
-
"name": "
|
|
10585
|
+
"name": "events",
|
|
10222
10586
|
"type": {
|
|
10223
|
-
"text": "
|
|
10587
|
+
"text": "EventController"
|
|
10224
10588
|
},
|
|
10225
|
-
"
|
|
10226
|
-
"
|
|
10227
|
-
"attribute": "disabled",
|
|
10228
|
-
"reflects": true
|
|
10589
|
+
"privacy": "private",
|
|
10590
|
+
"default": "new EventController(host)"
|
|
10229
10591
|
},
|
|
10230
10592
|
{
|
|
10231
10593
|
"kind": "field",
|
|
10232
|
-
"name": "
|
|
10594
|
+
"name": "hadFirstUpdate",
|
|
10233
10595
|
"type": {
|
|
10234
|
-
"text": "
|
|
10596
|
+
"text": "boolean"
|
|
10235
10597
|
},
|
|
10236
|
-
"
|
|
10237
|
-
"
|
|
10598
|
+
"privacy": "private",
|
|
10599
|
+
"default": "false"
|
|
10238
10600
|
},
|
|
10239
10601
|
{
|
|
10240
10602
|
"kind": "field",
|
|
10241
|
-
"name": "
|
|
10603
|
+
"name": "initialTouchX",
|
|
10242
10604
|
"type": {
|
|
10243
|
-
"text": "
|
|
10605
|
+
"text": "number"
|
|
10244
10606
|
},
|
|
10245
|
-
"
|
|
10246
|
-
"
|
|
10247
|
-
"attribute": "value"
|
|
10607
|
+
"privacy": "private",
|
|
10608
|
+
"default": "0"
|
|
10248
10609
|
},
|
|
10249
10610
|
{
|
|
10250
10611
|
"kind": "field",
|
|
10251
|
-
"name": "
|
|
10252
|
-
"privacy": "protected",
|
|
10253
|
-
"description": "Gets the form, if any, associated with the form element."
|
|
10254
|
-
}
|
|
10255
|
-
],
|
|
10256
|
-
"attributes": [
|
|
10257
|
-
{
|
|
10258
|
-
"name": "disabled",
|
|
10612
|
+
"name": "initialTouchY",
|
|
10259
10613
|
"type": {
|
|
10260
|
-
"text": "
|
|
10614
|
+
"text": "number"
|
|
10261
10615
|
},
|
|
10262
|
-
"
|
|
10263
|
-
"
|
|
10264
|
-
"fieldName": "disabled"
|
|
10616
|
+
"privacy": "private",
|
|
10617
|
+
"default": "0"
|
|
10265
10618
|
},
|
|
10266
10619
|
{
|
|
10267
|
-
"
|
|
10620
|
+
"kind": "field",
|
|
10621
|
+
"name": "options",
|
|
10268
10622
|
"type": {
|
|
10269
|
-
"text": "
|
|
10623
|
+
"text": "SetRequired<SwipeControllerOptions, \"target\">"
|
|
10270
10624
|
},
|
|
10271
|
-
"
|
|
10272
|
-
"
|
|
10625
|
+
"privacy": "private",
|
|
10626
|
+
"default": "{\n target: () => host,\n ...options,\n }"
|
|
10273
10627
|
},
|
|
10274
10628
|
{
|
|
10275
|
-
"
|
|
10629
|
+
"kind": "method",
|
|
10630
|
+
"name": "hostUpdated"
|
|
10631
|
+
},
|
|
10632
|
+
{
|
|
10633
|
+
"kind": "method",
|
|
10634
|
+
"name": "hostDisconnected"
|
|
10635
|
+
},
|
|
10636
|
+
{
|
|
10637
|
+
"kind": "field",
|
|
10638
|
+
"name": "handleTouchStart",
|
|
10639
|
+
"privacy": "private"
|
|
10640
|
+
},
|
|
10641
|
+
{
|
|
10642
|
+
"kind": "field",
|
|
10643
|
+
"name": "handleTouchEnd",
|
|
10644
|
+
"privacy": "private"
|
|
10645
|
+
}
|
|
10646
|
+
]
|
|
10647
|
+
},
|
|
10648
|
+
{
|
|
10649
|
+
"kind": "function",
|
|
10650
|
+
"name": "isHorizontalSwipe",
|
|
10651
|
+
"parameters": [
|
|
10652
|
+
{
|
|
10653
|
+
"name": "{ distX, distY }",
|
|
10276
10654
|
"type": {
|
|
10277
|
-
"text": "
|
|
10278
|
-
}
|
|
10279
|
-
"default": "\"\"",
|
|
10280
|
-
"description": "The value of the form component.",
|
|
10281
|
-
"fieldName": "value"
|
|
10655
|
+
"text": "SwipeDetails"
|
|
10656
|
+
}
|
|
10282
10657
|
}
|
|
10283
|
-
]
|
|
10658
|
+
]
|
|
10659
|
+
},
|
|
10660
|
+
{
|
|
10661
|
+
"kind": "function",
|
|
10662
|
+
"name": "isDownwardsSwipe",
|
|
10284
10663
|
"parameters": [
|
|
10285
10664
|
{
|
|
10286
|
-
"name": "
|
|
10665
|
+
"name": "{ distX, distY }",
|
|
10287
10666
|
"type": {
|
|
10288
|
-
"text": "
|
|
10667
|
+
"text": "SwipeDetails"
|
|
10289
10668
|
}
|
|
10290
10669
|
}
|
|
10291
10670
|
]
|
|
@@ -10294,18 +10673,26 @@
|
|
|
10294
10673
|
"exports": [
|
|
10295
10674
|
{
|
|
10296
10675
|
"kind": "js",
|
|
10297
|
-
"name": "
|
|
10676
|
+
"name": "SwipeController",
|
|
10298
10677
|
"declaration": {
|
|
10299
|
-
"name": "
|
|
10300
|
-
"module": "src/common/
|
|
10678
|
+
"name": "SwipeController",
|
|
10679
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
10301
10680
|
}
|
|
10302
10681
|
},
|
|
10303
10682
|
{
|
|
10304
10683
|
"kind": "js",
|
|
10305
|
-
"name": "
|
|
10684
|
+
"name": "isHorizontalSwipe",
|
|
10306
10685
|
"declaration": {
|
|
10307
|
-
"name": "
|
|
10308
|
-
"module": "src/common/
|
|
10686
|
+
"name": "isHorizontalSwipe",
|
|
10687
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
10688
|
+
}
|
|
10689
|
+
},
|
|
10690
|
+
{
|
|
10691
|
+
"kind": "js",
|
|
10692
|
+
"name": "isDownwardsSwipe",
|
|
10693
|
+
"declaration": {
|
|
10694
|
+
"name": "isDownwardsSwipe",
|
|
10695
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
10309
10696
|
}
|
|
10310
10697
|
}
|
|
10311
10698
|
]
|