@minmaps-dev/material-icon-set 0.2.0-rc.1 → 0.2.0-rc.3

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.
@@ -56,6 +56,17 @@ export const registry = [
56
56
  "group": "amenity",
57
57
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M229.88-200Q184-200 152-232.08q-32-32.09-32-77.92H40v-380q0-28.88 20.56-49.44Q81.13-760 110-760h576l234 234v216h-80q0 45.83-32.12 77.92-32.12 32.08-78 32.08T652-232.08q-32-32.09-32-77.92H340q0 46-32.12 78t-78 32ZM600-560h194L654-700h-54v140Zm-250 0h190v-140H350v140Zm-250 0h190v-140H100v140Zm129.86 310q25.14 0 42.64-17.36t17.5-42.5q0-25.14-17.36-42.64t-42.5-17.5q-25.14 0-42.64 17.36t-17.5 42.5q0 25.14 17.36 42.64t42.5 17.5Zm500 0q25.14 0 42.64-17.36t17.5-42.5q0-25.14-17.36-42.64t-42.5-17.5q-25.14 0-42.64 17.36t-17.5 42.5q0 25.14 17.36 42.64t42.5 17.5ZM100-370h37q17-26 42.5-38t50.5-12q25 0 50.5 12t42.5 38h314q17-26 42.5-38t50.5-12q25 0 50.5 12t42.5 38h37v-130H100v130Zm760-130H100h760Z\"/></svg>"
58
58
  },
59
+ {
60
+ "name": "anchor",
61
+ "keywords": [
62
+ "marina",
63
+ "harbor",
64
+ "port",
65
+ "dock"
66
+ ],
67
+ "group": "amenity",
68
+ "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M480-80q-66 0-130.5-24T234-167q-51-39-82.5-88T120-355v-100l135 101-58 58q31 58 106 103.5T450-142v-388H320v-60h130v-74q-38-14-59-42t-21-64q0-46 32.5-78t77.5-32q46 0 78 32t32 78q0 36-21 64t-59 42v74h130v60H510v388q72-5 147-50.5T763-296l-58-58 135-101v100q0 51-31.5 100T726-167q-51 39-115.5 63T480-80Zm0-640q21 0 35.5-15t14.5-35q0-21-14.5-35.5T480-820q-20 0-35 14.5T430-770q0 20 15 35t35 15Z\"/></svg>"
69
+ },
59
70
  {
60
71
  "name": "apartment",
61
72
  "keywords": [
@@ -454,7 +465,9 @@ export const registry = [
454
465
  "name": "contact_support",
455
466
  "keywords": [
456
467
  "help",
457
- "service"
468
+ "service",
469
+ "info",
470
+ "information"
458
471
  ],
459
472
  "group": "amenity",
460
473
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"m515-80-10-110h-40q-143 0-244-101T120-535q0-143 101.5-244T467-880q71 0 131.5 25.5T704-783q45 46 70.5 108.5T800-538q0 66-19.5 132T724-280q-37 60-90 111T515-80Zm50-108q82-69 128.5-162.5T740-538q0-124-77.5-203T467-820q-120 0-203.5 83.5T180-535q0 118 83.5 201.5T465-250h100v62Zm-98-115q16 0 27-11t11-27q0-16-11-27t-27-11q-16 0-27 11t-11 27q0 16 11 27t27 11Zm-27-136h50q0-25 8.5-41.5T534-524q27-27 38-49.5t11-48.5q0-45-30.5-74T471-725q-42 0-75 22t-49 60l46 19q11-26 30.5-38.5T468-675q30 0 47 14.5t17 38.5q0 19-11 38.5T482-535q-27 28-34.5 45t-7.5 51Zm20-65Z\"/></svg>"
@@ -571,6 +584,17 @@ export const registry = [
571
584
  "group": "amenity",
572
585
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M194.95-80Q114-80 57-137.05q-57-57.06-57-138Q0-356 57.05-413q57.06-57 138-57Q276-470 333-412.95q57 57.06 57 138Q390-194 332.95-137q-57.06 57-138 57Zm.05-60q57 0 96-39t39-96q0-57-39-96t-96-39q-57 0-96 39t-39 96q0 57 39 96t96 39Zm255-66v-200L315-525q-11-9-16-21.84-5-12.83-5-27 0-14.16 5.5-26.16t15.5-22l119-119q11-11 24.59-16t28.5-5q14.91 0 28.41 5t24.5 16l78 78q30 30 68.25 48T767-597v60q-55.22 0-105.11-22T573-620l-40-40-111 112 88 95v247h-60Zm169.08-548q-30.08 0-51.58-21.42t-21.5-51.5q0-30.08 21.42-51.58t51.5-21.5q30.08 0 51.58 21.42t21.5 51.5q0 30.08-21.42 51.58t-51.5 21.5ZM764.95-80Q684-80 627-137.05q-57-57.06-57-138Q570-356 627.05-413q57.06-57 138-57Q846-470 903-412.95q57 57.06 57 138Q960-194 902.95-137q-57.06 57-138 57Zm.05-60q57 0 96-39t39-96q0-57-39-96t-96-39q-57 0-96 39t-39 96q0 57 39 96t96 39Z\"/></svg>"
573
586
  },
587
+ {
588
+ "name": "directions_boat",
589
+ "keywords": [
590
+ "ferry",
591
+ "boat",
592
+ "water taxi",
593
+ "terminal"
594
+ ],
595
+ "group": "amenity",
596
+ "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M178-80h-58v-60h58q40 0 79-11t76-34q35 22 72 32.5t75 10.5q38 0 75-10.5t72-32.5q38 23 77.5 34t78.5 11h57v60h-57q-39 0-78-9t-77-28q-38 19-75 28t-73 9q-36 0-73-9.5T333-117q-38 18-77.5 27.5T178-80Zm302-149q-36 0-75.5-20.5T330-307q-33 33-71 52.5T182-230l-71-245q-4-12 2-22.5t18-14.5l55-16v-190q0-25 17.5-42.5T246-778h132v-103h204v103h132q25 0 42.5 17.5T774-718v190l55 16q12 4 18 14.5t2 22.5l-71 245q-39-5-77-24.5T630-307q-35 37-74.5 57.5T480-229Zm1-60q32 0 58.5-18t47.5-43l41-48 36 38q16 17 34 31t38 25l48-159-304-92-304 92 48 159q20-11 38-25t34-31l36-38 41 48q22 25 49 43t59 18ZM246-547l234-71 234 72v-172H246v171Zm234 125Z\"/></svg>"
597
+ },
574
598
  {
575
599
  "name": "directions_bus",
576
600
  "keywords": [
@@ -590,6 +614,18 @@ export const registry = [
590
614
  "group": "amenity",
591
615
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M200-204v54q0 12.75-8.62 21.37Q182.75-120 170-120h-20q-12.75 0-21.37-8.63Q120-137.25 120-150v-324l85-256q5-14 16.5-22t26.5-8h464q15 0 26.5 8t16.5 22l85 256v324q0 12.75-8.62 21.37Q822.75-120 810-120h-21q-13 0-21-8.63-8-8.62-8-21.37v-54H200Zm3-330h554l-55-166H258l-55 166Zm-23 60v210-210Zm105.76 160q23.24 0 38.74-15.75Q340-345.5 340-368q0-23.33-15.75-39.67Q308.5-424 286-424q-23.33 0-39.67 16.26Q230-391.47 230-368.24q0 23.24 16.26 38.74 16.27 15.5 39.5 15.5ZM675-314q23.33 0 39.67-15.75Q731-345.5 731-368q0-23.33-16.26-39.67Q698.47-424 675.24-424q-23.24 0-38.74 16.26-15.5 16.27-15.5 39.5 0 23.24 15.75 38.74Q652.5-314 675-314Zm-495 50h600v-210H180v210Z\"/></svg>"
592
616
  },
617
+ {
618
+ "name": "directions_run",
619
+ "keywords": [
620
+ "fire exit",
621
+ "emergency exit",
622
+ "evacuation",
623
+ "escape",
624
+ "running man"
625
+ ],
626
+ "group": "amenity",
627
+ "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M535-40v-239l-108-99-42 188-265-55 11-56 199 40 73-369-100 47v134h-60v-175l164-69q32-14 45.5-17.5T480-714q20 0 35.5 8.5T542-680l42 67q26 42 71 73t105 31v60q-67 0-119.5-31T543-573l-39 158 91 84v291h-60Zm5-714q-30 0-51.5-21.5T467-827q0-30 21.5-51.5T540-900q30 0 51.5 21.5T613-827q0 30-21.5 51.5T540-754Z\"/></svg>"
628
+ },
593
629
  {
594
630
  "name": "directions_subway",
595
631
  "keywords": [
@@ -1006,7 +1042,8 @@ export const registry = [
1006
1042
  "name": "info",
1007
1043
  "keywords": [
1008
1044
  "information",
1009
- "help"
1045
+ "help",
1046
+ "info"
1010
1047
  ],
1011
1048
  "group": "amenity",
1012
1049
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M453-280h60v-240h-60v240Zm26.98-314q14.02 0 23.52-9.2T513-626q0-14.45-9.48-24.22-9.48-9.78-23.5-9.78t-23.52 9.78Q447-640.45 447-626q0 13.6 9.48 22.8 9.48 9.2 23.5 9.2Zm.29 514q-82.74 0-155.5-31.5Q252-143 197.5-197.5t-86-127.34Q80-397.68 80-480.5t31.5-155.66Q143-709 197.5-763t127.34-85.5Q397.68-880 480.5-880t155.66 31.5Q709-817 763-763t85.5 127Q880-563 880-480.27q0 82.74-31.5 155.5Q817-252 763-197.68q-54 54.31-127 86Q563-80 480.27-80Zm.23-60Q622-140 721-239.5t99-241Q820-622 721.19-721T480-820q-141 0-240.5 98.81T140-480q0 141 99.5 240.5t241 99.5Zm-.5-340Z\"/></svg>"
@@ -1167,11 +1204,26 @@ export const registry = [
1167
1204
  "keywords": [
1168
1205
  "water",
1169
1206
  "drink",
1170
- "fountain"
1207
+ "fountain",
1208
+ "vending",
1209
+ "vending machine",
1210
+ "refreshments",
1211
+ "beverages",
1212
+ "soda"
1171
1213
  ],
1172
1214
  "group": "amenity",
1173
1215
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M262-80q-23 0-40.5-15T202-133l-82-747h720l-82 747q-2 23-19.5 38T698-80H262Zm-48-500 47.96 440H698l48-440H214Zm-7-60h546l20-180H187l20 180Zm272.83 387Q460-253 446-266.53T432-299q0-24 12.5-53t35.5-59q23 30 35.5 59t12.5 53q0 18.94-14.17 32.47-14.16 13.53-34 13.53Zm.17 60q45.47 0 76.74-31Q588-255 588-299q0-47-28.5-100T480-500q-51 48-79.5 101T372-299q0 44 31.26 75 31.27 31 76.74 31Zm-266 53h532-532Z\"/></svg>"
1174
1216
  },
1217
+ {
1218
+ "name": "local_fire_department",
1219
+ "keywords": [
1220
+ "fire station",
1221
+ "firefighter",
1222
+ "emergency"
1223
+ ],
1224
+ "group": "amenity",
1225
+ "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M220-400q0 63 28.5 118.5T328-189q-4-12-6-24.5t-2-24.5q0-32 12-60t35-51l113-111 113 111q23 23 35 51t12 60q0 12-2 24.5t-6 24.5q51-37 79.5-92.5T740-400q0-54-23-105.5T651-600q-21 15-44 23.5t-46 8.5q-61 0-101-41.5T420-714v-20q-46 33-83 73t-63 83.5q-26 43.5-40 89T220-400Zm260 24-71 70q-14 14-21.5 31t-7.5 37q0 41 29 69.5t71 28.5q42 0 71-28.5t29-69.5q0-20-7.5-37T551-306l-71-70Zm0-464v132q0 34 23.5 57t57.5 23q18 0 33.5-7.5T622-658l18-22q74 42 117 117t43 163q0 134-93 227T480-80q-134 0-227-93t-93-227q0-128 86-246.5T480-840Z\"/></svg>"
1226
+ },
1175
1227
  {
1176
1228
  "name": "local_gas_station",
1177
1229
  "keywords": [
@@ -1572,6 +1624,30 @@ export const registry = [
1572
1624
  "group": "connector",
1573
1625
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M450-80v-686L242-558l-42-42 280-280 280 280-42 42-208-208v686h-60Z\"/></svg>"
1574
1626
  },
1627
+ {
1628
+ "name": "not_listed_location",
1629
+ "keywords": [
1630
+ "location",
1631
+ "lost",
1632
+ "pin",
1633
+ "marker",
1634
+ "place"
1635
+ ],
1636
+ "group": "amenity",
1637
+ "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M480.02-325Q495-325 506-336.02q11-11.01 11-26Q517-377 505.98-388q-11.01-11-26-11Q465-399 454-387.98q-11 11.01-11 26Q443-347 454.02-336q11.01 11 26 11ZM455-449h50q0-15 .5-26t5.5-19q4-8 11-15t25-24q23-20 32.5-39.5T589-618q0-44.7-28.5-70.85Q532-715 483.35-715 445-715 414-694.19q-31 20.81-42 55.19l45 18q8-20 26-33t40.4-13q25.6 0 40.6 14t15 37q0 17.4-8 30.2t-27.53 30.93Q486-539 476.5-528.5 467-518 463-508.05q-4 9.05-6 22.55t-2 36.5Zm25 290q133-121 196.5-219.5T740-552q0-117.79-75.29-192.9Q589.42-820 480-820t-184.71 75.1Q220-669.79 220-552q0 75 65 173.5T480-159Zm0 79Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Zm0-480Z\"/></svg>"
1638
+ },
1639
+ {
1640
+ "name": "not_listed_location-fill",
1641
+ "keywords": [
1642
+ "location",
1643
+ "lost",
1644
+ "pin",
1645
+ "marker",
1646
+ "place"
1647
+ ],
1648
+ "group": "amenity",
1649
+ "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M480.02-325Q495-325 506-336.02q11-11.01 11-26Q517-377 505.98-388q-11.01-11-26-11Q465-399 454-387.98q-11 11.01-11 26Q443-347 454.02-336q11.01 11 26 11ZM455-449h50q0-15 .5-26t5.5-19q4-8 11-15t25-24q23-20 32.5-39.5T589-618q0-44.7-28.5-70.85Q532-715 483.35-715 445-715 414-694.19q-31 20.81-42 55.19l45 18q8-20 26-33t40.4-13q25.6 0 40.6 14t15 37q0 17.4-8 30.2t-27.53 30.93Q486-539 476.5-528.5 467-518 463-508.05q-4 9.05-6 22.55t-2 36.5Zm25 369Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Z\"/></svg>"
1650
+ },
1575
1651
  {
1576
1652
  "name": "outlet",
1577
1653
  "keywords": [
@@ -1827,6 +1903,17 @@ export const registry = [
1827
1903
  "group": "amenity",
1828
1904
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"M355-120q-65 0-110-45.53T200-275v-349q-35-13-57.5-41.26-22.5-28.27-22.5-64.41Q120-776 152.5-808t78-32q45.5 0 77.5 32.14t32 78.05q0 35.81-22.5 64.31T260-624v349q0 39.19 27.5 67.09Q315-180 355.5-180t67.5-27.91q27-27.9 27-67.09v-410q0-65 45-110t110-45q65 0 110 45t45 110v349q35 13 57.5 41.36Q840-266.27 840-230q0 45-32.08 77.5Q775.83-120 730-120q-45 0-77.5-32.5T620-230q0-36.3 22.5-65.15Q665-324 700-336v-349q0-40-27.5-67.5T605-780q-40 0-67.5 27.5T510-685v410q0 63.94-45 109.47T355-120ZM230.5-680q20.5 0 35-15t14.5-35.5q0-20.5-14.37-35Q251.25-780 230-780q-20 0-35 14.37-15 14.38-15 35.63 0 20 15 35t35.5 15Zm500 500q20.5 0 35-15t14.5-35.5q0-20.5-14.37-35Q751.25-280 730-280q-20 0-35 14.37-15 14.38-15 35.63 0 20 15 35t35.5 15ZM230-730Zm500 500Z\"/></svg>"
1829
1905
  },
1906
+ {
1907
+ "name": "sailing",
1908
+ "keywords": [
1909
+ "marina",
1910
+ "boat",
1911
+ "harbor",
1912
+ "sailboat"
1913
+ ],
1914
+ "group": "amenity",
1915
+ "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" viewBox=\"0 -960 960 960\"><path d=\"m129-420 301-438v438H129Zm115-60h126v-187L244-480Zm270 60q19-60 27.5-120.5T550-670q0-66-8.5-128.5T514-918q47 19 101 66.5T716-737q47 67 79 148.5T830-420H514Zm75-60h175q-17-87-62.5-168T602-782q5 30 6.5 59t1.5 53q0 46-6.5 99T589-480ZM360-196q-34 0-65-18.5T240-261q-14 14-33.5 27.5T169-213q-29-18-54-53.5T82-340h796q-8 38-33 73.5T791-213q-18-7-37.5-20.5T720-261q-24 28-55 46.5T600-196q-34 0-65-18.5T480-261q-24 28-55 46.5T360-196ZM80-40v-60h40q32 0 61.5-10.5T240-149q29 28 59 38.5t61 10.5q32 0 61.5-10.5T480-149q29 28 59 38.5t61 10.5q32 0 61.5-10.5T720-149q29 28 58.5 38.5T840-100h40v60h-40q-29 0-59.5-8.5T720-80q-30 23-60.5 31.5T600-40q-29 0-59.5-8.5T480-80q-30 23-60.5 31.5T360-40q-29 0-59.5-8.5T240-80q-30 23-60.5 31.5T120-40H80Zm290-440Zm219 0Z\"/></svg>"
1916
+ },
1830
1917
  {
1831
1918
  "name": "sanitizer",
1832
1919
  "keywords": [
package/dist/index.d.ts CHANGED
@@ -4,9 +4,10 @@ export type { IconEntry, IconGroup };
4
4
  /** The full curated icon registry ({ name, keywords, svg, group }[]), sorted by name. */
5
5
  export { registry };
6
6
  /**
7
- * Icons offered to a given picker. `'amenity'` returns amenity + shared (`both`)
8
- * icons; `'connector'` returns connector + shared. Used by the CMS to scope the
9
- * amenity vs. path-type/connector pickers.
7
+ * Icons offered to a given picker. One-way overlap: `'amenity'` is a SUPERSET
8
+ * it returns every icon (amenity + shared + connector), because an amenity may
9
+ * legitimately reuse a connector glyph. `'connector'` stays scoped to connector +
10
+ * shared (`both`) icons so amenity-only icons don't clutter the path-type picker.
10
11
  */
11
12
  export declare function iconsForGroup(group: IconGroup): IconEntry[];
12
13
  /** Just the icon names — handy for the CMS picker / validation. */
package/dist/index.js CHANGED
@@ -2,14 +2,16 @@ import { registry } from './generated/registry.js';
2
2
  /** The full curated icon registry ({ name, keywords, svg, group }[]), sorted by name. */
3
3
  export { registry };
4
4
  /**
5
- * Icons offered to a given picker. `'amenity'` returns amenity + shared (`both`)
6
- * icons; `'connector'` returns connector + shared. Used by the CMS to scope the
7
- * amenity vs. path-type/connector pickers.
5
+ * Icons offered to a given picker. One-way overlap: `'amenity'` is a SUPERSET
6
+ * it returns every icon (amenity + shared + connector), because an amenity may
7
+ * legitimately reuse a connector glyph. `'connector'` stays scoped to connector +
8
+ * shared (`both`) icons so amenity-only icons don't clutter the path-type picker.
8
9
  */
9
10
  export function iconsForGroup(group) {
10
- if (group === 'both')
11
- return registry;
12
- return registry.filter((e) => e.group === group || e.group === 'both');
11
+ if (group === 'connector') {
12
+ return registry.filter((e) => e.group === 'connector' || e.group === 'both');
13
+ }
14
+ return registry; // 'amenity' and 'both' see the full set
13
15
  }
14
16
  /** Just the icon names — handy for the CMS picker / validation. */
15
17
  export const iconNames = registry.map((e) => e.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minmaps-dev/material-icon-set",
3
- "version": "0.2.0-rc.1",
3
+ "version": "0.2.0-rc.3",
4
4
  "description": "Curated Material Symbols icon registry for the MinuteMaps CMS + Web SDK. Replaces @minmaps-dev/default-amenity-icons.",
5
5
  "license": "MIT",
6
6
  "author": "MTS LLC",