@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{a as N,A as S,b as e}from"./iframe-
|
|
1
|
+
import{a as N,A as S,b as e}from"./iframe-BNJP6ovU.js";import{s as E}from"./spread-CnPic3C2.js";import{C as R,n as o}from"./cre8-element-B35i4Lyg.js";import"./icon-ChfRWXWy.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./if-defined-Bxnzk64Q.js";const M=N`@charset "UTF-8";
|
|
2
2
|
.cre8-u-content-knockout-brand {
|
|
3
3
|
color: var(----cre8-color-content-knockout-brand);
|
|
4
4
|
}
|
|
@@ -373,10 +373,6 @@ img {
|
|
|
373
373
|
|
|
374
374
|
:root {
|
|
375
375
|
--size-base-unit: 0.5rem;
|
|
376
|
-
--cre8-l-max-width: 82.5rem;
|
|
377
|
-
/* 1 */
|
|
378
|
-
--cre8-l-linelength-width: 42rem;
|
|
379
|
-
/* 1 */
|
|
380
376
|
}
|
|
381
377
|
|
|
382
378
|
/**
|
|
@@ -549,10 +545,6 @@ span.ripple {
|
|
|
549
545
|
}
|
|
550
546
|
:root {
|
|
551
547
|
--size-base-unit: 0.5rem;
|
|
552
|
-
--cre8-l-max-width: 82.5rem;
|
|
553
|
-
/* 1 */
|
|
554
|
-
--cre8-l-linelength-width: 42rem;
|
|
555
|
-
/* 1 */
|
|
556
548
|
}
|
|
557
549
|
|
|
558
550
|
/**
|
package/dist/assets/{layout-container.stories-D6Z6Kx78.js → layout-container.stories-TMyIJteJ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as p,b as s}from"./iframe-BNJP6ovU.js";import"./f-po-BdPzDRD-.js";import{s as l}from"./spread-CnPic3C2.js";import{C as g,n as c}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-Bxnzk64Q.js";import"./_commonjsHelpers-DaWZu8wl.js";const u=p`.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
|
/**
|
|
@@ -611,6 +603,6 @@ span.ripple {
|
|
|
611
603
|
<div class="${i}">
|
|
612
604
|
<slot></slot>
|
|
613
605
|
</div>
|
|
614
|
-
`}};o.styles=[u];let a=o;f([c({type:Boolean,reflect:!0})],a.prototype,"fullHeight");customElements.get("cre8-layout-container")===void 0&&customElements.define("cre8-layout-container",a);const R={title:"Cre8 Components/Layout Container",component:"layout-container",parameters:{status:{type:"inProgress"}}},r=e=>s`<cre8-layout-container ${
|
|
606
|
+
`}};o.styles=[u];let a=o;f([c({type:Boolean,reflect:!0})],a.prototype,"fullHeight");customElements.get("cre8-layout-container")===void 0&&customElements.define("cre8-layout-container",a);const R={title:"Cre8 Components/Layout Container",component:"layout-container",parameters:{status:{type:"inProgress"}}},r=e=>s`<cre8-layout-container ${l(e)}>
|
|
615
607
|
<f-po>Layout Container</f-po>
|
|
616
608
|
</cre8-layout-container>`;r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:"args => html`<cre8-layout-container ${spread(args)}>\n <f-po>Layout Container</f-po>\n</cre8-layout-container>`",...r.parameters?.docs?.source}}};const _=["Default"];export{r as Default,_ as __namedExportsOrder,R as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h,b as d}from"./iframe-
|
|
1
|
+
import{a as h,b as d}from"./iframe-BNJP6ovU.js";import"./f-po-BdPzDRD-.js";import{s as b}from"./spread-CnPic3C2.js";import{C as f,n as g}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-Bxnzk64Q.js";import"./_commonjsHelpers-DaWZu8wl.js";const z=h`.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
|
/**
|
|
@@ -595,11 +587,11 @@ span.ripple {
|
|
|
595
587
|
.cre8-c-layout-section {
|
|
596
588
|
width: 100%;
|
|
597
589
|
height: 100%;
|
|
598
|
-
}`;var
|
|
590
|
+
}`;var w=Object.defineProperty,x=(i,e,r,y)=>{for(var t=void 0,a=i.length-1,n;a>=0;a--)(n=i[a])&&(t=n(e,r,t)||t);return t&&w(e,r,t),t};const c=class c extends f{constructor(){super(...arguments),this.top="1rem"}render(){const e=this.componentClassNames("cre8-c-layout-section",{"cre8-c-layout-section--sticky":this.behavior==="sticky"});return d`
|
|
599
591
|
<div class="${e}" style=${`top: ${this.top}`}>
|
|
600
592
|
<slot></slot>
|
|
601
593
|
</div>
|
|
602
|
-
`}};c.styles=[
|
|
594
|
+
`}};c.styles=[z];let o=c;x([g()],o.prototype,"behavior");x([g()],o.prototype,"top");customElements.get("cre8-layout-section")===void 0&&customElements.define("cre8-layout-section",o);const v=h`.cre8-u-content-knockout-brand {
|
|
603
595
|
color: var(----cre8-color-content-knockout-brand);
|
|
604
596
|
}
|
|
605
597
|
|
|
@@ -973,10 +965,6 @@ img {
|
|
|
973
965
|
|
|
974
966
|
:root {
|
|
975
967
|
--size-base-unit: 0.5rem;
|
|
976
|
-
--cre8-l-max-width: 82.5rem;
|
|
977
|
-
/* 1 */
|
|
978
|
-
--cre8-l-linelength-width: 42rem;
|
|
979
|
-
/* 1 */
|
|
980
968
|
}
|
|
981
969
|
|
|
982
970
|
/**
|
|
@@ -1149,10 +1137,6 @@ span.ripple {
|
|
|
1149
1137
|
}
|
|
1150
1138
|
:root {
|
|
1151
1139
|
--size-base-unit: 0.5rem;
|
|
1152
|
-
--cre8-l-max-width: 82.5rem;
|
|
1153
|
-
/* 1 */
|
|
1154
|
-
--cre8-l-linelength-width: 42rem;
|
|
1155
|
-
/* 1 */
|
|
1156
1140
|
}
|
|
1157
1141
|
|
|
1158
1142
|
/**
|
|
@@ -1225,7 +1209,7 @@ span.ripple {
|
|
|
1225
1209
|
<div class="${e}">
|
|
1226
1210
|
<slot></slot>
|
|
1227
1211
|
</div>
|
|
1228
|
-
`}};u.styles=[v];let
|
|
1212
|
+
`}};u.styles=[v];let l=u;R([g()],l.prototype,"variant");customElements.get("cre8-layout")===void 0&&customElements.define("cre8-layout",l);const F={title:"Cre8 Components/Layout",component:"cre8-layout",parameters:{status:{type:"notStarted"}}},m=i=>d`<cre8-layout ${b(i)}>
|
|
1229
1213
|
<cre8-layout-section>
|
|
1230
1214
|
<f-po>Layout Section</f-po>
|
|
1231
1215
|
</cre8-layout-section>
|
|
@@ -1239,7 +1223,7 @@ span.ripple {
|
|
|
1239
1223
|
<cre8-layout-section>
|
|
1240
1224
|
<f-po>Layout Section</f-po>
|
|
1241
1225
|
</cre8-layout-section>
|
|
1242
|
-
</cre8-layout>`,
|
|
1226
|
+
</cre8-layout>`,p=()=>d`<cre8-layout variant="right-sidebar">
|
|
1243
1227
|
<cre8-layout-section>
|
|
1244
1228
|
<f-po>Layout Section</f-po>
|
|
1245
1229
|
</cre8-layout-section>
|
|
@@ -1260,11 +1244,11 @@ span.ripple {
|
|
|
1260
1244
|
<cre8-layout-section>
|
|
1261
1245
|
<f-po>Layout Section</f-po>
|
|
1262
1246
|
</cre8-layout-section>
|
|
1263
|
-
</cre8-layout>\``,...s.parameters?.docs?.source}}};
|
|
1247
|
+
</cre8-layout>\``,...s.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`() => html\`<cre8-layout variant="right-sidebar">
|
|
1264
1248
|
<cre8-layout-section>
|
|
1265
1249
|
<f-po>Layout Section</f-po>
|
|
1266
1250
|
</cre8-layout-section>
|
|
1267
1251
|
<cre8-layout-section>
|
|
1268
1252
|
<f-po>Layout Section Sidebar</f-po>
|
|
1269
1253
|
</cre8-layout-section>
|
|
1270
|
-
</cre8-layout>\``,...
|
|
1254
|
+
</cre8-layout>\``,...p.parameters?.docs?.source}}};const T=["Default","LeftSidebar","RightSidebar"];export{m as Default,s as LeftSidebar,p as RightSidebar,T as __namedExportsOrder,F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o,b as r}from"./iframe-
|
|
1
|
+
import{a as o,b as r}from"./iframe-BNJP6ovU.js";import"./f-po-BdPzDRD-.js";import{s as d}from"./spread-CnPic3C2.js";import{C as m}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-Bxnzk64Q.js";import"./_commonjsHelpers-DaWZu8wl.js";const s=o`.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 g,b as n,A as a}from"./iframe-
|
|
1
|
+
import{a as g,b as n,A as a}from"./iframe-BNJP6ovU.js";import{C as h,n as r}from"./cre8-element-B35i4Lyg.js";import{o as c}from"./if-defined-Bxnzk64Q.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
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as _,b as i}from"./iframe-
|
|
1
|
+
import{a as _,b as i}from"./iframe-BNJP6ovU.js";import{s as S}from"./spread-CnPic3C2.js";import{o as O}from"./if-defined-Bxnzk64Q.js";import{C as R,n}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";const 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
|
/**
|
|
@@ -1034,10 +1026,6 @@ img {
|
|
|
1034
1026
|
|
|
1035
1027
|
:root {
|
|
1036
1028
|
--size-base-unit: 0.5rem;
|
|
1037
|
-
--cre8-l-max-width: 82.5rem;
|
|
1038
|
-
/* 1 */
|
|
1039
|
-
--cre8-l-linelength-width: 42rem;
|
|
1040
|
-
/* 1 */
|
|
1041
1029
|
}
|
|
1042
1030
|
|
|
1043
1031
|
/**
|
|
@@ -1210,10 +1198,6 @@ span.ripple {
|
|
|
1210
1198
|
}
|
|
1211
1199
|
:root {
|
|
1212
1200
|
--size-base-unit: 0.5rem;
|
|
1213
|
-
--cre8-l-max-width: 82.5rem;
|
|
1214
|
-
/* 1 */
|
|
1215
|
-
--cre8-l-linelength-width: 42rem;
|
|
1216
|
-
/* 1 */
|
|
1217
1201
|
}
|
|
1218
1202
|
|
|
1219
1203
|
/**
|
|
@@ -1386,13 +1370,13 @@ span.ripple {
|
|
|
1386
1370
|
<cre8-link-list-item href="#">Link item 4</cre8-link-list-item>
|
|
1387
1371
|
<cre8-link-list-item href="#">Link item 5</cre8-link-list-item>
|
|
1388
1372
|
</cre8-link-list>
|
|
1389
|
-
</div>`,
|
|
1373
|
+
</div>`,k=()=>i` <cre8-link-list variant="display">
|
|
1390
1374
|
<cre8-link-list-item href="#">Link item 1</cre8-link-list-item>
|
|
1391
1375
|
<cre8-link-list-item href="#">Link item 2</cre8-link-list-item>
|
|
1392
1376
|
<cre8-link-list-item href="#">Link item 3 with a longer title</cre8-link-list-item>
|
|
1393
1377
|
<cre8-link-list-item href="#">Link item 4</cre8-link-list-item>
|
|
1394
1378
|
<cre8-link-list-item href="#">Link item 5</cre8-link-list-item>
|
|
1395
|
-
</cre8-link-list>`,
|
|
1379
|
+
</cre8-link-list>`,h=()=>i`<div style="background: black">
|
|
1396
1380
|
<cre8-link-list variant="secondary" inverted="true">
|
|
1397
1381
|
<cre8-link-list-item href="#">Link item 1</cre8-link-list-item>
|
|
1398
1382
|
<cre8-link-list-item href="#">Link item 2</cre8-link-list-item>
|
|
@@ -1456,13 +1440,13 @@ span.ripple {
|
|
|
1456
1440
|
<cre8-link-list-item href="#">Link item 4</cre8-link-list-item>
|
|
1457
1441
|
<cre8-link-list-item href="#">Link item 5</cre8-link-list-item>
|
|
1458
1442
|
</cre8-link-list>
|
|
1459
|
-
</div>\``,...g.parameters?.docs?.source}}};
|
|
1443
|
+
</div>\``,...g.parameters?.docs?.source}}};k.parameters={...k.parameters,docs:{...k.parameters?.docs,source:{originalSource:`() => html\` <cre8-link-list variant="display">
|
|
1460
1444
|
<cre8-link-list-item href="#">Link item 1</cre8-link-list-item>
|
|
1461
1445
|
<cre8-link-list-item href="#">Link item 2</cre8-link-list-item>
|
|
1462
1446
|
<cre8-link-list-item href="#">Link item 3 with a longer title</cre8-link-list-item>
|
|
1463
1447
|
<cre8-link-list-item href="#">Link item 4</cre8-link-list-item>
|
|
1464
1448
|
<cre8-link-list-item href="#">Link item 5</cre8-link-list-item>
|
|
1465
|
-
</cre8-link-list>\``,...
|
|
1449
|
+
</cre8-link-list>\``,...k.parameters?.docs?.source}}};h.parameters={...h.parameters,docs:{...h.parameters?.docs,source:{originalSource:`() => html\`<div style="background: black">
|
|
1466
1450
|
<cre8-link-list variant="secondary" inverted="true">
|
|
1467
1451
|
<cre8-link-list-item href="#">Link item 1</cre8-link-list-item>
|
|
1468
1452
|
<cre8-link-list-item href="#">Link item 2</cre8-link-list-item>
|
|
@@ -1470,7 +1454,7 @@ span.ripple {
|
|
|
1470
1454
|
<cre8-link-list-item href="#">Link item 4</cre8-link-list-item>
|
|
1471
1455
|
<cre8-link-list-item href="#">Link item 5</cre8-link-list-item>
|
|
1472
1456
|
</cre8-link-list>
|
|
1473
|
-
</div>\``,...
|
|
1457
|
+
</div>\``,...h.parameters?.docs?.source}}};f.parameters={...f.parameters,docs:{...f.parameters?.docs,source:{originalSource:`() => html\`<cre8-link-list spacing="condensed">
|
|
1474
1458
|
<cre8-link-list-item href="#">Link item 1</cre8-link-list-item>
|
|
1475
1459
|
<cre8-link-list-item href="#">Link item 2</cre8-link-list-item>
|
|
1476
1460
|
<cre8-link-list-item href="#">Link item 3 with a longer title</cre8-link-list-item>
|
|
@@ -1506,4 +1490,4 @@ span.ripple {
|
|
|
1506
1490
|
<cre8-link-list-item href="#">Link item 3 with a longer title</cre8-link-list-item>
|
|
1507
1491
|
<cre8-link-list-item href="#">Link item 4</cre8-link-list-item>
|
|
1508
1492
|
<cre8-link-list-item href="#">Link item 5</cre8-link-list-item>
|
|
1509
|
-
</cre8-link-list>\``,...v.parameters?.docs?.source}}};const N=["Default","Secondary","Inverted","Display","SecondaryInverted","Condensed","Small","SmallCondensed","Responsive","Horizontal","WithBadge"];export{f as Condensed,d as Default,
|
|
1493
|
+
</cre8-link-list>\``,...v.parameters?.docs?.source}}};const N=["Default","Secondary","Inverted","Display","SecondaryInverted","Condensed","Small","SmallCondensed","Responsive","Horizontal","WithBadge"];export{f as Condensed,d as Default,k as Display,b as Horizontal,g as Inverted,y as Responsive,p as Secondary,h as SecondaryInverted,u as Small,x as SmallCondensed,v as WithBadge,N as __namedExportsOrder,E as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as p}from"./iframe-
|
|
1
|
+
import{b as p}from"./iframe-BNJP6ovU.js";import{s as m}from"./spread-CnPic3C2.js";import"./badge-BTxW3bN2.js";import"./link-CRE0Eqdo.js";import"./preload-helper-PPVm8Dsz.js";import"./cre8-element-B35i4Lyg.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./icon-ChfRWXWy.js";import"./if-defined-Bxnzk64Q.js";const h=`<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M14.1538 1.23077H12.3077V0.615385C12.3077 0.452174 12.2428 0.295649 12.1274 0.180242C12.012 0.064835 11.8555 0 11.6923 0C11.5291 0 11.3725 0.064835 11.2571 0.180242C11.1417 0.295649 11.0769 0.452174 11.0769 0.615385V1.23077H4.92305V0.615385C4.92305 0.452174 4.85821 0.295649 4.74281 0.180242C4.6274 0.064835 4.47087 0 4.30766 0C4.14445 0 3.98793 0.064835 3.87252 0.180242C3.75711 0.295649 3.69228 0.452174 3.69228 0.615385V1.23077H1.84613C1.51971 1.23077 1.20665 1.36044 0.97584 1.59125C0.745026 1.82207 0.615356 2.13512 0.615356 2.46154V14.7692C0.615356 15.0957 0.745026 15.4087 0.97584 15.6395C1.20665 15.8703 1.51971 16 1.84613 16H14.1538C14.4802 16 14.7933 15.8703 15.0241 15.6395C15.2549 15.4087 15.3846 15.0957 15.3846 14.7692V2.46154C15.3846 2.13512 15.2549 1.82207 15.0241 1.59125C14.7933 1.36044 14.4802 1.23077 14.1538 1.23077ZM3.69228 2.46154V3.07692C3.69228 3.24013 3.75711 3.39666 3.87252 3.51207C3.98793 3.62747 4.14445 3.69231 4.30766 3.69231C4.47087 3.69231 4.6274 3.62747 4.74281 3.51207C4.85821 3.39666 4.92305 3.24013 4.92305 3.07692V2.46154H11.0769V3.07692C11.0769 3.24013 11.1417 3.39666 11.2571 3.51207C11.3725 3.62747 11.5291 3.69231 11.6923 3.69231C11.8555 3.69231 12.012 3.62747 12.1274 3.51207C12.2428 3.39666 12.3077 3.24013 12.3077 3.07692V2.46154H14.1538V4.92308H1.84613V2.46154H3.69228ZM14.1538 14.7692H1.84613V6.15385H14.1538V14.7692ZM6.7692 8V12.9231C6.7692 13.0863 6.70437 13.2428 6.58896 13.3582C6.47355 13.4736 6.31703 13.5385 6.15382 13.5385C5.99061 13.5385 5.83408 13.4736 5.71868 13.3582C5.60327 13.2428 5.53843 13.0863 5.53843 12.9231V8.99539L5.19843 9.16615C5.05236 9.23919 4.88326 9.25121 4.72832 9.19956C4.57339 9.14792 4.44532 9.03684 4.37228 8.89077C4.29924 8.7447 4.28722 8.57559 4.33887 8.42066C4.39051 8.26573 4.50159 8.13765 4.64766 8.06462L5.87843 7.44923C5.97229 7.40227 6.0766 7.38008 6.18144 7.3848C6.28629 7.38951 6.38818 7.42095 6.47745 7.47615C6.56671 7.53134 6.64038 7.60845 6.69145 7.70013C6.74251 7.79182 6.76928 7.89505 6.7692 8ZM11.32 10.3423L9.84612 12.3077H11.0769C11.2401 12.3077 11.3966 12.3725 11.512 12.4879C11.6274 12.6033 11.6923 12.7599 11.6923 12.9231C11.6923 13.0863 11.6274 13.2428 11.512 13.3582C11.3966 13.4736 11.2401 13.5385 11.0769 13.5385H8.61536C8.50107 13.5385 8.38904 13.5066 8.29183 13.4466C8.19461 13.3865 8.11605 13.3005 8.06494 13.1983C8.01383 13.0961 7.99219 12.9816 8.00246 12.8678C8.01272 12.754 8.05448 12.6453 8.12305 12.5538L10.3369 9.60231C10.3873 9.53527 10.4234 9.45865 10.4431 9.37715C10.4627 9.29565 10.4656 9.21098 10.4513 9.12836C10.4371 9.04573 10.4062 8.96687 10.3604 8.89664C10.3146 8.8264 10.2549 8.76626 10.1851 8.71991C10.1152 8.67356 10.0366 8.64198 9.95408 8.6271C9.87156 8.61222 9.78688 8.61436 9.70523 8.63338C9.62357 8.6524 9.54666 8.68791 9.47922 8.73773C9.41178 8.78755 9.35524 8.85062 9.31305 8.92308C9.27383 8.99529 9.22055 9.05893 9.15635 9.11022C9.09214 9.16151 9.01831 9.19942 8.93922 9.22172C8.86012 9.24401 8.77736 9.25024 8.69582 9.24004C8.61428 9.22983 8.53561 9.2034 8.46445 9.16229C8.39329 9.12119 8.33109 9.06625 8.2815 9.00072C8.23192 8.93519 8.19597 8.86038 8.17576 8.78073C8.15555 8.70108 8.15151 8.61818 8.16386 8.53694C8.17621 8.45569 8.2047 8.37774 8.24766 8.30769C8.45094 7.95591 8.76459 7.68102 9.13998 7.52562C9.51538 7.37021 9.93155 7.34298 10.324 7.44815C10.7164 7.55331 11.0632 7.785 11.3106 8.10729C11.558 8.42958 11.6921 8.82448 11.6923 9.23077C11.6936 9.63211 11.5627 10.0227 11.32 10.3423Z"/>
|
|
3
3
|
</svg>
|
|
4
4
|
`,v=`<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -10,7 +10,7 @@ import{b as p}from"./iframe-dHvya7sk.js";import{s as m}from"./spread-BPiNgQQF.js
|
|
|
10
10
|
`,f=`<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
11
11
|
<path d="M8.92308 12C8.92308 12.1826 8.86894 12.361 8.76751 12.5128C8.66608 12.6646 8.52192 12.7829 8.35325 12.8528C8.18458 12.9227 7.99898 12.941 7.81992 12.9053C7.64086 12.8697 7.47638 12.7818 7.34729 12.6527C7.21819 12.5236 7.13028 12.3591 7.09466 12.1801C7.05904 12.001 7.07732 11.8154 7.14719 11.6468C7.21706 11.4781 7.33537 11.3339 7.48717 11.2325C7.63897 11.1311 7.81743 11.0769 8 11.0769C8.24482 11.0769 8.4796 11.1742 8.65271 11.3473C8.82583 11.5204 8.92308 11.7552 8.92308 12ZM8 3.69231C6.30308 3.69231 4.92308 4.93461 4.92308 6.46154V6.76923C4.92308 6.93244 4.98791 7.08896 5.10332 7.20437C5.21873 7.31978 5.37525 7.38461 5.53846 7.38461C5.70167 7.38461 5.8582 7.31978 5.97361 7.20437C6.08901 7.08896 6.15385 6.93244 6.15385 6.76923V6.46154C6.15385 5.61538 6.98231 4.92308 8 4.92308C9.01769 4.92308 9.84616 5.61538 9.84616 6.46154C9.84616 7.30769 9.01769 8 8 8C7.83679 8 7.68027 8.06483 7.56486 8.18024C7.44945 8.29565 7.38462 8.45217 7.38462 8.61538V9.23077C7.38462 9.39398 7.44945 9.5505 7.56486 9.66591C7.68027 9.78132 7.83679 9.84615 8 9.84615C8.16321 9.84615 8.31974 9.78132 8.43514 9.66591C8.55055 9.5505 8.61539 9.39398 8.61539 9.23077V9.17538C10.0185 8.91769 11.0769 7.79846 11.0769 6.46154C11.0769 4.93461 9.69692 3.69231 8 3.69231ZM16 8C16 9.58225 15.5308 11.129 14.6518 12.4446C13.7727 13.7602 12.5233 14.7855 11.0615 15.391C9.59966 15.9965 7.99113 16.155 6.43928 15.8463C4.88743 15.5376 3.46197 14.7757 2.34315 13.6569C1.22433 12.538 0.462403 11.1126 0.153721 9.56072C-0.15496 8.00887 0.00346628 6.40034 0.608967 4.93853C1.21447 3.47672 2.23985 2.22729 3.55544 1.34824C4.87103 0.469192 6.41775 0 8 0C10.121 0.00223986 12.1546 0.845814 13.6544 2.34562C15.1542 3.84542 15.9978 5.87895 16 8ZM14.7692 8C14.7692 6.66117 14.3722 5.35241 13.6284 4.23922C12.8846 3.12602 11.8274 2.25839 10.5905 1.74605C9.35356 1.2337 7.99249 1.09965 6.67939 1.36084C5.36629 1.62203 4.16013 2.26674 3.21343 3.21343C2.26674 4.16012 1.62203 5.36629 1.36084 6.67939C1.09965 7.99249 1.2337 9.35356 1.74605 10.5905C2.2584 11.8274 3.12603 12.8846 4.23922 13.6284C5.35241 14.3722 6.66117 14.7692 8 14.7692C9.79469 14.7672 11.5153 14.0534 12.7843 12.7843C14.0534 11.5153 14.7672 9.79468 14.7692 8Z"/>
|
|
12
12
|
</svg>
|
|
13
|
-
`,S={title:"cre8 Components/Link",component:"cre8-link",parameters:{withDesign:{type:"figma",url:"https://www.figma.com/file/L8rVyIvYfWAtNpgm2qps73/
|
|
13
|
+
`,S={title:"cre8 Components/Link",component:"cre8-link",parameters:{withDesign:{type:"figma",url:"https://www.figma.com/file/L8rVyIvYfWAtNpgm2qps73/Cre8-Base-Web-Library?node-id=19966%3A5158"},status:{type:"inProgress"}},argTypes:{href:{value:"#"},noUnderline:{control:"boolean"},ctaLink:{control:"boolean"},inverted:{control:"boolean"},iconName:{control:"text"},svg:{control:"text"},iconRotateDegree:{control:"text"},iconFlipDirection:{control:"text"},iconPosition:{options:["before","after"],control:{type:"radio"}},size:{options:["sm","lg"],control:{type:"radio"}}},render:g=>p`<cre8-link ${m(g)}>Hello World</cre8-link>`},e={args:{href:"#"}},r={args:{href:"#",svg:h,iconPosition:"before"}},n={args:{href:"#",svg:v,iconPosition:"after"}},o={args:{href:"#"},render:g=>p`<cre8-link ${m(g)}>Hello World<cre8-badge slot="badge" status="info" variant="light" text="17"></cre8-badge></cre8-link>`},s={args:{href:"#",ctaLink:"true",noUnderline:"true"}},t={args:{href:"#",ctaLink:"true",inverted:"true",noUnderline:"true"},parameters:{backgrounds:{default:"dark"}}},a={args:{href:"#",noUnderline:"true"}},i={args:{href:"#",svg:u,iconPosition:"after",NoUnderline:"true"}},C={args:{href:"#",inverted:"true"},parameters:{backgrounds:{default:"dark"}}},c={args:{href:"#",inverted:"true",svg:u,iconPosition:"after"},parameters:{backgrounds:{default:"dark"}}},d={args:{href:"#",size:"sm",svg:f,iconPosition:"after"}},l={args:{href:"#",size:"lg",svg:f,iconPosition:"after"}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
|
|
14
14
|
args: {
|
|
15
15
|
href: '#'
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h,b as i}from"./iframe-
|
|
1
|
+
import{a as h,b as i}from"./iframe-BNJP6ovU.js";import{s as y}from"./spread-CnPic3C2.js";import{C as f,n as x}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";const z=h`.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
|
/**
|
|
@@ -595,7 +587,7 @@ span.ripple {
|
|
|
595
587
|
<div class="${t}">
|
|
596
588
|
<slot></slot>
|
|
597
589
|
</div>
|
|
598
|
-
`}};p.styles=[
|
|
590
|
+
`}};p.styles=[z];let l=p;customElements.get("cre8-list-item")===void 0&&customElements.define("cre8-list-item",l);const w=h`.cre8-u-content-knockout-brand {
|
|
599
591
|
color: var(----cre8-color-content-knockout-brand);
|
|
600
592
|
}
|
|
601
593
|
|
|
@@ -969,10 +961,6 @@ img {
|
|
|
969
961
|
|
|
970
962
|
:root {
|
|
971
963
|
--size-base-unit: 0.5rem;
|
|
972
|
-
--cre8-l-max-width: 82.5rem;
|
|
973
|
-
/* 1 */
|
|
974
|
-
--cre8-l-linelength-width: 42rem;
|
|
975
|
-
/* 1 */
|
|
976
964
|
}
|
|
977
965
|
|
|
978
966
|
/**
|
|
@@ -1145,10 +1133,6 @@ span.ripple {
|
|
|
1145
1133
|
}
|
|
1146
1134
|
:root {
|
|
1147
1135
|
--size-base-unit: 0.5rem;
|
|
1148
|
-
--cre8-l-max-width: 82.5rem;
|
|
1149
|
-
/* 1 */
|
|
1150
|
-
--cre8-l-linelength-width: 42rem;
|
|
1151
|
-
/* 1 */
|
|
1152
1136
|
}
|
|
1153
1137
|
|
|
1154
1138
|
/**
|
|
@@ -1233,11 +1217,11 @@ span.ripple {
|
|
|
1233
1217
|
.cre8-c-list--padded ::slotted(cre8-list-item) {
|
|
1234
1218
|
padding-top: 2rem;
|
|
1235
1219
|
padding-bottom: 2rem;
|
|
1236
|
-
}`;var v=Object.defineProperty,b=(a,t,g,k)=>{for(var e=void 0,
|
|
1220
|
+
}`;var v=Object.defineProperty,b=(a,t,g,k)=>{for(var e=void 0,m=a.length-1,u;m>=0;m--)(u=a[m])&&(e=u(t,g,e)||e);return e&&v(t,g,e),e};const c=class c extends f{render(){const t=this.componentClassNames("cre8-c-list",{"cre8-c-list--bare":this.variant==="bare","cre8-c-list--padded":this.spacing==="padded","cre8-c-list--condensed":this.spacing==="condensed"});return i`
|
|
1237
1221
|
<ul class="${t}">
|
|
1238
1222
|
<slot></slot>
|
|
1239
1223
|
</ul>
|
|
1240
|
-
`}};c.styles=[
|
|
1224
|
+
`}};c.styles=[w];let r=c;b([x()],r.prototype,"variant");b([x()],r.prototype,"spacing");customElements.get("cre8-list")===void 0&&customElements.define("cre8-list",r);const P={title:"Cre8 Components/List",component:"cre8-list",parameters:{status:{type:"notStarted"}}},n=a=>i`<cre8-list ${y(a)}>
|
|
1241
1225
|
<cre8-list-item>First List item</cre8-list-item>
|
|
1242
1226
|
<cre8-list-item>Second List item</cre8-list-item>
|
|
1243
1227
|
<cre8-list-item>Third List item</cre8-list-item>
|
|
@@ -1253,7 +1237,7 @@ span.ripple {
|
|
|
1253
1237
|
<cre8-list-item><f-po>Padded list item</f-po></cre8-list-item>
|
|
1254
1238
|
<cre8-list-item><f-po>Padded list item</f-po></cre8-list-item>
|
|
1255
1239
|
<cre8-list-item><f-po>Padded list item</f-po></cre8-list-item>
|
|
1256
|
-
</cre8-list>`,
|
|
1240
|
+
</cre8-list>`,s=()=>i`<cre8-list spacing="condensed">
|
|
1257
1241
|
<cre8-list-item><f-po>Condensed list item</f-po></cre8-list-item>
|
|
1258
1242
|
<cre8-list-item><f-po>Condensed list item</f-po></cre8-list-item>
|
|
1259
1243
|
<cre8-list-item><f-po>Condensed list item</f-po></cre8-list-item>
|
|
@@ -1275,10 +1259,10 @@ span.ripple {
|
|
|
1275
1259
|
<cre8-list-item><f-po>Padded list item</f-po></cre8-list-item>
|
|
1276
1260
|
<cre8-list-item><f-po>Padded list item</f-po></cre8-list-item>
|
|
1277
1261
|
<cre8-list-item><f-po>Padded list item</f-po></cre8-list-item>
|
|
1278
|
-
</cre8-list>\``,...d.parameters?.docs?.source}}};
|
|
1262
|
+
</cre8-list>\``,...d.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`() => html\`<cre8-list spacing="condensed">
|
|
1279
1263
|
<cre8-list-item><f-po>Condensed list item</f-po></cre8-list-item>
|
|
1280
1264
|
<cre8-list-item><f-po>Condensed list item</f-po></cre8-list-item>
|
|
1281
1265
|
<cre8-list-item><f-po>Condensed list item</f-po></cre8-list-item>
|
|
1282
1266
|
<cre8-list-item><f-po>Condensed list item</f-po></cre8-list-item>
|
|
1283
1267
|
<cre8-list-item><f-po>Condensed list item</f-po></cre8-list-item>
|
|
1284
|
-
</cre8-list>\``,...
|
|
1268
|
+
</cre8-list>\``,...s.parameters?.docs?.source}}};const L=["Default","Bare","Padded","Condensed"];export{o as Bare,s as Condensed,n as Default,d as Padded,L as __namedExportsOrder,P as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as p,b as t,A as m}from"./iframe-BNJP6ovU.js";import{C as g,n as i}from"./cre8-element-B35i4Lyg.js";const h=p`.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
|
/**
|
|
@@ -724,7 +716,7 @@ span.ripple {
|
|
|
724
716
|
overflow: hidden;
|
|
725
717
|
transform: rotate(-90deg);
|
|
726
718
|
transform-origin: center center;
|
|
727
|
-
}`;var u=Object.defineProperty,n=(
|
|
719
|
+
}`;var u=Object.defineProperty,n=(l,r,o,f)=>{for(var a=void 0,s=l.length-1,c;s>=0;s--)(c=l[s])&&(a=c(r,o,a)||a);return a&&u(r,o,a),a};const d=class d extends g{constructor(){super(),this.progress=0,this.size="large";const r=Math.floor(Math.random()*9e5)+1e5;this.labelId=`cre8-spinner-${r}`}renderDeterminateSpinner(){const r=Math.max(Math.min(100,this.progress===0?this.progress=1:this.progress),0),o=2*3.1415926*45-r/100*(2*3.1415926*45);return t` ${this.size==="small"?t`
|
|
728
720
|
<svg class="cre8-c-spinner__icon cre8-c-spinner__icon-small" aria-hidden="true" viewBox="0 0 100 100">
|
|
729
721
|
<circle cx="50%" cy="50%" r="43" stroke-dashoffset="${o}"></circle>
|
|
730
722
|
</svg>
|
|
@@ -743,7 +735,7 @@ span.ripple {
|
|
|
743
735
|
aria-labelledby="${this.labelId}"
|
|
744
736
|
aria-valuemin="0"
|
|
745
737
|
aria-valuemax="100"
|
|
746
|
-
aria-valuenow="${this.determinate?this.progress:
|
|
738
|
+
aria-valuenow="${this.determinate?this.progress:m}"
|
|
747
739
|
part="base"
|
|
748
740
|
>
|
|
749
741
|
${this.determinate?this.renderDeterminateSpinner():this.renderInDeterminateSpinner()}
|
|
@@ -755,4 +747,4 @@ span.ripple {
|
|
|
755
747
|
${this.label}
|
|
756
748
|
</div>
|
|
757
749
|
</div>
|
|
758
|
-
`}};
|
|
750
|
+
`}};d.styles=h;let e=d;n([i({type:Boolean,reflect:!0})],e.prototype,"determinate");n([i({type:Boolean,reflect:!0})],e.prototype,"inverse");n([i({type:Boolean,reflect:!0})],e.prototype,"neutral");n([i()],e.prototype,"buttonVariant");n([i()],e.prototype,"label");n([i({reflect:!0,type:Number})],e.prototype,"progress");n([i()],e.prototype,"size");customElements.get("cre8-loading-spinner")===void 0&&customElements.define("cre8-loading-spinner",e);
|
package/dist/assets/{loading-spinner.stories-B6_mgPxB.js → loading-spinner.stories-DPRGEeHT.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b}from"./iframe-
|
|
1
|
+
import{b}from"./iframe-BNJP6ovU.js";import"./loading-spinner-C52KNq6y.js";import"./preload-helper-PPVm8Dsz.js";import"./cre8-element-B35i4Lyg.js";import"./_commonjsHelpers-DaWZu8wl.js";const $={title:"cre8 Components/LoadingSpinner",component:"cre8-loading-spinner",argTypes:{buttonVariant:{options:["primary","secondary","tertiary"],control:{type:"radio"}},determinate:{control:"boolean"},inverse:{defaultValue:!1,control:{type:"boolean"}},neutral:{control:{type:"boolean"}},label:{defaultValue:"Loading ...",control:"text"},progress:{control:{type:"number"}},size:{options:["large","small"],control:{type:"inline-radio"}}},args:{label:"Loading…",size:"large"},render:({size:u,inverse:m,determinate:p,progress:l,label:d,neutral:g,buttonVariant:y})=>b`<cre8-loading-spinner
|
|
2
2
|
size="${u}"
|
|
3
3
|
?inverse="${m}"
|
|
4
4
|
?neutral="${g}"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p,b as s}from"./iframe-
|
|
1
|
+
import{a as p,b as s}from"./iframe-BNJP6ovU.js";import{s as l}from"./spread-CnPic3C2.js";import{C as g,n as c}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";const u=p`.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 p,b as s}from"./iframe-
|
|
1
|
+
import{a as p,b as s}from"./iframe-BNJP6ovU.js";import"./f-po-BdPzDRD-.js";import{s as l}from"./spread-CnPic3C2.js";import{C as g,n as c}from"./cre8-element-B35i4Lyg.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-Bxnzk64Q.js";import"./_commonjsHelpers-DaWZu8wl.js";const u=p`.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
|
/**
|
|
@@ -608,4 +600,4 @@ span.ripple {
|
|
|
608
600
|
flex-direction: column;
|
|
609
601
|
flex: 1;
|
|
610
602
|
height: 100%;
|
|
611
|
-
}`;var
|
|
603
|
+
}`;var h=Object.defineProperty,f=(e,i,d,x)=>{for(var t=void 0,n=e.length-1,m;n>=0;n--)(m=e[n])&&(t=m(i,d,t)||t);return t&&h(i,d,t),t};const o=class o extends g{render(){const i=this.componentClassNames("cre8-c-main",{"cre8-c-main--full-height":this.fullHeight===!0});return s`<main class=${i}><slot></slot></main>`}};o.styles=[u];let r=o;f([c({type:Boolean,reflect:!0})],r.prototype,"fullHeight");customElements.get("cre8-main")===void 0&&customElements.define("cre8-main",r);const R={title:"Cre8 Components/Main",component:"cre8-main",parameters:{status:{type:"inProgress"}}},a=e=>s`<cre8-main ${l(e)}><f-po>Main Content Block Between Header and Footer</f-po></cre8-main>`;a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:"args => html`<cre8-main ${spread(args)}><f-po>Main Content Block Between Header and Footer</f-po></cre8-main>`",...a.parameters?.docs?.source}}};const F=["Default"];export{a as Default,F as __namedExportsOrder,R as default};
|
package/dist/assets/{medication-card.stories-DK1XGJic.js → medication-card.stories-Wc-hA0-s.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as t,b as r}from"./iframe-
|
|
1
|
+
import{a as t,b as r}from"./iframe-BNJP6ovU.js";import"./button-CgaWukz0.js";import"./grid-C5CKMXNe.js";import"./heading-Dbka33DK.js";import"./icon-ChfRWXWy.js";import"./text-link-B3m3KEqY.js";import"./text-passage-xQVosjOr.js";import{s as n}from"./spread-CnPic3C2.js";import"./icon-description-BBSwDykJ.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"./loading-spinner-C52KNq6y.js";t`@import 'design-tokens/core/scss/theming/component';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 1)
|
|
@@ -32,7 +32,7 @@ div.c-medication-card__header {
|
|
|
32
32
|
padding: size(1) size(2);
|
|
33
33
|
border-top: var(--cre8-theme-border-width) var(--cre8-border-style-default) var(--cre8-color-border-default);
|
|
34
34
|
}
|
|
35
|
-
`;const
|
|
35
|
+
`;const x={title:"Examples/Medication Card",component:"medication-card",parameters:{status:{type:"inProgress"}}},e=i=>r`<medication-card ${n(i)}>
|
|
36
36
|
<cre8-heading slot="heading" headingTagName="h2" variant="title-default">atorvastatin</cre8-heading>
|
|
37
37
|
<div slot="headingAfter">
|
|
38
38
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="25" viewBox="0 0 16 25" fill="none">
|
|
@@ -76,7 +76,7 @@ div.c-medication-card__header {
|
|
|
76
76
|
<cre8-grid-item>
|
|
77
77
|
<icon-description verticalAlign="center" size="sm"><cre8-icon-legacy name="people" slot="header"></cre8-icon-legacy>Chris</icon-description>
|
|
78
78
|
<icon-description verticalAlign="center" size="sm">
|
|
79
|
-
<cre8-icon-legacy name="
|
|
79
|
+
<cre8-icon-legacy name="pharmacy" style="--cre8-icon-height: 2rem; --cre8-icon-width: 2rem;" slot="header"></cre8-icon-legacy> Pharmacy
|
|
80
80
|
Pharmacy
|
|
81
81
|
</icon-description>
|
|
82
82
|
</cre8-grid-item>
|
|
@@ -141,7 +141,7 @@ div.c-medication-card__header {
|
|
|
141
141
|
<cre8-grid-item>
|
|
142
142
|
<icon-description verticalAlign="center" size="sm"><cre8-icon-legacy name="people" slot="header"></cre8-icon-legacy>Chris</icon-description>
|
|
143
143
|
<icon-description verticalAlign="center" size="sm">
|
|
144
|
-
<cre8-icon-legacy name="
|
|
144
|
+
<cre8-icon-legacy name="pharmacy" style="--cre8-icon-height: 2rem; --cre8-icon-width: 2rem;" slot="header"></cre8-icon-legacy> Pharmacy
|
|
145
145
|
Pharmacy
|
|
146
146
|
</icon-description>
|
|
147
147
|
</cre8-grid-item>
|
|
@@ -162,4 +162,4 @@ div.c-medication-card__header {
|
|
|
162
162
|
<cre8-text-passage><strong>Next order:</strong> Processing Estimated delivery by: Aug 16,2022</cre8-text-passage>
|
|
163
163
|
<cre8-button text="Order details" variant="link" size="sm" iconPosition="after" iconName="keyboard-arrow-down"></cre8-button>
|
|
164
164
|
</div>
|
|
165
|
-
</medication-card>\``,...e.parameters?.docs?.source}}};const u=["Default"];export{e as Default,u as __namedExportsOrder,
|
|
165
|
+
</medication-card>\``,...e.parameters?.docs?.source}}};const u=["Default"];export{e as Default,u as __namedExportsOrder,x as default};
|
package/dist/assets/{medication-form.stories-Bj5dLp5S.js → medication-form.stories-DfFOCDaU.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as i,b as t}from"./iframe-
|
|
1
|
+
import{a as i,b as t}from"./iframe-BNJP6ovU.js";import"./button-CgaWukz0.js";import"./field-BpUYyRW1.js";import{s as o}from"./spread-CnPic3C2.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";import"./index.browser-BY9c7rfI.js";import"./field-note-fccBckVl.js";i`@import 'design-tokens/core/scss/theming/component' ;
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 1)
|