@moshevents/tokens 0.4.0 → 0.4.1

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.
package/README.md CHANGED
@@ -108,8 +108,10 @@ type per view, like one primary button per view. The dashboard slots `--vd-secon
108
108
 
109
109
  One icon set for web and iOS, in `icons/icons.json`. Icons are **stock Lucide** under
110
110
  their Lucide names (the same set `lucide-react` ships), so the app matches the web
111
- dashboard, plus two Mosh custom icons: `concierge` (bell with a knob) and `payouts`
112
- (a stack of cash). Product names map to icons through `aliases` (`door` → `door-open`,
111
+ dashboard, plus three Mosh custom icons: `concierge` (bell with a knob), `payouts`
112
+ (a stack of cash) and `inbox` (Lucide's tray redrawn to fill the same 18×18 box as its
113
+ tab-bar neighbours; the stock one is 20×16 and read squat beside them). Product names
114
+ map to icons through `aliases` (`door` → `door-open`,
113
115
  `audience` → `users-round`, …). `filled` holds the selected-tab variants.
114
116
 
115
117
  **One visual weight across sizes:** stroke 2px at 24, 1.75px at 20, 1.5px at 16
package/dist/icons.js CHANGED
@@ -22,7 +22,7 @@ const DATA = {
22
22
  "globe": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/>",
23
23
  "house": "<path d=\"M3 10a2 2 0 0 1 .7-1.5l7-6a2 2 0 0 1 2.6 0l7 6a2 2 0 0 1 .7 1.5v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"/><path d=\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\"/>",
24
24
  "id-card": "<rect width=\"20\" height=\"14\" x=\"2\" y=\"5\" rx=\"2\"/><circle cx=\"8\" cy=\"12\" r=\"2\"/><path d=\"M14 10h4\"/><path d=\"M14 14h4\"/>",
25
- "inbox": "<polyline points=\"22 12 16 12 14 15 10 15 8 12 2 12\"/><path d=\"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z\"/>",
25
+ "inbox": "<polyline points=\"21 12 15.5 12 13.8 15 10.2 15 8.5 12 3 12\"/><path d=\"M5.18 4.45 3 12v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7l-2.18-7.55A2 2 0 0 0 16.9 3H7.1a2 2 0 0 0-1.92 1.45z\"/>",
26
26
  "instagram": "<rect width=\"20\" height=\"20\" x=\"2\" y=\"2\" rx=\"5\" ry=\"5\"/><path d=\"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z\"/><line x1=\"17.5\" x2=\"17.51\" y1=\"6.5\" y2=\"6.5\"/>",
27
27
  "mail": "<rect width=\"20\" height=\"16\" x=\"2\" y=\"4\" rx=\"2\"/><path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"/>",
28
28
  "map-pin": "<path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\"/><circle cx=\"12\" cy=\"10\" r=\"3\"/>",
@@ -51,7 +51,7 @@ const DATA = {
51
51
  "filled": {
52
52
  "house": "<path fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M2.00 19.00 L2.03 19.42 L2.15 19.93 L2.32 20.36 L2.52 20.69 L2.77 21.00 L3.15 21.36 L3.53 21.61 L3.88 21.78 L4.38 21.94 L4.84 22.00 L9.50 22.00 L9.50 14.00 L9.53 13.74 L9.63 13.50 L9.79 13.29 L10.00 13.13 L10.24 13.03 L10.50 13.00 L13.50 13.00 L13.76 13.03 L14.00 13.13 L14.21 13.29 L14.37 13.50 L14.47 13.74 L14.50 14.00 L14.50 22.00 L19.16 22.00 L19.81 21.89 L20.36 21.68 L20.69 21.48 L21.00 21.23 L21.23 21.00 L21.48 20.69 L21.68 20.36 L21.83 20.00 L21.98 19.36 L22.00 19.00 L22.00 9.90 L21.90 9.23 L21.66 8.64 L21.38 8.19 L21.02 7.80 L13.95 1.74 L13.64 1.51 L13.23 1.28 L12.90 1.16 L12.56 1.07 L12.15 1.02 L11.79 1.03 L11.33 1.10 L10.93 1.22 L10.61 1.36 L10.05 1.74 L3.04 7.75 L2.62 8.19 L2.29 8.74 L2.10 9.27 L2.00 9.90Z\"/>",
53
53
  "calendar": "<rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"2\"/><path d=\"M8 2v4M16 2v4\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"/>",
54
- "inbox": "<path fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M4.56 4.66 L1.11 11.55 L1.06 11.68 L1.13 11.50 L1.29 11.29 L1.50 11.13 L1.74 11.03 L2.00 11.00 L8.00 11.00 L8.24 11.03 L8.47 11.12 L8.67 11.26 L8.83 11.45 L10.54 14.00 L13.46 14.00 L15.17 11.45 L15.33 11.26 L15.53 11.12 L15.76 11.03 L16.00 11.00 L22.00 11.00 L22.26 11.03 L22.50 11.13 L22.71 11.29 L22.87 11.50 L22.94 11.68 L22.89 11.55 L19.32 4.44 L19.05 4.07 L18.69 3.71 L18.32 3.44 L17.82 3.20 L17.29 3.05 L16.78 3.00 L6.94 3.02 L6.53 3.09 L6.18 3.20 L5.88 3.33 L5.53 3.54 L5.20 3.80 L4.95 4.07 L4.75 4.33ZM1.03 11.77 L1.00 12.00 L1.03 11.75ZM1.00 18.00 L1.05 18.55 L1.17 19.00 L1.39 19.47 L1.72 19.95 L2.15 20.36 L2.53 20.61 L3.07 20.85 L3.58 20.97 L4.00 21.00 L20.00 21.00 L20.42 20.97 L20.81 20.89 L21.18 20.76 L21.53 20.58 L21.85 20.36 L22.14 20.10 L22.40 19.80 L22.61 19.47 L22.78 19.12 L22.91 18.74 L22.98 18.36 L23.00 18.00 L23.00 12.00 L22.97 12.26 L22.87 12.50 L22.71 12.71 L22.50 12.87 L22.26 12.97 L22.00 13.00 L16.54 13.00 L14.83 15.55 L14.67 15.74 L14.47 15.88 L14.24 15.97 L14.00 16.00 L10.00 16.00 L9.76 15.97 L9.53 15.88 L9.33 15.74 L9.17 15.55 L7.46 13.00 L2.00 13.00 L1.74 12.97 L1.50 12.87 L1.29 12.71 L1.13 12.50 L1.03 12.26 L1.00 12.00ZM22.97 11.77 L22.97 11.75 L23.00 12.00Z\"/>",
54
+ "inbox": "<path fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M7.11 2H16.89A3 3 0 0 1 19.78 4.17L21.96 11.72 22 12V19A3 3 0 0 1 19 22H5A3 3 0 0 1 2 19V12L2.04 11.72 4.22 4.17A3 3 0 0 1 7.11 2ZM4.2 11H9.08L10.78 14H13.22L14.92 11H19.8V13H16.08L14.38 16H9.62L7.92 13H4.2Z\"/>",
55
55
  "map-pin": "<path fill-rule=\"evenodd\" fill=\"currentColor\" stroke=\"none\" d=\"M12 23.2c-.4 0-.75-.2-.95-.55L5.5 14.4A7.6 7.6 0 1 1 18.5 14.4l-5.55 8.25c-.2.35-.55.55-.95.55ZM12 6.1a3 3 0 1 0 0 6a3 3 0 0 0 0-6Z\"/>"
56
56
  },
57
57
  "aliases": {
@@ -79,7 +79,8 @@ const DATA = {
79
79
  },
80
80
  "custom": [
81
81
  "concierge",
82
- "payouts"
82
+ "payouts",
83
+ "inbox"
83
84
  ]
84
85
  };
85
86
 
package/icons/icons.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
- "$description": "Mosh icon set: the single source for every icon on web and iOS. Stock Lucide (lucide.dev, the set lucide-react uses on web) under their Lucide names, plus two Mosh custom icons. Markup is the inner content of a 24×24 viewBox drawn with stroke=currentColor, stroke-width 2, round caps and joins, fill none unless an element says otherwise. Edit HERE, then `npm run build`.",
3
- "$license": "Lucide icons © Lucide Contributors, ISC License (https://lucide.dev/license). Custom Mosh icons (concierge, payouts) © Mosh Technologies, Inc.",
2
+ "$description": "Mosh icon set: the single source for every icon on web and iOS. Stock Lucide (lucide.dev, the set lucide-react uses on web) under their Lucide names, plus three Mosh custom icons. Markup is the inner content of a 24×24 viewBox drawn with stroke=currentColor, stroke-width 2, round caps and joins, fill none unless an element says otherwise. Edit HERE, then `npm run build`.",
3
+ "$license": "Lucide icons © Lucide Contributors, ISC License (https://lucide.dev/license). Custom Mosh icons (concierge, payouts, inbox) © Mosh Technologies, Inc.",
4
4
  "$decisions": [
5
5
  "Icons are stock Lucide so iOS matches the web dashboard (Garrett, 2026-11-06).",
6
6
  "Two custom icons: concierge (bell with a knob, not a stem) and payouts (a stack of cash) (2026-11-06).",
7
7
  "One visual weight across sizes: stroke 2px at 24, 1.75px at 20, 1.5px at 16 (2026-11-06).",
8
- "Selected tab = the filled variant in nav-selected (black/white), unselected = outline in nav-unselected; never brand red (2026-11-06)."
8
+ "Selected tab = the filled variant in nav-selected (black/white), unselected = outline in nav-unselected; never brand red (2026-11-06).",
9
+ "inbox is a Mosh redraw of Lucide's tray (2026-11-08): Lucide's is 20 wide by 16 tall, so in a tab bar it read squat and wide next to the 18×18 glyphs; Mosh's fills the same 18×18 box (3..21), with a slot-cut filled form."
9
10
  ],
10
11
  "strokeWidth": {
11
12
  "16": 1.5,
@@ -14,7 +15,8 @@
14
15
  },
15
16
  "custom": [
16
17
  "concierge",
17
- "payouts"
18
+ "payouts",
19
+ "inbox"
18
20
  ],
19
21
  "aliases": {
20
22
  "profile": "store",
@@ -54,7 +56,7 @@
54
56
  "globe": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/>",
55
57
  "house": "<path d=\"M3 10a2 2 0 0 1 .7-1.5l7-6a2 2 0 0 1 2.6 0l7 6a2 2 0 0 1 .7 1.5v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"/><path d=\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\"/>",
56
58
  "id-card": "<rect width=\"20\" height=\"14\" x=\"2\" y=\"5\" rx=\"2\"/><circle cx=\"8\" cy=\"12\" r=\"2\"/><path d=\"M14 10h4\"/><path d=\"M14 14h4\"/>",
57
- "inbox": "<polyline points=\"22 12 16 12 14 15 10 15 8 12 2 12\"/><path d=\"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z\"/>",
59
+ "inbox": "<polyline points=\"21 12 15.5 12 13.8 15 10.2 15 8.5 12 3 12\"/><path d=\"M5.18 4.45 3 12v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7l-2.18-7.55A2 2 0 0 0 16.9 3H7.1a2 2 0 0 0-1.92 1.45z\"/>",
58
60
  "instagram": "<rect width=\"20\" height=\"20\" x=\"2\" y=\"2\" rx=\"5\" ry=\"5\"/><path d=\"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z\"/><line x1=\"17.5\" x2=\"17.51\" y1=\"6.5\" y2=\"6.5\"/>",
59
61
  "mail": "<rect width=\"20\" height=\"16\" x=\"2\" y=\"4\" rx=\"2\"/><path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"/>",
60
62
  "map-pin": "<path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\"/><circle cx=\"12\" cy=\"10\" r=\"3\"/>",
@@ -83,7 +85,7 @@
83
85
  "filled": {
84
86
  "house": "<path fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M2.00 19.00 L2.03 19.42 L2.15 19.93 L2.32 20.36 L2.52 20.69 L2.77 21.00 L3.15 21.36 L3.53 21.61 L3.88 21.78 L4.38 21.94 L4.84 22.00 L9.50 22.00 L9.50 14.00 L9.53 13.74 L9.63 13.50 L9.79 13.29 L10.00 13.13 L10.24 13.03 L10.50 13.00 L13.50 13.00 L13.76 13.03 L14.00 13.13 L14.21 13.29 L14.37 13.50 L14.47 13.74 L14.50 14.00 L14.50 22.00 L19.16 22.00 L19.81 21.89 L20.36 21.68 L20.69 21.48 L21.00 21.23 L21.23 21.00 L21.48 20.69 L21.68 20.36 L21.83 20.00 L21.98 19.36 L22.00 19.00 L22.00 9.90 L21.90 9.23 L21.66 8.64 L21.38 8.19 L21.02 7.80 L13.95 1.74 L13.64 1.51 L13.23 1.28 L12.90 1.16 L12.56 1.07 L12.15 1.02 L11.79 1.03 L11.33 1.10 L10.93 1.22 L10.61 1.36 L10.05 1.74 L3.04 7.75 L2.62 8.19 L2.29 8.74 L2.10 9.27 L2.00 9.90Z\"/>",
85
87
  "calendar": "<rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"2\"/><path d=\"M8 2v4M16 2v4\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"/>",
86
- "inbox": "<path fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M4.56 4.66 L1.11 11.55 L1.06 11.68 L1.13 11.50 L1.29 11.29 L1.50 11.13 L1.74 11.03 L2.00 11.00 L8.00 11.00 L8.24 11.03 L8.47 11.12 L8.67 11.26 L8.83 11.45 L10.54 14.00 L13.46 14.00 L15.17 11.45 L15.33 11.26 L15.53 11.12 L15.76 11.03 L16.00 11.00 L22.00 11.00 L22.26 11.03 L22.50 11.13 L22.71 11.29 L22.87 11.50 L22.94 11.68 L22.89 11.55 L19.32 4.44 L19.05 4.07 L18.69 3.71 L18.32 3.44 L17.82 3.20 L17.29 3.05 L16.78 3.00 L6.94 3.02 L6.53 3.09 L6.18 3.20 L5.88 3.33 L5.53 3.54 L5.20 3.80 L4.95 4.07 L4.75 4.33ZM1.03 11.77 L1.00 12.00 L1.03 11.75ZM1.00 18.00 L1.05 18.55 L1.17 19.00 L1.39 19.47 L1.72 19.95 L2.15 20.36 L2.53 20.61 L3.07 20.85 L3.58 20.97 L4.00 21.00 L20.00 21.00 L20.42 20.97 L20.81 20.89 L21.18 20.76 L21.53 20.58 L21.85 20.36 L22.14 20.10 L22.40 19.80 L22.61 19.47 L22.78 19.12 L22.91 18.74 L22.98 18.36 L23.00 18.00 L23.00 12.00 L22.97 12.26 L22.87 12.50 L22.71 12.71 L22.50 12.87 L22.26 12.97 L22.00 13.00 L16.54 13.00 L14.83 15.55 L14.67 15.74 L14.47 15.88 L14.24 15.97 L14.00 16.00 L10.00 16.00 L9.76 15.97 L9.53 15.88 L9.33 15.74 L9.17 15.55 L7.46 13.00 L2.00 13.00 L1.74 12.97 L1.50 12.87 L1.29 12.71 L1.13 12.50 L1.03 12.26 L1.00 12.00ZM22.97 11.77 L22.97 11.75 L23.00 12.00Z\"/>",
88
+ "inbox": "<path fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M7.11 2H16.89A3 3 0 0 1 19.78 4.17L21.96 11.72 22 12V19A3 3 0 0 1 19 22H5A3 3 0 0 1 2 19V12L2.04 11.72 4.22 4.17A3 3 0 0 1 7.11 2ZM4.2 11H9.08L10.78 14H13.22L14.92 11H19.8V13H16.08L14.38 16H9.62L7.92 13H4.2Z\"/>",
87
89
  "map-pin": "<path fill-rule=\"evenodd\" fill=\"currentColor\" stroke=\"none\" d=\"M12 23.2c-.4 0-.75-.2-.95-.55L5.5 14.4A7.6 7.6 0 1 1 18.5 14.4l-5.55 8.25c-.2.35-.55.55-.95.55ZM12 6.1a3 3 0 1 0 0 6a3 3 0 0 0 0-6Z\"/>"
88
90
  }
89
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moshevents/tokens",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Mosh Design System — design tokens (CSS variables + Tailwind theme) and the Mosh icon set for web/admin; iOS consumes the SwiftPM target.",
5
5
  "type": "module",
6
6
  "files": [