@spectrum-web-components/contextual-help 1.12.0-next.20260218162159 → 1.12.0-testing.20260223092154

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/contextual-help",
3
- "version": "1.12.0-next.20260218162159",
3
+ "version": "1.12.0-testing.20260223092154",
4
4
  "description": "Web component implementation of a Spectrum design ContextualHelp",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Adobe",
@@ -55,13 +55,13 @@
55
55
  ],
56
56
  "types": "./src/index.d.ts",
57
57
  "dependencies": {
58
- "@spectrum-web-components/action-button": "1.12.0-next.20260218162159",
59
- "@spectrum-web-components/base": "1.12.0-next.20260218162159",
60
- "@spectrum-web-components/dialog": "1.12.0-next.20260218162159",
61
- "@spectrum-web-components/icons-workflow": "1.12.0-next.20260218162159",
62
- "@spectrum-web-components/overlay": "1.12.0-next.20260218162159",
63
- "@spectrum-web-components/popover": "1.12.0-next.20260218162159",
64
- "@spectrum-web-components/reactive-controllers": "1.12.0-next.20260218162159"
58
+ "@spectrum-web-components/action-button": "1.12.0-testing.20260223092154",
59
+ "@spectrum-web-components/base": "1.12.0-testing.20260223092154",
60
+ "@spectrum-web-components/dialog": "1.12.0-testing.20260223092154",
61
+ "@spectrum-web-components/icons-workflow": "1.12.0-testing.20260223092154",
62
+ "@spectrum-web-components/overlay": "1.12.0-testing.20260223092154",
63
+ "@spectrum-web-components/popover": "1.12.0-testing.20260223092154",
64
+ "@spectrum-web-components/reactive-controllers": "1.12.0-testing.20260223092154"
65
65
  },
66
66
  "keywords": [
67
67
  "design-system",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2025 Adobe. All rights reserved.
2
+ * Copyright 2026 Adobe. All rights reserved.
3
3
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
4
  * you may not use this file except in compliance with the License. You may obtain a copy
5
5
  * of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["sp-contextual-help.ts"],
4
- "sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nimport { ContextualHelp } from './src/ContextualHelp.dev.js'\n\ncustomElements.define('sp-contextual-help', ContextualHelp);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-contextual-help': ContextualHelp;\n }\n}\n"],
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nimport { ContextualHelp } from './src/ContextualHelp.dev.js'\n\ncustomElements.define('sp-contextual-help', ContextualHelp);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-contextual-help': ContextualHelp;\n }\n}\n"],
5
5
  "mappings": ";AAWA,SAAS,sBAAsB;AAE/B,eAAe,OAAO,sBAAsB,cAAc;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["sp-contextual-help.ts"],
4
- "sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nimport { ContextualHelp } from './src/ContextualHelp.js';\n\ncustomElements.define('sp-contextual-help', ContextualHelp);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-contextual-help': ContextualHelp;\n }\n}\n"],
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nimport { ContextualHelp } from './src/ContextualHelp.js';\n\ncustomElements.define('sp-contextual-help', ContextualHelp);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-contextual-help': ContextualHelp;\n }\n}\n"],
5
5
  "mappings": "aAWA,OAAS,kBAAAA,MAAsB,0BAE/B,eAAe,OAAO,qBAAsBA,CAAc",
6
6
  "names": ["ContextualHelp"]
7
7
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2025 Adobe. All rights reserved.
2
+ * Copyright 2026 Adobe. All rights reserved.
3
3
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
4
  * you may not use this file except in compliance with the License. You may obtain a copy
5
5
  * of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -23,6 +23,7 @@ export declare const DEFAULT_ARIA_LABELS: {
23
23
  /**
24
24
  * Spectrum Contextual help provides additional information about
25
25
  * the state of either an adjacent component or an entire view.
26
+ *
26
27
  * @element sp-contextual-help
27
28
  *
28
29
  * @slot heading - content to display as the heading of the popover
@@ -34,11 +35,13 @@ export declare class ContextualHelp extends SpectrumElement {
34
35
  static get styles(): CSSResultArray;
35
36
  /**
36
37
  * Provides an accessible name for the action button trigger.
38
+ *
37
39
  * @param {string} label
38
40
  */
39
41
  label?: string;
40
42
  /**
41
43
  * The `variant` property applies specific styling on the action button trigger.
44
+ *
42
45
  * @param {string} variant
43
46
  */
44
47
  variant: 'info' | 'help';
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["ContextualHelp.ts"],
4
- "sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nimport {\n CSSResultArray,\n html,\n render,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport { ifDefined } from '@spectrum-web-components/base/src/directives.js';\nimport type { Placement } from '@spectrum-web-components/overlay/src/overlay-types.js';\nimport {\n removeSlottableRequest,\n SlottableRequestEvent,\n} from '@spectrum-web-components/overlay/src/slottable-request-event.js';\nimport {\n IS_MOBILE,\n MatchMediaController,\n} from '@spectrum-web-components/reactive-controllers/src/MatchMedia.js';\n\nimport '@spectrum-web-components/action-button/sp-action-button.js';\nimport '@spectrum-web-components/overlay/sp-overlay.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help-outline.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-info-outline.js';\n\nimport styles from './contextual-help.css.js';\n\nexport const DEFAULT_ARIA_LABELS = {\n help: 'Help',\n info: 'Information',\n} as const;\n\n/**\n * Spectrum Contextual help provides additional information about\n * the state of either an adjacent component or an entire view.\n * @element sp-contextual-help\n *\n * @slot heading - content to display as the heading of the popover\n * @slot Text content to display in the popover\n * @slot link - link to additional informations\n */\nexport class ContextualHelp extends SpectrumElement {\n public isMobile = new MatchMediaController(this, IS_MOBILE);\n\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n /**\n * Provides an accessible name for the action button trigger.\n * @param {string} label\n */\n @property()\n public label?: string;\n\n /**\n * The `variant` property applies specific styling on the action button trigger.\n * @param {string} variant\n */\n @property()\n public variant: 'info' | 'help' = 'info';\n\n /**\n * @type {\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\"}\n * @attr\n */\n @property({ reflect: true })\n public placement?: Placement = 'bottom-start';\n\n /**\n * The `offset` property accepts either a single number, to\n * define the offset of the Popover along the main axis from\n * the action button, or 2-tuple, to define the offset along the\n * main axis and the cross axis.\n */\n @property({ type: Number })\n public offset: number | [number, number] = 0;\n\n @property({ type: Boolean })\n open = false;\n\n static instanceCount = 0;\n private popoverId: string;\n private contentId: string;\n\n constructor() {\n super();\n const id = ContextualHelp.instanceCount++;\n this.popoverId = `contextual-help-popover-${id}`;\n this.contentId = `contextual-help-content-${id}`;\n }\n\n public get buttonAriaLabel(): string {\n if (this.label) {\n return this.label;\n } else {\n if (this.variant === 'help') {\n return DEFAULT_ARIA_LABELS.help;\n }\n return DEFAULT_ARIA_LABELS.info;\n }\n }\n\n private renderOverlayContent(): TemplateResult {\n if (this.isMobile.matches) {\n import('@spectrum-web-components/dialog/sp-dialog-base.js');\n import('@spectrum-web-components/dialog/sp-dialog.js');\n\n // sp-dialog (via AlertDialog) handles aria-labelledby and aria-describedby\n // automatically from the heading and content slots, so we rely on that native handling\n // ID is still needed for aria-controls on the button\n return html`\n <sp-dialog-base underlay>\n <sp-dialog dismissable size=\"s\" id=${this.popoverId}>\n <slot name=\"heading\" slot=\"heading\"></slot>\n <slot></slot>\n <slot name=\"link\"></slot>\n </sp-dialog>\n </sp-dialog-base>\n `;\n } else {\n import('@spectrum-web-components/popover/sp-popover.js');\n\n return html`\n <sp-popover\n class=\"popover\"\n id=${this.popoverId}\n role=\"region\"\n aria-labelledby=${this.contentId}\n >\n <section id=${this.contentId}>\n <div>\n <slot name=\"heading\"></slot>\n </div>\n <div class=\"body\">\n <slot></slot>\n </div>\n <slot name=\"link\"></slot>\n </section>\n </sp-popover>\n `;\n }\n }\n\n private handleSlottableRequest(event: SlottableRequestEvent): void {\n event.stopPropagation();\n\n if (event.data === removeSlottableRequest) {\n this.open = false;\n render(undefined, event.target as HTMLElement);\n return;\n }\n\n this.open = true;\n const template = this.renderOverlayContent();\n render(template, event.target as HTMLElement);\n }\n\n protected override render(): TemplateResult {\n /* c8 ignore next 3 */\n const actualPlacement = this.isMobile.matches ? undefined : this.placement;\n\n return html`\n <sp-action-button\n quiet\n size=\"s\"\n id=\"trigger\"\n aria-label=${this.buttonAriaLabel}\n aria-haspopup=${ifDefined(this.isMobile.matches ? 'dialog' : undefined)}\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-controls=${this.popoverId}\n .active=${this.open}\n >\n ${this.variant === 'help'\n ? html`\n <sp-icon-help-outline slot=\"icon\"></sp-icon-help-outline>\n `\n : html`\n <sp-icon-info-outline slot=\"icon\"></sp-icon-info-outline>\n `}\n </sp-action-button>\n <sp-overlay\n trigger=\"trigger@click\"\n placement=${ifDefined(actualPlacement)}\n type=${this.isMobile.matches ? 'modal' : 'auto'}\n receives-focus=\"true\"\n .offset=${this.offset}\n @slottable-request=${this.handleSlottableRequest}\n ?open=${this.open}\n ></sp-overlay>\n `;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;AAWA;AAAA,EAEE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAE1B;AAAA,EAC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C,WAAK,OAAO;AACZ,aAAO,QAAW,MAAM,MAAqB;AAC7C;AAAA,IACF;AAEA,SAAK,OAAO;AACZ,UAAM,WAAW,KAAK,qBAAqB;AAC3C,WAAO,UAAU,MAAM,MAAqB;AAAA,EAC9C;AAAA,EAEmB,SAAyB;AAE1C,UAAM,kBAAkB,KAAK,SAAS,UAAU,SAAY,KAAK;AAEjE,WAAO;AAAA;AAAA;AAAA;AAAA;AAAA,qBAKU,KAAK,eAAe;AAAA,wBACjB,UAAU,KAAK,SAAS,UAAU,WAAW,MAAS,CAAC;AAAA,wBACvD,KAAK,OAAO,SAAS,OAAO;AAAA,wBAC5B,KAAK,SAAS;AAAA,kBACpB,KAAK,IAAI;AAAA;AAAA,UAEjB,KAAK,YAAY,SACf;AAAA;AAAA,gBAGA;AAAA;AAAA,aAEC;AAAA;AAAA;AAAA;AAAA,oBAIO,UAAU,eAAe,CAAC;AAAA,eAC/B,KAAK,SAAS,UAAU,UAAU,MAAM;AAAA;AAAA,kBAErC,KAAK,MAAM;AAAA,6BACA,KAAK,sBAAsB;AAAA,gBACxC,KAAK,IAAI;AAAA;AAAA;AAAA,EAGvB;AACF;AAvJa,gBAwCJ,gBAAgB;AA5BhB;AAAA,EADN,SAAS;AAAA,GAXC,gBAYJ;AAOA;AAAA,EADN,SAAS;AAAA,GAlBC,gBAmBJ;AAOA;AAAA,EADN,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GAzBhB,gBA0BJ;AASA;AAAA,EADN,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GAlCf,gBAmCJ;AAGP;AAAA,EADC,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,GArChB,gBAsCX;AAtCK,WAAM,iBAAN;",
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nimport {\n CSSResultArray,\n html,\n render,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport { ifDefined } from '@spectrum-web-components/base/src/directives.js';\nimport type { Placement } from '@spectrum-web-components/overlay/src/overlay-types.js';\nimport {\n removeSlottableRequest,\n SlottableRequestEvent,\n} from '@spectrum-web-components/overlay/src/slottable-request-event.js';\nimport {\n IS_MOBILE,\n MatchMediaController,\n} from '@spectrum-web-components/reactive-controllers/src/MatchMedia.js';\n\nimport '@spectrum-web-components/action-button/sp-action-button.js';\nimport '@spectrum-web-components/overlay/sp-overlay.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help-outline.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-info-outline.js';\n\nimport styles from './contextual-help.css.js';\n\nexport const DEFAULT_ARIA_LABELS = {\n help: 'Help',\n info: 'Information',\n} as const;\n\n/**\n * Spectrum Contextual help provides additional information about\n * the state of either an adjacent component or an entire view.\n *\n * @element sp-contextual-help\n *\n * @slot heading - content to display as the heading of the popover\n * @slot Text content to display in the popover\n * @slot link - link to additional informations\n */\nexport class ContextualHelp extends SpectrumElement {\n public isMobile = new MatchMediaController(this, IS_MOBILE);\n\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n /**\n * Provides an accessible name for the action button trigger.\n *\n * @param {string} label\n */\n @property()\n public label?: string;\n\n /**\n * The `variant` property applies specific styling on the action button trigger.\n *\n * @param {string} variant\n */\n @property()\n public variant: 'info' | 'help' = 'info';\n\n /**\n * @type {\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\"}\n * @attr\n */\n @property({ reflect: true })\n public placement?: Placement = 'bottom-start';\n\n /**\n * The `offset` property accepts either a single number, to\n * define the offset of the Popover along the main axis from\n * the action button, or 2-tuple, to define the offset along the\n * main axis and the cross axis.\n */\n @property({ type: Number })\n public offset: number | [number, number] = 0;\n\n @property({ type: Boolean })\n open = false;\n\n static instanceCount = 0;\n private popoverId: string;\n private contentId: string;\n\n constructor() {\n super();\n const id = ContextualHelp.instanceCount++;\n this.popoverId = `contextual-help-popover-${id}`;\n this.contentId = `contextual-help-content-${id}`;\n }\n\n public get buttonAriaLabel(): string {\n if (this.label) {\n return this.label;\n } else {\n if (this.variant === 'help') {\n return DEFAULT_ARIA_LABELS.help;\n }\n return DEFAULT_ARIA_LABELS.info;\n }\n }\n\n private renderOverlayContent(): TemplateResult {\n if (this.isMobile.matches) {\n import('@spectrum-web-components/dialog/sp-dialog-base.js');\n import('@spectrum-web-components/dialog/sp-dialog.js');\n\n // sp-dialog (via AlertDialog) handles aria-labelledby and aria-describedby\n // automatically from the heading and content slots, so we rely on that native handling\n // ID is still needed for aria-controls on the button\n return html`\n <sp-dialog-base underlay>\n <sp-dialog dismissable size=\"s\" id=${this.popoverId}>\n <slot name=\"heading\" slot=\"heading\"></slot>\n <slot></slot>\n <slot name=\"link\"></slot>\n </sp-dialog>\n </sp-dialog-base>\n `;\n } else {\n import('@spectrum-web-components/popover/sp-popover.js');\n\n return html`\n <sp-popover\n class=\"popover\"\n id=${this.popoverId}\n role=\"region\"\n aria-labelledby=${this.contentId}\n >\n <section id=${this.contentId}>\n <div>\n <slot name=\"heading\"></slot>\n </div>\n <div class=\"body\">\n <slot></slot>\n </div>\n <slot name=\"link\"></slot>\n </section>\n </sp-popover>\n `;\n }\n }\n\n private handleSlottableRequest(event: SlottableRequestEvent): void {\n event.stopPropagation();\n\n if (event.data === removeSlottableRequest) {\n this.open = false;\n render(undefined, event.target as HTMLElement);\n return;\n }\n\n this.open = true;\n const template = this.renderOverlayContent();\n render(template, event.target as HTMLElement);\n }\n\n protected override render(): TemplateResult {\n /* c8 ignore next 3 */\n const actualPlacement = this.isMobile.matches ? undefined : this.placement;\n\n return html`\n <sp-action-button\n quiet\n size=\"s\"\n id=\"trigger\"\n aria-label=${this.buttonAriaLabel}\n aria-haspopup=${ifDefined(this.isMobile.matches ? 'dialog' : undefined)}\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-controls=${this.popoverId}\n .active=${this.open}\n >\n ${this.variant === 'help'\n ? html`\n <sp-icon-help-outline slot=\"icon\"></sp-icon-help-outline>\n `\n : html`\n <sp-icon-info-outline slot=\"icon\"></sp-icon-info-outline>\n `}\n </sp-action-button>\n <sp-overlay\n trigger=\"trigger@click\"\n placement=${ifDefined(actualPlacement)}\n type=${this.isMobile.matches ? 'modal' : 'auto'}\n receives-focus=\"true\"\n .offset=${this.offset}\n @slottable-request=${this.handleSlottableRequest}\n ?open=${this.open}\n ></sp-overlay>\n `;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;AAWA;AAAA,EAEE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAE1B;AAAA,EACE;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AAEP,OAAO,YAAY;AAEZ,aAAM,sBAAsB;AAAA,EACjC,MAAM;AAAA,EACN,MAAM;AACR;AAYO,MAAM,kBAAN,MAAM,wBAAuB,gBAAgB;AAAA,EA8ClD,cAAc;AACZ,UAAM;AA9CR,SAAO,WAAW,IAAI,qBAAqB,MAAM,SAAS;AAoB1D,SAAO,UAA2B;AAOlC,SAAO,YAAwB;AAS/B,SAAO,SAAoC;AAG3C,gBAAO;AAQL,UAAM,KAAK,gBAAe;AAC1B,SAAK,YAAY,2BAA2B,EAAE;AAC9C,SAAK,YAAY,2BAA2B,EAAE;AAAA,EAChD;AAAA,EAhDA,WAA2B,SAAyB;AAClD,WAAO,C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AAAA;AAAA;AAAA,oBAIO,UAAU,eAAe,CAAC;AAAA,eAC/B,KAAK,SAAS,UAAU,UAAU,MAAM;AAAA;AAAA,kBAErC,KAAK,MAAM;AAAA,6BACA,KAAK,sBAAsB;AAAA,gBACxC,KAAK,IAAI;AAAA;AAAA;AAAA,EAGvB;AACF;AAzJa,gBA0CJ,gBAAgB;AA7BhB;AAAA,EADN,SAAS;AAAA,GAZC,gBAaJ;AAQA;AAAA,EADN,SAAS;AAAA,GApBC,gBAqBJ;AAOA;AAAA,EADN,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GA3BhB,gBA4BJ;AASA;AAAA,EADN,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GApCf,gBAqCJ;AAGP;AAAA,EADC,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,GAvChB,gBAwCX;AAxCK,WAAM,iBAAN;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["ContextualHelp.ts"],
4
- "sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nimport {\n CSSResultArray,\n html,\n render,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport { ifDefined } from '@spectrum-web-components/base/src/directives.js';\nimport type { Placement } from '@spectrum-web-components/overlay/src/overlay-types.js';\nimport {\n removeSlottableRequest,\n SlottableRequestEvent,\n} from '@spectrum-web-components/overlay/src/slottable-request-event.js';\nimport {\n IS_MOBILE,\n MatchMediaController,\n} from '@spectrum-web-components/reactive-controllers/src/MatchMedia.js';\n\nimport '@spectrum-web-components/action-button/sp-action-button.js';\nimport '@spectrum-web-components/overlay/sp-overlay.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help-outline.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-info-outline.js';\n\nimport styles from './contextual-help.css.js';\n\nexport const DEFAULT_ARIA_LABELS = {\n help: 'Help',\n info: 'Information',\n} as const;\n\n/**\n * Spectrum Contextual help provides additional information about\n * the state of either an adjacent component or an entire view.\n * @element sp-contextual-help\n *\n * @slot heading - content to display as the heading of the popover\n * @slot Text content to display in the popover\n * @slot link - link to additional informations\n */\nexport class ContextualHelp extends SpectrumElement {\n public isMobile = new MatchMediaController(this, IS_MOBILE);\n\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n /**\n * Provides an accessible name for the action button trigger.\n * @param {string} label\n */\n @property()\n public label?: string;\n\n /**\n * The `variant` property applies specific styling on the action button trigger.\n * @param {string} variant\n */\n @property()\n public variant: 'info' | 'help' = 'info';\n\n /**\n * @type {\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\"}\n * @attr\n */\n @property({ reflect: true })\n public placement?: Placement = 'bottom-start';\n\n /**\n * The `offset` property accepts either a single number, to\n * define the offset of the Popover along the main axis from\n * the action button, or 2-tuple, to define the offset along the\n * main axis and the cross axis.\n */\n @property({ type: Number })\n public offset: number | [number, number] = 0;\n\n @property({ type: Boolean })\n open = false;\n\n static instanceCount = 0;\n private popoverId: string;\n private contentId: string;\n\n constructor() {\n super();\n const id = ContextualHelp.instanceCount++;\n this.popoverId = `contextual-help-popover-${id}`;\n this.contentId = `contextual-help-content-${id}`;\n }\n\n public get buttonAriaLabel(): string {\n if (this.label) {\n return this.label;\n } else {\n if (this.variant === 'help') {\n return DEFAULT_ARIA_LABELS.help;\n }\n return DEFAULT_ARIA_LABELS.info;\n }\n }\n\n private renderOverlayContent(): TemplateResult {\n if (this.isMobile.matches) {\n import('@spectrum-web-components/dialog/sp-dialog-base.js');\n import('@spectrum-web-components/dialog/sp-dialog.js');\n\n // sp-dialog (via AlertDialog) handles aria-labelledby and aria-describedby\n // automatically from the heading and content slots, so we rely on that native handling\n // ID is still needed for aria-controls on the button\n return html`\n <sp-dialog-base underlay>\n <sp-dialog dismissable size=\"s\" id=${this.popoverId}>\n <slot name=\"heading\" slot=\"heading\"></slot>\n <slot></slot>\n <slot name=\"link\"></slot>\n </sp-dialog>\n </sp-dialog-base>\n `;\n } else {\n import('@spectrum-web-components/popover/sp-popover.js');\n\n return html`\n <sp-popover\n class=\"popover\"\n id=${this.popoverId}\n role=\"region\"\n aria-labelledby=${this.contentId}\n >\n <section id=${this.contentId}>\n <div>\n <slot name=\"heading\"></slot>\n </div>\n <div class=\"body\">\n <slot></slot>\n </div>\n <slot name=\"link\"></slot>\n </section>\n </sp-popover>\n `;\n }\n }\n\n private handleSlottableRequest(event: SlottableRequestEvent): void {\n event.stopPropagation();\n\n if (event.data === removeSlottableRequest) {\n this.open = false;\n render(undefined, event.target as HTMLElement);\n return;\n }\n\n this.open = true;\n const template = this.renderOverlayContent();\n render(template, event.target as HTMLElement);\n }\n\n protected override render(): TemplateResult {\n /* c8 ignore next 3 */\n const actualPlacement = this.isMobile.matches ? undefined : this.placement;\n\n return html`\n <sp-action-button\n quiet\n size=\"s\"\n id=\"trigger\"\n aria-label=${this.buttonAriaLabel}\n aria-haspopup=${ifDefined(this.isMobile.matches ? 'dialog' : undefined)}\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-controls=${this.popoverId}\n .active=${this.open}\n >\n ${this.variant === 'help'\n ? html`\n <sp-icon-help-outline slot=\"icon\"></sp-icon-help-outline>\n `\n : html`\n <sp-icon-info-outline slot=\"icon\"></sp-icon-info-outline>\n `}\n </sp-action-button>\n <sp-overlay\n trigger=\"trigger@click\"\n placement=${ifDefined(actualPlacement)}\n type=${this.isMobile.matches ? 'modal' : 'auto'}\n receives-focus=\"true\"\n .offset=${this.offset}\n @slottable-request=${this.handleSlottableRequest}\n ?open=${this.open}\n ></sp-overlay>\n `;\n }\n}\n"],
5
- "mappings": "qNAWA,OAEE,QAAAA,EACA,UAAAC,EACA,mBAAAC,MAEK,gCACP,OAAS,YAAAC,MAAgB,kDACzB,OAAS,aAAAC,MAAiB,kDAE1B,OACE,0BAAAC,MAEK,kEACP,OACE,aAAAC,EACA,wBAAAC,MACK,kEAEP,MAAO,6DACP,MAAO,iDACP,MAAO,wEACP,MAAO,wEAEP,OAAOC,MAAY,2BAEZ,aAAM,oBAAsB,CACjC,KAAM,OACN,KAAM,aACR,EAWO,MAAMC,EAAN,MAAMA,UAAuBP,CAAgB,CA4ClD,aAAc,CACZ,MAAM,EA5CR,KAAO,SAAW,IAAIK,EAAqB,KAAMD,CAAS,EAkB1D,KAAO,QAA2B,OAOlC,KAAO,UAAwB,eAS/B,KAAO,OAAoC,EAG3C,UAAO,GAQL,MAAMI,EAAKD,EAAe,gBAC1B,KAAK,UAAY,2BAA2BC,CAAE,GAC9C,KAAK,UAAY,2BAA2BA,CAAE,EAChD,CA9CA,WAA2B,QAAyB,CAClD,MAAO,CAACF,CAAM,CAChB,CA8CA,IAAW,iBAA0B,CACnC,OAAI,KAAK,MACA,KAAK,MAER,KAAK,UAAY,OACZ,oBAAoB,KAEtB,oBAAoB,IAE/B,CAEQ,sBAAuC,CAC7C,OAAI,KAAK,SAAS,SAChB,OAAO,mDAAmD,EAC1D,OAAO,8CAA8C,EAK9CR;AAAA;AAAA,+CAEkC,KAAK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAQvD,OAAO,gDAAgD,EAEhDA;AAAA;AAAA;AAAA,eAGE,KAAK,SAAS;AAAA;AAAA,4BAED,KAAK,SAAS;AAAA;AAAA,wBAElB,KAAK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAYpC,CAEQ,uBAAuBW,EAAoC,CAGjE,GAFAA,EAAM,gBAAgB,EAElBA,EAAM,OAASN,EAAwB,CACzC,KAAK,KAAO,GACZJ,EAAO,OAAWU,EAAM,MAAqB,EAC7C,MACF,CAEA,KAAK,KAAO,GACZ,MAAMC,EAAW,KAAK,qBAAqB,EAC3CX,EAAOW,EAAUD,EAAM,MAAqB,CAC9C,CAEmB,QAAyB,CAE1C,MAAME,EAAkB,KAAK,SAAS,QAAU,OAAY,KAAK,UAEjE,OAAOb;AAAA;AAAA;AAAA;AAAA;AAAA,qBAKU,KAAK,eAAe;AAAA,wBACjBI,EAAU,KAAK,SAAS,QAAU,SAAW,MAAS,CAAC;AAAA,wBACvD,KAAK,KAAO,OAAS,OAAO;AAAA,wBAC5B,KAAK,SAAS;AAAA,kBACpB,KAAK,IAAI;AAAA;AAAA,UAEjB,KAAK,UAAY,OACfJ;AAAA;AAAA,cAGAA;AAAA;AAAA,aAEC;AAAA;AAAA;AAAA;AAAA,oBAIOI,EAAUS,CAAe,CAAC;AAAA,eAC/B,KAAK,SAAS,QAAU,QAAU,MAAM;AAAA;AAAA,kBAErC,KAAK,MAAM;AAAA,6BACA,KAAK,sBAAsB;AAAA,gBACxC,KAAK,IAAI;AAAA;AAAA,KAGvB,CACF,EAvJaJ,EAwCJ,cAAgB,EA5BhBK,EAAA,CADNX,EAAS,GAXCM,EAYJ,qBAOAK,EAAA,CADNX,EAAS,GAlBCM,EAmBJ,uBAOAK,EAAA,CADNX,EAAS,CAAE,QAAS,EAAK,CAAC,GAzBhBM,EA0BJ,yBASAK,EAAA,CADNX,EAAS,CAAE,KAAM,MAAO,CAAC,GAlCfM,EAmCJ,sBAGPK,EAAA,CADCX,EAAS,CAAE,KAAM,OAAQ,CAAC,GArChBM,EAsCX,oBAtCK,WAAM,eAANA",
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nimport {\n CSSResultArray,\n html,\n render,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport { ifDefined } from '@spectrum-web-components/base/src/directives.js';\nimport type { Placement } from '@spectrum-web-components/overlay/src/overlay-types.js';\nimport {\n removeSlottableRequest,\n SlottableRequestEvent,\n} from '@spectrum-web-components/overlay/src/slottable-request-event.js';\nimport {\n IS_MOBILE,\n MatchMediaController,\n} from '@spectrum-web-components/reactive-controllers/src/MatchMedia.js';\n\nimport '@spectrum-web-components/action-button/sp-action-button.js';\nimport '@spectrum-web-components/overlay/sp-overlay.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help-outline.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-info-outline.js';\n\nimport styles from './contextual-help.css.js';\n\nexport const DEFAULT_ARIA_LABELS = {\n help: 'Help',\n info: 'Information',\n} as const;\n\n/**\n * Spectrum Contextual help provides additional information about\n * the state of either an adjacent component or an entire view.\n *\n * @element sp-contextual-help\n *\n * @slot heading - content to display as the heading of the popover\n * @slot Text content to display in the popover\n * @slot link - link to additional informations\n */\nexport class ContextualHelp extends SpectrumElement {\n public isMobile = new MatchMediaController(this, IS_MOBILE);\n\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n /**\n * Provides an accessible name for the action button trigger.\n *\n * @param {string} label\n */\n @property()\n public label?: string;\n\n /**\n * The `variant` property applies specific styling on the action button trigger.\n *\n * @param {string} variant\n */\n @property()\n public variant: 'info' | 'help' = 'info';\n\n /**\n * @type {\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\"}\n * @attr\n */\n @property({ reflect: true })\n public placement?: Placement = 'bottom-start';\n\n /**\n * The `offset` property accepts either a single number, to\n * define the offset of the Popover along the main axis from\n * the action button, or 2-tuple, to define the offset along the\n * main axis and the cross axis.\n */\n @property({ type: Number })\n public offset: number | [number, number] = 0;\n\n @property({ type: Boolean })\n open = false;\n\n static instanceCount = 0;\n private popoverId: string;\n private contentId: string;\n\n constructor() {\n super();\n const id = ContextualHelp.instanceCount++;\n this.popoverId = `contextual-help-popover-${id}`;\n this.contentId = `contextual-help-content-${id}`;\n }\n\n public get buttonAriaLabel(): string {\n if (this.label) {\n return this.label;\n } else {\n if (this.variant === 'help') {\n return DEFAULT_ARIA_LABELS.help;\n }\n return DEFAULT_ARIA_LABELS.info;\n }\n }\n\n private renderOverlayContent(): TemplateResult {\n if (this.isMobile.matches) {\n import('@spectrum-web-components/dialog/sp-dialog-base.js');\n import('@spectrum-web-components/dialog/sp-dialog.js');\n\n // sp-dialog (via AlertDialog) handles aria-labelledby and aria-describedby\n // automatically from the heading and content slots, so we rely on that native handling\n // ID is still needed for aria-controls on the button\n return html`\n <sp-dialog-base underlay>\n <sp-dialog dismissable size=\"s\" id=${this.popoverId}>\n <slot name=\"heading\" slot=\"heading\"></slot>\n <slot></slot>\n <slot name=\"link\"></slot>\n </sp-dialog>\n </sp-dialog-base>\n `;\n } else {\n import('@spectrum-web-components/popover/sp-popover.js');\n\n return html`\n <sp-popover\n class=\"popover\"\n id=${this.popoverId}\n role=\"region\"\n aria-labelledby=${this.contentId}\n >\n <section id=${this.contentId}>\n <div>\n <slot name=\"heading\"></slot>\n </div>\n <div class=\"body\">\n <slot></slot>\n </div>\n <slot name=\"link\"></slot>\n </section>\n </sp-popover>\n `;\n }\n }\n\n private handleSlottableRequest(event: SlottableRequestEvent): void {\n event.stopPropagation();\n\n if (event.data === removeSlottableRequest) {\n this.open = false;\n render(undefined, event.target as HTMLElement);\n return;\n }\n\n this.open = true;\n const template = this.renderOverlayContent();\n render(template, event.target as HTMLElement);\n }\n\n protected override render(): TemplateResult {\n /* c8 ignore next 3 */\n const actualPlacement = this.isMobile.matches ? undefined : this.placement;\n\n return html`\n <sp-action-button\n quiet\n size=\"s\"\n id=\"trigger\"\n aria-label=${this.buttonAriaLabel}\n aria-haspopup=${ifDefined(this.isMobile.matches ? 'dialog' : undefined)}\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-controls=${this.popoverId}\n .active=${this.open}\n >\n ${this.variant === 'help'\n ? html`\n <sp-icon-help-outline slot=\"icon\"></sp-icon-help-outline>\n `\n : html`\n <sp-icon-info-outline slot=\"icon\"></sp-icon-info-outline>\n `}\n </sp-action-button>\n <sp-overlay\n trigger=\"trigger@click\"\n placement=${ifDefined(actualPlacement)}\n type=${this.isMobile.matches ? 'modal' : 'auto'}\n receives-focus=\"true\"\n .offset=${this.offset}\n @slottable-request=${this.handleSlottableRequest}\n ?open=${this.open}\n ></sp-overlay>\n `;\n }\n}\n"],
5
+ "mappings": "qNAWA,OAEE,QAAAA,EACA,UAAAC,EACA,mBAAAC,MAEK,gCACP,OAAS,YAAAC,MAAgB,kDACzB,OAAS,aAAAC,MAAiB,kDAE1B,OACE,0BAAAC,MAEK,kEACP,OACE,aAAAC,EACA,wBAAAC,MACK,kEAEP,MAAO,6DACP,MAAO,iDACP,MAAO,wEACP,MAAO,wEAEP,OAAOC,MAAY,2BAEZ,aAAM,oBAAsB,CACjC,KAAM,OACN,KAAM,aACR,EAYO,MAAMC,EAAN,MAAMA,UAAuBP,CAAgB,CA8ClD,aAAc,CACZ,MAAM,EA9CR,KAAO,SAAW,IAAIK,EAAqB,KAAMD,CAAS,EAoB1D,KAAO,QAA2B,OAOlC,KAAO,UAAwB,eAS/B,KAAO,OAAoC,EAG3C,UAAO,GAQL,MAAMI,EAAKD,EAAe,gBAC1B,KAAK,UAAY,2BAA2BC,CAAE,GAC9C,KAAK,UAAY,2B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,KAAK,MAAM;AAAA,6BACA,KAAK,sBAAsB;AAAA,gBACxC,KAAK,IAAI;AAAA;AAAA,KAGvB,CACF,EAzJaJ,EA0CJ,cAAgB,EA7BhBK,EAAA,CADNX,EAAS,GAZCM,EAaJ,qBAQAK,EAAA,CADNX,EAAS,GApBCM,EAqBJ,uBAOAK,EAAA,CADNX,EAAS,CAAE,QAAS,EAAK,CAAC,GA3BhBM,EA4BJ,yBASAK,EAAA,CADNX,EAAS,CAAE,KAAM,MAAO,CAAC,GApCfM,EAqCJ,sBAGPK,EAAA,CADCX,EAAS,CAAE,KAAM,OAAQ,CAAC,GAvChBM,EAwCX,oBAxCK,WAAM,eAANA",
6
6
  "names": ["html", "render", "SpectrumElement", "property", "ifDefined", "removeSlottableRequest", "IS_MOBILE", "MatchMediaController", "styles", "_ContextualHelp", "id", "event", "template", "actualPlacement", "__decorateClass"]
7
7
  }
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2025 Adobe. All rights reserved.
2
+ * Copyright 2026 Adobe. All rights reserved.
3
3
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
4
  * you may not use this file except in compliance with the License. You may obtain a copy
5
5
  * of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["index.ts"],
4
- "sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport * from './ContextualHelp.dev.js'\n"],
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport * from './ContextualHelp.dev.js'\n"],
5
5
  "mappings": ";AAWA,cAAc;",
6
6
  "names": []
7
7
  }
package/src/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["index.ts"],
4
- "sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport * from './ContextualHelp.js';\n"],
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport * from './ContextualHelp.js';\n"],
5
5
  "mappings": "aAWA,WAAc",
6
6
  "names": []
7
7
  }