@globalbrain/sefirot 3.10.1 → 3.11.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.
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- export type Space = 'compact' | 'wide'
2
+ export type Space = 'compact' | 'wide' | 'xwide'
3
3
 
4
4
  defineProps<{
5
5
  space?: Space
@@ -19,6 +19,7 @@ defineProps<{
19
19
 
20
20
  &.compact { padding: 24px; }
21
21
  &.wide { padding: 32px; }
22
+ &.xwide { padding: 48px; }
22
23
  }
23
24
 
24
25
  .SCard > .SCardBlock:first-child {
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- export type Space = 'compact' | 'wide'
2
+ export type Space = 'compact' | 'wide' | 'xwide'
3
3
 
4
4
  defineProps<{
5
5
  space?: Space
@@ -13,5 +13,6 @@
13
13
 
14
14
  .SCardFooter.compact > & { padding: 12px 24px; }
15
15
  .SCardFooter.wide > & { padding: 16px 32px; }
16
+ .SCardFooter.xwide > & { padding: 24px 48px; }
16
17
  }
17
18
  </style>
@@ -11,8 +11,31 @@
11
11
  gap: 12px;
12
12
  }
13
13
 
14
+ .SContent :deep(h1),
15
+ .SContent :deep(.h1) {
16
+ margin: 0;
17
+ max-width: 640px;
18
+ line-height: 40px;
19
+ font-size: 32px;
20
+ font-weight: 500;
21
+ color: var(--c-text-1);
22
+ }
23
+
24
+ .SContent :deep(h2),
25
+ .SContent :deep(.h2) {
26
+ border-top: 0;
27
+ margin: 0;
28
+ padding: 0;
29
+ max-width: 640px;
30
+ line-height: 28px;
31
+ font-size: 20px;
32
+ font-weight: 500;
33
+ color: var(--c-text-1);
34
+ }
35
+
14
36
  .SContent :deep(p) {
15
37
  margin: 0;
38
+ max-width: 640px;
16
39
  line-height: 24px;
17
40
  font-size: 14px;
18
41
  font-weight: 400;
@@ -36,6 +59,7 @@
36
59
  .SContent :deep(ol) {
37
60
  margin: 0;
38
61
  padding-left: 0;
62
+ max-width: 640px;
39
63
  list-style: none;
40
64
  }
41
65
 
@@ -0,0 +1,16 @@
1
+ <template>
2
+ <div class="SDivider">
3
+ <div class="line" />
4
+ </div>
5
+ </template>
6
+
7
+ <style scoped lang="postcss">
8
+ .SDivider {
9
+ padding: var(--divider-padding);
10
+ }
11
+
12
+ .line {
13
+ height: 1px;
14
+ background-color: var(--c-divider);
15
+ }
16
+ </style>
@@ -0,0 +1,17 @@
1
+ <template>
2
+ <div class="SDoc">
3
+ <slot />
4
+ </div>
5
+ </template>
6
+
7
+ <style scoped lang="postcss">
8
+ .SDoc {
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: 24px;
12
+ }
13
+
14
+ .SDoc {
15
+ --divider-padding: 24px 0;
16
+ }
17
+ </style>
@@ -0,0 +1,13 @@
1
+ <template>
2
+ <div class="SDocSection">
3
+ <slot />
4
+ </div>
5
+ </template>
6
+
7
+ <style scoped lang="postcss">
8
+ .SDocSection {
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: 24px;
12
+ }
13
+ </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalbrain/sefirot",
3
- "version": "3.10.1",
3
+ "version": "3.11.0",
4
4
  "packageManager": "pnpm@8.12.1",
5
5
  "description": "Vue Components for Global Brain Design System.",
6
6
  "author": "Kia Ishii <ka.ishii@globalbrains.com>",