agroptima-design-system 0.3.0 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agroptima-design-system",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "scripts": {
5
5
  "dev": "npm run storybook",
6
6
  "storybook": "storybook dev -p 6006 --ci",
@@ -60,6 +60,7 @@
60
60
  }
61
61
 
62
62
  display: inline-flex;
63
+ height: fit-content;
63
64
  background: var(--color-bg);
64
65
  border: 1px solid transparent;
65
66
  padding: config.$space-2x config.$space-3x;
@@ -5,7 +5,7 @@
5
5
  .input-group {
6
6
  display: flex;
7
7
  flex-direction: column;
8
- gap: 0.625rem;
8
+ gap: config.$space-2x;
9
9
 
10
10
  .input {
11
11
  padding-left: 12px;
@@ -94,12 +94,12 @@
94
94
  }
95
95
 
96
96
  .left-icon {
97
- top: 0.75rem;
97
+ top: 0.9rem;
98
98
  left: 0.7rem;
99
99
  }
100
100
 
101
101
  .password-icon {
102
- top: 0.75rem;
102
+ top: 0.9rem;
103
103
  right: 0.7rem;
104
104
  }
105
105
  }
@@ -30,6 +30,7 @@ $font-primary: $font-base-stretch $text-base-style $font-base-weight #{$text-bas
30
30
  font-variant: $text-base-style;
31
31
  font-weight: 400;
32
32
  font-family: $font-base-family;
33
+ font-size: 1em;
33
34
  color: color_alias.$neutral-color-1000;
34
35
  }
35
36
  @mixin input-placeholder-text {
@@ -37,6 +38,7 @@ $font-primary: $font-base-stretch $text-base-style $font-base-weight #{$text-bas
37
38
  font-variant: $text-base-style;
38
39
  font-weight: 400;
39
40
  font-family: $font-base-family;
41
+ font-size: 1em;
40
42
  color: color_alias.$neutral-color-400;
41
43
  // We shouldn't define a font-size for the placeholder: https://stackoverflow.com/questions/30916387/placeholder-font-size-bigger-than-16px
42
44
  }
@@ -3,6 +3,12 @@ import { Meta } from "@storybook/addon-docs";
3
3
  <Meta title="Changelog" />
4
4
  # Changelog
5
5
 
6
+ ## 0.3.1
7
+
8
+ - Fixed input height not matching other components'.
9
+ - Updated input's icons positions due to the input height change.
10
+ - Fixed button height to not fill the whole available space.
11
+
6
12
  ## 0.3.0
7
13
 
8
14
  - Empty State component is added to Storybook.