@faststore/ui 2.0.34-alpha.0 → 2.0.36-alpha.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.36-alpha.0](https://github.com/vtex/faststore/compare/v2.0.35-alpha.0...v2.0.36-alpha.0) (2023-01-05)
7
+
8
+
9
+ ### Chores
10
+
11
+ * Updates `Table` Colored Variant ([#1587](https://github.com/vtex/faststore/issues/1587)) ([04050eb](https://github.com/vtex/faststore/commit/04050eb920fe08ca3b4fe30a3e17fbf9dbedff44))
12
+
13
+
14
+
15
+ ## [2.0.35-alpha.0](https://github.com/vtex/faststore/compare/v2.0.34-alpha.0...v2.0.35-alpha.0) (2023-01-05)
16
+
17
+
18
+ ### Documentation
19
+
20
+ * Updates Components `mdx` files and General Adjusts ([#1575](https://github.com/vtex/faststore/issues/1575)) ([2787bd0](https://github.com/vtex/faststore/commit/2787bd0db083b66f642ac6af2f141e98de87f6fd))
21
+
22
+
23
+
6
24
  ## 2.0.34-alpha.0 (2023-01-04)
7
25
 
8
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/ui",
3
- "version": "2.0.34-alpha.0",
3
+ "version": "2.0.36-alpha.0",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -67,5 +67,5 @@
67
67
  "node": "16.18.0",
68
68
  "yarn": "1.19.1"
69
69
  },
70
- "gitHead": "4386f1c780f536219f7b170f956055af35522564"
70
+ "gitHead": "7d74c91fa7e2e91c8d9a70b37ec0d7f9381f1503"
71
71
  }
@@ -115,6 +115,7 @@
115
115
  padding: var(--fs-button-padding);
116
116
  font-size: var(--fs-button-text-size);
117
117
  font-weight: var(--fs-button-text-weight);
118
+ line-height: var(--fs-button-text-size);
118
119
  text-decoration: none;
119
120
  cursor: pointer;
120
121
  border: var(--fs-button-border-width) solid var(--fs-button-border-color);
@@ -12,6 +12,7 @@
12
12
  // Head
13
13
  --fs-table-head-weight : var(--fs-text-weight-bold);
14
14
  --fs-table-head-bkg-color : none;
15
+ --fs-table-head-padding-y : var(--fs-spacing-2);
15
16
 
16
17
  // Footer
17
18
  --fs-table-footer-weight : var(--fs-table-head-weight);
@@ -45,6 +46,11 @@
45
46
  &[data-fs-table-cell-align="right"] { text-align: right; }
46
47
  }
47
48
 
49
+ thead [data-fs-table-cell="header"] {
50
+ padding-top: var(--fs-table-head-padding-y);
51
+ padding-bottom: var(--fs-table-head-padding-y);
52
+ }
53
+
48
54
  [data-fs-table-cell="header"] { white-space: nowrap; }
49
55
 
50
56
  [data-fs-table-cell="data"] {
@@ -93,17 +99,17 @@
93
99
 
94
100
  [data-fs-table-variant="colored"] {
95
101
  [data-fs-table-body] [data-fs-table-row] {
96
- &:nth-child(even) [data-fs-table-cell="data"],
97
- &:nth-child(even) [data-fs-table-cell="header"] {
102
+ &:nth-child(odd) [data-fs-table-cell="data"],
103
+ &:nth-child(odd) [data-fs-table-cell="header"] {
98
104
  background-color: var(--fs-table-colored-bkg-color);
99
105
  }
100
106
 
101
- &:nth-child(even) [data-fs-table-cell="data"] {
107
+ &:nth-child(odd) [data-fs-table-cell="data"] {
102
108
  border-top-right-radius: var(--fs-table-colored-border-radius);
103
109
  border-bottom-right-radius: var(--fs-table-colored-border-radius);
104
110
  }
105
111
 
106
- &:nth-child(even) [data-fs-table-cell="header"] {
112
+ &:nth-child(odd) [data-fs-table-cell="header"] {
107
113
  border-top-left-radius: var(--fs-table-colored-border-radius);
108
114
  border-bottom-left-radius: var(--fs-table-colored-border-radius);
109
115
  }