agroptima-design-system 0.31.15 → 0.31.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agroptima-design-system",
3
- "version": "0.31.15",
3
+ "version": "0.31.16",
4
4
  "scripts": {
5
5
  "dev": "npm run storybook",
6
6
  "storybook": "storybook dev -p 6006 --ci",
@@ -13,7 +13,7 @@ $modal-margin: 3rem;
13
13
  $modal-width: 34.5rem;
14
14
  $modal-detail-width: 50rem;
15
15
  $modal-background-color: color_alias.$neutral-white;
16
- $modal-boder-color: color_alias.$neutral-color-200;
16
+ $modal-border-color: color_alias.$neutral-color-200;
17
17
  $backdrop-opacity: 0.4;
18
18
  $backdrop-background-color: color_alias.$neutral-color-900;
19
19
 
@@ -27,18 +27,17 @@ $backdrop-background-color: color_alias.$neutral-color-900;
27
27
  overflow-x: hidden;
28
28
  overflow-y: auto;
29
29
  outline: 0;
30
- border: 0px;
30
+ border: 0;
31
31
  background-color: transparent;
32
32
  margin: 0 auto;
33
+ max-width: 100%;
34
+ max-height: 100%;
33
35
 
34
36
  &::backdrop {
35
37
  opacity: $backdrop-opacity;
36
38
  position: fixed;
37
- top: 0;
38
- left: 0;
39
+ inset: 0;
39
40
  z-index: depth.$z-modal;
40
- width: 100vw;
41
- height: 100vh;
42
41
  background-color: $backdrop-background-color;
43
42
  transition: opacity 0.15s linear;
44
43
  }
@@ -109,7 +108,7 @@ $backdrop-background-color: color_alias.$neutral-color-900;
109
108
  }
110
109
 
111
110
  .modal-header {
112
- border-bottom: 1px solid $modal-boder-color;
111
+ border-bottom: 1px solid $modal-border-color;
113
112
  padding-bottom: config.$space-3x;
114
113
  }
115
114
 
@@ -4,6 +4,10 @@ import { Meta } from "@storybook/blocks";
4
4
 
5
5
  # Changelog
6
6
 
7
+ ## 0.31.16
8
+
9
+ * Fix Modal component with and height
10
+
7
11
  ## 0.31.15
8
12
 
9
13
  * Fix close DateSinglePicker when not having input