agroptima-design-system 0.34.7-beta.3 → 0.34.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agroptima-design-system",
3
- "version": "0.34.7-beta.3",
3
+ "version": "0.34.7",
4
4
  "scripts": {
5
5
  "dev": "npm run storybook",
6
6
  "storybook": "storybook dev -p 6006 --ci",
@@ -76,7 +76,8 @@
76
76
  }
77
77
  }
78
78
 
79
- &.primary {
79
+ &.primary,
80
+ &.secondary {
80
81
  &:disabled {
81
82
  > .icon {
82
83
  > svg {
@@ -88,18 +89,4 @@
88
89
  }
89
90
  }
90
91
  }
91
-
92
- &.secondary {
93
- &:disabled {
94
- > .icon {
95
- > svg {
96
- fill: color_alias.$neutral-white;
97
- fill-opacity: 0.6;
98
- path {
99
- fill: color_alias.$neutral-white;
100
- }
101
- }
102
- }
103
- }
104
- }
105
92
  }
@@ -24,19 +24,13 @@
24
24
  border-spacing: 0 config.$space-2x;
25
25
  width: 100%;
26
26
 
27
- &.is-sticky {
28
- .cards-table-header {
29
- position: sticky;
30
- top: 60px;
31
- }
32
- }
33
-
34
27
  .cards-table-header,
35
28
  .cards-table-cell {
36
29
  vertical-align: top;
37
30
  padding: config.$space-2x config.$space-3x;
38
31
  }
39
32
 
33
+
40
34
  .cards-table-body .cards-table-row {
41
35
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
42
36
  cursor: default;
@@ -105,7 +99,7 @@
105
99
  &.with-title .cards-table-row > .cards-table-cell:first-child {
106
100
  @include typography.cards-table-list-highlight-text;
107
101
  }
108
-
102
+
109
103
  .cards-table-row.disabled {
110
104
  background: color_alias.$neutral-color-50;
111
105
  .cards-table-cell {
@@ -129,7 +123,7 @@
129
123
  > .cards-table-cell {
130
124
  border-color: color_alias.$primary-color-1000;
131
125
  }
132
- }
126
+ }
133
127
  }
134
128
 
135
129
  @media only screen and (max-width: breakpoints.$large) {
@@ -7,7 +7,6 @@ export interface CardsTableProps
7
7
  extends React.ComponentPropsWithoutRef<'table'> {
8
8
  variant?: Variant
9
9
  withTitle?: boolean
10
- isSticky?: boolean
11
10
  }
12
11
 
13
12
  export function CardsTable({
@@ -15,13 +14,11 @@ export function CardsTable({
15
14
  summary,
16
15
  variant = 'primary',
17
16
  withTitle = false,
18
- isSticky = false,
19
17
  children,
20
18
  ...props
21
19
  }: CardsTableProps): React.JSX.Element {
22
20
  const cssClasses = classNames('cards-table-list', variant, className, {
23
21
  'with-title': withTitle,
24
- 'is-sticky': isSticky,
25
22
  })
26
23
  return (
27
24
  <table summary={summary} role="table" className={cssClasses} {...props}>
@@ -37,12 +37,12 @@
37
37
 
38
38
  &:hover {
39
39
  color: color_alias.$primary-color-600;
40
- border-bottom: 1px solid color_alias.$primary-color-600;
40
+ border-bottom: 2px solid color_alias.$primary-color-600;
41
41
  }
42
42
 
43
43
  &.active {
44
44
  color: color_alias.$primary-color-600;
45
- border-bottom: 2px solid color_alias.$primary-color-600;
45
+ border-bottom: 3px solid color_alias.$primary-color-600;
46
46
  }
47
47
 
48
48
  &.disabled {
@@ -6,8 +6,11 @@ import { Meta } from "@storybook/blocks";
6
6
 
7
7
  ## 0.34.7
8
8
 
9
- * Add sticky styles to CardsTable component
10
- * Add opacity style on IconButton secondary variant
9
+ * Fix TabMenu hover link border
10
+
11
+ ## 0.34.6
12
+
13
+ * Fix TabMenu active link border
11
14
 
12
15
  ## 0.34.5
13
16