@genspectrum/dashboard-components 0.4.2 → 0.4.3

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/dist/style.css CHANGED
@@ -376,7 +376,7 @@ input[type="range"] {
376
376
  background-color: #C6C6C6;
377
377
  pointer-events: none;
378
378
  }/*
379
- ! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
379
+ ! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
380
380
  *//*
381
381
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
382
382
  2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
@@ -835,6 +835,10 @@ html {
835
835
  -webkit-tap-highlight-color: transparent;
836
836
  }
837
837
 
838
+ * {
839
+ scrollbar-color: currentColor transparent;
840
+ }
841
+
838
842
  :root {
839
843
  color-scheme: light;
840
844
  --in: 72.06% 0.191 231.6;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genspectrum/dashboard-components",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "GenSpectrum web components for building dashboards",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",
@@ -11,7 +11,6 @@ import {
11
11
  type PresetOptionValues,
12
12
  } from './selectableOptions';
13
13
  import { ErrorBoundary } from '../components/error-boundary';
14
- import { ResizeContainer } from '../components/resize-container';
15
14
  import { Select } from '../components/select';
16
15
  import type { ScaleType } from '../shared/charts/getYAxisScale';
17
16
 
@@ -41,7 +40,7 @@ export const DateRangeSelector = <CustomLabel extends string>({
41
40
 
42
41
  return (
43
42
  <ErrorBoundary size={size}>
44
- <ResizeContainer size={size}>
43
+ <div style={{ width }}>
45
44
  <DateRangeSelectorInner
46
45
  customSelectOptions={customSelectOptions}
47
46
  earliestDate={earliestDate}
@@ -50,7 +49,7 @@ export const DateRangeSelector = <CustomLabel extends string>({
50
49
  initialDateFrom={initialDateFrom}
51
50
  initialDateTo={initialDateTo}
52
51
  />
53
- </ResizeContainer>
52
+ </div>
54
53
  </ErrorBoundary>
55
54
  );
56
55
  };