@gnist/design-system 2.0.5 → 2.0.7

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.7](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@2.0.6...@gnist/design-system@2.0.7) (2025-01-24)
7
+
8
+ ### Bug Fixes
9
+
10
+ * adjust maxHeight on modal sizes ([b983b3b](https://github.com/mollerdigital/design-system-design-system/commit/b983b3b0fca9417b1e66e232cad02d49604e21d7))
11
+
12
+ ## [2.0.6](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@2.0.5...@gnist/design-system@2.0.6) (2025-01-24)
13
+
14
+ **Note:** Version bump only for package @gnist/design-system
15
+
6
16
  ## [2.0.5](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@2.0.4...@gnist/design-system@2.0.5) (2025-01-24)
7
17
 
8
18
  **Note:** Version bump only for package @gnist/design-system
@@ -63,19 +63,19 @@ const dialogRecipe = recipes.recipe({
63
63
  paddingBottom: cssUtils.calc("env(safe-area-inset-bottom)").add(dialogPadding("fullscreen")).toString()
64
64
  },
65
65
  large: {
66
- maxHeight: "848px",
66
+ maxHeight: cssUtils.calc("100dvh").subtract("env(safe-area-inset-bottom)").subtract(dialogPadding("large")).toString(),
67
67
  width: "800px",
68
68
  maxWidth: "95vw",
69
69
  paddingBottom: cssUtils.calc("env(safe-area-inset-bottom)").add(dialogPadding("large")).toString()
70
70
  },
71
71
  medium: {
72
- maxHeight: "656px",
72
+ maxHeight: cssUtils.calc("100dvh").subtract("env(safe-area-inset-bottom)").subtract(dialogPadding("medium")).toString(),
73
73
  width: "496px",
74
74
  maxWidth: "95vw",
75
75
  paddingBottom: cssUtils.calc("env(safe-area-inset-bottom)").add(dialogPadding("medium")).toString()
76
76
  },
77
77
  small: {
78
- maxHeight: "480px",
78
+ maxHeight: cssUtils.calc("100dvh").subtract("env(safe-area-inset-bottom)").subtract(dialogPadding("small")).toString(),
79
79
  width: "304px",
80
80
  maxWidth: "95vw",
81
81
  paddingBottom: cssUtils.calc("env(safe-area-inset-bottom)").add(dialogPadding("small")).toString()
@@ -9,19 +9,19 @@ export declare const dialogRecipe: import("@vanilla-extract/recipes").RuntimeFn<
9
9
  paddingBottom: string;
10
10
  };
11
11
  large: {
12
- maxHeight: "848px";
12
+ maxHeight: string;
13
13
  width: "800px";
14
14
  maxWidth: "95vw";
15
15
  paddingBottom: string;
16
16
  };
17
17
  medium: {
18
- maxHeight: "656px";
18
+ maxHeight: string;
19
19
  width: "496px";
20
20
  maxWidth: "95vw";
21
21
  paddingBottom: string;
22
22
  };
23
23
  small: {
24
- maxHeight: "480px";
24
+ maxHeight: string;
25
25
  width: "304px";
26
26
  maxWidth: "95vw";
27
27
  paddingBottom: string;
@@ -1 +1 @@
1
- {"version":3,"file":"modal.css.d.ts","sourceRoot":"","sources":["../../../../src/components/surfaces/modal/modal.css.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC;AAErE,eAAO,MAAM,aAAa,QASxB,CAAC;AAEH,eAAO,MAAM,UAAU,QAWrB,CAAC;AAcH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDvB,CAAC;AASH,eAAO,MAAM,eAAe;;;;;;;;;;;;;EAiC1B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;EAwDjC,CAAC;AAWH,eAAO,MAAM,eAAe;;;;;;;;;;;;;EAyC1B,CAAC"}
1
+ {"version":3,"file":"modal.css.d.ts","sourceRoot":"","sources":["../../../../src/components/surfaces/modal/modal.css.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC;AAErE,eAAO,MAAM,aAAa,QASxB,CAAC;AAEH,eAAO,MAAM,UAAU,QAWrB,CAAC;AAcH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DvB,CAAC;AASH,eAAO,MAAM,eAAe;;;;;;;;;;;;;EAiC1B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;EAwDjC,CAAC;AAWH,eAAO,MAAM,eAAe;;;;;;;;;;;;;EAyC1B,CAAC"}
@@ -61,19 +61,19 @@ const dialogRecipe = recipe({
61
61
  paddingBottom: calc("env(safe-area-inset-bottom)").add(dialogPadding("fullscreen")).toString()
62
62
  },
63
63
  large: {
64
- maxHeight: "848px",
64
+ maxHeight: calc("100dvh").subtract("env(safe-area-inset-bottom)").subtract(dialogPadding("large")).toString(),
65
65
  width: "800px",
66
66
  maxWidth: "95vw",
67
67
  paddingBottom: calc("env(safe-area-inset-bottom)").add(dialogPadding("large")).toString()
68
68
  },
69
69
  medium: {
70
- maxHeight: "656px",
70
+ maxHeight: calc("100dvh").subtract("env(safe-area-inset-bottom)").subtract(dialogPadding("medium")).toString(),
71
71
  width: "496px",
72
72
  maxWidth: "95vw",
73
73
  paddingBottom: calc("env(safe-area-inset-bottom)").add(dialogPadding("medium")).toString()
74
74
  },
75
75
  small: {
76
- maxHeight: "480px",
76
+ maxHeight: calc("100dvh").subtract("env(safe-area-inset-bottom)").subtract(dialogPadding("small")).toString(),
77
77
  width: "304px",
78
78
  maxWidth: "95vw",
79
79
  paddingBottom: calc("env(safe-area-inset-bottom)").add(dialogPadding("small")).toString()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnist/design-system",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "@formkit/auto-animate": "^0.7.0",
51
51
  "@gnist/component-utils": "3.0.1",
52
- "@gnist/themes": "^2.1.0",
52
+ "@gnist/themes": "^2.2.0",
53
53
  "@mui/base": "^5.0.0-beta.36",
54
54
  "@vanilla-extract/css": "^1.14.1",
55
55
  "@vanilla-extract/css-utils": "^0.1.3",
@@ -113,5 +113,5 @@
113
113
  "optional": true
114
114
  }
115
115
  },
116
- "gitHead": "6bbf77451c130550172866d8e99343c0fb41e419"
116
+ "gitHead": "f2dc01852a3189f5112206da52f7b74938ef8bd1"
117
117
  }