Skip to content
Snippets Groups Projects
Unverified Commit 2db279b8 authored by Maz Ameli's avatar Maz Ameli Committed by GitHub
Browse files

New upload icon (#30956)


* new upload to cloud icon

* add upload icon to dropzone overlay

* update icon size prop type

---------

Co-authored-by: default avatarRyan Laurie <iethree@gmail.com>
parent 9c17dea8
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ export default function ColllectionUpload({
placement="bottom"
>
<label htmlFor="upload-csv">
<CollectionHeaderButton as="span" to="" icon="arrow_up" />
<CollectionHeaderButton as="span" to="" icon="upload" iconSize={20} />
</label>
<UploadInput
id="upload-csv"
......
......@@ -15,7 +15,7 @@ export default function UploadOverlay({
}) {
return (
<DragOverlay isDragActive={isDragActive}>
<Icon name="arrow_up" />
<Icon name="upload" size="24" />
<div>{t`Drop here to upload to ${collection.name}`}</div>
</DragOverlay>
);
......
......@@ -496,9 +496,10 @@ export const ICON_PATHS: Record<string, any> = {
fillRule: "evenodd",
},
},
unknown:
"M16.5,26.5 C22.0228475,26.5 26.5,22.0228475 26.5,16.5 C26.5,10.9771525 22.0228475,6.5 16.5,6.5 C10.9771525,6.5 6.5,10.9771525 6.5,16.5 C6.5,22.0228475 10.9771525,26.5 16.5,26.5 L16.5,26.5 Z M16.5,23.5 C12.6340068,23.5 9.5,20.3659932 9.5,16.5 C9.5,12.6340068 12.6340068,9.5 16.5,9.5 C20.3659932,9.5 23.5,12.6340068 23.5,16.5 C23.5,20.3659932 20.3659932,23.5 16.5,23.5 L16.5,23.5 Z",
upload:
"M17.9212 4C13.4212 4 9.58341 7.1279 8.82185 11.3473C4.52316 11.5733 1 14.9877 1 19.3056C1 22.1628 2.5575 24.6406 4.84602 26.0392C5.57726 26.4861 6.53233 26.2554 6.97923 25.5243C7.4261 24.7931 7.19558 23.8381 6.46432 23.3912C5.0201 22.5086 4.10345 20.993 4.10345 19.3056C4.10345 16.685 6.35041 14.4389 9.27586 14.4389C9.53171 14.4389 9.78236 14.4563 10.0268 14.4896C10.472 14.5505 10.9218 14.4152 11.2597 14.119C11.5976 13.8227 11.7905 13.3945 11.7885 12.9451L11.7882 12.884C11.79 9.75834 14.4664 7.10345 17.9212 7.10345C21.3772 7.10345 24.0543 9.76015 24.0543 12.8871C24.0543 13.9287 23.7634 14.9048 23.2505 15.751C22.9592 16.2317 22.9505 16.8324 23.2281 17.3213C23.5056 17.8102 24.0257 18.1108 24.5879 18.107L24.6499 18.1066C26.512 18.109 27.8966 19.533 27.8966 21.1395C27.8966 22.3898 27.0719 23.5163 25.8177 23.9694C25.0116 24.2606 24.5943 25.15 24.8854 25.9561C25.1765 26.7619 26.0659 27.1794 26.872 26.8883C29.2453 26.031 31 23.811 31 21.1395C31 18.4359 29.217 16.2073 26.7936 15.3648C27.0305 14.5784 27.1577 13.7469 27.1577 12.8871C27.1577 7.91167 22.9536 4 17.9212 4ZM22.1413 19.8573C22.8106 20.3926 22.919 21.3692 22.3836 22.0383C21.8483 22.7076 20.8718 22.816 20.2027 22.2808L17.5517 20.1599V26.2414C17.5517 27.0983 16.857 27.7931 16 27.7931C15.143 27.7931 14.4483 27.0983 14.4483 26.2414V20.1592L11.7965 22.2808C11.1273 22.816 10.1508 22.7076 9.61544 22.0383C9.08008 21.3692 9.1886 20.3926 9.85778 19.8573L15.0302 15.7193C15.5969 15.266 16.4022 15.266 16.9689 15.7193L22.1413 19.8573Z",
variable:
"M32,3.85760518 C32,5.35923081 31.5210404,6.55447236 30.5631068,7.4433657 C29.6051732,8.33225903 28.4358214,8.77669903 27.0550162,8.77669903 C26.2265331,8.77669903 25.4110072,8.67314019 24.6084142,8.46601942 C23.8058212,8.25889864 23.111114,8.05178097 22.5242718,7.84466019 C22.2481108,8.03452091 21.8425054,8.44875625 21.3074434,9.08737864 C20.7723814,9.72600104 20.1682882,10.5026923 19.4951456,11.4174757 C20.116508,14.0582656 20.6170423,15.9352695 20.9967638,17.0485437 C21.3764852,18.1618179 21.7389411,19.2880202 22.0841424,20.4271845 C22.3775635,21.3419679 22.8090586,22.0582498 23.3786408,22.5760518 C23.9482229,23.0938537 24.8457328,23.3527508 26.0711974,23.3527508 C26.5199591,23.3527508 27.0809028,23.2664518 27.7540453,23.0938511 C28.4271878,22.9212505 28.9795016,22.7486524 29.4110032,22.5760518 L28.8414239,24.9061489 C27.1326775,25.6310716 25.6397043,26.1574957 24.3624595,26.4854369 C23.0852148,26.8133781 21.9460676,26.9773463 20.9449838,26.9773463 C20.2200611,26.9773463 19.5037792,26.9083071 18.7961165,26.7702265 C18.0884539,26.632146 17.4412111,26.3818788 16.8543689,26.0194175 C16.2157465,25.6396961 15.6763776,25.1650514 15.236246,24.5954693 C14.7961143,24.0258871 14.4207135,23.2319361 14.1100324,22.2135922 C13.9029116,21.5749698 13.7130537,20.850058 13.5404531,20.038835 C13.3678524,19.2276119 13.1952544,18.51133 13.0226537,17.8899676 C12.5221118,18.6321504 12.1596559,19.1844642 11.9352751,19.5469256 C11.7108942,19.9093869 11.3829579,20.4185512 10.9514563,21.0744337 C9.5879112,23.1629015 8.4056145,24.6515597 7.40453074,25.5404531 C6.40344699,26.4293464 5.20389049,26.8737864 3.80582524,26.8737864 C2.75296129,26.8737864 1.85545139,26.5199604 1.11326861,25.8122977 C0.371085825,25.1046351 0,24.1812355 0,23.0420712 C0,21.5059254 0.478959612,20.2934241 1.4368932,19.4045307 C2.3948268,18.5156374 3.56417864,18.0711974 4.94498382,18.0711974 C5.77346693,18.0711974 6.56741799,18.1704413 7.32686084,18.368932 C8.08630369,18.5674228 8.80258563,18.7874853 9.47572816,19.0291262 C9.73462913,18.8220054 10.1359196,18.4164 10.6796117,17.8122977 C11.2233037,17.2081955 11.814452,16.4573939 12.4530744,15.5598706 C11.8834923,13.2470219 11.4174775,11.5037815 11.0550162,10.3300971 C10.6925548,9.15641269 10.321469,7.99137579 9.94174757,6.83495146 C9.63106641,5.90290796 9.18231146,5.18231107 8.59546926,4.67313916 C8.00862706,4.16396725 7.12837696,3.90938511 5.95469256,3.90938511 C5.43689061,3.90938511 4.85868712,3.99999909 4.22006472,4.18122977 C3.58144233,4.36246045 3.04638835,4.53074356 2.61488673,4.68608414 L3.18446602,2.35598706 C4.73787184,1.66558447 6.20927029,1.14779029 7.5987055,0.802588997 C8.98814071,0.457387702 10.1488627,0.284789644 11.0809061,0.284789644 C11.9266493,0.284789644 12.6515612,0.345198964 13.2556634,0.466019417 C13.8597657,0.586839871 14.4983785,0.845736958 15.171521,1.24271845 C15.7928834,1.62243987 16.3322523,2.10139948 16.789644,2.67961165 C17.2470357,3.25782382 17.6224365,4.04745994 17.9158576,5.04854369 C18.1229784,5.73894628 18.3128362,6.45522822 18.4854369,7.197411 C18.6580375,7.93959379 18.8047459,8.5782066 18.9255663,9.11326861 C19.2880277,8.56094654 19.6634285,7.99137294 20.0517799,7.40453074 C20.4401314,6.81768854 20.7723827,6.29989437 21.0485437,5.85113269 C22.3775687,3.76266485 23.5684953,2.2653767 24.6213592,1.3592233 C25.6742232,0.453069903 26.8651498,0 28.1941748,0 C29.2815588,0 30.1876986,0.358140971 30.9126214,1.07443366 C31.6375441,1.79072634 32,2.71844091 32,3.85760518 L32,3.85760518 Z",
verified: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment