@haniffalab/cherita-react 1.4.1-dev.2025-10-20.528e0f75 → 1.4.1-dev.2025-10-22.61540191

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 (50) hide show
  1. package/dist/cjs/components/dotplot/Dotplot.js +23 -15
  2. package/dist/cjs/components/full-page/FullPage.js +32 -30
  3. package/dist/cjs/components/full-page/PlotAlert.js +36 -0
  4. package/dist/cjs/components/full-page/PlotTypeSelector.js +77 -39
  5. package/dist/cjs/components/heatmap/Heatmap.js +23 -15
  6. package/dist/cjs/components/icons/DotPlotIcon.js +58 -0
  7. package/dist/cjs/components/icons/HeatmapIcon.js +39 -0
  8. package/dist/cjs/components/icons/MatrixPlotIcon.1.js +51 -0
  9. package/dist/cjs/components/icons/MatrixPlotIcon.js +53 -0
  10. package/dist/cjs/components/icons/ScatterplotIcon.1.js +158 -0
  11. package/dist/cjs/components/icons/ScatterplotIcon.js +138 -0
  12. package/dist/cjs/components/icons/ViolinPlotIcon.js +34 -0
  13. package/dist/cjs/components/matrixplot/Matrixplot.js +25 -17
  14. package/dist/cjs/components/pseudospatial/Pseudospatial.js +64 -25
  15. package/dist/cjs/components/pseudospatial/PseudospatialToolbar.js +63 -15
  16. package/dist/cjs/components/violin/Violin.js +41 -30
  17. package/dist/cjs/context/DatasetContext.js +1 -1
  18. package/dist/cjs/context/SettingsContext.js +27 -3
  19. package/dist/cjs/utils/StyledTooltip.js +39 -0
  20. package/dist/css/cherita.css +37 -22
  21. package/dist/css/cherita.css.map +1 -1
  22. package/dist/esm/components/dotplot/Dotplot.js +22 -13
  23. package/dist/esm/components/full-page/FullPage.js +6 -3
  24. package/dist/esm/components/full-page/PlotAlert.js +30 -0
  25. package/dist/esm/components/full-page/PlotTypeSelector.js +76 -38
  26. package/dist/esm/components/heatmap/Heatmap.js +22 -13
  27. package/dist/esm/components/icons/DotPlotIcon.js +52 -0
  28. package/dist/esm/components/icons/HeatmapIcon.js +33 -0
  29. package/dist/esm/components/icons/MatrixPlotIcon.1.js +45 -0
  30. package/dist/esm/components/icons/MatrixPlotIcon.js +47 -0
  31. package/dist/esm/components/icons/ScatterplotIcon.1.js +152 -0
  32. package/dist/esm/components/icons/ScatterplotIcon.js +132 -0
  33. package/dist/esm/components/icons/ViolinPlotIcon.js +28 -0
  34. package/dist/esm/components/matrixplot/Matrixplot.js +24 -15
  35. package/dist/esm/components/pseudospatial/Pseudospatial.js +58 -18
  36. package/dist/esm/components/pseudospatial/PseudospatialToolbar.js +52 -4
  37. package/dist/esm/components/violin/Violin.js +36 -24
  38. package/dist/esm/context/DatasetContext.js +1 -1
  39. package/dist/esm/context/SettingsContext.js +27 -3
  40. package/dist/esm/utils/StyledTooltip.js +33 -0
  41. package/package.json +2 -2
  42. package/scss/cherita.scss +19 -1
  43. package/scss/components/layouts.scss +2 -21
  44. package/scss/components/plotly.scss +37 -26
  45. package/scss/components/plots.scss +14 -1
  46. package/dist/assets/images/plots/dotplot.svg +0 -152
  47. package/dist/assets/images/plots/heatmap.svg +0 -193
  48. package/dist/assets/images/plots/matrixplot.svg +0 -275
  49. package/dist/assets/images/plots/scatterplot.svg +0 -198
  50. package/dist/assets/images/plots/violin.svg +0 -50
@@ -1,198 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- version="1.1"
6
- id="svg1"
7
- width="299.52322"
8
- height="282.82245"
9
- viewBox="0 0 299.52322 282.82245"
10
- sodipodi:docname="umap.svg"
11
- inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
12
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
14
- xmlns="http://www.w3.org/2000/svg"
15
- xmlns:svg="http://www.w3.org/2000/svg">
16
- <defs
17
- id="defs1" />
18
- <sodipodi:namedview
19
- id="namedview1"
20
- pagecolor="#ffffff"
21
- bordercolor="#000000"
22
- borderopacity="0.25"
23
- inkscape:showpageshadow="2"
24
- inkscape:pageopacity="0.0"
25
- inkscape:pagecheckerboard="0"
26
- inkscape:deskcolor="#d1d1d1"
27
- inkscape:zoom="0.51375727"
28
- inkscape:cx="883.68579"
29
- inkscape:cy="221.89467"
30
- inkscape:window-width="1854"
31
- inkscape:window-height="1011"
32
- inkscape:window-x="0"
33
- inkscape:window-y="0"
34
- inkscape:window-maximized="1"
35
- inkscape:current-layer="g1" />
36
- <g
37
- inkscape:groupmode="layer"
38
- inkscape:label="Image"
39
- id="g1"
40
- transform="translate(-61.989251,-346.50722)">
41
- <circle
42
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
43
- id="path1"
44
- cx="151.91397"
45
- cy="358.70969"
46
- r="11.870968" />
47
- <circle
48
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
49
- id="path1-3"
50
- cx="100.01968"
51
- cy="380.43903"
52
- r="11.870968" />
53
- <circle
54
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
55
- id="path1-1"
56
- cx="122.81537"
57
- cy="406.75085"
58
- r="11.870968" />
59
- <circle
60
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
61
- id="path1-36"
62
- cx="157.06268"
63
- cy="398.81537"
64
- r="11.870968" />
65
- <circle
66
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
67
- id="path1-18"
68
- cx="80.761612"
69
- cy="421.50354"
70
- r="11.870968" />
71
- <circle
72
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
73
- id="path1-2"
74
- cx="108.28849"
75
- cy="444.78311"
76
- r="11.870968" />
77
- <circle
78
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
79
- id="path1-22"
80
- cx="142.9229"
81
- cy="445.9874"
82
- r="11.870968" />
83
- <circle
84
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
85
- id="path1-6"
86
- cx="74.191719"
87
- cy="466.75085"
88
- r="11.870968" />
89
- <circle
90
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
91
- id="path1-19"
92
- cx="110.5143"
93
- cy="487.65405"
94
- r="11.870968" />
95
- <circle
96
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
97
- id="path1-5"
98
- cx="147.77235"
99
- cy="484.92288"
100
- r="11.870968" />
101
- <circle
102
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
103
- id="path1-0"
104
- cx="126.1487"
105
- cy="521.36377"
106
- r="11.870968" />
107
- <circle
108
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
109
- id="path1-61"
110
- cx="294.42828"
111
- cy="370.49277"
112
- r="11.870968" />
113
- <circle
114
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
115
- id="path1-65"
116
- cx="260.76163"
117
- cy="401.9444"
118
- r="11.870968" />
119
- <circle
120
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
121
- id="path1-4"
122
- cx="297.76163"
123
- cy="419.99814"
124
- r="11.870968" />
125
- <circle
126
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
127
- id="path1-7"
128
- cx="329.98743"
129
- cy="394.70782"
130
- r="11.870968" />
131
- <circle
132
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
133
- id="path1-78"
134
- cx="349.31"
135
- cy="436.11642"
136
- r="11.870968" />
137
- <circle
138
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
139
- id="path1-31"
140
- cx="314.79388"
141
- cy="462.32074"
142
- r="11.870968" />
143
- <circle
144
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
145
- id="path1-68"
146
- cx="293.4928"
147
- cy="495.1702"
148
- r="11.870968" />
149
- <circle
150
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
151
- id="path1-49"
152
- cx="267.01968"
153
- cy="452.15945"
154
- r="11.870968" />
155
- <circle
156
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
157
- id="path1-71"
158
- cx="216.14873"
159
- cy="530.72931"
160
- r="11.870968" />
161
- <circle
162
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
163
- id="path1-26"
164
- cx="252.67558"
165
- cy="538.61108"
166
- r="11.870968" />
167
- <circle
168
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
169
- id="path1-59"
170
- cx="258.267"
171
- cy="579.61108"
172
- r="11.870968" />
173
- <circle
174
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
175
- id="path1-17"
176
- cx="220.66486"
177
- cy="574.41748"
178
- r="11.870968" />
179
- <circle
180
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
181
- id="path1-9"
182
- cx="184.00893"
183
- cy="559.96588"
184
- r="11.870968" />
185
- <circle
186
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
187
- id="path1-365"
188
- cx="185.79387"
189
- cy="598.26697"
190
- r="11.870968" />
191
- <circle
192
- style="opacity:0.994362;fill:#000000;fill-opacity:1;stroke:#070707;stroke-width:0.663"
193
- id="path1-8"
194
- cx="224.85838"
195
- cy="617.1272"
196
- r="11.870968" />
197
- </g>
198
- </svg>
@@ -1,50 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg
3
- viewBox="0 0 36.994598 39.994202"
4
- x="0px"
5
- y="0px"
6
- version="1.1"
7
- id="svg4"
8
- sodipodi:docname="violin.svg"
9
- inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
10
- width="36.994598"
11
- height="39.994202"
12
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
14
- xmlns="http://www.w3.org/2000/svg"
15
- xmlns:svg="http://www.w3.org/2000/svg">
16
- <defs
17
- id="defs4" />
18
- <sodipodi:namedview
19
- id="namedview4"
20
- pagecolor="#ffffff"
21
- bordercolor="#000000"
22
- borderopacity="0.25"
23
- inkscape:showpageshadow="2"
24
- inkscape:pageopacity="0.0"
25
- inkscape:pagecheckerboard="0"
26
- inkscape:deskcolor="#d1d1d1"
27
- inkscape:zoom="5.757143"
28
- inkscape:cx="17.369727"
29
- inkscape:cy="35.781637"
30
- inkscape:window-width="1854"
31
- inkscape:window-height="1011"
32
- inkscape:window-x="0"
33
- inkscape:window-y="0"
34
- inkscape:window-maximized="1"
35
- inkscape:current-layer="svg4" />
36
- <g
37
- class="secondary"
38
- id="g2"
39
- transform="translate(-12.0029,-8.0029)">
40
- <path
41
- d="M 19.9971,24.5 A 6.3078,6.3078 0 0 0 18.5732,20.8389 7.1479,7.1479 0 0 1 16.9971,16.5 V 16.0029 H 16.0029 V 16.5 a 7.1479,7.1479 0 0 1 -1.5761,4.3389 6.3078,6.3078 0 0 0 -1.4239,3.6611 12.4967,12.4967 0 0 1 -0.4853,3.38 13.5076,13.5076 0 0 0 -0.5147,3.62 6.3078,6.3078 0 0 0 1.4239,3.6611 7.1479,7.1479 0 0 1 1.5761,4.3389 19.2486,19.2486 0 0 0 0.5664,4.7246 13.6883,13.6883 0 0 1 0.4336,3.2754 v 0.4971 h 0.9942 V 47.5 A 13.6883,13.6883 0 0 1 17.4307,44.2246 19.2486,19.2486 0 0 0 17.9971,39.5 7.1479,7.1479 0 0 1 19.5732,35.1611 6.3078,6.3078 0 0 0 20.9971,31.5 13.5076,13.5076 0 0 0 20.4824,27.88 12.4967,12.4967 0 0 1 19.9971,24.5 Z"
42
- id="path1" />
43
- <path
44
- d="M 34.6436,12.6963 C 32.8506,11.5537 30.9971,10.3711 30.9971,8.5 V 8.0029 H 30.0029 V 8.5 c 0,1.8711 -1.8535,3.0537 -3.6465,4.1963 -1.7246,1.1006 -3.3535,2.1387 -3.3535,3.8037 0,1.6152 1.2188,2.7031 2.3975,3.7549 1.2793,1.1426 2.6025,2.3242 2.6025,4.2451 a 18.1508,18.1508 0 0 1 -0.542,4.5068 14.5,14.5 0 0 0 -0.458,3.4932 6.038,6.038 0 0 0 1.6,3.7979 5.179,5.179 0 0 1 1.4,3.2021 v 0.4971 h 0.9942 V 39.5 a 5.179,5.179 0 0 1 1.4,-3.2021 6.038,6.038 0 0 0 1.6,-3.7979 14.5,14.5 0 0 0 -0.458,-3.4932 18.1508,18.1508 0 0 1 -0.542,-4.5068 c 0,-1.9209 1.3232,-3.1025 2.6025,-4.2451 1.1787,-1.0518 2.3975,-2.14 2.3975,-3.7549 0,-1.665 -1.6289,-2.7031 -3.3535,-3.8037 z"
45
- id="path3" />
46
- <path
47
- d="M 47.3975,35.7021 A 5.179,5.179 0 0 1 45.9975,32.5 14.5,14.5 0 0 0 45.5395,29.0068 18.1508,18.1508 0 0 1 44.9975,24.5 V 24.0029 H 44.0033 V 24.5 a 18.1508,18.1508 0 0 1 -0.542,4.5068 14.5,14.5 0 0 0 -0.458,3.4932 5.179,5.179 0 0 1 -1.4,3.2021 6.038,6.038 0 0 0 -1.6,3.7979 c 0,1.582 0.9717,2.667 1.9121,3.7158 1.0264,1.1455 2.0879,2.3311 2.0879,4.2842 v 0.4971 h 0.9942 V 47.5 c 0,-1.9531 1.0615,-3.1387 2.0879,-4.2842 0.94,-1.0488 1.9121,-2.1338 1.9121,-3.7158 a 6.038,6.038 0 0 0 -1.6,-3.7979 z"
48
- id="path2" />
49
- </g>
50
- </svg>