@tmorrow/cre8-wc 2.3.4 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a2ui/catalog-kg.json +195 -7
- package/a2ui/catalog.compact.json +63 -4
- package/a2ui/catalog.json +152 -3
- package/a2ui/inert-props.json +1 -1
- package/cdn/cre8-wc.esm.js +12614 -10799
- package/cdn/cre8-wc.esm.js.map +1 -1
- package/cdn/cre8-wc.min.js +8318 -6586
- package/cdn/cre8-wc.min.js.map +1 -1
- package/dist/assets/{Changelog-Documentation-KVZaGCrM.js → Changelog-Documentation-Df3oEE8P.js} +1 -1
- package/dist/assets/{Code-Guidelines-MLEqij8-.js → Code-Guidelines-C9lzKDe_.js} +1 -1
- package/dist/assets/{Color-6AOWCN3U-gep76IeU.js → Color-6AOWCN3U-DHuHh4rV.js} +1 -1
- package/dist/assets/{Contributing-Guidelines-Bt0K4OQJ.js → Contributing-Guidelines-B7MkFK_8.js} +1 -1
- package/dist/assets/{DocsRenderer-JROSPFPF-ZXzBW5vb.js → DocsRenderer-JROSPFPF-BIYBNFaz.js} +1 -1
- package/dist/assets/{Tokens-Documentation-3Wgmzu4M.js → Tokens-Documentation-BVWu9IZF.js} +1 -1
- package/dist/assets/{WithTooltip-7X4HQR7L-BGg1AeW_.js → WithTooltip-7X4HQR7L-C1jY6FTJ.js} +1 -1
- package/dist/assets/{accordion-item.stories-OrnOMQYE.js → accordion-item.stories-CCc_5N2k.js} +65 -66
- package/dist/assets/{accordion.stories-D-vQti3L.js → accordion.stories-g3fhuwAf.js} +64 -65
- package/dist/assets/{address-form.stories-ijYA_xUo.js → address-form.stories-0d7ZzW-G.js} +2 -2
- package/dist/assets/{alert.stories-BRuaE3Fz.js → alert.stories-tqSNDhCu.js} +63 -64
- package/dist/assets/{badge-BAvcCZKg.js → badge-D6EpCJXK.js} +58 -59
- package/dist/assets/{badge.stories-DfRAoLjf.js → badge.stories-Q7iAA4SM.js} +1 -1
- package/dist/assets/{band.stories-DmFW5_qW.js → band.stories-_2iwAs8T.js} +68 -59
- package/dist/assets/{blocks-DaRdDsLJ.js → blocks-D37TnjJk.js} +5 -5
- package/dist/assets/{breadcrumbs.stories-DQpKOPux.js → breadcrumbs.stories-B2UTahU6.js} +113 -115
- package/dist/assets/{button-CKAKDdnt.js → button-BYSQD8Gp.js} +57 -58
- package/dist/assets/{button-group-BE61zidL.js → button-group-Clrz8Qlx.js} +57 -58
- package/dist/assets/{button-group.stories-DJTqGcwu.js → button-group.stories-2tYKyE_S.js} +1 -1
- package/dist/assets/{button.stories-Bi5uMmVy.js → button.stories-DIic_g44.js} +1 -1
- package/dist/assets/{card-Ba_U5Ofz.js → card-Hnd7rRWF.js} +100 -62
- package/dist/assets/card.stories-CJ2oVtcP.js +69 -0
- package/dist/assets/{chart.stories-CYez_qCE.js → chart.stories-DY-mVTkR.js} +71 -62
- package/dist/assets/{checkbox-field-item-CMFG4Oj2.js → checkbox-field-item-AzitqhZQ.js} +58 -59
- package/dist/assets/{checkbox-field-item.stories-Dr-efaxE.js → checkbox-field-item.stories-C5kh3YAQ.js} +1 -1
- package/dist/assets/{checkbox-field.stories-DQZetpTg.js → checkbox-field.stories-C7oDF7AJ.js} +61 -62
- package/dist/assets/container-grid.stories-KJKHfjzu.js +974 -0
- package/dist/assets/container.stories-DgYxypy6.js +636 -0
- package/dist/assets/{cre8-element-C32P9iMC.js → cre8-element-C-P96xHp.js} +1 -1
- package/dist/assets/{cre8-form-element-C-cxFbUF.js → cre8-form-element-1YjfSY90.js} +1 -1
- package/dist/assets/{danger-button.stories-D1jFAMuu.js → danger-button.stories-DjO-dusH.js} +75 -76
- package/dist/assets/{date-picker.stories-CF0p6Acs.js → date-picker.stories-BuoLDvt5.js} +287 -292
- package/dist/assets/{divider-C1KL_AxK.js → divider-C0LMK6Iw.js} +56 -57
- package/dist/assets/{divider.stories-pDMv71LL.js → divider.stories-BVG4AJFY.js} +1 -1
- package/dist/assets/{dropdown-BsCUc3cP.js → dropdown-Dyzrh4vW.js} +115 -117
- package/dist/assets/{dropdown-item.stories-DBShD_vk.js → dropdown-item.stories-Cvya6h_o.js} +1 -1
- package/dist/assets/{dropdown.stories-DVRa7cfL.js → dropdown.stories-CGyaMLDz.js} +1 -1
- package/dist/assets/{f-po-Bskj3oQY.js → f-po-qGnzb4u2.js} +1 -1
- package/dist/assets/{feature.stories-BG27bJO6.js → feature.stories-NH-XwyuG.js} +62 -63
- package/dist/assets/{field-g3Qu1hyk.js → field-DW7G8q1Z.js} +1 -1
- package/dist/assets/{field-note-VLKkFhY-.js → field-note-Bo9Uvf0_.js} +59 -60
- package/dist/assets/{field-note.stories-Csbwk50n.js → field-note.stories-BtghmWb1.js} +1 -1
- package/dist/assets/{field.stories-BSYd3vhk.js → field.stories-CZtgfXbq.js} +1 -1
- package/dist/assets/{field.styles-DsJqDxUf.js → field.styles-DY4WEjtf.js} +137 -59
- package/dist/assets/{footer.stories-D9QlbogX.js → footer.stories-5deowSLC.js} +58 -59
- package/dist/assets/{form-DnCnqQJV.js → form-C_mLqAJr.js} +1 -1
- package/dist/assets/{form.stories-BQ-PyPR-.js → form.stories-Cd-nnRvS.js} +2 -2
- package/dist/assets/{formatter-L2YTDE3Q-C-OPFuCo.js → formatter-L2YTDE3Q-Boj-9QnE.js} +1 -1
- package/dist/assets/{global-nav-item-Cyd-gXMg.js → global-nav-item-CpegmRaY.js} +57 -58
- package/dist/assets/{global-nav-item.stories-DyQtpxdu.js → global-nav-item.stories-pzQ6MjlF.js} +1 -1
- package/dist/assets/{global-nav.stories-Clb8iztc.js → global-nav.stories-Cdi6-0Mv.js} +57 -58
- package/dist/assets/{grid-item-CaYWmI3M.js → grid-Ceoso7cm.js} +68 -659
- package/dist/assets/grid-item-2TZHxEoC.js +614 -0
- package/dist/assets/{grid.stories-KIc6tHSz.js → grid.stories-Bt9-ikgE.js} +2 -2
- package/dist/assets/{header.stories-ByiUDWAm.js → header.stories-BpKWWJPz.js} +62 -63
- package/dist/assets/{heading-DPFC7eAf.js → heading-DJFZJNk9.js} +56 -57
- package/dist/assets/{heading.stories-B6g2yudF.js → heading.stories-rcwb69Bn.js} +1 -1
- package/dist/assets/{hero.stories-BFvke-pF.js → hero.stories-CUqDnDxZ.js} +83 -74
- package/dist/assets/{icon-CRGiEUM0.js → icon-JqBqZA-z.js} +63 -64
- package/dist/assets/{icon.stories-Di0IMAzu.js → icon.stories-BCMK0dvc.js} +1 -1
- package/dist/assets/if-defined-DA22R8ho.js +1 -0
- package/dist/assets/iframe-B4bTcHfE.js +7725 -0
- package/dist/assets/{inline-alert.stories-DcBYTS33.js → inline-alert.stories-4nXCXIqv.js} +74 -75
- package/dist/assets/{layout-container.stories-gcHzBHmG.js → layout-container.stories-BrGLregS.js} +69 -60
- package/dist/assets/{layout.stories-DFFlIxeB.js → layout.stories-Be6tUf5G.js} +140 -121
- package/dist/assets/{linelength-container.stories-Dt4Ip3sb.js → linelength-container.stories-BqPn1Ved.js} +67 -58
- package/dist/assets/{link-B6NbXrLJ.js → link-BV5p2Gem.js} +56 -57
- package/dist/assets/{link-list.stories-OkQpni3G.js → link-list.stories-CzddL0Pv.js} +123 -115
- package/dist/assets/{link.stories-OaEY7xHH.js → link.stories-CAQgjgEF.js} +1 -1
- package/dist/assets/{list.stories-BAyuq-cx.js → list.stories-CWm_R35G.js} +130 -122
- package/dist/assets/{loading-spinner-KSDrx_ka.js → loading-spinner-DKyQa4wk.js} +57 -58
- package/dist/assets/{loading-spinner.stories-ShyO4iO0.js → loading-spinner.stories-CAkmVKiI.js} +1 -1
- package/dist/assets/{logo.stories-BrDvrPB-.js → logo.stories-B1W8YgnP.js} +58 -59
- package/dist/assets/{main.stories-CfJoNAKl.js → main.stories-BBZA2Wa5.js} +56 -57
- package/dist/assets/{modal-Cq-m-mQ7.js → modal-BuNx7jRd.js} +65 -66
- package/dist/assets/{modal-CISxdJcE.js → modal-CjEkzDMa.js} +1 -1
- package/dist/assets/{modal.stories-CW7gUcjn.js → modal.stories-m0YBMD_a.js} +1 -1
- package/dist/assets/{multi-select.stories-CPMil75q.js → multi-select.stories-BsUU_ii5.js} +64 -65
- package/dist/assets/{nav-container.stories-VKjgNgHm.js → nav-container.stories-D8GvauAI.js} +58 -59
- package/dist/assets/{page-header.stories-hn1qhVLu.js → page-header.stories-BlfHczHd.js} +59 -60
- package/dist/assets/{pagination.stories-DhzZlNPD.js → pagination.stories-DO4TELjQ.js} +121 -123
- package/dist/assets/{percent-bar.stories-DYMx9PHm.js → percent-bar.stories-BAtNh-5P.js} +62 -63
- package/dist/assets/{popover.stories-B2NpvzMD.js → popover.stories-IEVMINQi.js} +60 -61
- package/dist/assets/{primary-nav.stories-BuXodij-.js → primary-nav.stories-DpV4KV4E.js} +120 -122
- package/dist/assets/{progress-meter-B5W9x0fA.js → progress-meter-Cd3UEFGp.js} +56 -57
- package/dist/assets/{progress-meter.stories-APJim4AM.js → progress-meter.stories-BbZSzuOC.js} +1 -1
- package/dist/assets/{progress-steps-item-8XodA5dv.js → progress-steps-item-DBrxAXer.js} +58 -59
- package/dist/assets/{progress-steps-item.stories-OjQxDOgb.js → progress-steps-item.stories-uTT_r8tA.js} +1 -1
- package/dist/assets/{progress-steps.stories-DgaVveY8.js → progress-steps.stories-Ce5crIHK.js} +78 -79
- package/dist/assets/{radio-field-item-JTAZN5iJ.js → radio-field-item-79BwrnBC.js} +124 -126
- package/dist/assets/{radio-field-item.stories-6lLJPzWh.js → radio-field-item.stories-DSnw6Pet.js} +1 -1
- package/dist/assets/{radio-field.stories-DhyHIJ1d.js → radio-field.stories-DfWP-EBm.js} +1 -1
- package/dist/assets/{remove-tag-BNsCfIXN.js → remove-tag-BMrp6VdQ.js} +58 -59
- package/dist/assets/{remove-tag.stories-CYFnO6ay.js → remove-tag.stories-DzflfmWP.js} +1 -1
- package/dist/assets/{sample-modal.stories-ChZkcfns.js → sample-modal.stories-CkAkkA1F.js} +1 -1
- package/dist/assets/{section.stories-D6w1QGJm.js → section.stories-BsRdbbnp.js} +72 -60
- package/dist/assets/{select-tile-BvYPheBA.js → select-tile-DT1BbbTN.js} +58 -59
- package/dist/assets/{select-tile-list.stories-CSuU-x9D.js → select-tile-list.stories-Y8v5jLtk.js} +63 -64
- package/dist/assets/{select-tile.stories-B0yyaVxn.js → select-tile.stories-DXaZ1Ah3.js} +1 -1
- package/dist/assets/{select.stories-DwqSLN8h.js → select.stories-CLirye_v.js} +65 -66
- package/dist/assets/{sign-in.stories-BKL7agXB.js → sign-in.stories-D9NOZ9gm.js} +1 -1
- package/dist/assets/{skeleton-loader.stories-RqGyzk5b.js → skeleton-loader.stories-DNWnBUN6.js} +62 -63
- package/dist/assets/{split-button.stories-CSTNKnIT.js → split-button.stories-CiM0ElvX.js} +55 -56
- package/dist/assets/{spread-CEvCYGEM.js → spread-Bid2THYj.js} +1 -1
- package/dist/assets/state-DNEXh1sp.js +1 -0
- package/dist/assets/{submenu.stories-DKOEXdqn.js → submenu.stories-C4DuErMw.js} +115 -117
- package/dist/assets/{syntaxhighlighter-T5IQBZDB-Bm_AIazA.js → syntaxhighlighter-T5IQBZDB-DgGEO4R-.js} +1 -1
- package/dist/assets/{table-header-C_hYFQ0R.js → table-header-DiIfs7Zl.js} +333 -339
- package/dist/assets/{table-object.stories-BadrBE5L.js → table-object.stories-t_9FrO15.js} +58 -59
- package/dist/assets/{table.stories-Cp-T52kH.js → table.stories-Bd9nRXO9.js} +1 -1
- package/dist/assets/{tabs.stories-BbAXTeuR.js → tabs.stories-Btd9l55I.js} +170 -173
- package/dist/assets/{tag-D72styE8.js → tag-CxNMRZ9X.js} +58 -59
- package/dist/assets/{tag-list.stories-DFZO0bXv.js → tag-list.stories-Cy8D2LK5.js} +62 -63
- package/dist/assets/{tag.stories-BMuaNnlk.js → tag.stories-Bf9eD94c.js} +1 -1
- package/dist/assets/{tertiary-nav.stories-CuD-XiX1.js → tertiary-nav.stories-B2FfUXjc.js} +119 -121
- package/dist/assets/{text-link-DLmoWt5E.js → text-link-BmXuHtC1.js} +59 -60
- package/dist/assets/{text-link.stories-DEUZpyiU.js → text-link.stories-CwSENnir.js} +1 -1
- package/dist/assets/{text-passage-iKhUwSNA.js → text-passage-BrueaqOk.js} +111 -113
- package/dist/assets/{text-passage.stories-DKc1vgTW.js → text-passage.stories-Cnaez_uH.js} +1 -1
- package/dist/assets/{tooltip.stories-BtDMnRW6.js → tooltip.stories-CcqiPZI9.js} +67 -68
- package/dist/assets/{utility-nav.stories-Cf5aqb-I.js → utility-nav.stories-CWPHaVQf.js} +117 -119
- package/dist/design-tokens/core/scss/theming/body.scss +1 -1
- package/dist/design-tokens/core/scss/theming/colors.scss +1 -1
- package/dist/design-tokens/core/scss/theming/component.scss +2 -4
- package/dist/design-tokens/core/scss/theming/head.css +1 -1
- package/dist/design-tokens/core/scss/theming/head.scss +1 -1
- package/dist/iframe.html +1 -1
- package/dist/index.json +1 -1
- package/dist/project.json +1 -1
- package/dist/sb-addons/a11y-3/manager-bundle.js +3 -3
- package/dist/sb-addons/docs-1/manager-bundle.js +7 -7
- package/dist/sb-addons/storybook-5/manager-bundle.js +3 -3
- package/dist/sb-addons/themes-2/manager-bundle.js +1 -1
- package/dist/sb-addons/vitest-4/manager-bundle.js +1 -1
- package/lib/cdn-entry.d.ts +3 -1
- package/lib/cdn-entry.d.ts.map +1 -1
- package/lib/cdn-entry.js +3 -1
- package/lib/cdn-entry.js.map +1 -1
- package/lib/components/accordion/accordion.styles.d.ts.map +1 -1
- package/lib/components/accordion/accordion.styles.js +54 -55
- 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 +54 -55
- 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 +54 -55
- package/lib/components/alert/alert.styles.js.map +1 -1
- package/lib/components/badge/badge.styles.d.ts.map +1 -1
- package/lib/components/badge/badge.styles.js +54 -55
- 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 +64 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- package/lib/components/button-group/button-group.styles.js.map +1 -1
- package/lib/components/card/card.d.ts +8 -0
- package/lib/components/card/card.d.ts.map +1 -1
- package/lib/components/card/card.js +4 -0
- package/lib/components/card/card.js.map +1 -1
- package/lib/components/card/card.styles.d.ts.map +1 -1
- package/lib/components/card/card.styles.js +95 -57
- package/lib/components/card/card.styles.js.map +1 -1
- package/lib/components/chart/chart.styles.d.ts.map +1 -1
- package/lib/components/chart/chart.styles.js +64 -55
- package/lib/components/chart/chart.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 +54 -55
- 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 +54 -55
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.js.map +1 -1
- package/lib/components/container/container.d.ts +48 -0
- package/lib/components/container/container.d.ts.map +1 -0
- package/lib/components/container/container.js +56 -0
- package/lib/components/container/container.js.map +1 -0
- package/lib/components/container/container.styles.d.ts +3 -0
- package/lib/components/container/container.styles.d.ts.map +1 -0
- package/lib/components/container/container.styles.js +624 -0
- package/lib/components/container/container.styles.js.map +1 -0
- package/lib/components/container-grid/container-grid.d.ts +55 -0
- package/lib/components/container-grid/container-grid.d.ts.map +1 -0
- package/lib/components/container-grid/container-grid.js +59 -0
- package/lib/components/container-grid/container-grid.js.map +1 -0
- package/lib/components/container-grid/container-grid.styles.d.ts +3 -0
- package/lib/components/container-grid/container-grid.styles.d.ts.map +1 -0
- package/lib/components/container-grid/container-grid.styles.js +949 -0
- package/lib/components/container-grid/container-grid.styles.js.map +1 -0
- package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -1
- package/lib/components/danger-button/danger-button.styles.js +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +56 -57
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +137 -59
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +64 -55
- package/lib/components/grid/grid.styles.js.map +1 -1
- package/lib/components/grid-item/grid-item.d.ts +7 -0
- package/lib/components/grid-item/grid-item.d.ts.map +1 -1
- package/lib/components/grid-item/grid-item.js +13 -1
- package/lib/components/grid-item/grid-item.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 +70 -57
- 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 +54 -55
- package/lib/components/header/header.styles.js.map +1 -1
- package/lib/components/heading/heading.styles.d.ts.map +1 -1
- package/lib/components/heading/heading.styles.js +54 -55
- 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 +67 -58
- package/lib/components/hero/hero.styles.js.map +1 -1
- package/lib/components/icon/icon.styles.d.ts.map +1 -1
- package/lib/components/icon/icon.styles.js +54 -55
- 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 +54 -55
- 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 +64 -55
- 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 +64 -55
- package/lib/components/layout-container/layout-container.styles.js.map +1 -1
- package/lib/components/layout-section/layout-section.d.ts +8 -0
- package/lib/components/layout-section/layout-section.d.ts.map +1 -1
- package/lib/components/layout-section/layout-section.js +4 -0
- package/lib/components/layout-section/layout-section.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 +65 -55
- 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 +64 -55
- 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 +54 -55
- 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 +64 -55
- 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 +54 -55
- 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 +64 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +68 -56
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- 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 +54 -55
- package/lib/components/utility-nav-item/utility-nav-item.styles.js.map +1 -1
- package/lib/design-tokens/core/scss/theming/body.scss +1 -1
- package/lib/design-tokens/core/scss/theming/colors.scss +1 -1
- package/lib/design-tokens/core/scss/theming/component.scss +2 -4
- package/lib/design-tokens/core/scss/theming/head.css +1 -1
- package/lib/design-tokens/core/scss/theming/head.module.js +1 -1
- package/lib/design-tokens/core/scss/theming/head.module.js.map +1 -1
- package/lib/design-tokens/core/scss/theming/head.scss +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/scripts/convert-scss-to-ts.js +58 -25
- package/lib/scripts/convert-scss-to-ts.js.map +1 -1
- package/lib/scripts/generate-mcp-manifest.js +2 -0
- package/lib/scripts/generate-mcp-manifest.js.map +1 -1
- package/mcp-manifest.json +100 -4
- package/package.json +1 -1
- package/react-manifest.json +89 -2
- package/dist/assets/card.stories-Dp0eU_cY.js +0 -45
- package/dist/assets/if-defined-CE1QkYoV.js +0 -1
- package/dist/assets/iframe-BH5yZqve.js +0 -7725
- package/dist/assets/state-D1tm_mFF.js +0 -1
|
@@ -0,0 +1,636 @@
|
|
|
1
|
+
import{a as c,b as p}from"./iframe-B4bTcHfE.js";import{s as h}from"./spread-Bid2THYj.js";import"./f-po-qGnzb4u2.js";import{C as u,n as l}from"./cre8-element-C-P96xHp.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-DA22R8ho.js";import"./_commonjsHelpers-DaWZu8wl.js";const f=c`.cre8-u-content-knockout-brand {
|
|
2
|
+
color: var(--cre8-color-content-knockout-brand);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.cre8-u-is-hidden {
|
|
6
|
+
display: none !important;
|
|
7
|
+
visibility: hidden !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.cre8-u-is-vishidden {
|
|
11
|
+
position: absolute !important;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
width: 1px;
|
|
14
|
+
height: 1px;
|
|
15
|
+
padding: 0;
|
|
16
|
+
border: 0;
|
|
17
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media all and (min-width: 23.4375rem) {
|
|
21
|
+
.cre8-u-hide-sm {
|
|
22
|
+
display: none !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media all and (min-width: 35rem) {
|
|
26
|
+
.cre8-u-hide-sm-2 {
|
|
27
|
+
display: none !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
@media all and (min-width: 48rem) {
|
|
31
|
+
.cre8-u-hide-md {
|
|
32
|
+
display: none !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
@media all and (min-width: 60rem) {
|
|
36
|
+
.cre8-u-hide-lg {
|
|
37
|
+
display: none !important;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
@media all and (min-width: 75rem) {
|
|
41
|
+
.cre8-u-hide-xl {
|
|
42
|
+
display: none !important;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
@media all and (max-width: 23.4375rem) {
|
|
46
|
+
.cre8-u-show-sm {
|
|
47
|
+
display: none !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
@media all and (max-width: 35rem) {
|
|
51
|
+
.cre8-u-show-sm-2 {
|
|
52
|
+
display: none !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
@media all and (max-width: 48rem) {
|
|
56
|
+
.cre8-u-show-md {
|
|
57
|
+
display: none !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
@media all and (max-width: 60rem) {
|
|
61
|
+
.cre8-u-show-lg {
|
|
62
|
+
display: none !important;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
@media all and (max-width: 75rem) {
|
|
66
|
+
.cre8-u-show-xl {
|
|
67
|
+
display: none !important;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.cre8-u-margin-none {
|
|
71
|
+
margin: 0 !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.cre8-u-margin-sm {
|
|
75
|
+
margin: 0.5rem !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cre8-u-margin-md {
|
|
79
|
+
margin: 1rem !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cre8-u-margin-lg {
|
|
83
|
+
margin: 1.5rem !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cre8-u-margin-xl {
|
|
87
|
+
margin: 2rem !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.cre8-u-margin-xxl {
|
|
91
|
+
margin: 4rem !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cre8-u-margin-top-none {
|
|
95
|
+
margin-top: 0 !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.cre8-u-margin-top-sm {
|
|
99
|
+
margin-top: 0.5rem !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cre8-u-margin-top-md {
|
|
103
|
+
margin-top: 1rem !important;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cre8-u-margin-top-lg {
|
|
107
|
+
margin-top: 1.5rem !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.cre8-u-margin-top-xl {
|
|
111
|
+
margin-top: 2rem !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.cre8-u-margin-top-xxl {
|
|
115
|
+
margin-top: 4rem !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.cre8-u-margin-right-none {
|
|
119
|
+
margin-right: 0 !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.cre8-u-margin-right-sm {
|
|
123
|
+
margin-right: 0.5rem !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.cre8-u-margin-right-md {
|
|
127
|
+
margin-right: 1rem !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.cre8-u-margin-right-lg {
|
|
131
|
+
margin-right: 1.5rem !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.cre8-u-margin-right-xl {
|
|
135
|
+
margin-right: 2rem !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.cre8-u-margin-right-xxl {
|
|
139
|
+
margin-right: 4rem !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.cre8-u-margin-bottom-none {
|
|
143
|
+
margin-bottom: 0 !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.cre8-u-margin-bottom-sm {
|
|
147
|
+
margin-bottom: 0.5rem !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.cre8-u-margin-bottom-md {
|
|
151
|
+
margin-bottom: 1rem !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.cre8-u-margin-bottom-lg {
|
|
155
|
+
margin-bottom: 1.5rem !important;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.cre8-u-margin-bottom-xl {
|
|
159
|
+
margin-bottom: 2rem !important;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.cre8-u-margin-bottom-xxl {
|
|
163
|
+
margin-bottom: 4rem !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.cre8-u-margin-bottom-xl-xxl {
|
|
167
|
+
margin-bottom: 2rem !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@media all and (min-width: 768px) {
|
|
171
|
+
.cre8-u-margin-bottom-xl-xxl {
|
|
172
|
+
margin-bottom: 4rem !important;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
.cre8-u-margin-left-none {
|
|
176
|
+
margin-left: 0 !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.cre8-u-margin-left-sm {
|
|
180
|
+
margin-left: 0.5rem !important;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.cre8-u-margin-left-md {
|
|
184
|
+
margin-left: 1rem !important;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.cre8-u-margin-left-lg {
|
|
188
|
+
margin-left: 1.5rem !important;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.cre8-u-margin-left-xl {
|
|
192
|
+
margin-left: 2rem !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cre8-u-margin-left-xxl {
|
|
196
|
+
margin-left: 4rem !important;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.cre8-u-padding-none {
|
|
200
|
+
padding: 0 !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.cre8-u-padding-sm {
|
|
204
|
+
padding: 0.5rem !important;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.cre8-u-padding-md {
|
|
208
|
+
padding: 1rem !important;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.cre8-u-padding-lg {
|
|
212
|
+
padding: 1.5rem !important;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.cre8-u-padding-xl {
|
|
216
|
+
padding: 2rem !important;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.cre8-u-padding-xxl {
|
|
220
|
+
padding: 4rem !important;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.cre8-u-padding-top-none {
|
|
224
|
+
padding-top: 0 !important;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.cre8-u-padding-top-sm {
|
|
228
|
+
padding-top: 0.5rem !important;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.cre8-u-padding-top-md {
|
|
232
|
+
padding-top: 1rem !important;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.cre8-u-padding-top-lg {
|
|
236
|
+
padding-top: 1.5rem !important;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.cre8-u-padding-top-xl {
|
|
240
|
+
padding-top: 2rem !important;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.cre8-u-padding-top-xxl {
|
|
244
|
+
padding-top: 4rem !important;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.cre8-u-padding-right-none {
|
|
248
|
+
padding-right: 0 !important;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.cre8-u-padding-right-sm {
|
|
252
|
+
padding-right: 0.5rem !important;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.cre8-u-padding-right-md {
|
|
256
|
+
padding-right: 1rem !important;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.cre8-u-padding-right-lg {
|
|
260
|
+
padding-right: 1.5rem !important;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.cre8-u-padding-right-xl {
|
|
264
|
+
padding-right: 2rem !important;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.cre8-u-padding-right-xxl {
|
|
268
|
+
padding-right: 4rem !important;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.cre8-u-padding-bottom-none {
|
|
272
|
+
padding-bottom: 0 !important;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.cre8-u-padding-bottom-sm {
|
|
276
|
+
padding-bottom: 0.5rem !important;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.cre8-u-padding-bottom-md {
|
|
280
|
+
padding-bottom: 1rem !important;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.cre8-u-padding-bottom-lg {
|
|
284
|
+
padding-bottom: 1.5rem !important;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.cre8-u-padding-bottom-xl {
|
|
288
|
+
padding-bottom: 2rem !important;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.cre8-u-padding-bottom-xxl {
|
|
292
|
+
padding-bottom: 4rem !important;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.cre8-u-padding-left-none {
|
|
296
|
+
padding-left: 0 !important;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.cre8-u-padding-left-sm {
|
|
300
|
+
padding-left: 0.5rem !important;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.cre8-u-padding-left-md {
|
|
304
|
+
padding-left: 1rem !important;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.cre8-u-padding-left-lg {
|
|
308
|
+
padding-left: 1.5rem !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.cre8-u-padding-left-xl {
|
|
312
|
+
padding-left: 2rem !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.cre8-u-padding-left-xxl {
|
|
316
|
+
padding-left: 4rem !important;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.cre8-u-display-flex {
|
|
320
|
+
display: flex !important;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.cre8-u-display-block {
|
|
324
|
+
display: block !important;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
body {
|
|
328
|
+
font-family: var(--cre8-typography-body-default-font-family);
|
|
329
|
+
font-size: var(--cre8-typography-body-default-font-size);
|
|
330
|
+
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
331
|
+
line-height: var(--cre8-typography-body-default-line-height);
|
|
332
|
+
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
333
|
+
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
334
|
+
display: flex;
|
|
335
|
+
flex-direction: column;
|
|
336
|
+
padding: 0;
|
|
337
|
+
margin: 0;
|
|
338
|
+
color: var(--cre8-color-content-default);
|
|
339
|
+
background: var(--cre8-color-bg-default);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
@media all and (min-width: 60rem) {
|
|
343
|
+
.page-container {
|
|
344
|
+
background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
.band__inner {
|
|
348
|
+
margin-left: 2rem;
|
|
349
|
+
margin-right: 2rem;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
@media all and (min-width: 60rem) {
|
|
353
|
+
.band__inner {
|
|
354
|
+
margin-right: 0;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
img {
|
|
358
|
+
max-width: 100%;
|
|
359
|
+
height: auto;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
364
|
+
*/
|
|
365
|
+
*,
|
|
366
|
+
::slotted(*),
|
|
367
|
+
*:before,
|
|
368
|
+
*:after {
|
|
369
|
+
box-sizing: border-box;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
:root {
|
|
373
|
+
--size-base-unit: 0.5rem;
|
|
374
|
+
--cre8-l-max-width: 82.5rem;
|
|
375
|
+
/* 1 */
|
|
376
|
+
--cre8-l-linelength-width: 42rem;
|
|
377
|
+
/* 1 */
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* RTL support for values logical properties can't automatically adjust for
|
|
382
|
+
* 1) Percentage based horizontal translate values need to be flipped
|
|
383
|
+
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
384
|
+
* 3) Inverse items that have 45degs
|
|
385
|
+
*/
|
|
386
|
+
[dir=rtl] {
|
|
387
|
+
--rtlTranslateX: 50%;
|
|
388
|
+
/* 1 */
|
|
389
|
+
--rtlGradientToRight: 270deg;
|
|
390
|
+
/* 2 */
|
|
391
|
+
--rtlRotate45Inverse: -45deg;
|
|
392
|
+
/* 3 */
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Visible focus outline for elements on a light background
|
|
397
|
+
*/
|
|
398
|
+
/**
|
|
399
|
+
* Visible focus outline for elements with an error status
|
|
400
|
+
*/
|
|
401
|
+
/**
|
|
402
|
+
* Visible focus outline for elements on a dark background
|
|
403
|
+
*/
|
|
404
|
+
/**
|
|
405
|
+
* Focus state for themes that need a dashed outline for focus
|
|
406
|
+
* state
|
|
407
|
+
**/
|
|
408
|
+
/**
|
|
409
|
+
* Invisible focus outline for elements that need a more visible
|
|
410
|
+
* focus state for high-contrast mode
|
|
411
|
+
*/
|
|
412
|
+
/**
|
|
413
|
+
* Visually hidden from display
|
|
414
|
+
*/
|
|
415
|
+
/*
|
|
416
|
+
=======
|
|
417
|
+
Animations
|
|
418
|
+
=======
|
|
419
|
+
*/
|
|
420
|
+
:host {
|
|
421
|
+
--cre8-z-index-1: 1;
|
|
422
|
+
--cre8-z-index-50: 50;
|
|
423
|
+
--cre8-z-index-100: 100;
|
|
424
|
+
--cre8-z-index-200: 200;
|
|
425
|
+
--cre8-z-index-1030: 1030;
|
|
426
|
+
--cre8-anim-fade-quick: 0.35s;
|
|
427
|
+
--cre8-anim-ease: ease;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
@keyframes fadeIn {
|
|
431
|
+
100% {
|
|
432
|
+
opacity: 1;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
@keyframes slideIn {
|
|
436
|
+
100% {
|
|
437
|
+
transform: translateX(0);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
@keyframes slideInFwd {
|
|
441
|
+
100% {
|
|
442
|
+
width: 272px;
|
|
443
|
+
height: 272px;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
@keyframes slideOutRight {
|
|
447
|
+
100% {
|
|
448
|
+
width: 272px;
|
|
449
|
+
height: 272px;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
@keyframes slideUp {
|
|
453
|
+
100% {
|
|
454
|
+
transform: translateY(0);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
@media (width >= 481px) {
|
|
458
|
+
@keyframes slideInFwd {
|
|
459
|
+
100% {
|
|
460
|
+
width: 417px;
|
|
461
|
+
height: 417px;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
@keyframes slideOutRight {
|
|
465
|
+
100% {
|
|
466
|
+
width: 417px;
|
|
467
|
+
height: 417px;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
@media (width >= 48rem) {
|
|
472
|
+
@keyframes slideInFwd {
|
|
473
|
+
100% {
|
|
474
|
+
width: 330px;
|
|
475
|
+
height: 330px;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
@keyframes slideOutRight {
|
|
479
|
+
100% {
|
|
480
|
+
width: 330px;
|
|
481
|
+
height: 330px;
|
|
482
|
+
transform: translateX(calc(100vw - 45px));
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
@media (width >= 60rem) {
|
|
487
|
+
@keyframes slideInFwd {
|
|
488
|
+
100% {
|
|
489
|
+
width: 460px;
|
|
490
|
+
height: 460px;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
@keyframes slideOutRight {
|
|
494
|
+
100% {
|
|
495
|
+
width: 460px;
|
|
496
|
+
height: 460px;
|
|
497
|
+
transform: translateX(calc(100vw - 45px));
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
@media (width >= 75rem) {
|
|
502
|
+
@keyframes slideInFwd {
|
|
503
|
+
100% {
|
|
504
|
+
width: 592px;
|
|
505
|
+
height: 591px;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
@keyframes slideOutRight {
|
|
509
|
+
100% {
|
|
510
|
+
width: 592px;
|
|
511
|
+
height: 591px;
|
|
512
|
+
transform: translateX(calc(100vw - 45px));
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
@media (width >= 87.5rem) {
|
|
517
|
+
@keyframes slideOutRight {
|
|
518
|
+
100% {
|
|
519
|
+
width: 592px;
|
|
520
|
+
height: 591px;
|
|
521
|
+
transform: translateX(calc(100vw - 120px));
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
@media (width >= 2200px) {
|
|
526
|
+
@keyframes slideOutRight {
|
|
527
|
+
100% {
|
|
528
|
+
width: 592px;
|
|
529
|
+
height: 591px;
|
|
530
|
+
transform: translateX(calc(100vw - 592px));
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
span.ripple {
|
|
535
|
+
position: absolute;
|
|
536
|
+
border-radius: 50%;
|
|
537
|
+
transform: scale(0);
|
|
538
|
+
animation: ripple 600ms linear;
|
|
539
|
+
background-color: var(--ripple-bg-color);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
@keyframes ripple {
|
|
543
|
+
to {
|
|
544
|
+
transform: scale(4);
|
|
545
|
+
opacity: 1;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
:root {
|
|
549
|
+
--size-base-unit: 0.5rem;
|
|
550
|
+
--cre8-l-max-width: 82.5rem;
|
|
551
|
+
/* 1 */
|
|
552
|
+
--cre8-l-linelength-width: 42rem;
|
|
553
|
+
/* 1 */
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* RTL support for values logical properties can't automatically adjust for
|
|
558
|
+
* 1) Percentage based horizontal translate values need to be flipped
|
|
559
|
+
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
560
|
+
* 3) Inverse items that have 45degs
|
|
561
|
+
*/
|
|
562
|
+
[dir=rtl] {
|
|
563
|
+
--rtlTranslateX: 50%;
|
|
564
|
+
/* 1 */
|
|
565
|
+
--rtlGradientToRight: 270deg;
|
|
566
|
+
/* 2 */
|
|
567
|
+
--rtlRotate45Inverse: -45deg;
|
|
568
|
+
/* 3 */
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Visible focus outline for elements on a light background
|
|
573
|
+
*/
|
|
574
|
+
/**
|
|
575
|
+
* Visible focus outline for elements with an error status
|
|
576
|
+
*/
|
|
577
|
+
/**
|
|
578
|
+
* Visible focus outline for elements on a dark background
|
|
579
|
+
*/
|
|
580
|
+
/**
|
|
581
|
+
* Focus state for themes that need a dashed outline for focus
|
|
582
|
+
* state
|
|
583
|
+
**/
|
|
584
|
+
/**
|
|
585
|
+
* Invisible focus outline for elements that need a more visible
|
|
586
|
+
* focus state for high-contrast mode
|
|
587
|
+
*/
|
|
588
|
+
/**
|
|
589
|
+
* Visually hidden from display
|
|
590
|
+
*/
|
|
591
|
+
/**
|
|
592
|
+
* 1) Establishes a CSS containment context so anything slotted inside can be
|
|
593
|
+
* styled with \`@container\` queries against this element's own rendered size,
|
|
594
|
+
* rather than the viewport. It renders no visible chrome of its own; the
|
|
595
|
+
* only effect is making container queries possible for its content.
|
|
596
|
+
*/
|
|
597
|
+
.cre8-c-container {
|
|
598
|
+
container-type: inline-size;
|
|
599
|
+
display: block;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Size containment
|
|
604
|
+
* 1) Contains both the inline and block axis, so \`@container\` rules can also
|
|
605
|
+
* query height. Use only when this element's own height does not depend on
|
|
606
|
+
* its content - size containment forces the content box to 0x0 before
|
|
607
|
+
* layout runs, so a height derived from content collapses under this mode.
|
|
608
|
+
*/
|
|
609
|
+
.cre8-c-container--size {
|
|
610
|
+
container-type: size;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Normal containment
|
|
615
|
+
* 1) Names the container without adding size containment. Use for
|
|
616
|
+
* \`@container style(...)\` queries, which read custom-property values rather
|
|
617
|
+
* than dimensions and don't need a measured size to query against.
|
|
618
|
+
*/
|
|
619
|
+
.cre8-c-container--normal {
|
|
620
|
+
container-type: normal;
|
|
621
|
+
}`;var x=Object.defineProperty,g=(e,a,d,b)=>{for(var t=void 0,o=e.length-1,s;o>=0;o--)(s=e[o])&&(t=s(a,d,t)||t);return t&&x(a,d,t),t};const m=class m extends u{render(){const a=this.componentClassNames("cre8-c-container",{"cre8-c-container--size":this.type==="size","cre8-c-container--normal":this.type==="normal"});return p`
|
|
622
|
+
<div
|
|
623
|
+
class="${a}"
|
|
624
|
+
part="container"
|
|
625
|
+
style=${this.name?`container-name: ${this.name};`:""}
|
|
626
|
+
>
|
|
627
|
+
<slot></slot>
|
|
628
|
+
</div>
|
|
629
|
+
`}};m.styles=[f];let i=m;g([l()],i.prototype,"type");g([l()],i.prototype,"name");customElements.get("cre8-container")===void 0&&customElements.define("cre8-container",i);const T={title:"cre8 Components/Container",component:"cre8-container",parameters:{status:{type:"inProgress"}},argTypes:{type:{options:["inline-size","size","normal"],control:{type:"radio"}}}},r=e=>p`<cre8-container ${h(e)} style="resize: horizontal; overflow: auto; border: 1px dashed var(--cre8-color-border-default); padding: 8px; width: 480px;">
|
|
630
|
+
<f-po>This box is resizable - drag its right edge. The label inside is styled with a plain <code>@container</code> query keyed to this element's width, not the viewport.</f-po>
|
|
631
|
+
</cre8-container>`,n={args:{name:"demo"},render:e=>r(e)};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:'args => html`<cre8-container ${spread(args)} style="resize: horizontal; overflow: auto; border: 1px dashed var(--cre8-color-border-default); padding: 8px; width: 480px;">\n <f-po>This box is resizable - drag its right edge. The label inside is styled with a plain <code>@container</code> query keyed to this element\'s width, not the viewport.</f-po>\n</cre8-container>`',...r.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
632
|
+
args: {
|
|
633
|
+
name: 'demo'
|
|
634
|
+
},
|
|
635
|
+
render: args => Default(args)
|
|
636
|
+
}`,...n.parameters?.docs?.source}}};const _=["Default","NamedContainer"];export{r as Default,n as NamedContainer,_ as __namedExportsOrder,T as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as u,u as d,j as h,b as f}from"./iframe-
|
|
1
|
+
import{k as u,u as d,j as h,b as f}from"./iframe-B4bTcHfE.js";import{g as m}from"./_commonjsHelpers-DaWZu8wl.js";const b={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:u},y=(n=b,e,r)=>{const{kind:c,metadata:a}=r;let t=globalThis.litPropertyMetadata.get(a);if(t===void 0&&globalThis.litPropertyMetadata.set(a,t=new Map),c==="setter"&&((n=Object.create(n)).wrapped=!0),t.set(r.name,n),c==="accessor"){const{name:s}=r;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(s,i,n,!0,o)},init(o){return o!==void 0&&this.C(s,void 0,n,o),o}}}if(c==="setter"){const{name:s}=r;return function(o){const i=this[s];e.call(this,o),this.requestUpdate(s,i,n,!0,o)}}throw Error("Unsupported decorator location: "+c)};function x(n){return(e,r)=>typeof r=="object"?y(n,e,r):((c,a,t)=>{const s=a.hasOwnProperty(t);return a.constructor.createProperty(t,c),s?Object.getOwnPropertyDescriptor(a,t):void 0})(n,e,r)}var l={exports:{}},p;function E(){return p||(p=1,(function(n){(function(){var e={}.hasOwnProperty;function r(){for(var t="",s=0;s<arguments.length;s++){var o=arguments[s];o&&(t=a(t,c(o)))}return t}function c(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var s="";for(var o in t)e.call(t,o)&&t[o]&&(s=a(s,o));return s}function a(t,s){return s?t?t+" "+s:t+s:t}n.exports?(r.default=r,n.exports=r):window.classNames=r})()})(l)),l.exports}var g=E();const v=m(g),C={"tab-change":"tabChange","tab-select":"tabSelected","modal-close":"close-modal","popover-open":"open","popover-close":"close","tooltip-open":"open","tooltip-close":"close","multi-select-change":"selectedItemsChange","remove-tag-click":"removeTagClicked","percent-bar-left-action-click":"leftActionButtonClick","dropdown-item-select":"dropdown-item-selected","split-button-text-click":"text-click","split-button-dropdown-click":"dropdown-click","pagination-change":"pagination.click","chart-click":"cre8-chart-click","chart-hover":"cre8-chart-hover","chart-ready":"cre8-chart-ready"};class S extends h{componentClassNames(e,r={}){return v(e,r)}slotEmpty(e){return!this.querySelector(`[slot="${e}"]`)}slotNotEmpty(e){return this.slotEmpty(e)?null:!this.slotEmpty(e)}dispatch({e,eventName:r,detailObj:c={},optionsObj:a={}}){const t={bubbles:!0,composed:!0,...a,detail:{...e&&{originalEvent:e},...c}};return this.dispatchWithLegacyAlias(new CustomEvent(r,t))}dispatchWithLegacyAlias(e){this.dispatchEvent(e);const r=C[e.type];if(r){const c={bubbles:e.bubbles,composed:e.composed,cancelable:e.cancelable};this.dispatchEvent(e instanceof CustomEvent?new CustomEvent(r,{...c,detail:e.detail}):new Event(r,c))}return e}render(){return f`<slot></slot>`}}export{S as C,v as c,x as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as p,n as u}from"./cre8-element-
|
|
1
|
+
import{C as p,n as u}from"./cre8-element-C-P96xHp.js";let v=class extends Event{constructor(t,s,i,e){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=s,this.callback=i,this.subscribe=e??!1}};class b{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,s=!1){const i=s||!Object.is(t,this.o);this.o=t,i&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(const[s,{disposer:i}]of this.subscriptions)s(this.o,i)},t!==void 0&&(this.value=t)}addCallback(t,s,i){if(!i)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:s});const{disposer:e}=this.subscriptions.get(t);t(this.value,e)}clearCallbacks(){this.subscriptions.clear()}}let m=class extends Event{constructor(t,s){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=s}};class d extends b{constructor(t,s,i){super(s.context!==void 0?s.initialValue:i),this.onContextRequest=e=>{if(e.context!==this.context)return;const a=e.contextTarget??e.composedPath()[0];a!==this.host&&(e.stopPropagation(),this.addCallback(e.callback,a,e.subscribe))},this.onProviderRequest=e=>{if(e.context!==this.context||(e.contextTarget??e.composedPath()[0])===this.host)return;const a=new Set;for(const[r,{consumerHost:l}]of this.subscriptions)a.has(r)||(a.add(r),l.dispatchEvent(new v(this.context,l,r,!0)));e.stopPropagation()},this.host=t,s.context!==void 0?this.context=s.context:this.context=s,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new m(this.context,this.host))}}function f({context:n}){return(t,s)=>{const i=new WeakMap;if(typeof s=="object")return{get(){return t.get.call(this)},set(e){return i.get(this).setValue(e),t.set.call(this,e)},init(e){return i.set(this,new d(this,{context:n,initialValue:e})),e}};{t.constructor.addInitializer((r=>{i.set(r,new d(r,{context:n}))}));const e=Object.getOwnPropertyDescriptor(t,s);let a;if(e===void 0){const r=new WeakMap;a={get(){return r.get(this)},set(l){i.get(this).setValue(l),r.set(this,l)},configurable:!0,enumerable:!0}}else{const r=e.set;a={...e,set(l){i.get(this).setValue(l),r?.call(this,l)}}}return void Object.defineProperty(t,s,a)}}}const y=Symbol("cre8-form-internals"),x=Symbol("cre8-form-state");var g=Object.defineProperty,V=Object.getOwnPropertyDescriptor,h=(n,t,s,i)=>{for(var e=i>1?void 0:i?V(t,s):t,a=n.length-1,r;a>=0;a--)(r=n[a])&&(e=(i?r(t,s,e):r(e))||e);return i&&e&&g(t,s,e),e};const c=class c extends p{constructor(){super(),this.internalValue="",this.hasCustomError=!1,this.defaultValue="",this._formState={value:"",disabled:!1,required:!1,isError:!1,isSuccess:!1},this._internals=this.attachInternals()}get value(){return this.internalValue}set value(t){const s=this.value;this.internalValue=t,this.type!=="checkbox"&&this.type!=="radio"&&this._internals?.setFormValue(t),this.updateField(),this.updateFormState(),this.requestUpdate("value",s)}updateFormState(){this._formState={value:this.internalValue,disabled:this.disabled??!1,required:this.required??!1,isError:this.isError??!1,isSuccess:this.isSuccess??!1,name:this.name}}updateField(){this.field&&this.internalValue!==void 0&&(this.field.value=this.internalValue??"")}focus(t){if(this.field){this.field.focus(t);return}super.focus(t)}syncValidity(){if(!this._internals||!this.field||this.hasCustomError)return;const t=this.field.validity;if(t.valid){this._internals.setValidity({});return}const s={badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing};this._internals.setValidity(s,this.field.validationMessage||"This field is invalid.",this.field)}firstUpdated(){this.type!=="checkbox"&&this.type!=="radio"&&(this.defaultValue=this.value||this.getAttribute("value")||""),this.updateField(),this.updateFormState()}updated(t){super.updated(t),(t.has("disabled")||t.has("required")||t.has("isError")||t.has("isSuccess")||t.has("name"))&&this.updateFormState(),this.syncValidity()}formResetCallback(){this.value=this.defaultValue,this.updateField()}formDisabledCallback(t){this.disabled=t}formStateRestoreCallback(t,s){typeof t=="string"&&(this.value=t)}get form(){return this._internals?.form??null}get validationMessage(){return this._internals?.validationMessage??""}get validity(){return this._internals?.validity}get willValidate(){return this._internals?.willValidate??!1}reportValidity(){return this._internals?.reportValidity()??!0}checkValidity(){return this._internals?.checkValidity()??!0}setCustomValidity(t){this._internals&&this.field&&(t?(this.hasCustomError=!0,this._internals.setValidity({customError:!0},t,this.field)):(this.hasCustomError=!1,this.syncValidity()))}};c.formAssociated=!0;let o=c;h([f({context:y})],o.prototype,"_internals",2);h([f({context:x})],o.prototype,"_formState",2);h([u()],o.prototype,"name",2);h([u({type:Boolean,reflect:!0})],o.prototype,"disabled",2);h([u({type:Boolean,reflect:!0})],o.prototype,"required",2);h([u({type:Boolean,reflect:!0})],o.prototype,"isError",2);h([u({type:Boolean,reflect:!0})],o.prototype,"isSuccess",2);h([u()],o.prototype,"value",1);export{o as C,y as f,v as s};
|