@tmorrow/cre8-wc 2.3.3 → 2.3.5
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 +4475 -2785
- package/cdn/cre8-wc.esm.js.map +1 -1
- package/cdn/cre8-wc.min.js +3210 -1603
- package/cdn/cre8-wc.min.js.map +1 -1
- package/dist/assets/{Changelog-Documentation-CqEtEpqZ.js → Changelog-Documentation-Csl1aBwJ.js} +1 -1
- package/dist/assets/{Code-Guidelines-CFbBlPmN.js → Code-Guidelines-BqNlRUKt.js} +1 -1
- package/dist/assets/{Color-6AOWCN3U-DM-zQqdC.js → Color-6AOWCN3U-CsLUzVsR.js} +1 -1
- package/dist/assets/{Contributing-Guidelines-BHJr0BHq.js → Contributing-Guidelines-CT2DvWzd.js} +1 -1
- package/dist/assets/{DocsRenderer-JROSPFPF-uFDXVFPd.js → DocsRenderer-JROSPFPF-CgiQjbt2.js} +1 -1
- package/dist/assets/{Tokens-Documentation-CY5JxkGx.js → Tokens-Documentation-BWG2nA5m.js} +1 -1
- package/dist/assets/{WithTooltip-7X4HQR7L-CO_HByyB.js → WithTooltip-7X4HQR7L-C2C_AfmQ.js} +1 -1
- package/dist/assets/{accordion-item.stories-CJ6Vrp8e.js → accordion-item.stories-DjU_NhMM.js} +1 -1
- package/dist/assets/{accordion.stories-OtOW579e.js → accordion.stories-C9wojd-w.js} +1 -1
- package/dist/assets/{address-form.stories-VIeBqTdT.js → address-form.stories-xLNhHwxT.js} +2 -2
- package/dist/assets/{alert.stories-B2WH8OHX.js → alert.stories-D7NEdqQa.js} +1 -1
- package/dist/assets/{badge-BaHD2Vou.js → badge-DoPOxLq7.js} +1 -1
- package/dist/assets/{badge.stories-CBeEWNWQ.js → badge.stories-BREvHNTR.js} +1 -1
- package/dist/assets/{band.stories-xEmGlzXn.js → band.stories-B0nnSzoO.js} +1 -1
- package/dist/assets/{blocks-3OvhvkwV.js → blocks-B6atpvtm.js} +5 -5
- package/dist/assets/{breadcrumbs.stories-BlRqZe5S.js → breadcrumbs.stories-D05EgMNz.js} +1 -1
- package/dist/assets/{button-CiCiGZqD.js → button-BKkXnzpg.js} +1 -1
- package/dist/assets/{button-group-4xtKtobB.js → button-group-Cz-4Ghaw.js} +1 -1
- package/dist/assets/{button-group.stories-DLcC16Zz.js → button-group.stories-BtmH6cty.js} +1 -1
- package/dist/assets/{button.stories-BAZz2sid.js → button.stories-Cwum3yAS.js} +1 -1
- package/dist/assets/{card-BMNc1blS.js → card-Ba9UBp6t.js} +18 -5
- package/dist/assets/card.stories-2rhA29TT.js +69 -0
- package/dist/assets/{chart.stories-u1GFgfpR.js → chart.stories-CdNIg3Kb.js} +1 -1
- package/dist/assets/{checkbox-field-item-BxyLZmsj.js → checkbox-field-item-clQWVWNS.js} +1 -1
- package/dist/assets/{checkbox-field-item.stories-jkgmvp5k.js → checkbox-field-item.stories-ifRhfwg_.js} +1 -1
- package/dist/assets/{checkbox-field.stories-Djg4RLw2.js → checkbox-field.stories-mYaz8FX-.js} +1 -1
- package/dist/assets/container-grid.stories-Dnnlrhpk.js +975 -0
- package/dist/assets/container.stories-FTn4HUQs.js +637 -0
- package/dist/assets/{cre8-element-D5K1i-hj.js → cre8-element-D4jUl3yv.js} +1 -1
- package/dist/assets/{cre8-form-element-CHwXJGtF.js → cre8-form-element-B-sJI1kh.js} +1 -1
- package/dist/assets/{danger-button.stories-C9AiulD_.js → danger-button.stories-vZTPor76.js} +1 -1
- package/dist/assets/{date-picker.stories-Dpn8gMnP.js → date-picker.stories-CJp0GJ1q.js} +1 -1
- package/dist/assets/{divider-AdBqL-zc.js → divider-5XyBGf_n.js} +1 -1
- package/dist/assets/{divider.stories-4oDueXSE.js → divider.stories-OhHD6KYr.js} +1 -1
- package/dist/assets/{dropdown-DAs-rC6g.js → dropdown-B2Cu1mWc.js} +1 -1
- package/dist/assets/{dropdown-item.stories-D3WJ9ShB.js → dropdown-item.stories-BqVCNqv9.js} +1 -1
- package/dist/assets/{dropdown.stories-Cjxzzl0F.js → dropdown.stories-BlKLrvbC.js} +1 -1
- package/dist/assets/{f-po-avkL0WKN.js → f-po-CDPxLfff.js} +1 -1
- package/dist/assets/{feature.stories-Bjv4lFtH.js → feature.stories-Dg8guwWZ.js} +1 -1
- package/dist/assets/{field-CSA6v9H7.js → field-XAdoSKiw.js} +1 -1
- package/dist/assets/{field-note-Csk21cEK.js → field-note-CSSkQ5DK.js} +1 -1
- package/dist/assets/{field-note.stories-3W5HCEAC.js → field-note.stories-DLqWQ2ML.js} +1 -1
- package/dist/assets/{field.stories-ef1JeKNZ.js → field.stories-DV_Y25cv.js} +1 -1
- package/dist/assets/{field.styles-DkhzBNRn.js → field.styles-DE4j2yDn.js} +1 -1
- package/dist/assets/{footer.stories-CiaJKJYZ.js → footer.stories-C8rqIk6m.js} +1 -1
- package/dist/assets/{form-Djzj-His.js → form-q2KoR5mC.js} +1 -1
- package/dist/assets/{form.stories-ClULJmoZ.js → form.stories-CHyQ4N3Y.js} +2 -2
- package/dist/assets/{formatter-L2YTDE3Q-DY-TPbND.js → formatter-L2YTDE3Q-DiDkQfYj.js} +1 -1
- package/dist/assets/{global-nav-item-BUEafIsj.js → global-nav-item-Bpmc-nWW.js} +1 -1
- package/dist/assets/{global-nav-item.stories-Ft_7-AsJ.js → global-nav-item.stories-eSo9-Nsj.js} +1 -1
- package/dist/assets/{global-nav.stories-BRGML-UE.js → global-nav.stories-D5t_BBVD.js} +1 -1
- package/dist/assets/{grid-item-Cp0DHPib.js → grid-CKI7ODmO.js} +4 -604
- package/dist/assets/grid-item-DdpNu2ee.js +605 -0
- package/dist/assets/{grid.stories-DjdNcH-_.js → grid.stories-Q2GWLP0H.js} +2 -2
- package/dist/assets/{header.stories-mQtspj2u.js → header.stories-7ESEi8hW.js} +1 -1
- package/dist/assets/{heading-qb0Njg_A.js → heading-TaL9d36K.js} +1 -1
- package/dist/assets/{heading.stories-DUxGqRBF.js → heading.stories-D7u6BUor.js} +1 -1
- package/dist/assets/{hero.stories-DKjYGSJm.js → hero.stories-CveUmpyH.js} +1 -1
- package/dist/assets/{icon-BizEL6HD.js → icon-BmyJ3psE.js} +1 -1
- package/dist/assets/{icon.stories-CCawFOB4.js → icon.stories-BfZHRx4U.js} +1 -1
- package/dist/assets/if-defined-Bh0SnORx.js +1 -0
- package/dist/assets/{iframe-D9xUwXG_.js → iframe-DgoqrgRr.js} +85 -85
- package/dist/assets/{inline-alert.stories-CNeTpTij.js → inline-alert.stories-DTpI_GL6.js} +1 -1
- package/dist/assets/{layout-container.stories-Bk-1Tze8.js → layout-container.stories-DEICn4RI.js} +1 -1
- package/dist/assets/{layout.stories-C1xGgJah.js → layout.stories-R1vAqdU8.js} +16 -5
- package/dist/assets/{linelength-container.stories-DbptqKPX.js → linelength-container.stories-Di18W93a.js} +1 -1
- package/dist/assets/{link-CT2dZQ9U.js → link-BCInFTin.js} +1 -1
- package/dist/assets/{link-list.stories-pG_4Vunv.js → link-list.stories-Bql9RJvh.js} +1 -1
- package/dist/assets/{link.stories-CuMYpJx3.js → link.stories-ovdak_Fx.js} +1 -1
- package/dist/assets/{list.stories-DgYMukeC.js → list.stories-Cu1AE1n9.js} +1 -1
- package/dist/assets/{loading-spinner-DYXTVW2W.js → loading-spinner-BcPlxdFy.js} +1 -1
- package/dist/assets/{loading-spinner.stories-L5JWe98i.js → loading-spinner.stories-2dFxevUc.js} +1 -1
- package/dist/assets/{logo.stories-DCQyXttJ.js → logo.stories-DkfS0j9Q.js} +1 -1
- package/dist/assets/{main.stories-BLorqHyS.js → main.stories-_hQ8dB5R.js} +1 -1
- package/dist/assets/{modal-D_W7oK1F.js → modal-DFswd6Pm.js} +1 -1
- package/dist/assets/{modal-BWM6Yta0.js → modal-DSuDhgP2.js} +1 -1
- package/dist/assets/{modal.stories-CFH2G_nN.js → modal.stories-ND5Zz9lK.js} +1 -1
- package/dist/assets/{multi-select.stories-Db5cW_hk.js → multi-select.stories-B1QqT-2X.js} +1 -1
- package/dist/assets/{nav-container.stories-C6xKUbkC.js → nav-container.stories-Bdaj6gPh.js} +1 -1
- package/dist/assets/{page-header.stories-Cs_nSpCz.js → page-header.stories-BjP7uTak.js} +1 -1
- package/dist/assets/{pagination.stories-C21hnoiL.js → pagination.stories-Crg_Ak31.js} +1 -1
- package/dist/assets/{percent-bar.stories-Bbx6-i6P.js → percent-bar.stories-CI8_yiCS.js} +1 -1
- package/dist/assets/{popover.stories-CaFsglpD.js → popover.stories-DYYRKxPn.js} +1 -1
- package/dist/assets/{primary-nav.stories-Bj3xi9Qf.js → primary-nav.stories--d9sFv8Q.js} +1 -1
- package/dist/assets/{progress-meter-Dp19H0Xh.js → progress-meter-24cbQ0M2.js} +1 -1
- package/dist/assets/{progress-meter.stories-Bc_xLPTA.js → progress-meter.stories-Bbs-4zrX.js} +1 -1
- package/dist/assets/{progress-steps-item-CvZ2ZvMJ.js → progress-steps-item-l1Yd6Qdn.js} +1 -1
- package/dist/assets/{progress-steps-item.stories-CWrGqOTb.js → progress-steps-item.stories-4SLP6kUe.js} +1 -1
- package/dist/assets/{progress-steps.stories-DRTdqJs6.js → progress-steps.stories-f-QSfx25.js} +1 -1
- package/dist/assets/{radio-field-item-BaxVLzAW.js → radio-field-item-C-qx8w2n.js} +1 -1
- package/dist/assets/{radio-field-item.stories-BWQ3G44O.js → radio-field-item.stories-DC2D6bGM.js} +1 -1
- package/dist/assets/{radio-field.stories-Cnn20_Kz.js → radio-field.stories-CrmSXKzO.js} +1 -1
- package/dist/assets/{remove-tag-Cf4NBqwo.js → remove-tag-DSYCfP_p.js} +1 -1
- package/dist/assets/{remove-tag.stories-CoJSVyVK.js → remove-tag.stories-CAgobRMm.js} +1 -1
- package/dist/assets/{sample-modal.stories-NX9_kHZV.js → sample-modal.stories-CluEtIyu.js} +1 -1
- package/dist/assets/{section.stories-DT05zfq0.js → section.stories-BDwfRSMK.js} +1 -1
- package/dist/assets/{select-tile-C6q0G-eR.js → select-tile-BQUic7vl.js} +1 -1
- package/dist/assets/{select-tile-list.stories-BlsFhm8A.js → select-tile-list.stories-DUs9OX63.js} +1 -1
- package/dist/assets/{select-tile.stories-BtDSND1I.js → select-tile.stories-BEgsWkBL.js} +1 -1
- package/dist/assets/{select.stories-Uhlp4vTk.js → select.stories-Dl5Tj-xh.js} +1 -1
- package/dist/assets/{sign-in.stories-KxKsiJ_I.js → sign-in.stories-oi60nA8L.js} +1 -1
- package/dist/assets/{skeleton-loader.stories-x9NwCuB-.js → skeleton-loader.stories-B-YaW3gk.js} +1 -1
- package/dist/assets/{split-button.stories-CCIV9PcN.js → split-button.stories-DKwZFY3q.js} +1 -1
- package/dist/assets/{spread-vYBk3OyG.js → spread-Cc0YLoqh.js} +1 -1
- package/dist/assets/state-ClQJCb1N.js +1 -0
- package/dist/assets/{submenu.stories-1CeMD-88.js → submenu.stories-aFr-X6I6.js} +1 -1
- package/dist/assets/{syntaxhighlighter-T5IQBZDB-DuUtDK1L.js → syntaxhighlighter-T5IQBZDB-CLnYzOAY.js} +1 -1
- package/dist/assets/{table-header-CZPZJkh2.js → table-header-HVutPQ-P.js} +1 -1
- package/dist/assets/{table-object.stories-CHsIkZpI.js → table-object.stories-Bd_L6N6-.js} +1 -1
- package/dist/assets/{table.stories-CyEogQEe.js → table.stories-BtOYInmB.js} +1 -1
- package/dist/assets/{tabs.stories-BG4W0bJP.js → tabs.stories-B5gNqx2F.js} +1 -1
- package/dist/assets/{tag-BAIhnGky.js → tag-CwIHolYS.js} +1 -1
- package/dist/assets/{tag-list.stories-CxaYf2iP.js → tag-list.stories-oK500v7-.js} +1 -1
- package/dist/assets/{tag.stories-D_wvVPgy.js → tag.stories-BA5SqUtI.js} +1 -1
- package/dist/assets/{tertiary-nav.stories-IRAOuBTV.js → tertiary-nav.stories-DUkar1nu.js} +1 -1
- package/dist/assets/{text-link-DKSggeI1.js → text-link-DI4QMUOR.js} +1 -1
- package/dist/assets/{text-link.stories-1rElTFk_.js → text-link.stories-DRSy-lWJ.js} +1 -1
- package/dist/assets/{text-passage-C4_koZMT.js → text-passage-D_pRCxLR.js} +1 -1
- package/dist/assets/{text-passage.stories-C5Khi4NI.js → text-passage.stories-BnD2hBJy.js} +1 -1
- package/dist/assets/{tooltip.stories-Dn8VewDb.js → tooltip.stories-DJ8XD6C1.js} +1 -1
- package/dist/assets/{utility-nav.stories-cvQfZkXb.js → utility-nav.stories-CD5W8Fh7.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/index.json +1 -1
- package/dist/project.json +1 -1
- package/dist/sb-addons/storybook-5/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/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 +15 -2
- package/lib/components/card/card.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 +625 -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 +950 -0
- package/lib/components/container-grid/container-grid.styles.js.map +1 -0
- 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 +6 -2
- package/lib/components/grid-item/grid-item.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 +11 -0
- package/lib/components/layout-section/layout-section.styles.js.map +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/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-BoEOCkv2.js +0 -45
- package/dist/assets/if-defined-wpPiA2T8.js +0 -1
- package/dist/assets/state-CmxD4Gm2.js +0 -1
|
@@ -0,0 +1,637 @@
|
|
|
1
|
+
import{a as g,b as p}from"./iframe-DgoqrgRr.js";import{s as h}from"./spread-Cc0YLoqh.js";import"./f-po-CDPxLfff.js";import{C as u,n as l}from"./cre8-element-D4jUl3yv.js";import"./preload-helper-PPVm8Dsz.js";import"./if-defined-Bh0SnORx.js";import"./_commonjsHelpers-DaWZu8wl.js";const f=g`.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: size(1) !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cre8-u-margin-md {
|
|
79
|
+
margin: size(2) !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cre8-u-margin-lg {
|
|
83
|
+
margin: size(3) !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cre8-u-margin-xl {
|
|
87
|
+
margin: size(4) !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.cre8-u-margin-xxl {
|
|
91
|
+
margin: size(8) !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: size(1) !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cre8-u-margin-top-md {
|
|
103
|
+
margin-top: size(2) !important;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cre8-u-margin-top-lg {
|
|
107
|
+
margin-top: size(3) !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.cre8-u-margin-top-xl {
|
|
111
|
+
margin-top: size(4) !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.cre8-u-margin-top-xxl {
|
|
115
|
+
margin-top: size(8) !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: size(1) !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.cre8-u-margin-right-md {
|
|
127
|
+
margin-right: size(2) !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.cre8-u-margin-right-lg {
|
|
131
|
+
margin-right: size(3) !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.cre8-u-margin-right-xl {
|
|
135
|
+
margin-right: size(4) !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.cre8-u-margin-right-xxl {
|
|
139
|
+
margin-right: size(8) !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: size(1) !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.cre8-u-margin-bottom-md {
|
|
151
|
+
margin-bottom: size(2) !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.cre8-u-margin-bottom-lg {
|
|
155
|
+
margin-bottom: size(3) !important;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.cre8-u-margin-bottom-xl {
|
|
159
|
+
margin-bottom: size(4) !important;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.cre8-u-margin-bottom-xxl {
|
|
163
|
+
margin-bottom: size(8) !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.cre8-u-margin-bottom-xl-xxl {
|
|
167
|
+
margin-bottom: size(4) !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@media all and (min-width: 768px) {
|
|
171
|
+
.cre8-u-margin-bottom-xl-xxl {
|
|
172
|
+
margin-bottom: size(8) !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: size(1) !important;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.cre8-u-margin-left-md {
|
|
184
|
+
margin-left: size(2) !important;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.cre8-u-margin-left-lg {
|
|
188
|
+
margin-left: size(3) !important;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.cre8-u-margin-left-xl {
|
|
192
|
+
margin-left: size(4) !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cre8-u-margin-left-xxl {
|
|
196
|
+
margin-left: size(8) !important;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.cre8-u-padding-none {
|
|
200
|
+
padding: 0 !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.cre8-u-padding-sm {
|
|
204
|
+
padding: size(1) !important;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.cre8-u-padding-md {
|
|
208
|
+
padding: size(2) !important;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.cre8-u-padding-lg {
|
|
212
|
+
padding: size(3) !important;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.cre8-u-padding-xl {
|
|
216
|
+
padding: size(4) !important;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.cre8-u-padding-xxl {
|
|
220
|
+
padding: size(8) !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: size(1) !important;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.cre8-u-padding-top-md {
|
|
232
|
+
padding-top: size(2) !important;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.cre8-u-padding-top-lg {
|
|
236
|
+
padding-top: size(3) !important;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.cre8-u-padding-top-xl {
|
|
240
|
+
padding-top: size(4) !important;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.cre8-u-padding-top-xxl {
|
|
244
|
+
padding-top: size(8) !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: size(1) !important;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.cre8-u-padding-right-md {
|
|
256
|
+
padding-right: size(2) !important;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.cre8-u-padding-right-lg {
|
|
260
|
+
padding-right: size(3) !important;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.cre8-u-padding-right-xl {
|
|
264
|
+
padding-right: size(4) !important;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.cre8-u-padding-right-xxl {
|
|
268
|
+
padding-right: size(8) !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: size(1) !important;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.cre8-u-padding-bottom-md {
|
|
280
|
+
padding-bottom: size(2) !important;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.cre8-u-padding-bottom-lg {
|
|
284
|
+
padding-bottom: size(3) !important;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.cre8-u-padding-bottom-xl {
|
|
288
|
+
padding-bottom: size(4) !important;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.cre8-u-padding-bottom-xxl {
|
|
292
|
+
padding-bottom: size(8) !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: size(1) !important;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.cre8-u-padding-left-md {
|
|
304
|
+
padding-left: size(2) !important;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.cre8-u-padding-left-lg {
|
|
308
|
+
padding-left: size(3) !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.cre8-u-padding-left-xl {
|
|
312
|
+
padding-left: size(4) !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.cre8-u-padding-left-xxl {
|
|
316
|
+
padding-left: size(8) !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
|
+
-webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
333
|
+
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
334
|
+
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-direction: column;
|
|
337
|
+
padding: 0;
|
|
338
|
+
margin: 0;
|
|
339
|
+
color: var(--cre8-color-content-default);
|
|
340
|
+
background: var(--background-default);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
@media all and (min-width: 60rem) {
|
|
344
|
+
.page-container {
|
|
345
|
+
background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
.band__inner {
|
|
349
|
+
margin-left: 2rem;
|
|
350
|
+
margin-right: 2rem;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
@media all and (min-width: 60rem) {
|
|
354
|
+
.band__inner {
|
|
355
|
+
margin-right: 0;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
img {
|
|
359
|
+
max-width: 100%;
|
|
360
|
+
height: auto;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
365
|
+
*/
|
|
366
|
+
*,
|
|
367
|
+
::slotted(*),
|
|
368
|
+
*:before,
|
|
369
|
+
*:after {
|
|
370
|
+
box-sizing: border-box;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
:root {
|
|
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
|
+
* 1) Establishes a CSS containment context so anything slotted inside can be
|
|
594
|
+
* styled with \`@container\` queries against this element's own rendered size,
|
|
595
|
+
* rather than the viewport. It renders no visible chrome of its own; the
|
|
596
|
+
* only effect is making container queries possible for its content.
|
|
597
|
+
*/
|
|
598
|
+
.cre8-c-container {
|
|
599
|
+
container-type: inline-size;
|
|
600
|
+
display: block;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Size containment
|
|
605
|
+
* 1) Contains both the inline and block axis, so \`@container\` rules can also
|
|
606
|
+
* query height. Use only when this element's own height does not depend on
|
|
607
|
+
* its content - size containment forces the content box to 0x0 before
|
|
608
|
+
* layout runs, so a height derived from content collapses under this mode.
|
|
609
|
+
*/
|
|
610
|
+
.cre8-c-container--size {
|
|
611
|
+
container-type: size;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Normal containment
|
|
616
|
+
* 1) Names the container without adding size containment. Use for
|
|
617
|
+
* \`@container style(...)\` queries, which read custom-property values rather
|
|
618
|
+
* than dimensions and don't need a measured size to query against.
|
|
619
|
+
*/
|
|
620
|
+
.cre8-c-container--normal {
|
|
621
|
+
container-type: normal;
|
|
622
|
+
}`;var x=Object.defineProperty,c=(e,a,s,b)=>{for(var t=void 0,o=e.length-1,m;o>=0;o--)(m=e[o])&&(t=m(a,s,t)||t);return t&&x(a,s,t),t};const d=class d 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`
|
|
623
|
+
<div
|
|
624
|
+
class="${a}"
|
|
625
|
+
part="container"
|
|
626
|
+
style=${this.name?`container-name: ${this.name};`:""}
|
|
627
|
+
>
|
|
628
|
+
<slot></slot>
|
|
629
|
+
</div>
|
|
630
|
+
`}};d.styles=[f];let r=d;c([l()],r.prototype,"type");c([l()],r.prototype,"name");customElements.get("cre8-container")===void 0&&customElements.define("cre8-container",r);const T={title:"cre8 Components/Container",component:"cre8-container",parameters:{status:{type:"inProgress"}},argTypes:{type:{options:["inline-size","size","normal"],control:{type:"radio"}}}},i=e=>p`<cre8-container ${h(e)} style="resize: horizontal; overflow: auto; border: 1px dashed var(--cre8-color-border-default); padding: 8px; width: 480px;">
|
|
631
|
+
<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>
|
|
632
|
+
</cre8-container>`,n={args:{name:"demo"},render:e=>i(e)};i.parameters={...i.parameters,docs:{...i.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>`',...i.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
633
|
+
args: {
|
|
634
|
+
name: 'demo'
|
|
635
|
+
},
|
|
636
|
+
render: args => Default(args)
|
|
637
|
+
}`,...n.parameters?.docs?.source}}};const _=["Default","NamedContainer"];export{i 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-DgoqrgRr.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-D4jUl3yv.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Z,A as c,b as n}from"./iframe-
|
|
1
|
+
import{a as Z,A as c,b as n}from"./iframe-DgoqrgRr.js";import{s as q}from"./spread-Cc0YLoqh.js";import{c as G,n as t}from"./cre8-element-D4jUl3yv.js";import{o as a}from"./if-defined-Bh0SnORx.js";import"./icon-BmyJ3psE.js";import"./loading-spinner-BcPlxdFy.js";import{e as N}from"./query-BpjciUlk.js";import{C as U}from"./cre8-form-element-B-sJI1kh.js";import"./preload-helper-PPVm8Dsz.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./base-DVmwUFg0.js";const Y=Z`@charset "UTF-8";
|
|
2
2
|
.cre8-u-content-knockout-brand {
|
|
3
3
|
color: var(----cre8-color-content-knockout-brand);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as x,b as s,A as f}from"./iframe-
|
|
1
|
+
import{a as x,b as s,A as f}from"./iframe-DgoqrgRr.js";import{s as X}from"./spread-Cc0YLoqh.js";import{w as E}from"./decorator-iVSD-Llo.js";import{o as u}from"./if-defined-Bh0SnORx.js";import{C as I,n as p}from"./cre8-element-D4jUl3yv.js";import{r as c}from"./state-ClQJCb1N.js";import{e as A}from"./query-BpjciUlk.js";import"./icon-BmyJ3psE.js";import"./button-BKkXnzpg.js";import{s as B,f as P}from"./cre8-form-element-B-sJI1kh.js";import{C as q}from"./field-XAdoSKiw.js";import"./preload-helper-PPVm8Dsz.js";import"./chunk-EUVGDK4H-rHCQfRxh.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./base-DVmwUFg0.js";import"./loading-spinner-BcPlxdFy.js";import"./index.browser-BY9c7rfI.js";import"./field-note-CSSkQ5DK.js";import"./field.styles-DE4j2yDn.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
|
|