@dative-gpi/foundation-shared-components 0.0.155 → 0.0.158

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.
@@ -0,0 +1,79 @@
1
+ <template>
2
+ <FSClickable
3
+ borderStyle="dashed"
4
+ padding="24px"
5
+ :height="$props.height"
6
+ :width="$props.width"
7
+ :border="true"
8
+ @click="$emit('click')"
9
+ v-bind="$attrs"
10
+ >
11
+ <FSRow
12
+ align="center-center"
13
+ >
14
+ <FSIcon
15
+ v-if="$props.icon"
16
+ :color="ColorEnum.Light"
17
+ variant="dark"
18
+ >
19
+ {{ $props.icon }}
20
+ </FSIcon>
21
+ <FSText
22
+ v-if="$props.label"
23
+ :color="ColorEnum.Light"
24
+ variant="dark"
25
+ >
26
+ {{ $props.label }}
27
+ </FSText>
28
+ </FSRow>
29
+ </FSClickable>
30
+ </template>
31
+
32
+ <script lang="ts">
33
+ import { defineComponent, PropType } from "vue";
34
+
35
+ import { ColorEnum } from "../models";
36
+
37
+ import FSClickable from "./FSClickable.vue";
38
+ import FSIcon from "./FSIcon.vue";
39
+ import FSText from "./FSText.vue";
40
+ import FSRow from "./FSRow.vue";
41
+
42
+ export default defineComponent({
43
+ name: "FSCardPlaceholder",
44
+ components: {
45
+ FSClickable,
46
+ FSIcon,
47
+ FSText,
48
+ FSRow
49
+ },
50
+ props: {
51
+ height: {
52
+ type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
53
+ required: false,
54
+ default: "fit-content"
55
+ },
56
+ width: {
57
+ type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
58
+ required: false,
59
+ default: "100%"
60
+ },
61
+ icon: {
62
+ type: String as PropType<string | null>,
63
+ required: false,
64
+ default: null
65
+ },
66
+ label: {
67
+ type: String as PropType<string | null>,
68
+ required: false,
69
+ default: null
70
+ }
71
+ },
72
+ emits: ["click"],
73
+ setup() {
74
+ return {
75
+ ColorEnum
76
+ };
77
+ }
78
+ });
79
+ </script>
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.155",
4
+ "version": "0.0.158",
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.155",
14
- "@dative-gpi/foundation-shared-services": "0.0.155",
13
+ "@dative-gpi/foundation-shared-domain": "0.0.158",
14
+ "@dative-gpi/foundation-shared-services": "0.0.158",
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": "bf1576623598b4203a63c5a4e8ba2ef17a47061a"
35
+ "gitHead": "df7f57d7c0baeade01a987d06ae95751aba5a3c5"
36
36
  }