@pitchfork-ui/react 0.6.0 → 0.7.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.
@@ -1,5 +1,9 @@
1
1
  .pf-heatmap {
2
2
  display: inline-block;
3
+ max-width: 100%;
4
+ /* A full year is wider than small screens — scroll horizontally instead of
5
+ overflowing the page. */
6
+ overflow-x: auto;
3
7
  font-family: var(--font-family-sans);
4
8
  }
5
9
 
@@ -1,6 +1,7 @@
1
1
  .pf-pagination {
2
2
  align-items: center;
3
- display: inline-flex;
3
+ display: flex;
4
+ flex-wrap: wrap;
4
5
  gap: var(--space-2);
5
6
  }
6
7
 
@@ -16,7 +17,9 @@
16
17
 
17
18
  .pf-pagination__list {
18
19
  align-items: center;
19
- display: inline-flex;
20
+ display: flex;
21
+ flex-wrap: wrap;
22
+ justify-content: center;
20
23
  gap: var(--space-2);
21
24
  list-style: none;
22
25
  margin: 0;
package/dist/styles.css CHANGED
@@ -2999,6 +2999,10 @@ body {
2999
2999
  }
3000
3000
  .pf-heatmap {
3001
3001
  display: inline-block;
3002
+ max-width: 100%;
3003
+ /* A full year is wider than small screens — scroll horizontally instead of
3004
+ overflowing the page. */
3005
+ overflow-x: auto;
3002
3006
  font-family: var(--font-family-sans);
3003
3007
  }
3004
3008
 
@@ -4133,7 +4137,8 @@ body {
4133
4137
  }
4134
4138
  .pf-pagination {
4135
4139
  align-items: center;
4136
- display: inline-flex;
4140
+ display: flex;
4141
+ flex-wrap: wrap;
4137
4142
  gap: var(--space-2);
4138
4143
  }
4139
4144
 
@@ -4149,7 +4154,9 @@ body {
4149
4154
 
4150
4155
  .pf-pagination__list {
4151
4156
  align-items: center;
4152
- display: inline-flex;
4157
+ display: flex;
4158
+ flex-wrap: wrap;
4159
+ justify-content: center;
4153
4160
  gap: var(--space-2);
4154
4161
  list-style: none;
4155
4162
  margin: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitchfork-ui/react",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",