diff --git a/assets/fonts/ArDriveIcons.ttf b/assets/fonts/ArDriveIcons.ttf
index 3977aa0..1d1bf61 100644
Binary files a/assets/fonts/ArDriveIcons.ttf and b/assets/fonts/ArDriveIcons.ttf differ
diff --git a/assets/fonts/config.json b/assets/fonts/config.json
index 13ea1b0..950dfc5 100644
--- a/assets/fonts/config.json
+++ b/assets/fonts/config.json
@@ -7,7 +7,7 @@
"ascent": 850,
"glyphs": [
{
- "uid": "19cfd91f15d6f763bda170bd29065332",
+ "uid": "48cfcec940eb6fa1497057276e6c9da4",
"css": "icon-add-drive",
"code": 59392,
"src": "custom_icons",
@@ -21,7 +21,21 @@
]
},
{
- "uid": "df5be1286300ed0d52d0663eb5025eae",
+ "uid": "1bda3c7490d4990377febe852bf66163",
+ "css": "gift",
+ "code": 59393,
+ "src": "custom_icons",
+ "selected": true,
+ "svg": {
+ "path": "M900 175Q900 127 876.5 87T813 23.5 725 0H715Q651 2 595.5 44T500 159L493 147Q452 77 397 38 339-1 274 0 227 0 187 23.5T123.5 87 100 175Q100 214 117 250H100Q59 250 29.5 279.5T0 350V450Q0 491 29.5 520.5T100 550V859Q102 898 123 930.5T177.5 981.5 250 1000H759Q798 998 830.5 977T881.5 922.5 900 850V550Q941 550 970.5 520.5T1000 450V350Q1000 309 970.5 279.5T900 250H883Q900 214 900 175ZM725 250H568Q596 179 637.5 139T724 100Q755 100 777.5 122T800 175 778 228 725 250ZM432 250H275 268Q239 247 219.5 225.5T200 174 222 122 275 100Q320 99 362 139T432 250ZM275 350H450V450H100V350H275ZM200 850V550H450V900H244Q225 898 212.5 883.5T200 850ZM750 900H550V550H800V856Q798 875 783.5 887.5T750 900ZM900 450H550V350H900V450Z",
+ "width": 1000
+ },
+ "search": [
+ "gift"
+ ]
+ },
+ {
+ "uid": "d896d05772fa6aebf087e358138da40c",
"css": "icon-upload-files",
"code": 59395,
"src": "custom_icons",
@@ -35,7 +49,7 @@
]
},
{
- "uid": "51992d3381661244decb2455ae98316f",
+ "uid": "2dd0f0a45214fcd051c3b29a962d9ed2",
"css": "icon-create-snapshot",
"code": 59396,
"src": "custom_icons",
@@ -49,7 +63,7 @@
]
},
{
- "uid": "dc342817b64ac9205c5d2b54e38841e0",
+ "uid": "d11eb848e099828cfb12e956f9998c89",
"css": "icon-attach-drive",
"code": 59397,
"src": "custom_icons",
@@ -63,7 +77,7 @@
]
},
{
- "uid": "efd110cd940167804384c3164078134d",
+ "uid": "cfe94caafda61ba3a62890103afa9c98",
"css": "arconnect-icon-1",
"code": 59398,
"src": "custom_icons",
@@ -77,7 +91,7 @@
]
},
{
- "uid": "2792906883a3ce9663da119a6b05bcc6",
+ "uid": "a0857637e1c436263dac7deedf4b7306",
"css": "add-drive",
"code": 59399,
"src": "custom_icons",
@@ -91,7 +105,7 @@
]
},
{
- "uid": "2d754ec2d0448510f83babfa8a573ce1",
+ "uid": "c20c47c900d46ec1a73ee4b14d0aa815",
"css": "arrow-left-filled",
"code": 59400,
"src": "custom_icons",
@@ -105,7 +119,7 @@
]
},
{
- "uid": "c12e27f0709cd96d98e8af013b60a408",
+ "uid": "aae986284712a12f55ede33e14ded18d",
"css": "arrow-left-outline",
"code": 59401,
"src": "custom_icons",
@@ -119,7 +133,7 @@
]
},
{
- "uid": "697cc7d1b9f5ac7b43e2dcc610135b6c",
+ "uid": "5777b2417e530d905cf3427446abb7c8",
"css": "arrow-left",
"code": 59402,
"src": "custom_icons",
@@ -133,7 +147,7 @@
]
},
{
- "uid": "71312129d4b0552d0e7a335e4941df7e",
+ "uid": "b66ca683511c000f879818788176bdca",
"css": "arrow-right-filled",
"code": 59403,
"src": "custom_icons",
@@ -147,7 +161,7 @@
]
},
{
- "uid": "cd2ea45c5c0fd0947ecb676664a25516",
+ "uid": "245294db79192a86b06bf799c949a660",
"css": "arrow-right-outline",
"code": 59404,
"src": "custom_icons",
@@ -161,7 +175,7 @@
]
},
{
- "uid": "f85597e9807052d8dbb44d64f6a06f54",
+ "uid": "a6e6b965ce566ecac7d636bc6e831e4c",
"css": "bullert-list",
"code": 59405,
"src": "custom_icons",
@@ -175,7 +189,7 @@
]
},
{
- "uid": "c269428cb49905f499a786e3deeb1352",
+ "uid": "3402ffcbeb98bd22540e854c4569257e",
"css": "camera-1",
"code": 59406,
"src": "custom_icons",
@@ -189,7 +203,7 @@
]
},
{
- "uid": "ac7089ec3e3cd5fe4b896e36c4908805",
+ "uid": "6d789520540b2a2cb0276f0848c0ec44",
"css": "camera-2",
"code": 59407,
"src": "custom_icons",
@@ -203,7 +217,7 @@
]
},
{
- "uid": "e92d2333690b426c159d6ce2bb703f61",
+ "uid": "4d11a01e6788e254f78681323208e8b5",
"css": "carret-down",
"code": 59408,
"src": "custom_icons",
@@ -217,7 +231,7 @@
]
},
{
- "uid": "7ebb8707aaeeb09ed967252a5b5567d2",
+ "uid": "db9b0299a35774cf92bc86daa41b00f0",
"css": "carret-left",
"code": 59409,
"src": "custom_icons",
@@ -231,7 +245,7 @@
]
},
{
- "uid": "13e76721b4200e91729939c8224512b9",
+ "uid": "7407bbc2f4a06261c77e25c2da5745e3",
"css": "carret-right",
"code": 59410,
"src": "custom_icons",
@@ -245,7 +259,7 @@
]
},
{
- "uid": "7852c220908f1b5b75f40c2ffe603251",
+ "uid": "3084b6e2fa08fc32d486174a61040841",
"css": "carret-up",
"code": 59411,
"src": "custom_icons",
@@ -259,7 +273,7 @@
]
},
{
- "uid": "51d24511fc69633cab6ab77918221e10",
+ "uid": "f8240ce2744f41829584aea0aad6a63a",
"css": "check-cirle",
"code": 59412,
"src": "custom_icons",
@@ -273,7 +287,7 @@
]
},
{
- "uid": "a1f392cdd855d0de1576a27c913eceb3",
+ "uid": "ed029772bae02ff8d02933eee96d6ef9",
"css": "checkmark",
"code": 59413,
"src": "custom_icons",
@@ -287,7 +301,7 @@
]
},
{
- "uid": "2d9aea82dab48351d68d29854e1f6dbb",
+ "uid": "04e84decff1ee2e40d092db089568892",
"css": "close-circle",
"code": 59414,
"src": "custom_icons",
@@ -301,7 +315,7 @@
]
},
{
- "uid": "8be43cb269b7a2505161e767972db0f1",
+ "uid": "706611490a55b65ddd4ed3a657ab5c69",
"css": "close-rectangle",
"code": 59415,
"src": "custom_icons",
@@ -315,7 +329,7 @@
]
},
{
- "uid": "5bd87c5bda571aebcf976331ca5e5c01",
+ "uid": "68d7c0af0a52d3ac6b8df38fe955684c",
"css": "copy",
"code": 59416,
"src": "custom_icons",
@@ -329,7 +343,7 @@
]
},
{
- "uid": "4fb0355da270835fdcc653b9feb992b3",
+ "uid": "839b92359079139fa5bb99073edd4465",
"css": "dots",
"code": 59417,
"src": "custom_icons",
@@ -343,7 +357,7 @@
]
},
{
- "uid": "bede540a0b81a1483946bd56c1b24187",
+ "uid": "933751cb5bd9efa88681c38bdff82135",
"css": "download",
"code": 59418,
"src": "custom_icons",
@@ -357,7 +371,7 @@
]
},
{
- "uid": "4ba434e2cf871c9473ebcbc6f10d83c5",
+ "uid": "b6549ed565e7f4d81425bf8b22525279",
"css": "edit-filled",
"code": 59419,
"src": "custom_icons",
@@ -371,7 +385,7 @@
]
},
{
- "uid": "e90cfa103670105bce8dc959f7caa734",
+ "uid": "869af1b8baec691a4ad66c82a7ad963f",
"css": "edit",
"code": 59420,
"src": "custom_icons",
@@ -385,7 +399,7 @@
]
},
{
- "uid": "e032e8b8759514a56d90baa34f475def",
+ "uid": "da86edc618de870faac9edc3f89f6da5",
"css": "eye-closed",
"code": 59421,
"src": "custom_icons",
@@ -399,7 +413,7 @@
]
},
{
- "uid": "7fd5eb324c42e075838974a197fd9038",
+ "uid": "66b0267e6840b244c26e12ee14e0fe26",
"css": "eye-open",
"code": 59422,
"src": "custom_icons",
@@ -413,7 +427,7 @@
]
},
{
- "uid": "7948b4e5cb9be7a530032fd8a708462e",
+ "uid": "a2ed3a5386f2f923910ced5dfa6556f4",
"css": "file-filled",
"code": 59423,
"src": "custom_icons",
@@ -427,7 +441,7 @@
]
},
{
- "uid": "42beb8c06ba227dc1ffa22060f1fa91e",
+ "uid": "d2d19d45f0372b7a577f3fc64c1ae9b5",
"css": "file-upload",
"code": 59424,
"src": "custom_icons",
@@ -441,7 +455,7 @@
]
},
{
- "uid": "e22500b09ebb3e061ad21098e21212d5",
+ "uid": "1500ac1cf2d3befdae7426825ca16909",
"css": "file-x",
"code": 59425,
"src": "custom_icons",
@@ -455,7 +469,7 @@
]
},
{
- "uid": "3d11e3a2a1f2c81503351a49abf2fd72",
+ "uid": "442026abfaa48e292f55abb18b7691ea",
"css": "file",
"code": 59426,
"src": "custom_icons",
@@ -469,7 +483,7 @@
]
},
{
- "uid": "12eace864adf6c04ecd84dcb59793e30",
+ "uid": "576868430f4fb5e8b0226f49bd5b3a1f",
"css": "folder-filled",
"code": 59427,
"src": "custom_icons",
@@ -483,7 +497,7 @@
]
},
{
- "uid": "c4624cc8059f3a4fbba3f95fd8ce2f3c",
+ "uid": "54901e49de3e2c53acc800bea23071fa",
"css": "folder-outline",
"code": 59428,
"src": "custom_icons",
@@ -497,7 +511,7 @@
]
},
{
- "uid": "cd45123f881378b7f5909f21caff3db9",
+ "uid": "59029352d33b36c909ae6a239ce8cbf6",
"css": "hdd-lock",
"code": 59429,
"src": "custom_icons",
@@ -511,7 +525,7 @@
]
},
{
- "uid": "a3bcef04b50b626938872b3216eded77",
+ "uid": "64a88848e2717dba2a2a22d116a3c9de",
"css": "hdd",
"code": 59430,
"src": "custom_icons",
@@ -525,7 +539,7 @@
]
},
{
- "uid": "17d5956b82f3f1601cb6f0937b0ad83d",
+ "uid": "454125983ff79cb9e578824a1bc6ae27",
"css": "icon-new-folder1",
"code": 59431,
"src": "custom_icons",
@@ -539,7 +553,7 @@
]
},
{
- "uid": "2c6ab242de504d6653e6291ace1c3e0d",
+ "uid": "f546351604505d6ccb3f4465d8ff85e2",
"css": "icon-upload-folder1",
"code": 59432,
"src": "custom_icons",
@@ -553,7 +567,7 @@
]
},
{
- "uid": "0212cd8f1352f4f4db6b647793879b3e",
+ "uid": "e2b7bef8bdaa652b21aac07962f982a5",
"css": "image",
"code": 59433,
"src": "custom_icons",
@@ -567,7 +581,7 @@
]
},
{
- "uid": "1ae1baae794bee45e0890bbb127a77ae",
+ "uid": "520f957c7d63d3ca0b242ff567006525",
"css": "info",
"code": 59434,
"src": "custom_icons",
@@ -581,7 +595,7 @@
]
},
{
- "uid": "e79a8de17210a976a00873570eb390d7",
+ "uid": "3752047be0b6cb33201a096e31a5f945",
"css": "kebab-menu",
"code": 59435,
"src": "custom_icons",
@@ -595,7 +609,7 @@
]
},
{
- "uid": "1416bcea8509fc29ad198604597a5385",
+ "uid": "f0a132a78f6ce1a7e5ba5f91259d0c32",
"css": "logout",
"code": 59436,
"src": "custom_icons",
@@ -609,7 +623,7 @@
]
},
{
- "uid": "dcee269927c0df260fc8b505c0063bdf",
+ "uid": "5538c56d382037448b3aac87b83b1794",
"css": "menu",
"code": 59437,
"src": "custom_icons",
@@ -623,7 +637,7 @@
]
},
{
- "uid": "a8c92916b2d96900a474c96d736af5eb",
+ "uid": "7eb769795ab46ef797c6a41d74e56884",
"css": "minus-rectangle",
"code": 59438,
"src": "custom_icons",
@@ -637,7 +651,21 @@
]
},
{
- "uid": "55cb30fbbeea922b15cc16da5845cc29",
+ "uid": "b3ecebae71e935bc778a97b12c3ae5df",
+ "css": "move",
+ "code": 59439,
+ "src": "custom_icons",
+ "selected": true,
+ "svg": {
+ "path": "M664 83H667 668Q684 83 696 95L905 304Q917 316 917 333V792Q917 825 900 854T855 900 792 917H563Q545 917 533 905T521 875 533 845 563 833H792Q809 833 821 821T833 792V375H708Q674 375 650 350T625 292V167H375Q358 167 346 179T334 208V542Q334 559 322 571T292 583 263 571 250 542V208Q250 174 267 145T313 100 375 83H664ZM775 292L708 225V292H775ZM304 946Q316 958 334 958H333Q348 958 362 946L487 821Q493 815 496 807T499 791H500L499 787Q498 779 496 775 493 767 488 762L363 637Q350 624 333 624T304 636 291 666 304 696L358 749H167Q149 749 137 761T125 791 137 820 167 833H358L304 887Q291 899 291 917T304 946Z",
+ "width": 1000
+ },
+ "search": [
+ "move"
+ ]
+ },
+ {
+ "uid": "bb5246c76569b39a5a7075ee20e0c9d9",
"css": "music",
"code": 59440,
"src": "custom_icons",
@@ -651,7 +679,7 @@
]
},
{
- "uid": "89edc708279e0a2f208da9a8935cd711",
+ "uid": "4b7c4addba19e4779ccb592e3f1a1878",
"css": "new-window",
"code": 59441,
"src": "custom_icons",
@@ -665,7 +693,7 @@
]
},
{
- "uid": "aaadaf199bf9e8b001c679e5ac0d83ce",
+ "uid": "9aa4ed9fc874fc9b1d456f2a28e21e4c",
"css": "plus",
"code": 59442,
"src": "custom_icons",
@@ -679,7 +707,7 @@
]
},
{
- "uid": "cb38adf3b38500c4c8b7056e34dc517b",
+ "uid": "f5220206259bc0a46dc800c9be5df86e",
"css": "question",
"code": 59443,
"src": "custom_icons",
@@ -693,7 +721,7 @@
]
},
{
- "uid": "36b9c25faee8f161a6b7681a167d1ae1",
+ "uid": "8e8625a1d505845aa19c1fd94cb20941",
"css": "refresh",
"code": 59444,
"src": "custom_icons",
@@ -707,7 +735,7 @@
]
},
{
- "uid": "5f28c6be42a1f9769fb73539b4da23a4",
+ "uid": "3c4875fa1031e60536f9ee4821b968e3",
"css": "share",
"code": 59445,
"src": "custom_icons",
@@ -721,7 +749,7 @@
]
},
{
- "uid": "f2e5891d295b4380664adbccbb4d8f8a",
+ "uid": "a4acde6b00981c181e9290e3687467a7",
"css": "tournament",
"code": 59446,
"src": "custom_icons",
@@ -735,7 +763,7 @@
]
},
{
- "uid": "ea32a06b7b3333f66fb32de077ed0775",
+ "uid": "7ad1721208921a84a9e64d23e011ec94",
"css": "triangle",
"code": 59447,
"src": "custom_icons",
@@ -749,7 +777,7 @@
]
},
{
- "uid": "ae4ae746cfd1e46a2ce7ef4929e2c465",
+ "uid": "bee068745137314094479127356a5283",
"css": "upload",
"code": 59448,
"src": "custom_icons",
@@ -763,7 +791,7 @@
]
},
{
- "uid": "6a4bf7f83ccf1d0894b9cb25578be338",
+ "uid": "321c1481bfe9594a260e4add7734caef",
"css": "user",
"code": 59449,
"src": "custom_icons",
@@ -777,7 +805,7 @@
]
},
{
- "uid": "ef5e1725abb5d66559953f79e2bb7f54",
+ "uid": "acbf396accc966674236c1cecde7bccd",
"css": "video",
"code": 59450,
"src": "custom_icons",
@@ -791,7 +819,7 @@
]
},
{
- "uid": "108c9a103d769bb3f4b8292fd9133cc2",
+ "uid": "5124266d527f41fc502b0b697cd0581b",
"css": "x",
"code": 59451,
"src": "custom_icons",
@@ -805,7 +833,7 @@
]
},
{
- "uid": "4744aa250b0d78a35d1c111fff3f6efe",
+ "uid": "cacbb544f3a90bc15f10aff84d066e62",
"css": "zip",
"code": 59452,
"src": "custom_icons",
@@ -819,7 +847,7 @@
]
},
{
- "uid": "3512848f0a87f5e718581be9413c1b27",
+ "uid": "379f3d4bb9faf6e60c06ef52e8aa6e44",
"css": "keypad",
"code": 59453,
"src": "custom_icons",
@@ -833,115 +861,101 @@
]
},
{
- "uid": "acffa4d05dc5599151aaa8633ed2bffb",
- "css": "pin_circle",
- "code": 59460,
+ "uid": "a4b29f2a668c8e32ea001626e2143410",
+ "css": "detach",
+ "code": 59455,
"src": "custom_icons",
"selected": true,
"svg": {
- "path": "M500 0Q364 0 248 68 135 135 68 248 0 364 0 500T68 752Q135 865 248 932 364 1000 500 1000T752 932Q865 865 932 752 1000 636 1000 500T932 248Q865 135 752 68 636 0 500 0ZM500 83Q614 83 711 140 805 195 860 289 917 386 917 500T860 711Q805 805 711 860 614 917 500 917T289 860Q195 805 140 711 83 614 83 500T140 289Q195 195 289 140 386 83 500 83ZM439 275Q428 275 422 280L282 420Q275 427 275 437T281.5 454 296.5 462.5 312 460L391 539 428 636Q429 639 431 641L432 643 470 680Q477 687 486.5 687.5T503 682L575 610 670 705Q678 712 688 712T705 705 712.5 688.5 707 672L610 575 680 505Q687 498 687.5 488.5T682 472L643 432Q641 429 636 428L539 391 460 312Q464 304 462.5 296T454.5 281.5 439 275ZM425 348L507 430Q511 434 514 435L611 471 627 487 488 627 472 611 435 514Q434 511 432 509L348 425Z",
+ "path": "M202 342Q251 369 324 383 394 397 471 397T618 383Q691 369 740 342V475Q740 490 750 501T774 514H778Q794 514 805.5 502.5T817 475V240Q817 191 766 154 719 120 637 101 560 83 471 83T305 101Q223 120 176 154 125 191 125 240V710Q125 758 175 795 220 828 298 847 370 865 453 867H454Q470 867 481.5 855T493 827 481.5 799.5 454 788Q378 786 315 771 263 758 230 739 202 722 202 710V577Q249 602 317 616 382 629 453 631H454Q470 631 481.5 619.5T493 592 481.5 564.5 454 553Q378 551 315 536 263 523 230 504 202 487 202 475V342ZM202 240Q202 227 233 210 268 190 323 177 390 162 471 162T619 177Q674 190 709 210 740 227 740 240T709 270Q674 290 619 303 552 318 471 318T323 303Q268 290 233 270 202 253 202 240ZM871 814V814Q885 814 895 807 908 797 912 788 918 777 916 762.5T906 738L778 577Q770 566 758 560T732.5 554 708 560Q695 567 687 577L559 738Q551 748 549 762.5T552.5 788 570 807Q580 814 595 814H871ZM733 627L828 747H637ZM905 907Q914 896 914 882T905 859Q893 849 881 849H579Q566 849 556 859T546 882 555.5 906 579 917H881Q893 917 905 907ZM881 896H579Q576 896 570 892V892Q576 896 579 896H881Z",
"width": 1000
},
"search": [
- "pin_circle"
+ "detach"
]
},
{
- "uid": "76d5258ecd4dfd8257ffbc2b638b37ef",
- "css": "pin_no_circle",
- "code": 59461,
+ "uid": "f0b33eebf851e9ceaa43332162541dea",
+ "css": "manifest-icon-flattened",
+ "code": 59457,
"src": "custom_icons",
"selected": true,
"svg": {
- "path": "M439 275Q428 275 422 280L282 420Q275 427 275 437T281.5 454 296.5 462.5 312 460L391 539 428 636Q429 639 431 641L432 643 470 680Q477 687 486.5 687.5T503 682L575 610 670 705Q678 712 688 712T705 705 712.5 688.5 707 672L610 575 680 505Q687 498 687.5 488.5T682 472L643 432Q641 429 636 428L539 391 460 312Q464 304 462.5 296T454.5 281.5 439 275ZM425 348L507 430Q511 434 514 435L611 471 627 487 488 627 472 611 435 514Q434 511 432 509L348 425Z",
+ "path": "M533 167Q575 167 604 196T633 267V333Q633 374 604 403.5T533 433V467H633Q673 467 702 494T733 561V567Q775 567 804 596T833 667V733Q833 774 804 803.5T733 833H667Q626 833 596.5 803.5T567 733V667Q567 625 596.5 596T667 567Q667 554 658.5 544.5T637 534L367 533Q354 533 345 541.5T334 563L333 567Q375 567 404 596T433 667V733Q433 774 404 803.5T333 833H267Q226 833 196.5 803.5T167 733V667Q167 625 196.5 596T267 567Q267 527 294 498T361 467H467V433Q426 433 396.5 403.5T367 333V267Q367 225 396.5 196T467 167H533ZM533 367Q547 367 557 357T567 333V267Q567 253 557 243T533 233H467Q453 233 443 243T433 267V333Q433 347 443 357T467 367H533ZM667 633Q653 633 643 643T633 667V733Q633 747 643 757T667 767H733Q747 767 757 757T767 733V667Q767 653 757 643T733 633H667ZM333 633H267Q253 633 243 643T233 667V733Q233 747 243 757T267 767H333Q347 767 357 757T367 733V667Q367 653 357 643T333 633Z",
"width": 1000
},
"search": [
- "pin_no_circle"
- ]
- },
- {
- "uid": "24b108f86978c615cca149c7d65c3974",
- "css": "arrow-download",
- "code": 59520,
- "src": "custom_icons",
- "selected": true,
- "svg": {
- "path": "M451 731Q460 737 475 737T505 727L774 458Q790 442 790 420.5T774 383.5 736.5 368 700 384L526 557V53Q526 31 511 15.5T474 0 436.5 15 421 53V557L248 384Q232 368 210.5 368T173 383.5 157 420.5 173 458L436 722Q442 728 451 731ZM947 842Q947 885 925.5 921T868 978.5 790 1000H158Q115 1000 79 978.5T21.5 921 0 842V737Q0 714 15.5 699T53 684 90 699.5 105 737V842Q105 864 120.5 879.5T158 895H790Q811 895 826.5 879.5T842 842V737Q842 714 857.5 699T895 684 932 699.5 947 737V842Z",
- "width": 947
- },
- "search": [
- "arrow-download"
+ "manifest-icon-flattened"
]
},
{
- "uid": "be3e016c96e66ce94777bfe5a0a6354c",
- "css": "detach",
- "code": 59455,
+ "uid": "9b1898b8e7a54bf8e7ba248adc7a6c36",
+ "css": "download-2",
+ "code": 59458,
"src": "custom_icons",
"selected": true,
"svg": {
- "path": "M201.9 342.1C268.6 378.2 370.2 396.6 470.9 396.6S673.2 378.2 739.9 342.1V474.9C739.9 495.1 754.8 511.8 774.4 513.9 775.7 514 777 514.1 778.4 514.1 799.5 514.1 816.8 496.4 816.8 474.9V239.9C816.8 136.9 642.7 83.3 470.9 83.3S125.1 137 125.1 239.9V709.8C125.1 812.4 294.9 862.6 453.3 866.5H454.1C475.2 866.5 492.5 848.8 492.5 827.3 492.5 805.4 475.2 788.2 454.1 788.2 287.7 784.3 202 731.4 202 709.8V577.1C266.2 611.5 361.7 629.3 453.3 631.5H454.1C475.2 631.5 492.5 613.9 492.5 592.3 492.5 570.4 475.2 553.2 454.1 553.2 287.7 549.3 202 496.4 202 474.9V342.1ZM201.9 240C201.9 217.3 296 161.7 470.9 161.7S739.9 217.3 739.9 240 645.8 318.3 470.9 318.3C296 318.3 201.9 262.7 201.9 240ZM870.8 814.3H870.9C879.5 814.3 888 811.8 895.3 807.1S908.5 795.6 912.2 787.6C915.9 779.7 917.4 770.8 916.3 762S911.9 744.9 906.4 738.1L778.1 576.6C772.7 569.7 765.7 564.1 757.8 560.3S741.4 554.5 732.7 554.5C723.9 554.5 715.3 556.4 707.5 560.3S692.7 569.7 687.2 576.6L558.9 738.1C553.4 744.9 549.9 753.3 548.9 762.1S549.3 779.8 553.1 787.7C556.8 795.7 562.7 802.4 570 807.1S585.8 814.3 594.5 814.3H870.8ZM732.7 626.8L828 746.7H637.3L732.7 626.8ZM904.5 906.8C910.7 900.4 914.2 891.8 914.2 882.9S910.7 865.3 904.5 859C898.3 852.6 889.8 849.1 881.1 849.1H579.3C570.6 849.1 562.1 852.6 555.9 859S546.2 873.9 546.2 882.9C546.2 891.8 549.7 900.4 555.9 906.8S570.6 916.7 579.3 916.7H881.1C889.8 916.7 898.3 913.1 904.5 906.8ZM881.1 895.7H579.3C576 895.7 572.8 894.3 570.4 891.9 570.4 891.9 570.4 891.9 570.4 891.9 572.8 894.3 576 895.7 579.3 895.7H881.1Z",
- "width": 1000
+ "path": "M412 533V529 59Q412 34 429 17T470.5 0 512 17 529 59V530L671 423Q691 409 715 412.5T753.5 435 764.5 478.5 741 518L506 694Q491 706 472 706T437 695L201 529Q182 516 177.5 492T187 448 225 423.5 269 433H270ZM0 823V941Q0 966 17 983T59 1000H882Q907 1000 924 983T941 941V823Q941 799 924 782T882.5 765 841 782 824 823V882H118V823Q118 799 100.5 782T58.5 765 17 782 0 823Z",
+ "width": 941
},
"search": [
- "detach"
+ "download-2"
]
},
{
- "uid": "641cee69d0ab8673d1185dfd2a425995",
- "css": "move",
- "code": 59439,
+ "uid": "d5f4abd6403ef3f4708520042a0d6aab",
+ "css": "pin_circle",
+ "code": 59460,
"src": "custom_icons",
"selected": true,
"svg": {
- "path": "M664 83H667 668Q684 83 696 95L905 304Q917 316 917 333V792Q917 825 900 854T855 900 792 917H563Q545 917 533 905T521 875 533 845 563 833H792Q809 833 821 821T833 792V375H708Q674 375 650 350T625 292V167H375Q358 167 346 179T334 208V542Q334 559 322 571T292 583 263 571 250 542V208Q250 174 267 145T313 100 375 83H664ZM775 292L708 225V292H775ZM304 946Q316 958 334 958H333Q348 958 362 946L487 821Q493 815 496 807T499 791H500L499 787Q498 779 496 775 493 767 488 762L363 637Q350 624 333 624T304 636 291 666 304 696L358 749H167Q149 749 137 761T125 791 137 820 167 833H358L304 887Q291 899 291 917T304 946Z",
+ "path": "M500 0Q364 0 248 68 135 135 68 248 0 364 0 500T68 752Q135 865 248 932 364 1000 500 1000T752 932Q865 865 932 752 1000 636 1000 500T932 248Q865 135 752 68 636 0 500 0ZM500 83Q614 83 711 140 805 195 860 289 917 386 917 500T860 711Q805 805 711 860 614 917 500 917T289 860Q195 805 140 711 83 614 83 500T140 289Q195 195 289 140 386 83 500 83ZM439 275Q428 275 422 280L282 420Q275 427 275 437T282 454 297 462 312 460L391 539 428 636Q429 639 431 641L432 643 470 680Q477 687 487 687T503 682L575 610 670 705Q678 712 688 712T705 705 713 688 707 672L610 575 680 505Q687 498 688 488T682 472L643 432Q641 429 636 428L539 391 460 312Q464 304 463 296T455 281 439 275ZM425 348L507 430Q511 434 514 435L611 471 627 487 488 627 472 611 435 514Q434 511 432 509L348 425Z",
"width": 1000
},
"search": [
- "move"
+ "pin_circle"
]
},
{
- "uid": "c8ec8e47d37ffab6c94eb5cd1a22d23c",
- "css": "manifest-icon-flattened",
- "code": 59457,
+ "uid": "5dd86b9fb6ec274841b4a4b16a26672b",
+ "css": "pin_no_circle",
+ "code": 59461,
"src": "custom_icons",
"selected": true,
"svg": {
- "path": "M533.3 166.7C588.6 166.7 633.3 211.4 633.3 266.7V333.3C633.3 388.5 588.6 433.3 533.3 433.3V466.7H633.3C686.6 466.7 730.1 508.3 733.2 560.8L733.3 566.7C788.6 566.7 833.3 611.4 833.3 666.7V733.3C833.3 788.5 788.6 833.3 733.3 833.3H666.7C611.5 833.3 566.7 788.5 566.7 733.3V666.7C566.7 611.4 611.5 566.7 666.7 566.7 666.7 549.6 653.8 535.5 637.3 533.6L366.7 533.3C349.6 533.3 335.5 546.2 333.6 562.8L333.4 566.7C388.6 566.7 433.4 611.4 433.4 666.7V733.3C433.4 788.5 388.6 833.3 333.4 833.3H266.7C211.5 833.3 166.7 788.5 166.7 733.3V666.7C166.7 611.4 211.5 566.7 266.7 566.7 266.7 513.4 308.3 469.9 360.8 466.8L366.7 466.7H466.7V433.3C411.5 433.3 366.7 388.5 366.7 333.3V266.7C366.7 211.4 411.5 166.7 466.7 166.7H533.4ZM533.3 366.7C551.8 366.7 566.7 351.7 566.7 333.3V266.7C566.7 248.3 551.8 233.3 533.3 233.3H466.7C448.3 233.3 433.3 248.3 433.3 266.7V333.3C433.3 351.7 448.3 366.7 466.7 366.7H533.3ZM666.7 633.3C648.3 633.3 633.3 648.3 633.3 666.7V733.3C633.3 751.7 648.3 766.7 666.7 766.7H733.3C751.7 766.7 766.7 751.7 766.7 733.3V666.7C766.7 648.3 751.7 633.3 733.3 633.3H666.7ZM333.3 633.3H266.7C248.3 633.3 233.3 648.3 233.3 666.7V733.3C233.3 751.7 248.3 766.7 266.7 766.7H333.3C351.7 766.7 366.7 751.7 366.7 733.3V666.7C366.7 648.3 351.7 633.3 333.3 633.3Z",
+ "path": "M439 275Q428 275 422 280L282 420Q275 427 275 437T282 454 297 462 312 460L391 539 428 636Q429 639 431 641L432 643 470 680Q477 687 487 687T503 682L575 610 670 705Q678 712 688 712T705 705 713 688 707 672L610 575 680 505Q687 498 688 488T682 472L643 432Q641 429 636 428L539 391 460 312Q464 304 463 296T455 281 439 275ZM425 348L507 430Q511 434 514 435L611 471 627 487 488 627 472 611 435 514Q434 511 432 509L348 425Z",
"width": 1000
},
"search": [
- "manifest-icon-flattened"
+ "pin_no_circle"
]
},
{
- "uid": "40b2b20d850dd1a256f11bdb905695c4",
- "css": "download-2",
- "code": 59458,
+ "uid": "850584ca72bc257f3797b3b480962722",
+ "css": "arrow-download",
+ "code": 59520,
"src": "custom_icons",
"selected": true,
"svg": {
- "path": "M411.9 533C411.8 531.8 411.8 530.6 411.8 529.4V58.8C411.8 26.3 438.1 0 470.6 0 503.1 0 529.4 26.3 529.4 58.8V529.4C529.4 529.6 529.4 529.7 529.4 529.9L670.7 423.5C696.7 404 733.5 409.3 753 435.3 772.5 461.3 767.3 498.2 741.3 517.7L506 694.1C495.8 701.8 483.4 705.9 470.7 705.9 458.5 706 446.6 702.3 436.6 695.3L201.3 529.4C174.9 510.7 168.6 474.1 187.1 447.7 205.8 421 242.5 414.6 269.1 433.2L269.5 433.5 411.9 533ZM0 823.5V941.2C0 973.7 26.3 1000 58.8 1000H882.4C914.8 1000 941.2 973.7 941.2 941.2V823.5C941.2 791 914.8 764.7 882.4 764.7 849.9 764.7 823.5 791 823.5 823.5V882.4H117.6V823.5C117.6 791 91.3 764.7 58.8 764.7 26.3 764.7 0 791 0 823.5Z",
- "width": 941
+ "path": "M451 731Q460 737 475 737T505 727L774 458Q790 442 790 420T774 383 737 368 700 384L526 557V53Q526 31 511 15T474 0 437 15 421 53V557L248 384Q232 368 211 368T173 383 157 420 173 458L436 722Q442 728 451 731ZM947 842Q947 885 926 921T868 979 790 1000H158Q115 1000 79 979T22 921 0 842V737Q0 714 16 699T53 684 90 699 105 737V842Q105 864 121 880T158 895H790Q811 895 827 880T842 842V737Q842 714 858 699T895 684 932 699 947 737V842Z",
+ "width": 947
},
"search": [
- "style-6"
+ "arrow-download"
]
},
{
- "uid": "1c0e9febb9bf70d7c305dcedb80d1545",
- "css": "gift",
- "code": 59393,
+ "uid": "44a8d45ad44bd67602c9dfb9a4dc9b53",
+ "css": "license",
+ "code": 59459,
"src": "custom_icons",
"selected": true,
"svg": {
- "path": "M900 175C900 78.3 821.7 0 725 0L714.6 0.1C628 3.2 551.6 63.2 500 158.8L493.2 146.7C439.8 54.6 361.9-1.5 274.1 0 178.3 0 100 78.3 100 175 100 201.8 106 227.3 116.8 250H100C44.8 250 0 294.8 0 350V450C0 505.2 44.8 550 100 550V850L100.3 858.8C104.8 937.6 170.1 1000 250 1000L758.8 999.7C837.6 995.2 900 929.9 900 850V550C955.2 550 1000 505.2 1000 450V350C1000 294.8 955.2 250 900 250H883.2C894 227.3 900 201.8 900 175ZM725 250H567.8C604.9 154.8 665.1 99 724.1 100 766.4 100 800 133.6 800 175S766.4 250 725 250ZM432.2 250H275L267.8 249.7C229.8 246 200 214 200 175 200 133.6 233.6 100 275 100 334.7 99 395.1 154.8 432.2 250ZM275 350H450V450H100V350H275ZM200 850V550H450V900H250L244.2 899.7C219.3 896.8 200 875.6 200 850ZM750 900H550V550H800V850L799.7 855.8C796.8 880.7 775.6 900 750 900ZM900 450H550V350H900V450Z",
+ "path": "M542.5 916.7H750.3V916.6C818.9 916.6 875 860.4 875 791.6V333.3 333.3C875 332.8 875 332.3 875 331.8 874.8 327.1 873.9 322.5 872.3 318.3 870.2 312.8 867 307.8 863 303.7L655.2 95.4C647.3 87.5 636.5 82.9 625.6 83.3V83.3L624.9 83.3H334.7C265.8 83.3 210.1 139.2 210.1 208.3V333.3C210.1 356.3 228.4 375 251.6 375 274.5 375 293.2 356.3 293.2 333.3V208.3C293.2 185 311.5 166.7 334.7 166.7H584.1V291.7C584.1 337.5 621.1 375 667.2 375H791.9V791.7C791.9 814.6 773.2 833.3 750.3 833.3H542.5C519.3 833.3 501 851.7 501 875 501 897.9 519.3 916.7 542.5 916.7ZM733.3 291.7L667.2 225.4V291.7H733.3ZM184.9 709.7C149.4 679 127 633.7 127 583.3 127 491.3 201.3 416.7 293.2 416.7 384.6 416.7 459.4 491.3 459.4 583.3 459.4 635.2 435.5 681.7 398.2 712.3L455.7 904.6C460.3 920.4 455.3 937.9 442.4 948.7 435.3 954.6 426.2 957.9 417.4 958.3L417.9 958.4C411.2 957.9 404.6 956.7 399.2 953.8L293.2 900.9 187.2 953.8H186.8C171.8 961.3 154 959.2 141.5 948.8 127.8 938.4 122 920.9 126.5 904.6L184.9 709.7ZM260.7 746.8L233.8 836.2 272.4 817.1C284 810.8 297.8 810.8 309.8 817.1L348.5 836.2 321.7 747.5C312.4 749.2 302.9 750 293.2 750 282.1 750 271.2 748.9 260.7 746.8ZM293.2 500C247.1 500 210.1 537.1 210.1 583.3 210.1 629.2 247.1 666.7 293.2 666.7 338.9 666.7 376.3 629.2 376.3 583.3 376.3 537.1 338.9 500 293.2 500Z",
"width": 1000
},
"search": [
- "style"
+ "license"
]
}
]
diff --git a/assets/icons/license.svg b/assets/icons/license.svg
new file mode 100644
index 0000000..1f0e818
--- /dev/null
+++ b/assets/icons/license.svg
@@ -0,0 +1,3 @@
+
diff --git a/lib/src/components/check_box.dart b/lib/src/components/check_box.dart
index e615c02..d409be4 100644
--- a/lib/src/components/check_box.dart
+++ b/lib/src/components/check_box.dart
@@ -86,7 +86,10 @@ class ArDriveCheckBoxState extends State {
case CheckBoxState.disabled:
break;
}
- widget.onChange?.call(checked);
+
+ if (widget.onChange != null && state != CheckBoxState.disabled) {
+ widget.onChange?.call(checked);
+ }
},
child: ArDriveClickArea(
child: Row(
diff --git a/lib/src/components/data_table/data_table.dart b/lib/src/components/data_table/data_table.dart
index 29ff8fc..0c22da1 100644
--- a/lib/src/components/data_table/data_table.dart
+++ b/lib/src/components/data_table/data_table.dart
@@ -6,10 +6,19 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class TableColumn {
- TableColumn(this.title, this.size);
+ TableColumn(
+ this.title,
+ this.size, {
+ required this.index,
+ this.isVisible = true,
+ this.canHide = true,
+ });
final String title;
final int size;
+ final bool isVisible;
+ final int index;
+ final bool canHide;
}
class TableRowWidget {
@@ -37,6 +46,7 @@ class ArDriveDataTable extends StatefulWidget {
final bool forceDisableMultiSelect;
final bool lockMultiSelect;
final T? selectedRow;
+ final Function(TableColumn)? onChangeColumnVisibility;
const ArDriveDataTable({
super.key,
@@ -57,6 +67,7 @@ class ArDriveDataTable extends StatefulWidget {
this.forceDisableMultiSelect = false,
this.lockMultiSelect = false,
this.selectedRow,
+ this.onChangeColumnVisibility,
});
@override
@@ -77,6 +88,7 @@ class _ArDriveDataTableState
late List _currentPage;
final List> _multiSelectBoxes = [];
T? _selectedItem;
+ List _columns = [];
final ScrollController _scrollController = ScrollController();
@@ -119,6 +131,8 @@ class _ArDriveDataTableState
RawKeyboard.instance.addListener(_handleKeyDownEvent);
RawKeyboard.instance.addListener(_handleEscapeKey);
RawKeyboard.instance.addListener(_handleSelectAllShortcut);
+
+ _columns = widget.columns;
}
void openMultiSelectBox() {
@@ -156,6 +170,19 @@ class _ArDriveDataTableState
});
}
+ void _toggleColumnVisibility(int index) {
+ setState(() {
+ final column = TableColumn(
+ _columns[index].title,
+ _columns[index].size,
+ isVisible: !_columns[index].isVisible,
+ index: _columns[index].index,
+ );
+ _columns[index] = column;
+ widget.onChangeColumnVisibility?.call(column);
+ });
+ }
+
int _recalculateCurrentPage() {
// calculate the new total number of items after removing the items
int removedItemCount = _cachedRows.length - widget.rows.length;
@@ -362,9 +389,9 @@ class _ArDriveDataTableState
@override
Widget build(BuildContext context) {
final columns = List.generate(
- widget.columns.length,
+ _columns.length,
(index) => _buildSingleColumn(
- column: widget.columns[index],
+ column: _columns[index],
index: index,
),
growable: false,
@@ -380,7 +407,7 @@ class _ArDriveDataTableState
leftPadding = 20;
}
if (widget.trailing != null) {
- rightPadding = 135;
+ rightPadding = 20;
} else {
rightPadding = 20;
}
@@ -406,7 +433,37 @@ class _ArDriveDataTableState
duration: const Duration(milliseconds: 300),
padding: getPadding(),
child: Row(
- children: columns,
+ children: [
+ ...columns,
+ const SizedBox(
+ width: 90,
+ ),
+ ArDriveSubmenu(
+ alignmentOffset: const Offset(-150, 10),
+ menuChildren: [
+ for (int i = 0; i < _columns.length; i++)
+ ArDriveSubmenuItem(
+ widget: Padding(
+ padding: EdgeInsets.only(
+ top: (i == 0) ? 16 : 8,
+ left: 16,
+ right: 16,
+ bottom: (i == _columns.length - 1) ? 16 : 8),
+ child: ArDriveCheckBox(
+ isDisabled: !_columns[i].canHide,
+ title: _columns[i].title,
+ checked: _columns[i].isVisible,
+ titleStyle:
+ ArDriveTypography.body.buttonLargeBold(),
+ onChange: (value) {
+ _toggleColumnVisibility(i);
+ },
+ ),
+ ))
+ ],
+ child: ArDriveIcons.plus(),
+ ),
+ ],
),
),
),
@@ -431,7 +488,7 @@ class _ArDriveDataTableState
child: Padding(
padding: const EdgeInsets.only(top: 5),
child: _buildRowSpacing(
- widget.columns,
+ _columns,
widget.buildRow(_currentPage[index]).row,
_currentPage[index],
index,
@@ -450,6 +507,9 @@ class _ArDriveDataTableState
}
Widget _buildSingleColumn({required TableColumn column, required int index}) {
+ if (!column.isVisible) {
+ return const SizedBox();
+ }
return Flexible(
flex: column.size,
child: ArDriveClickArea(
@@ -818,12 +878,15 @@ class _ArDriveDataTableState
...List.generate(
columns.length,
(index) {
+ if (!columns[index].isVisible) {
+ return const SizedBox();
+ }
return Flexible(
- flex: columns[index].size,
+ flex: columns[columns[index].index].size,
child: ArDriveClickArea(
child: Align(
alignment: Alignment.centerLeft,
- child: buildRow[index],
+ child: buildRow[columns[index].index],
),
),
);
diff --git a/lib/src/styles/icons/ar_drive_icons_icons.dart b/lib/src/styles/icons/ar_drive_icons_icons.dart
index 10e4fdf..690cf8f 100644
--- a/lib/src/styles/icons/ar_drive_icons_icons.dart
+++ b/lib/src/styles/icons/ar_drive_icons_icons.dart
@@ -151,6 +151,8 @@ class ArDriveIconsData {
IconData(0xe841, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData download_2 =
IconData(0xe842, fontFamily: _kFontFam, fontPackage: _kFontPkg);
+ static const IconData license =
+ IconData(0xe843, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData pin_circle =
IconData(0xe844, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData pin_no_circle =
diff --git a/lib/src/styles/icons/icons.dart b/lib/src/styles/icons/icons.dart
index 9739d1a..16991b0 100644
--- a/lib/src/styles/icons/icons.dart
+++ b/lib/src/styles/icons/icons.dart
@@ -299,6 +299,12 @@ class ArDriveIcons {
size: size,
color: color,
);
+ // license
+ static ArDriveIcon license({double? size, Color? color}) => ArDriveIcon(
+ icon: ArDriveIconsData.license,
+ size: size,
+ color: color,
+ );
// move
static ArDriveIcon move({double? size, Color? color}) => ArDriveIcon(
icon: ArDriveIconsData.move,
diff --git a/pubspec.yaml b/pubspec.yaml
index ffa931c..bcd8400 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,7 +1,7 @@
name: ardrive_ui
description: UI Design Library for the ArDrive Design System
-version: 1.17.1
+version: 1.18.0
publish_to: "none"
diff --git a/storybook/lib/src/icons.dart b/storybook/lib/src/icons.dart
index 46fe657..09b9349 100644
--- a/storybook/lib/src/icons.dart
+++ b/storybook/lib/src/icons.dart
@@ -77,6 +77,7 @@ List _options = [
IconOption(icon: ArDriveIcons.x(), name: 'x'),
IconOption(icon: ArDriveIcons.newWindow(), name: 'newWindow'),
IconOption(icon: ArDriveIcons.share(), name: 'share'),
+ IconOption(icon: ArDriveIcons.license(), name: 'license'),
IconOption(icon: ArDriveIcons.move(), name: 'move'),
IconOption(icon: ArDriveIcons.plus(), name: 'plus'),
IconOption(icon: ArDriveIcons.tournament(), name: 'tournament'),
diff --git a/storybook/lib/src/table.dart b/storybook/lib/src/table.dart
index a6bfa1d..543d6e2 100644
--- a/storybook/lib/src/table.dart
+++ b/storybook/lib/src/table.dart
@@ -46,9 +46,9 @@ Widget _tableWithContent(BuildContext context) {
: null,
key: ValueKey('$space2 $space1'),
columns: [
- TableColumn('Name', space1),
- TableColumn('Size', space2),
- TableColumn('Last Updated', space3),
+ TableColumn('Name', space1, index: 0),
+ TableColumn('Size', space2, index: 1),
+ TableColumn('Last Updated', space3, index: 2, canHide: false),
],
sort: (columnIndex) {
if (columnIndex == 2) {
diff --git a/storybook/pubspec.lock b/storybook/pubspec.lock
index bc0e300..7cd6fc6 100644
--- a/storybook/pubspec.lock
+++ b/storybook/pubspec.lock
@@ -16,7 +16,7 @@ packages:
path: ".."
relative: true
source: path
- version: "1.15.0"
+ version: "1.17.1"
args:
dependency: transitive
description: