@reshape-biotech/design-system 0.0.52 → 1.1.1

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.
Files changed (184) hide show
  1. package/dist/components/activity/Activity.stories.svelte +21 -8
  2. package/dist/components/activity/Activity.svelte +49 -9
  3. package/dist/components/activity/Activity.svelte.d.ts +1 -1
  4. package/dist/components/avatar/Avatar.stories.svelte +7 -17
  5. package/dist/components/avatar/Avatar.svelte +2 -2
  6. package/dist/components/avatar/Avatar.svelte.d.ts +2 -2
  7. package/dist/components/banner/Banner.stories.svelte +5 -5
  8. package/dist/components/button/Button.stories.svelte +54 -21
  9. package/dist/components/button/Button.svelte +58 -11
  10. package/dist/components/button/Button.svelte.d.ts +4 -3
  11. package/dist/components/card/Card.stories.svelte +130 -0
  12. package/dist/components/card/Card.stories.svelte.d.ts +19 -0
  13. package/dist/components/card/Card.svelte +25 -0
  14. package/dist/components/card/Card.svelte.d.ts +10 -0
  15. package/dist/components/card/index.d.ts +1 -0
  16. package/dist/components/card/index.js +1 -0
  17. package/dist/components/checkbox/Checkbox.stories.svelte +22 -0
  18. package/dist/components/checkbox/Checkbox.stories.svelte.d.ts +19 -0
  19. package/dist/components/checkbox/Checkbox.svelte +24 -0
  20. package/dist/components/checkbox/Checkbox.svelte.d.ts +5 -0
  21. package/dist/components/checkbox/index.d.ts +1 -0
  22. package/dist/components/checkbox/index.js +1 -0
  23. package/dist/components/collapsible/Collapsible.stories.svelte +5 -4
  24. package/dist/components/collapsible/components/collapsible-trigger.svelte +1 -1
  25. package/dist/components/combobox/Combobox.stories.svelte +7 -5
  26. package/dist/components/combobox/components/combobox-add.svelte +2 -1
  27. package/dist/components/combobox/components/combobox-content.svelte +4 -0
  28. package/dist/components/combobox/types.d.ts +2 -0
  29. package/dist/components/datepicker/DatePicker.stories.svelte +8 -14
  30. package/dist/components/divider/Divider.stories.svelte +1 -3
  31. package/dist/components/divider/Divider.svelte +8 -2
  32. package/dist/components/divider/Divider.svelte.d.ts +2 -0
  33. package/dist/components/drawer/Drawer.stories.svelte +3 -3
  34. package/dist/components/dropdown/Dropdown.stories.svelte +8 -8
  35. package/dist/components/empty-content/EmptyContent.stories.svelte +2 -2
  36. package/dist/components/graphs/bar-chart/BarChart.stories.svelte +81 -0
  37. package/dist/components/graphs/bar-chart/BarChart.stories.svelte.d.ts +19 -0
  38. package/dist/components/graphs/bar-chart/BarChart.svelte +136 -0
  39. package/dist/components/graphs/bar-chart/BarChart.svelte.d.ts +15 -0
  40. package/dist/components/graphs/bar-chart/StackedBarChart.stories.svelte +42 -0
  41. package/dist/components/graphs/bar-chart/StackedBarChart.stories.svelte.d.ts +19 -0
  42. package/dist/components/graphs/bar-chart/StackedBarChart.svelte +177 -0
  43. package/dist/components/graphs/bar-chart/StackedBarChart.svelte.d.ts +16 -0
  44. package/dist/components/graphs/chart/Chart.stories.svelte +31 -23
  45. package/dist/components/graphs/chart/Chart.svelte +104 -32
  46. package/dist/components/graphs/chart/Chart.svelte.d.ts +15 -5
  47. package/dist/components/graphs/index.d.ts +3 -0
  48. package/dist/components/graphs/index.js +3 -0
  49. package/dist/components/graphs/line/LineChart.stories.svelte +107 -15
  50. package/dist/components/graphs/line/LineChart.svelte +90 -51
  51. package/dist/components/graphs/line/LineChart.svelte.d.ts +6 -13
  52. package/dist/components/graphs/matrix/Matrix.stories.svelte +156 -0
  53. package/dist/components/graphs/matrix/Matrix.stories.svelte.d.ts +19 -0
  54. package/dist/components/graphs/matrix/Matrix.svelte +149 -0
  55. package/dist/components/graphs/matrix/Matrix.svelte.d.ts +24 -0
  56. package/dist/components/graphs/matrix/index.d.ts +3 -0
  57. package/dist/components/graphs/matrix/index.js +3 -0
  58. package/dist/components/graphs/multiline/MultiLineChart.stories.svelte +130 -18
  59. package/dist/components/graphs/multiline/MultiLineChart.svelte +187 -50
  60. package/dist/components/graphs/multiline/MultiLineChart.svelte.d.ts +9 -12
  61. package/dist/components/graphs/scatterplot/Scatterplot.stories.svelte +68 -41
  62. package/dist/components/graphs/scatterplot/Scatterplot.svelte +312 -45
  63. package/dist/components/graphs/scatterplot/Scatterplot.svelte.d.ts +23 -13
  64. package/dist/components/graphs/utils/tooltipFormatter.d.ts +10 -0
  65. package/dist/components/graphs/utils/tooltipFormatter.js +52 -0
  66. package/dist/components/icon-button/IconButton.stories.svelte +6 -6
  67. package/dist/components/icon-button/IconButton.svelte +50 -9
  68. package/dist/components/icon-button/IconButton.svelte.d.ts +3 -5
  69. package/dist/components/icons/AnalysisIcon.stories.svelte +15 -21
  70. package/dist/components/icons/AnalysisIcon.svelte +53 -43
  71. package/dist/components/icons/Icon.stories.svelte +4 -4
  72. package/dist/components/icons/Icon.svelte +1 -1
  73. package/dist/components/icons/PrincipalIcon.svelte +96 -0
  74. package/dist/components/icons/PrincipalIcon.svelte.d.ts +10 -0
  75. package/dist/components/icons/custom/Halo.svelte +14 -8
  76. package/dist/components/icons/custom/Halo.svelte.d.ts +7 -25
  77. package/dist/components/icons/custom/Well.svelte +14 -6
  78. package/dist/components/icons/custom/Well.svelte.d.ts +7 -25
  79. package/dist/components/icons/index.d.ts +3 -2
  80. package/dist/components/icons/index.js +26 -0
  81. package/dist/components/input/Input.stories.svelte +16 -22
  82. package/dist/components/input/Input.svelte +140 -134
  83. package/dist/components/input/Input.svelte.d.ts +12 -13
  84. package/dist/components/label/Label.stories.svelte +28 -0
  85. package/dist/components/label/Label.stories.svelte.d.ts +19 -0
  86. package/dist/components/label/Label.svelte +17 -0
  87. package/dist/components/label/Label.svelte.d.ts +9 -0
  88. package/dist/components/list/List.stories.svelte +3 -3
  89. package/dist/components/logo/Logo.stories.svelte +1 -1
  90. package/dist/components/manual-cfu-counter/ManualCFUCounter.stories.svelte +125 -0
  91. package/dist/components/manual-cfu-counter/ManualCFUCounter.stories.svelte.d.ts +3 -0
  92. package/dist/components/manual-cfu-counter/ManualCFUCounter.svelte +577 -0
  93. package/dist/components/manual-cfu-counter/ManualCFUCounter.svelte.d.ts +16 -0
  94. package/dist/components/manual-cfu-counter/index.d.ts +1 -0
  95. package/dist/components/manual-cfu-counter/index.js +1 -0
  96. package/dist/components/manual-cfu-counter/test/ManualCFUCounterTestWrapper.svelte +22 -0
  97. package/dist/components/manual-cfu-counter/test/ManualCFUCounterTestWrapper.svelte.d.ts +19 -0
  98. package/dist/components/markdown/Markdown.stories.svelte +1 -1
  99. package/dist/components/markdown/Markdown.svelte +1 -1
  100. package/dist/components/modal/Modal.stories.svelte +2 -2
  101. package/dist/components/modal/Modal.svelte +27 -22
  102. package/dist/components/modal/Modal.svelte.d.ts +4 -1
  103. package/dist/components/notification-popup/NotificationPopup.stories.svelte +1 -1
  104. package/dist/components/pill/Pill.stories.svelte +13 -0
  105. package/dist/components/pill/Pill.stories.svelte.d.ts +19 -0
  106. package/dist/components/progress-circle/ProgressCircle.stories.svelte +15 -0
  107. package/dist/components/progress-circle/ProgressCircle.stories.svelte.d.ts +19 -0
  108. package/dist/components/required-status-indicator/RequiredStatusIndicator.stories.svelte +28 -0
  109. package/dist/components/required-status-indicator/RequiredStatusIndicator.stories.svelte.d.ts +19 -0
  110. package/dist/components/required-status-indicator/RequiredStatusIndicator.svelte +22 -0
  111. package/dist/components/required-status-indicator/RequiredStatusIndicator.svelte.d.ts +8 -0
  112. package/dist/components/required-status-indicator/index.d.ts +1 -0
  113. package/dist/components/required-status-indicator/index.js +1 -0
  114. package/dist/components/segmented-control-buttons/SegmentedControlButtons.stories.svelte +3 -3
  115. package/dist/components/select/Select.stories.svelte +12 -12
  116. package/dist/components/select/Select.svelte +0 -2
  117. package/dist/components/select-new/Select.stories.svelte +219 -0
  118. package/dist/components/select-new/Select.stories.svelte.d.ts +19 -0
  119. package/dist/components/select-new/components/Group.svelte +23 -0
  120. package/dist/components/select-new/components/Group.svelte.d.ts +10 -0
  121. package/dist/components/select-new/components/MultiSelectTrigger.svelte +66 -0
  122. package/dist/components/select-new/components/MultiSelectTrigger.svelte.d.ts +17 -0
  123. package/dist/components/select-new/components/SelectContent.svelte +33 -0
  124. package/dist/components/select-new/components/SelectContent.svelte.d.ts +10 -0
  125. package/dist/components/select-new/components/SelectGroupHeading.svelte +19 -0
  126. package/dist/components/select-new/components/SelectGroupHeading.svelte.d.ts +9 -0
  127. package/dist/components/select-new/components/SelectItem.svelte +41 -0
  128. package/dist/components/select-new/components/SelectItem.svelte.d.ts +9 -0
  129. package/dist/components/select-new/components/SelectTrigger.svelte +48 -0
  130. package/dist/components/select-new/components/SelectTrigger.svelte.d.ts +12 -0
  131. package/dist/components/select-new/index.d.ts +10 -0
  132. package/dist/components/select-new/index.js +12 -0
  133. package/dist/components/select-new/types.d.ts +25 -0
  134. package/dist/components/select-new/types.js +1 -0
  135. package/dist/components/sjsf-wrappers/SjsfNumberInputWrapper.svelte +92 -0
  136. package/dist/components/sjsf-wrappers/SjsfNumberInputWrapper.svelte.d.ts +3 -0
  137. package/dist/components/sjsf-wrappers/SjsfTextInputWrapper.svelte +65 -0
  138. package/dist/components/sjsf-wrappers/SjsfTextInputWrapper.svelte.d.ts +3 -0
  139. package/dist/components/sjsf-wrappers/index.d.ts +2 -0
  140. package/dist/components/sjsf-wrappers/index.js +2 -0
  141. package/dist/components/sjsf-wrappers/sjsfCustomTheme.d.ts +2 -0
  142. package/dist/components/sjsf-wrappers/sjsfCustomTheme.js +8 -0
  143. package/dist/components/skeleton-loader/SkeletonLoader.stories.svelte +4 -4
  144. package/dist/components/slider/Slider.stories.svelte +4 -4
  145. package/dist/components/spinner/Spinner.stories.svelte +13 -0
  146. package/dist/components/spinner/Spinner.stories.svelte.d.ts +19 -0
  147. package/dist/components/stat-card/StatCard.stories.svelte +27 -19
  148. package/dist/components/stat-card/StatCard.svelte +100 -6
  149. package/dist/components/stat-card/StatCard.svelte.d.ts +3 -0
  150. package/dist/components/status-badge/StatusBadge.stories.svelte +6 -6
  151. package/dist/components/status-badge/StatusBadge.svelte +5 -3
  152. package/dist/components/table/Table.stories.svelte +1 -1
  153. package/dist/components/table/components/Td.svelte +3 -2
  154. package/dist/components/table/components/Td.svelte.d.ts +1 -0
  155. package/dist/components/table/components/Tr.svelte +3 -2
  156. package/dist/components/table/components/Tr.svelte.d.ts +1 -0
  157. package/dist/components/tabs/Tabs.stories.svelte +1 -1
  158. package/dist/components/tag/Tag.stories.svelte +38 -7
  159. package/dist/components/tag/Tag.svelte +34 -21
  160. package/dist/components/tag/Tag.svelte.d.ts +1 -1
  161. package/dist/components/textarea/Textarea.stories.svelte +97 -0
  162. package/dist/components/textarea/Textarea.stories.svelte.d.ts +19 -0
  163. package/dist/components/textarea/Textarea.svelte +94 -0
  164. package/dist/components/textarea/Textarea.svelte.d.ts +17 -0
  165. package/dist/components/textarea/index.d.ts +1 -0
  166. package/dist/components/textarea/index.js +1 -0
  167. package/dist/components/toggle/Toggle.stories.svelte +1 -1
  168. package/dist/components/toggle/Toggle.svelte +3 -2
  169. package/dist/components/toggle/Toggle.svelte.d.ts +1 -0
  170. package/dist/components/toggle-icon-button/ToggleIconButton.stories.svelte +173 -0
  171. package/dist/components/toggle-icon-button/ToggleIconButton.stories.svelte.d.ts +19 -0
  172. package/dist/components/toggle-icon-button/ToggleIconButton.svelte +117 -0
  173. package/dist/components/toggle-icon-button/ToggleIconButton.svelte.d.ts +15 -0
  174. package/dist/components/toggle-icon-button/index.d.ts +3 -0
  175. package/dist/components/toggle-icon-button/index.js +3 -0
  176. package/dist/components/tooltip/Tooltip.stories.svelte +6 -6
  177. package/dist/components/tooltip/Tooltip.svelte +1 -1
  178. package/dist/index.d.ts +7 -0
  179. package/dist/index.js +7 -0
  180. package/dist/tailwind-safelist.js +2 -0
  181. package/dist/tailwind.preset.d.ts +2 -0
  182. package/dist/tokens.d.ts +4 -0
  183. package/dist/tokens.js +3 -1
  184. package/package.json +1 -2
@@ -10,29 +10,23 @@
10
10
  });
11
11
  </script>
12
12
 
13
- <Story name="Base">
14
- <AnalysisIcon model="large_colonies" />
15
- </Story>
13
+ <Story name="Base" args={{ model: 'pipeline_large_colonies' }} />
16
14
 
17
- <Story name="Sizes">
18
- <div class="flex flex-col gap-4">
19
- <AnalysisIcon model="large_colonies" size="sm" withBackground />
20
- <AnalysisIcon model="large_colonies" size="md" withBackground />
21
- <AnalysisIcon model="large_colonies" size="lg" withBackground />
22
- <AnalysisIcon model="large_colonies" size="sm" />
23
- <AnalysisIcon model="large_colonies" size="md" />
24
- <AnalysisIcon model="large_colonies" size="lg" />
25
- </div>
15
+ <Story name="Sizes" args={{ model: 'pipeline_large_colonies' }}>
16
+ {#snippet template(args)}
17
+ <div class="flex flex-col gap-4">
18
+ <AnalysisIcon model={args.model} size="sm" withBackground />
19
+ <AnalysisIcon model={args.model} size="md" withBackground />
20
+ <AnalysisIcon model={args.model} size="lg" withBackground />
21
+ <AnalysisIcon model={args.model} size="sm" />
22
+ <AnalysisIcon model={args.model} size="md" />
23
+ <AnalysisIcon model={args.model} size="lg" />
24
+ </div>
25
+ {/snippet}
26
26
  </Story>
27
27
 
28
- <Story name="Halo">
29
- <AnalysisIcon model="halos" />
30
- </Story>
28
+ <Story name="Halo" args={{ model: 'pipeline_halos' }} />
31
29
 
32
- <Story name="Small colonies">
33
- <AnalysisIcon model="small_colonies" />
34
- </Story>
30
+ <Story name="Small colonies" args={{ model: 'pipeline_small_colonies' }} />
35
31
 
36
- <Story name="With background">
37
- <AnalysisIcon model="halos" withBackground />
38
- </Story>
32
+ <Story name="With background" args={{ model: 'pipeline_halos', withBackground: true }} />
@@ -1,10 +1,8 @@
1
1
  <script lang="ts">
2
- import Halo from './custom/Halo.svelte';
2
+ import Icon from './Icon.svelte';
3
3
  import Well from './custom/Well.svelte';
4
- import RadioButton from 'phosphor-svelte/lib/RadioButton';
4
+ import Halo from './custom/Halo.svelte';
5
5
  import type { IconColor, SupportedAnalysisModelIcons } from '.';
6
- import BugBeetle from 'phosphor-svelte/lib/BugBeetle';
7
- import Plant from 'phosphor-svelte/lib/Plant';
8
6
 
9
7
  type Props = {
10
8
  model: SupportedAnalysisModelIcons;
@@ -15,67 +13,79 @@
15
13
 
16
14
  let { model, withBackground, size = 'md', class: className }: Props = $props();
17
15
 
18
- const mapAnalysisToIcon = (analysis: SupportedAnalysisModelIcons) => {
19
- switch (analysis) {
20
- case 'halos':
21
- return Halo;
22
- case 'large_colonies':
23
- case 'pipeline_radial_growth':
24
- return RadioButton;
25
- case 'small_colonies':
26
- case 'sgs_enteros':
27
- return Well;
28
- case 'pipeline_insect_analysis':
29
- return BugBeetle;
30
- case 'pipeline_seed_germination':
31
- return Plant;
32
- case 'pipeline_colony_formation':
16
+ const getIconSize = () => {
17
+ switch (size) {
18
+ case 'sm':
19
+ return 14;
20
+ case 'lg':
21
+ return 20;
33
22
  default:
34
- return Well;
23
+ return 16;
35
24
  }
36
25
  };
37
26
 
38
- const mapAnalysisToColor = (analysis: SupportedAnalysisModelIcons): IconColor => {
27
+ const backgroundColor = (analysis: SupportedAnalysisModelIcons) => {
39
28
  switch (analysis) {
40
- case 'halos':
41
- return 'icon-warning';
42
- case 'large_colonies':
43
- return 'icon-accent';
44
- case 'small_colonies':
29
+ case 'pipeline_halos':
30
+ return 'bg-warning';
31
+ case 'pipeline_large_colonies':
32
+ case 'pipeline_radial_growth':
33
+ return 'bg-accent';
45
34
  case 'sgs_enteros':
46
- case 'pipeline_insect_analysis':
47
- return 'icon-orange';
35
+ return 'bg-orange';
36
+ case 'pipeline_small_colonies':
37
+ case 'pipeline_microbial_colonies':
38
+ return 'bg-sky';
39
+ case 'pipeline_insects':
40
+ return 'bg-orange';
48
41
  case 'pipeline_seed_germination':
49
- return 'icon-success';
42
+ return 'bg-success';
50
43
  default:
51
- return 'icon-primary';
44
+ return 'bg-neutral';
52
45
  }
53
46
  };
54
47
 
55
- const backgroundColor = (analysis: SupportedAnalysisModelIcons) => {
48
+ const mapAnalysisToColor = (analysis: SupportedAnalysisModelIcons): IconColor => {
56
49
  switch (analysis) {
57
- case 'halos':
58
- return 'bg-warning';
59
- case 'large_colonies':
60
- return 'bg-accent';
61
- case 'small_colonies':
50
+ case 'pipeline_halos':
51
+ return 'warning';
52
+ case 'pipeline_large_colonies':
53
+ case 'pipeline_radial_growth':
54
+ return 'accent';
55
+ case 'pipeline_microbial_colonies':
56
+ case 'pipeline_small_colonies':
57
+ return 'blue';
62
58
  case 'sgs_enteros':
63
- case 'pipeline_insect_analysis':
64
- return 'bg-orange';
59
+ return 'lilac';
60
+ case 'pipeline_insects':
61
+ return 'orange';
65
62
  case 'pipeline_seed_germination':
66
- return 'bg-success';
63
+ return 'success';
67
64
  default:
68
- return 'bg-neutral';
65
+ return 'secondary';
69
66
  }
70
67
  };
71
68
  </script>
72
69
 
73
- <!-- svelte-ignore svelte_component_deprecated -->
74
70
  <div
75
- class={`text-${mapAnalysisToColor(model)} ${withBackground ? backgroundColor(model) : ''} ${className} size-${size}`}
71
+ class={`${withBackground ? backgroundColor(model) : ''} ${className} size-${size} shrink-0`}
76
72
  class:withBackground
77
73
  >
78
- <svelte:component this={mapAnalysisToIcon(model)} />
74
+ {#if model === 'pipeline_halos'}
75
+ <Halo size={getIconSize().toString()} color={mapAnalysisToColor(model)} />
76
+ {:else if ['sgs_enteros'].includes(model)}
77
+ <Icon iconName="RadioButton" color={mapAnalysisToColor(model)} size={getIconSize()} />
78
+ {:else if model === 'pipeline_large_colonies' || model === 'pipeline_radial_growth'}
79
+ <Icon iconName="RadioButton" color={mapAnalysisToColor(model)} size={getIconSize()} />
80
+ {:else if model === 'pipeline_small_colonies'}
81
+ <Well size={getIconSize().toString()} color={mapAnalysisToColor(model)} />
82
+ {:else if model === 'pipeline_insects'}
83
+ <Icon iconName="BugBeetle" color={mapAnalysisToColor(model)} size={getIconSize()} />
84
+ {:else if model === 'pipeline_seed_germination'}
85
+ <Icon iconName="Plant" color={mapAnalysisToColor(model)} size={getIconSize()} />
86
+ {:else}
87
+ <Icon iconName="LineSegments" color={mapAnalysisToColor(model)} size={getIconSize()} />
88
+ {/if}
79
89
  </div>
80
90
 
81
91
  <style>
@@ -18,7 +18,7 @@
18
18
  const iconNames = Object.keys(iconMap);
19
19
  </script>
20
20
 
21
- <Story name="All Icons">
21
+ <Story name="All Icons" asChild>
22
22
  <div class="p-4">
23
23
  <h2 class="mb-6 text-xl font-semibold">Icon Gallery</h2>
24
24
  <div class="grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4">
@@ -34,7 +34,7 @@
34
34
  </div>
35
35
  </Story>
36
36
 
37
- <Story name="Icon Sizes">
37
+ <Story name="Icon Sizes" asChild>
38
38
  <div class="p-4">
39
39
  <h2 class="mb-6 text-xl font-semibold">Icon Sizes</h2>
40
40
  <div class="flex flex-wrap items-end gap-8">
@@ -62,7 +62,7 @@
62
62
  </div>
63
63
  </Story>
64
64
 
65
- <Story name="Icon Weights">
65
+ <Story name="Icon Weights" asChild>
66
66
  <div class="p-4">
67
67
  <h2 class="mb-6 text-xl font-semibold">Icon Weights</h2>
68
68
  <div class="flex flex-wrap gap-8">
@@ -94,7 +94,7 @@
94
94
  </div>
95
95
  </Story>
96
96
 
97
- <Story name="Icon Colors">
97
+ <Story name="Icon Colors" asChild>
98
98
  <div class="p-4">
99
99
  <h2 class="mb-6 text-xl font-semibold">Icon Colors</h2>
100
100
  <div class="flex flex-wrap gap-8">
@@ -17,7 +17,7 @@
17
17
  <svelte:component
18
18
  this={renderIcon(iconName ?? 'SealQuestion')}
19
19
  color={color === 'inherit' ? 'currentColor' : textColor[color]}
20
- class={className}
20
+ class={`shrink-0 ${className}`}
21
21
  {weight}
22
22
  width={size ? size : width}
23
23
  height={size ? size : height}
@@ -0,0 +1,96 @@
1
+ <script lang="ts">
2
+ import type { IconColor, SupportedPrincipalIcons } from '.';
3
+ import UsersThree from 'phosphor-svelte/lib/UsersThree';
4
+ import User from 'phosphor-svelte/lib/User';
5
+ import Buildings from 'phosphor-svelte/lib/Buildings';
6
+
7
+ type Props = {
8
+ principal: SupportedPrincipalIcons;
9
+ withBackground?: boolean;
10
+ size?: 'sm' | 'md' | 'lg';
11
+ class?: string;
12
+ };
13
+
14
+ let { principal, withBackground, size = 'md', class: className }: Props = $props();
15
+
16
+ const mapPrincipalToIcon = (principal: SupportedPrincipalIcons) => {
17
+ switch (principal) {
18
+ case 'user':
19
+ return User;
20
+ case 'group':
21
+ return UsersThree;
22
+ case 'organization':
23
+ return Buildings;
24
+ default:
25
+ return User;
26
+ }
27
+ };
28
+
29
+ const mapPrincipalToColor = (principal: SupportedPrincipalIcons): IconColor => {
30
+ switch (principal) {
31
+ case 'user':
32
+ return 'icon-accent';
33
+ case 'group':
34
+ return 'lime';
35
+ case 'organization':
36
+ return 'icon-primary';
37
+ default:
38
+ return 'icon-primary';
39
+ }
40
+ };
41
+
42
+ const backgroundColor = (principal: SupportedPrincipalIcons) => {
43
+ switch (principal) {
44
+ case 'user':
45
+ return 'bg-accent';
46
+ case 'group':
47
+ return 'bg-lime';
48
+ case 'organization':
49
+ return 'bg-neutral';
50
+ default:
51
+ return 'bg-neutral';
52
+ }
53
+ };
54
+ </script>
55
+
56
+ <!-- svelte-ignore svelte_component_deprecated -->
57
+ <div
58
+ class={`text-${mapPrincipalToColor(principal)} ${withBackground ? backgroundColor(principal) : ''} ${className} size-${size} border border-static`}
59
+ class:withBackground
60
+ >
61
+ <svelte:component this={mapPrincipalToIcon(principal)} weight="bold" />
62
+ </div>
63
+
64
+ <style>
65
+ .withBackground {
66
+
67
+ display: flex;
68
+
69
+ align-items: center;
70
+
71
+ justify-content: center;
72
+
73
+ border-radius: 0.375rem
74
+ }
75
+
76
+ .withBackground.size-sm {
77
+
78
+ height: 1.5rem;
79
+
80
+ width: 1.5rem
81
+ }
82
+
83
+ .withBackground.size-md {
84
+
85
+ height: 2rem;
86
+
87
+ width: 2rem
88
+ }
89
+
90
+ .withBackground.size-lg {
91
+
92
+ height: 2.5rem;
93
+
94
+ width: 2.5rem
95
+ }
96
+ </style>
@@ -0,0 +1,10 @@
1
+ import type { SupportedPrincipalIcons } from '.';
2
+ type Props = {
3
+ principal: SupportedPrincipalIcons;
4
+ withBackground?: boolean;
5
+ size?: 'sm' | 'md' | 'lg';
6
+ class?: string;
7
+ };
8
+ declare const PrincipalIcon: import("svelte").Component<Props, {}, "">;
9
+ type PrincipalIcon = ReturnType<typeof PrincipalIcon>;
10
+ export default PrincipalIcon;
@@ -1,32 +1,38 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <script lang="ts">
2
+ import type { IconColor } from '..';
3
+ import { textColor } from '../../../tokens';
4
+
5
+ let { size = '16', color = 'icon-primary' }: { size?: string; color?: IconColor } = $props();
6
+ </script>
7
+
8
+ <svg
9
+ width={size}
10
+ height={size}
11
+ viewBox="0 0 16 16"
12
+ fill={textColor[color]}
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ >
2
15
  <path
3
16
  d="M5.75676 2.08573C5.74306 2.18334 5.74874 2.28269 5.77346 2.37811C5.82345 2.5705 5.94776 2.73518 6.1191 2.83596C6.29043 2.93675 6.49477 2.96539 6.68721 2.91561C7.54813 2.69363 8.45129 2.69363 9.31221 2.91561C9.40845 2.94307 9.50922 2.951 9.60857 2.93892C9.70793 2.92684 9.80386 2.89499 9.89071 2.84526C9.97757 2.79553 10.0536 2.72892 10.1143 2.64935C10.175 2.56978 10.2192 2.47887 10.2442 2.38196C10.2692 2.28506 10.2746 2.18412 10.26 2.08511C10.2455 1.98609 10.2112 1.89099 10.1593 1.80542C10.1074 1.71985 10.0389 1.64553 9.95779 1.58685C9.87672 1.52817 9.78472 1.48631 9.68721 1.46373C8.58036 1.17794 7.41906 1.17794 6.31221 1.46373C6.21677 1.48834 6.12711 1.53153 6.04837 1.59081C5.96962 1.6501 5.90334 1.72432 5.8533 1.80925C5.80327 1.89417 5.77046 1.98812 5.75676 2.08573Z"
4
- fill="#F1B123"
5
17
  />
6
18
  <path
7
19
  d="M1.49596 6.19373C1.80219 5.0925 2.3828 4.08697 3.18346 3.27123C3.25245 3.20093 3.3346 3.14491 3.42524 3.10636C3.51587 3.06781 3.61321 3.0475 3.7117 3.04657C3.81019 3.04564 3.9079 3.06412 3.99924 3.10095C4.09059 3.13778 4.17379 3.19225 4.24409 3.26123C4.31438 3.33022 4.37041 3.41237 4.40895 3.50301C4.4475 3.59364 4.46782 3.69098 4.46875 3.78947C4.46968 3.88796 4.4512 3.98567 4.41437 4.07701C4.37753 4.16836 4.32307 4.25156 4.25409 4.32186C3.63135 4.95586 3.17975 5.73756 2.94159 6.59373C2.89785 6.75179 2.80352 6.89116 2.67303 6.99049C2.54254 7.08983 2.38308 7.14366 2.21909 7.14373C2.15152 7.14367 2.08427 7.13463 2.01909 7.11686C1.9241 7.09062 1.83522 7.04593 1.75752 6.98533C1.67982 6.92474 1.61482 6.84942 1.56624 6.76369C1.51766 6.67796 1.48645 6.5835 1.47439 6.4857C1.46233 6.38791 1.46966 6.28869 1.49596 6.19373Z"
8
- fill="#F1B123"
9
20
  />
10
21
  <path
11
22
  d="M2.58493 8.96394C2.75673 9.05872 2.88454 9.21706 2.94096 9.40498C3.17786 10.2612 3.62816 11.0433 4.24971 11.6781C4.37681 11.8218 4.444 12.0088 4.43747 12.2005C4.43095 12.3922 4.3512 12.5742 4.21463 12.7089C4.07806 12.8436 3.89505 12.9209 3.70324 12.9248C3.51144 12.9287 3.32543 12.859 3.18346 12.73C2.3824 11.9141 1.80175 10.908 1.49596 9.80623C1.44741 9.61612 1.47529 9.41456 1.57362 9.24476C1.67195 9.07497 1.83291 8.95048 2.02197 8.89798C2.21102 8.84548 2.41313 8.86916 2.58493 8.96394Z"
12
- fill="#F1B123"
13
23
  />
14
24
  <path
15
25
  d="M6.68721 13.0844C7.54809 13.3066 8.45133 13.3066 9.31221 13.0844C9.40845 13.0569 9.50922 13.049 9.60857 13.061C9.70793 13.0731 9.80386 13.105 9.89071 13.1547C9.97757 13.2044 10.0536 13.271 10.1143 13.3506C10.175 13.4302 10.2192 13.5211 10.2442 13.618C10.2692 13.7149 10.2746 13.8158 10.26 13.9149C10.2455 14.0139 10.2112 14.109 10.1593 14.1945C10.1074 14.2801 10.0389 14.3544 9.95779 14.4131C9.87672 14.4718 9.78472 14.5137 9.68721 14.5362C8.58036 14.822 7.41906 14.822 6.31221 14.5362C6.21471 14.5137 6.1227 14.4718 6.04163 14.4131C5.96055 14.3544 5.89204 14.2801 5.84013 14.1945C5.78823 14.109 5.75397 14.0139 5.73939 13.9149C5.7248 13.8158 5.73018 13.7149 5.75521 13.618C5.78024 13.5211 5.82441 13.4302 5.88512 13.3506C5.94583 13.271 6.02186 13.2044 6.10871 13.1547C6.19557 13.105 6.2915 13.0731 6.39085 13.061C6.4902 13.049 6.59097 13.0569 6.68721 13.0844Z"
16
- fill="#F1B123"
17
26
  />
18
27
  <path
19
28
  d="M13.4142 8.95472C13.5866 8.85668 13.7909 8.83093 13.9822 8.88311H13.9816C14.0768 8.90907 14.1659 8.95357 14.2439 9.01405C14.3219 9.07454 14.3872 9.14982 14.436 9.23557C14.4848 9.32133 14.5163 9.41588 14.5285 9.5138C14.5407 9.61173 14.5335 9.7111 14.5072 9.80623C14.2008 10.9076 13.6203 11.9133 12.8197 12.7294C12.6803 12.8712 12.4902 12.9519 12.2913 12.9537C12.0924 12.9555 11.901 12.8781 11.7591 12.7387C11.6172 12.5993 11.5365 12.4093 11.5347 12.2104C11.533 12.0115 11.6103 11.82 11.7497 11.6781C12.3724 11.0441 12.824 10.2624 13.0622 9.40623C13.1152 9.2151 13.2418 9.05276 13.4142 8.95472Z"
20
- fill="#F1B123"
21
29
  />
22
30
  <path
23
31
  d="M13.4151 7.03602C13.2433 6.94124 13.1155 6.7829 13.0591 6.59498H13.0585C12.8216 5.73874 12.3713 4.95663 11.7497 4.32186C11.675 4.25309 11.615 4.16986 11.5733 4.07721C11.5317 3.98456 11.5094 3.88442 11.5076 3.78287C11.5059 3.68132 11.5247 3.58047 11.5631 3.48643C11.6015 3.3924 11.6586 3.30714 11.7309 3.23584C11.8033 3.16453 11.8893 3.10865 11.9839 3.0716C12.0785 3.03455 12.1796 3.01709 12.2811 3.02028C12.3826 3.02347 12.4824 3.04725 12.5745 3.09017C12.6665 3.1331 12.7489 3.19427 12.8166 3.26998C13.6176 4.0859 14.1983 5.09195 14.5041 6.19373C14.5526 6.38384 14.5248 6.5854 14.4264 6.7552C14.3281 6.92499 14.1671 7.04948 13.9781 7.10198C13.789 7.15448 13.5869 7.1308 13.4151 7.03602Z"
24
- fill="#F1B123"
25
32
  />
26
33
  <path
27
34
  fill-rule="evenodd"
28
35
  clip-rule="evenodd"
29
36
  d="M7.99976 4.25C5.92869 4.25 4.24976 5.92893 4.24976 8C4.24976 10.0711 5.92869 11.75 7.99976 11.75C10.0708 11.75 11.7498 10.0711 11.7498 8C11.7498 5.92893 10.0708 4.25 7.99976 4.25ZM5.74976 8C5.74976 6.75736 6.75712 5.75 7.99976 5.75C9.2424 5.75 10.2498 6.75736 10.2498 8C10.2498 9.24264 9.2424 10.25 7.99976 10.25C6.75712 10.25 5.74976 9.24264 5.74976 8Z"
30
- fill="#F1B123"
31
37
  />
32
38
  </svg>
@@ -1,26 +1,8 @@
1
- export default Halo;
2
- type Halo = SvelteComponent<{
3
- [x: string]: never;
4
- }, {
5
- [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
1
+ import type { IconColor } from '..';
2
+ type $$ComponentProps = {
3
+ size?: string;
4
+ color?: IconColor;
8
5
  };
9
- declare const Halo: $$__sveltets_2_IsomorphicComponent<{
10
- [x: string]: never;
11
- }, {
12
- [evt: string]: CustomEvent<any>;
13
- }, {}, {}, string>;
14
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
15
- new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
16
- $$bindings?: Bindings;
17
- } & Exports;
18
- (internal: unknown, props: {
19
- $$events?: Events;
20
- $$slots?: Slots;
21
- }): Exports & {
22
- $set?: any;
23
- $on?: any;
24
- };
25
- z_$$bindings?: Bindings;
26
- }
6
+ declare const Halo: import("svelte").Component<$$ComponentProps, {}, "">;
7
+ type Halo = ReturnType<typeof Halo>;
8
+ export default Halo;
@@ -1,26 +1,34 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <script lang="ts">
2
+ import type { IconColor } from '..';
3
+ import { textColor } from '../../../tokens';
4
+
5
+ let { size = '16', color = 'icon-primary' }: { size?: string; color?: IconColor } = $props();
6
+ </script>
7
+
8
+ <svg
9
+ width={size}
10
+ height={size}
11
+ viewBox="0 0 16 16"
12
+ fill={textColor[color]}
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ >
2
15
  <path
3
16
  d="M6.5 10.25C6.5 10.6642 6.16421 11 5.75 11C5.33579 11 5 10.6642 5 10.25C5 9.83579 5.33579 9.5 5.75 9.5C6.16421 9.5 6.5 9.83579 6.5 10.25Z"
4
- fill="#FF7A00"
5
17
  />
6
18
  <path
7
19
  d="M10.5 8C11.0523 8 11.5 7.55228 11.5 7C11.5 6.44772 11.0523 6 10.5 6C9.94771 6 9.5 6.44772 9.5 7C9.5 7.55228 9.94771 8 10.5 8Z"
8
- fill="#FF7A00"
9
20
  />
10
21
  <path
11
22
  d="M11 10.25C11 10.9404 10.4404 11.5 9.75 11.5C9.05964 11.5 8.5 10.9404 8.5 10.25C8.5 9.55964 9.05964 9 9.75 9C10.4404 9 11 9.55964 11 10.25Z"
12
- fill="#FF7A00"
13
23
  />
14
24
  <path
15
25
  fill-rule="evenodd"
16
26
  clip-rule="evenodd"
17
27
  d="M6.25 4.25C5.14543 4.25 4.25 5.14543 4.25 6.25C4.25 7.35457 5.14543 8.25 6.25 8.25C7.35457 8.25 8.25 7.35457 8.25 6.25C8.25 5.14543 7.35457 4.25 6.25 4.25ZM5.75 6.25C5.75 5.97386 5.97386 5.75 6.25 5.75C6.52614 5.75 6.75 5.97386 6.75 6.25C6.75 6.52614 6.52614 6.75 6.25 6.75C5.97386 6.75 5.75 6.52614 5.75 6.25Z"
18
- fill="#FF7A00"
19
28
  />
20
29
  <path
21
30
  fill-rule="evenodd"
22
31
  clip-rule="evenodd"
23
32
  d="M1.25 7.99766C1.25127 4.27081 4.27286 1.25 8 1.25C11.7271 1.25 14.7486 4.27069 14.75 7.99743L14.75 8L14.7499 8.04138C14.7277 11.7367 11.7362 14.728 8.04081 14.7499C8.01175 14.7501 7.98269 14.75 7.95362 14.7498C4.24846 14.7249 1.25229 11.7148 1.25 8.00426L1.25 7.99766ZM8 13.25C6.96165 13.25 5.94662 12.9421 5.08326 12.3652C4.2199 11.7883 3.547 10.9684 3.14964 10.0091C2.75228 9.04978 2.64831 7.99418 2.85088 6.97578C3.05345 5.95738 3.55347 5.02191 4.28769 4.28769C5.02192 3.55346 5.95738 3.05345 6.97578 2.85088C7.30274 2.78584 7.63354 2.7524 7.96375 2.75012L8 2.75L8.03076 2.75009C8.70653 2.75405 9.3786 2.88848 10.0091 3.14963C10.9684 3.54699 11.7883 4.2199 12.3652 5.08326C12.9348 5.93567 13.2422 6.93595 13.2499 7.96054L13.25 8C13.2485 9.39193 12.6949 10.7264 11.7107 11.7107C10.7264 12.6949 9.39193 13.2485 8 13.25Z"
24
- fill="#FF7A00"
25
33
  />
26
34
  </svg>
@@ -1,26 +1,8 @@
1
- export default Well;
2
- type Well = SvelteComponent<{
3
- [x: string]: never;
4
- }, {
5
- [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
1
+ import type { IconColor } from '..';
2
+ type $$ComponentProps = {
3
+ size?: string;
4
+ color?: IconColor;
8
5
  };
9
- declare const Well: $$__sveltets_2_IsomorphicComponent<{
10
- [x: string]: never;
11
- }, {
12
- [evt: string]: CustomEvent<any>;
13
- }, {}, {}, string>;
14
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
15
- new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
16
- $$bindings?: Bindings;
17
- } & Exports;
18
- (internal: unknown, props: {
19
- $$events?: Events;
20
- $$slots?: Slots;
21
- }): Exports & {
22
- $set?: any;
23
- $on?: any;
24
- };
25
- z_$$bindings?: Bindings;
26
- }
6
+ declare const Well: import("svelte").Component<$$ComponentProps, {}, "">;
7
+ type Well = ReturnType<typeof Well>;
8
+ export default Well;
@@ -2,11 +2,12 @@ import type { IconComponentProps } from 'phosphor-svelte';
2
2
  import type { Component } from 'svelte';
3
3
  import type { textColor } from './../../tokens';
4
4
  export type PhosphorIconProps = Component<IconComponentProps, object, ''>;
5
- export type IconName = 'ArrowFatLineRight' | 'ArrowRight' | 'ArrowUpRight' | 'Barcode' | 'Bell' | 'BookOpen' | 'BookOpenText' | 'BowlingBall' | 'Calendar' | 'CalendarBlank' | 'CameraSlash' | 'CaretDown' | 'CaretLeft' | 'CaretRight' | 'CaretUp' | 'CaretUpDown' | 'ChatTeardropDots' | 'Check' | 'CheckCircle' | 'CheckFat' | 'Circle' | 'CircleDashed' | 'CircleHalf' | 'CirclesFour' | 'CirclesThreePlus' | 'Clock' | 'ClockCountdown' | 'Copy' | 'Crop' | 'Cube' | 'Database' | 'DotsThree' | 'DotsThreeOutlineVertical' | 'DownloadSimple' | 'Drop' | 'EnvelopeSimple' | 'Eye' | 'Eyedropper' | 'FileCsv' | 'Flag' | 'Flask' | 'Folder' | 'FolderDashed' | 'FolderSimplePlus' | 'FunnelSimple' | 'Gear' | 'GlobeSimple' | 'GlobeSimpleX' | 'GridFour' | 'Hash' | 'House' | 'ImageSquare' | 'ImagesSquare' | 'Info' | 'Lock' | 'LineSegments' | 'List' | 'MagnifyingGlass' | 'MegaphoneSimple' | 'Moon' | 'Pause' | 'Pencil' | 'PencilSimple' | 'Percent' | 'Phone' | 'Plant' | 'Play' | 'Plus' | 'PlusMinus' | 'Question' | 'RadioButton' | 'SealQuestion' | 'SelectionAll' | 'Share' | 'SidebarSimple' | 'SkipBack' | 'SkipForward' | 'SortAscending' | 'Sparkle' | 'SpinnerGap' | 'SquaresFour' | 'Star' | 'Stop' | 'StopCircle' | 'Sun' | 'Table' | 'Tag' | 'TestTube' | 'Trash' | 'TrashSimple' | 'UserCircle' | 'UserPlus' | 'Video' | 'Warning' | 'WarningCircle' | 'WifiSlash' | 'X';
5
+ export type IconName = 'Aperture' | 'ArrowFatLineRight' | 'ArrowCounterClockwise' | 'ArrowRight' | 'ArrowUpRight' | 'ArrowUpLeft' | 'ArrowUUpLeft' | 'Barcode' | 'Bell' | 'BookOpen' | 'BookOpenText' | 'BowlingBall' | 'BugBeetle' | 'Calendar' | 'CalendarBlank' | 'Camera' | 'CameraSlash' | 'CaretDown' | 'CaretLeft' | 'CaretRight' | 'CaretUp' | 'CaretUpDown' | 'ChatTeardropDots' | 'Check' | 'CheckCircle' | 'CheckFat' | 'Circle' | 'CircleDashed' | 'CircleHalf' | 'CirclesFour' | 'CirclesThreePlus' | 'Clock' | 'ClockCountdown' | 'Copy' | 'Crop' | 'Cube' | 'Database' | 'DotsThree' | 'DotsThreeOutlineVertical' | 'DownloadSimple' | 'Drop' | 'EnvelopeSimple' | 'Eye' | 'Eyedropper' | 'FileCsv' | 'Flag' | 'Flask' | 'Folder' | 'FolderDashed' | 'FolderSimplePlus' | 'FunnelSimple' | 'Gear' | 'GlobeSimple' | 'GlobeSimpleX' | 'GridFour' | 'Hash' | 'House' | 'ImageSquare' | 'ImagesSquare' | 'Info' | 'Lock' | 'LineSegments' | 'List' | 'MagnifyingGlass' | 'MegaphoneSimple' | 'Moon' | 'Minus' | 'Palette' | 'Pause' | 'Pencil' | 'PencilSimple' | 'Percent' | 'Phone' | 'Plant' | 'Play' | 'Plus' | 'PlusMinus' | 'Question' | 'SealCheck' | 'RadioButton' | 'SealQuestion' | 'SealWarning' | 'SelectionAll' | 'Share' | 'SidebarSimple' | 'SkipBack' | 'SkipForward' | 'SignIn' | 'SignOut' | 'SortAscending' | 'Sparkle' | 'SpinnerGap' | 'SquaresFour' | 'Star' | 'Stop' | 'StopCircle' | 'Sun' | 'Table' | 'Tag' | 'Target' | 'TestTube' | 'Trash' | 'TrashSimple' | 'UserCircle' | 'UserPlus' | 'Video' | 'Warning' | 'WarningCircle' | 'WifiSlash' | 'X';
6
6
  export declare const iconMap: Record<IconName, PhosphorIconProps>;
7
7
  export declare function renderIcon(iconName: keyof typeof iconMap): PhosphorIconProps;
8
8
  export type IconColor = keyof typeof textColor;
9
- export type SupportedAnalysisModelIcons = 'halos' | 'large_colonies' | 'small_colonies' | 'sgs_enteros' | 'general_germination_rate_with_tracking' | 'general_germination_rate_without_tracking' | 'pipeline_insect_analysis' | 'pipeline_colony_formation' | 'pipeline_radial_growth' | 'syngenta_health_score_crw' | 'pipeline_seed_germination' | 'syngenta_health_score_faw' | 'syngenta_health_score_sbl' | 'unilever_cfu_count_lowres';
9
+ export type SupportedAnalysisModelIcons = 'pipeline_halos' | 'pipeline_large_colonies' | 'pipeline_microbial_colonies' | 'pipeline_small_colonies' | 'sgs_enteros' | 'general_germination_rate_with_tracking' | 'general_germination_rate_without_tracking' | 'pipeline_insects' | 'pipeline_colony_formation' | 'pipeline_radial_growth' | 'syngenta_health_score_crw' | 'pipeline_seed_germination' | 'syngenta_health_score_faw' | 'syngenta_health_score_sbl' | 'unilever_cfu_count_lowres';
10
+ export type SupportedPrincipalIcons = 'user' | 'group' | 'organization';
10
11
  export { default as Icon } from './Icon.svelte';
11
12
  export type IconProps = {
12
13
  iconName: IconName;
@@ -1,13 +1,19 @@
1
+ import Aperture from 'phosphor-svelte/lib/Aperture';
1
2
  import ArrowFatLineRight from 'phosphor-svelte/lib/ArrowFatLineRight';
3
+ import ArrowCounterClockwise from 'phosphor-svelte/lib/ArrowCounterClockwise';
2
4
  import ArrowRight from 'phosphor-svelte/lib/ArrowRight';
3
5
  import ArrowUpRight from 'phosphor-svelte/lib/ArrowUpRight';
6
+ import ArrowUpLeft from 'phosphor-svelte/lib/ArrowUpLeft';
7
+ import ArrowUUpLeft from 'phosphor-svelte/lib/ArrowUUpLeft';
4
8
  import Barcode from 'phosphor-svelte/lib/Barcode';
5
9
  import Bell from 'phosphor-svelte/lib/Bell';
6
10
  import BookOpen from 'phosphor-svelte/lib/BookOpen';
7
11
  import BookOpenText from 'phosphor-svelte/lib/BookOpenText';
8
12
  import BowlingBall from 'phosphor-svelte/lib/BowlingBall';
13
+ import BugBeetle from 'phosphor-svelte/lib/BugBeetle';
9
14
  import Calendar from 'phosphor-svelte/lib/Calendar';
10
15
  import CalendarBlank from 'phosphor-svelte/lib/CalendarBlank';
16
+ import Camera from 'phosphor-svelte/lib/CameraSlash';
11
17
  import CameraSlash from 'phosphor-svelte/lib/CameraSlash';
12
18
  import CaretDown from 'phosphor-svelte/lib/CaretDown';
13
19
  import CaretLeft from 'phosphor-svelte/lib/CaretLeft';
@@ -58,7 +64,9 @@ import List from 'phosphor-svelte/lib/List';
58
64
  import MagnifyingGlass from 'phosphor-svelte/lib/MagnifyingGlass';
59
65
  import MegaphoneSimple from 'phosphor-svelte/lib/MegaphoneSimple';
60
66
  import Moon from 'phosphor-svelte/lib/Moon';
67
+ import Minus from 'phosphor-svelte/lib/Minus';
61
68
  import Pause from 'phosphor-svelte/lib/Pause';
69
+ import Palette from 'phosphor-svelte/lib/Palette';
62
70
  import Pencil from 'phosphor-svelte/lib/Pencil';
63
71
  import PencilSimple from 'phosphor-svelte/lib/PencilSimple';
64
72
  import Percent from 'phosphor-svelte/lib/Percent';
@@ -68,11 +76,15 @@ import Play from 'phosphor-svelte/lib/Play';
68
76
  import Plus from 'phosphor-svelte/lib/Plus';
69
77
  import PlusMinus from 'phosphor-svelte/lib/PlusMinus';
70
78
  import Question from 'phosphor-svelte/lib/Question';
79
+ import SealCheck from 'phosphor-svelte/lib/SealCheck';
71
80
  import RadioButton from 'phosphor-svelte/lib/RadioButton';
72
81
  import SealQuestion from 'phosphor-svelte/lib/SealQuestion';
82
+ import SealWarning from 'phosphor-svelte/lib/SealWarning';
73
83
  import SelectionAll from 'phosphor-svelte/lib/SelectionAll';
74
84
  import Share from 'phosphor-svelte/lib/Share';
75
85
  import SidebarSimple from 'phosphor-svelte/lib/SidebarSimple';
86
+ import SignIn from 'phosphor-svelte/lib/SignIn';
87
+ import SignOut from 'phosphor-svelte/lib/SignOut';
76
88
  import SkipBack from 'phosphor-svelte/lib/SkipBack';
77
89
  import SkipForward from 'phosphor-svelte/lib/SkipForward';
78
90
  import SortAscending from 'phosphor-svelte/lib/SortAscending';
@@ -85,6 +97,7 @@ import StopCircle from 'phosphor-svelte/lib/StopCircle';
85
97
  import Sun from 'phosphor-svelte/lib/Sun';
86
98
  import Table from 'phosphor-svelte/lib/Table';
87
99
  import Tag from 'phosphor-svelte/lib/Tag';
100
+ import Target from 'phosphor-svelte/lib/Target';
88
101
  import TestTube from 'phosphor-svelte/lib/TestTube';
89
102
  import Trash from 'phosphor-svelte/lib/Trash';
90
103
  import TrashSimple from 'phosphor-svelte/lib/TrashSimple';
@@ -96,16 +109,22 @@ import WarningCircle from 'phosphor-svelte/lib/WarningCircle';
96
109
  import WifiSlash from 'phosphor-svelte/lib/WifiSlash';
97
110
  import X from 'phosphor-svelte/lib/X';
98
111
  export const iconMap = {
112
+ Aperture,
99
113
  ArrowFatLineRight,
114
+ ArrowCounterClockwise,
100
115
  ArrowRight,
101
116
  ArrowUpRight,
117
+ ArrowUpLeft,
118
+ ArrowUUpLeft,
102
119
  Barcode,
103
120
  Bell,
104
121
  BookOpen,
105
122
  BookOpenText,
106
123
  BowlingBall,
124
+ BugBeetle,
107
125
  Calendar,
108
126
  CalendarBlank,
127
+ Camera,
109
128
  CameraSlash,
110
129
  CaretDown,
111
130
  CaretLeft,
@@ -156,6 +175,8 @@ export const iconMap = {
156
175
  MagnifyingGlass,
157
176
  MegaphoneSimple,
158
177
  Moon,
178
+ Minus,
179
+ Palette,
159
180
  Pause,
160
181
  Pencil,
161
182
  PencilSimple,
@@ -167,10 +188,14 @@ export const iconMap = {
167
188
  PlusMinus,
168
189
  RadioButton,
169
190
  Question,
191
+ SealCheck,
170
192
  SealQuestion,
193
+ SealWarning,
171
194
  SelectionAll,
172
195
  Share,
173
196
  SidebarSimple,
197
+ SignIn,
198
+ SignOut,
174
199
  SkipBack,
175
200
  SkipForward,
176
201
  SortAscending,
@@ -183,6 +208,7 @@ export const iconMap = {
183
208
  Sun,
184
209
  Table,
185
210
  Tag,
211
+ Target,
186
212
  TestTube,
187
213
  Trash,
188
214
  TrashSimple,