@stoker-platform/web-app 0.5.180 → 0.5.182

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
@@ -1,5 +1,17 @@
1
1
  # @stoker-platform/web-app
2
2
 
3
+ ## 0.5.182
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: improve list metric responsiveness
8
+
9
+ ## 0.5.181
10
+
11
+ ### Patch Changes
12
+
13
+ - fix: filter by end of selected end date in range picker
14
+
3
15
  ## 0.5.180
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-app",
3
- "version": "0.5.180",
3
+ "version": "0.5.182",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "scripts": {
package/src/DateRange.tsx CHANGED
@@ -97,6 +97,10 @@ export function DateRangeSelector({
97
97
  }
98
98
  }
99
99
 
100
+ if (value.to) {
101
+ value = { ...value, to: DateTime.fromJSDate(value.to).endOf("day").toJSDate() }
102
+ }
103
+
100
104
  if (!rangeFilter) return
101
105
 
102
106
  setRange(value)
package/src/List.tsx CHANGED
@@ -1518,8 +1518,8 @@ export function List({
1518
1518
  key={`metric-${index}`}
1519
1519
  className={"grid gap-3 place-content-center"}
1520
1520
  >
1521
- <Card className="p-4 flex flex-col min-w-[175px] place-content-center items-center bg-blue-500 dark:bg-blue-500/50 text-primary-foreground dark:text-primary">
1522
- <div className="font-semibold line-clamp-1 text-center">
1521
+ <Card className="p-4 flex flex-col min-w-fit place-content-center items-center bg-blue-500 dark:bg-blue-500/50 text-primary-foreground dark:text-primary">
1522
+ <div className="font-semibold text-center">
1523
1523
  {/* eslint-disable-next-line security/detect-object-injection */}
1524
1524
  {metricTitle}: {metricsValues[index] as string}
1525
1525
  </div>