@dative-gpi/foundation-shared-components 1.0.84 → 1.0.85

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,6 @@
1
1
  <template>
2
- <FSClickable
2
+ <component
3
+ :is="$attrs.onClick ? FSClickable : FSCard"
3
4
  borderStyle="dashed"
4
5
  padding="24px"
5
6
  :height="$props.height"
@@ -26,7 +27,7 @@
26
27
  {{ $props.label }}
27
28
  </FSText>
28
29
  </FSRow>
29
- </FSClickable>
30
+ </component>
30
31
  </template>
31
32
 
32
33
  <script lang="ts">
@@ -35,6 +36,7 @@ import { defineComponent, type PropType } from "vue";
35
36
  import { ColorEnum } from "../models";
36
37
 
37
38
  import FSClickable from "./FSClickable.vue";
39
+ import FSCard from "./FSCard.vue";
38
40
  import FSIcon from "./FSIcon.vue";
39
41
  import FSText from "./FSText.vue";
40
42
  import FSRow from "./FSRow.vue";
@@ -43,6 +45,7 @@ export default defineComponent({
43
45
  name: "FSCardPlaceholder",
44
46
  components: {
45
47
  FSClickable,
48
+ FSCard,
46
49
  FSIcon,
47
50
  FSText,
48
51
  FSRow
@@ -69,10 +72,11 @@ export default defineComponent({
69
72
  default: null
70
73
  }
71
74
  },
72
- emits: ["click"],
73
75
  setup() {
74
76
  return {
75
- ColorEnum
77
+ ColorEnum,
78
+ FSClickable,
79
+ FSCard,
76
80
  };
77
81
  }
78
82
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "1.0.84",
4
+ "version": "1.0.85",
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": "1.0.84",
14
- "@dative-gpi/foundation-shared-services": "1.0.84"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.85",
14
+ "@dative-gpi/foundation-shared-services": "1.0.85"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "a7eaef654fe35badd76832b3d07ea64bb6979d97"
38
+ "gitHead": "178fc269ca3ac29c4a0a6e3b1c163b52d1865dbf"
39
39
  }