@adobe/spectrum-wc-core 2.0.0-beta.3 → 2.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +1 -1
  2. package/dist/components/action-group/ActionGroup.base.js +1 -1
  3. package/dist/components/action-group/ActionGroup.base.js.map +1 -1
  4. package/dist/components/asset/Asset.base.d.ts +89 -10
  5. package/dist/components/asset/Asset.base.js +117 -18
  6. package/dist/components/asset/Asset.base.js.map +1 -1
  7. package/dist/components/asset/Asset.types.d.ts +20 -2
  8. package/dist/components/asset/Asset.types.js +10 -2
  9. package/dist/components/asset/Asset.types.js.map +1 -1
  10. package/dist/components/asset/index.js +3 -3
  11. package/dist/components/dropzone/Dropzone.base.d.ts +1 -1
  12. package/dist/components/dropzone/Dropzone.base.js.map +1 -1
  13. package/dist/components/popover/Popover.base.d.ts +1 -21
  14. package/dist/components/popover/Popover.base.js +35 -59
  15. package/dist/components/popover/Popover.base.js.map +1 -1
  16. package/dist/components/tabs/TabPanel.base.d.ts +1 -1
  17. package/dist/components/tabs/TabPanel.base.js.map +1 -1
  18. package/dist/controllers/focusgroup-navigation-controller/src/focusgroup-navigation-controller.d.ts +1 -1
  19. package/dist/controllers/focusgroup-navigation-controller/src/focusgroup-navigation-controller.js.map +1 -1
  20. package/dist/controllers/index.d.ts +2 -1
  21. package/dist/controllers/index.js +2 -1
  22. package/dist/controllers/language-resolution.d.ts +1 -1
  23. package/dist/controllers/language-resolution.js.map +1 -1
  24. package/dist/controllers/trigger-press-controller/index.d.ts +12 -0
  25. package/dist/controllers/trigger-press-controller/index.js +2 -0
  26. package/dist/controllers/trigger-press-controller/src/trigger-press-controller.d.ts +149 -0
  27. package/dist/controllers/trigger-press-controller/src/trigger-press-controller.js +43 -0
  28. package/dist/controllers/trigger-press-controller/src/trigger-press-controller.js.map +1 -0
  29. package/dist/directives/index.d.ts +1 -1
  30. package/dist/element/define-element.js +1 -1
  31. package/dist/element/define-element.js.map +1 -1
  32. package/dist/element/spectrum-element.js +1 -1
  33. package/dist/element/spectrum-element.js.map +1 -1
  34. package/dist/element/version.d.ts +3 -3
  35. package/dist/element/version.js +1 -1
  36. package/dist/element/version.js.map +1 -1
  37. package/dist/utils/resolve-trigger.js.map +1 -1
  38. package/package.json +151 -9
  39. package/CHANGELOG.md +0 -191
@@ -1,6 +1,6 @@
1
1
  //#region element/define-element.ts
2
2
  function e(e, t) {
3
- window.__swc && window.__swc.DEBUG && customElements.get(e) && window.__swc.warn(void 0, `Attempted to redefine <${e}>. This usually indicates that multiple versions of the same web component were loaded onto a single page.`, "https://opensource.adobe.com/spectrum-web-components/registry-conflicts"), customElements.define(e, t);
3
+ window.__swc && window.__swc.DEBUG && customElements.get(e) && window.__swc.warn(void 0, `Attempted to redefine <${e}>. This usually indicates that multiple versions of the same web component were loaded onto a single page.`, "https://spectrum-web-components.adobe.com/registry-conflicts"), customElements.define(e, t);
4
4
  }
5
5
  //#endregion
6
6
  export { e as defineElement };
@@ -1 +1 @@
1
- {"version":3,"file":"define-element.js","names":[],"sources":["../../element/define-element.ts"],"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 */\n\ninterface CustomElementConstructor {\n new (...params: unknown[]): HTMLElement;\n}\n\nexport function defineElement(\n name: string,\n constructor: CustomElementConstructor\n): void {\n if (window.__swc && window.__swc.DEBUG) {\n if (customElements.get(name)) {\n window.__swc.warn(\n undefined,\n `Attempted to redefine <${name}>. This usually indicates that multiple versions of the same web component were loaded onto a single page.`,\n 'https://opensource.adobe.com/spectrum-web-components/registry-conflicts'\n );\n }\n }\n customElements.define(name, constructor);\n}\n"],"mappings":";AAgBA,SAAgB,EACd,GACA,GACM;AAUN,CATI,OAAO,SAAS,OAAO,MAAM,SAC3B,eAAe,IAAI,EAAK,IAC1B,OAAO,MAAM,KACX,KAAA,GACA,0BAA0B,EAAK,6GAC/B,0EACD,EAGL,eAAe,OAAO,GAAM,EAAY"}
1
+ {"version":3,"file":"define-element.js","names":[],"sources":["../../element/define-element.ts"],"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 */\n\ninterface CustomElementConstructor {\n new (...params: unknown[]): HTMLElement;\n}\n\nexport function defineElement(\n name: string,\n constructor: CustomElementConstructor\n): void {\n if (window.__swc && window.__swc.DEBUG) {\n if (customElements.get(name)) {\n window.__swc.warn(\n undefined,\n `Attempted to redefine <${name}>. This usually indicates that multiple versions of the same web component were loaded onto a single page.`,\n 'https://spectrum-web-components.adobe.com/registry-conflicts'\n );\n }\n }\n customElements.define(name, constructor);\n}\n"],"mappings":";AAgBA,SAAgB,EACd,GACA,GACM;AAUN,CATI,OAAO,SAAS,OAAO,MAAM,SAC3B,eAAe,IAAI,EAAK,IAC1B,OAAO,MAAM,KACX,KAAA,GACA,0BAA0B,EAAK,6GAC/B,+DACD,EAGL,eAAe,OAAO,GAAM,EAAY"}
@@ -77,7 +77,7 @@ if (process.env.NODE_ENV !== "production") {
77
77
  }
78
78
  s(p, e, 10), r || (r = !0, queueMicrotask(i));
79
79
  }
80
- }, window.__swc.warn(void 0, "Spectrum Web Components is in dev mode. Not recommended for production!", "https://opensource.adobe.com/spectrum-web-components/dev-mode/", { type: "default" });
80
+ }, window.__swc.warn(void 0, "Spectrum Web Components is in dev mode. Not recommended for production!", "https://spectrum-web-components.adobe.com/dev-mode/", { type: "default" });
81
81
  }
82
82
  //#endregion
83
83
  export { i as SpectrumElement, o as buildGroupedWarningArgs, s as recordAffectedElement, a as warningId };
@@ -1 +1 @@
1
- {"version":3,"file":"spectrum-element.js","names":[],"sources":["../../element/spectrum-element.ts"],"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 */\n\nimport { LitElement } from 'lit';\n\nimport { coreVersion, version } from './version.js';\n\nexport class SpectrumElement extends LitElement {\n /**\n * @internal\n */\n static VERSION = version;\n\n /**\n * @internal\n */\n static CORE_VERSION = coreVersion;\n}\n\n/**\n * Builds the deduplication key for a dev-mode warning. The `message` is part of\n * the key so two distinct problems that share a `type`/`level` (the common\n * case) do not suppress each other; only a verbatim repeat of the same warning\n * is deduplicated. Exported so the dedup key can be unit tested without relying\n * on the `NODE_ENV`-gated `window.__swc` setup below.\n */\nexport function warningId(\n localName: string,\n type: WarningType,\n level: WarningLevel,\n message: string\n): BrandedSWCWarningID {\n return `${localName}:${type}:${level}:${message}` as BrandedSWCWarningID;\n}\n\n/**\n * A group of dev-mode warnings that share a `warningId`, collected within a\n * single microtask so they can be emitted as one console line with a count.\n */\ntype BatchedWarning = {\n message: string;\n url: string;\n localName: string;\n type: WarningType;\n level: WarningLevel;\n listedIssues: string;\n elements: HTMLElement[];\n count: number;\n\n /**\n * Elements already counted in this batch, keyed by identity. A repeated\n * `warn()` for an element already here does not bump `count` again.\n */\n countedElements?: Set<HTMLElement>;\n\n /**\n * Whether the dev-mode warning (the only warning with no element) has been\n * counted, so repeats of it collapse to one.\n */\n countedDevModeWarning?: boolean;\n};\n\n/**\n * Builds the `console.warn` arguments for a grouped dev warning: the message\n * and a count line, then the element ref(s) to inspect. By default one\n * representative element is shown; `verbose` shows every collected element\n * (already capped at collection time). Exported so the grouped output can be\n * unit tested without the `NODE_ENV`-gated `window.__swc` setup below.\n *\n * @internal\n */\nexport function buildGroupedWarningArgs(\n batch: BatchedWarning,\n verbose: boolean\n): unknown[] {\n const {\n message,\n url,\n localName,\n type,\n level,\n listedIssues,\n elements,\n count,\n } = batch;\n const intro = level === 'deprecation' ? 'DEPRECATION NOTICE: ' : '';\n const shown = verbose ? elements : elements.slice(0, 1);\n let countLine = '';\n if (count === 1) {\n countLine = shown.length ? '\\nAffected element:' : '';\n } else {\n countLine = `\\n${count} <${localName}> elements affected:`;\n }\n const args: unknown[] = [intro + message + '\\n' + listedIssues + countLine];\n for (const el of shown) {\n args.push(el);\n }\n args.push((shown.length ? '\\n\\n' : '\\n') + url + '\\n', {\n data: { localName, type, level, count },\n });\n return args;\n}\n\n/**\n * Records one warning occurrence into its batch, counting by element identity:\n * `count` becomes the number of distinct elements with this warning, not the\n * number of `warn()` calls. A host that warns once per child (same message,\n * same element) still counts as one affected element. `count` is uncapped;\n * `maxDisplayed` only limits how many element refs are kept for display.\n *\n * @param batch - Grouped-warning batch to record into.\n * @param element - Element the warning is about, or `undefined` for the\n * dev-mode warning, which is not about a specific element.\n * @param maxDisplayed - Cap on element refs kept for display; does not affect\n * `count`.\n * @internal\n */\nexport function recordAffectedElement(\n batch: BatchedWarning,\n element: HTMLElement | undefined,\n maxDisplayed: number\n): void {\n if (!element) {\n // The dev-mode warning is the only warning with no element; count it once\n // however often it fires.\n if (batch.countedDevModeWarning) {\n return;\n }\n batch.countedDevModeWarning = true;\n batch.count += 1;\n return;\n }\n const countedElements = (batch.countedElements ??= new Set<HTMLElement>());\n if (countedElements.has(element)) {\n return; // this element is already counted for the batch\n }\n countedElements.add(element);\n batch.count += 1;\n if (batch.elements.length < maxDisplayed) {\n batch.elements.push(element);\n }\n}\n\n// Enabled in every environment except production (the ecosystem convention);\n// a production build strips this block via dead-code elimination.\nif (process.env.NODE_ENV !== 'production') {\n const ignoreWarningTypes = {\n default: false,\n accessibility: false,\n api: false,\n };\n const ignoreWarningLevels = {\n default: false,\n low: false,\n medium: false,\n high: false,\n deprecation: false,\n };\n\n // Grouped warnings: collect same-`warningId` warnings fired within one\n // microtask and emit a single console line with the total count. By default\n // one representative element is shown for inspection; `verbose` lists all\n // collected elements (capped at WARNING_ELEMENT_CAP).\n const WARNING_ELEMENT_CAP = 10;\n const batchedWarnings = new Map<BrandedSWCWarningID, BatchedWarning>();\n let flushScheduled = false;\n\n const flushWarnings = (): void => {\n flushScheduled = false;\n batchedWarnings.forEach((batch, id) => {\n console.warn(\n ...buildGroupedWarningArgs(batch, Boolean(window.__swc.verbose))\n );\n window.__swc.issuedWarnings.add(id);\n });\n batchedWarnings.clear();\n };\n\n window.__swc = {\n ...window.__swc,\n DEBUG: true,\n ignoreWarningLocalNames: {\n ...(window.__swc?.ignoreWarningLocalNames || {}),\n },\n ignoreWarningTypes: {\n ...ignoreWarningTypes,\n ...(window.__swc?.ignoreWarningTypes || {}),\n },\n ignoreWarningLevels: {\n ...ignoreWarningLevels,\n ...(window.__swc?.ignoreWarningLevels || {}),\n },\n issuedWarnings: new Set(),\n warn: (\n element,\n message,\n url,\n { type = 'api', level = 'default', issues } = {}\n ): void => {\n const { localName = 'base' } = element || {};\n const id = warningId(localName, type, level, message);\n // Ignore filters short-circuit before any batching.\n if (window.__swc.ignoreWarningLocalNames[localName]) {\n return;\n }\n if (window.__swc.ignoreWarningTypes[type]) {\n return;\n }\n if (window.__swc.ignoreWarningLevels[level]) {\n return;\n }\n // Session dedup: each id emits one grouped line per session. `verbose`\n // bypasses it so every microtask flush re-emits.\n if (!window.__swc.verbose && window.__swc.issuedWarnings.has(id)) {\n return;\n }\n // Collect into the per-id batch; `flushWarnings` builds the grouped\n // message on the next microtask.\n let batch = batchedWarnings.get(id);\n if (!batch) {\n let listedIssues = '';\n if (issues && issues.length) {\n issues.unshift('');\n listedIssues = issues.join('\\n - ') + '\\n';\n }\n batch = {\n message,\n url,\n localName,\n type,\n level,\n listedIssues,\n elements: [],\n count: 0,\n };\n batchedWarnings.set(id, batch);\n }\n recordAffectedElement(batch, element, WARNING_ELEMENT_CAP);\n if (!flushScheduled) {\n flushScheduled = true;\n queueMicrotask(flushWarnings);\n }\n },\n };\n\n window.__swc.warn(\n undefined,\n 'Spectrum Web Components is in dev mode. Not recommended for production!',\n 'https://opensource.adobe.com/spectrum-web-components/dev-mode/',\n { type: 'default' }\n );\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"spectrum-element.js","names":[],"sources":["../../element/spectrum-element.ts"],"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 */\n\nimport { LitElement } from 'lit';\n\nimport { coreVersion, version } from './version.js';\n\nexport class SpectrumElement extends LitElement {\n /**\n * @internal\n */\n static VERSION = version;\n\n /**\n * @internal\n */\n static CORE_VERSION = coreVersion;\n}\n\n/**\n * Builds the deduplication key for a dev-mode warning. The `message` is part of\n * the key so two distinct problems that share a `type`/`level` (the common\n * case) do not suppress each other; only a verbatim repeat of the same warning\n * is deduplicated. Exported so the dedup key can be unit tested without relying\n * on the `NODE_ENV`-gated `window.__swc` setup below.\n */\nexport function warningId(\n localName: string,\n type: WarningType,\n level: WarningLevel,\n message: string\n): BrandedSWCWarningID {\n return `${localName}:${type}:${level}:${message}` as BrandedSWCWarningID;\n}\n\n/**\n * A group of dev-mode warnings that share a `warningId`, collected within a\n * single microtask so they can be emitted as one console line with a count.\n */\ntype BatchedWarning = {\n message: string;\n url: string;\n localName: string;\n type: WarningType;\n level: WarningLevel;\n listedIssues: string;\n elements: HTMLElement[];\n count: number;\n\n /**\n * Elements already counted in this batch, keyed by identity. A repeated\n * `warn()` for an element already here does not bump `count` again.\n */\n countedElements?: Set<HTMLElement>;\n\n /**\n * Whether the dev-mode warning (the only warning with no element) has been\n * counted, so repeats of it collapse to one.\n */\n countedDevModeWarning?: boolean;\n};\n\n/**\n * Builds the `console.warn` arguments for a grouped dev warning: the message\n * and a count line, then the element ref(s) to inspect. By default one\n * representative element is shown; `verbose` shows every collected element\n * (already capped at collection time). Exported so the grouped output can be\n * unit tested without the `NODE_ENV`-gated `window.__swc` setup below.\n *\n * @internal\n */\nexport function buildGroupedWarningArgs(\n batch: BatchedWarning,\n verbose: boolean\n): unknown[] {\n const {\n message,\n url,\n localName,\n type,\n level,\n listedIssues,\n elements,\n count,\n } = batch;\n const intro = level === 'deprecation' ? 'DEPRECATION NOTICE: ' : '';\n const shown = verbose ? elements : elements.slice(0, 1);\n let countLine = '';\n if (count === 1) {\n countLine = shown.length ? '\\nAffected element:' : '';\n } else {\n countLine = `\\n${count} <${localName}> elements affected:`;\n }\n const args: unknown[] = [intro + message + '\\n' + listedIssues + countLine];\n for (const el of shown) {\n args.push(el);\n }\n args.push((shown.length ? '\\n\\n' : '\\n') + url + '\\n', {\n data: { localName, type, level, count },\n });\n return args;\n}\n\n/**\n * Records one warning occurrence into its batch, counting by element identity:\n * `count` becomes the number of distinct elements with this warning, not the\n * number of `warn()` calls. A host that warns once per child (same message,\n * same element) still counts as one affected element. `count` is uncapped;\n * `maxDisplayed` only limits how many element refs are kept for display.\n *\n * @param batch - Grouped-warning batch to record into.\n * @param element - Element the warning is about, or `undefined` for the\n * dev-mode warning, which is not about a specific element.\n * @param maxDisplayed - Cap on element refs kept for display; does not affect\n * `count`.\n * @internal\n */\nexport function recordAffectedElement(\n batch: BatchedWarning,\n element: HTMLElement | undefined,\n maxDisplayed: number\n): void {\n if (!element) {\n // The dev-mode warning is the only warning with no element; count it once\n // however often it fires.\n if (batch.countedDevModeWarning) {\n return;\n }\n batch.countedDevModeWarning = true;\n batch.count += 1;\n return;\n }\n const countedElements = (batch.countedElements ??= new Set<HTMLElement>());\n if (countedElements.has(element)) {\n return; // this element is already counted for the batch\n }\n countedElements.add(element);\n batch.count += 1;\n if (batch.elements.length < maxDisplayed) {\n batch.elements.push(element);\n }\n}\n\n// Enabled in every environment except production (the ecosystem convention);\n// a production build strips this block via dead-code elimination.\nif (process.env.NODE_ENV !== 'production') {\n const ignoreWarningTypes = {\n default: false,\n accessibility: false,\n api: false,\n };\n const ignoreWarningLevels = {\n default: false,\n low: false,\n medium: false,\n high: false,\n deprecation: false,\n };\n\n // Grouped warnings: collect same-`warningId` warnings fired within one\n // microtask and emit a single console line with the total count. By default\n // one representative element is shown for inspection; `verbose` lists all\n // collected elements (capped at WARNING_ELEMENT_CAP).\n const WARNING_ELEMENT_CAP = 10;\n const batchedWarnings = new Map<BrandedSWCWarningID, BatchedWarning>();\n let flushScheduled = false;\n\n const flushWarnings = (): void => {\n flushScheduled = false;\n batchedWarnings.forEach((batch, id) => {\n console.warn(\n ...buildGroupedWarningArgs(batch, Boolean(window.__swc.verbose))\n );\n window.__swc.issuedWarnings.add(id);\n });\n batchedWarnings.clear();\n };\n\n window.__swc = {\n ...window.__swc,\n DEBUG: true,\n ignoreWarningLocalNames: {\n ...(window.__swc?.ignoreWarningLocalNames || {}),\n },\n ignoreWarningTypes: {\n ...ignoreWarningTypes,\n ...(window.__swc?.ignoreWarningTypes || {}),\n },\n ignoreWarningLevels: {\n ...ignoreWarningLevels,\n ...(window.__swc?.ignoreWarningLevels || {}),\n },\n issuedWarnings: new Set(),\n warn: (\n element,\n message,\n url,\n { type = 'api', level = 'default', issues } = {}\n ): void => {\n const { localName = 'base' } = element || {};\n const id = warningId(localName, type, level, message);\n // Ignore filters short-circuit before any batching.\n if (window.__swc.ignoreWarningLocalNames[localName]) {\n return;\n }\n if (window.__swc.ignoreWarningTypes[type]) {\n return;\n }\n if (window.__swc.ignoreWarningLevels[level]) {\n return;\n }\n // Session dedup: each id emits one grouped line per session. `verbose`\n // bypasses it so every microtask flush re-emits.\n if (!window.__swc.verbose && window.__swc.issuedWarnings.has(id)) {\n return;\n }\n // Collect into the per-id batch; `flushWarnings` builds the grouped\n // message on the next microtask.\n let batch = batchedWarnings.get(id);\n if (!batch) {\n let listedIssues = '';\n if (issues && issues.length) {\n issues.unshift('');\n listedIssues = issues.join('\\n - ') + '\\n';\n }\n batch = {\n message,\n url,\n localName,\n type,\n level,\n listedIssues,\n elements: [],\n count: 0,\n };\n batchedWarnings.set(id, batch);\n }\n recordAffectedElement(batch, element, WARNING_ELEMENT_CAP);\n if (!flushScheduled) {\n flushScheduled = true;\n queueMicrotask(flushWarnings);\n }\n },\n };\n\n window.__swc.warn(\n undefined,\n 'Spectrum Web Components is in dev mode. Not recommended for production!',\n 'https://spectrum-web-components.adobe.com/dev-mode/',\n { type: 'default' }\n );\n}\n"],"mappings":"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"}
@@ -10,10 +10,10 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
  /**
13
- * The version of the 2nd-gen Spectrum Web Components library.
13
+ * The version of the gen2 Spectrum Web Components library.
14
14
  */
15
- export declare const version = "2.0.0-beta.2";
15
+ export declare const version = "2.0.0-beta.4";
16
16
  /**
17
17
  * The version of the core base package.
18
18
  */
19
- export declare const coreVersion = "2.0.0-beta.2";
19
+ export declare const coreVersion = "2.0.0-beta.4";
@@ -1,5 +1,5 @@
1
1
  //#region element/version.ts
2
- var e = "2.0.0-beta.2", t = "2.0.0-beta.2";
2
+ var e = "2.0.0-beta.4", t = "2.0.0-beta.4";
3
3
  //#endregion
4
4
  export { t as coreVersion, e as version };
5
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","names":[],"sources":["../../element/version.ts"],"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 */\n\n// Auto-generated from 2nd-gen/packages/core/package.json\n// Generation: 2nd-gen\n// DO NOT EDIT - This file is generated by scripts/generate-versions.js\n\n/**\n * The version of the 2nd-gen Spectrum Web Components library.\n */\nexport const version = '2.0.0-beta.2';\n\n/**\n * The version of the core base package.\n */\nexport const coreVersion = '2.0.0-beta.2';\n"],"mappings":";AAmBA,IAAa,IAAU,gBAKV,IAAc"}
1
+ {"version":3,"file":"version.js","names":[],"sources":["../../element/version.ts"],"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 */\n\n// Auto-generated from gen2/packages/core/package.json\n// Generation: gen2\n// DO NOT EDIT - This file is generated by scripts/generate-versions.js\n\n/**\n * The version of the gen2 Spectrum Web Components library.\n */\nexport const version = '2.0.0-beta.4';\n\n/**\n * The version of the core base package.\n */\nexport const coreVersion = '2.0.0-beta.4';\n"],"mappings":";AAmBA,IAAa,IAAU,gBAKV,IAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-trigger.js","names":[],"sources":["../../utils/resolve-trigger.ts"],"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 */\n\n/**\n * Options for {@link resolveTrigger}.\n */\nexport interface ResolveTriggerOptions {\n /** ID of the trigger element in the host's tree root. */\n for?: string;\n /** Direct trigger reference; overrides `for` when set. */\n triggerElement?: HTMLElement | null;\n}\n\n/**\n * The resolved trigger and the element that should receive ARIA wiring.\n *\n * `trigger` is the element used for positioning. `interactiveElement` is the\n * AT-facing focusable element: the inner `<button>` of an open-shadow SWC\n * component when present, otherwise the trigger itself.\n */\nexport interface ResolvedTrigger {\n trigger: HTMLElement | null;\n interactiveElement: HTMLElement | null;\n}\n\n/**\n * Resolve the trigger for a popover-like host and discover the AT-facing inner\n * button across shadow boundaries.\n *\n * Resolution order: a direct `triggerElement` reference wins; otherwise `for`\n * is resolved by ID within the host's tree root (`getRootNode().getElementById`,\n * strictly same-root). When the resolved trigger exposes an open shadow root,\n * its inner `<button>` becomes the `interactiveElement` that receives ARIA;\n * otherwise ARIA is wired on the trigger itself.\n */\nexport function resolveTrigger(\n host: HTMLElement,\n options: ResolveTriggerOptions\n): ResolvedTrigger {\n let trigger: HTMLElement | null = options.triggerElement ?? null;\n\n if (!trigger && options.for) {\n // `getRootNode()` returns the Document or the host's ShadowRoot; both expose\n // `getElementById`, keeping resolution strictly within the same tree root.\n const root = host.getRootNode() as Document | ShadowRoot;\n trigger = root.getElementById?.(options.for) ?? null;\n }\n\n if (!trigger) {\n return { trigger: null, interactiveElement: null };\n }\n\n // Inner-button discovery: for a 2nd-gen component trigger with an open shadow\n // root, wire ARIA on the AT-facing inner <button>. Closed-shadow or native\n // triggers fall back to the trigger host itself.\n const innerButton = trigger.shadowRoot?.querySelector('button') ?? null;\n\n return { trigger, interactiveElement: innerButton ?? trigger };\n}\n"],"mappings":";AA4CA,SAAgB,EACd,GACA,GACiB;;CACjB,IAAI,KAAA,IAA8B,EAAQ,mBAAA,OAAkB,OAAlB;AAE1C,KAAI,CAAC,KAAW,EAAQ,KAAK;;EAG3B,IAAM,IAAO,EAAK,aAAa;AAC/B,OAAA,KAAA,IAAU,EAAK,mBAAA,OAAA,KAAA,IAAA,EAAA,KAAA,GAAiB,EAAQ,IAAI,KAAA,OAAI,OAAJ;;AAG9C,KAAI,CAAC,EACH,QAAO;EAAE,SAAS;EAAM,oBAAoB;EAAM;CAMpD,IAAM,KAAA,KAAA,IAAc,EAAQ,eAAA,OAAA,KAAA,IAAA,EAAY,cAAc,SAAS,KAAA,OAAI,OAAJ;AAE/D,QAAO;EAAE;EAAS,oBAAoB,KAAA,OAAe,IAAf;EAAwB"}
1
+ {"version":3,"file":"resolve-trigger.js","names":[],"sources":["../../utils/resolve-trigger.ts"],"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 */\n\n/**\n * Options for {@link resolveTrigger}.\n */\nexport interface ResolveTriggerOptions {\n /** ID of the trigger element in the host's tree root. */\n for?: string;\n /** Direct trigger reference; overrides `for` when set. */\n triggerElement?: HTMLElement | null;\n}\n\n/**\n * The resolved trigger and the element that should receive ARIA wiring.\n *\n * `trigger` is the element used for positioning. `interactiveElement` is the\n * AT-facing focusable element: the inner `<button>` of an open-shadow SWC\n * component when present, otherwise the trigger itself.\n */\nexport interface ResolvedTrigger {\n trigger: HTMLElement | null;\n interactiveElement: HTMLElement | null;\n}\n\n/**\n * Resolve the trigger for a popover-like host and discover the AT-facing inner\n * button across shadow boundaries.\n *\n * Resolution order: a direct `triggerElement` reference wins; otherwise `for`\n * is resolved by ID within the host's tree root (`getRootNode().getElementById`,\n * strictly same-root). When the resolved trigger exposes an open shadow root,\n * its inner `<button>` becomes the `interactiveElement` that receives ARIA;\n * otherwise ARIA is wired on the trigger itself.\n */\nexport function resolveTrigger(\n host: HTMLElement,\n options: ResolveTriggerOptions\n): ResolvedTrigger {\n let trigger: HTMLElement | null = options.triggerElement ?? null;\n\n if (!trigger && options.for) {\n // `getRootNode()` returns the Document or the host's ShadowRoot; both expose\n // `getElementById`, keeping resolution strictly within the same tree root.\n const root = host.getRootNode() as Document | ShadowRoot;\n trigger = root.getElementById?.(options.for) ?? null;\n }\n\n if (!trigger) {\n return { trigger: null, interactiveElement: null };\n }\n\n // Inner-button discovery: for a gen2 component trigger with an open shadow\n // root, wire ARIA on the AT-facing inner <button>. Closed-shadow or native\n // triggers fall back to the trigger host itself.\n const innerButton = trigger.shadowRoot?.querySelector('button') ?? null;\n\n return { trigger, interactiveElement: innerButton ?? trigger };\n}\n"],"mappings":";AA4CA,SAAgB,EACd,GACA,GACiB;;CACjB,IAAI,KAAA,IAA8B,EAAQ,mBAAA,OAAkB,OAAlB;AAE1C,KAAI,CAAC,KAAW,EAAQ,KAAK;;EAG3B,IAAM,IAAO,EAAK,aAAa;AAC/B,OAAA,KAAA,IAAU,EAAK,mBAAA,OAAA,KAAA,IAAA,EAAA,KAAA,GAAiB,EAAQ,IAAI,KAAA,OAAI,OAAJ;;AAG9C,KAAI,CAAC,EACH,QAAO;EAAE,SAAS;EAAM,oBAAoB;EAAM;CAMpD,IAAM,KAAA,KAAA,IAAc,EAAQ,eAAA,OAAA,KAAA,IAAA,EAAY,cAAc,SAAS,KAAA,OAAI,OAAJ;AAE/D,QAAO;EAAE;EAAS,oBAAoB,KAAA,OAAe,IAAf;EAAwB"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-wc-core",
3
- "version": "2.0.0-beta.3",
3
+ "version": "2.0.0-beta.4",
4
4
  "description": "Abstract base classes for Spectrum Web Components",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Adobe",
7
- "homepage": "https://opensource.adobe.com/spectrum-web-components/",
7
+ "homepage": "https://spectrum-web-components.adobe.com/",
8
8
  "repository": {
9
- "directory": "2nd-gen/packages/core",
9
+ "directory": "gen2/packages/core",
10
10
  "type": "git",
11
11
  "url": "https://github.com/adobe/spectrum-web-components.git"
12
12
  },
@@ -19,22 +19,42 @@
19
19
  "types": "./dist/components/accordion/index.d.ts",
20
20
  "import": "./dist/components/accordion/index.js"
21
21
  },
22
+ "./components/accordion/index.js": {
23
+ "types": "./dist/components/accordion/index.d.ts",
24
+ "import": "./dist/components/accordion/index.js"
25
+ },
22
26
  "./components/action-button": {
23
27
  "types": "./dist/components/action-button/index.d.ts",
24
28
  "import": "./dist/components/action-button/index.js"
25
29
  },
30
+ "./components/action-button/index.js": {
31
+ "types": "./dist/components/action-button/index.d.ts",
32
+ "import": "./dist/components/action-button/index.js"
33
+ },
26
34
  "./components/action-group": {
27
35
  "types": "./dist/components/action-group/index.d.ts",
28
36
  "import": "./dist/components/action-group/index.js"
29
37
  },
38
+ "./components/action-group/index.js": {
39
+ "types": "./dist/components/action-group/index.d.ts",
40
+ "import": "./dist/components/action-group/index.js"
41
+ },
30
42
  "./components/alert-banner": {
31
43
  "types": "./dist/components/alert-banner/index.d.ts",
32
44
  "import": "./dist/components/alert-banner/index.js"
33
45
  },
46
+ "./components/alert-banner/index.js": {
47
+ "types": "./dist/components/alert-banner/index.d.ts",
48
+ "import": "./dist/components/alert-banner/index.js"
49
+ },
34
50
  "./components/asset": {
35
51
  "types": "./dist/components/asset/index.d.ts",
36
52
  "import": "./dist/components/asset/index.js"
37
53
  },
54
+ "./components/asset/index.js": {
55
+ "types": "./dist/components/asset/index.d.ts",
56
+ "import": "./dist/components/asset/index.js"
57
+ },
38
58
  "./components/avatar": {
39
59
  "types": "./dist/components/avatar/index.d.ts",
40
60
  "import": "./dist/components/avatar/index.js"
@@ -59,10 +79,22 @@
59
79
  "types": "./dist/components/button-group/index.d.ts",
60
80
  "import": "./dist/components/button-group/index.js"
61
81
  },
82
+ "./components/button-group/index.js": {
83
+ "types": "./dist/components/button-group/index.d.ts",
84
+ "import": "./dist/components/button-group/index.js"
85
+ },
86
+ "./components/button/index.js": {
87
+ "types": "./dist/components/button/index.d.ts",
88
+ "import": "./dist/components/button/index.js"
89
+ },
62
90
  "./components/card": {
63
91
  "types": "./dist/components/card/index.d.ts",
64
92
  "import": "./dist/components/card/index.js"
65
93
  },
94
+ "./components/card/index.js": {
95
+ "types": "./dist/components/card/index.d.ts",
96
+ "import": "./dist/components/card/index.js"
97
+ },
66
98
  "./components/color-handle": {
67
99
  "types": "./dist/components/color-handle/index.d.ts",
68
100
  "import": "./dist/components/color-handle/index.js"
@@ -71,6 +103,14 @@
71
103
  "types": "./dist/components/color-handle/index.d.ts",
72
104
  "import": "./dist/components/color-handle/index.js"
73
105
  },
106
+ "./components/color-loupe": {
107
+ "types": "./dist/components/color-loupe/index.d.ts",
108
+ "import": "./dist/components/color-loupe/index.js"
109
+ },
110
+ "./components/color-loupe/index.js": {
111
+ "types": "./dist/components/color-loupe/index.d.ts",
112
+ "import": "./dist/components/color-loupe/index.js"
113
+ },
74
114
  "./components/divider": {
75
115
  "types": "./dist/components/divider/index.d.ts",
76
116
  "import": "./dist/components/divider/index.js"
@@ -91,18 +131,34 @@
91
131
  "types": "./dist/components/icon/index.d.ts",
92
132
  "import": "./dist/components/icon/index.js"
93
133
  },
94
- "./components/infield-button": {
95
- "types": "./dist/components/infield-button/index.d.ts",
96
- "import": "./dist/components/infield-button/index.js"
134
+ "./components/icon/index.js": {
135
+ "types": "./dist/components/icon/index.d.ts",
136
+ "import": "./dist/components/icon/index.js"
97
137
  },
98
138
  "./components/illustrated-message": {
99
139
  "types": "./dist/components/illustrated-message/index.d.ts",
100
140
  "import": "./dist/components/illustrated-message/index.js"
101
141
  },
142
+ "./components/illustrated-message/index.js": {
143
+ "types": "./dist/components/illustrated-message/index.d.ts",
144
+ "import": "./dist/components/illustrated-message/index.js"
145
+ },
146
+ "./components/infield-button": {
147
+ "types": "./dist/components/infield-button/index.d.ts",
148
+ "import": "./dist/components/infield-button/index.js"
149
+ },
150
+ "./components/infield-button/index.js": {
151
+ "types": "./dist/components/infield-button/index.d.ts",
152
+ "import": "./dist/components/infield-button/index.js"
153
+ },
102
154
  "./components/meter": {
103
155
  "types": "./dist/components/meter/index.d.ts",
104
156
  "import": "./dist/components/meter/index.js"
105
157
  },
158
+ "./components/meter/index.js": {
159
+ "types": "./dist/components/meter/index.d.ts",
160
+ "import": "./dist/components/meter/index.js"
161
+ },
106
162
  "./components/popover": {
107
163
  "types": "./dist/components/popover/index.d.ts",
108
164
  "import": "./dist/components/popover/index.js"
@@ -115,10 +171,18 @@
115
171
  "types": "./dist/components/progress-bar/index.d.ts",
116
172
  "import": "./dist/components/progress-bar/index.js"
117
173
  },
174
+ "./components/progress-bar/index.js": {
175
+ "types": "./dist/components/progress-bar/index.d.ts",
176
+ "import": "./dist/components/progress-bar/index.js"
177
+ },
118
178
  "./components/progress-circle": {
119
179
  "types": "./dist/components/progress-circle/index.d.ts",
120
180
  "import": "./dist/components/progress-circle/index.js"
121
181
  },
182
+ "./components/progress-circle/index.js": {
183
+ "types": "./dist/components/progress-circle/index.d.ts",
184
+ "import": "./dist/components/progress-circle/index.js"
185
+ },
122
186
  "./components/status-light": {
123
187
  "types": "./dist/components/status-light/index.d.ts",
124
188
  "import": "./dist/components/status-light/index.js"
@@ -139,6 +203,10 @@
139
203
  "types": "./dist/components/tooltip/index.d.ts",
140
204
  "import": "./dist/components/tooltip/index.js"
141
205
  },
206
+ "./components/tooltip/index.js": {
207
+ "types": "./dist/components/tooltip/index.d.ts",
208
+ "import": "./dist/components/tooltip/index.js"
209
+ },
142
210
  "./controllers": {
143
211
  "types": "./dist/controllers/index.d.ts",
144
212
  "import": "./dist/controllers/index.js"
@@ -211,6 +279,14 @@
211
279
  "types": "./dist/controllers/slot-text-controller/index.d.ts",
212
280
  "import": "./dist/controllers/slot-text-controller/index.js"
213
281
  },
282
+ "./controllers/trigger-press-controller": {
283
+ "types": "./dist/controllers/trigger-press-controller/index.d.ts",
284
+ "import": "./dist/controllers/trigger-press-controller/index.js"
285
+ },
286
+ "./controllers/trigger-press-controller/index.js": {
287
+ "types": "./dist/controllers/trigger-press-controller/index.d.ts",
288
+ "import": "./dist/controllers/trigger-press-controller/index.js"
289
+ },
214
290
  "./directives": {
215
291
  "types": "./dist/directives/index.d.ts",
216
292
  "import": "./dist/directives/index.js"
@@ -300,15 +376,33 @@
300
376
  "components/accordion": [
301
377
  "dist/components/accordion/index.d.ts"
302
378
  ],
379
+ "components/accordion/index.js": [
380
+ "dist/components/accordion/index.d.ts"
381
+ ],
303
382
  "components/action-button": [
304
383
  "dist/components/action-button/index.d.ts"
305
384
  ],
385
+ "components/action-button/index.js": [
386
+ "dist/components/action-button/index.d.ts"
387
+ ],
388
+ "components/action-group": [
389
+ "dist/components/action-group/index.d.ts"
390
+ ],
391
+ "components/action-group/index.js": [
392
+ "dist/components/action-group/index.d.ts"
393
+ ],
306
394
  "components/alert-banner": [
307
395
  "dist/components/alert-banner/index.d.ts"
308
396
  ],
397
+ "components/alert-banner/index.js": [
398
+ "dist/components/alert-banner/index.d.ts"
399
+ ],
309
400
  "components/asset": [
310
401
  "dist/components/asset/index.d.ts"
311
402
  ],
403
+ "components/asset/index.js": [
404
+ "dist/components/asset/index.d.ts"
405
+ ],
312
406
  "components/avatar": [
313
407
  "dist/components/avatar/index.d.ts"
314
408
  ],
@@ -327,15 +421,30 @@
327
421
  "components/button-group": [
328
422
  "dist/components/button-group/index.d.ts"
329
423
  ],
424
+ "components/button-group/index.js": [
425
+ "dist/components/button-group/index.d.ts"
426
+ ],
427
+ "components/button/index.js": [
428
+ "dist/components/button/index.d.ts"
429
+ ],
330
430
  "components/card": [
331
431
  "dist/components/card/index.d.ts"
332
432
  ],
433
+ "components/card/index.js": [
434
+ "dist/components/card/index.d.ts"
435
+ ],
333
436
  "components/color-handle": [
334
437
  "dist/components/color-handle/index.d.ts"
335
438
  ],
336
439
  "components/color-handle/index.js": [
337
440
  "dist/components/color-handle/index.d.ts"
338
441
  ],
442
+ "components/color-loupe": [
443
+ "dist/components/color-loupe/index.d.ts"
444
+ ],
445
+ "components/color-loupe/index.js": [
446
+ "dist/components/color-loupe/index.d.ts"
447
+ ],
339
448
  "components/divider": [
340
449
  "dist/components/divider/index.d.ts"
341
450
  ],
@@ -351,21 +460,45 @@
351
460
  "components/icon": [
352
461
  "dist/components/icon/index.d.ts"
353
462
  ],
354
- "components/infield-button": [
355
- "dist/components/infield-button/index.d.ts"
463
+ "components/icon/index.js": [
464
+ "dist/components/icon/index.d.ts"
356
465
  ],
357
466
  "components/illustrated-message": [
358
467
  "dist/components/illustrated-message/index.d.ts"
359
468
  ],
469
+ "components/illustrated-message/index.js": [
470
+ "dist/components/illustrated-message/index.d.ts"
471
+ ],
472
+ "components/infield-button": [
473
+ "dist/components/infield-button/index.d.ts"
474
+ ],
475
+ "components/infield-button/index.js": [
476
+ "dist/components/infield-button/index.d.ts"
477
+ ],
360
478
  "components/meter": [
361
479
  "dist/components/meter/index.d.ts"
362
480
  ],
481
+ "components/meter/index.js": [
482
+ "dist/components/meter/index.d.ts"
483
+ ],
484
+ "components/popover": [
485
+ "dist/components/popover/index.d.ts"
486
+ ],
487
+ "components/popover/index.js": [
488
+ "dist/components/popover/index.d.ts"
489
+ ],
363
490
  "components/progress-bar": [
364
491
  "dist/components/progress-bar/index.d.ts"
365
492
  ],
493
+ "components/progress-bar/index.js": [
494
+ "dist/components/progress-bar/index.d.ts"
495
+ ],
366
496
  "components/progress-circle": [
367
497
  "dist/components/progress-circle/index.d.ts"
368
498
  ],
499
+ "components/progress-circle/index.js": [
500
+ "dist/components/progress-circle/index.d.ts"
501
+ ],
369
502
  "components/status-light": [
370
503
  "dist/components/status-light/index.d.ts"
371
504
  ],
@@ -381,6 +514,9 @@
381
514
  "components/tooltip": [
382
515
  "dist/components/tooltip/index.d.ts"
383
516
  ],
517
+ "components/tooltip/index.js": [
518
+ "dist/components/tooltip/index.d.ts"
519
+ ],
384
520
  "controllers": [
385
521
  "dist/controllers/index.d.ts"
386
522
  ],
@@ -435,6 +571,12 @@
435
571
  "controllers/slot-text-controller/index.js": [
436
572
  "dist/controllers/slot-text-controller/index.d.ts"
437
573
  ],
574
+ "controllers/trigger-press-controller": [
575
+ "dist/controllers/trigger-press-controller/index.d.ts"
576
+ ],
577
+ "controllers/trigger-press-controller/index.js": [
578
+ "dist/controllers/trigger-press-controller/index.d.ts"
579
+ ],
438
580
  "directives": [
439
581
  "dist/directives/index.d.ts"
440
582
  ],
@@ -513,4 +655,4 @@
513
655
  "publishConfig": {
514
656
  "access": "public"
515
657
  }
516
- }
658
+ }