@redvars/peacock 4.2.1 → 4.3.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.
Files changed (244) hide show
  1. package/dist/{BaseField-D8ByB0l3.js → BaseField-CHBcjVc2.js} +3 -3
  2. package/dist/{BaseField-D8ByB0l3.js.map → BaseField-CHBcjVc2.js.map} +1 -1
  3. package/dist/{BaseInput-xCHvT4AN.js → BaseInput-DZp2O8Gh.js} +2 -2
  4. package/dist/{BaseInput-xCHvT4AN.js.map → BaseInput-DZp2O8Gh.js.map} +1 -1
  5. package/dist/ai-badge.js +2 -2
  6. package/dist/ai-summary.js +2 -2
  7. package/dist/alert.js +2 -2
  8. package/dist/anchor-nav.js +2 -2
  9. package/dist/app-shell.js +2 -2
  10. package/dist/assistant-panel.js +2 -2
  11. package/dist/assistant-step.js +2 -2
  12. package/dist/assistant-steps.js +2 -2
  13. package/dist/avatar-group.js +2 -2
  14. package/dist/banner.js +2 -2
  15. package/dist/{base-progress-DxNgAQtw.js → base-progress-CKQ32Ruw.js} +2 -2
  16. package/dist/{base-progress-DxNgAQtw.js.map → base-progress-CKQ32Ruw.js.map} +1 -1
  17. package/dist/bottom-sheet.js +2 -2
  18. package/dist/breadcrumb.js +2 -2
  19. package/dist/calendar.js +2 -2
  20. package/dist/{canvas-base-DHKf2CmA.js → canvas-base-BoKef3yr.js} +2 -2
  21. package/dist/{canvas-base-DHKf2CmA.js.map → canvas-base-BoKef3yr.js.map} +1 -1
  22. package/dist/carousel.js +644 -0
  23. package/dist/carousel.js.map +1 -0
  24. package/dist/{cartesian-chart-G6VX1aKk.js → cartesian-chart-DqZxnoG1.js} +2 -2
  25. package/dist/{cartesian-chart-G6VX1aKk.js.map → cartesian-chart-DqZxnoG1.js.map} +1 -1
  26. package/dist/{cb-group-base-CZLzCnXK.js → cb-group-base-Bf7iOIGS.js} +2 -2
  27. package/dist/{cb-group-base-CZLzCnXK.js.map → cb-group-base-Bf7iOIGS.js.map} +1 -1
  28. package/dist/cb-group.js +3 -3
  29. package/dist/cb-rule.js +3 -3
  30. package/dist/chart-area.js +4 -4
  31. package/dist/chart-bar.js +4 -4
  32. package/dist/{chart-base-DREru2P0.js → chart-base-ByCJM_9C.js} +2 -2
  33. package/dist/{chart-base-DREru2P0.js.map → chart-base-ByCJM_9C.js.map} +1 -1
  34. package/dist/chart-doughnut.js +3 -3
  35. package/dist/chart-line.js +4 -4
  36. package/dist/chart-pie.js +3 -3
  37. package/dist/chat-event.js +2 -2
  38. package/dist/chat-message.js +2 -2
  39. package/dist/chat-thread.js +2 -2
  40. package/dist/checkbox-group.js +3 -3
  41. package/dist/checkbox.js +3 -3
  42. package/dist/chip-set.js +2 -2
  43. package/dist/chip.js +2 -2
  44. package/dist/circular-progress.js +3 -3
  45. package/dist/citation.js +2 -2
  46. package/dist/code-editor.js +3 -3
  47. package/dist/code-highlighter.js +2 -2
  48. package/dist/color-field.js +4 -4
  49. package/dist/color-picker.js +2 -2
  50. package/dist/command-palette.js +2 -2
  51. package/dist/comment-composer.js +4 -4
  52. package/dist/condition-builder.js +3 -3
  53. package/dist/confirm-dialog.js +2 -2
  54. package/dist/copy-button.js +2 -2
  55. package/dist/currency-field.js +4 -4
  56. package/dist/custom-elements-jsdocs.json +902 -74
  57. package/dist/custom-elements.json +2842 -1
  58. package/dist/date-field.js +5 -5
  59. package/dist/date-picker.js +2 -2
  60. package/dist/date-range-field.js +5 -5
  61. package/dist/datetime-field.js +5 -5
  62. package/dist/dependency-map.js +3 -3
  63. package/dist/description-item.js +2 -2
  64. package/dist/description-list.js +2 -2
  65. package/dist/{diagram-CHF70xTL.js → diagram-Cnrj-4y3.js} +2 -2
  66. package/dist/{diagram-CHF70xTL.js.map → diagram-Cnrj-4y3.js.map} +1 -1
  67. package/dist/diagram-controls.js +2 -2
  68. package/dist/diagram-minimap.js +2 -2
  69. package/dist/diagram.js +4 -4
  70. package/dist/diff-viewer.js +2 -2
  71. package/dist/discussion-activity.js +2 -2
  72. package/dist/discussion-comment.js +2 -2
  73. package/dist/discussion.js +4 -4
  74. package/dist/{document-editor-Cb9fCxvA.js → document-editor-C8ThjDQ7.js} +2 -2
  75. package/dist/{document-editor-Cb9fCxvA.js.map → document-editor-C8ThjDQ7.js.map} +1 -1
  76. package/dist/document-editor.js +3 -3
  77. package/dist/draft-card.js +2 -2
  78. package/dist/erd.js +3 -3
  79. package/dist/file-upload.js +3 -3
  80. package/dist/filter-bar.js +2 -2
  81. package/dist/flow.js +4 -4
  82. package/dist/form.js +2 -2
  83. package/dist/{generative-view-C4fJ2zI7.js → generative-view-CQ8-g1wY.js} +2 -2
  84. package/dist/{generative-view-C4fJ2zI7.js.map → generative-view-CQ8-g1wY.js.map} +1 -1
  85. package/dist/generative-view.js +3 -3
  86. package/dist/highlight-Be0wu7kh.js +252 -0
  87. package/dist/highlight-Be0wu7kh.js.map +1 -0
  88. package/dist/highlight.js +6 -0
  89. package/dist/highlight.js.map +1 -0
  90. package/dist/html-editor.js +4 -4
  91. package/dist/{i18n-controller-CH4e9sju.js → i18n-controller-DLJcJ5gO.js} +2 -2
  92. package/dist/{i18n-controller-CH4e9sju.js.map → i18n-controller-DLJcJ5gO.js.map} +1 -1
  93. package/dist/image.js +2 -2
  94. package/dist/index.js +26 -16
  95. package/dist/index.js.map +1 -1
  96. package/dist/inline-edit.js +2 -2
  97. package/dist/input.js +3 -3
  98. package/dist/json-viewer.js +2 -2
  99. package/dist/kanban.js +2 -2
  100. package/dist/kbd.js +2 -2
  101. package/dist/linear-progress.js +3 -3
  102. package/dist/listbox.js +2 -2
  103. package/dist/loader-full.js +19 -9
  104. package/dist/loader-full.js.map +1 -1
  105. package/dist/loader.js +46 -9
  106. package/dist/loader.js.map +1 -1
  107. package/dist/markdown-editor.js +4 -4
  108. package/dist/mention-input.js +4 -4
  109. package/dist/modal.js +2 -2
  110. package/dist/navigation-bar.js +2 -2
  111. package/dist/navigation-drawer.js +2 -2
  112. package/dist/navigation-rail.js +2 -2
  113. package/dist/notification-center.js +2 -2
  114. package/dist/number-field.js +4 -4
  115. package/dist/page-header.js +2 -2
  116. package/dist/pagination.js +2 -2
  117. package/dist/password-field.js +4 -4
  118. package/dist/password-rules.js +2 -2
  119. package/dist/phone-field.js +4 -4
  120. package/dist/{picker-field-loXW-xrW.js → picker-field-B5xOFc3-.js} +3 -3
  121. package/dist/{picker-field-loXW-xrW.js.map → picker-field-B5xOFc3-.js.map} +1 -1
  122. package/dist/pin-input.js +4 -4
  123. package/dist/presence-indicator.js +2 -2
  124. package/dist/prompt-input.js +4 -4
  125. package/dist/radio.js +3 -3
  126. package/dist/rating.js +3 -3
  127. package/dist/redvars-loader.js +2 -2
  128. package/dist/relative-time.js +2 -2
  129. package/dist/resizable-panels.js +2 -2
  130. package/dist/{rich-text-input-B5j0eqCJ.js → rich-text-input-C4B9D6oD.js} +3 -3
  131. package/dist/{rich-text-input-B5j0eqCJ.js.map → rich-text-input-C4B9D6oD.js.map} +1 -1
  132. package/dist/{schema-BJzlGRP1.js → schema-CPhNrjrx.js} +2 -2
  133. package/dist/{schema-BJzlGRP1.js.map → schema-CPhNrjrx.js.map} +1 -1
  134. package/dist/search.js +3 -3
  135. package/dist/select.js +4 -4
  136. package/dist/side-sheet.js +2 -2
  137. package/dist/signature-pad.js +3 -3
  138. package/dist/site-footer-group.js +142 -0
  139. package/dist/site-footer-group.js.map +1 -0
  140. package/dist/site-footer.js +338 -0
  141. package/dist/site-footer.js.map +1 -0
  142. package/dist/site-header.js +774 -0
  143. package/dist/site-header.js.map +1 -0
  144. package/dist/site-nav-group.js +123 -0
  145. package/dist/site-nav-group.js.map +1 -0
  146. package/dist/site-nav-link.js +321 -0
  147. package/dist/site-nav-link.js.map +1 -0
  148. package/dist/site-nav-menu.js +506 -0
  149. package/dist/site-nav-menu.js.map +1 -0
  150. package/dist/site-nav-shared-BDR2HG8e.js +23 -0
  151. package/dist/site-nav-shared-BDR2HG8e.js.map +1 -0
  152. package/dist/slider.js +3 -3
  153. package/dist/snackbar.js +2 -2
  154. package/dist/sparkline.js +2 -2
  155. package/dist/split-button.js +2 -2
  156. package/dist/src/__internal/i18n/strings.d.ts +24 -0
  157. package/dist/src/carousel/carousel.d.ts +135 -0
  158. package/dist/src/carousel/index.d.ts +1 -0
  159. package/dist/src/highlight/highlight.d.ts +56 -0
  160. package/dist/src/highlight/index.d.ts +2 -0
  161. package/dist/src/highlight/matches.d.ts +9 -0
  162. package/dist/src/index.d.ts +9 -0
  163. package/dist/src/site-footer/index.d.ts +2 -0
  164. package/dist/src/site-footer/site-footer-group.d.ts +34 -0
  165. package/dist/src/site-footer/site-footer.d.ts +74 -0
  166. package/dist/src/site-header/index.d.ts +4 -0
  167. package/dist/src/site-header/site-header.d.ts +170 -0
  168. package/dist/src/site-header/site-nav-group.d.ts +32 -0
  169. package/dist/src/site-header/site-nav-link.d.ts +65 -0
  170. package/dist/src/site-header/site-nav-menu.d.ts +104 -0
  171. package/dist/src/site-header/site-nav-shared.d.ts +13 -0
  172. package/dist/src/video/index.d.ts +2 -0
  173. package/dist/src/video/video-source.d.ts +12 -0
  174. package/dist/src/video/video.d.ts +80 -0
  175. package/dist/stat.js +2 -2
  176. package/dist/status-indicator.js +2 -2
  177. package/dist/step.js +2 -2
  178. package/dist/stepper.js +2 -2
  179. package/dist/{strings-o6v6Hrmn.js → strings-MXyrGrNs.js} +28 -1
  180. package/dist/strings-MXyrGrNs.js.map +1 -0
  181. package/dist/svg.js +2 -2
  182. package/dist/switch.js +3 -3
  183. package/dist/table.js +2 -2
  184. package/dist/test/carousel.test.d.ts +1 -0
  185. package/dist/test/highlight.test.d.ts +1 -0
  186. package/dist/test/site-footer.test.d.ts +1 -0
  187. package/dist/test/site-header.test.d.ts +1 -0
  188. package/dist/test/video.test.d.ts +1 -0
  189. package/dist/textarea.js +4 -4
  190. package/dist/time-field.js +5 -5
  191. package/dist/time-picker.js +2 -2
  192. package/dist/timeline-item.js +2 -2
  193. package/dist/timeline.js +2 -2
  194. package/dist/{toggle-base-BSzBnLZN.js → toggle-base-I1wE_fVe.js} +2 -2
  195. package/dist/{toggle-base-BSzBnLZN.js.map → toggle-base-I1wE_fVe.js.map} +1 -1
  196. package/dist/tour.js +2 -2
  197. package/dist/transfer-list.js +3 -3
  198. package/dist/tree-chart.js +3 -3
  199. package/dist/tree-item.js +2 -2
  200. package/dist/tree.js +2 -2
  201. package/dist/tsconfig.tsbuildinfo +1 -1
  202. package/dist/typing-indicator.js +2 -2
  203. package/dist/url-field.js +4 -4
  204. package/dist/user-menu.js +2 -2
  205. package/dist/video-IwNmHyft.js +509 -0
  206. package/dist/video-IwNmHyft.js.map +1 -0
  207. package/dist/video.js +12 -0
  208. package/dist/video.js.map +1 -0
  209. package/dist/virtual-list.js +2 -2
  210. package/dist/workflow-timeline.js +2 -2
  211. package/dist/workflow.js +3 -3
  212. package/dist/workspace-switcher.js +2 -2
  213. package/package.json +1 -1
  214. package/readme.md +5 -0
  215. package/src/__internal/i18n/strings.ts +31 -0
  216. package/src/carousel/carousel.scss +124 -0
  217. package/src/carousel/carousel.ts +547 -0
  218. package/src/carousel/index.ts +1 -0
  219. package/src/highlight/highlight.scss +25 -0
  220. package/src/highlight/highlight.ts +123 -0
  221. package/src/highlight/index.ts +2 -0
  222. package/src/highlight/matches.ts +94 -0
  223. package/src/index.ts +18 -0
  224. package/src/loader.ts +36 -0
  225. package/src/site-footer/index.ts +2 -0
  226. package/src/site-footer/site-footer-group.scss +53 -0
  227. package/src/site-footer/site-footer-group.ts +52 -0
  228. package/src/site-footer/site-footer.scss +171 -0
  229. package/src/site-footer/site-footer.ts +151 -0
  230. package/src/site-header/index.ts +8 -0
  231. package/src/site-header/site-header.scss +238 -0
  232. package/src/site-header/site-header.ts +565 -0
  233. package/src/site-header/site-nav-group.scss +29 -0
  234. package/src/site-header/site-nav-group.ts +57 -0
  235. package/src/site-header/site-nav-link.scss +154 -0
  236. package/src/site-header/site-nav-link.ts +140 -0
  237. package/src/site-header/site-nav-menu.scss +182 -0
  238. package/src/site-header/site-nav-menu.ts +336 -0
  239. package/src/site-header/site-nav-shared.ts +27 -0
  240. package/src/video/index.ts +2 -0
  241. package/src/video/video-source.ts +80 -0
  242. package/src/video/video.scss +183 -0
  243. package/src/video/video.ts +246 -0
  244. package/dist/strings-o6v6Hrmn.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"schema-BJzlGRP1.js","sources":["../../src/generative-view/schema.ts"],"sourcesContent":["import { catalog as defaultCatalog } from './catalog.generated.js';\nimport type { GenerativeCatalog, GenerativePropSpec } from './types.js';\nimport { TEXT_TYPE, TEXT_VARIANTS } from './validate.js';\n\ntype JsonSchema = Record<string, unknown>;\n\nfunction propSchema(spec: GenerativePropSpec): JsonSchema {\n const description = spec.description ? { description: spec.description } : {};\n if (spec.kind === 'enum')\n return { type: 'string', enum: spec.values ?? [], ...description };\n return { type: spec.kind, ...description };\n}\n\n/**\n * The JSON Schema (draft 2020-12) of what `wc-generative-view` renders: a node, or a list of nodes\n * and text, built from the components and props it allows. Give it to the model service as the\n * answer's structured-output schema, or describe it in the prompt; the view checks every answer\n * against the same catalog, so an answer that ignores the schema loses only what does not fit.\n */\nexport function generativeViewSchema(\n catalog: GenerativeCatalog = defaultCatalog,\n): JsonSchema {\n const defs: Record<string, JsonSchema> = {\n child: {\n description: 'A node, or plain text (never HTML or Markdown).',\n anyOf: [{ type: 'string' }, { $ref: '#/$defs/node' }],\n },\n [TEXT_TYPE]: {\n type: 'object',\n description:\n 'A heading or paragraph. Its children are plain text; `headline` and `title` are headings.',\n properties: {\n type: { const: TEXT_TYPE },\n props: {\n type: 'object',\n properties: {\n variant: { type: 'string', enum: [...TEXT_VARIANTS] },\n },\n additionalProperties: false,\n },\n slot: { type: 'string' },\n children: { type: 'array', items: { type: 'string' } },\n },\n required: ['type'],\n additionalProperties: false,\n },\n };\n\n for (const [type, entry] of Object.entries(catalog)) {\n const properties: Record<string, JsonSchema> = {\n type: { const: type },\n props: {\n type: 'object',\n properties: Object.fromEntries(\n Object.entries(entry.props).map(([name, spec]) => [\n name,\n propSchema(spec),\n ]),\n ),\n additionalProperties: false,\n },\n slot: {\n type: 'string',\n description: \"The parent's named slot this node goes in.\",\n },\n };\n if (entry.children || entry.slots.length) {\n const slots = entry.slots.length\n ? ` Children for a named slot set \\`slot\\` to one of: ${entry.slots.join(', ')}.`\n : '';\n properties.children = {\n type: 'array',\n items: { $ref: '#/$defs/child' },\n description: entry.children\n ? `Content of the ${type}.${slots}`\n : `Only children with a \\`slot\\`.${slots}`,\n };\n }\n if (entry.action) {\n properties.action = {\n type: 'string',\n description: `An id the app receives when the ${type} is ${entry.action === 'click' ? 'pressed' : 'selected'}. It does nothing by itself.`,\n };\n properties.payload = {\n description: 'Data sent with the action, such as a record id.',\n };\n }\n defs[type] = {\n type: 'object',\n description: entry.description,\n properties,\n required: ['type'],\n additionalProperties: false,\n };\n }\n\n defs.node = {\n anyOf: [TEXT_TYPE, ...Object.keys(catalog)].map(type => ({\n $ref: `#/$defs/${type}`,\n })),\n };\n\n return {\n $schema: 'https://json-schema.org/draft/2020-12/schema',\n title: 'Peacock generative view',\n description:\n 'An answer shown as Peacock components: one node, or a list of nodes and text. Values come from the platform; the view only lays them out.',\n anyOf: [\n { $ref: '#/$defs/node' },\n { type: 'array', items: { $ref: '#/$defs/child' } },\n ],\n $defs: defs,\n };\n}\n"],"names":["catalog","defaultCatalog"],"mappings":";;AAMA,SAAS,UAAU,CAAC,IAAwB,EAAA;AAC1C,IAAA,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,GAAG,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE;AAC7E,IAAA,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM;AACtB,QAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,IAAI,EAAE,EAAE,GAAG,WAAW,EAAE;IACpE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,G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QAAQ;YACd,WAAW,EAAE,KAAK,CAAC,WAAW;YAC9B,UAAU;YACV,QAAQ,EAAE,CAAC,MAAM,CAAC;AAClB,YAAA,oBAAoB,EAAE,KAAK;SAC5B;IACH;IAEA,IAAI,CAAC,IAAI,GAAG;AACV,QAAA,KAAK,EAAE,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,CAACA,SAAO,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,KAAK;YACvD,IAAI,EAAE,CAAA,QAAA,EAAW,IAAI,CAAA,CAAE;AACxB,SAAA,CAAC,CAAC;KACJ;IAED,OAAO;AACL,QAAA,OAAO,EAAE,8CAA8C;AACvD,QAAA,KAAK,EAAE,yBAAyB;AAChC,QAAA,WAAW,EACT,2IAA2I;AAC7I,QAAA,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,cAAc,EAAE;YACxB,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE;AACpD,SAAA;AACD,QAAA,KAAK,EAAE,IAAI;KACZ;AACH;;;;"}
1
+ {"version":3,"file":"schema-CPhNrjrx.js","sources":["../../src/generative-view/schema.ts"],"sourcesContent":["import { catalog as defaultCatalog } from './catalog.generated.js';\nimport type { GenerativeCatalog, GenerativePropSpec } from './types.js';\nimport { TEXT_TYPE, TEXT_VARIANTS } from './validate.js';\n\ntype JsonSchema = Record<string, unknown>;\n\nfunction propSchema(spec: GenerativePropSpec): JsonSchema {\n const description = spec.description ? { description: spec.description } : {};\n if (spec.kind === 'enum')\n return { type: 'string', enum: spec.values ?? [], ...description };\n return { type: spec.kind, ...description };\n}\n\n/**\n * The JSON Schema (draft 2020-12) of what `wc-generative-view` renders: a node, or a list of nodes\n * and text, built from the components and props it allows. Give it to the model service as the\n * answer's structured-output schema, or describe it in the prompt; the view checks every answer\n * against the same catalog, so an answer that ignores the schema loses only what does not fit.\n */\nexport function generativeViewSchema(\n catalog: GenerativeCatalog = defaultCatalog,\n): JsonSchema {\n const defs: Record<string, JsonSchema> = {\n child: {\n description: 'A node, or plain text (never HTML or Markdown).',\n anyOf: [{ type: 'string' }, { $ref: '#/$defs/node' }],\n },\n [TEXT_TYPE]: {\n type: 'object',\n description:\n 'A heading or paragraph. Its children are plain text; `headline` and `title` are headings.',\n properties: {\n type: { const: TEXT_TYPE },\n props: {\n type: 'object',\n properties: {\n variant: { type: 'string', enum: [...TEXT_VARIANTS] },\n },\n additionalProperties: false,\n },\n slot: { type: 'string' },\n children: { type: 'array', items: { type: 'string' } },\n },\n required: ['type'],\n additionalProperties: false,\n },\n };\n\n for (const [type, entry] of Object.entries(catalog)) {\n const properties: Record<string, JsonSchema> = {\n type: { const: type },\n props: {\n type: 'object',\n properties: Object.fromEntries(\n Object.entries(entry.props).map(([name, spec]) => [\n name,\n propSchema(spec),\n ]),\n ),\n additionalProperties: false,\n },\n slot: {\n type: 'string',\n description: \"The parent's named slot this node goes in.\",\n },\n };\n if (entry.children || entry.slots.length) {\n const slots = entry.slots.length\n ? ` Children for a named slot set \\`slot\\` to one of: ${entry.slots.join(', ')}.`\n : '';\n properties.children = {\n type: 'array',\n items: { $ref: '#/$defs/child' },\n description: entry.children\n ? `Content of the ${type}.${slots}`\n : `Only children with a \\`slot\\`.${slots}`,\n };\n }\n if (entry.action) {\n properties.action = {\n type: 'string',\n description: `An id the app receives when the ${type} is ${entry.action === 'click' ? 'pressed' : 'selected'}. It does nothing by itself.`,\n };\n properties.payload = {\n description: 'Data sent with the action, such as a record id.',\n };\n }\n defs[type] = {\n type: 'object',\n description: entry.description,\n properties,\n required: ['type'],\n additionalProperties: false,\n };\n }\n\n defs.node = {\n anyOf: [TEXT_TYPE, ...Object.keys(catalog)].map(type => ({\n $ref: `#/$defs/${type}`,\n })),\n };\n\n return {\n $schema: 'https://json-schema.org/draft/2020-12/schema',\n title: 'Peacock generative view',\n description:\n 'An answer shown as Peacock components: one node, or a list of nodes and text. Values come from the platform; the view only lays them out.',\n anyOf: [\n {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Ft_d.js';
5
5
  import { e as e$1 } from './class-map-NDIkZErE.js';
6
6
  import { l } from './live-D_5OfuGD.js';
7
- import { I as I18nController } from './i18n-controller-CH4e9sju.js';
7
+ import { I as I18nController } from './i18n-controller-DLJcJ5gO.js';
8
8
  import { A as AiController } from './ai-controller-DR_Tg0sN.js';
9
9
  import { s as sparkle } from './sparkle-BmtM0vbq.js';
10
- import { B as BaseInput, n as nativeValidity } from './BaseInput-xCHvT4AN.js';
10
+ import { B as BaseInput, n as nativeValidity } from './BaseInput-DZp2O8Gh.js';
11
11
  import './base-Cl6v8-BZ.js';
12
12
  import './directive-ZPhl09Yt.js';
13
13
  import './directive-helpers-Bx3mu42O.js';
14
- import './strings-o6v6Hrmn.js';
14
+ import './strings-MXyrGrNs.js';
15
15
  import './locale-DEsJZCQG.js';
16
16
  import './element-internals-QME0yEz4.js';
17
17
  import './form-associated-BHbg72PG.js';
package/dist/select.js CHANGED
@@ -5,15 +5,15 @@ import { e } from './query-CHb9Ft_d.js';
5
5
  import { e as e$1 } from './class-map-NDIkZErE.js';
6
6
  import { g as getFormValue } from './form-associated-BHbg72PG.js';
7
7
  import { s as spread } from './spread-B5cgadZl.js';
8
- import { I as I18nController } from './i18n-controller-CH4e9sju.js';
9
- import { p as peacockString } from './strings-o6v6Hrmn.js';
10
- import { B as BaseField } from './BaseField-D8ByB0l3.js';
8
+ import { I as I18nController } from './i18n-controller-DLJcJ5gO.js';
9
+ import { p as peacockString } from './strings-MXyrGrNs.js';
10
+ import { B as BaseField } from './BaseField-CHBcjVc2.js';
11
11
  import { SelectOptionElement } from './option.js';
12
12
  import './base-Cl6v8-BZ.js';
13
13
  import './directive-ZPhl09Yt.js';
14
14
  import './element-internals-QME0yEz4.js';
15
15
  import './locale-DEsJZCQG.js';
16
- import './BaseInput-xCHvT4AN.js';
16
+ import './BaseInput-DZp2O8Gh.js';
17
17
  import './suggestion-controller-7YRQqkaI.js';
18
18
  import './ai-controller-DR_Tg0sN.js';
19
19
  import './menu-item.js';
@@ -2,11 +2,11 @@ import { i, _ as __decorate, I as IndividualComponent, a as i$1, A, b } from './
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { e } from './query-CHb9Ft_d.js';
4
4
  import { e as e$1 } from './class-map-NDIkZErE.js';
5
- import { I as I18nController } from './i18n-controller-CH4e9sju.js';
5
+ import { I as I18nController } from './i18n-controller-DLJcJ5gO.js';
6
6
  import { O as OverlayController } from './overlay-controller-BOk-kfil.js';
7
7
  import './base-Cl6v8-BZ.js';
8
8
  import './directive-ZPhl09Yt.js';
9
- import './strings-o6v6Hrmn.js';
9
+ import './strings-MXyrGrNs.js';
10
10
  import './locale-DEsJZCQG.js';
11
11
 
12
12
  var css_248z = i`* {
@@ -3,13 +3,13 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { e as e$1 } from './class-map-NDIkZErE.js';
6
- import { I as I18nController } from './i18n-controller-CH4e9sju.js';
6
+ import { I as I18nController } from './i18n-controller-DLJcJ5gO.js';
7
7
  import { g as getFormValue, a as getFormState } from './form-associated-BHbg72PG.js';
8
8
  import { o as observeThemeChange } from './observe-theme-change-CkSENG98.js';
9
- import { B as BaseInput } from './BaseInput-xCHvT4AN.js';
9
+ import { B as BaseInput } from './BaseInput-DZp2O8Gh.js';
10
10
  import './base-Cl6v8-BZ.js';
11
11
  import './directive-ZPhl09Yt.js';
12
- import './strings-o6v6Hrmn.js';
12
+ import './strings-MXyrGrNs.js';
13
13
  import './locale-DEsJZCQG.js';
14
14
  import './element-internals-QME0yEz4.js';
15
15
  import './suggestion-controller-7YRQqkaI.js';
@@ -0,0 +1,142 @@
1
+ import { i, _ as __decorate, I as IndividualComponent, a as i$1, b } from './IndividualComponent-BK7XZjE2.js';
2
+ import { n } from './property-B2TG3KEE.js';
3
+
4
+ var css_248z = i`* {
5
+ box-sizing: border-box;
6
+ -webkit-tap-highlight-color: transparent;
7
+ }
8
+
9
+ .screen-reader-only {
10
+ position: absolute !important;
11
+ inline-size: 1px !important;
12
+ block-size: 1px !important;
13
+ padding: 0 !important;
14
+ margin: -1px !important;
15
+ overflow: hidden !important;
16
+ clip-path: inset(50%) !important;
17
+ white-space: nowrap !important;
18
+ border: 0 !important;
19
+ }
20
+
21
+ [hidden] {
22
+ display: none !important;
23
+ }
24
+
25
+ @media (forced-colors: active) {
26
+ .selected,
27
+ [aria-selected=true],
28
+ [aria-pressed=true],
29
+ [aria-checked=true],
30
+ [aria-current]:not([aria-current=false]) {
31
+ outline: 2px solid Highlight;
32
+ outline-offset: -2px;
33
+ }
34
+ .disabled,
35
+ [aria-disabled=true] {
36
+ color: GrayText;
37
+ }
38
+ }
39
+ :host {
40
+ display: block;
41
+ min-inline-size: 0;
42
+ }
43
+
44
+ .title {
45
+ font-family: var(--typography-title-small-font-family) !important;
46
+ font-size: var(--typography-title-small-font-size) !important;
47
+ font-weight: var(--typography-title-small-font-weight) !important;
48
+ line-height: var(--typography-title-small-line-height) !important;
49
+ letter-spacing: var(--typography-title-small-letter-spacing) !important;
50
+ margin-block-end: var(--spacing-150);
51
+ color: var(--color-on-surface);
52
+ }
53
+
54
+ .links {
55
+ display: flex;
56
+ flex-direction: column;
57
+ align-items: flex-start;
58
+ gap: var(--spacing-100);
59
+ }
60
+ .links ::slotted(a) {
61
+ font-family: var(--typography-body-medium-font-family);
62
+ font-size: var(--typography-body-medium-font-size);
63
+ font-weight: var(--typography-body-medium-font-weight);
64
+ line-height: var(--typography-body-medium-line-height);
65
+ letter-spacing: var(--typography-body-medium-letter-spacing);
66
+ color: var(--color-on-surface-variant);
67
+ text-decoration: none;
68
+ border-radius: var(--shape-corner-extra-small);
69
+ }
70
+ .links ::slotted(a:hover) {
71
+ color: var(--color-primary);
72
+ text-decoration: underline;
73
+ }
74
+ .links ::slotted(a:focus-visible) {
75
+ outline: 2px solid var(--color-primary);
76
+ outline-offset: 2px;
77
+ }
78
+
79
+ @container (max-width: 48rem) {
80
+ .links {
81
+ gap: 0;
82
+ }
83
+ .links ::slotted(a) {
84
+ display: inline-flex;
85
+ align-items: center;
86
+ min-block-size: 2.75rem;
87
+ }
88
+ }`;
89
+
90
+ /**
91
+ * @label Site Footer Group
92
+ * @tag wc-site-footer-group
93
+ * @rawTag site-footer-group
94
+ *
95
+ * @summary A titled column of links in a site footer.
96
+ * @overview
97
+ * <p>A column of a <code>wc-site-footer</code>: a title and a list of links. The column is a
98
+ * navigation landmark named by its <code>label</code>, so a screen reader lists "Product",
99
+ * "Company" and so on among the page's landmarks.</p>
100
+ * <p>Put plain <code>&lt;a&gt;</code> elements or <code>wc-link</code> in it; the group lays them
101
+ * out and styles plain links.</p>
102
+ *
103
+ * @slot - The column's links.
104
+ *
105
+ * @csspart nav - The `<nav>` element.
106
+ * @csspart title - The column's title.
107
+ *
108
+ * @example
109
+ * ```html
110
+ * <wc-site-footer-group label="Developers">
111
+ * <a href="/docs">Docs</a>
112
+ * <a href="https://peacock.redvars.com">Peacock</a>
113
+ * </wc-site-footer-group>
114
+ * ```
115
+ * @tags navigation
116
+ */
117
+ let SiteFooterGroup = class SiteFooterGroup extends i$1 {
118
+ constructor() {
119
+ // ── Static ───────────────────────────────────────────────────────────────
120
+ super(...arguments);
121
+ // ── Properties ───────────────────────────────────────────────────────────
122
+ /** The column's title, also the name of its navigation landmark. */
123
+ this.label = '';
124
+ }
125
+ // ── Render ───────────────────────────────────────────────────────────────
126
+ render() {
127
+ return b `<nav class="nav" part="nav" aria-label=${this.label}>
128
+ <div class="title" part="title" aria-hidden="true">${this.label}</div>
129
+ <div class="links"><slot></slot></div>
130
+ </nav>`;
131
+ }
132
+ };
133
+ SiteFooterGroup.styles = [css_248z];
134
+ __decorate([
135
+ n()
136
+ ], SiteFooterGroup.prototype, "label", void 0);
137
+ SiteFooterGroup = __decorate([
138
+ IndividualComponent
139
+ ], SiteFooterGroup);
140
+
141
+ export { SiteFooterGroup };
142
+ //# sourceMappingURL=site-footer-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-footer-group.js","sources":["../../src/site-footer/site-footer-group.ts"],"sourcesContent":["import { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport IndividualComponent from '@/IndividualComponent.js';\nimport styles from './site-footer-group.scss';\n\n/**\n * @label Site Footer Group\n * @tag wc-site-footer-group\n * @rawTag site-footer-group\n *\n * @summary A titled column of links in a site footer.\n * @overview\n * <p>A column of a <code>wc-site-footer</code>: a title and a list of links. The column is a\n * navigation landmark named by its <code>label</code>, so a screen reader lists \"Product\",\n * \"Company\" and so on among the page's landmarks.</p>\n * <p>Put plain <code>&lt;a&gt;</code> elements or <code>wc-link</code> in it; the group lays them\n * out and styles plain links.</p>\n *\n * @slot - The column's links.\n *\n * @csspart nav - The `<nav>` element.\n * @csspart title - The column's title.\n *\n * @example\n * ```html\n * <wc-site-footer-group label=\"Developers\">\n * <a href=\"/docs\">Docs</a>\n * <a href=\"https://peacock.redvars.com\">Peacock</a>\n * </wc-site-footer-group>\n * ```\n * @tags navigation\n */\n@IndividualComponent\nexport class SiteFooterGroup extends LitElement {\n // ── Static ───────────────────────────────────────────────────────────────\n\n static styles = [styles];\n\n // ── Properties ───────────────────────────────────────────────────────────\n\n /** The column's title, also the name of its navigation landmark. */\n @property() label = '';\n\n // ── Render ───────────────────────────────────────────────────────────────\n\n render() {\n return html`<nav class=\"nav\" part=\"nav\" aria-label=${this.label}>\n <div class=\"title\" part=\"title\" aria-hidden=\"true\">${this.label}</div>\n <div class=\"links\"><slot></slot></div>\n </nav>`;\n }\n}\n"],"names":["LitElement","html","styles","property"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BG;AAEI,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQA,GAAU,CAAA;AAAxC,IAAA,WAAA,GAAA;;;;;QAQO,IAAA,CAAA,KAAK,GAAG,EAAE;IAUxB;;IANE,MAAM,GAAA;AACJ,QAAA,OAAOC,CAAI,CAAA,CAAA,uCAAA,EAA0C,IAAI,CAAC,KAAK,CAAA;AACR,yDAAA,EAAA,IAAI,CAAC,KAAK,CAAA;;WAE1D;IACT;;AAdO,eAAA,CAAA,MAAM,GAAG,CAACC,QAAM,CAAC;AAKZ,UAAA,CAAA;AAAX,IAAAC,CAAQ;AAAc,CAAA,EAAA,eAAA,CAAA,SAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AARZ,eAAe,GAAA,UAAA,CAAA;IAD3B;AACY,CAAA,EAAA,eAAe,CAkB3B;;;;"}
@@ -0,0 +1,338 @@
1
+ import { i, _ as __decorate, I as IndividualComponent, a as i$1, b } from './IndividualComponent-BK7XZjE2.js';
2
+ import { r } from './state-BCeDVCI9.js';
3
+ import { e } from './class-map-NDIkZErE.js';
4
+ import { SiteFooterGroup } from './site-footer-group.js';
5
+ import './property-B2TG3KEE.js';
6
+ import './directive-ZPhl09Yt.js';
7
+
8
+ var css_248z = i`* {
9
+ box-sizing: border-box;
10
+ -webkit-tap-highlight-color: transparent;
11
+ }
12
+
13
+ .screen-reader-only {
14
+ position: absolute !important;
15
+ inline-size: 1px !important;
16
+ block-size: 1px !important;
17
+ padding: 0 !important;
18
+ margin: -1px !important;
19
+ overflow: hidden !important;
20
+ clip-path: inset(50%) !important;
21
+ white-space: nowrap !important;
22
+ border: 0 !important;
23
+ }
24
+
25
+ [hidden] {
26
+ display: none !important;
27
+ }
28
+
29
+ @media (forced-colors: active) {
30
+ .selected,
31
+ [aria-selected=true],
32
+ [aria-pressed=true],
33
+ [aria-checked=true],
34
+ [aria-current]:not([aria-current=false]) {
35
+ outline: 2px solid Highlight;
36
+ outline-offset: -2px;
37
+ }
38
+ .disabled,
39
+ [aria-disabled=true] {
40
+ color: GrayText;
41
+ }
42
+ }
43
+ :host {
44
+ display: block;
45
+ container-type: inline-size;
46
+ color: var(--color-on-surface-variant);
47
+ }
48
+
49
+ .footer {
50
+ background-color: var(--site-footer-background, var(--color-surface-container-low));
51
+ border-block-start: 1px solid var(--color-outline-variant);
52
+ }
53
+
54
+ .inner {
55
+ max-inline-size: var(--site-footer-max-width, none);
56
+ margin-inline: auto;
57
+ padding: var(--spacing-600) var(--spacing-500) var(--spacing-300);
58
+ box-sizing: content-box;
59
+ }
60
+
61
+ .slim .inner {
62
+ padding-block: var(--spacing-300);
63
+ }
64
+
65
+ .top {
66
+ display: grid;
67
+ grid-template-columns: minmax(12rem, 1.4fr) 4fr;
68
+ gap: var(--spacing-400);
69
+ }
70
+ .top[hidden] {
71
+ display: none;
72
+ }
73
+
74
+ .top:has(.brand[hidden]) {
75
+ grid-template-columns: 1fr;
76
+ }
77
+
78
+ .brand {
79
+ display: flex;
80
+ flex-direction: column;
81
+ gap: var(--spacing-150);
82
+ color: var(--color-on-surface);
83
+ }
84
+ .brand[hidden] {
85
+ display: none;
86
+ }
87
+ .brand ::slotted(a) {
88
+ font-family: var(--typography-title-medium-font-family);
89
+ font-size: var(--typography-title-medium-font-size);
90
+ font-weight: var(--typography-title-medium-font-weight);
91
+ line-height: var(--typography-title-medium-line-height);
92
+ letter-spacing: var(--typography-title-medium-letter-spacing);
93
+ display: inline-flex;
94
+ align-items: center;
95
+ gap: var(--spacing-100);
96
+ align-self: flex-start;
97
+ color: inherit;
98
+ font-weight: var(--font-weight-bold);
99
+ text-decoration: none;
100
+ }
101
+ .brand ::slotted(p) {
102
+ font-family: var(--typography-body-medium-font-family);
103
+ font-size: var(--typography-body-medium-font-size);
104
+ font-weight: var(--typography-body-medium-font-weight);
105
+ line-height: var(--typography-body-medium-line-height);
106
+ letter-spacing: var(--typography-body-medium-letter-spacing);
107
+ max-inline-size: 22rem;
108
+ margin: 0;
109
+ color: var(--color-on-surface-variant);
110
+ }
111
+
112
+ .groups {
113
+ display: grid;
114
+ grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
115
+ gap: var(--spacing-400);
116
+ }
117
+ .groups[hidden] {
118
+ display: none;
119
+ }
120
+
121
+ .bottom {
122
+ font-family: var(--typography-body-small-font-family) !important;
123
+ font-size: var(--typography-body-small-font-size) !important;
124
+ font-weight: var(--typography-body-small-font-weight) !important;
125
+ line-height: var(--typography-body-small-line-height) !important;
126
+ letter-spacing: var(--typography-body-small-letter-spacing) !important;
127
+ display: flex;
128
+ flex-wrap: wrap;
129
+ align-items: center;
130
+ justify-content: space-between;
131
+ gap: var(--spacing-200);
132
+ margin-block-start: var(--spacing-500);
133
+ padding-block-start: var(--spacing-300);
134
+ border-block-start: 1px solid var(--color-outline-variant);
135
+ }
136
+ .bottom[hidden] {
137
+ display: none;
138
+ }
139
+
140
+ .slim .bottom {
141
+ margin: 0;
142
+ padding: 0;
143
+ border: none;
144
+ }
145
+
146
+ .legal {
147
+ display: flex;
148
+ flex-wrap: wrap;
149
+ align-items: center;
150
+ gap: var(--spacing-100) var(--spacing-300);
151
+ }
152
+ .legal[hidden] {
153
+ display: none;
154
+ }
155
+ .legal ::slotted(a) {
156
+ color: inherit;
157
+ text-decoration: underline;
158
+ }
159
+ .legal ::slotted(a:hover) {
160
+ color: var(--color-primary);
161
+ }
162
+
163
+ .social {
164
+ display: flex;
165
+ gap: var(--spacing-050);
166
+ }
167
+ .social[hidden] {
168
+ display: none;
169
+ }
170
+
171
+ @container (max-width: 48rem) {
172
+ .inner {
173
+ padding: var(--spacing-400) var(--spacing-300) var(--spacing-200);
174
+ }
175
+ .top {
176
+ grid-template-columns: 1fr;
177
+ gap: var(--spacing-300);
178
+ }
179
+ .groups {
180
+ grid-template-columns: repeat(2, minmax(0, 1fr));
181
+ gap: var(--spacing-300) var(--spacing-200);
182
+ }
183
+ .bottom {
184
+ flex-direction: column;
185
+ align-items: flex-start;
186
+ }
187
+ }
188
+ @container (max-width: 24rem) {
189
+ .groups {
190
+ grid-template-columns: 1fr;
191
+ }
192
+ }
193
+ @media (forced-colors: active) {
194
+ .footer,
195
+ .bottom {
196
+ border-color: CanvasText;
197
+ }
198
+ }`;
199
+
200
+ /**
201
+ * @label Site Footer
202
+ * @tag wc-site-footer
203
+ * @rawTag site-footer
204
+ *
205
+ * @summary The footer of a website or portal: brand, columns of links, legal links and social links.
206
+ * @overview
207
+ * <p>Site footer is the page's <code>contentinfo</code> landmark. The <code>brand</code> slot and
208
+ * the <code>wc-site-footer-group</code> columns sit at the top; a bottom row holds the
209
+ * <code>legal</code> slot (copyright and policy links) and the <code>social</code> slot (icon
210
+ * buttons that link to the site's profiles).</p>
211
+ * <p>Slots that are empty take no room, so the same component is a full website footer or a slim
212
+ * portal footer with one row of text and links.</p>
213
+ * <p>The footer responds to its own width, not the viewport's: narrower than 48rem the columns wrap
214
+ * two to a row, and narrower than 24rem they stack. Links stay visible at every width, one tap away,
215
+ * rather than folded into an accordion.</p>
216
+ *
217
+ * @slot brand - The site's logo and name, and an optional line of text under it.
218
+ * @slot - The footer's `wc-site-footer-group` columns.
219
+ * @slot legal - Copyright and policy links, in small type.
220
+ * @slot social - Links to the site's profiles, usually `wc-icon-button shape="round"` with an `aria-label` each.
221
+ *
222
+ * @csspart base - The `<footer>` element.
223
+ * @csspart top - The row of the brand and the columns.
224
+ * @csspart groups - The columns.
225
+ * @csspart bottom - The row of the legal and social slots.
226
+ *
227
+ * @cssprop --site-footer-background - Background of the footer. Defaults to `--color-surface-container-low`.
228
+ * @cssprop --site-footer-max-width - Width the footer's content is centred in. Defaults to `none`.
229
+ *
230
+ * @example
231
+ * ```html
232
+ * <wc-site-footer>
233
+ * <a slot="brand" href="/">Redvars</a>
234
+ * <p slot="brand">Code less. Scale everywhere. Build natively.</p>
235
+ * <wc-site-footer-group label="Product">
236
+ * <a href="/tables">Tables and forms</a>
237
+ * <a href="/pricing">Pricing</a>
238
+ * </wc-site-footer-group>
239
+ * <wc-site-footer-group label="Company">
240
+ * <a href="/about">About</a>
241
+ * <a href="/blog">Blog</a>
242
+ * </wc-site-footer-group>
243
+ * <span slot="legal">© 2026 Redvars</span>
244
+ * <a slot="legal" href="/privacy">Privacy</a>
245
+ * <wc-icon-button slot="social" variant="text" shape="round" href="https://github.com/redvars" aria-label="GitHub">
246
+ * <wc-icon name="code"></wc-icon>
247
+ * </wc-icon-button>
248
+ * </wc-site-footer>
249
+ * ```
250
+ * @example
251
+ * ```html
252
+ * <wc-site-footer>
253
+ * <span slot="legal">© Acme Corp. Support hours 08:00–18:00 CET.</span>
254
+ * <a slot="legal" href="/p/support/contact">Contact us</a>
255
+ * <a slot="legal" href="/p/support/privacy">Privacy</a>
256
+ * </wc-site-footer>
257
+ * ```
258
+ * @tags navigation layout
259
+ */
260
+ let SiteFooter = class SiteFooter extends i$1 {
261
+ constructor() {
262
+ // ── Static ───────────────────────────────────────────────────────────────
263
+ super(...arguments);
264
+ // ── State ────────────────────────────────────────────────────────────────
265
+ /** Which slots have content. */
266
+ this.filled = {
267
+ brand: false,
268
+ groups: false,
269
+ legal: false,
270
+ social: false,
271
+ };
272
+ // ── Private fields ───────────────────────────────────────────────────────
273
+ /** Watches the children, so the rows show and hide with their content. */
274
+ this.childObserver = new MutationObserver(() => this.syncSlots());
275
+ }
276
+ // ── Lifecycle ────────────────────────────────────────────────────────────
277
+ connectedCallback() {
278
+ super.connectedCallback();
279
+ this.syncSlots();
280
+ this.childObserver.observe(this, {
281
+ childList: true,
282
+ attributes: true,
283
+ attributeFilter: ['slot'],
284
+ });
285
+ }
286
+ disconnectedCallback() {
287
+ this.childObserver.disconnect();
288
+ super.disconnectedCallback();
289
+ }
290
+ // ── Private methods ──────────────────────────────────────────────────────
291
+ syncSlots() {
292
+ const slots = Array.from(this.children).map(child => child.getAttribute('slot') ?? '');
293
+ const filled = {
294
+ brand: slots.includes('brand'),
295
+ groups: slots.includes(''),
296
+ legal: slots.includes('legal'),
297
+ social: slots.includes('social'),
298
+ };
299
+ const changed = Object.keys(filled).some(key => filled[key] !== this.filled[key]);
300
+ if (changed)
301
+ this.filled = filled;
302
+ }
303
+ // ── Render ───────────────────────────────────────────────────────────────
304
+ render() {
305
+ const { brand, groups, legal, social } = this.filled;
306
+ const top = brand || groups;
307
+ return b `<footer
308
+ class=${e({ footer: true, slim: !top })}
309
+ part="base"
310
+ >
311
+ <div class="inner">
312
+ <div class="top" part="top" ?hidden=${!top}>
313
+ <div class="brand" ?hidden=${!brand}><slot name="brand"></slot></div>
314
+ <div class="groups" part="groups" ?hidden=${!groups}>
315
+ <slot></slot>
316
+ </div>
317
+ </div>
318
+ <div class="bottom" part="bottom" ?hidden=${!legal && !social}>
319
+ <div class="legal" ?hidden=${!legal}><slot name="legal"></slot></div>
320
+ <div class="social" ?hidden=${!social}>
321
+ <slot name="social"></slot>
322
+ </div>
323
+ </div>
324
+ </div>
325
+ </footer>`;
326
+ }
327
+ };
328
+ SiteFooter.styles = [css_248z];
329
+ SiteFooter.Group = SiteFooterGroup;
330
+ __decorate([
331
+ r()
332
+ ], SiteFooter.prototype, "filled", void 0);
333
+ SiteFooter = __decorate([
334
+ IndividualComponent
335
+ ], SiteFooter);
336
+
337
+ export { SiteFooter };
338
+ //# sourceMappingURL=site-footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-footer.js","sources":["../../src/site-footer/site-footer.ts"],"sourcesContent":["import { html, LitElement } from 'lit';\nimport { state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport IndividualComponent from '@/IndividualComponent.js';\nimport { SiteFooterGroup } from './site-footer-group.js';\nimport styles from './site-footer.scss';\n\n/**\n * @label Site Footer\n * @tag wc-site-footer\n * @rawTag site-footer\n *\n * @summary The footer of a website or portal: brand, columns of links, legal links and social links.\n * @overview\n * <p>Site footer is the page's <code>contentinfo</code> landmark. The <code>brand</code> slot and\n * the <code>wc-site-footer-group</code> columns sit at the top; a bottom row holds the\n * <code>legal</code> slot (copyright and policy links) and the <code>social</code> slot (icon\n * buttons that link to the site's profiles).</p>\n * <p>Slots that are empty take no room, so the same component is a full website footer or a slim\n * portal footer with one row of text and links.</p>\n * <p>The footer responds to its own width, not the viewport's: narrower than 48rem the columns wrap\n * two to a row, and narrower than 24rem they stack. Links stay visible at every width, one tap away,\n * rather than folded into an accordion.</p>\n *\n * @slot brand - The site's logo and name, and an optional line of text under it.\n * @slot - The footer's `wc-site-footer-group` columns.\n * @slot legal - Copyright and policy links, in small type.\n * @slot social - Links to the site's profiles, usually `wc-icon-button shape=\"round\"` with an `aria-label` each.\n *\n * @csspart base - The `<footer>` element.\n * @csspart top - The row of the brand and the columns.\n * @csspart groups - The columns.\n * @csspart bottom - The row of the legal and social slots.\n *\n * @cssprop --site-footer-background - Background of the footer. Defaults to `--color-surface-container-low`.\n * @cssprop --site-footer-max-width - Width the footer's content is centred in. Defaults to `none`.\n *\n * @example\n * ```html\n * <wc-site-footer>\n * <a slot=\"brand\" href=\"/\">Redvars</a>\n * <p slot=\"brand\">Code less. Scale everywhere. Build natively.</p>\n * <wc-site-footer-group label=\"Product\">\n * <a href=\"/tables\">Tables and forms</a>\n * <a href=\"/pricing\">Pricing</a>\n * </wc-site-footer-group>\n * <wc-site-footer-group label=\"Company\">\n * <a href=\"/about\">About</a>\n * <a href=\"/blog\">Blog</a>\n * </wc-site-footer-group>\n * <span slot=\"legal\">© 2026 Redvars</span>\n * <a slot=\"legal\" href=\"/privacy\">Privacy</a>\n * <wc-icon-button slot=\"social\" variant=\"text\" shape=\"round\" href=\"https://github.com/redvars\" aria-label=\"GitHub\">\n * <wc-icon name=\"code\"></wc-icon>\n * </wc-icon-button>\n * </wc-site-footer>\n * ```\n * @example\n * ```html\n * <wc-site-footer>\n * <span slot=\"legal\">© Acme Corp. Support hours 08:00–18:00 CET.</span>\n * <a slot=\"legal\" href=\"/p/support/contact\">Contact us</a>\n * <a slot=\"legal\" href=\"/p/support/privacy\">Privacy</a>\n * </wc-site-footer>\n * ```\n * @tags navigation layout\n */\n@IndividualComponent\nexport class SiteFooter extends LitElement {\n // ── Static ───────────────────────────────────────────────────────────────\n\n static styles = [styles];\n\n static Group = SiteFooterGroup;\n\n // ── State ────────────────────────────────────────────────────────────────\n\n /** Which slots have content. */\n @state() private filled = {\n brand: false,\n groups: false,\n legal: false,\n social: false,\n };\n\n // ── Private fields ───────────────────────────────────────────────────────\n\n /** Watches the children, so the rows show and hide with their content. */\n private readonly childObserver = new MutationObserver(() => this.syncSlots());\n\n // ── Lifecycle ────────────────────────────────────────────────────────────\n\n override connectedCallback() {\n super.connectedCallback();\n this.syncSlots();\n this.childObserver.observe(this, {\n childList: true,\n attributes: true,\n attributeFilter: ['slot'],\n });\n }\n\n override disconnectedCallback() {\n this.childObserver.disconnect();\n super.disconnectedCallback();\n }\n\n // ── Private methods ──────────────────────────────────────────────────────\n\n private syncSlots() {\n const slots = Array.from(this.children).map(\n child => child.getAttribute('slot') ?? '',\n );\n const filled = {\n brand: slots.includes('brand'),\n groups: slots.includes(''),\n legal: slots.includes('legal'),\n social: slots.includes('social'),\n };\n const changed = (Object.keys(filled) as (keyof typeof filled)[]).some(\n key => filled[key] !== this.filled[key],\n );\n if (changed) this.filled = filled;\n }\n\n // ── Render ───────────────────────────────────────────────────────────────\n\n render() {\n const { brand, groups, legal, social } = this.filled;\n const top = brand || groups;\n return html`<footer\n class=${classMap({ footer: true, slim: !top })}\n part=\"base\"\n >\n <div class=\"inner\">\n <div class=\"top\" part=\"top\" ?hidden=${!top}>\n <div class=\"brand\" ?hidden=${!brand}><slot name=\"brand\"></slot></div>\n <div class=\"groups\" part=\"groups\" ?hidden=${!groups}>\n <slot></slot>\n </div>\n </div>\n <div class=\"bottom\" part=\"bottom\" ?hidden=${!legal && !social}>\n <div class=\"legal\" ?hidden=${!legal}><slot name=\"legal\"></slot></div>\n <div class=\"social\" ?hidden=${!social}>\n <slot name=\"social\"></slot>\n </div>\n </div>\n </div>\n </footer>`;\n }\n}\n"],"names":["LitElement","html","classMap","styles","state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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