@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,404 @@
1
+ ### ReaderDoc
2
+
3
+ Reads a Markdown document in the house design.
4
+
5
+ ---
6
+
7
+ ### What it does, and what it does not
8
+
9
+ It takes Markdown as a **string**. No `HttpClient`, no route, no cache, no
10
+ language switching, no publication list — everything that knows *where* a text
11
+ came from, *which* language it should appear in and *whether* there is a file
12
+ to take away stands in front of it.
13
+
14
+ That is what lets the same component serve a public site, this Storybook page
15
+ and a customer instance without any of them leaking into the others. On this
16
+ page it runs with no network at all.
17
+
18
+ #### Story: Default
19
+
20
+ ```ts
21
+ export const Default: Story = { args: { ...base }, render };
22
+
23
+ /**
24
+ * Both ways out. The download is the main way and carries the weight; printing
25
+ * is the side way. The file is handed in as an address — the component makes
26
+ * nothing.
27
+ */
28
+ ```
29
+
30
+ ---
31
+
32
+ > **Guide:** recommendations for `ui-reader-doc` — use for, not for, instead, shown in — are served by `get_guide` (name: `ui-reader-doc`). The section above is the truth; the guide is the offer.
33
+
34
+ ---
35
+
36
+ ### Raw HTML is discarded, not sanitised
37
+
38
+ Markdown allows embedded HTML, and that is the only way foreign markup could
39
+ reach the page. The renderer closes it without any dependency: an HTML token
40
+ produces nothing, so afterwards the output can only consist of the tags the
41
+ Markdown parser builds itself. What is left to check is exactly one thing —
42
+ the values of `href` and `src`. Three schemes pass — `http:`, `https:` and
43
+ `mailto:` — and so does every relative address, an anchor included. Everything
44
+ else is refused, counted and named like a dropped tag. `urlAllowed` carries a
45
+ spec of its own listing both sides, so this paragraph cannot drift away from
46
+ the code.
47
+
48
+ This is a **tighter** boundary than a sanitiser, not a cheaper one. A sanitiser
49
+ permits a lot and forbids the known-bad; this renderer cannot produce anything
50
+ foreign in the first place. It is a design decision as much as a safety one: a
51
+ `<div align>` or an inline `style` out of a README would break the house design
52
+ open from the inside.
53
+
54
+ The words between the tags survive — they are separate tokens, so a sentence
55
+ keeps its text and loses only its markup.
56
+
57
+ **And nothing disappears quietly.** What was dropped is counted, named and
58
+ stated on the page. There is no input that hides it: the notice appears only
59
+ when content really was left out, so a switch against it would be flipped in
60
+ exactly the moment it is needed. Whoever writes Markdown without HTML never
61
+ sees it.
62
+
63
+ #### Story: DroppedMarkup
64
+
65
+ ```ts
66
+ export const DroppedMarkup: Story = {
67
+ parameters: noControls,
68
+ args: { ...base, markdown: WITH_HTML },
69
+ render,
70
+ };
71
+
72
+ /** Nothing to read is a loud state, never a blank area that reads as a broken component. */
73
+ ```
74
+
75
+ <div>
76
+ <strong>A trap worth knowing:</strong> HTML comments are raw-HTML tokens too.
77
+ A house convention such as <code>&lt;!-- break --&gt;</code> is a
78
+ convention, not discarded content, and is never counted — otherwise every
79
+ document in the house would report a finding and the state would be noise
80
+ nobody reads.
81
+ </div>
82
+
83
+ ---
84
+
85
+ ### Sections
86
+
87
+ Every second-level heading starts a section, and every section stands open.
88
+ **Nothing in a document opens or closes.** A reader came to read, and a text
89
+ that has to be unpacked first is a text that is half missing — so there is no
90
+ fold, no summary and no second, shorter version to switch to. What the
91
+ component offers instead are ways *out* of the document: a finished file and a
92
+ sheet of paper.
93
+
94
+ The title is a real `h2` carrying the section's anchor, so the document keeps
95
+ an outline for anyone navigating by headings.
96
+
97
+ ---
98
+
99
+ ### The text keeps its own voice
100
+
101
+ The document area brings **no design of its own**. Headings are told apart by
102
+ size and air, links are underlined, code blocks, tables and quotes take the
103
+ library's tokens and nothing else. There is no house gesture stamped onto the
104
+ text.
105
+
106
+ That is not modesty, it is the job: this component carries a foreign document —
107
+ a README, a licence, a text somebody else wrote — and a reader that decorates
108
+ what it displays makes every source look like it was written here. The
109
+ surroundings are the library's; the text is the author's.
110
+
111
+ One position the reader does decide, because Markdown cannot: a paragraph
112
+ that holds nothing but an image — linked or not — is a figure and stands
113
+ centred. An image inside prose keeps its place in the line. No frame, no
114
+ caption, nothing else.
115
+
116
+ #### Story: Figure
117
+
118
+ ```ts
119
+ export const Figure: Story = {
120
+ parameters: noControls,
121
+ args: { ...base, markdown: WITH_FIGURE },
122
+ render,
123
+ };
124
+
125
+ /**
126
+ * Inline code in a squeezed table cell: the hyphenated names stay on one line
127
+ * each, the description column takes the break.
128
+ */
129
+ ```
130
+
131
+ And one thing it keeps whole: inline code never wraps. An identifier, a file
132
+ name, a flag is one token, and a `change-me` split at its hyphen across two
133
+ lines of a narrow table cell is no longer the thing it names. The line around
134
+ the token breaks; the token does not. A code block is unaffected — `pre`
135
+ keeps its own line breaks and scrolls sideways. In the same picture: table
136
+ cells read from their first line — a one-word key starts level with the
137
+ description beside it, not halfway down it.
138
+
139
+ #### Story: CodeInNarrowCell
140
+
141
+ ```ts
142
+ export const CodeInNarrowCell: Story = {
143
+ parameters: noControls,
144
+ args: { ...base, markdown: WITH_CODE_IN_CELL },
145
+ render,
146
+ };
147
+
148
+ /**
149
+ * The quiet note: the text is in its source language and that is expected. It
150
+ * must be distinguishable at a glance from the state below — that is the whole
151
+ * reason they are two states.
152
+ */
153
+ ```
154
+
155
+ And it holds that in both directions: the component leaves no hooks in its
156
+ output for an outside stylesheet to hang a design on. What it renders is
157
+ headings, paragraphs, lists, links, tables — the tags themselves, with nothing
158
+ wrapped around them. Whatever this reader looks like, it decides here, in its
159
+ own file.
160
+
161
+ ---
162
+
163
+ ### Anchors: what survives and what does not
164
+
165
+ The renderer gives every heading a slug, and the **section** carries it into
166
+ the DOM from the template — so a section is a link target.
167
+
168
+ A heading *inside* the injected HTML is not. Angular's sanitiser runs over
169
+ `[innerHTML]` as a second net and strips `id` on the way. That net is kept
170
+ deliberately rather than bypassed: the safety here already comes from the
171
+ renderer, and a second one costs nothing but those ids. The behaviour is
172
+ pinned by a test, so it cannot change unnoticed.
173
+
174
+ ---
175
+
176
+ ### Two language states, and they must never be confused
177
+
178
+ <table>
179
+ <thead>
180
+ <tr>
181
+ <th>State</th>
182
+ <th>When</th>
183
+ <th>How it looks</th>
184
+ </tr>
185
+ </thead>
186
+ <tbody>
187
+ <tr>
188
+ <td><code>none</code></td>
189
+ <td>view language = content language</td>
190
+ <td>nothing</td>
191
+ </tr>
192
+ <tr>
193
+ <td><code>source-language</code></td>
194
+ <td>they differ, and that is <em>expected</em></td>
195
+ <td>a quiet note above the document</td>
196
+ </tr>
197
+ <tr>
198
+ <td><code>fallback</code></td>
199
+ <td>the requested language is missing although it should exist</td>
200
+ <td>a <strong>defect</strong>: error colour, <code>role="alert"</code></td>
201
+ </tr>
202
+ </tbody>
203
+ </table>
204
+
205
+ The component shows the state; it does not decide it. Only the placer knows
206
+ whether a document *ought to have been* published in both languages. A fallback
207
+ that reads like an offer is how an English page ends up in a German view
208
+ unremarked.
209
+
210
+ #### Story: SourceLanguage
211
+
212
+ ```ts
213
+ export const SourceLanguage: Story = {
214
+ parameters: noControls,
215
+ args: { ...base, notice: 'source-language', contentLang: 'EN' },
216
+ render,
217
+ };
218
+
219
+ /**
220
+ * The defect: the requested language is missing although it should exist. It
221
+ * carries the error colour and `role="alert"`, because a fallback nobody
222
+ * notices is how an English page ends up in a German view unremarked.
223
+ */
224
+ ```
225
+
226
+ #### Story: FallbackDefect
227
+
228
+ ```ts
229
+ export const FallbackDefect: Story = {
230
+ parameters: noControls,
231
+ args: { ...base, notice: 'fallback', contentLang: 'EN' },
232
+ render,
233
+ };
234
+
235
+ /**
236
+ * Raw HTML is discarded, and the reader says so with a count and the element
237
+ * names. There is no input that hides this: the notice only ever appears when
238
+ * something really was left out.
239
+ */
240
+ ```
241
+
242
+ ---
243
+
244
+ ### The ways out
245
+
246
+ A button appears only when it can keep its promise: no address, no download
247
+ button. The file itself is handed in — the component makes nothing and knows
248
+ nothing about how it came to be.
249
+
250
+ Printing is the **side way**: the chrome disappears and the page breaks are
251
+ kept off headings and out of list items — that is all the component does for
252
+ paper, and deliberately so. A full paper design is somebody else's job; this
253
+ one shows a document on a screen and gets out of the way when the sheet
254
+ comes.
255
+
256
+ Both ways out are icon buttons in the library's own shape, with their wording
257
+ in `title` so it stays translated.
258
+
259
+ The date in the footer is handed in as text. The component never asks the
260
+ clock: a document is as current as the release that shipped it, and a component
261
+ stamping "today" onto it would be making that up.
262
+
263
+ #### Story: WaysOut
264
+
265
+ ```ts
266
+ export const WaysOut: Story = {
267
+ parameters: noControls,
268
+ args: {
269
+ ...base,
270
+ // A real, tiny PDF from the library's own assets — a stand-in that says
271
+ // it is one when you open it. The previous one was text under a `.pdf`
272
+ // name, so every click ended in "the file could not be opened": a story
273
+ // teaching that the download is broken.
274
+ downloadHref: 'assets/ui/documents/demo.pdf',
275
+ downloadName: 'demo.pdf',
276
+ printable: true,
277
+ stand: '2026-08-15',
278
+ },
279
+ render,
280
+ };
281
+
282
+ /**
283
+ * A lone image is a figure: centred, whether it links somewhere or not. An
284
+ * image inside prose is not — it stays in its line. The renderer draws no
285
+ * frame and no caption; where the picture stands is all it decides.
286
+ */
287
+ ```
288
+
289
+ ---
290
+
291
+ ### The loud states
292
+
293
+ Nothing to read is a state, not an absence. An empty area looks like a
294
+ component that failed to render, and a reader cannot tell the difference.
295
+
296
+ #### Story: Empty
297
+
298
+ ```ts
299
+ export const Empty: Story = {
300
+ parameters: noControls,
301
+ args: { ...base, markdown: '' },
302
+ render,
303
+ };
304
+
305
+ /** A failure the placer wants shown in its own words, in place of the document. */
306
+ ```
307
+
308
+ A failure the placer wants shown appears in its own words, in place of the
309
+ document.
310
+
311
+ #### Story: Failed
312
+
313
+ ```ts
314
+ export const Failed: Story = {
315
+ parameters: noControls,
316
+ args: { ...base, error: 'The source did not answer.' },
317
+ render,
318
+ };
319
+ ```
320
+
321
+ ---
322
+
323
+ ### Properties
324
+
325
+ <table>
326
+ <thead>
327
+ <tr>
328
+ <th>Name</th>
329
+ <th>Type</th>
330
+ <th>Default</th>
331
+ <th>Description</th>
332
+ </tr>
333
+ </thead>
334
+ <tbody>
335
+ <tr>
336
+ <td><code>markdown</code></td>
337
+ <td><code>string | null</code></td>
338
+ <td><code>null</code></td>
339
+ <td>
340
+ The document. Empty or missing ends in the loud empty state, never in a
341
+ blank page.
342
+ </td>
343
+ </tr>
344
+ <tr>
345
+ <td><code>error</code></td>
346
+ <td><code>string | null</code></td>
347
+ <td><code>null</code></td>
348
+ <td>
349
+ A failure to show <em>instead of</em> the document, in the placer's own
350
+ words — only they can say it in a way that fits the site.
351
+ </td>
352
+ </tr>
353
+ <tr>
354
+ <td><code>notice</code></td>
355
+ <td><code>UiReaderNotice</code></td>
356
+ <td><code>'none'</code></td>
357
+ <td>
358
+ <code>'source-language'</code> or <code>'fallback'</code> — see the two
359
+ language states above. The component shows the state; it does not
360
+ decide it.
361
+ </td>
362
+ </tr>
363
+ <tr>
364
+ <td><code>contentLang</code></td>
365
+ <td><code>string | null</code></td>
366
+ <td><code>null</code></td>
367
+ <td>The language the text is in, for the notice — a label such as <code>EN</code>.</td>
368
+ </tr>
369
+ <tr>
370
+ <td><code>stand</code></td>
371
+ <td><code>string | null</code></td>
372
+ <td><code>null</code></td>
373
+ <td>
374
+ The house stamp, pre-formatted. Text, because the component never asks
375
+ the clock.
376
+ </td>
377
+ </tr>
378
+ <tr>
379
+ <td><code>downloadHref</code></td>
380
+ <td><code>string | null</code></td>
381
+ <td><code>null</code></td>
382
+ <td>
383
+ Where the ready-made file lies. No address, no button — the component
384
+ makes no file and knows nothing about how one came to be.
385
+ </td>
386
+ </tr>
387
+ <tr>
388
+ <td><code>downloadName</code></td>
389
+ <td><code>string | null</code></td>
390
+ <td><code>null</code></td>
391
+ <td>The name the file is saved under.</td>
392
+ </tr>
393
+ <tr>
394
+ <td><code>printable</code></td>
395
+ <td><code>boolean</code></td>
396
+ <td><code>false</code></td>
397
+ <td>
398
+ Whether the print button is drawn. It is not a lock on the method:
399
+ <code>print()</code> is public, so a host can put the control wherever
400
+ it belongs and leave this off.
401
+ </td>
402
+ </tr>
403
+ </tbody>
404
+ </table>
@@ -0,0 +1,122 @@
1
+ ### Text Animate
2
+
3
+ A component for applying letter-by-letter animations to text strings.
4
+
5
+ ---
6
+
7
+ ### What it does, and what it does not
8
+
9
+ Splits one string into letters and animates them one after another with a
10
+ staggered delay; every input change restarts the run. It animates, and that is
11
+ all: it does not clip letters that travel in from outside its box — that is the
12
+ layout's decision — and it runs as long as `iterationCount` says, infinite by
13
+ default. It is meant for a headline or a short phrase, not for body text.
14
+
15
+ ---
16
+
17
+ > **Guide:** recommendations for `ui-text-animate` — use for, not for, instead, shown in — are served by `get_guide` (name: `ui-text-animate`). The section above is the truth; the guide is the offer.
18
+
19
+ ---
20
+
21
+ ### Overview
22
+
23
+ The `UiTextAnimateComponent` splits a given string into individual characters and applies CSS animations to each, with a staggered delay. This creates a dynamic and engaging way to display headlines or short phrases.
24
+
25
+ ---
26
+
27
+ ### Properties
28
+
29
+ The following properties can be used to configure the text animation:
30
+
31
+ - `text`: (Input) The text string to animate.
32
+ - `animation`: (Input) The type of animation to apply (e.g., 'zoom-in-out', 'scale-x').
33
+ - `iterationCount`: (Input) CSS `animation-iteration-count` value (default: 'infinite').
34
+
35
+ Every input change restarts the animation: the letters are taken out of the
36
+ DOM for a moment and put back, because a CSS animation only starts over on a
37
+ fresh element.
38
+
39
+ ---
40
+
41
+ ### Clipping
42
+
43
+ Some variants travel in from far outside — `move-from-right` starts 1000px to
44
+ the right — and the component does not clip them itself. Clipping is a
45
+ decision about the layout around the text, so it is made there: `overflow:
46
+ hidden` on the tag or on a container. The tag is a block of its own, so a
47
+ rule on it is enough:
48
+
49
+ ```html
50
+ <ui-text-animate class="headline" [text]="'Animated Text'" [animation]="'move-from-right'"></ui-text-animate>
51
+ ```
52
+
53
+ ```css
54
+ .headline {
55
+ overflow: hidden;
56
+ }
57
+ ```
58
+
59
+ The overview below clips each row exactly that way (with a utility class,
60
+ since Storybook has Tailwind).
61
+
62
+ ---
63
+
64
+ ### Accessibility
65
+
66
+ One span per letter would be spelled out — "A, n, i, m, a, t, e, d". The
67
+ letters are therefore hidden from assistive technology, and the whole text
68
+ stands once more in the tag, visually hidden. A reader gets the word; a
69
+ viewer gets the animation.
70
+
71
+ ---
72
+
73
+ ### Basic Example
74
+
75
+ In this example, you can interactively change the text, the animation type
76
+ and how often it plays.
77
+
78
+ #### Story: TextAnimate
79
+
80
+ ```ts
81
+ export const TextAnimate: Story = {
82
+ render: (args) => {
83
+ return {
84
+ props: {
85
+ ...args,
86
+ },
87
+ template: `
88
+ <ui-intern-header theme="theme-light"></ui-intern-header>
89
+ <section class="relative flex flex-col">
90
+ <ui-text-animate [text]="text" [animation]="animation" [iterationCount]="iterationCount">
91
+ </ui-text-animate>
92
+ </section>
93
+ `,
94
+ };
95
+ },
96
+ };
97
+ ```
98
+
99
+ ---
100
+
101
+ ### Variants
102
+
103
+ Every animation, named by itself and clipped by a class on the tag — five
104
+ rows animating at once compete with the text of this page, so the overview
105
+ opens on its own: [Open story](?path=/story/atoms-text-animate--text-animate-theme)
106
+
107
+ ---
108
+
109
+ **Usage**
110
+
111
+ ```html
112
+ <ui-text-animate [text]="'Animated Text'" [animation]="'zoom-in-out'"></ui-text-animate>
113
+ ```
114
+
115
+ ---
116
+
117
+ ### Types: UiTextAnimateType
118
+
119
+ Available animation types, read from the exported `uiTextAnimateData` list —
120
+ this line cannot fall behind the code because it is the code:
121
+
122
+ <code>{uiTextAnimateData.map((type) => `'${type}'`).join(' | ')}</code>
@@ -0,0 +1,153 @@
1
+ ### Thumb
2
+
3
+ A component for displaying thumbnail images with optional links and titles.
4
+
5
+ ---
6
+
7
+ ### What it does, and what it does not
8
+
9
+ Shows one thumbnail from a `UiThumbType`: the picture (with an optional WebP
10
+ source), its alt text, an optional caption from `title`, and a link around it —
11
+ an external `link`/`target` or an in-app `routerLink` with a `fragment`. It takes
12
+ the width it is given and draws nothing else: no gallery, no lazy loading of its
13
+ own, no decision about which picture to show.
14
+
15
+ ---
16
+
17
+ > **Guide:** recommendations for `ui-thumb` — use for, not for, instead, shown in — are served by `get_guide` (name: `ui-thumb`). The section above is the truth; the guide is the offer.
18
+
19
+ ---
20
+
21
+ ### Overview
22
+
23
+ The `UiThumbComponent` is used to show image previews (thumbnails). It supports standard image formats as well as WebP, and can wrap the thumbnail in a link with a title and target attribute. For in-app navigation the thumbnail can render a `routerLink` anchor with an optional URL `fragment` instead of a plain external link.
24
+
25
+ ### Properties
26
+
27
+ The following properties can be used to configure the thumbnail:
28
+
29
+ - `data`: (Input) An object of type `UiThumbType` containing the image source, alt text, link, and other metadata.
30
+
31
+ ---
32
+
33
+ ### Basic Example
34
+
35
+ In this example, you can see how the thumbnail is rendered using mock data.
36
+
37
+ #### Story: Thumb
38
+
39
+ ```ts
40
+ export const Thumb: Story = {
41
+ render: (args) => {
42
+ return {
43
+ props: {
44
+ ...args,
45
+ },
46
+ template: `
47
+ <ui-intern-header theme="theme-light"></ui-intern-header>
48
+ <section class="relative flex flex-col w-96">
49
+ <ui-thumb [data]="data"></ui-thumb>
50
+ </section>
51
+ `,
52
+ };
53
+ },
54
+ };
55
+ ```
56
+
57
+ ---
58
+
59
+ ### Internal Link Example
60
+
61
+ When `routerLink` is set, the thumbnail navigates within the app (SPA navigation, no page reload) and appends the optional `fragment` to the URL. `routerLink` takes precedence over `link`/`target`.
62
+
63
+ #### Story: ThumbInternalLink
64
+
65
+ ```ts
66
+ export const ThumbInternalLink: Story = {
67
+ args: {
68
+ // Neutralized navigation: story links must never leave Storybook, so
69
+ // the routerLink points at the current route (fragment only).
70
+ data: { ...uiAtomThumbInternalMock, routerLink: '.', fragment: 'demo' },
71
+ },
72
+ render: (args) => {
73
+ return {
74
+ props: {
75
+ ...args,
76
+ },
77
+ template: `
78
+ <ui-intern-header theme="theme-light"></ui-intern-header>
79
+ <section class="relative flex flex-col w-96">
80
+ <ui-thumb [data]="data"></ui-thumb>
81
+ </section>
82
+ `,
83
+ };
84
+ },
85
+ };
86
+ ```
87
+
88
+ ---
89
+
90
+ **Usage**
91
+
92
+ ```html
93
+ <ui-thumb [data]="thumbData"></ui-thumb>
94
+ ```
95
+
96
+ The tag is a block of its own and takes the width it is given — place it in
97
+ a grid cell or give it a width, nothing more is needed.
98
+
99
+ ---
100
+
101
+ ### Types: UiThumbType
102
+
103
+ The data object structure:
104
+ ```typescript
105
+ interface UiThumbType {
106
+ link: string | null;
107
+ title: string | null;
108
+ target: string | null;
109
+ src: string | null;
110
+ srcWebp: string | null;
111
+ alt: string;
112
+ routerLink?: string | null;
113
+ fragment?: string | null;
114
+ }
115
+ ```
116
+
117
+ - `routerLink`: in-app route for SPA navigation; takes precedence over `link`/`target`.
118
+ - `fragment`: URL fragment appended to `routerLink`, e.g. an anchor element id.
119
+
120
+ ---
121
+
122
+ ### CSS Custom Properties
123
+
124
+ The image zoom is configurable per consumer by setting these custom properties on the `ui-thumb` host element:
125
+
126
+ <table>
127
+ <thead>
128
+ <tr>
129
+ <th>Property</th>
130
+ <th>Default</th>
131
+ <th>Description</th>
132
+ </tr>
133
+ </thead>
134
+ <tbody>
135
+ <tr>
136
+ <td><code>--ui-thumb-scale</code></td>
137
+ <td><code>1</code></td>
138
+ <td>Base zoom of the thumbnail image.</td>
139
+ </tr>
140
+ <tr>
141
+ <td><code>--ui-thumb-scale-hover</code></td>
142
+ <td><code>1.4</code></td>
143
+ <td>Zoom of the thumbnail image on hover.</td>
144
+ </tr>
145
+ </tbody>
146
+ </table>
147
+
148
+ ```css
149
+ ui-thumb {
150
+ --ui-thumb-scale: 1.4;
151
+ --ui-thumb-scale-hover: 1.6;
152
+ }
153
+ ```