@postenbring/hedwig-css 4.4.0 → 4.5.0
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/dist/accordion.css +1 -1
- package/dist/accordion.css.map +1 -1
- package/dist/alert.css +1 -1
- package/dist/alert.css.map +1 -1
- package/dist/blockquote.css +1 -1
- package/dist/blockquote.css.map +1 -1
- package/dist/box.css +1 -1
- package/dist/box.css.map +1 -1
- package/dist/button-list.css +1 -1
- package/dist/button-list.css.map +1 -1
- package/dist/card.css +1 -1
- package/dist/card.css.map +1 -1
- package/dist/classnames.d.ts +2 -0
- package/dist/footer.css +1 -1
- package/dist/footer.css.map +1 -1
- package/dist/fullwidth-focus.css +1 -1
- package/dist/fullwidth-focus.css.map +1 -1
- package/dist/help-text.css +1 -1
- package/dist/help-text.css.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/message.css +1 -1
- package/dist/message.css.map +1 -1
- package/dist/navbar.css +1 -1
- package/dist/navbar.css.map +1 -1
- package/dist/scoped.css +1 -1
- package/dist/spacing.css +1 -1
- package/dist/spacing.css.map +1 -1
- package/dist/step-indicator.css +1 -1
- package/dist/step-indicator.css.map +1 -1
- package/dist/styled-html.css +1 -1
- package/dist/styled-html.css.map +1 -1
- package/dist/table.css +1 -1
- package/dist/table.css.map +1 -1
- package/dist/tag.css +1 -0
- package/dist/tag.css.map +1 -0
- package/dist/text.css +1 -1
- package/dist/text.css.map +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.css.map +1 -1
- package/dist/warning-banner.css +1 -1
- package/dist/warning-banner.css.map +1 -1
- package/package.json +2 -2
package/dist/spacing.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}
|
|
1
|
+
:root{--hds-spacing-2-4:var(--hds-spacing-2);--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-2-4:var(--hds-spacing-4);--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}
|
package/dist/spacing.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":null,"mappings":"AAKA,
|
|
1
|
+
{"version":3,"sourceRoot":null,"mappings":"AAKA,oiBAeE,yBAAkB,uiBA6BpB,0CAIA,0CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,8CAIA,8CAKA,8CAIA,gDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,oDAIA,sDAKA,6CAIA,6CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,iDAIA,iDAKA,iDAIA,mDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,uDAIA","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/spacing/spacing.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/spacing/../_custom-media.css"],"sourcesContent":["@import url(\"../_custom-media.css\");\n\n/**\n * Responsive extension of the spacing css variables\n */\n:root {\n --hds-spacing-2-4: var(--hds-spacing-2);\n --hds-spacing-4-8: var(--hds-spacing-4);\n --hds-spacing-8-12: var(--hds-spacing-8);\n --hds-spacing-12-16: var(--hds-spacing-12);\n --hds-spacing-16-20: var(--hds-spacing-16);\n --hds-spacing-20-24: var(--hds-spacing-20);\n --hds-spacing-24-32: var(--hds-spacing-24);\n --hds-spacing-32-40: var(--hds-spacing-32);\n --hds-spacing-40-48: var(--hds-spacing-40);\n --hds-spacing-48-64: var(--hds-spacing-48);\n --hds-spacing-64-80: var(--hds-spacing-64);\n --hds-spacing-80-120: var(--hds-spacing-80);\n --hds-spacing-120-160: var(--hds-spacing-120);\n\n @media (--large) {\n --hds-spacing-2-4: var(--hds-spacing-4);\n --hds-spacing-4-8: var(--hds-spacing-8);\n --hds-spacing-8-12: var(--hds-spacing-12);\n --hds-spacing-12-16: var(--hds-spacing-16);\n --hds-spacing-16-20: var(--hds-spacing-20);\n --hds-spacing-20-24: var(--hds-spacing-24);\n --hds-spacing-24-32: var(--hds-spacing-32);\n --hds-spacing-32-40: var(--hds-spacing-40);\n --hds-spacing-40-48: var(--hds-spacing-48);\n --hds-spacing-48-64: var(--hds-spacing-64);\n --hds-spacing-64-80: var(--hds-spacing-80);\n --hds-spacing-80-120: var(--hds-spacing-120);\n --hds-spacing-120-160: var(--hds-spacing-160);\n }\n}\n\n/**\n * Utility classes for margin top and bottom\n * Based upon [tailwind](https://tailwindcss.com/docs/margin)\n * \n * We start of by just adding the margin top and bottom classes.\n * we will see if there becomes a need for left and right. X, Y axis, padding etc...\n *\n * If the consumer wish to primarly use utility classes, the recommended approach is to use tailwind with the\n * provided tailwind configuration file.\n */\n\n/* Margin top */\n.hds-mt-4 {\n margin-top: var(--hds-spacing-4);\n}\n\n.hds-mt-8 {\n margin-top: var(--hds-spacing-8);\n}\n\n.hds-mt-12 {\n margin-top: var(--hds-spacing-12);\n}\n\n.hds-mt-16 {\n margin-top: var(--hds-spacing-16);\n}\n\n.hds-mt-20 {\n margin-top: var(--hds-spacing-20);\n}\n\n.hds-mt-24 {\n margin-top: var(--hds-spacing-24);\n}\n\n.hds-mt-32 {\n margin-top: var(--hds-spacing-32);\n}\n\n.hds-mt-40 {\n margin-top: var(--hds-spacing-40);\n}\n\n.hds-mt-48 {\n margin-top: var(--hds-spacing-48);\n}\n\n.hds-mt-64 {\n margin-top: var(--hds-spacing-64);\n}\n\n.hds-mt-80 {\n margin-top: var(--hds-spacing-80);\n}\n\n.hds-mt-120 {\n margin-top: var(--hds-spacing-120);\n}\n\n.hds-mt-160 {\n margin-top: var(--hds-spacing-160);\n}\n\n/* Responsive margin top. Mobile first, meaning it jumps up on larger screens */\n.hds-mt-4-8 {\n margin-top: var(--hds-spacing-4-8);\n}\n\n.hds-mt-8-12 {\n margin-top: var(--hds-spacing-8-12);\n}\n\n.hds-mt-12-16 {\n margin-top: var(--hds-spacing-12-16);\n}\n\n.hds-mt-16-20 {\n margin-top: var(--hds-spacing-16-20);\n}\n\n.hds-mt-20-24 {\n margin-top: var(--hds-spacing-20-24);\n}\n\n.hds-mt-24-32 {\n margin-top: var(--hds-spacing-24-32);\n}\n\n.hds-mt-32-40 {\n margin-top: var(--hds-spacing-32-40);\n}\n\n.hds-mt-40-48 {\n margin-top: var(--hds-spacing-40-48);\n}\n\n.hds-mt-48-64 {\n margin-top: var(--hds-spacing-48-64);\n}\n\n.hds-mt-64-80 {\n margin-top: var(--hds-spacing-64-80);\n}\n\n.hds-mt-80-120 {\n margin-top: var(--hds-spacing-80-120);\n}\n\n.hds-mt-120-160 {\n margin-top: var(--hds-spacing-120-160);\n}\n\n/* Margin bottom */\n.hds-mb-4 {\n margin-bottom: var(--hds-spacing-4);\n}\n\n.hds-mb-8 {\n margin-bottom: var(--hds-spacing-8);\n}\n\n.hds-mb-12 {\n margin-bottom: var(--hds-spacing-12);\n}\n\n.hds-mb-16 {\n margin-bottom: var(--hds-spacing-16);\n}\n\n.hds-mb-20 {\n margin-bottom: var(--hds-spacing-20);\n}\n\n.hds-mb-24 {\n margin-bottom: var(--hds-spacing-24);\n}\n\n.hds-mb-32 {\n margin-bottom: var(--hds-spacing-32);\n}\n\n.hds-mb-40 {\n margin-bottom: var(--hds-spacing-40);\n}\n\n.hds-mb-48 {\n margin-bottom: var(--hds-spacing-48);\n}\n\n.hds-mb-64 {\n margin-bottom: var(--hds-spacing-64);\n}\n\n.hds-mb-80 {\n margin-bottom: var(--hds-spacing-80);\n}\n\n.hds-mb-120 {\n margin-bottom: var(--hds-spacing-120);\n}\n\n.hds-mb-160 {\n margin-bottom: var(--hds-spacing-160);\n}\n\n/* Responsive margin bottom. Mobile first, meaning it jumps up on larger screens */\n.hds-mb-4-8 {\n margin-bottom: var(--hds-spacing-4-8);\n}\n\n.hds-mb-8-12 {\n margin-bottom: var(--hds-spacing-8-12);\n}\n\n.hds-mb-12-16 {\n margin-bottom: var(--hds-spacing-12-16);\n}\n\n.hds-mb-16-20 {\n margin-bottom: var(--hds-spacing-16-20);\n}\n\n.hds-mb-20-24 {\n margin-bottom: var(--hds-spacing-20-24);\n}\n\n.hds-mb-24-32 {\n margin-bottom: var(--hds-spacing-24-32);\n}\n\n.hds-mb-32-40 {\n margin-bottom: var(--hds-spacing-32-40);\n}\n\n.hds-mb-40-48 {\n margin-bottom: var(--hds-spacing-40-48);\n}\n\n.hds-mb-48-64 {\n margin-bottom: var(--hds-spacing-48-64);\n}\n\n.hds-mb-64-80 {\n margin-bottom: var(--hds-spacing-64-80);\n}\n\n.hds-mb-80-120 {\n margin-bottom: var(--hds-spacing-80-120);\n}\n\n.hds-mb-120-160 {\n margin-bottom: var(--hds-spacing-120-160);\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|
package/dist/step-indicator.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}.hds-step-indicator .hds-step-indicator__header{justify-content:space-between;align-items:center;display:flex}.hds-step-indicator .hds-step-indicator__left-label{color:var(--hds-colors-text-subtle)}.hds-step-indicator .hds-step-indicator__steps{margin-top:var(--hds-spacing-8);column-gap:var(--hds-spacing-4);display:flex}.hds-step-indicator .hds-step-indicator__steps .hds-step-indicator__step{border-radius:var(--hds-border-radius);width:100%;height:var(--hds-spacing-4)}.hds-step-indicator .hds-step-indicator__steps .hds-step-indicator__step[data-state=previous]{background-color:var(--hds-colors-border-default)}.hds-step-indicator .hds-step-indicator__steps .hds-step-indicator__step[data-state=active]{background-color:var(--hds-colors-border-default)}.hds-step-indicator .hds-step-indicator__steps .hds-step-indicator__step[data-state=next]{background-color:var(--hds-colors-neutral-border-default)}.hds-step-indicator .hds-step-indicator__title{font:var(--hds-typography-h1);color:var(--hds-colors-text-default)}.hds-step-indicator .hds-step-indicator__title:not(:empty){margin-top:var(--hds-spacing-24-32)}
|
|
1
|
+
:root{--hds-spacing-2-4:var(--hds-spacing-2);--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-2-4:var(--hds-spacing-4);--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}.hds-step-indicator .hds-step-indicator__header{justify-content:space-between;align-items:center;display:flex}.hds-step-indicator .hds-step-indicator__left-label{color:var(--hds-colors-text-subtle)}.hds-step-indicator .hds-step-indicator__steps{margin-top:var(--hds-spacing-8);column-gap:var(--hds-spacing-4);display:flex}.hds-step-indicator .hds-step-indicator__steps .hds-step-indicator__step{border-radius:var(--hds-border-radius);width:100%;height:var(--hds-spacing-4)}.hds-step-indicator .hds-step-indicator__steps .hds-step-indicator__step[data-state=previous]{background-color:var(--hds-colors-border-default)}.hds-step-indicator .hds-step-indicator__steps .hds-step-indicator__step[data-state=active]{background-color:var(--hds-colors-border-default)}.hds-step-indicator .hds-step-indicator__steps .hds-step-indicator__step[data-state=next]{background-color:var(--hds-colors-neutral-border-default)}.hds-step-indicator .hds-step-indicator__title{font:var(--hds-typography-h1);color:var(--hds-colors-text-default)}.hds-step-indicator .hds-step-indicator__title:not(:empty){margin-top:var(--hds-spacing-24-32)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":null,"mappings":"AEKA,
|
|
1
|
+
{"version":3,"sourceRoot":null,"mappings":"AEKA,oiBAeE,yBAAkB,uiBA6BpB,0CAIA,0CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,8CAIA,8CAKA,8CAIA,gDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,oDAIA,sDAKA,6CAIA,6CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,iDAIA,iDAKA,iDAIA,mDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,uDAIA,yDFpPE,8GAMA,wFAIA,4HAKE,uJAKE,gJAIA,8IAIA,oJAMJ,kHAIE","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/step-indicator/step-indicator.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/step-indicator/../_custom-media.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/step-indicator/../spacing/spacing.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/step-indicator/../spacing/../_custom-media.css"],"sourcesContent":["@import url(\"../_custom-media.css\");\n@import url(\"../spacing/spacing.css\");\n\n.hds-step-indicator {\n .hds-step-indicator__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .hds-step-indicator__left-label {\n color: var(--hds-colors-text-subtle);\n }\n\n .hds-step-indicator__steps {\n margin-top: var(--hds-spacing-8);\n display: flex;\n column-gap: var(--hds-spacing-4);\n\n .hds-step-indicator__step {\n width: 100%;\n border-radius: var(--hds-border-radius);\n height: var(--hds-spacing-4);\n\n &[data-state=\"previous\"] {\n background-color: var(--hds-colors-border-default);\n }\n\n &[data-state=\"active\"] {\n background-color: var(--hds-colors-border-default);\n }\n\n &[data-state=\"next\"] {\n background-color: var(--hds-colors-neutral-border-default);\n }\n }\n }\n\n .hds-step-indicator__title {\n font: var(--hds-typography-h1);\n color: var(--hds-colors-text-default);\n\n &:not(:empty) {\n margin-top: var(--hds-spacing-24-32);\n }\n }\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n","@import url(\"../_custom-media.css\");\n\n/**\n * Responsive extension of the spacing css variables\n */\n:root {\n --hds-spacing-2-4: var(--hds-spacing-2);\n --hds-spacing-4-8: var(--hds-spacing-4);\n --hds-spacing-8-12: var(--hds-spacing-8);\n --hds-spacing-12-16: var(--hds-spacing-12);\n --hds-spacing-16-20: var(--hds-spacing-16);\n --hds-spacing-20-24: var(--hds-spacing-20);\n --hds-spacing-24-32: var(--hds-spacing-24);\n --hds-spacing-32-40: var(--hds-spacing-32);\n --hds-spacing-40-48: var(--hds-spacing-40);\n --hds-spacing-48-64: var(--hds-spacing-48);\n --hds-spacing-64-80: var(--hds-spacing-64);\n --hds-spacing-80-120: var(--hds-spacing-80);\n --hds-spacing-120-160: var(--hds-spacing-120);\n\n @media (--large) {\n --hds-spacing-2-4: var(--hds-spacing-4);\n --hds-spacing-4-8: var(--hds-spacing-8);\n --hds-spacing-8-12: var(--hds-spacing-12);\n --hds-spacing-12-16: var(--hds-spacing-16);\n --hds-spacing-16-20: var(--hds-spacing-20);\n --hds-spacing-20-24: var(--hds-spacing-24);\n --hds-spacing-24-32: var(--hds-spacing-32);\n --hds-spacing-32-40: var(--hds-spacing-40);\n --hds-spacing-40-48: var(--hds-spacing-48);\n --hds-spacing-48-64: var(--hds-spacing-64);\n --hds-spacing-64-80: var(--hds-spacing-80);\n --hds-spacing-80-120: var(--hds-spacing-120);\n --hds-spacing-120-160: var(--hds-spacing-160);\n }\n}\n\n/**\n * Utility classes for margin top and bottom\n * Based upon [tailwind](https://tailwindcss.com/docs/margin)\n * \n * We start of by just adding the margin top and bottom classes.\n * we will see if there becomes a need for left and right. X, Y axis, padding etc...\n *\n * If the consumer wish to primarly use utility classes, the recommended approach is to use tailwind with the\n * provided tailwind configuration file.\n */\n\n/* Margin top */\n.hds-mt-4 {\n margin-top: var(--hds-spacing-4);\n}\n\n.hds-mt-8 {\n margin-top: var(--hds-spacing-8);\n}\n\n.hds-mt-12 {\n margin-top: var(--hds-spacing-12);\n}\n\n.hds-mt-16 {\n margin-top: var(--hds-spacing-16);\n}\n\n.hds-mt-20 {\n margin-top: var(--hds-spacing-20);\n}\n\n.hds-mt-24 {\n margin-top: var(--hds-spacing-24);\n}\n\n.hds-mt-32 {\n margin-top: var(--hds-spacing-32);\n}\n\n.hds-mt-40 {\n margin-top: var(--hds-spacing-40);\n}\n\n.hds-mt-48 {\n margin-top: var(--hds-spacing-48);\n}\n\n.hds-mt-64 {\n margin-top: var(--hds-spacing-64);\n}\n\n.hds-mt-80 {\n margin-top: var(--hds-spacing-80);\n}\n\n.hds-mt-120 {\n margin-top: var(--hds-spacing-120);\n}\n\n.hds-mt-160 {\n margin-top: var(--hds-spacing-160);\n}\n\n/* Responsive margin top. Mobile first, meaning it jumps up on larger screens */\n.hds-mt-4-8 {\n margin-top: var(--hds-spacing-4-8);\n}\n\n.hds-mt-8-12 {\n margin-top: var(--hds-spacing-8-12);\n}\n\n.hds-mt-12-16 {\n margin-top: var(--hds-spacing-12-16);\n}\n\n.hds-mt-16-20 {\n margin-top: var(--hds-spacing-16-20);\n}\n\n.hds-mt-20-24 {\n margin-top: var(--hds-spacing-20-24);\n}\n\n.hds-mt-24-32 {\n margin-top: var(--hds-spacing-24-32);\n}\n\n.hds-mt-32-40 {\n margin-top: var(--hds-spacing-32-40);\n}\n\n.hds-mt-40-48 {\n margin-top: var(--hds-spacing-40-48);\n}\n\n.hds-mt-48-64 {\n margin-top: var(--hds-spacing-48-64);\n}\n\n.hds-mt-64-80 {\n margin-top: var(--hds-spacing-64-80);\n}\n\n.hds-mt-80-120 {\n margin-top: var(--hds-spacing-80-120);\n}\n\n.hds-mt-120-160 {\n margin-top: var(--hds-spacing-120-160);\n}\n\n/* Margin bottom */\n.hds-mb-4 {\n margin-bottom: var(--hds-spacing-4);\n}\n\n.hds-mb-8 {\n margin-bottom: var(--hds-spacing-8);\n}\n\n.hds-mb-12 {\n margin-bottom: var(--hds-spacing-12);\n}\n\n.hds-mb-16 {\n margin-bottom: var(--hds-spacing-16);\n}\n\n.hds-mb-20 {\n margin-bottom: var(--hds-spacing-20);\n}\n\n.hds-mb-24 {\n margin-bottom: var(--hds-spacing-24);\n}\n\n.hds-mb-32 {\n margin-bottom: var(--hds-spacing-32);\n}\n\n.hds-mb-40 {\n margin-bottom: var(--hds-spacing-40);\n}\n\n.hds-mb-48 {\n margin-bottom: var(--hds-spacing-48);\n}\n\n.hds-mb-64 {\n margin-bottom: var(--hds-spacing-64);\n}\n\n.hds-mb-80 {\n margin-bottom: var(--hds-spacing-80);\n}\n\n.hds-mb-120 {\n margin-bottom: var(--hds-spacing-120);\n}\n\n.hds-mb-160 {\n margin-bottom: var(--hds-spacing-160);\n}\n\n/* Responsive margin bottom. Mobile first, meaning it jumps up on larger screens */\n.hds-mb-4-8 {\n margin-bottom: var(--hds-spacing-4-8);\n}\n\n.hds-mb-8-12 {\n margin-bottom: var(--hds-spacing-8-12);\n}\n\n.hds-mb-12-16 {\n margin-bottom: var(--hds-spacing-12-16);\n}\n\n.hds-mb-16-20 {\n margin-bottom: var(--hds-spacing-16-20);\n}\n\n.hds-mb-20-24 {\n margin-bottom: var(--hds-spacing-20-24);\n}\n\n.hds-mb-24-32 {\n margin-bottom: var(--hds-spacing-24-32);\n}\n\n.hds-mb-32-40 {\n margin-bottom: var(--hds-spacing-32-40);\n}\n\n.hds-mb-40-48 {\n margin-bottom: var(--hds-spacing-40-48);\n}\n\n.hds-mb-48-64 {\n margin-bottom: var(--hds-spacing-48-64);\n}\n\n.hds-mb-64-80 {\n margin-bottom: var(--hds-spacing-64-80);\n}\n\n.hds-mb-80-120 {\n margin-bottom: var(--hds-spacing-80-120);\n}\n\n.hds-mb-120-160 {\n margin-bottom: var(--hds-spacing-120-160);\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|
package/dist/styled-html.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}.hds-styled-html{font:var(--hds-typography-body)}.hds-styled-html>:first-child{margin-top:0}.hds-styled-html>:last-child{margin-bottom:0}.hds-styled-html h1{margin-top:var(--hds-spacing-48-64)}.hds-styled-html h2{margin-top:var(--hds-spacing-48-64)}.hds-styled-html h3{margin-top:var(--hds-spacing-40-48)}.hds-styled-html h4{margin-top:var(--hds-spacing-32-40)}.hds-styled-html h5{margin-top:var(--hds-spacing-32-40)}.hds-styled-html a:where(:not(.hds-button)){--_link-color:var(--hds-colors-neutral-text-default);--_link-hover-color:var(--hds-colors-text-subtle);--_link-text-decoration-color:var(--hds-colors-border-default);color:var(--_link-color);fill:currentColor;transition-duration:var(--hds-micro-animation-duration-quick);transition-timing-function:var(--hds-micro-animation-easing-normal);cursor:pointer;text-decoration-line:underline;text-decoration-thickness:var(--hds-stroke-default);-webkit-text-decoration-color:var(--_link-text-decoration-color);text-decoration-color:var(--_link-text-decoration-color);text-underline-offset:.25em;transition-property:color,fill,text-decoration-color}.hds-styled-html a:where(:not(.hds-button)):hover{color:var(--_link-hover-color);fill:currentColor;--_link-text-decoration-color:var(--hds-colors-text-subtle)}.hds-styled-html a:where(:not(.hds-button)):active{color:var(--_link-hover-color);fill:currentColor;--_link-text-decoration-color:var(--hds-colors-text-subtle)}.hds-styled-html a:where(:not(.hds-button)).hds-link--no-underline{text-decoration:none}.hds-styled-html a:where(:not(.hds-button)).hds-link--no-underline:hover{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:underline;-webkit-text-decoration-color:var(--hds-colors-border-strong);text-decoration-color:var(--hds-colors-border-strong)}.hds-styled-html a:where(:not(.hds-button)).hds-link--no-underline:active{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:underline;-webkit-text-decoration-color:var(--hds-colors-border-strong);text-decoration-color:var(--hds-colors-border-strong)}.hds-styled-html a:where(:not(.hds-button)).hds-link--solid{text-decoration-color:currentColor}.hds-styled-html a:where(:not(.hds-button)).hds-link--solid:hover{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:none}.hds-styled-html a:where(:not(.hds-button)).hds-link--small{font:var(--hds-typography-body-small)}.hds-styled-html a:where(:not(.hds-button)).hds-link--large{font:var(--hds-typography-h3)}.hds-styled-html a:where(:not(.hds-button)).hds-link--technical{font:var(--hds-typography-technical)}.hds-styled-html a:where(:not(.hds-button)).hds-link--leading-icon svg{fill:currentColor;vertical-align:middle;width:1em;height:1em;margin-bottom:2px}.hds-styled-html a:where(:not(.hds-button)).hds-link--trailing-icon svg{fill:currentColor;vertical-align:middle;width:1em;height:1em;margin-bottom:2px}.hds-styled-html a:where(:not(.hds-button)).hds-link--leading-icon svg{margin-right:10px}.hds-styled-html a:where(:not(.hds-button)).hds-link--trailing-icon svg{margin-left:10px}.hds-styled-html a:where(:not(.hds-button)):is(button){background:0 0;border:0;padding:0}.hds-styled-html a:where(:not(.hds-button)):is(button):not(:is(.hds-link--small,.hds-link--large)){font:var(--hds-typography-body)}.hds-styled-html p{margin-top:var(--hds-spacing-16)}@media (min-width:940px){.hds-styled-html p{margin-top:var(--hds-spacing-24)}}.hds-styled-html p+h2{margin-top:var(--hds-spacing-48-64)}.hds-styled-html p+figure{margin-top:var(--hds-spacing-48-64)}.hds-styled-html p+h3{margin-top:var(--hds-spacing-40-48)}.hds-styled-html p+h4{margin-top:var(--hds-spacing-32-40)}.hds-styled-html p+h5{margin-top:var(--hds-spacing-32-40)}.hds-styled-html hr{margin-bottom:var(--hds-spacing-24)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)){padding-left:var(--hds-spacing-16)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) li{padding-left:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) li::marker{color:var(--hds-colors-text-subtle)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ol){list-style:decimal}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ul){list-style:outside}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ul) li::marker{font-size:16px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ul) ul{padding-left:var(--hds-spacing-16);list-style:circle}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ol) ol{padding-left:var(--hds-spacing-16);list-style:decimal}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)){font:var(--hds-typography-body)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) *+*{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) ul{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) ol{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--default{font:var(--hds-typography-body)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--default *+*{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--default ul{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--default ol{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--medium{font:var(--hds-typography-body)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--medium *+*{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--medium ul{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--medium ol{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--small{font:var(--hds-typography-body-small)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--small *+*{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--small ul{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--small ol{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--technical{font:var(--hds-typography-technical)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--technical *+*{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--technical ul{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--technical ol{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--large{font:var(--hds-typography-h3)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--large *+*{margin-top:var(--hds-spacing-12)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--large ul{margin-top:var(--hds-spacing-12)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--large ol{margin-top:var(--hds-spacing-12)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list{padding-left:0;list-style:none}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list *+*{margin-top:var(--hds-spacing-16)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list li{padding-left:0}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)){--_link-color:var(--hds-colors-neutral-text-default);--_link-hover-color:var(--hds-colors-text-subtle);--_link-text-decoration-color:var(--hds-colors-border-default);color:var(--_link-color);fill:currentColor;transition-duration:var(--hds-micro-animation-duration-quick);transition-timing-function:var(--hds-micro-animation-easing-normal);cursor:pointer;text-decoration-line:underline;text-decoration-thickness:var(--hds-stroke-default);-webkit-text-decoration-color:var(--_link-text-decoration-color);text-decoration-color:var(--_link-text-decoration-color);text-underline-offset:.25em;transition-property:color,fill,text-decoration-color}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)):hover{color:var(--_link-hover-color);fill:currentColor;--_link-text-decoration-color:var(--hds-colors-text-subtle)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)):active{color:var(--_link-hover-color);fill:currentColor;--_link-text-decoration-color:var(--hds-colors-text-subtle)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--no-underline{text-decoration:none}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--no-underline:hover{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:underline;-webkit-text-decoration-color:var(--hds-colors-border-strong);text-decoration-color:var(--hds-colors-border-strong)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--no-underline:active{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:underline;-webkit-text-decoration-color:var(--hds-colors-border-strong);text-decoration-color:var(--hds-colors-border-strong)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--solid{text-decoration-color:currentColor}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--solid:hover{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:none}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--small{font:var(--hds-typography-body-small)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--large{font:var(--hds-typography-h3)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--technical{font:var(--hds-typography-technical)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--leading-icon svg{fill:currentColor;vertical-align:middle;width:1em;height:1em;margin-bottom:2px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--trailing-icon svg{fill:currentColor;vertical-align:middle;width:1em;height:1em;margin-bottom:2px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--leading-icon svg{margin-right:10px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--trailing-icon svg{margin-left:10px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)):is(button){background:0 0;border:0;padding:0}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)):is(button):not(:is(.hds-link--small,.hds-link--large)){font:var(--hds-typography-body)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)){margin-top:var(--hds-spacing-16)}.hds-styled-html figure img{border-radius:var(--hds-border-radius-8);width:100%}.hds-styled-html figure .hds-figure__container{position:relative}.hds-styled-html figure .hds-figure__container:before{content:"";pointer-events:none;background:linear-gradient(rgba(0,0,0,.1) 0%,transparent 20%,transparent 80%,rgba(0,0,0,.1) 100%);width:100%;height:100%;position:absolute}.hds-styled-html figure figcaption{margin-top:var(--hds-spacing-12);font-size:var(--hds-font-size-caption);text-align:left;color:var(--hds-colors-neutral-text-default);fill:var(--hds-colors-neutral-text-default);line-height:1.5;position:relative}.hds-styled-html figure{margin:0;margin-top:var(--hds-spacing-32);padding:0}.hds-styled-html blockquote{margin:var(--hds-spacing-24-32) 0;padding:0 var(--hds-spacing-16-20)}.hds-styled-html blockquote :where(p){font:var(--hds-typography-h2)}.hds-styled-html blockquote p:not(:last-child):before{content:"“";padding-right:3px}.hds-styled-html blockquote p:not(:last-child):after{content:"”";padding-left:0}.hds-styled-html blockquote.hds-blockquote--norwegian p:not(:last-child):before{content:"«";padding-right:3px}.hds-styled-html blockquote.hds-blockquote--norwegian p:not(:last-child):after{content:"»";padding-left:0}.hds-styled-html blockquote footer:before{content:"- "}.hds-styled-html blockquote footer{margin-top:var(--hds-spacing-20-24);font:var(--hds-typography-technical)}.hds-styled-html table{border-collapse:collapse;text-align:left;width:100%;min-width:460px;overflow-x:scroll}.hds-styled-html table th{border-bottom:var(--hds-stroke-default) solid var(--hds-colors-neutral-border-default)}.hds-styled-html table td{border-bottom:var(--hds-stroke-default) solid var(--hds-colors-neutral-border-default)}.hds-styled-html table th:first-child{padding-left:var(--hds-spacing-4)}.hds-styled-html table td:first-child{padding-left:var(--hds-spacing-4)}.hds-styled-html table th:last-child{padding-right:var(--hds-spacing-4)}.hds-styled-html table td:last-child{padding-right:var(--hds-spacing-4)}.hds-styled-html table th{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-styled-html table td{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-styled-html table th{font:var(--hds-typography-body-small-title)}.hds-styled-html table td{font:var(--hds-typography-body-small)}.hds-styled-html table.hds-table--default th{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-styled-html table.hds-table--default td{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-styled-html table.hds-table--default th{font:var(--hds-typography-body-small-title)}.hds-styled-html table.hds-table--default td{font:var(--hds-typography-body-small)}.hds-styled-html table.hds-table--compressed th{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-styled-html table.hds-table--compressed td{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-styled-html table.hds-table--compressed th{font:var(--hds-typography-technical-title)}.hds-styled-html table.hds-table--compressed td{font:var(--hds-typography-technical)}@media not (min-width:720px){.hds-styled-html table.hds-table--mobile-compressed th{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-styled-html table.hds-table--mobile-compressed td{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-styled-html table.hds-table--mobile-compressed th{font:var(--hds-typography-technical-title)}.hds-styled-html table.hds-table--mobile-compressed td{font:var(--hds-typography-technical)}}.hds-styled-html table caption{font:var(--hds-typography-h3-title);text-align:left;caption-side:top;padding-bottom:var(--hds-spacing-12)}.hds-styled-html table{margin-top:var(--hds-spacing-32)}.hds-styled-html table p{margin-bottom:0}.hds-styled-html table h1{margin-bottom:0}.hds-styled-html table h2{margin-bottom:0}.hds-styled-html table h3{margin-bottom:0}.hds-styled-html table h4{margin-bottom:0}.hds-styled-html table h5{margin-bottom:0}.hds-styled-html table h6{margin-bottom:0}.hds-styled-html table a{color:unset;border-bottom:none}.hds-styled-html b{font-weight:var(--hds-font-weight-body-title)}.hds-styled-html strong{font-weight:var(--hds-font-weight-body-title)}.hds-styled-html.hds-styled-html--small{font-size:var(--hds-font-size-body-small);line-height:var(--hds-line-height-body-small)}.hds-styled-html.hds-styled-html--small p{font-size:var(--hds-font-size-body-small);line-height:var(--hds-line-height-body-small)}.hds-styled-html.hds-styled-html--small li{font-size:var(--hds-font-size-body-small);line-height:var(--hds-line-height-body-small)}.hds-styled-html.hds-styled-html--small a{font-size:var(--hds-font-size-body-small);line-height:var(--hds-line-height-body-small)}.hds-styled-html.hds-styled-html--small p{margin-top:var(--hds-spacing-12)}
|
|
1
|
+
:root{--hds-spacing-2-4:var(--hds-spacing-2);--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-2-4:var(--hds-spacing-4);--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}.hds-styled-html{font:var(--hds-typography-body)}.hds-styled-html>:first-child{margin-top:0}.hds-styled-html>:last-child{margin-bottom:0}.hds-styled-html h1{margin-top:var(--hds-spacing-48-64)}.hds-styled-html h2{margin-top:var(--hds-spacing-48-64)}.hds-styled-html h3{margin-top:var(--hds-spacing-40-48)}.hds-styled-html h4{margin-top:var(--hds-spacing-32-40)}.hds-styled-html h5{margin-top:var(--hds-spacing-32-40)}.hds-styled-html a:where(:not(.hds-button)){--_link-color:var(--hds-colors-neutral-text-default);--_link-hover-color:var(--hds-colors-text-subtle);--_link-text-decoration-color:var(--hds-colors-border-default);color:var(--_link-color);fill:currentColor;transition-duration:var(--hds-micro-animation-duration-quick);transition-timing-function:var(--hds-micro-animation-easing-normal);cursor:pointer;text-decoration-line:underline;text-decoration-thickness:var(--hds-stroke-default);-webkit-text-decoration-color:var(--_link-text-decoration-color);text-decoration-color:var(--_link-text-decoration-color);text-underline-offset:.25em;transition-property:color,fill,text-decoration-color}.hds-styled-html a:where(:not(.hds-button)):hover{color:var(--_link-hover-color);fill:currentColor;--_link-text-decoration-color:var(--hds-colors-text-subtle)}.hds-styled-html a:where(:not(.hds-button)):active{color:var(--_link-hover-color);fill:currentColor;--_link-text-decoration-color:var(--hds-colors-text-subtle)}.hds-styled-html a:where(:not(.hds-button)).hds-link--no-underline{text-decoration:none}.hds-styled-html a:where(:not(.hds-button)).hds-link--no-underline:hover{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:underline;-webkit-text-decoration-color:var(--hds-colors-border-strong);text-decoration-color:var(--hds-colors-border-strong)}.hds-styled-html a:where(:not(.hds-button)).hds-link--no-underline:active{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:underline;-webkit-text-decoration-color:var(--hds-colors-border-strong);text-decoration-color:var(--hds-colors-border-strong)}.hds-styled-html a:where(:not(.hds-button)).hds-link--solid{text-decoration-color:currentColor}.hds-styled-html a:where(:not(.hds-button)).hds-link--solid:hover{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:none}.hds-styled-html a:where(:not(.hds-button)).hds-link--small{font:var(--hds-typography-body-small)}.hds-styled-html a:where(:not(.hds-button)).hds-link--large{font:var(--hds-typography-h3)}.hds-styled-html a:where(:not(.hds-button)).hds-link--technical{font:var(--hds-typography-technical)}.hds-styled-html a:where(:not(.hds-button)).hds-link--leading-icon svg{fill:currentColor;vertical-align:middle;width:1em;height:1em;margin-bottom:2px}.hds-styled-html a:where(:not(.hds-button)).hds-link--trailing-icon svg{fill:currentColor;vertical-align:middle;width:1em;height:1em;margin-bottom:2px}.hds-styled-html a:where(:not(.hds-button)).hds-link--leading-icon svg{margin-right:10px}.hds-styled-html a:where(:not(.hds-button)).hds-link--trailing-icon svg{margin-left:10px}.hds-styled-html a:where(:not(.hds-button)):is(button){background:0 0;border:0;padding:0}.hds-styled-html a:where(:not(.hds-button)):is(button):not(:is(.hds-link--small,.hds-link--large)){font:var(--hds-typography-body)}.hds-styled-html p{margin-top:var(--hds-spacing-16)}@media (min-width:940px){.hds-styled-html p{margin-top:var(--hds-spacing-24)}}.hds-styled-html p+h2{margin-top:var(--hds-spacing-48-64)}.hds-styled-html p+figure{margin-top:var(--hds-spacing-48-64)}.hds-styled-html p+h3{margin-top:var(--hds-spacing-40-48)}.hds-styled-html p+h4{margin-top:var(--hds-spacing-32-40)}.hds-styled-html p+h5{margin-top:var(--hds-spacing-32-40)}.hds-styled-html hr{margin-bottom:var(--hds-spacing-24)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)){padding-left:var(--hds-spacing-16)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) li{padding-left:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) li::marker{color:var(--hds-colors-text-subtle)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ol){list-style:decimal}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ul){list-style:outside}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ul) li::marker{font-size:16px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ul) ul{padding-left:var(--hds-spacing-16);list-style:circle}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)):is(ol) ol{padding-left:var(--hds-spacing-16);list-style:decimal}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)){font:var(--hds-typography-body)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) *+*{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) ul{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)) ol{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--default{font:var(--hds-typography-body)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--default *+*{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--default ul{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--default ol{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--medium{font:var(--hds-typography-body)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--medium *+*{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--medium ul{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--medium ol{margin-top:var(--hds-spacing-8)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--small{font:var(--hds-typography-body-small)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--small *+*{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--small ul{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--small ol{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--technical{font:var(--hds-typography-technical)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--technical *+*{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--technical ul{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--technical ol{margin-top:var(--hds-spacing-4)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--large{font:var(--hds-typography-h3)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--large *+*{margin-top:var(--hds-spacing-12)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--large ul{margin-top:var(--hds-spacing-12)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--large ol{margin-top:var(--hds-spacing-12)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list{padding-left:0;list-style:none}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list *+*{margin-top:var(--hds-spacing-16)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list li{padding-left:0}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)){--_link-color:var(--hds-colors-neutral-text-default);--_link-hover-color:var(--hds-colors-text-subtle);--_link-text-decoration-color:var(--hds-colors-border-default);color:var(--_link-color);fill:currentColor;transition-duration:var(--hds-micro-animation-duration-quick);transition-timing-function:var(--hds-micro-animation-easing-normal);cursor:pointer;text-decoration-line:underline;text-decoration-thickness:var(--hds-stroke-default);-webkit-text-decoration-color:var(--_link-text-decoration-color);text-decoration-color:var(--_link-text-decoration-color);text-underline-offset:.25em;transition-property:color,fill,text-decoration-color}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)):hover{color:var(--_link-hover-color);fill:currentColor;--_link-text-decoration-color:var(--hds-colors-text-subtle)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)):active{color:var(--_link-hover-color);fill:currentColor;--_link-text-decoration-color:var(--hds-colors-text-subtle)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--no-underline{text-decoration:none}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--no-underline:hover{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:underline;-webkit-text-decoration-color:var(--hds-colors-border-strong);text-decoration-color:var(--hds-colors-border-strong)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--no-underline:active{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:underline;-webkit-text-decoration-color:var(--hds-colors-border-strong);text-decoration-color:var(--hds-colors-border-strong)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--solid{text-decoration-color:currentColor}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--solid:hover{--_link-hover-color:var(--hds-colors-text-subtle);text-decoration:none}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--small{font:var(--hds-typography-body-small)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--large{font:var(--hds-typography-h3)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--technical{font:var(--hds-typography-technical)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--leading-icon svg{fill:currentColor;vertical-align:middle;width:1em;height:1em;margin-bottom:2px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--trailing-icon svg{fill:currentColor;vertical-align:middle;width:1em;height:1em;margin-bottom:2px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--leading-icon svg{margin-right:10px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)).hds-link--trailing-icon svg{margin-left:10px}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)):is(button){background:0 0;border:0;padding:0}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)).hds-list--link-list a:where(:not(.hds-link)):is(button):not(:is(.hds-link--small,.hds-link--large)){font:var(--hds-typography-body)}.hds-styled-html :is(ul,ol):where(:not(.hds-accordion)){margin-top:var(--hds-spacing-16)}.hds-styled-html figure img{border-radius:var(--hds-border-radius-8);width:100%}.hds-styled-html figure .hds-figure__container{position:relative}.hds-styled-html figure .hds-figure__container:before{content:"";pointer-events:none;background:linear-gradient(rgba(0,0,0,.1) 0%,transparent 20%,transparent 80%,rgba(0,0,0,.1) 100%);width:100%;height:100%;position:absolute}.hds-styled-html figure figcaption{margin-top:var(--hds-spacing-12);font-size:var(--hds-font-size-caption);text-align:left;color:var(--hds-colors-neutral-text-default);fill:var(--hds-colors-neutral-text-default);line-height:1.5;position:relative}.hds-styled-html figure{margin:0;margin-top:var(--hds-spacing-32);padding:0}.hds-styled-html blockquote{margin:var(--hds-spacing-24-32) 0;padding:0 var(--hds-spacing-16-20)}.hds-styled-html blockquote :where(p){font:var(--hds-typography-h2)}.hds-styled-html blockquote p:not(:last-child):before{content:"“";padding-right:3px}.hds-styled-html blockquote p:not(:last-child):after{content:"”";padding-left:0}.hds-styled-html blockquote.hds-blockquote--norwegian p:not(:last-child):before{content:"«";padding-right:3px}.hds-styled-html blockquote.hds-blockquote--norwegian p:not(:last-child):after{content:"»";padding-left:0}.hds-styled-html blockquote footer:before{content:"- "}.hds-styled-html blockquote footer{margin-top:var(--hds-spacing-20-24);font:var(--hds-typography-technical)}.hds-styled-html table{border-collapse:collapse;text-align:left;width:100%;overflow-x:scroll}.hds-styled-html table th{border-bottom:var(--hds-stroke-default) solid var(--hds-colors-neutral-border-default)}.hds-styled-html table td{border-bottom:var(--hds-stroke-default) solid var(--hds-colors-neutral-border-default)}.hds-styled-html table th:first-child{padding-left:var(--hds-spacing-4)}.hds-styled-html table td:first-child{padding-left:var(--hds-spacing-4)}.hds-styled-html table th:last-child{padding-right:var(--hds-spacing-4)}.hds-styled-html table td:last-child{padding-right:var(--hds-spacing-4)}.hds-styled-html table th{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-styled-html table td{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-styled-html table th{font:var(--hds-typography-body-small-title)}.hds-styled-html table td{font:var(--hds-typography-body-small)}.hds-styled-html table.hds-table--default th{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-styled-html table.hds-table--default td{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-styled-html table.hds-table--default th{font:var(--hds-typography-body-small-title)}.hds-styled-html table.hds-table--default td{font:var(--hds-typography-body-small)}.hds-styled-html table.hds-table--compressed th{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-styled-html table.hds-table--compressed td{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-styled-html table.hds-table--compressed th{font:var(--hds-typography-technical-title)}.hds-styled-html table.hds-table--compressed td{font:var(--hds-typography-technical)}@media not (min-width:720px){.hds-styled-html table.hds-table--mobile-compressed th{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-styled-html table.hds-table--mobile-compressed td{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-styled-html table.hds-table--mobile-compressed th{font:var(--hds-typography-technical-title)}.hds-styled-html table.hds-table--mobile-compressed td{font:var(--hds-typography-technical)}}.hds-styled-html table caption{font:var(--hds-typography-h3-title);text-align:left;caption-side:top;padding-bottom:var(--hds-spacing-12)}.hds-styled-html table{margin-top:var(--hds-spacing-32)}.hds-styled-html table p{margin-bottom:0}.hds-styled-html table h1{margin-bottom:0}.hds-styled-html table h2{margin-bottom:0}.hds-styled-html table h3{margin-bottom:0}.hds-styled-html table h4{margin-bottom:0}.hds-styled-html table h5{margin-bottom:0}.hds-styled-html table h6{margin-bottom:0}.hds-styled-html table a{color:unset;border-bottom:none}.hds-styled-html b{font-weight:var(--hds-font-weight-body-title)}.hds-styled-html strong{font-weight:var(--hds-font-weight-body-title)}.hds-styled-html.hds-styled-html--small{font-size:var(--hds-font-size-body-small);line-height:var(--hds-line-height-body-small)}.hds-styled-html.hds-styled-html--small p{font-size:var(--hds-font-size-body-small);line-height:var(--hds-line-height-body-small)}.hds-styled-html.hds-styled-html--small li{font-size:var(--hds-font-size-body-small);line-height:var(--hds-line-height-body-small)}.hds-styled-html.hds-styled-html--small a{font-size:var(--hds-font-size-body-small);line-height:var(--hds-line-height-body-small)}.hds-styled-html.hds-styled-html--small p{margin-top:var(--hds-spacing-12)}
|
package/dist/styled-html.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":null,"mappings":"AEKA,6fAcE,yBAAkB,ggBA4BpB,0CAIA,0CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,8CAIA,8CAKA,8CAIA,gDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,oDAIA,sDAKA,6CAIA,6CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,iDAIA,iDAKA,iDAIA,mDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,uDAIA,yDFnPA,iDAQE,2CAIA,6CAOA,wDAAA,wDAKA,wDAIA,wDAAA,wDA3BF,4qBAgBE,+JAAA,gKAcA,wFAIE,yQAAA,0QASF,+FAIE,yIAUF,kGAIA,0FAIA,qGAQA,sJAAA,uJASA,yFAIA,yFAOA,yFAME,mIA7DF,oDAGE,yBAAkB,qDAMpB,0DAAA,8DAKA,0DAIA,0DAAA,0DAMA,wDA7DF,2FAQE,6FAGE,uGAKF,kFAIA,kFAGE,yFAMF,uHAMA,wHAaA,wFAKE,4FAIA,2FAAA,2FATF,0GAKE,8GAIA,6GAAA,6GATF,yGAKE,6GAIA,4GAAA,4GAMF,8GAGE,4GAIA,2GAAA,2GAMF,iHAGE,gHAIA,+GAAA,+GAMF,sGAGE,6GAIA,4GAAA,4GASF,2GAIE,iHAIA,8FAlHJ,quBAgBE,wNAAA,yNAcA,iJAIE,kUAAA,mUASF,wJAIE,kMAUF,2JAIA,mJAIA,8JAQA,+MAAA,gNASA,kJAIA,kJAOA,kJAME,4LA7BW,yFApEb,gFAKA,iEAGE,gOAgBF,sPAmDS,4EA/EX,iGAKE,oEAIA,sFAKA,kFAME,+GAKA,2GAOA,uDAIW,4GApCf,6GASE,iHAAA,iHAKA,wEAAA,wEAKA,wEAAA,wEAWE,iGAAA,iGAMA,sEAIA,gEAVA,oHAAA,oHAMA,yFAIA,mFAMA,sHAAA,sHAMA,2FAIA,qFAKF,6BAEI,6HAAA,6HAMA,kGAIA,6FAOJ,yIAaa,wDAEX,yCAAA,0CAAA,0CAAA,0CAAA,0CAAA,0CAAA,0CAUA,wDAMF,iEAAA,sEAWE,gIAAA,kIAAA,mIAAA,kIAQA","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/styled-html.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/../_custom-media.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/../spacing/spacing.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/../spacing/../_custom-media.css"],"sourcesContent":["@import url(\"../_custom-media.css\");\n@import url(\"../spacing/spacing.css\");\n\n.hds-styled-html {\n font: var(--hds-typography-body);\n\n /**\n * Avoid top margin on first element and bottom margin on last element\n * The consumer should set their own spacing to of the styled html relative to the rest of the page\n * This component only cares about internal spacing\n */\n & > :first-child {\n margin-top: 0;\n }\n\n & > :last-child {\n margin-bottom: 0;\n }\n\n /* Headings\n * h1-h6 gets styled globally in `body.css` \n */\n & h1,\n & h2 {\n margin-top: var(--hds-spacing-48-64);\n }\n\n & h3 {\n margin-top: var(--hds-spacing-40-48);\n }\n\n & h4,\n & h5 {\n margin-top: var(--hds-spacing-32-40);\n }\n\n /* Link */\n a:where(:not(.hds-button)) {\n @extend url(\"./src/link/link.css:hds-link\");\n }\n\n /* Paragraphs */\n & p {\n margin-top: var(--hds-spacing-16);\n\n @media (--large) {\n margin-top: var(--hds-spacing-24);\n }\n }\n\n /* Combinations */\n & p + h2,\n & p + figure {\n margin-top: var(--hds-spacing-48-64);\n }\n\n & p + h3 {\n margin-top: var(--hds-spacing-40-48);\n }\n\n & p + h4,\n & p + h5 {\n margin-top: var(--hds-spacing-32-40);\n }\n\n /* Divider */\n & hr {\n margin-bottom: var(--hds-spacing-24);\n }\n\n /* List */\n & :is(ul, ol):where(:not(.hds-accordion)) {\n @extend url(\"./src/list/list.css:hds-list\");\n\n margin-top: var(--hds-spacing-16);\n }\n\n /* Image */\n & figure {\n @extend url(\"./src/figure/figure.css:hds-figure\");\n\n margin: 0;\n padding: 0;\n margin-top: var(--hds-spacing-32);\n }\n\n /* Blockquote */\n & blockquote {\n @extend url(\"./src/blockquote/blockquote.css:hds-blockquote\");\n }\n\n /* Table */\n & table {\n @extend url(\"./src/table/table.css:hds-table\");\n\n margin-top: var(--hds-spacing-32);\n\n & p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-bottom: 0;\n }\n\n & a {\n border-bottom: none;\n color: unset;\n }\n }\n\n b,\n strong {\n font-weight: var(--hds-font-weight-body-title);\n }\n\n /**\n * Modifiers\n */\n\n /* Small version */\n &.hds-styled-html--small {\n &,\n & p,\n & li,\n & a {\n font-size: var(--hds-font-size-body-small);\n line-height: var(--hds-line-height-body-small);\n }\n\n & p {\n margin-top: var(--hds-spacing-12);\n }\n }\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n","@import url(\"../_custom-media.css\");\n\n/**\n * Responsive extension of the spacing css variables\n */\n:root {\n --hds-spacing-4-8: var(--hds-spacing-4);\n --hds-spacing-8-12: var(--hds-spacing-8);\n --hds-spacing-12-16: var(--hds-spacing-12);\n --hds-spacing-16-20: var(--hds-spacing-16);\n --hds-spacing-20-24: var(--hds-spacing-20);\n --hds-spacing-24-32: var(--hds-spacing-24);\n --hds-spacing-32-40: var(--hds-spacing-32);\n --hds-spacing-40-48: var(--hds-spacing-40);\n --hds-spacing-48-64: var(--hds-spacing-48);\n --hds-spacing-64-80: var(--hds-spacing-64);\n --hds-spacing-80-120: var(--hds-spacing-80);\n --hds-spacing-120-160: var(--hds-spacing-120);\n\n @media (--large) {\n --hds-spacing-4-8: var(--hds-spacing-8);\n --hds-spacing-8-12: var(--hds-spacing-12);\n --hds-spacing-12-16: var(--hds-spacing-16);\n --hds-spacing-16-20: var(--hds-spacing-20);\n --hds-spacing-20-24: var(--hds-spacing-24);\n --hds-spacing-24-32: var(--hds-spacing-32);\n --hds-spacing-32-40: var(--hds-spacing-40);\n --hds-spacing-40-48: var(--hds-spacing-48);\n --hds-spacing-48-64: var(--hds-spacing-64);\n --hds-spacing-64-80: var(--hds-spacing-80);\n --hds-spacing-80-120: var(--hds-spacing-120);\n --hds-spacing-120-160: var(--hds-spacing-160);\n }\n}\n\n/**\n * Utility classes for margin top and bottom\n * Based upon [tailwind](https://tailwindcss.com/docs/margin)\n * \n * We start of by just adding the margin top and bottom classes.\n * we will see if there becomes a need for left and right. X, Y axis, padding etc...\n *\n * If the consumer wish to primarly use utility classes, the recommended approach is to use tailwind with the\n * provided tailwind configuration file.\n */\n\n/* Margin top */\n.hds-mt-4 {\n margin-top: var(--hds-spacing-4);\n}\n\n.hds-mt-8 {\n margin-top: var(--hds-spacing-8);\n}\n\n.hds-mt-12 {\n margin-top: var(--hds-spacing-12);\n}\n\n.hds-mt-16 {\n margin-top: var(--hds-spacing-16);\n}\n\n.hds-mt-20 {\n margin-top: var(--hds-spacing-20);\n}\n\n.hds-mt-24 {\n margin-top: var(--hds-spacing-24);\n}\n\n.hds-mt-32 {\n margin-top: var(--hds-spacing-32);\n}\n\n.hds-mt-40 {\n margin-top: var(--hds-spacing-40);\n}\n\n.hds-mt-48 {\n margin-top: var(--hds-spacing-48);\n}\n\n.hds-mt-64 {\n margin-top: var(--hds-spacing-64);\n}\n\n.hds-mt-80 {\n margin-top: var(--hds-spacing-80);\n}\n\n.hds-mt-120 {\n margin-top: var(--hds-spacing-120);\n}\n\n.hds-mt-160 {\n margin-top: var(--hds-spacing-160);\n}\n\n/* Responsive margin top. Mobile first, meaning it jumps up on larger screens */\n.hds-mt-4-8 {\n margin-top: var(--hds-spacing-4-8);\n}\n\n.hds-mt-8-12 {\n margin-top: var(--hds-spacing-8-12);\n}\n\n.hds-mt-12-16 {\n margin-top: var(--hds-spacing-12-16);\n}\n\n.hds-mt-16-20 {\n margin-top: var(--hds-spacing-16-20);\n}\n\n.hds-mt-20-24 {\n margin-top: var(--hds-spacing-20-24);\n}\n\n.hds-mt-24-32 {\n margin-top: var(--hds-spacing-24-32);\n}\n\n.hds-mt-32-40 {\n margin-top: var(--hds-spacing-32-40);\n}\n\n.hds-mt-40-48 {\n margin-top: var(--hds-spacing-40-48);\n}\n\n.hds-mt-48-64 {\n margin-top: var(--hds-spacing-48-64);\n}\n\n.hds-mt-64-80 {\n margin-top: var(--hds-spacing-64-80);\n}\n\n.hds-mt-80-120 {\n margin-top: var(--hds-spacing-80-120);\n}\n\n.hds-mt-120-160 {\n margin-top: var(--hds-spacing-120-160);\n}\n\n/* Margin bottom */\n.hds-mb-4 {\n margin-bottom: var(--hds-spacing-4);\n}\n\n.hds-mb-8 {\n margin-bottom: var(--hds-spacing-8);\n}\n\n.hds-mb-12 {\n margin-bottom: var(--hds-spacing-12);\n}\n\n.hds-mb-16 {\n margin-bottom: var(--hds-spacing-16);\n}\n\n.hds-mb-20 {\n margin-bottom: var(--hds-spacing-20);\n}\n\n.hds-mb-24 {\n margin-bottom: var(--hds-spacing-24);\n}\n\n.hds-mb-32 {\n margin-bottom: var(--hds-spacing-32);\n}\n\n.hds-mb-40 {\n margin-bottom: var(--hds-spacing-40);\n}\n\n.hds-mb-48 {\n margin-bottom: var(--hds-spacing-48);\n}\n\n.hds-mb-64 {\n margin-bottom: var(--hds-spacing-64);\n}\n\n.hds-mb-80 {\n margin-bottom: var(--hds-spacing-80);\n}\n\n.hds-mb-120 {\n margin-bottom: var(--hds-spacing-120);\n}\n\n.hds-mb-160 {\n margin-bottom: var(--hds-spacing-160);\n}\n\n/* Responsive margin bottom. Mobile first, meaning it jumps up on larger screens */\n.hds-mb-4-8 {\n margin-bottom: var(--hds-spacing-4-8);\n}\n\n.hds-mb-8-12 {\n margin-bottom: var(--hds-spacing-8-12);\n}\n\n.hds-mb-12-16 {\n margin-bottom: var(--hds-spacing-12-16);\n}\n\n.hds-mb-16-20 {\n margin-bottom: var(--hds-spacing-16-20);\n}\n\n.hds-mb-20-24 {\n margin-bottom: var(--hds-spacing-20-24);\n}\n\n.hds-mb-24-32 {\n margin-bottom: var(--hds-spacing-24-32);\n}\n\n.hds-mb-32-40 {\n margin-bottom: var(--hds-spacing-32-40);\n}\n\n.hds-mb-40-48 {\n margin-bottom: var(--hds-spacing-40-48);\n}\n\n.hds-mb-48-64 {\n margin-bottom: var(--hds-spacing-48-64);\n}\n\n.hds-mb-64-80 {\n margin-bottom: var(--hds-spacing-64-80);\n}\n\n.hds-mb-80-120 {\n margin-bottom: var(--hds-spacing-80-120);\n}\n\n.hds-mb-120-160 {\n margin-bottom: var(--hds-spacing-120-160);\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|
|
1
|
+
{"version":3,"sourceRoot":null,"mappings":"AEKA,oiBAeE,yBAAkB,uiBA6BpB,0CAIA,0CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,8CAIA,8CAKA,8CAIA,gDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,oDAIA,sDAKA,6CAIA,6CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,iDAIA,iDAKA,iDAIA,mDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,uDAIA,yDFrPA,iDAQE,2CAIA,6CAOA,wDAAA,wDAKA,wDAIA,wDAAA,wDA3BF,4qBAgBE,+JAAA,gKAcA,wFAIE,yQAAA,0QASF,+FAIE,yIAUF,kGAIA,0FAIA,qGAQA,sJAAA,uJASA,yFAIA,yFAOA,yFAME,mIA7DF,oDAGE,yBAAkB,qDAMpB,0DAAA,8DAKA,0DAIA,0DAAA,0DAMA,wDA7DF,2FAQE,6FAGE,uGAKF,kFAIA,kFAGE,yFAMF,uHAMA,wHAaA,wFAKE,4FAIA,2FAAA,2FATF,0GAKE,8GAIA,6GAAA,6GATF,yGAKE,6GAIA,4GAAA,4GAMF,8GAGE,4GAIA,2GAAA,2GAMF,iHAGE,gHAIA,+GAAA,+GAMF,sGAGE,6GAIA,4GAAA,4GASF,2GAIE,iHAIA,8FAlHJ,quBAgBE,wNAAA,yNAcA,iJAIE,kUAAA,mUASF,wJAIE,kMAUF,2JAIA,mJAIA,8JAQA,+MAAA,gNASA,kJAIA,kJAOA,kJAME,4LA7BW,yFApEb,gFAKA,iEAGE,gOAgBF,sPAmDS,4EA/EX,iGAKE,oEAIA,sFAKA,kFAME,+GAKA,2GAOA,uDAIW,4GApCf,6FAME,iHAAA,iHAKA,wEAAA,wEAKA,wEAAA,wEAWE,iGAAA,iGAMA,sEAIA,gEAVA,oHAAA,oHAMA,yFAIA,mFAMA,sHAAA,sHAMA,2FAIA,qFAKF,6BAEI,6HAAA,6HAMA,kGAIA,6FAOJ,yIAgBa,wDAEX,yCAAA,0CAAA,0CAAA,0CAAA,0CAAA,0CAAA,0CAUA,wDAMF,iEAAA,sEAWE,gIAAA,kIAAA,mIAAA,kIAQA","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/styled-html.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/../_custom-media.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/../spacing/spacing.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/../spacing/../_custom-media.css"],"sourcesContent":["@import url(\"../_custom-media.css\");\n@import url(\"../spacing/spacing.css\");\n\n.hds-styled-html {\n font: var(--hds-typography-body);\n\n /**\n * Avoid top margin on first element and bottom margin on last element\n * The consumer should set their own spacing to of the styled html relative to the rest of the page\n * This component only cares about internal spacing\n */\n & > :first-child {\n margin-top: 0;\n }\n\n & > :last-child {\n margin-bottom: 0;\n }\n\n /* Headings\n * h1-h6 gets styled globally in `body.css` \n */\n & h1,\n & h2 {\n margin-top: var(--hds-spacing-48-64);\n }\n\n & h3 {\n margin-top: var(--hds-spacing-40-48);\n }\n\n & h4,\n & h5 {\n margin-top: var(--hds-spacing-32-40);\n }\n\n /* Link */\n a:where(:not(.hds-button)) {\n @extend url(\"./src/link/link.css:hds-link\");\n }\n\n /* Paragraphs */\n & p {\n margin-top: var(--hds-spacing-16);\n\n @media (--large) {\n margin-top: var(--hds-spacing-24);\n }\n }\n\n /* Combinations */\n & p + h2,\n & p + figure {\n margin-top: var(--hds-spacing-48-64);\n }\n\n & p + h3 {\n margin-top: var(--hds-spacing-40-48);\n }\n\n & p + h4,\n & p + h5 {\n margin-top: var(--hds-spacing-32-40);\n }\n\n /* Divider */\n & hr {\n margin-bottom: var(--hds-spacing-24);\n }\n\n /* List */\n & :is(ul, ol):where(:not(.hds-accordion)) {\n @extend url(\"./src/list/list.css:hds-list\");\n\n margin-top: var(--hds-spacing-16);\n }\n\n /* Image */\n & figure {\n @extend url(\"./src/figure/figure.css:hds-figure\");\n\n margin: 0;\n padding: 0;\n margin-top: var(--hds-spacing-32);\n }\n\n /* Blockquote */\n & blockquote {\n @extend url(\"./src/blockquote/blockquote.css:hds-blockquote\");\n }\n\n /* Table */\n & table {\n @extend url(\"./src/table/table.css:hds-table\");\n\n margin-top: var(--hds-spacing-32);\n\n & p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-bottom: 0;\n }\n\n & a {\n border-bottom: none;\n color: unset;\n }\n }\n\n b,\n strong {\n font-weight: var(--hds-font-weight-body-title);\n }\n\n /**\n * Modifiers\n */\n\n /* Small version */\n &.hds-styled-html--small {\n &,\n & p,\n & li,\n & a {\n font-size: var(--hds-font-size-body-small);\n line-height: var(--hds-line-height-body-small);\n }\n\n & p {\n margin-top: var(--hds-spacing-12);\n }\n }\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n","@import url(\"../_custom-media.css\");\n\n/**\n * Responsive extension of the spacing css variables\n */\n:root {\n --hds-spacing-2-4: var(--hds-spacing-2);\n --hds-spacing-4-8: var(--hds-spacing-4);\n --hds-spacing-8-12: var(--hds-spacing-8);\n --hds-spacing-12-16: var(--hds-spacing-12);\n --hds-spacing-16-20: var(--hds-spacing-16);\n --hds-spacing-20-24: var(--hds-spacing-20);\n --hds-spacing-24-32: var(--hds-spacing-24);\n --hds-spacing-32-40: var(--hds-spacing-32);\n --hds-spacing-40-48: var(--hds-spacing-40);\n --hds-spacing-48-64: var(--hds-spacing-48);\n --hds-spacing-64-80: var(--hds-spacing-64);\n --hds-spacing-80-120: var(--hds-spacing-80);\n --hds-spacing-120-160: var(--hds-spacing-120);\n\n @media (--large) {\n --hds-spacing-2-4: var(--hds-spacing-4);\n --hds-spacing-4-8: var(--hds-spacing-8);\n --hds-spacing-8-12: var(--hds-spacing-12);\n --hds-spacing-12-16: var(--hds-spacing-16);\n --hds-spacing-16-20: var(--hds-spacing-20);\n --hds-spacing-20-24: var(--hds-spacing-24);\n --hds-spacing-24-32: var(--hds-spacing-32);\n --hds-spacing-32-40: var(--hds-spacing-40);\n --hds-spacing-40-48: var(--hds-spacing-48);\n --hds-spacing-48-64: var(--hds-spacing-64);\n --hds-spacing-64-80: var(--hds-spacing-80);\n --hds-spacing-80-120: var(--hds-spacing-120);\n --hds-spacing-120-160: var(--hds-spacing-160);\n }\n}\n\n/**\n * Utility classes for margin top and bottom\n * Based upon [tailwind](https://tailwindcss.com/docs/margin)\n * \n * We start of by just adding the margin top and bottom classes.\n * we will see if there becomes a need for left and right. X, Y axis, padding etc...\n *\n * If the consumer wish to primarly use utility classes, the recommended approach is to use tailwind with the\n * provided tailwind configuration file.\n */\n\n/* Margin top */\n.hds-mt-4 {\n margin-top: var(--hds-spacing-4);\n}\n\n.hds-mt-8 {\n margin-top: var(--hds-spacing-8);\n}\n\n.hds-mt-12 {\n margin-top: var(--hds-spacing-12);\n}\n\n.hds-mt-16 {\n margin-top: var(--hds-spacing-16);\n}\n\n.hds-mt-20 {\n margin-top: var(--hds-spacing-20);\n}\n\n.hds-mt-24 {\n margin-top: var(--hds-spacing-24);\n}\n\n.hds-mt-32 {\n margin-top: var(--hds-spacing-32);\n}\n\n.hds-mt-40 {\n margin-top: var(--hds-spacing-40);\n}\n\n.hds-mt-48 {\n margin-top: var(--hds-spacing-48);\n}\n\n.hds-mt-64 {\n margin-top: var(--hds-spacing-64);\n}\n\n.hds-mt-80 {\n margin-top: var(--hds-spacing-80);\n}\n\n.hds-mt-120 {\n margin-top: var(--hds-spacing-120);\n}\n\n.hds-mt-160 {\n margin-top: var(--hds-spacing-160);\n}\n\n/* Responsive margin top. Mobile first, meaning it jumps up on larger screens */\n.hds-mt-4-8 {\n margin-top: var(--hds-spacing-4-8);\n}\n\n.hds-mt-8-12 {\n margin-top: var(--hds-spacing-8-12);\n}\n\n.hds-mt-12-16 {\n margin-top: var(--hds-spacing-12-16);\n}\n\n.hds-mt-16-20 {\n margin-top: var(--hds-spacing-16-20);\n}\n\n.hds-mt-20-24 {\n margin-top: var(--hds-spacing-20-24);\n}\n\n.hds-mt-24-32 {\n margin-top: var(--hds-spacing-24-32);\n}\n\n.hds-mt-32-40 {\n margin-top: var(--hds-spacing-32-40);\n}\n\n.hds-mt-40-48 {\n margin-top: var(--hds-spacing-40-48);\n}\n\n.hds-mt-48-64 {\n margin-top: var(--hds-spacing-48-64);\n}\n\n.hds-mt-64-80 {\n margin-top: var(--hds-spacing-64-80);\n}\n\n.hds-mt-80-120 {\n margin-top: var(--hds-spacing-80-120);\n}\n\n.hds-mt-120-160 {\n margin-top: var(--hds-spacing-120-160);\n}\n\n/* Margin bottom */\n.hds-mb-4 {\n margin-bottom: var(--hds-spacing-4);\n}\n\n.hds-mb-8 {\n margin-bottom: var(--hds-spacing-8);\n}\n\n.hds-mb-12 {\n margin-bottom: var(--hds-spacing-12);\n}\n\n.hds-mb-16 {\n margin-bottom: var(--hds-spacing-16);\n}\n\n.hds-mb-20 {\n margin-bottom: var(--hds-spacing-20);\n}\n\n.hds-mb-24 {\n margin-bottom: var(--hds-spacing-24);\n}\n\n.hds-mb-32 {\n margin-bottom: var(--hds-spacing-32);\n}\n\n.hds-mb-40 {\n margin-bottom: var(--hds-spacing-40);\n}\n\n.hds-mb-48 {\n margin-bottom: var(--hds-spacing-48);\n}\n\n.hds-mb-64 {\n margin-bottom: var(--hds-spacing-64);\n}\n\n.hds-mb-80 {\n margin-bottom: var(--hds-spacing-80);\n}\n\n.hds-mb-120 {\n margin-bottom: var(--hds-spacing-120);\n}\n\n.hds-mb-160 {\n margin-bottom: var(--hds-spacing-160);\n}\n\n/* Responsive margin bottom. Mobile first, meaning it jumps up on larger screens */\n.hds-mb-4-8 {\n margin-bottom: var(--hds-spacing-4-8);\n}\n\n.hds-mb-8-12 {\n margin-bottom: var(--hds-spacing-8-12);\n}\n\n.hds-mb-12-16 {\n margin-bottom: var(--hds-spacing-12-16);\n}\n\n.hds-mb-16-20 {\n margin-bottom: var(--hds-spacing-16-20);\n}\n\n.hds-mb-20-24 {\n margin-bottom: var(--hds-spacing-20-24);\n}\n\n.hds-mb-24-32 {\n margin-bottom: var(--hds-spacing-24-32);\n}\n\n.hds-mb-32-40 {\n margin-bottom: var(--hds-spacing-32-40);\n}\n\n.hds-mb-40-48 {\n margin-bottom: var(--hds-spacing-40-48);\n}\n\n.hds-mb-48-64 {\n margin-bottom: var(--hds-spacing-48-64);\n}\n\n.hds-mb-64-80 {\n margin-bottom: var(--hds-spacing-64-80);\n}\n\n.hds-mb-80-120 {\n margin-bottom: var(--hds-spacing-80-120);\n}\n\n.hds-mb-120-160 {\n margin-bottom: var(--hds-spacing-120-160);\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|
package/dist/table.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.hds-table{border-collapse:collapse;text-align:left;width:100%;
|
|
1
|
+
.hds-table{border-collapse:collapse;text-align:left;width:100%;overflow-x:scroll}.hds-table th{border-bottom:var(--hds-stroke-default) solid var(--hds-colors-neutral-border-default)}.hds-table td{border-bottom:var(--hds-stroke-default) solid var(--hds-colors-neutral-border-default)}.hds-table th:first-child{padding-left:var(--hds-spacing-4)}.hds-table td:first-child{padding-left:var(--hds-spacing-4)}.hds-table th:last-child{padding-right:var(--hds-spacing-4)}.hds-table td:last-child{padding-right:var(--hds-spacing-4)}.hds-table th{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-table td{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-table th{font:var(--hds-typography-body-small-title)}.hds-table td{font:var(--hds-typography-body-small)}.hds-table.hds-table--default th{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-table.hds-table--default td{padding-top:var(--hds-spacing-24);padding-bottom:var(--hds-spacing-16)}.hds-table.hds-table--default th{font:var(--hds-typography-body-small-title)}.hds-table.hds-table--default td{font:var(--hds-typography-body-small)}.hds-table.hds-table--compressed th{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-table.hds-table--compressed td{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-table.hds-table--compressed th{font:var(--hds-typography-technical-title)}.hds-table.hds-table--compressed td{font:var(--hds-typography-technical)}@media not (min-width:720px){.hds-table.hds-table--mobile-compressed th{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-table.hds-table--mobile-compressed td{padding-top:var(--hds-spacing-12);padding-bottom:var(--hds-spacing-8)}.hds-table.hds-table--mobile-compressed th{font:var(--hds-typography-technical-title)}.hds-table.hds-table--mobile-compressed td{font:var(--hds-typography-technical)}}.hds-table caption{font:var(--hds-typography-h3-title);text-align:left;caption-side:top;padding-bottom:var(--hds-spacing-12)}.hds-table+.hds-table-description{font:var(--hds-typography-caption);padding:var(--hds-spacing-12) 0}
|
package/dist/table.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":null,"mappings":"AAEA,
|
|
1
|
+
{"version":3,"sourceRoot":null,"mappings":"AAEA,iFAME,qGAAA,qGAKA,4DAAA,4DAKA,4DAAA,4DAWE,qFAAA,qFAMA,0DAIA,oDAVA,wGAAA,wGAMA,6EAIA,uEAMA,0GAAA,0GAMA,+EAIA,yEAKF,6BAEI,iHAAA,iHAMA,sFAIA,iFAOJ,6HAQF","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/table/table.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/table/../_custom-media.css"],"sourcesContent":["@import url(\"../_custom-media.css\");\n\n.hds-table {\n width: 100%;\n border-collapse: collapse;\n text-align: left;\n overflow-x: scroll;\n\n th,\n td {\n border-bottom: var(--hds-stroke-default) solid var(--hds-colors-neutral-border-default);\n }\n\n th:first-child,\n td:first-child {\n padding-left: var(--hds-spacing-4);\n }\n\n th:last-child,\n td:last-child {\n padding-right: var(--hds-spacing-4);\n }\n\n /**\n * Size\n */\n\n &, /* Default */\n &.hds-table--default {\n th,\n td {\n padding-top: var(--hds-spacing-24);\n padding-bottom: var(--hds-spacing-16);\n }\n\n th {\n font: var(--hds-typography-body-small-title);\n }\n\n td {\n font: var(--hds-typography-body-small);\n }\n }\n\n &.hds-table--compressed {\n th,\n td {\n padding-top: var(--hds-spacing-12);\n padding-bottom: var(--hds-spacing-8);\n }\n\n th {\n font: var(--hds-typography-technical-title);\n }\n\n td {\n font: var(--hds-typography-technical);\n }\n }\n\n @media (--before-medium) {\n &.hds-table--mobile-compressed {\n th,\n td {\n padding-top: var(--hds-spacing-12);\n padding-bottom: var(--hds-spacing-8);\n }\n\n th {\n font: var(--hds-typography-technical-title);\n }\n\n td {\n font: var(--hds-typography-technical);\n }\n }\n }\n\n /* Caption heading */\n caption {\n font: var(--hds-typography-h3-title);\n text-align: left;\n caption-side: top;\n padding-bottom: var(--hds-spacing-12);\n }\n}\n\n.hds-table + .hds-table-description {\n font: var(--hds-typography-caption);\n padding: var(--hds-spacing-12) 0;\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|
package/dist/tag.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--hds-spacing-2-4:var(--hds-spacing-2);--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-2-4:var(--hds-spacing-4);--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}.hds-tag{align-items:center;gap:var(--hds-spacing-4);background-color:var(--hds-colors-surface-tinted);color:var(--hds-colors-text-default);font:var(--hds-typography-technical);border:1px solid var(--hds-colors-surface-tinted);border-radius:var(--hds-border-radius-8);padding:var(--hds-spacing-4-8) var(--hds-spacing-8-12);display:inline-flex}.hds-tag.hds-tag--small{padding:var(--hds-spacing-2-4) var(--hds-spacing-4-8)}.hds-tag[data-color=posten]{border-color:var(--hds-colors-surface-tinted)}.hds-tag[data-color=bring]{border-color:var(--hds-colors-surface-tinted)}.hds-tag[data-color=info]{background-color:var(--hds-colors-surface-default)}.hds-tag[data-color=success]{background-color:var(--hds-colors-surface-default)}.hds-tag[data-color=warning]{background-color:var(--hds-colors-surface-default)}.hds-tag[data-color=error]{background-color:var(--hds-colors-surface-default)}
|
package/dist/tag.css.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":null,"mappings":"ACKA,oiBAeE,yBAAkB,uiBA6BpB,0CAIA,0CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,8CAIA,8CAKA,8CAIA,gDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,oDAIA,sDAKA,6CAIA,6CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,iDAIA,iDAKA,iDAIA,mDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,uDAIA,yDDlPA,uVAaE,8EAIA,0EAAA,yEAQA,6EAAA,gFAAA,gFAAA","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/tag/tag.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/tag/../spacing/spacing.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/tag/../spacing/../_custom-media.css"],"sourcesContent":["@import url(\"../spacing/spacing.css\");\n\n/**\n * Block\n */\n\n.hds-tag {\n display: inline-flex;\n align-items: center;\n gap: var(--hds-spacing-4);\n background-color: var(--hds-colors-surface-tinted);\n color: var(--hds-colors-text-default);\n font: var(--hds-typography-technical);\n\n /* FIXME: Border color is set to the same as background while waiting for correct token */\n border: 1px solid var(--hds-colors-surface-tinted);\n border-radius: var(--hds-border-radius-8);\n padding: var(--hds-spacing-4-8) var(--hds-spacing-8-12);\n\n &.hds-tag--small {\n padding: var(--hds-spacing-2-4) var(--hds-spacing-4-8);\n }\n\n &[data-color=\"posten\"],\n &[data-color=\"bring\"] {\n /* FIXME: Border color is set to the same as background while waiting for correct token */\n\n /* Tags with data-color \"posten/bring\" should look like they have no border */\n border-color: var(--hds-colors-surface-tinted);\n }\n\n &[data-color=\"info\"],\n &[data-color=\"success\"],\n &[data-color=\"warning\"],\n &[data-color=\"error\"] {\n background-color: var(--hds-colors-surface-default);\n }\n}\n","@import url(\"../_custom-media.css\");\n\n/**\n * Responsive extension of the spacing css variables\n */\n:root {\n --hds-spacing-2-4: var(--hds-spacing-2);\n --hds-spacing-4-8: var(--hds-spacing-4);\n --hds-spacing-8-12: var(--hds-spacing-8);\n --hds-spacing-12-16: var(--hds-spacing-12);\n --hds-spacing-16-20: var(--hds-spacing-16);\n --hds-spacing-20-24: var(--hds-spacing-20);\n --hds-spacing-24-32: var(--hds-spacing-24);\n --hds-spacing-32-40: var(--hds-spacing-32);\n --hds-spacing-40-48: var(--hds-spacing-40);\n --hds-spacing-48-64: var(--hds-spacing-48);\n --hds-spacing-64-80: var(--hds-spacing-64);\n --hds-spacing-80-120: var(--hds-spacing-80);\n --hds-spacing-120-160: var(--hds-spacing-120);\n\n @media (--large) {\n --hds-spacing-2-4: var(--hds-spacing-4);\n --hds-spacing-4-8: var(--hds-spacing-8);\n --hds-spacing-8-12: var(--hds-spacing-12);\n --hds-spacing-12-16: var(--hds-spacing-16);\n --hds-spacing-16-20: var(--hds-spacing-20);\n --hds-spacing-20-24: var(--hds-spacing-24);\n --hds-spacing-24-32: var(--hds-spacing-32);\n --hds-spacing-32-40: var(--hds-spacing-40);\n --hds-spacing-40-48: var(--hds-spacing-48);\n --hds-spacing-48-64: var(--hds-spacing-64);\n --hds-spacing-64-80: var(--hds-spacing-80);\n --hds-spacing-80-120: var(--hds-spacing-120);\n --hds-spacing-120-160: var(--hds-spacing-160);\n }\n}\n\n/**\n * Utility classes for margin top and bottom\n * Based upon [tailwind](https://tailwindcss.com/docs/margin)\n * \n * We start of by just adding the margin top and bottom classes.\n * we will see if there becomes a need for left and right. X, Y axis, padding etc...\n *\n * If the consumer wish to primarly use utility classes, the recommended approach is to use tailwind with the\n * provided tailwind configuration file.\n */\n\n/* Margin top */\n.hds-mt-4 {\n margin-top: var(--hds-spacing-4);\n}\n\n.hds-mt-8 {\n margin-top: var(--hds-spacing-8);\n}\n\n.hds-mt-12 {\n margin-top: var(--hds-spacing-12);\n}\n\n.hds-mt-16 {\n margin-top: var(--hds-spacing-16);\n}\n\n.hds-mt-20 {\n margin-top: var(--hds-spacing-20);\n}\n\n.hds-mt-24 {\n margin-top: var(--hds-spacing-24);\n}\n\n.hds-mt-32 {\n margin-top: var(--hds-spacing-32);\n}\n\n.hds-mt-40 {\n margin-top: var(--hds-spacing-40);\n}\n\n.hds-mt-48 {\n margin-top: var(--hds-spacing-48);\n}\n\n.hds-mt-64 {\n margin-top: var(--hds-spacing-64);\n}\n\n.hds-mt-80 {\n margin-top: var(--hds-spacing-80);\n}\n\n.hds-mt-120 {\n margin-top: var(--hds-spacing-120);\n}\n\n.hds-mt-160 {\n margin-top: var(--hds-spacing-160);\n}\n\n/* Responsive margin top. Mobile first, meaning it jumps up on larger screens */\n.hds-mt-4-8 {\n margin-top: var(--hds-spacing-4-8);\n}\n\n.hds-mt-8-12 {\n margin-top: var(--hds-spacing-8-12);\n}\n\n.hds-mt-12-16 {\n margin-top: var(--hds-spacing-12-16);\n}\n\n.hds-mt-16-20 {\n margin-top: var(--hds-spacing-16-20);\n}\n\n.hds-mt-20-24 {\n margin-top: var(--hds-spacing-20-24);\n}\n\n.hds-mt-24-32 {\n margin-top: var(--hds-spacing-24-32);\n}\n\n.hds-mt-32-40 {\n margin-top: var(--hds-spacing-32-40);\n}\n\n.hds-mt-40-48 {\n margin-top: var(--hds-spacing-40-48);\n}\n\n.hds-mt-48-64 {\n margin-top: var(--hds-spacing-48-64);\n}\n\n.hds-mt-64-80 {\n margin-top: var(--hds-spacing-64-80);\n}\n\n.hds-mt-80-120 {\n margin-top: var(--hds-spacing-80-120);\n}\n\n.hds-mt-120-160 {\n margin-top: var(--hds-spacing-120-160);\n}\n\n/* Margin bottom */\n.hds-mb-4 {\n margin-bottom: var(--hds-spacing-4);\n}\n\n.hds-mb-8 {\n margin-bottom: var(--hds-spacing-8);\n}\n\n.hds-mb-12 {\n margin-bottom: var(--hds-spacing-12);\n}\n\n.hds-mb-16 {\n margin-bottom: var(--hds-spacing-16);\n}\n\n.hds-mb-20 {\n margin-bottom: var(--hds-spacing-20);\n}\n\n.hds-mb-24 {\n margin-bottom: var(--hds-spacing-24);\n}\n\n.hds-mb-32 {\n margin-bottom: var(--hds-spacing-32);\n}\n\n.hds-mb-40 {\n margin-bottom: var(--hds-spacing-40);\n}\n\n.hds-mb-48 {\n margin-bottom: var(--hds-spacing-48);\n}\n\n.hds-mb-64 {\n margin-bottom: var(--hds-spacing-64);\n}\n\n.hds-mb-80 {\n margin-bottom: var(--hds-spacing-80);\n}\n\n.hds-mb-120 {\n margin-bottom: var(--hds-spacing-120);\n}\n\n.hds-mb-160 {\n margin-bottom: var(--hds-spacing-160);\n}\n\n/* Responsive margin bottom. Mobile first, meaning it jumps up on larger screens */\n.hds-mb-4-8 {\n margin-bottom: var(--hds-spacing-4-8);\n}\n\n.hds-mb-8-12 {\n margin-bottom: var(--hds-spacing-8-12);\n}\n\n.hds-mb-12-16 {\n margin-bottom: var(--hds-spacing-12-16);\n}\n\n.hds-mb-16-20 {\n margin-bottom: var(--hds-spacing-16-20);\n}\n\n.hds-mb-20-24 {\n margin-bottom: var(--hds-spacing-20-24);\n}\n\n.hds-mb-24-32 {\n margin-bottom: var(--hds-spacing-24-32);\n}\n\n.hds-mb-32-40 {\n margin-bottom: var(--hds-spacing-32-40);\n}\n\n.hds-mb-40-48 {\n margin-bottom: var(--hds-spacing-40-48);\n}\n\n.hds-mb-48-64 {\n margin-bottom: var(--hds-spacing-48-64);\n}\n\n.hds-mb-64-80 {\n margin-bottom: var(--hds-spacing-64-80);\n}\n\n.hds-mb-80-120 {\n margin-bottom: var(--hds-spacing-80-120);\n}\n\n.hds-mb-120-160 {\n margin-bottom: var(--hds-spacing-120-160);\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|
package/dist/text.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}.hds-text-h1-display{font:var(--hds-typography-h1-display)}.hds-text-h1-display.hds-text--min{font-size:var(--hds-font-size-h1-display-min);line-height:var(--hds-line-height-h1-display-min)}.hds-text-h1-display.hds-text--max{font-size:var(--hds-font-size-h1-display-max);line-height:var(--hds-line-height-h1-display-max)}.hds-text-h1{font:var(--hds-typography-h1)}.hds-text-h1.hds-text--min{font-size:var(--hds-font-size-h1-min);line-height:var(--hds-line-height-h1-min)}.hds-text-h1.hds-text--max{font-size:var(--hds-font-size-h1-max);line-height:var(--hds-line-height-h1-max)}.hds-text-h2{font:var(--hds-typography-h2)}.hds-text-h2.hds-text--min{font-size:var(--hds-font-size-h2-min);line-height:var(--hds-line-height-h2-min)}.hds-text-h2.hds-text--max{font-size:var(--hds-font-size-h2-max);line-height:var(--hds-line-height-h2-max)}.hds-text-h3{font:var(--hds-typography-h3)}.hds-text-h3.hds-text--min{font-size:var(--hds-font-size-h3-min);line-height:var(--hds-line-height-h3-min)}.hds-text-h3.hds-text--max{font-size:var(--hds-font-size-h3-max);line-height:var(--hds-line-height-h3-max)}.hds-text-h3-title{font:var(--hds-typography-h3-title)}.hds-text-h3-title.hds-text--min{font-size:var(--hds-font-size-h3-title-min);line-height:var(--hds-line-height-h3-title-min)}.hds-text-h3-title.hds-text--max{font-size:var(--hds-font-size-h3-title-max);line-height:var(--hds-line-height-h3-title-max)}.hds-text-body{font:var(--hds-typography-body)}.hds-text-body.hds-text--min{font-size:var(--hds-font-size-body-min);line-height:var(--hds-line-height-body-min)}.hds-text-body.hds-text--max{font-size:var(--hds-font-size-body-max);line-height:var(--hds-line-height-body-max)}.hds-text-body-title{font:var(--hds-typography-body-title)}.hds-text-body-title.hds-text--min{font-size:var(--hds-font-size-body-title-min);line-height:var(--hds-line-height-body-title-min)}.hds-text-body-title.hds-text--max{font-size:var(--hds-font-size-body-title-max);line-height:var(--hds-line-height-body-title-max)}.hds-text-body-small{font:var(--hds-typography-body-small)}.hds-text-body-small.hds-text--min{font-size:var(--hds-font-size-body-small-min);line-height:var(--hds-line-height-body-small-min)}.hds-text-body-small.hds-text--max{font-size:var(--hds-font-size-body-small-max);line-height:var(--hds-line-height-body-small-max)}.hds-text-body-small-title{font:var(--hds-typography-body-small-title)}.hds-text-body-small-title.hds-text--min{font-size:var(--hds-font-size-body-small-title-min);line-height:var(--hds-line-height-body-small-title-min)}.hds-text-body-small-title.hds-text--max{font-size:var(--hds-font-size-body-small-title-max);line-height:var(--hds-line-height-body-small-title-max)}.hds-text-technical{font:var(--hds-typography-technical)}.hds-text-technical.hds-text--min{font-size:var(--hds-font-size-technical-min);line-height:var(--hds-line-height-technical-min)}.hds-text-technical.hds-text--max{font-size:var(--hds-font-size-technical-max);line-height:var(--hds-line-height-technical-max)}.hds-text-technical-title{font:var(--hds-typography-technical-title)}.hds-text-technical-title.hds-text--min{font-size:var(--hds-font-size-technical-title-min);line-height:var(--hds-line-height-technical-title-min)}.hds-text-technical-title.hds-text--max{font-size:var(--hds-font-size-technical-title-max);line-height:var(--hds-line-height-technical-title-max)}.hds-text-caption{font:var(--hds-typography-caption)}.hds-text-caption-title{font:var(--hds-typography-caption-title)}:is(.hds-text-h1,.hds-text-h2).hds-text--spacing:not(:first-child){margin-top:var(--hds-spacing-48-64)}.hds-text-h1+.hds-text-h2.hds-text--spacing{margin-top:var(--hds-spacing-32)}:is(.hds-text-h3,.hds-text-h3-title).hds-text--spacing{margin-top:var(--hds-spacing-40-48)}:is(.hds-text-body,.hds-text-body-title).hds-text--spacing:not(:first-child){margin-top:var(--hds-spacing-16)}@media (min-width:940px){:is(.hds-text-body,.hds-text-body-title).hds-text--spacing:not(:first-child){margin-top:var(--hds-spacing-24)}}:is(.hds-text-body,.hds-text-body-title).hds-text--spacing:not(:last-child){margin-bottom:var(--hds-spacing-16)}@media (min-width:940px){:is(.hds-text-body,.hds-text-body-title).hds-text--spacing:not(:last-child){margin-bottom:var(--hds-spacing-24)}}
|
|
1
|
+
:root{--hds-spacing-2-4:var(--hds-spacing-2);--hds-spacing-4-8:var(--hds-spacing-4);--hds-spacing-8-12:var(--hds-spacing-8);--hds-spacing-12-16:var(--hds-spacing-12);--hds-spacing-16-20:var(--hds-spacing-16);--hds-spacing-20-24:var(--hds-spacing-20);--hds-spacing-24-32:var(--hds-spacing-24);--hds-spacing-32-40:var(--hds-spacing-32);--hds-spacing-40-48:var(--hds-spacing-40);--hds-spacing-48-64:var(--hds-spacing-48);--hds-spacing-64-80:var(--hds-spacing-64);--hds-spacing-80-120:var(--hds-spacing-80);--hds-spacing-120-160:var(--hds-spacing-120)}@media (min-width:940px){:root{--hds-spacing-2-4:var(--hds-spacing-4);--hds-spacing-4-8:var(--hds-spacing-8);--hds-spacing-8-12:var(--hds-spacing-12);--hds-spacing-12-16:var(--hds-spacing-16);--hds-spacing-16-20:var(--hds-spacing-20);--hds-spacing-20-24:var(--hds-spacing-24);--hds-spacing-24-32:var(--hds-spacing-32);--hds-spacing-32-40:var(--hds-spacing-40);--hds-spacing-40-48:var(--hds-spacing-48);--hds-spacing-48-64:var(--hds-spacing-64);--hds-spacing-64-80:var(--hds-spacing-80);--hds-spacing-80-120:var(--hds-spacing-120);--hds-spacing-120-160:var(--hds-spacing-160)}}.hds-mt-4{margin-top:var(--hds-spacing-4)}.hds-mt-8{margin-top:var(--hds-spacing-8)}.hds-mt-12{margin-top:var(--hds-spacing-12)}.hds-mt-16{margin-top:var(--hds-spacing-16)}.hds-mt-20{margin-top:var(--hds-spacing-20)}.hds-mt-24{margin-top:var(--hds-spacing-24)}.hds-mt-32{margin-top:var(--hds-spacing-32)}.hds-mt-40{margin-top:var(--hds-spacing-40)}.hds-mt-48{margin-top:var(--hds-spacing-48)}.hds-mt-64{margin-top:var(--hds-spacing-64)}.hds-mt-80{margin-top:var(--hds-spacing-80)}.hds-mt-120{margin-top:var(--hds-spacing-120)}.hds-mt-160{margin-top:var(--hds-spacing-160)}.hds-mt-4-8{margin-top:var(--hds-spacing-4-8)}.hds-mt-8-12{margin-top:var(--hds-spacing-8-12)}.hds-mt-12-16{margin-top:var(--hds-spacing-12-16)}.hds-mt-16-20{margin-top:var(--hds-spacing-16-20)}.hds-mt-20-24{margin-top:var(--hds-spacing-20-24)}.hds-mt-24-32{margin-top:var(--hds-spacing-24-32)}.hds-mt-32-40{margin-top:var(--hds-spacing-32-40)}.hds-mt-40-48{margin-top:var(--hds-spacing-40-48)}.hds-mt-48-64{margin-top:var(--hds-spacing-48-64)}.hds-mt-64-80{margin-top:var(--hds-spacing-64-80)}.hds-mt-80-120{margin-top:var(--hds-spacing-80-120)}.hds-mt-120-160{margin-top:var(--hds-spacing-120-160)}.hds-mb-4{margin-bottom:var(--hds-spacing-4)}.hds-mb-8{margin-bottom:var(--hds-spacing-8)}.hds-mb-12{margin-bottom:var(--hds-spacing-12)}.hds-mb-16{margin-bottom:var(--hds-spacing-16)}.hds-mb-20{margin-bottom:var(--hds-spacing-20)}.hds-mb-24{margin-bottom:var(--hds-spacing-24)}.hds-mb-32{margin-bottom:var(--hds-spacing-32)}.hds-mb-40{margin-bottom:var(--hds-spacing-40)}.hds-mb-48{margin-bottom:var(--hds-spacing-48)}.hds-mb-64{margin-bottom:var(--hds-spacing-64)}.hds-mb-80{margin-bottom:var(--hds-spacing-80)}.hds-mb-120{margin-bottom:var(--hds-spacing-120)}.hds-mb-160{margin-bottom:var(--hds-spacing-160)}.hds-mb-4-8{margin-bottom:var(--hds-spacing-4-8)}.hds-mb-8-12{margin-bottom:var(--hds-spacing-8-12)}.hds-mb-12-16{margin-bottom:var(--hds-spacing-12-16)}.hds-mb-16-20{margin-bottom:var(--hds-spacing-16-20)}.hds-mb-20-24{margin-bottom:var(--hds-spacing-20-24)}.hds-mb-24-32{margin-bottom:var(--hds-spacing-24-32)}.hds-mb-32-40{margin-bottom:var(--hds-spacing-32-40)}.hds-mb-40-48{margin-bottom:var(--hds-spacing-40-48)}.hds-mb-48-64{margin-bottom:var(--hds-spacing-48-64)}.hds-mb-64-80{margin-bottom:var(--hds-spacing-64-80)}.hds-mb-80-120{margin-bottom:var(--hds-spacing-80-120)}.hds-mb-120-160{margin-bottom:var(--hds-spacing-120-160)}.hds-text-h1-display{font:var(--hds-typography-h1-display)}.hds-text-h1-display.hds-text--min{font-size:var(--hds-font-size-h1-display-min);line-height:var(--hds-line-height-h1-display-min)}.hds-text-h1-display.hds-text--max{font-size:var(--hds-font-size-h1-display-max);line-height:var(--hds-line-height-h1-display-max)}.hds-text-h1{font:var(--hds-typography-h1)}.hds-text-h1.hds-text--min{font-size:var(--hds-font-size-h1-min);line-height:var(--hds-line-height-h1-min)}.hds-text-h1.hds-text--max{font-size:var(--hds-font-size-h1-max);line-height:var(--hds-line-height-h1-max)}.hds-text-h2{font:var(--hds-typography-h2)}.hds-text-h2.hds-text--min{font-size:var(--hds-font-size-h2-min);line-height:var(--hds-line-height-h2-min)}.hds-text-h2.hds-text--max{font-size:var(--hds-font-size-h2-max);line-height:var(--hds-line-height-h2-max)}.hds-text-h3{font:var(--hds-typography-h3)}.hds-text-h3.hds-text--min{font-size:var(--hds-font-size-h3-min);line-height:var(--hds-line-height-h3-min)}.hds-text-h3.hds-text--max{font-size:var(--hds-font-size-h3-max);line-height:var(--hds-line-height-h3-max)}.hds-text-h3-title{font:var(--hds-typography-h3-title)}.hds-text-h3-title.hds-text--min{font-size:var(--hds-font-size-h3-title-min);line-height:var(--hds-line-height-h3-title-min)}.hds-text-h3-title.hds-text--max{font-size:var(--hds-font-size-h3-title-max);line-height:var(--hds-line-height-h3-title-max)}.hds-text-body{font:var(--hds-typography-body)}.hds-text-body.hds-text--min{font-size:var(--hds-font-size-body-min);line-height:var(--hds-line-height-body-min)}.hds-text-body.hds-text--max{font-size:var(--hds-font-size-body-max);line-height:var(--hds-line-height-body-max)}.hds-text-body-title{font:var(--hds-typography-body-title)}.hds-text-body-title.hds-text--min{font-size:var(--hds-font-size-body-title-min);line-height:var(--hds-line-height-body-title-min)}.hds-text-body-title.hds-text--max{font-size:var(--hds-font-size-body-title-max);line-height:var(--hds-line-height-body-title-max)}.hds-text-body-small{font:var(--hds-typography-body-small)}.hds-text-body-small.hds-text--min{font-size:var(--hds-font-size-body-small-min);line-height:var(--hds-line-height-body-small-min)}.hds-text-body-small.hds-text--max{font-size:var(--hds-font-size-body-small-max);line-height:var(--hds-line-height-body-small-max)}.hds-text-body-small-title{font:var(--hds-typography-body-small-title)}.hds-text-body-small-title.hds-text--min{font-size:var(--hds-font-size-body-small-title-min);line-height:var(--hds-line-height-body-small-title-min)}.hds-text-body-small-title.hds-text--max{font-size:var(--hds-font-size-body-small-title-max);line-height:var(--hds-line-height-body-small-title-max)}.hds-text-technical{font:var(--hds-typography-technical)}.hds-text-technical.hds-text--min{font-size:var(--hds-font-size-technical-min);line-height:var(--hds-line-height-technical-min)}.hds-text-technical.hds-text--max{font-size:var(--hds-font-size-technical-max);line-height:var(--hds-line-height-technical-max)}.hds-text-technical-title{font:var(--hds-typography-technical-title)}.hds-text-technical-title.hds-text--min{font-size:var(--hds-font-size-technical-title-min);line-height:var(--hds-line-height-technical-title-min)}.hds-text-technical-title.hds-text--max{font-size:var(--hds-font-size-technical-title-max);line-height:var(--hds-line-height-technical-title-max)}.hds-text-caption{font:var(--hds-typography-caption)}.hds-text-caption-title{font:var(--hds-typography-caption-title)}:is(.hds-text-h1,.hds-text-h2).hds-text--spacing:not(:first-child){margin-top:var(--hds-spacing-48-64)}.hds-text-h1+.hds-text-h2.hds-text--spacing{margin-top:var(--hds-spacing-32)}:is(.hds-text-h3,.hds-text-h3-title).hds-text--spacing{margin-top:var(--hds-spacing-40-48)}:is(.hds-text-body,.hds-text-body-title).hds-text--spacing:not(:first-child){margin-top:var(--hds-spacing-16)}@media (min-width:940px){:is(.hds-text-body,.hds-text-body-title).hds-text--spacing:not(:first-child){margin-top:var(--hds-spacing-24)}}:is(.hds-text-body,.hds-text-body-title).hds-text--spacing:not(:last-child){margin-bottom:var(--hds-spacing-16)}@media (min-width:940px){:is(.hds-text-body,.hds-text-body-title).hds-text--spacing:not(:last-child){margin-bottom:var(--hds-spacing-24)}}
|
package/dist/text.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":null,"mappings":"AEKA,6fAcE,yBAAkB,ggBA4BpB,0CAIA,0CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,8CAIA,8CAKA,8CAIA,gDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,oDAIA,sDAKA,6CAIA,6CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,iDAIA,iDAKA,iDAIA,mDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,uDAIA,yDF1OA,2DAGE,mIAKA,mIAMF,2CAGE,2GAKA,2GAMF,2CAGE,2GAKA,2GAMF,2CAGE,2GAKA,2GAMF,uDAGE,6HAKA,6HAMF,+CAGE,iHAKA,iHAMF,2DAGE,mIAKA,mIAMF,2DAGE,mIAKA,mIAMF,uEAGE,qJAKA,qJAMF,yDAGE,gIAKA,gIAMF,qEAGE,kJAKA,kJAMF,qDAIA,iEAYI,uGAOF,6EAOA,2FAQE,8GAGE,yBAAkB,+GAKpB,gHAGE,yBAAkB","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/text/text.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/text/../_custom-media.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/text/../spacing/spacing.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/text/../spacing/../_custom-media.css"],"sourcesContent":["@import url(\"../_custom-media.css\");\n@import url(\"../spacing/spacing.css\");\n\n/**\n * Text utility classes\n *\n * Sets the following values:\n * - Font family (always \"Posten Sans\")\n * - Font weight\n * - Font size\n * - Line height\n */\n.hds-text-h1-display {\n font: var(--hds-typography-h1-display);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h1-display-min);\n line-height: var(--hds-line-height-h1-display-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h1-display-max);\n line-height: var(--hds-line-height-h1-display-max);\n }\n}\n\n.hds-text-h1 {\n font: var(--hds-typography-h1);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h1-min);\n line-height: var(--hds-line-height-h1-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h1-max);\n line-height: var(--hds-line-height-h1-max);\n }\n}\n\n.hds-text-h2 {\n font: var(--hds-typography-h2);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h2-min);\n line-height: var(--hds-line-height-h2-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h2-max);\n line-height: var(--hds-line-height-h2-max);\n }\n}\n\n.hds-text-h3 {\n font: var(--hds-typography-h3);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h3-min);\n line-height: var(--hds-line-height-h3-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h3-max);\n line-height: var(--hds-line-height-h3-max);\n }\n}\n\n.hds-text-h3-title {\n font: var(--hds-typography-h3-title);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h3-title-min);\n line-height: var(--hds-line-height-h3-title-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h3-title-max);\n line-height: var(--hds-line-height-h3-title-max);\n }\n}\n\n.hds-text-body {\n font: var(--hds-typography-body);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-body-min);\n line-height: var(--hds-line-height-body-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-body-max);\n line-height: var(--hds-line-height-body-max);\n }\n}\n\n.hds-text-body-title {\n font: var(--hds-typography-body-title);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-body-title-min);\n line-height: var(--hds-line-height-body-title-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-body-title-max);\n line-height: var(--hds-line-height-body-title-max);\n }\n}\n\n.hds-text-body-small {\n font: var(--hds-typography-body-small);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-body-small-min);\n line-height: var(--hds-line-height-body-small-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-body-small-max);\n line-height: var(--hds-line-height-body-small-max);\n }\n}\n\n.hds-text-body-small-title {\n font: var(--hds-typography-body-small-title);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-body-small-title-min);\n line-height: var(--hds-line-height-body-small-title-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-body-small-title-max);\n line-height: var(--hds-line-height-body-small-title-max);\n }\n}\n\n.hds-text-technical {\n font: var(--hds-typography-technical);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-technical-min);\n line-height: var(--hds-line-height-technical-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-technical-max);\n line-height: var(--hds-line-height-technical-max);\n }\n}\n\n.hds-text-technical-title {\n font: var(--hds-typography-technical-title);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-technical-title-min);\n line-height: var(--hds-line-height-technical-title-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-technical-title-max);\n line-height: var(--hds-line-height-technical-title-max);\n }\n}\n\n.hds-text-caption {\n font: var(--hds-typography-caption);\n}\n\n.hds-text-caption-title {\n font: var(--hds-typography-caption-title);\n}\n\n/**\n * 🚧 Spacing\n * 🚨 WORK IN PROGRESS - MIGHT BREAK 🚨\n * Meant for article content, ui content might need different spacing.\n */\n.hds-text-h1,\n.hds-text-h2 {\n &.hds-text--spacing {\n &:not(:first-child) {\n margin-top: var(--hds-spacing-48-64);\n }\n }\n}\n\n.hds-text-h1 + .hds-text-h2 {\n &.hds-text--spacing {\n margin-top: var(--hds-spacing-32);\n }\n}\n\n.hds-text-h3,\n.hds-text-h3-title {\n &.hds-text--spacing {\n margin-top: var(--hds-spacing-40-48);\n }\n}\n\n.hds-text-body,\n.hds-text-body-title {\n &.hds-text--spacing {\n &:not(:first-child) {\n margin-top: var(--hds-spacing-16);\n\n @media (--large) {\n margin-top: var(--hds-spacing-24);\n }\n }\n\n &:not(:last-child) {\n margin-bottom: var(--hds-spacing-16);\n\n @media (--large) {\n margin-bottom: var(--hds-spacing-24);\n }\n }\n }\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n","@import url(\"../_custom-media.css\");\n\n/**\n * Responsive extension of the spacing css variables\n */\n:root {\n --hds-spacing-4-8: var(--hds-spacing-4);\n --hds-spacing-8-12: var(--hds-spacing-8);\n --hds-spacing-12-16: var(--hds-spacing-12);\n --hds-spacing-16-20: var(--hds-spacing-16);\n --hds-spacing-20-24: var(--hds-spacing-20);\n --hds-spacing-24-32: var(--hds-spacing-24);\n --hds-spacing-32-40: var(--hds-spacing-32);\n --hds-spacing-40-48: var(--hds-spacing-40);\n --hds-spacing-48-64: var(--hds-spacing-48);\n --hds-spacing-64-80: var(--hds-spacing-64);\n --hds-spacing-80-120: var(--hds-spacing-80);\n --hds-spacing-120-160: var(--hds-spacing-120);\n\n @media (--large) {\n --hds-spacing-4-8: var(--hds-spacing-8);\n --hds-spacing-8-12: var(--hds-spacing-12);\n --hds-spacing-12-16: var(--hds-spacing-16);\n --hds-spacing-16-20: var(--hds-spacing-20);\n --hds-spacing-20-24: var(--hds-spacing-24);\n --hds-spacing-24-32: var(--hds-spacing-32);\n --hds-spacing-32-40: var(--hds-spacing-40);\n --hds-spacing-40-48: var(--hds-spacing-48);\n --hds-spacing-48-64: var(--hds-spacing-64);\n --hds-spacing-64-80: var(--hds-spacing-80);\n --hds-spacing-80-120: var(--hds-spacing-120);\n --hds-spacing-120-160: var(--hds-spacing-160);\n }\n}\n\n/**\n * Utility classes for margin top and bottom\n * Based upon [tailwind](https://tailwindcss.com/docs/margin)\n * \n * We start of by just adding the margin top and bottom classes.\n * we will see if there becomes a need for left and right. X, Y axis, padding etc...\n *\n * If the consumer wish to primarly use utility classes, the recommended approach is to use tailwind with the\n * provided tailwind configuration file.\n */\n\n/* Margin top */\n.hds-mt-4 {\n margin-top: var(--hds-spacing-4);\n}\n\n.hds-mt-8 {\n margin-top: var(--hds-spacing-8);\n}\n\n.hds-mt-12 {\n margin-top: var(--hds-spacing-12);\n}\n\n.hds-mt-16 {\n margin-top: var(--hds-spacing-16);\n}\n\n.hds-mt-20 {\n margin-top: var(--hds-spacing-20);\n}\n\n.hds-mt-24 {\n margin-top: var(--hds-spacing-24);\n}\n\n.hds-mt-32 {\n margin-top: var(--hds-spacing-32);\n}\n\n.hds-mt-40 {\n margin-top: var(--hds-spacing-40);\n}\n\n.hds-mt-48 {\n margin-top: var(--hds-spacing-48);\n}\n\n.hds-mt-64 {\n margin-top: var(--hds-spacing-64);\n}\n\n.hds-mt-80 {\n margin-top: var(--hds-spacing-80);\n}\n\n.hds-mt-120 {\n margin-top: var(--hds-spacing-120);\n}\n\n.hds-mt-160 {\n margin-top: var(--hds-spacing-160);\n}\n\n/* Responsive margin top. Mobile first, meaning it jumps up on larger screens */\n.hds-mt-4-8 {\n margin-top: var(--hds-spacing-4-8);\n}\n\n.hds-mt-8-12 {\n margin-top: var(--hds-spacing-8-12);\n}\n\n.hds-mt-12-16 {\n margin-top: var(--hds-spacing-12-16);\n}\n\n.hds-mt-16-20 {\n margin-top: var(--hds-spacing-16-20);\n}\n\n.hds-mt-20-24 {\n margin-top: var(--hds-spacing-20-24);\n}\n\n.hds-mt-24-32 {\n margin-top: var(--hds-spacing-24-32);\n}\n\n.hds-mt-32-40 {\n margin-top: var(--hds-spacing-32-40);\n}\n\n.hds-mt-40-48 {\n margin-top: var(--hds-spacing-40-48);\n}\n\n.hds-mt-48-64 {\n margin-top: var(--hds-spacing-48-64);\n}\n\n.hds-mt-64-80 {\n margin-top: var(--hds-spacing-64-80);\n}\n\n.hds-mt-80-120 {\n margin-top: var(--hds-spacing-80-120);\n}\n\n.hds-mt-120-160 {\n margin-top: var(--hds-spacing-120-160);\n}\n\n/* Margin bottom */\n.hds-mb-4 {\n margin-bottom: var(--hds-spacing-4);\n}\n\n.hds-mb-8 {\n margin-bottom: var(--hds-spacing-8);\n}\n\n.hds-mb-12 {\n margin-bottom: var(--hds-spacing-12);\n}\n\n.hds-mb-16 {\n margin-bottom: var(--hds-spacing-16);\n}\n\n.hds-mb-20 {\n margin-bottom: var(--hds-spacing-20);\n}\n\n.hds-mb-24 {\n margin-bottom: var(--hds-spacing-24);\n}\n\n.hds-mb-32 {\n margin-bottom: var(--hds-spacing-32);\n}\n\n.hds-mb-40 {\n margin-bottom: var(--hds-spacing-40);\n}\n\n.hds-mb-48 {\n margin-bottom: var(--hds-spacing-48);\n}\n\n.hds-mb-64 {\n margin-bottom: var(--hds-spacing-64);\n}\n\n.hds-mb-80 {\n margin-bottom: var(--hds-spacing-80);\n}\n\n.hds-mb-120 {\n margin-bottom: var(--hds-spacing-120);\n}\n\n.hds-mb-160 {\n margin-bottom: var(--hds-spacing-160);\n}\n\n/* Responsive margin bottom. Mobile first, meaning it jumps up on larger screens */\n.hds-mb-4-8 {\n margin-bottom: var(--hds-spacing-4-8);\n}\n\n.hds-mb-8-12 {\n margin-bottom: var(--hds-spacing-8-12);\n}\n\n.hds-mb-12-16 {\n margin-bottom: var(--hds-spacing-12-16);\n}\n\n.hds-mb-16-20 {\n margin-bottom: var(--hds-spacing-16-20);\n}\n\n.hds-mb-20-24 {\n margin-bottom: var(--hds-spacing-20-24);\n}\n\n.hds-mb-24-32 {\n margin-bottom: var(--hds-spacing-24-32);\n}\n\n.hds-mb-32-40 {\n margin-bottom: var(--hds-spacing-32-40);\n}\n\n.hds-mb-40-48 {\n margin-bottom: var(--hds-spacing-40-48);\n}\n\n.hds-mb-48-64 {\n margin-bottom: var(--hds-spacing-48-64);\n}\n\n.hds-mb-64-80 {\n margin-bottom: var(--hds-spacing-64-80);\n}\n\n.hds-mb-80-120 {\n margin-bottom: var(--hds-spacing-80-120);\n}\n\n.hds-mb-120-160 {\n margin-bottom: var(--hds-spacing-120-160);\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|
|
1
|
+
{"version":3,"sourceRoot":null,"mappings":"AEKA,oiBAeE,yBAAkB,uiBA6BpB,0CAIA,0CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,4CAIA,8CAIA,8CAKA,8CAIA,gDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,kDAIA,oDAIA,sDAKA,6CAIA,6CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,+CAIA,iDAIA,iDAKA,iDAIA,mDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,qDAIA,uDAIA,yDF5OA,2DAGE,mIAKA,mIAMF,2CAGE,2GAKA,2GAMF,2CAGE,2GAKA,2GAMF,2CAGE,2GAKA,2GAMF,uDAGE,6HAKA,6HAMF,+CAGE,iHAKA,iHAMF,2DAGE,mIAKA,mIAMF,2DAGE,mIAKA,mIAMF,uEAGE,qJAKA,qJAMF,yDAGE,gIAKA,gIAMF,qEAGE,kJAKA,kJAMF,qDAIA,iEAYI,uGAOF,6EAOA,2FAQE,8GAGE,yBAAkB,+GAKpB,gHAGE,yBAAkB","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/text/text.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/text/../_custom-media.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/text/../spacing/spacing.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/text/../spacing/../_custom-media.css"],"sourcesContent":["@import url(\"../_custom-media.css\");\n@import url(\"../spacing/spacing.css\");\n\n/**\n * Text utility classes\n *\n * Sets the following values:\n * - Font family (always \"Posten Sans\")\n * - Font weight\n * - Font size\n * - Line height\n */\n.hds-text-h1-display {\n font: var(--hds-typography-h1-display);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h1-display-min);\n line-height: var(--hds-line-height-h1-display-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h1-display-max);\n line-height: var(--hds-line-height-h1-display-max);\n }\n}\n\n.hds-text-h1 {\n font: var(--hds-typography-h1);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h1-min);\n line-height: var(--hds-line-height-h1-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h1-max);\n line-height: var(--hds-line-height-h1-max);\n }\n}\n\n.hds-text-h2 {\n font: var(--hds-typography-h2);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h2-min);\n line-height: var(--hds-line-height-h2-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h2-max);\n line-height: var(--hds-line-height-h2-max);\n }\n}\n\n.hds-text-h3 {\n font: var(--hds-typography-h3);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h3-min);\n line-height: var(--hds-line-height-h3-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h3-max);\n line-height: var(--hds-line-height-h3-max);\n }\n}\n\n.hds-text-h3-title {\n font: var(--hds-typography-h3-title);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-h3-title-min);\n line-height: var(--hds-line-height-h3-title-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-h3-title-max);\n line-height: var(--hds-line-height-h3-title-max);\n }\n}\n\n.hds-text-body {\n font: var(--hds-typography-body);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-body-min);\n line-height: var(--hds-line-height-body-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-body-max);\n line-height: var(--hds-line-height-body-max);\n }\n}\n\n.hds-text-body-title {\n font: var(--hds-typography-body-title);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-body-title-min);\n line-height: var(--hds-line-height-body-title-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-body-title-max);\n line-height: var(--hds-line-height-body-title-max);\n }\n}\n\n.hds-text-body-small {\n font: var(--hds-typography-body-small);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-body-small-min);\n line-height: var(--hds-line-height-body-small-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-body-small-max);\n line-height: var(--hds-line-height-body-small-max);\n }\n}\n\n.hds-text-body-small-title {\n font: var(--hds-typography-body-small-title);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-body-small-title-min);\n line-height: var(--hds-line-height-body-small-title-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-body-small-title-max);\n line-height: var(--hds-line-height-body-small-title-max);\n }\n}\n\n.hds-text-technical {\n font: var(--hds-typography-technical);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-technical-min);\n line-height: var(--hds-line-height-technical-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-technical-max);\n line-height: var(--hds-line-height-technical-max);\n }\n}\n\n.hds-text-technical-title {\n font: var(--hds-typography-technical-title);\n\n &.hds-text--min {\n font-size: var(--hds-font-size-technical-title-min);\n line-height: var(--hds-line-height-technical-title-min);\n }\n\n &.hds-text--max {\n font-size: var(--hds-font-size-technical-title-max);\n line-height: var(--hds-line-height-technical-title-max);\n }\n}\n\n.hds-text-caption {\n font: var(--hds-typography-caption);\n}\n\n.hds-text-caption-title {\n font: var(--hds-typography-caption-title);\n}\n\n/**\n * 🚧 Spacing\n * 🚨 WORK IN PROGRESS - MIGHT BREAK 🚨\n * Meant for article content, ui content might need different spacing.\n */\n.hds-text-h1,\n.hds-text-h2 {\n &.hds-text--spacing {\n &:not(:first-child) {\n margin-top: var(--hds-spacing-48-64);\n }\n }\n}\n\n.hds-text-h1 + .hds-text-h2 {\n &.hds-text--spacing {\n margin-top: var(--hds-spacing-32);\n }\n}\n\n.hds-text-h3,\n.hds-text-h3-title {\n &.hds-text--spacing {\n margin-top: var(--hds-spacing-40-48);\n }\n}\n\n.hds-text-body,\n.hds-text-body-title {\n &.hds-text--spacing {\n &:not(:first-child) {\n margin-top: var(--hds-spacing-16);\n\n @media (--large) {\n margin-top: var(--hds-spacing-24);\n }\n }\n\n &:not(:last-child) {\n margin-bottom: var(--hds-spacing-16);\n\n @media (--large) {\n margin-bottom: var(--hds-spacing-24);\n }\n }\n }\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n","@import url(\"../_custom-media.css\");\n\n/**\n * Responsive extension of the spacing css variables\n */\n:root {\n --hds-spacing-2-4: var(--hds-spacing-2);\n --hds-spacing-4-8: var(--hds-spacing-4);\n --hds-spacing-8-12: var(--hds-spacing-8);\n --hds-spacing-12-16: var(--hds-spacing-12);\n --hds-spacing-16-20: var(--hds-spacing-16);\n --hds-spacing-20-24: var(--hds-spacing-20);\n --hds-spacing-24-32: var(--hds-spacing-24);\n --hds-spacing-32-40: var(--hds-spacing-32);\n --hds-spacing-40-48: var(--hds-spacing-40);\n --hds-spacing-48-64: var(--hds-spacing-48);\n --hds-spacing-64-80: var(--hds-spacing-64);\n --hds-spacing-80-120: var(--hds-spacing-80);\n --hds-spacing-120-160: var(--hds-spacing-120);\n\n @media (--large) {\n --hds-spacing-2-4: var(--hds-spacing-4);\n --hds-spacing-4-8: var(--hds-spacing-8);\n --hds-spacing-8-12: var(--hds-spacing-12);\n --hds-spacing-12-16: var(--hds-spacing-16);\n --hds-spacing-16-20: var(--hds-spacing-20);\n --hds-spacing-20-24: var(--hds-spacing-24);\n --hds-spacing-24-32: var(--hds-spacing-32);\n --hds-spacing-32-40: var(--hds-spacing-40);\n --hds-spacing-40-48: var(--hds-spacing-48);\n --hds-spacing-48-64: var(--hds-spacing-64);\n --hds-spacing-64-80: var(--hds-spacing-80);\n --hds-spacing-80-120: var(--hds-spacing-120);\n --hds-spacing-120-160: var(--hds-spacing-160);\n }\n}\n\n/**\n * Utility classes for margin top and bottom\n * Based upon [tailwind](https://tailwindcss.com/docs/margin)\n * \n * We start of by just adding the margin top and bottom classes.\n * we will see if there becomes a need for left and right. X, Y axis, padding etc...\n *\n * If the consumer wish to primarly use utility classes, the recommended approach is to use tailwind with the\n * provided tailwind configuration file.\n */\n\n/* Margin top */\n.hds-mt-4 {\n margin-top: var(--hds-spacing-4);\n}\n\n.hds-mt-8 {\n margin-top: var(--hds-spacing-8);\n}\n\n.hds-mt-12 {\n margin-top: var(--hds-spacing-12);\n}\n\n.hds-mt-16 {\n margin-top: var(--hds-spacing-16);\n}\n\n.hds-mt-20 {\n margin-top: var(--hds-spacing-20);\n}\n\n.hds-mt-24 {\n margin-top: var(--hds-spacing-24);\n}\n\n.hds-mt-32 {\n margin-top: var(--hds-spacing-32);\n}\n\n.hds-mt-40 {\n margin-top: var(--hds-spacing-40);\n}\n\n.hds-mt-48 {\n margin-top: var(--hds-spacing-48);\n}\n\n.hds-mt-64 {\n margin-top: var(--hds-spacing-64);\n}\n\n.hds-mt-80 {\n margin-top: var(--hds-spacing-80);\n}\n\n.hds-mt-120 {\n margin-top: var(--hds-spacing-120);\n}\n\n.hds-mt-160 {\n margin-top: var(--hds-spacing-160);\n}\n\n/* Responsive margin top. Mobile first, meaning it jumps up on larger screens */\n.hds-mt-4-8 {\n margin-top: var(--hds-spacing-4-8);\n}\n\n.hds-mt-8-12 {\n margin-top: var(--hds-spacing-8-12);\n}\n\n.hds-mt-12-16 {\n margin-top: var(--hds-spacing-12-16);\n}\n\n.hds-mt-16-20 {\n margin-top: var(--hds-spacing-16-20);\n}\n\n.hds-mt-20-24 {\n margin-top: var(--hds-spacing-20-24);\n}\n\n.hds-mt-24-32 {\n margin-top: var(--hds-spacing-24-32);\n}\n\n.hds-mt-32-40 {\n margin-top: var(--hds-spacing-32-40);\n}\n\n.hds-mt-40-48 {\n margin-top: var(--hds-spacing-40-48);\n}\n\n.hds-mt-48-64 {\n margin-top: var(--hds-spacing-48-64);\n}\n\n.hds-mt-64-80 {\n margin-top: var(--hds-spacing-64-80);\n}\n\n.hds-mt-80-120 {\n margin-top: var(--hds-spacing-80-120);\n}\n\n.hds-mt-120-160 {\n margin-top: var(--hds-spacing-120-160);\n}\n\n/* Margin bottom */\n.hds-mb-4 {\n margin-bottom: var(--hds-spacing-4);\n}\n\n.hds-mb-8 {\n margin-bottom: var(--hds-spacing-8);\n}\n\n.hds-mb-12 {\n margin-bottom: var(--hds-spacing-12);\n}\n\n.hds-mb-16 {\n margin-bottom: var(--hds-spacing-16);\n}\n\n.hds-mb-20 {\n margin-bottom: var(--hds-spacing-20);\n}\n\n.hds-mb-24 {\n margin-bottom: var(--hds-spacing-24);\n}\n\n.hds-mb-32 {\n margin-bottom: var(--hds-spacing-32);\n}\n\n.hds-mb-40 {\n margin-bottom: var(--hds-spacing-40);\n}\n\n.hds-mb-48 {\n margin-bottom: var(--hds-spacing-48);\n}\n\n.hds-mb-64 {\n margin-bottom: var(--hds-spacing-64);\n}\n\n.hds-mb-80 {\n margin-bottom: var(--hds-spacing-80);\n}\n\n.hds-mb-120 {\n margin-bottom: var(--hds-spacing-120);\n}\n\n.hds-mb-160 {\n margin-bottom: var(--hds-spacing-160);\n}\n\n/* Responsive margin bottom. Mobile first, meaning it jumps up on larger screens */\n.hds-mb-4-8 {\n margin-bottom: var(--hds-spacing-4-8);\n}\n\n.hds-mb-8-12 {\n margin-bottom: var(--hds-spacing-8-12);\n}\n\n.hds-mb-12-16 {\n margin-bottom: var(--hds-spacing-12-16);\n}\n\n.hds-mb-16-20 {\n margin-bottom: var(--hds-spacing-16-20);\n}\n\n.hds-mb-20-24 {\n margin-bottom: var(--hds-spacing-20-24);\n}\n\n.hds-mb-24-32 {\n margin-bottom: var(--hds-spacing-24-32);\n}\n\n.hds-mb-32-40 {\n margin-bottom: var(--hds-spacing-32-40);\n}\n\n.hds-mb-40-48 {\n margin-bottom: var(--hds-spacing-40-48);\n}\n\n.hds-mb-48-64 {\n margin-bottom: var(--hds-spacing-48-64);\n}\n\n.hds-mb-64-80 {\n margin-bottom: var(--hds-spacing-64-80);\n}\n\n.hds-mb-80-120 {\n margin-bottom: var(--hds-spacing-80-120);\n}\n\n.hds-mb-120-160 {\n margin-bottom: var(--hds-spacing-120-160);\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|