spoko-design-system 0.2.18 → 0.2.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoko-design-system",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "astro dev",
@@ -85,7 +85,7 @@
85
85
  "astro": "^4.5.6",
86
86
  "unocss": "^0.58.3"
87
87
  },
88
- "packageManager": "pnpm@8.15.4",
88
+ "packageManager": "pnpm@8.15.5",
89
89
  "pnpm": {
90
90
  "default": "8.15.2",
91
91
  "overrides": {
@@ -15,17 +15,15 @@ const props = defineProps({
15
15
  </script>
16
16
 
17
17
  <template>
18
- <div class="relative flex bg-vw " :class="props.small ? 'md:min-h-xs' : 'md:min-h-md'">
19
- <header class="max-w-7xl mx-auto my-auto py-8 lg:w-full px-6 lg:px-8 text-center" :class="props.small ? 'sm:py-12 md:py-14 lg:py-16 xl:py-20' : 'sm:py-16 md:py-20 lg:py-28 xl:py-32'">
20
- <h1 class="text-3xl tracking-tight font-headlight text-white sm:(text-4xl pt-0) md:text-5xl lg:text-6xl ">
21
- <slot name="intro" />
22
- </h1>
23
- <slot name="subtitle" />
24
- <div class="mt-5 sm:(mt-8 flex justify-center)" v-if="hasSlot('cta')">
25
- <slot name="cta" />
26
- </div>
27
- </header>
28
- </div>
18
+ <header class="relative flow content-grid bg-vw mx-auto my-auto py-8 lg:w-full px-6 lg:px-8 text-center" :class="props.small ? 'md:min-h-xs sm:py-12 md:py-14 lg:py-16 xl:py-20' : 'md:min-h-md sm:py-16 md:py-20 lg:py-28 xl:py-32'">
19
+ <h1 class="text-3xl tracking-tight font-headlight text-white sm:(text-4xl pt-0) md:text-5xl lg:text-6xl ">
20
+ <slot name="intro" />
21
+ </h1>
22
+ <slot name="subtitle" />
23
+ <div class="mt-5 sm:(mt-8 flex justify-center)" v-if="hasSlot('cta')">
24
+ <slot name="cta" />
25
+ </div>
26
+ </header>
29
27
  </template>
30
28
  <style lang="scss">
31
29
  .bg-vw {