@mojawork/ui-docs 2.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 (263) hide show
  1. package/README.md +22 -0
  2. package/bin/serve.mjs +73 -0
  3. package/catalog/atoms/background.md +130 -0
  4. package/catalog/atoms/barcode.md +285 -0
  5. package/catalog/atoms/buzzer.md +210 -0
  6. package/catalog/atoms/card.md +174 -0
  7. package/catalog/atoms/chart.md +236 -0
  8. package/catalog/atoms/clock.md +252 -0
  9. package/catalog/atoms/copy-value.md +203 -0
  10. package/catalog/atoms/image-grid.md +208 -0
  11. package/catalog/atoms/image-slider.md +216 -0
  12. package/catalog/atoms/lang-selector.md +237 -0
  13. package/catalog/atoms/mosaic.md +366 -0
  14. package/catalog/atoms/placeholder.md +157 -0
  15. package/catalog/atoms/qr-code.md +334 -0
  16. package/catalog/atoms/rating.md +176 -0
  17. package/catalog/atoms/reader-doc.md +404 -0
  18. package/catalog/atoms/text-animate.md +122 -0
  19. package/catalog/atoms/thumb.md +153 -0
  20. package/catalog/atoms/timer.md +111 -0
  21. package/catalog/atoms/typewriter.md +132 -0
  22. package/catalog/cdk/splitter.md +63 -0
  23. package/catalog/cdk/table.md +188 -0
  24. package/catalog/forms/autocomplete.md +304 -0
  25. package/catalog/forms/checkbox.md +218 -0
  26. package/catalog/forms/input.md +193 -0
  27. package/catalog/forms/slider.md +142 -0
  28. package/catalog/forms/switch.md +188 -0
  29. package/catalog/guide.json +1209 -0
  30. package/catalog/layout/header.md +167 -0
  31. package/catalog/layout/main.md +158 -0
  32. package/catalog/layout/media-screen.md +163 -0
  33. package/catalog/layout/nav.md +181 -0
  34. package/catalog/layout/overlay.md +256 -0
  35. package/catalog/layout/spinner.md +94 -0
  36. package/catalog/layout/splitter.md +331 -0
  37. package/catalog/layout/tabs.md +144 -0
  38. package/catalog/layout/top-scroll-bottom.md +98 -0
  39. package/catalog/manifest.json +482 -0
  40. package/catalog/mcp.json +44 -0
  41. package/catalog/molecules/image-editor.md +285 -0
  42. package/catalog/usage.md +137 -0
  43. package/catalog/version.json +4 -0
  44. package/package.json +10 -0
  45. package/storybook/1183.da25800b.iframe.bundle.js +1 -0
  46. package/storybook/1255.2abec879.iframe.bundle.js +2 -0
  47. package/storybook/1255.2abec879.iframe.bundle.js.LICENSE.txt +5 -0
  48. package/storybook/1516.52d2dae7.iframe.bundle.js +2 -0
  49. package/storybook/1516.52d2dae7.iframe.bundle.js.LICENSE.txt +5 -0
  50. package/storybook/2033.c705a7ce.iframe.bundle.js +1 -0
  51. package/storybook/2089.32694489.iframe.bundle.js +1 -0
  52. package/storybook/2096.431fc8f5.iframe.bundle.js +1 -0
  53. package/storybook/2127.29f153d2.iframe.bundle.js +2 -0
  54. package/storybook/2127.29f153d2.iframe.bundle.js.LICENSE.txt +7 -0
  55. package/storybook/2228.77650ef1.iframe.bundle.js +2 -0
  56. package/storybook/2228.77650ef1.iframe.bundle.js.LICENSE.txt +1 -0
  57. package/storybook/2249.6e6782ab.iframe.bundle.js +1 -0
  58. package/storybook/2639.29baa8af.iframe.bundle.js +1 -0
  59. package/storybook/2844.c9f47654.iframe.bundle.js +1 -0
  60. package/storybook/2971.edb202b4.iframe.bundle.js +1 -0
  61. package/storybook/3899.55560628.iframe.bundle.js +2 -0
  62. package/storybook/3899.55560628.iframe.bundle.js.LICENSE.txt +5 -0
  63. package/storybook/3968.69b812e4.iframe.bundle.js +1 -0
  64. package/storybook/4255.eeeaf087.iframe.bundle.js +111 -0
  65. package/storybook/4255.eeeaf087.iframe.bundle.js.LICENSE.txt +49 -0
  66. package/storybook/4255.eeeaf087.iframe.bundle.js.map +1 -0
  67. package/storybook/4425.368129b3.iframe.bundle.js +2 -0
  68. package/storybook/4425.368129b3.iframe.bundle.js.LICENSE.txt +5 -0
  69. package/storybook/4476.f8e4115f.iframe.bundle.js +1 -0
  70. package/storybook/4495.d1c8cc8d.iframe.bundle.js +1 -0
  71. package/storybook/4555.066c242d.iframe.bundle.js +1 -0
  72. package/storybook/4755.e4656207.iframe.bundle.js +23 -0
  73. package/storybook/4755.e4656207.iframe.bundle.js.LICENSE.txt +14 -0
  74. package/storybook/4755.e4656207.iframe.bundle.js.map +1 -0
  75. package/storybook/4935.8959522b.iframe.bundle.js +1 -0
  76. package/storybook/5568.c6172f92.iframe.bundle.js +1 -0
  77. package/storybook/5944.810cb147.iframe.bundle.js +1 -0
  78. package/storybook/6115.7f1470ef.iframe.bundle.js +1 -0
  79. package/storybook/6169.eaeed989.iframe.bundle.js +2 -0
  80. package/storybook/6169.eaeed989.iframe.bundle.js.LICENSE.txt +5 -0
  81. package/storybook/6202.b8ca0e90.iframe.bundle.js +2 -0
  82. package/storybook/6202.b8ca0e90.iframe.bundle.js.LICENSE.txt +5 -0
  83. package/storybook/660.18f0458e.iframe.bundle.js +1 -0
  84. package/storybook/6824.f5eb8bb7.iframe.bundle.js +1 -0
  85. package/storybook/7316.5b024e94.iframe.bundle.js +1 -0
  86. package/storybook/7749.2a853795.iframe.bundle.js +1 -0
  87. package/storybook/8051.719eb790.iframe.bundle.js +1 -0
  88. package/storybook/813.805c1e5f.iframe.bundle.js +1 -0
  89. package/storybook/8448.1baeb046.iframe.bundle.js +1 -0
  90. package/storybook/871.428deceb.iframe.bundle.js +1 -0
  91. package/storybook/8819.220ca21d.iframe.bundle.js +1 -0
  92. package/storybook/9045.a50616e9.iframe.bundle.js +2 -0
  93. package/storybook/9045.a50616e9.iframe.bundle.js.LICENSE.txt +5 -0
  94. package/storybook/9560.668052f3.iframe.bundle.js +7 -0
  95. package/storybook/9560.668052f3.iframe.bundle.js.map +1 -0
  96. package/storybook/973.67f44bb0.iframe.bundle.js +1 -0
  97. package/storybook/9850.28367747.iframe.bundle.js +1 -0
  98. package/storybook/9946.36014b4e.iframe.bundle.js +1 -0
  99. package/storybook/MaterialIcons-Regular.woff2 +0 -0
  100. package/storybook/MaterialIconsOutlined-Regular.woff2 +0 -0
  101. package/storybook/PetMe64.ttf +0 -0
  102. package/storybook/_external-mwork-banner-docs-mdx.0d5549a0.iframe.bundle.js +1 -0
  103. package/storybook/_external-mwork-banner-mwork-banner-stories.d44f6917.iframe.bundle.js +1 -0
  104. package/storybook/_external-mwork-basic-interpreter-docs-mdx.03c6205c.iframe.bundle.js +1 -0
  105. package/storybook/_external-mwork-basic-interpreter-mwork-basic-interpreter-stories.3252a9b8.iframe.bundle.js +1 -0
  106. package/storybook/_external-mwork-music-player-docs-mdx.6f943768.iframe.bundle.js +1 -0
  107. package/storybook/_external-mwork-music-player-mwork-music-player-stories.08fbf651.iframe.bundle.js +1 -0
  108. package/storybook/assets/fonts/PETME64-LICENSE.txt +20 -0
  109. package/storybook/assets/fonts/PetMe64.ttf +0 -0
  110. package/storybook/assets/fonts/icons/MaterialIcons-Regular.woff2 +0 -0
  111. package/storybook/assets/fonts/icons/MaterialIconsOutlined-Regular.woff2 +0 -0
  112. package/storybook/assets/ui/documents/demo.pdf +42 -0
  113. package/storybook/assets/ui/i18n/de-DE.json +1 -0
  114. package/storybook/assets/ui/i18n/en-EN.json +2 -0
  115. package/storybook/assets/ui/i18n/ui/de-DE.json +95 -0
  116. package/storybook/assets/ui/i18n/ui/en-EN.json +95 -0
  117. package/storybook/assets/ui/images/600x600.png +0 -0
  118. package/storybook/assets/ui/images/600x800.png +0 -0
  119. package/storybook/assets/ui/images/800x600.png +0 -0
  120. package/storybook/assets/ui/images/unknown.gif +0 -0
  121. package/storybook/atoms-_electrons-form-error-message-docs-mdx.5b9e78fe.iframe.bundle.js +1 -0
  122. package/storybook/atoms-_electrons-form-error-message-form-error-message-component-stories.7f749acc.iframe.bundle.js +1 -0
  123. package/storybook/atoms-background-background-component-stories.b6b50c0c.iframe.bundle.js +1 -0
  124. package/storybook/atoms-background-docs-mdx.4f102c17.iframe.bundle.js +1 -0
  125. package/storybook/atoms-barcode-barcode-component-stories.dc462559.iframe.bundle.js +1 -0
  126. package/storybook/atoms-barcode-docs-mdx.b74c501b.iframe.bundle.js +1 -0
  127. package/storybook/atoms-buzzer-buzzer-component-stories.13ee130d.iframe.bundle.js +1 -0
  128. package/storybook/atoms-buzzer-docs-mdx.23eb1913.iframe.bundle.js +1 -0
  129. package/storybook/atoms-card-card-component-stories.065b34e9.iframe.bundle.js +1 -0
  130. package/storybook/atoms-card-docs-mdx.7d276114.iframe.bundle.js +1 -0
  131. package/storybook/atoms-chart-chart-component-stories.5247b7cb.iframe.bundle.js +1 -0
  132. package/storybook/atoms-chart-docs-mdx.204609d4.iframe.bundle.js +1 -0
  133. package/storybook/atoms-clock-clock-component-stories.d1464731.iframe.bundle.js +1 -0
  134. package/storybook/atoms-clock-docs-mdx.501e6780.iframe.bundle.js +1 -0
  135. package/storybook/atoms-copy-value-copy-value-component-stories.58d3956a.iframe.bundle.js +1 -0
  136. package/storybook/atoms-copy-value-docs-mdx.f404dcd2.iframe.bundle.js +1 -0
  137. package/storybook/atoms-image-grid-docs-mdx.18b4df2a.iframe.bundle.js +1 -0
  138. package/storybook/atoms-image-grid-image-grid-component-stories.a0a92d9e.iframe.bundle.js +1 -0
  139. package/storybook/atoms-image-slider-docs-mdx.c616bb37.iframe.bundle.js +1 -0
  140. package/storybook/atoms-image-slider-image-slider-component-stories.484b9c41.iframe.bundle.js +1 -0
  141. package/storybook/atoms-lang-selector-docs-mdx.a327a27f.iframe.bundle.js +2 -0
  142. package/storybook/atoms-lang-selector-docs-mdx.a327a27f.iframe.bundle.js.LICENSE.txt +5 -0
  143. package/storybook/atoms-lang-selector-lang-selector-component-stories.41d7efd1.iframe.bundle.js +2 -0
  144. package/storybook/atoms-lang-selector-lang-selector-component-stories.41d7efd1.iframe.bundle.js.LICENSE.txt +5 -0
  145. package/storybook/atoms-mosaic-docs-mdx.1aebfbdf.iframe.bundle.js +1 -0
  146. package/storybook/atoms-mosaic-mosaic-component-stories.0a6bc043.iframe.bundle.js +1 -0
  147. package/storybook/atoms-placeholder-docs-mdx.cd2f3976.iframe.bundle.js +1 -0
  148. package/storybook/atoms-placeholder-placeholder-component-stories.bc221534.iframe.bundle.js +1 -0
  149. package/storybook/atoms-qr-code-docs-mdx.4202568d.iframe.bundle.js +1 -0
  150. package/storybook/atoms-qr-code-qr-code-component-stories.5018e2b0.iframe.bundle.js +1 -0
  151. package/storybook/atoms-rating-docs-mdx.32fa4104.iframe.bundle.js +1 -0
  152. package/storybook/atoms-rating-rating-component-stories.982db47d.iframe.bundle.js +1 -0
  153. package/storybook/atoms-reader-doc-docs-mdx.0688c3b9.iframe.bundle.js +1 -0
  154. package/storybook/atoms-reader-doc-reader-doc-component-stories.a6fec57d.iframe.bundle.js +1 -0
  155. package/storybook/atoms-text-animate-docs-mdx.05e1baf4.iframe.bundle.js +1 -0
  156. package/storybook/atoms-text-animate-text-animate-component-stories.8041c0f1.iframe.bundle.js +1 -0
  157. package/storybook/atoms-thumb-docs-mdx.2143ad01.iframe.bundle.js +1 -0
  158. package/storybook/atoms-thumb-thumb-component-stories.06f51d03.iframe.bundle.js +1 -0
  159. package/storybook/atoms-timer-docs-mdx.6f724cc8.iframe.bundle.js +1 -0
  160. package/storybook/atoms-timer-timer-component-stories.9bee1037.iframe.bundle.js +1 -0
  161. package/storybook/atoms-typewriter-docs-mdx.3b1088c0.iframe.bundle.js +1 -0
  162. package/storybook/atoms-typewriter-typewriter-component-stories.4fefc019.iframe.bundle.js +1 -0
  163. package/storybook/cdk-components-drag-and-drop-splitter-docs-mdx.f12088fd.iframe.bundle.js +1 -0
  164. package/storybook/cdk-components-drag-and-drop-splitter-splitter-component-stories.286b5171.iframe.bundle.js +1 -0
  165. package/storybook/cdk-components-table-docs-mdx.cc2c11e7.iframe.bundle.js +1 -0
  166. package/storybook/cdk-components-table-table-component-stories.db9212fd.iframe.bundle.js +1 -0
  167. package/storybook/examples-burger-menu-stories.0a083a75.iframe.bundle.js +1 -0
  168. package/storybook/examples-docs-mdx.3111f2c6.iframe.bundle.js +1 -0
  169. package/storybook/examples-image-grid-slider-docs-mdx.9e38157e.iframe.bundle.js +1 -0
  170. package/storybook/examples-image-grid-slider-image-grid-slider-stories.028c8c2b.iframe.bundle.js +1 -0
  171. package/storybook/examples-layout-docs-mdx.bbacdfd2.iframe.bundle.js +1 -0
  172. package/storybook/examples-layout-layout-stories.05cd891f.iframe.bundle.js +1 -0
  173. package/storybook/examples-table-edit-focus-docs-mdx.3c0d1611.iframe.bundle.js +1 -0
  174. package/storybook/examples-table-edit-focus-table-edit-focus-stories.c79e214a.iframe.bundle.js +1 -0
  175. package/storybook/examples-transloco-docs-mdx.97df7022.iframe.bundle.js +2 -0
  176. package/storybook/examples-transloco-docs-mdx.97df7022.iframe.bundle.js.LICENSE.txt +5 -0
  177. package/storybook/examples-transloco-transloco-component-stories.5baea2e2.iframe.bundle.js +2 -0
  178. package/storybook/examples-transloco-transloco-component-stories.5baea2e2.iframe.bundle.js.LICENSE.txt +5 -0
  179. package/storybook/favicon-wrapper.svg +46 -0
  180. package/storybook/favicon.svg +1 -0
  181. package/storybook/forms-autocomplete-autocomplete-component-stories.443544e0.iframe.bundle.js +2 -0
  182. package/storybook/forms-autocomplete-autocomplete-component-stories.443544e0.iframe.bundle.js.LICENSE.txt +5 -0
  183. package/storybook/forms-autocomplete-docs-mdx.09beba1b.iframe.bundle.js +2 -0
  184. package/storybook/forms-autocomplete-docs-mdx.09beba1b.iframe.bundle.js.LICENSE.txt +5 -0
  185. package/storybook/forms-autofocus-autofocus-stories.2e94d887.iframe.bundle.js +1 -0
  186. package/storybook/forms-autofocus-docs-mdx.39611362.iframe.bundle.js +1 -0
  187. package/storybook/forms-checkbox-checkbox-component-stories.d45b4f0d.iframe.bundle.js +1 -0
  188. package/storybook/forms-checkbox-docs-mdx.74036eb7.iframe.bundle.js +1 -0
  189. package/storybook/forms-input-docs-mdx.72d0e99a.iframe.bundle.js +1 -0
  190. package/storybook/forms-input-input-component-stories.609db3f0.iframe.bundle.js +1 -0
  191. package/storybook/forms-slider-docs-mdx.120cefc6.iframe.bundle.js +1 -0
  192. package/storybook/forms-slider-slider-component-stories.058fb9b1.iframe.bundle.js +1 -0
  193. package/storybook/forms-switch-docs-mdx.9d58a341.iframe.bundle.js +1 -0
  194. package/storybook/forms-switch-switch-component-stories.bf67d7c9.iframe.bundle.js +1 -0
  195. package/storybook/forms-validators-docs-mdx.ebb47a43.iframe.bundle.js +1 -0
  196. package/storybook/forms-validators-validators-component-stories.9525f97b.iframe.bundle.js +1 -0
  197. package/storybook/home-guide-mdx.1a176b15.iframe.bundle.js +1 -0
  198. package/storybook/home-overview-mdx.d0cf448a.iframe.bundle.js +1 -0
  199. package/storybook/home-tips-mdx.26df81d8.iframe.bundle.js +1 -0
  200. package/storybook/home-usage-mdx.7ba89dd0.iframe.bundle.js +1 -0
  201. package/storybook/iframe.html +558 -0
  202. package/storybook/index.html +155 -0
  203. package/storybook/index.json +1 -0
  204. package/storybook/layout-main-docs-mdx.4c9208c5.iframe.bundle.js +1 -0
  205. package/storybook/layout-main-main-component-stories.788c0c54.iframe.bundle.js +1 -0
  206. package/storybook/layout-media-screen-docs-mdx.b0ca9a06.iframe.bundle.js +2 -0
  207. package/storybook/layout-media-screen-docs-mdx.b0ca9a06.iframe.bundle.js.LICENSE.txt +5 -0
  208. package/storybook/layout-media-screen-media-screen-component-stories.7941c064.iframe.bundle.js +2 -0
  209. package/storybook/layout-media-screen-media-screen-component-stories.7941c064.iframe.bundle.js.LICENSE.txt +5 -0
  210. package/storybook/layout-nav-docs-mdx.cc919f94.iframe.bundle.js +1 -0
  211. package/storybook/layout-nav-nav-component-stories.766738fc.iframe.bundle.js +1 -0
  212. package/storybook/layout-overlay-docs-mdx.823351e0.iframe.bundle.js +1 -0
  213. package/storybook/layout-overlay-header-docs-mdx.394033ca.iframe.bundle.js +1 -0
  214. package/storybook/layout-overlay-header-header-component-stories.5eaef192.iframe.bundle.js +1 -0
  215. package/storybook/layout-overlay-overlay-component-stories.01f6cd84.iframe.bundle.js +1 -0
  216. package/storybook/layout-spinner-docs-mdx.4be572c0.iframe.bundle.js +1 -0
  217. package/storybook/layout-spinner-spinner-component-stories.ab8245c6.iframe.bundle.js +1 -0
  218. package/storybook/layout-splitter-docs-mdx.bf161b39.iframe.bundle.js +1 -0
  219. package/storybook/layout-splitter-splitter-component-stories.46b8b112.iframe.bundle.js +1 -0
  220. package/storybook/layout-tabs-docs-mdx.89d83606.iframe.bundle.js +1 -0
  221. package/storybook/layout-tabs-tabs-component-stories.8602cefa.iframe.bundle.js +1 -0
  222. package/storybook/layout-top-scroll-bottom-docs-mdx.ddc061f8.iframe.bundle.js +1 -0
  223. package/storybook/layout-top-scroll-bottom-top-scroll-bottom-component-stories.9ee7055f.iframe.bundle.js +1 -0
  224. package/storybook/main.2d116a57.iframe.bundle.js +1 -0
  225. package/storybook/main.a402659c6a0734088d14.css +2101 -0
  226. package/storybook/mocker-runtime-injected.js +1 -0
  227. package/storybook/molecules-image-editor-docs-mdx.119ea12a.iframe.bundle.js +1 -0
  228. package/storybook/molecules-image-editor-image-editor-component-stories.56467f17.iframe.bundle.js +1 -0
  229. package/storybook/nunito-sans-bold-italic.woff2 +0 -0
  230. package/storybook/nunito-sans-bold.woff2 +0 -0
  231. package/storybook/nunito-sans-italic.woff2 +0 -0
  232. package/storybook/nunito-sans-regular.woff2 +0 -0
  233. package/storybook/project.json +1 -0
  234. package/storybook/runtime~main.a9b8ab83.iframe.bundle.js +1 -0
  235. package/storybook/sb-addons/docs-1/manager-bundle.js +3 -0
  236. package/storybook/sb-addons/libs-ui-storybook-2/manager-bundle.js +3 -0
  237. package/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +630 -0
  238. package/storybook/sb-common-assets/favicon-wrapper.svg +46 -0
  239. package/storybook/sb-common-assets/favicon.svg +1 -0
  240. package/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  241. package/storybook/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  242. package/storybook/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  243. package/storybook/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  244. package/storybook/sb-manager/globals-runtime.js +76714 -0
  245. package/storybook/sb-manager/globals.js +24 -0
  246. package/storybook/sb-manager/manager-stores.js +23 -0
  247. package/storybook/sb-manager/runtime.js +27451 -0
  248. package/storybook/sb-preview/globals.js +20 -0
  249. package/storybook/sb-preview/runtime.js +35491 -0
  250. package/storybook/styling-colors-colors-component-stories.58031f40.iframe.bundle.js +1 -0
  251. package/storybook/styling-colors-docs-mdx.95c504e4.iframe.bundle.js +1 -0
  252. package/storybook/styling-css-variables-docs-mdx.48afb4f3.iframe.bundle.js +1 -0
  253. package/storybook/styling-forms-docs-mdx.943e72f2.iframe.bundle.js +1 -0
  254. package/storybook/styling-forms-forms-component-stories.8af76278.iframe.bundle.js +1 -0
  255. package/storybook/styling-icons-docs-mdx.e1001dfd.iframe.bundle.js +1 -0
  256. package/storybook/styling-icons-icons-component-stories.2dd8c6f8.iframe.bundle.js +1 -0
  257. package/storybook/styling-layers-docs-mdx.5039dc45.iframe.bundle.js +1 -0
  258. package/storybook/styling-tags-docs-mdx.23ab2316.iframe.bundle.js +1 -0
  259. package/storybook/styling-tags-tags-component-stories.7a64bd20.iframe.bundle.js +1 -0
  260. package/storybook/styling-ui-tags-docs-mdx.8f75631d.iframe.bundle.js +1 -0
  261. package/storybook/styling-ui-tags-ui-tags-component-stories.2ec3109b.iframe.bundle.js +1 -0
  262. package/storybook/version.json +4 -0
  263. package/version.json +4 -0
@@ -0,0 +1,167 @@
1
+ # Layout: Overlay Header
2
+
3
+ The header bar of an overlay panel — a headline and a close button, and nothing more.
4
+
5
+ ---
6
+
7
+ ### What it does, and what it does not
8
+
9
+ The bar at the top of an overlay panel: a headline and a close button, nothing
10
+ else — there is no `<ng-content>`, so nothing can be placed in it. It holds no
11
+ state and closes nothing; its close button emits `activeOutput` with `false`
12
+ and the parent decides. Inside `ui-layout-overlay` it goes into the
13
+ `overlay-header` slot, and without that attribute it is not projected at all.
14
+ A panel that needs more in its header writes its own bar into the same slot.
15
+
16
+ ---
17
+
18
+ > **Guide:** recommendations for `ui-layout-overlay-header` — use for, not for, instead, shown in — are served by `get_guide` (name: `ui-layout-overlay-header`). The section above is the truth; the guide is the offer.
19
+
20
+ ---
21
+
22
+ ### Overview
23
+
24
+ `UiOverlayHeaderComponent` (`ui-layout-overlay-header`) is the bar that sits at
25
+ the top of an overlay panel. It holds no state and closes nothing: the close
26
+ button emits `activeOutput` with `false`, and the parent decides what that
27
+ means. That is why it can also stand outside an overlay, as the first example
28
+ below does.
29
+
30
+ **It knows a headline and a close button, and nothing else.** There is no
31
+ `<ng-content>` in it, so nothing can be placed inside the bar. It is exported
32
+ as the ready-made header for the plain case — an app fills the
33
+ `overlay-header` slot with this instead of rebuilding the same two elements.
34
+ When a panel needs more than that, the app writes its own bar into the same
35
+ slot; the media frontend does both, and its record sheet says why it had to:
36
+ its close button turns into a two-step discard when there are unsaved edits.
37
+
38
+ ---
39
+
40
+ #### Story: OverlayHeader
41
+
42
+ ```ts
43
+ export const OverlayHeader: Story = {
44
+ render: (args) => {
45
+ return {
46
+ props: {
47
+ ...args,
48
+ closed: 0,
49
+ },
50
+ template: `
51
+ <section class="flex flex-col gap-8">
52
+ <ui-layout-overlay-header
53
+ [headline]="headline"
54
+ (activeOutput)="closed = closed + 1"
55
+ ></ui-layout-overlay-header>
56
+ <span>activeOutput: {{ closed }}</span>
57
+ </section>
58
+ `,
59
+ };
60
+ },
61
+ };
62
+
63
+ /**
64
+ * Where it belongs: in the `overlay-header` slot of `ui-layout-overlay`. The
65
+ * slot attribute is what puts it into the panel's header row — and without it
66
+ * the bar is not projected at all, since the panel selects three slots and
67
+ * has no catch-all. It does not land somewhere else; it is simply gone.
68
+ *
69
+ * Note that the overlay does not close itself. The header emits, the story
70
+ * binds that to `active`, and only then does the panel go away. The same
71
+ * applies to an app: the parent stays in charge of its own visibility.
72
+ */
73
+ ```
74
+
75
+ ---
76
+
77
+ ### Where it goes
78
+
79
+ Inside `ui-layout-overlay` the bar belongs in the `overlay-header` slot. The
80
+ slot attribute is the whole placement mechanism, and it is not forgiving: the
81
+ panel selects three slots and offers no catch-all, so a bar without the
82
+ attribute is **not projected at all**. It does not turn up somewhere else —
83
+ headline and close button are simply absent, and the overlay is left with the
84
+ backdrop as its only way out. If a header goes missing, that attribute is the
85
+ first thing to check.
86
+
87
+ ```html
88
+ <ui-layout-overlay [active]="active" (activeOutput)="active = $event">
89
+ <ui-layout-overlay-header
90
+ overlay-header
91
+ [headline]="'Settings'"
92
+ (activeOutput)="active = $event"
93
+ ></ui-layout-overlay-header>
94
+
95
+ <div overlay-content>…</div>
96
+ </ui-layout-overlay>
97
+ ```
98
+
99
+ #### Story: InsideAnOverlay
100
+
101
+ ```ts
102
+ export const InsideAnOverlay: Story = {
103
+ render: (args) => {
104
+ return {
105
+ props: {
106
+ ...args,
107
+ active: false,
108
+ },
109
+ template: `
110
+ <section class="flex flex-col gap-8">
111
+ <!-- Not [disabled]="active": a control that disables itself on
112
+ its own click throws the keyboard focus onto the body. -->
113
+ <button class="ui self-start" (click)="active=true">active = true</button>
114
+ </section>
115
+ <ui-layout-overlay [direction]="'top'" [maxWidth]="'ms-2'" [fitContent]="true" [active]="active" (activeOutput)="active = $event">
116
+ <ui-layout-overlay-header
117
+ overlay-header
118
+ [headline]="headline"
119
+ (activeOutput)="active = $event"
120
+ ></ui-layout-overlay-header>
121
+ <div overlay-content class="flex justify-center p-8">
122
+ <ui-placeholder class="h-48 w-64"></ui-placeholder>
123
+ </div>
124
+ </ui-layout-overlay>
125
+ `,
126
+ };
127
+ },
128
+ };
129
+ ```
130
+
131
+ ---
132
+
133
+ ### args
134
+
135
+ <table class="ui">
136
+ <tr>
137
+ <th>@Input</th>
138
+ <th>type</th>
139
+ <th>default</th>
140
+ <th>description</th>
141
+ </tr>
142
+ <tr>
143
+ <td><code>headline</code></td>
144
+ <td><code>string | null</code></td>
145
+ <td><code>null</code></td>
146
+ <td>Text shown in the bar. With <code>null</code> the headline element stays empty; the close button is always there.</td>
147
+ </tr>
148
+ </table>
149
+
150
+ <table class="ui">
151
+ <tr>
152
+ <th>@Output</th>
153
+ <th>type</th>
154
+ <th>description</th>
155
+ </tr>
156
+ <tr>
157
+ <td><code>activeOutput</code></td>
158
+ <td><code>boolean</code></td>
159
+ <td>Emits <code>false</code> when the close button is clicked. It never emits <code>true</code> — opening is not this component's business.</td>
160
+ </tr>
161
+ </table>
162
+
163
+ ---
164
+
165
+ ### Related
166
+
167
+ - [Layout: Overlay](?path=/docs/layout-overlay--docs) — the panel this bar is made for.
@@ -0,0 +1,158 @@
1
+ ### Layout: Main
2
+
3
+ The `UiLayoutMainComponent` serves as the primary structural container for the application layout. It provides a standardized grid with three main sections: header, content, and footer. This component is designed to be used only once as the root layout of the application.
4
+
5
+ Zoom and fullscreen state is persisted and restored on load. To avoid a visible "replay", all layout transitions are suppressed until the restored state has settled — the restored layout appears instantly, and only subsequent user actions animate.
6
+
7
+ Entering or leaving fullscreen collapses the header and footer bars. Chromium
8
+ animates them to `max-height: 0` over `--ui-time` (it interpolates the
9
+ `max-content` keyword through `interpolate-size`). Engines without that
10
+ support toggle instantly via `display` instead — deliberately not through
11
+ max-height: after a `0 → max-content` round trip WebKit's flex layout keeps
12
+ the cached 0 for good, and the bar never came back from fullscreen
13
+ (tickets#223). The bars stay in the DOM either way; a collapsed bar measures
14
+ height 0, and a ResizeObserver reports the return to full height.
15
+
16
+ The bars clip their content (`overflow: clip`) only while collapsed or while
17
+ the max-height transition runs (tracked via transition events as the
18
+ `_-bars-animating` modifier). In the resting expanded state they do not clip,
19
+ so absolutely positioned dropdowns hanging below a bar — such as the tab
20
+ nav's second level — are rendered in full instead of being cut off.
21
+
22
+ ### What it does, and what it does not
23
+
24
+ The outer shell of an application — one grid with the `[main-header]`,
25
+ `[main-content]` and `[main-footer]` slots, plus the zoom and fullscreen state
26
+ the other layout components share through `UiLayoutService`, persisted and
27
+ restored without a replay. It is used once, as the root of the layout. It lays
28
+ out; it does not navigate, scroll or route — the nav goes into its header, a
29
+ scrolling area into its content.
30
+
31
+ ---
32
+
33
+ > **Guide:** recommendations for `ui-layout-main` — use for, not for, instead, shown in — are served by `get_guide` (name: `ui-layout-main`). The section above is the truth; the guide is the offer.
34
+
35
+ ---
36
+
37
+ ### See the [Main Story](?path=/story/layout-main--main) for a live demonstration.
38
+
39
+ ---
40
+
41
+ #### Content Slots (ng-content)
42
+
43
+ The component uses named slots to project content into specific areas of the layout.
44
+
45
+ <table class="ui">
46
+ <tr>
47
+ <th style={{width: '16rem'}}>Slot Selector</th>
48
+ <th>Description</th>
49
+ </tr>
50
+ <tr>
51
+ <td><code>[main-header]</code></td>
52
+ <td>Projects content into the top header section.</td>
53
+ </tr>
54
+ <tr>
55
+ <td><code>[main-content]</code></td>
56
+ <td>Projects content into the central scrollable area.</td>
57
+ </tr>
58
+ <tr>
59
+ <td><code>[main-footer]</code></td>
60
+ <td>Projects content into the bottom footer section.</td>
61
+ </tr>
62
+ </table>
63
+
64
+ ---
65
+
66
+ #### Component Inputs
67
+
68
+ <table class="ui">
69
+ <tr>
70
+ <th style={{width: '16rem'}}>@Input</th>
71
+ <th style={{width: '16rem'}}>Type</th>
72
+ <th style={{width: '16rem'}}>Default</th>
73
+ <th>Description</th>
74
+ </tr>
75
+ <tr>
76
+ <td><code>cssPrefix</code></td>
77
+ <td><code>string</code></td>
78
+ <td><code>''</code></td>
79
+ <td>Optional CSS class prefix applied to the layout for scoping.</td>
80
+ </tr>
81
+ <tr>
82
+ <td><code>theme</code></td>
83
+ <td><code>UiLayoutThemeType</code></td>
84
+ <td><code>'theme-light'</code></td>
85
+ <td>Sets the visual theme of the layout. Options: <code>'theme-light'</code>, <code>'theme-dark'</code>.</td>
86
+ </tr>
87
+ <tr>
88
+ <td><code>maxWidth</code></td>
89
+ <td><code>UiLayoutMaxWidth</code></td>
90
+ <td><code>'default'</code></td>
91
+ <td>Configures the maximum width of the content area. Options: <code>'default'</code>, <code>'max-ms4'</code>, <code>'max-ms5'</code>.</td>
92
+ </tr>
93
+ <tr>
94
+ <td><code>zoom</code></td>
95
+ <td><code>boolean</code></td>
96
+ <td><code>false</code></td>
97
+ <td>Enables or disables layout zoom scaling.</td>
98
+ </tr>
99
+ <tr>
100
+ <td><code>fullScreen</code></td>
101
+ <td><code>boolean</code></td>
102
+ <td><code>false</code></td>
103
+ <td>When enabled, the layout expands to fill the entire viewport.</td>
104
+ </tr>
105
+ <tr>
106
+ <td><code>contentStyle</code></td>
107
+ <td><code>UiLayoutMainType</code></td>
108
+ <td><code>'default'</code></td>
109
+ <td>Defines the styling variant for the main content area. Options: <code>'default'</code>, <code>'flat'</code>.</td>
110
+ </tr>
111
+ </table>
112
+
113
+ ---
114
+
115
+ #### Layout Service (`UiLayoutService`)
116
+
117
+ The layout's state and dimensions are managed via the `UiLayoutService`. The
118
+ table lists the methods the layout itself leans on — the service also carries
119
+ `getTheme`, `handleFullScreen`, `handleZoom` and `handleDirection`.
120
+
121
+ <table class="ui">
122
+ <tr>
123
+ <th style={{width: '16rem'}}>Method</th>
124
+ <th style={{width: '16rem'}}>Parameter Type</th>
125
+ <th style={{width: '16rem'}}>Return Type</th>
126
+ <th>Description</th>
127
+ </tr>
128
+ <tr>
129
+ <td><code>handleInit</code></td>
130
+ <td><code>UiLayoutConfigSettings</code></td>
131
+ <td><code>void</code></td>
132
+ <td>Initializes the layout settings (theme, zoom, fullscreen) and persists them to storage.</td>
133
+ </tr>
134
+ <tr>
135
+ <td><code>setLayoutSize</code></td>
136
+ <td><code>UiLayoutSizeSettings</code></td>
137
+ <td><code>void</code></td>
138
+ <td>Updates the recorded dimensions of all layout sections (header, footer, etc.) in the service state.</td>
139
+ </tr>
140
+ <tr>
141
+ <td><code>getMainClass</code></td>
142
+ <td>-</td>
143
+ <td><code>string</code></td>
144
+ <td>Returns the computed CSS classes based on current zoom and fullscreen states.</td>
145
+ </tr>
146
+ <tr>
147
+ <td><code>getLayoutSize</code></td>
148
+ <td>-</td>
149
+ <td><code>UiLayoutSizeSettings | null</code></td>
150
+ <td>Retrieves the current calculated sizes of the layout elements, or <code>null</code> before the first measurement.</td>
151
+ </tr>
152
+ <tr>
153
+ <td><code>handleTheme</code></td>
154
+ <td><code>UiLayoutThemeType</code></td>
155
+ <td><code>UiLayoutThemeType</code></td>
156
+ <td>Toggles or sets the application theme and updates storage.</td>
157
+ </tr>
158
+ </table>
@@ -0,0 +1,163 @@
1
+ ### Layout: Media Screen
2
+
3
+ This component is a bit of a special tool in our shed.
4
+
5
+ ---
6
+
7
+ #### What it does, and what it does not
8
+
9
+ A silent bridge from CSS to TypeScript: it reads the current breakpoint and
10
+ orientation off its own `::after` pseudo-element and hands them to
11
+ `UiLayoutMediaScreenService`, so components ask the service instead of
12
+ measuring the window. Placed once in the app shell, invisible unless `debug`
13
+ is set. It shows nothing and styles nothing — it only reports, and the ladder it
14
+ reports is the library's, not one written in the app.
15
+
16
+ ---
17
+
18
+ > **Guide:** recommendations for `ui-layout-media-screen` — use for, not for, instead, shown in — are served by `get_guide` (name: `ui-layout-media-screen`). The section above is the truth; the guide is the offer.
19
+
20
+ ---
21
+
22
+ It's a "silent helper" that bridges the gap between CSS media queries and our JavaScript/Angular logic.
23
+ Instead of reinventing the wheel with window resize listeners everywhere, we let CSS do the heavy lifting of breakpoint detection.
24
+
25
+ - **How it works**: The component reads the `content` property of its own `:after` pseudo-element via CSS.
26
+ - **The bridge**: It passes these values directly to the `UiLayoutMediaScreenService`.
27
+ - **Global usage**: You usually just throw this into your `app.html` once and forget about it. It doesn't need to be seen (unless you want to debug).
28
+
29
+ #### Story: MediaScreen
30
+
31
+ ```ts
32
+ export const MediaScreen: Story = {
33
+ parameters: {
34
+ docs: {
35
+ canvas: {
36
+ sourceState: 'none',
37
+ },
38
+ },
39
+ },
40
+ render: (args) => {
41
+ return {
42
+ props: {
43
+ ...args,
44
+ prefix: uiConfigStorybookCssPrefix,
45
+ },
46
+ template: `
47
+ <section class="relative flex flex-col h-48">
48
+ <ui-layout-media-screen debug></ui-layout-media-screen>
49
+ </section>
50
+ `,
51
+ };
52
+ },
53
+ };
54
+ ```
55
+
56
+ ---
57
+
58
+ #### Inputs
59
+
60
+ <table class="ui">
61
+ <thead>
62
+ <tr>
63
+ <th>@Input</th>
64
+ <th>Type</th>
65
+ <th>Default</th>
66
+ <th>Description</th>
67
+ </tr>
68
+ </thead>
69
+ <tbody>
70
+ <tr>
71
+ <td>debug</td>
72
+ <td>boolean</td>
73
+ <td>false</td>
74
+ <td>
75
+ If true, it adds a `._-debug` class to the element, making it visible for
76
+ troubleshooting.
77
+ </td>
78
+ </tr>
79
+ </tbody>
80
+ </table>
81
+
82
+ ---
83
+
84
+ #### Service: UiLayoutMediaScreenService
85
+
86
+ This is where the magic happens. Other components can subscribe to the screen settings here.
87
+
88
+ <table class="ui">
89
+ <thead>
90
+ <tr>
91
+ <th>Method</th>
92
+ <th>Return Type</th>
93
+ <th>Description</th>
94
+ </tr>
95
+ </thead>
96
+ <tbody>
97
+ <tr>
98
+ <td>getSettings()</td>
99
+ <td>Observable&lt;UiLayoutMediaScreenServiceSettings&gt;</td>
100
+ <td>
101
+ Returns an Observable that updates whenever the screen size or
102
+ orientation changes.
103
+ </td>
104
+ </tr>
105
+ <tr>
106
+ <td>getSettingsSignal()</td>
107
+ <td>Signal&lt;UiLayoutMediaScreenServiceSettings&gt;</td>
108
+ <td>
109
+ Returns a Signal providing the current screen settings. This is the
110
+ preferred way for modern Angular versions.
111
+ </td>
112
+ </tr>
113
+ <tr>
114
+ <td>setSettings(pseudoAfterContent: string)</td>
115
+ <td>void</td>
116
+ <td>Internally used by the component to update the current state.</td>
117
+ </tr>
118
+ </tbody>
119
+ </table>
120
+
121
+ ---
122
+
123
+ ##### Data Structure (UiLayoutMediaScreenServiceSettings)
124
+
125
+ The service provides an object with these properties:
126
+
127
+ <table class="ui">
128
+ <thead>
129
+ <tr>
130
+ <th>Property</th>
131
+ <th>Type</th>
132
+ <th>Description</th>
133
+ </tr>
134
+ </thead>
135
+ <tbody>
136
+ <tr>
137
+ <td>mediascreen</td>
138
+ <td>number | null</td>
139
+ <td>The current breakpoint value parsed from CSS.</td>
140
+ </tr>
141
+ <tr>
142
+ <td>orientation</td>
143
+ <td>'portrait' | 'landscape' | null</td>
144
+ <td>The current screen orientation.</td>
145
+ </tr>
146
+ </tbody>
147
+ </table>
148
+
149
+ ---
150
+
151
+ ### Implementation Example
152
+
153
+ **Just put it in your root component:**
154
+
155
+ ```html
156
+ <ui-layout-media-screen></ui-layout-media-screen>
157
+ ```
158
+
159
+ **If you need to see what's going on while building:**
160
+
161
+ ```html
162
+ <ui-layout-media-screen debug></ui-layout-media-screen>
163
+ ```
@@ -0,0 +1,181 @@
1
+ ### Layout: Nav
2
+
3
+ The `ui-layout-nav` component provides a navigation bar that can be styled as a tab or an app bar.
4
+
5
+ **Note:** The component should only be used once within a layout.
6
+
7
+ ---
8
+
9
+ ### What it does, and what it does not
10
+
11
+ A navigation bar in two themes — `tab` and `app`, the latter with a home
12
+ button — fed from `UiLayoutNavService` or, in `debug` mode, from the `navList`
13
+ input. It is used once per layout and renders the list it is given, nested
14
+ levels included, marking the active route from the router. It does not decide
15
+ what the list contains or where a link leads.
16
+
17
+ ---
18
+
19
+ > **Guide:** recommendations for `ui-layout-nav` — use for, not for, instead, shown in — are served by `get_guide` (name: `ui-layout-nav`). The section above is the truth; the guide is the offer.
20
+
21
+ ---
22
+
23
+ Default theme for navigation tabs:
24
+ ### [Example: Tab Theme](?path=/story/layout-nav--template-tab)
25
+
26
+ ---
27
+
28
+ Navigation theme suitable for application headers, including a home button.
29
+ ### [Example: App Theme](?path=/story/layout-nav--template-app)
30
+
31
+ ---
32
+
33
+ ### Configuration
34
+
35
+ The component can be controlled via service or component inputs.
36
+
37
+ #### Inputs
38
+
39
+ <table class="ui">
40
+ <thead>
41
+ <tr>
42
+ <th>@Input</th>
43
+ <th>Type</th>
44
+ <th>Default</th>
45
+ <th>Description</th>
46
+ </tr>
47
+ </thead>
48
+ <tbody>
49
+ <tr>
50
+ <td><code>navList</code></td>
51
+ <td><code>UiLayoutNavListItemType[] | null</code></td>
52
+ <td><code>null</code></td>
53
+ <td>Array of navigation items to display.</td>
54
+ </tr>
55
+ <tr>
56
+ <td><code>theme</code></td>
57
+ <td><code>UiLayoutNavThemeType</code></td>
58
+ <td><code>'tab'</code></td>
59
+ <td>Theme of the navigation (e.g., <code>'tab'</code>, <code>'app'</code>).</td>
60
+ </tr>
61
+ <tr>
62
+ <td><code>homeButton</code></td>
63
+ <td><code>boolean</code></td>
64
+ <td><code>false</code></td>
65
+ <td>Whether to show the home button (app theme).</td>
66
+ </tr>
67
+ <tr>
68
+ <td><code>debug</code></td>
69
+ <td><code>boolean</code></td>
70
+ <td><code>false</code></td>
71
+ <td>Enables debug mode for visual adjustments.</td>
72
+ </tr>
73
+ <tr>
74
+ <td><code>defaultRoute</code></td>
75
+ <td><code>string | null</code></td>
76
+ <td><code>null</code></td>
77
+ <td>Default route for navigation.</td>
78
+ </tr>
79
+ </tbody>
80
+ </table>
81
+
82
+ ---
83
+
84
+ ### CSS Classes
85
+
86
+ - `ui-nav`: Base class for the navigation container.
87
+ - `ui-nav-item`: Class for individual navigation items.
88
+
89
+ **Encapsulation:** `ViewEncapsulation.None`
90
+
91
+ ---
92
+
93
+ ### Internal Dependencies
94
+
95
+ The component utilizes:
96
+ - `Router` (injected for navigation handling)
97
+ - `UiLayoutNavItemComponent`
98
+ - `UiLayoutNavService`
99
+
100
+ ---
101
+
102
+ ### Nav Item Details
103
+
104
+ Individual navigation items support several properties.
105
+
106
+ #### Inputs
107
+
108
+ <table class="ui">
109
+ <thead>
110
+ <tr>
111
+ <th>@Input</th>
112
+ <th>Type</th>
113
+ <th>Default</th>
114
+ <th>Description</th>
115
+ </tr>
116
+ </thead>
117
+ <tbody>
118
+ <tr>
119
+ <td><code>link</code></td>
120
+ <td><code>boolean</code></td>
121
+ <td><code>false</code></td>
122
+ <td>Renders the item as a router link.</td>
123
+ </tr>
124
+ <tr>
125
+ <td><code>icon</code></td>
126
+ <td><code>boolean</code></td>
127
+ <td><code>false</code></td>
128
+ <td>Whether to show an icon.</td>
129
+ </tr>
130
+ <tr>
131
+ <td><code>subNav</code></td>
132
+ <td><code>string | null</code></td>
133
+ <td><code>null</code></td>
134
+ <td>Base path for sub-navigation.</td>
135
+ </tr>
136
+ <tr>
137
+ <td><code>item</code></td>
138
+ <td><code>UILayoutNavItemType | null</code></td>
139
+ <td><code>null</code></td>
140
+ <td>The navigation item data.</td>
141
+ </tr>
142
+ </tbody>
143
+ </table>
144
+
145
+ #### Item data (`UILayoutNavItemType`)
146
+
147
+ Besides <code>label</code>, <code>route</code>, <code>title</code> and
148
+ <code>icon</code>, an item may carry an optional <code>fragment</code>: it is
149
+ bound to the router link's <code>fragment</code> input, producing an anchor
150
+ like <code>/route#fragment</code>. Use it for in-page anchor targets — the
151
+ consuming app is responsible for scrolling to the fragment after navigation.
152
+
153
+ Active-state tracking is fragment-aware: the URL fragment never leaks into the
154
+ route matching (so the parent stays active on <code>/route#fragment</code> and
155
+ its sub-nav stays open), and a sub-item with a <code>fragment</code> is marked
156
+ active when its parent route and the URL fragment both match. Same-page anchor
157
+ sub-items use an empty <code>route</code>; the item then targets the sub-nav
158
+ parent itself.
159
+
160
+ **Scroll-spy hook:** a host app can feed the reading position via
161
+ <code>UiLayoutNavService.setActiveFragment(fragment | null)</code> — matching
162
+ anchor sub-items are highlighted without any router navigation (the URL stays
163
+ the user's intent; a NavigationEnd overrides the state with the real
164
+ fragment). <code>null</code> clears the highlight.
165
+
166
+ <table class="ui">
167
+ <thead>
168
+ <tr>
169
+ <th>Property</th>
170
+ <th>Type</th>
171
+ <th>Description</th>
172
+ </tr>
173
+ </thead>
174
+ <tbody>
175
+ <tr>
176
+ <td><code>fragment</code></td>
177
+ <td><code>string | undefined</code></td>
178
+ <td>Optional URL fragment appended to the route (<code>route#fragment</code>).</td>
179
+ </tr>
180
+ </tbody>
181
+ </table>