@grucloud/bau-ui 0.61.0 → 0.61.1

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.
Files changed (2) hide show
  1. package/modal/modal.js +10 -7
  2. package/package.json +2 -2
package/modal/modal.js CHANGED
@@ -30,26 +30,30 @@ export default function (context, options = {}) {
30
30
  border-radius: var(--global-radius);
31
31
  min-width: 400px;
32
32
  border: 0px;
33
- > div {
33
+ overflow: hidden;
34
+ > form {
34
35
  display: flex;
35
36
  flex-direction: column;
36
37
  overflow: hidden;
38
+ height: 100%;
37
39
  max-height: 96vh;
38
40
  max-width: 96vw;
39
41
  & > header {
40
42
  display: flex;
41
- flex-direction: column;
43
+ flex-direction: row;
44
+ align-items: center;
42
45
  justify-content: flex-start;
46
+ gap: 1rem;
43
47
  }
44
48
  & > main,
45
- > section {
46
- flex-grow: 1;
49
+ > section,
50
+ > article {
47
51
  overflow-y: auto;
52
+ flex-grow: 1;
48
53
  }
49
54
  & > footer {
50
55
  display: flex;
51
56
  justify-content: flex-end;
52
- padding: 1rem;
53
57
  gap: 1rem;
54
58
  }
55
59
  }
@@ -63,7 +67,6 @@ export default function (context, options = {}) {
63
67
  height: 96vh;
64
68
  width: 96vw;
65
69
  }
66
-
67
70
  ${colorsToCss()}
68
71
  `;
69
72
 
@@ -98,7 +101,7 @@ export default function (context, options = {}) {
98
101
  props?.class
99
102
  ),
100
103
  },
101
- div(children)
104
+ children
102
105
  );
103
106
 
104
107
  const observer = new MutationObserver((events) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grucloud/bau-ui",
3
3
  "description": "Components library built with Bau",
4
- "version": "0.61.0",
4
+ "version": "0.61.1",
5
5
  "type": "module",
6
6
  "license": "BSD",
7
7
  "keywords": [
@@ -26,5 +26,5 @@
26
26
  "devDependencies": {
27
27
  "typedoc": "0.24.8"
28
28
  },
29
- "gitHead": "0cf66900b8223139cfa88414fe562887aefe0e0f"
29
+ "gitHead": "c69a41df5289f851fcdeb31ee5e40ee660351fd2"
30
30
  }