@reshape-biotech/design-system 2.0.1 → 2.0.2
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);
|
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
|
|
200
|
-
halo: annotationOutputBaseColors.halo
|
|
201
|
-
seed: annotationOutputBaseColors.seed
|
|
202
|
-
seedling: annotationOutputBaseColors.seedling
|
|
203
|
-
leaf: annotationOutputBaseColors.leaf
|
|
204
|
-
insect: annotationOutputBaseColors.insect
|
|
205
|
-
egg: annotationOutputBaseColors.egg
|
|
206
|
-
food: annotationOutputBaseColors.food
|
|
207
|
-
positive: annotationOutputBaseColors.positive
|
|
208
|
-
negative: annotationOutputBaseColors.negative
|
|
209
|
-
review: annotationOutputBaseColors.review
|
|
210
|
-
tntc: annotationOutputBaseColors.tntc
|
|
211
|
-
contaminated: annotationOutputBaseColors.contaminated
|
|
212
|
-
countable: annotationOutputBaseColors.countable
|
|
213
|
-
full_growth: annotationOutputBaseColors.full_growth
|
|
214
|
-
reduced_growth: annotationOutputBaseColors.reduced_growth
|
|
215
|
-
dotted_growth: annotationOutputBaseColors.dotted_growth
|
|
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],
|