@dative-gpi/foundation-shared-components 0.0.37 → 0.0.38

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.
@@ -26,7 +26,9 @@
26
26
  </template>
27
27
  <template #text>
28
28
  <slot name="content">
29
- <FSText>
29
+ <FSText
30
+ :lineClamp="$props.lineClampContent"
31
+ >
30
32
  {{ $props.content }}
31
33
  </FSText>
32
34
  </slot>
@@ -35,10 +37,10 @@
35
37
  </template>
36
38
 
37
39
  <script lang="ts">
38
- import { computed, defineComponent, PropType } from "vue";
40
+ import { computed, defineComponent } from "vue";
39
41
 
40
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
41
42
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
43
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
42
44
  import { sizeToVar } from "@dative-gpi/foundation-shared-components/utils";
43
45
 
44
46
  import FSIcon from "./FSIcon.vue";
@@ -80,6 +82,11 @@ export default defineComponent({
80
82
  required: false,
81
83
  default: "16px"
82
84
  },
85
+ lineClampContent: {
86
+ type: Number,
87
+ required: false,
88
+ default: 5
89
+ },
83
90
  divider: {
84
91
  type: Boolean,
85
92
  required: false,
@@ -46,7 +46,6 @@
46
46
  </FSClickable>
47
47
  <FSRow
48
48
  v-else
49
- align="center-center"
50
49
  width="hug"
51
50
  :class="iconClasses"
52
51
  :style="style"
@@ -74,7 +73,6 @@
74
73
  </FSIcon>
75
74
  <FSSpan
76
75
  v-if="$props.label"
77
- font="text-overline"
78
76
  >
79
77
  {{ $props.label }}
80
78
  </FSSpan>
@@ -89,7 +87,6 @@
89
87
  </FSIcon>
90
88
  <FSSpan
91
89
  v-if="$props.label"
92
- font="text-overline"
93
90
  >
94
91
  {{ $props.label }}
95
92
  </FSSpan>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "0.0.37",
4
+ "version": "0.0.38",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "0.0.37",
14
- "@dative-gpi/foundation-shared-services": "0.0.37",
13
+ "@dative-gpi/foundation-shared-domain": "0.0.38",
14
+ "@dative-gpi/foundation-shared-services": "0.0.38",
15
15
  "@fontsource/montserrat": "^5.0.16",
16
16
  "@lexical/clipboard": "^0.12.5",
17
17
  "@lexical/history": "^0.12.5",
@@ -32,5 +32,5 @@
32
32
  "sass": "^1.69.5",
33
33
  "sass-loader": "^13.3.2"
34
34
  },
35
- "gitHead": "60d7b514ce598dccaef07b4696e957ea2165a7a3"
35
+ "gitHead": "6dbe0959177629f0285f2eae895690376a6fa0e1"
36
36
  }
@@ -7,7 +7,7 @@
7
7
  overflow: hidden;
8
8
  display: -webkit-box;
9
9
  -webkit-box-orient: vertical;
10
- -webkit-line-clamp: 2;
10
+ -webkit-line-clamp: var(--fs-span-line-clamp);
11
11
  }
12
12
 
13
13
  .fs-span-ellipsis {