@canmingir/link 1.2.27 → 1.2.30

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 (60) hide show
  1. package/package.json +9 -5
  2. package/src/assets/illustrations/avatar-shape.jsx +6 -7
  3. package/src/assets/illustrations/booking-illustration.jsx +4 -14
  4. package/src/assets/illustrations/check-in-illustration.jsx +4 -10
  5. package/src/assets/illustrations/check-out-illustration.jsx +4 -3
  6. package/src/assets/illustrations/coming-soon-illustration.jsx +4 -17
  7. package/src/assets/illustrations/forbidden-illustration.jsx +4 -12
  8. package/src/assets/illustrations/maintenance-illustration.jsx +4 -24
  9. package/src/assets/illustrations/motivation-illustration.jsx +4 -9
  10. package/src/assets/illustrations/order-complete-illustration.jsx +4 -12
  11. package/src/assets/illustrations/page-not-found-illustration.jsx +4 -9
  12. package/src/assets/illustrations/seo-illustration.jsx +4 -16
  13. package/src/assets/illustrations/sever-error-illustration.jsx +4 -21
  14. package/src/assets/illustrations/upgrade-storage-illustration.jsx +4 -20
  15. package/src/assets/illustrations/upload-illustration.jsx +4 -81
  16. package/src/components/TopNavBar/TopNavBar.jsx +6 -2
  17. package/src/components/file-thumbnail/file-thumbnail.jsx +5 -6
  18. package/src/components/label/label.jsx +0 -4
  19. package/src/components/nav-section/horizontal/nav-section-horizontal.jsx +5 -6
  20. package/src/components/settings/drawer/layout-options.jsx +5 -4
  21. package/src/components/settings/drawer/presets-options.jsx +6 -5
  22. package/src/components/settings/drawer/settings-drawer.jsx +7 -4
  23. package/src/components/settings/drawer/stretch-options.jsx +5 -5
  24. package/src/layouts/DashboardLayout/header.jsx +5 -4
  25. package/src/layouts/DashboardLayout/nav-mini.jsx +5 -7
  26. package/src/layouts/DashboardLayout/nav-vertical.jsx +11 -11
  27. package/src/layouts/FullScreenLayout/FullScreenLayout.jsx +5 -1
  28. package/src/layouts/FullScreenLayout/nav-vertical.jsx +11 -11
  29. package/src/layouts/MainLayout/footer.jsx +7 -7
  30. package/src/layouts/MainLayout/header.jsx +3 -2
  31. package/src/layouts/MainLayout/nav/desktop/nav-list.jsx +8 -8
  32. package/src/layouts/MainLayout/nav/mobile/index.jsx +7 -6
  33. package/src/layouts/TwoSideLayout/TwoSideLayout.jsx +9 -3
  34. package/src/layouts/auth/classic.jsx +6 -6
  35. package/src/layouts/auth/modern.jsx +3 -4
  36. package/src/layouts/common/ProjectBar/index.jsx +13 -11
  37. package/src/layouts/common/header-sim.jsx +3 -2
  38. package/src/layouts/common/header-simple.jsx +6 -3
  39. package/src/layouts/common/notifications-popover/index.jsx +18 -13
  40. package/src/layouts/common/notifications-popover/notification-item.jsx +28 -16
  41. package/src/lib/APIPath/APIPath.jsx +2 -2
  42. package/src/lib/APITree/APITree.jsx +3 -1
  43. package/src/lib/AddItemWizard/AddItemWizard.jsx +21 -10
  44. package/src/lib/CustomBreadcrumbs/CustomBreadcrumbs.jsx +3 -2
  45. package/src/lib/Flow/layouts/CardLayout.jsx +4 -3
  46. package/src/lib/Flow/nodes/DefaultCard.jsx +6 -8
  47. package/src/lib/IconSelector/IconSelector.jsx +5 -1
  48. package/src/lib/ItemSummary/ItemSummary.jsx +11 -6
  49. package/src/lib/ItemSummary/ItemsSummary.jsx +38 -26
  50. package/src/lib/Label/Label.jsx +0 -4
  51. package/src/lib/ResourceMenu/ResourceMenu.jsx +3 -1
  52. package/src/lib/SparkleInput/SparkleInput.jsx +31 -28
  53. package/src/lib/TableSelectedAction/TableSelectedAction.jsx +7 -8
  54. package/src/pages/ConfigError.jsx +3 -1
  55. package/src/theme/index.jsx +47 -48
  56. package/src/theme/overrides/components/loading-button.js +5 -5
  57. package/src/theme/overrides/default-props.jsx +17 -11
  58. package/src/widgets/Login/CognitoLogin.jsx +61 -53
  59. package/src/widgets/Login/DemoLogin.jsx +34 -31
  60. package/src/widgets/SettingsDialog.jsx +45 -19
@@ -18,14 +18,14 @@ function UploadIllustration({ ...other }) {
18
18
  return (
19
19
  <Box
20
20
  component="svg"
21
- width="100%"
22
- height="100%"
23
21
  viewBox="0 0 480 360"
24
22
  xmlns="http://www.w3.org/2000/svg"
25
23
  {...other}
26
- >
24
+ sx={[{
25
+ width: "100%",
26
+ height: "100%"
27
+ }, ...(Array.isArray(other.sx) ? other.sx : [other.sx])]}>
27
28
  <BackgroundShape />
28
-
29
29
  <defs>
30
30
  <linearGradient
31
31
  id="linearGradient-2"
@@ -38,48 +38,41 @@ function UploadIllustration({ ...other }) {
38
38
  <stop offset="100%" />
39
39
  </linearGradient>
40
40
  </defs>
41
-
42
41
  <path
43
42
  fill="#FF4842"
44
43
  fillRule="nonzero"
45
44
  d="M293.006 206.192c-2.248 2.672-4.676 2.628-6.123 2.251l.054-1.384s5.979-2.733 5.827-2.159c-.057.215.057.733.242 1.292zM309.393 209.217c-3.818 2.206-6.058-.38-6.578-1.112.32-.84.801-2.204.703-2.592-.144-.577 5.827 2.155 5.827 2.155l.048 1.549zM305.303 187.204s3.632-2.093 4.425-1.151c.792.942-4.425 1.151-4.425 1.151zM307.497 188.355s-.598.299.721.681c1.318.383-.721-.681-.721-.681zM285.532 182.599c-.123.036 3.022 2.123 5.862.395-.012 0-5.154-.61-5.862-.395zM291.239 186.591s-.861 1.692-2.625 1.943c-1.764.251 2.625-1.943 2.625-1.943zM302.785 190.262s4.138 6.578 3.346 8.129c-.793 1.552-3.346-8.129-3.346-8.129zM294.62 216.416c0 .368 0 .712-.036.996-.107 1.33-3.381.828-3.381.828-2.99.416-4.066-1.019-4.422-2.392a5.444 5.444 0 01-.164-1.363 5.606 5.606 0 01.054-.819v-.272a1.998 1.998 0 011.859.379c1.331 1.08 3.095.252 3.095.252s1.294.107 1.793.538c.281.242.745-.341 1.098-.897.021.359.054 1.007.074 1.701.024.356.03.714.03 1.049z"
46
45
  opacity="0.05"
47
46
  />
48
-
49
47
  <path
50
48
  fill="#FF4842"
51
49
  fillRule="nonzero"
52
50
  d="M289.37 216.339s-.897.879-2.589-.479a5.444 5.444 0 01-.164-1.363c.864.658 2.466 1.842 2.753 1.842zM294.62 216.416a.67.67 0 01-.519.132.672.672 0 01-.452-.287c.348-.266.669-.566.956-.897.009.359.015.717.015 1.052zM301.637 217.032c0 .371 0 .715.033.996.108 1.333 3.382.828 3.382.828 2.989.419 4.066-1.017 4.421-2.392a5.728 5.728 0 00.111-2.182v-.272a2.024 2.024 0 00-1.862.379c-1.331 1.08-3.092.251-3.092.251s-1.294.111-1.794.542c-.281.242-.744-.341-1.094-.897a61.426 61.426 0 00-.078 1.701c-.024.35-.03.708-.027 1.046z"
53
51
  opacity="0.05"
54
52
  />
55
-
56
53
  <path
57
54
  fill="#FF4842"
58
55
  fillRule="nonzero"
59
56
  d="M306.887 216.949s.897.879 2.587-.479c.112-.444.169-.901.167-1.36-.867.655-2.47 1.839-2.754 1.839zM301.637 217.032a.67.67 0 00.969-.155 6.35 6.35 0 01-.957-.897c-.009.356-.014.714-.012 1.052zM319.614 106.269c.063-.138.123-.275.18-.41.057-.134.077-.209.11-.317-.11.237-.206.48-.29.727z"
60
57
  opacity="0.05"
61
58
  />
62
-
63
59
  <path
64
60
  fill={PRIMARY_DARKER}
65
61
  fillRule="nonzero"
66
62
  d="M157.592 279.461a4.114 4.114 0 01-.917-3.131l13.196-107.979 1.094-8.97a4.142 4.142 0 014.078-3.635l38.654-.257a4.135 4.135 0 004.108-4.249l-.015-.409a4.14 4.14 0 014.135-4.279h40.619a4.134 4.134 0 014.098 4.682 4.137 4.137 0 003.995 4.682l39.01.996a4.13 4.13 0 013.97 4.831l-19.502 113.909-.368 2.152a4.042 4.042 0 01-.598 1.543l-135.557.114z"
67
63
  />
68
-
69
64
  <path
70
65
  fill="#FFF"
71
66
  fillRule="nonzero"
72
67
  d="M251.256817 123.296578L274.098317 123.296578 274.098317 200.823078 251.256817 200.823078z"
73
68
  transform="rotate(34.64 262.678 162.06)"
74
69
  />
75
-
76
70
  <path
77
71
  fill="#FFC107"
78
72
  fillRule="nonzero"
79
73
  d="M270.624591 129.857671L286.750291 129.857671 286.750291 145.983371 270.624591 145.983371z"
80
74
  transform="rotate(34.804 278.687 137.92)"
81
75
  />
82
-
83
76
  <path
84
77
  fill="#FFC107"
85
78
  fillRule="nonzero"
@@ -87,7 +80,6 @@ function UploadIllustration({ ...other }) {
87
80
  opacity="0.5"
88
81
  transform="rotate(34.64 268.35 153.887)"
89
82
  />
90
-
91
83
  <path
92
84
  fill="#FFC107"
93
85
  fillRule="nonzero"
@@ -95,21 +87,18 @@ function UploadIllustration({ ...other }) {
95
87
  opacity="0.3"
96
88
  transform="rotate(34.64 257.265 169.926)"
97
89
  />
98
-
99
90
  <path
100
91
  fill="#FFF"
101
92
  fillRule="nonzero"
102
93
  d="M237.472537 121.334214L260.314037 121.334214 260.314037 198.567714 237.472537 198.567714z"
103
94
  transform="rotate(16.29 248.893 159.951)"
104
95
  />
105
-
106
96
  <path
107
97
  fill="#FF4842"
108
98
  fillRule="nonzero"
109
99
  d="M249.053192 123.761554L265.200692 123.761554 265.200692 139.909054 249.053192 139.909054z"
110
100
  transform="rotate(16.29 257.127 131.835)"
111
101
  />
112
-
113
102
  <path
114
103
  fill="#FF4842"
115
104
  fillRule="nonzero"
@@ -117,7 +106,6 @@ function UploadIllustration({ ...other }) {
117
106
  opacity="0.5"
118
107
  transform="rotate(16.29 251.658 150.547)"
119
108
  />
120
-
121
109
  <path
122
110
  fill="#FF4842"
123
111
  fillRule="nonzero"
@@ -125,21 +113,18 @@ function UploadIllustration({ ...other }) {
125
113
  opacity="0.3"
126
114
  transform="rotate(16.29 246.19 169.256)"
127
115
  />
128
-
129
116
  <path
130
117
  fill="#FFF"
131
118
  fillRule="nonzero"
132
119
  d="M230.099192 121.641542L252.940692 121.641542 252.940692 198.875042 230.099192 198.875042z"
133
120
  transform="rotate(4.6 241.52 160.258)"
134
121
  />
135
-
136
122
  <path
137
123
  fill="#1890FF"
138
124
  fillRule="nonzero"
139
125
  d="M235.800489 122.985499L251.947989 122.985499 251.947989 139.132999 235.800489 139.132999z"
140
126
  transform="rotate(4.6 243.874 131.06)"
141
127
  />
142
-
143
128
  <path
144
129
  fill="#1890FF"
145
130
  fillRule="nonzero"
@@ -147,7 +132,6 @@ function UploadIllustration({ ...other }) {
147
132
  opacity="0.5"
148
133
  transform="rotate(4.6 242.308 150.487)"
149
134
  />
150
-
151
135
  <path
152
136
  fill="#1890FF"
153
137
  fillRule="nonzero"
@@ -155,21 +139,18 @@ function UploadIllustration({ ...other }) {
155
139
  opacity="0.3"
156
140
  transform="rotate(4.6 240.746 169.92)"
157
141
  />
158
-
159
142
  <path
160
143
  fill="#FFF"
161
144
  fillRule="nonzero"
162
145
  d="M224.736657 123.384871L247.578157 123.384871 247.578157 200.618371 224.736657 200.618371z"
163
146
  transform="rotate(-2.61 236.157 162.002)"
164
147
  />
165
-
166
148
  <path
167
149
  fill={PRIMARY_MAIN}
168
150
  fillRule="nonzero"
169
151
  d="M226.751283 124.659968L242.898783 124.659968 242.898783 140.807468 226.751283 140.807468z"
170
152
  transform="rotate(-2.61 234.825 132.734)"
171
153
  />
172
-
173
154
  <path
174
155
  fill={PRIMARY_MAIN}
175
156
  fillRule="nonzero"
@@ -177,7 +158,6 @@ function UploadIllustration({ ...other }) {
177
158
  opacity="0.5"
178
159
  transform="rotate(-2.862 236.39 151.563)"
179
160
  />
180
-
181
161
  <path
182
162
  fill={PRIMARY_MAIN}
183
163
  fillRule="nonzero"
@@ -185,52 +165,44 @@ function UploadIllustration({ ...other }) {
185
165
  opacity="0.3"
186
166
  transform="rotate(-2.61 236.599 171.683)"
187
167
  />
188
-
189
168
  <path
190
169
  fill="#F4F6F8"
191
170
  fillRule="nonzero"
192
171
  d="M232.679 225.726l-20.294 7.851-29.661 11.466c-1.121-2.093-2.771-4.921-4.813-8.297-7.026-11.642-18.65-29.75-29.001-45.665-11.66-17.938-21.696-33.075-21.696-33.075l7.265-2.093 59.346-17.23 38.854 87.043z"
193
172
  />
194
-
195
173
  <path
196
174
  fill="#000"
197
175
  fillRule="nonzero"
198
176
  d="M232.679 225.726l-20.294 7.851a152.535 152.535 0 01-34.484 3.169c-7.026-11.642-18.65-29.75-29-45.665l-14.42-35.18 59.343-17.218 38.855 87.043z"
199
177
  opacity="0.1"
200
178
  />
201
-
202
179
  <path
203
180
  fill={PRIMARY_MAIN}
204
181
  fillRule="nonzero"
205
182
  d="M247.777 220.841s-31.526 18.65-78.596 14.432l-37.525-91.486 17.984-3.091 62.168-10.677 35.279 89.043.69 1.779z"
206
183
  />
207
-
208
184
  <path
209
185
  fill="#FF4842"
210
186
  fillRule="nonzero"
211
187
  d="M247.075 219.074c-7.424.365-16.013.329-24.654-.702-9.351-1.101-18.757-3.367-26.82-7.523-6.742-3.471-12.506-7.247-17.532-11.776-13.074-11.759-21.164-28.579-28.429-58.365l62.168-10.677 35.267 89.043z"
212
188
  opacity="0.1"
213
189
  />
214
-
215
190
  <path
216
191
  fill="#FFF"
217
192
  fillRule="nonzero"
218
193
  d="M270.203 213.959s-23.239 4.55-46.894 1.749c-9.351-1.1-18.757-3.367-26.82-7.522-6.742-3.471-12.503-7.247-17.532-11.777-16.181-14.557-24.725-36.866-33.536-81.918 0 0 38.633 9.325 76.836-11.101-.012.015 12.865 80.373 47.946 110.569z"
219
194
  />
220
-
221
195
  <path
222
196
  fill={PRIMARY_MAIN}
223
197
  fillRule="nonzero"
224
198
  d="M165.405 131.03s31.416-1.776 40.187-8.548l1.331 4.276s-20.758 9.157-41.518 9.268v-4.996zM165.405 152.137s30.417-1.665 53.399-12.766l.777 1.776s-18.237 10.647-54.176 13.433v-2.443zM167.853 160.362s30.418-1.665 53.397-12.766l.777 1.776s-18.237 10.643-54.174 13.433v-2.443zM170.299 168.599s30.417-1.666 53.399-12.766l.774 1.775s-18.237 10.647-54.173 13.433v-2.442zM172.748 176.835s30.417-1.665 53.396-12.766l.777 1.776s-18.237 10.647-54.173 13.433v-2.443zM175.193 185.075s30.417-1.665 53.399-12.766l.774 1.776s-18.237 10.643-54.173 13.433v-2.443z"
225
199
  opacity="0.3"
226
200
  />
227
-
228
201
  <path
229
202
  fill={PRIMARY_MAIN}
230
203
  fillRule="nonzero"
231
204
  d="M389.069 287.344s-12.641-.762-11.152 8.097c0 0-.299 1.563 1.124 2.275 0 0 .021-.658 1.295-.434.454.077.916.099 1.375.066a2.832 2.832 0 001.677-.694c.468-.409 3.555-1.468 4.936-7.274 0 0 1.023-1.267.981-1.593l-2.132.897s.73 1.54.156 2.816c0 0-.069-2.759-.479-2.691-.083 0-1.109.533-1.109.533s1.253 2.69.299 4.628c0 0 .359-3.304-.699-4.434l-1.495.876s1.465 2.768.472 5.029c0 0 .254-3.465-.789-4.817l-1.361 1.062s1.379 2.729.539 4.604c0 0-.111-4.036-.835-4.341 0 0-1.195 1.049-1.369 1.494 0 0 .942 1.98.356 3.026 0 0-.359-2.691-.652-2.691 0 0-1.196 1.794-1.309 2.99 0 0 .051-1.818 1.022-3.172a3.593 3.593 0 00-1.818.942s.186-1.262 2.111-1.37c0 0 .981-1.351 1.241-1.435 0 0-1.914-.158-3.074.356 0 0 1.023-1.196 3.427-.649l1.342-1.094s-2.52-.347-3.588.036c0 0 1.229-1.052 3.95-.299l1.462-.873s-2.147-.463-3.426-.299c0 0 1.348-.729 3.856.06l1.044-.47s-1.573-.299-2.033-.358c-.461-.06-.488-.174-.488-.174a5.426 5.426 0 012.957.329s2.222-.813 2.186-.954z"
232
205
  />
233
-
234
206
  <ellipse
235
207
  cx="380.363"
236
208
  cy="298.487"
@@ -240,13 +212,11 @@ function UploadIllustration({ ...other }) {
240
212
  rx="8.945"
241
213
  ry="1.513"
242
214
  />
243
-
244
215
  <path
245
216
  fill={PRIMARY_MAIN}
246
217
  fillRule="nonzero"
247
218
  d="M394.956 258.102s-7.125-.43-6.279 4.565a1.218 1.218 0 00.631 1.283s.015-.371.733-.245c.255.042.515.054.774.036.349-.023.681-.159.945-.389.264-.23 2.003-.828 2.783-4.102 0 0 .577-.714.553-.897l-1.196.511s.41.87.087 1.591c0 0-.039-1.558-.269-1.522-.048 0-.625.299-.625.299s.706 1.495.173 2.61c0 0 .204-1.862-.394-2.502l-.846.496s.825 1.561.266 2.834c0 0 .143-1.955-.446-2.714l-.765.598s.774 1.539.299 2.595c0 0-.063-2.275-.469-2.446a4.75 4.75 0 00-.775.834s.532 1.118.204 1.707c0 0-.204-1.515-.368-1.521 0 0-.67 1.001-.739 1.689a3.671 3.671 0 01.577-1.794 2.007 2.007 0 00-1.025.532s.104-.711 1.196-.771c0 0 .553-.763.699-.81 0 0-1.079-.09-1.734.2 0 0 .577-.67 1.932-.365l.759-.619s-1.423-.194-2.024.021c0 0 .694-.598 2.227-.161l.826-.494a7.445 7.445 0 00-1.935-.164s.763-.413 2.174.033l.598-.263s-.897-.177-1.148-.203c-.252-.027-.275-.099-.275-.099a3.078 3.078 0 011.668.185s1.232-.46 1.208-.538z"
248
219
  />
249
-
250
220
  <ellipse
251
221
  cx="390.052"
252
222
  cy="264.383"
@@ -256,13 +226,11 @@ function UploadIllustration({ ...other }) {
256
226
  rx="5.044"
257
227
  ry="1"
258
228
  />
259
-
260
229
  <path
261
230
  fill={PRIMARY_MAIN}
262
231
  fillRule="nonzero"
263
232
  d="M352.896 262.437s-8.604-.52-7.588 5.51a1.47 1.47 0 00.763 1.549s0-.449.897-.299c.309.052.623.067.935.045a1.923 1.923 0 001.142-.473c.318-.279 2.419-.998 3.361-4.951 0 0 .697-.861.667-1.085l-1.468.622s.496 1.046.104 1.916c0 0-.048-1.877-.326-1.835-.056 0-.753.364-.753.364s.852 1.824.209 3.152c0 0 .245-2.249-.475-3.02l-1.023.598s.996 1.886.32 3.423c0 0 .174-2.359-.535-3.289l-.927.724s.939 1.857.365 3.133c0 0-.072-2.747-.565-2.954 0 0-.81.715-.933 1.008 0 0 .64 1.348.242 2.06 0 0-.245-1.83-.445-1.839 0 0-.804 1.214-.897 2.042.04-.768.28-1.512.697-2.159a2.427 2.427 0 00-1.235.643s.125-.858 1.435-.933c0 0 .667-.92.846-.974 0 0-1.303-.111-2.093.239 0 0 .694-.807 2.329-.44l.915-.747s-1.713-.233-2.442.024c0 0 .837-.715 2.69-.191l.996-.598s-1.462-.314-2.335-.201c0 0 .921-.496 2.625.042l.711-.32s-1.07-.209-1.384-.242c-.314-.033-.329-.119-.329-.119a3.69 3.69 0 012.012.221s1.519-.553 1.492-.646z"
264
233
  />
265
-
266
234
  <ellipse
267
235
  cx="346.97"
268
236
  cy="270.022"
@@ -272,7 +240,6 @@ function UploadIllustration({ ...other }) {
272
240
  rx="6.09"
273
241
  ry="1.028"
274
242
  />
275
-
276
243
  <rect
277
244
  width="51.026"
278
245
  height="91.312"
@@ -283,7 +250,6 @@ function UploadIllustration({ ...other }) {
283
250
  rx="4.737"
284
251
  transform="rotate(-71.99 329.44 114.867)"
285
252
  />
286
-
287
253
  <circle
288
254
  cx="303.613"
289
255
  cy="103.507"
@@ -292,7 +258,6 @@ function UploadIllustration({ ...other }) {
292
258
  fillRule="nonzero"
293
259
  opacity="0.2"
294
260
  />
295
-
296
261
  <path
297
262
  fill={PRIMARY_MAIN}
298
263
  fillRule="nonzero"
@@ -300,7 +265,6 @@ function UploadIllustration({ ...other }) {
300
265
  opacity="0.2"
301
266
  transform="rotate(-71.99 345.867 106.913)"
302
267
  />
303
-
304
268
  <path
305
269
  fill={PRIMARY_MAIN}
306
270
  fillRule="nonzero"
@@ -308,7 +272,6 @@ function UploadIllustration({ ...other }) {
308
272
  opacity="0.2"
309
273
  transform="rotate(-71.99 334.312 110.042)"
310
274
  />
311
-
312
275
  <path
313
276
  fill={PRIMARY_MAIN}
314
277
  fillRule="nonzero"
@@ -316,7 +279,6 @@ function UploadIllustration({ ...other }) {
316
279
  opacity="0.2"
317
280
  transform="rotate(-71.99 338.393 118.259)"
318
281
  />
319
-
320
282
  <path
321
283
  fill={PRIMARY_MAIN}
322
284
  fillRule="nonzero"
@@ -324,7 +286,6 @@ function UploadIllustration({ ...other }) {
324
286
  opacity="0.2"
325
287
  transform="rotate(-71.99 339.79 125.599)"
326
288
  />
327
-
328
289
  <path
329
290
  fill={PRIMARY_MAIN}
330
291
  fillRule="nonzero"
@@ -332,7 +293,6 @@ function UploadIllustration({ ...other }) {
332
293
  opacity="0.5"
333
294
  transform="rotate(-71.99 350.544 140.3)"
334
295
  />
335
-
336
296
  <rect
337
297
  width="50.3"
338
298
  height="78.305"
@@ -343,83 +303,71 @@ function UploadIllustration({ ...other }) {
343
303
  rx="4"
344
304
  transform="rotate(-57.265 316.7 213.638)"
345
305
  />
346
-
347
306
  <path
348
307
  fill="#DFE3E8"
349
308
  fillRule="nonzero"
350
309
  d="M278.038439 203.88874L292.269539 203.88874 292.269539 207.23723 278.038439 207.23723z"
351
310
  transform="rotate(-57.57 285.154 205.563)"
352
311
  />
353
-
354
312
  <path
355
313
  fill="#DFE3E8"
356
314
  fillRule="nonzero"
357
315
  d="M283.007935 199.201889L314.262535 199.201889 314.262535 202.272339 283.007935 202.272339z"
358
316
  transform="rotate(-57.57 298.635 200.737)"
359
317
  />
360
-
361
318
  <path
362
319
  fill="#DFE3E8"
363
320
  fillRule="nonzero"
364
321
  d="M288.543935 202.715889L319.798535 202.715889 319.798535 205.786339 288.543935 205.786339z"
365
322
  transform="rotate(-57.57 304.171 204.251)"
366
323
  />
367
-
368
324
  <path
369
325
  fill="#DFE3E8"
370
326
  fillRule="nonzero"
371
327
  d="M294.078936 206.235889L325.333536 206.235889 325.333536 209.306339 294.078936 209.306339z"
372
328
  transform="rotate(-57.57 309.706 207.771)"
373
329
  />
374
-
375
330
  <path
376
331
  fill="#DFE3E8"
377
332
  fillRule="nonzero"
378
333
  d="M299.879919 211.40702L331.090719 211.40702 331.090719 214.47316 299.879919 214.47316z"
379
334
  transform="rotate(-57.265 315.485 212.94)"
380
335
  />
381
-
382
336
  <path
383
337
  fill="#F4F6F8"
384
338
  fillRule="nonzero"
385
339
  d="M305.149936 213.268889L336.404536 213.268889 336.404536 216.339339 305.149936 216.339339z"
386
340
  transform="rotate(-57.57 320.777 214.804)"
387
341
  />
388
-
389
342
  <path
390
343
  fill="#F4F6F8"
391
344
  fillRule="nonzero"
392
345
  d="M310.685935 216.782889L341.940535 216.782889 341.940535 219.853339 310.685935 219.853339z"
393
346
  transform="rotate(-57.57 326.313 218.318)"
394
347
  />
395
-
396
348
  <path
397
349
  fill="#DFE3E8"
398
350
  fillRule="nonzero"
399
351
  d="M341.417983 210.406958L349.511163 210.406958 349.511163 218.500138 341.417983 218.500138z"
400
352
  transform="rotate(-57.57 345.465 214.454)"
401
353
  />
402
-
403
354
  <path
404
355
  fill={PRIMARY_MAIN}
405
356
  fillRule="nonzero"
406
357
  d="M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z"
407
358
  />
408
-
409
359
  <path
410
360
  fill={PRIMARY_DARK}
411
361
  fillRule="nonzero"
412
362
  d="M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z"
413
363
  opacity="0.243"
414
364
  />
415
-
416
365
  <path
417
366
  fill="url(#linearGradient-2)"
418
367
  fillRule="nonzero"
419
368
  d="M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z"
420
369
  opacity="0.32"
421
370
  />
422
-
423
371
  <ellipse
424
372
  cx="119.593"
425
373
  cy="258.664"
@@ -429,7 +377,6 @@ function UploadIllustration({ ...other }) {
429
377
  rx="4.846"
430
378
  ry="1"
431
379
  />
432
-
433
380
  <ellipse
434
381
  cx="101.03"
435
382
  cy="260.545"
@@ -439,7 +386,6 @@ function UploadIllustration({ ...other }) {
439
386
  rx="4.846"
440
387
  ry="1"
441
388
  />
442
-
443
389
  <ellipse
444
390
  cx="108.459"
445
391
  cy="265.905"
@@ -449,7 +395,6 @@ function UploadIllustration({ ...other }) {
449
395
  rx="3.444"
450
396
  ry="1"
451
397
  />
452
-
453
398
  <ellipse
454
399
  cx="89.193"
455
400
  cy="265.433"
@@ -459,108 +404,92 @@ function UploadIllustration({ ...other }) {
459
404
  rx="3.444"
460
405
  ry="1"
461
406
  />
462
-
463
407
  <path
464
408
  fill={PRIMARY_MAIN}
465
409
  fillRule="nonzero"
466
410
  d="M100.925 260.398s6.796-22.279-1.064-31.204c-5.881-6.676-12.557-5.877-15.547-5.052a5.528 5.528 0 00-3.564 2.963c-1.046 2.254-.858 5.913 6.521 10.186 12.35 7.151 13.119 16.96 13.119 16.96l.535 6.147z"
467
411
  />
468
-
469
412
  <path
470
413
  stroke={PRIMARY_DARKER}
471
414
  strokeLinecap="round"
472
415
  strokeWidth="0.5"
473
416
  d="M85.382 227.302s20.031 6.278 15.546 33.096M97.083 229.547s-2.76 1.86-1.88 4.655M87.39 231.203s1.687-1.716 3.741-.768M95.31 239.832s2.963-1.495 3.728.379M102.638 242.962s-2.224-.176-2.263.897"
474
417
  />
475
-
476
418
  <path
477
419
  fill={PRIMARY_MAIN}
478
420
  fillRule="nonzero"
479
421
  d="M101.2 260.575s-7.961-16.193-10.147-15.846c-1.037.17-1.516 1.196-1.734 2.218a6.516 6.516 0 00.434 3.941c1.13 2.601 4.165 7.519 11.447 9.687z"
480
422
  />
481
-
482
423
  <path
483
424
  stroke={PRIMARY_DARKER}
484
425
  strokeLinecap="round"
485
426
  strokeWidth="0.5"
486
427
  d="M91.113 247.808s8.353 12.115 9.968 12.647"
487
428
  />
488
-
489
429
  <path
490
430
  stroke={PRIMARY_DARKER}
491
431
  strokeLinecap="round"
492
432
  strokeWidth="0.5"
493
433
  d="M90.344 249.701L92.293 249.701"
494
434
  />
495
-
496
435
  <path
497
436
  stroke={PRIMARY_DARKER}
498
437
  strokeLinecap="round"
499
438
  strokeWidth="0.5"
500
439
  d="M92.68 254.132L95.738 254.263"
501
440
  />
502
-
503
441
  <path
504
442
  stroke={PRIMARY_DARKER}
505
443
  strokeLinecap="round"
506
444
  strokeWidth="0.5"
507
445
  d="M94.542 250.586L94.21 252.179"
508
446
  />
509
-
510
447
  <path
511
448
  stroke={PRIMARY_DARKER}
512
449
  strokeLinecap="round"
513
450
  strokeWidth="0.5"
514
451
  d="M97.792 255.432L97.732 256.879"
515
452
  />
516
-
517
453
  <path
518
454
  fill={PRIMARY_MAIN}
519
455
  fillRule="nonzero"
520
456
  d="M100.964 260.575s7.959-16.193 10.144-15.846c1.041.17 1.519 1.196 1.734 2.218a6.514 6.514 0 01-.433 3.941c-1.13 2.601-4.168 7.519-11.445 9.687z"
521
457
  />
522
-
523
458
  <path
524
459
  stroke={PRIMARY_DARKER}
525
460
  strokeLinecap="round"
526
461
  strokeWidth="0.5"
527
462
  d="M111.051 247.808s-8.371 12.115-9.97 12.647"
528
463
  />
529
-
530
464
  <path
531
465
  stroke={PRIMARY_DARKER}
532
466
  strokeLinecap="round"
533
467
  strokeWidth="0.5"
534
468
  d="M111.82 249.701L109.871 249.701"
535
469
  />
536
-
537
470
  <path
538
471
  stroke={PRIMARY_DARKER}
539
472
  strokeLinecap="round"
540
473
  strokeWidth="0.5"
541
474
  d="M109.485 254.132L106.426 254.263"
542
475
  />
543
-
544
476
  <path
545
477
  stroke={PRIMARY_DARKER}
546
478
  strokeLinecap="round"
547
479
  strokeWidth="0.5"
548
480
  d="M107.622 250.586L107.954 252.179"
549
481
  />
550
-
551
482
  <path
552
483
  stroke={PRIMARY_DARKER}
553
484
  strokeLinecap="round"
554
485
  strokeWidth="0.5"
555
486
  d="M104.372 255.432L104.432 256.879"
556
487
  />
557
-
558
488
  <path
559
489
  fill={PRIMARY_MAIN}
560
490
  fillRule="nonzero"
561
491
  d="M87.295 264.357a1.375 1.375 0 01-.452-.685.599.599 0 01.317-.697c.3-.11.598.09.837.299.24.21.512.431.81.38a1.237 1.237 0 01-.382-1.16.47.47 0 01.105-.236c.161-.174.454-.099.648.039.598.43.787 1.264.79 2.018.03-.277.03-.555 0-.831a.853.853 0 01.334-.727.938.938 0 01.476-.114.988.988 0 01.774.222.767.767 0 01-.03.947c-.229.257-.5.474-.801.64a1.805 1.805 0 00-.571.547.399.399 0 00-.042.096h-1.74a4.826 4.826 0 01-1.073-.738zM117.626 257.833a1.355 1.355 0 01-.452-.682.599.599 0 01.314-.696c.299-.111.598.089.837.299.239.209.509.436.817.391a1.236 1.236 0 01-.386-1.157.472.472 0 01.107-.236c.162-.173.455-.099.649.036.613.433.787 1.268.79 2.021a4.008 4.008 0 000-.834.852.852 0 01.299-.736.955.955 0 01.475-.11.998.998 0 01.774.218.768.768 0 01-.033.951 2.996 2.996 0 01-.798.64 1.767 1.767 0 00-.571.544.499.499 0 00-.042.098h-1.701a4.78 4.78 0 01-1.079-.747zM107.518 264.357a1.406 1.406 0 01-.455-.685.6.6 0 01.317-.697c.299-.11.598.09.837.299.239.21.505.437.816.395a1.247 1.247 0 01-.385-1.16.472.472 0 01.107-.236c.162-.174.455-.099.649.039.613.43.783 1.264.789 2.018.03-.277.03-.555 0-.832a.855.855 0 01.314-.735.93.93 0 01.476-.114.988.988 0 01.774.222.764.764 0 01-.033.947 3.028 3.028 0 01-.798.64 1.798 1.798 0 00-.571.547.411.411 0 00-.042.096h-1.734c-.385-.2-.742-.45-1.061-.744z"
562
492
  />
563
-
564
493
  <circle
565
494
  cx="84.467"
566
495
  cy="87.003"
@@ -569,7 +498,6 @@ function UploadIllustration({ ...other }) {
569
498
  fillRule="nonzero"
570
499
  opacity="0.1"
571
500
  />
572
-
573
501
  <circle
574
502
  cx="395.425"
575
503
  cy="138.681"
@@ -578,7 +506,6 @@ function UploadIllustration({ ...other }) {
578
506
  fillRule="nonzero"
579
507
  opacity="0.1"
580
508
  />
581
-
582
509
  <circle
583
510
  cx="279.178"
584
511
  cy="66.467"
@@ -587,7 +514,6 @@ function UploadIllustration({ ...other }) {
587
514
  fillRule="nonzero"
588
515
  opacity="0.1"
589
516
  />
590
-
591
517
  <circle
592
518
  cx="97.4"
593
519
  cy="122.68"
@@ -596,20 +522,17 @@ function UploadIllustration({ ...other }) {
596
522
  fillRule="nonzero"
597
523
  opacity="0.1"
598
524
  />
599
-
600
525
  <path
601
526
  fill={PRIMARY_DARK}
602
527
  fillRule="nonzero"
603
528
  d="M206.029 209.911c-7.975 0-14.44 6.465-14.44 14.44s6.465 14.44 14.44 14.44 14.44-6.465 14.44-14.44-6.465-14.44-14.44-14.44z"
604
529
  />
605
-
606
530
  <path
607
531
  fill={PRIMARY_MAIN}
608
532
  fillRule="nonzero"
609
533
  d="M206.029 211.59c7.047 0 12.761 5.714 12.761 12.761 0 7.048-5.714 12.761-12.761 12.761-7.048 0-12.761-5.713-12.761-12.761.006-7.045 5.716-12.754 12.761-12.761"
610
534
  opacity="0.72"
611
535
  />
612
-
613
536
  <path
614
537
  fill={PRIMARY_DARK}
615
538
  fillRule="nonzero"
@@ -119,7 +119,9 @@ function TopNavBar({
119
119
  to={itemUrl}
120
120
  onClick={() => selectItem(item)}
121
121
  >
122
- <Typography textAlign="center">{item.name}</Typography>
122
+ <Typography sx={{
123
+ textAlign: "center"
124
+ }}>{item.name}</Typography>
123
125
  </MenuItem>
124
126
  ))}
125
127
  </Menu>
@@ -173,7 +175,9 @@ function TopNavBar({
173
175
  </Typography>
174
176
  {settings.map((setting) => (
175
177
  <MenuItem key={setting.name} onClick={setting.action}>
176
- <Typography textAlign="center">{setting.name}</Typography>
178
+ <Typography sx={{
179
+ textAlign: "center"
180
+ }}>{setting.name}</Typography>
177
181
  </MenuItem>
178
182
  ))}
179
183
  </Menu>
@@ -47,15 +47,14 @@ export default function FileThumbnail({
47
47
  return (
48
48
  <Tooltip title={name}>
49
49
  <Stack
50
- flexShrink={0}
51
50
  component="span"
52
- alignItems="center"
53
- justifyContent="center"
54
51
  sx={{
52
+ flexShrink: 0,
53
+ alignItems: "center",
54
+ justifyContent: "center",
55
55
  width: "fit-content",
56
- height: "inherit",
57
- }}
58
- >
56
+ height: "inherit"
57
+ }}>
59
58
  {renderContent}
60
59
  {onDownload && <DownloadButton onDownload={onDownload} />}
61
60
  </Stack>
@@ -2,7 +2,6 @@ import Box from "@mui/material/Box";
2
2
  import React from "react";
3
3
  import { StyledLabel } from "./styles";
4
4
  import { forwardRef } from "react";
5
- import { useTheme } from "@mui/material/styles";
6
5
 
7
6
  const Label = forwardRef(
8
7
  (
@@ -17,8 +16,6 @@ const Label = forwardRef(
17
16
  },
18
17
  ref
19
18
  ) => {
20
- const theme = useTheme();
21
-
22
19
  const iconStyles = {
23
20
  width: 16,
24
21
  height: 16,
@@ -35,7 +32,6 @@ const Label = forwardRef(
35
32
  ...(endIcon && { pr: 0.75 }),
36
33
  ...sx,
37
34
  }}
38
- theme={theme}
39
35
  {...other}
40
36
  >
41
37
  {startIcon && <Box sx={{ mr: 0.75, ...iconStyles }}> {startIcon} </Box>}
@@ -9,14 +9,13 @@ function NavSectionHorizontal({ data, slotProps, sx, ...other }) {
9
9
  component="nav"
10
10
  id="nav-section-horizontal"
11
11
  direction="row"
12
- alignItems="center"
13
12
  spacing={`${slotProps?.gap || 6}px`}
14
- sx={{
15
- mx: "auto",
16
- ...sx,
17
- }}
18
13
  {...other}
19
- >
14
+ sx={[{
15
+ alignItems: "center",
16
+ mx: "auto",
17
+ ...sx
18
+ }, ...(Array.isArray(other.sx) ? other.sx : [other.sx])]}>
20
19
  {data.map((group, index) => (
21
20
  <Group
22
21
  key={group?.subheader || index}
@@ -61,25 +61,26 @@ export default function LayoutOptions({ options, value, onChange }) {
61
61
  return (
62
62
  <Stack
63
63
  spacing={0.5}
64
- flexShrink={0}
65
64
  direction={option === "horizontal" ? "row" : "column"}
66
65
  sx={{
66
+ flexShrink: 0,
67
67
  p: 0.5,
68
68
  width: 28,
69
69
  height: 1,
70
70
  borderRight: `solid 1px ${alpha(theme.palette.grey[500], 0.08)}`,
71
+
71
72
  ...(option === "mini" && {
72
73
  width: 16,
73
74
  }),
75
+
74
76
  ...(option === "horizontal" && {
75
77
  width: 1,
76
78
  height: 16,
77
79
  alignItems: "center",
78
80
  borderRight: "unset",
79
81
  borderBottom: `solid 1px ${alpha(theme.palette.grey[500], 0.08)}`,
80
- }),
81
- }}
82
- >
82
+ })
83
+ }}>
83
84
  {circle}
84
85
  {primaryItem}
85
86
  {secondaryItem}