@mojawork/ui-docs 2.8.1 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/catalog/atoms/typewriter.md +4 -3
- package/catalog/guide.json +6 -6
- package/catalog/layout/spinner.md +11 -2
- package/catalog/manifest.json +4 -4
- package/catalog/version.json +2 -2
- package/package.json +1 -1
- package/storybook/1183.fafda52d.iframe.bundle.js +1 -0
- package/storybook/2033.986e1406.iframe.bundle.js +1 -0
- package/storybook/2089.d5a3e21e.iframe.bundle.js +1 -0
- package/storybook/2127.d7de271b.iframe.bundle.js +2 -0
- package/storybook/2228.7013a637.iframe.bundle.js +2 -0
- package/storybook/2639.7f497882.iframe.bundle.js +1 -0
- package/storybook/2971.036e7a14.iframe.bundle.js +1 -0
- package/storybook/3968.3c931220.iframe.bundle.js +1 -0
- package/storybook/{4425.368129b3.iframe.bundle.js → 4425.7f753a38.iframe.bundle.js} +2 -2
- package/storybook/4476.1b913b82.iframe.bundle.js +1 -0
- package/storybook/{4555.e26d162c.iframe.bundle.js → 4555.574c843f.iframe.bundle.js} +1 -1
- package/storybook/4755.0561bac5.iframe.bundle.js +23 -0
- package/storybook/{4755.e4656207.iframe.bundle.js.map → 4755.0561bac5.iframe.bundle.js.map} +1 -1
- package/storybook/4935.f88465d9.iframe.bundle.js +1 -0
- package/storybook/5568.be85a9aa.iframe.bundle.js +1 -0
- package/storybook/6824.4b8f7b0a.iframe.bundle.js +1 -0
- package/storybook/8051.dbaf9937.iframe.bundle.js +1 -0
- package/storybook/871.5a781df6.iframe.bundle.js +1 -0
- package/storybook/8819.8e56201f.iframe.bundle.js +1 -0
- package/storybook/9850.5a17be74.iframe.bundle.js +1 -0
- package/storybook/9946.6fea16dc.iframe.bundle.js +1 -0
- package/storybook/_external-mwork-banner-docs-mdx.f33bbf56.iframe.bundle.js +1 -0
- package/storybook/_external-mwork-basic-interpreter-docs-mdx.81168b4c.iframe.bundle.js +1 -0
- package/storybook/_external-mwork-music-player-docs-mdx.46f4887e.iframe.bundle.js +1 -0
- package/storybook/assets/ui/sounds/type.mp3 +0 -0
- package/storybook/atoms-_electrons-form-error-message-docs-mdx.9382b0cb.iframe.bundle.js +1 -0
- package/storybook/atoms-_electrons-loader-docs-mdx.e8bb9642.iframe.bundle.js +1 -0
- package/storybook/atoms-background-docs-mdx.0e861f2c.iframe.bundle.js +1 -0
- package/storybook/atoms-barcode-docs-mdx.78b610dc.iframe.bundle.js +1 -0
- package/storybook/atoms-buzzer-docs-mdx.f9daf952.iframe.bundle.js +1 -0
- package/storybook/atoms-card-docs-mdx.f8b63920.iframe.bundle.js +1 -0
- package/storybook/atoms-chart-docs-mdx.29f10b89.iframe.bundle.js +1 -0
- package/storybook/atoms-clock-docs-mdx.6864626c.iframe.bundle.js +1 -0
- package/storybook/atoms-copy-value-docs-mdx.fbe168e2.iframe.bundle.js +1 -0
- package/storybook/atoms-image-grid-docs-mdx.9df158a9.iframe.bundle.js +1 -0
- package/storybook/atoms-image-slider-docs-mdx.4ae341f5.iframe.bundle.js +1 -0
- package/storybook/atoms-inline-spinner-docs-mdx.8b942147.iframe.bundle.js +1 -0
- package/storybook/atoms-lang-selector-docs-mdx.0487b819.iframe.bundle.js +2 -0
- package/storybook/atoms-mosaic-docs-mdx.738f012c.iframe.bundle.js +1 -0
- package/storybook/atoms-placeholder-docs-mdx.7d376291.iframe.bundle.js +1 -0
- package/storybook/atoms-qr-code-docs-mdx.c47f67c9.iframe.bundle.js +1 -0
- package/storybook/atoms-rating-docs-mdx.d7df9a29.iframe.bundle.js +1 -0
- package/storybook/atoms-reader-doc-docs-mdx.f5375a37.iframe.bundle.js +1 -0
- package/storybook/atoms-text-animate-docs-mdx.152fc1bd.iframe.bundle.js +1 -0
- package/storybook/atoms-thumb-docs-mdx.525fc046.iframe.bundle.js +1 -0
- package/storybook/atoms-timer-docs-mdx.686f0392.iframe.bundle.js +1 -0
- package/storybook/atoms-typewriter-docs-mdx.a6c3f6b0.iframe.bundle.js +1 -0
- package/storybook/atoms-typewriter-typewriter-component-stories.3a4f5356.iframe.bundle.js +1 -0
- package/storybook/cdk-components-drag-and-drop-splitter-docs-mdx.0aa5b787.iframe.bundle.js +1 -0
- package/storybook/cdk-components-table-docs-mdx.74bd247c.iframe.bundle.js +1 -0
- package/storybook/examples-docs-mdx.1a9d8db0.iframe.bundle.js +1 -0
- package/storybook/examples-image-grid-slider-docs-mdx.e56160ef.iframe.bundle.js +1 -0
- package/storybook/examples-layout-docs-mdx.d7d6f90b.iframe.bundle.js +1 -0
- package/storybook/examples-table-edit-focus-docs-mdx.55960e55.iframe.bundle.js +1 -0
- package/storybook/examples-transloco-docs-mdx.46447d84.iframe.bundle.js +2 -0
- package/storybook/forms-autocomplete-docs-mdx.698eef62.iframe.bundle.js +2 -0
- package/storybook/forms-autofocus-docs-mdx.ce239261.iframe.bundle.js +1 -0
- package/storybook/forms-checkbox-checkbox-component-stories.df3196e5.iframe.bundle.js +1 -0
- package/storybook/forms-checkbox-docs-mdx.890972f3.iframe.bundle.js +1 -0
- package/storybook/forms-chip-docs-mdx.89a48075.iframe.bundle.js +1 -0
- package/storybook/forms-input-docs-mdx.56627297.iframe.bundle.js +1 -0
- package/storybook/forms-input-input-component-stories.b68ea104.iframe.bundle.js +1 -0
- package/storybook/forms-slider-docs-mdx.68b9e21c.iframe.bundle.js +1 -0
- package/storybook/forms-switch-docs-mdx.832228cb.iframe.bundle.js +1 -0
- package/storybook/forms-validators-docs-mdx.e11fe615.iframe.bundle.js +1 -0
- package/storybook/home-guide-mdx.2f32ffc1.iframe.bundle.js +1 -0
- package/storybook/{home-overview-mdx.0e32f57f.iframe.bundle.js → home-overview-mdx.9b160561.iframe.bundle.js} +1 -1
- package/storybook/home-tips-mdx.24dc3e35.iframe.bundle.js +1 -0
- package/storybook/iframe.html +2 -2
- package/storybook/layout-main-docs-mdx.445bce2a.iframe.bundle.js +1 -0
- package/storybook/layout-media-screen-docs-mdx.c382b73b.iframe.bundle.js +2 -0
- package/storybook/layout-nav-docs-mdx.92eac076.iframe.bundle.js +1 -0
- package/storybook/layout-overlay-docs-mdx.a680859b.iframe.bundle.js +1 -0
- package/storybook/layout-overlay-header-docs-mdx.6eb6e326.iframe.bundle.js +1 -0
- package/storybook/layout-spinner-docs-mdx.d4e5afec.iframe.bundle.js +1 -0
- package/storybook/layout-spinner-spinner-component-stories.6b27a0bf.iframe.bundle.js +1 -0
- package/storybook/layout-splitter-docs-mdx.6b0e4fd2.iframe.bundle.js +1 -0
- package/storybook/layout-tabs-docs-mdx.aad59db3.iframe.bundle.js +1 -0
- package/storybook/layout-top-scroll-bottom-docs-mdx.42c18a0d.iframe.bundle.js +1 -0
- package/storybook/molecules-image-editor-docs-mdx.dba18ee6.iframe.bundle.js +1 -0
- package/storybook/project.json +1 -1
- package/storybook/{runtime~main.786a8152.iframe.bundle.js → runtime~main.805054f3.iframe.bundle.js} +1 -1
- package/storybook/styling-colors-docs-mdx.3f513a8d.iframe.bundle.js +1 -0
- package/storybook/styling-css-variables-docs-mdx.5a090407.iframe.bundle.js +1 -0
- package/storybook/styling-forms-docs-mdx.649ae948.iframe.bundle.js +1 -0
- package/storybook/styling-icons-docs-mdx.e3ed5ebd.iframe.bundle.js +1 -0
- package/storybook/styling-layers-docs-mdx.d810a2c8.iframe.bundle.js +1 -0
- package/storybook/styling-tags-docs-mdx.ce4814c9.iframe.bundle.js +1 -0
- package/storybook/styling-ui-tags-docs-mdx.d94258ab.iframe.bundle.js +1 -0
- package/storybook/version.json +2 -2
- package/version.json +2 -2
- package/storybook/1183.da25800b.iframe.bundle.js +0 -1
- package/storybook/2033.c705a7ce.iframe.bundle.js +0 -1
- package/storybook/2089.32694489.iframe.bundle.js +0 -1
- package/storybook/2127.29f153d2.iframe.bundle.js +0 -2
- package/storybook/2228.77650ef1.iframe.bundle.js +0 -2
- package/storybook/2639.29baa8af.iframe.bundle.js +0 -1
- package/storybook/2971.edb202b4.iframe.bundle.js +0 -1
- package/storybook/3968.69b812e4.iframe.bundle.js +0 -1
- package/storybook/4476.f8e4115f.iframe.bundle.js +0 -1
- package/storybook/4755.e4656207.iframe.bundle.js +0 -23
- package/storybook/4935.8959522b.iframe.bundle.js +0 -1
- package/storybook/5568.c6172f92.iframe.bundle.js +0 -1
- package/storybook/6824.f5eb8bb7.iframe.bundle.js +0 -1
- package/storybook/8051.719eb790.iframe.bundle.js +0 -1
- package/storybook/871.428deceb.iframe.bundle.js +0 -1
- package/storybook/8819.220ca21d.iframe.bundle.js +0 -1
- package/storybook/9850.28367747.iframe.bundle.js +0 -1
- package/storybook/9946.36014b4e.iframe.bundle.js +0 -1
- package/storybook/_external-mwork-banner-docs-mdx.0d5549a0.iframe.bundle.js +0 -1
- package/storybook/_external-mwork-basic-interpreter-docs-mdx.03c6205c.iframe.bundle.js +0 -1
- package/storybook/_external-mwork-music-player-docs-mdx.3d0f7156.iframe.bundle.js +0 -1
- package/storybook/atoms-_electrons-form-error-message-docs-mdx.5b9e78fe.iframe.bundle.js +0 -1
- package/storybook/atoms-_electrons-loader-docs-mdx.1176957f.iframe.bundle.js +0 -1
- package/storybook/atoms-background-docs-mdx.4f102c17.iframe.bundle.js +0 -1
- package/storybook/atoms-barcode-docs-mdx.b74c501b.iframe.bundle.js +0 -1
- package/storybook/atoms-buzzer-docs-mdx.23eb1913.iframe.bundle.js +0 -1
- package/storybook/atoms-card-docs-mdx.7d276114.iframe.bundle.js +0 -1
- package/storybook/atoms-chart-docs-mdx.204609d4.iframe.bundle.js +0 -1
- package/storybook/atoms-clock-docs-mdx.501e6780.iframe.bundle.js +0 -1
- package/storybook/atoms-copy-value-docs-mdx.f404dcd2.iframe.bundle.js +0 -1
- package/storybook/atoms-image-grid-docs-mdx.8161de39.iframe.bundle.js +0 -1
- package/storybook/atoms-image-slider-docs-mdx.c616bb37.iframe.bundle.js +0 -1
- package/storybook/atoms-inline-spinner-docs-mdx.a98163b8.iframe.bundle.js +0 -1
- package/storybook/atoms-lang-selector-docs-mdx.a327a27f.iframe.bundle.js +0 -2
- package/storybook/atoms-mosaic-docs-mdx.1aebfbdf.iframe.bundle.js +0 -1
- package/storybook/atoms-placeholder-docs-mdx.cd2f3976.iframe.bundle.js +0 -1
- package/storybook/atoms-qr-code-docs-mdx.4202568d.iframe.bundle.js +0 -1
- package/storybook/atoms-rating-docs-mdx.32fa4104.iframe.bundle.js +0 -1
- package/storybook/atoms-reader-doc-docs-mdx.1860338f.iframe.bundle.js +0 -1
- package/storybook/atoms-text-animate-docs-mdx.05e1baf4.iframe.bundle.js +0 -1
- package/storybook/atoms-thumb-docs-mdx.7286b617.iframe.bundle.js +0 -1
- package/storybook/atoms-timer-docs-mdx.6f724cc8.iframe.bundle.js +0 -1
- package/storybook/atoms-typewriter-docs-mdx.993bc264.iframe.bundle.js +0 -1
- package/storybook/atoms-typewriter-typewriter-component-stories.80f07c89.iframe.bundle.js +0 -1
- package/storybook/cdk-components-drag-and-drop-splitter-docs-mdx.f12088fd.iframe.bundle.js +0 -1
- package/storybook/cdk-components-table-docs-mdx.cc2c11e7.iframe.bundle.js +0 -1
- package/storybook/examples-docs-mdx.3111f2c6.iframe.bundle.js +0 -1
- package/storybook/examples-image-grid-slider-docs-mdx.d3578699.iframe.bundle.js +0 -1
- package/storybook/examples-layout-docs-mdx.bbacdfd2.iframe.bundle.js +0 -1
- package/storybook/examples-table-edit-focus-docs-mdx.3c0d1611.iframe.bundle.js +0 -1
- package/storybook/examples-transloco-docs-mdx.97df7022.iframe.bundle.js +0 -2
- package/storybook/forms-autocomplete-docs-mdx.09beba1b.iframe.bundle.js +0 -2
- package/storybook/forms-autofocus-docs-mdx.39611362.iframe.bundle.js +0 -1
- package/storybook/forms-checkbox-checkbox-component-stories.d45b4f0d.iframe.bundle.js +0 -1
- package/storybook/forms-checkbox-docs-mdx.74036eb7.iframe.bundle.js +0 -1
- package/storybook/forms-chip-docs-mdx.01e1b518.iframe.bundle.js +0 -1
- package/storybook/forms-input-docs-mdx.72d0e99a.iframe.bundle.js +0 -1
- package/storybook/forms-input-input-component-stories.609db3f0.iframe.bundle.js +0 -1
- package/storybook/forms-slider-docs-mdx.120cefc6.iframe.bundle.js +0 -1
- package/storybook/forms-switch-docs-mdx.9d58a341.iframe.bundle.js +0 -1
- package/storybook/forms-validators-docs-mdx.ebb47a43.iframe.bundle.js +0 -1
- package/storybook/home-guide-mdx.1a176b15.iframe.bundle.js +0 -1
- package/storybook/home-tips-mdx.26df81d8.iframe.bundle.js +0 -1
- package/storybook/layout-main-docs-mdx.4c9208c5.iframe.bundle.js +0 -1
- package/storybook/layout-media-screen-docs-mdx.b0ca9a06.iframe.bundle.js +0 -2
- package/storybook/layout-nav-docs-mdx.cc919f94.iframe.bundle.js +0 -1
- package/storybook/layout-overlay-docs-mdx.823351e0.iframe.bundle.js +0 -1
- package/storybook/layout-overlay-header-docs-mdx.394033ca.iframe.bundle.js +0 -1
- package/storybook/layout-spinner-docs-mdx.03741741.iframe.bundle.js +0 -1
- package/storybook/layout-spinner-spinner-component-stories.69ae1389.iframe.bundle.js +0 -1
- package/storybook/layout-splitter-docs-mdx.bf161b39.iframe.bundle.js +0 -1
- package/storybook/layout-tabs-docs-mdx.89d83606.iframe.bundle.js +0 -1
- package/storybook/layout-top-scroll-bottom-docs-mdx.ddc061f8.iframe.bundle.js +0 -1
- package/storybook/molecules-image-editor-docs-mdx.805dcd5a.iframe.bundle.js +0 -1
- package/storybook/styling-colors-docs-mdx.95c504e4.iframe.bundle.js +0 -1
- package/storybook/styling-css-variables-docs-mdx.48afb4f3.iframe.bundle.js +0 -1
- package/storybook/styling-forms-docs-mdx.943e72f2.iframe.bundle.js +0 -1
- package/storybook/styling-icons-docs-mdx.e1001dfd.iframe.bundle.js +0 -1
- package/storybook/styling-layers-docs-mdx.a563260e.iframe.bundle.js +0 -1
- package/storybook/styling-tags-docs-mdx.23ab2316.iframe.bundle.js +0 -1
- package/storybook/styling-ui-tags-docs-mdx.8f75631d.iframe.bundle.js +0 -1
- /package/storybook/{2127.29f153d2.iframe.bundle.js.LICENSE.txt → 2127.d7de271b.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{2228.77650ef1.iframe.bundle.js.LICENSE.txt → 2228.7013a637.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{4425.368129b3.iframe.bundle.js.LICENSE.txt → 4425.7f753a38.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{4755.e4656207.iframe.bundle.js.LICENSE.txt → 4755.0561bac5.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{atoms-lang-selector-docs-mdx.a327a27f.iframe.bundle.js.LICENSE.txt → atoms-lang-selector-docs-mdx.0487b819.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{examples-transloco-docs-mdx.97df7022.iframe.bundle.js.LICENSE.txt → examples-transloco-docs-mdx.46447d84.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{forms-autocomplete-docs-mdx.09beba1b.iframe.bundle.js.LICENSE.txt → forms-autocomplete-docs-mdx.698eef62.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{layout-media-screen-docs-mdx.b0ca9a06.iframe.bundle.js.LICENSE.txt → layout-media-screen-docs-mdx.c382b73b.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[3073,9779],{"./libs/ui/.storybook/blocks/guide.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_guide_entries__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/.storybook/blocks/guide.entries.js"),_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.model.mjs");const Link=({href,children})=>href?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.zE,{href,children}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children}),Sentences=({items})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{children:items.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:s},i))}),Block=({of,entry})=>{const m=(0,_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__.Cc)(entry,_guide_entries__WEBPACK_IMPORTED_MODULE_4__.H,of);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("section",{className:"ui-guide",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h4",{children:["Guide — a recommendation, not the truth",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[" · reviewed ",m.reviewed]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:["Written by an agent from the sources below, only for what runs in the house."," ","component"===m.kind?"The section above is what the component does; this is what to reach for it for.":"The pages of the parts say what each does; this is what they are for together."," ","Where the two disagree, the page wins."]}),m.uses.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Builds on"})," ",m.uses.map((u,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:u.href,children:u.selector})]},u.selector))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Use it for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.useFor}),m.notFor.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Not for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.notFor})]}),m.instead.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Instead"})," ",m.instead.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.selector})]},s.selector))]}),m.note&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Note"})," ",m.note]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Shown in"})," ",m.shownIn.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&" · ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.label})]},s.label))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Sources"})," ",m.sources.join(" · ")]})})]})};function _createMdxContent(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:["\n","\n","\n","\n","\n","\n","\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Block,{of:props.of,entry:props.entry})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/top-scroll-bottom/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_top_scroll_bottom_component_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts"),_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.mdx"),_guide_ui_layout_top_scroll_bottom_json__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./libs/ui/guide/ui-layout-top-scroll-bottom.json");function _createMdxContent(props){const _components={a:"a",code:"code",h3:"h3",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_top_scroll_bottom_component_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.hE,{children:"Layout: TopScrollBottom"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.Pd,{children:"A specialized layout component providing a fixed header, a scrollable content area, and a fixed footer."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"what-it-does-and-what-it-does-not",children:"What it does, and what it does not"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["A fixed header, a scrolling middle and a fixed footer, sized to the content\nheight ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutService"})," reports and scrolling inside its own box — the page\nbehind it is never touched. It is used once per view, inside the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"main-content"}),"\nslot of ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-layout-main"}),", and nowhere else. A header or footer slot that\nreceives nothing collapses instead of leaving an empty bar."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__.Ay,{of:"ui-layout-top-scroll-bottom",entry:_guide_ui_layout_top_scroll_bottom_json__WEBPACK_IMPORTED_MODULE_6__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"overview",children:"Overview"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutTopScrollBottomComponent"})," is designed to be used within ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-layout-main"}),". It sizes itself to the content height reported by the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutService"})," and scrolls ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"inside its own content area"})," (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"overflow: auto"}),") — the page behind it is never touched."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"example-top-scroll-bottom",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/layout-top-scroll-bottom--top-scroll-bottom",children:"Example: Top Scroll Bottom"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"usage-constraints",children:"Usage Constraints"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Single Instance:"})," This component should only be used once per view/route."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Parent Requirement:"})," Must be placed inside the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"main-content"})," slot of a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-layout-main"})," component."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Scroll Handling:"})," Scrolling happens inside the component's own content area (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"overflow: auto"}),"); the component sets its own height from the layout service and never touches the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"body"}),"."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"content-slots-ng-content",children:"Content Slots (ng-content)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The component uses multiple named slots to organize content:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[header]"})," (optional): Content to be displayed at the top of the scrollable area (sticky/fixed)."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[content]"}),": The main scrollable content area."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[footer]"})," (optional): Content to be displayed at the bottom of the scrollable area (sticky/fixed)."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["A slot renders only while its section is enabled ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"and"})," actually received\nprojected content — an empty header or footer collapses instead of leaving an\nempty colored bar."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"inputs",children:"Inputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Input"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Default"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"header"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Whether the header slot is rendered at all."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"footer"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Whether the footer slot is rendered at all."})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"example-integration",children:"Example Integration"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:"<ui-layout-main>\n <div main-header>Application Header</div>\n\n <ui-layout-top-scroll-bottom main-content>\n <div header>Fixed Header Content</div>\n <div content>\n \x3c!-- Long scrollable content goes here --\x3e\n </div>\n <div footer>Fixed Footer Content</div>\n </ui-layout-top-scroll-bottom>\n\n <div main-footer>Application Footer</div>\n</ui-layout-main>\n"})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{TopScrollBottom:()=>TopScrollBottom,__namedExportsOrder:()=>__namedExportsOrder,default:()=>top_scroll_bottom_component_stories});var dist=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),ui_config_types=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),main_component=__webpack_require__("./libs/ui/src/lib/layout/main/main.component.ts"),tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var top_scroll_bottom_componentngResource=__webpack_require__("./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.css?ngResource"),top_scroll_bottom_componentngResource_default=__webpack_require__.n(top_scroll_bottom_componentngResource),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),ngx_pwa_local_storage=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),Subscription=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subscription.js"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");let UiLayoutTopScrollBottomComponent=class UiLayoutTopScrollBottomComponent{element=(0,_effect_chunk2.WQX)(_debug_node_chunk.aKT);storage=(0,_effect_chunk2.WQX)(ngx_pwa_local_storage.AX);layoutService=(0,_effect_chunk2.WQX)(layout_service.u);header=(0,core.input)(!0);footer=(0,core.input)(!0);subscription=new Subscription.yU;contentSize=null;headerValue=(0,_effect_chunk2.vPA)(!0);footerValue=(0,_effect_chunk2.vPA)(!0);headerElement=(0,core.viewChild)("headerElement");footerElement=(0,core.viewChild)("footerElement");constructor(){(0,_debug_node_chunk.mal)(()=>{this.headerValue.set(this.header()&&0!==(this.headerElement()?.nativeElement.children.length??0)),this.footerValue.set(this.footer()&&0!==(this.footerElement()?.nativeElement.children.length??0))})}ngOnInit(){this.headerValue.set(this.header()),this.footerValue.set(this.footer()),this.subscription.add(this.storage.watch(ui_config_types.y.storeName).subscribe(()=>{this.contentSize=this.layoutService.getLayoutSize()?.content??null,this.contentSize&&this.element.nativeElement.setAttribute("style",`height:${this.contentSize.height}px`)}))}ngOnDestroy(){this.subscription.unsubscribe()}static ctorParameters=()=>[];static propDecorators={header:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"header",required:!1,transform:void 0}]}],footer:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"footer",required:!1,transform:void 0}]}],headerElement:[{type:core.ViewChild,args:["headerElement",{isSignal:!0}]}],footerElement:[{type:core.ViewChild,args:["footerElement",{isSignal:!0}]}]}};UiLayoutTopScrollBottomComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-layout-top-scroll-bottom, ui-top-scroll-bottom",template:'<div class="_wrapper">\n @if (headerValue()) {\n <header #headerElement>\n <ng-content select="[header]"></ng-content>\n </header>\n }\n\n <div class="_content">\n <ng-content select="[content]"></ng-content>\n </div>\n\n @if (footerValue()) {\n <footer #footerElement>\n <ng-content select="[footer]"></ng-content>\n </footer>\n }\n</div>\n',encapsulation:_debug_node_chunk.gXe.Emulated,styles:[top_scroll_bottom_componentngResource_default()]}),(0,tslib_es6.Sn)("design:paramtypes",[])],UiLayoutTopScrollBottomComponent);const meta={title:"Layout/Top Scroll Bottom",decorators:[(0,dist.Iz)({providers:[],declarations:[],imports:[main_component.z,UiLayoutTopScrollBottomComponent]})],argTypes:{header:{control:"boolean"},footer:{control:"boolean"}}},loop=times=>{let output="";for(let i=0;i<times;i++)output=`${output} - content - ${i}<br>`;return output},top_scroll_bottom_component_stories=meta,TopScrollBottom={args:{header:!0,footer:!0},render:args=>({props:{...args,prefix:ui_config_types.Q},template:`\n <ui-layout-main [cssPrefix]="prefix">\n <strong main-header class="flex p-4 bg-[var(--ui-c-secondary)]">layout header</strong>\n <ui-layout-top-scroll-bottom main-content [header]="header" [footer]="footer">\n <span class="flex p-4" header>component header</span>\n <span class="flex p-4" content>${loop(100)}</span>\n <span class="flex p-4" footer>component footer</span>\n </ui-layout-top-scroll-bottom>\n <strong main-footer class="flex p-4 bg-[var(--ui-c-secondary)]">layout footer</strong>\n </ui-layout-main>\n `})},__namedExportsOrder=["TopScrollBottom"];TopScrollBottom.parameters={...TopScrollBottom.parameters,docs:{...TopScrollBottom.parameters?.docs,source:{originalSource:'{\n args: {\n header: true,\n footer: true\n },\n render: args => {\n return {\n props: {\n ...args,\n prefix: uiConfigStorybookCssPrefix\n },\n template: `\n <ui-layout-main [cssPrefix]="prefix">\n <strong main-header class="flex p-4 bg-[var(--ui-c-secondary)]">layout header</strong>\n <ui-layout-top-scroll-bottom main-content [header]="header" [footer]="footer">\n <span class="flex p-4" header>component header</span>\n <span class="flex p-4" content>${loop(100)}</span>\n <span class="flex p-4" footer>component footer</span>\n </ui-layout-top-scroll-bottom>\n <strong main-footer class="flex p-4 bg-[var(--ui-c-secondary)]">layout footer</strong>\n </ui-layout-main>\n `\n };\n }\n}',...TopScrollBottom.parameters?.docs?.source}}}},"./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n:host {\n position: relative;\n display: flex;\n width: 100%;\n max-height: 100%;\n ._wrapper,\n header,\n ._content,\n footer {\n display: flex;\n flex-flow: column;\n width: 100%;\n }\n\n header {\n background-color: var(--ui-c-primary);\n flex: 0 0;\n }\n\n ._content {\n flex: 1 1;\n background-color: var(--ui-c-background);\n overflow: auto;\n }\n\n footer {\n flex: 0 0;\n background-color: var(--ui-c-primary);\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[3190],{"./libs/ui/.storybook/blocks/guide.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Ay:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_guide_entries__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/.storybook/blocks/guide.entries.js"),_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.model.mjs");const Link=({href,children})=>href?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.zE,{href,children}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children}),Sentences=({items})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{children:items.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:s},i))}),Block=({of,entry})=>{const m=(0,_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__.Cc)(entry,_guide_entries__WEBPACK_IMPORTED_MODULE_4__.H,of);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("section",{className:"ui-guide",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h4",{children:["Guide — a recommendation, not the truth",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[" · reviewed ",m.reviewed]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:["Written by an agent from the sources below, only for what runs in the house."," ","component"===m.kind?"The section above is what the component does; this is what to reach for it for.":"The pages of the parts say what each does; this is what they are for together."," ","Where the two disagree, the page wins."]}),m.uses.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Builds on"})," ",m.uses.map((u,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:u.href,children:u.selector})]},u.selector))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Use it for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.useFor}),m.notFor.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Not for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.notFor})]}),m.instead.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Instead"})," ",m.instead.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.selector})]},s.selector))]}),m.note&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Note"})," ",m.note]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Shown in"})," ",m.shownIn.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&" · ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.label})]},s.label))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Sources"})," ",m.sources.join(" · ")]})})]})};function _createMdxContent(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:["\n","\n","\n","\n","\n","\n","\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Block,{of:props.of,entry:props.entry})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/molecules/image-editor/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_image_editor_component_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/molecules/image-editor/image-editor.component.stories.ts"),_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.mdx"),_guide_ui_image_editor_json__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./libs/ui/guide/ui-image-editor.json");function _createMdxContent(props){const _components={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_image_editor_component_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"image-editor",children:"Image Editor"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["An editor for a single image. The user can delete the current image or\nupload a new one (PNG, GIF or JPEG), crop it (freely or locked to an aspect\nratio) and the result is converted to a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"JPEG entirely in the browser"})," via a\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<canvas>"})," (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"toBlob('image/jpeg', quality)"}),"). The finished blob is emitted through\nthe ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"save"})," output — the component itself never talks to a backend, so it is\nreusable across apps."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Client-side conversion means the server only has to store a small, finished\nJPEG: no server-side image library is required."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"what-it-does-and-what-it-does-not",children:"What it does, and what it does not"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Edits one image in the browser: upload (PNG, GIF, JPEG), crop freely or to an\naspect ratio, delete, and emit the result as a JPEG blob through ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"save"}),". It\nnever talks to a backend and keeps no image beyond the one it is shown. It comes\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"embedded"})," in the flow or as an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"overlay"})," — the same editor, not two. It is the\nlibrary's only molecule: it composes the overlay, the overlay header, the crop\nbox and the slider."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__.Ay,{of:"ui-image-editor",entry:_guide_ui_image_editor_json__WEBPACK_IMPORTED_MODULE_6__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"variants",children:"Variants"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The same content comes in two presentations, selected by the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"variant"})," input:"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"embedded"})})," (default): the editor stands in the document flow like any\nother element — no frame, no backdrop, no focus trap, no Escape semantics.\nIt fills the width it is given; the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"maximum width is set by the consumer"}),"\nvia styles on the host or a wrapping element, the minimum emerges from the\nfooter button row (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"flex-wrap"})," as a safety net for very narrow screens).\nDelete and Save return the editor to a clean view mode instead of closing\nanything, and leaving the crop stage is the Crop button's own second press —\nthe consumer provides whatever closes the editor itself; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"active"})," and\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"activeOutput"})," are not used."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"overlay"})}),": wraps the editor in the ui overlay as before — backdrop,\nfocus trap, Escape and the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"active"})," / ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"activeOutput"})," pair."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"open-story",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/molecules-image-editor--with-image",children:"Open story"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:'<ui-image-editor\n [imageUrl]="currentCover()"\n [aspectRatio]="2 / 3"\n (save)="onCoverSaved($event)"\n (deleteImage)="onCoverDeleted()"\n></ui-image-editor>\n'})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"usage-overlay",children:"Usage (overlay)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"open-story-1",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/molecules-image-editor--overlay",children:"Open story"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:'<ui-image-editor\n variant="overlay"\n [active]="editorActive()"\n [imageUrl]="currentCover()"\n [aspectRatio]="2 / 3"\n (save)="onCoverSaved($event)"\n (deleteImage)="onCoverDeleted()"\n (activeOutput)="editorActive.set($event)"\n></ui-image-editor>\n'})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"with-an-existing-image",children:"With an existing image"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"open-story-2",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/molecules-image-editor--with-image",children:"Open story"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Opening with an image shows it in view mode. The footer offers ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Delete"}),",\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Upload"})," (pick a new file), ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Crop"})," (edit the current image without\nre-uploading) and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Save"}),". Both ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Upload"})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Crop"})," switch to the crop\nstage; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Save"})," is enabled there. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Crop"})," switches back out again — it is a\ntoggle, not a one-way door."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The crop box works by pointer and by keyboard alike: it is a tab stop, the\narrow keys pan it, Shift with an arrow resizes it from the south-east corner\n— a locked ratio holds exactly as it does for a pointer on that corner. This\npage is the only place that says so: the hint that used to sit under the box\nnamed the arrow keys but not the corner, which sent readers to pull at the\nwrong edge."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"locked-aspect-ratio",children:"Locked aspect ratio"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"open-story-3",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/molecules-image-editor--poster-ratio",children:"Open story"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Passing ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"aspectRatio"})," (e.g. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"2 / 3"})," for a poster) constrains the crop box while\nresizing; the height follows the width automatically. Only the corner handles\nare shown in this mode."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"empty-state",children:"Empty state"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"open-story-4",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/molecules-image-editor--empty",children:"Open story"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Without an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"imageUrl"})," the editor shows an empty placeholder and only the upload\naction."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"footer-buttons",children:"Footer buttons"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Four icon buttons on one row (grey surface, tinted icons where it helps). Each\ncarries a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"title"}),"/",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"aria-label"})," tooltip. Muted buttons keep the same grey\nbackground — only their icon is dimmed, in its normal colour, so it stays\nreadable against that surface. The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/molecules-image-editor--empty",children:"empty state"}),"\nshows this: with no image, Crop, Delete and Save are all muted."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Crop is muted, never disabled"}),", and that is a keyboard decision rather than\na visual one. Pressing it used to switch it off — entering the crop stage made\nits own condition false — and a disabled element is not focusable, so the\nfocus was dropped by the very press that moved the editor forward, in a\ncomponent whose crop box is meant to be operated by keyboard. It therefore\ncarries ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:'aria-disabled="true"'})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"aria-pressed"}),", stays reachable in every\nstate, and does nothing when there is nothing to crop (see the house rule in\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"usage.md"}),', "Disabled controls and the keyboard").']}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Delete and Save still use the attribute, and that is an open end rather than a\ndistinction: pressing Delete removes the image, which is the condition Delete\nreads, and pressing Save leaves the crop stage, which is the condition Save\nreads — so both switch themselves off under the focus that pressed them, for\nthe same reason Crop did. Crop was fixed first because it is the one you press\ntwice. The other two are named here so the gap is on the page instead of in\nsomeone's memory."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Button"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Icon"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Enabled when"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Action"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Upload"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"add_a_photo"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"always"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Opens the file picker; a chosen PNG/GIF/JPEG enters the crop stage."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Crop (toggle)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"crop"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["always reachable; muted (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"aria-disabled"}),") without an image"]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Loads the current image into the crop stage — and a second press discards the crop and returns to view. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"aria-pressed"})," says which state it is in."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Delete (red icon)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"delete"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"an image exists"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Emits ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"deleteImage"})," and closes the overlay (embedded: resets to view)."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Save (green icon when active)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"save"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"crop stage and not converting"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Converts the crop to a JPEG, emits ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"save"}),", closes the overlay (embedded: resets to view)."]})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Rejecting a file (wrong type or over the size limit) shows an inline error and\nstays in the current stage."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"inputs",children:"Inputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Name"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Default"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"variant"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"'embedded' | 'overlay'"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"'embedded'"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"In-flow presentation or the ui overlay."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"active"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"boolean"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"false"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Opens/closes the overlay (overlay variant only)."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"imageUrl"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"string | null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"The current image shown when the editor opens."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"aspectRatio"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number | null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Locks the crop to this width/height ratio; null allows free cropping."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"maxWidth"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"1200"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Maximum output width in pixels; height follows the crop ratio."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"quality"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"0.75"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"JPEG quality (0..1) of the converted output."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"maxFileSizeMb"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"10"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Rejects source files larger than this (megabytes)."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"headline"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"string | null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Optional overlay title; falls back to the imageEditor.title key."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"overlayDirection"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"'center' | 'top' | 'bottom' | 'left' | 'right' | null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Side the overlay slides in from (overlay variant only); null keeps the\noverlay's own centre default. Use 'left'/'right' to make the editor a\ndrawer that matches an app's navigation panel."})})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"overlayFitContent"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"boolean"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"false"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Sizes the overlay to its content instead of the available height\n(overlay variant only) — see the overlay's own fitContent. Keeps a sheet\nholding a small image from standing there as a tall, empty column."})})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The overlay variant always runs with the overlay's ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"viewportHeight"}),": a sheet\nbelongs to the browser window, not to the document. Without it the percentage\nheights resolve against a transformed ancestor's box, and inside a long page\nthat stretches the sheet to the full document height — header and footer end up\nfar outside the visible area."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"outputs",children:"Outputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Name"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Payload"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"save"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Blob"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"The converted JPEG when the user saves."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"deleteImage"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"void"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Emitted when the user deletes the current image."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"activeOutput"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"boolean"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Forwards the overlay close event (emits false; overlay variant only)."})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}}}]);
|
package/storybook/project.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1788695279684,"userSince":1772191366759,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"knownPackages":{"testPackages":{"@ngneat/spectator":"22.1.0","@playwright/test":"1.61.1","@vitest/coverage-v8":"4.1.10","vitest":"4.1.10"},"stylingPackages":{"tailwindcss":"^4.3.2"}},"hasRouterPackage":true,"monorepo":"Nx","packageManager":{"type":"npm","agent":"npm","nodeLinker":"node_modules"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/angular","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/angular","portableStoriesFileCount":0,"applicationFileCount":6,"storybookVersion":"10.4.6","storybookVersionSpecifier":"^10.4.6","language":"typescript","storybookPackages":{"@nx/storybook":{"version":"23.0.1"},"@storybook/angular":{"version":"10.4.6"},"eslint-plugin-storybook":{"version":"10.4.6"},"storybook":{}},"addons":{"@storybook/addon-docs":{"version":"10.4.6"}},"packageJsonType":"unknown"}
|
package/storybook/{runtime~main.786a8152.iframe.bundle.js → runtime~main.805054f3.iframe.bundle.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i<deferred.length;i++){for(var[chunkIds,fn,priority]=deferred[i],fulfilled=!0,j=0;j<chunkIds.length;j++)(!1&priority||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every(key=>__webpack_require__.O[key](chunkIds[j]))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();void 0!==r&&(result=r)}}return result}priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;("object"==typeof current||"function"==typeof current)&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value[key]);return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises),[])),__webpack_require__.u=chunkId=>(({128:"home-overview-mdx",166:"forms-autofocus-docs-mdx",365:"layout-spinner-docs-mdx",533:"atoms-inline-spinner-inline-spinner-component-stories",943:"examples-image-grid-slider-docs-mdx",947:"layout-splitter-docs-mdx",977:"forms-switch-docs-mdx",1043:"layout-spinner-spinner-component-stories",1165:"styling-tags-tags-component-stories",1296:"examples-docs-mdx",1322:"atoms-_electrons-form-error-message-form-error-message-component-stories",1327:"cdk-components-drag-and-drop-splitter-docs-mdx",1365:"_external-mwork-music-player-mwork-music-player-stories",1461:"atoms-image-slider-image-slider-component-stories",1481:"examples-layout-docs-mdx",1686:"forms-input-input-component-stories",1809:"atoms-clock-clock-component-stories",1838:"styling-colors-docs-mdx",1860:"forms-autocomplete-autocomplete-component-stories",1927:"styling-tags-docs-mdx",1954:"atoms-mosaic-docs-mdx",1977:"styling-forms-forms-component-stories",2006:"atoms-background-docs-mdx",2074:"atoms-_electrons-form-error-message-docs-mdx",2168:"layout-overlay-docs-mdx",2193:"atoms-qr-code-docs-mdx",2379:"_external-mwork-basic-interpreter-mwork-basic-interpreter-stories",2425:"atoms-chart-chart-component-stories",2690:"atoms-_electrons-loader-loader-component-stories",2831:"atoms-mosaic-mosaic-component-stories",2960:"atoms-lang-selector-docs-mdx",3007:"atoms-copy-value-docs-mdx",3045:"atoms-placeholder-placeholder-component-stories",3048:"forms-switch-switch-component-stories",3073:"layout-top-scroll-bottom-docs-mdx",3143:"home-tips-mdx",3146:"atoms-image-grid-docs-mdx",3151:"layout-media-screen-docs-mdx",3190:"molecules-image-editor-docs-mdx",3260:"_external-mwork-music-player-docs-mdx",3277:"atoms-lang-selector-lang-selector-component-stories",3338:"styling-ui-tags-docs-mdx",3550:"atoms-reader-doc-docs-mdx",3651:"layout-media-screen-media-screen-component-stories",3678:"forms-checkbox-checkbox-component-stories",3685:"atoms-rating-rating-component-stories",3752:"_external-mwork-basic-interpreter-docs-mdx",3767:"home-guide-mdx",3837:"layout-main-docs-mdx",3842:"home-usage-mdx",3853:"atoms-copy-value-copy-value-component-stories",3857:"styling-forms-docs-mdx",3925:"atoms-thumb-thumb-component-stories",3999:"atoms-reader-doc-reader-doc-component-stories",4067:"atoms-text-animate-docs-mdx",4271:"cdk-components-drag-and-drop-splitter-splitter-component-stories",4320:"atoms-buzzer-docs-mdx",4365:"atoms-qr-code-qr-code-component-stories",4447:"atoms-timer-docs-mdx",4713:"atoms-typewriter-typewriter-component-stories",4806:"atoms-typewriter-docs-mdx",4814:"atoms-_electrons-loader-docs-mdx",4855:"atoms-background-background-component-stories",4939:"forms-input-docs-mdx",4947:"atoms-card-card-component-stories",5084:"atoms-clock-docs-mdx",5233:"styling-ui-tags-ui-tags-component-stories",5370:"atoms-thumb-docs-mdx",5493:"examples-table-edit-focus-docs-mdx",5684:"examples-layout-layout-stories",5995:"styling-colors-colors-component-stories",6020:"forms-chip-chip-component-stories",6189:"atoms-timer-timer-component-stories",6203:"atoms-placeholder-docs-mdx",6212:"cdk-components-table-table-component-stories",6252:"forms-slider-docs-mdx",6331:"layout-splitter-splitter-component-stories",6354:"forms-validators-validators-component-stories",6501:"_external-mwork-banner-docs-mdx",6569:"cdk-components-table-docs-mdx",6659:"layout-overlay-overlay-component-stories",6768:"examples-transloco-docs-mdx",6892:"layout-tabs-docs-mdx",6922:"forms-slider-slider-component-stories",6978:"atoms-chart-docs-mdx",7363:"forms-chip-docs-mdx",7419:"atoms-buzzer-buzzer-component-stories",7586:"forms-validators-docs-mdx",7600:"styling-layers-docs-mdx",7653:"styling-icons-icons-component-stories",7683:"layout-main-main-component-stories",7819:"atoms-rating-docs-mdx",7837:"forms-autocomplete-docs-mdx",7867:"_external-mwork-banner-mwork-banner-stories",7877:"atoms-text-animate-text-animate-component-stories",7893:"styling-css-variables-docs-mdx",7947:"atoms-image-slider-docs-mdx",8039:"atoms-image-grid-image-grid-component-stories",8092:"styling-icons-docs-mdx",8108:"forms-checkbox-docs-mdx",8180:"molecules-image-editor-image-editor-component-stories",8753:"layout-tabs-tabs-component-stories",8852:"atoms-card-docs-mdx",8931:"atoms-inline-spinner-docs-mdx",8938:"examples-image-grid-slider-image-grid-slider-stories",9042:"layout-overlay-header-docs-mdx",9044:"examples-transloco-transloco-component-stories",9217:"atoms-barcode-barcode-component-stories",9236:"forms-autofocus-autofocus-stories",9240:"layout-overlay-header-header-component-stories",9475:"layout-nav-nav-component-stories",9652:"examples-burger-menu-stories",9653:"layout-nav-docs-mdx",9779:"layout-top-scroll-bottom-top-scroll-bottom-component-stories",9836:"examples-table-edit-focus-table-edit-focus-stories",9918:"atoms-barcode-docs-mdx"}[chunkId]||chunkId)+"."+{128:"0e32f57f",166:"39611362",365:"03741741",533:"76f59aa8",660:"18f0458e",813:"805c1e5f",871:"428deceb",943:"d3578699",947:"bf161b39",973:"67f44bb0",977:"9d58a341",1043:"69ae1389",1165:"7a64bd20",1183:"da25800b",1255:"2abec879",1296:"3111f2c6",1322:"7f749acc",1327:"f12088fd",1365:"26c06b83",1461:"484b9c41",1481:"bbacdfd2",1516:"52d2dae7",1686:"609db3f0",1809:"d1464731",1838:"95c504e4",1860:"443544e0",1927:"23ab2316",1954:"1aebfbdf",1977:"8af76278",2006:"4f102c17",2033:"c705a7ce",2074:"5b9e78fe",2089:"32694489",2096:"431fc8f5",2127:"29f153d2",2168:"823351e0",2193:"4202568d",2228:"77650ef1",2249:"6e6782ab",2379:"3252a9b8",2425:"5247b7cb",2621:"b3ba2291",2639:"29baa8af",2690:"8edadc42",2831:"c2ec95f2",2844:"c9f47654",2960:"a327a27f",2971:"edb202b4",3007:"f404dcd2",3045:"bc221534",3048:"bf67d7c9",3073:"ddc061f8",3143:"26df81d8",3146:"8161de39",3151:"b0ca9a06",3190:"805dcd5a",3260:"3d0f7156",3277:"41d7efd1",3338:"8f75631d",3550:"1860338f",3651:"7941c064",3678:"d45b4f0d",3685:"982db47d",3752:"03c6205c",3767:"1a176b15",3837:"4c9208c5",3842:"fc05feec",3853:"58d3956a",3857:"943e72f2",3899:"55560628",3925:"f7e9dbae",3968:"69b812e4",3999:"8ccd618b",4067:"05e1baf4",4255:"eeeaf087",4271:"286b5171",4320:"23eb1913",4365:"5018e2b0",4425:"368129b3",4447:"6f724cc8",4476:"f8e4115f",4495:"d1c8cc8d",4555:"e26d162c",4713:"80f07c89",4806:"993bc264",4814:"1176957f",4855:"b6b50c0c",4935:"8959522b",4939:"72d0e99a",4947:"065b34e9",5084:"501e6780",5233:"2ec3109b",5370:"7286b617",5493:"3c0d1611",5568:"c6172f92",5684:"05cd891f",5944:"810cb147",5995:"58031f40",6020:"90a45ea4",6115:"7f1470ef",6169:"eaeed989",6189:"9bee1037",6202:"b8ca0e90",6203:"cd2f3976",6212:"db9212fd",6252:"120cefc6",6331:"46b8b112",6354:"9525f97b",6501:"0d5549a0",6569:"cc2c11e7",6659:"01f6cd84",6768:"97df7022",6824:"f5eb8bb7",6892:"89d83606",6922:"058fb9b1",6978:"204609d4",7316:"5b024e94",7363:"01e1b518",7419:"13ee130d",7586:"ebb47a43",7600:"a563260e",7653:"2dd8c6f8",7683:"788c0c54",7749:"2a853795",7819:"32fa4104",7837:"09beba1b",7867:"d44f6917",7877:"8041c0f1",7893:"48afb4f3",7947:"c616bb37",8039:"8290e900",8051:"719eb790",8092:"e1001dfd",8108:"74036eb7",8180:"fbfeff1b",8448:"1baeb046",8753:"8602cefa",8819:"220ca21d",8852:"7d276114",8931:"a98163b8",8938:"cda91b79",9042:"394033ca",9044:"5baea2e2",9045:"46ed3f61",9217:"dc462559",9236:"2e94d887",9240:"5eaef192",9475:"766738fc",9560:"668052f3",9652:"0a083a75",9653:"cc919f94",9779:"9ee7055f",9836:"c79e214a",9850:"28367747",9918:"b74c501b",9946:"36014b4e"}[chunkId]+".iframe.bundle.js"),__webpack_require__.miniCssF=chunkId=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="moja-work:"+key){script=s;break}}script||(needAttach=!0,(script=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","moja-work:"+key),script.src=url),inProgress[url]=[done];var onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach(fn=>fn(event)),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.p="",(()=>{var installedChunks={5354:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(5354!=chunkId){var promise=new Promise((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]);promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}},"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,i=0;if(chunkIds.some(id=>0!==installedChunks[id])){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkmoja_work=self.webpackChunkmoja_work||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
|
|
1
|
+
(()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i<deferred.length;i++){for(var[chunkIds,fn,priority]=deferred[i],fulfilled=!0,j=0;j<chunkIds.length;j++)(!1&priority||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every(key=>__webpack_require__.O[key](chunkIds[j]))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();void 0!==r&&(result=r)}}return result}priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;("object"==typeof current||"function"==typeof current)&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value[key]);return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises),[])),__webpack_require__.u=chunkId=>(({128:"home-overview-mdx",166:"forms-autofocus-docs-mdx",365:"layout-spinner-docs-mdx",533:"atoms-inline-spinner-inline-spinner-component-stories",943:"examples-image-grid-slider-docs-mdx",947:"layout-splitter-docs-mdx",977:"forms-switch-docs-mdx",1043:"layout-spinner-spinner-component-stories",1165:"styling-tags-tags-component-stories",1296:"examples-docs-mdx",1322:"atoms-_electrons-form-error-message-form-error-message-component-stories",1327:"cdk-components-drag-and-drop-splitter-docs-mdx",1365:"_external-mwork-music-player-mwork-music-player-stories",1461:"atoms-image-slider-image-slider-component-stories",1481:"examples-layout-docs-mdx",1686:"forms-input-input-component-stories",1809:"atoms-clock-clock-component-stories",1838:"styling-colors-docs-mdx",1860:"forms-autocomplete-autocomplete-component-stories",1927:"styling-tags-docs-mdx",1954:"atoms-mosaic-docs-mdx",1977:"styling-forms-forms-component-stories",2006:"atoms-background-docs-mdx",2074:"atoms-_electrons-form-error-message-docs-mdx",2168:"layout-overlay-docs-mdx",2193:"atoms-qr-code-docs-mdx",2379:"_external-mwork-basic-interpreter-mwork-basic-interpreter-stories",2425:"atoms-chart-chart-component-stories",2690:"atoms-_electrons-loader-loader-component-stories",2831:"atoms-mosaic-mosaic-component-stories",2960:"atoms-lang-selector-docs-mdx",3007:"atoms-copy-value-docs-mdx",3045:"atoms-placeholder-placeholder-component-stories",3048:"forms-switch-switch-component-stories",3073:"layout-top-scroll-bottom-docs-mdx",3143:"home-tips-mdx",3146:"atoms-image-grid-docs-mdx",3151:"layout-media-screen-docs-mdx",3190:"molecules-image-editor-docs-mdx",3260:"_external-mwork-music-player-docs-mdx",3277:"atoms-lang-selector-lang-selector-component-stories",3338:"styling-ui-tags-docs-mdx",3550:"atoms-reader-doc-docs-mdx",3651:"layout-media-screen-media-screen-component-stories",3678:"forms-checkbox-checkbox-component-stories",3685:"atoms-rating-rating-component-stories",3752:"_external-mwork-basic-interpreter-docs-mdx",3767:"home-guide-mdx",3837:"layout-main-docs-mdx",3842:"home-usage-mdx",3853:"atoms-copy-value-copy-value-component-stories",3857:"styling-forms-docs-mdx",3925:"atoms-thumb-thumb-component-stories",3999:"atoms-reader-doc-reader-doc-component-stories",4067:"atoms-text-animate-docs-mdx",4271:"cdk-components-drag-and-drop-splitter-splitter-component-stories",4320:"atoms-buzzer-docs-mdx",4365:"atoms-qr-code-qr-code-component-stories",4447:"atoms-timer-docs-mdx",4713:"atoms-typewriter-typewriter-component-stories",4806:"atoms-typewriter-docs-mdx",4814:"atoms-_electrons-loader-docs-mdx",4855:"atoms-background-background-component-stories",4939:"forms-input-docs-mdx",4947:"atoms-card-card-component-stories",5084:"atoms-clock-docs-mdx",5233:"styling-ui-tags-ui-tags-component-stories",5370:"atoms-thumb-docs-mdx",5493:"examples-table-edit-focus-docs-mdx",5684:"examples-layout-layout-stories",5995:"styling-colors-colors-component-stories",6020:"forms-chip-chip-component-stories",6189:"atoms-timer-timer-component-stories",6203:"atoms-placeholder-docs-mdx",6212:"cdk-components-table-table-component-stories",6252:"forms-slider-docs-mdx",6331:"layout-splitter-splitter-component-stories",6354:"forms-validators-validators-component-stories",6501:"_external-mwork-banner-docs-mdx",6569:"cdk-components-table-docs-mdx",6659:"layout-overlay-overlay-component-stories",6768:"examples-transloco-docs-mdx",6892:"layout-tabs-docs-mdx",6922:"forms-slider-slider-component-stories",6978:"atoms-chart-docs-mdx",7363:"forms-chip-docs-mdx",7419:"atoms-buzzer-buzzer-component-stories",7586:"forms-validators-docs-mdx",7600:"styling-layers-docs-mdx",7653:"styling-icons-icons-component-stories",7683:"layout-main-main-component-stories",7819:"atoms-rating-docs-mdx",7837:"forms-autocomplete-docs-mdx",7867:"_external-mwork-banner-mwork-banner-stories",7877:"atoms-text-animate-text-animate-component-stories",7893:"styling-css-variables-docs-mdx",7947:"atoms-image-slider-docs-mdx",8039:"atoms-image-grid-image-grid-component-stories",8092:"styling-icons-docs-mdx",8108:"forms-checkbox-docs-mdx",8180:"molecules-image-editor-image-editor-component-stories",8753:"layout-tabs-tabs-component-stories",8852:"atoms-card-docs-mdx",8931:"atoms-inline-spinner-docs-mdx",8938:"examples-image-grid-slider-image-grid-slider-stories",9042:"layout-overlay-header-docs-mdx",9044:"examples-transloco-transloco-component-stories",9217:"atoms-barcode-barcode-component-stories",9236:"forms-autofocus-autofocus-stories",9240:"layout-overlay-header-header-component-stories",9475:"layout-nav-nav-component-stories",9652:"examples-burger-menu-stories",9653:"layout-nav-docs-mdx",9779:"layout-top-scroll-bottom-top-scroll-bottom-component-stories",9836:"examples-table-edit-focus-table-edit-focus-stories",9918:"atoms-barcode-docs-mdx"}[chunkId]||chunkId)+"."+{128:"9b160561",166:"ce239261",365:"d4e5afec",533:"76f59aa8",660:"18f0458e",813:"805c1e5f",871:"5a781df6",943:"e56160ef",947:"6b0e4fd2",973:"67f44bb0",977:"832228cb",1043:"6b27a0bf",1165:"7a64bd20",1183:"fafda52d",1255:"2abec879",1296:"1a9d8db0",1322:"7f749acc",1327:"0aa5b787",1365:"26c06b83",1461:"484b9c41",1481:"d7d6f90b",1516:"52d2dae7",1686:"b68ea104",1809:"d1464731",1838:"3f513a8d",1860:"443544e0",1927:"ce4814c9",1954:"738f012c",1977:"8af76278",2006:"0e861f2c",2033:"986e1406",2074:"9382b0cb",2089:"d5a3e21e",2096:"431fc8f5",2127:"d7de271b",2168:"a680859b",2193:"c47f67c9",2228:"7013a637",2249:"6e6782ab",2379:"3252a9b8",2425:"5247b7cb",2621:"b3ba2291",2639:"7f497882",2690:"8edadc42",2831:"c2ec95f2",2844:"c9f47654",2960:"0487b819",2971:"036e7a14",3007:"fbe168e2",3045:"bc221534",3048:"bf67d7c9",3073:"42c18a0d",3143:"24dc3e35",3146:"9df158a9",3151:"c382b73b",3190:"dba18ee6",3260:"46f4887e",3277:"41d7efd1",3338:"d94258ab",3550:"f5375a37",3651:"7941c064",3678:"df3196e5",3685:"982db47d",3752:"81168b4c",3767:"2f32ffc1",3837:"445bce2a",3842:"fc05feec",3853:"58d3956a",3857:"649ae948",3899:"55560628",3925:"f7e9dbae",3968:"3c931220",3999:"8ccd618b",4067:"152fc1bd",4255:"eeeaf087",4271:"286b5171",4320:"f9daf952",4365:"5018e2b0",4425:"7f753a38",4447:"686f0392",4476:"1b913b82",4495:"d1c8cc8d",4555:"574c843f",4713:"3a4f5356",4806:"a6c3f6b0",4814:"e8bb9642",4855:"b6b50c0c",4935:"f88465d9",4939:"56627297",4947:"065b34e9",5084:"6864626c",5233:"2ec3109b",5370:"525fc046",5493:"55960e55",5568:"be85a9aa",5684:"05cd891f",5944:"810cb147",5995:"58031f40",6020:"90a45ea4",6115:"7f1470ef",6169:"eaeed989",6189:"9bee1037",6202:"b8ca0e90",6203:"7d376291",6212:"db9212fd",6252:"68b9e21c",6331:"46b8b112",6354:"9525f97b",6501:"f33bbf56",6569:"74bd247c",6659:"01f6cd84",6768:"46447d84",6824:"4b8f7b0a",6892:"aad59db3",6922:"058fb9b1",6978:"29f10b89",7316:"5b024e94",7363:"89a48075",7419:"13ee130d",7586:"e11fe615",7600:"d810a2c8",7653:"2dd8c6f8",7683:"788c0c54",7749:"2a853795",7819:"d7df9a29",7837:"698eef62",7867:"d44f6917",7877:"8041c0f1",7893:"5a090407",7947:"4ae341f5",8039:"8290e900",8051:"dbaf9937",8092:"e3ed5ebd",8108:"890972f3",8180:"fbfeff1b",8448:"1baeb046",8753:"8602cefa",8819:"8e56201f",8852:"f8b63920",8931:"8b942147",8938:"cda91b79",9042:"6eb6e326",9044:"5baea2e2",9045:"46ed3f61",9217:"dc462559",9236:"2e94d887",9240:"5eaef192",9475:"766738fc",9560:"668052f3",9652:"0a083a75",9653:"92eac076",9779:"9ee7055f",9836:"c79e214a",9850:"5a17be74",9918:"78b610dc",9946:"6fea16dc"}[chunkId]+".iframe.bundle.js"),__webpack_require__.miniCssF=chunkId=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="moja-work:"+key){script=s;break}}script||(needAttach=!0,(script=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","moja-work:"+key),script.src=url),inProgress[url]=[done];var onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach(fn=>fn(event)),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.p="",(()=>{var installedChunks={5354:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(5354!=chunkId){var promise=new Promise((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]);promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}},"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,i=0;if(chunkIds.some(id=>0!==installedChunks[id])){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkmoja_work=self.webpackChunkmoja_work||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[1838,5995],{"./libs/ui/.storybook/demos/header/header.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>UiInternHeaderComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var header_componentngResource=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.css?ngResource"),header_componentngResource_default=__webpack_require__.n(header_componentngResource),_common_module_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),ui_config_types=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");let UiInternHeaderComponent=class UiInternHeaderComponent{layoutService=(0,_effect_chunk2.WQX)(layout_service.u);theme=(0,core.input)(null);display=(0,core.input)(!1,{transform:core.booleanAttribute});onTop=(0,core.input)(!1,{transform:core.booleanAttribute});ngOnInit(){this.layoutService.handleTheme(this.theme(),ui_config_types.Q)}ngOnDestroy(){this.layoutService.handleTheme("theme-light",ui_config_types.Q)}setTheme(){this.layoutService.handleTheme(null,ui_config_types.Q)}static propDecorators={theme:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"theme",required:!1,transform:void 0}]}],display:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"display",required:!1,transform:void 0}]}],onTop:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"onTop",required:!1,transform:void 0}]}]}};UiInternHeaderComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-intern-header",template:'@if (display()) {\n <button class="ui" [class._on-top]="onTop()" (click)="setTheme()">\n switch Theme\n </button>\n}\n',encapsulation:_debug_node_chunk.gXe.Emulated,standalone:!0,imports:[_common_module_chunk.MD],styles:[header_componentngResource_default()]})],UiInternHeaderComponent)},"./libs/ui/src/config/ui-config.types.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>uiConfigStorybookCssPrefix,y:()=>uiConfigTypes});const uiConfigStorybookCssPrefix="ui-storybook ",uiConfigTypes={mainID:"ui-main",mainClass:"ui-main",storeName:"ui-layout"}},"./libs/ui/src/lib/atoms/card/card.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>UiCardComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var card_componentngResource=__webpack_require__("./libs/ui/src/lib/atoms/card/card.component.css?ngResource"),card_componentngResource_default=__webpack_require__.n(card_componentngResource),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs");let UiCardComponent=class UiCardComponent{headline=(0,core.input)(null);icon=(0,core.input)(null);iconSize=(0,core.input)(null);static propDecorators={headline:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"headline",required:!1,transform:void 0}]}],icon:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"icon",required:!1,transform:void 0}]}],iconSize:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"iconSize",required:!1,transform:void 0}]}]}};UiCardComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-card",template:'<div>\n <div class="_wrapper">\n @if (icon()) {\n \x3c!-- The ligature name is text content, so a screen reader would read out\n "lock_open" or "shopping_cart". The card offers a `headline` right\n next to it, which is where the meaning belongs — the icon here is\n decoration and says so. --\x3e\n <div\n class="ui-icon"\n aria-hidden="true"\n [class.x1]="iconSize() === \'x1\'"\n [class.x2]="iconSize() === \'x2\'"\n [class.x3]="iconSize() === \'x3\'"\n [class.x4]="iconSize() === \'x4\' || !iconSize()"\n >\n {{ icon() }}\n </div>\n }\n @if (headline()) {\n <div class="ui-h4">\n <strong>{{ headline() }}</strong>\n </div>\n }\n <ng-content></ng-content>\n </div>\n</div>\n',encapsulation:_debug_node_chunk.gXe.None,styles:[card_componentngResource_default()]})],UiCardComponent)},"./libs/ui/src/lib/atoms/copy-value/copy-value.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>UiCopyValueComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var copy_value_componentngResource=__webpack_require__("./libs/ui/src/lib/atoms/copy-value/copy-value.component.css?ngResource"),copy_value_componentngResource_default=__webpack_require__.n(copy_value_componentngResource),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),ngneat_transloco=__webpack_require__("./node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs");let UiCopyValueComponent=class UiCopyValueComponent{get roleAttr(){return this.value()?"button":null}get tabIndexAttr(){return this.value()?"0":null}get ariaLabelAttr(){return this.value()?this.ariaLabel():null}value=(0,core.input)("");copiedLabel=(0,core.input)(null);copiedIcon=(0,core.input)(null);ariaLabel=(0,core.input)(null);copied=(0,_effect_chunk2.vPA)(!1);onClick(){this.copy()}onKeydown(event){"Enter"!==event.key&&" "!==event.key||(event.preventDefault(),this.copy())}copy(){const value=this.value();value&&navigator.clipboard.writeText(value).then(()=>{this.copied.set(!0),setTimeout(()=>this.copied.set(!1),2e3)})}static propDecorators={roleAttr:[{type:_debug_node_chunk.g$6,args:["attr.role"]}],tabIndexAttr:[{type:_debug_node_chunk.g$6,args:["attr.tabindex"]}],ariaLabelAttr:[{type:_debug_node_chunk.g$6,args:["attr.aria-label"]}],value:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"value",required:!1,transform:void 0}]}],copiedLabel:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"copiedLabel",required:!1,transform:void 0}]}],copiedIcon:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"copiedIcon",required:!1,transform:void 0}]}],ariaLabel:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"ariaLabel",required:!1,transform:void 0}]}],onClick:[{type:_debug_node_chunk.Z$l,args:["click"]}],onKeydown:[{type:_debug_node_chunk.Z$l,args:["keydown",["$event"]]}]}};UiCopyValueComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-copy-value",template:'<ng-content></ng-content>\n\n@if (copied()) {\n <div class="_copied">\n @if (copiedIcon(); as icon) {\n <span class="ui-icon">{{ icon }}</span>\n } @else {\n <strong>{{ copiedLabel() ?? (\'actions.copied\' | transloco) }}</strong>\n }\n </div>\n}\n',encapsulation:_debug_node_chunk.gXe.None,imports:[ngneat_transloco.Kj],styles:[copy_value_componentngResource_default()]})],UiCopyValueComponent)},"./libs/ui/src/lib/layout/_service/layout.service.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>UiLayoutService});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/config/ui-config.types.ts");let UiLayoutService=class UiLayoutService{storage=(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.WQX)(_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__.AX);settings={cssPrefix:"",theme:null,zoom:null,fullscreen:null,direction:"center",layoutSize:null};setStorage(){this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}handleInit(config){this.settings.cssPrefix=config.cssPrefix,this.settings.theme=config.theme,this.settings.zoom=config.zoom?"zoom":"x-zoom",this.settings.fullscreen=config.fullscreen?"fullscreen":"x-fullscreen",this.handleFullScreen(this.settings.fullscreen),this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data),this.setStorage(),this.setTheme(null)})}setTheme(theme){document.body.className=theme?`${this.settings.cssPrefix} ${theme}`:`${this.settings.cssPrefix} ${this.settings.theme}`}getTheme(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.theme}getMainClass(){return`${_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.mainClass} ${this.settings.zoom} ${this.settings.fullscreen}`}handleFullScreen(init){init?this.settings.fullscreen=init:"fullscreen"===this.settings.fullscreen?this.settings.fullscreen="x-fullscreen":this.settings.fullscreen="fullscreen",this.setStorage()}handleZoom(init){init?this.settings.zoom=init:"zoom"===this.settings.zoom?this.settings.zoom="x-zoom":this.settings.zoom="zoom",this.setStorage()}handleTheme(theme,prefix){return prefix&&(this.settings.cssPrefix=prefix),theme?(this.setTheme(theme),this.settings.theme=theme):(this.settings.theme="theme-light"===this.settings.theme?"theme-dark":"theme-light",this.setTheme(null)),this.setStorage(),this.settings.theme}handleDirection(type){this.settings.direction=type,this.setStorage()}setLayoutSize(sizes){this.settings.layoutSize=sizes,this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}getLayoutSize(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.layoutSize}};UiLayoutService=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__._qm)({providedIn:"root"})],UiLayoutService)},"./libs/ui/.storybook/demos/styling/colors/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_colors_component_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/.storybook/demos/styling/colors/colors.component.stories.ts");function _createMdxContent(props){const _components={a:"a",code:"code",h3:"h3",hr:"hr",p:"p",pre:"pre",strong:"strong",...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_colors_component_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"styling-colors",children:"Styling Colors"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"This section showcases the application's color palette. We use a set of CSS variables that are integrated into Tailwind CSS for utility class usage."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/styling-colors--colors",children:"Colors story"})," displays the available\ncolors and their variants (including different opacities) in both themes."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The variables themselves (naming convention, ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"-value"}),"/",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"-tw"})," companions, all\ntokens) are documented centrally in\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/docs/styling-css-variables--docs",children:"Styling/CSS Variables"}),"."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"tailwind-utilities",children:"Tailwind Utilities"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The UI library provides standard Tailwind-style classes for text and background colors."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Use the prefix ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"text-c-"})," or ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"bg-c-"})," followed by the color name."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"open-tailwind-colors",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/styling-colors--colors",children:"Open Tailwind Colors"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Usage:"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:'<p class="text-c-success">Successful text</p>\n<span class="text-c-error">Error message</span>\n\n<div class="bg-c-primary">Main background container</div>\n<button class="bg-c-focus text-c-static-invert">Action Button</button>\n\n'})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"opacity-tailwind-modifiers",children:"Opacity Tailwind Modifiers"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Thanks to Tailwind integration, you can also use opacity modifiers with the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"/"})," syntax."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Usage:"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:'<div class="bg-c-default/20">Light overlay (20% opacity)</div>\n<div class="bg-c-primary/60">Semi-transparent background</div>\n'})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/.storybook/demos/styling/colors/colors.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Colors:()=>Colors,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _storybook_angular__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),_src_lib_atoms_card_card_component__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./libs/ui/src/lib/atoms/card/card.component.ts"),_src_lib_atoms_copy_value_copy_value_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./libs/ui/src/lib/atoms/copy-value/copy-value.component.ts"),_header_header_component__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.ts");const __WEBPACK_DEFAULT_EXPORT__={title:"Styling/Colors",decorators:[(0,_storybook_angular__WEBPACK_IMPORTED_MODULE_0__.Iz)({imports:[_header_header_component__WEBPACK_IMPORTED_MODULE_3__.b,_src_lib_atoms_card_card_component__WEBPACK_IMPORTED_MODULE_1__.O,_src_lib_atoms_copy_value_copy_value_component__WEBPACK_IMPORTED_MODULE_2__.y]})],argTypes:{},args:{}},Colors={render:args=>({props:{...args},template:'\n <ui-intern-header [display]="true" theme="theme-light" [onTop]="true" ></ui-intern-header>\n <section class="relative flex flex-col pb-24">\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6">\n <ui-copy-value class="flex!" [value]="\'bg-c-default/20\'"><ui-card [headline]="\'bg-c-default/20\'" class="flex! grow bg-c-default/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default/40\'"><ui-card [headline]="\'bg-c-default/40\'" class="flex! grow bg-c-default/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default/60\'"><ui-card [headline]="\'bg-c-default/60\'" class="flex! grow bg-c-default/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default/80\'"><ui-card [headline]="\'bg-c-default/80\'" class="flex! grow bg-c-default/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default\'"><ui-card [headline]="\'bg-c-default\'" class="flex! grow bg-c-default"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6">\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert/20\'"><ui-card [headline]="\'bg-c-default-invert/20\'" class="flex! grow bg-c-default-invert/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert/40\'"><ui-card [headline]="\'bg-c-default-invert/40\'" class="flex! grow bg-c-default-invert/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert/60\'"><ui-card [headline]="\'bg-c-default-invert/60\'" class="flex! grow bg-c-default-invert/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert/80\'"><ui-card [headline]="\'bg-c-default-invert/80\'" class="flex! grow bg-c-default-invert/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert\'"><ui-card [headline]="\'bg-c-default-invert\'" class="flex! grow bg-c-default-invert"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-primary/20\'"><ui-card [headline]="\'bg-c-primary/20\'" class="flex! grow bg-c-primary/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary/40\'"><ui-card [headline]="\'bg-c-primary/40\'" class="flex! grow bg-c-primary/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary/60\'"><ui-card [headline]="\'bg-c-primary/60\'" class="flex! grow bg-c-primary/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary/80\'"><ui-card [headline]="\'bg-c-primary/80\'" class="flex! grow bg-c-primary/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary\'"><ui-card [headline]="\'bg-c-primary\'" class="flex! grow bg-c-primary"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert/20\'"><ui-card [headline]="\'bg-c-primary-invert/20\'" class="flex! grow bg-c-primary-invert/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert/40\'"><ui-card [headline]="\'bg-c-primary-invert/40\'" class="flex! grow bg-c-primary-invert/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert/60\'"><ui-card [headline]="\'bg-c-primary-invert/60\'" class="flex! grow bg-c-primary-invert/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert/80\'"><ui-card [headline]="\'bg-c-primary-invert/80\'" class="flex! grow bg-c-primary-invert/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert\'"><ui-card [headline]="\'bg-c-primary-invert\'" class="flex! grow bg-c-primary-invert"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary/20\'"><ui-card [headline]="\'bg-c-secondary/20\'" class="flex! grow bg-c-secondary/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary/40\'"><ui-card [headline]="\'bg-c-secondary/40\'" class="flex! grow bg-c-secondary/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary/60\'"><ui-card [headline]="\'bg-c-secondary/60\'" class="flex! grow bg-c-secondary/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary/80\'"><ui-card [headline]="\'bg-c-secondary/80\'" class="flex! grow bg-c-secondary/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary\'"><ui-card [headline]="\'bg-c-secondary\'" class="flex! grow bg-c-secondary"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly/20\'"><ui-card [headline]="\'bg-c-thirdly/20\'" class="flex! grow bg-c-thirdly/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly/40\'"><ui-card [headline]="\'bg-c-thirdly/40\'" class="flex! grow bg-c-thirdly/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly/60\'"><ui-card [headline]="\'bg-c-thirdly/60\'" class="flex! grow bg-c-thirdly/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly/80\'"><ui-card [headline]="\'bg-c-thirdly/80\'" class="flex! grow bg-c-thirdly/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly\'"><ui-card [headline]="\'bg-c-thirdly\'" class="flex! grow bg-c-thirdly"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly/20\'"><ui-card [headline]="\'bg-c-fourthly/20\'" class="flex! grow bg-c-fourthly/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly/40\'"><ui-card [headline]="\'bg-c-fourthly/40\'" class="flex! grow bg-c-fourthly/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly/60\'"><ui-card [headline]="\'bg-c-fourthly/60\'" class="flex! grow bg-c-fourthly/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly/80\'"><ui-card [headline]="\'bg-c-fourthly/80\'" class="flex! grow bg-c-fourthly/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly\'"><ui-card [headline]="\'bg-c-fourthly\'" class="flex! grow bg-c-fourthly"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-background/20\'"><ui-card [headline]="\'bg-c-background/20\'" class="flex! grow bg-c-background/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-background/40\'"><ui-card [headline]="\'bg-c-background/40\'" class="flex! grow bg-c-background/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-background/60\'"><ui-card [headline]="\'bg-c-background/60\'" class="flex! grow bg-c-background/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-background/80\'"><ui-card [headline]="\'bg-c-background/80\'" class="flex! grow bg-c-background/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-background\'"><ui-card [headline]="\'bg-c-background\'" class="flex! grow bg-c-background"></ui-card></ui-copy-value>\n </div>\n\n <hr class="ui-dotted" />\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-success/20\'"><ui-card [headline]="\'bg-c-success/20\'" class="flex! grow bg-c-success/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-success/40\'"><ui-card [headline]="\'bg-c-success/40\'" class="flex! grow bg-c-success/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-success/60\'"><ui-card [headline]="\'bg-c-success/60\'" class="flex! grow bg-c-success/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-success/80\'"><ui-card [headline]="\'bg-c-success/80\'" class="flex! grow bg-c-success/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-success\'"><ui-card [headline]="\'bg-c-success\'" class="flex! grow bg-c-success"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-warn/20\'"><ui-card [headline]="\'bg-c-warn/20\'" class="flex! grow bg-c-warn/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-warn/40\'"><ui-card [headline]="\'bg-c-warn/40\'" class="flex! grow bg-c-warn/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-warn/60\'"><ui-card [headline]="\'bg-c-warn/60\'" class="flex! grow bg-c-warn/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-warn/80\'"><ui-card [headline]="\'bg-c-warn/80\'" class="flex! grow bg-c-warn/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-warn\'"><ui-card [headline]="\'bg-c-warn\'" class="flex! grow bg-c-warn"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-error/20\'"><ui-card [headline]="\'bg-c-error/20\'" class="flex! grow bg-c-error/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-error/40\'"><ui-card [headline]="\'bg-c-error/40\'" class="flex! grow bg-c-error/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-error/60\'"><ui-card [headline]="\'bg-c-error/60\'" class="flex! grow bg-c-error/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-error/80\'"><ui-card [headline]="\'bg-c-error/80\'" class="flex! grow bg-c-error/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-error\'"><ui-card [headline]="\'bg-c-error\'" class="flex! grow bg-c-error"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-focus/20\'"><ui-card [headline]="\'bg-c-focus/20\'" class="flex! grow bg-c-focus/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-focus/40\'"><ui-card [headline]="\'bg-c-focus/40\'" class="flex! grow bg-c-focus/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-focus/60\'"><ui-card [headline]="\'bg-c-focus/60\'" class="flex! grow bg-c-focus/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-focus/80\'"><ui-card [headline]="\'bg-c-focus/80\'" class="flex! grow bg-c-focus/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-focus\'"><ui-card [headline]="\'bg-c-focus\'" class="flex! grow bg-c-focus"></ui-card></ui-copy-value>\n </div>\n\n</section>\n\n\n '}),parameters:{controls:{disabled:!0}}},__namedExportsOrder=["Colors"];Colors.parameters={...Colors.parameters,docs:{...Colors.parameters?.docs,source:{originalSource:'{\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header [display]="true" theme="theme-light" [onTop]="true" ></ui-intern-header>\n <section class="relative flex flex-col pb-24">\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6">\n <ui-copy-value class="flex!" [value]="\'bg-c-default/20\'"><ui-card [headline]="\'bg-c-default/20\'" class="flex! grow bg-c-default/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default/40\'"><ui-card [headline]="\'bg-c-default/40\'" class="flex! grow bg-c-default/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default/60\'"><ui-card [headline]="\'bg-c-default/60\'" class="flex! grow bg-c-default/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default/80\'"><ui-card [headline]="\'bg-c-default/80\'" class="flex! grow bg-c-default/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default\'"><ui-card [headline]="\'bg-c-default\'" class="flex! grow bg-c-default"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6">\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert/20\'"><ui-card [headline]="\'bg-c-default-invert/20\'" class="flex! grow bg-c-default-invert/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert/40\'"><ui-card [headline]="\'bg-c-default-invert/40\'" class="flex! grow bg-c-default-invert/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert/60\'"><ui-card [headline]="\'bg-c-default-invert/60\'" class="flex! grow bg-c-default-invert/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert/80\'"><ui-card [headline]="\'bg-c-default-invert/80\'" class="flex! grow bg-c-default-invert/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-default-invert\'"><ui-card [headline]="\'bg-c-default-invert\'" class="flex! grow bg-c-default-invert"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-primary/20\'"><ui-card [headline]="\'bg-c-primary/20\'" class="flex! grow bg-c-primary/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary/40\'"><ui-card [headline]="\'bg-c-primary/40\'" class="flex! grow bg-c-primary/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary/60\'"><ui-card [headline]="\'bg-c-primary/60\'" class="flex! grow bg-c-primary/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary/80\'"><ui-card [headline]="\'bg-c-primary/80\'" class="flex! grow bg-c-primary/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary\'"><ui-card [headline]="\'bg-c-primary\'" class="flex! grow bg-c-primary"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert/20\'"><ui-card [headline]="\'bg-c-primary-invert/20\'" class="flex! grow bg-c-primary-invert/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert/40\'"><ui-card [headline]="\'bg-c-primary-invert/40\'" class="flex! grow bg-c-primary-invert/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert/60\'"><ui-card [headline]="\'bg-c-primary-invert/60\'" class="flex! grow bg-c-primary-invert/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert/80\'"><ui-card [headline]="\'bg-c-primary-invert/80\'" class="flex! grow bg-c-primary-invert/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-primary-invert\'"><ui-card [headline]="\'bg-c-primary-invert\'" class="flex! grow bg-c-primary-invert"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary/20\'"><ui-card [headline]="\'bg-c-secondary/20\'" class="flex! grow bg-c-secondary/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary/40\'"><ui-card [headline]="\'bg-c-secondary/40\'" class="flex! grow bg-c-secondary/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary/60\'"><ui-card [headline]="\'bg-c-secondary/60\'" class="flex! grow bg-c-secondary/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary/80\'"><ui-card [headline]="\'bg-c-secondary/80\'" class="flex! grow bg-c-secondary/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-secondary\'"><ui-card [headline]="\'bg-c-secondary\'" class="flex! grow bg-c-secondary"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly/20\'"><ui-card [headline]="\'bg-c-thirdly/20\'" class="flex! grow bg-c-thirdly/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly/40\'"><ui-card [headline]="\'bg-c-thirdly/40\'" class="flex! grow bg-c-thirdly/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly/60\'"><ui-card [headline]="\'bg-c-thirdly/60\'" class="flex! grow bg-c-thirdly/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly/80\'"><ui-card [headline]="\'bg-c-thirdly/80\'" class="flex! grow bg-c-thirdly/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-thirdly\'"><ui-card [headline]="\'bg-c-thirdly\'" class="flex! grow bg-c-thirdly"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly/20\'"><ui-card [headline]="\'bg-c-fourthly/20\'" class="flex! grow bg-c-fourthly/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly/40\'"><ui-card [headline]="\'bg-c-fourthly/40\'" class="flex! grow bg-c-fourthly/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly/60\'"><ui-card [headline]="\'bg-c-fourthly/60\'" class="flex! grow bg-c-fourthly/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly/80\'"><ui-card [headline]="\'bg-c-fourthly/80\'" class="flex! grow bg-c-fourthly/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-fourthly\'"><ui-card [headline]="\'bg-c-fourthly\'" class="flex! grow bg-c-fourthly"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-background/20\'"><ui-card [headline]="\'bg-c-background/20\'" class="flex! grow bg-c-background/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-background/40\'"><ui-card [headline]="\'bg-c-background/40\'" class="flex! grow bg-c-background/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-background/60\'"><ui-card [headline]="\'bg-c-background/60\'" class="flex! grow bg-c-background/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-background/80\'"><ui-card [headline]="\'bg-c-background/80\'" class="flex! grow bg-c-background/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-background\'"><ui-card [headline]="\'bg-c-background\'" class="flex! grow bg-c-background"></ui-card></ui-copy-value>\n </div>\n\n <hr class="ui-dotted" />\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-success/20\'"><ui-card [headline]="\'bg-c-success/20\'" class="flex! grow bg-c-success/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-success/40\'"><ui-card [headline]="\'bg-c-success/40\'" class="flex! grow bg-c-success/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-success/60\'"><ui-card [headline]="\'bg-c-success/60\'" class="flex! grow bg-c-success/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-success/80\'"><ui-card [headline]="\'bg-c-success/80\'" class="flex! grow bg-c-success/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-success\'"><ui-card [headline]="\'bg-c-success\'" class="flex! grow bg-c-success"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-warn/20\'"><ui-card [headline]="\'bg-c-warn/20\'" class="flex! grow bg-c-warn/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-warn/40\'"><ui-card [headline]="\'bg-c-warn/40\'" class="flex! grow bg-c-warn/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-warn/60\'"><ui-card [headline]="\'bg-c-warn/60\'" class="flex! grow bg-c-warn/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-warn/80\'"><ui-card [headline]="\'bg-c-warn/80\'" class="flex! grow bg-c-warn/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-warn\'"><ui-card [headline]="\'bg-c-warn\'" class="flex! grow bg-c-warn"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-error/20\'"><ui-card [headline]="\'bg-c-error/20\'" class="flex! grow bg-c-error/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-error/40\'"><ui-card [headline]="\'bg-c-error/40\'" class="flex! grow bg-c-error/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-error/60\'"><ui-card [headline]="\'bg-c-error/60\'" class="flex! grow bg-c-error/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-error/80\'"><ui-card [headline]="\'bg-c-error/80\'" class="flex! grow bg-c-error/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-error\'"><ui-card [headline]="\'bg-c-error\'" class="flex! grow bg-c-error"></ui-card></ui-copy-value>\n </div>\n\n <div class="grid grid-cols-5 gap-2 p-2 mb-6 ">\n <ui-copy-value class="flex!" [value]="\'bg-c-focus/20\'"><ui-card [headline]="\'bg-c-focus/20\'" class="flex! grow bg-c-focus/20"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-focus/40\'"><ui-card [headline]="\'bg-c-focus/40\'" class="flex! grow bg-c-focus/40"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-focus/60\'"><ui-card [headline]="\'bg-c-focus/60\'" class="flex! grow bg-c-focus/60"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-focus/80\'"><ui-card [headline]="\'bg-c-focus/80\'" class="flex! grow bg-c-focus/80"></ui-card></ui-copy-value>\n <ui-copy-value class="flex!" [value]="\'bg-c-focus\'"><ui-card [headline]="\'bg-c-focus\'" class="flex! grow bg-c-focus"></ui-card></ui-copy-value>\n </div>\n\n</section>\n\n\n `\n };\n },\n parameters: {\n controls: {\n disabled: true\n }\n }\n}',...Colors.parameters?.docs?.source}}}},"./libs/ui/.storybook/demos/header/header.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"/* The intern header is reduced to just the theme switch button, pinned to the */\n/* bottom-left corner of the Storybook canvas. */\nbutton {\n position: fixed;\n bottom: calc(var(--ui-spacer) * 0.5);\n left: calc(var(--ui-spacer) * 0.5);\n z-index: 1000;\n\n &._on-top {\n z-index: 10000;\n }\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()},"./libs/ui/src/lib/atoms/card/card.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\nui-card {\n /* scope only for component - encapsulation is set to ViewEncapsulation.None */\n\n /* `display: contents` is deliberate: the inner div below is what joins the\n consumer's grid, not this tag. The consequence is that the tag generates\n NO BOX — measured 0x0 — so it can neither be positioned, nor clip, nor be\n sized from outside; a width set on `ui-card` changes the computed value\n and moves no layout. It used to carry `position: relative` and\n `overflow: hidden`, and both were inert for exactly that reason. They are\n gone rather than moved onto the inner div: moving them would START\n clipping content that is not clipped today, and apps arrange cards across\n a seam (see the note on selector weight below). Size the card through the\n cell you place it in. */\n display: contents;\n\n /* The card surface. ui-card is display:contents, so this div is the box the\n app's grid places directly, and it takes the full cell. */\n > div {\n display: flex;\n width: 100%;\n height: 100%;\n padding: calc(var(--ui-spacer) * 0.5);\n justify-content: center;\n align-items: center;\n border-radius: var(--ui-border-radius);\n filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07))\n drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));\n /* Colours are CSS variables, not inline styles: no `[style]` binding from\n the component means the consumer's cascade wins (tickets#183). */\n background-color: var(--ui-card-bg, transparent);\n color: var(--ui-card-text, var(--ui-c-default));\n }\n\n /* Deliberately NOT nested inside the block above. Nesting would raise the\n selector weight beyond the layouts apps place on the grid from outside\n (media's start page arranges icon and label side by side and mirrors them\n across a seam), so a library detail would silently overrule a consumer.\n Kept flat at `ui-card ._wrapper`, lighter than anything an app writes to\n address the same element. */\n ._wrapper {\n position: relative;\n display: grid;\n width: 100%;\n height: 100%;\n /* The single column must be allowed to fall below its content width,\n or the ellipsis on the headline never gets a chance to trigger. */\n grid-template-columns: minmax(0, 1fr);\n grid-gap: calc(var(--ui-spacer) * 0.25);\n justify-content: center;\n text-align: center;\n > * {\n display: flex;\n align-self: center;\n justify-self: center;\n text-align: center;\n outline-style: none;\n }\n\n /* Text color for icon and headline; the `--ui-card-text` variable overrides\n it, the token is the default. */\n > .ui-icon,\n > .ui-h4 {\n color: var(--ui-card-text, var(--ui-c-default));\n }\n\n /* A headline longer than the card is cut, not spilled. The host carries\n `display: contents`, so its `overflow: hidden` never applies — it\n produces no box to clip against. And `justify-self: center` above\n sizes this cell to its text, so a long word simply grew past the card\n and overlapped its neighbours (icon names are the honest test case).\n\n Stretching the cell hands it the column width, `min-width: 0` lets it\n shrink below the intrinsic width of its content — without it a grid\n item refuses to go narrower than its longest word — and the ellipsis\n does the rest. */\n > .ui-h4 {\n justify-self: stretch;\n justify-content: center;\n min-width: 0;\n\n strong {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n }\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()},"./libs/ui/src/lib/atoms/copy-value/copy-value.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n/* Encapsulation.None — one nested block anchored on the tag. */\nui-copy-value {\n /* `contents` would be the tempting choice (the wrapper adds no box of its\n own), but the confirmation has to be positioned against something, and a\n host with `display: contents` generates no box to position against. So it\n stays a box — and an inline-block one, so wrapping something does not\n silently turn it into a full-width block. */\n position: relative;\n display: inline-block;\n\n /* Only a wrapper that actually has something to copy looks clickable — the\n role attribute is the single source of that truth (see the host binding). */\n &[role='button'] {\n cursor: pointer;\n }\n\n &:focus-visible {\n outline: var(--ui-border-width) solid var(--ui-c-focus);\n outline-offset: calc(var(--ui-border-width) * 2);\n }\n\n /* Lies OVER the content instead of taking space: nothing may move while the\n confirmation shows, or a list of copyable things twitches on every click. */\n ._copied {\n position: absolute;\n inset: 0;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(var(--ui-c-background-value), 0.9);\n /* The confirmation cannot know how its content is rounded, so it stops\n guessing: it takes the radius from the HOST, which is the caller's to\n set alongside whatever is wrapped. It used to impose 4px on content\n rounded at 2.5px, and the four corners of that content stuck out past\n the overlay — visible as dark specks at 4x zoom.\n\n The border is the same colour as the fill and covers the content's own\n border, which would otherwise show through the 90% background as a grey\n line all the way round. */\n border: var(--ui-border-width) solid\n rgba(var(--ui-c-background-value), 0.9);\n border-radius: inherit;\n animation: uiCopyValueIn calc(var(--ui-time) * 0.25) ease-in-out;\n /* The confirmation is a message, not a target — a click meant for the\n content must not land on it. */\n pointer-events: none;\n }\n}\n\n/* No leading underscore in the keyframes name — Angular would detach it. */\n@keyframes uiCopyValueIn {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[7893],{"./libs/ui/.storybook/demos/styling/css-variables/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Swatch:()=>Swatch,default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js");const Swatch=({token})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{role:"button",tabIndex:0,title:`Copy var(${token})`,"aria-label":`Copy var(${token})`,onClick:event=>{navigator.clipboard.writeText(`var(${token})`);const box=event.currentTarget,previous=box.style.boxShadow;box.style.boxShadow="0 0 0 2px var(--ui-c-success)",setTimeout(()=>{box.style.boxShadow=previous},1e3)},onKeyDown:event=>{"Enter"!==event.key&&" "!==event.key||(event.preventDefault(),event.currentTarget.click())},style:{backgroundColor:`var(${token})`,margin:"0.5rem",height:"2rem",cursor:"pointer"}});function _createMdxContent(props){const _components={a:"a",code:"code",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{title:"Styling/CSS Variables"}),"\n","\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"css-variables",children:"CSS Variables"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"All design tokens of the UI library are plain CSS custom properties — the\nsingle source of truth since the Sass removal. Two files define them:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Scalars"}),": ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"libs/ui/src/styles/declaration/globals.css"})," (on ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:":root"}),")"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Colors"}),": ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"libs/ui/src/styles/config/colors.css"})," (theme scoped)"]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"scalar-tokens",children:"Scalar tokens"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Variable"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Default"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Used for"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-spacer"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"4rem"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Base spacing unit — paddings/gaps are derived from it (e.g. form element padding is 0.125×, selects 0.2×)."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-border-width"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"1px"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Border width of inputs, selects, textareas and buttons."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-border-radius"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"0.4rem"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Corner radius of form elements, buttons, cards (checkbox uses 0.6×, radio is round)."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-icon-size"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"2.4rem"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Size of ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-icon"})," Material icons."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-button-shadow"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"0.2rem"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Shadow size for ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui"})," buttons and focus/error glows. Not used by ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-flat"})," (flat never has shadows)."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-default-shadow"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"1rem"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Default shadow size for larger surfaces (overlays, cards)."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-time"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"1s"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Base duration for animations."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-content-height"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"76vh"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Height of the main content area in the layout."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-transition"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"transform 250ms cubic-bezier(0, 0, 0.2, 1)"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Shared transition for transform-based movement."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-box-shadow"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"0 0 1rem 0.25rem var(--ui-c-secondary)"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Composed default box shadow."})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"color-tokens",children:"Color tokens"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["All library colors are prefixed with ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"--ui-c-"}),". They are defined once for the\nlight theme (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"body"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:".theme-light"}),") and once for the dark theme\n(",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:".theme-dark"}),") — switching the theme class on an ancestor re-themes\neverything automatically."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Each color ships with two companions:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"-value"})," suffix (e.g. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"--ui-c-primary-value"}),"): the raw RGB triple\n(e.g. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"255, 255, 255"}),") for custom opacity via ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"rgba(var(--ui-c-primary-value), 0.5)"}),"."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"-tw"})," suffix: the runtime hook that maps the color into Tailwind utilities\n(",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"text-c-primary"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"bg-c-primary"}),", incl. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"/opacity"})," modifiers)."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Variable"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{style:{width:"8rem"},children:"Light"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{style:{width:"1rem"}}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{style:{width:"8rem"},children:"Dark"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Used for"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-default"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-default"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-default"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Standard text and icon color."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-default-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-default-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-default-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Inverted text color (e.g. check/radio glyphs)."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-background"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-background"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-background"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Page and input background (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-flat"})," inputs are transparent at rest)."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-primary"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-primary"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-primary"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Main surface color; background of disabled buttons."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-primary-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-primary-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-primary-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Inverted main surface color."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-secondary"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-secondary"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-secondary"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Secondary surfaces; checked state of checkbox/radio."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-thirdly"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-thirdly"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-thirdly"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Tertiary accents; shadow color of ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui"})," buttons."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-fourthly"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-fourthly"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-fourthly"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Resting border of ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui"})," inputs; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui"})," button surface."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-focus"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-focus"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-focus"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Focus color: border + glow for ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui"}),"; 8% surface (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"color-mix"}),") for ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-flat"}),"."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-error"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-error"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-error"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Validation errors: border + glow for ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui"}),"; 8% surface for ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-flat"}),". Also ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-danger"})," buttons."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-success"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-success"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-success"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Success state; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-success"})," buttons."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-warn"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-warn"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-warn"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Warning state; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-warn"})," buttons."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-static"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-static"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-static"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Theme-independent dark text (used on colored surfaces, e.g. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-warn"}),")."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-c-static-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-light",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-static-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{class:"theme-dark",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Swatch,{token:"--ui-c-static-invert"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Theme-independent light text (used on colored surfaces, e.g. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-success"}),"/",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:".ui-danger"}),")."]})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"See also:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/docs/styling-colors--docs",children:"Styling/Colors"})," — the palette with opacity\nexamples and the Tailwind utilities (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"text-c-*"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"bg-c-*"}),")."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/docs/styling-forms--docs",children:"Styling/Forms"})," — how the tokens style the\nform elements (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui"})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-flat"}),")."]}),"\n"]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}}}]);
|