@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,4 +1,4 @@
|
|
|
1
|
-
import{b as r}from"./iframe-
|
|
1
|
+
import{b as r}from"./iframe-CTa_pRc7.js";import"./f-po-CGwWqyus.js";import{s as T}from"./spread-B518TqwY.js";import"./grid-item-WCDk_zGh.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-DWVEXvB4.js";import"./cre8-element-q82VmUgi.js";import"./_commonjsHelpers-DaWZu8wl.js";const O={title:"Cre8 Components/Grid",component:"cre8-grid",parameters:{status:{type:"inProgress"}}},e=l=>r`<cre8-grid ${T(l)}>
|
|
2
2
|
<cre8-grid-item>
|
|
3
3
|
<f-po>Grid Item 1</f-po>
|
|
4
4
|
</cre8-grid-item>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p,b as a}from"./iframe-
|
|
1
|
+
import{a as p,b as a}from"./iframe-CTa_pRc7.js";import"./f-po-CGwWqyus.js";import{s as l}from"./spread-B518TqwY.js";import{r as c}from"./state-C6YC-MeJ.js";import{C as g}from"./cre8-element-q82VmUgi.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-DWVEXvB4.js";import"./_commonjsHelpers-DaWZu8wl.js";const h=p`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,6 +372,10 @@ 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 */
|
|
375
379
|
}
|
|
376
380
|
|
|
377
381
|
/**
|
|
@@ -544,6 +548,10 @@ span.ripple {
|
|
|
544
548
|
}
|
|
545
549
|
:root {
|
|
546
550
|
--size-base-unit: 0.5rem;
|
|
551
|
+
--cre8-l-max-width: 82.5rem;
|
|
552
|
+
/* 1 */
|
|
553
|
+
--cre8-l-linelength-width: 42rem;
|
|
554
|
+
/* 1 */
|
|
547
555
|
}
|
|
548
556
|
|
|
549
557
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h,b as t}from"./iframe-
|
|
1
|
+
import{a as h,b as t}from"./iframe-CTa_pRc7.js";import{C as m,n as l}from"./cre8-element-q82VmUgi.js";const s=h`@charset "UTF-8";
|
|
2
2
|
.cre8-u-content-knockout-brand {
|
|
3
3
|
color: var(----cre8-color-content-knockout-brand);
|
|
4
4
|
}
|
|
@@ -373,6 +373,10 @@ 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 */
|
|
376
380
|
}
|
|
377
381
|
|
|
378
382
|
/**
|
|
@@ -545,6 +549,10 @@ span.ripple {
|
|
|
545
549
|
}
|
|
546
550
|
:root {
|
|
547
551
|
--size-base-unit: 0.5rem;
|
|
552
|
+
--cre8-l-max-width: 82.5rem;
|
|
553
|
+
/* 1 */
|
|
554
|
+
--cre8-l-linelength-width: 42rem;
|
|
555
|
+
/* 1 */
|
|
548
556
|
}
|
|
549
557
|
|
|
550
558
|
/**
|
|
@@ -901,4 +909,4 @@ span.ripple {
|
|
|
901
909
|
|
|
902
910
|
.cre8-c-heading--inverted {
|
|
903
911
|
color: var(--cre8-color-content-knockout);
|
|
904
|
-
}`;var c=Object.defineProperty,o=(d,i,e,y)=>{for(var r=void 0,n=d.length-1,g;n>=0;n--)(g=d[n])&&(r=g(i,e,r)||r);return r&&c(i,e,r),r};const p=class p extends m{constructor(){super(...arguments),this.tagVariant="h5"}render(){const i=this.type?{}:{"cre8-c-heading--headline-large":this.tagVariant==="h1","cre8-c-heading--headline-default":this.tagVariant==="h2","cre8-c-heading--headline-small":this.tagVariant==="h3","cre8-c-heading--title-large":this.tagVariant==="h4","cre8-c-heading--title-default":this.tagVariant==="h5","cre8-c-heading--title-small":this.tagVariant==="h6"},e=this.componentClassNames("cre8-c-heading",{
|
|
912
|
+
}`;var c=Object.defineProperty,o=(d,i,e,y)=>{for(var r=void 0,n=d.length-1,g;n>=0;n--)(g=d[n])&&(r=g(i,e,r)||r);return r&&c(i,e,r),r};const p=class p extends m{constructor(){super(...arguments),this.tagVariant="h5"}render(){const i=this.type?{}:{"cre8-c-heading--headline-large":this.tagVariant==="h1","cre8-c-heading--headline-default":this.tagVariant==="h2","cre8-c-heading--headline-small":this.tagVariant==="h3","cre8-c-heading--title-large":this.tagVariant==="h4","cre8-c-heading--title-default":this.tagVariant==="h5","cre8-c-heading--title-small":this.tagVariant==="h6"},e=this.componentClassNames("cre8-c-heading",{"cre8-c-heading--headline-large":this.type==="headline-large","cre8-c-heading--headline-default":this.type==="headline-default","cre8-c-heading--headline-small":this.type==="headline-small","cre8-c-heading--title-large":this.type==="title-large","cre8-c-heading--title-default":this.type==="title-default","cre8-c-heading--title-small":this.type==="title-small","cre8-c-heading--title-xlarge":this.type==="title-xlarge","cre8-c-heading--display-default":this.type==="display-default","cre8-c-heading--display-small":this.type==="display-small","cre8-c-heading--label-large":this.type==="label-large","cre8-c-heading--label-default":this.type==="label-default","cre8-c-heading--label-small":this.type==="label-small","cre8-c-heading--meta-large":this.type==="meta-large","cre8-c-heading--meta-default":this.type==="meta-default","cre8-c-heading--meta-small":this.type==="meta-small",...i,"cre8-c-heading--brand-color":this.brandColor,"cre8-c-heading--inverted":this.inverted});switch(this.tagVariant){case"h1":return t` <h1 part="tag" class="${e}"><slot></slot></h1> `;case"h2":return t` <h2 part="tag" class="${e}"><slot></slot></h2> `;case"h3":return t` <h3 part="tag" class="${e}"><slot></slot></h3> `;case"h4":return t` <h4 part="tag" class="${e}"><slot></slot></h4> `;case"h5":return t` <h5 part="tag" class="${e}"><slot></slot></h5> `;case"h6":return t` <h6 part="tag" class="${e}"><slot></slot></h6> `;default:return t` <h4 part="tag" class="${e}"><slot></slot></h4> `}}};p.styles=[s];let a=p;o([l()],a.prototype,"type");o([l()],a.prototype,"tagVariant");o([l({type:Boolean,reflect:!0})],a.prototype,"inverted");o([l({type:Boolean,reflect:!0})],a.prototype,"brandColor");customElements.get("cre8-heading")===void 0&&customElements.define("cre8-heading",a);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as $}from"./iframe-
|
|
1
|
+
import{b as $}from"./iframe-CTa_pRc7.js";import{s as C}from"./spread-B518TqwY.js";import"./heading-Cux7lJt-.js";import"./preload-helper-PPVm8Dsz.js";import"./cre8-element-q82VmUgi.js";import"./_commonjsHelpers-DaWZu8wl.js";const w={title:"cre8 Components/Heading",component:"cre8-heading",parameters:{status:{type:"inProgress"}},render:e=>$`<cre8-heading ${C(e)}>Heading</cre8-heading>`,argTypes:{type:{options:["display-default","display-small","headline-large","headline-default","headline-small","title-xlarge","title-large","title-default","title-small","label-large","label-default","label-small","meta-large","meta-default","meta-small"],control:{type:"radio"}},tagVariant:{options:["h1","h2","h3","h4","h5","h6"],control:{type:"radio"}},brandColor:{control:{type:"boolean"}},inverted:{control:{type:"boolean"}}}},a={},r={args:{type:"display-default"}},s={args:{type:"display-small"}},t={args:{type:"headline-large"}},o={args:{type:"headline-default"}},n={args:{type:"headline-small"}},l={args:{type:"title-xlarge"}},c={args:{type:"title-large"}},d={args:{type:"title-default"}},p={args:{type:"title-small"}},i={args:{type:"label-large"}},m={args:{type:"label-default"}},g={args:{type:"label-small"}},u={args:{type:"meta-large"}},h={args:{type:"meta-default"}},y={args:{type:"meta-small"}},S={args:{tagVariant:"h1"}},f={args:{tagVariant:"h2"}},b={args:{tagVariant:"h3"}},v={args:{tagVariant:"h4"}},D={args:{tagVariant:"h5"}},L={args:{tagVariant:"h6"}},V={args:{brandColor:!0}},k={render:e=>$`<div style="padding: 20px; background: #000;">
|
|
2
2
|
<cre8-heading ${C(e)} ?inverted=${!0}>Heading style for dark backgrounds</cre8-heading>
|
|
3
3
|
</div>`},H={render:e=>$`<div style="padding: 20px; background: #000;">
|
|
4
4
|
<cre8-heading ${C(e)} ?brandColor=${!0} ?inverted=${!0}>Heading with brand color for dark backgrounds</cre8-heading>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as v,b as t}from"./iframe-
|
|
1
|
+
import{a as v,b as t}from"./iframe-CTa_pRc7.js";import"./heading-Cux7lJt-.js";import"./text-passage-C-tu1uRd.js";import{C as w,n as p}from"./cre8-element-q82VmUgi.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";const z=v`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,6 +372,10 @@ 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 */
|
|
375
379
|
}
|
|
376
380
|
|
|
377
381
|
/**
|
|
@@ -544,6 +548,10 @@ span.ripple {
|
|
|
544
548
|
}
|
|
545
549
|
:root {
|
|
546
550
|
--size-base-unit: 0.5rem;
|
|
551
|
+
--cre8-l-max-width: 82.5rem;
|
|
552
|
+
/* 1 */
|
|
553
|
+
--cre8-l-linelength-width: 42rem;
|
|
554
|
+
/* 1 */
|
|
547
555
|
}
|
|
548
556
|
|
|
549
557
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as u,b as i,o as f}from"./iframe-
|
|
1
|
+
import{a as u,b as i,o as f}from"./iframe-CTa_pRc7.js";import{o as p}from"./if-defined-DWVEXvB4.js";import{C as b,n as t}from"./cre8-element-q82VmUgi.js";const x=u`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,6 +372,10 @@ 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 */
|
|
375
379
|
}
|
|
376
380
|
|
|
377
381
|
/**
|
|
@@ -544,6 +548,10 @@ span.ripple {
|
|
|
544
548
|
}
|
|
545
549
|
:root {
|
|
546
550
|
--size-base-unit: 0.5rem;
|
|
551
|
+
--cre8-l-max-width: 82.5rem;
|
|
552
|
+
/* 1 */
|
|
553
|
+
--cre8-l-linelength-width: 42rem;
|
|
554
|
+
/* 1 */
|
|
547
555
|
}
|
|
548
556
|
|
|
549
557
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as o}from"./iframe-
|
|
1
|
+
import{b as o}from"./iframe-CTa_pRc7.js";import{s as n}from"./spread-B518TqwY.js";import"./icon-ByzQuB0Z.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-DWVEXvB4.js";import"./cre8-element-q82VmUgi.js";import"./_commonjsHelpers-DaWZu8wl.js";const t=`<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M8 0C6.41775 0 4.87103 0.469192 3.55544 1.34824C2.23985 2.22729 1.21447 3.47672 0.608967 4.93853C0.00346628 6.40034 -0.15496 8.00887 0.153721 9.56072C0.462403 11.1126 1.22433 12.538 2.34315 13.6569C3.46197 14.7757 4.88743 15.5376 6.43928 15.8463C7.99113 16.155 9.59966 15.9965 11.0615 15.391C12.5233 14.7855 13.7727 13.7602 14.6518 12.4446C15.5308 11.129 16 9.58225 16 8C15.9978 5.87895 15.1542 3.84542 13.6544 2.34562C12.1546 0.845814 10.121 0.00223986 8 0ZM7.69231 3.69231C7.87488 3.69231 8.05334 3.74644 8.20514 3.84787C8.35694 3.9493 8.47526 4.09347 8.54512 4.26214C8.61499 4.43081 8.63327 4.61641 8.59765 4.79547C8.56203 4.97453 8.47412 5.139 8.34502 5.2681C8.21593 5.39719 8.05145 5.48511 7.87239 5.52072C7.69333 5.55634 7.50773 5.53806 7.33906 5.46819C7.17039 5.39833 7.02623 5.28002 6.9248 5.12822C6.82337 4.97642 6.76923 4.79795 6.76923 4.61538C6.76923 4.37057 6.86649 4.13578 7.0396 3.96267C7.21271 3.78956 7.44749 3.69231 7.69231 3.69231ZM8.61539 12.3077C8.28897 12.3077 7.97591 12.178 7.7451 11.9472C7.51429 11.7164 7.38462 11.4033 7.38462 11.0769V8C7.22141 8 7.06488 7.93516 6.94947 7.81976C6.83407 7.70435 6.76923 7.54782 6.76923 7.38461C6.76923 7.2214 6.83407 7.06488 6.94947 6.94947C7.06488 6.83406 7.22141 6.76923 7.38462 6.76923C7.71104 6.76923 8.02409 6.8989 8.2549 7.12971C8.48572 7.36053 8.61539 7.67358 8.61539 8V11.0769C8.7786 11.0769 8.93512 11.1418 9.05053 11.2572C9.16594 11.3726 9.23077 11.5291 9.23077 11.6923C9.23077 11.8555 9.16594 12.012 9.05053 12.1274C8.93512 12.2429 8.7786 12.3077 8.61539 12.3077Z"/>
|
|
3
3
|
</svg>
|
|
4
4
|
`,l={title:"cre8 Components/Icon/Icon",component:"cre8-icon-legacy",parameters:{status:{type:"inProgress"}},args:{name:"add"}},r=e=>o`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as r}from"./iframe-CTa_pRc7.js";const m=o=>o??r;export{m as o};
|