@nordhealth/components 1.0.0 → 1.1.2
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 +29 -1
- package/custom-elements.json +795 -588
- package/lib/Avatar.js +1 -1
- package/lib/Avatar.js.map +1 -1
- package/lib/Badge.js +1 -1
- package/lib/Badge.js.map +1 -1
- package/lib/Banner.js +1 -1
- package/lib/Banner.js.map +1 -1
- package/lib/Button.js +1 -1
- package/lib/Button.js.map +1 -1
- package/lib/Calendar-73a2fcfd.js +2 -0
- package/lib/Calendar-73a2fcfd.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 → Component-fa316972.js} +2 -2
- package/lib/Component-fa316972.js.map +1 -0
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/DateSelectEvent.js.map +1 -1
- package/lib/DirectionController-8b298382.js +2 -0
- package/lib/DirectionController-8b298382.js.map +1 -0
- package/lib/DraftComponentMixin-9e4b7b34.js.map +1 -1
- package/lib/Dropdown.js +1 -1
- package/lib/Dropdown.js.map +1 -1
- package/lib/DropdownGroup.js +1 -1
- package/lib/DropdownGroup.js.map +1 -1
- package/lib/DropdownItem.js +1 -1
- package/lib/DropdownItem.js.map +1 -1
- package/lib/EmptyState.js +1 -1
- package/lib/EmptyState.js.map +1 -1
- package/lib/EventController-d99ebeef.js.map +1 -1
- package/lib/Fieldset.js +1 -1
- package/lib/Fieldset.js.map +1 -1
- package/lib/FocusableMixin-4c85ced9.js +2 -0
- package/lib/{FocusableMixin-ebb67709.js.map → FocusableMixin-4c85ced9.js.map} +1 -1
- package/lib/FormAssociatedMixin-9d38814c.js +2 -0
- package/lib/FormAssociatedMixin-9d38814c.js.map +1 -0
- package/lib/{FormField-50bd73d5.js → FormField-44e865a4.js} +2 -2
- package/lib/FormField-44e865a4.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 → InputMixin-84ca72ae.js} +2 -2
- package/lib/InputMixin-84ca72ae.js.map +1 -0
- package/lib/KeyboardController.js +1 -1
- package/lib/KeyboardController.js.map +1 -1
- package/lib/Layout.js +1 -1
- package/lib/Layout.js.map +1 -1
- package/lib/LightDismissController-a2645ae6.js +2 -0
- package/lib/LightDismissController-a2645ae6.js.map +1 -0
- package/lib/LightDomController-e0762f0d.js +2 -0
- package/lib/LightDomController-e0762f0d.js.map +1 -0
- package/lib/LocalizeController.js +1 -1
- package/lib/LocalizeController.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/Popout.js +1 -1
- package/lib/Popout.js.map +1 -1
- package/lib/ProgressBar.js +1 -1
- package/lib/ProgressBar.js.map +1 -1
- 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/SelectEvent.js.map +1 -1
- package/lib/ShortcutController-87615e31.js +2 -0
- package/lib/ShortcutController-87615e31.js.map +1 -0
- package/lib/SlotController-ea6eff46.js +2 -0
- package/lib/SlotController-ea6eff46.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-f8848f28.js +2 -0
- package/lib/TextField-f8848f28.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 +17 -26
- package/lib/bundle.js.map +1 -1
- package/lib/{class-map-87423405.js → class-map-9e39244c.js} +2 -2
- package/lib/{class-map-87423405.js.map → class-map-9e39244c.js.map} +1 -1
- package/lib/collection-800f5002.js.map +1 -1
- package/lib/cond-ed8742b5.js +2 -0
- package/lib/cond-ed8742b5.js.map +1 -0
- package/lib/date-adapter.js +1 -1
- package/lib/date-adapter.js.map +1 -1
- package/lib/dates-56f73760.js +2 -0
- package/lib/dates-56f73760.js.map +1 -0
- package/lib/directive-de55b00a.js.map +1 -1
- package/lib/en-us.js.map +1 -1
- package/lib/events-731d0007.js.map +1 -1
- package/lib/fi-fi.js.map +1 -1
- package/lib/fsm-50373df9.js.map +1 -1
- package/lib/if-defined-4d1db15c.js +7 -0
- package/lib/{if-defined-fe657a02.js.map → if-defined-4d1db15c.js.map} +1 -1
- package/lib/index.js +1 -1
- package/lib/{lit-element-74b6bb4b.js → lit-element-e382250e.js} +3 -3
- package/lib/{lit-element-74b6bb4b.js.map → lit-element-e382250e.js.map} +1 -1
- package/lib/localization.js.map +1 -1
- package/lib/localization2.js.map +1 -1
- package/lib/localization3.js.map +1 -1
- package/lib/month-view.js +1 -1
- package/lib/month-view.js.map +1 -1
- package/lib/number-1c122a1e.js +7 -0
- package/lib/{number-3a8ef88a.js.map → number-1c122a1e.js.map} +1 -1
- package/lib/observe-a9c6dfb6.js +2 -0
- package/lib/observe-a9c6dfb6.js.map +1 -0
- package/lib/positioning-763efb3a.js +2 -0
- package/lib/positioning-763efb3a.js.map +1 -0
- package/lib/query-assigned-elements-ef860822.js +12 -0
- package/lib/query-assigned-elements-ef860822.js.map +1 -0
- package/lib/{ref-7d028e3a.js → ref-adf41565.js} +3 -3
- package/lib/ref-adf41565.js.map +1 -0
- package/lib/src/avatar/Avatar.d.ts +2 -2
- package/lib/src/calendar/Calendar.d.ts +3 -3
- package/lib/src/command-menu/CommandMenu.d.ts +4 -3
- package/lib/src/command-menu/CommandMenuAction.d.ts +3 -4
- package/lib/src/command-menu/SelectEvent.d.ts +1 -1
- package/lib/src/common/decorators/observe.d.ts +3 -0
- package/lib/src/common/directives/cond.d.ts +29 -7
- package/lib/src/common/fsm.d.ts +5 -3
- package/lib/src/common/mixins/InputMixin.d.ts +1 -1
- package/lib/src/fieldset/Fieldset.test.d.ts +2 -0
- package/lib/src/icon/Icon.d.ts +3 -4
- package/lib/src/nav-group/NavGroup.d.ts +2 -4
- package/lib/src/nav-item/NavItem.d.ts +1 -1
- package/lib/src/popout/Popout.d.ts +6 -5
- package/lib/src/radio/Radio.d.ts +1 -1
- package/lib/src/textarea/Textarea.d.ts +2 -3
- package/lib/src/tooltip/Tooltip.d.ts +3 -6
- package/lib/translation.js.map +1 -1
- package/lib/unsafe-html-76575c49.js +7 -0
- package/lib/{unsafe-html-989a642b.js.map → unsafe-html-76575c49.js.map} +1 -1
- package/package.json +15 -15
- package/lib/Calendar-d1632bb6.js +0 -2
- package/lib/Calendar-d1632bb6.js.map +0 -1
- package/lib/Component-9d373ef3.js.map +0 -1
- package/lib/DirectionController-b267af23.js +0 -2
- package/lib/DirectionController-b267af23.js.map +0 -1
- package/lib/FocusableMixin-ebb67709.js +0 -2
- package/lib/FormAssociatedMixin-1f97ed66.js +0 -2
- package/lib/FormAssociatedMixin-1f97ed66.js.map +0 -1
- package/lib/FormField-50bd73d5.js.map +0 -1
- package/lib/InputMixin-94d15730.js.map +0 -1
- package/lib/LightDismissController-a35d0f66.js +0 -2
- package/lib/LightDismissController-a35d0f66.js.map +0 -1
- package/lib/LightDomController-011334da.js +0 -2
- package/lib/LightDomController-011334da.js.map +0 -1
- package/lib/ShortcutController-93173ff4.js +0 -2
- package/lib/ShortcutController-93173ff4.js.map +0 -1
- package/lib/SlotController-683d0e7c.js +0 -2
- package/lib/SlotController-683d0e7c.js.map +0 -1
- package/lib/TextField-9bee8388.js +0 -2
- package/lib/TextField-9bee8388.js.map +0 -1
- package/lib/dates-9272b910.js +0 -2
- package/lib/dates-9272b910.js.map +0 -1
- package/lib/if-defined-fe657a02.js +0 -7
- package/lib/number-3a8ef88a.js +0 -7
- package/lib/positioning-72899e14.js +0 -2
- package/lib/positioning-72899e14.js.map +0 -1
- package/lib/query-assigned-elements-37b095c4.js +0 -26
- package/lib/query-assigned-elements-37b095c4.js.map +0 -1
- package/lib/ref-7d028e3a.js.map +0 -1
- package/lib/unsafe-html-989a642b.js +0 -7
package/custom-elements.json
CHANGED
|
@@ -338,6 +338,11 @@
|
|
|
338
338
|
"description": "The name of the person.",
|
|
339
339
|
"attribute": "name"
|
|
340
340
|
},
|
|
341
|
+
{
|
|
342
|
+
"kind": "method",
|
|
343
|
+
"name": "handleSrcChange",
|
|
344
|
+
"privacy": "protected"
|
|
345
|
+
},
|
|
341
346
|
{
|
|
342
347
|
"kind": "method",
|
|
343
348
|
"name": "renderImage",
|
|
@@ -417,74 +422,6 @@
|
|
|
417
422
|
],
|
|
418
423
|
"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"
|
|
419
424
|
},
|
|
420
|
-
{
|
|
421
|
-
"kind": "javascript-module",
|
|
422
|
-
"path": "src/badge/Badge.ts",
|
|
423
|
-
"declarations": [
|
|
424
|
-
{
|
|
425
|
-
"kind": "class",
|
|
426
|
-
"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.",
|
|
427
|
-
"name": "Badge",
|
|
428
|
-
"slots": [
|
|
429
|
-
{
|
|
430
|
-
"description": "The badge content.",
|
|
431
|
-
"name": ""
|
|
432
|
-
}
|
|
433
|
-
],
|
|
434
|
-
"members": [
|
|
435
|
-
{
|
|
436
|
-
"kind": "field",
|
|
437
|
-
"name": "type",
|
|
438
|
-
"type": {
|
|
439
|
-
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
440
|
-
},
|
|
441
|
-
"default": "\"info\"",
|
|
442
|
-
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
443
|
-
"attribute": "type",
|
|
444
|
-
"reflects": true
|
|
445
|
-
}
|
|
446
|
-
],
|
|
447
|
-
"attributes": [
|
|
448
|
-
{
|
|
449
|
-
"name": "type",
|
|
450
|
-
"type": {
|
|
451
|
-
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
452
|
-
},
|
|
453
|
-
"default": "\"info\"",
|
|
454
|
-
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
455
|
-
"fieldName": "type"
|
|
456
|
-
}
|
|
457
|
-
],
|
|
458
|
-
"superclass": {
|
|
459
|
-
"name": "LitElement",
|
|
460
|
-
"package": "lit"
|
|
461
|
-
},
|
|
462
|
-
"status": "ready",
|
|
463
|
-
"category": "text",
|
|
464
|
-
"tagName": "nord-badge",
|
|
465
|
-
"customElement": true
|
|
466
|
-
}
|
|
467
|
-
],
|
|
468
|
-
"exports": [
|
|
469
|
-
{
|
|
470
|
-
"kind": "js",
|
|
471
|
-
"name": "default",
|
|
472
|
-
"declaration": {
|
|
473
|
-
"name": "Badge",
|
|
474
|
-
"module": "src/badge/Badge.ts"
|
|
475
|
-
}
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"kind": "custom-element-definition",
|
|
479
|
-
"name": "nord-badge",
|
|
480
|
-
"declaration": {
|
|
481
|
-
"name": "Badge",
|
|
482
|
-
"module": "src/badge/Badge.ts"
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
],
|
|
486
|
-
"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"
|
|
487
|
-
},
|
|
488
425
|
{
|
|
489
426
|
"kind": "javascript-module",
|
|
490
427
|
"path": "src/button/Button.ts",
|
|
@@ -923,6 +860,162 @@
|
|
|
923
860
|
],
|
|
924
861
|
"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"
|
|
925
862
|
},
|
|
863
|
+
{
|
|
864
|
+
"kind": "javascript-module",
|
|
865
|
+
"path": "src/badge/Badge.ts",
|
|
866
|
+
"declarations": [
|
|
867
|
+
{
|
|
868
|
+
"kind": "class",
|
|
869
|
+
"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.",
|
|
870
|
+
"name": "Badge",
|
|
871
|
+
"slots": [
|
|
872
|
+
{
|
|
873
|
+
"description": "The badge content.",
|
|
874
|
+
"name": ""
|
|
875
|
+
}
|
|
876
|
+
],
|
|
877
|
+
"members": [
|
|
878
|
+
{
|
|
879
|
+
"kind": "field",
|
|
880
|
+
"name": "type",
|
|
881
|
+
"type": {
|
|
882
|
+
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
883
|
+
},
|
|
884
|
+
"default": "\"info\"",
|
|
885
|
+
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
886
|
+
"attribute": "type",
|
|
887
|
+
"reflects": true
|
|
888
|
+
}
|
|
889
|
+
],
|
|
890
|
+
"attributes": [
|
|
891
|
+
{
|
|
892
|
+
"name": "type",
|
|
893
|
+
"type": {
|
|
894
|
+
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
895
|
+
},
|
|
896
|
+
"default": "\"info\"",
|
|
897
|
+
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
898
|
+
"fieldName": "type"
|
|
899
|
+
}
|
|
900
|
+
],
|
|
901
|
+
"superclass": {
|
|
902
|
+
"name": "LitElement",
|
|
903
|
+
"package": "lit"
|
|
904
|
+
},
|
|
905
|
+
"status": "ready",
|
|
906
|
+
"category": "text",
|
|
907
|
+
"tagName": "nord-badge",
|
|
908
|
+
"customElement": true
|
|
909
|
+
}
|
|
910
|
+
],
|
|
911
|
+
"exports": [
|
|
912
|
+
{
|
|
913
|
+
"kind": "js",
|
|
914
|
+
"name": "default",
|
|
915
|
+
"declaration": {
|
|
916
|
+
"name": "Badge",
|
|
917
|
+
"module": "src/badge/Badge.ts"
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"kind": "custom-element-definition",
|
|
922
|
+
"name": "nord-badge",
|
|
923
|
+
"declaration": {
|
|
924
|
+
"name": "Badge",
|
|
925
|
+
"module": "src/badge/Badge.ts"
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
],
|
|
929
|
+
"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"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"kind": "javascript-module",
|
|
933
|
+
"path": "src/card/Card.ts",
|
|
934
|
+
"declarations": [
|
|
935
|
+
{
|
|
936
|
+
"kind": "class",
|
|
937
|
+
"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.",
|
|
938
|
+
"name": "Card",
|
|
939
|
+
"slots": [
|
|
940
|
+
{
|
|
941
|
+
"description": "The card content.",
|
|
942
|
+
"name": ""
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"description": "Optional slot that holds a header for the card.",
|
|
946
|
+
"name": "header"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"description": "Optional slot that holds footer content for the card.",
|
|
950
|
+
"name": "footer"
|
|
951
|
+
}
|
|
952
|
+
],
|
|
953
|
+
"members": [
|
|
954
|
+
{
|
|
955
|
+
"kind": "field",
|
|
956
|
+
"name": "headerSlot",
|
|
957
|
+
"privacy": "private",
|
|
958
|
+
"default": "new SlotController(this, \"header\")"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"kind": "field",
|
|
962
|
+
"name": "footerSlot",
|
|
963
|
+
"privacy": "private",
|
|
964
|
+
"default": "new SlotController(this, \"footer\")"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"kind": "field",
|
|
968
|
+
"name": "padding",
|
|
969
|
+
"type": {
|
|
970
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
971
|
+
},
|
|
972
|
+
"default": "\"m\"",
|
|
973
|
+
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
974
|
+
"attribute": "padding",
|
|
975
|
+
"reflects": true
|
|
976
|
+
}
|
|
977
|
+
],
|
|
978
|
+
"attributes": [
|
|
979
|
+
{
|
|
980
|
+
"name": "padding",
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
983
|
+
},
|
|
984
|
+
"default": "\"m\"",
|
|
985
|
+
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
986
|
+
"fieldName": "padding"
|
|
987
|
+
}
|
|
988
|
+
],
|
|
989
|
+
"superclass": {
|
|
990
|
+
"name": "LitElement",
|
|
991
|
+
"package": "lit"
|
|
992
|
+
},
|
|
993
|
+
"status": "ready",
|
|
994
|
+
"category": "structure",
|
|
995
|
+
"tagName": "nord-card",
|
|
996
|
+
"customElement": true
|
|
997
|
+
}
|
|
998
|
+
],
|
|
999
|
+
"exports": [
|
|
1000
|
+
{
|
|
1001
|
+
"kind": "js",
|
|
1002
|
+
"name": "default",
|
|
1003
|
+
"declaration": {
|
|
1004
|
+
"name": "Card",
|
|
1005
|
+
"module": "src/card/Card.ts"
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"kind": "custom-element-definition",
|
|
1010
|
+
"name": "nord-card",
|
|
1011
|
+
"declaration": {
|
|
1012
|
+
"name": "Card",
|
|
1013
|
+
"module": "src/card/Card.ts"
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
],
|
|
1017
|
+
"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"
|
|
1018
|
+
},
|
|
926
1019
|
{
|
|
927
1020
|
"kind": "javascript-module",
|
|
928
1021
|
"path": "src/calendar/Calendar.ts",
|
|
@@ -1110,6 +1203,16 @@
|
|
|
1110
1203
|
],
|
|
1111
1204
|
"description": "Programmatically move focus to the calendar."
|
|
1112
1205
|
},
|
|
1206
|
+
{
|
|
1207
|
+
"kind": "method",
|
|
1208
|
+
"name": "handleValueChange",
|
|
1209
|
+
"privacy": "protected"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"kind": "method",
|
|
1213
|
+
"name": "handleFocusedDayChange",
|
|
1214
|
+
"privacy": "protected"
|
|
1215
|
+
},
|
|
1113
1216
|
{
|
|
1114
1217
|
"kind": "method",
|
|
1115
1218
|
"name": "handleLangChange",
|
|
@@ -1339,16 +1442,6 @@
|
|
|
1339
1442
|
"kind": "class",
|
|
1340
1443
|
"description": "",
|
|
1341
1444
|
"name": "DateSelectEvent",
|
|
1342
|
-
"members": [
|
|
1343
|
-
{
|
|
1344
|
-
"kind": "field",
|
|
1345
|
-
"name": "date",
|
|
1346
|
-
"type": {
|
|
1347
|
-
"text": "Date"
|
|
1348
|
-
},
|
|
1349
|
-
"default": "date"
|
|
1350
|
-
}
|
|
1351
|
-
],
|
|
1352
1445
|
"superclass": {
|
|
1353
1446
|
"name": "NordEvent",
|
|
1354
1447
|
"module": "/src/common/events.js"
|
|
@@ -1443,168 +1536,12 @@
|
|
|
1443
1536
|
},
|
|
1444
1537
|
{
|
|
1445
1538
|
"kind": "javascript-module",
|
|
1446
|
-
"path": "src/
|
|
1539
|
+
"path": "src/checkbox/Checkbox.ts",
|
|
1447
1540
|
"declarations": [
|
|
1448
1541
|
{
|
|
1449
1542
|
"kind": "class",
|
|
1450
|
-
"description": "
|
|
1451
|
-
"name": "
|
|
1452
|
-
"slots": [
|
|
1453
|
-
{
|
|
1454
|
-
"description": "default slot",
|
|
1455
|
-
"name": ""
|
|
1456
|
-
}
|
|
1457
|
-
],
|
|
1458
|
-
"members": [
|
|
1459
|
-
{
|
|
1460
|
-
"kind": "field",
|
|
1461
|
-
"name": "variant",
|
|
1462
|
-
"type": {
|
|
1463
|
-
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
1464
|
-
},
|
|
1465
|
-
"default": "\"info\"",
|
|
1466
|
-
"description": "The style variant of the banner.",
|
|
1467
|
-
"attribute": "variant",
|
|
1468
|
-
"reflects": true
|
|
1469
|
-
}
|
|
1470
|
-
],
|
|
1471
|
-
"attributes": [
|
|
1472
|
-
{
|
|
1473
|
-
"name": "variant",
|
|
1474
|
-
"type": {
|
|
1475
|
-
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
1476
|
-
},
|
|
1477
|
-
"default": "\"info\"",
|
|
1478
|
-
"description": "The style variant of the banner.",
|
|
1479
|
-
"fieldName": "variant"
|
|
1480
|
-
}
|
|
1481
|
-
],
|
|
1482
|
-
"superclass": {
|
|
1483
|
-
"name": "LitElement",
|
|
1484
|
-
"package": "lit"
|
|
1485
|
-
},
|
|
1486
|
-
"status": "new",
|
|
1487
|
-
"category": "feedback",
|
|
1488
|
-
"tagName": "nord-banner",
|
|
1489
|
-
"customElement": true
|
|
1490
|
-
}
|
|
1491
|
-
],
|
|
1492
|
-
"exports": [
|
|
1493
|
-
{
|
|
1494
|
-
"kind": "js",
|
|
1495
|
-
"name": "default",
|
|
1496
|
-
"declaration": {
|
|
1497
|
-
"name": "Banner",
|
|
1498
|
-
"module": "src/banner/Banner.ts"
|
|
1499
|
-
}
|
|
1500
|
-
},
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "custom-element-definition",
|
|
1503
|
-
"name": "nord-banner",
|
|
1504
|
-
"declaration": {
|
|
1505
|
-
"name": "Banner",
|
|
1506
|
-
"module": "src/banner/Banner.ts"
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
],
|
|
1510
|
-
"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"
|
|
1511
|
-
},
|
|
1512
|
-
{
|
|
1513
|
-
"kind": "javascript-module",
|
|
1514
|
-
"path": "src/card/Card.ts",
|
|
1515
|
-
"declarations": [
|
|
1516
|
-
{
|
|
1517
|
-
"kind": "class",
|
|
1518
|
-
"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.",
|
|
1519
|
-
"name": "Card",
|
|
1520
|
-
"slots": [
|
|
1521
|
-
{
|
|
1522
|
-
"description": "The card content.",
|
|
1523
|
-
"name": ""
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
"description": "Optional slot that holds a header for the card.",
|
|
1527
|
-
"name": "header"
|
|
1528
|
-
},
|
|
1529
|
-
{
|
|
1530
|
-
"description": "Optional slot that holds footer content for the card.",
|
|
1531
|
-
"name": "footer"
|
|
1532
|
-
}
|
|
1533
|
-
],
|
|
1534
|
-
"members": [
|
|
1535
|
-
{
|
|
1536
|
-
"kind": "field",
|
|
1537
|
-
"name": "headerSlot",
|
|
1538
|
-
"privacy": "private",
|
|
1539
|
-
"default": "new SlotController(this, \"header\")"
|
|
1540
|
-
},
|
|
1541
|
-
{
|
|
1542
|
-
"kind": "field",
|
|
1543
|
-
"name": "footerSlot",
|
|
1544
|
-
"privacy": "private",
|
|
1545
|
-
"default": "new SlotController(this, \"footer\")"
|
|
1546
|
-
},
|
|
1547
|
-
{
|
|
1548
|
-
"kind": "field",
|
|
1549
|
-
"name": "padding",
|
|
1550
|
-
"type": {
|
|
1551
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
1552
|
-
},
|
|
1553
|
-
"default": "\"m\"",
|
|
1554
|
-
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1555
|
-
"attribute": "padding",
|
|
1556
|
-
"reflects": true
|
|
1557
|
-
}
|
|
1558
|
-
],
|
|
1559
|
-
"attributes": [
|
|
1560
|
-
{
|
|
1561
|
-
"name": "padding",
|
|
1562
|
-
"type": {
|
|
1563
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
1564
|
-
},
|
|
1565
|
-
"default": "\"m\"",
|
|
1566
|
-
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1567
|
-
"fieldName": "padding"
|
|
1568
|
-
}
|
|
1569
|
-
],
|
|
1570
|
-
"superclass": {
|
|
1571
|
-
"name": "LitElement",
|
|
1572
|
-
"package": "lit"
|
|
1573
|
-
},
|
|
1574
|
-
"status": "ready",
|
|
1575
|
-
"category": "structure",
|
|
1576
|
-
"tagName": "nord-card",
|
|
1577
|
-
"customElement": true
|
|
1578
|
-
}
|
|
1579
|
-
],
|
|
1580
|
-
"exports": [
|
|
1581
|
-
{
|
|
1582
|
-
"kind": "js",
|
|
1583
|
-
"name": "default",
|
|
1584
|
-
"declaration": {
|
|
1585
|
-
"name": "Card",
|
|
1586
|
-
"module": "src/card/Card.ts"
|
|
1587
|
-
}
|
|
1588
|
-
},
|
|
1589
|
-
{
|
|
1590
|
-
"kind": "custom-element-definition",
|
|
1591
|
-
"name": "nord-card",
|
|
1592
|
-
"declaration": {
|
|
1593
|
-
"name": "Card",
|
|
1594
|
-
"module": "src/card/Card.ts"
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
],
|
|
1598
|
-
"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"
|
|
1599
|
-
},
|
|
1600
|
-
{
|
|
1601
|
-
"kind": "javascript-module",
|
|
1602
|
-
"path": "src/checkbox/Checkbox.ts",
|
|
1603
|
-
"declarations": [
|
|
1604
|
-
{
|
|
1605
|
-
"kind": "class",
|
|
1606
|
-
"description": "Checkboxes allow user to choose one or more options from a limited set of options.\nIf you have more than 10 options, please use Select component instead.",
|
|
1607
|
-
"name": "Checkbox",
|
|
1543
|
+
"description": "Checkboxes allow user to choose one or more options from a limited set of options.\nIf you have more than 10 options, please use Select component instead.",
|
|
1544
|
+
"name": "Checkbox",
|
|
1608
1545
|
"slots": [
|
|
1609
1546
|
{
|
|
1610
1547
|
"description": "Use when a label requires more than plain text.",
|
|
@@ -2211,6 +2148,74 @@
|
|
|
2211
2148
|
],
|
|
2212
2149
|
"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"
|
|
2213
2150
|
},
|
|
2151
|
+
{
|
|
2152
|
+
"kind": "javascript-module",
|
|
2153
|
+
"path": "src/banner/Banner.ts",
|
|
2154
|
+
"declarations": [
|
|
2155
|
+
{
|
|
2156
|
+
"kind": "class",
|
|
2157
|
+
"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.",
|
|
2158
|
+
"name": "Banner",
|
|
2159
|
+
"slots": [
|
|
2160
|
+
{
|
|
2161
|
+
"description": "default slot",
|
|
2162
|
+
"name": ""
|
|
2163
|
+
}
|
|
2164
|
+
],
|
|
2165
|
+
"members": [
|
|
2166
|
+
{
|
|
2167
|
+
"kind": "field",
|
|
2168
|
+
"name": "variant",
|
|
2169
|
+
"type": {
|
|
2170
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
2171
|
+
},
|
|
2172
|
+
"default": "\"info\"",
|
|
2173
|
+
"description": "The style variant of the banner.",
|
|
2174
|
+
"attribute": "variant",
|
|
2175
|
+
"reflects": true
|
|
2176
|
+
}
|
|
2177
|
+
],
|
|
2178
|
+
"attributes": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "variant",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
2183
|
+
},
|
|
2184
|
+
"default": "\"info\"",
|
|
2185
|
+
"description": "The style variant of the banner.",
|
|
2186
|
+
"fieldName": "variant"
|
|
2187
|
+
}
|
|
2188
|
+
],
|
|
2189
|
+
"superclass": {
|
|
2190
|
+
"name": "LitElement",
|
|
2191
|
+
"package": "lit"
|
|
2192
|
+
},
|
|
2193
|
+
"status": "new",
|
|
2194
|
+
"category": "feedback",
|
|
2195
|
+
"tagName": "nord-banner",
|
|
2196
|
+
"customElement": true
|
|
2197
|
+
}
|
|
2198
|
+
],
|
|
2199
|
+
"exports": [
|
|
2200
|
+
{
|
|
2201
|
+
"kind": "js",
|
|
2202
|
+
"name": "default",
|
|
2203
|
+
"declaration": {
|
|
2204
|
+
"name": "Banner",
|
|
2205
|
+
"module": "src/banner/Banner.ts"
|
|
2206
|
+
}
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"kind": "custom-element-definition",
|
|
2210
|
+
"name": "nord-banner",
|
|
2211
|
+
"declaration": {
|
|
2212
|
+
"name": "Banner",
|
|
2213
|
+
"module": "src/banner/Banner.ts"
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
],
|
|
2217
|
+
"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"
|
|
2218
|
+
},
|
|
2214
2219
|
{
|
|
2215
2220
|
"kind": "javascript-module",
|
|
2216
2221
|
"path": "src/command-menu/CommandMenu.ts",
|
|
@@ -2397,6 +2402,21 @@
|
|
|
2397
2402
|
}
|
|
2398
2403
|
]
|
|
2399
2404
|
},
|
|
2405
|
+
{
|
|
2406
|
+
"kind": "method",
|
|
2407
|
+
"name": "handleCommandsChange",
|
|
2408
|
+
"privacy": "protected"
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"kind": "method",
|
|
2412
|
+
"name": "handleBump",
|
|
2413
|
+
"privacy": "protected"
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "method",
|
|
2417
|
+
"name": "focusOnOpen",
|
|
2418
|
+
"privacy": "protected"
|
|
2419
|
+
},
|
|
2400
2420
|
{
|
|
2401
2421
|
"kind": "method",
|
|
2402
2422
|
"name": "handleAnimationEnd",
|
|
@@ -2600,7 +2620,7 @@
|
|
|
2600
2620
|
{
|
|
2601
2621
|
"kind": "method",
|
|
2602
2622
|
"name": "ensureInView",
|
|
2603
|
-
"privacy": "
|
|
2623
|
+
"privacy": "protected",
|
|
2604
2624
|
"description": "Scroll to show element"
|
|
2605
2625
|
},
|
|
2606
2626
|
{
|
|
@@ -2677,15 +2697,6 @@
|
|
|
2677
2697
|
"description": "",
|
|
2678
2698
|
"name": "KeyboardController",
|
|
2679
2699
|
"members": [
|
|
2680
|
-
{
|
|
2681
|
-
"kind": "field",
|
|
2682
|
-
"name": "host",
|
|
2683
|
-
"type": {
|
|
2684
|
-
"text": "CommandMenu"
|
|
2685
|
-
},
|
|
2686
|
-
"privacy": "private",
|
|
2687
|
-
"default": "host"
|
|
2688
|
-
},
|
|
2689
2700
|
{
|
|
2690
2701
|
"kind": "field",
|
|
2691
2702
|
"name": "globalShortcuts",
|
|
@@ -2749,14 +2760,6 @@
|
|
|
2749
2760
|
},
|
|
2750
2761
|
"static": true,
|
|
2751
2762
|
"default": "\"nord-select\""
|
|
2752
|
-
},
|
|
2753
|
-
{
|
|
2754
|
-
"kind": "field",
|
|
2755
|
-
"name": "command",
|
|
2756
|
-
"type": {
|
|
2757
|
-
"text": "ICommandMenuAction"
|
|
2758
|
-
},
|
|
2759
|
-
"default": "command"
|
|
2760
2763
|
}
|
|
2761
2764
|
],
|
|
2762
2765
|
"superclass": {
|
|
@@ -5573,13 +5576,8 @@
|
|
|
5573
5576
|
},
|
|
5574
5577
|
{
|
|
5575
5578
|
"kind": "method",
|
|
5576
|
-
"name": "
|
|
5577
|
-
"privacy": "
|
|
5578
|
-
"return": {
|
|
5579
|
-
"type": {
|
|
5580
|
-
"text": "string | Promise<string>"
|
|
5581
|
-
}
|
|
5582
|
-
}
|
|
5579
|
+
"name": "handleNameChange",
|
|
5580
|
+
"privacy": "protected"
|
|
5583
5581
|
}
|
|
5584
5582
|
],
|
|
5585
5583
|
"attributes": [
|
|
@@ -6424,16 +6422,6 @@
|
|
|
6424
6422
|
"kind": "field",
|
|
6425
6423
|
"name": "handleLangChange",
|
|
6426
6424
|
"privacy": "private"
|
|
6427
|
-
},
|
|
6428
|
-
{
|
|
6429
|
-
"kind": "field",
|
|
6430
|
-
"name": "host",
|
|
6431
|
-
"default": "host"
|
|
6432
|
-
},
|
|
6433
|
-
{
|
|
6434
|
-
"kind": "field",
|
|
6435
|
-
"name": "options",
|
|
6436
|
-
"default": "options"
|
|
6437
6425
|
}
|
|
6438
6426
|
]
|
|
6439
6427
|
}
|
|
@@ -6637,20 +6625,6 @@
|
|
|
6637
6625
|
},
|
|
6638
6626
|
"description": "Heading and accessible label for the nav group",
|
|
6639
6627
|
"attribute": "heading"
|
|
6640
|
-
},
|
|
6641
|
-
{
|
|
6642
|
-
"kind": "field",
|
|
6643
|
-
"name": "_warningLogged",
|
|
6644
|
-
"type": {
|
|
6645
|
-
"text": "boolean"
|
|
6646
|
-
},
|
|
6647
|
-
"privacy": "private",
|
|
6648
|
-
"static": true,
|
|
6649
|
-
"default": "false",
|
|
6650
|
-
"inheritedFrom": {
|
|
6651
|
-
"name": "DraftComponentMixin",
|
|
6652
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
6653
|
-
}
|
|
6654
6628
|
}
|
|
6655
6629
|
],
|
|
6656
6630
|
"attributes": [
|
|
@@ -6663,17 +6637,11 @@
|
|
|
6663
6637
|
"fieldName": "heading"
|
|
6664
6638
|
}
|
|
6665
6639
|
],
|
|
6666
|
-
"mixins": [
|
|
6667
|
-
{
|
|
6668
|
-
"name": "DraftComponentMixin",
|
|
6669
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
6670
|
-
}
|
|
6671
|
-
],
|
|
6672
6640
|
"superclass": {
|
|
6673
6641
|
"name": "LitElement",
|
|
6674
6642
|
"package": "lit"
|
|
6675
6643
|
},
|
|
6676
|
-
"status": "
|
|
6644
|
+
"status": "new",
|
|
6677
6645
|
"category": "navigation",
|
|
6678
6646
|
"tagName": "nord-nav-group",
|
|
6679
6647
|
"customElement": true
|
|
@@ -6867,20 +6835,6 @@
|
|
|
6867
6835
|
"name": "FocusableMixin",
|
|
6868
6836
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
6869
6837
|
}
|
|
6870
|
-
},
|
|
6871
|
-
{
|
|
6872
|
-
"kind": "field",
|
|
6873
|
-
"name": "_warningLogged",
|
|
6874
|
-
"type": {
|
|
6875
|
-
"text": "boolean"
|
|
6876
|
-
},
|
|
6877
|
-
"privacy": "private",
|
|
6878
|
-
"static": true,
|
|
6879
|
-
"default": "false",
|
|
6880
|
-
"inheritedFrom": {
|
|
6881
|
-
"name": "DraftComponentMixin",
|
|
6882
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
6883
|
-
}
|
|
6884
6838
|
}
|
|
6885
6839
|
],
|
|
6886
6840
|
"events": [
|
|
@@ -6940,17 +6894,13 @@
|
|
|
6940
6894
|
{
|
|
6941
6895
|
"name": "FocusableMixin",
|
|
6942
6896
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
6943
|
-
},
|
|
6944
|
-
{
|
|
6945
|
-
"name": "DraftComponentMixin",
|
|
6946
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
6947
6897
|
}
|
|
6948
6898
|
],
|
|
6949
6899
|
"superclass": {
|
|
6950
6900
|
"name": "LitElement",
|
|
6951
6901
|
"package": "lit"
|
|
6952
6902
|
},
|
|
6953
|
-
"status": "
|
|
6903
|
+
"status": "new",
|
|
6954
6904
|
"category": "navigation",
|
|
6955
6905
|
"tagName": "nord-nav-item",
|
|
6956
6906
|
"customElement": true
|
|
@@ -7081,6 +7031,21 @@
|
|
|
7081
7031
|
},
|
|
7082
7032
|
"privacy": "private"
|
|
7083
7033
|
},
|
|
7034
|
+
{
|
|
7035
|
+
"kind": "field",
|
|
7036
|
+
"name": "breakpoint",
|
|
7037
|
+
"type": {
|
|
7038
|
+
"text": "string"
|
|
7039
|
+
},
|
|
7040
|
+
"privacy": "private",
|
|
7041
|
+
"default": "\"35.9375em\""
|
|
7042
|
+
},
|
|
7043
|
+
{
|
|
7044
|
+
"kind": "field",
|
|
7045
|
+
"name": "viewportObserver",
|
|
7046
|
+
"privacy": "private",
|
|
7047
|
+
"default": "new ResizeObserver(entries => {\n entries.forEach(() => {\n // Update the viewport state\n this.smallViewport = window.matchMedia(`(max-width: ${this.breakpoint})`).matches\n\n // Ensure autoUpdate is ready when going from small to large viewports\n if (!this.smallViewport) {\n this.cleanupAutoUpdate = autoUpdate(this.targetElement, this, this.updatePosition)\n }\n })\n })"
|
|
7048
|
+
},
|
|
7084
7049
|
{
|
|
7085
7050
|
"kind": "field",
|
|
7086
7051
|
"name": "dismiss",
|
|
@@ -7111,6 +7076,15 @@
|
|
|
7111
7076
|
},
|
|
7112
7077
|
"privacy": "private"
|
|
7113
7078
|
},
|
|
7079
|
+
{
|
|
7080
|
+
"kind": "field",
|
|
7081
|
+
"name": "smallViewport",
|
|
7082
|
+
"type": {
|
|
7083
|
+
"text": "boolean"
|
|
7084
|
+
},
|
|
7085
|
+
"privacy": "private",
|
|
7086
|
+
"default": "false"
|
|
7087
|
+
},
|
|
7114
7088
|
{
|
|
7115
7089
|
"kind": "field",
|
|
7116
7090
|
"name": "align",
|
|
@@ -7164,6 +7138,16 @@
|
|
|
7164
7138
|
],
|
|
7165
7139
|
"description": "Hide the popout."
|
|
7166
7140
|
},
|
|
7141
|
+
{
|
|
7142
|
+
"kind": "method",
|
|
7143
|
+
"name": "handleIdChange",
|
|
7144
|
+
"privacy": "protected"
|
|
7145
|
+
},
|
|
7146
|
+
{
|
|
7147
|
+
"kind": "method",
|
|
7148
|
+
"name": "handleOpenChange",
|
|
7149
|
+
"privacy": "protected"
|
|
7150
|
+
},
|
|
7167
7151
|
{
|
|
7168
7152
|
"kind": "field",
|
|
7169
7153
|
"name": "updatePosition",
|
|
@@ -7528,6 +7512,19 @@
|
|
|
7528
7512
|
"attribute": "checked",
|
|
7529
7513
|
"reflects": true
|
|
7530
7514
|
},
|
|
7515
|
+
{
|
|
7516
|
+
"kind": "method",
|
|
7517
|
+
"name": "handleCheckedChange",
|
|
7518
|
+
"privacy": "protected",
|
|
7519
|
+
"parameters": [
|
|
7520
|
+
{
|
|
7521
|
+
"name": "previousChecked",
|
|
7522
|
+
"type": {
|
|
7523
|
+
"text": "boolean"
|
|
7524
|
+
}
|
|
7525
|
+
}
|
|
7526
|
+
]
|
|
7527
|
+
},
|
|
7531
7528
|
{
|
|
7532
7529
|
"kind": "method",
|
|
7533
7530
|
"name": "uncheckSiblings",
|
|
@@ -9076,7 +9073,7 @@
|
|
|
9076
9073
|
{
|
|
9077
9074
|
"kind": "method",
|
|
9078
9075
|
"name": "resizeToFitContent",
|
|
9079
|
-
"privacy": "
|
|
9076
|
+
"privacy": "protected"
|
|
9080
9077
|
},
|
|
9081
9078
|
{
|
|
9082
9079
|
"kind": "field",
|
|
@@ -9767,7 +9764,12 @@
|
|
|
9767
9764
|
},
|
|
9768
9765
|
{
|
|
9769
9766
|
"kind": "method",
|
|
9770
|
-
"name": "
|
|
9767
|
+
"name": "handleIdChange",
|
|
9768
|
+
"privacy": "protected"
|
|
9769
|
+
},
|
|
9770
|
+
{
|
|
9771
|
+
"kind": "method",
|
|
9772
|
+
"name": "handleStateChange",
|
|
9771
9773
|
"privacy": "private",
|
|
9772
9774
|
"parameters": [
|
|
9773
9775
|
{
|
|
@@ -9918,20 +9920,489 @@
|
|
|
9918
9920
|
"kind": "js",
|
|
9919
9921
|
"name": "default",
|
|
9920
9922
|
"declaration": {
|
|
9921
|
-
"name": "VisuallyHidden",
|
|
9922
|
-
"module": "src/visually-hidden/VisuallyHidden.ts"
|
|
9923
|
+
"name": "VisuallyHidden",
|
|
9924
|
+
"module": "src/visually-hidden/VisuallyHidden.ts"
|
|
9925
|
+
}
|
|
9926
|
+
},
|
|
9927
|
+
{
|
|
9928
|
+
"kind": "custom-element-definition",
|
|
9929
|
+
"name": "nord-visually-hidden",
|
|
9930
|
+
"declaration": {
|
|
9931
|
+
"name": "VisuallyHidden",
|
|
9932
|
+
"module": "src/visually-hidden/VisuallyHidden.ts"
|
|
9933
|
+
}
|
|
9934
|
+
}
|
|
9935
|
+
],
|
|
9936
|
+
"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"
|
|
9937
|
+
},
|
|
9938
|
+
{
|
|
9939
|
+
"kind": "javascript-module",
|
|
9940
|
+
"path": "src/common/decorators/observe.ts",
|
|
9941
|
+
"declarations": [
|
|
9942
|
+
{
|
|
9943
|
+
"kind": "function",
|
|
9944
|
+
"name": "observe",
|
|
9945
|
+
"parameters": [
|
|
9946
|
+
{
|
|
9947
|
+
"name": "propertyName",
|
|
9948
|
+
"type": {
|
|
9949
|
+
"text": "string"
|
|
9950
|
+
}
|
|
9951
|
+
},
|
|
9952
|
+
{
|
|
9953
|
+
"name": "lifecycle",
|
|
9954
|
+
"default": "\"update\"",
|
|
9955
|
+
"type": {
|
|
9956
|
+
"text": "ObserveLifecycle"
|
|
9957
|
+
}
|
|
9958
|
+
}
|
|
9959
|
+
]
|
|
9960
|
+
}
|
|
9961
|
+
],
|
|
9962
|
+
"exports": [
|
|
9963
|
+
{
|
|
9964
|
+
"kind": "js",
|
|
9965
|
+
"name": "observe",
|
|
9966
|
+
"declaration": {
|
|
9967
|
+
"name": "observe",
|
|
9968
|
+
"module": "src/common/decorators/observe.ts"
|
|
9969
|
+
}
|
|
9970
|
+
}
|
|
9971
|
+
]
|
|
9972
|
+
},
|
|
9973
|
+
{
|
|
9974
|
+
"kind": "javascript-module",
|
|
9975
|
+
"path": "src/common/directives/cond.ts",
|
|
9976
|
+
"declarations": [
|
|
9977
|
+
{
|
|
9978
|
+
"kind": "function",
|
|
9979
|
+
"name": "cond",
|
|
9980
|
+
"return": {
|
|
9981
|
+
"type": {
|
|
9982
|
+
"text": "typeof value | typeof nothing"
|
|
9983
|
+
}
|
|
9984
|
+
},
|
|
9985
|
+
"parameters": [
|
|
9986
|
+
{
|
|
9987
|
+
"name": "value",
|
|
9988
|
+
"type": {
|
|
9989
|
+
"text": "any"
|
|
9990
|
+
}
|
|
9991
|
+
}
|
|
9992
|
+
],
|
|
9993
|
+
"description": "if value is truthy, return it, otherwise return nothing"
|
|
9994
|
+
},
|
|
9995
|
+
{
|
|
9996
|
+
"kind": "function",
|
|
9997
|
+
"name": "cond",
|
|
9998
|
+
"return": {
|
|
9999
|
+
"type": {
|
|
10000
|
+
"text": "typeof trueCase | typeof nothing"
|
|
10001
|
+
}
|
|
10002
|
+
},
|
|
10003
|
+
"parameters": [
|
|
10004
|
+
{
|
|
10005
|
+
"name": "condition",
|
|
10006
|
+
"type": {
|
|
10007
|
+
"text": "unknown"
|
|
10008
|
+
}
|
|
10009
|
+
},
|
|
10010
|
+
{
|
|
10011
|
+
"name": "trueCase",
|
|
10012
|
+
"type": {
|
|
10013
|
+
"text": "any"
|
|
10014
|
+
}
|
|
10015
|
+
}
|
|
10016
|
+
],
|
|
10017
|
+
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
10018
|
+
},
|
|
10019
|
+
{
|
|
10020
|
+
"kind": "function",
|
|
10021
|
+
"name": "cond",
|
|
10022
|
+
"return": {
|
|
10023
|
+
"type": {
|
|
10024
|
+
"text": "typeof trueCase"
|
|
10025
|
+
}
|
|
10026
|
+
},
|
|
10027
|
+
"parameters": [
|
|
10028
|
+
{
|
|
10029
|
+
"name": "condition",
|
|
10030
|
+
"type": {
|
|
10031
|
+
"text": "true"
|
|
10032
|
+
}
|
|
10033
|
+
},
|
|
10034
|
+
{
|
|
10035
|
+
"name": "trueCase",
|
|
10036
|
+
"type": {
|
|
10037
|
+
"text": "any"
|
|
10038
|
+
}
|
|
10039
|
+
}
|
|
10040
|
+
],
|
|
10041
|
+
"description": "condition is true, so always return trueCase"
|
|
10042
|
+
},
|
|
10043
|
+
{
|
|
10044
|
+
"kind": "function",
|
|
10045
|
+
"name": "cond",
|
|
10046
|
+
"return": {
|
|
10047
|
+
"type": {
|
|
10048
|
+
"text": "typeof nothing"
|
|
10049
|
+
}
|
|
10050
|
+
},
|
|
10051
|
+
"parameters": [
|
|
10052
|
+
{
|
|
10053
|
+
"name": "condition",
|
|
10054
|
+
"type": {
|
|
10055
|
+
"text": "false"
|
|
10056
|
+
}
|
|
10057
|
+
},
|
|
10058
|
+
{
|
|
10059
|
+
"name": "trueCase",
|
|
10060
|
+
"type": {
|
|
10061
|
+
"text": "any"
|
|
10062
|
+
}
|
|
10063
|
+
}
|
|
10064
|
+
],
|
|
10065
|
+
"description": "condition is false, to will always return nothing"
|
|
10066
|
+
},
|
|
10067
|
+
{
|
|
10068
|
+
"kind": "function",
|
|
10069
|
+
"name": "cond",
|
|
10070
|
+
"return": {
|
|
10071
|
+
"type": {
|
|
10072
|
+
"text": "typeof trueCase | typeof falseCase"
|
|
10073
|
+
}
|
|
10074
|
+
},
|
|
10075
|
+
"parameters": [
|
|
10076
|
+
{
|
|
10077
|
+
"name": "condition",
|
|
10078
|
+
"type": {
|
|
10079
|
+
"text": "unknown"
|
|
10080
|
+
}
|
|
10081
|
+
},
|
|
10082
|
+
{
|
|
10083
|
+
"name": "trueCase",
|
|
10084
|
+
"type": {
|
|
10085
|
+
"text": "any"
|
|
10086
|
+
}
|
|
10087
|
+
},
|
|
10088
|
+
{
|
|
10089
|
+
"name": "falseCase",
|
|
10090
|
+
"type": {
|
|
10091
|
+
"text": "any"
|
|
10092
|
+
}
|
|
10093
|
+
}
|
|
10094
|
+
],
|
|
10095
|
+
"description": "if condition is truthy, return trueCase, otherwise return falseCase"
|
|
10096
|
+
},
|
|
10097
|
+
{
|
|
10098
|
+
"kind": "function",
|
|
10099
|
+
"name": "cond",
|
|
10100
|
+
"return": {
|
|
10101
|
+
"type": {
|
|
10102
|
+
"text": "typeof trueCase"
|
|
10103
|
+
}
|
|
10104
|
+
},
|
|
10105
|
+
"parameters": [
|
|
10106
|
+
{
|
|
10107
|
+
"name": "condition",
|
|
10108
|
+
"type": {
|
|
10109
|
+
"text": "true"
|
|
10110
|
+
}
|
|
10111
|
+
},
|
|
10112
|
+
{
|
|
10113
|
+
"name": "trueCase",
|
|
10114
|
+
"type": {
|
|
10115
|
+
"text": "any"
|
|
10116
|
+
}
|
|
10117
|
+
},
|
|
10118
|
+
{
|
|
10119
|
+
"name": "falseCase",
|
|
10120
|
+
"type": {
|
|
10121
|
+
"text": "any"
|
|
10122
|
+
}
|
|
10123
|
+
}
|
|
10124
|
+
],
|
|
10125
|
+
"description": "condition is true, so always return trueCase"
|
|
10126
|
+
},
|
|
10127
|
+
{
|
|
10128
|
+
"kind": "function",
|
|
10129
|
+
"name": "cond",
|
|
10130
|
+
"return": {
|
|
10131
|
+
"type": {
|
|
10132
|
+
"text": "typeof falseCase"
|
|
10133
|
+
}
|
|
10134
|
+
},
|
|
10135
|
+
"parameters": [
|
|
10136
|
+
{
|
|
10137
|
+
"name": "condition",
|
|
10138
|
+
"type": {
|
|
10139
|
+
"text": "false"
|
|
10140
|
+
}
|
|
10141
|
+
},
|
|
10142
|
+
{
|
|
10143
|
+
"name": "trueCase",
|
|
10144
|
+
"type": {
|
|
10145
|
+
"text": "any"
|
|
10146
|
+
}
|
|
10147
|
+
},
|
|
10148
|
+
{
|
|
10149
|
+
"name": "falseCase",
|
|
10150
|
+
"type": {
|
|
10151
|
+
"text": "any"
|
|
10152
|
+
}
|
|
10153
|
+
}
|
|
10154
|
+
],
|
|
10155
|
+
"description": "condition is false, so always return falseCase"
|
|
10156
|
+
},
|
|
10157
|
+
{
|
|
10158
|
+
"kind": "function",
|
|
10159
|
+
"name": "cond",
|
|
10160
|
+
"parameters": [
|
|
10161
|
+
{
|
|
10162
|
+
"name": "condition",
|
|
10163
|
+
"type": {
|
|
10164
|
+
"text": "unknown"
|
|
10165
|
+
}
|
|
10166
|
+
},
|
|
10167
|
+
{
|
|
10168
|
+
"name": "trueCase",
|
|
10169
|
+
"default": "condition",
|
|
10170
|
+
"type": {
|
|
10171
|
+
"text": "any"
|
|
10172
|
+
}
|
|
10173
|
+
},
|
|
10174
|
+
{
|
|
10175
|
+
"name": "falseCase",
|
|
10176
|
+
"default": "nothing",
|
|
10177
|
+
"type": {
|
|
10178
|
+
"text": "any"
|
|
10179
|
+
}
|
|
10180
|
+
}
|
|
10181
|
+
]
|
|
10182
|
+
}
|
|
10183
|
+
],
|
|
10184
|
+
"exports": [
|
|
10185
|
+
{
|
|
10186
|
+
"kind": "js",
|
|
10187
|
+
"name": "cond",
|
|
10188
|
+
"declaration": {
|
|
10189
|
+
"name": "cond",
|
|
10190
|
+
"module": "src/common/directives/cond.ts"
|
|
10191
|
+
}
|
|
10192
|
+
},
|
|
10193
|
+
{
|
|
10194
|
+
"kind": "js",
|
|
10195
|
+
"name": "cond",
|
|
10196
|
+
"declaration": {
|
|
10197
|
+
"name": "cond",
|
|
10198
|
+
"module": "src/common/directives/cond.ts"
|
|
10199
|
+
}
|
|
10200
|
+
},
|
|
10201
|
+
{
|
|
10202
|
+
"kind": "js",
|
|
10203
|
+
"name": "cond",
|
|
10204
|
+
"declaration": {
|
|
10205
|
+
"name": "cond",
|
|
10206
|
+
"module": "src/common/directives/cond.ts"
|
|
10207
|
+
}
|
|
10208
|
+
},
|
|
10209
|
+
{
|
|
10210
|
+
"kind": "js",
|
|
10211
|
+
"name": "cond",
|
|
10212
|
+
"declaration": {
|
|
10213
|
+
"name": "cond",
|
|
10214
|
+
"module": "src/common/directives/cond.ts"
|
|
10215
|
+
}
|
|
10216
|
+
},
|
|
10217
|
+
{
|
|
10218
|
+
"kind": "js",
|
|
10219
|
+
"name": "cond",
|
|
10220
|
+
"declaration": {
|
|
10221
|
+
"name": "cond",
|
|
10222
|
+
"module": "src/common/directives/cond.ts"
|
|
10223
|
+
}
|
|
10224
|
+
},
|
|
10225
|
+
{
|
|
10226
|
+
"kind": "js",
|
|
10227
|
+
"name": "cond",
|
|
10228
|
+
"declaration": {
|
|
10229
|
+
"name": "cond",
|
|
10230
|
+
"module": "src/common/directives/cond.ts"
|
|
10231
|
+
}
|
|
10232
|
+
},
|
|
10233
|
+
{
|
|
10234
|
+
"kind": "js",
|
|
10235
|
+
"name": "cond",
|
|
10236
|
+
"declaration": {
|
|
10237
|
+
"name": "cond",
|
|
10238
|
+
"module": "src/common/directives/cond.ts"
|
|
10239
|
+
}
|
|
10240
|
+
},
|
|
10241
|
+
{
|
|
10242
|
+
"kind": "js",
|
|
10243
|
+
"name": "cond",
|
|
10244
|
+
"declaration": {
|
|
10245
|
+
"name": "cond",
|
|
10246
|
+
"module": "src/common/directives/cond.ts"
|
|
10247
|
+
}
|
|
10248
|
+
}
|
|
10249
|
+
]
|
|
10250
|
+
},
|
|
10251
|
+
{
|
|
10252
|
+
"kind": "javascript-module",
|
|
10253
|
+
"path": "src/common/directives/wrapIf.ts",
|
|
10254
|
+
"declarations": [
|
|
10255
|
+
{
|
|
10256
|
+
"kind": "function",
|
|
10257
|
+
"name": "wrapIf",
|
|
10258
|
+
"return": {
|
|
10259
|
+
"type": {
|
|
10260
|
+
"text": "TInner"
|
|
10261
|
+
}
|
|
10262
|
+
},
|
|
10263
|
+
"parameters": [
|
|
10264
|
+
{
|
|
10265
|
+
"name": "condition",
|
|
10266
|
+
"type": {
|
|
10267
|
+
"text": "false"
|
|
10268
|
+
}
|
|
10269
|
+
},
|
|
10270
|
+
{
|
|
10271
|
+
"name": "inner",
|
|
10272
|
+
"type": {
|
|
10273
|
+
"text": "() => TInner"
|
|
10274
|
+
}
|
|
10275
|
+
},
|
|
10276
|
+
{
|
|
10277
|
+
"name": "wrapper",
|
|
10278
|
+
"type": {
|
|
10279
|
+
"text": "(inner: TInner) => TWrapper"
|
|
10280
|
+
}
|
|
10281
|
+
}
|
|
10282
|
+
]
|
|
10283
|
+
},
|
|
10284
|
+
{
|
|
10285
|
+
"kind": "function",
|
|
10286
|
+
"name": "wrapIf",
|
|
10287
|
+
"return": {
|
|
10288
|
+
"type": {
|
|
10289
|
+
"text": "TWrapper"
|
|
10290
|
+
}
|
|
10291
|
+
},
|
|
10292
|
+
"parameters": [
|
|
10293
|
+
{
|
|
10294
|
+
"name": "condition",
|
|
10295
|
+
"type": {
|
|
10296
|
+
"text": "true"
|
|
10297
|
+
}
|
|
10298
|
+
},
|
|
10299
|
+
{
|
|
10300
|
+
"name": "inner",
|
|
10301
|
+
"type": {
|
|
10302
|
+
"text": "() => TInner"
|
|
10303
|
+
}
|
|
10304
|
+
},
|
|
10305
|
+
{
|
|
10306
|
+
"name": "wrapper",
|
|
10307
|
+
"type": {
|
|
10308
|
+
"text": "(inner: TInner) => TWrapper"
|
|
10309
|
+
}
|
|
10310
|
+
}
|
|
10311
|
+
]
|
|
10312
|
+
},
|
|
10313
|
+
{
|
|
10314
|
+
"kind": "function",
|
|
10315
|
+
"name": "wrapIf",
|
|
10316
|
+
"return": {
|
|
10317
|
+
"type": {
|
|
10318
|
+
"text": "TInner | TWrapper"
|
|
10319
|
+
}
|
|
10320
|
+
},
|
|
10321
|
+
"parameters": [
|
|
10322
|
+
{
|
|
10323
|
+
"name": "condition",
|
|
10324
|
+
"type": {
|
|
10325
|
+
"text": "unknown"
|
|
10326
|
+
}
|
|
10327
|
+
},
|
|
10328
|
+
{
|
|
10329
|
+
"name": "inner",
|
|
10330
|
+
"type": {
|
|
10331
|
+
"text": "() => TInner"
|
|
10332
|
+
}
|
|
10333
|
+
},
|
|
10334
|
+
{
|
|
10335
|
+
"name": "wrapper",
|
|
10336
|
+
"type": {
|
|
10337
|
+
"text": "(inner: TInner) => TWrapper"
|
|
10338
|
+
}
|
|
10339
|
+
}
|
|
10340
|
+
]
|
|
10341
|
+
},
|
|
10342
|
+
{
|
|
10343
|
+
"kind": "function",
|
|
10344
|
+
"name": "wrapIf",
|
|
10345
|
+
"parameters": [
|
|
10346
|
+
{
|
|
10347
|
+
"name": "condition",
|
|
10348
|
+
"type": {
|
|
10349
|
+
"text": "any"
|
|
10350
|
+
}
|
|
10351
|
+
},
|
|
10352
|
+
{
|
|
10353
|
+
"name": "inner",
|
|
10354
|
+
"type": {
|
|
10355
|
+
"text": "() => TInner"
|
|
10356
|
+
}
|
|
10357
|
+
},
|
|
10358
|
+
{
|
|
10359
|
+
"name": "wrapper",
|
|
10360
|
+
"type": {
|
|
10361
|
+
"text": "(innards: TInner) => TWrapper"
|
|
10362
|
+
}
|
|
10363
|
+
}
|
|
10364
|
+
],
|
|
10365
|
+
"return": {
|
|
10366
|
+
"type": {
|
|
10367
|
+
"text": ""
|
|
10368
|
+
}
|
|
10369
|
+
}
|
|
10370
|
+
}
|
|
10371
|
+
],
|
|
10372
|
+
"exports": [
|
|
10373
|
+
{
|
|
10374
|
+
"kind": "js",
|
|
10375
|
+
"name": "wrapIf",
|
|
10376
|
+
"declaration": {
|
|
10377
|
+
"name": "wrapIf",
|
|
10378
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
10379
|
+
}
|
|
10380
|
+
},
|
|
10381
|
+
{
|
|
10382
|
+
"kind": "js",
|
|
10383
|
+
"name": "wrapIf",
|
|
10384
|
+
"declaration": {
|
|
10385
|
+
"name": "wrapIf",
|
|
10386
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
10387
|
+
}
|
|
10388
|
+
},
|
|
10389
|
+
{
|
|
10390
|
+
"kind": "js",
|
|
10391
|
+
"name": "wrapIf",
|
|
10392
|
+
"declaration": {
|
|
10393
|
+
"name": "wrapIf",
|
|
10394
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
9923
10395
|
}
|
|
9924
10396
|
},
|
|
9925
10397
|
{
|
|
9926
|
-
"kind": "
|
|
9927
|
-
"name": "
|
|
10398
|
+
"kind": "js",
|
|
10399
|
+
"name": "wrapIf",
|
|
9928
10400
|
"declaration": {
|
|
9929
|
-
"name": "
|
|
9930
|
-
"module": "src/
|
|
10401
|
+
"name": "wrapIf",
|
|
10402
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
9931
10403
|
}
|
|
9932
10404
|
}
|
|
9933
|
-
]
|
|
9934
|
-
"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"
|
|
10405
|
+
]
|
|
9935
10406
|
},
|
|
9936
10407
|
{
|
|
9937
10408
|
"kind": "javascript-module",
|
|
@@ -9986,11 +10457,6 @@
|
|
|
9986
10457
|
"name": "observe",
|
|
9987
10458
|
"privacy": "private",
|
|
9988
10459
|
"static": true
|
|
9989
|
-
},
|
|
9990
|
-
{
|
|
9991
|
-
"kind": "field",
|
|
9992
|
-
"name": "host",
|
|
9993
|
-
"default": "host"
|
|
9994
10460
|
}
|
|
9995
10461
|
]
|
|
9996
10462
|
}
|
|
@@ -10243,16 +10709,6 @@
|
|
|
10243
10709
|
"kind": "field",
|
|
10244
10710
|
"name": "handleFormData",
|
|
10245
10711
|
"privacy": "private"
|
|
10246
|
-
},
|
|
10247
|
-
{
|
|
10248
|
-
"kind": "field",
|
|
10249
|
-
"name": "host",
|
|
10250
|
-
"default": "host"
|
|
10251
|
-
},
|
|
10252
|
-
{
|
|
10253
|
-
"kind": "field",
|
|
10254
|
-
"name": "options",
|
|
10255
|
-
"default": "options"
|
|
10256
10712
|
}
|
|
10257
10713
|
]
|
|
10258
10714
|
}
|
|
@@ -10284,7 +10740,7 @@
|
|
|
10284
10740
|
"text": "ShortcutController"
|
|
10285
10741
|
},
|
|
10286
10742
|
"privacy": "private",
|
|
10287
|
-
"default": "new ShortcutController(
|
|
10743
|
+
"default": "new ShortcutController(host, { Escape: this.handleEsc })"
|
|
10288
10744
|
},
|
|
10289
10745
|
{
|
|
10290
10746
|
"kind": "field",
|
|
@@ -10308,16 +10764,6 @@
|
|
|
10308
10764
|
"kind": "field",
|
|
10309
10765
|
"name": "handleClickOut",
|
|
10310
10766
|
"privacy": "private"
|
|
10311
|
-
},
|
|
10312
|
-
{
|
|
10313
|
-
"kind": "field",
|
|
10314
|
-
"name": "host",
|
|
10315
|
-
"default": "host"
|
|
10316
|
-
},
|
|
10317
|
-
{
|
|
10318
|
-
"kind": "field",
|
|
10319
|
-
"name": "options",
|
|
10320
|
-
"default": "options"
|
|
10321
10767
|
}
|
|
10322
10768
|
]
|
|
10323
10769
|
}
|
|
@@ -10357,16 +10803,6 @@
|
|
|
10357
10803
|
{
|
|
10358
10804
|
"kind": "method",
|
|
10359
10805
|
"name": "hostDisconnected"
|
|
10360
|
-
},
|
|
10361
|
-
{
|
|
10362
|
-
"kind": "field",
|
|
10363
|
-
"name": "host",
|
|
10364
|
-
"default": "host"
|
|
10365
|
-
},
|
|
10366
|
-
{
|
|
10367
|
-
"kind": "field",
|
|
10368
|
-
"name": "options",
|
|
10369
|
-
"default": "options"
|
|
10370
10806
|
}
|
|
10371
10807
|
]
|
|
10372
10808
|
}
|
|
@@ -10442,11 +10878,6 @@
|
|
|
10442
10878
|
"name": "syncLightDom",
|
|
10443
10879
|
"privacy": "private"
|
|
10444
10880
|
},
|
|
10445
|
-
{
|
|
10446
|
-
"kind": "field",
|
|
10447
|
-
"name": "options",
|
|
10448
|
-
"default": "options"
|
|
10449
|
-
},
|
|
10450
10881
|
{
|
|
10451
10882
|
"kind": "field",
|
|
10452
10883
|
"name": "events",
|
|
@@ -10492,24 +10923,6 @@
|
|
|
10492
10923
|
"name": "SlotController",
|
|
10493
10924
|
"module": "src/common/controllers/SlotController.ts"
|
|
10494
10925
|
}
|
|
10495
|
-
},
|
|
10496
|
-
{
|
|
10497
|
-
"kind": "field",
|
|
10498
|
-
"name": "host",
|
|
10499
|
-
"default": "host",
|
|
10500
|
-
"inheritedFrom": {
|
|
10501
|
-
"name": "SlotController",
|
|
10502
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
10503
|
-
}
|
|
10504
|
-
},
|
|
10505
|
-
{
|
|
10506
|
-
"kind": "field",
|
|
10507
|
-
"name": "slotName",
|
|
10508
|
-
"default": "slotName",
|
|
10509
|
-
"inheritedFrom": {
|
|
10510
|
-
"name": "SlotController",
|
|
10511
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
10512
|
-
}
|
|
10513
10926
|
}
|
|
10514
10927
|
],
|
|
10515
10928
|
"superclass": {
|
|
@@ -10568,16 +10981,6 @@
|
|
|
10568
10981
|
{
|
|
10569
10982
|
"kind": "method",
|
|
10570
10983
|
"name": "hostDisconnected"
|
|
10571
|
-
},
|
|
10572
|
-
{
|
|
10573
|
-
"kind": "field",
|
|
10574
|
-
"name": "host",
|
|
10575
|
-
"default": "host"
|
|
10576
|
-
},
|
|
10577
|
-
{
|
|
10578
|
-
"kind": "field",
|
|
10579
|
-
"name": "options",
|
|
10580
|
-
"default": "options"
|
|
10581
10984
|
}
|
|
10582
10985
|
]
|
|
10583
10986
|
}
|
|
@@ -10633,16 +11036,6 @@
|
|
|
10633
11036
|
}
|
|
10634
11037
|
}
|
|
10635
11038
|
]
|
|
10636
|
-
},
|
|
10637
|
-
{
|
|
10638
|
-
"kind": "field",
|
|
10639
|
-
"name": "shortcuts",
|
|
10640
|
-
"default": "shortcuts"
|
|
10641
|
-
},
|
|
10642
|
-
{
|
|
10643
|
-
"kind": "field",
|
|
10644
|
-
"name": "target",
|
|
10645
|
-
"default": "target"
|
|
10646
11039
|
}
|
|
10647
11040
|
]
|
|
10648
11041
|
}
|
|
@@ -10717,16 +11110,6 @@
|
|
|
10717
11110
|
}
|
|
10718
11111
|
}
|
|
10719
11112
|
]
|
|
10720
|
-
},
|
|
10721
|
-
{
|
|
10722
|
-
"kind": "field",
|
|
10723
|
-
"name": "host",
|
|
10724
|
-
"default": "host"
|
|
10725
|
-
},
|
|
10726
|
-
{
|
|
10727
|
-
"kind": "field",
|
|
10728
|
-
"name": "slotName",
|
|
10729
|
-
"default": "slotName"
|
|
10730
11113
|
}
|
|
10731
11114
|
]
|
|
10732
11115
|
}
|
|
@@ -10868,182 +11251,6 @@
|
|
|
10868
11251
|
}
|
|
10869
11252
|
]
|
|
10870
11253
|
},
|
|
10871
|
-
{
|
|
10872
|
-
"kind": "javascript-module",
|
|
10873
|
-
"path": "src/common/directives/cond.ts",
|
|
10874
|
-
"declarations": [
|
|
10875
|
-
{
|
|
10876
|
-
"kind": "variable",
|
|
10877
|
-
"name": "cond"
|
|
10878
|
-
}
|
|
10879
|
-
],
|
|
10880
|
-
"exports": [
|
|
10881
|
-
{
|
|
10882
|
-
"kind": "js",
|
|
10883
|
-
"name": "cond",
|
|
10884
|
-
"declaration": {
|
|
10885
|
-
"name": "cond",
|
|
10886
|
-
"module": "src/common/directives/cond.ts"
|
|
10887
|
-
}
|
|
10888
|
-
}
|
|
10889
|
-
]
|
|
10890
|
-
},
|
|
10891
|
-
{
|
|
10892
|
-
"kind": "javascript-module",
|
|
10893
|
-
"path": "src/common/directives/wrapIf.ts",
|
|
10894
|
-
"declarations": [
|
|
10895
|
-
{
|
|
10896
|
-
"kind": "function",
|
|
10897
|
-
"name": "wrapIf",
|
|
10898
|
-
"return": {
|
|
10899
|
-
"type": {
|
|
10900
|
-
"text": "TInner"
|
|
10901
|
-
}
|
|
10902
|
-
},
|
|
10903
|
-
"parameters": [
|
|
10904
|
-
{
|
|
10905
|
-
"name": "condition",
|
|
10906
|
-
"type": {
|
|
10907
|
-
"text": "false"
|
|
10908
|
-
}
|
|
10909
|
-
},
|
|
10910
|
-
{
|
|
10911
|
-
"name": "inner",
|
|
10912
|
-
"type": {
|
|
10913
|
-
"text": "() => TInner"
|
|
10914
|
-
}
|
|
10915
|
-
},
|
|
10916
|
-
{
|
|
10917
|
-
"name": "wrapper",
|
|
10918
|
-
"type": {
|
|
10919
|
-
"text": "(inner: TInner) => TWrapper"
|
|
10920
|
-
}
|
|
10921
|
-
}
|
|
10922
|
-
]
|
|
10923
|
-
},
|
|
10924
|
-
{
|
|
10925
|
-
"kind": "function",
|
|
10926
|
-
"name": "wrapIf",
|
|
10927
|
-
"return": {
|
|
10928
|
-
"type": {
|
|
10929
|
-
"text": "TWrapper"
|
|
10930
|
-
}
|
|
10931
|
-
},
|
|
10932
|
-
"parameters": [
|
|
10933
|
-
{
|
|
10934
|
-
"name": "condition",
|
|
10935
|
-
"type": {
|
|
10936
|
-
"text": "true"
|
|
10937
|
-
}
|
|
10938
|
-
},
|
|
10939
|
-
{
|
|
10940
|
-
"name": "inner",
|
|
10941
|
-
"type": {
|
|
10942
|
-
"text": "() => TInner"
|
|
10943
|
-
}
|
|
10944
|
-
},
|
|
10945
|
-
{
|
|
10946
|
-
"name": "wrapper",
|
|
10947
|
-
"type": {
|
|
10948
|
-
"text": "(inner: TInner) => TWrapper"
|
|
10949
|
-
}
|
|
10950
|
-
}
|
|
10951
|
-
]
|
|
10952
|
-
},
|
|
10953
|
-
{
|
|
10954
|
-
"kind": "function",
|
|
10955
|
-
"name": "wrapIf",
|
|
10956
|
-
"return": {
|
|
10957
|
-
"type": {
|
|
10958
|
-
"text": "TInner | TWrapper"
|
|
10959
|
-
}
|
|
10960
|
-
},
|
|
10961
|
-
"parameters": [
|
|
10962
|
-
{
|
|
10963
|
-
"name": "condition",
|
|
10964
|
-
"type": {
|
|
10965
|
-
"text": "unknown"
|
|
10966
|
-
}
|
|
10967
|
-
},
|
|
10968
|
-
{
|
|
10969
|
-
"name": "inner",
|
|
10970
|
-
"type": {
|
|
10971
|
-
"text": "() => TInner"
|
|
10972
|
-
}
|
|
10973
|
-
},
|
|
10974
|
-
{
|
|
10975
|
-
"name": "wrapper",
|
|
10976
|
-
"type": {
|
|
10977
|
-
"text": "(inner: TInner) => TWrapper"
|
|
10978
|
-
}
|
|
10979
|
-
}
|
|
10980
|
-
]
|
|
10981
|
-
},
|
|
10982
|
-
{
|
|
10983
|
-
"kind": "function",
|
|
10984
|
-
"name": "wrapIf",
|
|
10985
|
-
"parameters": [
|
|
10986
|
-
{
|
|
10987
|
-
"name": "condition",
|
|
10988
|
-
"type": {
|
|
10989
|
-
"text": "any"
|
|
10990
|
-
}
|
|
10991
|
-
},
|
|
10992
|
-
{
|
|
10993
|
-
"name": "inner",
|
|
10994
|
-
"type": {
|
|
10995
|
-
"text": "() => TInner"
|
|
10996
|
-
}
|
|
10997
|
-
},
|
|
10998
|
-
{
|
|
10999
|
-
"name": "wrapper",
|
|
11000
|
-
"type": {
|
|
11001
|
-
"text": "(innards: TInner) => TWrapper"
|
|
11002
|
-
}
|
|
11003
|
-
}
|
|
11004
|
-
],
|
|
11005
|
-
"return": {
|
|
11006
|
-
"type": {
|
|
11007
|
-
"text": ""
|
|
11008
|
-
}
|
|
11009
|
-
}
|
|
11010
|
-
}
|
|
11011
|
-
],
|
|
11012
|
-
"exports": [
|
|
11013
|
-
{
|
|
11014
|
-
"kind": "js",
|
|
11015
|
-
"name": "wrapIf",
|
|
11016
|
-
"declaration": {
|
|
11017
|
-
"name": "wrapIf",
|
|
11018
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
11019
|
-
}
|
|
11020
|
-
},
|
|
11021
|
-
{
|
|
11022
|
-
"kind": "js",
|
|
11023
|
-
"name": "wrapIf",
|
|
11024
|
-
"declaration": {
|
|
11025
|
-
"name": "wrapIf",
|
|
11026
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
11027
|
-
}
|
|
11028
|
-
},
|
|
11029
|
-
{
|
|
11030
|
-
"kind": "js",
|
|
11031
|
-
"name": "wrapIf",
|
|
11032
|
-
"declaration": {
|
|
11033
|
-
"name": "wrapIf",
|
|
11034
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
11035
|
-
}
|
|
11036
|
-
},
|
|
11037
|
-
{
|
|
11038
|
-
"kind": "js",
|
|
11039
|
-
"name": "wrapIf",
|
|
11040
|
-
"declaration": {
|
|
11041
|
-
"name": "wrapIf",
|
|
11042
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
11043
|
-
}
|
|
11044
|
-
}
|
|
11045
|
-
]
|
|
11046
|
-
},
|
|
11047
11254
|
{
|
|
11048
11255
|
"kind": "javascript-module",
|
|
11049
11256
|
"path": "src/common/mixins/DraftComponentMixin.ts",
|
|
@@ -11727,7 +11934,7 @@
|
|
|
11727
11934
|
"kind": "field",
|
|
11728
11935
|
"name": "name",
|
|
11729
11936
|
"type": {
|
|
11730
|
-
"text": "string"
|
|
11937
|
+
"text": "string | undefined"
|
|
11731
11938
|
}
|
|
11732
11939
|
},
|
|
11733
11940
|
{
|