@dative-gpi/foundation-shared-components 1.0.37 → 1.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.
@@ -16,6 +16,7 @@
16
16
  </template>
17
17
  <v-window-item
18
18
  v-for="(component, index) in getChildren()"
19
+ class="fs-window-item"
19
20
  :value="value(component, index)"
20
21
  :key="index"
21
22
  >
@@ -39,6 +40,11 @@ export default defineComponent({
39
40
  type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
40
41
  required: false,
41
42
  default: null
43
+ },
44
+ height: {
45
+ type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
46
+ required: false,
47
+ default: null
42
48
  }
43
49
  },
44
50
  setup(props) {
@@ -47,7 +53,8 @@ export default defineComponent({
47
53
  delete slots.default;
48
54
 
49
55
  const style = computed((): StyleValue => ({
50
- "--fs-window-width": sizeToVar(props.width)
56
+ "--fs-window-width": sizeToVar(props.width),
57
+ "--fs-window-height": sizeToVar(props.height)
51
58
  }));
52
59
 
53
60
  const value = (component: VNode, index: number): any => {
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.37",
4
+ "version": "1.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": "1.0.37",
14
- "@dative-gpi/foundation-shared-services": "1.0.37"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.38",
14
+ "@dative-gpi/foundation-shared-services": "1.0.38"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@dative-gpi/bones-ui": "^0.0.75",
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "5781e3801d2832ab2567a82e425f369f4f20fbfa"
38
+ "gitHead": "7dd002e8bf0aeccec7302ebb76be82a0c530c376"
39
39
  }
@@ -1,3 +1,8 @@
1
1
  .fs-window {
2
2
  width: var(--fs-window-width);
3
+ height: var(--fs-window-height);
4
+ }
5
+ .fs-window-item {
6
+ height: 100%;
7
+ min-height: 0;
3
8
  }