@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as l,c as s,n as a}from"./cre8-element-
|
|
1
|
+
import{C as l,c as s,n as a}from"./cre8-element-B35i4Lyg.js";import{a as g,b as p}from"./iframe-BNJP6ovU.js";import"./icon-ChfRWXWy.js";const u=g`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,10 +372,6 @@ img {
|
|
|
372
372
|
|
|
373
373
|
:root {
|
|
374
374
|
--size-base-unit: 0.5rem;
|
|
375
|
-
--cre8-l-max-width: 82.5rem;
|
|
376
|
-
/* 1 */
|
|
377
|
-
--cre8-l-linelength-width: 42rem;
|
|
378
|
-
/* 1 */
|
|
379
375
|
}
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -548,10 +544,6 @@ span.ripple {
|
|
|
548
544
|
}
|
|
549
545
|
:root {
|
|
550
546
|
--size-base-unit: 0.5rem;
|
|
551
|
-
--cre8-l-max-width: 82.5rem;
|
|
552
|
-
/* 1 */
|
|
553
|
-
--cre8-l-linelength-width: 42rem;
|
|
554
|
-
/* 1 */
|
|
555
547
|
}
|
|
556
548
|
|
|
557
549
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as c}from"./iframe-
|
|
1
|
+
import{b as c}from"./iframe-BNJP6ovU.js";import{s as d}from"./spread-CnPic3C2.js";import{w as u}from"./decorator-iVSD-Llo.js";import"./remove-tag-lCr57c5r.js";import"./preload-helper-PPVm8Dsz.js";import"./chunk-EUVGDK4H-rHCQfRxh.js";import"./cre8-element-B35i4Lyg.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./icon-ChfRWXWy.js";import"./if-defined-Bxnzk64Q.js";const q={title:"In Development/Remove Tag",component:"cre8-remove-tag",parameters:{status:{type:"inProgress"},actions:{handles:["click"]}},decorators:[u],render:n=>c`<cre8-remove-tag ${d(n)}></cre8-remove-tag>`,argTypes:{text:{control:"text"},color:{options:["neutral","branded","neutral-hybrid"],control:{type:"radio"}},shape:{options:["round","square"],control:{type:"radio"}},removed:{control:"boolean"}},args:{text:"Tag text",shape:"neutral",color:"round"}},t={args:{text:"Tag text",color:"neutral",shape:"round"}},e={args:{text:"Tag text",color:"neutral",shape:"square"}},r={args:{text:"Tag text",color:"neutral-hybrid",shape:"round"}},o={args:{text:"Tag text",color:"neutral-hybrid",shape:"square"}},a={args:{text:"Tag text",color:"branded",shape:"round"}},s={args:{text:"Tag text",color:"branded",shape:"square"}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
2
2
|
args: {
|
|
3
3
|
text: 'Tag text',
|
|
4
4
|
color: 'neutral',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as r,b as t}from"./iframe-
|
|
1
|
+
import{a as r,b as t}from"./iframe-BNJP6ovU.js";import"./button-CgaWukz0.js";import"./text-passage-xQVosjOr.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-Bxnzk64Q.js";import"./cre8-element-B35i4Lyg.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./query-BpjciUlk.js";import"./base-DVmwUFg0.js";import"./cre8-form-element-Cfc5VeYV.js";import"./icon-ChfRWXWy.js";import"./loading-spinner-C52KNq6y.js";r`@import 'design-tokens/core/scss/theming/component' ;
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b,j as f,r as S,b as a}from"./iframe-
|
|
1
|
+
import{a as b,j as f,r as S,b as a}from"./iframe-BNJP6ovU.js";import{c as D,n as g}from"./cre8-element-B35i4Lyg.js";import"./modal-CCfbY4fF.js";import"./button-group-G7qN4MwM.js";import"./button-CgaWukz0.js";import"./heading-Dbka33DK.js";import{o as y}from"./if-defined-Bxnzk64Q.js";const A=b`
|
|
2
2
|
@import 'design-tokens/core/scss/theming/component';
|
|
3
3
|
|
|
4
4
|
/*------------------------------------*\
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as l,b as n,o as c}from"./iframe-
|
|
1
|
+
import{a as l,b as n,o as c}from"./iframe-BNJP6ovU.js";import"./f-po-BdPzDRD-.js";import"./heading-Dbka33DK.js";import"./button-CgaWukz0.js";import"./text-passage-xQVosjOr.js";import{C as g,n as u}from"./cre8-element-B35i4Lyg.js";import{s as h}from"./story-helpers-BFn_kBYw.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-Bxnzk64Q.js";import"./query-BpjciUlk.js";import"./base-DVmwUFg0.js";import"./cre8-form-element-Cfc5VeYV.js";import"./icon-ChfRWXWy.js";import"./loading-spinner-C52KNq6y.js";import"./_commonjsHelpers-DaWZu8wl.js";const f=l`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,10 +372,6 @@ img {
|
|
|
372
372
|
|
|
373
373
|
:root {
|
|
374
374
|
--size-base-unit: 0.5rem;
|
|
375
|
-
--cre8-l-max-width: 82.5rem;
|
|
376
|
-
/* 1 */
|
|
377
|
-
--cre8-l-linelength-width: 42rem;
|
|
378
|
-
/* 1 */
|
|
379
375
|
}
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -548,10 +544,6 @@ span.ripple {
|
|
|
548
544
|
}
|
|
549
545
|
:root {
|
|
550
546
|
--size-base-unit: 0.5rem;
|
|
551
|
-
--cre8-l-max-width: 82.5rem;
|
|
552
|
-
/* 1 */
|
|
553
|
-
--cre8-l-linelength-width: 42rem;
|
|
554
|
-
/* 1 */
|
|
555
547
|
}
|
|
556
548
|
|
|
557
549
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b,j as f,b as d}from"./iframe-
|
|
1
|
+
import{a as b,j as f,b as d}from"./iframe-BNJP6ovU.js";import{n as o}from"./cre8-element-B35i4Lyg.js";import{e as v}from"./query-BpjciUlk.js";import{o as x}from"./if-defined-Bxnzk64Q.js";import{n as y}from"./index.browser-BY9c7rfI.js";import{C as _}from"./cre8-form-element-Cfc5VeYV.js";import"./icon-ChfRWXWy.js";const k=b`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,10 +372,6 @@ img {
|
|
|
372
372
|
|
|
373
373
|
:root {
|
|
374
374
|
--size-base-unit: 0.5rem;
|
|
375
|
-
--cre8-l-max-width: 82.5rem;
|
|
376
|
-
/* 1 */
|
|
377
|
-
--cre8-l-linelength-width: 42rem;
|
|
378
|
-
/* 1 */
|
|
379
375
|
}
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -548,10 +544,6 @@ span.ripple {
|
|
|
548
544
|
}
|
|
549
545
|
:root {
|
|
550
546
|
--size-base-unit: 0.5rem;
|
|
551
|
-
--cre8-l-max-width: 82.5rem;
|
|
552
|
-
/* 1 */
|
|
553
|
-
--cre8-l-linelength-width: 42rem;
|
|
554
|
-
/* 1 */
|
|
555
547
|
}
|
|
556
548
|
|
|
557
549
|
/**
|
|
@@ -1060,7 +1052,7 @@ input:checked ~ * .cre8-c-select-tile__custom-checkbox {
|
|
|
1060
1052
|
}
|
|
1061
1053
|
input:checked ~ * .cre8-c-select-tile__custom-checkbox .cre8-c-select-tile__icon {
|
|
1062
1054
|
display: flex;
|
|
1063
|
-
}`;function m(
|
|
1055
|
+
}`;function m(n,t){return t<0?n.length-1:t>=n.length?0:t}class p{constructor(t){this._clickHandler=e=>{e.preventDefault(),this._checkAndFocus(this.host)},this._checkAndFocus=e=>{const c=e.checked;this.removeChecked(),e.focus(),e.checked=!0,e.setAttribute("tabindex","0"),c||(e.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),e.dispatchEvent(new Event("change",{bubbles:!0})))},this._handleKeyDown=e=>{["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"].includes(e.code)&&this._handleArrowKeys(e),["Enter"," "].includes(e.key)&&this._handleEnterSpace(e)},this._handleArrowKeys=e=>{const c=this.findAllElementsInSameRadioButtonGroup({excludeDisabled:!0});if(c.length<=1)return;const l=c.findIndex(s=>s===this.host);let a;e.code==="ArrowLeft"||e.code==="ArrowUp"?a=c[m(c,l-1)]:(e.code==="ArrowRight"||e.code==="ArrowDown")&&(a=c[m(c,l+1)]),this._checkAndFocus(a),e.preventDefault()},this._handleEnterSpace=e=>{this._checkAndFocus(this.host),e.preventDefault()},this.host=t,t.addController(this)}hostConnected(){this.host._internals.role="radio",this.host.setAttribute("role","radio"),this.host.setAttribute("tabindex","0"),this.host.addEventListener("click",this._clickHandler),this.host.addEventListener("keydown",this._handleKeyDown)}hostDisconnected(){this.host._internals.role=void 0,this.host.removeAttribute("role"),this.host.removeAttribute("tabindex"),this.host.removeEventListener("click",this._clickHandler),this.host.removeEventListener("keydown",this._handleKeyDown)}hostUpdate(){}findAllElementsInSameRadioButtonGroup({excludeDisabled:t}={}){const e=this.host.name,c=this.host.form;if(e&&e.length>0){const l=this.host.ownerDocument,a=Array.from(l.querySelectorAll(`[role="radio"][name="${e}"]`)).filter(s=>s.form===c);return t===!0?a.filter(s=>!(s.disabled||s.ariaDisabled==="true")):a}return[]}removeChecked(){this.findAllElementsInSameRadioButtonGroup().forEach(e=>{e.checked=!1,e.setAttribute("tabindex","-1")})}}class u{constructor(t){this._clickHandler=e=>{this._checkAndFocus(),e.preventDefault()},this._checkAndFocus=()=>{this.host.checked=!this.host.checked,this.host.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.host.dispatchEvent(new Event("change",{bubbles:!0}))},this._handleKeyDown=e=>{["Enter"," "].includes(e.key)&&this._handleEnterSpace(e)},this._handleEnterSpace=e=>{this._checkAndFocus(),e.preventDefault()},this.host=t,t.addController(this)}hostConnected(){this.host._internals.role="checkbox",this.host.setAttribute("tabindex","0"),this.host.addEventListener("click",this._clickHandler),this.host.addEventListener("keydown",this._handleKeyDown)}hostDisconnected(){this.host._internals.role=void 0,this.host.removeAttribute("tabindex"),this.host.removeEventListener("click",this._clickHandler),this.host.removeEventListener("keydown",this._handleKeyDown)}}var w=Object.defineProperty,i=(n,t,e,c)=>{for(var l=void 0,a=n.length-1,s;a>=0;a--)(s=n[a])&&(l=s(t,e,l)||l);return l&&w(t,e,l),l};const g=`<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
1064
1056
|
<path d="M15.8125 3.33285L5.57291 13.5724C5.51347 13.6319 5.44289 13.6791 5.3652 13.7113C5.28751 13.7435 5.20423 13.7601 5.12013 13.7601C5.03603 13.7601 4.95275 13.7435 4.87506 13.7113C4.79737 13.6791 4.72678 13.6319 4.66735 13.5724L0.187547 9.0926C0.0674628 8.97251 0 8.80964 0 8.63982C0 8.46999 0.0674628 8.30712 0.187547 8.18704C0.307632 8.06695 0.470502 7.99949 0.640327 7.99949C0.810153 7.99949 0.973022 8.06695 1.09311 8.18704L5.12013 12.2149L14.9069 2.42729C15.027 2.30721 15.1898 2.23975 15.3597 2.23975C15.5295 2.23975 15.6924 2.30721 15.8125 2.42729C15.9325 2.54738 16 2.71025 16 2.88007C16 3.0499 15.9325 3.21277 15.8125 3.33285Z"/>
|
|
1065
1057
|
</svg>
|
|
1066
1058
|
`,h=class h extends _{constructor(){super(...arguments),this._controller=void 0,this.type="radio",this.variantBreakToVertical="sm",this.checkPosition="right",this.radioVariant="dot"}get form(){return this._internals.form}connectedCallback(){super.connectedCallback(),this.fieldId=this.fieldId||y(),this._controller=this.type==="radio"?new p(this):new u(this),this.disabled&&(this._internals.ariaDisabled="true")}formResetCallback(){this.checked=this.defaultChecked,this.field.checked=this.defaultChecked}updated(t){super.updated(t),t.has("checked")&&this.setAttribute("aria-checked",this.checked?"true":"false"),t.has("type")&&(this._controller.hostDisconnected(),this._controller=this.type==="radio"?new p(this):new u(this)),t.has("disabled")&&(this.disabled?this._internals.ariaDisabled="true":this._internals.ariaDisabled="false")}renderInput(){return d`
|
package/dist/assets/{select-tile-list.stories-vsBQUIcl.js → select-tile-list.stories-Di4ILgV8.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f,b as a,g as y}from"./iframe-
|
|
1
|
+
import{a as f,b as a,g as y}from"./iframe-BNJP6ovU.js";import"./field-note-fccBckVl.js";import{o as p}from"./if-defined-Bxnzk64Q.js";import{C as x,n as t}from"./cre8-element-B35i4Lyg.js";import{n as b}from"./index.browser-BY9c7rfI.js";import"./select-tile-BqqB3ZtE.js";import"./preload-helper-PPVm8Dsz.js";import"./icon-ChfRWXWy.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./query-BpjciUlk.js";import"./base-DVmwUFg0.js";import"./cre8-form-element-Cfc5VeYV.js";const v=f`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,10 +372,6 @@ img {
|
|
|
372
372
|
|
|
373
373
|
:root {
|
|
374
374
|
--size-base-unit: 0.5rem;
|
|
375
|
-
--cre8-l-max-width: 82.5rem;
|
|
376
|
-
/* 1 */
|
|
377
|
-
--cre8-l-linelength-width: 42rem;
|
|
378
|
-
/* 1 */
|
|
379
375
|
}
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -548,10 +544,6 @@ span.ripple {
|
|
|
548
544
|
}
|
|
549
545
|
:root {
|
|
550
546
|
--size-base-unit: 0.5rem;
|
|
551
|
-
--cre8-l-max-width: 82.5rem;
|
|
552
|
-
/* 1 */
|
|
553
|
-
--cre8-l-linelength-width: 42rem;
|
|
554
|
-
/* 1 */
|
|
555
547
|
}
|
|
556
548
|
|
|
557
549
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as C,j as R,r as S,b as r}from"./iframe-
|
|
1
|
+
import{a as C,j as R,r as S,b as r}from"./iframe-BNJP6ovU.js";import{w as F}from"./decorator-iVSD-Llo.js";import{t as N}from"./f-po-BdPzDRD-.js";import{n as k}from"./cre8-element-B35i4Lyg.js";import{s as t}from"./spread-CnPic3C2.js";import"./icon-ChfRWXWy.js";import"./button-group-G7qN4MwM.js";import"./button-CgaWukz0.js";import"./select-tile-BqqB3ZtE.js";import"./preload-helper-PPVm8Dsz.js";import"./chunk-EUVGDK4H-rHCQfRxh.js";import"./if-defined-Bxnzk64Q.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./query-BpjciUlk.js";import"./base-DVmwUFg0.js";import"./cre8-form-element-Cfc5VeYV.js";import"./loading-spinner-C52KNq6y.js";import"./index.browser-BY9c7rfI.js";const M=C`
|
|
2
2
|
/**
|
|
3
3
|
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
4
4
|
*/
|
|
@@ -226,14 +226,14 @@ span.ripple {
|
|
|
226
226
|
color: #2084ca;
|
|
227
227
|
}
|
|
228
228
|
/* sourceMappingURL=example-inline.css.map */
|
|
229
|
-
`;var T=Object.defineProperty,I=Object.getOwnPropertyDescriptor,z=(e,a,y,i)=>{for(var s=i>1?void 0:i?I(a,y):a,w=e.length-1,$;w>=0;w--)($=e[w])&&(s=(i?$(a,y,s):$(s))||s);return i&&s&&T(a,y,s),s};let
|
|
229
|
+
`;var T=Object.defineProperty,I=Object.getOwnPropertyDescriptor,z=(e,a,y,i)=>{for(var s=i>1?void 0:i?I(a,y):a,w=e.length-1,$;w>=0;w--)($=e[w])&&(s=(i?$(a,y,s):$(s))||s);return i&&s&&T(a,y,s),s};let v=class extends R{static get styles(){return S(M.toString().replace(":root",":host"))}render(){return r`
|
|
230
230
|
<span class="f-po ${this.styleModifier}" style="${this.inlineStyle}">
|
|
231
231
|
<slot></slot>
|
|
232
232
|
</div>
|
|
233
|
-
`}};z([k()],
|
|
233
|
+
`}};z([k()],v.prototype,"styleModifier",2);z([k()],v.prototype,"inlineStyle",2);v=z([N("example-inline")],v);const o=`<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
234
234
|
<path d="M14.7985 1.20265C14.0284 0.432604 12.984 0 11.895 0C10.8059 0 9.76152 0.432604 8.99146 1.20265L1.16604 9.0273C0.412088 9.80065 -0.0068122 10.8399 8.3812e-05 11.9199C0.00697982 13 0.439117 14.0338 1.20288 14.7975C1.96664 15.5611 3.00052 15.9931 4.08055 15.9999C5.16058 16.0066 6.19979 15.5876 6.97304 14.8335L14.7992 7.00888C15.568 6.23824 15.9997 5.19412 15.9995 4.1056C15.9994 3.01708 15.5674 1.97308 14.7985 1.20265ZM6.10106 13.9616C5.56237 14.5003 4.83171 14.8031 4.06981 14.8031C3.30791 14.8032 2.57719 14.5006 2.0384 13.9619C1.4996 13.4232 1.19687 12.6926 1.1968 11.9307C1.19673 11.1688 1.49932 10.4381 2.03801 9.89927L5.51435 6.42293L9.5774 10.4852L6.10106 13.9616ZM13.9265 6.1369L10.4486 9.61324L6.38709 5.55096L9.8642 2.07462C10.405 1.54629 11.1323 1.25247 11.8884 1.25688C12.6444 1.2613 13.3683 1.5636 13.9029 2.09822C14.4375 2.63284 14.7398 3.35666 14.7442 4.11271C14.7486 4.86876 14.4548 5.59607 13.9265 6.1369ZM12.7369 4.4978C12.7942 4.55509 12.8397 4.62311 12.8707 4.69799C12.9018 4.77286 12.9178 4.85312 12.9178 4.93418C12.9178 5.01523 12.9018 5.09549 12.8707 5.17037C12.8397 5.24524 12.7942 5.31327 12.7369 5.37055L10.8865 7.2209C10.8292 7.27815 10.7612 7.32356 10.6863 7.35452C10.6115 7.38549 10.5313 7.40141 10.4503 7.40137C10.3693 7.40134 10.289 7.38535 10.2142 7.35432C10.1394 7.32328 10.0714 7.27782 10.0142 7.22051C9.9569 7.1632 9.9115 7.09518 9.88053 7.02033C9.84956 6.94548 9.83364 6.86526 9.83368 6.78425C9.83371 6.70324 9.84971 6.62304 9.88074 6.54821C9.91177 6.47339 9.95724 6.4054 10.0145 6.34815L11.8649 4.4978C11.9805 4.38222 12.1374 4.3173 12.3009 4.3173C12.4644 4.3173 12.6212 4.38222 12.7369 4.4978Z"/>
|
|
235
235
|
</svg>
|
|
236
|
-
`,Q={title:"In Development/Select Tile",component:"cre8-select-tile",parameters:{withDesign:{type:"figma",url:"https://www.figma.com/file/L8rVyIvYfWAtNpgm2qps73/
|
|
236
|
+
`,Q={title:"In Development/Select Tile",component:"cre8-select-tile",parameters:{withDesign:{type:"figma",url:"https://www.figma.com/file/L8rVyIvYfWAtNpgm2qps73/Cre8-Base-Web-Library?type=design&node-id=3702-28744"},status:{type:"beta"},controls:{exclude:["shadowRootOptions","formAssociated","internalValue","internals","field"],expanded:!0},actions:{handles:["change","input","click"]}},decorators:[F],argTypes:{type:{control:"select",options:["radio","checkbox"]},variant:{options:[void 0,"bare","horizontal","horizontal-bare"]},variantBreakToVertical:{options:["sm","sm-2","md","lg","xl","xxl","none"]},checkPosition:{options:["none","left","top-right","right"]},radioVariant:{options:["dot","check"]},align:{options:[void 0,"center"]},isError:{control:"boolean"},isSuccess:{control:"boolean"},required:{control:"boolean"},disabled:{control:"boolean"},checked:{control:"boolean"},name:{control:"text"},value:{control:"text"},fieldId:{control:"text"}}},n=e=>r`<cre8-select-tile ${t(e)}>
|
|
237
237
|
<f-po slot="header">Header</f-po>
|
|
238
238
|
<f-po>Body</f-po>
|
|
239
239
|
<f-po slot="footer">Footer</f-po>
|
|
@@ -320,7 +320,7 @@ span.ripple {
|
|
|
320
320
|
<cre8-icon slot="header" svg="${o}" style="width: 56px; height: 56px;"></cre8-icon>
|
|
321
321
|
<span slot="title">Heading text</span>
|
|
322
322
|
<span slot="body">Nunc amet vitae sit interdum non morbi fames ac sed</span>
|
|
323
|
-
</cre8-select-tile>`,
|
|
323
|
+
</cre8-select-tile>`,b=e=>r`<cre8-select-tile ${t(e)} variant="horizontal" disabled>
|
|
324
324
|
<cre8-icon slot="header" svg="${o}" style="width: 56px; height: 56px;"></cre8-icon>
|
|
325
325
|
<span slot="title">Heading text</span>
|
|
326
326
|
<span slot="body">Nunc amet vitae sit interdum non morbi fames ac sed</span>
|
|
@@ -395,4 +395,4 @@ span.ripple {
|
|
|
395
395
|
<f-po slot="header">Bare Header</f-po>
|
|
396
396
|
<f-po>Bare Body</f-po>
|
|
397
397
|
<f-po slot="footer">Bare Footer</f-po>
|
|
398
|
-
</cre8-select-tile>\``,...f.parameters?.docs?.source}}};g.parameters={...g.parameters,docs:{...g.parameters?.docs,source:{originalSource:'args => html`<cre8-select-tile ${spread(args)} variant="horizontal" isError>\n <cre8-icon slot="header" svg="${svgMedication}" style="width: 56px; height: 56px;"></cre8-icon>\n <span slot="title">Heading text</span>\n <span slot="body">Nunc amet vitae sit interdum non morbi fames ac sed</span>\n</cre8-select-tile>`',...g.parameters?.docs?.source}}};x.parameters={...x.parameters,docs:{...x.parameters?.docs,source:{originalSource:'args => html`<cre8-select-tile ${spread(args)} variant="horizontal" isSuccess>\n <cre8-icon slot="header" svg="${svgMedication}" style="width: 56px; height: 56px;"></cre8-icon>\n <span slot="title">Heading text</span>\n <span slot="body">Nunc amet vitae sit interdum non morbi fames ac sed</span>\n</cre8-select-tile>`',...x.parameters?.docs?.source}}};
|
|
398
|
+
</cre8-select-tile>\``,...f.parameters?.docs?.source}}};g.parameters={...g.parameters,docs:{...g.parameters?.docs,source:{originalSource:'args => html`<cre8-select-tile ${spread(args)} variant="horizontal" isError>\n <cre8-icon slot="header" svg="${svgMedication}" style="width: 56px; height: 56px;"></cre8-icon>\n <span slot="title">Heading text</span>\n <span slot="body">Nunc amet vitae sit interdum non morbi fames ac sed</span>\n</cre8-select-tile>`',...g.parameters?.docs?.source}}};x.parameters={...x.parameters,docs:{...x.parameters?.docs,source:{originalSource:'args => html`<cre8-select-tile ${spread(args)} variant="horizontal" isSuccess>\n <cre8-icon slot="header" svg="${svgMedication}" style="width: 56px; height: 56px;"></cre8-icon>\n <span slot="title">Heading text</span>\n <span slot="body">Nunc amet vitae sit interdum non morbi fames ac sed</span>\n</cre8-select-tile>`',...x.parameters?.docs?.source}}};b.parameters={...b.parameters,docs:{...b.parameters?.docs,source:{originalSource:'args => html`<cre8-select-tile ${spread(args)} variant="horizontal" disabled>\n <cre8-icon slot="header" svg="${svgMedication}" style="width: 56px; height: 56px;"></cre8-icon>\n <span slot="title">Heading text</span>\n <span slot="body">Nunc amet vitae sit interdum non morbi fames ac sed</span>\n</cre8-select-tile>`',...b.parameters?.docs?.source}}};const ee=["Default","Horizontal","TitleAndBody","TitleAndBodyRealistic","TitleAndBodyRealisticLeft","FormRealistic","FormRealisticChecks","Bare","HorizontalBare","ErrorRealistic","SuccessRealistic","DisabledRealistic"];export{u as Bare,n as Default,b as DisabledRealistic,g as ErrorRealistic,m as FormRealistic,h as FormRealisticChecks,l as Horizontal,f as HorizontalBare,x as SuccessRealistic,c as TitleAndBody,p as TitleAndBodyRealistic,d as TitleAndBodyRealisticLeft,ee as __namedExportsOrder,Q as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as z,b as o,A as k,o as I}from"./iframe-
|
|
1
|
+
import{a as z,b as o,A as k,o as I}from"./iframe-BNJP6ovU.js";import{s as N}from"./spread-CnPic3C2.js";import{s as S}from"./story-helpers-BFn_kBYw.js";import"./link-CRE0Eqdo.js";import{o as w}from"./if-defined-Bxnzk64Q.js";import{n as i}from"./cre8-element-B35i4Lyg.js";import{r as O}from"./query-all-CK69__1O.js";import{n as v}from"./index.browser-BY9c7rfI.js";import"./field-note-fccBckVl.js";import{C as $}from"./cre8-form-element-Cfc5VeYV.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./base-DVmwUFg0.js";import"./icon-ChfRWXWy.js";const C=z`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,10 +372,6 @@ img {
|
|
|
372
372
|
|
|
373
373
|
:root {
|
|
374
374
|
--size-base-unit: 0.5rem;
|
|
375
|
-
--cre8-l-max-width: 82.5rem;
|
|
376
|
-
/* 1 */
|
|
377
|
-
--cre8-l-linelength-width: 42rem;
|
|
378
|
-
/* 1 */
|
|
379
375
|
}
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -548,10 +544,6 @@ span.ripple {
|
|
|
548
544
|
}
|
|
549
545
|
:root {
|
|
550
546
|
--size-base-unit: 0.5rem;
|
|
551
|
-
--cre8-l-max-width: 82.5rem;
|
|
552
|
-
/* 1 */
|
|
553
|
-
--cre8-l-linelength-width: 42rem;
|
|
554
|
-
/* 1 */
|
|
555
547
|
}
|
|
556
548
|
|
|
557
549
|
/**
|
package/dist/assets/{skeleton-loader.stories-CwR2-aC5.js → skeleton-loader.stories-y4uml_kV.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b,b as x}from"./iframe-
|
|
1
|
+
import{a as b,b as x}from"./iframe-BNJP6ovU.js";import{s as y}from"./spread-CnPic3C2.js";import{C as z,n as g}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";const w=b`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,10 +372,6 @@ img {
|
|
|
372
372
|
|
|
373
373
|
:root {
|
|
374
374
|
--size-base-unit: 0.5rem;
|
|
375
|
-
--cre8-l-max-width: 82.5rem;
|
|
376
|
-
/* 1 */
|
|
377
|
-
--cre8-l-linelength-width: 42rem;
|
|
378
|
-
/* 1 */
|
|
379
375
|
}
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -548,10 +544,6 @@ span.ripple {
|
|
|
548
544
|
}
|
|
549
545
|
:root {
|
|
550
546
|
--size-base-unit: 0.5rem;
|
|
551
|
-
--cre8-l-max-width: 82.5rem;
|
|
552
|
-
/* 1 */
|
|
553
|
-
--cre8-l-linelength-width: 42rem;
|
|
554
|
-
/* 1 */
|
|
555
547
|
}
|
|
556
548
|
|
|
557
549
|
/**
|
|
@@ -639,12 +631,12 @@ span.ripple {
|
|
|
639
631
|
100% {
|
|
640
632
|
background-position: -135% 0%;
|
|
641
633
|
}
|
|
642
|
-
}`;var k=Object.defineProperty,c=(r,a,h,v)=>{for(var e=void 0,
|
|
634
|
+
}`;var k=Object.defineProperty,c=(r,a,h,v)=>{for(var e=void 0,l=r.length-1,f;l>=0;l--)(f=r[l])&&(e=f(a,h,e)||e);return e&&k(a,h,e),e};const u=class u extends z{constructor(){super(...arguments),this.variant="rectangle"}render(){const a=this.componentClassNames("cre8-c-skeleton-loader",{"cre8-c-skeleton-loader--rectangle":this.variant==="rectangle","cre8-c-skeleton-loader--square":this.variant==="square","cre8-c-skeleton-loader--circle":this.variant==="circle"});return x`
|
|
643
635
|
<div
|
|
644
636
|
class="${a}"
|
|
645
637
|
style="height: ${this.height??"auto"}; width: ${this.width??"auto"}"
|
|
646
638
|
></div>
|
|
647
|
-
`}};u.styles=[
|
|
639
|
+
`}};u.styles=[w];let t=u;c([g()],t.prototype,"variant");c([g()],t.prototype,"height");c([g()],t.prototype,"width");customElements.get("cre8-skeleton-loader")===void 0&&customElements.define("cre8-skeleton-loader",t);const _={title:"cre8 Components/Skeleton Loader",component:"cre8-skeleton-loader",render:r=>x`<cre8-skeleton-loader ${y(r)}></cre8-skeleton-loader>`,parameters:{status:{type:"inProgress"}},argTypes:{variant:{options:["rectangle","square","circle"],control:{type:"radio"}}}},i={},n={args:{variant:"rectangle"}},o={args:{variant:"square"}},s={args:{variant:"circle"}},d={args:{height:"20px",width:"300px"}},m={args:{height:"100px"}},p={args:{width:"100px"}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:"{}",...i.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
648
640
|
args: {
|
|
649
641
|
variant: 'rectangle'
|
|
650
642
|
}
|
|
@@ -665,8 +657,8 @@ span.ripple {
|
|
|
665
657
|
args: {
|
|
666
658
|
height: '100px'
|
|
667
659
|
}
|
|
668
|
-
}`,...m.parameters?.docs?.source}}};
|
|
660
|
+
}`,...m.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`{
|
|
669
661
|
args: {
|
|
670
662
|
width: '100px'
|
|
671
663
|
}
|
|
672
|
-
}`,...
|
|
664
|
+
}`,...p.parameters?.docs?.source}}};const O=["Default","Rectangle","Square","Circle","CustomHeightWidth","CustomHeight","CustomWidth"];export{s as Circle,m as CustomHeight,d as CustomHeightWidth,p as CustomWidth,i as Default,n as Rectangle,o as Square,O as __namedExportsOrder,_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as u,b as i}from"./iframe-
|
|
1
|
+
import{a as u,b as i}from"./iframe-BNJP6ovU.js";import"./dropdown-BEP5x3CW.js";import{C as h,n as s}from"./cre8-element-B35i4Lyg.js";import{r as f}from"./state-DkQhleoO.js";import"./button-CgaWukz0.js";import"./preload-helper-PPVm8Dsz.js";import"./query-BpjciUlk.js";import"./base-DVmwUFg0.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./if-defined-Bxnzk64Q.js";import"./cre8-form-element-Cfc5VeYV.js";import"./icon-ChfRWXWy.js";import"./loading-spinner-C52KNq6y.js";const b=u`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,10 +372,6 @@ img {
|
|
|
372
372
|
|
|
373
373
|
:root {
|
|
374
374
|
--size-base-unit: 0.5rem;
|
|
375
|
-
--cre8-l-max-width: 82.5rem;
|
|
376
|
-
/* 1 */
|
|
377
|
-
--cre8-l-linelength-width: 42rem;
|
|
378
|
-
/* 1 */
|
|
379
375
|
}
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -548,10 +544,6 @@ span.ripple {
|
|
|
548
544
|
}
|
|
549
545
|
:root {
|
|
550
546
|
--size-base-unit: 0.5rem;
|
|
551
|
-
--cre8-l-max-width: 82.5rem;
|
|
552
|
-
/* 1 */
|
|
553
|
-
--cre8-l-linelength-width: 42rem;
|
|
554
|
-
/* 1 */
|
|
555
547
|
}
|
|
556
548
|
|
|
557
549
|
/**
|
|
@@ -600,7 +592,7 @@ span.ripple {
|
|
|
600
592
|
.cre8-c-split-button__button-container {
|
|
601
593
|
display: flex;
|
|
602
594
|
max-width: fit-content;
|
|
603
|
-
}`;var
|
|
595
|
+
}`;var x=Object.defineProperty,d=(m,t,c,w)=>{for(var r=void 0,p=m.length-1,g;p>=0;p--)(g=m[p])&&(r=g(t,c,r)||r);return r&&x(t,c,r),r};const l=class l extends h{constructor(){super(...arguments),this.dropdownOpen=!1}render(){const t=this.componentClassNames("cre8-c-split-button",{});return i`
|
|
604
596
|
<div class="${t}">
|
|
605
597
|
<div class="cre8-c-split-button__button-container">
|
|
606
598
|
<cre8-button
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as o,i as s,t as i,E as p}from"./iframe-
|
|
1
|
+
import{e as o,i as s,t as i,E as p}from"./iframe-BNJP6ovU.js";class c extends s{constructor(e){if(super(e),e.type!==i.ELEMENT)throw new Error("The `spread` directive can only be used in the element context")}update(e,[n]){return Object.entries(n).forEach(([r,t])=>{typeof t=="string"&&t.length>0&&e.element.setAttribute(r,t),typeof t=="boolean"&&(e.element[r]=t)}),p}render(e){return""}}const l=o(c);export{l as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as r}from"./cre8-element-B35i4Lyg.js";function n(t){return r({...t,state:!0,attribute:!1})}export{n as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as g,b as a}from"./iframe-
|
|
1
|
+
import{a as g,b as a}from"./iframe-BNJP6ovU.js";import{s as u}from"./spread-CnPic3C2.js";import{C as c,n as h}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";const f=g`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,10 +372,6 @@ img {
|
|
|
372
372
|
|
|
373
373
|
:root {
|
|
374
374
|
--size-base-unit: 0.5rem;
|
|
375
|
-
--cre8-l-max-width: 82.5rem;
|
|
376
|
-
/* 1 */
|
|
377
|
-
--cre8-l-linelength-width: 42rem;
|
|
378
|
-
/* 1 */
|
|
379
375
|
}
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -548,10 +544,6 @@ span.ripple {
|
|
|
548
544
|
}
|
|
549
545
|
:root {
|
|
550
546
|
--size-base-unit: 0.5rem;
|
|
551
|
-
--cre8-l-max-width: 82.5rem;
|
|
552
|
-
/* 1 */
|
|
553
|
-
--cre8-l-linelength-width: 42rem;
|
|
554
|
-
/* 1 */
|
|
555
547
|
}
|
|
556
548
|
|
|
557
549
|
/**
|
|
@@ -604,7 +596,7 @@ span.ripple {
|
|
|
604
596
|
.cre8-c-submenu-item__link:active {
|
|
605
597
|
color: var(--cre8-color-header-submenu-content-pressed);
|
|
606
598
|
background: var(--cre8-color-header-submenu-bg-pressed);
|
|
607
|
-
}`;var b=Object.defineProperty,x=(i,e,
|
|
599
|
+
}`;var b=Object.defineProperty,x=(i,e,p,z)=>{for(var t=void 0,o=i.length-1,l;o>=0;o--)(l=i[o])&&(t=l(e,p,t)||t);return t&&b(e,p,t),t};const m=class m extends c{render(){const e=this.componentClassNames("cre8-c-submenu-item",{});return this.href?a`
|
|
608
600
|
<li role="listitem" class="${e}">
|
|
609
601
|
<a href=${this.href} class="cre8-c-submenu-item__link">
|
|
610
602
|
<slot></slot>
|
|
@@ -988,10 +980,6 @@ img {
|
|
|
988
980
|
|
|
989
981
|
:root {
|
|
990
982
|
--size-base-unit: 0.5rem;
|
|
991
|
-
--cre8-l-max-width: 82.5rem;
|
|
992
|
-
/* 1 */
|
|
993
|
-
--cre8-l-linelength-width: 42rem;
|
|
994
|
-
/* 1 */
|
|
995
983
|
}
|
|
996
984
|
|
|
997
985
|
/**
|
|
@@ -1164,10 +1152,6 @@ span.ripple {
|
|
|
1164
1152
|
}
|
|
1165
1153
|
:root {
|
|
1166
1154
|
--size-base-unit: 0.5rem;
|
|
1167
|
-
--cre8-l-max-width: 82.5rem;
|
|
1168
|
-
/* 1 */
|
|
1169
|
-
--cre8-l-linelength-width: 42rem;
|
|
1170
|
-
/* 1 */
|
|
1171
1155
|
}
|
|
1172
1156
|
|
|
1173
1157
|
/**
|