@reshape-biotech/design-system 2.0.1 → 2.0.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.
@@ -1,12 +1,13 @@
1
1
  <script lang="ts">
2
2
  interface Props {
3
3
  testID?: string;
4
+ inverted?: boolean;
4
5
  }
5
6
 
6
- let { testID = '' }: Props = $props();
7
+ let { testID = '', inverted = false }: Props = $props();
7
8
  </script>
8
9
 
9
- <div data-testid={testID} class="spinner"></div>
10
+ <div data-testid={testID} class="spinner" class:inverted></div>
10
11
 
11
12
  <style>
12
13
  .spinner {
@@ -19,6 +20,10 @@
19
20
  border-radius: 9999px;
20
21
  }
21
22
 
23
+ .spinner.inverted {
24
+ background: conic-gradient(#0000 10%, white);
25
+ }
26
+
22
27
  @keyframes spinner {
23
28
  to {
24
29
  transform: rotate(1turn);
@@ -1,5 +1,6 @@
1
1
  interface Props {
2
2
  testID?: string;
3
+ inverted?: boolean;
3
4
  }
4
5
  declare const Spinner: import("svelte").Component<Props, {}, "">;
5
6
  type Spinner = ReturnType<typeof Spinner>;
package/dist/tokens.js CHANGED
@@ -196,23 +196,23 @@ const annotationOutputFadedFillColors = {
196
196
  dotted_growth: annotationOutputBaseColors.dotted_growth[10],
197
197
  };
198
198
  const annotationOutputStrokeColors = {
199
- cfu: annotationOutputBaseColors.cfu[75],
200
- halo: annotationOutputBaseColors.halo[75],
201
- seed: annotationOutputBaseColors.seed[75],
202
- seedling: annotationOutputBaseColors.seedling[75],
203
- leaf: annotationOutputBaseColors.leaf[75],
204
- insect: annotationOutputBaseColors.insect[75],
205
- egg: annotationOutputBaseColors.egg[75],
206
- food: annotationOutputBaseColors.food[75],
207
- positive: annotationOutputBaseColors.positive[75],
208
- negative: annotationOutputBaseColors.negative[75],
209
- review: annotationOutputBaseColors.review[75],
210
- tntc: annotationOutputBaseColors.tntc[75],
211
- contaminated: annotationOutputBaseColors.contaminated[75],
212
- countable: annotationOutputBaseColors.countable[75],
213
- full_growth: annotationOutputBaseColors.full_growth[75],
214
- reduced_growth: annotationOutputBaseColors.reduced_growth[75],
215
- dotted_growth: annotationOutputBaseColors.dotted_growth[75],
199
+ cfu: annotationOutputBaseColors.cfu.default,
200
+ halo: annotationOutputBaseColors.halo.default,
201
+ seed: annotationOutputBaseColors.seed.default,
202
+ seedling: annotationOutputBaseColors.seedling.default,
203
+ leaf: annotationOutputBaseColors.leaf.default,
204
+ insect: annotationOutputBaseColors.insect.default,
205
+ egg: annotationOutputBaseColors.egg.default,
206
+ food: annotationOutputBaseColors.food.default,
207
+ positive: annotationOutputBaseColors.positive.default,
208
+ negative: annotationOutputBaseColors.negative.default,
209
+ review: annotationOutputBaseColors.review.default,
210
+ tntc: annotationOutputBaseColors.tntc.default,
211
+ contaminated: annotationOutputBaseColors.contaminated.default,
212
+ countable: annotationOutputBaseColors.countable.default,
213
+ full_growth: annotationOutputBaseColors.full_growth.default,
214
+ reduced_growth: annotationOutputBaseColors.reduced_growth.default,
215
+ dotted_growth: annotationOutputBaseColors.dotted_growth.default,
216
216
  };
217
217
  const annotationOutputFadedStrokeColors = {
218
218
  cfu: annotationOutputBaseColors.cfu[50],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reshape-biotech/design-system",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",