@tmorrow/cre8-wc 2.0.5 → 2.0.7
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.json +3 -3
- package/cdn/cre8-wc.esm.js +744 -2
- package/cdn/cre8-wc.esm.js.map +1 -1
- package/cdn/cre8-wc.min.js +738 -2
- package/cdn/cre8-wc.min.js.map +1 -1
- package/dist/assets/Changelog-Documentation-BguNswiM.js +3 -0
- package/dist/assets/Code-Guidelines-BM3dZyzL.js +3 -0
- package/dist/assets/Color-6AOWCN3U-C4AEGNk3.js +1 -0
- package/dist/assets/Contributing-Guidelines-DZURVehh.js +3 -0
- package/dist/assets/DocsRenderer-JROSPFPF-DeZmCI9u.js +9 -0
- package/dist/assets/{Tokens-Documentation-BTECbmvD.js → Tokens-Documentation-ZecGbtQg.js} +2 -2
- package/dist/assets/WithTooltip-7X4HQR7L-2Hfrkir-.js +9 -0
- package/dist/assets/{accordion-item.stories-BlkiLvzN.js → accordion-item.stories-D-MjrX5G.js} +15 -4
- package/dist/assets/{accordion.stories-BoGuSGR9.js → accordion.stories-icgNa1dl.js} +14 -6
- package/dist/assets/{alert.stories-C1OPoi5g.js → alert.stories-BzDaXtj-.js} +65 -34
- package/dist/assets/{badge-BPOQ_yGY.js → badge-C5wOWgyg.js} +11 -3
- package/dist/assets/{badge.stories-Ds_PNI0F.js → badge.stories-5GfB4jVI.js} +3 -3
- package/dist/assets/{band.stories-Bpfe4d4r.js → band.stories-DhXaP_kL.js} +10 -2
- package/dist/assets/blocks-DhUVut8Z.js +747 -0
- package/dist/assets/{breadcrumbs.stories-CsjTwIH7.js → breadcrumbs.stories-CrPUBVk1.js} +26 -7
- package/dist/assets/button-CJL8yzAT.js +1503 -0
- package/dist/assets/{button-group-B9g_-lYt.js → button-group-BgwgtSFC.js} +23 -3
- package/dist/assets/{button-group.stories-T9-IozlI.js → button-group.stories-W-07gO63.js} +2 -2
- package/dist/assets/{button.stories-DzIYNMgW.js → button.stories-BPzJ-sCv.js} +23 -20
- package/dist/assets/{card.stories-BiF0PkzJ.js → card.stories-mlFGY2Xn.js} +20 -4
- package/dist/assets/{chart.stories-D2iRuVl9.js → chart.stories-C8yuHHeK.js} +1 -1
- package/dist/assets/{checkbox-field-item-BVUOuGTx.js → checkbox-field-item-iHcdmTNw.js} +16 -5
- package/dist/assets/checkbox-field-item.stories-D1aVLDXn.js +54 -0
- package/dist/assets/{checkbox-field.stories-DXiB_L3d.js → checkbox-field.stories-BoVB2jCx.js} +12 -4
- package/dist/assets/chunk-EUVGDK4H-rHCQfRxh.js +1 -0
- package/dist/assets/{cre8-element-gkCuLp-W.js → cre8-element-DfmMtHJO.js} +1 -1
- package/dist/assets/{cre8-form-element-DsXhvnkn.js → cre8-form-element-bQpK8UYN.js} +1 -1
- package/dist/assets/{danger-button.stories-lawCg7hs.js → danger-button.stories-Cb4ljnhQ.js} +31 -17
- package/dist/assets/{date-picker.stories-_Fdnd7NY.js → date-picker.stories-Cje3qk8D.js} +1050 -48
- package/dist/assets/decorator-iVSD-Llo.js +1 -0
- package/dist/assets/{divider-CHWbAsrs.js → divider-B_PXBGWD.js} +10 -2
- package/dist/assets/{divider.stories-D4Yc8m3t.js → divider.stories-CtfeBqVV.js} +2 -2
- package/dist/assets/{dropdown-DZE-lVYN.js → dropdown-Cgwne34I.js} +27 -8
- package/dist/assets/dropdown-item.stories-pXkDLRuv.js +26 -0
- package/dist/assets/{dropdown.stories-CnT5F5fB.js → dropdown.stories-DZnmHieY.js} +2 -2
- package/dist/assets/{example-drug-card.stories-BAMNAi8y.js → example-drug-card.stories-DTzLXTFx.js} +2 -2
- package/dist/assets/{f-po-CZL6lsXP.js → f-po-C2WpbOFJ.js} +2 -2
- package/dist/assets/{feature.stories-D3m47wf9.js → feature.stories-DffXdJch.js} +14 -6
- package/dist/assets/{field-Ce_Kp3W1.js → field-DzYRqQb2.js} +10 -1
- package/dist/assets/{field-note-txmyzeNl.js → field-note-DKXZiXLU.js} +19 -5
- package/dist/assets/field-note.stories-DS_0bQul.js +27 -0
- package/dist/assets/{field.stories-BEt-6RAF.js → field.stories-BvXn0oG6.js} +6 -6
- package/dist/assets/{footer.stories-Dzn7N8hL.js → footer.stories-C3ZibisU.js} +11 -3
- package/dist/assets/{form-example.stories-BeAfCsBJ.js → form-example.stories-C-TuOeF2.js} +4 -4
- package/dist/assets/formatter-L2YTDE3Q-CJVnxOUW.js +1 -0
- package/dist/assets/{global-nav-item-C_P64qZX.js → global-nav-item-xQL7wVjY.js} +14 -6
- package/dist/assets/global-nav-item.stories-Dp9TE3aR.js +1 -0
- package/dist/assets/{global-nav.stories-BCBaOucz.js → global-nav.stories-B5Nk8JZ0.js} +11 -3
- package/dist/assets/{grid-DItOBpBm.js → grid-DYgnZBsd.js} +19 -3
- package/dist/assets/{grid.stories-DwGB81iK.js → grid.stories-BFiXTq2C.js} +2 -2
- package/dist/assets/{header.stories--yZLIN_d.js → header.stories-D1f7xhjV.js} +11 -3
- package/dist/assets/{heading-BgO3jH9M.js → heading-485Jz7JZ.js} +10 -2
- package/dist/assets/{heading.stories-CQ4muIzf.js → heading.stories-gPF_SmTc.js} +2 -2
- package/dist/assets/{hero.stories-VyLQwa--.js → hero.stories-BHlFNdvF.js} +24 -3
- package/dist/assets/{icon-DYiIK7a4.js → icon-DeTLDzTS.js} +190 -176
- package/dist/assets/{icon-description-P810XJAK.js → icon-description-o-YaiEjK.js} +1 -1
- package/dist/assets/icon-description.stories-BdPRvEwe.js +3 -0
- package/dist/assets/icon.stories-BxWpqxT5.js +14 -0
- package/dist/assets/if-defined-HKKhGupN.js +1 -0
- package/dist/assets/iframe-CWwoGI65.css +1 -0
- package/dist/assets/iframe-dHvya7sk.js +5737 -0
- package/dist/assets/{inline-alert.stories-Ju8Sktdo.js → inline-alert.stories-FH0bQ0jh.js} +36 -16
- package/dist/assets/{layout-container.stories-6lsQLqZx.js → layout-container.stories-D6Z6Kx78.js} +11 -3
- package/dist/assets/{layout.stories-C3b4Xkca.js → layout.stories-CNYuwC_r.js} +23 -7
- package/dist/assets/{linelength-container.stories-CHBg8Th9.js → linelength-container.stories-pCRXZvxS.js} +11 -3
- package/dist/assets/{link-B_CPLQjt.js → link-BpCiLxNW.js} +15 -7
- package/dist/assets/{link-list.stories-Cp5Lb5OS.js → link-list.stories-12vsAa1P.js} +24 -8
- package/dist/assets/link.stories-DAoQtY4_.js +100 -0
- package/dist/assets/{list.stories-BBfDQunh.js → list.stories-D0N3yBIf.js} +23 -7
- package/dist/assets/{loading-spinner-Ced-hKjz.js → loading-spinner-g6iJajXH.js} +12 -4
- package/dist/assets/{loading-spinner.stories-p_zh8eXu.js → loading-spinner.stories-B6_mgPxB.js} +1 -1
- package/dist/assets/{logo.stories-CDQUWgS1.js → logo.stories-BvMwN2qg.js} +10 -2
- package/dist/assets/{main.stories-Blat-0eW.js → main.stories-pL4zefbs.js} +10 -2
- package/dist/assets/matchers-JIUQ3HVY-HJu_DfWo.js +14 -0
- package/dist/assets/{medication-card.stories-CO-0X-KQ.js → medication-card.stories-DK1XGJic.js} +3 -3
- package/dist/assets/{medication-form.stories-C_exfVaQ.js → medication-form.stories-Bj5dLp5S.js} +3 -3
- package/dist/assets/{modal-ne1a4Rdj.js → modal-BNu8xy08.js} +2 -2
- package/dist/assets/{modal-Oja4WhiR.js → modal-CO0M4e_8.js} +32 -6
- package/dist/assets/{modal.stories-BxO2ifui.js → modal.stories-CHYBrq_E.js} +1 -1
- package/dist/assets/{multi-select.stories-DUMN4A9Y.js → multi-select.stories-C9XXsWio.js} +22 -15
- package/dist/assets/{nav-container.stories-D6ByjniX.js → nav-container.stories-DU9fhvDu.js} +11 -3
- package/dist/assets/{page-header.stories-Dq8ASgx8.js → page-header.stories-BrstKiEY.js} +14 -6
- package/dist/assets/{pagination.stories-DSfWODQ2.js → pagination.stories-Bw2M2iOn.js} +51 -37
- package/dist/assets/{percent-bar.stories-BmE9NprW.js → percent-bar.stories-UQRXYUqd.js} +17 -5
- package/dist/assets/{popover.stories-CPg1Hoan.js → popover.stories-ZkwrRFpR.js} +14 -6
- package/dist/assets/{primary-nav.stories-DVO9CYF0.js → primary-nav.stories-wqOKwgQn.js} +19 -3
- package/dist/assets/{progress-meter-DRI7Arug.js → progress-meter-TzASasu0.js} +9 -1
- package/dist/assets/{progress-meter.stories-CAJFb7Bk.js → progress-meter.stories-qfJALZf8.js} +2 -2
- package/dist/assets/{progress-steps-item-Veau6WlI.js → progress-steps-item-KvW1d_7L.js} +9 -1
- package/dist/assets/progress-steps-item.stories-uOn6tJ1W.js +65 -0
- package/dist/assets/{progress-steps.stories-Bh6m7ZkV.js → progress-steps.stories-CKFPx8D0.js} +31 -14
- package/dist/assets/{radio-field-item-CLITSt3i.js → radio-field-item-CTaR50XR.js} +21 -5
- package/dist/assets/{radio-field-item.stories-CCEbiAJJ.js → radio-field-item.stories-DQSLj8W1.js} +6 -6
- package/dist/assets/{radio-field.stories-puh_Qz-F.js → radio-field.stories-Btmc_Iep.js} +5 -5
- package/dist/assets/{remove-tag-etggj_MH.js → remove-tag-BSEZ7VT8.js} +16 -5
- package/dist/assets/{remove-tag.stories-CJWEWuAZ.js → remove-tag.stories-diRKi7Ua.js} +2 -2
- package/dist/assets/{request-prescription.stories-DyRzO_jr.js → request-prescription.stories-DQvra7ia.js} +3 -3
- package/dist/assets/{sample-modal.stories-Do1Rji07.js → sample-modal.stories-deE1EBfZ.js} +1 -1
- package/dist/assets/{section.stories-BrnN5Hih.js → section.stories-DF4mcy2O.js} +13 -5
- package/dist/assets/select-tile-D-C8oSrm.js +1112 -0
- package/dist/assets/{select-tile-list.stories-CD5E8DL-.js → select-tile-list.stories-vsBQUIcl.js} +16 -33
- package/dist/assets/{select-tile.stories-Bg7iogzn.js → select-tile.stories-CqHzN5fc.js} +8 -5
- package/dist/assets/{select.stories-B6iFE5PV.js → select.stories-8aOGxTtr.js} +20 -9
- package/dist/assets/{skeleton-loader.stories-DGnU16J7.js → skeleton-loader.stories-CwR2-aC5.js} +13 -5
- package/dist/assets/{split-button.stories-G1N_NP0K.js → split-button.stories-CyfdrK4u.js} +12 -4
- package/dist/assets/spread-BPiNgQQF.js +1 -0
- package/dist/assets/state-CfuknrX8.js +1 -0
- package/dist/assets/story-helpers-BFn_kBYw.js +38 -0
- package/dist/assets/{submenu.stories-D-RepJR2.js → submenu.stories-CDhNzZzh.js} +20 -4
- package/dist/assets/syntaxhighlighter-T5IQBZDB-BzI6WxUR.js +6 -0
- package/dist/assets/{table-header-sXsVygtW.js → table-header-CfcchoYz.js} +63 -12
- package/dist/assets/{table-object.stories-DJ8roUlW.js → table-object.stories-Bd5qdfMU.js} +11 -3
- package/dist/assets/{table.stories-UwEyO3jA.js → table.stories-DxuBe9dJ.js} +2 -2
- package/dist/assets/{tabs.stories-CsbG6PFQ.js → tabs.stories-Cpc3OHJx.js} +31 -7
- package/dist/assets/{tag-list.stories-FGvdHvhI.js → tag-list.stories-BmyCmrTF.js} +12 -4
- package/dist/assets/{tag-CqRtd4HZ.js → tag-vQFuZneb.js} +15 -4
- package/dist/assets/{tag.stories-CyRYkvcm.js → tag.stories-DGzrNUbb.js} +5 -5
- package/dist/assets/{tertiary-nav.stories-DVHnc6aS.js → tertiary-nav.stories-D4q5K-am.js} +22 -6
- package/dist/assets/{text-link-Dg8E1dhI.js → text-link-4qLRIeJB.js} +9 -1
- package/dist/assets/text-link.stories-D6BRm2I5.js +1 -0
- package/dist/assets/{text-passage-Dw-BWzip.js → text-passage-DGaI5i2I.js} +19 -3
- package/dist/assets/{text-passage.stories-CzfR1z4-.js → text-passage.stories-DkmXVUhH.js} +2 -2
- package/dist/assets/{tooltip.stories-CVPX_J3l.js → tooltip.stories-B7ADDq7o.js} +21 -10
- package/dist/assets/{utility-nav.stories-BVyQKpR1.js → utility-nav.stories-ffXVvyLp.js} +22 -6
- package/dist/cre8-logo.png +0 -0
- package/dist/design-tokens/assets/fonts/Aeonik-Bold.woff +0 -0
- package/dist/design-tokens/assets/fonts/Aeonik-Bold.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/Aeonik-Light.woff +0 -0
- package/dist/design-tokens/assets/fonts/Aeonik-Light.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/Aeonik-Regular.woff +0 -0
- package/dist/design-tokens/assets/fonts/Aeonik-Regular.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/Inter-Bold.woff +0 -0
- package/dist/design-tokens/assets/fonts/Inter-Bold.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/Inter-Medium.woff +0 -0
- package/dist/design-tokens/assets/fonts/Inter-Medium.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/Inter-Regular.woff +0 -0
- package/dist/design-tokens/assets/fonts/Inter-Regular.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/Inter-SemiBold.woff +0 -0
- package/dist/design-tokens/assets/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/NB Akademie-Bold.woff +0 -0
- package/dist/design-tokens/assets/fonts/NB Akademie-Bold.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/NB Akademie-Medium.woff +0 -0
- package/dist/design-tokens/assets/fonts/NB Akademie-Medium.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/NB Akademie-Regular.woff +0 -0
- package/dist/design-tokens/assets/fonts/NB Akademie-Regular.woff2 +0 -0
- package/dist/design-tokens/assets/fonts/PlusJakartaSans-Bold.ttf +0 -0
- package/dist/design-tokens/assets/fonts/PlusJakartaSans-Medium.ttf +0 -0
- package/dist/design-tokens/assets/fonts/PlusJakartaSans-Regular.ttf +0 -0
- package/dist/design-tokens/brands/blue/assets/fonts/ValueSans-Bold-Pro.woff2 +0 -0
- package/dist/design-tokens/brands/blue/assets/fonts/ValueSans-Medium-Pro.woff2 +0 -0
- package/dist/design-tokens/brands/blue/assets/fonts/ValueSansRegular-Pro.woff2 +0 -0
- package/dist/design-tokens/brands/blue/assets/fonts/ValueSerif-Bold-Pro.woff2 +0 -0
- package/dist/design-tokens/brands/claude-terracotta/css/tokens_brand.css +85 -0
- package/dist/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.css +1 -0
- package/dist/design-tokens/brands/cre8-a2ui/css/assets/fonts/PlusJakartaSans-Bold.woff2 +0 -0
- package/dist/design-tokens/brands/cre8-a2ui/css/assets/fonts/PlusJakartaSans-LatinExt.woff2 +0 -0
- package/dist/design-tokens/brands/cre8-a2ui/css/assets/fonts/PlusJakartaSans-Medium.woff2 +0 -0
- package/dist/design-tokens/brands/cre8-a2ui/css/assets/fonts/PlusJakartaSans-Regular.woff2 +0 -0
- package/dist/design-tokens/brands/cre8-a2ui/css/assets/fonts/PlusJakartaSans-SemiBold.woff2 +0 -0
- package/dist/design-tokens/brands/cre8-a2ui/css/fonts.css +4 -8
- package/dist/design-tokens/brands/cre8-a2ui/css/tokens_brand.css +1 -0
- package/dist/design-tokens/brands/cre8-legacy/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/dist/design-tokens/brands/cre8-legacy/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/dist/design-tokens/brands/cre8-legacy/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/dist/design-tokens/brands/cre8-legacy/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/dist/design-tokens/brands/cre8-legacy/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/dist/design-tokens/brands/cre8-legacy/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/dist/design-tokens/brands/cre8-teal/css/tokens_brand.css +87 -0
- package/dist/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.css +1 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/Inter-Bold.woff +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/Inter-Bold.woff2 +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/Inter-Medium.woff +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/Inter-Medium.woff2 +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/Inter-Regular.woff +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/Inter-Regular.woff2 +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/Inter-SemiBold.woff +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/NB Akademie-Bold.woff +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/NB Akademie-Bold.woff2 +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/NB Akademie-Medium.woff +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/NB Akademie-Medium.woff2 +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/NB Akademie-Regular.woff +0 -0
- package/dist/design-tokens/brands/femmecubator/assets/fonts/NB Akademie-Regular.woff2 +0 -0
- package/dist/design-tokens/brands/legacy/assets/fonts/rubik-v4-latin-300.woff +0 -0
- package/dist/design-tokens/brands/legacy/assets/fonts/rubik-v4-latin-300.woff2 +0 -0
- package/dist/design-tokens/brands/legacy/assets/fonts/rubik-v4-latin-500.woff +0 -0
- package/dist/design-tokens/brands/legacy/assets/fonts/rubik-v4-latin-500.woff2 +0 -0
- package/dist/design-tokens/brands/legacy/assets/fonts/rubik-v4-latin-regular.woff +0 -0
- package/dist/design-tokens/brands/legacy/assets/fonts/rubik-v4-latin-regular.woff2 +0 -0
- package/dist/design-tokens/brands/marketing/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/dist/design-tokens/brands/marketing/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/dist/design-tokens/brands/marketing/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/dist/design-tokens/brands/marketing/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/dist/design-tokens/brands/minimalist/assets/fonts/Aeonik-Bold.woff +0 -0
- package/dist/design-tokens/brands/minimalist/assets/fonts/Aeonik-Bold.woff2 +0 -0
- package/dist/design-tokens/brands/minimalist/assets/fonts/Aeonik-Light.woff +0 -0
- package/dist/design-tokens/brands/minimalist/assets/fonts/Aeonik-Light.woff2 +0 -0
- package/dist/design-tokens/brands/minimalist/assets/fonts/Aeonik-Regular.woff +0 -0
- package/dist/design-tokens/brands/minimalist/assets/fonts/Aeonik-Regular.woff2 +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/Inter-Bold.woff +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/Inter-Bold.woff2 +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/Inter-Medium.woff +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/Inter-Medium.woff2 +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/Inter-Regular.woff +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/Inter-Regular.woff2 +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/Inter-SemiBold.woff +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/NB Akademie-Bold.woff +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/NB Akademie-Bold.woff2 +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/NB Akademie-Medium.woff +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/NB Akademie-Medium.woff2 +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/NB Akademie-Regular.woff +0 -0
- package/dist/design-tokens/brands/starbucks/assets/fonts/NB Akademie-Regular.woff2 +0 -0
- 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/icons/Account.svg +3 -0
- package/dist/icons/Account_Filled.svg +3 -0
- package/dist/icons/Arrow_-_Left.svg +3 -0
- package/dist/icons/Arrow_-_Left_Filled.svg +3 -0
- package/dist/icons/Caret_Double_Left.svg +3 -0
- package/dist/icons/Caret_Double_Right.svg +3 -0
- package/dist/icons/Caret_Down.svg +3 -0
- package/dist/{assets/Caret_Down-Bmqq8eNW.js → icons/Caret_Down_Filled.svg} +1 -2
- package/dist/{assets/Caret_Left-CIObD6Xy.js → icons/Caret_Left.svg} +1 -2
- package/dist/{assets/Caret_Right-BhO63VKn.js → icons/Caret_Right.svg} +1 -2
- package/dist/icons/Caret_Up.svg +3 -0
- package/dist/icons/Cart.svg +3 -0
- package/dist/icons/Chat_Default.svg +3 -0
- package/dist/icons/Check.svg +3 -0
- package/dist/icons/Check_Filled.svg +3 -0
- package/dist/icons/Clear_X.svg +3 -0
- package/dist/icons/Close.svg +3 -0
- package/dist/icons/Download.svg +3 -0
- package/dist/icons/Edit.svg +3 -0
- package/dist/icons/Ellipsis.svg +3 -0
- package/dist/icons/Ellipsis_Filled.svg +3 -0
- package/dist/icons/Error.svg +3 -0
- package/dist/{assets/Error-X6enME_5.js → icons/Error_Filled.svg} +1 -2
- package/dist/icons/External_Link.svg +3 -0
- package/dist/icons/Globe.svg +3 -0
- package/dist/icons/Help.svg +3 -0
- package/dist/icons/Help_Filled.svg +3 -0
- package/dist/icons/Info.svg +3 -0
- package/dist/icons/Lightbulb.svg +3 -0
- package/dist/icons/Lightbulb_Filled.svg +3 -0
- package/dist/icons/Location.svg +3 -0
- package/dist/icons/Medication.svg +3 -0
- package/dist/icons/Menu.svg +3 -0
- package/dist/icons/Message_Unread.svg +3 -0
- package/dist/icons/Message_Unread_Filled.svg +3 -0
- package/dist/icons/Minus.svg +3 -0
- package/dist/icons/Notification.svg +3 -0
- package/dist/icons/Play_Arrow.svg +3 -0
- package/dist/icons/Play_Circle.svg +3 -0
- package/dist/icons/Rectangle.svg +1 -0
- package/dist/icons/Refill.svg +4 -0
- package/dist/icons/Search.svg +3 -0
- package/dist/icons/Spinner_75.svg +3 -0
- package/dist/icons/Undo.svg +3 -0
- package/dist/icons/Vaccinations.svg +5 -0
- package/dist/icons/Warning.svg +3 -0
- package/dist/icons/add.svg +2 -2
- package/dist/icons/calendar.svg +2 -4
- package/dist/icons/wellness.svg +2 -6
- package/dist/iframe.html +104 -77
- package/dist/index.html +91 -32
- package/dist/index.json +1 -1
- package/dist/logo.svg +1 -0
- package/dist/project.json +1 -1
- package/dist/sb-addons/a11y-3/manager-bundle.js +55 -3
- package/dist/sb-addons/docs-1/manager-bundle.js +16 -1
- package/dist/sb-addons/storybook-4/manager-bundle.js +8 -0
- package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +102 -100
- package/dist/sb-addons/themes-2/manager-bundle.js +1 -1
- package/dist/sb-manager/globals-runtime.js +16334 -13685
- package/dist/sb-manager/globals.js +1 -1
- package/dist/sb-manager/manager-stores.js +1 -1
- package/dist/sb-manager/runtime.js +3175 -1000
- package/lib/components/accordion/accordion.styles.d.ts.map +1 -1
- package/lib/components/accordion/accordion.styles.js +8 -0
- package/lib/components/accordion/accordion.styles.js.map +1 -1
- package/lib/components/accordion-item/accordion-item.styles.d.ts.map +1 -1
- package/lib/components/accordion-item/accordion-item.styles.js +8 -0
- package/lib/components/accordion-item/accordion-item.styles.js.map +1 -1
- package/lib/components/alert/alert.styles.d.ts.map +1 -1
- package/lib/components/alert/alert.styles.js +16 -0
- package/lib/components/alert/alert.styles.js.map +1 -1
- package/lib/components/badge/badge.d.ts +1 -1
- package/lib/components/badge/badge.js.map +1 -1
- package/lib/components/badge/badge.styles.d.ts.map +1 -1
- package/lib/components/badge/badge.styles.js +8 -0
- package/lib/components/badge/badge.styles.js.map +1 -1
- package/lib/components/band/band.styles.d.ts.map +1 -1
- package/lib/components/band/band.styles.js +8 -0
- package/lib/components/band/band.styles.js.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.styles.js +8 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts.map +1 -1
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js +8 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js.map +1 -1
- package/lib/components/button/button.styles.d.ts.map +1 -1
- package/lib/components/button/button.styles.js +8 -0
- package/lib/components/button/button.styles.js.map +1 -1
- package/lib/components/button-group/button-group.styles.d.ts.map +1 -1
- package/lib/components/button-group/button-group.styles.js +8 -0
- package/lib/components/button-group/button-group.styles.js.map +1 -1
- package/lib/components/card/card.styles.d.ts.map +1 -1
- package/lib/components/card/card.styles.js +8 -0
- package/lib/components/card/card.styles.js.map +1 -1
- package/lib/components/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/lib/components/checkbox-field/checkbox-field.styles.js +8 -0
- package/lib/components/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts.map +1 -1
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.js +8 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.js.map +1 -1
- package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -1
- package/lib/components/danger-button/danger-button.styles.js +8 -0
- package/lib/components/danger-button/danger-button.styles.js.map +1 -1
- package/lib/components/date-picker/calendar/calendar.styles.d.ts.map +1 -1
- package/lib/components/date-picker/calendar/calendar.styles.js +8 -0
- package/lib/components/date-picker/calendar/calendar.styles.js.map +1 -1
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts.map +1 -1
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js +8 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js.map +1 -1
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts.map +1 -1
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js +8 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js.map +1 -1
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts.map +1 -1
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js +8 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js.map +1 -1
- package/lib/components/date-picker/date-picker.styles.d.ts.map +1 -1
- package/lib/components/date-picker/date-picker.styles.js +16 -0
- package/lib/components/date-picker/date-picker.styles.js.map +1 -1
- package/lib/components/divider/divider.styles.d.ts.map +1 -1
- package/lib/components/divider/divider.styles.js +8 -0
- package/lib/components/divider/divider.styles.js.map +1 -1
- package/lib/components/dropdown/dropdown.styles.d.ts.map +1 -1
- package/lib/components/dropdown/dropdown.styles.js +8 -0
- package/lib/components/dropdown/dropdown.styles.js.map +1 -1
- package/lib/components/dropdown-item/dropdown-item.styles.d.ts.map +1 -1
- package/lib/components/dropdown-item/dropdown-item.styles.js +8 -0
- package/lib/components/dropdown-item/dropdown-item.styles.js.map +1 -1
- package/lib/components/feature/feature.styles.d.ts.map +1 -1
- package/lib/components/feature/feature.styles.js +8 -0
- package/lib/components/feature/feature.styles.js.map +1 -1
- package/lib/components/field/field.styles.d.ts.map +1 -1
- package/lib/components/field/field.styles.js +8 -0
- package/lib/components/field/field.styles.js.map +1 -1
- package/lib/components/field-note/field-note.styles.d.ts.map +1 -1
- package/lib/components/field-note/field-note.styles.js +8 -0
- package/lib/components/field-note/field-note.styles.js.map +1 -1
- package/lib/components/footer/footer.styles.d.ts.map +1 -1
- package/lib/components/footer/footer.styles.js +8 -0
- package/lib/components/footer/footer.styles.js.map +1 -1
- package/lib/components/global-nav/global-nav.styles.d.ts.map +1 -1
- package/lib/components/global-nav/global-nav.styles.js +8 -0
- package/lib/components/global-nav/global-nav.styles.js.map +1 -1
- package/lib/components/global-nav-item/global-nav-item.styles.d.ts.map +1 -1
- package/lib/components/global-nav-item/global-nav-item.styles.js +8 -0
- package/lib/components/global-nav-item/global-nav-item.styles.js.map +1 -1
- package/lib/components/grid/grid.styles.d.ts.map +1 -1
- package/lib/components/grid/grid.styles.js +8 -0
- package/lib/components/grid/grid.styles.js.map +1 -1
- package/lib/components/grid-item/grid-item.styles.d.ts.map +1 -1
- package/lib/components/grid-item/grid-item.styles.js +8 -0
- package/lib/components/grid-item/grid-item.styles.js.map +1 -1
- package/lib/components/header/header.styles.d.ts.map +1 -1
- package/lib/components/header/header.styles.js +8 -0
- package/lib/components/header/header.styles.js.map +1 -1
- package/lib/components/heading/heading.d.ts.map +1 -1
- package/lib/components/heading/heading.js +7 -1
- package/lib/components/heading/heading.js.map +1 -1
- package/lib/components/heading/heading.styles.d.ts.map +1 -1
- package/lib/components/heading/heading.styles.js +8 -0
- package/lib/components/heading/heading.styles.js.map +1 -1
- package/lib/components/hero/hero.styles.d.ts.map +1 -1
- package/lib/components/hero/hero.styles.js +8 -0
- package/lib/components/hero/hero.styles.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/icon/icon.styles.d.ts.map +1 -1
- package/lib/components/icon/icon.styles.js +8 -0
- package/lib/components/icon/icon.styles.js.map +1 -1
- package/lib/components/inline-alert/inline-alert.styles.d.ts.map +1 -1
- package/lib/components/inline-alert/inline-alert.styles.js +8 -0
- package/lib/components/inline-alert/inline-alert.styles.js.map +1 -1
- package/lib/components/layout/layout.styles.d.ts.map +1 -1
- package/lib/components/layout/layout.styles.js +8 -0
- package/lib/components/layout/layout.styles.js.map +1 -1
- package/lib/components/layout-container/layout-container.styles.d.ts.map +1 -1
- package/lib/components/layout-container/layout-container.styles.js +8 -0
- package/lib/components/layout-container/layout-container.styles.js.map +1 -1
- package/lib/components/layout-section/layout-section.styles.d.ts.map +1 -1
- package/lib/components/layout-section/layout-section.styles.js +8 -0
- package/lib/components/layout-section/layout-section.styles.js.map +1 -1
- package/lib/components/linelength-container/linelength-container.styles.d.ts.map +1 -1
- package/lib/components/linelength-container/linelength-container.styles.js +8 -0
- package/lib/components/linelength-container/linelength-container.styles.js.map +1 -1
- package/lib/components/link/link.styles.d.ts.map +1 -1
- package/lib/components/link/link.styles.js +8 -0
- package/lib/components/link/link.styles.js.map +1 -1
- package/lib/components/link-list/link-list.styles.d.ts.map +1 -1
- package/lib/components/link-list/link-list.styles.js +8 -0
- package/lib/components/link-list/link-list.styles.js.map +1 -1
- package/lib/components/link-list-item/link-list-item.styles.d.ts.map +1 -1
- package/lib/components/link-list-item/link-list-item.styles.js +8 -0
- package/lib/components/link-list-item/link-list-item.styles.js.map +1 -1
- package/lib/components/list/list.styles.d.ts.map +1 -1
- package/lib/components/list/list.styles.js +8 -0
- package/lib/components/list/list.styles.js.map +1 -1
- package/lib/components/list-item/list-item.styles.d.ts.map +1 -1
- package/lib/components/list-item/list-item.styles.js +8 -0
- package/lib/components/list-item/list-item.styles.js.map +1 -1
- package/lib/components/loading-spinner/loading-spinner.styles.d.ts.map +1 -1
- package/lib/components/loading-spinner/loading-spinner.styles.js +8 -0
- package/lib/components/loading-spinner/loading-spinner.styles.js.map +1 -1
- package/lib/components/logo/logo.styles.d.ts.map +1 -1
- package/lib/components/logo/logo.styles.js +8 -0
- package/lib/components/logo/logo.styles.js.map +1 -1
- package/lib/components/main/main.styles.d.ts.map +1 -1
- package/lib/components/main/main.styles.js +8 -0
- package/lib/components/main/main.styles.js.map +1 -1
- package/lib/components/modal/modal.styles.d.ts.map +1 -1
- package/lib/components/modal/modal.styles.js +8 -0
- package/lib/components/modal/modal.styles.js.map +1 -1
- package/lib/components/multi-select/multi-select.styles.d.ts.map +1 -1
- package/lib/components/multi-select/multi-select.styles.js +8 -0
- package/lib/components/multi-select/multi-select.styles.js.map +1 -1
- package/lib/components/nav-container/nav-container.styles.d.ts.map +1 -1
- package/lib/components/nav-container/nav-container.styles.js +8 -0
- package/lib/components/nav-container/nav-container.styles.js.map +1 -1
- package/lib/components/page-header/page-header.styles.d.ts.map +1 -1
- package/lib/components/page-header/page-header.styles.js +8 -0
- package/lib/components/page-header/page-header.styles.js.map +1 -1
- package/lib/components/pagination/page-counter/page-counter.styles.d.ts.map +1 -1
- package/lib/components/pagination/page-counter/page-counter.styles.js +8 -0
- package/lib/components/pagination/page-counter/page-counter.styles.js.map +1 -1
- package/lib/components/pagination/pagination.styles.d.ts.map +1 -1
- package/lib/components/pagination/pagination.styles.js +8 -0
- package/lib/components/pagination/pagination.styles.js.map +1 -1
- package/lib/components/percent-bar/percent-bar.styles.d.ts.map +1 -1
- package/lib/components/percent-bar/percent-bar.styles.js +8 -0
- package/lib/components/percent-bar/percent-bar.styles.js.map +1 -1
- package/lib/components/popover/popover.styles.d.ts.map +1 -1
- package/lib/components/popover/popover.styles.js +8 -0
- package/lib/components/popover/popover.styles.js.map +1 -1
- package/lib/components/primary-nav/primary-nav.styles.d.ts.map +1 -1
- package/lib/components/primary-nav/primary-nav.styles.js +8 -0
- package/lib/components/primary-nav/primary-nav.styles.js.map +1 -1
- package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.map +1 -1
- package/lib/components/primary-nav-item/primary-nav-item.styles.js +8 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.js.map +1 -1
- package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -1
- package/lib/components/progress-meter/progress-meter.styles.js +8 -0
- package/lib/components/progress-meter/progress-meter.styles.js.map +1 -1
- package/lib/components/progress-steps/progress-steps.styles.d.ts.map +1 -1
- package/lib/components/progress-steps/progress-steps.styles.js +8 -0
- package/lib/components/progress-steps/progress-steps.styles.js.map +1 -1
- package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.map +1 -1
- package/lib/components/progress-steps-item/progress-steps-item.styles.js +8 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.js.map +1 -1
- package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -1
- package/lib/components/radio-field/radio-field.styles.js +8 -0
- package/lib/components/radio-field/radio-field.styles.js.map +1 -1
- package/lib/components/radio-field-item/radio-field-item.styles.d.ts.map +1 -1
- package/lib/components/radio-field-item/radio-field-item.styles.js +8 -0
- package/lib/components/radio-field-item/radio-field-item.styles.js.map +1 -1
- package/lib/components/remove-tag/remove-tag.styles.d.ts.map +1 -1
- package/lib/components/remove-tag/remove-tag.styles.js +8 -0
- package/lib/components/remove-tag/remove-tag.styles.js.map +1 -1
- package/lib/components/section/section.styles.d.ts.map +1 -1
- package/lib/components/section/section.styles.js +8 -0
- package/lib/components/section/section.styles.js.map +1 -1
- package/lib/components/select/select.styles.d.ts.map +1 -1
- package/lib/components/select/select.styles.js +8 -0
- package/lib/components/select/select.styles.js.map +1 -1
- package/lib/components/select-tile/select-tile.styles.d.ts.map +1 -1
- package/lib/components/select-tile/select-tile.styles.js +8 -0
- package/lib/components/select-tile/select-tile.styles.js.map +1 -1
- package/lib/components/select-tile-list/select-tile-list.styles.d.ts.map +1 -1
- package/lib/components/select-tile-list/select-tile-list.styles.js +8 -0
- package/lib/components/select-tile-list/select-tile-list.styles.js.map +1 -1
- package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.map +1 -1
- package/lib/components/skeleton-loader/skeleton-loader.styles.js +8 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.js.map +1 -1
- package/lib/components/split-button/split-button.styles.d.ts.map +1 -1
- package/lib/components/split-button/split-button.styles.js +8 -0
- package/lib/components/split-button/split-button.styles.js.map +1 -1
- package/lib/components/submenu/submenu.styles.d.ts.map +1 -1
- package/lib/components/submenu/submenu.styles.js +8 -0
- package/lib/components/submenu/submenu.styles.js.map +1 -1
- package/lib/components/submenu-item/submenu-item.styles.d.ts.map +1 -1
- package/lib/components/submenu-item/submenu-item.styles.js +8 -0
- package/lib/components/submenu-item/submenu-item.styles.js.map +1 -1
- package/lib/components/tab/tab.styles.d.ts.map +1 -1
- package/lib/components/tab/tab.styles.js +8 -0
- package/lib/components/tab/tab.styles.js.map +1 -1
- package/lib/components/tab-panel/tab-panel.styles.d.ts.map +1 -1
- package/lib/components/tab-panel/tab-panel.styles.js +8 -0
- package/lib/components/tab-panel/tab-panel.styles.js.map +1 -1
- package/lib/components/table/table.styles.d.ts.map +1 -1
- package/lib/components/table/table.styles.js +8 -0
- package/lib/components/table/table.styles.js.map +1 -1
- package/lib/components/table-body/table-body.styles.d.ts.map +1 -1
- package/lib/components/table-body/table-body.styles.js +8 -0
- package/lib/components/table-body/table-body.styles.js.map +1 -1
- package/lib/components/table-cell/table-cell.styles.d.ts.map +1 -1
- package/lib/components/table-cell/table-cell.styles.js +8 -0
- package/lib/components/table-cell/table-cell.styles.js.map +1 -1
- package/lib/components/table-header/table-header.styles.d.ts.map +1 -1
- package/lib/components/table-header/table-header.styles.js +8 -0
- package/lib/components/table-header/table-header.styles.js.map +1 -1
- package/lib/components/table-header-cell/table-header-cell.styles.d.ts.map +1 -1
- package/lib/components/table-header-cell/table-header-cell.styles.js +8 -0
- package/lib/components/table-header-cell/table-header-cell.styles.js.map +1 -1
- package/lib/components/table-object/table-object.styles.d.ts.map +1 -1
- package/lib/components/table-object/table-object.styles.js +8 -0
- package/lib/components/table-object/table-object.styles.js.map +1 -1
- package/lib/components/table-row/table-row.styles.d.ts.map +1 -1
- package/lib/components/table-row/table-row.styles.js +8 -0
- package/lib/components/table-row/table-row.styles.js.map +1 -1
- package/lib/components/tabs/tabs.styles.d.ts.map +1 -1
- package/lib/components/tabs/tabs.styles.js +8 -0
- package/lib/components/tabs/tabs.styles.js.map +1 -1
- package/lib/components/tag/tag.styles.d.ts.map +1 -1
- package/lib/components/tag/tag.styles.js +8 -0
- package/lib/components/tag/tag.styles.js.map +1 -1
- package/lib/components/tag-list/tag-list.styles.d.ts.map +1 -1
- package/lib/components/tag-list/tag-list.styles.js +8 -0
- package/lib/components/tag-list/tag-list.styles.js.map +1 -1
- package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.map +1 -1
- package/lib/components/tertiary-nav/tertiary-nav.styles.js +8 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.js.map +1 -1
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.map +1 -1
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js +8 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js.map +1 -1
- package/lib/components/text-link/text-link.styles.d.ts.map +1 -1
- package/lib/components/text-link/text-link.styles.js +8 -0
- package/lib/components/text-link/text-link.styles.js.map +1 -1
- package/lib/components/text-passage/text-passage-light-dom.styles.d.ts.map +1 -1
- package/lib/components/text-passage/text-passage-light-dom.styles.js +8 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.js.map +1 -1
- package/lib/components/text-passage/text-passage.styles.d.ts.map +1 -1
- package/lib/components/text-passage/text-passage.styles.js +8 -0
- package/lib/components/text-passage/text-passage.styles.js.map +1 -1
- package/lib/components/tooltip/tooltip.styles.d.ts.map +1 -1
- package/lib/components/tooltip/tooltip.styles.js +8 -0
- package/lib/components/tooltip/tooltip.styles.js.map +1 -1
- package/lib/components/utility-nav/utility-nav.styles.d.ts.map +1 -1
- package/lib/components/utility-nav/utility-nav.styles.js +8 -0
- package/lib/components/utility-nav/utility-nav.styles.js.map +1 -1
- package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -1
- package/lib/components/utility-nav-item/utility-nav-item.styles.js +8 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.js.map +1 -1
- package/lib/design-tokens/brands/cre8/css/tokens_brand.css +1 -1
- package/lib/design-tokens/core/scss/theming/component.css +1 -1
- package/lib/design-tokens/core/scss/theming/variables.css +7 -1
- package/lib/design-tokens/core/scss/theming/variables.scss +11 -0
- package/lib/icons/cre8-icons.svg +1 -1
- package/mcp-manifest.json +2 -2
- package/package.json +14 -12
- package/react-manifest.json +3 -3
- package/dist/Image.png +0 -0
- package/dist/assets/Changelog-Documentation-CblO0Xot.js +0 -3
- package/dist/assets/Code-Guidelines-BRHT7M6Y.js +0 -3
- package/dist/assets/Color-64QXVMR3-CVvl9AcC.js +0 -1
- package/dist/assets/Contributing-Guidelines-Q4jfpqq1.js +0 -3
- package/dist/assets/DocsRenderer-HT7GNKAR-Bc0l7s_g.js +0 -10
- package/dist/assets/Warning-CawqmTvB.js +0 -7
- package/dist/assets/WithTooltip-65CFNBJE-D4JJPWih.js +0 -9
- package/dist/assets/blocks-B_WQ1U89.js +0 -761
- package/dist/assets/button-Bt9tRB7v.js +0 -932
- package/dist/assets/checkbox-field-item.stories-Wbkn0aOb.js +0 -39
- package/dist/assets/directive-b18f_ppQ.js +0 -1
- package/dist/assets/dropdown-item.stories-Dxn0MeE8.js +0 -26
- package/dist/assets/field-note.stories-CT0_DymI.js +0 -27
- package/dist/assets/formatter-EIJCOSYU-CYrt3ugJ.js +0 -1
- package/dist/assets/global-nav-item.stories-C_7FzIWj.js +0 -1
- package/dist/assets/icon-description.stories-BF370oI5.js +0 -3
- package/dist/assets/icon.stories-C73dxBRO.js +0 -11
- package/dist/assets/if-defined-sxEueMHN.js +0 -1
- package/dist/assets/iframe-CdWmiVXf.js +0 -9693
- package/dist/assets/iframe-vZZLtGTk.css +0 -1
- package/dist/assets/index-DSuzaFN1.js +0 -1
- package/dist/assets/link.stories-tvwExHzK.js +0 -88
- package/dist/assets/matchers-ZRZBO4XZ-ItTrJwDz.js +0 -14
- package/dist/assets/progress-steps-item.stories-y3zQoQgv.js +0 -56
- package/dist/assets/select-tile-etSpH07h.js +0 -47
- package/dist/assets/spread-BOaHI3Dl.js +0 -1
- package/dist/assets/state-BQD-SkUn.js +0 -1
- package/dist/assets/story-helpers-BJLZYDac.js +0 -38
- package/dist/assets/syntaxhighlighter-OH4MV7E3-ByMlOdlq.js +0 -6
- package/dist/assets/text-link.stories-D0m86xl-.js +0 -1
- package/dist/assets/unsafe-html-BLUBm7l3.js +0 -1
- package/dist/cre8.png +0 -0
- package/dist/icons/check.svg +0 -3
- package/dist/icons/close.svg +0 -3
- package/dist/icons/download.svg +0 -5
- package/dist/icons/edit.svg +0 -5
- package/dist/icons/ellipsis.svg +0 -3
- package/dist/icons/error.svg +0 -3
- package/dist/icons/globe.svg +0 -3
- package/dist/icons/help.svg +0 -3
- package/dist/icons/info.svg +0 -3
- package/dist/icons/menu.svg +0 -5
- package/dist/icons/minus.svg +0 -6
- package/dist/icons/search.svg +0 -10
- package/dist/icons/warning.svg +0 -3
- /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{
|
|
1
|
+
import{a as x,b as s,A as f}from"./iframe-dHvya7sk.js";import{s as X}from"./spread-BPiNgQQF.js";import{w as E}from"./decorator-iVSD-Llo.js";import{o as u}from"./if-defined-HKKhGupN.js";import{C as I,n as p}from"./cre8-element-DfmMtHJO.js";import{r as c}from"./state-CfuknrX8.js";import{e as A}from"./query-BpjciUlk.js";import"./icon-DeTLDzTS.js";import"./button-CJL8yzAT.js";import{s as B,f as P}from"./cre8-form-element-bQpK8UYN.js";import{C as q}from"./field-DzYRqQb2.js";import"./preload-helper-PPVm8Dsz.js";import"./chunk-EUVGDK4H-rHCQfRxh.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./base-DVmwUFg0.js";import"./loading-spinner-g6iJajXH.js";import"./index.browser-BY9c7rfI.js";import"./field-note-DKXZiXLU.js";class S{constructor(e,t,a,r){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(i,n)=>{this.unsubscribe&&(this.unsubscribe!==n&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=i,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(i,n)),this.unsubscribe=n},this.host=e,t.context!==void 0){const i=t;this.context=i.context,this.callback=i.callback,this.subscribe=i.subscribe??!1}else this.context=t,this.callback=a,this.subscribe=r??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new B(this.context,this.host,this.t,this.subscribe))}}function j({context:d,subscribe:e}){return(t,a)=>{typeof a=="object"?a.addInitializer((function(){new S(this,{context:d,callback:r=>{t.set.call(this,r)},subscribe:e})})):t.constructor.addInitializer((r=>{new S(r,{context:d,callback:i=>{r[a]=i},subscribe:e})}))}}const L=x`.cre8-u-content-knockout-brand {
|
|
2
2
|
color: var(----cre8-color-content-knockout-brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -372,6 +372,980 @@ 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
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* RTL support for values logical properties can't automatically adjust for
|
|
383
|
+
* 1) Percentage based horizontal translate values need to be flipped
|
|
384
|
+
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
385
|
+
* 3) Inverse items that have 45degs
|
|
386
|
+
*/
|
|
387
|
+
[dir=rtl] {
|
|
388
|
+
--rtlTranslateX: 50%;
|
|
389
|
+
/* 1 */
|
|
390
|
+
--rtlGradientToRight: 270deg;
|
|
391
|
+
/* 2 */
|
|
392
|
+
--rtlRotate45Inverse: -45deg;
|
|
393
|
+
/* 3 */
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Visible focus outline for elements on a light background
|
|
398
|
+
*/
|
|
399
|
+
/**
|
|
400
|
+
* Visible focus outline for elements with an error status
|
|
401
|
+
*/
|
|
402
|
+
/**
|
|
403
|
+
* Visible focus outline for elements on a dark background
|
|
404
|
+
*/
|
|
405
|
+
/**
|
|
406
|
+
* Focus state for themes that need a dashed outline for focus
|
|
407
|
+
* state
|
|
408
|
+
**/
|
|
409
|
+
/**
|
|
410
|
+
* Invisible focus outline for elements that need a more visible
|
|
411
|
+
* focus state for high-contrast mode
|
|
412
|
+
*/
|
|
413
|
+
/**
|
|
414
|
+
* Visually hidden from display
|
|
415
|
+
*/
|
|
416
|
+
/*
|
|
417
|
+
=======
|
|
418
|
+
Animations
|
|
419
|
+
=======
|
|
420
|
+
*/
|
|
421
|
+
:host {
|
|
422
|
+
--cre8-z-index-1: 1;
|
|
423
|
+
--cre8-z-index-50: 50;
|
|
424
|
+
--cre8-z-index-100: 100;
|
|
425
|
+
--cre8-z-index-200: 200;
|
|
426
|
+
--cre8-z-index-1030: 1030;
|
|
427
|
+
--cre8-anim-fade-quick: 0.35s;
|
|
428
|
+
--cre8-anim-ease: ease;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
@keyframes fadeIn {
|
|
432
|
+
100% {
|
|
433
|
+
opacity: 1;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
@keyframes slideIn {
|
|
437
|
+
100% {
|
|
438
|
+
transform: translateX(0);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
@keyframes slideInFwd {
|
|
442
|
+
100% {
|
|
443
|
+
width: 272px;
|
|
444
|
+
height: 272px;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
@keyframes slideOutRight {
|
|
448
|
+
100% {
|
|
449
|
+
width: 272px;
|
|
450
|
+
height: 272px;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
@keyframes slideUp {
|
|
454
|
+
100% {
|
|
455
|
+
transform: translateY(0);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
@media (width >= 481px) {
|
|
459
|
+
@keyframes slideInFwd {
|
|
460
|
+
100% {
|
|
461
|
+
width: 417px;
|
|
462
|
+
height: 417px;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
@keyframes slideOutRight {
|
|
466
|
+
100% {
|
|
467
|
+
width: 417px;
|
|
468
|
+
height: 417px;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
@media (width >= 48rem) {
|
|
473
|
+
@keyframes slideInFwd {
|
|
474
|
+
100% {
|
|
475
|
+
width: 330px;
|
|
476
|
+
height: 330px;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
@keyframes slideOutRight {
|
|
480
|
+
100% {
|
|
481
|
+
width: 330px;
|
|
482
|
+
height: 330px;
|
|
483
|
+
transform: translateX(calc(100vw - 45px));
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
@media (width >= 60rem) {
|
|
488
|
+
@keyframes slideInFwd {
|
|
489
|
+
100% {
|
|
490
|
+
width: 460px;
|
|
491
|
+
height: 460px;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
@keyframes slideOutRight {
|
|
495
|
+
100% {
|
|
496
|
+
width: 460px;
|
|
497
|
+
height: 460px;
|
|
498
|
+
transform: translateX(calc(100vw - 45px));
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
@media (width >= 75rem) {
|
|
503
|
+
@keyframes slideInFwd {
|
|
504
|
+
100% {
|
|
505
|
+
width: 592px;
|
|
506
|
+
height: 591px;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
@keyframes slideOutRight {
|
|
510
|
+
100% {
|
|
511
|
+
width: 592px;
|
|
512
|
+
height: 591px;
|
|
513
|
+
transform: translateX(calc(100vw - 45px));
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
@media (width >= 87.5rem) {
|
|
518
|
+
@keyframes slideOutRight {
|
|
519
|
+
100% {
|
|
520
|
+
width: 592px;
|
|
521
|
+
height: 591px;
|
|
522
|
+
transform: translateX(calc(100vw - 120px));
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
@media (width >= 2200px) {
|
|
527
|
+
@keyframes slideOutRight {
|
|
528
|
+
100% {
|
|
529
|
+
width: 592px;
|
|
530
|
+
height: 591px;
|
|
531
|
+
transform: translateX(calc(100vw - 592px));
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
span.ripple {
|
|
536
|
+
position: absolute;
|
|
537
|
+
border-radius: 50%;
|
|
538
|
+
transform: scale(0);
|
|
539
|
+
animation: ripple 600ms linear;
|
|
540
|
+
background-color: var(--ripple-bg-color);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
@keyframes ripple {
|
|
544
|
+
to {
|
|
545
|
+
transform: scale(4);
|
|
546
|
+
opacity: 1;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
:root {
|
|
550
|
+
--size-base-unit: 0.5rem;
|
|
551
|
+
--cre8-l-max-width: 82.5rem;
|
|
552
|
+
/* 1 */
|
|
553
|
+
--cre8-l-linelength-width: 42rem;
|
|
554
|
+
/* 1 */
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* RTL support for values logical properties can't automatically adjust for
|
|
559
|
+
* 1) Percentage based horizontal translate values need to be flipped
|
|
560
|
+
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
561
|
+
* 3) Inverse items that have 45degs
|
|
562
|
+
*/
|
|
563
|
+
[dir=rtl] {
|
|
564
|
+
--rtlTranslateX: 50%;
|
|
565
|
+
/* 1 */
|
|
566
|
+
--rtlGradientToRight: 270deg;
|
|
567
|
+
/* 2 */
|
|
568
|
+
--rtlRotate45Inverse: -45deg;
|
|
569
|
+
/* 3 */
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Visible focus outline for elements on a light background
|
|
574
|
+
*/
|
|
575
|
+
/**
|
|
576
|
+
* Visible focus outline for elements with an error status
|
|
577
|
+
*/
|
|
578
|
+
/**
|
|
579
|
+
* Visible focus outline for elements on a dark background
|
|
580
|
+
*/
|
|
581
|
+
/**
|
|
582
|
+
* Focus state for themes that need a dashed outline for focus
|
|
583
|
+
* state
|
|
584
|
+
**/
|
|
585
|
+
/**
|
|
586
|
+
* Invisible focus outline for elements that need a more visible
|
|
587
|
+
* focus state for high-contrast mode
|
|
588
|
+
*/
|
|
589
|
+
/**
|
|
590
|
+
* Visually hidden from display
|
|
591
|
+
*/
|
|
592
|
+
/**
|
|
593
|
+
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
594
|
+
*/
|
|
595
|
+
*,
|
|
596
|
+
::slotted(*),
|
|
597
|
+
*:before,
|
|
598
|
+
*:after {
|
|
599
|
+
box-sizing: border-box;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
:root {
|
|
603
|
+
--size-base-unit: 0.5rem;
|
|
604
|
+
--cre8-l-max-width: 82.5rem;
|
|
605
|
+
/* 1 */
|
|
606
|
+
--cre8-l-linelength-width: 42rem;
|
|
607
|
+
/* 1 */
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* RTL support for values logical properties can't automatically adjust for
|
|
612
|
+
* 1) Percentage based horizontal translate values need to be flipped
|
|
613
|
+
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
614
|
+
* 3) Inverse items that have 45degs
|
|
615
|
+
*/
|
|
616
|
+
[dir=rtl] {
|
|
617
|
+
--rtlTranslateX: 50%;
|
|
618
|
+
/* 1 */
|
|
619
|
+
--rtlGradientToRight: 270deg;
|
|
620
|
+
/* 2 */
|
|
621
|
+
--rtlRotate45Inverse: -45deg;
|
|
622
|
+
/* 3 */
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Visible focus outline for elements on a light background
|
|
627
|
+
*/
|
|
628
|
+
/**
|
|
629
|
+
* Visible focus outline for elements with an error status
|
|
630
|
+
*/
|
|
631
|
+
/**
|
|
632
|
+
* Visible focus outline for elements on a dark background
|
|
633
|
+
*/
|
|
634
|
+
/**
|
|
635
|
+
* Focus state for themes that need a dashed outline for focus
|
|
636
|
+
* state
|
|
637
|
+
**/
|
|
638
|
+
/**
|
|
639
|
+
* Invisible focus outline for elements that need a more visible
|
|
640
|
+
* focus state for high-contrast mode
|
|
641
|
+
*/
|
|
642
|
+
/**
|
|
643
|
+
* Visually hidden from display
|
|
644
|
+
*/
|
|
645
|
+
/*
|
|
646
|
+
=======
|
|
647
|
+
Animations
|
|
648
|
+
=======
|
|
649
|
+
*/
|
|
650
|
+
:host {
|
|
651
|
+
--cre8-z-index-1: 1;
|
|
652
|
+
--cre8-z-index-50: 50;
|
|
653
|
+
--cre8-z-index-100: 100;
|
|
654
|
+
--cre8-z-index-200: 200;
|
|
655
|
+
--cre8-z-index-1030: 1030;
|
|
656
|
+
--cre8-anim-fade-quick: 0.35s;
|
|
657
|
+
--cre8-anim-ease: ease;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
@keyframes fadeIn {
|
|
661
|
+
100% {
|
|
662
|
+
opacity: 1;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
@keyframes slideIn {
|
|
666
|
+
100% {
|
|
667
|
+
transform: translateX(0);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
@keyframes slideInFwd {
|
|
671
|
+
100% {
|
|
672
|
+
width: 272px;
|
|
673
|
+
height: 272px;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
@keyframes slideOutRight {
|
|
677
|
+
100% {
|
|
678
|
+
width: 272px;
|
|
679
|
+
height: 272px;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
@keyframes slideUp {
|
|
683
|
+
100% {
|
|
684
|
+
transform: translateY(0);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
@media (width >= 481px) {
|
|
688
|
+
@keyframes slideInFwd {
|
|
689
|
+
100% {
|
|
690
|
+
width: 417px;
|
|
691
|
+
height: 417px;
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
@keyframes slideOutRight {
|
|
695
|
+
100% {
|
|
696
|
+
width: 417px;
|
|
697
|
+
height: 417px;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
@media (width >= 48rem) {
|
|
702
|
+
@keyframes slideInFwd {
|
|
703
|
+
100% {
|
|
704
|
+
width: 330px;
|
|
705
|
+
height: 330px;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
@keyframes slideOutRight {
|
|
709
|
+
100% {
|
|
710
|
+
width: 330px;
|
|
711
|
+
height: 330px;
|
|
712
|
+
transform: translateX(calc(100vw - 45px));
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
@media (width >= 60rem) {
|
|
717
|
+
@keyframes slideInFwd {
|
|
718
|
+
100% {
|
|
719
|
+
width: 460px;
|
|
720
|
+
height: 460px;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
@keyframes slideOutRight {
|
|
724
|
+
100% {
|
|
725
|
+
width: 460px;
|
|
726
|
+
height: 460px;
|
|
727
|
+
transform: translateX(calc(100vw - 45px));
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
@media (width >= 75rem) {
|
|
732
|
+
@keyframes slideInFwd {
|
|
733
|
+
100% {
|
|
734
|
+
width: 592px;
|
|
735
|
+
height: 591px;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
@keyframes slideOutRight {
|
|
739
|
+
100% {
|
|
740
|
+
width: 592px;
|
|
741
|
+
height: 591px;
|
|
742
|
+
transform: translateX(calc(100vw - 45px));
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
@media (width >= 87.5rem) {
|
|
747
|
+
@keyframes slideOutRight {
|
|
748
|
+
100% {
|
|
749
|
+
width: 592px;
|
|
750
|
+
height: 591px;
|
|
751
|
+
transform: translateX(calc(100vw - 120px));
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
@media (width >= 2200px) {
|
|
756
|
+
@keyframes slideOutRight {
|
|
757
|
+
100% {
|
|
758
|
+
width: 592px;
|
|
759
|
+
height: 591px;
|
|
760
|
+
transform: translateX(calc(100vw - 592px));
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
span.ripple {
|
|
765
|
+
position: absolute;
|
|
766
|
+
border-radius: 50%;
|
|
767
|
+
transform: scale(0);
|
|
768
|
+
animation: ripple 600ms linear;
|
|
769
|
+
background-color: var(--ripple-bg-color);
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
@keyframes ripple {
|
|
773
|
+
to {
|
|
774
|
+
transform: scale(4);
|
|
775
|
+
opacity: 1;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
:root {
|
|
779
|
+
--size-base-unit: 0.5rem;
|
|
780
|
+
--cre8-l-max-width: 82.5rem;
|
|
781
|
+
/* 1 */
|
|
782
|
+
--cre8-l-linelength-width: 42rem;
|
|
783
|
+
/* 1 */
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* RTL support for values logical properties can't automatically adjust for
|
|
788
|
+
* 1) Percentage based horizontal translate values need to be flipped
|
|
789
|
+
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
790
|
+
* 3) Inverse items that have 45degs
|
|
791
|
+
*/
|
|
792
|
+
[dir=rtl] {
|
|
793
|
+
--rtlTranslateX: 50%;
|
|
794
|
+
/* 1 */
|
|
795
|
+
--rtlGradientToRight: 270deg;
|
|
796
|
+
/* 2 */
|
|
797
|
+
--rtlRotate45Inverse: -45deg;
|
|
798
|
+
/* 3 */
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Visible focus outline for elements on a light background
|
|
803
|
+
*/
|
|
804
|
+
/**
|
|
805
|
+
* Visible focus outline for elements with an error status
|
|
806
|
+
*/
|
|
807
|
+
/**
|
|
808
|
+
* Visible focus outline for elements on a dark background
|
|
809
|
+
*/
|
|
810
|
+
/**
|
|
811
|
+
* Focus state for themes that need a dashed outline for focus
|
|
812
|
+
* state
|
|
813
|
+
**/
|
|
814
|
+
/**
|
|
815
|
+
* Invisible focus outline for elements that need a more visible
|
|
816
|
+
* focus state for high-contrast mode
|
|
817
|
+
*/
|
|
818
|
+
/**
|
|
819
|
+
* Visually hidden from display
|
|
820
|
+
*/
|
|
821
|
+
:host {
|
|
822
|
+
display: block;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Date Field Label
|
|
827
|
+
*/
|
|
828
|
+
.cre8-c-date-picker__label {
|
|
829
|
+
font-family: var(--cre8-typography-label-small-font-family);
|
|
830
|
+
font-size: var(--cre8-typography-label-small-font-size);
|
|
831
|
+
font-weight: var(--cre8-typography-label-small-font-weight);
|
|
832
|
+
line-height: var(--cre8-typography-label-small-line-height);
|
|
833
|
+
text-decoration: var(--cre8-typography-label-small-text-decoration);
|
|
834
|
+
text-transform: var(--cre8-typography-label-small-text-transform);
|
|
835
|
+
display: block;
|
|
836
|
+
margin-bottom: 0.5rem;
|
|
837
|
+
margin-left: var(--cre8-input-label-margin-left, 0px);
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Date Field Body
|
|
842
|
+
* 1) The div that contains the input and icons
|
|
843
|
+
*/
|
|
844
|
+
.cre8-c-date-picker__body {
|
|
845
|
+
position: relative;
|
|
846
|
+
display: flex;
|
|
847
|
+
align-items: center;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* Date Field Default Calendar Icon Button
|
|
852
|
+
* 1) Removes default calendar button and default calendar in Chrome
|
|
853
|
+
*/
|
|
854
|
+
input::-webkit-calendar-picker-indicator {
|
|
855
|
+
display: none;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
input[type=date]::-webkit-input-placeholder {
|
|
859
|
+
visibility: hidden !important;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.cre8-c-date-picker__calendar-icon-button {
|
|
863
|
+
position: absolute;
|
|
864
|
+
right: 0.5rem;
|
|
865
|
+
background: var(--cre8-color-bg-default);
|
|
866
|
+
border: none;
|
|
867
|
+
border-radius: 0;
|
|
868
|
+
--cre8-icon-height: size(3);
|
|
869
|
+
--cre8-icon-width: size(3);
|
|
870
|
+
}
|
|
871
|
+
.cre8-c-date-picker--disabled .cre8-c-date-picker__calendar-icon-button, .cre8-c-date-picker--read-only .cre8-c-date-picker__calendar-icon-button {
|
|
872
|
+
background: var(--cre8-color-bg-disabled);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* Date Field Input
|
|
877
|
+
* 1) The html5 input element
|
|
878
|
+
*/
|
|
879
|
+
.cre8-c-date-picker__input {
|
|
880
|
+
font-family: var(--cre8-typography-body-default-font-family);
|
|
881
|
+
font-size: var(--cre8-typography-body-default-font-size);
|
|
882
|
+
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
883
|
+
line-height: var(--cre8-typography-body-default-line-height);
|
|
884
|
+
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
885
|
+
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
886
|
+
outline: var(--cre8-border-width-focus) solid transparent;
|
|
887
|
+
outline-offset: 0.125rem;
|
|
888
|
+
--size-base-unit: .5rem;
|
|
889
|
+
-webkit-appearance: none;
|
|
890
|
+
width: 100%;
|
|
891
|
+
border-width: var(--cre8-border-width-default);
|
|
892
|
+
border-style: solid;
|
|
893
|
+
border-color: var(--cre8-color-border-strong);
|
|
894
|
+
border-radius: var(--cre8-border-radius-default);
|
|
895
|
+
padding: var(--cre8-input-padding, 0.75rem 0.5rem);
|
|
896
|
+
color: var(--cre8-color-content-default);
|
|
897
|
+
background-color: var(--cre8-color-bg-default);
|
|
898
|
+
transition: outline-color var(--cre8-anim-fade-quick) var(--cre8-anim-ease), border-color var(--cre8-anim-fade-quick) var(--cre8-anim-ease), background-color var(--cre8-anim-fade-quick) var(--cre8-anim-ease), color var(--cre8-anim-fade-quick) var(--cre8-anim-ease);
|
|
899
|
+
/**
|
|
900
|
+
* Hover, focus, active, and focus-visible styles for default input elements
|
|
901
|
+
*/
|
|
902
|
+
}
|
|
903
|
+
.cre8-c-date-picker__input:hover:not(:disabled), .cre8-c-date-picker__input:focus:not(:disabled), .cre8-c-date-picker__input:active:not(:disabled), .cre8-c-date-picker__input:focus-visible {
|
|
904
|
+
outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
|
|
905
|
+
outline-offset: 0.125rem;
|
|
906
|
+
/**
|
|
907
|
+
* Error state
|
|
908
|
+
*/
|
|
909
|
+
}
|
|
910
|
+
.cre8-is-error .cre8-c-date-picker__input:hover:not(:disabled), .cre8-is-error .cre8-c-date-picker__input:focus:not(:disabled), .cre8-is-error .cre8-c-date-picker__input:active:not(:disabled), .cre8-is-error .cre8-c-date-picker__input:focus-visible {
|
|
911
|
+
outline-color: var(--cre8-color-border-error);
|
|
912
|
+
}
|
|
913
|
+
.cre8-c-date-picker__input:hover:not(:disabled), .cre8-c-date-picker__input:focus:not(:disabled), .cre8-c-date-picker__input:active:not(:disabled), .cre8-c-date-picker__input:focus-visible {
|
|
914
|
+
/**
|
|
915
|
+
* Success state
|
|
916
|
+
*/
|
|
917
|
+
}
|
|
918
|
+
.cre8-is-success .cre8-c-date-picker__input:hover:not(:disabled), .cre8-is-success .cre8-c-date-picker__input:focus:not(:disabled), .cre8-is-success .cre8-c-date-picker__input:active:not(:disabled), .cre8-is-success .cre8-c-date-picker__input:focus-visible {
|
|
919
|
+
outline-color: var(--cre8-color-border-success);
|
|
920
|
+
}
|
|
921
|
+
.cre8-c-date-picker__input {
|
|
922
|
+
/**
|
|
923
|
+
* Disabled styles for default input elements
|
|
924
|
+
*/
|
|
925
|
+
}
|
|
926
|
+
.cre8-c-date-picker__input:disabled {
|
|
927
|
+
background-color: var(--cre8-color-bg-disabled);
|
|
928
|
+
border-color: var(--cre8-color-border-disabled);
|
|
929
|
+
color: var(--cre8-color-content-disabled);
|
|
930
|
+
cursor: not-allowed;
|
|
931
|
+
/**
|
|
932
|
+
* Disabled text colors
|
|
933
|
+
*/
|
|
934
|
+
}
|
|
935
|
+
.cre8-c-date-picker__input:disabled::placeholder {
|
|
936
|
+
color: var(--cre8-color-content-disabled);
|
|
937
|
+
}
|
|
938
|
+
.cre8-c-date-picker__input {
|
|
939
|
+
/**
|
|
940
|
+
* Placeholder styles for default input elements
|
|
941
|
+
*/
|
|
942
|
+
}
|
|
943
|
+
.cre8-c-date-picker__input::placeholder {
|
|
944
|
+
color: var(--cre8-color-content-subtle);
|
|
945
|
+
}
|
|
946
|
+
.cre8-c-date-picker__input {
|
|
947
|
+
/**
|
|
948
|
+
* Error state for default input elements
|
|
949
|
+
*/
|
|
950
|
+
}
|
|
951
|
+
.cre8-is-error .cre8-c-date-picker__input {
|
|
952
|
+
border-color: var(--cre8-color-border-error);
|
|
953
|
+
}
|
|
954
|
+
.cre8-c-date-picker__input {
|
|
955
|
+
/**
|
|
956
|
+
* Success state for default input elements
|
|
957
|
+
*/
|
|
958
|
+
}
|
|
959
|
+
.cre8-is-success .cre8-c-date-picker__input {
|
|
960
|
+
border-color: var(--cre8-color-border-success);
|
|
961
|
+
}
|
|
962
|
+
.cre8-c-date-picker__input {
|
|
963
|
+
/**
|
|
964
|
+
* Readonly input styles
|
|
965
|
+
*/
|
|
966
|
+
}
|
|
967
|
+
.cre8-c-date-picker__input:read-only {
|
|
968
|
+
background-color: var(--cre8-color-bg-disabled);
|
|
969
|
+
border-color: var(--cre8-color-border-disabled);
|
|
970
|
+
cursor: default;
|
|
971
|
+
}`,U=x`.cre8-u-content-knockout-brand {
|
|
972
|
+
color: var(----cre8-color-content-knockout-brand);
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.cre8-u-is-hidden {
|
|
976
|
+
display: none !important;
|
|
977
|
+
visibility: hidden !important;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.cre8-u-is-vishidden {
|
|
981
|
+
position: absolute !important;
|
|
982
|
+
overflow: hidden;
|
|
983
|
+
width: 1px;
|
|
984
|
+
height: 1px;
|
|
985
|
+
padding: 0;
|
|
986
|
+
border: 0;
|
|
987
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
@media all and (min-width: 23.4375rem) {
|
|
991
|
+
.cre8-u-hide-sm {
|
|
992
|
+
display: none !important;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
@media all and (min-width: 35rem) {
|
|
996
|
+
.cre8-u-hide-sm-2 {
|
|
997
|
+
display: none !important;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
@media all and (min-width: 48rem) {
|
|
1001
|
+
.cre8-u-hide-md {
|
|
1002
|
+
display: none !important;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
@media all and (min-width: 60rem) {
|
|
1006
|
+
.cre8-u-hide-lg {
|
|
1007
|
+
display: none !important;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
@media all and (min-width: 75rem) {
|
|
1011
|
+
.cre8-u-hide-xl {
|
|
1012
|
+
display: none !important;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
@media all and (max-width: 23.4375rem) {
|
|
1016
|
+
.cre8-u-show-sm {
|
|
1017
|
+
display: none !important;
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
@media all and (max-width: 35rem) {
|
|
1021
|
+
.cre8-u-show-sm-2 {
|
|
1022
|
+
display: none !important;
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
@media all and (max-width: 48rem) {
|
|
1026
|
+
.cre8-u-show-md {
|
|
1027
|
+
display: none !important;
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
@media all and (max-width: 60rem) {
|
|
1031
|
+
.cre8-u-show-lg {
|
|
1032
|
+
display: none !important;
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
@media all and (max-width: 75rem) {
|
|
1036
|
+
.cre8-u-show-xl {
|
|
1037
|
+
display: none !important;
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
.cre8-u-margin-none {
|
|
1041
|
+
margin: 0 !important;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.cre8-u-margin-sm {
|
|
1045
|
+
margin: size(1) !important;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.cre8-u-margin-md {
|
|
1049
|
+
margin: size(2) !important;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.cre8-u-margin-lg {
|
|
1053
|
+
margin: size(3) !important;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
.cre8-u-margin-xl {
|
|
1057
|
+
margin: size(4) !important;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.cre8-u-margin-xxl {
|
|
1061
|
+
margin: size(8) !important;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.cre8-u-margin-top-none {
|
|
1065
|
+
margin-top: 0 !important;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.cre8-u-margin-top-sm {
|
|
1069
|
+
margin-top: size(1) !important;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
.cre8-u-margin-top-md {
|
|
1073
|
+
margin-top: size(2) !important;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.cre8-u-margin-top-lg {
|
|
1077
|
+
margin-top: size(3) !important;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.cre8-u-margin-top-xl {
|
|
1081
|
+
margin-top: size(4) !important;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.cre8-u-margin-top-xxl {
|
|
1085
|
+
margin-top: size(8) !important;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
.cre8-u-margin-right-none {
|
|
1089
|
+
margin-right: 0 !important;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.cre8-u-margin-right-sm {
|
|
1093
|
+
margin-right: size(1) !important;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
.cre8-u-margin-right-md {
|
|
1097
|
+
margin-right: size(2) !important;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
.cre8-u-margin-right-lg {
|
|
1101
|
+
margin-right: size(3) !important;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.cre8-u-margin-right-xl {
|
|
1105
|
+
margin-right: size(4) !important;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.cre8-u-margin-right-xxl {
|
|
1109
|
+
margin-right: size(8) !important;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.cre8-u-margin-bottom-none {
|
|
1113
|
+
margin-bottom: 0 !important;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.cre8-u-margin-bottom-sm {
|
|
1117
|
+
margin-bottom: size(1) !important;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.cre8-u-margin-bottom-md {
|
|
1121
|
+
margin-bottom: size(2) !important;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
.cre8-u-margin-bottom-lg {
|
|
1125
|
+
margin-bottom: size(3) !important;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.cre8-u-margin-bottom-xl {
|
|
1129
|
+
margin-bottom: size(4) !important;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.cre8-u-margin-bottom-xxl {
|
|
1133
|
+
margin-bottom: size(8) !important;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.cre8-u-margin-bottom-xl-xxl {
|
|
1137
|
+
margin-bottom: size(4) !important;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
@media all and (min-width: 768px) {
|
|
1141
|
+
.cre8-u-margin-bottom-xl-xxl {
|
|
1142
|
+
margin-bottom: size(8) !important;
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
.cre8-u-margin-left-none {
|
|
1146
|
+
margin-left: 0 !important;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
.cre8-u-margin-left-sm {
|
|
1150
|
+
margin-left: size(1) !important;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
.cre8-u-margin-left-md {
|
|
1154
|
+
margin-left: size(2) !important;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
.cre8-u-margin-left-lg {
|
|
1158
|
+
margin-left: size(3) !important;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.cre8-u-margin-left-xl {
|
|
1162
|
+
margin-left: size(4) !important;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.cre8-u-margin-left-xxl {
|
|
1166
|
+
margin-left: size(8) !important;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.cre8-u-padding-none {
|
|
1170
|
+
padding: 0 !important;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
.cre8-u-padding-sm {
|
|
1174
|
+
padding: size(1) !important;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.cre8-u-padding-md {
|
|
1178
|
+
padding: size(2) !important;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.cre8-u-padding-lg {
|
|
1182
|
+
padding: size(3) !important;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.cre8-u-padding-xl {
|
|
1186
|
+
padding: size(4) !important;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
.cre8-u-padding-xxl {
|
|
1190
|
+
padding: size(8) !important;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.cre8-u-padding-top-none {
|
|
1194
|
+
padding-top: 0 !important;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.cre8-u-padding-top-sm {
|
|
1198
|
+
padding-top: size(1) !important;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.cre8-u-padding-top-md {
|
|
1202
|
+
padding-top: size(2) !important;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.cre8-u-padding-top-lg {
|
|
1206
|
+
padding-top: size(3) !important;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.cre8-u-padding-top-xl {
|
|
1210
|
+
padding-top: size(4) !important;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
.cre8-u-padding-top-xxl {
|
|
1214
|
+
padding-top: size(8) !important;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
.cre8-u-padding-right-none {
|
|
1218
|
+
padding-right: 0 !important;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.cre8-u-padding-right-sm {
|
|
1222
|
+
padding-right: size(1) !important;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.cre8-u-padding-right-md {
|
|
1226
|
+
padding-right: size(2) !important;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.cre8-u-padding-right-lg {
|
|
1230
|
+
padding-right: size(3) !important;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.cre8-u-padding-right-xl {
|
|
1234
|
+
padding-right: size(4) !important;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
.cre8-u-padding-right-xxl {
|
|
1238
|
+
padding-right: size(8) !important;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.cre8-u-padding-bottom-none {
|
|
1242
|
+
padding-bottom: 0 !important;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
.cre8-u-padding-bottom-sm {
|
|
1246
|
+
padding-bottom: size(1) !important;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.cre8-u-padding-bottom-md {
|
|
1250
|
+
padding-bottom: size(2) !important;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
.cre8-u-padding-bottom-lg {
|
|
1254
|
+
padding-bottom: size(3) !important;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
.cre8-u-padding-bottom-xl {
|
|
1258
|
+
padding-bottom: size(4) !important;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
.cre8-u-padding-bottom-xxl {
|
|
1262
|
+
padding-bottom: size(8) !important;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
.cre8-u-padding-left-none {
|
|
1266
|
+
padding-left: 0 !important;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.cre8-u-padding-left-sm {
|
|
1270
|
+
padding-left: size(1) !important;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
.cre8-u-padding-left-md {
|
|
1274
|
+
padding-left: size(2) !important;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
.cre8-u-padding-left-lg {
|
|
1278
|
+
padding-left: size(3) !important;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
.cre8-u-padding-left-xl {
|
|
1282
|
+
padding-left: size(4) !important;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
.cre8-u-padding-left-xxl {
|
|
1286
|
+
padding-left: size(8) !important;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
.cre8-u-display-flex {
|
|
1290
|
+
display: flex !important;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
.cre8-u-display-block {
|
|
1294
|
+
display: block !important;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
body {
|
|
1298
|
+
font-family: var(--cre8-typography-body-default-font-family);
|
|
1299
|
+
font-size: var(--cre8-typography-body-default-font-size);
|
|
1300
|
+
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
1301
|
+
line-height: var(--cre8-typography-body-default-line-height);
|
|
1302
|
+
-webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
1303
|
+
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
1304
|
+
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
1305
|
+
display: flex;
|
|
1306
|
+
flex-direction: column;
|
|
1307
|
+
padding: 0;
|
|
1308
|
+
margin: 0;
|
|
1309
|
+
color: var(--cre8-color-content-default);
|
|
1310
|
+
background: var(--background-default);
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
@media all and (min-width: 60rem) {
|
|
1314
|
+
.page-container {
|
|
1315
|
+
background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
.band__inner {
|
|
1319
|
+
margin-left: 2rem;
|
|
1320
|
+
margin-right: 2rem;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
@media all and (min-width: 60rem) {
|
|
1324
|
+
.band__inner {
|
|
1325
|
+
margin-right: 0;
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
img {
|
|
1329
|
+
max-width: 100%;
|
|
1330
|
+
height: auto;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
1335
|
+
*/
|
|
1336
|
+
*,
|
|
1337
|
+
::slotted(*),
|
|
1338
|
+
*:before,
|
|
1339
|
+
*:after {
|
|
1340
|
+
box-sizing: border-box;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
:root {
|
|
1344
|
+
--size-base-unit: 0.5rem;
|
|
1345
|
+
--cre8-l-max-width: 82.5rem;
|
|
1346
|
+
/* 1 */
|
|
1347
|
+
--cre8-l-linelength-width: 42rem;
|
|
1348
|
+
/* 1 */
|
|
375
1349
|
}
|
|
376
1350
|
|
|
377
1351
|
/**
|
|
@@ -544,6 +1518,10 @@ span.ripple {
|
|
|
544
1518
|
}
|
|
545
1519
|
:root {
|
|
546
1520
|
--size-base-unit: 0.5rem;
|
|
1521
|
+
--cre8-l-max-width: 82.5rem;
|
|
1522
|
+
/* 1 */
|
|
1523
|
+
--cre8-l-linelength-width: 42rem;
|
|
1524
|
+
/* 1 */
|
|
547
1525
|
}
|
|
548
1526
|
|
|
549
1527
|
/**
|
|
@@ -584,7 +1562,7 @@ span.ripple {
|
|
|
584
1562
|
.cre8-c-calendar {
|
|
585
1563
|
min-width: 340px;
|
|
586
1564
|
border: var(--cre8-color-border-strong);
|
|
587
|
-
border-radius: var(--cre8-border-radius-
|
|
1565
|
+
border-radius: var(--cre8-border-radius-container);
|
|
588
1566
|
border-width: var(--cre8-border-width-default);
|
|
589
1567
|
border-style: var(--cre8-border-style-default);
|
|
590
1568
|
margin-top: 0.25rem;
|
|
@@ -683,7 +1661,7 @@ td {
|
|
|
683
1661
|
}
|
|
684
1662
|
.cre8-c-calendar__day-button[data-selected]:hover, .cre8-c-calendar__day-button[data-selected]:focus {
|
|
685
1663
|
background: var(--cre8-color-bg-brand-strong-hover);
|
|
686
|
-
}`,
|
|
1664
|
+
}`,G=x`.cre8-u-content-knockout-brand {
|
|
687
1665
|
color: var(----cre8-color-content-knockout-brand);
|
|
688
1666
|
}
|
|
689
1667
|
|
|
@@ -1057,6 +2035,10 @@ img {
|
|
|
1057
2035
|
|
|
1058
2036
|
:root {
|
|
1059
2037
|
--size-base-unit: 0.5rem;
|
|
2038
|
+
--cre8-l-max-width: 82.5rem;
|
|
2039
|
+
/* 1 */
|
|
2040
|
+
--cre8-l-linelength-width: 42rem;
|
|
2041
|
+
/* 1 */
|
|
1060
2042
|
}
|
|
1061
2043
|
|
|
1062
2044
|
/**
|
|
@@ -1229,6 +2211,10 @@ span.ripple {
|
|
|
1229
2211
|
}
|
|
1230
2212
|
:root {
|
|
1231
2213
|
--size-base-unit: 0.5rem;
|
|
2214
|
+
--cre8-l-max-width: 82.5rem;
|
|
2215
|
+
/* 1 */
|
|
2216
|
+
--cre8-l-linelength-width: 42rem;
|
|
2217
|
+
/* 1 */
|
|
1232
2218
|
}
|
|
1233
2219
|
|
|
1234
2220
|
/**
|
|
@@ -1289,14 +2275,14 @@ ol {
|
|
|
1289
2275
|
li {
|
|
1290
2276
|
display: inline-flex;
|
|
1291
2277
|
justify-content: center;
|
|
1292
|
-
}`;var
|
|
1293
|
-
<cre8-button text="${
|
|
1294
|
-
@click="${()=>this.emitMonth(
|
|
1295
|
-
</li>`)}render(){const
|
|
2278
|
+
}`;var K=Object.defineProperty,Y=(d,e,t,a)=>{for(var r=void 0,i=d.length-1,n;i>=0;i--)(n=d[i])&&(r=n(e,t,r)||r);return r&&K(e,t,r),r};const F=class F extends I{constructor(){super(),this.monthNames=["January","February","March","April","May","June","July","August","September","October","November","December"]}firstUpdated(){this.focusOnCurrentMonth()}async focusOnCurrentMonth(){await this.updateComplete,(this.shadowRoot?.querySelector("li[data-current-month]").children[0].shadowRoot?.querySelector("button")).focus()}emitMonth(e){const t=new CustomEvent("changeMonth",{detail:{month:e}});this.dispatchEvent(t)}getMonthListItems(){return this.monthNames.map((e,t)=>s` <li ?data-current-month="${t===this.currentMonth}" >
|
|
2279
|
+
<cre8-button text="${e}" variant="tertiary" size="sm"
|
|
2280
|
+
@click="${()=>this.emitMonth(t)}"></cre8-button>
|
|
2281
|
+
</li>`)}render(){const e=this.componentClassNames("cre8-c-calendar-month-modal",{});return s` <div class="${e}">
|
|
1296
2282
|
<ol aria-label="choose a month">
|
|
1297
2283
|
${this.getMonthListItems()}
|
|
1298
2284
|
</ol>
|
|
1299
|
-
</div> `}};
|
|
2285
|
+
</div> `}};F.styles=[G];let b=F;Y([c()],b.prototype,"monthNames");Y([p({reflect:!0,type:Number})],b.prototype,"currentMonth");customElements.get("cre8-calendar-month-modal")===void 0&&customElements.define("cre8-calendar-month-modal",b);const W=x`.cre8-u-content-knockout-brand {
|
|
1300
2286
|
color: var(----cre8-color-content-knockout-brand);
|
|
1301
2287
|
}
|
|
1302
2288
|
|
|
@@ -1670,6 +2656,10 @@ img {
|
|
|
1670
2656
|
|
|
1671
2657
|
:root {
|
|
1672
2658
|
--size-base-unit: 0.5rem;
|
|
2659
|
+
--cre8-l-max-width: 82.5rem;
|
|
2660
|
+
/* 1 */
|
|
2661
|
+
--cre8-l-linelength-width: 42rem;
|
|
2662
|
+
/* 1 */
|
|
1673
2663
|
}
|
|
1674
2664
|
|
|
1675
2665
|
/**
|
|
@@ -1842,6 +2832,10 @@ span.ripple {
|
|
|
1842
2832
|
}
|
|
1843
2833
|
:root {
|
|
1844
2834
|
--size-base-unit: 0.5rem;
|
|
2835
|
+
--cre8-l-max-width: 82.5rem;
|
|
2836
|
+
/* 1 */
|
|
2837
|
+
--cre8-l-linelength-width: 42rem;
|
|
2838
|
+
/* 1 */
|
|
1845
2839
|
}
|
|
1846
2840
|
|
|
1847
2841
|
/**
|
|
@@ -1909,17 +2903,17 @@ li {
|
|
|
1909
2903
|
|
|
1910
2904
|
cre8-button {
|
|
1911
2905
|
height: fit-content;
|
|
1912
|
-
}`;var
|
|
1913
|
-
?data-current-year="${
|
|
2906
|
+
}`;var J=Object.defineProperty,H=Object.getOwnPropertyDescriptor,R=(d,e,t,a)=>{for(var r=a>1?void 0:a?H(e,t):e,i=d.length-1,n;i>=0;i--)(n=d[i])&&(r=(a?n(e,t,r):n(r))||r);return a&&r&&J(e,t,r),r};const C=class C extends I{get currentYear(){return this._currentYear}set currentYear(e){const t=this._currentYear;this._currentYear=e,this.modalAnchorYear=e,this.requestUpdate("currentDate",t),this.createYearArray(this.currentYear)}constructor(){super(),this.yearNumbers=[]}emitYear(e){const t=new CustomEvent("changeYear",{detail:{year:e}});this.dispatchEvent(t)}createYearArray(e){const t=Array.from(Array(12).keys());this.yearNumbers=t.map(a=>a+(e-7))}getYearListItems(){return this.yearNumbers.map((e=>s` <li
|
|
2907
|
+
?data-current-year="${e===this.currentYear}"
|
|
1914
2908
|
>
|
|
1915
2909
|
<cre8-button
|
|
1916
|
-
text="${
|
|
2910
|
+
text="${e}"
|
|
1917
2911
|
variant="tertiary"
|
|
1918
2912
|
size="sm"
|
|
1919
|
-
@click="${()=>this.emitYear(
|
|
2913
|
+
@click="${()=>this.emitYear(e)}"
|
|
1920
2914
|
></cre8-button>
|
|
1921
|
-
</li>`))}firstUpdated(){this.focusOnCurrentYear()}async focusOnCurrentYear(){await this.updateComplete,(this.shadowRoot?.querySelector("li[data-current-year]").children[0].shadowRoot?.querySelector("button")).focus()}previousYearArray(){this.modalAnchorYear-=12,this.createYearArray(this.modalAnchorYear)}nextYearArray(){this.modalAnchorYear+=12,this.createYearArray(this.modalAnchorYear)}render(){const
|
|
1922
|
-
<div class="${
|
|
2915
|
+
</li>`))}firstUpdated(){this.focusOnCurrentYear()}async focusOnCurrentYear(){await this.updateComplete,(this.shadowRoot?.querySelector("li[data-current-year]").children[0].shadowRoot?.querySelector("button")).focus()}previousYearArray(){this.modalAnchorYear-=12,this.createYearArray(this.modalAnchorYear)}nextYearArray(){this.modalAnchorYear+=12,this.createYearArray(this.modalAnchorYear)}render(){const e=this.componentClassNames("cre8-c-calendar-year-modal",{});return s`
|
|
2916
|
+
<div class="${e}">
|
|
1923
2917
|
<cre8-button
|
|
1924
2918
|
class="cre8-c-calendar-year-modal__nav-button"
|
|
1925
2919
|
@click="${this.previousYearArray}"
|
|
@@ -1940,7 +2934,7 @@ cre8-button {
|
|
|
1940
2934
|
iconName="keyboard-arrow-right"
|
|
1941
2935
|
></cre8-button>
|
|
1942
2936
|
</div>
|
|
1943
|
-
`}};C.styles=[
|
|
2937
|
+
`}};C.styles=[W];let g=C;R([c()],g.prototype,"yearNumbers",2);R([c()],g.prototype,"_currentYear",2);R([c()],g.prototype,"modalAnchorYear",2);R([p({reflect:!0,type:Number})],g.prototype,"currentYear",1);customElements.get("cre8-calendar-year-modal")===void 0&&customElements.define("cre8-calendar-year-modal",g);const Q=x`.cre8-u-content-knockout-brand {
|
|
1944
2938
|
color: var(----cre8-color-content-knockout-brand);
|
|
1945
2939
|
}
|
|
1946
2940
|
|
|
@@ -2314,6 +3308,10 @@ img {
|
|
|
2314
3308
|
|
|
2315
3309
|
:root {
|
|
2316
3310
|
--size-base-unit: 0.5rem;
|
|
3311
|
+
--cre8-l-max-width: 82.5rem;
|
|
3312
|
+
/* 1 */
|
|
3313
|
+
--cre8-l-linelength-width: 42rem;
|
|
3314
|
+
/* 1 */
|
|
2317
3315
|
}
|
|
2318
3316
|
|
|
2319
3317
|
/**
|
|
@@ -2486,6 +3484,10 @@ span.ripple {
|
|
|
2486
3484
|
}
|
|
2487
3485
|
:root {
|
|
2488
3486
|
--size-base-unit: 0.5rem;
|
|
3487
|
+
--cre8-l-max-width: 82.5rem;
|
|
3488
|
+
/* 1 */
|
|
3489
|
+
--cre8-l-linelength-width: 42rem;
|
|
3490
|
+
/* 1 */
|
|
2489
3491
|
}
|
|
2490
3492
|
|
|
2491
3493
|
/**
|
|
@@ -2534,8 +3536,8 @@ span.ripple {
|
|
|
2534
3536
|
display: flex;
|
|
2535
3537
|
min-width: 188px;
|
|
2536
3538
|
justify-content: space-around;
|
|
2537
|
-
}`;var
|
|
2538
|
-
<div class="${
|
|
3539
|
+
}`;var Z=Object.defineProperty,N=(d,e,t,a)=>{for(var r=void 0,i=d.length-1,n;i>=0;i--)(n=d[i])&&(r=n(e,t,r)||r);return r&&Z(e,t,r),r};const M=class M extends I{activateModal(e){const t=new CustomEvent("activateModal",{detail:{modal:e}});this.dispatchEvent(t)}changeMonth(e){const t=new CustomEvent("changeMonth",{detail:{addend:e}});this.dispatchEvent(t)}changeYear(e){const t=new CustomEvent("changeYear",{detail:{addend:e}});this.dispatchEvent(t)}render(){const e=this.componentClassNames("cre8-c-calendar-navigation",{});return s`
|
|
3540
|
+
<div class="${e}">
|
|
2539
3541
|
<cre8-button
|
|
2540
3542
|
variant="tertiary"
|
|
2541
3543
|
text="Previous year"
|
|
@@ -2588,33 +3590,33 @@ span.ripple {
|
|
|
2588
3590
|
@click="${()=>this.changeYear(1)}"
|
|
2589
3591
|
></cre8-button>
|
|
2590
3592
|
</div>
|
|
2591
|
-
`}};
|
|
2592
|
-
<span aria-label="${
|
|
2593
|
-
</td>`)}getPreviousMonthDayButtons(){return[...Array(new Date(this.getYear(),this.getMonth(),1).getDay()).keys()].map(
|
|
3593
|
+
`}};M.styles=[Q];let y=M;N([p({type:String,reflect:!0})],y.prototype,"monthName");N([p({type:String,reflect:!0})],y.prototype,"year");customElements.get("cre8-calendar-navigation")===void 0&&customElements.define("cre8-calendar-navigation",y);var ee=Object.defineProperty,te=Object.getOwnPropertyDescriptor,m=(d,e,t,a)=>{for(var r=a>1?void 0:a?te(e,t):e,i=d.length-1,n;i>=0;i--)(n=d[i])&&(r=(a?n(e,t,r):n(r))||r);return a&&r&&ee(e,t,r),r},o;const l=(o=class extends I{constructor(){super(),this._activeModal="none",this._handleOnClickOutside=this._handleOnClickOutside.bind(this),this.currentDate=(this.fieldDate&&new Date(`${this.fieldDate}T00:00`))??new Date,this.locale=document.documentElement.getAttribute("lang")||"en-US",this.dateConfig={locale:this.locale,today:new Date,weekInfo:{firstDay:7,weekend:[6,7]}},this.weekDays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],this.dateFormatOptions={weekday:"long",year:"numeric",month:"long",day:"numeric"}}get activeModal(){return this._activeModal}set activeModal(e){this._activeModal=e}get fieldDate(){return this._fieldDate}set fieldDate(e){const t=this._fieldDate;this.requestUpdate("fieldDate",t);const a=!!(e&&new Date(`${e}T00:00`).getTime());this.currentDate=a?new Date(`${e}T00:00`):new Date,this._fieldDate=a?e:""}get currentDate(){return this._currentDate}set currentDate(e){const t=this._currentDate;this._currentDate=e,this.requestUpdate("currentDate",t)}connectedCallback(){super.connectedCallback(),window.addEventListener("click",this._handleOnClickOutside,!1)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("click",this._handleOnClickOutside,!1)}_handleOnClickOutside(e){if(!this.shadowRoot?.host)throw Error("Could not determine navigation context during click handler");if(!e.composedPath().includes(this.shadowRoot.host)){const a=new CustomEvent("outsideClick",{detail:{composedPath:e.composedPath()}});this.dispatchEvent(a)}}emitSelectedDate(e){const t=new CustomEvent("dateSelect",{detail:{date:e}});this.currentDate=new Date(`${e}T00:00`),this.dispatchEvent(t)}changeYear(e){const t=this.currentDate,a=new Date(t.setFullYear(e));this.currentDate=a,this.activeModal="none"}changeMonth(e){const t=this.currentDate,a=new Date(t.setMonth(e));this.currentDate=a,this.activeModal="none"}activateModal(e){this.activeModal=e}static formatMonthOrDayIndex(e){return(e+1).toString().padStart(2,"0")}static formatDate(e){return e.toString().padStart(2,"0")}numberOfDaysinMonth(){return new Date(this.getYear(),this.getMonth()+1,0).getDate()}getMonth(){return this.currentDate.getMonth()}getMonthName(){return new Intl.DateTimeFormat(this.locale,{month:"long"}).format(this.currentDate)}getYear(){return this.currentDate.getFullYear()}static dateToString(e){return`${e.getFullYear()}-${o.formatMonthOrDayIndex(e.getMonth())}-${o.formatDate(e.getDate())}`}async updateFocusForKeydown(e){this.currentDate=e,await this.updateComplete;const t=this.shadowRoot?.querySelector(`button[datetime="${o.dateToString(e)}"]`);t.setAttribute("tabindex","0"),t.focus()}_handleCalendarKeyDown(e){const t=this.shadowRoot?.querySelector(`button[datetime="${o.dateToString(this.currentDate)}"]`);if(e.key==="ArrowUp"){const a=new Date(this.getYear(),this.getMonth(),this.currentDate.getDate()-7);this.updateFocusForKeydown(a),t.setAttribute("tabindex","-1")}if(e.key==="ArrowDown"){const a=new Date(this.getYear(),this.getMonth(),this.currentDate.getDate()+7);this.updateFocusForKeydown(a),t.setAttribute("tabindex","-1")}if(e.key==="ArrowLeft"){const a=new Date(this.getYear(),this.getMonth(),this.currentDate.getDate()-1);this.updateFocusForKeydown(a),t.setAttribute("tabindex","-1")}if(e.key==="ArrowRight"){const a=new Date(this.getYear(),this.getMonth(),this.currentDate.getDate()+1);this.updateFocusForKeydown(a),t.setAttribute("tabindex","-1")}if(e.key==="Tab"&&!e.shiftKey){const a=new CustomEvent("outsideClick",{detail:{composedPath:[]}});setTimeout(()=>{this.dispatchEvent(a)},20)}}async changeMonthFromNav(e){this.changeMonth(e),await this.updateComplete;const a=(this.shadowRoot?.querySelector("cre8-calendar-navigation")).shadowRoot?.querySelector(".cre8-c-calendar-navigation__month-modal-button");await this.updateComplete,a.shadowRoot.querySelector("button").focus()}async changeYearFromNav(e){this.changeYear(e),await this.updateComplete;const a=(this.shadowRoot?.querySelector("cre8-calendar-navigation")).shadowRoot?.querySelector(".cre8-c-calendar-navigation__year-modal-button");await this.updateComplete,a.shadowRoot.querySelector("button").focus()}getDaysOfWeekAbbreviations(){return this.weekDays.map(e=>s` <td>
|
|
3594
|
+
<span aria-label="${e}">${e[0]}</span>
|
|
3595
|
+
</td>`)}getPreviousMonthDayButtons(){return[...Array(new Date(this.getYear(),this.getMonth(),1).getDay()).keys()].map(e=>{const t=new Date(this.getYear(),this.getMonth(),1).getDay(),a=new Date(this.getYear(),this.getMonth(),0),r=a.getDate(),i=new Date(a.getFullYear(),a.getMonth(),r-t+(e+1)),n=this.dateConfig.today.getDate()===i.getDate()&&this.dateConfig.today.getMonth()===i.getMonth()&&this.dateConfig.today.getFullYear()===i.getFullYear(),V=new Date(`${this.fieldDate}T00:00`).getTime()===i.getTime();return s` <td>
|
|
2594
3596
|
<button
|
|
2595
3597
|
class="cre8-c-calendar__day-button cre8-c-calendar__different-month"
|
|
2596
3598
|
datetime="${o.dateToString(i)}"
|
|
2597
3599
|
?data-today="${n}"
|
|
2598
|
-
?data-selected="${
|
|
3600
|
+
?data-selected="${V}"
|
|
2599
3601
|
tabindex="-1"
|
|
2600
3602
|
aria-label="${new Intl.DateTimeFormat(this.locale,{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(new Date(`${o.dateToString(i)}T00:00`))}"
|
|
2601
3603
|
@click="${()=>this.emitSelectedDate(o.dateToString(i))}"
|
|
2602
3604
|
>
|
|
2603
3605
|
${new Intl.NumberFormat(this.locale).format(i.getDate())}
|
|
2604
3606
|
</button>
|
|
2605
|
-
</td>`})}getCurrentMonthDayButtons(){return[...Array(this.numberOfDaysinMonth()).keys()].map(
|
|
3607
|
+
</td>`})}getCurrentMonthDayButtons(){return[...Array(this.numberOfDaysinMonth()).keys()].map(e=>{const t=e+1,a=new Date(this.getYear(),this.getMonth(),t),r=this.dateConfig.today.getDate()===t&&this.dateConfig.today.getMonth()===this.getMonth()&&this.dateConfig.today.getFullYear()===this.getYear(),i=new Date(`${this.fieldDate}T00:00`).getTime()===a.getTime();return s` <td>
|
|
2606
3608
|
<button
|
|
2607
3609
|
class="cre8-c-calendar__day-button"
|
|
2608
3610
|
datetime="${o.dateToString(a)}"
|
|
2609
3611
|
?data-today="${r}"
|
|
2610
3612
|
?data-selected="${i}"
|
|
2611
|
-
tabindex="${
|
|
3613
|
+
tabindex="${t===this.currentDate.getDate()?"0":"-1"}"
|
|
2612
3614
|
aria-label="${new Intl.DateTimeFormat(this.locale,{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(new Date(`${o.dateToString(a)}T00:00`))}"
|
|
2613
3615
|
@click="${()=>this.emitSelectedDate(o.dateToString(a))}"
|
|
2614
3616
|
>
|
|
2615
|
-
${new Intl.NumberFormat(this.locale).format(
|
|
3617
|
+
${new Intl.NumberFormat(this.locale).format(e+1)}
|
|
2616
3618
|
</button>
|
|
2617
|
-
</td>`})}getNextMonthDayButtons(){return[...Array(6-new Date(this.getYear(),this.getMonth(),this.numberOfDaysinMonth()).getDay()).keys()].map(
|
|
3619
|
+
</td>`})}getNextMonthDayButtons(){return[...Array(6-new Date(this.getYear(),this.getMonth(),this.numberOfDaysinMonth()).getDay()).keys()].map(e=>{const t=new Date(this.getYear(),this.getMonth(),this.numberOfDaysinMonth()),a=new Date(t.setDate(t.getDate()+1)),r=new Date(a.getFullYear(),a.getMonth(),e+1),i=this.dateConfig.today.getDate()===r.getDate()&&this.dateConfig.today.getMonth()===r.getMonth()&&this.dateConfig.today.getFullYear()===r.getFullYear(),n=new Date(`${this.fieldDate}T00:00`).getTime()===r.getTime();return s` <td>
|
|
2618
3620
|
<button
|
|
2619
3621
|
class="cre8-c-calendar__day-button cre8-c-calendar__different-month"
|
|
2620
3622
|
datetime="${o.dateToString(r)}"
|
|
@@ -2626,14 +3628,14 @@ span.ripple {
|
|
|
2626
3628
|
>
|
|
2627
3629
|
${new Intl.NumberFormat(this.locale).format(r.getDate())}
|
|
2628
3630
|
</button>
|
|
2629
|
-
</td>`})}render(){const
|
|
3631
|
+
</td>`})}render(){const e=this.componentClassNames("cre8-c-calendar",{});return s` <div class="${e}">
|
|
2630
3632
|
${this._activeModal==="month"?s`<cre8-calendar-month-modal
|
|
2631
3633
|
currentMonth="${this.getMonth()}"
|
|
2632
|
-
@changeMonth="${
|
|
3634
|
+
@changeMonth="${t=>this.changeMonthFromNav(t.detail.month)}"
|
|
2633
3635
|
></cre8-calendar-month-modal>`:f}
|
|
2634
3636
|
${this._activeModal==="year"?s`<cre8-calendar-year-modal
|
|
2635
3637
|
currentYear="${this.getYear()}"
|
|
2636
|
-
@changeYear="${
|
|
3638
|
+
@changeYear="${t=>this.changeYearFromNav(t.detail.year)}"
|
|
2637
3639
|
></cre8-calendar-year-modal>`:f}
|
|
2638
3640
|
${this._activeModal==="none"?s` ${this.hasShortcuts?s`<div class="cre8-c-calendar__header-shortcuts">
|
|
2639
3641
|
<cre8-button
|
|
@@ -2658,9 +3660,9 @@ span.ripple {
|
|
|
2658
3660
|
<cre8-calendar-navigation
|
|
2659
3661
|
monthName="${this.getMonthName()}"
|
|
2660
3662
|
year="${this.getYear()}"
|
|
2661
|
-
@activateModal="${
|
|
2662
|
-
@changeMonth="${
|
|
2663
|
-
@changeYear="${
|
|
3663
|
+
@activateModal="${t=>this.activateModal(t.detail.modal)}"
|
|
3664
|
+
@changeMonth="${t=>this.changeMonth(this.getMonth()+t.detail.addend)}"
|
|
3665
|
+
@changeYear="${t=>this.changeYear(this.getYear()+t.detail.addend)}"
|
|
2664
3666
|
>
|
|
2665
3667
|
</cre8-calendar-navigation>
|
|
2666
3668
|
<table>
|
|
@@ -2677,32 +3679,32 @@ span.ripple {
|
|
|
2677
3679
|
</tr>
|
|
2678
3680
|
</tbody>
|
|
2679
3681
|
</table>`:f}
|
|
2680
|
-
</div>`}},o.styles=[
|
|
2681
|
-
<div class="${
|
|
3682
|
+
</div>`}},o.styles=[U],o);m([A(".cre8-c-calendar__navigation-wrapper")],l.prototype,"_navWrapper",2);m([p({type:Boolean,reflect:!0})],l.prototype,"hasShortcuts",2);m([c()],l.prototype,"_activeModal",2);m([p({reflect:!0,type:String})],l.prototype,"activeModal",1);m([c()],l.prototype,"_fieldDate",2);m([p({reflect:!0,type:Date})],l.prototype,"fieldDate",1);m([c()],l.prototype,"_currentDate",2);m([p({reflect:!0,type:Date})],l.prototype,"currentDate",1);m([c()],l.prototype,"locale",2);m([c()],l.prototype,"weekDays",2);m([c()],l.prototype,"dateConfig",2);m([c()],l.prototype,"dateFormatOptions",2);let re=l;customElements.get("cre8-calendar")===void 0&&customElements.define("cre8-calendar",re);var ae=Object.defineProperty,T=(d,e,t,a)=>{for(var r=void 0,i=d.length-1,n;i>=0;i--)(n=d[i])&&(r=n(e,t,r)||r);return r&&ae(e,t,r),r};const O=class O extends q{constructor(){super(...arguments),this.type="date",this.showCalendar=!1}handleDateOnInput(e){this.value=e.target.value,this._internals.setFormValue(this.value)}handleCalendarSelect(e){this.value=e.detail.date,this._internals.setFormValue(this.value),this.showCalendar=!1}handleOutsideClick(e){const t=this.renderRoot.querySelector(".cre8-c-date-picker");this.showCalendar&&!e.detail.composedPath.includes(t)&&(this.showCalendar=!1)}toggleCalendar(){!this.disabled&&!this.readonly&&(this.showCalendar=!this.showCalendar)}render(){const e=this.componentClassNames("cre8-c-date-picker",{"cre8-is-error":this.isError,"cre8-is-success":this.isSuccess,"cre8-c-date-picker--disabled":this.disabled,"cre8-c-date-picker--read-only":this.readonly});return this.type="date",s`
|
|
3683
|
+
<div class="${e}">
|
|
2682
3684
|
<label class="cre8-c-date-picker__label" for="${this.fieldId}"
|
|
2683
3685
|
>${this.label}</label
|
|
2684
3686
|
>
|
|
2685
3687
|
<div class="cre8-c-date-picker__body">
|
|
2686
3688
|
<input
|
|
2687
3689
|
class="cre8-c-date-picker__input"
|
|
2688
|
-
autocomplete=${
|
|
3690
|
+
autocomplete=${u(this.autocomplete)}
|
|
2689
3691
|
type="${this.type}"
|
|
2690
|
-
id="${this.
|
|
2691
|
-
name="${
|
|
2692
|
-
max=${
|
|
2693
|
-
min=${
|
|
2694
|
-
value="${
|
|
2695
|
-
?readonly=${this.
|
|
3692
|
+
id="${this.fieldId}"
|
|
3693
|
+
name="${u(this.name)}"
|
|
3694
|
+
max=${u(this.max)}
|
|
3695
|
+
min=${u(this.min)}
|
|
3696
|
+
.value="${this.value??""}"
|
|
3697
|
+
?readonly=${this.readonly}
|
|
2696
3698
|
?required=${this.required}
|
|
2697
3699
|
?disabled="${this.disabled}"
|
|
2698
|
-
placeholder="${
|
|
3700
|
+
placeholder="${u(this.placeholder)}"
|
|
2699
3701
|
@input=${this.handleDateOnInput}
|
|
2700
3702
|
@click=${this.toggleCalendar}
|
|
2701
3703
|
/>
|
|
2702
3704
|
<cre8-button
|
|
2703
3705
|
class="cre8-c-date-picker__calendar-icon-button"
|
|
2704
3706
|
aria-expanded="${this.showCalendar}"
|
|
2705
|
-
|
|
3707
|
+
text="Show Calendar"
|
|
2706
3708
|
?disabled="${this.disabled||this.readonly}"
|
|
2707
3709
|
?hideText=${!0}
|
|
2708
3710
|
iconName="calendar-datepicker"
|
|
@@ -2711,7 +3713,7 @@ span.ripple {
|
|
|
2711
3713
|
></cre8-button>
|
|
2712
3714
|
</div>
|
|
2713
3715
|
${this.showCalendar?s`<cre8-calendar
|
|
2714
|
-
fieldDate="${
|
|
3716
|
+
fieldDate="${u(this.value)}"
|
|
2715
3717
|
?hasShortcuts=${this.hasShortcuts}
|
|
2716
3718
|
@dateSelect="${this.handleCalendarSelect}"
|
|
2717
3719
|
@outsideClick="${this.handleOutsideClick}"
|
|
@@ -2723,22 +3725,22 @@ span.ripple {
|
|
|
2723
3725
|
>`:f}
|
|
2724
3726
|
${this.renderSuccessErrorFieldNote()}
|
|
2725
3727
|
</div>
|
|
2726
|
-
`}};O.styles=[
|
|
3728
|
+
`}};O.styles=[L];let h=O;T([j({context:P})],h.prototype,"_internals");T([c()],h.prototype,"showCalendar");T([p({type:Boolean,reflect:!0})],h.prototype,"hasShortcuts");T([p()],h.prototype,"label");customElements.get("cre8-date-picker")===void 0&&customElements.define("cre8-date-picker",h);const ze={title:"cre8 Components/Date Picker",component:"cre8-date-picker",render:d=>s`<cre8-date-picker ${X(d)}></cre8-date-picker>`,parameters:{status:{type:"inProgress"},actions:{handles:["input","change","blur"]},docs:{story:{height:"600px"}}},decorators:[E],argTypes:{ariaDescribedBy:{control:"text"},autocomplete:{control:"text"}}},w={},v={args:{hasShortcuts:"true"}},z={args:{label:"Readonly example",readonly:"true",value:"2024-01-01"}},k={args:{label:"Disabled example",disabled:"true"}},_={args:{label:"Fieldnote example",fieldNote:"This is a field note."}},D={args:{label:"Error Fieldnote example",errorNote:"Short, clear error message",isError:"true",fieldNote:"This is a field note."}},$={args:{label:"Success Fieldnote example",isSuccess:"true",fieldNote:"This is a field note.",successNote:"Short, clear success message"}};w.parameters={...w.parameters,docs:{...w.parameters?.docs,source:{originalSource:"{}",...w.parameters?.docs?.source}}};v.parameters={...v.parameters,docs:{...v.parameters?.docs,source:{originalSource:`{
|
|
2727
3729
|
args: {
|
|
2728
3730
|
hasShortcuts: "true"
|
|
2729
3731
|
}
|
|
2730
|
-
}`,...v.parameters?.docs?.source}}};
|
|
3732
|
+
}`,...v.parameters?.docs?.source}}};z.parameters={...z.parameters,docs:{...z.parameters?.docs,source:{originalSource:`{
|
|
2731
3733
|
args: {
|
|
2732
3734
|
label: 'Readonly example',
|
|
2733
3735
|
readonly: "true",
|
|
2734
3736
|
value: "2024-01-01"
|
|
2735
3737
|
}
|
|
2736
|
-
}`,...
|
|
3738
|
+
}`,...z.parameters?.docs?.source}}};k.parameters={...k.parameters,docs:{...k.parameters?.docs,source:{originalSource:`{
|
|
2737
3739
|
args: {
|
|
2738
3740
|
label: 'Disabled example',
|
|
2739
3741
|
disabled: 'true'
|
|
2740
3742
|
}
|
|
2741
|
-
}`,...
|
|
3743
|
+
}`,...k.parameters?.docs?.source}}};_.parameters={..._.parameters,docs:{..._.parameters?.docs,source:{originalSource:`{
|
|
2742
3744
|
args: {
|
|
2743
3745
|
label: 'Fieldnote example',
|
|
2744
3746
|
fieldNote: "This is a field note."
|
|
@@ -2757,4 +3759,4 @@ span.ripple {
|
|
|
2757
3759
|
fieldNote: "This is a field note.",
|
|
2758
3760
|
successNote: "Short, clear success message"
|
|
2759
3761
|
}
|
|
2760
|
-
}`,...$.parameters?.docs?.source}}};const
|
|
3762
|
+
}`,...$.parameters?.docs?.source}}};const ke=["Default","DefaultWithShortcuts","Readonly","Disabled","Fieldnote","Error","Success"];export{w as Default,v as DefaultWithShortcuts,k as Disabled,D as Error,_ as Fieldnote,z as Readonly,$ as Success,ke as __namedExportsOrder,ze as default};
|