agroptima-design-system 1.2.21 → 1.2.22-beta.10

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.2.21",
3
+ "version": "1.2.22-beta.10",
4
4
  "scripts": {
5
5
  "dev": "npm run storybook",
6
6
  "storybook": "storybook dev -p 6006 --ci",
@@ -1,4 +1,5 @@
1
1
  @use '../../settings/config';
2
+ @use '../../settings/depth';
2
3
 
3
4
  .floating-button {
4
5
  display: inline-flex;
@@ -12,6 +13,7 @@
12
13
  border-radius: config.$corner-radius-m;
13
14
  text-decoration: none;
14
15
  border: 1px solid transparent;
16
+ z-index: depth.$z-floating-button;
15
17
 
16
18
  &.circle {
17
19
  border-radius: 50%;
@@ -73,11 +73,16 @@
73
73
  justify-content: flex-start;
74
74
  border-radius: config.$corner-radius-xxs;
75
75
  overflow: hidden;
76
+ gap: 0;
76
77
  box-shadow:
77
78
  0 3px 6px -4px rgba(0, 0, 0, 0.12),
78
79
  0px 6px 16px 0px rgba(0, 0, 0, 0.08),
79
80
  0px 9px 28px 8px rgba(0, 0, 0, 0.05);
80
81
 
82
+ &.primary {
83
+ background: var(--neutral-white);
84
+ }
85
+
81
86
  .popover-menu-option {
82
87
  @include typography.body-regular-primary;
83
88
  display: flex;
@@ -86,6 +91,7 @@
86
91
  text-decoration: none;
87
92
  cursor: default;
88
93
  border: none;
94
+ margin: 0;
89
95
 
90
96
  > .icon {
91
97
  margin-top: config.$space-2x;
@@ -6,7 +6,8 @@ $above: 1; // use this for all values above the base
6
6
  $below: -1; // and this for all values below the base
7
7
 
8
8
  $z-backdrop: $base;
9
- $z-dropdown-options: $base + $above;
9
+ $z-floating-button: $base + $above;
10
+ $z-dropdown-options: $z-floating-button + $above;
10
11
  $z-popover: $z-dropdown-options;
11
12
  $z-alert-container: $z-dropdown-options + $above;
12
13
  $z-modal: $z-alert-container + $above;
@@ -16,4 +17,4 @@ $z-aside-mobile: $z-modal + $above;
16
17
  $z-header: $base + $above;
17
18
 
18
19
  $z-timeline-rail: $base;
19
- $z-timeline-circle: $base + $above;
20
+ $z-timeline-circle: $base + $above;
@@ -4,6 +4,11 @@ import { Meta } from "@storybook/addon-docs/blocks";
4
4
 
5
5
  # Changelog
6
6
 
7
+ ## 1.2.22
8
+
9
+ * Add z-index to FloatingButton component
10
+ * Fix PopoverMenu background color on primary variant
11
+
7
12
  ## 1.2.21
8
13
 
9
14
  * Add Dismiss button in NotificationLine