@nordhealth/components 1.0.0-beta.5 → 1.0.0-beta.8

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.
Files changed (51) hide show
  1. package/custom-elements.json +722 -499
  2. package/lib/Avatar.js +2 -0
  3. package/lib/Avatar.js.map +1 -0
  4. package/lib/Badge.js +1 -1
  5. package/lib/Banner.js +1 -1
  6. package/lib/Banner.js.map +1 -1
  7. package/lib/Button.js +1 -1
  8. package/lib/{Calendar-55a0b169.js → Calendar-90013fdb.js} +2 -2
  9. package/lib/{Calendar-55a0b169.js.map → Calendar-90013fdb.js.map} +1 -1
  10. package/lib/Calendar.js +1 -1
  11. package/lib/Card.js +1 -1
  12. package/lib/Card.js.map +1 -1
  13. package/lib/Checkbox.js +1 -1
  14. package/lib/Checkbox.js.map +1 -1
  15. package/lib/CommandMenu.js +1 -1
  16. package/lib/CommandMenuAction.js +1 -1
  17. package/lib/Component-6762b5eb.js +2 -0
  18. package/lib/Component-6762b5eb.js.map +1 -0
  19. package/lib/DatePicker.js +1 -1
  20. package/lib/EmptyState.js +1 -1
  21. package/lib/EmptyState.js.map +1 -1
  22. package/lib/Fieldset.js +1 -1
  23. package/lib/Fieldset.js.map +1 -1
  24. package/lib/FormAssociatedMixin-49b778dd.js +2 -0
  25. package/lib/{FormAssociatedMixin-e146e0ab.js.map → FormAssociatedMixin-49b778dd.js.map} +1 -1
  26. package/lib/Header.js +1 -1
  27. package/lib/Header.js.map +1 -1
  28. package/lib/Icon.js +1 -1
  29. package/lib/Input.js +1 -1
  30. package/lib/Input.js.map +1 -1
  31. package/lib/Layout.js +1 -1
  32. package/lib/Layout.js.map +1 -1
  33. package/lib/NavGroup.js +1 -1
  34. package/lib/Radio.js +1 -1
  35. package/lib/Select.js +1 -1
  36. package/lib/Spinner.js +1 -1
  37. package/lib/Stack.js +1 -1
  38. package/lib/Textarea.js +1 -1
  39. package/lib/Tooltip.js +1 -1
  40. package/lib/bundle.js +10 -10
  41. package/lib/bundle.js.map +1 -1
  42. package/lib/index.js +1 -1
  43. package/lib/src/avatar/Avatar.d.ts +37 -0
  44. package/lib/src/avatar/Avatar.test.d.ts +1 -0
  45. package/lib/src/common/fsm.d.ts +5 -0
  46. package/lib/src/index.d.ts +1 -0
  47. package/lib/src/layout/Layout.d.ts +1 -2
  48. package/package.json +6 -6
  49. package/lib/Component-a19be7c9.js +0 -2
  50. package/lib/Component-a19be7c9.js.map +0 -1
  51. package/lib/FormAssociatedMixin-e146e0ab.js +0 -2
@@ -214,35 +214,85 @@
214
214
  "name": "default",
215
215
  "module": "\"./banner/Banner.js\""
216
216
  }
217
+ },
218
+ {
219
+ "kind": "js",
220
+ "name": "Avatar",
221
+ "declaration": {
222
+ "name": "default",
223
+ "module": "\"./avatar/Avatar.js\""
224
+ }
217
225
  }
218
226
  ]
219
227
  },
220
228
  {
221
229
  "kind": "javascript-module",
222
- "path": "src/badge/Badge.ts",
230
+ "path": "src/avatar/Avatar.ts",
223
231
  "declarations": [
224
232
  {
225
233
  "kind": "class",
226
- "description": "Badges are used to inform users of the status of an object or of an action that’s been taken. Commonly used in tabular data to indicate status.",
227
- "name": "Badge",
228
- "slots": [
229
- {
230
- "description": "The badge content.",
231
- "name": ""
232
- }
233
- ],
234
+ "description": "Avatar is used for showing a thumbnail representation of a user or entity.\nDefault avatar illustration is displayed when no src is specified.",
235
+ "name": "Avatar",
234
236
  "members": [
235
237
  {
236
238
  "kind": "field",
237
- "name": "type",
239
+ "name": "state",
238
240
  "type": {
239
- "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
241
+ "text": "States"
240
242
  },
241
- "default": "\"info\"",
242
- "description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
243
- "attribute": "type",
243
+ "privacy": "private",
244
+ "default": "\"initial\""
245
+ },
246
+ {
247
+ "kind": "field",
248
+ "name": "size",
249
+ "type": {
250
+ "text": "\"m\" | \"l\" | \"xl\""
251
+ },
252
+ "default": "\"m\"",
253
+ "description": "The size of the avatar.",
254
+ "attribute": "size",
244
255
  "reflects": true
245
256
  },
257
+ {
258
+ "kind": "field",
259
+ "name": "src",
260
+ "type": {
261
+ "text": "string | undefined"
262
+ },
263
+ "description": "The URL of the avatar image uploaded by the user.",
264
+ "attribute": "src",
265
+ "reflects": true
266
+ },
267
+ {
268
+ "kind": "field",
269
+ "name": "name",
270
+ "type": {
271
+ "text": "string"
272
+ },
273
+ "default": "\"\"",
274
+ "description": "The name of the person.",
275
+ "attribute": "name"
276
+ },
277
+ {
278
+ "kind": "method",
279
+ "name": "renderImage",
280
+ "privacy": "protected"
281
+ },
282
+ {
283
+ "kind": "method",
284
+ "name": "renderFallback"
285
+ },
286
+ {
287
+ "kind": "method",
288
+ "name": "handleLoad",
289
+ "privacy": "private"
290
+ },
291
+ {
292
+ "kind": "method",
293
+ "name": "handleError",
294
+ "privacy": "private"
295
+ },
246
296
  {
247
297
  "kind": "field",
248
298
  "name": "_warningLogged",
@@ -260,13 +310,30 @@
260
310
  ],
261
311
  "attributes": [
262
312
  {
263
- "name": "type",
313
+ "name": "size",
264
314
  "type": {
265
- "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
315
+ "text": "\"m\" | \"l\" | \"xl\""
266
316
  },
267
- "default": "\"info\"",
268
- "description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
269
- "fieldName": "type"
317
+ "default": "\"m\"",
318
+ "description": "The size of the avatar.",
319
+ "fieldName": "size"
320
+ },
321
+ {
322
+ "name": "src",
323
+ "type": {
324
+ "text": "string | undefined"
325
+ },
326
+ "description": "The URL of the avatar image uploaded by the user.",
327
+ "fieldName": "src"
328
+ },
329
+ {
330
+ "name": "name",
331
+ "type": {
332
+ "text": "string"
333
+ },
334
+ "default": "\"\"",
335
+ "description": "The name of the person.",
336
+ "fieldName": "name"
270
337
  }
271
338
  ],
272
339
  "mixins": [
@@ -280,8 +347,8 @@
280
347
  "package": "lit"
281
348
  },
282
349
  "status": "draft",
283
- "category": "text",
284
- "tagName": "nord-badge",
350
+ "category": "image",
351
+ "tagName": "nord-avatar",
285
352
  "customElement": true
286
353
  }
287
354
  ],
@@ -290,45 +357,45 @@
290
357
  "kind": "js",
291
358
  "name": "default",
292
359
  "declaration": {
293
- "name": "Badge",
294
- "module": "src/badge/Badge.ts"
360
+ "name": "Avatar",
361
+ "module": "src/avatar/Avatar.ts"
295
362
  }
296
363
  },
297
364
  {
298
365
  "kind": "custom-element-definition",
299
- "name": "nord-badge",
366
+ "name": "nord-avatar",
300
367
  "declaration": {
301
- "name": "Badge",
302
- "module": "src/badge/Badge.ts"
368
+ "name": "Avatar",
369
+ "module": "src/avatar/Avatar.ts"
303
370
  }
304
371
  }
305
372
  ],
306
- "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 a status update on a piece of information or action.\n- Use to mark something as a “draft” or “new”.\n- Use when you want to highlight something that has been added recently.\n- Use established color patterns so that users can clearly identify the importance level.\n- Always position badge so that it’s clear to understand what object it’s related to.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t make badges clickable. Instead use button component’s small variant.\n- Don’t use alternatives to existing badge variants.\n\n</div>\n\n---\n\n## Content guidelines\n\nBadge labels should use a single word to describe the status of an object. Only use two words if you need to describe a complex state:\n\n<div class=\"n-usage n-usage-do\">Complete</div>\n<div class=\"n-usage n-usage-dont\">Action completed</div>\n\nWhen writing badge 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\">Partially refunded</div>\n<div class=\"n-usage n-usage-dont\">Partially Refunded</div>\n\nAvoid unnecessary words and articles in badge labels, such as “is”, “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Pending</div>\n<div class=\"n-usage n-usage-dont\">Item is pending</div>\n\nAlways describe the status in the past tense:\n\n<div class=\"n-usage n-usage-do\">Refunded</div>\n<div class=\"n-usage n-usage-dont\">Refund</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| `info` | The default variant. Used to convey general information that isn’t critical. |\n| `success` | Used to convey success states. For example, you might want to show a badge that tells the user a payment was successful. |\n| `highlight` | Used to highlight specific items in the interface, like notifications. |\n| `danger` | Used to communicate problems that have to be resolved so that user can continue forward. Should always be used for highlighting errors. |\n| `warning` | Used to display information that needs a user’s attention attention and may require further steps. |\n"
373
+ "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"
307
374
  },
308
375
  {
309
376
  "kind": "javascript-module",
310
- "path": "src/banner/Banner.ts",
377
+ "path": "src/badge/Badge.ts",
311
378
  "declarations": [
312
379
  {
313
380
  "kind": "class",
314
- "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.",
315
- "name": "Banner",
381
+ "description": "Badges are used to inform users of the status of an object or of an action that’s been taken. Commonly used in tabular data to indicate status.",
382
+ "name": "Badge",
316
383
  "slots": [
317
384
  {
318
- "description": "default slot",
385
+ "description": "The badge content.",
319
386
  "name": ""
320
387
  }
321
388
  ],
322
389
  "members": [
323
390
  {
324
391
  "kind": "field",
325
- "name": "variant",
392
+ "name": "type",
326
393
  "type": {
327
- "text": "\"info\" | \"danger\" | \"success\" | \"warning\""
394
+ "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
328
395
  },
329
396
  "default": "\"info\"",
330
- "description": "The style variant of the banner.",
331
- "attribute": "variant",
397
+ "description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
398
+ "attribute": "type",
332
399
  "reflects": true
333
400
  },
334
401
  {
@@ -348,13 +415,13 @@
348
415
  ],
349
416
  "attributes": [
350
417
  {
351
- "name": "variant",
418
+ "name": "type",
352
419
  "type": {
353
- "text": "\"info\" | \"danger\" | \"success\" | \"warning\""
420
+ "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
354
421
  },
355
422
  "default": "\"info\"",
356
- "description": "The style variant of the banner.",
357
- "fieldName": "variant"
423
+ "description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
424
+ "fieldName": "type"
358
425
  }
359
426
  ],
360
427
  "mixins": [
@@ -368,8 +435,8 @@
368
435
  "package": "lit"
369
436
  },
370
437
  "status": "draft",
371
- "category": "feedback",
372
- "tagName": "nord-banner",
438
+ "category": "text",
439
+ "tagName": "nord-badge",
373
440
  "customElement": true
374
441
  }
375
442
  ],
@@ -378,20 +445,20 @@
378
445
  "kind": "js",
379
446
  "name": "default",
380
447
  "declaration": {
381
- "name": "Banner",
382
- "module": "src/banner/Banner.ts"
448
+ "name": "Badge",
449
+ "module": "src/badge/Badge.ts"
383
450
  }
384
451
  },
385
452
  {
386
453
  "kind": "custom-element-definition",
387
- "name": "nord-banner",
454
+ "name": "nord-badge",
388
455
  "declaration": {
389
- "name": "Banner",
390
- "module": "src/banner/Banner.ts"
456
+ "name": "Badge",
457
+ "module": "src/badge/Badge.ts"
391
458
  }
392
459
  }
393
460
  ],
394
- "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"
461
+ "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 a status update on a piece of information or action.\n- Use to mark something as a “draft” or “new”.\n- Use when you want to highlight something that has been added recently.\n- Use established color patterns so that users can clearly identify the importance level.\n- Always position badge so that it’s clear to understand what object it’s related to.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t make badges clickable. Instead use button component’s small variant.\n- Don’t use alternatives to existing badge variants.\n\n</div>\n\n---\n\n## Content guidelines\n\nBadge labels should use a single word to describe the status of an object. Only use two words if you need to describe a complex state:\n\n<div class=\"n-usage n-usage-do\">Complete</div>\n<div class=\"n-usage n-usage-dont\">Action completed</div>\n\nWhen writing badge 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\">Partially refunded</div>\n<div class=\"n-usage n-usage-dont\">Partially Refunded</div>\n\nAvoid unnecessary words and articles in badge labels, such as “is”, “the”, “an or “a”:\n\n<div class=\"n-usage n-usage-do\">Pending</div>\n<div class=\"n-usage n-usage-dont\">Item is pending</div>\n\nAlways describe the status in the past tense:\n\n<div class=\"n-usage n-usage-do\">Refunded</div>\n<div class=\"n-usage n-usage-dont\">Refund</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| `info` | The default variant. Used to convey general information that isn’t critical. |\n| `success` | Used to convey success states. For example, you might want to show a badge that tells the user a payment was successful. |\n| `highlight` | Used to highlight specific items in the interface, like notifications. |\n| `danger` | Used to communicate problems that have to be resolved so that user can continue forward. Should always be used for highlighting errors. |\n| `warning` | Used to display information that needs a user’s attention attention and may require further steps. |\n"
395
462
  },
396
463
  {
397
464
  "kind": "javascript-module",
@@ -798,114 +865,6 @@
798
865
  ],
799
866
  "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"
800
867
  },
801
- {
802
- "kind": "javascript-module",
803
- "path": "src/card/Card.ts",
804
- "declarations": [
805
- {
806
- "kind": "class",
807
- "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.",
808
- "name": "Card",
809
- "slots": [
810
- {
811
- "description": "The card content.",
812
- "name": ""
813
- },
814
- {
815
- "description": "Optional slot that holds a header for the card.",
816
- "name": "header"
817
- },
818
- {
819
- "description": "Optional slot that holds footer content for the card.",
820
- "name": "footer"
821
- }
822
- ],
823
- "members": [
824
- {
825
- "kind": "field",
826
- "name": "headerSlot",
827
- "privacy": "private",
828
- "default": "new SlotController(this, \"header\")"
829
- },
830
- {
831
- "kind": "field",
832
- "name": "footerSlot",
833
- "privacy": "private",
834
- "default": "new SlotController(this, \"footer\")"
835
- },
836
- {
837
- "kind": "field",
838
- "name": "padding",
839
- "type": {
840
- "text": "\"m\" | \"l\" | \"none\""
841
- },
842
- "default": "\"m\"",
843
- "description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
844
- "attribute": "padding",
845
- "reflects": true
846
- },
847
- {
848
- "kind": "field",
849
- "name": "_warningLogged",
850
- "type": {
851
- "text": "boolean"
852
- },
853
- "privacy": "private",
854
- "static": true,
855
- "default": "false",
856
- "inheritedFrom": {
857
- "name": "DraftComponentMixin",
858
- "module": "src/common/mixins/DraftComponentMixin.ts"
859
- }
860
- }
861
- ],
862
- "attributes": [
863
- {
864
- "name": "padding",
865
- "type": {
866
- "text": "\"m\" | \"l\" | \"none\""
867
- },
868
- "default": "\"m\"",
869
- "description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
870
- "fieldName": "padding"
871
- }
872
- ],
873
- "mixins": [
874
- {
875
- "name": "DraftComponentMixin",
876
- "module": "/src/common/mixins/DraftComponentMixin.js"
877
- }
878
- ],
879
- "superclass": {
880
- "name": "LitElement",
881
- "package": "lit"
882
- },
883
- "status": "draft",
884
- "category": "structure",
885
- "tagName": "nord-card",
886
- "customElement": true
887
- }
888
- ],
889
- "exports": [
890
- {
891
- "kind": "js",
892
- "name": "default",
893
- "declaration": {
894
- "name": "Card",
895
- "module": "src/card/Card.ts"
896
- }
897
- },
898
- {
899
- "kind": "custom-element-definition",
900
- "name": "nord-card",
901
- "declaration": {
902
- "name": "Card",
903
- "module": "src/card/Card.ts"
904
- }
905
- }
906
- ],
907
- "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"
908
- },
909
868
  {
910
869
  "kind": "javascript-module",
911
870
  "path": "src/calendar/Calendar.ts",
@@ -1347,43 +1306,239 @@
1347
1306
  {
1348
1307
  "name": "{\n focusedDay,\n today,\n day,\n onDaySelect,\n onKeyboardNavigation,\n disabled,\n inRange,\n isSelected,\n dateFormatter,\n}",
1349
1308
  "type": {
1350
- "text": "DatePickerDayProps"
1309
+ "text": "DatePickerDayProps"
1310
+ }
1311
+ }
1312
+ ]
1313
+ },
1314
+ {
1315
+ "kind": "function",
1316
+ "name": "monthView",
1317
+ "parameters": [
1318
+ {
1319
+ "name": "{\n onFocusIn,\n onFocusOut,\n selectedDate,\n focusedDate,\n labelledById,\n localization,\n firstDayOfWeek,\n min,\n max,\n dateFormatter,\n isDateDisabled,\n onDateSelect,\n onKeyboardNavigation,\n}",
1320
+ "type": {
1321
+ "text": "MonthViewArgs"
1322
+ }
1323
+ }
1324
+ ]
1325
+ }
1326
+ ],
1327
+ "exports": [
1328
+ {
1329
+ "kind": "js",
1330
+ "name": "dayView",
1331
+ "declaration": {
1332
+ "name": "dayView",
1333
+ "module": "src/calendar/month-view.ts"
1334
+ }
1335
+ },
1336
+ {
1337
+ "kind": "js",
1338
+ "name": "monthView",
1339
+ "declaration": {
1340
+ "name": "monthView",
1341
+ "module": "src/calendar/month-view.ts"
1342
+ }
1343
+ }
1344
+ ],
1345
+ "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"
1346
+ },
1347
+ {
1348
+ "kind": "javascript-module",
1349
+ "path": "src/banner/Banner.ts",
1350
+ "declarations": [
1351
+ {
1352
+ "kind": "class",
1353
+ "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.",
1354
+ "name": "Banner",
1355
+ "slots": [
1356
+ {
1357
+ "description": "default slot",
1358
+ "name": ""
1359
+ }
1360
+ ],
1361
+ "members": [
1362
+ {
1363
+ "kind": "field",
1364
+ "name": "variant",
1365
+ "type": {
1366
+ "text": "\"info\" | \"danger\" | \"success\" | \"warning\""
1367
+ },
1368
+ "default": "\"info\"",
1369
+ "description": "The style variant of the banner.",
1370
+ "attribute": "variant",
1371
+ "reflects": true
1372
+ },
1373
+ {
1374
+ "kind": "field",
1375
+ "name": "_warningLogged",
1376
+ "type": {
1377
+ "text": "boolean"
1378
+ },
1379
+ "privacy": "private",
1380
+ "static": true,
1381
+ "default": "false",
1382
+ "inheritedFrom": {
1383
+ "name": "DraftComponentMixin",
1384
+ "module": "src/common/mixins/DraftComponentMixin.ts"
1385
+ }
1386
+ }
1387
+ ],
1388
+ "attributes": [
1389
+ {
1390
+ "name": "variant",
1391
+ "type": {
1392
+ "text": "\"info\" | \"danger\" | \"success\" | \"warning\""
1393
+ },
1394
+ "default": "\"info\"",
1395
+ "description": "The style variant of the banner.",
1396
+ "fieldName": "variant"
1397
+ }
1398
+ ],
1399
+ "mixins": [
1400
+ {
1401
+ "name": "DraftComponentMixin",
1402
+ "module": "/src/common/mixins/DraftComponentMixin.js"
1403
+ }
1404
+ ],
1405
+ "superclass": {
1406
+ "name": "LitElement",
1407
+ "package": "lit"
1408
+ },
1409
+ "status": "draft",
1410
+ "category": "feedback",
1411
+ "tagName": "nord-banner",
1412
+ "customElement": true
1413
+ }
1414
+ ],
1415
+ "exports": [
1416
+ {
1417
+ "kind": "js",
1418
+ "name": "default",
1419
+ "declaration": {
1420
+ "name": "Banner",
1421
+ "module": "src/banner/Banner.ts"
1422
+ }
1423
+ },
1424
+ {
1425
+ "kind": "custom-element-definition",
1426
+ "name": "nord-banner",
1427
+ "declaration": {
1428
+ "name": "Banner",
1429
+ "module": "src/banner/Banner.ts"
1430
+ }
1431
+ }
1432
+ ],
1433
+ "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"
1434
+ },
1435
+ {
1436
+ "kind": "javascript-module",
1437
+ "path": "src/card/Card.ts",
1438
+ "declarations": [
1439
+ {
1440
+ "kind": "class",
1441
+ "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.",
1442
+ "name": "Card",
1443
+ "slots": [
1444
+ {
1445
+ "description": "The card content.",
1446
+ "name": ""
1447
+ },
1448
+ {
1449
+ "description": "Optional slot that holds a header for the card.",
1450
+ "name": "header"
1451
+ },
1452
+ {
1453
+ "description": "Optional slot that holds footer content for the card.",
1454
+ "name": "footer"
1455
+ }
1456
+ ],
1457
+ "members": [
1458
+ {
1459
+ "kind": "field",
1460
+ "name": "headerSlot",
1461
+ "privacy": "private",
1462
+ "default": "new SlotController(this, \"header\")"
1463
+ },
1464
+ {
1465
+ "kind": "field",
1466
+ "name": "footerSlot",
1467
+ "privacy": "private",
1468
+ "default": "new SlotController(this, \"footer\")"
1469
+ },
1470
+ {
1471
+ "kind": "field",
1472
+ "name": "padding",
1473
+ "type": {
1474
+ "text": "\"m\" | \"l\" | \"none\""
1475
+ },
1476
+ "default": "\"m\"",
1477
+ "description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
1478
+ "attribute": "padding",
1479
+ "reflects": true
1480
+ },
1481
+ {
1482
+ "kind": "field",
1483
+ "name": "_warningLogged",
1484
+ "type": {
1485
+ "text": "boolean"
1486
+ },
1487
+ "privacy": "private",
1488
+ "static": true,
1489
+ "default": "false",
1490
+ "inheritedFrom": {
1491
+ "name": "DraftComponentMixin",
1492
+ "module": "src/common/mixins/DraftComponentMixin.ts"
1351
1493
  }
1352
1494
  }
1353
- ]
1354
- },
1355
- {
1356
- "kind": "function",
1357
- "name": "monthView",
1358
- "parameters": [
1495
+ ],
1496
+ "attributes": [
1359
1497
  {
1360
- "name": "{\n onFocusIn,\n onFocusOut,\n selectedDate,\n focusedDate,\n labelledById,\n localization,\n firstDayOfWeek,\n min,\n max,\n dateFormatter,\n isDateDisabled,\n onDateSelect,\n onKeyboardNavigation,\n}",
1498
+ "name": "padding",
1361
1499
  "type": {
1362
- "text": "MonthViewArgs"
1363
- }
1500
+ "text": "\"m\" | \"l\" | \"none\""
1501
+ },
1502
+ "default": "\"m\"",
1503
+ "description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
1504
+ "fieldName": "padding"
1364
1505
  }
1365
- ]
1506
+ ],
1507
+ "mixins": [
1508
+ {
1509
+ "name": "DraftComponentMixin",
1510
+ "module": "/src/common/mixins/DraftComponentMixin.js"
1511
+ }
1512
+ ],
1513
+ "superclass": {
1514
+ "name": "LitElement",
1515
+ "package": "lit"
1516
+ },
1517
+ "status": "draft",
1518
+ "category": "structure",
1519
+ "tagName": "nord-card",
1520
+ "customElement": true
1366
1521
  }
1367
1522
  ],
1368
1523
  "exports": [
1369
1524
  {
1370
1525
  "kind": "js",
1371
- "name": "dayView",
1526
+ "name": "default",
1372
1527
  "declaration": {
1373
- "name": "dayView",
1374
- "module": "src/calendar/month-view.ts"
1528
+ "name": "Card",
1529
+ "module": "src/card/Card.ts"
1375
1530
  }
1376
1531
  },
1377
1532
  {
1378
- "kind": "js",
1379
- "name": "monthView",
1533
+ "kind": "custom-element-definition",
1534
+ "name": "nord-card",
1380
1535
  "declaration": {
1381
- "name": "monthView",
1382
- "module": "src/calendar/month-view.ts"
1536
+ "name": "Card",
1537
+ "module": "src/card/Card.ts"
1383
1538
  }
1384
1539
  }
1385
1540
  ],
1386
- "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"
1541
+ "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"
1387
1542
  },
1388
1543
  {
1389
1544
  "kind": "javascript-module",
@@ -1431,11 +1586,6 @@
1431
1586
  "kind": "method",
1432
1587
  "name": "handleChange",
1433
1588
  "privacy": "protected",
1434
- "return": {
1435
- "type": {
1436
- "text": "void"
1437
- }
1438
- },
1439
1589
  "parameters": [
1440
1590
  {
1441
1591
  "name": "e",
@@ -1444,6 +1594,11 @@
1444
1594
  }
1445
1595
  }
1446
1596
  ],
1597
+ "return": {
1598
+ "type": {
1599
+ "text": "void"
1600
+ }
1601
+ },
1447
1602
  "inheritedFrom": {
1448
1603
  "name": "FormAssociatedMixin",
1449
1604
  "module": "src/common/mixins/FormAssociatedMixin.ts"
@@ -3380,6 +3535,34 @@
3380
3535
  }
3381
3536
  ]
3382
3537
  },
3538
+ {
3539
+ "kind": "javascript-module",
3540
+ "path": "src/common/fsm.ts",
3541
+ "declarations": [
3542
+ {
3543
+ "kind": "function",
3544
+ "name": "fsm",
3545
+ "parameters": [
3546
+ {
3547
+ "name": "config",
3548
+ "type": {
3549
+ "text": "TTransitions"
3550
+ }
3551
+ }
3552
+ ]
3553
+ }
3554
+ ],
3555
+ "exports": [
3556
+ {
3557
+ "kind": "js",
3558
+ "name": "fsm",
3559
+ "declaration": {
3560
+ "name": "fsm",
3561
+ "module": "src/common/fsm.ts"
3562
+ }
3563
+ }
3564
+ ]
3565
+ },
3383
3566
  {
3384
3567
  "kind": "javascript-module",
3385
3568
  "path": "src/common/input.ts",
@@ -3997,6 +4180,14 @@
3997
4180
  "kind": "method",
3998
4181
  "name": "handleChange",
3999
4182
  "privacy": "protected",
4183
+ "parameters": [
4184
+ {
4185
+ "name": "e",
4186
+ "type": {
4187
+ "text": "Event"
4188
+ }
4189
+ }
4190
+ ],
4000
4191
  "inheritedFrom": {
4001
4192
  "name": "FormAssociatedMixin",
4002
4193
  "module": "src/common/mixins/FormAssociatedMixin.ts"
@@ -4454,6 +4645,72 @@
4454
4645
  ],
4455
4646
  "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"
4456
4647
  },
4648
+ {
4649
+ "kind": "javascript-module",
4650
+ "path": "src/empty-state/EmptyState.ts",
4651
+ "declarations": [
4652
+ {
4653
+ "kind": "class",
4654
+ "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.",
4655
+ "name": "EmptyState",
4656
+ "slots": [
4657
+ {
4658
+ "description": "default slot",
4659
+ "name": ""
4660
+ }
4661
+ ],
4662
+ "members": [
4663
+ {
4664
+ "kind": "field",
4665
+ "name": "_warningLogged",
4666
+ "type": {
4667
+ "text": "boolean"
4668
+ },
4669
+ "privacy": "private",
4670
+ "static": true,
4671
+ "default": "false",
4672
+ "inheritedFrom": {
4673
+ "name": "DraftComponentMixin",
4674
+ "module": "src/common/mixins/DraftComponentMixin.ts"
4675
+ }
4676
+ }
4677
+ ],
4678
+ "mixins": [
4679
+ {
4680
+ "name": "DraftComponentMixin",
4681
+ "module": "/src/common/mixins/DraftComponentMixin.js"
4682
+ }
4683
+ ],
4684
+ "superclass": {
4685
+ "name": "LitElement",
4686
+ "package": "lit"
4687
+ },
4688
+ "status": "draft",
4689
+ "category": "feedback",
4690
+ "tagName": "nord-empty-state",
4691
+ "customElement": true
4692
+ }
4693
+ ],
4694
+ "exports": [
4695
+ {
4696
+ "kind": "js",
4697
+ "name": "default",
4698
+ "declaration": {
4699
+ "name": "EmptyState",
4700
+ "module": "src/empty-state/EmptyState.ts"
4701
+ }
4702
+ },
4703
+ {
4704
+ "kind": "custom-element-definition",
4705
+ "name": "nord-empty-state",
4706
+ "declaration": {
4707
+ "name": "EmptyState",
4708
+ "module": "src/empty-state/EmptyState.ts"
4709
+ }
4710
+ }
4711
+ ],
4712
+ "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"
4713
+ },
4457
4714
  {
4458
4715
  "kind": "javascript-module",
4459
4716
  "path": "src/fieldset/Fieldset.ts",
@@ -4523,103 +4780,10 @@
4523
4780
  "privacy": "protected"
4524
4781
  },
4525
4782
  {
4526
- "kind": "field",
4527
- "name": "hasError",
4528
- "privacy": "protected"
4529
- },
4530
- {
4531
- "kind": "field",
4532
- "name": "_warningLogged",
4533
- "type": {
4534
- "text": "boolean"
4535
- },
4536
- "privacy": "private",
4537
- "static": true,
4538
- "default": "false",
4539
- "inheritedFrom": {
4540
- "name": "DraftComponentMixin",
4541
- "module": "src/common/mixins/DraftComponentMixin.ts"
4542
- }
4543
- }
4544
- ],
4545
- "attributes": [
4546
- {
4547
- "name": "label",
4548
- "type": {
4549
- "text": "string"
4550
- },
4551
- "default": "\"\"",
4552
- "description": "Label for the fieldset.",
4553
- "fieldName": "label"
4554
- },
4555
- {
4556
- "name": "hint",
4557
- "type": {
4558
- "text": "string | undefined"
4559
- },
4560
- "description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
4561
- "fieldName": "hint"
4562
- },
4563
- {
4564
- "name": "error",
4565
- "type": {
4566
- "text": "string | undefined"
4567
- },
4568
- "description": "Optional error to be shown with the fieldset. Alternatively use the error slot.",
4569
- "fieldName": "error"
4570
- }
4571
- ],
4572
- "mixins": [
4573
- {
4574
- "name": "DraftComponentMixin",
4575
- "module": "/src/common/mixins/DraftComponentMixin.js"
4576
- }
4577
- ],
4578
- "superclass": {
4579
- "name": "LitElement",
4580
- "package": "lit"
4581
- },
4582
- "status": "draft",
4583
- "category": "form",
4584
- "tagName": "nord-fieldset",
4585
- "customElement": true
4586
- }
4587
- ],
4588
- "exports": [
4589
- {
4590
- "kind": "js",
4591
- "name": "default",
4592
- "declaration": {
4593
- "name": "Fieldset",
4594
- "module": "src/fieldset/Fieldset.ts"
4595
- }
4596
- },
4597
- {
4598
- "kind": "custom-element-definition",
4599
- "name": "nord-fieldset",
4600
- "declaration": {
4601
- "name": "Fieldset",
4602
- "module": "src/fieldset/Fieldset.ts"
4603
- }
4604
- }
4605
- ],
4606
- "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 the fieldset component when you need to create a relationship between multiple form inputs.\n- It is especially important to use with a group of radio components.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t place interactive content (buttons, links etc) inside the label.\n- Don’t use with a checkbox component when there is **only one** checkbox. For example, when accepting terms and conditions.\n\n</div>\n\n-------\n\n## Content guidelines\n\nFieldset label should be clear, accurate and predictable. It should help the user to understand how the items in the fieldset are grouped together, or what kind of choice the user is making:\n\n<div class=\"n-usage n-usage-do\">Pick a color</div>\n<div class=\"n-usage n-usage-dont\">Choose</div>\n\nWhen writing fieldset 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\">Pick a color</div>\n<div class=\"n-usage n-usage-dont\">Pick A Color</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\">Pick a color</div>\n<div class=\"n-usage n-usage-dont\">Pick a color.</div>\n\nDo not use colons in fieldset label:\n\n<div class=\"n-usage n-usage-do\">Payment details</div>\n<div class=\"n-usage n-usage-dont\">Payment details:</div>\n\n-------\n\n## Additional considerations\n\n- A label (which becomes to `<legend>` inside the fieldset) is always required.\n- Hint text can be used to offer further information or explanation for an option.\n"
4607
- },
4608
- {
4609
- "kind": "javascript-module",
4610
- "path": "src/empty-state/EmptyState.ts",
4611
- "declarations": [
4612
- {
4613
- "kind": "class",
4614
- "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.",
4615
- "name": "EmptyState",
4616
- "slots": [
4617
- {
4618
- "description": "default slot",
4619
- "name": ""
4620
- }
4621
- ],
4622
- "members": [
4783
+ "kind": "field",
4784
+ "name": "hasError",
4785
+ "privacy": "protected"
4786
+ },
4623
4787
  {
4624
4788
  "kind": "field",
4625
4789
  "name": "_warningLogged",
@@ -4635,6 +4799,33 @@
4635
4799
  }
4636
4800
  }
4637
4801
  ],
4802
+ "attributes": [
4803
+ {
4804
+ "name": "label",
4805
+ "type": {
4806
+ "text": "string"
4807
+ },
4808
+ "default": "\"\"",
4809
+ "description": "Label for the fieldset.",
4810
+ "fieldName": "label"
4811
+ },
4812
+ {
4813
+ "name": "hint",
4814
+ "type": {
4815
+ "text": "string | undefined"
4816
+ },
4817
+ "description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
4818
+ "fieldName": "hint"
4819
+ },
4820
+ {
4821
+ "name": "error",
4822
+ "type": {
4823
+ "text": "string | undefined"
4824
+ },
4825
+ "description": "Optional error to be shown with the fieldset. Alternatively use the error slot.",
4826
+ "fieldName": "error"
4827
+ }
4828
+ ],
4638
4829
  "mixins": [
4639
4830
  {
4640
4831
  "name": "DraftComponentMixin",
@@ -4646,8 +4837,8 @@
4646
4837
  "package": "lit"
4647
4838
  },
4648
4839
  "status": "draft",
4649
- "category": "feedback",
4650
- "tagName": "nord-empty-state",
4840
+ "category": "form",
4841
+ "tagName": "nord-fieldset",
4651
4842
  "customElement": true
4652
4843
  }
4653
4844
  ],
@@ -4656,20 +4847,20 @@
4656
4847
  "kind": "js",
4657
4848
  "name": "default",
4658
4849
  "declaration": {
4659
- "name": "EmptyState",
4660
- "module": "src/empty-state/EmptyState.ts"
4850
+ "name": "Fieldset",
4851
+ "module": "src/fieldset/Fieldset.ts"
4661
4852
  }
4662
4853
  },
4663
4854
  {
4664
4855
  "kind": "custom-element-definition",
4665
- "name": "nord-empty-state",
4856
+ "name": "nord-fieldset",
4666
4857
  "declaration": {
4667
- "name": "EmptyState",
4668
- "module": "src/empty-state/EmptyState.ts"
4858
+ "name": "Fieldset",
4859
+ "module": "src/fieldset/Fieldset.ts"
4669
4860
  }
4670
4861
  }
4671
4862
  ],
4672
- "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"
4863
+ "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 the fieldset component when you need to create a relationship between multiple form inputs.\n- It is especially important to use with a group of radio components.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t place interactive content (buttons, links etc) inside the label.\n- Don’t use with a checkbox component when there is **only one** checkbox. For example, when accepting terms and conditions.\n\n</div>\n\n-------\n\n## Content guidelines\n\nFieldset label should be clear, accurate and predictable. It should help the user to understand how the items in the fieldset are grouped together, or what kind of choice the user is making:\n\n<div class=\"n-usage n-usage-do\">Pick a color</div>\n<div class=\"n-usage n-usage-dont\">Choose</div>\n\nWhen writing fieldset 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\">Pick a color</div>\n<div class=\"n-usage n-usage-dont\">Pick A Color</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\">Pick a color</div>\n<div class=\"n-usage n-usage-dont\">Pick a color.</div>\n\nDo not use colons in fieldset label:\n\n<div class=\"n-usage n-usage-do\">Payment details</div>\n<div class=\"n-usage n-usage-dont\">Payment details:</div>\n\n-------\n\n## Additional considerations\n\n- A label (which becomes to `<legend>` inside the fieldset) is always required.\n- Hint text can be used to offer further information or explanation for an option.\n"
4673
4864
  },
4674
4865
  {
4675
4866
  "kind": "javascript-module",
@@ -5263,6 +5454,14 @@
5263
5454
  "kind": "method",
5264
5455
  "name": "handleChange",
5265
5456
  "privacy": "protected",
5457
+ "parameters": [
5458
+ {
5459
+ "name": "e",
5460
+ "type": {
5461
+ "text": "Event"
5462
+ }
5463
+ }
5464
+ ],
5266
5465
  "inheritedFrom": {
5267
5466
  "name": "FormAssociatedMixin",
5268
5467
  "module": "src/common/mixins/FormAssociatedMixin.ts"
@@ -5650,7 +5849,7 @@
5650
5849
  "declarations": [
5651
5850
  {
5652
5851
  "kind": "class",
5653
- "description": "Layout component is used to create the main layout of an app. Layout\ncurrently comes with one main configurations: one-column. Please note\nthat responsive behaviour is still under work.",
5852
+ "description": "Layout component is used to create the main layout of an app. Layout\ncurrently comes with one main configuration: two-column.",
5654
5853
  "name": "Layout",
5655
5854
  "slots": [
5656
5855
  {
@@ -6282,11 +6481,6 @@
6282
6481
  "kind": "method",
6283
6482
  "name": "handleChange",
6284
6483
  "privacy": "protected",
6285
- "return": {
6286
- "type": {
6287
- "text": "void"
6288
- }
6289
- },
6290
6484
  "parameters": [
6291
6485
  {
6292
6486
  "name": "e",
@@ -6295,6 +6489,11 @@
6295
6489
  }
6296
6490
  }
6297
6491
  ],
6492
+ "return": {
6493
+ "type": {
6494
+ "text": "void"
6495
+ }
6496
+ },
6298
6497
  "inheritedFrom": {
6299
6498
  "name": "FormAssociatedMixin",
6300
6499
  "module": "src/common/mixins/FormAssociatedMixin.ts"
@@ -7083,6 +7282,14 @@
7083
7282
  "kind": "method",
7084
7283
  "name": "handleChange",
7085
7284
  "privacy": "protected",
7285
+ "parameters": [
7286
+ {
7287
+ "name": "e",
7288
+ "type": {
7289
+ "text": "Event"
7290
+ }
7291
+ }
7292
+ ],
7086
7293
  "inheritedFrom": {
7087
7294
  "name": "FormAssociatedMixin",
7088
7295
  "module": "src/common/mixins/FormAssociatedMixin.ts"
@@ -8043,6 +8250,14 @@
8043
8250
  "kind": "method",
8044
8251
  "name": "handleChange",
8045
8252
  "privacy": "protected",
8253
+ "parameters": [
8254
+ {
8255
+ "name": "e",
8256
+ "type": {
8257
+ "text": "Event"
8258
+ }
8259
+ }
8260
+ ],
8046
8261
  "inheritedFrom": {
8047
8262
  "name": "FormAssociatedMixin",
8048
8263
  "module": "src/common/mixins/FormAssociatedMixin.ts"
@@ -8666,55 +8881,231 @@
8666
8881
  ],
8667
8882
  "members": [
8668
8883
  {
8669
- "kind": "field",
8670
- "name": "_warningLogged",
8884
+ "kind": "field",
8885
+ "name": "_warningLogged",
8886
+ "type": {
8887
+ "text": "boolean"
8888
+ },
8889
+ "privacy": "private",
8890
+ "static": true,
8891
+ "default": "false",
8892
+ "inheritedFrom": {
8893
+ "name": "DraftComponentMixin",
8894
+ "module": "src/common/mixins/DraftComponentMixin.ts"
8895
+ }
8896
+ }
8897
+ ],
8898
+ "mixins": [
8899
+ {
8900
+ "name": "DraftComponentMixin",
8901
+ "module": "/src/common/mixins/DraftComponentMixin.js"
8902
+ }
8903
+ ],
8904
+ "superclass": {
8905
+ "name": "LitElement",
8906
+ "package": "lit"
8907
+ },
8908
+ "status": "draft",
8909
+ "category": "text",
8910
+ "tagName": "nord-visually-hidden",
8911
+ "customElement": true
8912
+ }
8913
+ ],
8914
+ "exports": [
8915
+ {
8916
+ "kind": "js",
8917
+ "name": "default",
8918
+ "declaration": {
8919
+ "name": "VisuallyHidden",
8920
+ "module": "src/visually-hidden/VisuallyHidden.ts"
8921
+ }
8922
+ },
8923
+ {
8924
+ "kind": "custom-element-definition",
8925
+ "name": "nord-visually-hidden",
8926
+ "declaration": {
8927
+ "name": "VisuallyHidden",
8928
+ "module": "src/visually-hidden/VisuallyHidden.ts"
8929
+ }
8930
+ }
8931
+ ],
8932
+ "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 hide text visually from the screen, but keep it available to assistive technologies, such as screen readers.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for hiding interactive content.\n\n</div>\n"
8933
+ },
8934
+ {
8935
+ "kind": "javascript-module",
8936
+ "path": "src/common/directives/cond.ts",
8937
+ "declarations": [
8938
+ {
8939
+ "kind": "variable",
8940
+ "name": "cond"
8941
+ }
8942
+ ],
8943
+ "exports": [
8944
+ {
8945
+ "kind": "js",
8946
+ "name": "cond",
8947
+ "declaration": {
8948
+ "name": "cond",
8949
+ "module": "src/common/directives/cond.ts"
8950
+ }
8951
+ }
8952
+ ]
8953
+ },
8954
+ {
8955
+ "kind": "javascript-module",
8956
+ "path": "src/common/directives/wrapIf.ts",
8957
+ "declarations": [
8958
+ {
8959
+ "kind": "function",
8960
+ "name": "wrapIf",
8961
+ "return": {
8962
+ "type": {
8963
+ "text": "TInner"
8964
+ }
8965
+ },
8966
+ "parameters": [
8967
+ {
8968
+ "name": "condition",
8969
+ "type": {
8970
+ "text": "false"
8971
+ }
8972
+ },
8973
+ {
8974
+ "name": "inner",
8975
+ "type": {
8976
+ "text": "() => TInner"
8977
+ }
8978
+ },
8979
+ {
8980
+ "name": "wrapper",
8981
+ "type": {
8982
+ "text": "(inner: TInner) => TWrapper"
8983
+ }
8984
+ }
8985
+ ]
8986
+ },
8987
+ {
8988
+ "kind": "function",
8989
+ "name": "wrapIf",
8990
+ "return": {
8991
+ "type": {
8992
+ "text": "TWrapper"
8993
+ }
8994
+ },
8995
+ "parameters": [
8996
+ {
8997
+ "name": "condition",
8998
+ "type": {
8999
+ "text": "true"
9000
+ }
9001
+ },
9002
+ {
9003
+ "name": "inner",
9004
+ "type": {
9005
+ "text": "() => TInner"
9006
+ }
9007
+ },
9008
+ {
9009
+ "name": "wrapper",
9010
+ "type": {
9011
+ "text": "(inner: TInner) => TWrapper"
9012
+ }
9013
+ }
9014
+ ]
9015
+ },
9016
+ {
9017
+ "kind": "function",
9018
+ "name": "wrapIf",
9019
+ "return": {
9020
+ "type": {
9021
+ "text": "TInner | TWrapper"
9022
+ }
9023
+ },
9024
+ "parameters": [
9025
+ {
9026
+ "name": "condition",
9027
+ "type": {
9028
+ "text": "unknown"
9029
+ }
9030
+ },
9031
+ {
9032
+ "name": "inner",
9033
+ "type": {
9034
+ "text": "() => TInner"
9035
+ }
9036
+ },
9037
+ {
9038
+ "name": "wrapper",
9039
+ "type": {
9040
+ "text": "(inner: TInner) => TWrapper"
9041
+ }
9042
+ }
9043
+ ]
9044
+ },
9045
+ {
9046
+ "kind": "function",
9047
+ "name": "wrapIf",
9048
+ "parameters": [
9049
+ {
9050
+ "name": "condition",
9051
+ "type": {
9052
+ "text": "any"
9053
+ }
9054
+ },
9055
+ {
9056
+ "name": "inner",
8671
9057
  "type": {
8672
- "text": "boolean"
8673
- },
8674
- "privacy": "private",
8675
- "static": true,
8676
- "default": "false",
8677
- "inheritedFrom": {
8678
- "name": "DraftComponentMixin",
8679
- "module": "src/common/mixins/DraftComponentMixin.ts"
9058
+ "text": "() => TInner"
8680
9059
  }
8681
- }
8682
- ],
8683
- "mixins": [
9060
+ },
8684
9061
  {
8685
- "name": "DraftComponentMixin",
8686
- "module": "/src/common/mixins/DraftComponentMixin.js"
9062
+ "name": "wrapper",
9063
+ "type": {
9064
+ "text": "(innards: TInner) => TWrapper"
9065
+ }
8687
9066
  }
8688
9067
  ],
8689
- "superclass": {
8690
- "name": "LitElement",
8691
- "package": "lit"
8692
- },
8693
- "status": "draft",
8694
- "category": "text",
8695
- "tagName": "nord-visually-hidden",
8696
- "customElement": true
9068
+ "return": {
9069
+ "type": {
9070
+ "text": ""
9071
+ }
9072
+ }
8697
9073
  }
8698
9074
  ],
8699
9075
  "exports": [
8700
9076
  {
8701
9077
  "kind": "js",
8702
- "name": "default",
9078
+ "name": "wrapIf",
8703
9079
  "declaration": {
8704
- "name": "VisuallyHidden",
8705
- "module": "src/visually-hidden/VisuallyHidden.ts"
9080
+ "name": "wrapIf",
9081
+ "module": "src/common/directives/wrapIf.ts"
8706
9082
  }
8707
9083
  },
8708
9084
  {
8709
- "kind": "custom-element-definition",
8710
- "name": "nord-visually-hidden",
9085
+ "kind": "js",
9086
+ "name": "wrapIf",
8711
9087
  "declaration": {
8712
- "name": "VisuallyHidden",
8713
- "module": "src/visually-hidden/VisuallyHidden.ts"
9088
+ "name": "wrapIf",
9089
+ "module": "src/common/directives/wrapIf.ts"
9090
+ }
9091
+ },
9092
+ {
9093
+ "kind": "js",
9094
+ "name": "wrapIf",
9095
+ "declaration": {
9096
+ "name": "wrapIf",
9097
+ "module": "src/common/directives/wrapIf.ts"
9098
+ }
9099
+ },
9100
+ {
9101
+ "kind": "js",
9102
+ "name": "wrapIf",
9103
+ "declaration": {
9104
+ "name": "wrapIf",
9105
+ "module": "src/common/directives/wrapIf.ts"
8714
9106
  }
8715
9107
  }
8716
- ],
8717
- "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 hide text visually from the screen, but keep it available to assistive technologies, such as screen readers.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for hiding interactive content.\n\n</div>\n"
9108
+ ]
8718
9109
  },
8719
9110
  {
8720
9111
  "kind": "javascript-module",
@@ -9430,182 +9821,6 @@
9430
9821
  }
9431
9822
  ]
9432
9823
  },
9433
- {
9434
- "kind": "javascript-module",
9435
- "path": "src/common/directives/cond.ts",
9436
- "declarations": [
9437
- {
9438
- "kind": "variable",
9439
- "name": "cond"
9440
- }
9441
- ],
9442
- "exports": [
9443
- {
9444
- "kind": "js",
9445
- "name": "cond",
9446
- "declaration": {
9447
- "name": "cond",
9448
- "module": "src/common/directives/cond.ts"
9449
- }
9450
- }
9451
- ]
9452
- },
9453
- {
9454
- "kind": "javascript-module",
9455
- "path": "src/common/directives/wrapIf.ts",
9456
- "declarations": [
9457
- {
9458
- "kind": "function",
9459
- "name": "wrapIf",
9460
- "return": {
9461
- "type": {
9462
- "text": "TInner"
9463
- }
9464
- },
9465
- "parameters": [
9466
- {
9467
- "name": "condition",
9468
- "type": {
9469
- "text": "false"
9470
- }
9471
- },
9472
- {
9473
- "name": "inner",
9474
- "type": {
9475
- "text": "() => TInner"
9476
- }
9477
- },
9478
- {
9479
- "name": "wrapper",
9480
- "type": {
9481
- "text": "(inner: TInner) => TWrapper"
9482
- }
9483
- }
9484
- ]
9485
- },
9486
- {
9487
- "kind": "function",
9488
- "name": "wrapIf",
9489
- "return": {
9490
- "type": {
9491
- "text": "TWrapper"
9492
- }
9493
- },
9494
- "parameters": [
9495
- {
9496
- "name": "condition",
9497
- "type": {
9498
- "text": "true"
9499
- }
9500
- },
9501
- {
9502
- "name": "inner",
9503
- "type": {
9504
- "text": "() => TInner"
9505
- }
9506
- },
9507
- {
9508
- "name": "wrapper",
9509
- "type": {
9510
- "text": "(inner: TInner) => TWrapper"
9511
- }
9512
- }
9513
- ]
9514
- },
9515
- {
9516
- "kind": "function",
9517
- "name": "wrapIf",
9518
- "return": {
9519
- "type": {
9520
- "text": "TInner | TWrapper"
9521
- }
9522
- },
9523
- "parameters": [
9524
- {
9525
- "name": "condition",
9526
- "type": {
9527
- "text": "unknown"
9528
- }
9529
- },
9530
- {
9531
- "name": "inner",
9532
- "type": {
9533
- "text": "() => TInner"
9534
- }
9535
- },
9536
- {
9537
- "name": "wrapper",
9538
- "type": {
9539
- "text": "(inner: TInner) => TWrapper"
9540
- }
9541
- }
9542
- ]
9543
- },
9544
- {
9545
- "kind": "function",
9546
- "name": "wrapIf",
9547
- "parameters": [
9548
- {
9549
- "name": "condition",
9550
- "type": {
9551
- "text": "any"
9552
- }
9553
- },
9554
- {
9555
- "name": "inner",
9556
- "type": {
9557
- "text": "() => TInner"
9558
- }
9559
- },
9560
- {
9561
- "name": "wrapper",
9562
- "type": {
9563
- "text": "(innards: TInner) => TWrapper"
9564
- }
9565
- }
9566
- ],
9567
- "return": {
9568
- "type": {
9569
- "text": ""
9570
- }
9571
- }
9572
- }
9573
- ],
9574
- "exports": [
9575
- {
9576
- "kind": "js",
9577
- "name": "wrapIf",
9578
- "declaration": {
9579
- "name": "wrapIf",
9580
- "module": "src/common/directives/wrapIf.ts"
9581
- }
9582
- },
9583
- {
9584
- "kind": "js",
9585
- "name": "wrapIf",
9586
- "declaration": {
9587
- "name": "wrapIf",
9588
- "module": "src/common/directives/wrapIf.ts"
9589
- }
9590
- },
9591
- {
9592
- "kind": "js",
9593
- "name": "wrapIf",
9594
- "declaration": {
9595
- "name": "wrapIf",
9596
- "module": "src/common/directives/wrapIf.ts"
9597
- }
9598
- },
9599
- {
9600
- "kind": "js",
9601
- "name": "wrapIf",
9602
- "declaration": {
9603
- "name": "wrapIf",
9604
- "module": "src/common/directives/wrapIf.ts"
9605
- }
9606
- }
9607
- ]
9608
- },
9609
9824
  {
9610
9825
  "kind": "javascript-module",
9611
9826
  "path": "src/common/mixins/DraftComponentMixin.ts",
@@ -10128,7 +10343,15 @@
10128
10343
  {
10129
10344
  "kind": "method",
10130
10345
  "name": "handleChange",
10131
- "privacy": "protected"
10346
+ "privacy": "protected",
10347
+ "parameters": [
10348
+ {
10349
+ "name": "e",
10350
+ "type": {
10351
+ "text": "Event"
10352
+ }
10353
+ }
10354
+ ]
10132
10355
  },
10133
10356
  {
10134
10357
  "kind": "method",