@nordhealth/components 1.5.1 → 1.6.0
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/custom-elements.json +679 -196
- package/lib/Avatar.js +1 -1
- package/lib/Badge.js +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-a389d216.js → Calendar-6f7a7d8f.js} +2 -2
- package/lib/{Calendar-a389d216.js.map → Calendar-6f7a7d8f.js.map} +1 -1
- 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-5a499e30.js +2 -0
- package/lib/Component-5a499e30.js.map +1 -0
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/Dropdown.js +1 -1
- package/lib/DropdownGroup.js +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/Fieldset.js +1 -1
- package/lib/Header.js +1 -1
- package/lib/Header.js.map +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/InputMixin-9334d385.js +2 -0
- package/lib/{InputMixin-84ca72ae.js.map → InputMixin-9334d385.js.map} +1 -1
- package/lib/Layout.js +1 -1
- package/lib/Layout.js.map +1 -1
- package/lib/LocalizeController.js +1 -1
- package/lib/LocalizeController.js.map +1 -1
- package/lib/Modal.js +2 -0
- package/lib/Modal.js.map +1 -0
- 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/Popout.js +1 -1
- package/lib/Popout.js.map +1 -1
- package/lib/ProgressBar.js +1 -1
- package/lib/Radio.js +1 -1
- package/lib/Radio.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Spinner.js +1 -1
- package/lib/Stack.js +1 -1
- package/lib/Stack.js.map +1 -1
- package/lib/{TextField-f8848f28.js → TextField-9dea5c28.js} +2 -2
- package/lib/TextField-9dea5c28.js.map +1 -0
- package/lib/Textarea.js +1 -1
- package/lib/Toggle.js +1 -1
- package/lib/Toggle.js.map +1 -1
- package/lib/Tooltip.js +1 -1
- package/lib/bundle.js +12 -11
- package/lib/bundle.js.map +1 -1
- package/lib/en-us.js +1 -1
- package/lib/en-us.js.map +1 -1
- package/lib/fi-fi.js +1 -1
- package/lib/fi-fi.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/localization4.js +2 -0
- package/lib/localization4.js.map +1 -0
- package/lib/src/common/controllers/FocusTrapController.d.ts +14 -0
- package/lib/src/common/controllers/ScrollbarController.d.ts +11 -0
- package/lib/src/common/form.d.ts +5 -0
- package/lib/src/index.d.ts +1 -0
- package/lib/src/input/Input.d.ts +3 -1
- package/lib/src/localization/en-us.d.ts +3 -0
- package/lib/src/modal/Modal.d.ts +84 -0
- package/lib/src/modal/Modal.test.d.ts +6 -0
- package/lib/src/modal/localization.d.ts +4 -0
- package/lib/src/nav-item/NavItem.d.ts +2 -0
- package/lib/src/toggle/Toggle.d.ts +1 -1
- package/lib/translation.js +1 -1
- package/lib/translation.js.map +1 -1
- package/package.json +15 -6
- package/lib/Component-fa316972.js +0 -2
- package/lib/Component-fa316972.js.map +0 -1
- package/lib/InputMixin-84ca72ae.js +0 -2
- package/lib/TextField-f8848f28.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -294,6 +294,14 @@
|
|
|
294
294
|
"name": "default",
|
|
295
295
|
"module": "\"./toggle/Toggle.js\""
|
|
296
296
|
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"kind": "js",
|
|
300
|
+
"name": "Modal",
|
|
301
|
+
"declaration": {
|
|
302
|
+
"name": "default",
|
|
303
|
+
"module": "\"./modal/Modal.js\""
|
|
304
|
+
}
|
|
297
305
|
}
|
|
298
306
|
]
|
|
299
307
|
},
|
|
@@ -430,74 +438,6 @@
|
|
|
430
438
|
],
|
|
431
439
|
"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"
|
|
432
440
|
},
|
|
433
|
-
{
|
|
434
|
-
"kind": "javascript-module",
|
|
435
|
-
"path": "src/banner/Banner.ts",
|
|
436
|
-
"declarations": [
|
|
437
|
-
{
|
|
438
|
-
"kind": "class",
|
|
439
|
-
"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.",
|
|
440
|
-
"name": "Banner",
|
|
441
|
-
"slots": [
|
|
442
|
-
{
|
|
443
|
-
"description": "default slot",
|
|
444
|
-
"name": ""
|
|
445
|
-
}
|
|
446
|
-
],
|
|
447
|
-
"members": [
|
|
448
|
-
{
|
|
449
|
-
"kind": "field",
|
|
450
|
-
"name": "variant",
|
|
451
|
-
"type": {
|
|
452
|
-
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
453
|
-
},
|
|
454
|
-
"default": "\"info\"",
|
|
455
|
-
"description": "The style variant of the banner.",
|
|
456
|
-
"attribute": "variant",
|
|
457
|
-
"reflects": true
|
|
458
|
-
}
|
|
459
|
-
],
|
|
460
|
-
"attributes": [
|
|
461
|
-
{
|
|
462
|
-
"name": "variant",
|
|
463
|
-
"type": {
|
|
464
|
-
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
465
|
-
},
|
|
466
|
-
"default": "\"info\"",
|
|
467
|
-
"description": "The style variant of the banner.",
|
|
468
|
-
"fieldName": "variant"
|
|
469
|
-
}
|
|
470
|
-
],
|
|
471
|
-
"superclass": {
|
|
472
|
-
"name": "LitElement",
|
|
473
|
-
"package": "lit"
|
|
474
|
-
},
|
|
475
|
-
"status": "ready",
|
|
476
|
-
"category": "feedback",
|
|
477
|
-
"tagName": "nord-banner",
|
|
478
|
-
"customElement": true
|
|
479
|
-
}
|
|
480
|
-
],
|
|
481
|
-
"exports": [
|
|
482
|
-
{
|
|
483
|
-
"kind": "js",
|
|
484
|
-
"name": "default",
|
|
485
|
-
"declaration": {
|
|
486
|
-
"name": "Banner",
|
|
487
|
-
"module": "src/banner/Banner.ts"
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"kind": "custom-element-definition",
|
|
492
|
-
"name": "nord-banner",
|
|
493
|
-
"declaration": {
|
|
494
|
-
"name": "Banner",
|
|
495
|
-
"module": "src/banner/Banner.ts"
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
],
|
|
499
|
-
"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"
|
|
500
|
-
},
|
|
501
441
|
{
|
|
502
442
|
"kind": "javascript-module",
|
|
503
443
|
"path": "src/button/Button.ts",
|
|
@@ -936,6 +876,74 @@
|
|
|
936
876
|
],
|
|
937
877
|
"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| `switch` | Switch style is reserved for the clinic switcher in the top left corner of an application. |\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"
|
|
938
878
|
},
|
|
879
|
+
{
|
|
880
|
+
"kind": "javascript-module",
|
|
881
|
+
"path": "src/banner/Banner.ts",
|
|
882
|
+
"declarations": [
|
|
883
|
+
{
|
|
884
|
+
"kind": "class",
|
|
885
|
+
"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.",
|
|
886
|
+
"name": "Banner",
|
|
887
|
+
"slots": [
|
|
888
|
+
{
|
|
889
|
+
"description": "default slot",
|
|
890
|
+
"name": ""
|
|
891
|
+
}
|
|
892
|
+
],
|
|
893
|
+
"members": [
|
|
894
|
+
{
|
|
895
|
+
"kind": "field",
|
|
896
|
+
"name": "variant",
|
|
897
|
+
"type": {
|
|
898
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
899
|
+
},
|
|
900
|
+
"default": "\"info\"",
|
|
901
|
+
"description": "The style variant of the banner.",
|
|
902
|
+
"attribute": "variant",
|
|
903
|
+
"reflects": true
|
|
904
|
+
}
|
|
905
|
+
],
|
|
906
|
+
"attributes": [
|
|
907
|
+
{
|
|
908
|
+
"name": "variant",
|
|
909
|
+
"type": {
|
|
910
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
911
|
+
},
|
|
912
|
+
"default": "\"info\"",
|
|
913
|
+
"description": "The style variant of the banner.",
|
|
914
|
+
"fieldName": "variant"
|
|
915
|
+
}
|
|
916
|
+
],
|
|
917
|
+
"superclass": {
|
|
918
|
+
"name": "LitElement",
|
|
919
|
+
"package": "lit"
|
|
920
|
+
},
|
|
921
|
+
"status": "ready",
|
|
922
|
+
"category": "feedback",
|
|
923
|
+
"tagName": "nord-banner",
|
|
924
|
+
"customElement": true
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
"exports": [
|
|
928
|
+
{
|
|
929
|
+
"kind": "js",
|
|
930
|
+
"name": "default",
|
|
931
|
+
"declaration": {
|
|
932
|
+
"name": "Banner",
|
|
933
|
+
"module": "src/banner/Banner.ts"
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"kind": "custom-element-definition",
|
|
938
|
+
"name": "nord-banner",
|
|
939
|
+
"declaration": {
|
|
940
|
+
"name": "Banner",
|
|
941
|
+
"module": "src/banner/Banner.ts"
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
],
|
|
945
|
+
"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"
|
|
946
|
+
},
|
|
939
947
|
{
|
|
940
948
|
"kind": "javascript-module",
|
|
941
949
|
"path": "src/badge/Badge.ts",
|
|
@@ -3659,6 +3667,40 @@
|
|
|
3659
3667
|
}
|
|
3660
3668
|
]
|
|
3661
3669
|
},
|
|
3670
|
+
{
|
|
3671
|
+
"kind": "javascript-module",
|
|
3672
|
+
"path": "src/common/form.ts",
|
|
3673
|
+
"declarations": [
|
|
3674
|
+
{
|
|
3675
|
+
"kind": "function",
|
|
3676
|
+
"name": "getSubmitButton",
|
|
3677
|
+
"return": {
|
|
3678
|
+
"type": {
|
|
3679
|
+
"text": "HTMLButtonElement | null"
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3682
|
+
"parameters": [
|
|
3683
|
+
{
|
|
3684
|
+
"name": "form",
|
|
3685
|
+
"type": {
|
|
3686
|
+
"text": "HTMLFormElement"
|
|
3687
|
+
}
|
|
3688
|
+
}
|
|
3689
|
+
],
|
|
3690
|
+
"description": "Finds a form's submit button. First looking for a button inside form,\nand then looking for a button whose form attribute is equal to the ID of the form."
|
|
3691
|
+
}
|
|
3692
|
+
],
|
|
3693
|
+
"exports": [
|
|
3694
|
+
{
|
|
3695
|
+
"kind": "js",
|
|
3696
|
+
"name": "getSubmitButton",
|
|
3697
|
+
"declaration": {
|
|
3698
|
+
"name": "getSubmitButton",
|
|
3699
|
+
"module": "src/common/form.ts"
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
]
|
|
3703
|
+
},
|
|
3662
3704
|
{
|
|
3663
3705
|
"kind": "javascript-module",
|
|
3664
3706
|
"path": "src/common/fsm.ts",
|
|
@@ -5757,8 +5799,12 @@
|
|
|
5757
5799
|
"name": "error"
|
|
5758
5800
|
},
|
|
5759
5801
|
{
|
|
5760
|
-
"description": "Optional slot used to place an icon at the start of the input.",
|
|
5802
|
+
"description": "Optional slot used to place an icon or prefix at the start of the input.",
|
|
5761
5803
|
"name": "start"
|
|
5804
|
+
},
|
|
5805
|
+
{
|
|
5806
|
+
"description": "Optional slot used to place an icon or suffix at the end of the input.",
|
|
5807
|
+
"name": "end"
|
|
5762
5808
|
}
|
|
5763
5809
|
],
|
|
5764
5810
|
"members": [
|
|
@@ -5768,6 +5814,12 @@
|
|
|
5768
5814
|
"privacy": "private",
|
|
5769
5815
|
"default": "new SlotController(this, \"start\")"
|
|
5770
5816
|
},
|
|
5817
|
+
{
|
|
5818
|
+
"kind": "field",
|
|
5819
|
+
"name": "endSlot",
|
|
5820
|
+
"privacy": "private",
|
|
5821
|
+
"default": "new SlotController(this, \"end\")"
|
|
5822
|
+
},
|
|
5771
5823
|
{
|
|
5772
5824
|
"kind": "field",
|
|
5773
5825
|
"name": "type",
|
|
@@ -6786,7 +6838,7 @@
|
|
|
6786
6838
|
"type": {
|
|
6787
6839
|
"text": "object"
|
|
6788
6840
|
},
|
|
6789
|
-
"default": "{\n $lang: \"en-US\",\n $name: \"English\",\n $dir: \"ltr\" as \"ltr\" | \"rtl\",\n \"nord-command-menu\": commandMenuLocalization,\n \"nord-calendar\": calendarLocalization,\n \"nord-date-picker\": datePickerLocalization,\n}"
|
|
6841
|
+
"default": "{\n $lang: \"en-US\",\n $name: \"English\",\n $dir: \"ltr\" as \"ltr\" | \"rtl\",\n \"nord-command-menu\": commandMenuLocalization,\n \"nord-calendar\": calendarLocalization,\n \"nord-date-picker\": datePickerLocalization,\n \"nord-modal\": modalLocalization,\n}"
|
|
6790
6842
|
}
|
|
6791
6843
|
],
|
|
6792
6844
|
"exports": [
|
|
@@ -6810,7 +6862,7 @@
|
|
|
6810
6862
|
"type": {
|
|
6811
6863
|
"text": "Translation"
|
|
6812
6864
|
},
|
|
6813
|
-
"default": "{\n $lang: \"fi\",\n $name: \"Suomi\",\n $dir: \"ltr\",\n\n \"nord-command-menu\": {\n instructions: \"Paina 'Enter' vahvistaaksesi valinnan tai 'Escape' peruuttaaksesi\",\n inputLabel: \"Kirjoita komento jonka haluat suorittaa.\",\n footerArrowKeys: \"Siirry\",\n footerEnterKey: \"Valitse\",\n footerEscapeKey: \"Esc sulje\",\n footerBackspaceKey: \"Siirry takaisin\",\n noResults: searchTerm => `Ei tuloksia haulle \"${searchTerm}\"`,\n tip: \"Vinkki: jotkin haut vaativat tarkan hakutermin. Koita kirjoittaa koko hakutermi kokonaisuudessaan, tai kokeile toista sanaa tai fraasia.\",\n },\n\n \"nord-calendar\": {\n prevMonthLabel: \"Edellinen kuukausi\",\n nextMonthLabel: \"Seuraava kuukausi\",\n monthSelectLabel: \"Kuukausi\",\n yearSelectLabel: \"Vuosi\",\n },\n\n \"nord-date-picker\": {\n modalHeading: \"Valitse päivämäärä\",\n closeLabel: \"Sulje ikkuna\",\n buttonLabel: \"Valitse päivämäärä\",\n selectedDateMessage: \"Valittu päivämäärä on\",\n },\n}"
|
|
6865
|
+
"default": "{\n $lang: \"fi\",\n $name: \"Suomi\",\n $dir: \"ltr\",\n\n \"nord-command-menu\": {\n instructions: \"Paina 'Enter' vahvistaaksesi valinnan tai 'Escape' peruuttaaksesi\",\n inputLabel: \"Kirjoita komento jonka haluat suorittaa.\",\n footerArrowKeys: \"Siirry\",\n footerEnterKey: \"Valitse\",\n footerEscapeKey: \"Esc sulje\",\n footerBackspaceKey: \"Siirry takaisin\",\n noResults: searchTerm => `Ei tuloksia haulle \"${searchTerm}\"`,\n tip: \"Vinkki: jotkin haut vaativat tarkan hakutermin. Koita kirjoittaa koko hakutermi kokonaisuudessaan, tai kokeile toista sanaa tai fraasia.\",\n },\n\n \"nord-calendar\": {\n prevMonthLabel: \"Edellinen kuukausi\",\n nextMonthLabel: \"Seuraava kuukausi\",\n monthSelectLabel: \"Kuukausi\",\n yearSelectLabel: \"Vuosi\",\n },\n\n \"nord-date-picker\": {\n modalHeading: \"Valitse päivämäärä\",\n closeLabel: \"Sulje ikkuna\",\n buttonLabel: \"Valitse päivämäärä\",\n selectedDateMessage: \"Valittu päivämäärä on\",\n },\n\n \"nord-modal\": {\n closeLabel: \"Sulje ikkuna\",\n },\n}"
|
|
6814
6866
|
}
|
|
6815
6867
|
],
|
|
6816
6868
|
"exports": [
|
|
@@ -6943,92 +6995,424 @@
|
|
|
6943
6995
|
},
|
|
6944
6996
|
{
|
|
6945
6997
|
"kind": "javascript-module",
|
|
6946
|
-
"path": "src/
|
|
6998
|
+
"path": "src/modal/Modal.ts",
|
|
6947
6999
|
"declarations": [
|
|
6948
7000
|
{
|
|
6949
7001
|
"kind": "class",
|
|
6950
|
-
"description": "
|
|
6951
|
-
"name": "
|
|
7002
|
+
"description": "Modal component is used to display content that temporarily blocks interactions\nwith the main view of an application. Modal should be used sparingly and\nonly when necessary.",
|
|
7003
|
+
"name": "Modal",
|
|
6952
7004
|
"slots": [
|
|
6953
7005
|
{
|
|
6954
|
-
"description": "
|
|
7006
|
+
"description": "Default slot",
|
|
6955
7007
|
"name": ""
|
|
7008
|
+
},
|
|
7009
|
+
{
|
|
7010
|
+
"description": "Slot which holds the header of the modal, positioned next to the close button.",
|
|
7011
|
+
"name": "header"
|
|
7012
|
+
},
|
|
7013
|
+
{
|
|
7014
|
+
"description": "Slot which is typically used to hold call to action buttons, but can also be used to build custom footers.",
|
|
7015
|
+
"name": "footer"
|
|
6956
7016
|
}
|
|
6957
7017
|
],
|
|
6958
7018
|
"members": [
|
|
6959
7019
|
{
|
|
6960
7020
|
"kind": "field",
|
|
6961
|
-
"name": "
|
|
7021
|
+
"name": "modal",
|
|
6962
7022
|
"type": {
|
|
6963
|
-
"text": "
|
|
7023
|
+
"text": "HTMLDivElement"
|
|
6964
7024
|
},
|
|
6965
|
-
"
|
|
6966
|
-
|
|
6967
|
-
}
|
|
6968
|
-
],
|
|
6969
|
-
"attributes": [
|
|
7025
|
+
"privacy": "private"
|
|
7026
|
+
},
|
|
6970
7027
|
{
|
|
6971
|
-
"
|
|
7028
|
+
"kind": "field",
|
|
7029
|
+
"name": "backdrop",
|
|
6972
7030
|
"type": {
|
|
6973
|
-
"text": "
|
|
7031
|
+
"text": "HTMLDivElement"
|
|
6974
7032
|
},
|
|
6975
|
-
"
|
|
6976
|
-
"fieldName": "heading"
|
|
6977
|
-
}
|
|
6978
|
-
],
|
|
6979
|
-
"superclass": {
|
|
6980
|
-
"name": "LitElement",
|
|
6981
|
-
"package": "lit"
|
|
6982
|
-
},
|
|
6983
|
-
"status": "ready",
|
|
6984
|
-
"category": "navigation",
|
|
6985
|
-
"tagName": "nord-nav-group",
|
|
6986
|
-
"customElement": true
|
|
6987
|
-
}
|
|
6988
|
-
],
|
|
6989
|
-
"exports": [
|
|
6990
|
-
{
|
|
6991
|
-
"kind": "js",
|
|
6992
|
-
"name": "default",
|
|
6993
|
-
"declaration": {
|
|
6994
|
-
"name": "NavGroup",
|
|
6995
|
-
"module": "src/nav-group/NavGroup.ts"
|
|
6996
|
-
}
|
|
6997
|
-
},
|
|
6998
|
-
{
|
|
6999
|
-
"kind": "custom-element-definition",
|
|
7000
|
-
"name": "nord-nav-group",
|
|
7001
|
-
"declaration": {
|
|
7002
|
-
"name": "NavGroup",
|
|
7003
|
-
"module": "src/nav-group/NavGroup.ts"
|
|
7004
|
-
}
|
|
7005
|
-
}
|
|
7006
|
-
],
|
|
7007
|
-
"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- Group navigation items into navigation groups based on related categories.\n- Use group headings to clarify the category of a section.\n- Use icons for all top level navigation items.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for grouping other types of content.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing navigation item 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 item labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme</div>\n\nAvoid ending item labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Switch user</div>\n<div class=\"n-usage n-usage-dont\">Switch user.</div>\n\nUse as few words as possible to describe each item label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoud all caps for item labels and group titles:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n"
|
|
7008
|
-
},
|
|
7009
|
-
{
|
|
7010
|
-
"kind": "javascript-module",
|
|
7011
|
-
"path": "src/nav-item/NavItem.ts",
|
|
7012
|
-
"declarations": [
|
|
7013
|
-
{
|
|
7014
|
-
"kind": "class",
|
|
7015
|
-
"description": "Navigation item populates sidebar navigation with links.\nEvery item should be placed inside a navigation group.",
|
|
7016
|
-
"name": "NavItem",
|
|
7017
|
-
"slots": [
|
|
7018
|
-
{
|
|
7019
|
-
"description": "The default slot used for the nav item's text.",
|
|
7020
|
-
"name": ""
|
|
7033
|
+
"privacy": "private"
|
|
7021
7034
|
},
|
|
7022
|
-
{
|
|
7023
|
-
"description": "Used for nesting navigation. When used the nav-item becomes a button to collapse the subnav, rather than a link.",
|
|
7024
|
-
"name": "subnav"
|
|
7025
|
-
}
|
|
7026
|
-
],
|
|
7027
|
-
"members": [
|
|
7028
7035
|
{
|
|
7029
7036
|
"kind": "field",
|
|
7030
|
-
"name": "
|
|
7031
|
-
"
|
|
7037
|
+
"name": "trigger",
|
|
7038
|
+
"type": {
|
|
7039
|
+
"text": "HTMLElement | undefined"
|
|
7040
|
+
},
|
|
7041
|
+
"privacy": "private"
|
|
7042
|
+
},
|
|
7043
|
+
{
|
|
7044
|
+
"kind": "field",
|
|
7045
|
+
"name": "lastButton",
|
|
7046
|
+
"type": {
|
|
7047
|
+
"text": "HTMLButtonElement | undefined"
|
|
7048
|
+
},
|
|
7049
|
+
"privacy": "private"
|
|
7050
|
+
},
|
|
7051
|
+
{
|
|
7052
|
+
"kind": "field",
|
|
7053
|
+
"name": "headerSlot",
|
|
7054
|
+
"privacy": "private",
|
|
7055
|
+
"default": "new SlotController(this, \"header\")"
|
|
7056
|
+
},
|
|
7057
|
+
{
|
|
7058
|
+
"kind": "field",
|
|
7059
|
+
"name": "featureSlot",
|
|
7060
|
+
"privacy": "private",
|
|
7061
|
+
"default": "new SlotController(this, \"feature\")"
|
|
7062
|
+
},
|
|
7063
|
+
{
|
|
7064
|
+
"kind": "field",
|
|
7065
|
+
"name": "footerSlot",
|
|
7066
|
+
"privacy": "private",
|
|
7067
|
+
"default": "new SlotController(this, \"footer\")"
|
|
7068
|
+
},
|
|
7069
|
+
{
|
|
7070
|
+
"kind": "field",
|
|
7071
|
+
"name": "scrollBar",
|
|
7072
|
+
"privacy": "private",
|
|
7073
|
+
"default": "new ScrollbarController(this)"
|
|
7074
|
+
},
|
|
7075
|
+
{
|
|
7076
|
+
"kind": "field",
|
|
7077
|
+
"name": "focusTrap",
|
|
7078
|
+
"privacy": "private",
|
|
7079
|
+
"default": "new FocusTrapController(this, () => this.modal)"
|
|
7080
|
+
},
|
|
7081
|
+
{
|
|
7082
|
+
"kind": "field",
|
|
7083
|
+
"name": "localize",
|
|
7084
|
+
"privacy": "private",
|
|
7085
|
+
"default": "new LocalizeController<\"nord-modal\">(this)"
|
|
7086
|
+
},
|
|
7087
|
+
{
|
|
7088
|
+
"kind": "field",
|
|
7089
|
+
"name": "events",
|
|
7090
|
+
"privacy": "private",
|
|
7091
|
+
"default": "new EventController(this)"
|
|
7092
|
+
},
|
|
7093
|
+
{
|
|
7094
|
+
"kind": "field",
|
|
7095
|
+
"name": "lightDismiss",
|
|
7096
|
+
"privacy": "private",
|
|
7097
|
+
"default": "new LightDismissController(this, {\n isOpen: () => this.open,\n isDismissible: node => node !== this.modal,\n onDismiss: () => this.handleDismiss(),\n })"
|
|
7098
|
+
},
|
|
7099
|
+
{
|
|
7100
|
+
"kind": "field",
|
|
7101
|
+
"name": "open",
|
|
7102
|
+
"type": {
|
|
7103
|
+
"text": "boolean"
|
|
7104
|
+
},
|
|
7105
|
+
"default": "false",
|
|
7106
|
+
"description": "Controls whether the modal is open or not.",
|
|
7107
|
+
"attribute": "open",
|
|
7108
|
+
"reflects": true
|
|
7109
|
+
},
|
|
7110
|
+
{
|
|
7111
|
+
"kind": "field",
|
|
7112
|
+
"name": "size",
|
|
7113
|
+
"type": {
|
|
7114
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
7115
|
+
},
|
|
7116
|
+
"default": "\"m\"",
|
|
7117
|
+
"description": "Controls the max-width of the modal when open.",
|
|
7118
|
+
"attribute": "size",
|
|
7119
|
+
"reflects": true
|
|
7120
|
+
},
|
|
7121
|
+
{
|
|
7122
|
+
"kind": "field",
|
|
7123
|
+
"name": "returnValue",
|
|
7124
|
+
"type": {
|
|
7125
|
+
"text": "string"
|
|
7126
|
+
},
|
|
7127
|
+
"default": "\"\"",
|
|
7128
|
+
"description": "The reason why the modal was closed. This typically indicates\nwhich button the user pressed to close the modal, though any value\ncan be supplied if the modal is programmatically closed."
|
|
7129
|
+
},
|
|
7130
|
+
{
|
|
7131
|
+
"kind": "field",
|
|
7132
|
+
"name": "scrollable",
|
|
7133
|
+
"type": {
|
|
7134
|
+
"text": "boolean"
|
|
7135
|
+
},
|
|
7136
|
+
"default": "false",
|
|
7137
|
+
"description": "By default if a modal is too big for the browser window,\nthe entire modal will scroll. This setting changes that behavior\nso that the body of the modal scrolls instead, with the modal\nitself remaining fixed.",
|
|
7138
|
+
"attribute": "scrollable",
|
|
7139
|
+
"reflects": true
|
|
7140
|
+
},
|
|
7141
|
+
{
|
|
7142
|
+
"kind": "method",
|
|
7143
|
+
"name": "showModal",
|
|
7144
|
+
"description": "Show the modal, automatically moving focus to the modal or a child\nelement with an `autofocus` attribute."
|
|
7145
|
+
},
|
|
7146
|
+
{
|
|
7147
|
+
"kind": "method",
|
|
7148
|
+
"name": "close",
|
|
7149
|
+
"parameters": [
|
|
7150
|
+
{
|
|
7151
|
+
"name": "returnValue",
|
|
7152
|
+
"optional": true,
|
|
7153
|
+
"type": {
|
|
7154
|
+
"text": "string"
|
|
7155
|
+
},
|
|
7156
|
+
"description": "An optional value to indicate why the modal was closed."
|
|
7157
|
+
}
|
|
7158
|
+
],
|
|
7159
|
+
"description": "Programmatically close the modal."
|
|
7160
|
+
},
|
|
7161
|
+
{
|
|
7162
|
+
"kind": "method",
|
|
7163
|
+
"name": "focus",
|
|
7164
|
+
"parameters": [
|
|
7165
|
+
{
|
|
7166
|
+
"name": "options",
|
|
7167
|
+
"optional": true,
|
|
7168
|
+
"type": {
|
|
7169
|
+
"text": "FocusOptions"
|
|
7170
|
+
},
|
|
7171
|
+
"description": "An object which controls aspects of the focusing process."
|
|
7172
|
+
}
|
|
7173
|
+
],
|
|
7174
|
+
"description": "Programmatically focus the modal."
|
|
7175
|
+
},
|
|
7176
|
+
{
|
|
7177
|
+
"kind": "method",
|
|
7178
|
+
"name": "handleOpenUpdated",
|
|
7179
|
+
"privacy": "protected"
|
|
7180
|
+
},
|
|
7181
|
+
{
|
|
7182
|
+
"kind": "field",
|
|
7183
|
+
"name": "enableScroll",
|
|
7184
|
+
"privacy": "private"
|
|
7185
|
+
},
|
|
7186
|
+
{
|
|
7187
|
+
"kind": "method",
|
|
7188
|
+
"name": "handleDismiss",
|
|
7189
|
+
"privacy": "private"
|
|
7190
|
+
},
|
|
7191
|
+
{
|
|
7192
|
+
"kind": "field",
|
|
7193
|
+
"name": "trackLastButton",
|
|
7194
|
+
"privacy": "private",
|
|
7195
|
+
"description": "capture the last button clicked, so that we can polyfill `submitter` property in submit event"
|
|
7196
|
+
},
|
|
7197
|
+
{
|
|
7198
|
+
"kind": "field",
|
|
7199
|
+
"name": "polyfillSubmitter",
|
|
7200
|
+
"privacy": "private"
|
|
7201
|
+
},
|
|
7202
|
+
{
|
|
7203
|
+
"kind": "field",
|
|
7204
|
+
"name": "handleSubmit",
|
|
7205
|
+
"privacy": "private"
|
|
7206
|
+
},
|
|
7207
|
+
{
|
|
7208
|
+
"kind": "field",
|
|
7209
|
+
"name": "_warningLogged",
|
|
7210
|
+
"type": {
|
|
7211
|
+
"text": "boolean"
|
|
7212
|
+
},
|
|
7213
|
+
"privacy": "private",
|
|
7214
|
+
"static": true,
|
|
7215
|
+
"default": "false",
|
|
7216
|
+
"inheritedFrom": {
|
|
7217
|
+
"name": "DraftComponentMixin",
|
|
7218
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
7219
|
+
}
|
|
7220
|
+
}
|
|
7221
|
+
],
|
|
7222
|
+
"events": [
|
|
7223
|
+
{
|
|
7224
|
+
"name": "close",
|
|
7225
|
+
"type": {
|
|
7226
|
+
"text": "NordEvent"
|
|
7227
|
+
},
|
|
7228
|
+
"description": "Dispatched when a modal is closed for any reason."
|
|
7229
|
+
},
|
|
7230
|
+
{
|
|
7231
|
+
"name": "cancel",
|
|
7232
|
+
"type": {
|
|
7233
|
+
"text": "NordEvent"
|
|
7234
|
+
},
|
|
7235
|
+
"description": "Dispatched before the modal has closed when a user attempts to dismiss a modal. Call `preventDefault()` on the event to prevent the modal closing."
|
|
7236
|
+
}
|
|
7237
|
+
],
|
|
7238
|
+
"attributes": [
|
|
7239
|
+
{
|
|
7240
|
+
"name": "open",
|
|
7241
|
+
"type": {
|
|
7242
|
+
"text": "boolean"
|
|
7243
|
+
},
|
|
7244
|
+
"default": "false",
|
|
7245
|
+
"description": "Controls whether the modal is open or not.",
|
|
7246
|
+
"fieldName": "open"
|
|
7247
|
+
},
|
|
7248
|
+
{
|
|
7249
|
+
"name": "size",
|
|
7250
|
+
"type": {
|
|
7251
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
7252
|
+
},
|
|
7253
|
+
"default": "\"m\"",
|
|
7254
|
+
"description": "Controls the max-width of the modal when open.",
|
|
7255
|
+
"fieldName": "size"
|
|
7256
|
+
},
|
|
7257
|
+
{
|
|
7258
|
+
"name": "scrollable",
|
|
7259
|
+
"type": {
|
|
7260
|
+
"text": "boolean"
|
|
7261
|
+
},
|
|
7262
|
+
"default": "false",
|
|
7263
|
+
"description": "By default if a modal is too big for the browser window,\nthe entire modal will scroll. This setting changes that behavior\nso that the body of the modal scrolls instead, with the modal\nitself remaining fixed.",
|
|
7264
|
+
"fieldName": "scrollable"
|
|
7265
|
+
}
|
|
7266
|
+
],
|
|
7267
|
+
"mixins": [
|
|
7268
|
+
{
|
|
7269
|
+
"name": "DraftComponentMixin",
|
|
7270
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
7271
|
+
}
|
|
7272
|
+
],
|
|
7273
|
+
"superclass": {
|
|
7274
|
+
"name": "LitElement",
|
|
7275
|
+
"package": "lit"
|
|
7276
|
+
},
|
|
7277
|
+
"status": "draft",
|
|
7278
|
+
"category": "overlay",
|
|
7279
|
+
"tagName": "nord-modal",
|
|
7280
|
+
"customElement": true
|
|
7281
|
+
}
|
|
7282
|
+
],
|
|
7283
|
+
"exports": [
|
|
7284
|
+
{
|
|
7285
|
+
"kind": "js",
|
|
7286
|
+
"name": "default",
|
|
7287
|
+
"declaration": {
|
|
7288
|
+
"name": "Modal",
|
|
7289
|
+
"module": "src/modal/Modal.ts"
|
|
7290
|
+
}
|
|
7291
|
+
},
|
|
7292
|
+
{
|
|
7293
|
+
"kind": "custom-element-definition",
|
|
7294
|
+
"name": "nord-modal",
|
|
7295
|
+
"declaration": {
|
|
7296
|
+
"name": "Modal",
|
|
7297
|
+
"module": "src/modal/Modal.ts"
|
|
7298
|
+
}
|
|
7299
|
+
}
|
|
7300
|
+
],
|
|
7301
|
+
"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 confirmations and conditional changes.\n- Use when the user is required to take an action.\n- Use when you need to display content that temporarily blocks interactions with the main view of an application.\n- Use when you need to ask a confirmation from a user before proceeding.\n- Use for important warnings, as a way to prevent or correct critical errors.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for nonessential information that is not related to the current userflow.\n- Don’t use when the modal requires additional information for decision making that is unavailable in the modal itself.\n- Don’t open a modal window on top of another modal.\n\n</div>\n\n---\n\n## Content guidelines\n\nModal title should be clear, accurate and predictable. Always lead with a strong verb that encourages action. To provide enough context to user, use the {verb} + {noun} content formula:\n\n<div class=\"n-usage n-usage-do\">Edit patient</div>\n<div class=\"n-usage n-usage-dont\">Edit the patient called John Doe</div>\n<div class=\"n-usage n-usage-do\">Discard changes?</div>\n<div class=\"n-usage n-usage-dont\">Discard?</div>\n<div class=\"n-usage n-usage-do\">Delete patient?</div>\n<div class=\"n-usage n-usage-dont\">Are you sure you want to delete this patent?</div>\n\nWhen writing modal titles, 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\">New appointment</div>\n<div class=\"n-usage n-usage-dont\">New Appointment</div>\n\nAvoid unnecessary words and articles in modal titles, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme</div>\n\nAvoid ending in punctuation:\n\n<div class=\"n-usage n-usage-do\">Edit patient</div>\n<div class=\"n-usage n-usage-dont\">Edit patient.</div>\n\n---\n\n## Focus behaviour\n\n- Use the `autofocus` attribute to set the initial focus to the first location that accepts user input.\n- If it is a transactional modal without form inputs, then `autofocus` should be set on the primary button in the modal footer. This is for efficiency since most users will simply dismiss the dialog as soon as they have read the message.\n- If the modal contains a form, use `autofocus` in the first form field.\n- Focus remains trapped inside the modal dialog until it is closed.\n- For more examples and best practices, please see [WAI-ARIA Authoring Practices Modal Dialog Example](https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/dialog-modal/dialog.html).\n"
|
|
7302
|
+
},
|
|
7303
|
+
{
|
|
7304
|
+
"kind": "javascript-module",
|
|
7305
|
+
"path": "src/modal/localization.ts",
|
|
7306
|
+
"declarations": [
|
|
7307
|
+
{
|
|
7308
|
+
"kind": "variable",
|
|
7309
|
+
"name": "localization",
|
|
7310
|
+
"type": {
|
|
7311
|
+
"text": "object"
|
|
7312
|
+
},
|
|
7313
|
+
"default": "{\n closeLabel: \"Close dialog\",\n}"
|
|
7314
|
+
}
|
|
7315
|
+
],
|
|
7316
|
+
"exports": [
|
|
7317
|
+
{
|
|
7318
|
+
"kind": "js",
|
|
7319
|
+
"name": "default",
|
|
7320
|
+
"declaration": {
|
|
7321
|
+
"name": "localization",
|
|
7322
|
+
"module": "src/modal/localization.ts"
|
|
7323
|
+
}
|
|
7324
|
+
}
|
|
7325
|
+
],
|
|
7326
|
+
"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 confirmations and conditional changes.\n- Use when the user is required to take an action.\n- Use when you need to display content that temporarily blocks interactions with the main view of an application.\n- Use when you need to ask a confirmation from a user before proceeding.\n- Use for important warnings, as a way to prevent or correct critical errors.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for nonessential information that is not related to the current userflow.\n- Don’t use when the modal requires additional information for decision making that is unavailable in the modal itself.\n- Don’t open a modal window on top of another modal.\n\n</div>\n\n---\n\n## Content guidelines\n\nModal title should be clear, accurate and predictable. Always lead with a strong verb that encourages action. To provide enough context to user, use the {verb} + {noun} content formula:\n\n<div class=\"n-usage n-usage-do\">Edit patient</div>\n<div class=\"n-usage n-usage-dont\">Edit the patient called John Doe</div>\n<div class=\"n-usage n-usage-do\">Discard changes?</div>\n<div class=\"n-usage n-usage-dont\">Discard?</div>\n<div class=\"n-usage n-usage-do\">Delete patient?</div>\n<div class=\"n-usage n-usage-dont\">Are you sure you want to delete this patent?</div>\n\nWhen writing modal titles, 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\">New appointment</div>\n<div class=\"n-usage n-usage-dont\">New Appointment</div>\n\nAvoid unnecessary words and articles in modal titles, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme</div>\n\nAvoid ending in punctuation:\n\n<div class=\"n-usage n-usage-do\">Edit patient</div>\n<div class=\"n-usage n-usage-dont\">Edit patient.</div>\n\n---\n\n## Focus behaviour\n\n- Use the `autofocus` attribute to set the initial focus to the first location that accepts user input.\n- If it is a transactional modal without form inputs, then `autofocus` should be set on the primary button in the modal footer. This is for efficiency since most users will simply dismiss the dialog as soon as they have read the message.\n- If the modal contains a form, use `autofocus` in the first form field.\n- Focus remains trapped inside the modal dialog until it is closed.\n- For more examples and best practices, please see [WAI-ARIA Authoring Practices Modal Dialog Example](https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/dialog-modal/dialog.html).\n"
|
|
7327
|
+
},
|
|
7328
|
+
{
|
|
7329
|
+
"kind": "javascript-module",
|
|
7330
|
+
"path": "src/nav-group/NavGroup.ts",
|
|
7331
|
+
"declarations": [
|
|
7332
|
+
{
|
|
7333
|
+
"kind": "class",
|
|
7334
|
+
"description": "Navigation group includes all the actions or items in a single\ngroup and is used for grouping items into related categories.",
|
|
7335
|
+
"name": "NavGroup",
|
|
7336
|
+
"slots": [
|
|
7337
|
+
{
|
|
7338
|
+
"description": "The default slot used for the nav items.",
|
|
7339
|
+
"name": ""
|
|
7340
|
+
}
|
|
7341
|
+
],
|
|
7342
|
+
"members": [
|
|
7343
|
+
{
|
|
7344
|
+
"kind": "field",
|
|
7345
|
+
"name": "heading",
|
|
7346
|
+
"type": {
|
|
7347
|
+
"text": "string | undefined"
|
|
7348
|
+
},
|
|
7349
|
+
"description": "Heading and accessible label for the nav group",
|
|
7350
|
+
"attribute": "heading"
|
|
7351
|
+
}
|
|
7352
|
+
],
|
|
7353
|
+
"attributes": [
|
|
7354
|
+
{
|
|
7355
|
+
"name": "heading",
|
|
7356
|
+
"type": {
|
|
7357
|
+
"text": "string | undefined"
|
|
7358
|
+
},
|
|
7359
|
+
"description": "Heading and accessible label for the nav group",
|
|
7360
|
+
"fieldName": "heading"
|
|
7361
|
+
}
|
|
7362
|
+
],
|
|
7363
|
+
"superclass": {
|
|
7364
|
+
"name": "LitElement",
|
|
7365
|
+
"package": "lit"
|
|
7366
|
+
},
|
|
7367
|
+
"status": "ready",
|
|
7368
|
+
"category": "navigation",
|
|
7369
|
+
"tagName": "nord-nav-group",
|
|
7370
|
+
"customElement": true
|
|
7371
|
+
}
|
|
7372
|
+
],
|
|
7373
|
+
"exports": [
|
|
7374
|
+
{
|
|
7375
|
+
"kind": "js",
|
|
7376
|
+
"name": "default",
|
|
7377
|
+
"declaration": {
|
|
7378
|
+
"name": "NavGroup",
|
|
7379
|
+
"module": "src/nav-group/NavGroup.ts"
|
|
7380
|
+
}
|
|
7381
|
+
},
|
|
7382
|
+
{
|
|
7383
|
+
"kind": "custom-element-definition",
|
|
7384
|
+
"name": "nord-nav-group",
|
|
7385
|
+
"declaration": {
|
|
7386
|
+
"name": "NavGroup",
|
|
7387
|
+
"module": "src/nav-group/NavGroup.ts"
|
|
7388
|
+
}
|
|
7389
|
+
}
|
|
7390
|
+
],
|
|
7391
|
+
"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- Group navigation items into navigation groups based on related categories.\n- Use group headings to clarify the category of a section.\n- Use icons for all top level navigation items.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for grouping other types of content.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing navigation item 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 item labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme</div>\n\nAvoid ending item labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Switch user</div>\n<div class=\"n-usage n-usage-dont\">Switch user.</div>\n\nUse as few words as possible to describe each item label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoud all caps for item labels and group titles:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n"
|
|
7392
|
+
},
|
|
7393
|
+
{
|
|
7394
|
+
"kind": "javascript-module",
|
|
7395
|
+
"path": "src/nav-item/NavItem.ts",
|
|
7396
|
+
"declarations": [
|
|
7397
|
+
{
|
|
7398
|
+
"kind": "class",
|
|
7399
|
+
"description": "Navigation item populates sidebar navigation with links.\nEvery item should be placed inside a navigation group.",
|
|
7400
|
+
"name": "NavItem",
|
|
7401
|
+
"slots": [
|
|
7402
|
+
{
|
|
7403
|
+
"description": "The default slot used for the nav item's text.",
|
|
7404
|
+
"name": ""
|
|
7405
|
+
},
|
|
7406
|
+
{
|
|
7407
|
+
"description": "Used for nesting navigation. When used the nav-item becomes a button to collapse the subnav, rather than a link.",
|
|
7408
|
+
"name": "subnav"
|
|
7409
|
+
}
|
|
7410
|
+
],
|
|
7411
|
+
"members": [
|
|
7412
|
+
{
|
|
7413
|
+
"kind": "field",
|
|
7414
|
+
"name": "subnavSlot",
|
|
7415
|
+
"privacy": "private",
|
|
7032
7416
|
"default": "new SlotController(this, \"subnav\")"
|
|
7033
7417
|
},
|
|
7034
7418
|
{
|
|
@@ -7072,7 +7456,7 @@
|
|
|
7072
7456
|
"type": {
|
|
7073
7457
|
"text": "string | undefined"
|
|
7074
7458
|
},
|
|
7075
|
-
"description": "Allows you to add a notification badge with a number next to the nav item.",
|
|
7459
|
+
"description": "Allows you to add a notification badge with a number next to the nav item.\nPlease note that this isn’t supported for nav items which have nested nav\nitems inside them.",
|
|
7076
7460
|
"attribute": "badge"
|
|
7077
7461
|
},
|
|
7078
7462
|
{
|
|
@@ -7216,7 +7600,7 @@
|
|
|
7216
7600
|
"type": {
|
|
7217
7601
|
"text": "string | undefined"
|
|
7218
7602
|
},
|
|
7219
|
-
"description": "Allows you to add a notification badge with a number next to the nav item.",
|
|
7603
|
+
"description": "Allows you to add a notification badge with a number next to the nav item.\nPlease note that this isn’t supported for nav items which have nested nav\nitems inside them.",
|
|
7220
7604
|
"fieldName": "badge"
|
|
7221
7605
|
},
|
|
7222
7606
|
{
|
|
@@ -7795,7 +8179,7 @@
|
|
|
7795
8179
|
"kind": "field",
|
|
7796
8180
|
"name": "inputSlot",
|
|
7797
8181
|
"privacy": "protected",
|
|
7798
|
-
"default": "new LightDomController(this, {\n render: () =>\n html`\n <input\n slot=\"input\"\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n ${ref(this.focusableRef)}\n class=\"n-input\"\n id=${this.inputId}\n type=\"radio\"\n name=${
|
|
8182
|
+
"default": "new LightDomController(this, {\n render: () =>\n html`\n <input\n slot=\"input\"\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n ${ref(this.focusableRef)}\n class=\"n-input\"\n id=${this.inputId}\n type=\"radio\"\n name=${cond(this.name)}\n .value=${cond(this.value)}\n .checked=${this.checked}\n ?disabled=${this.disabled}\n ?required=${this.required}\n aria-describedby=${cond(this.getDescribedBy())}\n aria-invalid=${cond(this.getInvalid())}\n form=${cond(this.getAttribute(\"form\") || undefined)}\n />\n `,\n })"
|
|
7799
8183
|
},
|
|
7800
8184
|
{
|
|
7801
8185
|
"kind": "field",
|
|
@@ -10029,20 +10413,6 @@
|
|
|
10029
10413
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10030
10414
|
}
|
|
10031
10415
|
},
|
|
10032
|
-
{
|
|
10033
|
-
"kind": "field",
|
|
10034
|
-
"name": "_warningLogged",
|
|
10035
|
-
"type": {
|
|
10036
|
-
"text": "boolean"
|
|
10037
|
-
},
|
|
10038
|
-
"privacy": "private",
|
|
10039
|
-
"static": true,
|
|
10040
|
-
"default": "false",
|
|
10041
|
-
"inheritedFrom": {
|
|
10042
|
-
"name": "DraftComponentMixin",
|
|
10043
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
10044
|
-
}
|
|
10045
|
-
},
|
|
10046
10416
|
{
|
|
10047
10417
|
"kind": "field",
|
|
10048
10418
|
"name": "labelSlot",
|
|
@@ -10544,10 +10914,6 @@
|
|
|
10544
10914
|
}
|
|
10545
10915
|
],
|
|
10546
10916
|
"mixins": [
|
|
10547
|
-
{
|
|
10548
|
-
"name": "DraftComponentMixin",
|
|
10549
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
10550
|
-
},
|
|
10551
10917
|
{
|
|
10552
10918
|
"name": "FormAssociatedMixin",
|
|
10553
10919
|
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
@@ -10565,7 +10931,7 @@
|
|
|
10565
10931
|
"name": "LitElement",
|
|
10566
10932
|
"package": "lit"
|
|
10567
10933
|
},
|
|
10568
|
-
"status": "
|
|
10934
|
+
"status": "new",
|
|
10569
10935
|
"category": "form",
|
|
10570
10936
|
"tagName": "nord-toggle",
|
|
10571
10937
|
"customElement": true,
|
|
@@ -10613,7 +10979,7 @@
|
|
|
10613
10979
|
}
|
|
10614
10980
|
}
|
|
10615
10981
|
],
|
|
10616
|
-
"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 any feature or option that can be turned on or off.\n- If a physical switch would work for the action, the toggle is probably the best component to use.\n- Use for making it possible to choose one or more options from a limited number of options.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Avoid using when you have more than 10 options to choose from.\n- Don’t change the selection of another toggle when another one is clicked. Only exception is when a toggle is used to make a bulk selection of multiple items.\n\n</div>\n\n---\n\n## Content guidelines\n\nToggle 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 toggle 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"
|
|
10982
|
+
"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 toggles when your intent is to turn something on or off instantly.\n- Use for any feature or option that can be turned on or off.\n- If a physical switch would work for the action, the toggle is probably the best component to use.\n- Use for making it possible to choose one or more options from a limited number of options.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Toggles should never require users to click a button to apply or save the setting.\n- Avoid using when you have more than 10 options to choose from.\n- Don’t change the selection of another toggle when another one is clicked. Only exception is when a toggle is used to make a bulk selection of multiple items.\n\n</div>\n\n---\n\n## Content guidelines\n\nToggle 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 toggle 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"
|
|
10617
10983
|
},
|
|
10618
10984
|
{
|
|
10619
10985
|
"kind": "javascript-module",
|
|
@@ -10913,6 +11279,41 @@
|
|
|
10913
11279
|
],
|
|
10914
11280
|
"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"
|
|
10915
11281
|
},
|
|
11282
|
+
{
|
|
11283
|
+
"kind": "javascript-module",
|
|
11284
|
+
"path": "src/common/decorators/observe.ts",
|
|
11285
|
+
"declarations": [
|
|
11286
|
+
{
|
|
11287
|
+
"kind": "function",
|
|
11288
|
+
"name": "observe",
|
|
11289
|
+
"parameters": [
|
|
11290
|
+
{
|
|
11291
|
+
"name": "propertyName",
|
|
11292
|
+
"type": {
|
|
11293
|
+
"text": "string"
|
|
11294
|
+
}
|
|
11295
|
+
},
|
|
11296
|
+
{
|
|
11297
|
+
"name": "lifecycle",
|
|
11298
|
+
"default": "\"update\"",
|
|
11299
|
+
"type": {
|
|
11300
|
+
"text": "ObserveLifecycle"
|
|
11301
|
+
}
|
|
11302
|
+
}
|
|
11303
|
+
]
|
|
11304
|
+
}
|
|
11305
|
+
],
|
|
11306
|
+
"exports": [
|
|
11307
|
+
{
|
|
11308
|
+
"kind": "js",
|
|
11309
|
+
"name": "observe",
|
|
11310
|
+
"declaration": {
|
|
11311
|
+
"name": "observe",
|
|
11312
|
+
"module": "src/common/decorators/observe.ts"
|
|
11313
|
+
}
|
|
11314
|
+
}
|
|
11315
|
+
]
|
|
11316
|
+
},
|
|
10916
11317
|
{
|
|
10917
11318
|
"kind": "javascript-module",
|
|
10918
11319
|
"path": "src/common/controllers/DirectionController.ts",
|
|
@@ -11192,6 +11593,78 @@
|
|
|
11192
11593
|
}
|
|
11193
11594
|
]
|
|
11194
11595
|
},
|
|
11596
|
+
{
|
|
11597
|
+
"kind": "javascript-module",
|
|
11598
|
+
"path": "src/common/controllers/FocusTrapController.ts",
|
|
11599
|
+
"declarations": [
|
|
11600
|
+
{
|
|
11601
|
+
"kind": "class",
|
|
11602
|
+
"description": "",
|
|
11603
|
+
"name": "FocusTrapController",
|
|
11604
|
+
"members": [
|
|
11605
|
+
{
|
|
11606
|
+
"kind": "field",
|
|
11607
|
+
"name": "lastScrollY",
|
|
11608
|
+
"type": {
|
|
11609
|
+
"text": "number"
|
|
11610
|
+
},
|
|
11611
|
+
"privacy": "private",
|
|
11612
|
+
"default": "0"
|
|
11613
|
+
},
|
|
11614
|
+
{
|
|
11615
|
+
"kind": "field",
|
|
11616
|
+
"name": "lastFocused",
|
|
11617
|
+
"type": {
|
|
11618
|
+
"text": "HTMLElement | undefined"
|
|
11619
|
+
},
|
|
11620
|
+
"privacy": "private"
|
|
11621
|
+
},
|
|
11622
|
+
{
|
|
11623
|
+
"kind": "method",
|
|
11624
|
+
"name": "hostDisconnected"
|
|
11625
|
+
},
|
|
11626
|
+
{
|
|
11627
|
+
"kind": "method",
|
|
11628
|
+
"name": "trap"
|
|
11629
|
+
},
|
|
11630
|
+
{
|
|
11631
|
+
"kind": "method",
|
|
11632
|
+
"name": "release"
|
|
11633
|
+
},
|
|
11634
|
+
{
|
|
11635
|
+
"kind": "field",
|
|
11636
|
+
"name": "handleFocusOut",
|
|
11637
|
+
"privacy": "private"
|
|
11638
|
+
},
|
|
11639
|
+
{
|
|
11640
|
+
"kind": "field",
|
|
11641
|
+
"name": "handleFocusIn",
|
|
11642
|
+
"privacy": "private"
|
|
11643
|
+
},
|
|
11644
|
+
{
|
|
11645
|
+
"kind": "method",
|
|
11646
|
+
"name": "recaptureFocus",
|
|
11647
|
+
"privacy": "private"
|
|
11648
|
+
},
|
|
11649
|
+
{
|
|
11650
|
+
"kind": "field",
|
|
11651
|
+
"name": "restoreScroll",
|
|
11652
|
+
"privacy": "private"
|
|
11653
|
+
}
|
|
11654
|
+
]
|
|
11655
|
+
}
|
|
11656
|
+
],
|
|
11657
|
+
"exports": [
|
|
11658
|
+
{
|
|
11659
|
+
"kind": "js",
|
|
11660
|
+
"name": "FocusTrapController",
|
|
11661
|
+
"declaration": {
|
|
11662
|
+
"name": "FocusTrapController",
|
|
11663
|
+
"module": "src/common/controllers/FocusTrapController.ts"
|
|
11664
|
+
}
|
|
11665
|
+
}
|
|
11666
|
+
]
|
|
11667
|
+
},
|
|
11195
11668
|
{
|
|
11196
11669
|
"kind": "javascript-module",
|
|
11197
11670
|
"path": "src/common/controllers/FormDataController.ts",
|
|
@@ -11552,6 +12025,51 @@
|
|
|
11552
12025
|
}
|
|
11553
12026
|
]
|
|
11554
12027
|
},
|
|
12028
|
+
{
|
|
12029
|
+
"kind": "javascript-module",
|
|
12030
|
+
"path": "src/common/controllers/ScrollbarController.ts",
|
|
12031
|
+
"declarations": [
|
|
12032
|
+
{
|
|
12033
|
+
"kind": "class",
|
|
12034
|
+
"description": "",
|
|
12035
|
+
"name": "ScrollbarController",
|
|
12036
|
+
"members": [
|
|
12037
|
+
{
|
|
12038
|
+
"kind": "field",
|
|
12039
|
+
"name": "resets",
|
|
12040
|
+
"privacy": "private",
|
|
12041
|
+
"default": "new Set<() => void>()"
|
|
12042
|
+
},
|
|
12043
|
+
{
|
|
12044
|
+
"kind": "method",
|
|
12045
|
+
"name": "hostDisconnected"
|
|
12046
|
+
},
|
|
12047
|
+
{
|
|
12048
|
+
"kind": "field",
|
|
12049
|
+
"name": "width"
|
|
12050
|
+
},
|
|
12051
|
+
{
|
|
12052
|
+
"kind": "method",
|
|
12053
|
+
"name": "hide"
|
|
12054
|
+
},
|
|
12055
|
+
{
|
|
12056
|
+
"kind": "method",
|
|
12057
|
+
"name": "restore"
|
|
12058
|
+
}
|
|
12059
|
+
]
|
|
12060
|
+
}
|
|
12061
|
+
],
|
|
12062
|
+
"exports": [
|
|
12063
|
+
{
|
|
12064
|
+
"kind": "js",
|
|
12065
|
+
"name": "ScrollbarController",
|
|
12066
|
+
"declaration": {
|
|
12067
|
+
"name": "ScrollbarController",
|
|
12068
|
+
"module": "src/common/controllers/ScrollbarController.ts"
|
|
12069
|
+
}
|
|
12070
|
+
}
|
|
12071
|
+
]
|
|
12072
|
+
},
|
|
11555
12073
|
{
|
|
11556
12074
|
"kind": "javascript-module",
|
|
11557
12075
|
"path": "src/common/controllers/ShortcutController.ts",
|
|
@@ -11807,41 +12325,6 @@
|
|
|
11807
12325
|
}
|
|
11808
12326
|
]
|
|
11809
12327
|
},
|
|
11810
|
-
{
|
|
11811
|
-
"kind": "javascript-module",
|
|
11812
|
-
"path": "src/common/decorators/observe.ts",
|
|
11813
|
-
"declarations": [
|
|
11814
|
-
{
|
|
11815
|
-
"kind": "function",
|
|
11816
|
-
"name": "observe",
|
|
11817
|
-
"parameters": [
|
|
11818
|
-
{
|
|
11819
|
-
"name": "propertyName",
|
|
11820
|
-
"type": {
|
|
11821
|
-
"text": "string"
|
|
11822
|
-
}
|
|
11823
|
-
},
|
|
11824
|
-
{
|
|
11825
|
-
"name": "lifecycle",
|
|
11826
|
-
"default": "\"update\"",
|
|
11827
|
-
"type": {
|
|
11828
|
-
"text": "ObserveLifecycle"
|
|
11829
|
-
}
|
|
11830
|
-
}
|
|
11831
|
-
]
|
|
11832
|
-
}
|
|
11833
|
-
],
|
|
11834
|
-
"exports": [
|
|
11835
|
-
{
|
|
11836
|
-
"kind": "js",
|
|
11837
|
-
"name": "observe",
|
|
11838
|
-
"declaration": {
|
|
11839
|
-
"name": "observe",
|
|
11840
|
-
"module": "src/common/decorators/observe.ts"
|
|
11841
|
-
}
|
|
11842
|
-
}
|
|
11843
|
-
]
|
|
11844
|
-
},
|
|
11845
12328
|
{
|
|
11846
12329
|
"kind": "javascript-module",
|
|
11847
12330
|
"path": "src/common/directives/cond.ts",
|