@tmorrow/cre8-wc 2.0.6 → 2.0.8
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/a2ui/catalog +5 -5
- package/a2ui/catalog-kg.json +156 -20
- package/a2ui/catalog.json +394 -35
- package/a2ui/catalog.svg +2445 -2445
- package/a2ui/examples/compound-families.json +298 -0
- package/a2ui/examples/llm-observability.json +678 -650
- package/a2ui/generate-catalog.mjs +116 -3
- package/a2ui/inert-props.json +32 -0
- package/a2ui/render-audit.mjs +294 -0
- package/a2ui/renderer.d.ts +2 -1
- package/a2ui/renderer.js +1 -1
- package/a2ui/renderer.ts +1 -1
- package/a2ui/smoke-test.mjs +3 -3
- package/a2ui/stream/diff-test.mjs +299 -0
- package/a2ui/stream/diff.d.ts +28 -0
- package/a2ui/stream/diff.js +130 -0
- package/a2ui/stream/diff.ts +145 -0
- package/a2ui/stream/index.d.ts +11 -0
- package/a2ui/stream/index.js +11 -0
- package/a2ui/stream/index.ts +43 -0
- package/a2ui/stream/model.d.ts +66 -0
- package/a2ui/stream/model.js +429 -0
- package/a2ui/stream/model.ts +472 -0
- package/a2ui/stream/pointer.d.ts +34 -0
- package/a2ui/stream/pointer.js +146 -0
- package/a2ui/stream/pointer.ts +147 -0
- package/a2ui/stream/renderer.d.ts +51 -0
- package/a2ui/stream/renderer.js +282 -0
- package/a2ui/stream/renderer.ts +291 -0
- package/a2ui/stream/stream-test.mjs +592 -0
- package/a2ui/stream/types.d.ts +173 -0
- package/a2ui/stream/types.js +17 -0
- package/a2ui/stream/types.ts +127 -0
- package/cdn/cre8-wc.esm.js +3528 -3227
- package/cdn/cre8-wc.esm.js.map +1 -1
- package/cdn/cre8-wc.min.js +290 -290
- package/cdn/cre8-wc.min.js.map +1 -1
- package/dist/assets/{Changelog-Documentation-BguNswiM.js → Changelog-Documentation-CeOetLxK.js} +1 -1
- package/dist/assets/{Code-Guidelines-BM3dZyzL.js → Code-Guidelines-BjdezAjj.js} +1 -1
- package/dist/assets/{Color-6AOWCN3U-C4AEGNk3.js → Color-6AOWCN3U-DPFGZitI.js} +1 -1
- package/dist/assets/{Contributing-Guidelines-DZURVehh.js → Contributing-Guidelines-B1M2V1hW.js} +1 -1
- package/dist/assets/{DocsRenderer-JROSPFPF-DeZmCI9u.js → DocsRenderer-JROSPFPF-BBy8KWNl.js} +1 -1
- package/dist/assets/{Tokens-Documentation-ZecGbtQg.js → Tokens-Documentation-CdTxFDLe.js} +1 -1
- package/dist/assets/{WithTooltip-7X4HQR7L-2Hfrkir-.js → WithTooltip-7X4HQR7L-DZzTNMQ7.js} +1 -1
- package/dist/assets/{accordion-item.stories-D-MjrX5G.js → accordion-item.stories-Bl26JlHp.js} +1 -9
- package/dist/assets/{accordion.stories-icgNa1dl.js → accordion.stories-DjoLApQw.js} +3 -11
- package/dist/assets/{alert.stories-BzDaXtj-.js → alert.stories-pO1y3YCQ.js} +15 -31
- package/dist/assets/{badge-C5wOWgyg.js → badge-BTxW3bN2.js} +3 -11
- package/dist/assets/{badge.stories-5GfB4jVI.js → badge.stories-vqh63RJ2.js} +1 -1
- package/dist/assets/{band.stories-DhXaP_kL.js → band.stories-CjKRppSb.js} +1 -9
- package/dist/assets/{blocks-DhUVut8Z.js → blocks-1be_-L6v.js} +5 -5
- package/dist/assets/{breadcrumbs.stories-CrPUBVk1.js → breadcrumbs.stories-Doyfy3V9.js} +2 -18
- package/dist/assets/{button-CJL8yzAT.js → button-CgaWukz0.js} +1 -9
- package/dist/assets/{button-group-BgwgtSFC.js → button-group-G7qN4MwM.js} +1 -9
- package/dist/assets/{button-group.stories-W-07gO63.js → button-group.stories-cL3Kay6M.js} +1 -1
- package/dist/assets/{button.stories-BPzJ-sCv.js → button.stories-C9HSpxWb.js} +6 -6
- package/dist/assets/{card.stories-mlFGY2Xn.js → card.stories-BbU8YymD.js} +3 -11
- package/dist/assets/{chart.stories-C8yuHHeK.js → chart.stories-BL4FxIA_.js} +1 -1
- package/dist/assets/{checkbox-field-item-iHcdmTNw.js → checkbox-field-item-DIMHcWM0.js} +1 -9
- package/dist/assets/{checkbox-field-item.stories-D1aVLDXn.js → checkbox-field-item.stories-XbB4x_lO.js} +1 -1
- package/dist/assets/{checkbox-field.stories-BoVB2jCx.js → checkbox-field.stories-YnqFUI4K.js} +2 -10
- package/dist/assets/{cre8-element-DfmMtHJO.js → cre8-element-B35i4Lyg.js} +1 -1
- package/dist/assets/{cre8-form-element-bQpK8UYN.js → cre8-form-element-Cfc5VeYV.js} +1 -1
- package/dist/assets/{danger-button.stories-Cb4ljnhQ.js → danger-button.stories-xh25hmfd.js} +1 -9
- package/dist/assets/{date-picker.stories-Cje3qk8D.js → date-picker.stories-DD_ctzEF.js} +1 -49
- package/dist/assets/{divider-B_PXBGWD.js → divider-xZ2KARHf.js} +2 -10
- package/dist/assets/{divider.stories-CtfeBqVV.js → divider.stories-Bk9oF-OV.js} +1 -1
- package/dist/assets/{dropdown-Cgwne34I.js → dropdown-BEP5x3CW.js} +6 -22
- package/dist/assets/{dropdown-item.stories-pXkDLRuv.js → dropdown-item.stories-Iaw_UrEP.js} +1 -1
- package/dist/assets/{dropdown.stories-DZnmHieY.js → dropdown.stories-B0OlKD7h.js} +1 -1
- package/dist/assets/{example-drug-card.stories-DTzLXTFx.js → example-drug-card.stories-Bp5JIeE_.js} +1 -1
- package/dist/assets/{f-po-C2WpbOFJ.js → f-po-BdPzDRD-.js} +1 -1
- package/dist/assets/{feature.stories-DffXdJch.js → feature.stories-DYE1Js70.js} +1 -9
- package/dist/assets/{field-DzYRqQb2.js → field-BpUYyRW1.js} +1 -9
- package/dist/assets/{field-note-DKXZiXLU.js → field-note-fccBckVl.js} +3 -11
- package/dist/assets/{field-note.stories-DS_0bQul.js → field-note.stories-BH9AZMbF.js} +1 -1
- package/dist/assets/{field.stories-BvXn0oG6.js → field.stories-BQPtmziK.js} +1 -1
- package/dist/assets/{footer.stories-C3ZibisU.js → footer.stories-DCWEciqD.js} +1 -9
- package/dist/assets/{form-example.stories-C-TuOeF2.js → form-example.stories-9IDC0AgX.js} +1 -1
- package/dist/assets/{formatter-L2YTDE3Q-CJVnxOUW.js → formatter-L2YTDE3Q-B9u1AOWn.js} +1 -1
- package/dist/assets/{global-nav-item-xQL7wVjY.js → global-nav-item-T4htN-yO.js} +6 -14
- package/dist/assets/{global-nav-item.stories-Dp9TE3aR.js → global-nav-item.stories-2dWRfCXv.js} +1 -1
- package/dist/assets/{global-nav.stories-B5Nk8JZ0.js → global-nav.stories-Fh1gScqg.js} +2 -10
- package/dist/assets/{grid-DYgnZBsd.js → grid-C5CKMXNe.js} +3 -19
- package/dist/assets/{grid.stories-BFiXTq2C.js → grid.stories-BLmCNdeA.js} +1 -1
- package/dist/assets/{header.stories-D1f7xhjV.js → header.stories-BkDrjJtj.js} +1 -9
- package/dist/assets/{heading-485Jz7JZ.js → heading-Dbka33DK.js} +2 -10
- package/dist/assets/{heading.stories-gPF_SmTc.js → heading.stories-Be40_bmG.js} +1 -1
- package/dist/assets/{hero.stories-BHlFNdvF.js → hero.stories-vRu7PZG9.js} +1 -9
- package/dist/assets/{icon-DeTLDzTS.js → icon-ChfRWXWy.js} +2 -10
- package/dist/assets/{icon-description-o-YaiEjK.js → icon-description-BBSwDykJ.js} +1 -1
- package/dist/assets/{icon-description.stories-BdPRvEwe.js → icon-description.stories-Cg6ekOme.js} +1 -1
- package/dist/assets/{icon.stories-BxWpqxT5.js → icon.stories-Cj4U7L5G.js} +1 -1
- package/dist/assets/if-defined-Bxnzk64Q.js +1 -0
- package/dist/assets/{iframe-dHvya7sk.js → iframe-BNJP6ovU.js} +35 -35
- package/dist/assets/{inline-alert.stories-FH0bQ0jh.js → inline-alert.stories-CygBYI02.js} +1 -9
- package/dist/assets/{layout-container.stories-D6Z6Kx78.js → layout-container.stories-TMyIJteJ.js} +2 -10
- package/dist/assets/{layout.stories-CNYuwC_r.js → layout.stories-ylRM-ANL.js} +7 -23
- package/dist/assets/{linelength-container.stories-pCRXZvxS.js → linelength-container.stories-Br2v8jXE.js} +1 -9
- package/dist/assets/{link-BpCiLxNW.js → link-CRE0Eqdo.js} +1 -9
- package/dist/assets/{link-list.stories-12vsAa1P.js → link-list.stories--y-urrVo.js} +7 -23
- package/dist/assets/{link.stories-DAoQtY4_.js → link.stories-C3WQOgkY.js} +2 -2
- package/dist/assets/{list.stories-D0N3yBIf.js → list.stories-Bd2bxkxn.js} +7 -23
- package/dist/assets/{loading-spinner-g6iJajXH.js → loading-spinner-C52KNq6y.js} +4 -12
- package/dist/assets/{loading-spinner.stories-B6_mgPxB.js → loading-spinner.stories-DPRGEeHT.js} +1 -1
- package/dist/assets/{logo.stories-BvMwN2qg.js → logo.stories-2LBqqraT.js} +1 -9
- package/dist/assets/{main.stories-pL4zefbs.js → main.stories-BQzD7iWD.js} +2 -10
- package/dist/assets/{medication-card.stories-DK1XGJic.js → medication-card.stories-Wc-hA0-s.js} +5 -5
- package/dist/assets/{medication-form.stories-Bj5dLp5S.js → medication-form.stories-DfFOCDaU.js} +1 -1
- package/dist/assets/{modal-CO0M4e_8.js → modal-CCfbY4fF.js} +1 -9
- package/dist/assets/{modal-BNu8xy08.js → modal-GglWRNJp.js} +1 -1
- package/dist/assets/{modal.stories-CHYBrq_E.js → modal.stories-CpybCs79.js} +1 -1
- package/dist/assets/{multi-select.stories-C9XXsWio.js → multi-select.stories-BhzEKRui.js} +1 -9
- package/dist/assets/{nav-container.stories-DU9fhvDu.js → nav-container.stories-Be1YlegP.js} +3 -11
- package/dist/assets/{page-header.stories-BrstKiEY.js → page-header.stories-BOVLQ0YF.js} +1 -9
- package/dist/assets/{pagination.stories-Bw2M2iOn.js → pagination.stories-D62sa_1K.js} +9 -25
- package/dist/assets/{percent-bar.stories-UQRXYUqd.js → percent-bar.stories-CYi4El7T.js} +1 -9
- package/dist/assets/{popover.stories-ZkwrRFpR.js → popover.stories-B9O8F4yv.js} +1 -9
- package/dist/assets/{primary-nav.stories-wqOKwgQn.js → primary-nav.stories-Bt-o7h45.js} +1 -17
- package/dist/assets/{progress-meter-TzASasu0.js → progress-meter-Dit59091.js} +1 -9
- package/dist/assets/{progress-meter.stories-qfJALZf8.js → progress-meter.stories-CYnOCmjo.js} +1 -1
- package/dist/assets/{progress-steps-item-KvW1d_7L.js → progress-steps-item-CWJsad0s.js} +1 -9
- package/dist/assets/{progress-steps-item.stories-uOn6tJ1W.js → progress-steps-item.stories-ePn_6bPn.js} +1 -1
- package/dist/assets/{progress-steps.stories-CKFPx8D0.js → progress-steps.stories-CblrEcXF.js} +1 -9
- package/dist/assets/{radio-field-item-CTaR50XR.js → radio-field-item-Bm-0RWPe.js} +5 -21
- package/dist/assets/{radio-field-item.stories-DQSLj8W1.js → radio-field-item.stories-y_TrTRIW.js} +1 -1
- package/dist/assets/{radio-field.stories-Btmc_Iep.js → radio-field.stories-CSWrbUrn.js} +1 -1
- package/dist/assets/{remove-tag-BSEZ7VT8.js → remove-tag-lCr57c5r.js} +1 -9
- package/dist/assets/{remove-tag.stories-diRKi7Ua.js → remove-tag.stories-CDfwCdvZ.js} +1 -1
- package/dist/assets/{request-prescription.stories-DQvra7ia.js → request-prescription.stories-O4zqokfb.js} +1 -1
- package/dist/assets/{sample-modal.stories-deE1EBfZ.js → sample-modal.stories-BZ4N2R2Z.js} +1 -1
- package/dist/assets/{section.stories-DF4mcy2O.js → section.stories-D_1InThX.js} +1 -9
- package/dist/assets/{select-tile-D-C8oSrm.js → select-tile-BqqB3ZtE.js} +2 -10
- package/dist/assets/{select-tile-list.stories-vsBQUIcl.js → select-tile-list.stories-Di4ILgV8.js} +1 -9
- package/dist/assets/{select-tile.stories-CqHzN5fc.js → select-tile.stories-D3h_6zlV.js} +6 -6
- package/dist/assets/{select.stories-8aOGxTtr.js → select.stories-BB2phP9A.js} +1 -9
- package/dist/assets/{skeleton-loader.stories-CwR2-aC5.js → skeleton-loader.stories-y4uml_kV.js} +5 -13
- package/dist/assets/{split-button.stories-CyfdrK4u.js → split-button.stories-C_82I4ME.js} +2 -10
- package/dist/assets/{spread-BPiNgQQF.js → spread-CnPic3C2.js} +1 -1
- package/dist/assets/state-DkQhleoO.js +1 -0
- package/dist/assets/{submenu.stories-CDhNzZzh.js → submenu.stories-UDtaREr1.js} +2 -18
- package/dist/assets/{syntaxhighlighter-T5IQBZDB-BzI6WxUR.js → syntaxhighlighter-T5IQBZDB-D-I_s_yD.js} +1 -1
- package/dist/assets/{table-header-CfcchoYz.js → table-header-2837i43H.js} +3 -51
- package/dist/assets/{table-object.stories-Bd5qdfMU.js → table-object.stories-D4KoI-wA.js} +1 -9
- package/dist/assets/{table.stories-DxuBe9dJ.js → table.stories-DUJDibEp.js} +1 -1
- package/dist/assets/{tabs.stories-Cpc3OHJx.js → tabs.stories-C06SngOF.js} +5 -29
- package/dist/assets/{tag-list.stories-BmyCmrTF.js → tag-list.stories-Du-IoYzu.js} +2 -10
- package/dist/assets/{tag-vQFuZneb.js → tag-oHGdclJl.js} +1 -9
- package/dist/assets/{tag.stories-DGzrNUbb.js → tag.stories-C5D5IbuK.js} +1 -1
- package/dist/assets/{tertiary-nav.stories-D4q5K-am.js → tertiary-nav.stories-B1GU8Zi4.js} +3 -19
- package/dist/assets/{text-link-4qLRIeJB.js → text-link-B3m3KEqY.js} +1 -9
- package/dist/assets/{text-link.stories-D6BRm2I5.js → text-link.stories-4O6qn82H.js} +1 -1
- package/dist/assets/{text-passage-DGaI5i2I.js → text-passage-xQVosjOr.js} +3 -19
- package/dist/assets/{text-passage.stories-DkmXVUhH.js → text-passage.stories-Da1nspwG.js} +1 -1
- package/dist/assets/{tooltip.stories-B7ADDq7o.js → tooltip.stories-DLKyyeKn.js} +6 -14
- package/dist/assets/{utility-nav.stories-ffXVvyLp.js → utility-nav.stories-B6xBFe7z.js} +5 -21
- package/dist/design-tokens/brands/cre8/css/tokens_brand.css +1 -1
- package/dist/design-tokens/core/scss/theming/component.css +1 -1
- package/dist/design-tokens/core/scss/theming/variables.css +1 -7
- package/dist/design-tokens/core/scss/theming/variables.scss +0 -11
- package/dist/icons/cre8-icons.svg +1 -1
- package/dist/iframe.html +1 -24
- package/dist/index.html +25 -77
- package/dist/project.json +1 -1
- package/lib/a2ui/renderer.d.ts +2 -1
- package/lib/a2ui/renderer.d.ts.map +1 -1
- package/lib/a2ui/renderer.js +1 -1
- package/lib/a2ui/renderer.js.map +1 -1
- package/lib/a2ui/stream/diff.d.ts +29 -0
- package/lib/a2ui/stream/diff.d.ts.map +1 -0
- package/lib/a2ui/stream/diff.js +131 -0
- package/lib/a2ui/stream/diff.js.map +1 -0
- package/lib/a2ui/stream/index.d.ts +12 -0
- package/lib/a2ui/stream/index.d.ts.map +1 -0
- package/lib/a2ui/stream/index.js +12 -0
- package/lib/a2ui/stream/index.js.map +1 -0
- package/lib/a2ui/stream/model.d.ts +67 -0
- package/lib/a2ui/stream/model.d.ts.map +1 -0
- package/lib/a2ui/stream/model.js +423 -0
- package/lib/a2ui/stream/model.js.map +1 -0
- package/lib/a2ui/stream/pointer.d.ts +35 -0
- package/lib/a2ui/stream/pointer.d.ts.map +1 -0
- package/lib/a2ui/stream/pointer.js +147 -0
- package/lib/a2ui/stream/pointer.js.map +1 -0
- package/lib/a2ui/stream/renderer.d.ts +52 -0
- package/lib/a2ui/stream/renderer.d.ts.map +1 -0
- package/lib/a2ui/stream/renderer.js +279 -0
- package/lib/a2ui/stream/renderer.js.map +1 -0
- package/lib/a2ui/stream/types.d.ts +174 -0
- package/lib/a2ui/stream/types.d.ts.map +1 -0
- package/lib/a2ui/stream/types.js +18 -0
- package/lib/a2ui/stream/types.js.map +1 -0
- package/lib/components/accordion/accordion.d.ts +15 -0
- package/lib/components/accordion/accordion.d.ts.map +1 -1
- package/lib/components/accordion/accordion.js +23 -0
- package/lib/components/accordion/accordion.js.map +1 -1
- package/lib/components/badge/badge.d.ts +5 -18
- package/lib/components/badge/badge.d.ts.map +1 -1
- package/lib/components/badge/badge.js +0 -15
- package/lib/components/badge/badge.js.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.d.ts +14 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.js +21 -0
- package/lib/components/breadcrumbs/breadcrumbs.js.map +1 -1
- package/lib/components/chart/chart.d.ts +3 -3
- package/lib/components/chart/chart.js +6 -6
- package/lib/components/chart/chart.js.map +1 -1
- package/lib/components/checkbox-field/checkbox-field.d.ts +19 -0
- package/lib/components/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/lib/components/checkbox-field/checkbox-field.js +28 -0
- package/lib/components/checkbox-field/checkbox-field.js.map +1 -1
- package/lib/components/cre8-element.d.ts +19 -0
- package/lib/components/cre8-element.d.ts.map +1 -1
- package/lib/components/cre8-element.js +51 -2
- package/lib/components/cre8-element.js.map +1 -1
- package/lib/components/divider/divider.d.ts +1 -1
- package/lib/components/divider/divider.d.ts.map +1 -1
- package/lib/components/divider/divider.js.map +1 -1
- package/lib/components/dropdown/dropdown.d.ts +13 -0
- package/lib/components/dropdown/dropdown.d.ts.map +1 -1
- package/lib/components/dropdown/dropdown.js +19 -0
- package/lib/components/dropdown/dropdown.js.map +1 -1
- package/lib/components/dropdown-item/dropdown-item.d.ts +1 -1
- package/lib/components/dropdown-item/dropdown-item.js +2 -2
- package/lib/components/dropdown-item/dropdown-item.js.map +1 -1
- package/lib/components/heading/heading.d.ts +3 -5
- package/lib/components/heading/heading.d.ts.map +1 -1
- package/lib/components/heading/heading.js +2 -4
- package/lib/components/heading/heading.js.map +1 -1
- package/lib/components/icon/icon.d.ts +4 -4
- package/lib/components/icon/icon.js +6 -6
- package/lib/components/icon/icon.js.map +1 -1
- package/lib/components/link-list/link-list.d.ts +19 -0
- package/lib/components/link-list/link-list.d.ts.map +1 -1
- package/lib/components/link-list/link-list.js +19 -0
- package/lib/components/link-list/link-list.js.map +1 -1
- package/lib/components/list/list.d.ts +13 -0
- package/lib/components/list/list.d.ts.map +1 -1
- package/lib/components/list/list.js +15 -0
- package/lib/components/list/list.js.map +1 -1
- package/lib/components/modal/modal.d.ts +2 -2
- package/lib/components/modal/modal.js +2 -2
- package/lib/components/modal/modal.js.map +1 -1
- package/lib/components/multi-select/multi-select.d.ts +2 -2
- package/lib/components/multi-select/multi-select.js +5 -5
- package/lib/components/multi-select/multi-select.js.map +1 -1
- package/lib/components/pagination/pagination.d.ts +1 -1
- package/lib/components/pagination/pagination.js +2 -2
- package/lib/components/pagination/pagination.js.map +1 -1
- package/lib/components/percent-bar/percent-bar.d.ts +2 -0
- package/lib/components/percent-bar/percent-bar.d.ts.map +1 -1
- package/lib/components/percent-bar/percent-bar.js +3 -1
- package/lib/components/percent-bar/percent-bar.js.map +1 -1
- package/lib/components/popover/popover.d.ts +6 -7
- package/lib/components/popover/popover.d.ts.map +1 -1
- package/lib/components/popover/popover.js +4 -4
- package/lib/components/popover/popover.js.map +1 -1
- package/lib/components/progress-meter/progress-meter.d.ts +0 -8
- package/lib/components/progress-meter/progress-meter.d.ts.map +1 -1
- package/lib/components/progress-meter/progress-meter.js +0 -7
- package/lib/components/progress-meter/progress-meter.js.map +1 -1
- package/lib/components/progress-steps/progress-steps.d.ts +16 -0
- package/lib/components/progress-steps/progress-steps.d.ts.map +1 -1
- package/lib/components/progress-steps/progress-steps.js +25 -0
- package/lib/components/progress-steps/progress-steps.js.map +1 -1
- package/lib/components/progress-steps-item/progress-steps-item.d.ts +1 -3
- package/lib/components/progress-steps-item/progress-steps-item.d.ts.map +1 -1
- package/lib/components/progress-steps-item/progress-steps-item.js +0 -1
- package/lib/components/progress-steps-item/progress-steps-item.js.map +1 -1
- package/lib/components/radio-field/radio-field.d.ts +33 -0
- package/lib/components/radio-field/radio-field.d.ts.map +1 -1
- package/lib/components/radio-field/radio-field.js +62 -0
- package/lib/components/radio-field/radio-field.js.map +1 -1
- package/lib/components/remove-tag/remove-tag.d.ts +1 -1
- package/lib/components/remove-tag/remove-tag.js +3 -3
- package/lib/components/remove-tag/remove-tag.js.map +1 -1
- package/lib/components/split-button/split-button.d.ts +3 -0
- package/lib/components/split-button/split-button.d.ts.map +1 -1
- package/lib/components/split-button/split-button.js +5 -2
- package/lib/components/split-button/split-button.js.map +1 -1
- package/lib/components/tab/tab.d.ts +1 -1
- package/lib/components/tab/tab.js +3 -3
- package/lib/components/tab/tab.js.map +1 -1
- package/lib/components/table/table.d.ts +36 -0
- package/lib/components/table/table.d.ts.map +1 -1
- package/lib/components/table/table.js +55 -0
- package/lib/components/table/table.js.map +1 -1
- package/lib/components/tabs/tabs.d.ts +20 -3
- package/lib/components/tabs/tabs.d.ts.map +1 -1
- package/lib/components/tabs/tabs.js +33 -5
- package/lib/components/tabs/tabs.js.map +1 -1
- package/lib/components/tag-list/tag-list.d.ts +17 -0
- package/lib/components/tag-list/tag-list.d.ts.map +1 -1
- package/lib/components/tag-list/tag-list.js +25 -0
- package/lib/components/tag-list/tag-list.js.map +1 -1
- package/lib/components/tooltip/tooltip.d.ts +2 -2
- package/lib/components/tooltip/tooltip.js +4 -4
- package/lib/components/tooltip/tooltip.js.map +1 -1
- package/lib/components/utils/light-children.d.ts +40 -0
- package/lib/components/utils/light-children.d.ts.map +1 -0
- package/lib/components/utils/light-children.js +100 -0
- package/lib/components/utils/light-children.js.map +1 -0
- package/lib/design-tokens/brands/cre8/css/tokens_brand.css +1 -1
- package/lib/directives/if-truthy.d.ts +1 -1
- package/lib/icons/cre8-icons.svg +1 -1
- package/lib/light-children-TlEXev5S.js +39 -0
- package/lib/scripts/generate-react-wrappers.d.ts +8 -1
- package/lib/scripts/generate-react-wrappers.d.ts.map +1 -1
- package/lib/scripts/generate-react-wrappers.js +45 -1
- package/lib/scripts/generate-react-wrappers.js.map +1 -1
- package/mcp-manifest.json +163 -53
- package/package.json +11 -4
- package/react-manifest.json +154 -48
- package/dist/assets/if-defined-HKKhGupN.js +0 -1
- package/dist/assets/iframe-CWwoGI65.css +0 -1
- package/dist/assets/state-CfuknrX8.js +0 -1
- package/dist/fonts/PlusJakartaSans-Bold.woff2 +0 -0
- package/dist/fonts/PlusJakartaSans-Medium.woff2 +0 -0
- package/dist/fonts/PlusJakartaSans-Regular.woff2 +0 -0
- package/dist/fonts/PlusJakartaSans-SemiBold.woff2 +0 -0
- package/dist/logo.svg +0 -1
- package/dist/sb-addons/storybook-4/manager-bundle.js +0 -8
- /package/dist/icons/{express-scripts copy.svg → pharmacy copy.svg} +0 -0
- /package/dist/icons/{express-scripts.svg → pharmacy.svg} +0 -0
- /package/lib/icons/{express-scripts copy.svg → pharmacy copy.svg} +0 -0
- /package/lib/icons/{express-scripts.svg → pharmacy.svg} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmorrow/cre8-wc",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "cre8 Web Components is a library of presentational UI web components to be consumed by # web applications.",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"scripts": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build:react": "rm -rf react-wrappers/components react-wrappers/dist react-wrappers/index.ts && npx tsx scripts/generate-react-wrappers.ts && cd react-wrappers && npx tsc",
|
|
14
14
|
"build:a2ui": "pnpm run build:a2ui:catalog && pnpm run build:a2ui:compile",
|
|
15
15
|
"build:a2ui:catalog": "node a2ui/generate-catalog.mjs",
|
|
16
|
-
"build:a2ui:compile": "tsc --module esnext --moduleResolution bundler --target es2022 --lib es2022,dom,dom.iterable --strict --skipLibCheck --declaration --outDir a2ui a2ui/types.ts a2ui/registry.ts a2ui/renderer.ts a2ui/index.ts",
|
|
16
|
+
"build:a2ui:compile": "tsc --module esnext --moduleResolution bundler --target es2022 --lib es2022,dom,dom.iterable --strict --skipLibCheck --declaration --outDir a2ui a2ui/types.ts a2ui/registry.ts a2ui/renderer.ts a2ui/index.ts a2ui/stream/types.ts a2ui/stream/pointer.ts a2ui/stream/model.ts a2ui/stream/renderer.ts a2ui/stream/diff.ts a2ui/stream/index.ts",
|
|
17
17
|
"a2ui:demo": "python3 -m http.server 8765",
|
|
18
18
|
"storybook:react": "pnpm run build:react && cd react-wrappers && npx storybook dev -p 9009",
|
|
19
19
|
"build-storybook:react": "pnpm run build:react && cd react-wrappers && npx storybook build -o dist-storybook",
|
|
@@ -33,7 +33,10 @@
|
|
|
33
33
|
"format": "eslint-config --ext .ts,.html . --fix --ignore-path ../../.eslintignore",
|
|
34
34
|
"publish:react": "cd react-wrappers && npm publish --access public",
|
|
35
35
|
"release:publish": "node scripts/release.cjs --skip-lint --skip-tests --publish",
|
|
36
|
-
"version:bump": "node scripts/version-bump.cjs"
|
|
36
|
+
"version:bump": "node scripts/version-bump.cjs",
|
|
37
|
+
"test:a2ui": "npx tsx a2ui/smoke-test.mjs && npx tsx a2ui/stream/stream-test.mjs && npx tsx a2ui/stream/diff-test.mjs && node a2ui/render-audit.mjs --check",
|
|
38
|
+
"audit:render": "node a2ui/render-audit.mjs",
|
|
39
|
+
"audit:render:check": "node a2ui/render-audit.mjs --check"
|
|
37
40
|
},
|
|
38
41
|
"type": "module",
|
|
39
42
|
"module": "lib/index.js",
|
|
@@ -96,7 +99,11 @@
|
|
|
96
99
|
"import": "./a2ui/*",
|
|
97
100
|
"types": "./a2ui/*"
|
|
98
101
|
},
|
|
99
|
-
"./package.json": "./package.json"
|
|
102
|
+
"./package.json": "./package.json",
|
|
103
|
+
"./a2ui/stream": {
|
|
104
|
+
"import": "./a2ui/stream/index.js",
|
|
105
|
+
"types": "./a2ui/stream/index.d.ts"
|
|
106
|
+
}
|
|
100
107
|
},
|
|
101
108
|
"repository": {
|
|
102
109
|
"url": "https://github.com/tmorrowdev/Cre8-Components.git"
|
package/react-manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.0.
|
|
2
|
+
"version": "2.0.8",
|
|
3
3
|
"library": "@tmorrow/cre8-react",
|
|
4
4
|
"componentPrefix": "Cre8",
|
|
5
5
|
"description": "React wrappers for cre8 Web Components (@tmorrow/cre8-wc)",
|
|
@@ -368,11 +368,13 @@
|
|
|
368
368
|
"type": "React.ReactNode",
|
|
369
369
|
"description": "Slotted content."
|
|
370
370
|
},
|
|
371
|
-
"
|
|
372
|
-
"type": "(event: CustomEvent) => void"
|
|
371
|
+
"onSplitButtonTextClick": {
|
|
372
|
+
"type": "(event: CustomEvent) => void",
|
|
373
|
+
"description": "Fires when the main text button is clicked."
|
|
373
374
|
},
|
|
374
|
-
"
|
|
375
|
-
"type": "(event: CustomEvent) => void"
|
|
375
|
+
"onSplitButtonDropdownClick": {
|
|
376
|
+
"type": "(event: CustomEvent) => void",
|
|
377
|
+
"description": "Fires when the dropdown toggle is clicked."
|
|
376
378
|
}
|
|
377
379
|
},
|
|
378
380
|
"examples": []
|
|
@@ -455,15 +457,15 @@
|
|
|
455
457
|
"type": "string[]",
|
|
456
458
|
"description": "Default colors for datasets (uses cre8 design token colors)."
|
|
457
459
|
},
|
|
458
|
-
"
|
|
460
|
+
"onChartClick": {
|
|
459
461
|
"type": "(event: CustomEvent) => void",
|
|
460
462
|
"description": "Fired when a chart element is clicked"
|
|
461
463
|
},
|
|
462
|
-
"
|
|
464
|
+
"onChartHover": {
|
|
463
465
|
"type": "(event: CustomEvent) => void",
|
|
464
466
|
"description": "Fired when hovering over chart elements"
|
|
465
467
|
},
|
|
466
|
-
"
|
|
468
|
+
"onChartReady": {
|
|
467
469
|
"type": "(event: CustomEvent) => void",
|
|
468
470
|
"description": "Fired when the chart is initialized"
|
|
469
471
|
}
|
|
@@ -488,6 +490,10 @@
|
|
|
488
490
|
],
|
|
489
491
|
"description": "Spacing variants\n<cre8-text-passage size=\"sm\">\n<ul>\n<li>**padded** applies more padding in between list items compared to the default</li>\n<li>**condensed** reduces padding in between list items compared to the default</li>\n</ul>\n</cre8-text-passage>"
|
|
490
492
|
},
|
|
493
|
+
"items": {
|
|
494
|
+
"type": "Cre8ListItemData[]",
|
|
495
|
+
"description": "Items for a data-driven list. Set this and the list builds its own\n`cre8-list-item` children in the light DOM — the same composition you would\nwrite by hand. Leave it unset to compose the list yourself."
|
|
496
|
+
},
|
|
491
497
|
"children": {
|
|
492
498
|
"type": "React.ReactNode",
|
|
493
499
|
"description": "Slotted content."
|
|
@@ -532,7 +538,7 @@
|
|
|
532
538
|
"type": "boolean",
|
|
533
539
|
"description": "Disabled state for remove tag"
|
|
534
540
|
},
|
|
535
|
-
"
|
|
541
|
+
"onRemoveTagClick": {
|
|
536
542
|
"type": "(event: CustomEvent) => void",
|
|
537
543
|
"description": "Fires when the remove tag is clicked."
|
|
538
544
|
}
|
|
@@ -550,6 +556,14 @@
|
|
|
550
556
|
"category": "Data",
|
|
551
557
|
"description": "Table component.",
|
|
552
558
|
"props": {
|
|
559
|
+
"columns": {
|
|
560
|
+
"type": "Cre8TableColumn[]",
|
|
561
|
+
"description": "Columns for a data-driven table. Set this with `rows` and the table builds\nits own header, body, rows and cells — the same composition you would write\nby hand, generated into the light DOM, so nothing about styling or\nbehaviour changes.\n\nLeave both unset to compose the table yourself with `cre8-table-header`,\n`cre8-table-body` and friends. Do not do both on one table."
|
|
562
|
+
},
|
|
563
|
+
"rows": {
|
|
564
|
+
"type": "Cre8TableRowData[]",
|
|
565
|
+
"description": "Rows for a data-driven table. Each row is either an object keyed by the\ncolumns' `key`, or an array of values positioned to match `columns`."
|
|
566
|
+
},
|
|
553
567
|
"caption": {
|
|
554
568
|
"type": "string",
|
|
555
569
|
"description": "Specifies the caption/title of the table, visible to all users.\nIncreases accessibility of table."
|
|
@@ -788,6 +802,10 @@
|
|
|
788
802
|
"type": "string",
|
|
789
803
|
"description": "Tag list legend label"
|
|
790
804
|
},
|
|
805
|
+
"tags": {
|
|
806
|
+
"type": "Cre8TagData[]",
|
|
807
|
+
"description": "Tags for a data-driven tag list. Set this and the list builds its own\n`cre8-tag` children in the light DOM. Leave it unset to compose them\nyourself."
|
|
808
|
+
},
|
|
791
809
|
"fieldId": {
|
|
792
810
|
"type": "string",
|
|
793
811
|
"description": "The unique id of the select"
|
|
@@ -805,6 +823,10 @@
|
|
|
805
823
|
"category": "Disclosure",
|
|
806
824
|
"description": "The component is a vertically stacked list of headers that reveal or hide sections of related content on a page.\nThe header title gives the user a high level overview of the content allowing the user to decide\nwhich sections to expand for the information.\n\nAccordion contains Accordion Items as children. This component is the wrapper for grouping related accordion items.\n\nUsers can select different border types: default (no border), rectangle, rounded bottom, and rounded.",
|
|
807
825
|
"props": {
|
|
826
|
+
"items": {
|
|
827
|
+
"type": "Cre8AccordionItemData[]",
|
|
828
|
+
"description": "Panels for a data-driven accordion. Each becomes a `cre8-accordion-item`\nwith its heading as a prop and its content in the default slot."
|
|
829
|
+
},
|
|
808
830
|
"borderType": {
|
|
809
831
|
"type": "string",
|
|
810
832
|
"values": [
|
|
@@ -893,6 +915,10 @@
|
|
|
893
915
|
"category": "Disclosure",
|
|
894
916
|
"description": "The Dropdown menu itself is a container that can host multiple interactive items, commonly formatted as a list",
|
|
895
917
|
"props": {
|
|
918
|
+
"items": {
|
|
919
|
+
"type": "Cre8DropdownItemData[]",
|
|
920
|
+
"description": "Items for a data-driven dropdown. Set this and the dropdown builds its own\n`cre8-dropdown-item` children in the light DOM."
|
|
921
|
+
},
|
|
896
922
|
"buttonText": {
|
|
897
923
|
"type": "string",
|
|
898
924
|
"description": "Dropdown header"
|
|
@@ -933,7 +959,7 @@
|
|
|
933
959
|
"type": "React.ReactNode",
|
|
934
960
|
"description": "Slotted content."
|
|
935
961
|
},
|
|
936
|
-
"
|
|
962
|
+
"onDropdownItemSelect": {
|
|
937
963
|
"type": "(event: CustomEvent) => void",
|
|
938
964
|
"description": "Fires when the item is clicked. `event.detail.originalEvent` holds the source `MouseEvent`."
|
|
939
965
|
}
|
|
@@ -991,7 +1017,7 @@
|
|
|
991
1017
|
"type": "React.ReactNode",
|
|
992
1018
|
"description": "Slotted content. Named slots (set slot=\"...\" on the child): header, footer"
|
|
993
1019
|
},
|
|
994
|
-
"
|
|
1020
|
+
"onModalClose": {
|
|
995
1021
|
"type": "(event: CustomEvent) => void",
|
|
996
1022
|
"description": "Fires when the modal is dismissed via the close button, overlay click, or Escape key."
|
|
997
1023
|
}
|
|
@@ -1010,7 +1036,12 @@
|
|
|
1010
1036
|
},
|
|
1011
1037
|
"position": {
|
|
1012
1038
|
"type": "string",
|
|
1013
|
-
"
|
|
1039
|
+
"values": [
|
|
1040
|
+
"top",
|
|
1041
|
+
"left",
|
|
1042
|
+
"right"
|
|
1043
|
+
],
|
|
1044
|
+
"description": "Positions the popover panel absolutely to the trigger\n- Omitting this prop positions the popover panel below the trigger\n- **top** positions the popover panel above the trigger\n- **left** positions the popover panel to the left of the trigger\n- **right** positions the popover panel to the right of the trigger"
|
|
1014
1045
|
},
|
|
1015
1046
|
"isVisibleOnScroll": {
|
|
1016
1047
|
"type": "boolean",
|
|
@@ -1048,11 +1079,11 @@
|
|
|
1048
1079
|
"type": "React.ReactNode",
|
|
1049
1080
|
"description": "Slotted content. Named slots (set slot=\"...\" on the child): trigger, header, footer"
|
|
1050
1081
|
},
|
|
1051
|
-
"
|
|
1082
|
+
"onPopoverOpen": {
|
|
1052
1083
|
"type": "(event: CustomEvent) => void",
|
|
1053
1084
|
"description": "Fires when the popover opens. `event.detail.isActive` is `true`."
|
|
1054
1085
|
},
|
|
1055
|
-
"
|
|
1086
|
+
"onPopoverClose": {
|
|
1056
1087
|
"type": "(event: CustomEvent) => void",
|
|
1057
1088
|
"description": "Fires when the popover closes. `event.detail.isActive` is `false`."
|
|
1058
1089
|
}
|
|
@@ -1150,11 +1181,11 @@
|
|
|
1150
1181
|
"type": "React.ReactNode",
|
|
1151
1182
|
"description": "Slotted content. Named slots (set slot=\"...\" on the child): trigger"
|
|
1152
1183
|
},
|
|
1153
|
-
"
|
|
1184
|
+
"onTooltipOpen": {
|
|
1154
1185
|
"type": "(event: CustomEvent) => void",
|
|
1155
1186
|
"description": "Fires when the tooltip is shown. `event.detail.isActive` is `true`."
|
|
1156
1187
|
},
|
|
1157
|
-
"
|
|
1188
|
+
"onTooltipClose": {
|
|
1158
1189
|
"type": "(event: CustomEvent) => void",
|
|
1159
1190
|
"description": "Fires when the tooltip is hidden. `event.detail.isActive` is `false`."
|
|
1160
1191
|
}
|
|
@@ -1250,18 +1281,34 @@
|
|
|
1250
1281
|
},
|
|
1251
1282
|
"status": {
|
|
1252
1283
|
"type": "string",
|
|
1253
|
-
"
|
|
1284
|
+
"values": [
|
|
1285
|
+
"error",
|
|
1286
|
+
"info",
|
|
1287
|
+
"warning",
|
|
1288
|
+
"success",
|
|
1289
|
+
"attention"
|
|
1290
|
+
],
|
|
1291
|
+
"description": "Status (a color variant prop)\n- Omitting this prop renders a badge with the neutral state treatment\n- **success** renders a badge with success state treatment\n- **warning** renders a badge with warning state treatment\n- **error** renders a badge with error state treatment\n- **info** renders a badge with information state treatment\n- **attention** renders a badge with attention state treatment"
|
|
1254
1292
|
},
|
|
1255
1293
|
"variant": {
|
|
1256
1294
|
"type": "string",
|
|
1257
|
-
"
|
|
1295
|
+
"values": [
|
|
1296
|
+
"light",
|
|
1297
|
+
"white"
|
|
1298
|
+
],
|
|
1299
|
+
"description": "Background Style Variant\n\n- Omitting this prop renders a badge with a dark background\n- **light** renders a badge with a light background\n- **white** renders a badge with a white background"
|
|
1258
1300
|
},
|
|
1259
1301
|
"svg": {
|
|
1260
1302
|
"type": "string",
|
|
1261
|
-
"description": "SVG as a raw string\n- For badges with icons, the icon is defined by this prop\n- Pass in a raw svg as a String. We use raw string loader for this but any method of getting raw svgs will do\n- Import example:`import svgFeedback from '@tmorrow/cre8-wc/icons/Feedback.svg?raw';`\n- [cre8-icons Github repo](https://
|
|
1303
|
+
"description": "SVG as a raw string\n- For badges with icons, the icon is defined by this prop\n- Pass in a raw svg as a String. We use raw string loader for this but any method of getting raw svgs will do\n- Import example:`import svgFeedback from '@tmorrow/cre8-wc/icons/Feedback.svg?raw';`\n- [cre8-icons Github repo](https://github.com/tmorrowdev/cre8-icons) This is the Github\nrepo for Cre8 icons, which includes a link to the storybook as well as relavant information for new icons"
|
|
1262
1304
|
}
|
|
1263
1305
|
},
|
|
1264
|
-
"examples": [
|
|
1306
|
+
"examples": [
|
|
1307
|
+
{
|
|
1308
|
+
"description": "Light badge",
|
|
1309
|
+
"jsx": "<Cre8Badge variant=\"light\" text=\"Badge\" />"
|
|
1310
|
+
}
|
|
1311
|
+
]
|
|
1265
1312
|
},
|
|
1266
1313
|
{
|
|
1267
1314
|
"name": "Cre8InlineAlert",
|
|
@@ -1382,8 +1429,9 @@
|
|
|
1382
1429
|
"type": "boolean",
|
|
1383
1430
|
"description": "The action-left icon-only tertiary button in the percent bar controls can be disabled."
|
|
1384
1431
|
},
|
|
1385
|
-
"
|
|
1386
|
-
"type": "(event: CustomEvent) => void"
|
|
1432
|
+
"onPercentBarLeftActionClick": {
|
|
1433
|
+
"type": "(event: CustomEvent) => void",
|
|
1434
|
+
"description": "Fires when the left action button is clicked."
|
|
1387
1435
|
}
|
|
1388
1436
|
},
|
|
1389
1437
|
"examples": []
|
|
@@ -1395,7 +1443,12 @@
|
|
|
1395
1443
|
"description": "A progress meter provides feedback that the system is working and gives\nthe user an indication of how much time they will wait.\nThis indicator should be used when the system response time is longer and determinable.",
|
|
1396
1444
|
"props": {
|
|
1397
1445
|
"status": {
|
|
1398
|
-
"type": "
|
|
1446
|
+
"type": "string",
|
|
1447
|
+
"values": [
|
|
1448
|
+
"error",
|
|
1449
|
+
"warning",
|
|
1450
|
+
"success"
|
|
1451
|
+
],
|
|
1399
1452
|
"description": "Progress Status\n- **Default** renders a meter with default status fill\n- **Error** renders a meter with an error status fill\n- **Warning** renders a meter with a warning status\n- **Success** renders a meter with a success status fill"
|
|
1400
1453
|
},
|
|
1401
1454
|
"knockout": {
|
|
@@ -1432,6 +1485,17 @@
|
|
|
1432
1485
|
"category": "Feedback",
|
|
1433
1486
|
"description": "The Progress Steps Item component is used to display a single step in a multi-step process.\nIt should be used as a child component of `cre8-progress-steps`.\nThese Components serve a contextual purpose and don't provide any functionality.",
|
|
1434
1487
|
"props": {
|
|
1488
|
+
"state": {
|
|
1489
|
+
"type": "string",
|
|
1490
|
+
"values": [
|
|
1491
|
+
"error",
|
|
1492
|
+
"warning",
|
|
1493
|
+
"complete",
|
|
1494
|
+
"current",
|
|
1495
|
+
"incomplete"
|
|
1496
|
+
],
|
|
1497
|
+
"description": "The state of the step."
|
|
1498
|
+
},
|
|
1435
1499
|
"message": {
|
|
1436
1500
|
"type": "string",
|
|
1437
1501
|
"description": "Optional message to display under the step name."
|
|
@@ -1440,10 +1504,6 @@
|
|
|
1440
1504
|
"type": "string",
|
|
1441
1505
|
"description": "The name of the step."
|
|
1442
1506
|
},
|
|
1443
|
-
"state": {
|
|
1444
|
-
"type": "string",
|
|
1445
|
-
"description": "The state of the step: 'complete', 'current', 'error',' incomplete', 'warning';"
|
|
1446
|
-
},
|
|
1447
1507
|
"svg": {
|
|
1448
1508
|
"type": "string",
|
|
1449
1509
|
"description": "An SVG string to use as the step icon."
|
|
@@ -1497,6 +1557,14 @@
|
|
|
1497
1557
|
"type": "string",
|
|
1498
1558
|
"description": "Checkbox container legend label"
|
|
1499
1559
|
},
|
|
1560
|
+
"items": {
|
|
1561
|
+
"type": "Cre8CheckboxItemData[]",
|
|
1562
|
+
"description": "Checkboxes for a data-driven field. Each becomes a\n`cre8-checkbox-field-item`, sharing the field's `name` so they submit as a\ngroup."
|
|
1563
|
+
},
|
|
1564
|
+
"name": {
|
|
1565
|
+
"type": "string",
|
|
1566
|
+
"description": "Form control name shared by every generated item."
|
|
1567
|
+
},
|
|
1500
1568
|
"fieldNote": {
|
|
1501
1569
|
"type": "string",
|
|
1502
1570
|
"description": "Checkbox container fieldnote"
|
|
@@ -1891,7 +1959,7 @@
|
|
|
1891
1959
|
"name": "Cre8MultiSelect",
|
|
1892
1960
|
"tagName": "cre8-multi-select",
|
|
1893
1961
|
"category": "Forms",
|
|
1894
|
-
"description": "Multiselect is used when multiple options can be chosen from a static dropdown\nThis component has a list of items in the dropdown that can be added as \"selected tags\"\nThe checkbox will always reflect the selected nature of the item and is not removed\nfrom the dropdown when clicked, the tags will be added and removed based on their state.\n\nEvent `
|
|
1962
|
+
"description": "Multiselect is used when multiple options can be chosen from a static dropdown\nThis component has a list of items in the dropdown that can be added as \"selected tags\"\nThe checkbox will always reflect the selected nature of the item and is not removed\nfrom the dropdown when clicked, the tags will be added and removed based on their state.\n\nEvent `multi-select-change` emits whenever a tag is added or remove from the list and the\ncurrent list after the change is given in the detail.",
|
|
1895
1963
|
"props": {
|
|
1896
1964
|
"items": {
|
|
1897
1965
|
"type": "string[]",
|
|
@@ -1952,7 +2020,7 @@
|
|
|
1952
2020
|
"type": "React.ReactNode",
|
|
1953
2021
|
"description": "Slotted content. Named slots (set slot=\"...\" on the child): fieldNote"
|
|
1954
2022
|
},
|
|
1955
|
-
"
|
|
2023
|
+
"onMultiSelectChange": {
|
|
1956
2024
|
"type": "(event: CustomEvent) => void",
|
|
1957
2025
|
"description": "Fires when a tag is added or removed. `event.detail.selectedItems` is the current selection."
|
|
1958
2026
|
}
|
|
@@ -1969,6 +2037,14 @@
|
|
|
1969
2037
|
"type": "string",
|
|
1970
2038
|
"description": "Radio field legend label"
|
|
1971
2039
|
},
|
|
2040
|
+
"items": {
|
|
2041
|
+
"type": "Cre8RadioItemData[]",
|
|
2042
|
+
"description": "Options for a data-driven radio field. Each becomes a\n`cre8-radio-field-item` sharing the field's `name`, which is what the form\nsubmits under. Exclusivity is enforced by the field itself — see\n`enforceSingleSelection`, and do not assume `name` alone does it."
|
|
2043
|
+
},
|
|
2044
|
+
"name": {
|
|
2045
|
+
"type": "string",
|
|
2046
|
+
"description": "Form control name shared by every generated option."
|
|
2047
|
+
},
|
|
1972
2048
|
"fieldNote": {
|
|
1973
2049
|
"type": "string",
|
|
1974
2050
|
"description": "Radio Field Note"
|
|
@@ -2393,6 +2469,10 @@
|
|
|
2393
2469
|
},
|
|
2394
2470
|
"status": {
|
|
2395
2471
|
"type": "string",
|
|
2472
|
+
"values": [
|
|
2473
|
+
"brand",
|
|
2474
|
+
"knockout"
|
|
2475
|
+
],
|
|
2396
2476
|
"description": "Status (a color variant prop)\n- By default, the divider has gray color.\n- **brand**, the divider has blue color.\n- **knockout**, the divider has white color."
|
|
2397
2477
|
}
|
|
2398
2478
|
},
|
|
@@ -2707,6 +2787,10 @@
|
|
|
2707
2787
|
"category": "Navigation",
|
|
2708
2788
|
"description": "The breadcrumbs component is a secondary navigation pattern that helps a user understand where the user is located.\nThe breadcrumbs component shows the users their current location relative to the information architecture\nIt enables the users to quickly move up to a parent level or previous location.\n\n## How to Use\n\n- Import 'Breadcrumbs' component.\n- Add the pages in the path of the breadcrumbs using `cre8-breadcrumbs-item`.\nAll the pages in the breadcrumbs component should be interactive.\n- All the page should link to their respective pages (except the current page) using `cre8-link`.\n- The current page is included in the breadcrumbs trail.\n- The current page is always the last text listed and is not an interactive link.",
|
|
2709
2789
|
"props": {
|
|
2790
|
+
"items": {
|
|
2791
|
+
"type": "Cre8BreadcrumbData[]",
|
|
2792
|
+
"description": "Crumbs for a data-driven trail. Each becomes a `cre8-breadcrumbs-item`,\nwrapping a `cre8-text-link` when it has an `href`."
|
|
2793
|
+
},
|
|
2710
2794
|
"navAriaLabel": {
|
|
2711
2795
|
"type": "string",
|
|
2712
2796
|
"default": "breadcrumbs",
|
|
@@ -2945,6 +3029,10 @@
|
|
|
2945
3029
|
],
|
|
2946
3030
|
"description": "Style variants\n- **secondary** renders a link list with a more subtle visual treatment\n- **display** renders a link list with a display treatment (e.g. article title)"
|
|
2947
3031
|
},
|
|
3032
|
+
"items": {
|
|
3033
|
+
"type": "Cre8LinkData[]",
|
|
3034
|
+
"description": "Links for a data-driven list. Each becomes a `cre8-link-list-item`.\n\nWorth knowing if you compose these by hand: the label goes in the item's\ndefault slot, *not* its `text` prop. That prop is declared and documented\nbut never rendered, so setting it produces an empty link that passes every\ncheck — see the drift ledger in `docs/kb/07-research.md`. This API routes\naround it."
|
|
3035
|
+
},
|
|
2948
3036
|
"children": {
|
|
2949
3037
|
"type": "React.ReactNode",
|
|
2950
3038
|
"description": "Slotted content."
|
|
@@ -3051,7 +3139,7 @@
|
|
|
3051
3139
|
"type": "React.ReactNode",
|
|
3052
3140
|
"description": "Slotted content."
|
|
3053
3141
|
},
|
|
3054
|
-
"
|
|
3142
|
+
"onPaginationChange": {
|
|
3055
3143
|
"type": "(event: CustomEvent) => void",
|
|
3056
3144
|
"description": "Fires when the page changes. `event.detail` is `{ buttonName, value }` where `value` is the new current page."
|
|
3057
3145
|
}
|
|
@@ -3151,7 +3239,7 @@
|
|
|
3151
3239
|
"type": "React.ReactNode",
|
|
3152
3240
|
"description": "Slotted content."
|
|
3153
3241
|
},
|
|
3154
|
-
"
|
|
3242
|
+
"onTabSelect": {
|
|
3155
3243
|
"type": "(event: CustomEvent) => void",
|
|
3156
3244
|
"description": "Fires when the tab is clicked. `event.detail.index` is the tab's index."
|
|
3157
3245
|
}
|
|
@@ -3193,6 +3281,10 @@
|
|
|
3193
3281
|
"type": "\"sm\"",
|
|
3194
3282
|
"description": "Tab sizes\n- **default** displays the cre8-tab text with cre8-typography-label-default\n- **sm** displays the cre8-tab text with cre8-typography-label-small"
|
|
3195
3283
|
},
|
|
3284
|
+
"items": {
|
|
3285
|
+
"type": "Cre8TabItemData[]",
|
|
3286
|
+
"description": "Tabs for a data-driven tab set. Each entry becomes a `cre8-tab` in the\ndefault slot *and* a `cre8-tab-panel` in the `panel` slot, with matching\nindices — two slots kept in step, which is the part that goes wrong when\nthese are written by hand."
|
|
3287
|
+
},
|
|
3196
3288
|
"fullWidth": {
|
|
3197
3289
|
"type": "boolean",
|
|
3198
3290
|
"description": "Displays a set of tabs with a spanning the width of the element"
|
|
@@ -3244,7 +3336,8 @@
|
|
|
3244
3336
|
"description": "Slotted content. Named slots (set slot=\"...\" on the child): panel"
|
|
3245
3337
|
},
|
|
3246
3338
|
"onTabChange": {
|
|
3247
|
-
"type": "(event: CustomEvent) => void"
|
|
3339
|
+
"type": "(event: CustomEvent) => void",
|
|
3340
|
+
"description": "Fires when the active tab changes. `event.detail` is `{ value, activeTabIndex }`."
|
|
3248
3341
|
}
|
|
3249
3342
|
},
|
|
3250
3343
|
"examples": []
|
|
@@ -3359,6 +3452,10 @@
|
|
|
3359
3452
|
"category": "Other",
|
|
3360
3453
|
"description": "The Progress Steps component is used to display where a user is in a multistep process.\nIt clearly indicates the total number of steps, which steps are complete and incomplete,\nand which step you’re currently on. They help users estimate how long a task will take and can be\nused to track status on orders.\n\nThe Progress Steps component should be used as a parent component for `cre8-progress-steps-item` components.\nThese Components serve a contextual purpose and don't provide any functionality.\n\n# How to Use\n\nProgress Steps is used when there is ample horizontal space and two to six steps. It displays each step by name\nand number to help users understand exactly where they are in a process. It is the preferred option for desktop.\nProgress Steps should change to Compact Steps on mobile web to conserve space.\n\nProgress Steps can also be used to track order status. It provides a quick visual of how an order is progressing\nwith options to alert users of any problems along the way. When used for order status, Progress Steps should\nchange to Vertical Steps on mobile web to conserve space while allowing alerts and messages to remain visible.",
|
|
3361
3454
|
"props": {
|
|
3455
|
+
"steps": {
|
|
3456
|
+
"type": "Cre8ProgressStepData[]",
|
|
3457
|
+
"description": "Steps for a data-driven progress indicator. Note that the visible label is\neach item's `name` prop rather than its content — `cre8-progress-steps-item`\ndoes not render children, which is easy to get wrong by hand."
|
|
3458
|
+
},
|
|
3362
3459
|
"children": {
|
|
3363
3460
|
"type": "React.ReactNode",
|
|
3364
3461
|
"description": "Slotted content."
|
|
@@ -3374,7 +3471,7 @@
|
|
|
3374
3471
|
"props": {
|
|
3375
3472
|
"type": {
|
|
3376
3473
|
"type": "\"display-default\" | \"display-small\" | \"headline-large\" | \"headline-default\" | \"headline-small\" | \"title-xlarge\" | \"title-large\" | \"title-default\" | \"title-small\" | \"label-large\" | ... 5 more ...",
|
|
3377
|
-
"description": "Heading type\n<cre8-text-passage size=\"small\">\n<ul>\n<li>**display-default** renders a heading with the heading display-default preset treatment</li>\n<li>**display-small** renders a heading with the heading display-small preset treatment</li>\n<li>**headline-large** renders a heading with the heading headline-large preset treatment</li>\n<li>**headline-default** renders a heading with the heading headline-default preset treatment</li>\n<li>**headline-small** renders a heading with the heading headline-small preset treatment</li>\n<li>**title-xlarge** renders a heading with the heading title-xlarge preset treatment</li>\n<li>**title-large** renders a heading with the heading title-large preset treatment</li>\n<li>**title-default** renders a heading with the heading title-default preset treatment</li>\n<li>**title-small** renders a heading with the heading title-small preset treatment</li>\n<li>**label-large** renders a heading with the label-large preset treatment</li>\n<li>**label** renders a heading with the label preset treatment</li>\n<li>**label-small** renders a heading with the label-small preset treatment</li>\n<li>**meta-large** renders a heading with the meta-large preset treatment</li>\n<li>**meta-default** renders a heading with the meta-default preset treatment</li>\n<li>**meta-small** renders a heading with the meta-small preset treatment</li>\n</ul>\n</cre8-text-passage>"
|
|
3474
|
+
"description": "Heading type\n<cre8-text-passage size=\"small\">\n<ul>\n<li>**display-default** renders a heading with the heading display-default preset treatment</li>\n<li>**display-small** renders a heading with the heading display-small preset treatment</li>\n<li>**headline-large** renders a heading with the heading headline-large preset treatment</li>\n<li>**headline-default** renders a heading with the heading headline-default preset treatment</li>\n<li>**headline-small** renders a heading with the heading headline-small preset treatment</li>\n<li>**title-xlarge** renders a heading with the heading title-xlarge preset treatment</li>\n<li>**title-large** renders a heading with the heading title-large preset treatment</li>\n<li>**title-default** renders a heading with the heading title-default preset treatment</li>\n<li>**title-small** renders a heading with the heading title-small preset treatment</li>\n<li>**label-large** renders a heading with the label-large preset treatment</li>\n<li>**label-default** renders a heading with the label-default preset treatment</li>\n<li>**label-small** renders a heading with the label-small preset treatment</li>\n<li>**meta-large** renders a heading with the meta-large preset treatment</li>\n<li>**meta-default** renders a heading with the meta-default preset treatment</li>\n<li>**meta-small** renders a heading with the meta-small preset treatment</li>\n</ul>\n</cre8-text-passage>"
|
|
3378
3475
|
},
|
|
3379
3476
|
"inverted": {
|
|
3380
3477
|
"type": "boolean",
|
|
@@ -3382,8 +3479,16 @@
|
|
|
3382
3479
|
},
|
|
3383
3480
|
"tagVariant": {
|
|
3384
3481
|
"type": "string",
|
|
3482
|
+
"values": [
|
|
3483
|
+
"h1",
|
|
3484
|
+
"h2",
|
|
3485
|
+
"h3",
|
|
3486
|
+
"h4",
|
|
3487
|
+
"h5",
|
|
3488
|
+
"h6"
|
|
3489
|
+
],
|
|
3385
3490
|
"default": "h5",
|
|
3386
|
-
"description": "Dynamic tag name for the component\n1) This is needed to use proper semantic heading treatments depending on where the banner lives on the page\n<cre8-text-passage size=\"small\">\n<ul>\n<li>**h1** renders an `h1` tag</li>\n<li>**h2** renders an `h2` tag
|
|
3491
|
+
"description": "Dynamic tag name for the component\n1) This is needed to use proper semantic heading treatments depending on where the banner lives on the page\n<cre8-text-passage size=\"small\">\n<ul>\n<li>**h1** renders an `h1` tag</li>\n<li>**h2** renders an `h2` tag</li>\n<li>**h3** renders an `h3` tag</li>\n<li>**h4** renders an `h4` tag</li>\n<li>**h5** renders an `h5` tag. This is the default</li>\n<li>**h6** renders an `h6` tag</li>\n</ul>\n</cre8-text-passage>"
|
|
3387
3492
|
},
|
|
3388
3493
|
"brandColor": {
|
|
3389
3494
|
"type": "boolean",
|
|
@@ -3501,13 +3606,13 @@
|
|
|
3501
3606
|
"type": "boolean",
|
|
3502
3607
|
"description": "Required state"
|
|
3503
3608
|
},
|
|
3504
|
-
"
|
|
3609
|
+
"isError": {
|
|
3505
3610
|
"type": "boolean",
|
|
3506
|
-
"description": "Error state indicator"
|
|
3611
|
+
"description": "Error state indicator. Lit lowercases property names to derive attribute names, so the attribute is isError/iserror — is-error does not bind."
|
|
3507
3612
|
},
|
|
3508
|
-
"
|
|
3613
|
+
"isSuccess": {
|
|
3509
3614
|
"type": "boolean",
|
|
3510
|
-
"description": "Success state indicator"
|
|
3615
|
+
"description": "Success state indicator. Attribute is isSuccess/issuccess, not is-success."
|
|
3511
3616
|
}
|
|
3512
3617
|
},
|
|
3513
3618
|
"properties": {
|
|
@@ -3527,15 +3632,16 @@
|
|
|
3527
3632
|
"checkValidity()",
|
|
3528
3633
|
"reportValidity()",
|
|
3529
3634
|
"setCustomValidity(message)"
|
|
3530
|
-
]
|
|
3635
|
+
],
|
|
3636
|
+
"constraintValidation": "setValidity() is only ever called from setCustomValidity(). required, pattern, min, max and type=\"email\" are stored as props but never mapped into the validity state, so they do not block submission on their own — an empty required field still submits. Enforce constraints with setCustomValidity() or in the form's submit handler."
|
|
3531
3637
|
}
|
|
3532
3638
|
}
|
|
3533
3639
|
],
|
|
3534
3640
|
"patterns": [
|
|
3535
3641
|
{
|
|
3536
3642
|
"name": "Login Form",
|
|
3537
|
-
"description": "Standard login form with email and password",
|
|
3538
|
-
"template": "<
|
|
3643
|
+
"description": "Standard login form with email and password. Three things make it submit rather than merely look right: a real <form> wrapper (cre8 form components participate via ElementInternals, which is inert outside one), type=\"submit\" on the button (cre8-button defaults to type=\"button\"), and a name on every field (setFormValue contributes nothing to FormData without one). Note that required does not block submission on its own — cre8 form elements never map constraint attributes into setValidity, so enforce it with setCustomValidity() or a submit handler.",
|
|
3644
|
+
"template": "<form>\n <Cre8Card>\n <Cre8Heading tagVariant=\"h2\" type=\"headline-default\">Sign In</Cre8Heading>\n <Cre8Field label=\"Email\" name=\"email\" type=\"email\" autocomplete=\"email\" required />\n <Cre8Field label=\"Password\" name=\"password\" type=\"password\" autocomplete=\"current-password\" required />\n <Cre8Button text=\"Sign In\" variant=\"primary\" fullWidth type=\"submit\" />\n </Cre8Card>\n</form>"
|
|
3539
3645
|
},
|
|
3540
3646
|
{
|
|
3541
3647
|
"name": "Data Table",
|
|
@@ -3544,8 +3650,8 @@
|
|
|
3544
3650
|
},
|
|
3545
3651
|
{
|
|
3546
3652
|
"name": "Page Layout",
|
|
3547
|
-
"description": "Standard page with header, main content, and footer",
|
|
3548
|
-
"template": "<Cre8Layout>\n <Cre8Header>\n <
|
|
3653
|
+
"description": "Standard page with header, main content, and footer. cre8-global-nav and cre8-footer expose no logo or copyright slot; content addressed to a slot that does not exist is never assigned and renders nowhere, so both go in the default slot.",
|
|
3654
|
+
"template": "<Cre8Layout>\n <Cre8Header>\n <Cre8Logo />\n <Cre8GlobalNav>\n <Cre8GlobalNavItem href=\"/\">Home</Cre8GlobalNavItem>\n </Cre8GlobalNav>\n </Cre8Header>\n <Cre8Main>\n <Cre8LayoutContainer>\n {/* Page content */}\n </Cre8LayoutContainer>\n </Cre8Main>\n <Cre8Footer>\n <span>2024 Company Name</span>\n </Cre8Footer>\n</Cre8Layout>"
|
|
3549
3655
|
},
|
|
3550
3656
|
{
|
|
3551
3657
|
"name": "Alert Banner",
|
|
@@ -3554,13 +3660,13 @@
|
|
|
3554
3660
|
},
|
|
3555
3661
|
{
|
|
3556
3662
|
"name": "Tabbed Content",
|
|
3557
|
-
"description": "Content organized in tabs",
|
|
3558
|
-
"template": "<Cre8Tabs>\n <Cre8Tab
|
|
3663
|
+
"description": "Content organized in tabs. cre8-tab has no label, tab-id or selected prop: the label is slotted text content, and cre8-tabs pairs each tab with the panel at the same position and assigns index/isActive itself. Set activeIndex on cre8-tabs to choose the initial tab (defaults to 0).",
|
|
3664
|
+
"template": "<Cre8Tabs>\n <Cre8Tab>Tab 1</Cre8Tab>\n <Cre8Tab>Tab 2</Cre8Tab>\n <Cre8TabPanel slot=\"panel\">Content for Tab 1</Cre8TabPanel>\n <Cre8TabPanel slot=\"panel\">Content for Tab 2</Cre8TabPanel>\n</Cre8Tabs>"
|
|
3559
3665
|
},
|
|
3560
3666
|
{
|
|
3561
3667
|
"name": "Modal Dialog",
|
|
3562
|
-
"description": "Modal with header, body, and footer actions",
|
|
3563
|
-
"template": "<Cre8Modal isActive ariaLabel=\"Confirmation\">\n <span slot=\"header\">Confirm Action</span>\n <p>Are you sure you want to proceed?</p>\n <div slot=\"footer\">\n <Cre8Button text=\"Cancel\" variant=\"secondary\" />\n <Cre8Button text=\"Confirm\" variant=\"primary\" />\n </div>\n</Cre8Modal>"
|
|
3668
|
+
"description": "Modal with header, body, and footer actions. These buttons are deliberately type=\"button\": they are not in a form, so they do nothing until the app attaches click handlers. Wire both before shipping. If the modal instead collects input, wrap the body and footer in a <form> and give Confirm type=\"submit\" — see the Login Form pattern. Use ariaLabel, not aria-label: the modal renders its inner role=\"dialog\" label from the ariaLabel property, and a host aria-label attribute leaves that dialog unlabelled.",
|
|
3669
|
+
"template": "<Cre8Modal isActive ariaLabel=\"Confirmation\">\n <span slot=\"header\">Confirm Action</span>\n <p>Are you sure you want to proceed?</p>\n <div slot=\"footer\">\n {/* Both require a click handler; type=\"button\" is correct only because there is no form. */}\n <Cre8Button text=\"Cancel\" variant=\"secondary\" type=\"button\" />\n <Cre8Button text=\"Confirm\" variant=\"primary\" type=\"button\" />\n </div>\n</Cre8Modal>"
|
|
3564
3670
|
}
|
|
3565
3671
|
],
|
|
3566
3672
|
"designTokens": {
|
|
@@ -3587,7 +3693,7 @@
|
|
|
3587
3693
|
},
|
|
3588
3694
|
"dependencies": {
|
|
3589
3695
|
"@lit/react": "^1.0.8",
|
|
3590
|
-
"@tmorrow/cre8-wc": "^2.0.
|
|
3696
|
+
"@tmorrow/cre8-wc": "^2.0.8",
|
|
3591
3697
|
"react": ">=18",
|
|
3592
3698
|
"react-dom": ">=18"
|
|
3593
3699
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as r}from"./iframe-dHvya7sk.js";const m=o=>o??r;export{m as o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--size-base-unit: .5rem;--cre8-l-max-width: 82.5rem;--cre8-l-linelength-width: 42rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as r}from"./cre8-element-DfmMtHJO.js";function n(t){return r({...t,state:!0,attribute:!1})}export{n as r};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/logo.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 130 512 252" role="img" aria-label="Cre8"><path d="M256 256 C 200 168 78 172 78 256 C 78 340 200 344 256 256 C 312 168 434 172 434 256 C 434 340 312 344 256 256 Z" fill="none" stroke="#1F2BEC" stroke-width="66" stroke-linejoin="round" stroke-linecap="round"/></svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
try{
|
|
2
|
-
(()=>{var y=__STORYBOOK_API__,{ActiveTabs:_,Consumer:g,ManagerContext:k,Provider:f,RequestResponseError:h,Tag:j,addons:o,combineParameters:v,controlOrMetaKey:x,controlOrMetaSymbol:w,eventMatchesShortcut:S,eventToShortcut:C,experimental_MockUniversalStore:B,experimental_UniversalStore:P,experimental_getStatusStore:T,experimental_getTestProviderStore:F,experimental_requestResponse:O,experimental_useStatusStore:E,experimental_useTestProviderStore:U,experimental_useUniversalStore:A,getService:D,internal_checklistStore:M,internal_fullStatusStore:R,internal_fullTestProviderStore:z,internal_universalChecklistStore:I,internal_universalStatusStore:K,internal_universalTestProviderStore:G,isMacLike:N,isShortcutTaken:H,keyToSymbol:Y,merge:L,mockChannel:q,optionOrAltSymbol:J,registerService:V,shortcutMatchesShortcut:W,shortcutToAriaKeyshortcuts:$,shortcutToHumanString:Q,types:Z,useAddonState:X,useArgTypes:ee,useArgs:te,useChannel:se,useGlobalTypes:oe,useGlobals:re,useParameter:ne,useServiceCommand:ie,useServiceQuery:ae,useSharedState:le,useStoryPrepared:pe,useStorybookApi:ce,useStorybookState:me}=__STORYBOOK_API__;var _e=__STORYBOOK_THEMING__,{CacheProvider:ge,ClassNames:ke,Global:fe,ThemeProvider:he,background:je,color:ve,convert:xe,create:r,createCache:we,createGlobal:Se,createReset:Ce,css:Be,darken:Pe,ensure:Te,getPreferredColorScheme:Fe,ignoreSsrWarning:Oe,isPropValid:Ee,jsx:Ue,keyframes:Ae,lighten:De,srOnlyStyles:Me,srOnlyUnsetStyles:Re,styled:ze,themes:Ie,tokens:Ke,typography:Ge,useTheme:Ne,withTheme:He}=__STORYBOOK_THEMING__;var n={name:"@tmorrow/cre8-wc",version:"2.0.6",description:"cre8 Web Components is a library of presentational UI web components to be consumed by # web applications.",license:"BSD-3-Clause",scripts:{start:"pnpm run build:custom-elements.json && pnpm run storybook","compile-styles":"npx tsx scripts/convert-scss-to-ts.ts",build:"rm -rf lib && pnpm run compile-styles && pnpm build:cdn && vite build && tsc && cp .storybook/custom-elements.json custom-elements.json && pnpm run build:react && pnpm run build:mcp-manifest && pnpm run build:react-manifest","build:mcp-manifest":'npx web-component-analyzer analyze "components/*/*.ts" --format json --outFile /tmp/wca-raw.json && npx tsx scripts/generate-mcp-manifest.ts',"build:react-manifest":"npx tsx scripts/generate-react-manifest.ts","build:cdn":"rm -rf cdn && vite build --config vite.config.cdn.ts","build:react":"rm -rf react-wrappers/components react-wrappers/dist react-wrappers/index.ts && npx tsx scripts/generate-react-wrappers.ts && cd react-wrappers && npx tsc","build:a2ui":"pnpm run build:a2ui:catalog && pnpm run build:a2ui:compile","build:a2ui:catalog":"node a2ui/generate-catalog.mjs","build:a2ui:compile":"tsc --module esnext --moduleResolution bundler --target es2022 --lib es2022,dom,dom.iterable --strict --skipLibCheck --declaration --outDir a2ui a2ui/types.ts a2ui/registry.ts a2ui/renderer.ts a2ui/index.ts","a2ui:demo":"python3 -m http.server 8765","storybook:react":"pnpm run build:react && cd react-wrappers && npx storybook dev -p 9009","build-storybook:react":"pnpm run build:react && cd react-wrappers && npx storybook build -o dist-storybook","build:all":"pnpm run build:cdn && pnpm run build","build:watch":"vite build --watch","build:custom-elements.json":'npx @custom-elements-manifest/analyzer analyze --litelement --globs "components/*/*.ts" --outdir .storybook',test:"jest --verbose","test:jenkins":"jest --coverage=false --ci --runInBand --silent --bail","storybook-docs":"storybook dev --docs",storybook:"storybook dev -p 6006","build-storybook":"del-cli dist && storybook build -o dist",plop:"plop component","convert-scss-to-ts":"npx tsx ./scripts/convert-scss-to-ts.ts","plop:page":"plop page","plop:recipe":"plop recipe",lint:"eslint-config --ext .ts,.html . --ignore-path ../../.eslintignore",format:"eslint-config --ext .ts,.html . --fix --ignore-path ../../.eslintignore","publish:react":"cd react-wrappers && npm publish --access public","release:publish":"node scripts/release.cjs --skip-lint --skip-tests --publish","version:bump":"node scripts/version-bump.cjs"},type:"module",module:"lib/index.js",types:"lib/index.d.ts",keywords:["web-components","lit-element","typescript","lit"],author:"",files:["dist","lib","cdn","a2ui","mcp-manifest.json","react-manifest.json"],exports:{".":{import:"./lib/index.js",types:"./lib/index.d.ts"},"./cdn":{import:"./cdn/cre8-wc.esm.js",default:"./cdn/cre8-wc.min.js"},"./cdn/cre8-wc.esm.js":"./cdn/cre8-wc.esm.js","./cdn/cre8-wc.min.js":"./cdn/cre8-wc.min.js","./lib/components/*":{import:"./lib/components/*",types:"./lib/components/*",default:"./lib/components/*"},"./icons/*":{import:"./lib/icons/*",types:"./lib/icons/*",default:"./lib/icons/*"},"./themes/*":"./lib/design-tokens/brands/*/css/tokens_*.css","./themes/tmorrow-frost":"./lib/design-tokens/brands/tmorrow/css/tokens_tmorrow-frost.css","./themes/tmorrow-neon":"./lib/design-tokens/brands/tmorrow/css/tokens_tmorrow-neon.css","./styles/*":"./lib/design-tokens/core/scss/theming/*","./design-tokens/*":{import:"./lib/design-tokens/*",types:"./lib/design-tokens/*",default:"./lib/design-tokens/*"},"./global.d.ts":"./global.d.ts","./mcp-manifest.json":"./mcp-manifest.json","./react-manifest.json":"./react-manifest.json","./a2ui":{import:"./a2ui/index.js",types:"./a2ui/index.d.ts"},"./a2ui/catalog.json":"./a2ui/catalog.json","./a2ui/catalog-kg.json":"./a2ui/catalog-kg.json","./a2ui/*":{import:"./a2ui/*",types:"./a2ui/*"},"./package.json":"./package.json"},repository:{url:"https://github.com/tmorrowdev/Cre8-Components.git"},dependencies:{"@a11y/focus-trap":"^1.0.5","@lit/context":"^1.1.6","@lit/react":"^1.0.8","chart.js":"^4.5.1",classnames:"2.5.1",lit:"3.3.1","lit-html":"^3.3.1",nanoid:"^5.1.6",zod:"^4.1.12"},devDependencies:{"@babel/core":"^7.28.5","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-decorators":"^7.28.0","@babel/plugin-transform-typescript":"^7.28.5","@babel/preset-env":"^7.28.5","@babel/preset-typescript":"^7.28.5","@custom-elements-manifest/analyzer":"^0.11.0","@lit-labs/cli":"^0.6.6","@mdx-js/react":"^3.1.1","@mdx-js/rollup":"^3.1.1","@open-wc/testing-helpers":"^3.0.1","@skypack/package-check":"^0.2.2","@storybook/addon-a11y":"10.5.4","@storybook/addon-docs":"10.5.4","@storybook/addon-mcp":"^0.5.0","@storybook/addon-themes":"10.5.4","@storybook/builder-vite":"10.5.4","@storybook/react":"10.5.4","@storybook/react-vite":"10.5.4","@storybook/web-components":"10.5.4","@storybook/web-components-vite":"10.5.4","@testing-library/jest-dom":"^6.9.1","@testing-library/user-event":"^14.6.1","@types/jest":"^30.0.0","@types/jest-axe":"^3.5.9","@types/resize-observer-browser":"^0.1.11","@types/sanitize-html":"^2.16.0","@typescript-eslint/eslint-plugin":"^8.46.3","@typescript-eslint/parser":"^8.46.3","@vitejs/plugin-react":"^5.2.0","@wc-toolkit/storybook-helpers":"^10.5.1","babel-jest":"^30.2.0",clone:"^2.1.2","css-parse":"2.0.0","del-cli":"^7.0.0",dotenv:"^17.2.3","element-internals-polyfill":"^3.0.2",glob:"^11.0.3","identity-obj-proxy":"^3.0.0",jest:"^30.2.0","jest-axe":"^10.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^30.2.0","js-yaml":"^4.1.0",jsdom:"^27.1.0","lint-staged":"^16.2.6","loader-utils":"^3.3.1",marked:"^17.0.0",plop:"^4.0.4",postcss:"^8.5.6",react:"^19.2.0","react-docgen-typescript":"^2.4.0","react-dom":"^19.2.0","sanitize-html":"^2.17.0",sass:"^1.97.2",storybook:"10.5.4","style-dictionary":"^5.1.1","style-loader":"^4.0.0","ts-jest":"^29.4.5","ts-lit-plugin":"^2.0.2","ts-node":"^10.9.2",tsx:"^4.21.0",typescript:"^5.9.3",vite:"^7.2.2"},"lint-staged":{"*.ts":"eslint --cache --fix"},customElements:".storybook/custom-elements.json"};var l="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%20130%20512%20252%22%20role%3D%22img%22%20aria-label%3D%22Cre8%22%3E%3Cpath%20d%3D%22M256%20256%20C%20200%20168%2078%20172%2078%20256%20C%2078%20340%20200%20344%20256%20256%20C%20312%20168%20434%20172%20434%20256%20C%20434%20340%20312%20344%20256%20256%20Z%22%20fill%3D%22none%22%20stroke%3D%22%231F2BEC%22%20stroke-width%3D%2266%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E",i=r({base:"light",colorPrimary:"#3B82F6",colorSecondary:"#EC4899",appBg:"#ffffff",appContentBg:"#F8FAFC",appPreviewBg:"#ffffff",appBorderColor:"#E2E8F0",appBorderRadius:12,fontBase:'"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontCode:'ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace',textColor:"#0F172A",textMutedColor:"#64748B",textInverseColor:"#F8FAFC",barTextColor:"#475569",barSelectedColor:"#3B82F6",barHoverColor:"#EC4899",barBg:"#ffffff",buttonBg:"#F8FAFC",buttonBorder:"#E2E8F0",booleanBg:"#E2E8F0",booleanSelectedBg:"#3B82F6",inputBg:"#ffffff",inputBorder:"#E2E8F0",inputTextColor:"#0F172A",inputBorderRadius:8,brandTitle:`<div class="cre8-brand">
|
|
3
|
-
<img class="cre8-logo" src="${l}" alt="Cre8" />
|
|
4
|
-
<span class="cre8-name">Cre8</span>
|
|
5
|
-
<span class="cre8-sub">design system</span>
|
|
6
|
-
<span class="cre8-ver">v${n.version}</span>
|
|
7
|
-
</div>`,brandUrl:"/?path=/docs/documentation-changelog--docs",brandTarget:"_self"});o.setConfig({theme:i,sidebar:{showRoots:!0}});})();
|
|
8
|
-
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|