@tmorrow/cre8-wc 2.1.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/a2ui/catalog-kg.json +441 -299
  2. package/a2ui/catalog.compact.json +27 -3
  3. package/a2ui/catalog.json +88 -2
  4. package/a2ui/demo.html +11 -2
  5. package/a2ui/generate-catalog-kg.mjs +122 -0
  6. package/cdn/cre8-wc.esm.js +2081 -1863
  7. package/cdn/cre8-wc.esm.js.map +1 -1
  8. package/cdn/cre8-wc.min.js +275 -257
  9. package/cdn/cre8-wc.min.js.map +1 -1
  10. package/dist/assets/{Changelog-Documentation-CeOetLxK.js → Changelog-Documentation-DAkpnvjl.js} +1 -1
  11. package/dist/assets/{Code-Guidelines-BjdezAjj.js → Code-Guidelines-BaDD3Qt-.js} +1 -1
  12. package/dist/assets/{Color-6AOWCN3U-DPFGZitI.js → Color-6AOWCN3U-Br-VT4Nz.js} +1 -1
  13. package/dist/assets/{Contributing-Guidelines-B1M2V1hW.js → Contributing-Guidelines-CcP9zakB.js} +1 -1
  14. package/dist/assets/{DocsRenderer-JROSPFPF-BBy8KWNl.js → DocsRenderer-JROSPFPF-yAlipAFi.js} +1 -1
  15. package/dist/assets/{Tokens-Documentation-CdTxFDLe.js → Tokens-Documentation-C7AoT8M_.js} +1 -1
  16. package/dist/assets/{WithTooltip-7X4HQR7L-DZzTNMQ7.js → WithTooltip-7X4HQR7L-DGAfa3Vb.js} +1 -1
  17. package/dist/assets/{accordion-item.stories-Bl26JlHp.js → accordion-item.stories-BZFx3mtU.js} +9 -1
  18. package/dist/assets/{accordion.stories-DjoLApQw.js → accordion.stories-Bvj-QGNl.js} +22 -14
  19. package/dist/assets/address-form.stories-CseRFoqX.js +71 -0
  20. package/dist/assets/{alert.stories-pO1y3YCQ.js → alert.stories-CbICvjHf.js} +31 -15
  21. package/dist/assets/{badge-BTxW3bN2.js → badge-UrvSTJon.js} +11 -3
  22. package/dist/assets/{badge.stories-vqh63RJ2.js → badge.stories-DOZqQX5K.js} +7 -8
  23. package/dist/assets/{band.stories-CjKRppSb.js → band.stories-CK_yg4DT.js} +9 -1
  24. package/dist/assets/{blocks-1be_-L6v.js → blocks-Du1uvPRr.js} +5 -5
  25. package/dist/assets/{breadcrumbs.stories-Doyfy3V9.js → breadcrumbs.stories-D7yO08QU.js} +25 -9
  26. package/dist/assets/{button-CgaWukz0.js → button-BCRNRwfX.js} +9 -1
  27. package/dist/assets/{button-group-G7qN4MwM.js → button-group-CwodvBV3.js} +9 -1
  28. package/dist/assets/{button-group.stories-cL3Kay6M.js → button-group.stories-DqUGrtzO.js} +1 -1
  29. package/dist/assets/{button.stories-C9HSpxWb.js → button.stories-CsEf8OvS.js} +1 -1
  30. package/dist/assets/{card.stories-BbU8YymD.js → card-DSDkldbr.js} +14 -50
  31. package/dist/assets/card.stories-DBa0yvbU.js +45 -0
  32. package/dist/assets/{chart.stories-BL4FxIA_.js → chart.stories-DS4mwVqy.js} +3 -3
  33. package/dist/assets/{checkbox-field-item-DIMHcWM0.js → checkbox-field-item-sISvPESD.js} +9 -1
  34. package/dist/assets/{checkbox-field-item.stories-XbB4x_lO.js → checkbox-field-item.stories-BCvdJgaW.js} +1 -1
  35. package/dist/assets/{checkbox-field.stories-YnqFUI4K.js → checkbox-field.stories-DnG0eNYV.js} +20 -12
  36. package/dist/assets/cre8-element-q82VmUgi.js +1 -0
  37. package/dist/assets/cre8-form-element-Bk9Cy3PA.js +1 -0
  38. package/dist/assets/{danger-button.stories-xh25hmfd.js → danger-button.stories-UbeDkyI-.js} +9 -1
  39. package/dist/assets/{date-picker.stories-DD_ctzEF.js → date-picker.stories-B1SKYMVQ.js} +51 -3
  40. package/dist/assets/{divider-xZ2KARHf.js → divider-Bci4ZIK6.js} +10 -2
  41. package/dist/assets/{divider.stories-Bk9oF-OV.js → divider.stories-BhUpwAzD.js} +1 -1
  42. package/dist/assets/{dropdown-BEP5x3CW.js → dropdown-CbkVYKEV.js} +25 -9
  43. package/dist/assets/dropdown-item.stories-C3cFlIXo.js +26 -0
  44. package/dist/assets/{dropdown.stories-B0OlKD7h.js → dropdown.stories-DNo1ezrT.js} +2 -2
  45. package/dist/assets/{f-po-BdPzDRD-.js → f-po-CGwWqyus.js} +1 -1
  46. package/dist/assets/{feature.stories-DYE1Js70.js → feature.stories-B1bhPf5C.js} +9 -1
  47. package/dist/assets/field-V4dGu-vp.js +44 -0
  48. package/dist/assets/{field-note-fccBckVl.js → field-note-CI4Ca7JE.js} +11 -3
  49. package/dist/assets/{field-note.stories-BH9AZMbF.js → field-note.stories-qXAywEeq.js} +1 -1
  50. package/dist/assets/{field.stories-BQPtmziK.js → field.stories-CQf9a7bv.js} +6 -6
  51. package/dist/assets/{field-BpUYyRW1.js → field.styles-CiOFAoAG.js} +12 -45
  52. package/dist/assets/{footer.stories-DCWEciqD.js → footer.stories-C7TG2Cky.js} +9 -1
  53. package/dist/assets/form-DHk8aePA.js +17 -0
  54. package/dist/assets/form.stories-CJ9sqwpA.js +75 -0
  55. package/dist/assets/{formatter-L2YTDE3Q-B9u1AOWn.js → formatter-L2YTDE3Q-B-Ee-OPm.js} +1 -1
  56. package/dist/assets/{global-nav-item-T4htN-yO.js → global-nav-item-pjd1OC7i.js} +14 -6
  57. package/dist/assets/{global-nav-item.stories-2dWRfCXv.js → global-nav-item.stories-D6N0iKNQ.js} +1 -1
  58. package/dist/assets/{global-nav.stories-Fh1gScqg.js → global-nav.stories-CwJ0cKW_.js} +10 -2
  59. package/dist/assets/{grid-C5CKMXNe.js → grid-item-WCDk_zGh.js} +573 -557
  60. package/dist/assets/{grid.stories-BLmCNdeA.js → grid.stories-DR4e60eQ.js} +1 -1
  61. package/dist/assets/{header.stories-BkDrjJtj.js → header.stories-BUO2t2KS.js} +9 -1
  62. package/dist/assets/{heading-Dbka33DK.js → heading-Cux7lJt-.js} +10 -2
  63. package/dist/assets/{heading.stories-Be40_bmG.js → heading.stories-BlgEi0dB.js} +1 -1
  64. package/dist/assets/{hero.stories-vRu7PZG9.js → hero.stories-C853F5_Y.js} +9 -1
  65. package/dist/assets/{icon-ChfRWXWy.js → icon-ByzQuB0Z.js} +9 -1
  66. package/dist/assets/{icon.stories-Cj4U7L5G.js → icon.stories-DYCuJ4Rv.js} +1 -1
  67. package/dist/assets/if-defined-DWVEXvB4.js +1 -0
  68. package/dist/assets/{iframe-BNJP6ovU.js → iframe-CTa_pRc7.js} +142 -142
  69. package/dist/assets/iframe-CWwoGI65.css +1 -0
  70. package/dist/assets/{inline-alert.stories-CygBYI02.js → inline-alert.stories-C_R0hcQ4.js} +9 -1
  71. package/dist/assets/{layout-container.stories-TMyIJteJ.js → layout-container.stories-Bywbzd_L.js} +10 -2
  72. package/dist/assets/{layout.stories-ylRM-ANL.js → layout.stories-CI7XD-aG.js} +23 -7
  73. package/dist/assets/light-children-DDjBxt3J.js +1 -0
  74. package/dist/assets/{linelength-container.stories-Br2v8jXE.js → linelength-container.stories-DvwrIt8x.js} +9 -1
  75. package/dist/assets/{link-CRE0Eqdo.js → link-CkyZrqNv.js} +9 -1
  76. package/dist/assets/{link-list.stories--y-urrVo.js → link-list.stories-BrOT-y5d.js} +39 -23
  77. package/dist/assets/{link.stories-C3WQOgkY.js → link.stories-DvGexqBV.js} +1 -1
  78. package/dist/assets/{list.stories-Bd2bxkxn.js → list.stories-B2PmqPK-.js} +29 -13
  79. package/dist/assets/{loading-spinner-C52KNq6y.js → loading-spinner-D_r3kfYs.js} +12 -4
  80. package/dist/assets/{loading-spinner.stories-DPRGEeHT.js → loading-spinner.stories-B2GCLqqq.js} +1 -1
  81. package/dist/assets/{logo.stories-2LBqqraT.js → logo.stories-BK37XQOB.js} +9 -1
  82. package/dist/assets/{main.stories-BQzD7iWD.js → main.stories-DzXRavXL.js} +10 -2
  83. package/dist/assets/{modal-CCfbY4fF.js → modal-CRGEVzx5.js} +10 -2
  84. package/dist/assets/{modal-GglWRNJp.js → modal-frjOZV7F.js} +3 -3
  85. package/dist/assets/{modal.stories-CpybCs79.js → modal.stories-DPTsnRPI.js} +1 -1
  86. package/dist/assets/{multi-select.stories-BhzEKRui.js → multi-select.stories-DoNFngx3.js} +12 -4
  87. package/dist/assets/{nav-container.stories-Be1YlegP.js → nav-container.stories-BV0DiV1z.js} +11 -3
  88. package/dist/assets/{page-header.stories-BOVLQ0YF.js → page-header.stories-DGqzeCVS.js} +9 -1
  89. package/dist/assets/{pagination.stories-D62sa_1K.js → pagination.stories-DymlgiVw.js} +28 -12
  90. package/dist/assets/{percent-bar.stories-CYi4El7T.js → percent-bar.stories-BJd3Qi90.js} +11 -3
  91. package/dist/assets/{popover.stories-B9O8F4yv.js → popover.stories-0CnGKfM7.js} +11 -3
  92. package/dist/assets/{primary-nav.stories-Bt-o7h45.js → primary-nav.stories-DoEjkNEW.js} +17 -1
  93. package/dist/assets/{progress-meter-Dit59091.js → progress-meter-Ca-xdNNC.js} +9 -1
  94. package/dist/assets/{progress-meter.stories-CYnOCmjo.js → progress-meter.stories-CiwBm4ND.js} +1 -1
  95. package/dist/assets/{progress-steps-item-CWJsad0s.js → progress-steps-item-XkO_k158.js} +9 -1
  96. package/dist/assets/{progress-steps-item.stories-ePn_6bPn.js → progress-steps-item.stories-ikJlzkED.js} +1 -1
  97. package/dist/assets/{progress-steps.stories-CblrEcXF.js → progress-steps.stories-ezsJjY7f.js} +37 -29
  98. package/dist/assets/{radio-field-item-Bm-0RWPe.js → radio-field-item-gOof1xz7.js} +31 -15
  99. package/dist/assets/{radio-field-item.stories-y_TrTRIW.js → radio-field-item.stories-Bg7NJuid.js} +6 -6
  100. package/dist/assets/{radio-field.stories-CSWrbUrn.js → radio-field.stories-CwqXSLAA.js} +2 -2
  101. package/dist/assets/{remove-tag-lCr57c5r.js → remove-tag-tJrDexqV.js} +10 -2
  102. package/dist/assets/{remove-tag.stories-CDfwCdvZ.js → remove-tag.stories-CANJ3xUD.js} +1 -1
  103. package/dist/assets/{sample-modal.stories-BZ4N2R2Z.js → sample-modal.stories-CAZBmR1N.js} +4 -4
  104. package/dist/assets/{section.stories-D_1InThX.js → section.stories-Dbw4FBo8.js} +9 -1
  105. package/dist/assets/{select-tile-BqqB3ZtE.js → select-tile-DbEfRqPZ.js} +10 -2
  106. package/dist/assets/{select-tile-list.stories-Di4ILgV8.js → select-tile-list.stories-BWIbF_U7.js} +9 -1
  107. package/dist/assets/{select-tile.stories-D3h_6zlV.js → select-tile.stories-DWzrgGaK.js} +1 -1
  108. package/dist/assets/{select.stories-BB2phP9A.js → select.stories-DP29QG7D.js} +9 -1
  109. package/dist/assets/sign-in.stories-BYo2rxIQ.js +63 -0
  110. package/dist/assets/{skeleton-loader.stories-y4uml_kV.js → skeleton-loader.stories-B1cPTECY.js} +13 -5
  111. package/dist/assets/{split-button.stories-C_82I4ME.js → split-button.stories-DlxT6EYF.js} +12 -4
  112. package/dist/assets/{spread-CnPic3C2.js → spread-B518TqwY.js} +1 -1
  113. package/dist/assets/state-C6YC-MeJ.js +1 -0
  114. package/dist/assets/{submenu.stories-UDtaREr1.js → submenu.stories-BT13dETW.js} +18 -2
  115. package/dist/assets/{syntaxhighlighter-T5IQBZDB-D-I_s_yD.js → syntaxhighlighter-T5IQBZDB-DkhjPTlq.js} +1 -1
  116. package/dist/assets/{table-header-2837i43H.js → table-header-DMiTn2zX.js} +81 -33
  117. package/dist/assets/{table-object.stories-D4KoI-wA.js → table-object.stories-D2dcUZ2O.js} +11 -3
  118. package/dist/assets/{table.stories-DUJDibEp.js → table.stories-BXu1RY5-.js} +2 -2
  119. package/dist/assets/{tabs.stories-C06SngOF.js → tabs.stories-B9tPcDRI.js} +34 -10
  120. package/dist/assets/{tag-oHGdclJl.js → tag-AWpjXoCW.js} +9 -1
  121. package/dist/assets/{tag-list.stories-Du-IoYzu.js → tag-list.stories-CiqM7sIX.js} +21 -13
  122. package/dist/assets/{tag.stories-C5D5IbuK.js → tag.stories-BcbkBkLR.js} +1 -1
  123. package/dist/assets/{tertiary-nav.stories-B1GU8Zi4.js → tertiary-nav.stories-CuP_odo_.js} +19 -3
  124. package/dist/assets/{text-link-B3m3KEqY.js → text-link-DWpfqc0H.js} +9 -1
  125. package/dist/assets/{text-link.stories-4O6qn82H.js → text-link.stories-BSQQ8Bf8.js} +1 -1
  126. package/dist/assets/{text-passage-xQVosjOr.js → text-passage-C-tu1uRd.js} +19 -3
  127. package/dist/assets/{text-passage.stories-Da1nspwG.js → text-passage.stories-qCVobGhn.js} +1 -1
  128. package/dist/assets/{tooltip.stories-DLKyyeKn.js → tooltip.stories-CcxLUUaE.js} +16 -8
  129. package/dist/assets/{utility-nav.stories-B6xBFe7z.js → utility-nav.stories-CmUYbo0J.js} +21 -5
  130. package/dist/design-tokens/brands/cre8-a2ui/css/tokens_brand.css +4 -4
  131. package/dist/design-tokens/core/scss/theming/component.css +1 -1
  132. package/dist/design-tokens/core/scss/theming/variables.css +7 -1
  133. package/dist/design-tokens/core/scss/theming/variables.scss +11 -0
  134. package/dist/fonts/PlusJakartaSans-Bold.woff2 +0 -0
  135. package/dist/fonts/PlusJakartaSans-Medium.woff2 +0 -0
  136. package/dist/fonts/PlusJakartaSans-Regular.woff2 +0 -0
  137. package/dist/fonts/PlusJakartaSans-SemiBold.woff2 +0 -0
  138. package/dist/iframe.html +25 -2
  139. package/dist/index.html +82 -26
  140. package/dist/index.json +1 -1
  141. package/dist/logo.svg +1 -0
  142. package/dist/manifests/components.html +766 -0
  143. package/dist/manifests/docs.json +37 -0
  144. package/dist/project.json +1 -1
  145. package/dist/sb-addons/storybook-5/manager-bundle.js +8 -0
  146. package/dist/sb-addons/vitest-4/manager-bundle.js +3 -0
  147. package/lib/cdn-entry.d.ts +2 -1
  148. package/lib/cdn-entry.d.ts.map +1 -1
  149. package/lib/cdn-entry.js +2 -1
  150. package/lib/cdn-entry.js.map +1 -1
  151. package/lib/components/cre8-field.js +1 -1
  152. package/lib/components/cre8-form-element.d.ts +27 -0
  153. package/lib/components/cre8-form-element.d.ts.map +1 -1
  154. package/lib/components/cre8-form-element.js +65 -1
  155. package/lib/components/cre8-form-element.js.map +1 -1
  156. package/lib/components/field/field.styles.d.ts.map +1 -1
  157. package/lib/components/field/field.styles.js +4 -2
  158. package/lib/components/field/field.styles.js.map +1 -1
  159. package/lib/components/form/form.d.ts +87 -0
  160. package/lib/components/form/form.d.ts.map +1 -0
  161. package/lib/components/form/form.js +209 -0
  162. package/lib/components/form/form.js.map +1 -0
  163. package/lib/components/form/form.styles.d.ts +14 -0
  164. package/lib/components/form/form.styles.d.ts.map +1 -0
  165. package/lib/components/form/form.styles.js +31 -0
  166. package/lib/components/form/form.styles.js.map +1 -0
  167. package/lib/{cre8-form-element-BymRdQUC.js → cre8-form-element-CCzBYtDm.js} +85 -32
  168. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_brand.css +4 -4
  169. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +1 -1
  170. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -1
  171. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js +4 -4
  172. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js.map +1 -1
  173. package/lib/index.d.ts +1 -0
  174. package/lib/index.d.ts.map +1 -1
  175. package/lib/index.js +1 -0
  176. package/lib/index.js.map +1 -1
  177. package/lib/scripts/generate-mcp-manifest.js +1 -0
  178. package/lib/scripts/generate-mcp-manifest.js.map +1 -1
  179. package/lib/toBeAccessible.d.ts +6 -5
  180. package/lib/toBeAccessible.d.ts.map +1 -1
  181. package/lib/toBeAccessible.js +1 -1
  182. package/lib/toBeAccessible.js.map +1 -1
  183. package/mcp-manifest.json +44 -1
  184. package/package.json +16 -13
  185. package/react-manifest.json +40 -2
  186. package/dist/assets/cre8-element-B35i4Lyg.js +0 -1
  187. package/dist/assets/cre8-form-element-Cfc5VeYV.js +0 -1
  188. package/dist/assets/dropdown-item.stories-Iaw_UrEP.js +0 -26
  189. package/dist/assets/example-drug-card.stories-Bp5JIeE_.js +0 -10
  190. package/dist/assets/form-example.stories-9IDC0AgX.js +0 -49
  191. package/dist/assets/icon-description-BBSwDykJ.js +0 -45
  192. package/dist/assets/icon-description.stories-Cg6ekOme.js +0 -3
  193. package/dist/assets/if-defined-Bxnzk64Q.js +0 -1
  194. package/dist/assets/medication-card.stories-Wc-hA0-s.js +0 -165
  195. package/dist/assets/medication-form.stories-DfFOCDaU.js +0 -57
  196. package/dist/assets/request-prescription.stories-O4zqokfb.js +0 -24
  197. package/dist/assets/state-DkQhleoO.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as g,b as c}from"./iframe-BNJP6ovU.js";import{C as h,n as d}from"./cre8-element-B35i4Lyg.js";const u=g`.cre8-u-content-knockout-brand {
1
+ import{a as p,b as c}from"./iframe-CTa_pRc7.js";import{C as h,n as d}from"./cre8-element-q82VmUgi.js";const u=p`.cre8-u-content-knockout-brand {
2
2
  color: var(----cre8-color-content-knockout-brand);
3
3
  }
4
4
 
@@ -372,6 +372,10 @@ img {
372
372
 
373
373
  :root {
374
374
  --size-base-unit: 0.5rem;
375
+ --cre8-l-max-width: 82.5rem;
376
+ /* 1 */
377
+ --cre8-l-linelength-width: 42rem;
378
+ /* 1 */
375
379
  }
376
380
 
377
381
  /**
@@ -544,6 +548,10 @@ span.ripple {
544
548
  }
545
549
  :root {
546
550
  --size-base-unit: 0.5rem;
551
+ --cre8-l-max-width: 82.5rem;
552
+ /* 1 */
553
+ --cre8-l-linelength-width: 42rem;
554
+ /* 1 */
547
555
  }
548
556
 
549
557
  /**
@@ -582,300 +590,643 @@ span.ripple {
582
590
  * Visually hidden from display
583
591
  */
584
592
  /**
585
- * 1) Item used for the various items within the grid
593
+ * 1) Grid layout for items like cards, etc.
586
594
  */
587
- .cre8-c-grid__item {
588
- height: 100%;
589
- }`,o=class o extends h{render(){const e=this.componentClassNames("cre8-c-grid__item",{});return c`
590
- <div class="${e}">
591
- <slot></slot>
592
- </div>
593
- `}};o.styles=[u];let a=o;customElements.get("cre8-grid-item")===void 0&&customElements.define("cre8-grid-item",a);const f=g`.cre8-u-content-knockout-brand {
594
- color: var(----cre8-color-content-knockout-brand);
595
+ .cre8-c-grid {
596
+ display: flex;
597
+ flex-direction: column;
598
+ flex-wrap: wrap;
599
+ margin: -0.75rem;
595
600
  }
596
601
 
597
- .cre8-u-is-hidden {
598
- display: none !important;
599
- visibility: hidden !important;
602
+ /**
603
+ * Grid with no gap in between items
604
+ */
605
+ .cre8-c-grid--gap-none {
606
+ margin: 0;
600
607
  }
601
608
 
602
- .cre8-u-is-vishidden {
603
- position: absolute !important;
604
- overflow: hidden;
605
- width: 1px;
606
- height: 1px;
607
- padding: 0;
608
- border: 0;
609
- clip: rect(1px, 1px, 1px, 1px);
609
+ /**
610
+ * Small gap grid
611
+ * 1) Spacing between grid items is smaller than default
612
+ */
613
+ .cre8-c-grid--gap-sm {
614
+ margin: -0.25rem;
610
615
  }
611
616
 
612
- @media all and (min-width: 23.4375rem) {
613
- .cre8-u-hide-sm {
614
- display: none !important;
615
- }
617
+ /**
618
+ * Large gap grid
619
+ * 1) Spacing between grid items is larger than default
620
+ */
621
+ .cre8-c-grid--gap-lg {
622
+ margin: -1rem;
616
623
  }
617
- @media all and (min-width: 35rem) {
618
- .cre8-u-hide-sm-2 {
619
- display: none !important;
620
- }
624
+
625
+ /**
626
+ * Side by Side Grid
627
+ * 1) Grid that stays 2 items per row on all screen sizes
628
+ */
629
+ .cre8-c-grid--side-by-side {
630
+ flex-direction: row;
621
631
  }
622
- @media all and (min-width: 48rem) {
623
- .cre8-u-hide-md {
624
- display: none !important;
632
+
633
+ /**
634
+ * 2up grid
635
+ * 1) Stacked items on small screens to 2 items per row on medium/large screens
636
+ */
637
+ @media all and (min-width: 768px) {
638
+ .cre8-c-grid--2up {
639
+ flex-direction: row;
625
640
  }
626
641
  }
627
- @media all and (min-width: 60rem) {
628
- .cre8-u-hide-lg {
629
- display: none !important;
630
- }
642
+ .cre8-c-grid--2up {
643
+ /**
644
+ * 2up grid that breaks faster
645
+ * 1) Grid that breaks from 1 to 2up at a smaller viewport than the default
646
+ */
631
647
  }
632
- @media all and (min-width: 75rem) {
633
- .cre8-u-hide-xl {
634
- display: none !important;
648
+ @media all and (min-width: 560px) {
649
+ .cre8-c-grid--2up.cre8-c-grid--break-faster {
650
+ flex-direction: row;
635
651
  }
636
652
  }
637
- @media all and (max-width: 23.4375rem) {
638
- .cre8-u-show-sm {
639
- display: none !important;
640
- }
653
+ .cre8-c-grid--2up {
654
+ /**
655
+ * 2up grid that breaks slower
656
+ * 1) Grid that breaks from 1 to 2up at a larger viewport than the default
657
+ */
641
658
  }
642
- @media all and (max-width: 35rem) {
643
- .cre8-u-show-sm-2 {
644
- display: none !important;
659
+ @media all and (min-width: 768px) {
660
+ .cre8-c-grid--2up.cre8-c-grid--break-slower {
661
+ flex-direction: column;
645
662
  }
646
663
  }
647
- @media all and (max-width: 48rem) {
648
- .cre8-u-show-md {
649
- display: none !important;
664
+ @media all and (min-width: 1400px) {
665
+ .cre8-c-grid--2up.cre8-c-grid--break-slower {
666
+ flex-direction: row;
650
667
  }
651
668
  }
652
- @media all and (max-width: 60rem) {
653
- .cre8-u-show-lg {
654
- display: none !important;
669
+
670
+ /**
671
+ * 3up grid
672
+ * 1) Stacked items on small screens to 3 items per row on medium/large screens
673
+ */
674
+ @media all and (min-width: 768px) {
675
+ .cre8-c-grid--3up {
676
+ flex-direction: row;
655
677
  }
656
678
  }
657
- @media all and (max-width: 75rem) {
658
- .cre8-u-show-xl {
659
- display: none !important;
679
+
680
+ /**
681
+ * 1 to 3up grid
682
+ * 1) Stacked items on small screens to 3 items per row on medium/large screens
683
+ */
684
+ @media all and (min-width: 960px) {
685
+ .cre8-c-grid--1-3up {
686
+ flex-direction: row;
660
687
  }
661
688
  }
662
- .cre8-u-margin-none {
663
- margin: 0 !important;
689
+ .cre8-c-grid--1-3up {
690
+ /**
691
+ * 1 to 3 up grid that breaks faster
692
+ * 1) Grid that breaks from 1 to 3up at a smaller viewport than the default
693
+ */
664
694
  }
665
-
666
- .cre8-u-margin-sm {
667
- margin: size(1) !important;
695
+ @media all and (min-width: 768px) {
696
+ .cre8-c-grid--1-3up.cre8-c-grid--break-faster {
697
+ flex-direction: row;
698
+ }
668
699
  }
669
-
670
- .cre8-u-margin-md {
671
- margin: size(2) !important;
700
+ .cre8-c-grid--1-3up {
701
+ /**
702
+ * 1 to 3up grid that breaks slower
703
+ * 1) Grid that breaks from 1 to 3up at a larger viewport than the default
704
+ */
672
705
  }
673
-
674
- .cre8-u-margin-lg {
675
- margin: size(3) !important;
706
+ @media all and (min-width: 960px) {
707
+ .cre8-c-grid--1-3up.cre8-c-grid--break-slower {
708
+ flex-direction: column;
709
+ }
676
710
  }
677
-
678
- .cre8-u-margin-xl {
679
- margin: size(4) !important;
711
+ @media all and (min-width: 1200px) {
712
+ .cre8-c-grid--1-3up.cre8-c-grid--break-slower {
713
+ flex-direction: row;
714
+ }
680
715
  }
681
716
 
682
- .cre8-u-margin-xxl {
683
- margin: size(8) !important;
717
+ /**
718
+ * 1 to 2 to 4up grid
719
+ * 1) Stacked items on small screens to 2 items per row on medium screens to 4 items per row on large screens
720
+ */
721
+ @media all and (min-width: 560px) {
722
+ .cre8-c-grid--1-2-4up {
723
+ flex-direction: row;
724
+ }
684
725
  }
685
726
 
686
- .cre8-u-margin-top-none {
687
- margin-top: 0 !important;
727
+ /**
728
+ * 1 to 4up grid
729
+ * 1) Stacked items on small screens to 4 items per row on medium/large screens
730
+ */
731
+ @media all and (min-width: 768px) {
732
+ .cre8-c-grid--1-4up {
733
+ flex-direction: row;
734
+ }
688
735
  }
689
736
 
690
- .cre8-u-margin-top-sm {
691
- margin-top: size(1) !important;
737
+ /**
738
+ * 1 to 2 to 4up grid
739
+ * 1) Stacked items on small screens to 2 items per row on small/medium screens to
740
+ * 3 items per row on medium screens and 4 items per row on large screens
741
+ */
742
+ @media all and (min-width: 560px) {
743
+ .cre8-c-grid--4up {
744
+ flex-direction: row;
745
+ }
692
746
  }
693
747
 
694
- .cre8-u-margin-top-md {
695
- margin-top: size(2) !important;
748
+ /**
749
+ * Slotted grid item within 4up Grid
750
+ */
751
+ .cre8-c-grid--2-4-6up {
752
+ flex-direction: row;
696
753
  }
697
754
 
698
- .cre8-u-margin-top-lg {
699
- margin-top: size(3) !important;
755
+ /**
756
+ * Slotted grid item
757
+ */
758
+ ::slotted(cre8-grid-item) {
759
+ display: block;
760
+ padding: 0.75rem;
761
+ /**
762
+ * Slotted grid item within grid with no gap between items
763
+ */
700
764
  }
701
-
702
- .cre8-u-margin-top-xl {
703
- margin-top: size(4) !important;
765
+ .cre8-c-grid--gap-none > ::slotted(cre8-grid-item) {
766
+ padding: 0;
704
767
  }
705
-
706
- .cre8-u-margin-top-xxl {
707
- margin-top: size(8) !important;
768
+ ::slotted(cre8-grid-item) {
769
+ /**
770
+ * Slotted grid item within grid with small gap between items
771
+ */
708
772
  }
709
-
710
- .cre8-u-margin-right-none {
711
- margin-right: 0 !important;
773
+ .cre8-c-grid--gap-sm > ::slotted(cre8-grid-item) {
774
+ padding: 0.25rem;
712
775
  }
713
-
714
- .cre8-u-margin-right-sm {
715
- margin-right: size(1) !important;
776
+ ::slotted(cre8-grid-item) {
777
+ /**
778
+ * Slotted grid item within grid with large gap between items
779
+ */
716
780
  }
717
-
718
- .cre8-u-margin-right-md {
719
- margin-right: size(2) !important;
781
+ .cre8-c-grid--gap-lg > ::slotted(cre8-grid-item) {
782
+ padding: 1rem;
720
783
  }
721
-
722
- .cre8-u-margin-right-lg {
723
- margin-right: size(3) !important;
784
+ ::slotted(cre8-grid-item) {
785
+ /**
786
+ * Slotted grid item within side by side grid
787
+ * 1) Grid that stays 2 items per row on all screen sizes
788
+ */
724
789
  }
725
-
726
- .cre8-u-margin-right-xl {
727
- margin-right: size(4) !important;
790
+ .cre8-c-grid--side-by-side > ::slotted(cre8-grid-item) {
791
+ width: 50%;
728
792
  }
729
-
730
- .cre8-u-margin-right-xxl {
731
- margin-right: size(8) !important;
793
+ ::slotted(cre8-grid-item) {
794
+ /**
795
+ * Slotted grid item within 2up Grid
796
+ */
732
797
  }
733
-
734
- .cre8-u-margin-bottom-none {
735
- margin-bottom: 0 !important;
798
+ @media all and (min-width: 768px) {
799
+ .cre8-c-grid--2up > ::slotted(cre8-grid-item) {
800
+ width: 50%;
801
+ }
736
802
  }
737
-
738
- .cre8-u-margin-bottom-sm {
739
- margin-bottom: size(1) !important;
803
+ ::slotted(cre8-grid-item) {
804
+ /**
805
+ * Slotted grid item within 2up break faster (small to large screens) Grid
806
+ */
740
807
  }
741
-
742
- .cre8-u-margin-bottom-md {
743
- margin-bottom: size(2) !important;
808
+ @media all and (min-width: 560px) {
809
+ .cre8-c-grid--2up.cre8-c-grid--break-faster > ::slotted(cre8-grid-item) {
810
+ width: 50%;
811
+ }
744
812
  }
745
-
746
- .cre8-u-margin-bottom-lg {
747
- margin-bottom: size(3) !important;
813
+ ::slotted(cre8-grid-item) {
814
+ /**
815
+ * Slotted grid item within 2up break slower (small to large screens) Grid
816
+ */
748
817
  }
749
-
750
- .cre8-u-margin-bottom-xl {
751
- margin-bottom: size(4) !important;
818
+ @media all and (min-width: 768px) {
819
+ .cre8-c-grid--2up.cre8-c-grid--break-slower > ::slotted(cre8-grid-item) {
820
+ width: 100%;
821
+ }
752
822
  }
753
-
754
- .cre8-u-margin-bottom-xxl {
755
- margin-bottom: size(8) !important;
823
+ @media all and (min-width: 1400px) {
824
+ .cre8-c-grid--2up.cre8-c-grid--break-slower > ::slotted(cre8-grid-item) {
825
+ width: 50%;
826
+ }
756
827
  }
757
-
758
- .cre8-u-margin-bottom-xl-xxl {
759
- margin-bottom: size(4) !important;
828
+ ::slotted(cre8-grid-item) {
829
+ /**
830
+ * Slotted grid item within 3up Grid
831
+ */
760
832
  }
761
-
762
833
  @media all and (min-width: 768px) {
763
- .cre8-u-margin-bottom-xl-xxl {
764
- margin-bottom: size(8) !important;
834
+ .cre8-c-grid--3up > ::slotted(cre8-grid-item) {
835
+ width: 50%;
765
836
  }
766
837
  }
767
- .cre8-u-margin-left-none {
768
- margin-left: 0 !important;
769
- }
770
-
771
- .cre8-u-margin-left-sm {
772
- margin-left: size(1) !important;
838
+ @media all and (min-width: 960px) {
839
+ .cre8-c-grid--3up > ::slotted(cre8-grid-item) {
840
+ width: 33.3333%;
841
+ }
773
842
  }
774
-
775
- .cre8-u-margin-left-md {
776
- margin-left: size(2) !important;
843
+ ::slotted(cre8-grid-item) {
844
+ /**
845
+ * Slotted grid item within 1-3up Grid
846
+ */
777
847
  }
778
-
779
- .cre8-u-margin-left-lg {
780
- margin-left: size(3) !important;
848
+ @media all and (min-width: 960px) {
849
+ .cre8-c-grid--1-3up > ::slotted(cre8-grid-item) {
850
+ width: 33.3333%;
851
+ }
781
852
  }
782
-
783
- .cre8-u-margin-left-xl {
784
- margin-left: size(4) !important;
853
+ ::slotted(cre8-grid-item) {
854
+ /**
855
+ * Slotted grid item within 1 to 3up break faster (small to large screens) grid
856
+ */
785
857
  }
786
-
787
- .cre8-u-margin-left-xxl {
788
- margin-left: size(8) !important;
858
+ @media all and (min-width: 768px) {
859
+ .cre8-c-grid--1-3up.cre8-c-grid--break-faster > ::slotted(cre8-grid-item) {
860
+ width: 33.33%;
861
+ }
789
862
  }
790
-
791
- .cre8-u-padding-none {
792
- padding: 0 !important;
863
+ ::slotted(cre8-grid-item) {
864
+ /**
865
+ * Slotted grid item within 2up break slower (small to large screens) Grid
866
+ */
793
867
  }
794
-
795
- .cre8-u-padding-sm {
796
- padding: size(1) !important;
868
+ @media all and (min-width: 960px) {
869
+ .cre8-c-grid--1-3up.cre8-c-grid--break-slower > ::slotted(cre8-grid-item) {
870
+ width: 100%;
871
+ }
797
872
  }
798
-
799
- .cre8-u-padding-md {
800
- padding: size(2) !important;
873
+ @media all and (min-width: 1200px) {
874
+ .cre8-c-grid--1-3up.cre8-c-grid--break-slower > ::slotted(cre8-grid-item) {
875
+ width: 33.33%;
876
+ }
801
877
  }
802
-
803
- .cre8-u-padding-lg {
804
- padding: size(3) !important;
878
+ ::slotted(cre8-grid-item) {
879
+ /**
880
+ * Slotted grid item within 1-2-4up Grid
881
+ */
805
882
  }
806
-
807
- .cre8-u-padding-xl {
808
- padding: size(4) !important;
883
+ @media all and (min-width: 560px) {
884
+ .cre8-c-grid--1-2-4up > ::slotted(cre8-grid-item) {
885
+ width: 50%;
886
+ }
809
887
  }
810
-
811
- .cre8-u-padding-xxl {
812
- padding: size(8) !important;
888
+ @media all and (min-width: 960px) {
889
+ .cre8-c-grid--1-2-4up > ::slotted(cre8-grid-item) {
890
+ width: 25%;
891
+ }
813
892
  }
814
-
815
- .cre8-u-padding-top-none {
816
- padding-top: 0 !important;
893
+ ::slotted(cre8-grid-item) {
894
+ /**
895
+ * Slotted grid item within 1-2-4up Grid
896
+ */
817
897
  }
818
-
819
- .cre8-u-padding-top-sm {
820
- padding-top: size(1) !important;
898
+ @media all and (min-width: 768px) {
899
+ .cre8-c-grid--1-4up > ::slotted(cre8-grid-item) {
900
+ width: 25%;
901
+ }
821
902
  }
822
-
823
- .cre8-u-padding-top-md {
824
- padding-top: size(2) !important;
903
+ ::slotted(cre8-grid-item) {
904
+ /**
905
+ * Slotted grid item within 4up Grid
906
+ */
825
907
  }
826
-
827
- .cre8-u-padding-top-lg {
828
- padding-top: size(3) !important;
908
+ @media all and (min-width: 560px) {
909
+ .cre8-c-grid--4up > ::slotted(cre8-grid-item) {
910
+ width: 50%;
911
+ }
829
912
  }
830
-
831
- .cre8-u-padding-top-xl {
832
- padding-top: size(4) !important;
913
+ @media all and (min-width: 768px) {
914
+ .cre8-c-grid--4up > ::slotted(cre8-grid-item) {
915
+ width: 33.3333%;
916
+ }
833
917
  }
834
-
835
- .cre8-u-padding-top-xxl {
836
- padding-top: size(8) !important;
918
+ @media all and (min-width: 960px) {
919
+ .cre8-c-grid--4up > ::slotted(cre8-grid-item) {
920
+ width: 25%;
921
+ }
837
922
  }
838
-
839
- .cre8-u-padding-right-none {
840
- padding-right: 0 !important;
923
+ ::slotted(cre8-grid-item) {
924
+ /**
925
+ * Slotted grid item within 4up Grid
926
+ */
841
927
  }
842
-
843
- .cre8-u-padding-right-sm {
844
- padding-right: size(1) !important;
928
+ .cre8-c-grid--2-4-6up > ::slotted(cre8-grid-item) {
929
+ width: 50%;
845
930
  }
846
-
847
- .cre8-u-padding-right-md {
848
- padding-right: size(2) !important;
931
+ @media all and (min-width: 960px) {
932
+ .cre8-c-grid--2-4-6up > ::slotted(cre8-grid-item) {
933
+ width: 25%;
934
+ }
849
935
  }
850
-
851
- .cre8-u-padding-right-lg {
852
- padding-right: size(3) !important;
936
+ @media all and (min-width: 1200px) {
937
+ .cre8-c-grid--2-4-6up > ::slotted(cre8-grid-item) {
938
+ width: 16.66%;
939
+ }
940
+ }`;var f=Object.defineProperty,n=(s,e,l,w)=>{for(var i=void 0,r=s.length-1,g;r>=0;r--)(g=s[r])&&(i=g(e,l,i)||i);return i&&f(e,l,i),i};const o=class o extends h{render(){const e=this.componentClassNames("cre8-c-grid",{"cre8-c-grid--side-by-side":this.variant==="side-by-side","cre8-c-grid--2up":this.variant==="2up","cre8-c-grid--3up":this.variant==="3up","cre8-c-grid--1-3up":this.variant==="1-3up","cre8-c-grid--4up":this.variant==="4up","cre8-c-grid--1-4up":this.variant==="1-4up","cre8-c-grid--1-2-4up":this.variant==="1-2-4up","cre8-c-grid--2-4-6up":this.variant==="2-4-6up","cre8-c-grid--gap-none":this.gap==="none","cre8-c-grid--gap-sm":this.gap==="sm","cre8-c-grid--gap-lg":this.gap==="lg","cre8-c-grid--break-faster":this.break==="faster","cre8-c-grid--break-slower":this.break==="slower"});return c`
941
+ <div class="${e}">
942
+ <slot></slot>
943
+ </div>
944
+ `}};o.styles=[u];let t=o;n([d()],t.prototype,"variant");n([d()],t.prototype,"gap");n([d()],t.prototype,"break");customElements.get("cre8-grid")===void 0&&customElements.define("cre8-grid",t);const x=p`.cre8-u-content-knockout-brand {
945
+ color: var(----cre8-color-content-knockout-brand);
853
946
  }
854
947
 
855
- .cre8-u-padding-right-xl {
856
- padding-right: size(4) !important;
948
+ .cre8-u-is-hidden {
949
+ display: none !important;
950
+ visibility: hidden !important;
857
951
  }
858
952
 
859
- .cre8-u-padding-right-xxl {
860
- padding-right: size(8) !important;
953
+ .cre8-u-is-vishidden {
954
+ position: absolute !important;
955
+ overflow: hidden;
956
+ width: 1px;
957
+ height: 1px;
958
+ padding: 0;
959
+ border: 0;
960
+ clip: rect(1px, 1px, 1px, 1px);
861
961
  }
862
962
 
863
- .cre8-u-padding-bottom-none {
864
- padding-bottom: 0 !important;
963
+ @media all and (min-width: 23.4375rem) {
964
+ .cre8-u-hide-sm {
965
+ display: none !important;
966
+ }
865
967
  }
866
-
867
- .cre8-u-padding-bottom-sm {
868
- padding-bottom: size(1) !important;
968
+ @media all and (min-width: 35rem) {
969
+ .cre8-u-hide-sm-2 {
970
+ display: none !important;
971
+ }
869
972
  }
870
-
871
- .cre8-u-padding-bottom-md {
872
- padding-bottom: size(2) !important;
973
+ @media all and (min-width: 48rem) {
974
+ .cre8-u-hide-md {
975
+ display: none !important;
976
+ }
873
977
  }
874
-
875
- .cre8-u-padding-bottom-lg {
876
- padding-bottom: size(3) !important;
978
+ @media all and (min-width: 60rem) {
979
+ .cre8-u-hide-lg {
980
+ display: none !important;
981
+ }
877
982
  }
878
-
983
+ @media all and (min-width: 75rem) {
984
+ .cre8-u-hide-xl {
985
+ display: none !important;
986
+ }
987
+ }
988
+ @media all and (max-width: 23.4375rem) {
989
+ .cre8-u-show-sm {
990
+ display: none !important;
991
+ }
992
+ }
993
+ @media all and (max-width: 35rem) {
994
+ .cre8-u-show-sm-2 {
995
+ display: none !important;
996
+ }
997
+ }
998
+ @media all and (max-width: 48rem) {
999
+ .cre8-u-show-md {
1000
+ display: none !important;
1001
+ }
1002
+ }
1003
+ @media all and (max-width: 60rem) {
1004
+ .cre8-u-show-lg {
1005
+ display: none !important;
1006
+ }
1007
+ }
1008
+ @media all and (max-width: 75rem) {
1009
+ .cre8-u-show-xl {
1010
+ display: none !important;
1011
+ }
1012
+ }
1013
+ .cre8-u-margin-none {
1014
+ margin: 0 !important;
1015
+ }
1016
+
1017
+ .cre8-u-margin-sm {
1018
+ margin: size(1) !important;
1019
+ }
1020
+
1021
+ .cre8-u-margin-md {
1022
+ margin: size(2) !important;
1023
+ }
1024
+
1025
+ .cre8-u-margin-lg {
1026
+ margin: size(3) !important;
1027
+ }
1028
+
1029
+ .cre8-u-margin-xl {
1030
+ margin: size(4) !important;
1031
+ }
1032
+
1033
+ .cre8-u-margin-xxl {
1034
+ margin: size(8) !important;
1035
+ }
1036
+
1037
+ .cre8-u-margin-top-none {
1038
+ margin-top: 0 !important;
1039
+ }
1040
+
1041
+ .cre8-u-margin-top-sm {
1042
+ margin-top: size(1) !important;
1043
+ }
1044
+
1045
+ .cre8-u-margin-top-md {
1046
+ margin-top: size(2) !important;
1047
+ }
1048
+
1049
+ .cre8-u-margin-top-lg {
1050
+ margin-top: size(3) !important;
1051
+ }
1052
+
1053
+ .cre8-u-margin-top-xl {
1054
+ margin-top: size(4) !important;
1055
+ }
1056
+
1057
+ .cre8-u-margin-top-xxl {
1058
+ margin-top: size(8) !important;
1059
+ }
1060
+
1061
+ .cre8-u-margin-right-none {
1062
+ margin-right: 0 !important;
1063
+ }
1064
+
1065
+ .cre8-u-margin-right-sm {
1066
+ margin-right: size(1) !important;
1067
+ }
1068
+
1069
+ .cre8-u-margin-right-md {
1070
+ margin-right: size(2) !important;
1071
+ }
1072
+
1073
+ .cre8-u-margin-right-lg {
1074
+ margin-right: size(3) !important;
1075
+ }
1076
+
1077
+ .cre8-u-margin-right-xl {
1078
+ margin-right: size(4) !important;
1079
+ }
1080
+
1081
+ .cre8-u-margin-right-xxl {
1082
+ margin-right: size(8) !important;
1083
+ }
1084
+
1085
+ .cre8-u-margin-bottom-none {
1086
+ margin-bottom: 0 !important;
1087
+ }
1088
+
1089
+ .cre8-u-margin-bottom-sm {
1090
+ margin-bottom: size(1) !important;
1091
+ }
1092
+
1093
+ .cre8-u-margin-bottom-md {
1094
+ margin-bottom: size(2) !important;
1095
+ }
1096
+
1097
+ .cre8-u-margin-bottom-lg {
1098
+ margin-bottom: size(3) !important;
1099
+ }
1100
+
1101
+ .cre8-u-margin-bottom-xl {
1102
+ margin-bottom: size(4) !important;
1103
+ }
1104
+
1105
+ .cre8-u-margin-bottom-xxl {
1106
+ margin-bottom: size(8) !important;
1107
+ }
1108
+
1109
+ .cre8-u-margin-bottom-xl-xxl {
1110
+ margin-bottom: size(4) !important;
1111
+ }
1112
+
1113
+ @media all and (min-width: 768px) {
1114
+ .cre8-u-margin-bottom-xl-xxl {
1115
+ margin-bottom: size(8) !important;
1116
+ }
1117
+ }
1118
+ .cre8-u-margin-left-none {
1119
+ margin-left: 0 !important;
1120
+ }
1121
+
1122
+ .cre8-u-margin-left-sm {
1123
+ margin-left: size(1) !important;
1124
+ }
1125
+
1126
+ .cre8-u-margin-left-md {
1127
+ margin-left: size(2) !important;
1128
+ }
1129
+
1130
+ .cre8-u-margin-left-lg {
1131
+ margin-left: size(3) !important;
1132
+ }
1133
+
1134
+ .cre8-u-margin-left-xl {
1135
+ margin-left: size(4) !important;
1136
+ }
1137
+
1138
+ .cre8-u-margin-left-xxl {
1139
+ margin-left: size(8) !important;
1140
+ }
1141
+
1142
+ .cre8-u-padding-none {
1143
+ padding: 0 !important;
1144
+ }
1145
+
1146
+ .cre8-u-padding-sm {
1147
+ padding: size(1) !important;
1148
+ }
1149
+
1150
+ .cre8-u-padding-md {
1151
+ padding: size(2) !important;
1152
+ }
1153
+
1154
+ .cre8-u-padding-lg {
1155
+ padding: size(3) !important;
1156
+ }
1157
+
1158
+ .cre8-u-padding-xl {
1159
+ padding: size(4) !important;
1160
+ }
1161
+
1162
+ .cre8-u-padding-xxl {
1163
+ padding: size(8) !important;
1164
+ }
1165
+
1166
+ .cre8-u-padding-top-none {
1167
+ padding-top: 0 !important;
1168
+ }
1169
+
1170
+ .cre8-u-padding-top-sm {
1171
+ padding-top: size(1) !important;
1172
+ }
1173
+
1174
+ .cre8-u-padding-top-md {
1175
+ padding-top: size(2) !important;
1176
+ }
1177
+
1178
+ .cre8-u-padding-top-lg {
1179
+ padding-top: size(3) !important;
1180
+ }
1181
+
1182
+ .cre8-u-padding-top-xl {
1183
+ padding-top: size(4) !important;
1184
+ }
1185
+
1186
+ .cre8-u-padding-top-xxl {
1187
+ padding-top: size(8) !important;
1188
+ }
1189
+
1190
+ .cre8-u-padding-right-none {
1191
+ padding-right: 0 !important;
1192
+ }
1193
+
1194
+ .cre8-u-padding-right-sm {
1195
+ padding-right: size(1) !important;
1196
+ }
1197
+
1198
+ .cre8-u-padding-right-md {
1199
+ padding-right: size(2) !important;
1200
+ }
1201
+
1202
+ .cre8-u-padding-right-lg {
1203
+ padding-right: size(3) !important;
1204
+ }
1205
+
1206
+ .cre8-u-padding-right-xl {
1207
+ padding-right: size(4) !important;
1208
+ }
1209
+
1210
+ .cre8-u-padding-right-xxl {
1211
+ padding-right: size(8) !important;
1212
+ }
1213
+
1214
+ .cre8-u-padding-bottom-none {
1215
+ padding-bottom: 0 !important;
1216
+ }
1217
+
1218
+ .cre8-u-padding-bottom-sm {
1219
+ padding-bottom: size(1) !important;
1220
+ }
1221
+
1222
+ .cre8-u-padding-bottom-md {
1223
+ padding-bottom: size(2) !important;
1224
+ }
1225
+
1226
+ .cre8-u-padding-bottom-lg {
1227
+ padding-bottom: size(3) !important;
1228
+ }
1229
+
879
1230
  .cre8-u-padding-bottom-xl {
880
1231
  padding-bottom: size(4) !important;
881
1232
  }
@@ -964,6 +1315,10 @@ img {
964
1315
 
965
1316
  :root {
966
1317
  --size-base-unit: 0.5rem;
1318
+ --cre8-l-max-width: 82.5rem;
1319
+ /* 1 */
1320
+ --cre8-l-linelength-width: 42rem;
1321
+ /* 1 */
967
1322
  }
968
1323
 
969
1324
  /**
@@ -1136,6 +1491,10 @@ span.ripple {
1136
1491
  }
1137
1492
  :root {
1138
1493
  --size-base-unit: 0.5rem;
1494
+ --cre8-l-max-width: 82.5rem;
1495
+ /* 1 */
1496
+ --cre8-l-linelength-width: 42rem;
1497
+ /* 1 */
1139
1498
  }
1140
1499
 
1141
1500
  /**
@@ -1174,355 +1533,12 @@ span.ripple {
1174
1533
  * Visually hidden from display
1175
1534
  */
1176
1535
  /**
1177
- * 1) Grid layout for items like cards, etc.
1536
+ * 1) Item used for the various items within the grid
1178
1537
  */
1179
- .cre8-c-grid {
1180
- display: flex;
1181
- flex-direction: column;
1182
- flex-wrap: wrap;
1183
- margin: -0.75rem;
1184
- }
1185
-
1186
- /**
1187
- * Grid with no gap in between items
1188
- */
1189
- .cre8-c-grid--gap-none {
1190
- margin: 0;
1191
- }
1192
-
1193
- /**
1194
- * Small gap grid
1195
- * 1) Spacing between grid items is smaller than default
1196
- */
1197
- .cre8-c-grid--gap-sm {
1198
- margin: -0.25rem;
1199
- }
1200
-
1201
- /**
1202
- * Large gap grid
1203
- * 1) Spacing between grid items is larger than default
1204
- */
1205
- .cre8-c-grid--gap-lg {
1206
- margin: -1rem;
1207
- }
1208
-
1209
- /**
1210
- * Side by Side Grid
1211
- * 1) Grid that stays 2 items per row on all screen sizes
1212
- */
1213
- .cre8-c-grid--side-by-side {
1214
- flex-direction: row;
1215
- }
1216
-
1217
- /**
1218
- * 2up grid
1219
- * 1) Stacked items on small screens to 2 items per row on medium/large screens
1220
- */
1221
- @media all and (min-width: 768px) {
1222
- .cre8-c-grid--2up {
1223
- flex-direction: row;
1224
- }
1225
- }
1226
- .cre8-c-grid--2up {
1227
- /**
1228
- * 2up grid that breaks faster
1229
- * 1) Grid that breaks from 1 to 2up at a smaller viewport than the default
1230
- */
1231
- }
1232
- @media all and (min-width: 560px) {
1233
- .cre8-c-grid--2up.cre8-c-grid--break-faster {
1234
- flex-direction: row;
1235
- }
1236
- }
1237
- .cre8-c-grid--2up {
1238
- /**
1239
- * 2up grid that breaks slower
1240
- * 1) Grid that breaks from 1 to 2up at a larger viewport than the default
1241
- */
1242
- }
1243
- @media all and (min-width: 768px) {
1244
- .cre8-c-grid--2up.cre8-c-grid--break-slower {
1245
- flex-direction: column;
1246
- }
1247
- }
1248
- @media all and (min-width: 1400px) {
1249
- .cre8-c-grid--2up.cre8-c-grid--break-slower {
1250
- flex-direction: row;
1251
- }
1252
- }
1253
-
1254
- /**
1255
- * 3up grid
1256
- * 1) Stacked items on small screens to 3 items per row on medium/large screens
1257
- */
1258
- @media all and (min-width: 768px) {
1259
- .cre8-c-grid--3up {
1260
- flex-direction: row;
1261
- }
1262
- }
1263
-
1264
- /**
1265
- * 1 to 3up grid
1266
- * 1) Stacked items on small screens to 3 items per row on medium/large screens
1267
- */
1268
- @media all and (min-width: 960px) {
1269
- .cre8-c-grid--1-3up {
1270
- flex-direction: row;
1271
- }
1272
- }
1273
- .cre8-c-grid--1-3up {
1274
- /**
1275
- * 1 to 3 up grid that breaks faster
1276
- * 1) Grid that breaks from 1 to 3up at a smaller viewport than the default
1277
- */
1278
- }
1279
- @media all and (min-width: 768px) {
1280
- .cre8-c-grid--1-3up.cre8-c-grid--break-faster {
1281
- flex-direction: row;
1282
- }
1283
- }
1284
- .cre8-c-grid--1-3up {
1285
- /**
1286
- * 1 to 3up grid that breaks slower
1287
- * 1) Grid that breaks from 1 to 3up at a larger viewport than the default
1288
- */
1289
- }
1290
- @media all and (min-width: 960px) {
1291
- .cre8-c-grid--1-3up.cre8-c-grid--break-slower {
1292
- flex-direction: column;
1293
- }
1294
- }
1295
- @media all and (min-width: 1200px) {
1296
- .cre8-c-grid--1-3up.cre8-c-grid--break-slower {
1297
- flex-direction: row;
1298
- }
1299
- }
1300
-
1301
- /**
1302
- * 1 to 2 to 4up grid
1303
- * 1) Stacked items on small screens to 2 items per row on medium screens to 4 items per row on large screens
1304
- */
1305
- @media all and (min-width: 560px) {
1306
- .cre8-c-grid--1-2-4up {
1307
- flex-direction: row;
1308
- }
1309
- }
1310
-
1311
- /**
1312
- * 1 to 4up grid
1313
- * 1) Stacked items on small screens to 4 items per row on medium/large screens
1314
- */
1315
- @media all and (min-width: 768px) {
1316
- .cre8-c-grid--1-4up {
1317
- flex-direction: row;
1318
- }
1319
- }
1320
-
1321
- /**
1322
- * 1 to 2 to 4up grid
1323
- * 1) Stacked items on small screens to 2 items per row on small/medium screens to
1324
- * 3 items per row on medium screens and 4 items per row on large screens
1325
- */
1326
- @media all and (min-width: 560px) {
1327
- .cre8-c-grid--4up {
1328
- flex-direction: row;
1329
- }
1330
- }
1331
-
1332
- /**
1333
- * Slotted grid item within 4up Grid
1334
- */
1335
- .cre8-c-grid--2-4-6up {
1336
- flex-direction: row;
1337
- }
1338
-
1339
- /**
1340
- * Slotted grid item
1341
- */
1342
- ::slotted(cre8-grid-item) {
1343
- display: block;
1344
- padding: 0.75rem;
1345
- /**
1346
- * Slotted grid item within grid with no gap between items
1347
- */
1348
- }
1349
- .cre8-c-grid--gap-none > ::slotted(cre8-grid-item) {
1350
- padding: 0;
1351
- }
1352
- ::slotted(cre8-grid-item) {
1353
- /**
1354
- * Slotted grid item within grid with small gap between items
1355
- */
1356
- }
1357
- .cre8-c-grid--gap-sm > ::slotted(cre8-grid-item) {
1358
- padding: 0.25rem;
1359
- }
1360
- ::slotted(cre8-grid-item) {
1361
- /**
1362
- * Slotted grid item within grid with large gap between items
1363
- */
1364
- }
1365
- .cre8-c-grid--gap-lg > ::slotted(cre8-grid-item) {
1366
- padding: 1rem;
1367
- }
1368
- ::slotted(cre8-grid-item) {
1369
- /**
1370
- * Slotted grid item within side by side grid
1371
- * 1) Grid that stays 2 items per row on all screen sizes
1372
- */
1373
- }
1374
- .cre8-c-grid--side-by-side > ::slotted(cre8-grid-item) {
1375
- width: 50%;
1376
- }
1377
- ::slotted(cre8-grid-item) {
1378
- /**
1379
- * Slotted grid item within 2up Grid
1380
- */
1381
- }
1382
- @media all and (min-width: 768px) {
1383
- .cre8-c-grid--2up > ::slotted(cre8-grid-item) {
1384
- width: 50%;
1385
- }
1386
- }
1387
- ::slotted(cre8-grid-item) {
1388
- /**
1389
- * Slotted grid item within 2up break faster (small to large screens) Grid
1390
- */
1391
- }
1392
- @media all and (min-width: 560px) {
1393
- .cre8-c-grid--2up.cre8-c-grid--break-faster > ::slotted(cre8-grid-item) {
1394
- width: 50%;
1395
- }
1396
- }
1397
- ::slotted(cre8-grid-item) {
1398
- /**
1399
- * Slotted grid item within 2up break slower (small to large screens) Grid
1400
- */
1401
- }
1402
- @media all and (min-width: 768px) {
1403
- .cre8-c-grid--2up.cre8-c-grid--break-slower > ::slotted(cre8-grid-item) {
1404
- width: 100%;
1405
- }
1406
- }
1407
- @media all and (min-width: 1400px) {
1408
- .cre8-c-grid--2up.cre8-c-grid--break-slower > ::slotted(cre8-grid-item) {
1409
- width: 50%;
1410
- }
1411
- }
1412
- ::slotted(cre8-grid-item) {
1413
- /**
1414
- * Slotted grid item within 3up Grid
1415
- */
1416
- }
1417
- @media all and (min-width: 768px) {
1418
- .cre8-c-grid--3up > ::slotted(cre8-grid-item) {
1419
- width: 50%;
1420
- }
1421
- }
1422
- @media all and (min-width: 960px) {
1423
- .cre8-c-grid--3up > ::slotted(cre8-grid-item) {
1424
- width: 33.3333%;
1425
- }
1426
- }
1427
- ::slotted(cre8-grid-item) {
1428
- /**
1429
- * Slotted grid item within 1-3up Grid
1430
- */
1431
- }
1432
- @media all and (min-width: 960px) {
1433
- .cre8-c-grid--1-3up > ::slotted(cre8-grid-item) {
1434
- width: 33.3333%;
1435
- }
1436
- }
1437
- ::slotted(cre8-grid-item) {
1438
- /**
1439
- * Slotted grid item within 1 to 3up break faster (small to large screens) grid
1440
- */
1441
- }
1442
- @media all and (min-width: 768px) {
1443
- .cre8-c-grid--1-3up.cre8-c-grid--break-faster > ::slotted(cre8-grid-item) {
1444
- width: 33.33%;
1445
- }
1446
- }
1447
- ::slotted(cre8-grid-item) {
1448
- /**
1449
- * Slotted grid item within 2up break slower (small to large screens) Grid
1450
- */
1451
- }
1452
- @media all and (min-width: 960px) {
1453
- .cre8-c-grid--1-3up.cre8-c-grid--break-slower > ::slotted(cre8-grid-item) {
1454
- width: 100%;
1455
- }
1456
- }
1457
- @media all and (min-width: 1200px) {
1458
- .cre8-c-grid--1-3up.cre8-c-grid--break-slower > ::slotted(cre8-grid-item) {
1459
- width: 33.33%;
1460
- }
1461
- }
1462
- ::slotted(cre8-grid-item) {
1463
- /**
1464
- * Slotted grid item within 1-2-4up Grid
1465
- */
1466
- }
1467
- @media all and (min-width: 560px) {
1468
- .cre8-c-grid--1-2-4up > ::slotted(cre8-grid-item) {
1469
- width: 50%;
1470
- }
1471
- }
1472
- @media all and (min-width: 960px) {
1473
- .cre8-c-grid--1-2-4up > ::slotted(cre8-grid-item) {
1474
- width: 25%;
1475
- }
1476
- }
1477
- ::slotted(cre8-grid-item) {
1478
- /**
1479
- * Slotted grid item within 1-2-4up Grid
1480
- */
1481
- }
1482
- @media all and (min-width: 768px) {
1483
- .cre8-c-grid--1-4up > ::slotted(cre8-grid-item) {
1484
- width: 25%;
1485
- }
1486
- }
1487
- ::slotted(cre8-grid-item) {
1488
- /**
1489
- * Slotted grid item within 4up Grid
1490
- */
1491
- }
1492
- @media all and (min-width: 560px) {
1493
- .cre8-c-grid--4up > ::slotted(cre8-grid-item) {
1494
- width: 50%;
1495
- }
1496
- }
1497
- @media all and (min-width: 768px) {
1498
- .cre8-c-grid--4up > ::slotted(cre8-grid-item) {
1499
- width: 33.3333%;
1500
- }
1501
- }
1502
- @media all and (min-width: 960px) {
1503
- .cre8-c-grid--4up > ::slotted(cre8-grid-item) {
1504
- width: 25%;
1505
- }
1506
- }
1507
- ::slotted(cre8-grid-item) {
1508
- /**
1509
- * Slotted grid item within 4up Grid
1510
- */
1511
- }
1512
- .cre8-c-grid--2-4-6up > ::slotted(cre8-grid-item) {
1513
- width: 50%;
1514
- }
1515
- @media all and (min-width: 960px) {
1516
- .cre8-c-grid--2-4-6up > ::slotted(cre8-grid-item) {
1517
- width: 25%;
1518
- }
1519
- }
1520
- @media all and (min-width: 1200px) {
1521
- .cre8-c-grid--2-4-6up > ::slotted(cre8-grid-item) {
1522
- width: 16.66%;
1523
- }
1524
- }`;var x=Object.defineProperty,n=(s,e,l,w)=>{for(var i=void 0,r=s.length-1,p;r>=0;r--)(p=s[r])&&(i=p(e,l,i)||i);return i&&x(e,l,i),i};const m=class m extends h{render(){const e=this.componentClassNames("cre8-c-grid",{"cre8-c-grid--side-by-side":this.variant==="side-by-side","cre8-c-grid--2up":this.variant==="2up","cre8-c-grid--3up":this.variant==="3up","cre8-c-grid--1-3up":this.variant==="1-3up","cre8-c-grid--4up":this.variant==="4up","cre8-c-grid--1-4up":this.variant==="1-4up","cre8-c-grid--1-2-4up":this.variant==="1-2-4up","cre8-c-grid--2-4-6up":this.variant==="2-4-6up","cre8-c-grid--gap-none":this.gap==="none","cre8-c-grid--gap-sm":this.gap==="sm","cre8-c-grid--gap-lg":this.gap==="lg","cre8-c-grid--break-faster":this.break==="faster","cre8-c-grid--break-slower":this.break==="slower"});return c`
1538
+ .cre8-c-grid__item {
1539
+ height: 100%;
1540
+ }`,m=class m extends h{render(){const e=this.componentClassNames("cre8-c-grid__item",{});return c`
1525
1541
  <div class="${e}">
1526
1542
  <slot></slot>
1527
1543
  </div>
1528
- `}};m.styles=[f];let t=m;n([d()],t.prototype,"variant");n([d()],t.prototype,"gap");n([d()],t.prototype,"break");customElements.get("cre8-grid")===void 0&&customElements.define("cre8-grid",t);
1544
+ `}};m.styles=[x];let a=m;customElements.get("cre8-grid-item")===void 0&&customElements.define("cre8-grid-item",a);