@genspectrum/dashboard-components 0.6.12 → 0.6.13

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.
@@ -997,14 +997,14 @@ declare global {
997
997
 
998
998
  declare global {
999
999
  interface HTMLElementTagNameMap {
1000
- 'gs-aggregate-component': AggregateComponent;
1000
+ 'gs-mutations-over-time-component': MutationsOverTimeComponent;
1001
1001
  }
1002
1002
  }
1003
1003
 
1004
1004
 
1005
1005
  declare global {
1006
1006
  interface HTMLElementTagNameMap {
1007
- 'gs-mutations-over-time-component': MutationsOverTimeComponent;
1007
+ 'gs-aggregate-component': AggregateComponent;
1008
1008
  }
1009
1009
  }
1010
1010
 
@@ -1041,21 +1041,21 @@ declare global {
1041
1041
 
1042
1042
  declare global {
1043
1043
  interface HTMLElementTagNameMap {
1044
- 'gs-lineage-filter': LineageFilterComponent;
1044
+ 'gs-mutation-filter': MutationFilterComponent;
1045
1045
  }
1046
1046
  interface HTMLElementEventMap {
1047
- 'gs-lineage-filter-changed': CustomEvent<Record<string, string>>;
1047
+ 'gs-mutation-filter-changed': CustomEvent<SelectedMutationFilterStrings>;
1048
+ 'gs-mutation-filter-on-blur': CustomEvent<SelectedMutationFilterStrings>;
1048
1049
  }
1049
1050
  }
1050
1051
 
1051
1052
 
1052
1053
  declare global {
1053
1054
  interface HTMLElementTagNameMap {
1054
- 'gs-mutation-filter': MutationFilterComponent;
1055
+ 'gs-lineage-filter': LineageFilterComponent;
1055
1056
  }
1056
1057
  interface HTMLElementEventMap {
1057
- 'gs-mutation-filter-changed': CustomEvent<SelectedMutationFilterStrings>;
1058
- 'gs-mutation-filter-on-blur': CustomEvent<SelectedMutationFilterStrings>;
1058
+ 'gs-lineage-filter-changed': CustomEvent<Record<string, string>>;
1059
1059
  }
1060
1060
  }
1061
1061
 
package/dist/style.css CHANGED
@@ -2212,30 +2212,6 @@ input.tab:checked + .tab-content,
2212
2212
  background-position: calc(0% + 12px) calc(1px + 50%),
2213
2213
  calc(0% + 16px) calc(1px + 50%);
2214
2214
  }
2215
- .skeleton {
2216
- border-radius: var(--rounded-box, 1rem);
2217
- --tw-bg-opacity: 1;
2218
- background-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));
2219
- will-change: background-position;
2220
- animation: skeleton 1.8s ease-in-out infinite;
2221
- background-image: linear-gradient(
2222
- 105deg,
2223
- transparent 0%,
2224
- transparent 40%,
2225
- var(--fallback-b1,oklch(var(--b1)/1)) 50%,
2226
- transparent 60%,
2227
- transparent 100%
2228
- );
2229
- background-size: 200% auto;
2230
- background-repeat: no-repeat;
2231
- background-position-x: -50%;
2232
- }
2233
- @media (prefers-reduced-motion) {
2234
-
2235
- .skeleton {
2236
- animation-duration: 15s;
2237
- }
2238
- }
2239
2215
  @keyframes skeleton {
2240
2216
 
2241
2217
  from {
@@ -3306,6 +3282,10 @@ input.tab:checked + .tab-content,
3306
3282
  --tw-text-opacity: 1;
3307
3283
  color: rgb(75 85 99 / var(--tw-text-opacity));
3308
3284
  }
3285
+ .text-neutral-500 {
3286
+ --tw-text-opacity: 1;
3287
+ color: rgb(115 115 115 / var(--tw-text-opacity));
3288
+ }
3309
3289
  .text-red-700 {
3310
3290
  --tw-text-opacity: 1;
3311
3291
  color: rgb(185 28 28 / var(--tw-text-opacity));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genspectrum/dashboard-components",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "description": "GenSpectrum web components for building dashboards",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",
@@ -1,5 +1,12 @@
1
1
  import { type FunctionComponent } from 'preact';
2
2
 
3
3
  export const LoadingDisplay: FunctionComponent = () => {
4
- return <div aria-label={'Loading'} className='h-full w-full skeleton' />;
4
+ return (
5
+ <div
6
+ aria-label={'Loading'}
7
+ className='h-full w-full border-2 border-gray-100 rounded-md flex justify-center items-center'
8
+ >
9
+ <div className='loading loading-spinner loading-md text-neutral-500' />
10
+ </div>
11
+ );
5
12
  };