agroptima-design-system 1.1.0-beta.0 → 1.1.0-beta.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": "1.1.0-beta.0",
3
+ "version": "1.1.0-beta.1",
4
4
  "scripts": {
5
5
  "dev": "npm run storybook",
6
6
  "storybook": "storybook dev -p 6006 --ci",
@@ -21,10 +21,18 @@
21
21
  justify-content: flex-start;
22
22
  align-items: flex-start;
23
23
  gap: config.$space-2x;
24
- }
25
24
 
26
- .text {
27
- @include typography.body-regular-primary;
25
+ .text {
26
+ @include typography.body-regular-primary;
27
+
28
+ a {
29
+ color: var(--alert-link-color);
30
+
31
+ &:hover:not(:disabled) {
32
+ color: var(--alert-link-hover-color);
33
+ }
34
+ }
35
+ }
28
36
  }
29
37
 
30
38
  .icon {
@@ -47,7 +47,7 @@
47
47
  cursor: default;
48
48
  }
49
49
 
50
- .checkbox {
50
+ .checkbox-group {
51
51
  margin-top: config.$space-1x;
52
52
  }
53
53
 
@@ -1,4 +1,7 @@
1
1
  :root {
2
+ --alert-link-color: var(--strawberry-primary-color-600);
3
+ --alert-link-hover-color: var(--strawberry-primary-color-800);
4
+
2
5
  .strawberry {
3
6
  --accent-color: var(--neutral-white);
4
7
  --notification-color: var(--success-color-1000);
@@ -69,6 +69,16 @@ export const Success: Story = {
69
69
  parameters: figmaPrimaryDesign,
70
70
  }
71
71
 
72
+ export const SuccessWithLink: Story = {
73
+ render: () => (
74
+ <Alert
75
+ id="success-alert"
76
+ variant="success"
77
+ text={<a href="http://fakelink.com">Go to another castle</a>}
78
+ />
79
+ ),
80
+ } as unknown as Story
81
+
72
82
  export const SuccessWithFadeOut: Story = {
73
83
  args: {
74
84
  id: 'success-alert',
@@ -60,7 +60,7 @@ export const Option: Story = {
60
60
  render: () => (
61
61
  <CardMenuOption
62
62
  id="first-menu-option"
63
- href="http://olakas.com"
63
+ href="http://fakelink.com"
64
64
  icon="Info"
65
65
  variant="primary"
66
66
  title="It's dangerous to go alone!"
@@ -8,12 +8,17 @@ import { Meta } from "@storybook/addon-docs/blocks";
8
8
 
9
9
  * Add Timeline, Milestone and LoadMoreMilestonesButton components
10
10
  * On Drawer component, `buttons` prop is optional
11
+ * Add Traceability icon
12
+ * Fix Checkbox vertical displacement on CardsTable component
13
+
14
+ ## 1.0.7
15
+
16
+ * Add link styles to Alert component
11
17
 
12
18
  ## 1.0.6
13
19
 
14
20
  * Restore select `disabled` styles
15
21
 
16
-
17
22
  ## 1.0.5
18
23
 
19
24
  * Rechecking npm security changes