@tmorrow/cre8-wc 2.1.1 → 2.2.2
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-kg.json +441 -299
- package/a2ui/catalog.compact.json +27 -3
- package/a2ui/catalog.json +88 -2
- package/a2ui/demo.html +11 -2
- package/a2ui/generate-catalog-kg.mjs +122 -0
- package/cdn/cre8-wc.esm.js +2081 -1863
- package/cdn/cre8-wc.esm.js.map +1 -1
- package/cdn/cre8-wc.min.js +275 -257
- package/cdn/cre8-wc.min.js.map +1 -1
- package/dist/assets/{Changelog-Documentation-CeOetLxK.js → Changelog-Documentation-DAkpnvjl.js} +1 -1
- package/dist/assets/{Code-Guidelines-BjdezAjj.js → Code-Guidelines-BaDD3Qt-.js} +1 -1
- package/dist/assets/{Color-6AOWCN3U-DPFGZitI.js → Color-6AOWCN3U-Br-VT4Nz.js} +1 -1
- package/dist/assets/{Contributing-Guidelines-B1M2V1hW.js → Contributing-Guidelines-CcP9zakB.js} +1 -1
- package/dist/assets/{DocsRenderer-JROSPFPF-BBy8KWNl.js → DocsRenderer-JROSPFPF-yAlipAFi.js} +1 -1
- package/dist/assets/{Tokens-Documentation-CdTxFDLe.js → Tokens-Documentation-C7AoT8M_.js} +1 -1
- package/dist/assets/{WithTooltip-7X4HQR7L-DZzTNMQ7.js → WithTooltip-7X4HQR7L-DGAfa3Vb.js} +1 -1
- package/dist/assets/{accordion-item.stories-Bl26JlHp.js → accordion-item.stories-BZFx3mtU.js} +9 -1
- package/dist/assets/{accordion.stories-DjoLApQw.js → accordion.stories-Bvj-QGNl.js} +22 -14
- package/dist/assets/address-form.stories-CseRFoqX.js +71 -0
- package/dist/assets/{alert.stories-pO1y3YCQ.js → alert.stories-CbICvjHf.js} +31 -15
- package/dist/assets/{badge-BTxW3bN2.js → badge-UrvSTJon.js} +11 -3
- package/dist/assets/{badge.stories-vqh63RJ2.js → badge.stories-DOZqQX5K.js} +7 -8
- package/dist/assets/{band.stories-CjKRppSb.js → band.stories-CK_yg4DT.js} +9 -1
- package/dist/assets/{blocks-1be_-L6v.js → blocks-Du1uvPRr.js} +5 -5
- package/dist/assets/{breadcrumbs.stories-Doyfy3V9.js → breadcrumbs.stories-D7yO08QU.js} +25 -9
- package/dist/assets/{button-CgaWukz0.js → button-BCRNRwfX.js} +9 -1
- package/dist/assets/{button-group-G7qN4MwM.js → button-group-CwodvBV3.js} +9 -1
- package/dist/assets/{button-group.stories-cL3Kay6M.js → button-group.stories-DqUGrtzO.js} +1 -1
- package/dist/assets/{button.stories-C9HSpxWb.js → button.stories-CsEf8OvS.js} +1 -1
- package/dist/assets/{card.stories-BbU8YymD.js → card-DSDkldbr.js} +14 -50
- package/dist/assets/card.stories-DBa0yvbU.js +45 -0
- package/dist/assets/{chart.stories-BL4FxIA_.js → chart.stories-DS4mwVqy.js} +3 -3
- package/dist/assets/{checkbox-field-item-DIMHcWM0.js → checkbox-field-item-sISvPESD.js} +9 -1
- package/dist/assets/{checkbox-field-item.stories-XbB4x_lO.js → checkbox-field-item.stories-BCvdJgaW.js} +1 -1
- package/dist/assets/{checkbox-field.stories-YnqFUI4K.js → checkbox-field.stories-DnG0eNYV.js} +20 -12
- package/dist/assets/cre8-element-q82VmUgi.js +1 -0
- package/dist/assets/cre8-form-element-Bk9Cy3PA.js +1 -0
- package/dist/assets/{danger-button.stories-xh25hmfd.js → danger-button.stories-UbeDkyI-.js} +9 -1
- package/dist/assets/{date-picker.stories-DD_ctzEF.js → date-picker.stories-B1SKYMVQ.js} +51 -3
- package/dist/assets/{divider-xZ2KARHf.js → divider-Bci4ZIK6.js} +10 -2
- package/dist/assets/{divider.stories-Bk9oF-OV.js → divider.stories-BhUpwAzD.js} +1 -1
- package/dist/assets/{dropdown-BEP5x3CW.js → dropdown-CbkVYKEV.js} +25 -9
- package/dist/assets/dropdown-item.stories-C3cFlIXo.js +26 -0
- package/dist/assets/{dropdown.stories-B0OlKD7h.js → dropdown.stories-DNo1ezrT.js} +2 -2
- package/dist/assets/{f-po-BdPzDRD-.js → f-po-CGwWqyus.js} +1 -1
- package/dist/assets/{feature.stories-DYE1Js70.js → feature.stories-B1bhPf5C.js} +9 -1
- package/dist/assets/field-V4dGu-vp.js +44 -0
- package/dist/assets/{field-note-fccBckVl.js → field-note-CI4Ca7JE.js} +11 -3
- package/dist/assets/{field-note.stories-BH9AZMbF.js → field-note.stories-qXAywEeq.js} +1 -1
- package/dist/assets/{field.stories-BQPtmziK.js → field.stories-CQf9a7bv.js} +6 -6
- package/dist/assets/{field-BpUYyRW1.js → field.styles-CiOFAoAG.js} +12 -45
- package/dist/assets/{footer.stories-DCWEciqD.js → footer.stories-C7TG2Cky.js} +9 -1
- package/dist/assets/form-DHk8aePA.js +17 -0
- package/dist/assets/form.stories-CJ9sqwpA.js +75 -0
- package/dist/assets/{formatter-L2YTDE3Q-B9u1AOWn.js → formatter-L2YTDE3Q-B-Ee-OPm.js} +1 -1
- package/dist/assets/{global-nav-item-T4htN-yO.js → global-nav-item-pjd1OC7i.js} +14 -6
- package/dist/assets/{global-nav-item.stories-2dWRfCXv.js → global-nav-item.stories-D6N0iKNQ.js} +1 -1
- package/dist/assets/{global-nav.stories-Fh1gScqg.js → global-nav.stories-CwJ0cKW_.js} +10 -2
- package/dist/assets/{grid-C5CKMXNe.js → grid-item-WCDk_zGh.js} +573 -557
- package/dist/assets/{grid.stories-BLmCNdeA.js → grid.stories-DR4e60eQ.js} +1 -1
- package/dist/assets/{header.stories-BkDrjJtj.js → header.stories-BUO2t2KS.js} +9 -1
- package/dist/assets/{heading-Dbka33DK.js → heading-Cux7lJt-.js} +10 -2
- package/dist/assets/{heading.stories-Be40_bmG.js → heading.stories-BlgEi0dB.js} +1 -1
- package/dist/assets/{hero.stories-vRu7PZG9.js → hero.stories-C853F5_Y.js} +9 -1
- package/dist/assets/{icon-ChfRWXWy.js → icon-ByzQuB0Z.js} +9 -1
- package/dist/assets/{icon.stories-Cj4U7L5G.js → icon.stories-DYCuJ4Rv.js} +1 -1
- package/dist/assets/if-defined-DWVEXvB4.js +1 -0
- package/dist/assets/{iframe-BNJP6ovU.js → iframe-CTa_pRc7.js} +142 -142
- package/dist/assets/iframe-CWwoGI65.css +1 -0
- package/dist/assets/{inline-alert.stories-CygBYI02.js → inline-alert.stories-C_R0hcQ4.js} +9 -1
- package/dist/assets/{layout-container.stories-TMyIJteJ.js → layout-container.stories-Bywbzd_L.js} +10 -2
- package/dist/assets/{layout.stories-ylRM-ANL.js → layout.stories-CI7XD-aG.js} +23 -7
- package/dist/assets/light-children-DDjBxt3J.js +1 -0
- package/dist/assets/{linelength-container.stories-Br2v8jXE.js → linelength-container.stories-DvwrIt8x.js} +9 -1
- package/dist/assets/{link-CRE0Eqdo.js → link-CkyZrqNv.js} +9 -1
- package/dist/assets/{link-list.stories--y-urrVo.js → link-list.stories-BrOT-y5d.js} +39 -23
- package/dist/assets/{link.stories-C3WQOgkY.js → link.stories-DvGexqBV.js} +1 -1
- package/dist/assets/{list.stories-Bd2bxkxn.js → list.stories-B2PmqPK-.js} +29 -13
- package/dist/assets/{loading-spinner-C52KNq6y.js → loading-spinner-D_r3kfYs.js} +12 -4
- package/dist/assets/{loading-spinner.stories-DPRGEeHT.js → loading-spinner.stories-B2GCLqqq.js} +1 -1
- package/dist/assets/{logo.stories-2LBqqraT.js → logo.stories-BK37XQOB.js} +9 -1
- package/dist/assets/{main.stories-BQzD7iWD.js → main.stories-DzXRavXL.js} +10 -2
- package/dist/assets/{modal-CCfbY4fF.js → modal-CRGEVzx5.js} +10 -2
- package/dist/assets/{modal-GglWRNJp.js → modal-frjOZV7F.js} +3 -3
- package/dist/assets/{modal.stories-CpybCs79.js → modal.stories-DPTsnRPI.js} +1 -1
- package/dist/assets/{multi-select.stories-BhzEKRui.js → multi-select.stories-DoNFngx3.js} +12 -4
- package/dist/assets/{nav-container.stories-Be1YlegP.js → nav-container.stories-BV0DiV1z.js} +11 -3
- package/dist/assets/{page-header.stories-BOVLQ0YF.js → page-header.stories-DGqzeCVS.js} +9 -1
- package/dist/assets/{pagination.stories-D62sa_1K.js → pagination.stories-DymlgiVw.js} +28 -12
- package/dist/assets/{percent-bar.stories-CYi4El7T.js → percent-bar.stories-BJd3Qi90.js} +11 -3
- package/dist/assets/{popover.stories-B9O8F4yv.js → popover.stories-0CnGKfM7.js} +11 -3
- package/dist/assets/{primary-nav.stories-Bt-o7h45.js → primary-nav.stories-DoEjkNEW.js} +17 -1
- package/dist/assets/{progress-meter-Dit59091.js → progress-meter-Ca-xdNNC.js} +9 -1
- package/dist/assets/{progress-meter.stories-CYnOCmjo.js → progress-meter.stories-CiwBm4ND.js} +1 -1
- package/dist/assets/{progress-steps-item-CWJsad0s.js → progress-steps-item-XkO_k158.js} +9 -1
- package/dist/assets/{progress-steps-item.stories-ePn_6bPn.js → progress-steps-item.stories-ikJlzkED.js} +1 -1
- package/dist/assets/{progress-steps.stories-CblrEcXF.js → progress-steps.stories-ezsJjY7f.js} +37 -29
- package/dist/assets/{radio-field-item-Bm-0RWPe.js → radio-field-item-gOof1xz7.js} +31 -15
- package/dist/assets/{radio-field-item.stories-y_TrTRIW.js → radio-field-item.stories-Bg7NJuid.js} +6 -6
- package/dist/assets/{radio-field.stories-CSWrbUrn.js → radio-field.stories-CwqXSLAA.js} +2 -2
- package/dist/assets/{remove-tag-lCr57c5r.js → remove-tag-tJrDexqV.js} +10 -2
- package/dist/assets/{remove-tag.stories-CDfwCdvZ.js → remove-tag.stories-CANJ3xUD.js} +1 -1
- package/dist/assets/{sample-modal.stories-BZ4N2R2Z.js → sample-modal.stories-CAZBmR1N.js} +4 -4
- package/dist/assets/{section.stories-D_1InThX.js → section.stories-Dbw4FBo8.js} +9 -1
- package/dist/assets/{select-tile-BqqB3ZtE.js → select-tile-DbEfRqPZ.js} +10 -2
- package/dist/assets/{select-tile-list.stories-Di4ILgV8.js → select-tile-list.stories-BWIbF_U7.js} +9 -1
- package/dist/assets/{select-tile.stories-D3h_6zlV.js → select-tile.stories-DWzrgGaK.js} +1 -1
- package/dist/assets/{select.stories-BB2phP9A.js → select.stories-DP29QG7D.js} +9 -1
- package/dist/assets/sign-in.stories-BYo2rxIQ.js +63 -0
- package/dist/assets/{skeleton-loader.stories-y4uml_kV.js → skeleton-loader.stories-B1cPTECY.js} +13 -5
- package/dist/assets/{split-button.stories-C_82I4ME.js → split-button.stories-DlxT6EYF.js} +12 -4
- package/dist/assets/{spread-CnPic3C2.js → spread-B518TqwY.js} +1 -1
- package/dist/assets/state-C6YC-MeJ.js +1 -0
- package/dist/assets/{submenu.stories-UDtaREr1.js → submenu.stories-BT13dETW.js} +18 -2
- package/dist/assets/{syntaxhighlighter-T5IQBZDB-D-I_s_yD.js → syntaxhighlighter-T5IQBZDB-DkhjPTlq.js} +1 -1
- package/dist/assets/{table-header-2837i43H.js → table-header-DMiTn2zX.js} +81 -33
- package/dist/assets/{table-object.stories-D4KoI-wA.js → table-object.stories-D2dcUZ2O.js} +11 -3
- package/dist/assets/{table.stories-DUJDibEp.js → table.stories-BXu1RY5-.js} +2 -2
- package/dist/assets/{tabs.stories-C06SngOF.js → tabs.stories-B9tPcDRI.js} +34 -10
- package/dist/assets/{tag-oHGdclJl.js → tag-AWpjXoCW.js} +9 -1
- package/dist/assets/{tag-list.stories-Du-IoYzu.js → tag-list.stories-CiqM7sIX.js} +21 -13
- package/dist/assets/{tag.stories-C5D5IbuK.js → tag.stories-BcbkBkLR.js} +1 -1
- package/dist/assets/{tertiary-nav.stories-B1GU8Zi4.js → tertiary-nav.stories-CuP_odo_.js} +19 -3
- package/dist/assets/{text-link-B3m3KEqY.js → text-link-DWpfqc0H.js} +9 -1
- package/dist/assets/{text-link.stories-4O6qn82H.js → text-link.stories-BSQQ8Bf8.js} +1 -1
- package/dist/assets/{text-passage-xQVosjOr.js → text-passage-C-tu1uRd.js} +19 -3
- package/dist/assets/{text-passage.stories-Da1nspwG.js → text-passage.stories-qCVobGhn.js} +1 -1
- package/dist/assets/{tooltip.stories-DLKyyeKn.js → tooltip.stories-CcxLUUaE.js} +16 -8
- package/dist/assets/{utility-nav.stories-B6xBFe7z.js → utility-nav.stories-CmUYbo0J.js} +21 -5
- package/dist/design-tokens/brands/cre8-a2ui/css/tokens_brand.css +4 -4
- package/dist/design-tokens/core/scss/theming/component.css +1 -1
- package/dist/design-tokens/core/scss/theming/variables.css +7 -1
- package/dist/design-tokens/core/scss/theming/variables.scss +11 -0
- 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/iframe.html +25 -2
- package/dist/index.html +82 -26
- package/dist/index.json +1 -1
- package/dist/logo.svg +1 -0
- package/dist/manifests/components.html +766 -0
- package/dist/manifests/docs.json +37 -0
- package/dist/project.json +1 -1
- package/dist/sb-addons/storybook-5/manager-bundle.js +8 -0
- package/dist/sb-addons/vitest-4/manager-bundle.js +3 -0
- package/lib/cdn-entry.d.ts +2 -1
- package/lib/cdn-entry.d.ts.map +1 -1
- package/lib/cdn-entry.js +2 -1
- package/lib/cdn-entry.js.map +1 -1
- package/lib/components/cre8-field.js +1 -1
- package/lib/components/cre8-form-element.d.ts +27 -0
- package/lib/components/cre8-form-element.d.ts.map +1 -1
- package/lib/components/cre8-form-element.js +65 -1
- package/lib/components/cre8-form-element.js.map +1 -1
- package/lib/components/field/field.styles.d.ts.map +1 -1
- package/lib/components/field/field.styles.js +4 -2
- package/lib/components/field/field.styles.js.map +1 -1
- package/lib/components/form/form.d.ts +87 -0
- package/lib/components/form/form.d.ts.map +1 -0
- package/lib/components/form/form.js +209 -0
- package/lib/components/form/form.js.map +1 -0
- package/lib/components/form/form.styles.d.ts +14 -0
- package/lib/components/form/form.styles.d.ts.map +1 -0
- package/lib/components/form/form.styles.js +31 -0
- package/lib/components/form/form.styles.js.map +1 -0
- package/lib/{cre8-form-element-BymRdQUC.js → cre8-form-element-CCzBYtDm.js} +85 -32
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_brand.css +4 -4
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +1 -1
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -1
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js +4 -4
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/scripts/generate-mcp-manifest.js +1 -0
- package/lib/scripts/generate-mcp-manifest.js.map +1 -1
- package/lib/toBeAccessible.d.ts +6 -5
- package/lib/toBeAccessible.d.ts.map +1 -1
- package/lib/toBeAccessible.js +1 -1
- package/lib/toBeAccessible.js.map +1 -1
- package/mcp-manifest.json +44 -1
- package/package.json +16 -13
- package/react-manifest.json +40 -2
- package/dist/assets/cre8-element-B35i4Lyg.js +0 -1
- package/dist/assets/cre8-form-element-Cfc5VeYV.js +0 -1
- package/dist/assets/dropdown-item.stories-Iaw_UrEP.js +0 -26
- package/dist/assets/example-drug-card.stories-Bp5JIeE_.js +0 -10
- package/dist/assets/form-example.stories-9IDC0AgX.js +0 -49
- package/dist/assets/icon-description-BBSwDykJ.js +0 -45
- package/dist/assets/icon-description.stories-Cg6ekOme.js +0 -3
- package/dist/assets/if-defined-Bxnzk64Q.js +0 -1
- package/dist/assets/medication-card.stories-Wc-hA0-s.js +0 -165
- package/dist/assets/medication-form.stories-DfFOCDaU.js +0 -57
- package/dist/assets/request-prescription.stories-O4zqokfb.js +0 -24
- package/dist/assets/state-DkQhleoO.js +0 -1
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import{a as i}from"./iframe-BNJP6ovU.js";i`@import 'design-tokens/core/scss/theming/component';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 1)
|
|
5
|
-
*/
|
|
6
|
-
.c-icon-description {
|
|
7
|
-
display: flex;
|
|
8
|
-
gap: size(1);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.c-icon-description--sm {
|
|
12
|
-
@include cre8-typography-label-small;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.c-icon-description--light {
|
|
16
|
-
@include cre8-typography-body-default;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.c-icon-description--align-end {
|
|
20
|
-
justify-content: flex-end;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.c-icon-description--valign-center {
|
|
24
|
-
align-items: center;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.c-icon-description__header {
|
|
28
|
-
.c-icon-description--sm & {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
align-items: center;
|
|
32
|
-
min-width: 2rem;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
::slotted(cre8-icon-legacy) {
|
|
37
|
-
--cre8-icon-height: #{size(6)};
|
|
38
|
-
--cre8-icon-width: #{size(6)};
|
|
39
|
-
|
|
40
|
-
.c-icon-description--sm & {
|
|
41
|
-
--cre8-icon-height: #{size(2)};
|
|
42
|
-
--cre8-icon-width: #{size(2)};
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
`;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{b as o}from"./iframe-BNJP6ovU.js";import{s}from"./spread-CnPic3C2.js";import"./icon-description-BBSwDykJ.js";import"./preload-helper-PPVm8Dsz.js";const a={title:"Examples/Icon Description",component:"icon-description",parameters:{status:{type:"inProgress"}}},e=r=>o` <icon-description ${s(r)} verticalAlign="center" size="sm">
|
|
2
|
-
<cre8-icon-legacy name="order-status" slot="header"></cre8-icon-legacy>Enrolled in auto refill
|
|
3
|
-
</icon-description>`;e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:'args => html` <icon-description ${spread(args)} verticalAlign="center" size="sm">\n <cre8-icon-legacy name="order-status" slot="header"></cre8-icon-legacy>Enrolled in auto refill\n</icon-description>`',...e.parameters?.docs?.source}}};const l=["Default"];export{e as Default,l as __namedExportsOrder,a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as r}from"./iframe-BNJP6ovU.js";const m=o=>o??r;export{m as o};
|
|
@@ -1,165 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 1)
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
div.c-medication-card__header {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
padding: size(2);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.c-medication-card__icon {
|
|
14
|
-
--cre8-icon-height: #{size(3)};
|
|
15
|
-
--cre8-icon-width: #{size(3)};
|
|
16
|
-
--cre8-icon-fill: var(--cre8-color-content-subtle);
|
|
17
|
-
margin-right: size(2);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.c-medication-card__heading-after {
|
|
21
|
-
@include cre8-typography-body-default;
|
|
22
|
-
margin-left: auto;
|
|
23
|
-
|
|
24
|
-
::slotted(div) {
|
|
25
|
-
display: flex;
|
|
26
|
-
gap: size(1);
|
|
27
|
-
align-items: center;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.c-medication-card__footer {
|
|
31
|
-
@include cre8-typography-body-default;
|
|
32
|
-
padding: size(1) size(2);
|
|
33
|
-
border-top: var(--cre8-theme-border-width) var(--cre8-border-style-default) var(--cre8-color-border-default);
|
|
34
|
-
}
|
|
35
|
-
`;const x={title:"Examples/Medication Card",component:"medication-card",parameters:{status:{type:"inProgress"}}},e=i=>r`<medication-card ${n(i)}>
|
|
36
|
-
<cre8-heading slot="heading" headingTagName="h2" variant="title-default">atorvastatin</cre8-heading>
|
|
37
|
-
<div slot="headingAfter">
|
|
38
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="25" viewBox="0 0 16 25" fill="none">
|
|
39
|
-
<path
|
|
40
|
-
d="M13.5694 5.87747C13.2776 5.87747 13.041 6.12621 13.041 6.433V22.5427C13.041 23.4732 12.8297 23.6871 11.9077 23.6871H4.59773C3.67837 23.6871 3.46703 23.4732 3.46703 22.5427V21.1928H9.85496C10.1468 21.1928 10.3833 20.9441 10.3833 20.6373V8.99389C10.3833 8.6871 10.1468 8.43839 9.85496 8.43839H3.46438V6.43578C3.46438 6.12898 3.22783 5.88027 2.93602 5.88027C2.64421 5.88027 2.40765 6.12898 2.40765 6.43578V22.5455C2.40765 24.087 3.1051 24.8036 4.60037 24.8036H11.9103C13.4082 24.8036 14.103 24.087 14.103 22.5455V6.43578C14.1037 6.287 14.0476 6.14414 13.9473 6.0392C13.847 5.93426 13.7109 5.87601 13.5694 5.87747Z"
|
|
41
|
-
fill="#009BDF"
|
|
42
|
-
/>
|
|
43
|
-
<path
|
|
44
|
-
d="M15.4716 0H1.06053C0.768722 0 0.532166 0.248709 0.532166 0.555508V4.3274C0.532166 4.6342 0.768722 4.88291 1.06053 4.88291H15.4716C15.7634 4.88291 16 4.6342 16 4.3274V0.555508C16 0.248709 15.7634 0 15.4716 0ZM14.9433 3.7719H1.59153V1.11657H14.9433V3.7719Z"
|
|
45
|
-
fill="#009BDF"
|
|
46
|
-
/>
|
|
47
|
-
</svg>
|
|
48
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="25" viewBox="0 0 16 25" fill="none">
|
|
49
|
-
<path
|
|
50
|
-
d="M13.5694 5.87747C13.2776 5.87747 13.041 6.12621 13.041 6.433V22.5427C13.041 23.4732 12.8297 23.6871 11.9077 23.6871H4.59773C3.67837 23.6871 3.46703 23.4732 3.46703 22.5427V21.1928H9.85496C10.1468 21.1928 10.3833 20.9441 10.3833 20.6373V8.99389C10.3833 8.6871 10.1468 8.43839 9.85496 8.43839H3.46438V6.43578C3.46438 6.12898 3.22783 5.88027 2.93602 5.88027C2.64421 5.88027 2.40765 6.12898 2.40765 6.43578V22.5455C2.40765 24.087 3.1051 24.8036 4.60037 24.8036H11.9103C13.4082 24.8036 14.103 24.087 14.103 22.5455V6.43578C14.1037 6.287 14.0476 6.14414 13.9473 6.0392C13.847 5.93426 13.7109 5.87601 13.5694 5.87747Z"
|
|
51
|
-
fill="#009BDF"
|
|
52
|
-
/>
|
|
53
|
-
<path
|
|
54
|
-
d="M15.4716 0H1.06053C0.768722 0 0.532166 0.248709 0.532166 0.555508V4.3274C0.532166 4.6342 0.768722 4.88291 1.06053 4.88291H15.4716C15.7634 4.88291 16 4.6342 16 4.3274V0.555508C16 0.248709 15.7634 0 15.4716 0ZM14.9433 3.7719H1.59153V1.11657H14.9433V3.7719Z"
|
|
55
|
-
fill="#009BDF"
|
|
56
|
-
/>
|
|
57
|
-
</svg>
|
|
58
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="25" viewBox="0 0 16 25" fill="none">
|
|
59
|
-
<path
|
|
60
|
-
d="M13.5694 5.87747C13.2776 5.87747 13.041 6.12621 13.041 6.433V22.5427C13.041 23.4732 12.8297 23.6871 11.9077 23.6871H4.59773C3.67837 23.6871 3.46703 23.4732 3.46703 22.5427V21.1928H9.85496C10.1468 21.1928 10.3833 20.9441 10.3833 20.6373V8.99389C10.3833 8.6871 10.1468 8.43839 9.85496 8.43839H3.46438V6.43578C3.46438 6.12898 3.22783 5.88027 2.93602 5.88027C2.64421 5.88027 2.40765 6.12898 2.40765 6.43578V22.5455C2.40765 24.087 3.1051 24.8036 4.60037 24.8036H11.9103C13.4082 24.8036 14.103 24.087 14.103 22.5455V6.43578C14.1037 6.287 14.0476 6.14414 13.9473 6.0392C13.847 5.93426 13.7109 5.87601 13.5694 5.87747Z"
|
|
61
|
-
fill="#009BDF"
|
|
62
|
-
/>
|
|
63
|
-
<path
|
|
64
|
-
d="M15.4716 0H1.06053C0.768722 0 0.532166 0.248709 0.532166 0.555508V4.3274C0.532166 4.6342 0.768722 4.88291 1.06053 4.88291H15.4716C15.7634 4.88291 16 4.6342 16 4.3274V0.555508C16 0.248709 15.7634 0 15.4716 0ZM14.9433 3.7719H1.59153V1.11657H14.9433V3.7719Z"
|
|
65
|
-
fill="#009BDF"
|
|
66
|
-
/>
|
|
67
|
-
</svg>
|
|
68
|
-
3 refills left
|
|
69
|
-
</div>
|
|
70
|
-
<cre8-grid variant="1-3up">
|
|
71
|
-
<cre8-grid-item>
|
|
72
|
-
<cre8-text-passage> 40 mg </cre8-text-passage>
|
|
73
|
-
<cre8-text-passage> Dr Hayden Park <a href="#">Update doctor</a> </cre8-text-passage>
|
|
74
|
-
<cre8-text-passage> Rx# 8974065213 <a href="#">Prescription details</a> </cre8-text-passage>
|
|
75
|
-
</cre8-grid-item>
|
|
76
|
-
<cre8-grid-item>
|
|
77
|
-
<icon-description verticalAlign="center" size="sm"><cre8-icon-legacy name="people" slot="header"></cre8-icon-legacy>Chris</icon-description>
|
|
78
|
-
<icon-description verticalAlign="center" size="sm">
|
|
79
|
-
<cre8-icon-legacy name="pharmacy" style="--cre8-icon-height: 2rem; --cre8-icon-width: 2rem;" slot="header"></cre8-icon-legacy> Pharmacy
|
|
80
|
-
Pharmacy
|
|
81
|
-
</icon-description>
|
|
82
|
-
</cre8-grid-item>
|
|
83
|
-
<cre8-grid-item style="text-align: right">
|
|
84
|
-
<icon-description weight="light" class="cre8-u-display-block cre8-u-margin-bottom-sm" align="end" verticalAlign="center" size="sm">
|
|
85
|
-
<cre8-icon-legacy name="order-status" slot="header"></cre8-icon-legacy>Enrolled in auto refill
|
|
86
|
-
</icon-description>
|
|
87
|
-
<cre8-button
|
|
88
|
-
class="cre8-u-display-block cre8-u-margin-bottom-sm"
|
|
89
|
-
text="Manage Auto Refill"
|
|
90
|
-
iconPosition="after"
|
|
91
|
-
iconName="keyboard-arrow-down"
|
|
92
|
-
></cre8-button>
|
|
93
|
-
<cre8-text-link>Archive Medication</cre8-text-link>
|
|
94
|
-
</cre8-grid-item>
|
|
95
|
-
</cre8-grid>
|
|
96
|
-
<div slot="footer" style="display: flex; align-items: center; gap: 1rem">
|
|
97
|
-
<cre8-text-passage><strong>Next order:</strong> Processing Estimated delivery by: Aug 16,2022</cre8-text-passage>
|
|
98
|
-
<cre8-button text="Order details" variant="link" size="sm" iconPosition="after" iconName="keyboard-arrow-down"></cre8-button>
|
|
99
|
-
</div>
|
|
100
|
-
</medication-card>`;e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`args => html\`<medication-card \${spread(args)}>
|
|
101
|
-
<cre8-heading slot="heading" headingTagName="h2" variant="title-default">atorvastatin</cre8-heading>
|
|
102
|
-
<div slot="headingAfter">
|
|
103
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="25" viewBox="0 0 16 25" fill="none">
|
|
104
|
-
<path
|
|
105
|
-
d="M13.5694 5.87747C13.2776 5.87747 13.041 6.12621 13.041 6.433V22.5427C13.041 23.4732 12.8297 23.6871 11.9077 23.6871H4.59773C3.67837 23.6871 3.46703 23.4732 3.46703 22.5427V21.1928H9.85496C10.1468 21.1928 10.3833 20.9441 10.3833 20.6373V8.99389C10.3833 8.6871 10.1468 8.43839 9.85496 8.43839H3.46438V6.43578C3.46438 6.12898 3.22783 5.88027 2.93602 5.88027C2.64421 5.88027 2.40765 6.12898 2.40765 6.43578V22.5455C2.40765 24.087 3.1051 24.8036 4.60037 24.8036H11.9103C13.4082 24.8036 14.103 24.087 14.103 22.5455V6.43578C14.1037 6.287 14.0476 6.14414 13.9473 6.0392C13.847 5.93426 13.7109 5.87601 13.5694 5.87747Z"
|
|
106
|
-
fill="#009BDF"
|
|
107
|
-
/>
|
|
108
|
-
<path
|
|
109
|
-
d="M15.4716 0H1.06053C0.768722 0 0.532166 0.248709 0.532166 0.555508V4.3274C0.532166 4.6342 0.768722 4.88291 1.06053 4.88291H15.4716C15.7634 4.88291 16 4.6342 16 4.3274V0.555508C16 0.248709 15.7634 0 15.4716 0ZM14.9433 3.7719H1.59153V1.11657H14.9433V3.7719Z"
|
|
110
|
-
fill="#009BDF"
|
|
111
|
-
/>
|
|
112
|
-
</svg>
|
|
113
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="25" viewBox="0 0 16 25" fill="none">
|
|
114
|
-
<path
|
|
115
|
-
d="M13.5694 5.87747C13.2776 5.87747 13.041 6.12621 13.041 6.433V22.5427C13.041 23.4732 12.8297 23.6871 11.9077 23.6871H4.59773C3.67837 23.6871 3.46703 23.4732 3.46703 22.5427V21.1928H9.85496C10.1468 21.1928 10.3833 20.9441 10.3833 20.6373V8.99389C10.3833 8.6871 10.1468 8.43839 9.85496 8.43839H3.46438V6.43578C3.46438 6.12898 3.22783 5.88027 2.93602 5.88027C2.64421 5.88027 2.40765 6.12898 2.40765 6.43578V22.5455C2.40765 24.087 3.1051 24.8036 4.60037 24.8036H11.9103C13.4082 24.8036 14.103 24.087 14.103 22.5455V6.43578C14.1037 6.287 14.0476 6.14414 13.9473 6.0392C13.847 5.93426 13.7109 5.87601 13.5694 5.87747Z"
|
|
116
|
-
fill="#009BDF"
|
|
117
|
-
/>
|
|
118
|
-
<path
|
|
119
|
-
d="M15.4716 0H1.06053C0.768722 0 0.532166 0.248709 0.532166 0.555508V4.3274C0.532166 4.6342 0.768722 4.88291 1.06053 4.88291H15.4716C15.7634 4.88291 16 4.6342 16 4.3274V0.555508C16 0.248709 15.7634 0 15.4716 0ZM14.9433 3.7719H1.59153V1.11657H14.9433V3.7719Z"
|
|
120
|
-
fill="#009BDF"
|
|
121
|
-
/>
|
|
122
|
-
</svg>
|
|
123
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="25" viewBox="0 0 16 25" fill="none">
|
|
124
|
-
<path
|
|
125
|
-
d="M13.5694 5.87747C13.2776 5.87747 13.041 6.12621 13.041 6.433V22.5427C13.041 23.4732 12.8297 23.6871 11.9077 23.6871H4.59773C3.67837 23.6871 3.46703 23.4732 3.46703 22.5427V21.1928H9.85496C10.1468 21.1928 10.3833 20.9441 10.3833 20.6373V8.99389C10.3833 8.6871 10.1468 8.43839 9.85496 8.43839H3.46438V6.43578C3.46438 6.12898 3.22783 5.88027 2.93602 5.88027C2.64421 5.88027 2.40765 6.12898 2.40765 6.43578V22.5455C2.40765 24.087 3.1051 24.8036 4.60037 24.8036H11.9103C13.4082 24.8036 14.103 24.087 14.103 22.5455V6.43578C14.1037 6.287 14.0476 6.14414 13.9473 6.0392C13.847 5.93426 13.7109 5.87601 13.5694 5.87747Z"
|
|
126
|
-
fill="#009BDF"
|
|
127
|
-
/>
|
|
128
|
-
<path
|
|
129
|
-
d="M15.4716 0H1.06053C0.768722 0 0.532166 0.248709 0.532166 0.555508V4.3274C0.532166 4.6342 0.768722 4.88291 1.06053 4.88291H15.4716C15.7634 4.88291 16 4.6342 16 4.3274V0.555508C16 0.248709 15.7634 0 15.4716 0ZM14.9433 3.7719H1.59153V1.11657H14.9433V3.7719Z"
|
|
130
|
-
fill="#009BDF"
|
|
131
|
-
/>
|
|
132
|
-
</svg>
|
|
133
|
-
3 refills left
|
|
134
|
-
</div>
|
|
135
|
-
<cre8-grid variant="1-3up">
|
|
136
|
-
<cre8-grid-item>
|
|
137
|
-
<cre8-text-passage> 40 mg </cre8-text-passage>
|
|
138
|
-
<cre8-text-passage> Dr Hayden Park <a href="#">Update doctor</a> </cre8-text-passage>
|
|
139
|
-
<cre8-text-passage> Rx# 8974065213 <a href="#">Prescription details</a> </cre8-text-passage>
|
|
140
|
-
</cre8-grid-item>
|
|
141
|
-
<cre8-grid-item>
|
|
142
|
-
<icon-description verticalAlign="center" size="sm"><cre8-icon-legacy name="people" slot="header"></cre8-icon-legacy>Chris</icon-description>
|
|
143
|
-
<icon-description verticalAlign="center" size="sm">
|
|
144
|
-
<cre8-icon-legacy name="pharmacy" style="--cre8-icon-height: 2rem; --cre8-icon-width: 2rem;" slot="header"></cre8-icon-legacy> Pharmacy
|
|
145
|
-
Pharmacy
|
|
146
|
-
</icon-description>
|
|
147
|
-
</cre8-grid-item>
|
|
148
|
-
<cre8-grid-item style="text-align: right">
|
|
149
|
-
<icon-description weight="light" class="cre8-u-display-block cre8-u-margin-bottom-sm" align="end" verticalAlign="center" size="sm">
|
|
150
|
-
<cre8-icon-legacy name="order-status" slot="header"></cre8-icon-legacy>Enrolled in auto refill
|
|
151
|
-
</icon-description>
|
|
152
|
-
<cre8-button
|
|
153
|
-
class="cre8-u-display-block cre8-u-margin-bottom-sm"
|
|
154
|
-
text="Manage Auto Refill"
|
|
155
|
-
iconPosition="after"
|
|
156
|
-
iconName="keyboard-arrow-down"
|
|
157
|
-
></cre8-button>
|
|
158
|
-
<cre8-text-link>Archive Medication</cre8-text-link>
|
|
159
|
-
</cre8-grid-item>
|
|
160
|
-
</cre8-grid>
|
|
161
|
-
<div slot="footer" style="display: flex; align-items: center; gap: 1rem">
|
|
162
|
-
<cre8-text-passage><strong>Next order:</strong> Processing Estimated delivery by: Aug 16,2022</cre8-text-passage>
|
|
163
|
-
<cre8-button text="Order details" variant="link" size="sm" iconPosition="after" iconName="keyboard-arrow-down"></cre8-button>
|
|
164
|
-
</div>
|
|
165
|
-
</medication-card>\``,...e.parameters?.docs?.source}}};const u=["Default"];export{e as Default,u as __namedExportsOrder,x as default};
|
|
@@ -1,57 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 1)
|
|
5
|
-
*/
|
|
6
|
-
.c-medication-form {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-wrap: wrap;
|
|
9
|
-
margin: size(-1.5);
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
|
|
12
|
-
@media all and (min-width: component.$cre8-breakpoint-md) {
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
width: 100%;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Slotted grid item within 1-2-4up Grid
|
|
20
|
-
*/
|
|
21
|
-
::slotted(*) {
|
|
22
|
-
width: 100%;
|
|
23
|
-
padding: size(1.5);
|
|
24
|
-
|
|
25
|
-
@media all and (min-width: component.$cre8-breakpoint-md) {
|
|
26
|
-
width: 50%;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@media all and (min-width: component.$cre8-breakpoint-xl) {
|
|
30
|
-
flex: 1;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
::slotted(:first-child) {
|
|
35
|
-
@media all and (min-width: component.$cre8-breakpoint-lg) {
|
|
36
|
-
flex: auto;
|
|
37
|
-
width: 20%;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
::slotted(:last-child) {
|
|
42
|
-
@media all and (min-width: component.$cre8-breakpoint-md) {
|
|
43
|
-
position: relative;
|
|
44
|
-
top: size(6.25);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
`;const y={title:"Examples/Medication Form",component:"medication-form",parameters:{status:{type:"inProgress"}}},e=r=>t`<medication-form ${o(r)}>
|
|
48
|
-
<cre8-field label="Enter medication name of Rx number" placeholder="ex. Lipitor or Rx number"></cre8-field>
|
|
49
|
-
<cre8-field label="Filter by member" placeholder="All"></cre8-field>
|
|
50
|
-
<cre8-field label="Filter by pharmacy type" placeholder="All"></cre8-field>
|
|
51
|
-
<cre8-button text="Clear All" variant="bare" ?disabled=${!0}></cre8-button>
|
|
52
|
-
</medication-form>`;e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`args => html\`<medication-form \${spread(args)}>
|
|
53
|
-
<cre8-field label="Enter medication name of Rx number" placeholder="ex. Lipitor or Rx number"></cre8-field>
|
|
54
|
-
<cre8-field label="Filter by member" placeholder="All"></cre8-field>
|
|
55
|
-
<cre8-field label="Filter by pharmacy type" placeholder="All"></cre8-field>
|
|
56
|
-
<cre8-button text="Clear All" variant="bare" ?disabled=\${true}></cre8-button>
|
|
57
|
-
</medication-form>\``,...e.parameters?.docs?.source}}};const $=["Default"];export{e as Default,$ as __namedExportsOrder,y as default};
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 1)
|
|
5
|
-
*/
|
|
6
|
-
.c-request-prescription {
|
|
7
|
-
@include cre8-typography-body-large();
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: center;
|
|
11
|
-
padding: size(5);
|
|
12
|
-
border: var(--cre8-theme-border-width) dashed var(--cre8-color-border-default);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.c-request-prescription__footer {
|
|
16
|
-
margin-top: size(2);
|
|
17
|
-
}
|
|
18
|
-
`;const x={title:"Examples/Request Prescription",component:"request-prescription",parameters:{status:{type:"inProgress"}}},e=o=>t` <request-prescription>
|
|
19
|
-
<cre8-text-passage>Have a new prescription or want to transfer one from another pharmacy?</cre8-text-passage>
|
|
20
|
-
<cre8-button slot="footer" text="Request an Rx" iconPosition="before" iconName="add" variant="primary"></cre8-button>
|
|
21
|
-
</request-prescription>`;e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`args => html\` <request-prescription>
|
|
22
|
-
<cre8-text-passage>Have a new prescription or want to transfer one from another pharmacy?</cre8-text-passage>
|
|
23
|
-
<cre8-button slot="footer" text="Request an Rx" iconPosition="before" iconName="add" variant="primary"></cre8-button>
|
|
24
|
-
</request-prescription>\``,...e.parameters?.docs?.source}}};const b=["Default"];export{e as Default,b as __namedExportsOrder,x as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as r}from"./cre8-element-B35i4Lyg.js";function n(t){return r({...t,state:!0,attribute:!1})}export{n as r};
|