@nordhealth/components 2.11.0 → 2.12.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 +1745 -1821
- package/lib/{AutocompleteMixin-370de2be.js → AutocompleteMixin-5163f8db.js} +2 -2
- package/lib/{AutocompleteMixin-370de2be.js.map → AutocompleteMixin-5163f8db.js.map} +1 -1
- 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/ButtonGroup.js +1 -1
- package/lib/ButtonGroup.js.map +1 -1
- package/lib/Calendar-e3786f07.js +2 -0
- package/lib/Calendar-e3786f07.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-449e40fb.js +2 -0
- package/lib/Component-449e40fb.js.map +1 -0
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/Divider.js +1 -1
- package/lib/Divider.js.map +1 -1
- package/lib/Drawer.js +1 -1
- package/lib/Drawer.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/Fieldset.js +1 -1
- package/lib/Fieldset.js.map +1 -1
- package/lib/{FocusableMixin-34870ed3.js → FocusableMixin-32631bff.js} +2 -2
- package/lib/{FocusableMixin-34870ed3.js.map → FocusableMixin-32631bff.js.map} +1 -1
- package/lib/FormAssociatedMixin-e8bc2869.js +2 -0
- package/lib/{FormAssociatedMixin-aa74901e.js.map → FormAssociatedMixin-e8bc2869.js.map} +1 -1
- package/lib/FormField-413f22f5.js +2 -0
- package/lib/FormField-413f22f5.js.map +1 -0
- package/lib/Header.js +1 -1
- package/lib/Header.js.map +1 -1
- package/lib/Icon.js +2 -2
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/{InputMixin-158f63fb.js → InputMixin-7fa755e1.js} +2 -2
- package/lib/{InputMixin-158f63fb.js.map → InputMixin-7fa755e1.js.map} +1 -1
- package/lib/Layout.js +1 -1
- package/lib/Layout.js.map +1 -1
- package/lib/LightDomController-052f446a.js +2 -0
- package/lib/{LightDomController-3c726b20.js.map → LightDomController-052f446a.js.map} +1 -1
- package/lib/Modal.js +1 -1
- package/lib/Modal.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/NavToggle.js +1 -1
- package/lib/NavToggle.js.map +1 -1
- package/lib/Navigation.js +1 -1
- package/lib/Navigation.js.map +1 -1
- package/lib/Popout-dae54e30.js +2 -0
- package/lib/{Popout-4aa0cc87.js.map → Popout-dae54e30.js.map} +1 -1
- package/lib/Popout.js +1 -1
- package/lib/ProgressBar.js +1 -1
- package/lib/ProgressBar.js.map +1 -1
- package/lib/Qrcode.js +1 -1
- package/lib/Qrcode.js.map +1 -1
- package/lib/Radio.js +1 -1
- package/lib/Radio.js.map +1 -1
- package/lib/Range.js +1 -1
- package/lib/Range.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/{SizeMixin-4559b224.js → SizeMixin-d5afdb92.js} +2 -2
- package/lib/{SizeMixin-4559b224.js.map → SizeMixin-d5afdb92.js.map} +1 -1
- package/lib/Skeleton.js +1 -1
- package/lib/Skeleton.js.map +1 -1
- 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/Sticky-c4cf185e.js +2 -0
- package/lib/Sticky-c4cf185e.js.map +1 -0
- package/lib/Tab.js +1 -1
- package/lib/Tab.js.map +1 -1
- package/lib/TabGroup.js +1 -1
- package/lib/TabGroup.js.map +1 -1
- package/lib/TabPanel.js +1 -1
- package/lib/TabPanel.js.map +1 -1
- package/lib/Table.js +1 -1
- package/lib/Table.js.map +1 -1
- package/lib/TextField-ca819c35.js +2 -0
- package/lib/{TextField-db22898b.js.map → TextField-ca819c35.js.map} +1 -1
- package/lib/Textarea.js +1 -1
- package/lib/Textarea.js.map +1 -1
- package/lib/Toast.js +1 -1
- package/lib/Toast.js.map +1 -1
- package/lib/ToastGroup.js +1 -1
- package/lib/ToastGroup.js.map +1 -1
- package/lib/Toggle.js +1 -1
- package/lib/Toggle.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 +8 -8
- package/lib/bundle.js.map +1 -1
- package/lib/class-map-21152cee.js +7 -0
- package/lib/{class-map-949b7d3b.js.map → class-map-21152cee.js.map} +1 -1
- package/lib/collection-7eee4e72.js +7 -0
- package/lib/collection-7eee4e72.js.map +1 -0
- package/lib/cond-2da54107.js +2 -0
- package/lib/{cond-338158e9.js.map → cond-2da54107.js.map} +1 -1
- package/lib/date-adapter.js +1 -1
- package/lib/{dates-a8de5b83.js → dates-5b651fbe.js} +2 -2
- package/lib/{dates-a8de5b83.js.map → dates-5b651fbe.js.map} +1 -1
- package/lib/if-defined-720964c0.js +7 -0
- package/lib/{if-defined-4598a996.js.map → if-defined-720964c0.js.map} +1 -1
- package/lib/index.js +1 -1
- package/lib/query-assigned-elements-cf502539.js +35 -0
- package/lib/query-assigned-elements-cf502539.js.map +1 -0
- package/lib/{ref-0e619221.js → ref-c44e9f3c.js} +5 -5
- package/lib/{ref-0e619221.js.map → ref-c44e9f3c.js.map} +1 -1
- package/lib/src/calendar/Calendar.d.ts +10 -3
- package/lib/src/calendar/Calendar.test.d.ts +0 -1
- package/lib/src/date-picker/DatePicker.d.ts +10 -2
- package/lib/src/date-picker/DatePicker.test.d.ts +0 -1
- package/lib/src/modal/Modal.d.ts +1 -1
- package/lib/src/nav-toggle/NavToggle.d.ts +1 -1
- package/lib/src/qrcode/Qrcode.d.ts +1 -1
- package/lib/src/range/Range.d.ts +1 -1
- package/lib/src/tab/Tab.d.ts +1 -1
- package/lib/src/tab-group/TabGroup.d.ts +1 -1
- package/lib/src/tab-panel/TabPanel.d.ts +1 -1
- package/lib/src/toast/Toast.d.ts +1 -1
- package/lib/src/toast-group/ToastGroup.d.ts +1 -1
- package/lib/src/toast-group/ToastGroup.test.d.ts +0 -1
- package/lib/src/toggle/Toggle.d.ts +1 -1
- package/lib/{style-map-2fe03b77.js → style-map-2e8fcab6.js} +2 -2
- package/lib/{style-map-2fe03b77.js.map → style-map-2e8fcab6.js.map} +1 -1
- package/package.json +2 -2
- package/lib/Calendar-29123404.js +0 -2
- package/lib/Calendar-29123404.js.map +0 -1
- package/lib/Component-92eb6234.js +0 -2
- package/lib/Component-92eb6234.js.map +0 -1
- package/lib/FormAssociatedMixin-aa74901e.js +0 -2
- package/lib/FormField-ae3570d2.js +0 -2
- package/lib/FormField-ae3570d2.js.map +0 -1
- package/lib/LightDomController-3c726b20.js +0 -2
- package/lib/Popout-4aa0cc87.js +0 -2
- package/lib/Sticky-991acfdd.js +0 -2
- package/lib/Sticky-991acfdd.js.map +0 -1
- package/lib/TextField-db22898b.js +0 -2
- package/lib/class-map-949b7d3b.js +0 -7
- package/lib/collection-800f5002.js +0 -2
- package/lib/collection-800f5002.js.map +0 -1
- package/lib/cond-338158e9.js +0 -2
- package/lib/if-defined-4598a996.js +0 -7
- package/lib/lit-element-9178eae5.js +0 -24
- package/lib/lit-element-9178eae5.js.map +0 -1
- package/lib/month-view.js +0 -2
- package/lib/month-view.js.map +0 -1
- package/lib/query-assigned-elements-e6cbac30.js +0 -12
- package/lib/query-assigned-elements-e6cbac30.js.map +0 -1
- package/lib/repeat-ae6f075f.js +0 -7
- package/lib/repeat-ae6f075f.js.map +0 -1
- package/lib/src/calendar/month-view.d.ts +0 -32
package/custom-elements.json
CHANGED
|
@@ -570,63 +570,103 @@
|
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
572
|
"kind": "javascript-module",
|
|
573
|
-
"path": "src/
|
|
573
|
+
"path": "src/button-group/ButtonGroup.ts",
|
|
574
574
|
"declarations": [
|
|
575
575
|
{
|
|
576
576
|
"kind": "class",
|
|
577
|
-
"description": "
|
|
578
|
-
"name": "
|
|
577
|
+
"description": "Button groups are designed to bring together button controls that are of a similar nature. For example text formatting controls.",
|
|
578
|
+
"name": "ButtonGroup",
|
|
579
579
|
"cssProperties": [
|
|
580
580
|
{
|
|
581
|
-
"description": "Controls
|
|
582
|
-
"name": "--n-
|
|
583
|
-
"default": "var(--n-border-radius)"
|
|
581
|
+
"description": "Controls the rounded corners of the button, using [border radius tokens](/tokens/#border-radius).",
|
|
582
|
+
"name": "--n-button-group-border-radius",
|
|
583
|
+
"default": "var(--n-border-radius-s)"
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
586
|
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
587
|
-
"name": "--n-
|
|
588
|
-
"default": "var(--n-box-shadow
|
|
587
|
+
"name": "--n-button-group-box-shadow",
|
|
588
|
+
"default": "var(--n-box-shadow)"
|
|
589
589
|
}
|
|
590
590
|
],
|
|
591
591
|
"slots": [
|
|
592
592
|
{
|
|
593
|
-
"description": "
|
|
593
|
+
"description": "The button group content",
|
|
594
594
|
"name": ""
|
|
595
595
|
}
|
|
596
596
|
],
|
|
597
597
|
"members": [
|
|
598
598
|
{
|
|
599
599
|
"kind": "field",
|
|
600
|
-
"name": "
|
|
600
|
+
"name": "direction",
|
|
601
601
|
"type": {
|
|
602
|
-
"text": "\"
|
|
602
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
603
603
|
},
|
|
604
|
-
"default": "\"
|
|
605
|
-
"description": "The
|
|
606
|
-
"attribute": "
|
|
604
|
+
"default": "\"horizontal\"",
|
|
605
|
+
"description": "The direction of the button group.",
|
|
606
|
+
"attribute": "direction",
|
|
607
|
+
"reflects": true
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"kind": "field",
|
|
611
|
+
"name": "role",
|
|
612
|
+
"type": {
|
|
613
|
+
"text": "string"
|
|
614
|
+
},
|
|
615
|
+
"default": "\"group\"",
|
|
616
|
+
"description": "The appropriate role for the containing element.",
|
|
617
|
+
"attribute": "role",
|
|
607
618
|
"reflects": true
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"kind": "field",
|
|
622
|
+
"name": "_warningLogged",
|
|
623
|
+
"type": {
|
|
624
|
+
"text": "boolean"
|
|
625
|
+
},
|
|
626
|
+
"privacy": "private",
|
|
627
|
+
"static": true,
|
|
628
|
+
"default": "false",
|
|
629
|
+
"inheritedFrom": {
|
|
630
|
+
"name": "DraftComponentMixin",
|
|
631
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
632
|
+
}
|
|
608
633
|
}
|
|
609
634
|
],
|
|
610
635
|
"attributes": [
|
|
611
636
|
{
|
|
612
|
-
"name": "
|
|
637
|
+
"name": "direction",
|
|
613
638
|
"type": {
|
|
614
|
-
"text": "\"
|
|
639
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
615
640
|
},
|
|
616
|
-
"default": "\"
|
|
617
|
-
"description": "The
|
|
618
|
-
"fieldName": "
|
|
641
|
+
"default": "\"horizontal\"",
|
|
642
|
+
"description": "The direction of the button group.",
|
|
643
|
+
"fieldName": "direction"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "role",
|
|
647
|
+
"type": {
|
|
648
|
+
"text": "string"
|
|
649
|
+
},
|
|
650
|
+
"default": "\"group\"",
|
|
651
|
+
"description": "The appropriate role for the containing element.",
|
|
652
|
+
"fieldName": "role"
|
|
653
|
+
}
|
|
654
|
+
],
|
|
655
|
+
"mixins": [
|
|
656
|
+
{
|
|
657
|
+
"name": "DraftComponentMixin",
|
|
658
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
619
659
|
}
|
|
620
660
|
],
|
|
621
661
|
"superclass": {
|
|
622
662
|
"name": "LitElement",
|
|
623
663
|
"package": "lit"
|
|
624
664
|
},
|
|
625
|
-
"status": "
|
|
626
|
-
"category": "
|
|
665
|
+
"status": "draft",
|
|
666
|
+
"category": "structure",
|
|
627
667
|
"displayName": null,
|
|
628
668
|
"examples": [],
|
|
629
|
-
"tagName": "nord-
|
|
669
|
+
"tagName": "nord-button-group",
|
|
630
670
|
"customElement": true
|
|
631
671
|
}
|
|
632
672
|
],
|
|
@@ -635,20 +675,20 @@
|
|
|
635
675
|
"kind": "js",
|
|
636
676
|
"name": "default",
|
|
637
677
|
"declaration": {
|
|
638
|
-
"name": "
|
|
639
|
-
"module": "src/
|
|
678
|
+
"name": "ButtonGroup",
|
|
679
|
+
"module": "src/button-group/ButtonGroup.ts"
|
|
640
680
|
}
|
|
641
681
|
},
|
|
642
682
|
{
|
|
643
683
|
"kind": "custom-element-definition",
|
|
644
|
-
"name": "nord-
|
|
684
|
+
"name": "nord-button-group",
|
|
645
685
|
"declaration": {
|
|
646
|
-
"name": "
|
|
647
|
-
"module": "src/
|
|
686
|
+
"name": "ButtonGroup",
|
|
687
|
+
"module": "src/button-group/ButtonGroup.ts"
|
|
648
688
|
}
|
|
649
689
|
}
|
|
650
690
|
],
|
|
651
|
-
"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
|
|
691
|
+
"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 group together buttons, or dropdowns, of a similar nature or purpose.\n- Use the appropriate `role` attribute on the button group to provide additional semantics.\n- Use an `aria-labelledby` attribute referencing another element to best explain the contents of the button group.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t add components other than buttons, dropdowns and in some instances visually hidden components to the button group.\n- Don’t skip the addition of an appropriate label if the added `role` attribute value calls for it.\n- Don’t use for building grid based layouts.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton group labels should be accurate and predictable.\n"
|
|
652
692
|
},
|
|
653
693
|
{
|
|
654
694
|
"kind": "javascript-module",
|
|
@@ -1160,128 +1200,6 @@
|
|
|
1160
1200
|
],
|
|
1161
1201
|
"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- Only use one primary button per section, as a main call-to-action.\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 a primary button in every row of a table.\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## Icon usage in button\n\nIllustrative icons should be always positioned in the `start` slot:\n\n<img src=\"/img/components/button/start-slot.png\" style=\"max-width:700px;\" loading=\"lazy\" height=\"475\" width=\"800\" alt=\"Button with icon in start slot\" />\n\nIf the button toggles a dropdown, the dropdown icon should be placed in the `end` slot and use the `interface-dropdown-small` icon from [Nordicons](/nordicons/):\n\n<img src=\"/img/components/button/dropdown.png\" style=\"max-width:700px;\" loading=\"lazy\" height=\"475\" width=\"800\" alt=\"Dropdown button\" />\n\nEach button size has a recommended icon size. The default button uses the `s` icon size, the [small button](/components/button/?example=small+buttons) uses the `xs` icon size, and the [large button](/components/button/?example=large+buttons) uses the `m` icon size:\n\n<img src=\"/img/components/button/icon-sizes.png\" style=\"max-width:700px;\" loading=\"lazy\" height=\"475\" width=\"800\" alt=\"Button icon sizes\" />\n\nUse `interface-add-small` icon in the `start` slot for create/add type primary actions in the [header](/components/header/):\n\n<img src=\"/img/components/button/create.png\" style=\"max-width:700px;\" loading=\"lazy\" height=\"475\" width=\"800\" alt=\"Create/add type primary action with icon\" />\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"
|
|
1162
1202
|
},
|
|
1163
|
-
{
|
|
1164
|
-
"kind": "javascript-module",
|
|
1165
|
-
"path": "src/button-group/ButtonGroup.ts",
|
|
1166
|
-
"declarations": [
|
|
1167
|
-
{
|
|
1168
|
-
"kind": "class",
|
|
1169
|
-
"description": "Button groups are designed to bring together button controls that are of a similar nature. For example text formatting controls.",
|
|
1170
|
-
"name": "ButtonGroup",
|
|
1171
|
-
"cssProperties": [
|
|
1172
|
-
{
|
|
1173
|
-
"description": "Controls the rounded corners of the button, using [border radius tokens](/tokens/#border-radius).",
|
|
1174
|
-
"name": "--n-button-group-border-radius",
|
|
1175
|
-
"default": "var(--n-border-radius-s)"
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
1179
|
-
"name": "--n-button-group-box-shadow",
|
|
1180
|
-
"default": "var(--n-box-shadow)"
|
|
1181
|
-
}
|
|
1182
|
-
],
|
|
1183
|
-
"slots": [
|
|
1184
|
-
{
|
|
1185
|
-
"description": "The button group content",
|
|
1186
|
-
"name": ""
|
|
1187
|
-
}
|
|
1188
|
-
],
|
|
1189
|
-
"members": [
|
|
1190
|
-
{
|
|
1191
|
-
"kind": "field",
|
|
1192
|
-
"name": "direction",
|
|
1193
|
-
"type": {
|
|
1194
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
1195
|
-
},
|
|
1196
|
-
"default": "\"horizontal\"",
|
|
1197
|
-
"description": "The direction of the button group.",
|
|
1198
|
-
"attribute": "direction",
|
|
1199
|
-
"reflects": true
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"kind": "field",
|
|
1203
|
-
"name": "role",
|
|
1204
|
-
"type": {
|
|
1205
|
-
"text": "string"
|
|
1206
|
-
},
|
|
1207
|
-
"default": "\"group\"",
|
|
1208
|
-
"description": "The appropriate role for the containing element.",
|
|
1209
|
-
"attribute": "role",
|
|
1210
|
-
"reflects": true
|
|
1211
|
-
},
|
|
1212
|
-
{
|
|
1213
|
-
"kind": "field",
|
|
1214
|
-
"name": "_warningLogged",
|
|
1215
|
-
"type": {
|
|
1216
|
-
"text": "boolean"
|
|
1217
|
-
},
|
|
1218
|
-
"privacy": "private",
|
|
1219
|
-
"static": true,
|
|
1220
|
-
"default": "false",
|
|
1221
|
-
"inheritedFrom": {
|
|
1222
|
-
"name": "DraftComponentMixin",
|
|
1223
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
],
|
|
1227
|
-
"attributes": [
|
|
1228
|
-
{
|
|
1229
|
-
"name": "direction",
|
|
1230
|
-
"type": {
|
|
1231
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
1232
|
-
},
|
|
1233
|
-
"default": "\"horizontal\"",
|
|
1234
|
-
"description": "The direction of the button group.",
|
|
1235
|
-
"fieldName": "direction"
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"name": "role",
|
|
1239
|
-
"type": {
|
|
1240
|
-
"text": "string"
|
|
1241
|
-
},
|
|
1242
|
-
"default": "\"group\"",
|
|
1243
|
-
"description": "The appropriate role for the containing element.",
|
|
1244
|
-
"fieldName": "role"
|
|
1245
|
-
}
|
|
1246
|
-
],
|
|
1247
|
-
"mixins": [
|
|
1248
|
-
{
|
|
1249
|
-
"name": "DraftComponentMixin",
|
|
1250
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
1251
|
-
}
|
|
1252
|
-
],
|
|
1253
|
-
"superclass": {
|
|
1254
|
-
"name": "LitElement",
|
|
1255
|
-
"package": "lit"
|
|
1256
|
-
},
|
|
1257
|
-
"status": "draft",
|
|
1258
|
-
"category": "structure",
|
|
1259
|
-
"displayName": null,
|
|
1260
|
-
"examples": [],
|
|
1261
|
-
"tagName": "nord-button-group",
|
|
1262
|
-
"customElement": true
|
|
1263
|
-
}
|
|
1264
|
-
],
|
|
1265
|
-
"exports": [
|
|
1266
|
-
{
|
|
1267
|
-
"kind": "js",
|
|
1268
|
-
"name": "default",
|
|
1269
|
-
"declaration": {
|
|
1270
|
-
"name": "ButtonGroup",
|
|
1271
|
-
"module": "src/button-group/ButtonGroup.ts"
|
|
1272
|
-
}
|
|
1273
|
-
},
|
|
1274
|
-
{
|
|
1275
|
-
"kind": "custom-element-definition",
|
|
1276
|
-
"name": "nord-button-group",
|
|
1277
|
-
"declaration": {
|
|
1278
|
-
"name": "ButtonGroup",
|
|
1279
|
-
"module": "src/button-group/ButtonGroup.ts"
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
],
|
|
1283
|
-
"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 group together buttons, or dropdowns, of a similar nature or purpose.\n- Use the appropriate `role` attribute on the button group to provide additional semantics.\n- Use an `aria-labelledby` attribute referencing another element to best explain the contents of the button group.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t add components other than buttons, dropdowns and in some instances visually hidden components to the button group.\n- Don’t skip the addition of an appropriate label if the added `role` attribute value calls for it.\n- Don’t use for building grid based layouts.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton group labels should be accurate and predictable.\n"
|
|
1284
|
-
},
|
|
1285
1203
|
{
|
|
1286
1204
|
"kind": "javascript-module",
|
|
1287
1205
|
"path": "src/badge/Badge.ts",
|
|
@@ -1371,43 +1289,238 @@
|
|
|
1371
1289
|
},
|
|
1372
1290
|
{
|
|
1373
1291
|
"kind": "javascript-module",
|
|
1374
|
-
"path": "src/
|
|
1292
|
+
"path": "src/banner/Banner.ts",
|
|
1375
1293
|
"declarations": [
|
|
1376
1294
|
{
|
|
1377
1295
|
"kind": "class",
|
|
1378
|
-
"description": "
|
|
1379
|
-
"name": "
|
|
1296
|
+
"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.",
|
|
1297
|
+
"name": "Banner",
|
|
1380
1298
|
"cssProperties": [
|
|
1381
1299
|
{
|
|
1382
1300
|
"description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
|
|
1383
|
-
"name": "--n-
|
|
1301
|
+
"name": "--n-banner-border-radius",
|
|
1384
1302
|
"default": "var(--n-border-radius)"
|
|
1385
1303
|
},
|
|
1386
1304
|
{
|
|
1387
1305
|
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
1388
|
-
"name": "--n-
|
|
1389
|
-
"default": "var(--n-box-shadow-
|
|
1306
|
+
"name": "--n-banner-box-shadow",
|
|
1307
|
+
"default": "var(--n-box-shadow-card)"
|
|
1308
|
+
}
|
|
1309
|
+
],
|
|
1310
|
+
"slots": [
|
|
1311
|
+
{
|
|
1312
|
+
"description": "default slot",
|
|
1313
|
+
"name": ""
|
|
1390
1314
|
}
|
|
1391
1315
|
],
|
|
1392
1316
|
"members": [
|
|
1393
1317
|
{
|
|
1394
1318
|
"kind": "field",
|
|
1395
|
-
"name": "
|
|
1319
|
+
"name": "variant",
|
|
1396
1320
|
"type": {
|
|
1397
|
-
"text": "
|
|
1321
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
1398
1322
|
},
|
|
1399
|
-
"
|
|
1400
|
-
"
|
|
1401
|
-
|
|
1323
|
+
"default": "\"info\"",
|
|
1324
|
+
"description": "The style variant of the banner.",
|
|
1325
|
+
"attribute": "variant",
|
|
1326
|
+
"reflects": true
|
|
1327
|
+
}
|
|
1328
|
+
],
|
|
1329
|
+
"attributes": [
|
|
1402
1330
|
{
|
|
1403
|
-
"
|
|
1404
|
-
"name": "monthSelectNode",
|
|
1331
|
+
"name": "variant",
|
|
1405
1332
|
"type": {
|
|
1406
|
-
"text": "
|
|
1333
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
1407
1334
|
},
|
|
1408
|
-
"
|
|
1409
|
-
|
|
1410
|
-
|
|
1335
|
+
"default": "\"info\"",
|
|
1336
|
+
"description": "The style variant of the banner.",
|
|
1337
|
+
"fieldName": "variant"
|
|
1338
|
+
}
|
|
1339
|
+
],
|
|
1340
|
+
"superclass": {
|
|
1341
|
+
"name": "LitElement",
|
|
1342
|
+
"package": "lit"
|
|
1343
|
+
},
|
|
1344
|
+
"status": "ready",
|
|
1345
|
+
"category": "feedback",
|
|
1346
|
+
"displayName": null,
|
|
1347
|
+
"examples": [],
|
|
1348
|
+
"tagName": "nord-banner",
|
|
1349
|
+
"customElement": true
|
|
1350
|
+
}
|
|
1351
|
+
],
|
|
1352
|
+
"exports": [
|
|
1353
|
+
{
|
|
1354
|
+
"kind": "js",
|
|
1355
|
+
"name": "default",
|
|
1356
|
+
"declaration": {
|
|
1357
|
+
"name": "Banner",
|
|
1358
|
+
"module": "src/banner/Banner.ts"
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"kind": "custom-element-definition",
|
|
1363
|
+
"name": "nord-banner",
|
|
1364
|
+
"declaration": {
|
|
1365
|
+
"name": "Banner",
|
|
1366
|
+
"module": "src/banner/Banner.ts"
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
],
|
|
1370
|
+
"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"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"kind": "javascript-module",
|
|
1374
|
+
"path": "src/card/Card.ts",
|
|
1375
|
+
"declarations": [
|
|
1376
|
+
{
|
|
1377
|
+
"kind": "class",
|
|
1378
|
+
"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.",
|
|
1379
|
+
"name": "Card",
|
|
1380
|
+
"cssProperties": [
|
|
1381
|
+
{
|
|
1382
|
+
"description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
|
|
1383
|
+
"name": "--n-card-border-radius",
|
|
1384
|
+
"default": "var(--n-border-radius)"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
1388
|
+
"name": "--n-card-box-shadow",
|
|
1389
|
+
"default": "var(--n-box-shadow-popout)"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"description": "Controls the padding on all sides of the card.",
|
|
1393
|
+
"name": "--n-card-padding",
|
|
1394
|
+
"default": "var(--n-space-m)"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"description": "Controls the padding of items slotted within the card. This does not affect the block padding of items slotted into the header.",
|
|
1398
|
+
"name": "--n-card-slot-padding",
|
|
1399
|
+
"default": "var(--n-space-m)"
|
|
1400
|
+
}
|
|
1401
|
+
],
|
|
1402
|
+
"slots": [
|
|
1403
|
+
{
|
|
1404
|
+
"description": "The card content.",
|
|
1405
|
+
"name": ""
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"description": "Optional slot that holds a header for the card.",
|
|
1409
|
+
"name": "header"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
|
|
1413
|
+
"name": "header-end"
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"description": "Optional slot that holds footer content for the card.",
|
|
1417
|
+
"name": "footer"
|
|
1418
|
+
}
|
|
1419
|
+
],
|
|
1420
|
+
"members": [
|
|
1421
|
+
{
|
|
1422
|
+
"kind": "field",
|
|
1423
|
+
"name": "headerSlot",
|
|
1424
|
+
"privacy": "private",
|
|
1425
|
+
"default": "new SlotController(this, \"header\")"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"kind": "field",
|
|
1429
|
+
"name": "headerEndSlot",
|
|
1430
|
+
"privacy": "private",
|
|
1431
|
+
"default": "new SlotController(this, \"header-end\")"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"kind": "field",
|
|
1435
|
+
"name": "footerSlot",
|
|
1436
|
+
"privacy": "private",
|
|
1437
|
+
"default": "new SlotController(this, \"footer\")"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"kind": "field",
|
|
1441
|
+
"name": "padding",
|
|
1442
|
+
"type": {
|
|
1443
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1444
|
+
},
|
|
1445
|
+
"default": "\"m\"",
|
|
1446
|
+
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1447
|
+
"attribute": "padding",
|
|
1448
|
+
"reflects": true
|
|
1449
|
+
}
|
|
1450
|
+
],
|
|
1451
|
+
"attributes": [
|
|
1452
|
+
{
|
|
1453
|
+
"name": "padding",
|
|
1454
|
+
"type": {
|
|
1455
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1456
|
+
},
|
|
1457
|
+
"default": "\"m\"",
|
|
1458
|
+
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1459
|
+
"fieldName": "padding"
|
|
1460
|
+
}
|
|
1461
|
+
],
|
|
1462
|
+
"superclass": {
|
|
1463
|
+
"name": "LitElement",
|
|
1464
|
+
"package": "lit"
|
|
1465
|
+
},
|
|
1466
|
+
"status": "ready",
|
|
1467
|
+
"category": "structure",
|
|
1468
|
+
"displayName": null,
|
|
1469
|
+
"examples": [],
|
|
1470
|
+
"tagName": "nord-card",
|
|
1471
|
+
"customElement": true
|
|
1472
|
+
}
|
|
1473
|
+
],
|
|
1474
|
+
"exports": [
|
|
1475
|
+
{
|
|
1476
|
+
"kind": "js",
|
|
1477
|
+
"name": "default",
|
|
1478
|
+
"declaration": {
|
|
1479
|
+
"name": "Card",
|
|
1480
|
+
"module": "src/card/Card.ts"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"kind": "custom-element-definition",
|
|
1485
|
+
"name": "nord-card",
|
|
1486
|
+
"declaration": {
|
|
1487
|
+
"name": "Card",
|
|
1488
|
+
"module": "src/card/Card.ts"
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
],
|
|
1492
|
+
"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- Include a header when placing a [Table](/components/table) component inside the card.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t place cards within cards. Consider using the [divider](/components/divider/) component to break up sections instead.\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"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"kind": "javascript-module",
|
|
1496
|
+
"path": "src/calendar/Calendar.ts",
|
|
1497
|
+
"declarations": [
|
|
1498
|
+
{
|
|
1499
|
+
"kind": "class",
|
|
1500
|
+
"description": "Calendar allows user to pick a date. It comes with built-in\nfunctionality that allows you to set a minimum and a maximum allowed date.\nPlease note that the date must be passed in ISO-8601 format.",
|
|
1501
|
+
"name": "Calendar",
|
|
1502
|
+
"cssProperties": [
|
|
1503
|
+
{
|
|
1504
|
+
"description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
|
|
1505
|
+
"name": "--n-calendar-border-radius",
|
|
1506
|
+
"default": "var(--n-border-radius)"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
1510
|
+
"name": "--n-calendar-box-shadow",
|
|
1511
|
+
"default": "var(--n-box-shadow-popout)"
|
|
1512
|
+
}
|
|
1513
|
+
],
|
|
1514
|
+
"members": [
|
|
1515
|
+
{
|
|
1516
|
+
"kind": "field",
|
|
1517
|
+
"name": "monthSelectNode",
|
|
1518
|
+
"type": {
|
|
1519
|
+
"text": "HTMLElement"
|
|
1520
|
+
},
|
|
1521
|
+
"privacy": "private"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1411
1524
|
"kind": "field",
|
|
1412
1525
|
"name": "focusedDayNode",
|
|
1413
1526
|
"type": {
|
|
@@ -1533,11 +1646,20 @@
|
|
|
1533
1646
|
"kind": "field",
|
|
1534
1647
|
"name": "isDateDisabled",
|
|
1535
1648
|
"type": {
|
|
1536
|
-
"text": "
|
|
1649
|
+
"text": "DatePredicate"
|
|
1537
1650
|
},
|
|
1538
1651
|
"default": "isDateDisabled",
|
|
1539
1652
|
"description": "Controls which days are disabled and therefore disallowed.\nFor example, this can be used to disallow selection of weekends."
|
|
1540
1653
|
},
|
|
1654
|
+
{
|
|
1655
|
+
"kind": "field",
|
|
1656
|
+
"name": "isDateHighlighted",
|
|
1657
|
+
"type": {
|
|
1658
|
+
"text": "(date: Date) => string | boolean"
|
|
1659
|
+
},
|
|
1660
|
+
"default": "isDateHighlighted",
|
|
1661
|
+
"description": "Controls which days are highlighted with a small indicator.\nReturning a \"falsy\" value will not show an indicator.\nReturning \"truthy\" value will show the indicator, but without an accessible label.\nReturning a string will show the indicator, and use the string as accessible label.\nIt is recommended to return a string rather than a truthy value whenever possible."
|
|
1662
|
+
},
|
|
1541
1663
|
{
|
|
1542
1664
|
"kind": "field",
|
|
1543
1665
|
"name": "activeFocus",
|
|
@@ -1853,55 +1975,6 @@
|
|
|
1853
1975
|
],
|
|
1854
1976
|
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when the user needs to choose a single date or a date range.\n- Close calendar after a single date is selected, unless a range with a start and end date is required.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for entering date of birth. Use input component instead.\n- Don’t use for choosing a date that is over 10 years in the future or the past.\n\n</div>\n\n---\n\n## Keyboard accessibility\n\nCalendar component is built to closely follow [W3C Date Picker Dialog example](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/datepicker-dialog.html) with some small exceptions to e.g. better support iOS VoiceOver and Android TalkBack.\n\n### Month/year buttons\n\n- `Space, Enter`: Changes the month and/or year displayed.\n\n### Calendar grid\n\n- `Space, Enter`: Selects a date.\n- `Arrow up`: Moves focus to the same day of the previous week.\n- `Arrow down`: Moves focus to the same day of the next week.\n- `Arrow right`: Moves focus to the next day. In right-to-left languages, moves focus to the previous day.\n- `Arrow left`: Moves focus to the previous day. In right-to-left languages, moves focus to the next day.\n- `Home`: Moves focus to the first day (e.g Monday) of the current week.\n- `End`: Moves focus to the last day (e.g. Sunday) of the current week.\n- `Page Up`: Changes the grid of dates to the previous month and sets focus on the same day of the same week.\n- `Shift + Page Up`: Changes the grid of dates to the previous year and sets focus on the same day of the same week.\n- `Page Down`: Changes the grid of dates to the next month and sets focus on the same day of the same week.\n- `Shift + Page Down`: Changes the grid of dates to the next year and sets focus on the same day of the same week.\n"
|
|
1855
1977
|
},
|
|
1856
|
-
{
|
|
1857
|
-
"kind": "javascript-module",
|
|
1858
|
-
"path": "src/calendar/month-view.ts",
|
|
1859
|
-
"declarations": [
|
|
1860
|
-
{
|
|
1861
|
-
"kind": "function",
|
|
1862
|
-
"name": "dayView",
|
|
1863
|
-
"parameters": [
|
|
1864
|
-
{
|
|
1865
|
-
"name": "{\n focusedDay,\n today,\n day,\n onDaySelect,\n onKeyboardNavigation,\n disabled,\n inRange,\n isSelected,\n dateFormatter,\n}",
|
|
1866
|
-
"type": {
|
|
1867
|
-
"text": "DatePickerDayProps"
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
]
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"kind": "function",
|
|
1874
|
-
"name": "monthView",
|
|
1875
|
-
"parameters": [
|
|
1876
|
-
{
|
|
1877
|
-
"name": "{\n onFocusIn,\n onFocusOut,\n selectedDate,\n focusedDate,\n labelledById,\n dayNames,\n dayNamesShort,\n firstDayOfWeek,\n min,\n max,\n dateFormatter,\n isDateDisabled,\n onDateSelect,\n onKeyboardNavigation,\n}",
|
|
1878
|
-
"type": {
|
|
1879
|
-
"text": "MonthViewArgs"
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
]
|
|
1883
|
-
}
|
|
1884
|
-
],
|
|
1885
|
-
"exports": [
|
|
1886
|
-
{
|
|
1887
|
-
"kind": "js",
|
|
1888
|
-
"name": "dayView",
|
|
1889
|
-
"declaration": {
|
|
1890
|
-
"name": "dayView",
|
|
1891
|
-
"module": "src/calendar/month-view.ts"
|
|
1892
|
-
}
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
"kind": "js",
|
|
1896
|
-
"name": "monthView",
|
|
1897
|
-
"declaration": {
|
|
1898
|
-
"name": "monthView",
|
|
1899
|
-
"module": "src/calendar/month-view.ts"
|
|
1900
|
-
}
|
|
1901
|
-
}
|
|
1902
|
-
],
|
|
1903
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when the user needs to choose a single date or a date range.\n- Close calendar after a single date is selected, unless a range with a start and end date is required.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for entering date of birth. Use input component instead.\n- Don’t use for choosing a date that is over 10 years in the future or the past.\n\n</div>\n\n---\n\n## Keyboard accessibility\n\nCalendar component is built to closely follow [W3C Date Picker Dialog example](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/datepicker-dialog.html) with some small exceptions to e.g. better support iOS VoiceOver and Android TalkBack.\n\n### Month/year buttons\n\n- `Space, Enter`: Changes the month and/or year displayed.\n\n### Calendar grid\n\n- `Space, Enter`: Selects a date.\n- `Arrow up`: Moves focus to the same day of the previous week.\n- `Arrow down`: Moves focus to the same day of the next week.\n- `Arrow right`: Moves focus to the next day. In right-to-left languages, moves focus to the previous day.\n- `Arrow left`: Moves focus to the previous day. In right-to-left languages, moves focus to the next day.\n- `Home`: Moves focus to the first day (e.g Monday) of the current week.\n- `End`: Moves focus to the last day (e.g. Sunday) of the current week.\n- `Page Up`: Changes the grid of dates to the previous month and sets focus on the same day of the same week.\n- `Shift + Page Up`: Changes the grid of dates to the previous year and sets focus on the same day of the same week.\n- `Page Down`: Changes the grid of dates to the next month and sets focus on the same day of the same week.\n- `Shift + Page Down`: Changes the grid of dates to the next year and sets focus on the same day of the same week.\n"
|
|
1904
|
-
},
|
|
1905
1978
|
{
|
|
1906
1979
|
"kind": "javascript-module",
|
|
1907
1980
|
"path": "src/checkbox/Checkbox.ts",
|
|
@@ -2578,144 +2651,22 @@
|
|
|
2578
2651
|
},
|
|
2579
2652
|
{
|
|
2580
2653
|
"kind": "javascript-module",
|
|
2581
|
-
"path": "src/
|
|
2654
|
+
"path": "src/command-menu/CommandMenu.ts",
|
|
2582
2655
|
"declarations": [
|
|
2583
2656
|
{
|
|
2584
2657
|
"kind": "class",
|
|
2585
|
-
"description": "
|
|
2586
|
-
"name": "
|
|
2658
|
+
"description": "Command Menu allows users to navigate and use an app without\ntouching the mouse and helps them transform into “power users”\nwho can harness more advanced features far faster.",
|
|
2659
|
+
"name": "CommandMenu",
|
|
2587
2660
|
"cssProperties": [
|
|
2588
2661
|
{
|
|
2589
|
-
"description": "Controls
|
|
2590
|
-
"name": "--n-
|
|
2591
|
-
"default": "
|
|
2592
|
-
},
|
|
2593
|
-
{
|
|
2594
|
-
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
2595
|
-
"name": "--n-card-box-shadow",
|
|
2596
|
-
"default": "var(--n-box-shadow-popout)"
|
|
2662
|
+
"description": "Controls the max inline size, or width, of the command menu.",
|
|
2663
|
+
"name": "--n-command-menu-inline-size",
|
|
2664
|
+
"default": "640px"
|
|
2597
2665
|
},
|
|
2598
2666
|
{
|
|
2599
|
-
"description": "Controls the
|
|
2600
|
-
"name": "--n-
|
|
2601
|
-
"default": "
|
|
2602
|
-
},
|
|
2603
|
-
{
|
|
2604
|
-
"description": "Controls the padding of items slotted within the card. This does not affect the block padding of items slotted into the header.",
|
|
2605
|
-
"name": "--n-card-slot-padding",
|
|
2606
|
-
"default": "var(--n-space-m)"
|
|
2607
|
-
}
|
|
2608
|
-
],
|
|
2609
|
-
"slots": [
|
|
2610
|
-
{
|
|
2611
|
-
"description": "The card content.",
|
|
2612
|
-
"name": ""
|
|
2613
|
-
},
|
|
2614
|
-
{
|
|
2615
|
-
"description": "Optional slot that holds a header for the card.",
|
|
2616
|
-
"name": "header"
|
|
2617
|
-
},
|
|
2618
|
-
{
|
|
2619
|
-
"description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
|
|
2620
|
-
"name": "header-end"
|
|
2621
|
-
},
|
|
2622
|
-
{
|
|
2623
|
-
"description": "Optional slot that holds footer content for the card.",
|
|
2624
|
-
"name": "footer"
|
|
2625
|
-
}
|
|
2626
|
-
],
|
|
2627
|
-
"members": [
|
|
2628
|
-
{
|
|
2629
|
-
"kind": "field",
|
|
2630
|
-
"name": "headerSlot",
|
|
2631
|
-
"privacy": "private",
|
|
2632
|
-
"default": "new SlotController(this, \"header\")"
|
|
2633
|
-
},
|
|
2634
|
-
{
|
|
2635
|
-
"kind": "field",
|
|
2636
|
-
"name": "headerEndSlot",
|
|
2637
|
-
"privacy": "private",
|
|
2638
|
-
"default": "new SlotController(this, \"header-end\")"
|
|
2639
|
-
},
|
|
2640
|
-
{
|
|
2641
|
-
"kind": "field",
|
|
2642
|
-
"name": "footerSlot",
|
|
2643
|
-
"privacy": "private",
|
|
2644
|
-
"default": "new SlotController(this, \"footer\")"
|
|
2645
|
-
},
|
|
2646
|
-
{
|
|
2647
|
-
"kind": "field",
|
|
2648
|
-
"name": "padding",
|
|
2649
|
-
"type": {
|
|
2650
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
2651
|
-
},
|
|
2652
|
-
"default": "\"m\"",
|
|
2653
|
-
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
2654
|
-
"attribute": "padding",
|
|
2655
|
-
"reflects": true
|
|
2656
|
-
}
|
|
2657
|
-
],
|
|
2658
|
-
"attributes": [
|
|
2659
|
-
{
|
|
2660
|
-
"name": "padding",
|
|
2661
|
-
"type": {
|
|
2662
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
2663
|
-
},
|
|
2664
|
-
"default": "\"m\"",
|
|
2665
|
-
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
2666
|
-
"fieldName": "padding"
|
|
2667
|
-
}
|
|
2668
|
-
],
|
|
2669
|
-
"superclass": {
|
|
2670
|
-
"name": "LitElement",
|
|
2671
|
-
"package": "lit"
|
|
2672
|
-
},
|
|
2673
|
-
"status": "ready",
|
|
2674
|
-
"category": "structure",
|
|
2675
|
-
"displayName": null,
|
|
2676
|
-
"examples": [],
|
|
2677
|
-
"tagName": "nord-card",
|
|
2678
|
-
"customElement": true
|
|
2679
|
-
}
|
|
2680
|
-
],
|
|
2681
|
-
"exports": [
|
|
2682
|
-
{
|
|
2683
|
-
"kind": "js",
|
|
2684
|
-
"name": "default",
|
|
2685
|
-
"declaration": {
|
|
2686
|
-
"name": "Card",
|
|
2687
|
-
"module": "src/card/Card.ts"
|
|
2688
|
-
}
|
|
2689
|
-
},
|
|
2690
|
-
{
|
|
2691
|
-
"kind": "custom-element-definition",
|
|
2692
|
-
"name": "nord-card",
|
|
2693
|
-
"declaration": {
|
|
2694
|
-
"name": "Card",
|
|
2695
|
-
"module": "src/card/Card.ts"
|
|
2696
|
-
}
|
|
2697
|
-
}
|
|
2698
|
-
],
|
|
2699
|
-
"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- Include a header when placing a [Table](/components/table) component inside the card.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t place cards within cards. Consider using the [divider](/components/divider/) component to break up sections instead.\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"
|
|
2700
|
-
},
|
|
2701
|
-
{
|
|
2702
|
-
"kind": "javascript-module",
|
|
2703
|
-
"path": "src/command-menu/CommandMenu.ts",
|
|
2704
|
-
"declarations": [
|
|
2705
|
-
{
|
|
2706
|
-
"kind": "class",
|
|
2707
|
-
"description": "Command Menu allows users to navigate and use an app without\ntouching the mouse and helps them transform into “power users”\nwho can harness more advanced features far faster.",
|
|
2708
|
-
"name": "CommandMenu",
|
|
2709
|
-
"cssProperties": [
|
|
2710
|
-
{
|
|
2711
|
-
"description": "Controls the max inline size, or width, of the command menu.",
|
|
2712
|
-
"name": "--n-command-menu-inline-size",
|
|
2713
|
-
"default": "640px"
|
|
2714
|
-
},
|
|
2715
|
-
{
|
|
2716
|
-
"description": "Controls the max block size, or height, of the command menu.",
|
|
2717
|
-
"name": "--n-command-menu-block-size",
|
|
2718
|
-
"default": "290px"
|
|
2667
|
+
"description": "Controls the max block size, or height, of the command menu.",
|
|
2668
|
+
"name": "--n-command-menu-block-size",
|
|
2669
|
+
"default": "290px"
|
|
2719
2670
|
},
|
|
2720
2671
|
{
|
|
2721
2672
|
"description": "Controls the command menu offset from the block start, or top, of the screen.",
|
|
@@ -4738,11 +4689,20 @@
|
|
|
4738
4689
|
"kind": "field",
|
|
4739
4690
|
"name": "isDateDisabled",
|
|
4740
4691
|
"type": {
|
|
4741
|
-
"text": "
|
|
4692
|
+
"text": "DatePredicate"
|
|
4742
4693
|
},
|
|
4743
4694
|
"default": "isDateDisabled",
|
|
4744
4695
|
"description": "Controls which days are disabled and therefore disallowed.\nFor example, this can be used to disallow selection of weekends."
|
|
4745
4696
|
},
|
|
4697
|
+
{
|
|
4698
|
+
"kind": "field",
|
|
4699
|
+
"name": "isDateHighlighted",
|
|
4700
|
+
"type": {
|
|
4701
|
+
"text": "(date: Date) => string | boolean"
|
|
4702
|
+
},
|
|
4703
|
+
"default": "isDateHighlighted",
|
|
4704
|
+
"description": "Controls which days are highlighted with a small indicator.\nReturning `false` will not show an indicator.\nReturning `true` will show the indicator, but without an accessible label. Therefore\nReturning a string will show the indicator, and use the string as accessible label.\nIt is recommended to return a string rather than `true` whenever possible."
|
|
4705
|
+
},
|
|
4746
4706
|
{
|
|
4747
4707
|
"kind": "field",
|
|
4748
4708
|
"name": "expand",
|
|
@@ -8465,7 +8425,7 @@
|
|
|
8465
8425
|
"name": "LitElement",
|
|
8466
8426
|
"package": "lit"
|
|
8467
8427
|
},
|
|
8468
|
-
"status": "
|
|
8428
|
+
"status": "ready",
|
|
8469
8429
|
"category": "overlay",
|
|
8470
8430
|
"displayName": null,
|
|
8471
8431
|
"examples": [],
|
|
@@ -9052,37 +9012,19 @@
|
|
|
9052
9012
|
"name": "FocusableMixin",
|
|
9053
9013
|
"module": "src/common/mixins/FocusableMixin.ts"
|
|
9054
9014
|
}
|
|
9055
|
-
},
|
|
9056
|
-
{
|
|
9057
|
-
"kind": "field",
|
|
9058
|
-
"name": "_warningLogged",
|
|
9059
|
-
"type": {
|
|
9060
|
-
"text": "boolean"
|
|
9061
|
-
},
|
|
9062
|
-
"privacy": "private",
|
|
9063
|
-
"static": true,
|
|
9064
|
-
"default": "false",
|
|
9065
|
-
"inheritedFrom": {
|
|
9066
|
-
"name": "DraftComponentMixin",
|
|
9067
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
9068
|
-
}
|
|
9069
9015
|
}
|
|
9070
9016
|
],
|
|
9071
9017
|
"mixins": [
|
|
9072
9018
|
{
|
|
9073
9019
|
"name": "FocusableMixin",
|
|
9074
9020
|
"module": "/src/common/mixins/FocusableMixin.js"
|
|
9075
|
-
},
|
|
9076
|
-
{
|
|
9077
|
-
"name": "DraftComponentMixin",
|
|
9078
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
9079
9021
|
}
|
|
9080
9022
|
],
|
|
9081
9023
|
"superclass": {
|
|
9082
9024
|
"name": "LitElement",
|
|
9083
9025
|
"package": "lit"
|
|
9084
9026
|
},
|
|
9085
|
-
"status": "
|
|
9027
|
+
"status": "new",
|
|
9086
9028
|
"category": "action",
|
|
9087
9029
|
"displayName": null,
|
|
9088
9030
|
"examples": [],
|
|
@@ -9690,281 +9632,96 @@
|
|
|
9690
9632
|
},
|
|
9691
9633
|
{
|
|
9692
9634
|
"kind": "javascript-module",
|
|
9693
|
-
"path": "src/
|
|
9635
|
+
"path": "src/radio/Radio.ts",
|
|
9694
9636
|
"declarations": [
|
|
9695
9637
|
{
|
|
9696
9638
|
"kind": "class",
|
|
9697
|
-
"description": "
|
|
9698
|
-
"name": "
|
|
9699
|
-
"
|
|
9639
|
+
"description": "Radio buttons are graphical user interface elements that allow user to choose only one option from\na predefined set of mutually exclusive options.",
|
|
9640
|
+
"name": "Radio",
|
|
9641
|
+
"slots": [
|
|
9700
9642
|
{
|
|
9701
|
-
"
|
|
9702
|
-
"name": "
|
|
9703
|
-
"type": {
|
|
9704
|
-
"text": "HTMLElement"
|
|
9705
|
-
},
|
|
9706
|
-
"privacy": "private"
|
|
9643
|
+
"description": "Use when a label requires more than plain text.",
|
|
9644
|
+
"name": "label"
|
|
9707
9645
|
},
|
|
9708
9646
|
{
|
|
9709
|
-
"
|
|
9710
|
-
"name": "
|
|
9711
|
-
"type": {
|
|
9712
|
-
"text": "HTMLElement"
|
|
9713
|
-
},
|
|
9714
|
-
"privacy": "private"
|
|
9647
|
+
"description": "Optional slot that holds hint text for the input.",
|
|
9648
|
+
"name": "hint"
|
|
9715
9649
|
},
|
|
9650
|
+
{
|
|
9651
|
+
"description": "Optional slot that holds error text for the input.",
|
|
9652
|
+
"name": "error"
|
|
9653
|
+
}
|
|
9654
|
+
],
|
|
9655
|
+
"members": [
|
|
9716
9656
|
{
|
|
9717
9657
|
"kind": "field",
|
|
9718
|
-
"name": "
|
|
9658
|
+
"name": "inputId",
|
|
9719
9659
|
"type": {
|
|
9720
9660
|
"text": "string"
|
|
9721
9661
|
},
|
|
9722
|
-
"
|
|
9723
|
-
"
|
|
9724
|
-
"
|
|
9725
|
-
|
|
9662
|
+
"privacy": "protected",
|
|
9663
|
+
"default": "\"input\"",
|
|
9664
|
+
"inheritedFrom": {
|
|
9665
|
+
"name": "FormAssociatedMixin",
|
|
9666
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9667
|
+
}
|
|
9726
9668
|
},
|
|
9727
9669
|
{
|
|
9728
9670
|
"kind": "field",
|
|
9729
|
-
"name": "
|
|
9671
|
+
"name": "hintId",
|
|
9730
9672
|
"type": {
|
|
9731
9673
|
"text": "string"
|
|
9732
9674
|
},
|
|
9733
|
-
"
|
|
9734
|
-
"
|
|
9735
|
-
"
|
|
9736
|
-
|
|
9675
|
+
"privacy": "protected",
|
|
9676
|
+
"default": "\"hint\"",
|
|
9677
|
+
"inheritedFrom": {
|
|
9678
|
+
"name": "FormAssociatedMixin",
|
|
9679
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9680
|
+
}
|
|
9737
9681
|
},
|
|
9738
9682
|
{
|
|
9739
9683
|
"kind": "field",
|
|
9740
|
-
"name": "
|
|
9684
|
+
"name": "errorId",
|
|
9741
9685
|
"type": {
|
|
9742
|
-
"text": "
|
|
9686
|
+
"text": "string"
|
|
9743
9687
|
},
|
|
9744
|
-
"
|
|
9745
|
-
"
|
|
9746
|
-
"
|
|
9747
|
-
|
|
9688
|
+
"privacy": "protected",
|
|
9689
|
+
"default": "\"error\"",
|
|
9690
|
+
"inheritedFrom": {
|
|
9691
|
+
"name": "FormAssociatedMixin",
|
|
9692
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9693
|
+
}
|
|
9748
9694
|
},
|
|
9749
9695
|
{
|
|
9750
9696
|
"kind": "field",
|
|
9751
|
-
"name": "
|
|
9752
|
-
"
|
|
9753
|
-
|
|
9754
|
-
|
|
9755
|
-
"
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9697
|
+
"name": "hintSlot",
|
|
9698
|
+
"privacy": "protected",
|
|
9699
|
+
"default": "new LightSlotController(this, {\n slotName: \"hint\",\n render: () => (this.hint ? html`<div slot=\"hint-internal\" id=${this.hintId}>${this.hint}</div>` : nothing),\n syncLightDom: element => {\n element.id = this.hintId\n },\n })",
|
|
9700
|
+
"description": "For accessibility reasons, we render some parts of the component to the light DOM.",
|
|
9701
|
+
"inheritedFrom": {
|
|
9702
|
+
"name": "FormAssociatedMixin",
|
|
9703
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9704
|
+
}
|
|
9759
9705
|
},
|
|
9760
9706
|
{
|
|
9761
9707
|
"kind": "field",
|
|
9762
|
-
"name": "
|
|
9763
|
-
"
|
|
9764
|
-
|
|
9765
|
-
|
|
9766
|
-
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
"reflects": true
|
|
9708
|
+
"name": "labelSlot",
|
|
9709
|
+
"privacy": "protected",
|
|
9710
|
+
"default": "new LightSlotController(this, {\n slotName: \"label\",\n render: () => (this.label ? html`<label slot=\"label-internal\" for=${this.inputId}>${this.label}</label>` : nothing),\n syncLightDom: element => {\n if (!isLabel(element)) {\n // eslint-disable-next-line no-console\n console.warn(`NORD: Only <label> elements should be placed in radio's \"label\" slot`)\n } else {\n element.htmlFor = this.inputId\n }\n },\n })",
|
|
9711
|
+
"inheritedFrom": {
|
|
9712
|
+
"name": "FormAssociatedMixin",
|
|
9713
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9714
|
+
}
|
|
9770
9715
|
},
|
|
9771
9716
|
{
|
|
9772
9717
|
"kind": "field",
|
|
9773
|
-
"name": "
|
|
9774
|
-
"
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
"reflects": true
|
|
9781
|
-
},
|
|
9782
|
-
{
|
|
9783
|
-
"kind": "method",
|
|
9784
|
-
"name": "generate",
|
|
9785
|
-
"privacy": "private"
|
|
9786
|
-
}
|
|
9787
|
-
],
|
|
9788
|
-
"attributes": [
|
|
9789
|
-
{
|
|
9790
|
-
"name": "value",
|
|
9791
|
-
"type": {
|
|
9792
|
-
"text": "string"
|
|
9793
|
-
},
|
|
9794
|
-
"default": "\"\"",
|
|
9795
|
-
"description": "The value of the QR Code, most commonly an URL.",
|
|
9796
|
-
"fieldName": "value"
|
|
9797
|
-
},
|
|
9798
|
-
{
|
|
9799
|
-
"name": "label",
|
|
9800
|
-
"type": {
|
|
9801
|
-
"text": "string"
|
|
9802
|
-
},
|
|
9803
|
-
"default": "\"\"",
|
|
9804
|
-
"description": "Label used by assistive technology. If unspecified, the value will\nbe used instead.",
|
|
9805
|
-
"fieldName": "label"
|
|
9806
|
-
},
|
|
9807
|
-
{
|
|
9808
|
-
"name": "size",
|
|
9809
|
-
"type": {
|
|
9810
|
-
"text": "number"
|
|
9811
|
-
},
|
|
9812
|
-
"default": "128",
|
|
9813
|
-
"description": "The size of the rendered QR Code in pixels.",
|
|
9814
|
-
"fieldName": "size"
|
|
9815
|
-
},
|
|
9816
|
-
{
|
|
9817
|
-
"name": "color",
|
|
9818
|
-
"type": {
|
|
9819
|
-
"text": "string"
|
|
9820
|
-
},
|
|
9821
|
-
"default": "\"var(--n-color-text)\"",
|
|
9822
|
-
"description": "The fill color of the QR Code.\nCan accept any valid CSS color value, including custom properties.",
|
|
9823
|
-
"fieldName": "color"
|
|
9824
|
-
},
|
|
9825
|
-
{
|
|
9826
|
-
"name": "background",
|
|
9827
|
-
"type": {
|
|
9828
|
-
"text": "string"
|
|
9829
|
-
},
|
|
9830
|
-
"default": "\"var(--n-color-surface)\"",
|
|
9831
|
-
"description": "The background color of the QR Code.\nCan accept any valid CSS color value, including custom properties.",
|
|
9832
|
-
"fieldName": "background"
|
|
9833
|
-
},
|
|
9834
|
-
{
|
|
9835
|
-
"name": "correction",
|
|
9836
|
-
"type": {
|
|
9837
|
-
"text": "\"L\" | \"M\" | \"Q\" | \"H\""
|
|
9838
|
-
},
|
|
9839
|
-
"default": "\"H\"",
|
|
9840
|
-
"description": "Error correction level makes the QR Code bigger and helps users to\nscan it without issues. L, M, Q and H values will use 7%, 15%, 25%\nand 30% of the QR code for error correction respectively.",
|
|
9841
|
-
"fieldName": "correction"
|
|
9842
|
-
}
|
|
9843
|
-
],
|
|
9844
|
-
"superclass": {
|
|
9845
|
-
"name": "LitElement",
|
|
9846
|
-
"package": "lit"
|
|
9847
|
-
},
|
|
9848
|
-
"status": "new",
|
|
9849
|
-
"category": "image",
|
|
9850
|
-
"displayName": "QR Code",
|
|
9851
|
-
"examples": [],
|
|
9852
|
-
"tagName": "nord-qrcode",
|
|
9853
|
-
"customElement": true
|
|
9854
|
-
}
|
|
9855
|
-
],
|
|
9856
|
-
"exports": [
|
|
9857
|
-
{
|
|
9858
|
-
"kind": "js",
|
|
9859
|
-
"name": "default",
|
|
9860
|
-
"declaration": {
|
|
9861
|
-
"name": "Qrcode",
|
|
9862
|
-
"module": "src/qrcode/Qrcode.ts"
|
|
9863
|
-
}
|
|
9864
|
-
},
|
|
9865
|
-
{
|
|
9866
|
-
"kind": "custom-element-definition",
|
|
9867
|
-
"name": "nord-qrcode",
|
|
9868
|
-
"declaration": {
|
|
9869
|
-
"name": "Qrcode",
|
|
9870
|
-
"module": "src/qrcode/Qrcode.ts"
|
|
9871
|
-
}
|
|
9872
|
-
}
|
|
9873
|
-
],
|
|
9874
|
-
"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 allow people to access information on their smartphone without the need to type.\n- Always provide an alternative way to access the same information.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t hide important information behind a QR Code only.\n\n</div>\n"
|
|
9875
|
-
},
|
|
9876
|
-
{
|
|
9877
|
-
"kind": "javascript-module",
|
|
9878
|
-
"path": "src/radio/Radio.ts",
|
|
9879
|
-
"declarations": [
|
|
9880
|
-
{
|
|
9881
|
-
"kind": "class",
|
|
9882
|
-
"description": "Radio buttons are graphical user interface elements that allow user to choose only one option from\na predefined set of mutually exclusive options.",
|
|
9883
|
-
"name": "Radio",
|
|
9884
|
-
"slots": [
|
|
9885
|
-
{
|
|
9886
|
-
"description": "Use when a label requires more than plain text.",
|
|
9887
|
-
"name": "label"
|
|
9888
|
-
},
|
|
9889
|
-
{
|
|
9890
|
-
"description": "Optional slot that holds hint text for the input.",
|
|
9891
|
-
"name": "hint"
|
|
9892
|
-
},
|
|
9893
|
-
{
|
|
9894
|
-
"description": "Optional slot that holds error text for the input.",
|
|
9895
|
-
"name": "error"
|
|
9896
|
-
}
|
|
9897
|
-
],
|
|
9898
|
-
"members": [
|
|
9899
|
-
{
|
|
9900
|
-
"kind": "field",
|
|
9901
|
-
"name": "inputId",
|
|
9902
|
-
"type": {
|
|
9903
|
-
"text": "string"
|
|
9904
|
-
},
|
|
9905
|
-
"privacy": "protected",
|
|
9906
|
-
"default": "\"input\"",
|
|
9907
|
-
"inheritedFrom": {
|
|
9908
|
-
"name": "FormAssociatedMixin",
|
|
9909
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9910
|
-
}
|
|
9911
|
-
},
|
|
9912
|
-
{
|
|
9913
|
-
"kind": "field",
|
|
9914
|
-
"name": "hintId",
|
|
9915
|
-
"type": {
|
|
9916
|
-
"text": "string"
|
|
9917
|
-
},
|
|
9918
|
-
"privacy": "protected",
|
|
9919
|
-
"default": "\"hint\"",
|
|
9920
|
-
"inheritedFrom": {
|
|
9921
|
-
"name": "FormAssociatedMixin",
|
|
9922
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9923
|
-
}
|
|
9924
|
-
},
|
|
9925
|
-
{
|
|
9926
|
-
"kind": "field",
|
|
9927
|
-
"name": "errorId",
|
|
9928
|
-
"type": {
|
|
9929
|
-
"text": "string"
|
|
9930
|
-
},
|
|
9931
|
-
"privacy": "protected",
|
|
9932
|
-
"default": "\"error\"",
|
|
9933
|
-
"inheritedFrom": {
|
|
9934
|
-
"name": "FormAssociatedMixin",
|
|
9935
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9936
|
-
}
|
|
9937
|
-
},
|
|
9938
|
-
{
|
|
9939
|
-
"kind": "field",
|
|
9940
|
-
"name": "hintSlot",
|
|
9941
|
-
"privacy": "protected",
|
|
9942
|
-
"default": "new LightSlotController(this, {\n slotName: \"hint\",\n render: () => (this.hint ? html`<div slot=\"hint-internal\" id=${this.hintId}>${this.hint}</div>` : nothing),\n syncLightDom: element => {\n element.id = this.hintId\n },\n })",
|
|
9943
|
-
"description": "For accessibility reasons, we render some parts of the component to the light DOM.",
|
|
9944
|
-
"inheritedFrom": {
|
|
9945
|
-
"name": "FormAssociatedMixin",
|
|
9946
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9947
|
-
}
|
|
9948
|
-
},
|
|
9949
|
-
{
|
|
9950
|
-
"kind": "field",
|
|
9951
|
-
"name": "labelSlot",
|
|
9952
|
-
"privacy": "protected",
|
|
9953
|
-
"default": "new LightSlotController(this, {\n slotName: \"label\",\n render: () => (this.label ? html`<label slot=\"label-internal\" for=${this.inputId}>${this.label}</label>` : nothing),\n syncLightDom: element => {\n if (!isLabel(element)) {\n // eslint-disable-next-line no-console\n console.warn(`NORD: Only <label> elements should be placed in radio's \"label\" slot`)\n } else {\n element.htmlFor = this.inputId\n }\n },\n })",
|
|
9954
|
-
"inheritedFrom": {
|
|
9955
|
-
"name": "FormAssociatedMixin",
|
|
9956
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9957
|
-
}
|
|
9958
|
-
},
|
|
9959
|
-
{
|
|
9960
|
-
"kind": "field",
|
|
9961
|
-
"name": "errorSlot",
|
|
9962
|
-
"privacy": "protected",
|
|
9963
|
-
"default": "new LightSlotController(this, {\n slotName: \"error\",\n render: () => (this.error ? html`<div slot=\"error-internal\" id=${this.errorId}>${this.error}</div>` : nothing),\n syncLightDom: element => {\n element.id = this.hintId\n },\n })",
|
|
9964
|
-
"inheritedFrom": {
|
|
9965
|
-
"name": "FormAssociatedMixin",
|
|
9966
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9967
|
-
}
|
|
9718
|
+
"name": "errorSlot",
|
|
9719
|
+
"privacy": "protected",
|
|
9720
|
+
"default": "new LightSlotController(this, {\n slotName: \"error\",\n render: () => (this.error ? html`<div slot=\"error-internal\" id=${this.errorId}>${this.error}</div>` : nothing),\n syncLightDom: element => {\n element.id = this.hintId\n },\n })",
|
|
9721
|
+
"inheritedFrom": {
|
|
9722
|
+
"name": "FormAssociatedMixin",
|
|
9723
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
9724
|
+
}
|
|
9968
9725
|
},
|
|
9969
9726
|
{
|
|
9970
9727
|
"kind": "field",
|
|
@@ -10534,78 +10291,263 @@
|
|
|
10534
10291
|
},
|
|
10535
10292
|
{
|
|
10536
10293
|
"kind": "javascript-module",
|
|
10537
|
-
"path": "src/
|
|
10294
|
+
"path": "src/qrcode/Qrcode.ts",
|
|
10538
10295
|
"declarations": [
|
|
10539
10296
|
{
|
|
10540
10297
|
"kind": "class",
|
|
10541
|
-
"description": "
|
|
10542
|
-
"name": "
|
|
10543
|
-
"cssProperties": [
|
|
10544
|
-
{
|
|
10545
|
-
"description": "Controls the size of the thumb.",
|
|
10546
|
-
"name": "--n-range-thumb-size",
|
|
10547
|
-
"default": "20px"
|
|
10548
|
-
},
|
|
10549
|
-
{
|
|
10550
|
-
"description": "Controls the color of the portion of the track that represents the current value.",
|
|
10551
|
-
"name": "--n-range-track-color-active",
|
|
10552
|
-
"default": "var(--n-color-accent)"
|
|
10553
|
-
},
|
|
10554
|
-
{
|
|
10555
|
-
"description": "Controls the color of the portion of the track that represents the remaining value.",
|
|
10556
|
-
"name": "--n-range-track-color-inactive",
|
|
10557
|
-
"default": "var(--n-color-border-strong)"
|
|
10558
|
-
},
|
|
10559
|
-
{
|
|
10560
|
-
"description": "Controls the height of the track.",
|
|
10561
|
-
"name": "--n-range-track-size",
|
|
10562
|
-
"default": "3px"
|
|
10563
|
-
}
|
|
10564
|
-
],
|
|
10565
|
-
"slots": [
|
|
10566
|
-
{
|
|
10567
|
-
"description": "Use when a label requires more than plain text.",
|
|
10568
|
-
"name": "label"
|
|
10569
|
-
},
|
|
10570
|
-
{
|
|
10571
|
-
"description": "Optional slot that holds hint text for the input.",
|
|
10572
|
-
"name": "hint"
|
|
10573
|
-
},
|
|
10574
|
-
{
|
|
10575
|
-
"description": "Optional slot that holds error text for the input.",
|
|
10576
|
-
"name": "error"
|
|
10577
|
-
}
|
|
10578
|
-
],
|
|
10298
|
+
"description": "QR Code component is used for providing information or links\nto users which they can quickly scan with their smartphone.",
|
|
10299
|
+
"name": "Qrcode",
|
|
10579
10300
|
"members": [
|
|
10580
10301
|
{
|
|
10581
10302
|
"kind": "field",
|
|
10582
|
-
"name": "
|
|
10583
|
-
"
|
|
10584
|
-
|
|
10303
|
+
"name": "canvas",
|
|
10304
|
+
"type": {
|
|
10305
|
+
"text": "HTMLElement"
|
|
10306
|
+
},
|
|
10307
|
+
"privacy": "private"
|
|
10585
10308
|
},
|
|
10586
10309
|
{
|
|
10587
10310
|
"kind": "field",
|
|
10588
|
-
"name": "
|
|
10311
|
+
"name": "computed",
|
|
10589
10312
|
"type": {
|
|
10590
|
-
"text": "
|
|
10313
|
+
"text": "HTMLElement"
|
|
10591
10314
|
},
|
|
10592
|
-
"
|
|
10593
|
-
"description": "Minimum value for the range slider.",
|
|
10594
|
-
"attribute": "min"
|
|
10315
|
+
"privacy": "private"
|
|
10595
10316
|
},
|
|
10596
10317
|
{
|
|
10597
10318
|
"kind": "field",
|
|
10598
|
-
"name": "
|
|
10319
|
+
"name": "value",
|
|
10599
10320
|
"type": {
|
|
10600
|
-
"text": "
|
|
10321
|
+
"text": "string"
|
|
10601
10322
|
},
|
|
10602
|
-
"default": "
|
|
10603
|
-
"description": "
|
|
10604
|
-
"attribute": "
|
|
10323
|
+
"default": "\"\"",
|
|
10324
|
+
"description": "The value of the QR Code, most commonly an URL.",
|
|
10325
|
+
"attribute": "value",
|
|
10326
|
+
"reflects": true
|
|
10605
10327
|
},
|
|
10606
10328
|
{
|
|
10607
10329
|
"kind": "field",
|
|
10608
|
-
"name": "
|
|
10330
|
+
"name": "label",
|
|
10331
|
+
"type": {
|
|
10332
|
+
"text": "string"
|
|
10333
|
+
},
|
|
10334
|
+
"default": "\"\"",
|
|
10335
|
+
"description": "Label used by assistive technology. If unspecified, the value will\nbe used instead.",
|
|
10336
|
+
"attribute": "label",
|
|
10337
|
+
"reflects": true
|
|
10338
|
+
},
|
|
10339
|
+
{
|
|
10340
|
+
"kind": "field",
|
|
10341
|
+
"name": "size",
|
|
10342
|
+
"type": {
|
|
10343
|
+
"text": "number"
|
|
10344
|
+
},
|
|
10345
|
+
"default": "128",
|
|
10346
|
+
"description": "The size of the rendered QR Code in pixels.",
|
|
10347
|
+
"attribute": "size",
|
|
10348
|
+
"reflects": true
|
|
10349
|
+
},
|
|
10350
|
+
{
|
|
10351
|
+
"kind": "field",
|
|
10352
|
+
"name": "color",
|
|
10353
|
+
"type": {
|
|
10354
|
+
"text": "string"
|
|
10355
|
+
},
|
|
10356
|
+
"default": "\"var(--n-color-text)\"",
|
|
10357
|
+
"description": "The fill color of the QR Code.\nCan accept any valid CSS color value, including custom properties.",
|
|
10358
|
+
"attribute": "color",
|
|
10359
|
+
"reflects": true
|
|
10360
|
+
},
|
|
10361
|
+
{
|
|
10362
|
+
"kind": "field",
|
|
10363
|
+
"name": "background",
|
|
10364
|
+
"type": {
|
|
10365
|
+
"text": "string"
|
|
10366
|
+
},
|
|
10367
|
+
"default": "\"var(--n-color-surface)\"",
|
|
10368
|
+
"description": "The background color of the QR Code.\nCan accept any valid CSS color value, including custom properties.",
|
|
10369
|
+
"attribute": "background",
|
|
10370
|
+
"reflects": true
|
|
10371
|
+
},
|
|
10372
|
+
{
|
|
10373
|
+
"kind": "field",
|
|
10374
|
+
"name": "correction",
|
|
10375
|
+
"type": {
|
|
10376
|
+
"text": "\"L\" | \"M\" | \"Q\" | \"H\""
|
|
10377
|
+
},
|
|
10378
|
+
"default": "\"H\"",
|
|
10379
|
+
"description": "Error correction level makes the QR Code bigger and helps users to\nscan it without issues. L, M, Q and H values will use 7%, 15%, 25%\nand 30% of the QR code for error correction respectively.",
|
|
10380
|
+
"attribute": "correction",
|
|
10381
|
+
"reflects": true
|
|
10382
|
+
},
|
|
10383
|
+
{
|
|
10384
|
+
"kind": "method",
|
|
10385
|
+
"name": "generate",
|
|
10386
|
+
"privacy": "private"
|
|
10387
|
+
}
|
|
10388
|
+
],
|
|
10389
|
+
"attributes": [
|
|
10390
|
+
{
|
|
10391
|
+
"name": "value",
|
|
10392
|
+
"type": {
|
|
10393
|
+
"text": "string"
|
|
10394
|
+
},
|
|
10395
|
+
"default": "\"\"",
|
|
10396
|
+
"description": "The value of the QR Code, most commonly an URL.",
|
|
10397
|
+
"fieldName": "value"
|
|
10398
|
+
},
|
|
10399
|
+
{
|
|
10400
|
+
"name": "label",
|
|
10401
|
+
"type": {
|
|
10402
|
+
"text": "string"
|
|
10403
|
+
},
|
|
10404
|
+
"default": "\"\"",
|
|
10405
|
+
"description": "Label used by assistive technology. If unspecified, the value will\nbe used instead.",
|
|
10406
|
+
"fieldName": "label"
|
|
10407
|
+
},
|
|
10408
|
+
{
|
|
10409
|
+
"name": "size",
|
|
10410
|
+
"type": {
|
|
10411
|
+
"text": "number"
|
|
10412
|
+
},
|
|
10413
|
+
"default": "128",
|
|
10414
|
+
"description": "The size of the rendered QR Code in pixels.",
|
|
10415
|
+
"fieldName": "size"
|
|
10416
|
+
},
|
|
10417
|
+
{
|
|
10418
|
+
"name": "color",
|
|
10419
|
+
"type": {
|
|
10420
|
+
"text": "string"
|
|
10421
|
+
},
|
|
10422
|
+
"default": "\"var(--n-color-text)\"",
|
|
10423
|
+
"description": "The fill color of the QR Code.\nCan accept any valid CSS color value, including custom properties.",
|
|
10424
|
+
"fieldName": "color"
|
|
10425
|
+
},
|
|
10426
|
+
{
|
|
10427
|
+
"name": "background",
|
|
10428
|
+
"type": {
|
|
10429
|
+
"text": "string"
|
|
10430
|
+
},
|
|
10431
|
+
"default": "\"var(--n-color-surface)\"",
|
|
10432
|
+
"description": "The background color of the QR Code.\nCan accept any valid CSS color value, including custom properties.",
|
|
10433
|
+
"fieldName": "background"
|
|
10434
|
+
},
|
|
10435
|
+
{
|
|
10436
|
+
"name": "correction",
|
|
10437
|
+
"type": {
|
|
10438
|
+
"text": "\"L\" | \"M\" | \"Q\" | \"H\""
|
|
10439
|
+
},
|
|
10440
|
+
"default": "\"H\"",
|
|
10441
|
+
"description": "Error correction level makes the QR Code bigger and helps users to\nscan it without issues. L, M, Q and H values will use 7%, 15%, 25%\nand 30% of the QR code for error correction respectively.",
|
|
10442
|
+
"fieldName": "correction"
|
|
10443
|
+
}
|
|
10444
|
+
],
|
|
10445
|
+
"superclass": {
|
|
10446
|
+
"name": "LitElement",
|
|
10447
|
+
"package": "lit"
|
|
10448
|
+
},
|
|
10449
|
+
"status": "ready",
|
|
10450
|
+
"category": "image",
|
|
10451
|
+
"displayName": "QR Code",
|
|
10452
|
+
"examples": [],
|
|
10453
|
+
"tagName": "nord-qrcode",
|
|
10454
|
+
"customElement": true
|
|
10455
|
+
}
|
|
10456
|
+
],
|
|
10457
|
+
"exports": [
|
|
10458
|
+
{
|
|
10459
|
+
"kind": "js",
|
|
10460
|
+
"name": "default",
|
|
10461
|
+
"declaration": {
|
|
10462
|
+
"name": "Qrcode",
|
|
10463
|
+
"module": "src/qrcode/Qrcode.ts"
|
|
10464
|
+
}
|
|
10465
|
+
},
|
|
10466
|
+
{
|
|
10467
|
+
"kind": "custom-element-definition",
|
|
10468
|
+
"name": "nord-qrcode",
|
|
10469
|
+
"declaration": {
|
|
10470
|
+
"name": "Qrcode",
|
|
10471
|
+
"module": "src/qrcode/Qrcode.ts"
|
|
10472
|
+
}
|
|
10473
|
+
}
|
|
10474
|
+
],
|
|
10475
|
+
"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 allow people to access information on their smartphone without the need to type.\n- Always provide an alternative way to access the same information.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t hide important information behind a QR Code only.\n\n</div>\n"
|
|
10476
|
+
},
|
|
10477
|
+
{
|
|
10478
|
+
"kind": "javascript-module",
|
|
10479
|
+
"path": "src/range/Range.ts",
|
|
10480
|
+
"declarations": [
|
|
10481
|
+
{
|
|
10482
|
+
"kind": "class",
|
|
10483
|
+
"description": "Range input lets user specify a numeric value using a slider which\nmust be no less than a given value, and no more than another given value.",
|
|
10484
|
+
"name": "Range",
|
|
10485
|
+
"cssProperties": [
|
|
10486
|
+
{
|
|
10487
|
+
"description": "Controls the size of the thumb.",
|
|
10488
|
+
"name": "--n-range-thumb-size",
|
|
10489
|
+
"default": "20px"
|
|
10490
|
+
},
|
|
10491
|
+
{
|
|
10492
|
+
"description": "Controls the color of the portion of the track that represents the current value.",
|
|
10493
|
+
"name": "--n-range-track-color-active",
|
|
10494
|
+
"default": "var(--n-color-accent)"
|
|
10495
|
+
},
|
|
10496
|
+
{
|
|
10497
|
+
"description": "Controls the color of the portion of the track that represents the remaining value.",
|
|
10498
|
+
"name": "--n-range-track-color-inactive",
|
|
10499
|
+
"default": "var(--n-color-border-strong)"
|
|
10500
|
+
},
|
|
10501
|
+
{
|
|
10502
|
+
"description": "Controls the height of the track.",
|
|
10503
|
+
"name": "--n-range-track-size",
|
|
10504
|
+
"default": "3px"
|
|
10505
|
+
}
|
|
10506
|
+
],
|
|
10507
|
+
"slots": [
|
|
10508
|
+
{
|
|
10509
|
+
"description": "Use when a label requires more than plain text.",
|
|
10510
|
+
"name": "label"
|
|
10511
|
+
},
|
|
10512
|
+
{
|
|
10513
|
+
"description": "Optional slot that holds hint text for the input.",
|
|
10514
|
+
"name": "hint"
|
|
10515
|
+
},
|
|
10516
|
+
{
|
|
10517
|
+
"description": "Optional slot that holds error text for the input.",
|
|
10518
|
+
"name": "error"
|
|
10519
|
+
}
|
|
10520
|
+
],
|
|
10521
|
+
"members": [
|
|
10522
|
+
{
|
|
10523
|
+
"kind": "field",
|
|
10524
|
+
"name": "direction",
|
|
10525
|
+
"privacy": "private",
|
|
10526
|
+
"default": "new DirectionController(this)"
|
|
10527
|
+
},
|
|
10528
|
+
{
|
|
10529
|
+
"kind": "field",
|
|
10530
|
+
"name": "min",
|
|
10531
|
+
"type": {
|
|
10532
|
+
"text": "number"
|
|
10533
|
+
},
|
|
10534
|
+
"default": "0",
|
|
10535
|
+
"description": "Minimum value for the range slider.",
|
|
10536
|
+
"attribute": "min"
|
|
10537
|
+
},
|
|
10538
|
+
{
|
|
10539
|
+
"kind": "field",
|
|
10540
|
+
"name": "max",
|
|
10541
|
+
"type": {
|
|
10542
|
+
"text": "number"
|
|
10543
|
+
},
|
|
10544
|
+
"default": "10",
|
|
10545
|
+
"description": "Maximum value for the range slider.",
|
|
10546
|
+
"attribute": "max"
|
|
10547
|
+
},
|
|
10548
|
+
{
|
|
10549
|
+
"kind": "field",
|
|
10550
|
+
"name": "step",
|
|
10609
10551
|
"type": {
|
|
10610
10552
|
"text": "number"
|
|
10611
10553
|
},
|
|
@@ -10641,20 +10583,6 @@
|
|
|
10641
10583
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10642
10584
|
}
|
|
10643
10585
|
},
|
|
10644
|
-
{
|
|
10645
|
-
"kind": "field",
|
|
10646
|
-
"name": "_warningLogged",
|
|
10647
|
-
"type": {
|
|
10648
|
-
"text": "boolean"
|
|
10649
|
-
},
|
|
10650
|
-
"privacy": "private",
|
|
10651
|
-
"static": true,
|
|
10652
|
-
"default": "false",
|
|
10653
|
-
"inheritedFrom": {
|
|
10654
|
-
"name": "DraftComponentMixin",
|
|
10655
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
10656
|
-
}
|
|
10657
|
-
},
|
|
10658
10586
|
{
|
|
10659
10587
|
"kind": "field",
|
|
10660
10588
|
"name": "labelSlot",
|
|
@@ -11260,10 +11188,6 @@
|
|
|
11260
11188
|
}
|
|
11261
11189
|
],
|
|
11262
11190
|
"mixins": [
|
|
11263
|
-
{
|
|
11264
|
-
"name": "DraftComponentMixin",
|
|
11265
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
11266
|
-
},
|
|
11267
11191
|
{
|
|
11268
11192
|
"name": "FormAssociatedMixin",
|
|
11269
11193
|
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
@@ -11289,7 +11213,7 @@
|
|
|
11289
11213
|
"name": "LitElement",
|
|
11290
11214
|
"package": "lit"
|
|
11291
11215
|
},
|
|
11292
|
-
"status": "
|
|
11216
|
+
"status": "new",
|
|
11293
11217
|
"category": "form",
|
|
11294
11218
|
"displayName": null,
|
|
11295
11219
|
"examples": [],
|
|
@@ -12127,113 +12051,13 @@
|
|
|
12127
12051
|
},
|
|
12128
12052
|
{
|
|
12129
12053
|
"kind": "javascript-module",
|
|
12130
|
-
"path": "src/
|
|
12054
|
+
"path": "src/stack/Stack.ts",
|
|
12131
12055
|
"declarations": [
|
|
12132
12056
|
{
|
|
12133
12057
|
"kind": "class",
|
|
12134
|
-
"description": "
|
|
12135
|
-
"name": "
|
|
12136
|
-
"
|
|
12137
|
-
{
|
|
12138
|
-
"kind": "field",
|
|
12139
|
-
"name": "size",
|
|
12140
|
-
"type": {
|
|
12141
|
-
"text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
12142
|
-
},
|
|
12143
|
-
"default": "\"m\"",
|
|
12144
|
-
"description": "The size of the spinner.",
|
|
12145
|
-
"attribute": "size",
|
|
12146
|
-
"reflects": true
|
|
12147
|
-
},
|
|
12148
|
-
{
|
|
12149
|
-
"kind": "field",
|
|
12150
|
-
"name": "color",
|
|
12151
|
-
"type": {
|
|
12152
|
-
"text": "string | undefined"
|
|
12153
|
-
},
|
|
12154
|
-
"description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.",
|
|
12155
|
-
"attribute": "color",
|
|
12156
|
-
"reflects": true
|
|
12157
|
-
},
|
|
12158
|
-
{
|
|
12159
|
-
"kind": "field",
|
|
12160
|
-
"name": "label",
|
|
12161
|
-
"type": {
|
|
12162
|
-
"text": "string | undefined"
|
|
12163
|
-
},
|
|
12164
|
-
"description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
|
|
12165
|
-
"attribute": "label",
|
|
12166
|
-
"reflects": true
|
|
12167
|
-
}
|
|
12168
|
-
],
|
|
12169
|
-
"attributes": [
|
|
12170
|
-
{
|
|
12171
|
-
"name": "size",
|
|
12172
|
-
"type": {
|
|
12173
|
-
"text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
12174
|
-
},
|
|
12175
|
-
"default": "\"m\"",
|
|
12176
|
-
"description": "The size of the spinner.",
|
|
12177
|
-
"fieldName": "size"
|
|
12178
|
-
},
|
|
12179
|
-
{
|
|
12180
|
-
"name": "color",
|
|
12181
|
-
"type": {
|
|
12182
|
-
"text": "string | undefined"
|
|
12183
|
-
},
|
|
12184
|
-
"description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.",
|
|
12185
|
-
"fieldName": "color"
|
|
12186
|
-
},
|
|
12187
|
-
{
|
|
12188
|
-
"name": "label",
|
|
12189
|
-
"type": {
|
|
12190
|
-
"text": "string | undefined"
|
|
12191
|
-
},
|
|
12192
|
-
"description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
|
|
12193
|
-
"fieldName": "label"
|
|
12194
|
-
}
|
|
12195
|
-
],
|
|
12196
|
-
"superclass": {
|
|
12197
|
-
"name": "LitElement",
|
|
12198
|
-
"package": "lit"
|
|
12199
|
-
},
|
|
12200
|
-
"status": "ready",
|
|
12201
|
-
"category": "feedback",
|
|
12202
|
-
"displayName": null,
|
|
12203
|
-
"examples": [],
|
|
12204
|
-
"tagName": "nord-spinner",
|
|
12205
|
-
"customElement": true
|
|
12206
|
-
}
|
|
12207
|
-
],
|
|
12208
|
-
"exports": [
|
|
12209
|
-
{
|
|
12210
|
-
"kind": "js",
|
|
12211
|
-
"name": "default",
|
|
12212
|
-
"declaration": {
|
|
12213
|
-
"name": "Spinner",
|
|
12214
|
-
"module": "src/spinner/Spinner.ts"
|
|
12215
|
-
}
|
|
12216
|
-
},
|
|
12217
|
-
{
|
|
12218
|
-
"kind": "custom-element-definition",
|
|
12219
|
-
"name": "nord-spinner",
|
|
12220
|
-
"declaration": {
|
|
12221
|
-
"name": "Spinner",
|
|
12222
|
-
"module": "src/spinner/Spinner.ts"
|
|
12223
|
-
}
|
|
12224
|
-
}
|
|
12225
|
-
],
|
|
12226
|
-
"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 indicating users that their action is being processed.\n- Use the label property to provide an accessible label for the spinner. If no label is supplied, the spinner is hidden from assistive technology.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use to show progress. Favor a progress bar instead.\n\n</div>\n"
|
|
12227
|
-
},
|
|
12228
|
-
{
|
|
12229
|
-
"kind": "javascript-module",
|
|
12230
|
-
"path": "src/stack/Stack.ts",
|
|
12231
|
-
"declarations": [
|
|
12232
|
-
{
|
|
12233
|
-
"kind": "class",
|
|
12234
|
-
"description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
|
|
12235
|
-
"name": "Stack",
|
|
12236
|
-
"cssProperties": [
|
|
12058
|
+
"description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
|
|
12059
|
+
"name": "Stack",
|
|
12060
|
+
"cssProperties": [
|
|
12237
12061
|
{
|
|
12238
12062
|
"description": "Controls the spacing between items, using our [spacing tokens](/tokens/#space).",
|
|
12239
12063
|
"name": "--n-stack-gap",
|
|
@@ -12402,6 +12226,106 @@
|
|
|
12402
12226
|
],
|
|
12403
12227
|
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when you need to stack multiple components vertically or horizontally.\n- Use when you want to adjust the white space between two or more components.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for building grid based layouts.\n\n</div>\n"
|
|
12404
12228
|
},
|
|
12229
|
+
{
|
|
12230
|
+
"kind": "javascript-module",
|
|
12231
|
+
"path": "src/spinner/Spinner.ts",
|
|
12232
|
+
"declarations": [
|
|
12233
|
+
{
|
|
12234
|
+
"kind": "class",
|
|
12235
|
+
"description": "Spinner component is used to indicate users that their action is being\nprocessed. You can customize the size and color of the spinner with the\nprovided properties.",
|
|
12236
|
+
"name": "Spinner",
|
|
12237
|
+
"members": [
|
|
12238
|
+
{
|
|
12239
|
+
"kind": "field",
|
|
12240
|
+
"name": "size",
|
|
12241
|
+
"type": {
|
|
12242
|
+
"text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
12243
|
+
},
|
|
12244
|
+
"default": "\"m\"",
|
|
12245
|
+
"description": "The size of the spinner.",
|
|
12246
|
+
"attribute": "size",
|
|
12247
|
+
"reflects": true
|
|
12248
|
+
},
|
|
12249
|
+
{
|
|
12250
|
+
"kind": "field",
|
|
12251
|
+
"name": "color",
|
|
12252
|
+
"type": {
|
|
12253
|
+
"text": "string | undefined"
|
|
12254
|
+
},
|
|
12255
|
+
"description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.",
|
|
12256
|
+
"attribute": "color",
|
|
12257
|
+
"reflects": true
|
|
12258
|
+
},
|
|
12259
|
+
{
|
|
12260
|
+
"kind": "field",
|
|
12261
|
+
"name": "label",
|
|
12262
|
+
"type": {
|
|
12263
|
+
"text": "string | undefined"
|
|
12264
|
+
},
|
|
12265
|
+
"description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
|
|
12266
|
+
"attribute": "label",
|
|
12267
|
+
"reflects": true
|
|
12268
|
+
}
|
|
12269
|
+
],
|
|
12270
|
+
"attributes": [
|
|
12271
|
+
{
|
|
12272
|
+
"name": "size",
|
|
12273
|
+
"type": {
|
|
12274
|
+
"text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
12275
|
+
},
|
|
12276
|
+
"default": "\"m\"",
|
|
12277
|
+
"description": "The size of the spinner.",
|
|
12278
|
+
"fieldName": "size"
|
|
12279
|
+
},
|
|
12280
|
+
{
|
|
12281
|
+
"name": "color",
|
|
12282
|
+
"type": {
|
|
12283
|
+
"text": "string | undefined"
|
|
12284
|
+
},
|
|
12285
|
+
"description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.",
|
|
12286
|
+
"fieldName": "color"
|
|
12287
|
+
},
|
|
12288
|
+
{
|
|
12289
|
+
"name": "label",
|
|
12290
|
+
"type": {
|
|
12291
|
+
"text": "string | undefined"
|
|
12292
|
+
},
|
|
12293
|
+
"description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
|
|
12294
|
+
"fieldName": "label"
|
|
12295
|
+
}
|
|
12296
|
+
],
|
|
12297
|
+
"superclass": {
|
|
12298
|
+
"name": "LitElement",
|
|
12299
|
+
"package": "lit"
|
|
12300
|
+
},
|
|
12301
|
+
"status": "ready",
|
|
12302
|
+
"category": "feedback",
|
|
12303
|
+
"displayName": null,
|
|
12304
|
+
"examples": [],
|
|
12305
|
+
"tagName": "nord-spinner",
|
|
12306
|
+
"customElement": true
|
|
12307
|
+
}
|
|
12308
|
+
],
|
|
12309
|
+
"exports": [
|
|
12310
|
+
{
|
|
12311
|
+
"kind": "js",
|
|
12312
|
+
"name": "default",
|
|
12313
|
+
"declaration": {
|
|
12314
|
+
"name": "Spinner",
|
|
12315
|
+
"module": "src/spinner/Spinner.ts"
|
|
12316
|
+
}
|
|
12317
|
+
},
|
|
12318
|
+
{
|
|
12319
|
+
"kind": "custom-element-definition",
|
|
12320
|
+
"name": "nord-spinner",
|
|
12321
|
+
"declaration": {
|
|
12322
|
+
"name": "Spinner",
|
|
12323
|
+
"module": "src/spinner/Spinner.ts"
|
|
12324
|
+
}
|
|
12325
|
+
}
|
|
12326
|
+
],
|
|
12327
|
+
"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 indicating users that their action is being processed.\n- Use the label property to provide an accessible label for the spinner. If no label is supplied, the spinner is hidden from assistive technology.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use to show progress. Favor a progress bar instead.\n\n</div>\n"
|
|
12328
|
+
},
|
|
12405
12329
|
{
|
|
12406
12330
|
"kind": "javascript-module",
|
|
12407
12331
|
"path": "src/tab/Tab.ts",
|
|
@@ -12468,7 +12392,7 @@
|
|
|
12468
12392
|
"name": "LitElement",
|
|
12469
12393
|
"package": "lit"
|
|
12470
12394
|
},
|
|
12471
|
-
"status": "
|
|
12395
|
+
"status": "ready",
|
|
12472
12396
|
"category": "navigation",
|
|
12473
12397
|
"displayName": null,
|
|
12474
12398
|
"examples": [],
|
|
@@ -12710,7 +12634,7 @@
|
|
|
12710
12634
|
"name": "LitElement",
|
|
12711
12635
|
"package": "lit"
|
|
12712
12636
|
},
|
|
12713
|
-
"status": "
|
|
12637
|
+
"status": "ready",
|
|
12714
12638
|
"category": "navigation",
|
|
12715
12639
|
"displayName": null,
|
|
12716
12640
|
"examples": [],
|
|
@@ -12757,7 +12681,7 @@
|
|
|
12757
12681
|
"name": "LitElement",
|
|
12758
12682
|
"package": "lit"
|
|
12759
12683
|
},
|
|
12760
|
-
"status": "
|
|
12684
|
+
"status": "ready",
|
|
12761
12685
|
"category": "navigation",
|
|
12762
12686
|
"displayName": null,
|
|
12763
12687
|
"examples": [],
|
|
@@ -13818,7 +13742,7 @@
|
|
|
13818
13742
|
"name": "LitElement",
|
|
13819
13743
|
"package": "lit"
|
|
13820
13744
|
},
|
|
13821
|
-
"status": "
|
|
13745
|
+
"status": "ready",
|
|
13822
13746
|
"category": "feedback",
|
|
13823
13747
|
"displayName": null,
|
|
13824
13748
|
"examples": [],
|
|
@@ -13893,7 +13817,7 @@
|
|
|
13893
13817
|
"name": "LitElement",
|
|
13894
13818
|
"package": "lit"
|
|
13895
13819
|
},
|
|
13896
|
-
"status": "
|
|
13820
|
+
"status": "ready",
|
|
13897
13821
|
"category": "feedback",
|
|
13898
13822
|
"displayName": null,
|
|
13899
13823
|
"examples": [],
|
|
@@ -14531,7 +14455,7 @@
|
|
|
14531
14455
|
"name": "LitElement",
|
|
14532
14456
|
"package": "lit"
|
|
14533
14457
|
},
|
|
14534
|
-
"status": "
|
|
14458
|
+
"status": "ready",
|
|
14535
14459
|
"category": "form",
|
|
14536
14460
|
"displayName": null,
|
|
14537
14461
|
"examples": [],
|
|
@@ -14894,685 +14818,512 @@
|
|
|
14894
14818
|
},
|
|
14895
14819
|
{
|
|
14896
14820
|
"kind": "javascript-module",
|
|
14897
|
-
"path": "src/common/
|
|
14821
|
+
"path": "src/common/decorators/observe.ts",
|
|
14898
14822
|
"declarations": [
|
|
14899
14823
|
{
|
|
14900
|
-
"kind": "
|
|
14901
|
-
"
|
|
14902
|
-
"
|
|
14903
|
-
"members": [
|
|
14904
|
-
{
|
|
14905
|
-
"kind": "field",
|
|
14906
|
-
"name": "hosts",
|
|
14907
|
-
"privacy": "private",
|
|
14908
|
-
"static": true,
|
|
14909
|
-
"default": "new Set<ReactiveControllerHost>()"
|
|
14910
|
-
},
|
|
14824
|
+
"kind": "function",
|
|
14825
|
+
"name": "observe",
|
|
14826
|
+
"parameters": [
|
|
14911
14827
|
{
|
|
14912
|
-
"
|
|
14913
|
-
"name": "observer",
|
|
14828
|
+
"name": "propertyName",
|
|
14914
14829
|
"type": {
|
|
14915
|
-
"text": "
|
|
14916
|
-
}
|
|
14917
|
-
"privacy": "private",
|
|
14918
|
-
"static": true
|
|
14830
|
+
"text": "string"
|
|
14831
|
+
}
|
|
14919
14832
|
},
|
|
14920
14833
|
{
|
|
14921
|
-
"
|
|
14922
|
-
"
|
|
14834
|
+
"name": "lifecycle",
|
|
14835
|
+
"default": "\"update\"",
|
|
14923
14836
|
"type": {
|
|
14924
|
-
"text": "
|
|
14837
|
+
"text": "ObserveLifecycle"
|
|
14925
14838
|
}
|
|
14926
|
-
},
|
|
14927
|
-
{
|
|
14928
|
-
"kind": "field",
|
|
14929
|
-
"name": "isLTR"
|
|
14930
|
-
},
|
|
14931
|
-
{
|
|
14932
|
-
"kind": "field",
|
|
14933
|
-
"name": "isRTL"
|
|
14934
|
-
},
|
|
14935
|
-
{
|
|
14936
|
-
"kind": "method",
|
|
14937
|
-
"name": "hostConnected"
|
|
14938
|
-
},
|
|
14939
|
-
{
|
|
14940
|
-
"kind": "method",
|
|
14941
|
-
"name": "hostDisconnected"
|
|
14942
|
-
},
|
|
14943
|
-
{
|
|
14944
|
-
"kind": "method",
|
|
14945
|
-
"name": "observe",
|
|
14946
|
-
"privacy": "private",
|
|
14947
|
-
"static": true
|
|
14948
14839
|
}
|
|
14949
|
-
]
|
|
14950
|
-
"examples": []
|
|
14840
|
+
]
|
|
14951
14841
|
}
|
|
14952
14842
|
],
|
|
14953
14843
|
"exports": [
|
|
14954
14844
|
{
|
|
14955
14845
|
"kind": "js",
|
|
14956
|
-
"name": "
|
|
14846
|
+
"name": "observe",
|
|
14957
14847
|
"declaration": {
|
|
14958
|
-
"name": "
|
|
14959
|
-
"module": "src/common/
|
|
14848
|
+
"name": "observe",
|
|
14849
|
+
"module": "src/common/decorators/observe.ts"
|
|
14960
14850
|
}
|
|
14961
14851
|
}
|
|
14962
14852
|
]
|
|
14963
14853
|
},
|
|
14964
14854
|
{
|
|
14965
14855
|
"kind": "javascript-module",
|
|
14966
|
-
"path": "src/common/
|
|
14856
|
+
"path": "src/common/directives/cond.ts",
|
|
14967
14857
|
"declarations": [
|
|
14968
14858
|
{
|
|
14969
|
-
"kind": "
|
|
14970
|
-
"
|
|
14971
|
-
"
|
|
14972
|
-
|
|
14859
|
+
"kind": "function",
|
|
14860
|
+
"name": "cond",
|
|
14861
|
+
"return": {
|
|
14862
|
+
"type": {
|
|
14863
|
+
"text": "typeof value | typeof nothing"
|
|
14864
|
+
}
|
|
14865
|
+
},
|
|
14866
|
+
"parameters": [
|
|
14973
14867
|
{
|
|
14974
|
-
"
|
|
14975
|
-
"name": "listeners",
|
|
14868
|
+
"name": "value",
|
|
14976
14869
|
"type": {
|
|
14977
|
-
"text": "
|
|
14978
|
-
}
|
|
14979
|
-
"privacy": "private",
|
|
14980
|
-
"default": "[]"
|
|
14981
|
-
},
|
|
14982
|
-
{
|
|
14983
|
-
"kind": "method",
|
|
14984
|
-
"name": "hostDisconnected"
|
|
14985
|
-
},
|
|
14986
|
-
{
|
|
14987
|
-
"kind": "method",
|
|
14988
|
-
"name": "listen",
|
|
14989
|
-
"return": {
|
|
14990
|
-
"type": {
|
|
14991
|
-
"text": "void"
|
|
14992
|
-
}
|
|
14993
|
-
},
|
|
14994
|
-
"parameters": [
|
|
14995
|
-
{
|
|
14996
|
-
"name": "window",
|
|
14997
|
-
"type": {
|
|
14998
|
-
"text": "Window"
|
|
14999
|
-
}
|
|
15000
|
-
},
|
|
15001
|
-
{
|
|
15002
|
-
"name": "type",
|
|
15003
|
-
"type": {
|
|
15004
|
-
"text": "K"
|
|
15005
|
-
}
|
|
15006
|
-
},
|
|
15007
|
-
{
|
|
15008
|
-
"name": "listener",
|
|
15009
|
-
"type": {
|
|
15010
|
-
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
15011
|
-
}
|
|
15012
|
-
},
|
|
15013
|
-
{
|
|
15014
|
-
"name": "options",
|
|
15015
|
-
"optional": true,
|
|
15016
|
-
"type": {
|
|
15017
|
-
"text": "boolean | AddEventListenerOptions"
|
|
15018
|
-
}
|
|
15019
|
-
}
|
|
15020
|
-
]
|
|
15021
|
-
},
|
|
15022
|
-
{
|
|
15023
|
-
"kind": "method",
|
|
15024
|
-
"name": "listen",
|
|
15025
|
-
"return": {
|
|
15026
|
-
"type": {
|
|
15027
|
-
"text": "void"
|
|
15028
|
-
}
|
|
15029
|
-
},
|
|
15030
|
-
"parameters": [
|
|
15031
|
-
{
|
|
15032
|
-
"name": "document",
|
|
15033
|
-
"type": {
|
|
15034
|
-
"text": "Document"
|
|
15035
|
-
}
|
|
15036
|
-
},
|
|
15037
|
-
{
|
|
15038
|
-
"name": "type",
|
|
15039
|
-
"type": {
|
|
15040
|
-
"text": "K"
|
|
15041
|
-
}
|
|
15042
|
-
},
|
|
15043
|
-
{
|
|
15044
|
-
"name": "listener",
|
|
15045
|
-
"type": {
|
|
15046
|
-
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
15047
|
-
}
|
|
15048
|
-
},
|
|
15049
|
-
{
|
|
15050
|
-
"name": "options",
|
|
15051
|
-
"optional": true,
|
|
15052
|
-
"type": {
|
|
15053
|
-
"text": "boolean | AddEventListenerOptions"
|
|
15054
|
-
}
|
|
15055
|
-
}
|
|
15056
|
-
]
|
|
15057
|
-
},
|
|
15058
|
-
{
|
|
15059
|
-
"kind": "method",
|
|
15060
|
-
"name": "listen",
|
|
15061
|
-
"return": {
|
|
15062
|
-
"type": {
|
|
15063
|
-
"text": "void"
|
|
15064
|
-
}
|
|
15065
|
-
},
|
|
15066
|
-
"parameters": [
|
|
15067
|
-
{
|
|
15068
|
-
"name": "element",
|
|
15069
|
-
"type": {
|
|
15070
|
-
"text": "HTMLElement"
|
|
15071
|
-
}
|
|
15072
|
-
},
|
|
15073
|
-
{
|
|
15074
|
-
"name": "type",
|
|
15075
|
-
"type": {
|
|
15076
|
-
"text": "K"
|
|
15077
|
-
}
|
|
15078
|
-
},
|
|
15079
|
-
{
|
|
15080
|
-
"name": "listener",
|
|
15081
|
-
"type": {
|
|
15082
|
-
"text": "(this: HTMLElement, ev: HTMLElementEventMap[K]) => any"
|
|
15083
|
-
}
|
|
15084
|
-
},
|
|
15085
|
-
{
|
|
15086
|
-
"name": "options",
|
|
15087
|
-
"optional": true,
|
|
15088
|
-
"type": {
|
|
15089
|
-
"text": "boolean | AddEventListenerOptions"
|
|
15090
|
-
}
|
|
15091
|
-
}
|
|
15092
|
-
]
|
|
15093
|
-
},
|
|
15094
|
-
{
|
|
15095
|
-
"kind": "method",
|
|
15096
|
-
"name": "listen",
|
|
15097
|
-
"return": {
|
|
15098
|
-
"type": {
|
|
15099
|
-
"text": "void"
|
|
15100
|
-
}
|
|
15101
|
-
},
|
|
15102
|
-
"parameters": [
|
|
15103
|
-
{
|
|
15104
|
-
"name": "element",
|
|
15105
|
-
"type": {
|
|
15106
|
-
"text": "ShadowRoot"
|
|
15107
|
-
}
|
|
15108
|
-
},
|
|
15109
|
-
{
|
|
15110
|
-
"name": "type",
|
|
15111
|
-
"type": {
|
|
15112
|
-
"text": "K"
|
|
15113
|
-
}
|
|
15114
|
-
},
|
|
15115
|
-
{
|
|
15116
|
-
"name": "listener",
|
|
15117
|
-
"type": {
|
|
15118
|
-
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
15119
|
-
}
|
|
15120
|
-
},
|
|
15121
|
-
{
|
|
15122
|
-
"name": "options",
|
|
15123
|
-
"optional": true,
|
|
15124
|
-
"type": {
|
|
15125
|
-
"text": "boolean | AddEventListenerOptions"
|
|
15126
|
-
}
|
|
15127
|
-
}
|
|
15128
|
-
]
|
|
15129
|
-
},
|
|
15130
|
-
{
|
|
15131
|
-
"kind": "method",
|
|
15132
|
-
"name": "listen",
|
|
15133
|
-
"return": {
|
|
15134
|
-
"type": {
|
|
15135
|
-
"text": "void"
|
|
15136
|
-
}
|
|
15137
|
-
},
|
|
15138
|
-
"parameters": [
|
|
15139
|
-
{
|
|
15140
|
-
"name": "element",
|
|
15141
|
-
"type": {
|
|
15142
|
-
"text": "MediaQueryList"
|
|
15143
|
-
}
|
|
15144
|
-
},
|
|
15145
|
-
{
|
|
15146
|
-
"name": "type",
|
|
15147
|
-
"type": {
|
|
15148
|
-
"text": "K"
|
|
15149
|
-
}
|
|
15150
|
-
},
|
|
15151
|
-
{
|
|
15152
|
-
"name": "listener",
|
|
15153
|
-
"type": {
|
|
15154
|
-
"text": "(this: ShadowRoot, ev: MediaQueryListEventMap[K]) => any"
|
|
15155
|
-
}
|
|
15156
|
-
},
|
|
15157
|
-
{
|
|
15158
|
-
"name": "options",
|
|
15159
|
-
"optional": true,
|
|
15160
|
-
"type": {
|
|
15161
|
-
"text": "boolean | AddEventListenerOptions"
|
|
15162
|
-
}
|
|
15163
|
-
}
|
|
15164
|
-
]
|
|
15165
|
-
},
|
|
15166
|
-
{
|
|
15167
|
-
"kind": "method",
|
|
15168
|
-
"name": "listen",
|
|
15169
|
-
"parameters": [
|
|
15170
|
-
{
|
|
15171
|
-
"name": "element",
|
|
15172
|
-
"type": {
|
|
15173
|
-
"text": "Window | Document | HTMLElement | ShadowRoot | MediaQueryList"
|
|
15174
|
-
}
|
|
15175
|
-
},
|
|
15176
|
-
{
|
|
15177
|
-
"name": "type",
|
|
15178
|
-
"type": {
|
|
15179
|
-
"text": "string"
|
|
15180
|
-
}
|
|
15181
|
-
},
|
|
15182
|
-
{
|
|
15183
|
-
"name": "listener",
|
|
15184
|
-
"type": {
|
|
15185
|
-
"text": "(ev: any) => any"
|
|
15186
|
-
}
|
|
15187
|
-
},
|
|
15188
|
-
{
|
|
15189
|
-
"name": "options",
|
|
15190
|
-
"optional": true,
|
|
15191
|
-
"type": {
|
|
15192
|
-
"text": "boolean | AddEventListenerOptions"
|
|
15193
|
-
}
|
|
15194
|
-
}
|
|
15195
|
-
]
|
|
14870
|
+
"text": "any"
|
|
14871
|
+
}
|
|
15196
14872
|
}
|
|
15197
14873
|
],
|
|
15198
|
-
"
|
|
15199
|
-
}
|
|
15200
|
-
],
|
|
15201
|
-
"exports": [
|
|
15202
|
-
{
|
|
15203
|
-
"kind": "js",
|
|
15204
|
-
"name": "EventController",
|
|
15205
|
-
"declaration": {
|
|
15206
|
-
"name": "EventController",
|
|
15207
|
-
"module": "src/common/controllers/EventController.ts"
|
|
15208
|
-
}
|
|
15209
|
-
}
|
|
15210
|
-
]
|
|
15211
|
-
},
|
|
15212
|
-
{
|
|
15213
|
-
"kind": "javascript-module",
|
|
15214
|
-
"path": "src/common/controllers/FocusTrapController.ts",
|
|
15215
|
-
"declarations": [
|
|
14874
|
+
"description": "if value is truthy, return it, otherwise return nothing"
|
|
14875
|
+
},
|
|
15216
14876
|
{
|
|
15217
|
-
"kind": "
|
|
15218
|
-
"
|
|
15219
|
-
"
|
|
15220
|
-
|
|
14877
|
+
"kind": "function",
|
|
14878
|
+
"name": "cond",
|
|
14879
|
+
"return": {
|
|
14880
|
+
"type": {
|
|
14881
|
+
"text": "typeof trueCase | typeof nothing"
|
|
14882
|
+
}
|
|
14883
|
+
},
|
|
14884
|
+
"parameters": [
|
|
15221
14885
|
{
|
|
15222
|
-
"
|
|
15223
|
-
"name": "lastScrollY",
|
|
14886
|
+
"name": "condition",
|
|
15224
14887
|
"type": {
|
|
15225
|
-
"text": "
|
|
15226
|
-
}
|
|
15227
|
-
"privacy": "private",
|
|
15228
|
-
"default": "0"
|
|
14888
|
+
"text": "unknown"
|
|
14889
|
+
}
|
|
15229
14890
|
},
|
|
15230
14891
|
{
|
|
15231
|
-
"
|
|
15232
|
-
"name": "lastFocused",
|
|
14892
|
+
"name": "trueCase",
|
|
15233
14893
|
"type": {
|
|
15234
|
-
"text": "
|
|
15235
|
-
}
|
|
15236
|
-
|
|
15237
|
-
|
|
14894
|
+
"text": "any"
|
|
14895
|
+
}
|
|
14896
|
+
}
|
|
14897
|
+
],
|
|
14898
|
+
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
14899
|
+
},
|
|
14900
|
+
{
|
|
14901
|
+
"kind": "function",
|
|
14902
|
+
"name": "cond",
|
|
14903
|
+
"return": {
|
|
14904
|
+
"type": {
|
|
14905
|
+
"text": "typeof trueCase"
|
|
14906
|
+
}
|
|
14907
|
+
},
|
|
14908
|
+
"parameters": [
|
|
15238
14909
|
{
|
|
15239
|
-
"
|
|
15240
|
-
"
|
|
14910
|
+
"name": "condition",
|
|
14911
|
+
"type": {
|
|
14912
|
+
"text": "true"
|
|
14913
|
+
}
|
|
15241
14914
|
},
|
|
15242
14915
|
{
|
|
15243
|
-
"
|
|
15244
|
-
"
|
|
15245
|
-
|
|
14916
|
+
"name": "trueCase",
|
|
14917
|
+
"type": {
|
|
14918
|
+
"text": "any"
|
|
14919
|
+
}
|
|
14920
|
+
}
|
|
14921
|
+
],
|
|
14922
|
+
"description": "condition is true, so always return trueCase"
|
|
14923
|
+
},
|
|
14924
|
+
{
|
|
14925
|
+
"kind": "function",
|
|
14926
|
+
"name": "cond",
|
|
14927
|
+
"return": {
|
|
14928
|
+
"type": {
|
|
14929
|
+
"text": "typeof nothing"
|
|
14930
|
+
}
|
|
14931
|
+
},
|
|
14932
|
+
"parameters": [
|
|
15246
14933
|
{
|
|
15247
|
-
"
|
|
15248
|
-
"
|
|
14934
|
+
"name": "condition",
|
|
14935
|
+
"type": {
|
|
14936
|
+
"text": "false"
|
|
14937
|
+
}
|
|
15249
14938
|
},
|
|
15250
14939
|
{
|
|
15251
|
-
"
|
|
15252
|
-
"
|
|
15253
|
-
|
|
15254
|
-
|
|
14940
|
+
"name": "trueCase",
|
|
14941
|
+
"type": {
|
|
14942
|
+
"text": "any"
|
|
14943
|
+
}
|
|
14944
|
+
}
|
|
14945
|
+
],
|
|
14946
|
+
"description": "condition is false, to will always return nothing"
|
|
14947
|
+
},
|
|
14948
|
+
{
|
|
14949
|
+
"kind": "function",
|
|
14950
|
+
"name": "cond",
|
|
14951
|
+
"return": {
|
|
14952
|
+
"type": {
|
|
14953
|
+
"text": "typeof trueCase | typeof falseCase"
|
|
14954
|
+
}
|
|
14955
|
+
},
|
|
14956
|
+
"parameters": [
|
|
15255
14957
|
{
|
|
15256
|
-
"
|
|
15257
|
-
"
|
|
15258
|
-
|
|
14958
|
+
"name": "condition",
|
|
14959
|
+
"type": {
|
|
14960
|
+
"text": "unknown"
|
|
14961
|
+
}
|
|
15259
14962
|
},
|
|
15260
14963
|
{
|
|
15261
|
-
"
|
|
15262
|
-
"
|
|
15263
|
-
|
|
14964
|
+
"name": "trueCase",
|
|
14965
|
+
"type": {
|
|
14966
|
+
"text": "any"
|
|
14967
|
+
}
|
|
15264
14968
|
},
|
|
15265
14969
|
{
|
|
15266
|
-
"
|
|
15267
|
-
"
|
|
15268
|
-
|
|
14970
|
+
"name": "falseCase",
|
|
14971
|
+
"type": {
|
|
14972
|
+
"text": "any"
|
|
14973
|
+
}
|
|
15269
14974
|
}
|
|
15270
14975
|
],
|
|
15271
|
-
"
|
|
15272
|
-
}
|
|
15273
|
-
],
|
|
15274
|
-
"exports": [
|
|
15275
|
-
{
|
|
15276
|
-
"kind": "js",
|
|
15277
|
-
"name": "FocusTrapController",
|
|
15278
|
-
"declaration": {
|
|
15279
|
-
"name": "FocusTrapController",
|
|
15280
|
-
"module": "src/common/controllers/FocusTrapController.ts"
|
|
15281
|
-
}
|
|
15282
|
-
}
|
|
15283
|
-
]
|
|
15284
|
-
},
|
|
15285
|
-
{
|
|
15286
|
-
"kind": "javascript-module",
|
|
15287
|
-
"path": "src/common/controllers/FormDataController.ts",
|
|
15288
|
-
"declarations": [
|
|
14976
|
+
"description": "if condition is truthy, return trueCase, otherwise return falseCase"
|
|
14977
|
+
},
|
|
15289
14978
|
{
|
|
15290
|
-
"kind": "
|
|
15291
|
-
"
|
|
15292
|
-
"
|
|
15293
|
-
|
|
14979
|
+
"kind": "function",
|
|
14980
|
+
"name": "cond",
|
|
14981
|
+
"return": {
|
|
14982
|
+
"type": {
|
|
14983
|
+
"text": "typeof trueCase"
|
|
14984
|
+
}
|
|
14985
|
+
},
|
|
14986
|
+
"parameters": [
|
|
15294
14987
|
{
|
|
15295
|
-
"
|
|
15296
|
-
"name": "events",
|
|
14988
|
+
"name": "condition",
|
|
15297
14989
|
"type": {
|
|
15298
|
-
"text": "
|
|
15299
|
-
}
|
|
15300
|
-
"privacy": "private",
|
|
15301
|
-
"default": "new EventController(host)"
|
|
14990
|
+
"text": "true"
|
|
14991
|
+
}
|
|
15302
14992
|
},
|
|
15303
14993
|
{
|
|
15304
|
-
"
|
|
15305
|
-
"
|
|
14994
|
+
"name": "trueCase",
|
|
14995
|
+
"type": {
|
|
14996
|
+
"text": "any"
|
|
14997
|
+
}
|
|
15306
14998
|
},
|
|
15307
14999
|
{
|
|
15308
|
-
"
|
|
15309
|
-
"
|
|
15310
|
-
|
|
15000
|
+
"name": "falseCase",
|
|
15001
|
+
"type": {
|
|
15002
|
+
"text": "any"
|
|
15003
|
+
}
|
|
15311
15004
|
}
|
|
15312
15005
|
],
|
|
15313
|
-
"
|
|
15314
|
-
}
|
|
15315
|
-
],
|
|
15316
|
-
"exports": [
|
|
15317
|
-
{
|
|
15318
|
-
"kind": "js",
|
|
15319
|
-
"name": "FormDataController",
|
|
15320
|
-
"declaration": {
|
|
15321
|
-
"name": "FormDataController",
|
|
15322
|
-
"module": "src/common/controllers/FormDataController.ts"
|
|
15323
|
-
}
|
|
15324
|
-
}
|
|
15325
|
-
]
|
|
15326
|
-
},
|
|
15327
|
-
{
|
|
15328
|
-
"kind": "javascript-module",
|
|
15329
|
-
"path": "src/common/controllers/LightDismissController.ts",
|
|
15330
|
-
"declarations": [
|
|
15006
|
+
"description": "condition is true, so always return trueCase"
|
|
15007
|
+
},
|
|
15331
15008
|
{
|
|
15332
|
-
"kind": "
|
|
15333
|
-
"
|
|
15334
|
-
"
|
|
15335
|
-
|
|
15009
|
+
"kind": "function",
|
|
15010
|
+
"name": "cond",
|
|
15011
|
+
"return": {
|
|
15012
|
+
"type": {
|
|
15013
|
+
"text": "typeof falseCase"
|
|
15014
|
+
}
|
|
15015
|
+
},
|
|
15016
|
+
"parameters": [
|
|
15336
15017
|
{
|
|
15337
|
-
"
|
|
15338
|
-
"name": "shortcut",
|
|
15018
|
+
"name": "condition",
|
|
15339
15019
|
"type": {
|
|
15340
|
-
"text": "
|
|
15341
|
-
}
|
|
15342
|
-
"privacy": "private",
|
|
15343
|
-
"default": "new ShortcutController(host, { Escape: this.handleEsc })"
|
|
15020
|
+
"text": "false"
|
|
15021
|
+
}
|
|
15344
15022
|
},
|
|
15345
15023
|
{
|
|
15346
|
-
"
|
|
15347
|
-
"name": "events",
|
|
15024
|
+
"name": "trueCase",
|
|
15348
15025
|
"type": {
|
|
15349
|
-
"text": "
|
|
15350
|
-
}
|
|
15351
|
-
"privacy": "private",
|
|
15352
|
-
"default": "new EventController(host)"
|
|
15353
|
-
},
|
|
15354
|
-
{
|
|
15355
|
-
"kind": "method",
|
|
15356
|
-
"name": "hostConnected"
|
|
15357
|
-
},
|
|
15358
|
-
{
|
|
15359
|
-
"kind": "field",
|
|
15360
|
-
"name": "handleEsc",
|
|
15361
|
-
"privacy": "private"
|
|
15026
|
+
"text": "any"
|
|
15027
|
+
}
|
|
15362
15028
|
},
|
|
15363
15029
|
{
|
|
15364
|
-
"
|
|
15365
|
-
"
|
|
15366
|
-
|
|
15030
|
+
"name": "falseCase",
|
|
15031
|
+
"type": {
|
|
15032
|
+
"text": "any"
|
|
15033
|
+
}
|
|
15367
15034
|
}
|
|
15368
15035
|
],
|
|
15369
|
-
"
|
|
15370
|
-
}
|
|
15371
|
-
],
|
|
15372
|
-
"exports": [
|
|
15373
|
-
{
|
|
15374
|
-
"kind": "js",
|
|
15375
|
-
"name": "LightDismissController",
|
|
15376
|
-
"declaration": {
|
|
15377
|
-
"name": "LightDismissController",
|
|
15378
|
-
"module": "src/common/controllers/LightDismissController.ts"
|
|
15379
|
-
}
|
|
15380
|
-
}
|
|
15381
|
-
]
|
|
15382
|
-
},
|
|
15383
|
-
{
|
|
15384
|
-
"kind": "javascript-module",
|
|
15385
|
-
"path": "src/common/controllers/LightDomController.ts",
|
|
15386
|
-
"declarations": [
|
|
15036
|
+
"description": "condition is false, so always return falseCase"
|
|
15037
|
+
},
|
|
15387
15038
|
{
|
|
15388
|
-
"kind": "
|
|
15389
|
-
"
|
|
15390
|
-
"
|
|
15391
|
-
"members": [
|
|
15039
|
+
"kind": "function",
|
|
15040
|
+
"name": "cond",
|
|
15041
|
+
"parameters": [
|
|
15392
15042
|
{
|
|
15393
|
-
"
|
|
15394
|
-
"name": "container",
|
|
15043
|
+
"name": "condition",
|
|
15395
15044
|
"type": {
|
|
15396
|
-
"text": "
|
|
15397
|
-
}
|
|
15398
|
-
"privacy": "private"
|
|
15045
|
+
"text": "unknown"
|
|
15046
|
+
}
|
|
15399
15047
|
},
|
|
15400
15048
|
{
|
|
15401
|
-
"
|
|
15402
|
-
"
|
|
15049
|
+
"name": "trueCase",
|
|
15050
|
+
"default": "condition",
|
|
15051
|
+
"type": {
|
|
15052
|
+
"text": "any"
|
|
15053
|
+
}
|
|
15403
15054
|
},
|
|
15404
15055
|
{
|
|
15405
|
-
"
|
|
15406
|
-
"
|
|
15056
|
+
"name": "falseCase",
|
|
15057
|
+
"default": "nothing",
|
|
15058
|
+
"type": {
|
|
15059
|
+
"text": "any"
|
|
15060
|
+
}
|
|
15407
15061
|
}
|
|
15408
|
-
]
|
|
15409
|
-
"examples": []
|
|
15062
|
+
]
|
|
15410
15063
|
}
|
|
15411
15064
|
],
|
|
15412
15065
|
"exports": [
|
|
15413
15066
|
{
|
|
15414
15067
|
"kind": "js",
|
|
15415
|
-
"name": "
|
|
15068
|
+
"name": "cond",
|
|
15416
15069
|
"declaration": {
|
|
15417
|
-
"name": "
|
|
15418
|
-
"module": "src/common/
|
|
15070
|
+
"name": "cond",
|
|
15071
|
+
"module": "src/common/directives/cond.ts"
|
|
15072
|
+
}
|
|
15073
|
+
},
|
|
15074
|
+
{
|
|
15075
|
+
"kind": "js",
|
|
15076
|
+
"name": "cond",
|
|
15077
|
+
"declaration": {
|
|
15078
|
+
"name": "cond",
|
|
15079
|
+
"module": "src/common/directives/cond.ts"
|
|
15080
|
+
}
|
|
15081
|
+
},
|
|
15082
|
+
{
|
|
15083
|
+
"kind": "js",
|
|
15084
|
+
"name": "cond",
|
|
15085
|
+
"declaration": {
|
|
15086
|
+
"name": "cond",
|
|
15087
|
+
"module": "src/common/directives/cond.ts"
|
|
15088
|
+
}
|
|
15089
|
+
},
|
|
15090
|
+
{
|
|
15091
|
+
"kind": "js",
|
|
15092
|
+
"name": "cond",
|
|
15093
|
+
"declaration": {
|
|
15094
|
+
"name": "cond",
|
|
15095
|
+
"module": "src/common/directives/cond.ts"
|
|
15096
|
+
}
|
|
15097
|
+
},
|
|
15098
|
+
{
|
|
15099
|
+
"kind": "js",
|
|
15100
|
+
"name": "cond",
|
|
15101
|
+
"declaration": {
|
|
15102
|
+
"name": "cond",
|
|
15103
|
+
"module": "src/common/directives/cond.ts"
|
|
15104
|
+
}
|
|
15105
|
+
},
|
|
15106
|
+
{
|
|
15107
|
+
"kind": "js",
|
|
15108
|
+
"name": "cond",
|
|
15109
|
+
"declaration": {
|
|
15110
|
+
"name": "cond",
|
|
15111
|
+
"module": "src/common/directives/cond.ts"
|
|
15112
|
+
}
|
|
15113
|
+
},
|
|
15114
|
+
{
|
|
15115
|
+
"kind": "js",
|
|
15116
|
+
"name": "cond",
|
|
15117
|
+
"declaration": {
|
|
15118
|
+
"name": "cond",
|
|
15119
|
+
"module": "src/common/directives/cond.ts"
|
|
15120
|
+
}
|
|
15121
|
+
},
|
|
15122
|
+
{
|
|
15123
|
+
"kind": "js",
|
|
15124
|
+
"name": "cond",
|
|
15125
|
+
"declaration": {
|
|
15126
|
+
"name": "cond",
|
|
15127
|
+
"module": "src/common/directives/cond.ts"
|
|
15419
15128
|
}
|
|
15420
15129
|
}
|
|
15421
15130
|
]
|
|
15422
15131
|
},
|
|
15423
15132
|
{
|
|
15424
15133
|
"kind": "javascript-module",
|
|
15425
|
-
"path": "src/common/
|
|
15134
|
+
"path": "src/common/directives/wrapIf.ts",
|
|
15426
15135
|
"declarations": [
|
|
15427
15136
|
{
|
|
15428
|
-
"kind": "
|
|
15429
|
-
"
|
|
15430
|
-
"
|
|
15431
|
-
|
|
15137
|
+
"kind": "function",
|
|
15138
|
+
"name": "wrapIf",
|
|
15139
|
+
"return": {
|
|
15140
|
+
"type": {
|
|
15141
|
+
"text": "TInner"
|
|
15142
|
+
}
|
|
15143
|
+
},
|
|
15144
|
+
"parameters": [
|
|
15432
15145
|
{
|
|
15433
|
-
"
|
|
15434
|
-
"name": "renderHook",
|
|
15146
|
+
"name": "condition",
|
|
15435
15147
|
"type": {
|
|
15436
|
-
"text": "
|
|
15437
|
-
}
|
|
15438
|
-
"privacy": "private"
|
|
15148
|
+
"text": "false"
|
|
15149
|
+
}
|
|
15439
15150
|
},
|
|
15440
15151
|
{
|
|
15441
|
-
"
|
|
15442
|
-
"name": "lightDom",
|
|
15152
|
+
"name": "inner",
|
|
15443
15153
|
"type": {
|
|
15444
|
-
"text": "
|
|
15445
|
-
},
|
|
15446
|
-
"privacy": "private",
|
|
15447
|
-
"default": "new LightDomController(host, {\n render: () => (this.hasContent ? nothing : this.options.render()),\n renderOptions: { renderBefore: this.renderHook },\n })"
|
|
15448
|
-
},
|
|
15449
|
-
{
|
|
15450
|
-
"kind": "method",
|
|
15451
|
-
"name": "hostConnected",
|
|
15452
|
-
"inheritedFrom": {
|
|
15453
|
-
"name": "SlotController",
|
|
15454
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
15154
|
+
"text": "() => TInner"
|
|
15455
15155
|
}
|
|
15456
15156
|
},
|
|
15457
15157
|
{
|
|
15458
|
-
"
|
|
15459
|
-
"
|
|
15460
|
-
|
|
15158
|
+
"name": "wrapper",
|
|
15159
|
+
"type": {
|
|
15160
|
+
"text": "(inner: TInner) => TWrapper"
|
|
15161
|
+
}
|
|
15162
|
+
}
|
|
15163
|
+
]
|
|
15164
|
+
},
|
|
15165
|
+
{
|
|
15166
|
+
"kind": "function",
|
|
15167
|
+
"name": "wrapIf",
|
|
15168
|
+
"return": {
|
|
15169
|
+
"type": {
|
|
15170
|
+
"text": "TWrapper"
|
|
15171
|
+
}
|
|
15172
|
+
},
|
|
15173
|
+
"parameters": [
|
|
15461
15174
|
{
|
|
15462
|
-
"
|
|
15463
|
-
"
|
|
15464
|
-
|
|
15465
|
-
"parameters": [
|
|
15466
|
-
{
|
|
15467
|
-
"name": "_e",
|
|
15468
|
-
"type": {
|
|
15469
|
-
"text": "Event"
|
|
15470
|
-
}
|
|
15471
|
-
}
|
|
15472
|
-
],
|
|
15473
|
-
"inheritedFrom": {
|
|
15474
|
-
"name": "SlotController",
|
|
15475
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
15175
|
+
"name": "condition",
|
|
15176
|
+
"type": {
|
|
15177
|
+
"text": "true"
|
|
15476
15178
|
}
|
|
15477
15179
|
},
|
|
15478
15180
|
{
|
|
15479
|
-
"
|
|
15480
|
-
"
|
|
15481
|
-
|
|
15181
|
+
"name": "inner",
|
|
15182
|
+
"type": {
|
|
15183
|
+
"text": "() => TInner"
|
|
15184
|
+
}
|
|
15482
15185
|
},
|
|
15483
15186
|
{
|
|
15484
|
-
"
|
|
15485
|
-
"name": "events",
|
|
15187
|
+
"name": "wrapper",
|
|
15486
15188
|
"type": {
|
|
15487
|
-
"text": "
|
|
15488
|
-
}
|
|
15489
|
-
|
|
15490
|
-
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
|
|
15189
|
+
"text": "(inner: TInner) => TWrapper"
|
|
15190
|
+
}
|
|
15191
|
+
}
|
|
15192
|
+
]
|
|
15193
|
+
},
|
|
15194
|
+
{
|
|
15195
|
+
"kind": "function",
|
|
15196
|
+
"name": "wrapIf",
|
|
15197
|
+
"return": {
|
|
15198
|
+
"type": {
|
|
15199
|
+
"text": "TInner | TWrapper"
|
|
15200
|
+
}
|
|
15201
|
+
},
|
|
15202
|
+
"parameters": [
|
|
15203
|
+
{
|
|
15204
|
+
"name": "condition",
|
|
15205
|
+
"type": {
|
|
15206
|
+
"text": "unknown"
|
|
15494
15207
|
}
|
|
15495
15208
|
},
|
|
15496
15209
|
{
|
|
15497
|
-
"
|
|
15498
|
-
"
|
|
15499
|
-
|
|
15500
|
-
"name": "SlotController",
|
|
15501
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
15210
|
+
"name": "inner",
|
|
15211
|
+
"type": {
|
|
15212
|
+
"text": "() => TInner"
|
|
15502
15213
|
}
|
|
15503
15214
|
},
|
|
15504
15215
|
{
|
|
15505
|
-
"
|
|
15506
|
-
"
|
|
15507
|
-
|
|
15508
|
-
|
|
15509
|
-
|
|
15216
|
+
"name": "wrapper",
|
|
15217
|
+
"type": {
|
|
15218
|
+
"text": "(inner: TInner) => TWrapper"
|
|
15219
|
+
}
|
|
15220
|
+
}
|
|
15221
|
+
]
|
|
15222
|
+
},
|
|
15223
|
+
{
|
|
15224
|
+
"kind": "function",
|
|
15225
|
+
"name": "wrapIf",
|
|
15226
|
+
"parameters": [
|
|
15227
|
+
{
|
|
15228
|
+
"name": "condition",
|
|
15229
|
+
"type": {
|
|
15230
|
+
"text": "any"
|
|
15510
15231
|
}
|
|
15511
15232
|
},
|
|
15512
15233
|
{
|
|
15513
|
-
"
|
|
15514
|
-
"
|
|
15515
|
-
|
|
15516
|
-
"name": "SlotController",
|
|
15517
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
15234
|
+
"name": "inner",
|
|
15235
|
+
"type": {
|
|
15236
|
+
"text": "() => TInner"
|
|
15518
15237
|
}
|
|
15519
15238
|
},
|
|
15520
15239
|
{
|
|
15521
|
-
"
|
|
15522
|
-
"
|
|
15523
|
-
|
|
15524
|
-
"inheritedFrom": {
|
|
15525
|
-
"name": "SlotController",
|
|
15526
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
15240
|
+
"name": "wrapper",
|
|
15241
|
+
"type": {
|
|
15242
|
+
"text": "(innards: TInner) => TWrapper"
|
|
15527
15243
|
}
|
|
15528
15244
|
}
|
|
15529
15245
|
],
|
|
15530
|
-
"
|
|
15531
|
-
"
|
|
15532
|
-
|
|
15533
|
-
|
|
15534
|
-
|
|
15535
|
-
"category": null,
|
|
15536
|
-
"displayName": null,
|
|
15537
|
-
"examples": []
|
|
15246
|
+
"return": {
|
|
15247
|
+
"type": {
|
|
15248
|
+
"text": ""
|
|
15249
|
+
}
|
|
15250
|
+
}
|
|
15538
15251
|
}
|
|
15539
15252
|
],
|
|
15540
15253
|
"exports": [
|
|
15541
15254
|
{
|
|
15542
15255
|
"kind": "js",
|
|
15543
|
-
"name": "
|
|
15256
|
+
"name": "wrapIf",
|
|
15544
15257
|
"declaration": {
|
|
15545
|
-
"name": "
|
|
15546
|
-
"module": "src/common/
|
|
15258
|
+
"name": "wrapIf",
|
|
15259
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
15260
|
+
}
|
|
15261
|
+
},
|
|
15262
|
+
{
|
|
15263
|
+
"kind": "js",
|
|
15264
|
+
"name": "wrapIf",
|
|
15265
|
+
"declaration": {
|
|
15266
|
+
"name": "wrapIf",
|
|
15267
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
15268
|
+
}
|
|
15269
|
+
},
|
|
15270
|
+
{
|
|
15271
|
+
"kind": "js",
|
|
15272
|
+
"name": "wrapIf",
|
|
15273
|
+
"declaration": {
|
|
15274
|
+
"name": "wrapIf",
|
|
15275
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
15276
|
+
}
|
|
15277
|
+
},
|
|
15278
|
+
{
|
|
15279
|
+
"kind": "js",
|
|
15280
|
+
"name": "wrapIf",
|
|
15281
|
+
"declaration": {
|
|
15282
|
+
"name": "wrapIf",
|
|
15283
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
15547
15284
|
}
|
|
15548
15285
|
}
|
|
15549
15286
|
]
|
|
15550
15287
|
},
|
|
15551
15288
|
{
|
|
15552
15289
|
"kind": "javascript-module",
|
|
15553
|
-
"path": "src/common/controllers/
|
|
15290
|
+
"path": "src/common/controllers/DirectionController.ts",
|
|
15554
15291
|
"declarations": [
|
|
15555
15292
|
{
|
|
15556
15293
|
"kind": "class",
|
|
15557
15294
|
"description": "",
|
|
15558
|
-
"name": "
|
|
15295
|
+
"name": "DirectionController",
|
|
15559
15296
|
"members": [
|
|
15560
15297
|
{
|
|
15561
15298
|
"kind": "field",
|
|
15562
|
-
"name": "
|
|
15563
|
-
"
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
"privacy": "private"
|
|
15299
|
+
"name": "hosts",
|
|
15300
|
+
"privacy": "private",
|
|
15301
|
+
"static": true,
|
|
15302
|
+
"default": "new Set<ReactiveControllerHost>()"
|
|
15567
15303
|
},
|
|
15568
15304
|
{
|
|
15569
15305
|
"kind": "field",
|
|
15570
|
-
"name": "
|
|
15306
|
+
"name": "observer",
|
|
15571
15307
|
"type": {
|
|
15572
|
-
"text": "
|
|
15308
|
+
"text": "MutationObserver | undefined"
|
|
15573
15309
|
},
|
|
15574
15310
|
"privacy": "private",
|
|
15575
|
-
"
|
|
15311
|
+
"static": true
|
|
15312
|
+
},
|
|
15313
|
+
{
|
|
15314
|
+
"kind": "field",
|
|
15315
|
+
"name": "dir",
|
|
15316
|
+
"type": {
|
|
15317
|
+
"text": "WritingDirection"
|
|
15318
|
+
}
|
|
15319
|
+
},
|
|
15320
|
+
{
|
|
15321
|
+
"kind": "field",
|
|
15322
|
+
"name": "isLTR"
|
|
15323
|
+
},
|
|
15324
|
+
{
|
|
15325
|
+
"kind": "field",
|
|
15326
|
+
"name": "isRTL"
|
|
15576
15327
|
},
|
|
15577
15328
|
{
|
|
15578
15329
|
"kind": "method",
|
|
@@ -15580,11 +15331,13 @@
|
|
|
15580
15331
|
},
|
|
15581
15332
|
{
|
|
15582
15333
|
"kind": "method",
|
|
15583
|
-
"name": "
|
|
15334
|
+
"name": "hostDisconnected"
|
|
15584
15335
|
},
|
|
15585
15336
|
{
|
|
15586
15337
|
"kind": "method",
|
|
15587
|
-
"name": "
|
|
15338
|
+
"name": "observe",
|
|
15339
|
+
"privacy": "private",
|
|
15340
|
+
"static": true
|
|
15588
15341
|
}
|
|
15589
15342
|
],
|
|
15590
15343
|
"examples": []
|
|
@@ -15593,38 +15346,30 @@
|
|
|
15593
15346
|
"exports": [
|
|
15594
15347
|
{
|
|
15595
15348
|
"kind": "js",
|
|
15596
|
-
"name": "
|
|
15349
|
+
"name": "DirectionController",
|
|
15597
15350
|
"declaration": {
|
|
15598
|
-
"name": "
|
|
15599
|
-
"module": "src/common/controllers/
|
|
15351
|
+
"name": "DirectionController",
|
|
15352
|
+
"module": "src/common/controllers/DirectionController.ts"
|
|
15600
15353
|
}
|
|
15601
15354
|
}
|
|
15602
15355
|
]
|
|
15603
15356
|
},
|
|
15604
15357
|
{
|
|
15605
15358
|
"kind": "javascript-module",
|
|
15606
|
-
"path": "src/common/controllers/
|
|
15359
|
+
"path": "src/common/controllers/EventController.ts",
|
|
15607
15360
|
"declarations": [
|
|
15608
15361
|
{
|
|
15609
15362
|
"kind": "class",
|
|
15610
|
-
"description": "
|
|
15611
|
-
"name": "
|
|
15363
|
+
"description": "",
|
|
15364
|
+
"name": "EventController",
|
|
15612
15365
|
"members": [
|
|
15613
15366
|
{
|
|
15614
15367
|
"kind": "field",
|
|
15615
|
-
"name": "
|
|
15616
|
-
"privacy": "private",
|
|
15617
|
-
"static": true,
|
|
15618
|
-
"default": "new Set<ScrollbarController>()"
|
|
15619
|
-
},
|
|
15620
|
-
{
|
|
15621
|
-
"kind": "field",
|
|
15622
|
-
"name": "resets",
|
|
15368
|
+
"name": "listeners",
|
|
15623
15369
|
"type": {
|
|
15624
15370
|
"text": "Array<() => void>"
|
|
15625
15371
|
},
|
|
15626
15372
|
"privacy": "private",
|
|
15627
|
-
"static": true,
|
|
15628
15373
|
"default": "[]"
|
|
15629
15374
|
},
|
|
15630
15375
|
{
|
|
@@ -15633,90 +15378,287 @@
|
|
|
15633
15378
|
},
|
|
15634
15379
|
{
|
|
15635
15380
|
"kind": "method",
|
|
15636
|
-
"name": "
|
|
15381
|
+
"name": "listen",
|
|
15382
|
+
"return": {
|
|
15383
|
+
"type": {
|
|
15384
|
+
"text": "void"
|
|
15385
|
+
}
|
|
15386
|
+
},
|
|
15387
|
+
"parameters": [
|
|
15388
|
+
{
|
|
15389
|
+
"name": "window",
|
|
15390
|
+
"type": {
|
|
15391
|
+
"text": "Window"
|
|
15392
|
+
}
|
|
15393
|
+
},
|
|
15394
|
+
{
|
|
15395
|
+
"name": "type",
|
|
15396
|
+
"type": {
|
|
15397
|
+
"text": "K"
|
|
15398
|
+
}
|
|
15399
|
+
},
|
|
15400
|
+
{
|
|
15401
|
+
"name": "listener",
|
|
15402
|
+
"type": {
|
|
15403
|
+
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
15404
|
+
}
|
|
15405
|
+
},
|
|
15406
|
+
{
|
|
15407
|
+
"name": "options",
|
|
15408
|
+
"optional": true,
|
|
15409
|
+
"type": {
|
|
15410
|
+
"text": "boolean | AddEventListenerOptions"
|
|
15411
|
+
}
|
|
15412
|
+
}
|
|
15413
|
+
]
|
|
15414
|
+
},
|
|
15415
|
+
{
|
|
15416
|
+
"kind": "method",
|
|
15417
|
+
"name": "listen",
|
|
15418
|
+
"return": {
|
|
15419
|
+
"type": {
|
|
15420
|
+
"text": "void"
|
|
15421
|
+
}
|
|
15422
|
+
},
|
|
15423
|
+
"parameters": [
|
|
15424
|
+
{
|
|
15425
|
+
"name": "document",
|
|
15426
|
+
"type": {
|
|
15427
|
+
"text": "Document"
|
|
15428
|
+
}
|
|
15429
|
+
},
|
|
15430
|
+
{
|
|
15431
|
+
"name": "type",
|
|
15432
|
+
"type": {
|
|
15433
|
+
"text": "K"
|
|
15434
|
+
}
|
|
15435
|
+
},
|
|
15436
|
+
{
|
|
15437
|
+
"name": "listener",
|
|
15438
|
+
"type": {
|
|
15439
|
+
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
15440
|
+
}
|
|
15441
|
+
},
|
|
15442
|
+
{
|
|
15443
|
+
"name": "options",
|
|
15444
|
+
"optional": true,
|
|
15445
|
+
"type": {
|
|
15446
|
+
"text": "boolean | AddEventListenerOptions"
|
|
15447
|
+
}
|
|
15448
|
+
}
|
|
15449
|
+
]
|
|
15450
|
+
},
|
|
15451
|
+
{
|
|
15452
|
+
"kind": "method",
|
|
15453
|
+
"name": "listen",
|
|
15454
|
+
"return": {
|
|
15455
|
+
"type": {
|
|
15456
|
+
"text": "void"
|
|
15457
|
+
}
|
|
15458
|
+
},
|
|
15459
|
+
"parameters": [
|
|
15460
|
+
{
|
|
15461
|
+
"name": "element",
|
|
15462
|
+
"type": {
|
|
15463
|
+
"text": "HTMLElement"
|
|
15464
|
+
}
|
|
15465
|
+
},
|
|
15466
|
+
{
|
|
15467
|
+
"name": "type",
|
|
15468
|
+
"type": {
|
|
15469
|
+
"text": "K"
|
|
15470
|
+
}
|
|
15471
|
+
},
|
|
15472
|
+
{
|
|
15473
|
+
"name": "listener",
|
|
15474
|
+
"type": {
|
|
15475
|
+
"text": "(this: HTMLElement, ev: HTMLElementEventMap[K]) => any"
|
|
15476
|
+
}
|
|
15477
|
+
},
|
|
15478
|
+
{
|
|
15479
|
+
"name": "options",
|
|
15480
|
+
"optional": true,
|
|
15481
|
+
"type": {
|
|
15482
|
+
"text": "boolean | AddEventListenerOptions"
|
|
15483
|
+
}
|
|
15484
|
+
}
|
|
15485
|
+
]
|
|
15486
|
+
},
|
|
15487
|
+
{
|
|
15488
|
+
"kind": "method",
|
|
15489
|
+
"name": "listen",
|
|
15490
|
+
"return": {
|
|
15491
|
+
"type": {
|
|
15492
|
+
"text": "void"
|
|
15493
|
+
}
|
|
15494
|
+
},
|
|
15495
|
+
"parameters": [
|
|
15496
|
+
{
|
|
15497
|
+
"name": "element",
|
|
15498
|
+
"type": {
|
|
15499
|
+
"text": "ShadowRoot"
|
|
15500
|
+
}
|
|
15501
|
+
},
|
|
15502
|
+
{
|
|
15503
|
+
"name": "type",
|
|
15504
|
+
"type": {
|
|
15505
|
+
"text": "K"
|
|
15506
|
+
}
|
|
15507
|
+
},
|
|
15508
|
+
{
|
|
15509
|
+
"name": "listener",
|
|
15510
|
+
"type": {
|
|
15511
|
+
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
15512
|
+
}
|
|
15513
|
+
},
|
|
15514
|
+
{
|
|
15515
|
+
"name": "options",
|
|
15516
|
+
"optional": true,
|
|
15517
|
+
"type": {
|
|
15518
|
+
"text": "boolean | AddEventListenerOptions"
|
|
15519
|
+
}
|
|
15520
|
+
}
|
|
15521
|
+
]
|
|
15637
15522
|
},
|
|
15638
15523
|
{
|
|
15639
15524
|
"kind": "method",
|
|
15640
|
-
"name": "
|
|
15525
|
+
"name": "listen",
|
|
15526
|
+
"return": {
|
|
15527
|
+
"type": {
|
|
15528
|
+
"text": "void"
|
|
15529
|
+
}
|
|
15530
|
+
},
|
|
15531
|
+
"parameters": [
|
|
15532
|
+
{
|
|
15533
|
+
"name": "element",
|
|
15534
|
+
"type": {
|
|
15535
|
+
"text": "MediaQueryList"
|
|
15536
|
+
}
|
|
15537
|
+
},
|
|
15538
|
+
{
|
|
15539
|
+
"name": "type",
|
|
15540
|
+
"type": {
|
|
15541
|
+
"text": "K"
|
|
15542
|
+
}
|
|
15543
|
+
},
|
|
15544
|
+
{
|
|
15545
|
+
"name": "listener",
|
|
15546
|
+
"type": {
|
|
15547
|
+
"text": "(this: ShadowRoot, ev: MediaQueryListEventMap[K]) => any"
|
|
15548
|
+
}
|
|
15549
|
+
},
|
|
15550
|
+
{
|
|
15551
|
+
"name": "options",
|
|
15552
|
+
"optional": true,
|
|
15553
|
+
"type": {
|
|
15554
|
+
"text": "boolean | AddEventListenerOptions"
|
|
15555
|
+
}
|
|
15556
|
+
}
|
|
15557
|
+
]
|
|
15641
15558
|
},
|
|
15642
15559
|
{
|
|
15643
15560
|
"kind": "method",
|
|
15644
|
-
"name": "
|
|
15645
|
-
"privacy": "private",
|
|
15646
|
-
"static": true,
|
|
15561
|
+
"name": "listen",
|
|
15647
15562
|
"parameters": [
|
|
15648
15563
|
{
|
|
15649
|
-
"name": "
|
|
15564
|
+
"name": "element",
|
|
15650
15565
|
"type": {
|
|
15651
|
-
"text": "
|
|
15566
|
+
"text": "Window | Document | HTMLElement | ShadowRoot | MediaQueryList"
|
|
15652
15567
|
}
|
|
15653
15568
|
},
|
|
15654
15569
|
{
|
|
15655
|
-
"name": "
|
|
15570
|
+
"name": "type",
|
|
15656
15571
|
"type": {
|
|
15657
15572
|
"text": "string"
|
|
15658
15573
|
}
|
|
15574
|
+
},
|
|
15575
|
+
{
|
|
15576
|
+
"name": "listener",
|
|
15577
|
+
"type": {
|
|
15578
|
+
"text": "(ev: any) => any"
|
|
15579
|
+
}
|
|
15580
|
+
},
|
|
15581
|
+
{
|
|
15582
|
+
"name": "options",
|
|
15583
|
+
"optional": true,
|
|
15584
|
+
"type": {
|
|
15585
|
+
"text": "boolean | AddEventListenerOptions"
|
|
15586
|
+
}
|
|
15659
15587
|
}
|
|
15660
15588
|
]
|
|
15661
15589
|
}
|
|
15662
15590
|
],
|
|
15663
|
-
"status": null,
|
|
15664
|
-
"category": null,
|
|
15665
|
-
"displayName": null,
|
|
15666
15591
|
"examples": []
|
|
15667
15592
|
}
|
|
15668
15593
|
],
|
|
15669
15594
|
"exports": [
|
|
15670
15595
|
{
|
|
15671
15596
|
"kind": "js",
|
|
15672
|
-
"name": "
|
|
15597
|
+
"name": "EventController",
|
|
15673
15598
|
"declaration": {
|
|
15674
|
-
"name": "
|
|
15675
|
-
"module": "src/common/controllers/
|
|
15599
|
+
"name": "EventController",
|
|
15600
|
+
"module": "src/common/controllers/EventController.ts"
|
|
15676
15601
|
}
|
|
15677
15602
|
}
|
|
15678
15603
|
]
|
|
15679
15604
|
},
|
|
15680
15605
|
{
|
|
15681
15606
|
"kind": "javascript-module",
|
|
15682
|
-
"path": "src/common/controllers/
|
|
15607
|
+
"path": "src/common/controllers/FocusTrapController.ts",
|
|
15683
15608
|
"declarations": [
|
|
15684
15609
|
{
|
|
15685
15610
|
"kind": "class",
|
|
15686
15611
|
"description": "",
|
|
15687
|
-
"name": "
|
|
15612
|
+
"name": "FocusTrapController",
|
|
15688
15613
|
"members": [
|
|
15689
15614
|
{
|
|
15690
15615
|
"kind": "field",
|
|
15691
|
-
"name": "
|
|
15616
|
+
"name": "lastScrollY",
|
|
15692
15617
|
"type": {
|
|
15693
|
-
"text": "
|
|
15618
|
+
"text": "number"
|
|
15619
|
+
},
|
|
15620
|
+
"privacy": "private",
|
|
15621
|
+
"default": "0"
|
|
15622
|
+
},
|
|
15623
|
+
{
|
|
15624
|
+
"kind": "field",
|
|
15625
|
+
"name": "lastFocused",
|
|
15626
|
+
"type": {
|
|
15627
|
+
"text": "HTMLElement | undefined"
|
|
15694
15628
|
},
|
|
15695
15629
|
"privacy": "private"
|
|
15696
15630
|
},
|
|
15697
15631
|
{
|
|
15698
15632
|
"kind": "method",
|
|
15699
|
-
"name": "
|
|
15633
|
+
"name": "hostDisconnected"
|
|
15700
15634
|
},
|
|
15701
15635
|
{
|
|
15702
15636
|
"kind": "method",
|
|
15703
|
-
"name": "
|
|
15637
|
+
"name": "trap"
|
|
15704
15638
|
},
|
|
15705
15639
|
{
|
|
15706
15640
|
"kind": "method",
|
|
15707
|
-
"name": "
|
|
15641
|
+
"name": "release"
|
|
15642
|
+
},
|
|
15643
|
+
{
|
|
15644
|
+
"kind": "field",
|
|
15645
|
+
"name": "handleFocusOut",
|
|
15646
|
+
"privacy": "private"
|
|
15647
|
+
},
|
|
15648
|
+
{
|
|
15649
|
+
"kind": "field",
|
|
15650
|
+
"name": "handleFocusIn",
|
|
15651
|
+
"privacy": "private"
|
|
15708
15652
|
},
|
|
15709
15653
|
{
|
|
15710
15654
|
"kind": "method",
|
|
15711
|
-
"name": "
|
|
15712
|
-
"
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
|
|
15717
|
-
|
|
15718
|
-
}
|
|
15719
|
-
]
|
|
15655
|
+
"name": "recaptureFocus",
|
|
15656
|
+
"privacy": "private"
|
|
15657
|
+
},
|
|
15658
|
+
{
|
|
15659
|
+
"kind": "field",
|
|
15660
|
+
"name": "restoreScroll",
|
|
15661
|
+
"privacy": "private"
|
|
15720
15662
|
}
|
|
15721
15663
|
],
|
|
15722
15664
|
"examples": []
|
|
@@ -15725,30 +15667,22 @@
|
|
|
15725
15667
|
"exports": [
|
|
15726
15668
|
{
|
|
15727
15669
|
"kind": "js",
|
|
15728
|
-
"name": "
|
|
15729
|
-
"declaration": {
|
|
15730
|
-
"name": "ShortcutController",
|
|
15731
|
-
"module": "src/common/controllers/ShortcutController.ts"
|
|
15732
|
-
}
|
|
15733
|
-
},
|
|
15734
|
-
{
|
|
15735
|
-
"kind": "js",
|
|
15736
|
-
"name": "ShortcutMap",
|
|
15670
|
+
"name": "FocusTrapController",
|
|
15737
15671
|
"declaration": {
|
|
15738
|
-
"name": "
|
|
15739
|
-
"module": "src/common/controllers/
|
|
15672
|
+
"name": "FocusTrapController",
|
|
15673
|
+
"module": "src/common/controllers/FocusTrapController.ts"
|
|
15740
15674
|
}
|
|
15741
15675
|
}
|
|
15742
15676
|
]
|
|
15743
15677
|
},
|
|
15744
15678
|
{
|
|
15745
15679
|
"kind": "javascript-module",
|
|
15746
|
-
"path": "src/common/controllers/
|
|
15680
|
+
"path": "src/common/controllers/FormDataController.ts",
|
|
15747
15681
|
"declarations": [
|
|
15748
15682
|
{
|
|
15749
15683
|
"kind": "class",
|
|
15750
15684
|
"description": "",
|
|
15751
|
-
"name": "
|
|
15685
|
+
"name": "FormDataController",
|
|
15752
15686
|
"members": [
|
|
15753
15687
|
{
|
|
15754
15688
|
"kind": "field",
|
|
@@ -15765,33 +15699,8 @@
|
|
|
15765
15699
|
},
|
|
15766
15700
|
{
|
|
15767
15701
|
"kind": "field",
|
|
15768
|
-
"name": "
|
|
15769
|
-
},
|
|
15770
|
-
{
|
|
15771
|
-
"kind": "field",
|
|
15772
|
-
"name": "isEmpty"
|
|
15773
|
-
},
|
|
15774
|
-
{
|
|
15775
|
-
"kind": "field",
|
|
15776
|
-
"name": "content"
|
|
15777
|
-
},
|
|
15778
|
-
{
|
|
15779
|
-
"kind": "field",
|
|
15780
|
-
"name": "handleSlotChange",
|
|
15702
|
+
"name": "handleFormData",
|
|
15781
15703
|
"privacy": "private"
|
|
15782
|
-
},
|
|
15783
|
-
{
|
|
15784
|
-
"kind": "method",
|
|
15785
|
-
"name": "onChange",
|
|
15786
|
-
"privacy": "protected",
|
|
15787
|
-
"parameters": [
|
|
15788
|
-
{
|
|
15789
|
-
"name": "_e",
|
|
15790
|
-
"type": {
|
|
15791
|
-
"text": "Event"
|
|
15792
|
-
}
|
|
15793
|
-
}
|
|
15794
|
-
]
|
|
15795
15704
|
}
|
|
15796
15705
|
],
|
|
15797
15706
|
"examples": []
|
|
@@ -15800,606 +15709,621 @@
|
|
|
15800
15709
|
"exports": [
|
|
15801
15710
|
{
|
|
15802
15711
|
"kind": "js",
|
|
15803
|
-
"name": "
|
|
15712
|
+
"name": "FormDataController",
|
|
15804
15713
|
"declaration": {
|
|
15805
|
-
"name": "
|
|
15806
|
-
"module": "src/common/controllers/
|
|
15714
|
+
"name": "FormDataController",
|
|
15715
|
+
"module": "src/common/controllers/FormDataController.ts"
|
|
15807
15716
|
}
|
|
15808
15717
|
}
|
|
15809
15718
|
]
|
|
15810
15719
|
},
|
|
15811
15720
|
{
|
|
15812
15721
|
"kind": "javascript-module",
|
|
15813
|
-
"path": "src/common/controllers/
|
|
15722
|
+
"path": "src/common/controllers/LightDismissController.ts",
|
|
15814
15723
|
"declarations": [
|
|
15815
15724
|
{
|
|
15816
15725
|
"kind": "class",
|
|
15817
15726
|
"description": "",
|
|
15818
|
-
"name": "
|
|
15727
|
+
"name": "LightDismissController",
|
|
15819
15728
|
"members": [
|
|
15820
15729
|
{
|
|
15821
15730
|
"kind": "field",
|
|
15822
|
-
"name": "
|
|
15823
|
-
"type": {
|
|
15824
|
-
"text": "EventController"
|
|
15825
|
-
},
|
|
15826
|
-
"privacy": "private",
|
|
15827
|
-
"default": "new EventController(host)"
|
|
15828
|
-
},
|
|
15829
|
-
{
|
|
15830
|
-
"kind": "field",
|
|
15831
|
-
"name": "hadFirstUpdate",
|
|
15832
|
-
"type": {
|
|
15833
|
-
"text": "boolean"
|
|
15834
|
-
},
|
|
15835
|
-
"privacy": "private",
|
|
15836
|
-
"default": "false"
|
|
15837
|
-
},
|
|
15838
|
-
{
|
|
15839
|
-
"kind": "field",
|
|
15840
|
-
"name": "initialTouchX",
|
|
15841
|
-
"type": {
|
|
15842
|
-
"text": "number"
|
|
15843
|
-
},
|
|
15844
|
-
"privacy": "private",
|
|
15845
|
-
"default": "0"
|
|
15846
|
-
},
|
|
15847
|
-
{
|
|
15848
|
-
"kind": "field",
|
|
15849
|
-
"name": "initialTouchY",
|
|
15731
|
+
"name": "shortcut",
|
|
15850
15732
|
"type": {
|
|
15851
|
-
"text": "
|
|
15733
|
+
"text": "ShortcutController"
|
|
15852
15734
|
},
|
|
15853
15735
|
"privacy": "private",
|
|
15854
|
-
"default": "
|
|
15736
|
+
"default": "new ShortcutController(host, { Escape: this.handleEsc })"
|
|
15855
15737
|
},
|
|
15856
15738
|
{
|
|
15857
15739
|
"kind": "field",
|
|
15858
|
-
"name": "
|
|
15740
|
+
"name": "events",
|
|
15859
15741
|
"type": {
|
|
15860
|
-
"text": "
|
|
15742
|
+
"text": "EventController"
|
|
15861
15743
|
},
|
|
15862
15744
|
"privacy": "private",
|
|
15863
|
-
"default": "
|
|
15864
|
-
},
|
|
15865
|
-
{
|
|
15866
|
-
"kind": "method",
|
|
15867
|
-
"name": "hostUpdated"
|
|
15745
|
+
"default": "new EventController(host)"
|
|
15868
15746
|
},
|
|
15869
15747
|
{
|
|
15870
15748
|
"kind": "method",
|
|
15871
|
-
"name": "
|
|
15749
|
+
"name": "hostConnected"
|
|
15872
15750
|
},
|
|
15873
15751
|
{
|
|
15874
15752
|
"kind": "field",
|
|
15875
|
-
"name": "
|
|
15753
|
+
"name": "handleEsc",
|
|
15876
15754
|
"privacy": "private"
|
|
15877
15755
|
},
|
|
15878
15756
|
{
|
|
15879
15757
|
"kind": "field",
|
|
15880
|
-
"name": "
|
|
15758
|
+
"name": "handleClickOut",
|
|
15881
15759
|
"privacy": "private"
|
|
15882
15760
|
}
|
|
15883
15761
|
],
|
|
15884
15762
|
"examples": []
|
|
15885
|
-
},
|
|
15886
|
-
{
|
|
15887
|
-
"kind": "function",
|
|
15888
|
-
"name": "isHorizontalSwipe",
|
|
15889
|
-
"parameters": [
|
|
15890
|
-
{
|
|
15891
|
-
"name": "{ distX, distY }",
|
|
15892
|
-
"type": {
|
|
15893
|
-
"text": "SwipeDetails"
|
|
15894
|
-
}
|
|
15895
|
-
}
|
|
15896
|
-
]
|
|
15897
|
-
},
|
|
15898
|
-
{
|
|
15899
|
-
"kind": "function",
|
|
15900
|
-
"name": "isDownwardsSwipe",
|
|
15901
|
-
"parameters": [
|
|
15902
|
-
{
|
|
15903
|
-
"name": "{ distX, distY }",
|
|
15904
|
-
"type": {
|
|
15905
|
-
"text": "SwipeDetails"
|
|
15906
|
-
}
|
|
15907
|
-
}
|
|
15908
|
-
]
|
|
15909
15763
|
}
|
|
15910
15764
|
],
|
|
15911
15765
|
"exports": [
|
|
15912
15766
|
{
|
|
15913
15767
|
"kind": "js",
|
|
15914
|
-
"name": "
|
|
15915
|
-
"declaration": {
|
|
15916
|
-
"name": "SwipeController",
|
|
15917
|
-
"module": "src/common/controllers/SwipeController.ts"
|
|
15918
|
-
}
|
|
15919
|
-
},
|
|
15920
|
-
{
|
|
15921
|
-
"kind": "js",
|
|
15922
|
-
"name": "isHorizontalSwipe",
|
|
15923
|
-
"declaration": {
|
|
15924
|
-
"name": "isHorizontalSwipe",
|
|
15925
|
-
"module": "src/common/controllers/SwipeController.ts"
|
|
15926
|
-
}
|
|
15927
|
-
},
|
|
15928
|
-
{
|
|
15929
|
-
"kind": "js",
|
|
15930
|
-
"name": "isDownwardsSwipe",
|
|
15768
|
+
"name": "LightDismissController",
|
|
15931
15769
|
"declaration": {
|
|
15932
|
-
"name": "
|
|
15933
|
-
"module": "src/common/controllers/
|
|
15770
|
+
"name": "LightDismissController",
|
|
15771
|
+
"module": "src/common/controllers/LightDismissController.ts"
|
|
15934
15772
|
}
|
|
15935
15773
|
}
|
|
15936
15774
|
]
|
|
15937
15775
|
},
|
|
15938
15776
|
{
|
|
15939
15777
|
"kind": "javascript-module",
|
|
15940
|
-
"path": "src/common/
|
|
15778
|
+
"path": "src/common/controllers/LightDomController.ts",
|
|
15941
15779
|
"declarations": [
|
|
15942
15780
|
{
|
|
15943
|
-
"kind": "
|
|
15944
|
-
"
|
|
15945
|
-
"
|
|
15781
|
+
"kind": "class",
|
|
15782
|
+
"description": "",
|
|
15783
|
+
"name": "LightDomController",
|
|
15784
|
+
"members": [
|
|
15946
15785
|
{
|
|
15947
|
-
"
|
|
15786
|
+
"kind": "field",
|
|
15787
|
+
"name": "container",
|
|
15948
15788
|
"type": {
|
|
15949
|
-
"text": "
|
|
15950
|
-
}
|
|
15789
|
+
"text": "HTMLElement"
|
|
15790
|
+
},
|
|
15791
|
+
"privacy": "private"
|
|
15951
15792
|
},
|
|
15952
15793
|
{
|
|
15953
|
-
"
|
|
15954
|
-
"
|
|
15955
|
-
|
|
15956
|
-
|
|
15957
|
-
|
|
15794
|
+
"kind": "method",
|
|
15795
|
+
"name": "hostUpdated"
|
|
15796
|
+
},
|
|
15797
|
+
{
|
|
15798
|
+
"kind": "method",
|
|
15799
|
+
"name": "hostDisconnected"
|
|
15958
15800
|
}
|
|
15959
|
-
]
|
|
15801
|
+
],
|
|
15802
|
+
"examples": []
|
|
15960
15803
|
}
|
|
15961
15804
|
],
|
|
15962
15805
|
"exports": [
|
|
15963
15806
|
{
|
|
15964
15807
|
"kind": "js",
|
|
15965
|
-
"name": "
|
|
15808
|
+
"name": "LightDomController",
|
|
15966
15809
|
"declaration": {
|
|
15967
|
-
"name": "
|
|
15968
|
-
"module": "src/common/
|
|
15810
|
+
"name": "LightDomController",
|
|
15811
|
+
"module": "src/common/controllers/LightDomController.ts"
|
|
15969
15812
|
}
|
|
15970
15813
|
}
|
|
15971
15814
|
]
|
|
15972
15815
|
},
|
|
15973
15816
|
{
|
|
15974
15817
|
"kind": "javascript-module",
|
|
15975
|
-
"path": "src/common/
|
|
15818
|
+
"path": "src/common/controllers/LightSlotController.ts",
|
|
15976
15819
|
"declarations": [
|
|
15977
15820
|
{
|
|
15978
|
-
"kind": "
|
|
15979
|
-
"
|
|
15980
|
-
"
|
|
15981
|
-
|
|
15982
|
-
"text": "typeof value | typeof nothing"
|
|
15983
|
-
}
|
|
15984
|
-
},
|
|
15985
|
-
"parameters": [
|
|
15986
|
-
{
|
|
15987
|
-
"name": "value",
|
|
15988
|
-
"type": {
|
|
15989
|
-
"text": "any"
|
|
15990
|
-
}
|
|
15991
|
-
}
|
|
15992
|
-
],
|
|
15993
|
-
"description": "if value is truthy, return it, otherwise return nothing"
|
|
15994
|
-
},
|
|
15995
|
-
{
|
|
15996
|
-
"kind": "function",
|
|
15997
|
-
"name": "cond",
|
|
15998
|
-
"return": {
|
|
15999
|
-
"type": {
|
|
16000
|
-
"text": "typeof trueCase | typeof nothing"
|
|
16001
|
-
}
|
|
16002
|
-
},
|
|
16003
|
-
"parameters": [
|
|
15821
|
+
"kind": "class",
|
|
15822
|
+
"description": "Handles cases where a component needs to render to light DOM,\nand potentially sync component properties to user-supplied content.",
|
|
15823
|
+
"name": "LightSlotController",
|
|
15824
|
+
"members": [
|
|
16004
15825
|
{
|
|
16005
|
-
"
|
|
15826
|
+
"kind": "field",
|
|
15827
|
+
"name": "renderHook",
|
|
16006
15828
|
"type": {
|
|
16007
|
-
"text": "
|
|
16008
|
-
}
|
|
15829
|
+
"text": "Comment"
|
|
15830
|
+
},
|
|
15831
|
+
"privacy": "private"
|
|
16009
15832
|
},
|
|
16010
15833
|
{
|
|
16011
|
-
"
|
|
16012
|
-
"
|
|
16013
|
-
"text": "any"
|
|
16014
|
-
}
|
|
16015
|
-
}
|
|
16016
|
-
],
|
|
16017
|
-
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
16018
|
-
},
|
|
16019
|
-
{
|
|
16020
|
-
"kind": "function",
|
|
16021
|
-
"name": "cond",
|
|
16022
|
-
"return": {
|
|
16023
|
-
"type": {
|
|
16024
|
-
"text": "typeof trueCase"
|
|
16025
|
-
}
|
|
16026
|
-
},
|
|
16027
|
-
"parameters": [
|
|
16028
|
-
{
|
|
16029
|
-
"name": "condition",
|
|
15834
|
+
"kind": "field",
|
|
15835
|
+
"name": "lightDom",
|
|
16030
15836
|
"type": {
|
|
16031
|
-
"text": "
|
|
16032
|
-
}
|
|
15837
|
+
"text": "LightDomController"
|
|
15838
|
+
},
|
|
15839
|
+
"privacy": "private",
|
|
15840
|
+
"default": "new LightDomController(host, {\n render: () => (this.hasContent ? nothing : this.options.render()),\n renderOptions: { renderBefore: this.renderHook },\n })"
|
|
16033
15841
|
},
|
|
16034
15842
|
{
|
|
16035
|
-
"
|
|
16036
|
-
"
|
|
16037
|
-
|
|
15843
|
+
"kind": "method",
|
|
15844
|
+
"name": "hostConnected",
|
|
15845
|
+
"inheritedFrom": {
|
|
15846
|
+
"name": "SlotController",
|
|
15847
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
16038
15848
|
}
|
|
16039
|
-
}
|
|
16040
|
-
],
|
|
16041
|
-
"description": "condition is true, so always return trueCase"
|
|
16042
|
-
},
|
|
16043
|
-
{
|
|
16044
|
-
"kind": "function",
|
|
16045
|
-
"name": "cond",
|
|
16046
|
-
"return": {
|
|
16047
|
-
"type": {
|
|
16048
|
-
"text": "typeof nothing"
|
|
16049
|
-
}
|
|
16050
|
-
},
|
|
16051
|
-
"parameters": [
|
|
15849
|
+
},
|
|
16052
15850
|
{
|
|
16053
|
-
"
|
|
16054
|
-
"
|
|
16055
|
-
"text": "false"
|
|
16056
|
-
}
|
|
15851
|
+
"kind": "method",
|
|
15852
|
+
"name": "hostDisconnected"
|
|
16057
15853
|
},
|
|
16058
15854
|
{
|
|
16059
|
-
"
|
|
16060
|
-
"
|
|
16061
|
-
|
|
15855
|
+
"kind": "field",
|
|
15856
|
+
"name": "onChange",
|
|
15857
|
+
"privacy": "protected",
|
|
15858
|
+
"parameters": [
|
|
15859
|
+
{
|
|
15860
|
+
"name": "_e",
|
|
15861
|
+
"type": {
|
|
15862
|
+
"text": "Event"
|
|
15863
|
+
}
|
|
15864
|
+
}
|
|
15865
|
+
],
|
|
15866
|
+
"inheritedFrom": {
|
|
15867
|
+
"name": "SlotController",
|
|
15868
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
16062
15869
|
}
|
|
16063
|
-
}
|
|
16064
|
-
],
|
|
16065
|
-
"description": "condition is false, to will always return nothing"
|
|
16066
|
-
},
|
|
16067
|
-
{
|
|
16068
|
-
"kind": "function",
|
|
16069
|
-
"name": "cond",
|
|
16070
|
-
"return": {
|
|
16071
|
-
"type": {
|
|
16072
|
-
"text": "typeof trueCase | typeof falseCase"
|
|
16073
|
-
}
|
|
16074
|
-
},
|
|
16075
|
-
"parameters": [
|
|
15870
|
+
},
|
|
16076
15871
|
{
|
|
16077
|
-
"
|
|
16078
|
-
"
|
|
16079
|
-
|
|
16080
|
-
}
|
|
15872
|
+
"kind": "method",
|
|
15873
|
+
"name": "syncLightDom",
|
|
15874
|
+
"privacy": "private"
|
|
16081
15875
|
},
|
|
16082
15876
|
{
|
|
16083
|
-
"
|
|
15877
|
+
"kind": "field",
|
|
15878
|
+
"name": "events",
|
|
16084
15879
|
"type": {
|
|
16085
|
-
"text": "
|
|
15880
|
+
"text": "EventController"
|
|
15881
|
+
},
|
|
15882
|
+
"privacy": "private",
|
|
15883
|
+
"default": "new EventController(host)",
|
|
15884
|
+
"inheritedFrom": {
|
|
15885
|
+
"name": "SlotController",
|
|
15886
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
16086
15887
|
}
|
|
16087
15888
|
},
|
|
16088
15889
|
{
|
|
16089
|
-
"
|
|
16090
|
-
"
|
|
16091
|
-
|
|
15890
|
+
"kind": "field",
|
|
15891
|
+
"name": "hasContent",
|
|
15892
|
+
"inheritedFrom": {
|
|
15893
|
+
"name": "SlotController",
|
|
15894
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
16092
15895
|
}
|
|
16093
|
-
}
|
|
16094
|
-
],
|
|
16095
|
-
"description": "if condition is truthy, return trueCase, otherwise return falseCase"
|
|
16096
|
-
},
|
|
16097
|
-
{
|
|
16098
|
-
"kind": "function",
|
|
16099
|
-
"name": "cond",
|
|
16100
|
-
"return": {
|
|
16101
|
-
"type": {
|
|
16102
|
-
"text": "typeof trueCase"
|
|
16103
|
-
}
|
|
16104
|
-
},
|
|
16105
|
-
"parameters": [
|
|
15896
|
+
},
|
|
16106
15897
|
{
|
|
16107
|
-
"
|
|
16108
|
-
"
|
|
16109
|
-
|
|
15898
|
+
"kind": "field",
|
|
15899
|
+
"name": "isEmpty",
|
|
15900
|
+
"inheritedFrom": {
|
|
15901
|
+
"name": "SlotController",
|
|
15902
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
16110
15903
|
}
|
|
16111
15904
|
},
|
|
16112
15905
|
{
|
|
16113
|
-
"
|
|
16114
|
-
"
|
|
16115
|
-
|
|
15906
|
+
"kind": "field",
|
|
15907
|
+
"name": "content",
|
|
15908
|
+
"inheritedFrom": {
|
|
15909
|
+
"name": "SlotController",
|
|
15910
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
16116
15911
|
}
|
|
16117
15912
|
},
|
|
16118
15913
|
{
|
|
16119
|
-
"
|
|
16120
|
-
"
|
|
16121
|
-
|
|
15914
|
+
"kind": "field",
|
|
15915
|
+
"name": "handleSlotChange",
|
|
15916
|
+
"privacy": "private",
|
|
15917
|
+
"inheritedFrom": {
|
|
15918
|
+
"name": "SlotController",
|
|
15919
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
16122
15920
|
}
|
|
16123
15921
|
}
|
|
16124
15922
|
],
|
|
16125
|
-
"
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
"kind": "function",
|
|
16129
|
-
"name": "cond",
|
|
16130
|
-
"return": {
|
|
16131
|
-
"type": {
|
|
16132
|
-
"text": "typeof falseCase"
|
|
16133
|
-
}
|
|
15923
|
+
"superclass": {
|
|
15924
|
+
"name": "SlotController",
|
|
15925
|
+
"module": "/src/common/controllers/SlotController.js"
|
|
16134
15926
|
},
|
|
16135
|
-
"
|
|
15927
|
+
"status": null,
|
|
15928
|
+
"category": null,
|
|
15929
|
+
"displayName": null,
|
|
15930
|
+
"examples": []
|
|
15931
|
+
}
|
|
15932
|
+
],
|
|
15933
|
+
"exports": [
|
|
15934
|
+
{
|
|
15935
|
+
"kind": "js",
|
|
15936
|
+
"name": "LightSlotController",
|
|
15937
|
+
"declaration": {
|
|
15938
|
+
"name": "LightSlotController",
|
|
15939
|
+
"module": "src/common/controllers/LightSlotController.ts"
|
|
15940
|
+
}
|
|
15941
|
+
}
|
|
15942
|
+
]
|
|
15943
|
+
},
|
|
15944
|
+
{
|
|
15945
|
+
"kind": "javascript-module",
|
|
15946
|
+
"path": "src/common/controllers/PortalController.ts",
|
|
15947
|
+
"declarations": [
|
|
15948
|
+
{
|
|
15949
|
+
"kind": "class",
|
|
15950
|
+
"description": "",
|
|
15951
|
+
"name": "PortalController",
|
|
15952
|
+
"members": [
|
|
16136
15953
|
{
|
|
16137
|
-
"
|
|
15954
|
+
"kind": "field",
|
|
15955
|
+
"name": "renderHook",
|
|
16138
15956
|
"type": {
|
|
16139
|
-
"text": "
|
|
16140
|
-
}
|
|
15957
|
+
"text": "Comment"
|
|
15958
|
+
},
|
|
15959
|
+
"privacy": "private"
|
|
16141
15960
|
},
|
|
16142
15961
|
{
|
|
16143
|
-
"
|
|
15962
|
+
"kind": "field",
|
|
15963
|
+
"name": "lightDom",
|
|
16144
15964
|
"type": {
|
|
16145
|
-
"text": "
|
|
16146
|
-
}
|
|
15965
|
+
"text": "LightDomController"
|
|
15966
|
+
},
|
|
15967
|
+
"privacy": "private",
|
|
15968
|
+
"default": "new LightDomController(host, {\n render: () => this.options.render.call(host),\n container: options.outlet,\n renderOptions: {\n renderBefore: this.renderHook,\n host,\n },\n })"
|
|
16147
15969
|
},
|
|
16148
15970
|
{
|
|
16149
|
-
"
|
|
16150
|
-
"
|
|
16151
|
-
"text": "any"
|
|
16152
|
-
}
|
|
16153
|
-
}
|
|
16154
|
-
],
|
|
16155
|
-
"description": "condition is false, so always return falseCase"
|
|
16156
|
-
},
|
|
16157
|
-
{
|
|
16158
|
-
"kind": "function",
|
|
16159
|
-
"name": "cond",
|
|
16160
|
-
"parameters": [
|
|
16161
|
-
{
|
|
16162
|
-
"name": "condition",
|
|
16163
|
-
"type": {
|
|
16164
|
-
"text": "unknown"
|
|
16165
|
-
}
|
|
15971
|
+
"kind": "method",
|
|
15972
|
+
"name": "hostConnected"
|
|
16166
15973
|
},
|
|
16167
15974
|
{
|
|
16168
|
-
"
|
|
16169
|
-
"
|
|
16170
|
-
"type": {
|
|
16171
|
-
"text": "any"
|
|
16172
|
-
}
|
|
15975
|
+
"kind": "method",
|
|
15976
|
+
"name": "hostUpdated"
|
|
16173
15977
|
},
|
|
16174
15978
|
{
|
|
16175
|
-
"
|
|
16176
|
-
"
|
|
16177
|
-
"type": {
|
|
16178
|
-
"text": "any"
|
|
16179
|
-
}
|
|
15979
|
+
"kind": "method",
|
|
15980
|
+
"name": "hostDisconnected"
|
|
16180
15981
|
}
|
|
16181
|
-
]
|
|
15982
|
+
],
|
|
15983
|
+
"examples": []
|
|
16182
15984
|
}
|
|
16183
15985
|
],
|
|
16184
15986
|
"exports": [
|
|
16185
15987
|
{
|
|
16186
15988
|
"kind": "js",
|
|
16187
|
-
"name": "
|
|
15989
|
+
"name": "PortalController",
|
|
16188
15990
|
"declaration": {
|
|
16189
|
-
"name": "
|
|
16190
|
-
"module": "src/common/
|
|
15991
|
+
"name": "PortalController",
|
|
15992
|
+
"module": "src/common/controllers/PortalController.ts"
|
|
16191
15993
|
}
|
|
16192
|
-
}
|
|
15994
|
+
}
|
|
15995
|
+
]
|
|
15996
|
+
},
|
|
15997
|
+
{
|
|
15998
|
+
"kind": "javascript-module",
|
|
15999
|
+
"path": "src/common/controllers/ScrollbarController.ts",
|
|
16000
|
+
"declarations": [
|
|
16193
16001
|
{
|
|
16194
|
-
"kind": "
|
|
16195
|
-
"
|
|
16196
|
-
"
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16200
|
-
|
|
16002
|
+
"kind": "class",
|
|
16003
|
+
"description": "We can have any number of components open at a time, all of which lock scroll.\nConsider multiple modals being open, plus some popouts, etc.\n\nSo we need some bookkeeping to know when to unlock scroll...\n\nBut we can't simply keep a count of how many components are open,\nsince a misbehaving component may call lockScroll() multiple times.\n\nNor can we rely on the first component to call lockScroll() to be the last to unlockScroll(),\nsince we cannot guarantee order of operations.\n\nTherefore, we track instances of ScrollbarController in a Set,\nand only unlock scroll when the set is empty.\n\nWe also need to be careful to restore any styles that were there\nbefore we locked scroll.",
|
|
16004
|
+
"name": "ScrollbarController",
|
|
16005
|
+
"members": [
|
|
16006
|
+
{
|
|
16007
|
+
"kind": "field",
|
|
16008
|
+
"name": "locks",
|
|
16009
|
+
"privacy": "private",
|
|
16010
|
+
"static": true,
|
|
16011
|
+
"default": "new Set<ScrollbarController>()"
|
|
16012
|
+
},
|
|
16013
|
+
{
|
|
16014
|
+
"kind": "field",
|
|
16015
|
+
"name": "resets",
|
|
16016
|
+
"type": {
|
|
16017
|
+
"text": "Array<() => void>"
|
|
16018
|
+
},
|
|
16019
|
+
"privacy": "private",
|
|
16020
|
+
"static": true,
|
|
16021
|
+
"default": "[]"
|
|
16022
|
+
},
|
|
16023
|
+
{
|
|
16024
|
+
"kind": "method",
|
|
16025
|
+
"name": "hostDisconnected"
|
|
16026
|
+
},
|
|
16027
|
+
{
|
|
16028
|
+
"kind": "method",
|
|
16029
|
+
"name": "lockScroll"
|
|
16030
|
+
},
|
|
16031
|
+
{
|
|
16032
|
+
"kind": "method",
|
|
16033
|
+
"name": "unlockScroll"
|
|
16034
|
+
},
|
|
16035
|
+
{
|
|
16036
|
+
"kind": "method",
|
|
16037
|
+
"name": "setStyle",
|
|
16038
|
+
"privacy": "private",
|
|
16039
|
+
"static": true,
|
|
16040
|
+
"parameters": [
|
|
16041
|
+
{
|
|
16042
|
+
"name": "property",
|
|
16043
|
+
"type": {
|
|
16044
|
+
"text": "string"
|
|
16045
|
+
}
|
|
16046
|
+
},
|
|
16047
|
+
{
|
|
16048
|
+
"name": "value",
|
|
16049
|
+
"type": {
|
|
16050
|
+
"text": "string"
|
|
16051
|
+
}
|
|
16052
|
+
}
|
|
16053
|
+
]
|
|
16054
|
+
}
|
|
16055
|
+
],
|
|
16056
|
+
"status": null,
|
|
16057
|
+
"category": null,
|
|
16058
|
+
"displayName": null,
|
|
16059
|
+
"examples": []
|
|
16060
|
+
}
|
|
16061
|
+
],
|
|
16062
|
+
"exports": [
|
|
16201
16063
|
{
|
|
16202
16064
|
"kind": "js",
|
|
16203
|
-
"name": "
|
|
16065
|
+
"name": "ScrollbarController",
|
|
16204
16066
|
"declaration": {
|
|
16205
|
-
"name": "
|
|
16206
|
-
"module": "src/common/
|
|
16067
|
+
"name": "ScrollbarController",
|
|
16068
|
+
"module": "src/common/controllers/ScrollbarController.ts"
|
|
16207
16069
|
}
|
|
16208
|
-
}
|
|
16070
|
+
}
|
|
16071
|
+
]
|
|
16072
|
+
},
|
|
16073
|
+
{
|
|
16074
|
+
"kind": "javascript-module",
|
|
16075
|
+
"path": "src/common/controllers/ShortcutController.ts",
|
|
16076
|
+
"declarations": [
|
|
16209
16077
|
{
|
|
16210
|
-
"kind": "
|
|
16211
|
-
"
|
|
16212
|
-
"
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
|
|
16078
|
+
"kind": "class",
|
|
16079
|
+
"description": "",
|
|
16080
|
+
"name": "ShortcutController",
|
|
16081
|
+
"members": [
|
|
16082
|
+
{
|
|
16083
|
+
"kind": "field",
|
|
16084
|
+
"name": "unregister",
|
|
16085
|
+
"type": {
|
|
16086
|
+
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
16087
|
+
},
|
|
16088
|
+
"privacy": "private"
|
|
16089
|
+
},
|
|
16090
|
+
{
|
|
16091
|
+
"kind": "method",
|
|
16092
|
+
"name": "hostConnected"
|
|
16093
|
+
},
|
|
16094
|
+
{
|
|
16095
|
+
"kind": "method",
|
|
16096
|
+
"name": "hostDisconnected"
|
|
16097
|
+
},
|
|
16098
|
+
{
|
|
16099
|
+
"kind": "method",
|
|
16100
|
+
"name": "unbind"
|
|
16101
|
+
},
|
|
16102
|
+
{
|
|
16103
|
+
"kind": "method",
|
|
16104
|
+
"name": "bind",
|
|
16105
|
+
"parameters": [
|
|
16106
|
+
{
|
|
16107
|
+
"name": "shortcuts",
|
|
16108
|
+
"type": {
|
|
16109
|
+
"text": "KeyBindingMap"
|
|
16110
|
+
}
|
|
16111
|
+
}
|
|
16112
|
+
]
|
|
16113
|
+
}
|
|
16114
|
+
],
|
|
16115
|
+
"examples": []
|
|
16116
|
+
}
|
|
16117
|
+
],
|
|
16118
|
+
"exports": [
|
|
16217
16119
|
{
|
|
16218
16120
|
"kind": "js",
|
|
16219
|
-
"name": "
|
|
16121
|
+
"name": "ShortcutController",
|
|
16220
16122
|
"declaration": {
|
|
16221
|
-
"name": "
|
|
16222
|
-
"module": "src/common/
|
|
16123
|
+
"name": "ShortcutController",
|
|
16124
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
16223
16125
|
}
|
|
16224
16126
|
},
|
|
16225
16127
|
{
|
|
16226
16128
|
"kind": "js",
|
|
16227
|
-
"name": "
|
|
16129
|
+
"name": "ShortcutMap",
|
|
16228
16130
|
"declaration": {
|
|
16229
|
-
"name": "
|
|
16230
|
-
"module": "src/common/
|
|
16131
|
+
"name": "KeyBindingMap",
|
|
16132
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
16231
16133
|
}
|
|
16232
|
-
}
|
|
16134
|
+
}
|
|
16135
|
+
]
|
|
16136
|
+
},
|
|
16137
|
+
{
|
|
16138
|
+
"kind": "javascript-module",
|
|
16139
|
+
"path": "src/common/controllers/SlotController.ts",
|
|
16140
|
+
"declarations": [
|
|
16233
16141
|
{
|
|
16234
|
-
"kind": "
|
|
16235
|
-
"
|
|
16236
|
-
"
|
|
16237
|
-
|
|
16238
|
-
|
|
16239
|
-
|
|
16240
|
-
|
|
16142
|
+
"kind": "class",
|
|
16143
|
+
"description": "",
|
|
16144
|
+
"name": "SlotController",
|
|
16145
|
+
"members": [
|
|
16146
|
+
{
|
|
16147
|
+
"kind": "field",
|
|
16148
|
+
"name": "events",
|
|
16149
|
+
"type": {
|
|
16150
|
+
"text": "EventController"
|
|
16151
|
+
},
|
|
16152
|
+
"privacy": "private",
|
|
16153
|
+
"default": "new EventController(host)"
|
|
16154
|
+
},
|
|
16155
|
+
{
|
|
16156
|
+
"kind": "method",
|
|
16157
|
+
"name": "hostConnected"
|
|
16158
|
+
},
|
|
16159
|
+
{
|
|
16160
|
+
"kind": "field",
|
|
16161
|
+
"name": "hasContent"
|
|
16162
|
+
},
|
|
16163
|
+
{
|
|
16164
|
+
"kind": "field",
|
|
16165
|
+
"name": "isEmpty"
|
|
16166
|
+
},
|
|
16167
|
+
{
|
|
16168
|
+
"kind": "field",
|
|
16169
|
+
"name": "content"
|
|
16170
|
+
},
|
|
16171
|
+
{
|
|
16172
|
+
"kind": "field",
|
|
16173
|
+
"name": "handleSlotChange",
|
|
16174
|
+
"privacy": "private"
|
|
16175
|
+
},
|
|
16176
|
+
{
|
|
16177
|
+
"kind": "method",
|
|
16178
|
+
"name": "onChange",
|
|
16179
|
+
"privacy": "protected",
|
|
16180
|
+
"parameters": [
|
|
16181
|
+
{
|
|
16182
|
+
"name": "_e",
|
|
16183
|
+
"type": {
|
|
16184
|
+
"text": "Event"
|
|
16185
|
+
}
|
|
16186
|
+
}
|
|
16187
|
+
]
|
|
16188
|
+
}
|
|
16189
|
+
],
|
|
16190
|
+
"examples": []
|
|
16191
|
+
}
|
|
16192
|
+
],
|
|
16193
|
+
"exports": [
|
|
16241
16194
|
{
|
|
16242
16195
|
"kind": "js",
|
|
16243
|
-
"name": "
|
|
16196
|
+
"name": "SlotController",
|
|
16244
16197
|
"declaration": {
|
|
16245
|
-
"name": "
|
|
16246
|
-
"module": "src/common/
|
|
16198
|
+
"name": "SlotController",
|
|
16199
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
16247
16200
|
}
|
|
16248
16201
|
}
|
|
16249
16202
|
]
|
|
16250
16203
|
},
|
|
16251
16204
|
{
|
|
16252
16205
|
"kind": "javascript-module",
|
|
16253
|
-
"path": "src/common/
|
|
16206
|
+
"path": "src/common/controllers/SwipeController.ts",
|
|
16254
16207
|
"declarations": [
|
|
16255
16208
|
{
|
|
16256
|
-
"kind": "
|
|
16257
|
-
"
|
|
16258
|
-
"
|
|
16259
|
-
|
|
16260
|
-
"text": "TInner"
|
|
16261
|
-
}
|
|
16262
|
-
},
|
|
16263
|
-
"parameters": [
|
|
16209
|
+
"kind": "class",
|
|
16210
|
+
"description": "",
|
|
16211
|
+
"name": "SwipeController",
|
|
16212
|
+
"members": [
|
|
16264
16213
|
{
|
|
16265
|
-
"
|
|
16214
|
+
"kind": "field",
|
|
16215
|
+
"name": "events",
|
|
16266
16216
|
"type": {
|
|
16267
|
-
"text": "
|
|
16268
|
-
}
|
|
16217
|
+
"text": "EventController"
|
|
16218
|
+
},
|
|
16219
|
+
"privacy": "private",
|
|
16220
|
+
"default": "new EventController(host)"
|
|
16269
16221
|
},
|
|
16270
16222
|
{
|
|
16271
|
-
"
|
|
16223
|
+
"kind": "field",
|
|
16224
|
+
"name": "hadFirstUpdate",
|
|
16272
16225
|
"type": {
|
|
16273
|
-
"text": "
|
|
16274
|
-
}
|
|
16226
|
+
"text": "boolean"
|
|
16227
|
+
},
|
|
16228
|
+
"privacy": "private",
|
|
16229
|
+
"default": "false"
|
|
16275
16230
|
},
|
|
16276
16231
|
{
|
|
16277
|
-
"
|
|
16232
|
+
"kind": "field",
|
|
16233
|
+
"name": "initialTouchX",
|
|
16278
16234
|
"type": {
|
|
16279
|
-
"text": "
|
|
16280
|
-
}
|
|
16281
|
-
|
|
16282
|
-
|
|
16283
|
-
|
|
16284
|
-
{
|
|
16285
|
-
"kind": "function",
|
|
16286
|
-
"name": "wrapIf",
|
|
16287
|
-
"return": {
|
|
16288
|
-
"type": {
|
|
16289
|
-
"text": "TWrapper"
|
|
16290
|
-
}
|
|
16291
|
-
},
|
|
16292
|
-
"parameters": [
|
|
16235
|
+
"text": "number"
|
|
16236
|
+
},
|
|
16237
|
+
"privacy": "private",
|
|
16238
|
+
"default": "0"
|
|
16239
|
+
},
|
|
16293
16240
|
{
|
|
16294
|
-
"
|
|
16241
|
+
"kind": "field",
|
|
16242
|
+
"name": "initialTouchY",
|
|
16295
16243
|
"type": {
|
|
16296
|
-
"text": "
|
|
16297
|
-
}
|
|
16244
|
+
"text": "number"
|
|
16245
|
+
},
|
|
16246
|
+
"privacy": "private",
|
|
16247
|
+
"default": "0"
|
|
16298
16248
|
},
|
|
16299
16249
|
{
|
|
16300
|
-
"
|
|
16250
|
+
"kind": "field",
|
|
16251
|
+
"name": "options",
|
|
16301
16252
|
"type": {
|
|
16302
|
-
"text": "
|
|
16303
|
-
}
|
|
16253
|
+
"text": "SetRequired<SwipeControllerOptions, \"target\">"
|
|
16254
|
+
},
|
|
16255
|
+
"privacy": "private",
|
|
16256
|
+
"default": "{\n target: () => host,\n ...options,\n }"
|
|
16304
16257
|
},
|
|
16305
16258
|
{
|
|
16306
|
-
"
|
|
16307
|
-
"
|
|
16308
|
-
|
|
16309
|
-
|
|
16259
|
+
"kind": "method",
|
|
16260
|
+
"name": "hostUpdated"
|
|
16261
|
+
},
|
|
16262
|
+
{
|
|
16263
|
+
"kind": "method",
|
|
16264
|
+
"name": "hostDisconnected"
|
|
16265
|
+
},
|
|
16266
|
+
{
|
|
16267
|
+
"kind": "field",
|
|
16268
|
+
"name": "handleTouchStart",
|
|
16269
|
+
"privacy": "private"
|
|
16270
|
+
},
|
|
16271
|
+
{
|
|
16272
|
+
"kind": "field",
|
|
16273
|
+
"name": "handleTouchEnd",
|
|
16274
|
+
"privacy": "private"
|
|
16310
16275
|
}
|
|
16311
|
-
]
|
|
16276
|
+
],
|
|
16277
|
+
"examples": []
|
|
16312
16278
|
},
|
|
16313
16279
|
{
|
|
16314
16280
|
"kind": "function",
|
|
16315
|
-
"name": "
|
|
16316
|
-
"return": {
|
|
16317
|
-
"type": {
|
|
16318
|
-
"text": "TInner | TWrapper"
|
|
16319
|
-
}
|
|
16320
|
-
},
|
|
16281
|
+
"name": "isHorizontalSwipe",
|
|
16321
16282
|
"parameters": [
|
|
16322
16283
|
{
|
|
16323
|
-
"name": "
|
|
16324
|
-
"type": {
|
|
16325
|
-
"text": "unknown"
|
|
16326
|
-
}
|
|
16327
|
-
},
|
|
16328
|
-
{
|
|
16329
|
-
"name": "inner",
|
|
16330
|
-
"type": {
|
|
16331
|
-
"text": "() => TInner"
|
|
16332
|
-
}
|
|
16333
|
-
},
|
|
16334
|
-
{
|
|
16335
|
-
"name": "wrapper",
|
|
16284
|
+
"name": "{ distX, distY }",
|
|
16336
16285
|
"type": {
|
|
16337
|
-
"text": "
|
|
16286
|
+
"text": "SwipeDetails"
|
|
16338
16287
|
}
|
|
16339
16288
|
}
|
|
16340
16289
|
]
|
|
16341
16290
|
},
|
|
16342
16291
|
{
|
|
16343
16292
|
"kind": "function",
|
|
16344
|
-
"name": "
|
|
16293
|
+
"name": "isDownwardsSwipe",
|
|
16345
16294
|
"parameters": [
|
|
16346
16295
|
{
|
|
16347
|
-
"name": "
|
|
16348
|
-
"type": {
|
|
16349
|
-
"text": "any"
|
|
16350
|
-
}
|
|
16351
|
-
},
|
|
16352
|
-
{
|
|
16353
|
-
"name": "inner",
|
|
16354
|
-
"type": {
|
|
16355
|
-
"text": "() => TInner"
|
|
16356
|
-
}
|
|
16357
|
-
},
|
|
16358
|
-
{
|
|
16359
|
-
"name": "wrapper",
|
|
16296
|
+
"name": "{ distX, distY }",
|
|
16360
16297
|
"type": {
|
|
16361
|
-
"text": "
|
|
16298
|
+
"text": "SwipeDetails"
|
|
16362
16299
|
}
|
|
16363
16300
|
}
|
|
16364
|
-
]
|
|
16365
|
-
"return": {
|
|
16366
|
-
"type": {
|
|
16367
|
-
"text": ""
|
|
16368
|
-
}
|
|
16369
|
-
}
|
|
16301
|
+
]
|
|
16370
16302
|
}
|
|
16371
16303
|
],
|
|
16372
16304
|
"exports": [
|
|
16373
16305
|
{
|
|
16374
16306
|
"kind": "js",
|
|
16375
|
-
"name": "
|
|
16376
|
-
"declaration": {
|
|
16377
|
-
"name": "wrapIf",
|
|
16378
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
16379
|
-
}
|
|
16380
|
-
},
|
|
16381
|
-
{
|
|
16382
|
-
"kind": "js",
|
|
16383
|
-
"name": "wrapIf",
|
|
16307
|
+
"name": "SwipeController",
|
|
16384
16308
|
"declaration": {
|
|
16385
|
-
"name": "
|
|
16386
|
-
"module": "src/common/
|
|
16309
|
+
"name": "SwipeController",
|
|
16310
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
16387
16311
|
}
|
|
16388
16312
|
},
|
|
16389
16313
|
{
|
|
16390
16314
|
"kind": "js",
|
|
16391
|
-
"name": "
|
|
16315
|
+
"name": "isHorizontalSwipe",
|
|
16392
16316
|
"declaration": {
|
|
16393
|
-
"name": "
|
|
16394
|
-
"module": "src/common/
|
|
16317
|
+
"name": "isHorizontalSwipe",
|
|
16318
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
16395
16319
|
}
|
|
16396
16320
|
},
|
|
16397
16321
|
{
|
|
16398
16322
|
"kind": "js",
|
|
16399
|
-
"name": "
|
|
16323
|
+
"name": "isDownwardsSwipe",
|
|
16400
16324
|
"declaration": {
|
|
16401
|
-
"name": "
|
|
16402
|
-
"module": "src/common/
|
|
16325
|
+
"name": "isDownwardsSwipe",
|
|
16326
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
16403
16327
|
}
|
|
16404
16328
|
}
|
|
16405
16329
|
]
|