@xenosystem/elements 0.0.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.
Files changed (223) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +65 -0
  3. package/dist/elements/alert.d.ts +7 -0
  4. package/dist/elements/alert.js +20 -0
  5. package/dist/elements/app-window.d.ts +12 -0
  6. package/dist/elements/app-window.js +26 -0
  7. package/dist/elements/archive.d.ts +22 -0
  8. package/dist/elements/archive.js +40 -0
  9. package/dist/elements/arrow-left-right.d.ts +13 -0
  10. package/dist/elements/arrow-left-right.js +25 -0
  11. package/dist/elements/arrow-right.d.ts +7 -0
  12. package/dist/elements/arrow-right.js +18 -0
  13. package/dist/elements/arrow-up-right.d.ts +15 -0
  14. package/dist/elements/arrow-up-right.js +27 -0
  15. package/dist/elements/arrow-up.d.ts +7 -0
  16. package/dist/elements/arrow-up.js +18 -0
  17. package/dist/elements/attach.d.ts +7 -0
  18. package/dist/elements/attach.js +18 -0
  19. package/dist/elements/bell.d.ts +7 -0
  20. package/dist/elements/bell.js +19 -0
  21. package/dist/elements/bookmark.d.ts +14 -0
  22. package/dist/elements/bookmark.js +28 -0
  23. package/dist/elements/bot.d.ts +20 -0
  24. package/dist/elements/bot.js +35 -0
  25. package/dist/elements/brain-circuit.d.ts +24 -0
  26. package/dist/elements/brain-circuit.js +43 -0
  27. package/dist/elements/brain.d.ts +23 -0
  28. package/dist/elements/brain.js +38 -0
  29. package/dist/elements/briefcase.d.ts +14 -0
  30. package/dist/elements/briefcase.js +27 -0
  31. package/dist/elements/building.d.ts +15 -0
  32. package/dist/elements/building.js +34 -0
  33. package/dist/elements/calendar.d.ts +11 -0
  34. package/dist/elements/calendar.js +25 -0
  35. package/dist/elements/check-square.d.ts +13 -0
  36. package/dist/elements/check-square.js +25 -0
  37. package/dist/elements/check.d.ts +7 -0
  38. package/dist/elements/check.js +18 -0
  39. package/dist/elements/chevron-down.d.ts +7 -0
  40. package/dist/elements/chevron-down.js +18 -0
  41. package/dist/elements/chevron-right.d.ts +7 -0
  42. package/dist/elements/chevron-right.js +18 -0
  43. package/dist/elements/clock.d.ts +7 -0
  44. package/dist/elements/clock.js +19 -0
  45. package/dist/elements/code.d.ts +7 -0
  46. package/dist/elements/code.js +20 -0
  47. package/dist/elements/contrast.d.ts +22 -0
  48. package/dist/elements/contrast.js +41 -0
  49. package/dist/elements/copy.d.ts +7 -0
  50. package/dist/elements/copy.js +19 -0
  51. package/dist/elements/download.d.ts +7 -0
  52. package/dist/elements/download.js +21 -0
  53. package/dist/elements/edit.d.ts +7 -0
  54. package/dist/elements/edit.js +21 -0
  55. package/dist/elements/eye-off.d.ts +15 -0
  56. package/dist/elements/eye-off.js +28 -0
  57. package/dist/elements/eye.d.ts +7 -0
  58. package/dist/elements/eye.js +19 -0
  59. package/dist/elements/feather.d.ts +12 -0
  60. package/dist/elements/feather.js +25 -0
  61. package/dist/elements/file-clock.d.ts +20 -0
  62. package/dist/elements/file-clock.js +34 -0
  63. package/dist/elements/file-out.d.ts +13 -0
  64. package/dist/elements/file-out.js +27 -0
  65. package/dist/elements/file-x.d.ts +16 -0
  66. package/dist/elements/file-x.js +30 -0
  67. package/dist/elements/file.d.ts +7 -0
  68. package/dist/elements/file.js +23 -0
  69. package/dist/elements/filter.d.ts +7 -0
  70. package/dist/elements/filter.js +18 -0
  71. package/dist/elements/folder-up.d.ts +12 -0
  72. package/dist/elements/folder-up.js +25 -0
  73. package/dist/elements/folder.d.ts +7 -0
  74. package/dist/elements/folder.js +26 -0
  75. package/dist/elements/gear.d.ts +7 -0
  76. package/dist/elements/gear.js +20 -0
  77. package/dist/elements/globe.d.ts +7 -0
  78. package/dist/elements/globe.js +38 -0
  79. package/dist/elements/grid.d.ts +7 -0
  80. package/dist/elements/grid.js +21 -0
  81. package/dist/elements/hand.d.ts +13 -0
  82. package/dist/elements/hand.js +29 -0
  83. package/dist/elements/heart.d.ts +7 -0
  84. package/dist/elements/heart.js +20 -0
  85. package/dist/elements/help.d.ts +7 -0
  86. package/dist/elements/help.js +20 -0
  87. package/dist/elements/home.d.ts +7 -0
  88. package/dist/elements/home.js +21 -0
  89. package/dist/elements/image.d.ts +7 -0
  90. package/dist/elements/image.js +20 -0
  91. package/dist/elements/info.d.ts +7 -0
  92. package/dist/elements/info.js +20 -0
  93. package/dist/elements/layers.d.ts +7 -0
  94. package/dist/elements/layers.js +19 -0
  95. package/dist/elements/library.d.ts +15 -0
  96. package/dist/elements/library.js +28 -0
  97. package/dist/elements/lightbulb.d.ts +15 -0
  98. package/dist/elements/lightbulb.js +28 -0
  99. package/dist/elements/link.d.ts +7 -0
  100. package/dist/elements/link.js +20 -0
  101. package/dist/elements/list.d.ts +7 -0
  102. package/dist/elements/list.js +23 -0
  103. package/dist/elements/lock.d.ts +7 -0
  104. package/dist/elements/lock.js +21 -0
  105. package/dist/elements/maximize.d.ts +15 -0
  106. package/dist/elements/maximize.js +29 -0
  107. package/dist/elements/menu.d.ts +7 -0
  108. package/dist/elements/menu.js +20 -0
  109. package/dist/elements/message-plus.d.ts +12 -0
  110. package/dist/elements/message-plus.js +25 -0
  111. package/dist/elements/message-x.d.ts +12 -0
  112. package/dist/elements/message-x.js +25 -0
  113. package/dist/elements/message.d.ts +7 -0
  114. package/dist/elements/message.js +19 -0
  115. package/dist/elements/mic-off.d.ts +11 -0
  116. package/dist/elements/mic-off.js +25 -0
  117. package/dist/elements/mic.d.ts +7 -0
  118. package/dist/elements/mic.js +20 -0
  119. package/dist/elements/minimize.d.ts +13 -0
  120. package/dist/elements/minimize.js +27 -0
  121. package/dist/elements/minus.d.ts +7 -0
  122. package/dist/elements/minus.js +18 -0
  123. package/dist/elements/monitor.d.ts +12 -0
  124. package/dist/elements/monitor.js +25 -0
  125. package/dist/elements/more.d.ts +7 -0
  126. package/dist/elements/more.js +20 -0
  127. package/dist/elements/navigation.d.ts +11 -0
  128. package/dist/elements/navigation.js +22 -0
  129. package/dist/elements/next-dismiss.d.ts +30 -0
  130. package/dist/elements/next-dismiss.js +56 -0
  131. package/dist/elements/panel-left-close.d.ts +10 -0
  132. package/dist/elements/panel-left-close.js +24 -0
  133. package/dist/elements/panel-left.d.ts +13 -0
  134. package/dist/elements/panel-left.js +27 -0
  135. package/dist/elements/panel-right-close.d.ts +8 -0
  136. package/dist/elements/panel-right-close.js +21 -0
  137. package/dist/elements/panel-right.d.ts +11 -0
  138. package/dist/elements/panel-right.js +24 -0
  139. package/dist/elements/pause.d.ts +12 -0
  140. package/dist/elements/pause.js +24 -0
  141. package/dist/elements/play.d.ts +13 -0
  142. package/dist/elements/play.js +22 -0
  143. package/dist/elements/plus.d.ts +7 -0
  144. package/dist/elements/plus.js +19 -0
  145. package/dist/elements/quote.d.ts +15 -0
  146. package/dist/elements/quote.js +27 -0
  147. package/dist/elements/refresh.d.ts +7 -0
  148. package/dist/elements/refresh.js +21 -0
  149. package/dist/elements/save.d.ts +12 -0
  150. package/dist/elements/save.js +25 -0
  151. package/dist/elements/scan-eye.d.ts +16 -0
  152. package/dist/elements/scan-eye.js +32 -0
  153. package/dist/elements/search.d.ts +7 -0
  154. package/dist/elements/search.js +18 -0
  155. package/dist/elements/send.d.ts +7 -0
  156. package/dist/elements/send.js +19 -0
  157. package/dist/elements/shapes.d.ts +15 -0
  158. package/dist/elements/shapes.js +27 -0
  159. package/dist/elements/share.d.ts +7 -0
  160. package/dist/elements/share.js +21 -0
  161. package/dist/elements/sliders.d.ts +7 -0
  162. package/dist/elements/sliders.js +23 -0
  163. package/dist/elements/smile.d.ts +19 -0
  164. package/dist/elements/smile.js +33 -0
  165. package/dist/elements/sparkles.d.ts +21 -0
  166. package/dist/elements/sparkles.js +33 -0
  167. package/dist/elements/star.d.ts +14 -0
  168. package/dist/elements/star.js +28 -0
  169. package/dist/elements/stop.d.ts +12 -0
  170. package/dist/elements/stop.js +21 -0
  171. package/dist/elements/store.d.ts +12 -0
  172. package/dist/elements/store.js +25 -0
  173. package/dist/elements/sun.d.ts +7 -0
  174. package/dist/elements/sun.js +19 -0
  175. package/dist/elements/target.d.ts +22 -0
  176. package/dist/elements/target.js +35 -0
  177. package/dist/elements/terminal.d.ts +7 -0
  178. package/dist/elements/terminal.js +22 -0
  179. package/dist/elements/thumbs-down.d.ts +12 -0
  180. package/dist/elements/thumbs-down.js +24 -0
  181. package/dist/elements/thumbs-up.d.ts +21 -0
  182. package/dist/elements/thumbs-up.js +33 -0
  183. package/dist/elements/timer-off.d.ts +12 -0
  184. package/dist/elements/timer-off.js +31 -0
  185. package/dist/elements/trash.d.ts +7 -0
  186. package/dist/elements/trash.js +20 -0
  187. package/dist/elements/trending-up.d.ts +15 -0
  188. package/dist/elements/trending-up.js +27 -0
  189. package/dist/elements/upload.d.ts +7 -0
  190. package/dist/elements/upload.js +19 -0
  191. package/dist/elements/user-x.d.ts +16 -0
  192. package/dist/elements/user-x.js +30 -0
  193. package/dist/elements/user.d.ts +7 -0
  194. package/dist/elements/user.js +19 -0
  195. package/dist/elements/wand-sparkles.d.ts +21 -0
  196. package/dist/elements/wand-sparkles.js +34 -0
  197. package/dist/elements/waves.d.ts +11 -0
  198. package/dist/elements/waves.js +24 -0
  199. package/dist/elements/wrap-text.d.ts +12 -0
  200. package/dist/elements/wrap-text.js +25 -0
  201. package/dist/elements/x.d.ts +7 -0
  202. package/dist/elements/x.js +18 -0
  203. package/dist/elements/zap.d.ts +9 -0
  204. package/dist/elements/zap.js +20 -0
  205. package/dist/index.d.ts +14 -0
  206. package/dist/index.js +14 -0
  207. package/dist/schema.d.ts +240 -0
  208. package/dist/schema.js +101 -0
  209. package/dist/tokens/index.d.ts +17 -0
  210. package/dist/tokens/index.js +17 -0
  211. package/dist/tokens/interactive.d.ts +29 -0
  212. package/dist/tokens/interactive.js +26 -0
  213. package/dist/tokens/motion.d.ts +33 -0
  214. package/dist/tokens/motion.js +31 -0
  215. package/dist/tokens/radius.d.ts +22 -0
  216. package/dist/tokens/radius.js +21 -0
  217. package/dist/tokens/size.d.ts +98 -0
  218. package/dist/tokens/size.js +30 -0
  219. package/dist/tokens/status.d.ts +14 -0
  220. package/dist/tokens/status.js +13 -0
  221. package/dist/tokens/surfaces.d.ts +18 -0
  222. package/dist/tokens/surfaces.js +17 -0
  223. package/package.json +46 -0
@@ -0,0 +1,23 @@
1
+ /**
2
+ * `xeno.sliders` — Sliders. A degenerate element (pure geometry, no children).
3
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
4
+ */
5
+ export const Sliders = {
6
+ id: 'xeno.sliders',
7
+ kind: 'icon',
8
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
9
+ geometry: {
10
+ base: [
11
+ { kind: 'rect', x: 4, y: 7.1, w: 9, h: 1.8, rx: 0.4, fill: 'foreground' },
12
+ { kind: 'rect', x: 17, y: 7.1, w: 3, h: 1.8, rx: 0.4, fill: 'foreground' },
13
+ { kind: 'rect', x: 4, y: 15.1, w: 3, h: 1.8, rx: 0.4, fill: 'foreground' },
14
+ { kind: 'rect', x: 11, y: 15.1, w: 9, h: 1.8, rx: 0.4, fill: 'foreground' },
15
+ { kind: 'rect', x: 12.5, y: 5.5, w: 5, h: 5, rx: 1 },
16
+ { kind: 'rect', x: 6.5, y: 13.5, w: 5, h: 5, rx: 1 },
17
+ ],
18
+ },
19
+ bindings: [],
20
+ a11y: { role: 'img', label: 'Sliders' },
21
+ meta: { tags: ['settings', 'adjust', 'controls'], since: '0.1.0' },
22
+ };
23
+ export default Sliders;
@@ -0,0 +1,19 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.smile` — Funny. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A face, with no circle in it. The head is a rounded square at the family's LARGEST radius — 5.4 on a
6
+ * 15.6 square, well past anything else in the set — which is the whole trick: soft enough to be a face,
7
+ * still square enough to be from here. Drawn at `bot`'s radius it was a television with a mouth.
8
+ *
9
+ * That radius is also what separates it from `bot`, along with the two things `bot` has and this does
10
+ * not: an antenna, and a head wider than it is tall. This one is square and bare, and the mouth carries
11
+ * the rest.
12
+ *
13
+ * The eyes are strokes, as in `bot`, and here they earn it twice — they can narrow, and eyes narrowing
14
+ * is most of what a real smile is. A face where only the mouth moves is a face being polite.
15
+ *
16
+ * part[0] = head, part[1..2] = eyes, part[3] = mouth.
17
+ */
18
+ export declare const Smile: ElementDeclaration;
19
+ export default Smile;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * `xeno.smile` — Funny. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A face, with no circle in it. The head is a rounded square at the family's LARGEST radius — 5.4 on a
5
+ * 15.6 square, well past anything else in the set — which is the whole trick: soft enough to be a face,
6
+ * still square enough to be from here. Drawn at `bot`'s radius it was a television with a mouth.
7
+ *
8
+ * That radius is also what separates it from `bot`, along with the two things `bot` has and this does
9
+ * not: an antenna, and a head wider than it is tall. This one is square and bare, and the mouth carries
10
+ * the rest.
11
+ *
12
+ * The eyes are strokes, as in `bot`, and here they earn it twice — they can narrow, and eyes narrowing
13
+ * is most of what a real smile is. A face where only the mouth moves is a face being polite.
14
+ *
15
+ * part[0] = head, part[1..2] = eyes, part[3] = mouth.
16
+ */
17
+ export const Smile = {
18
+ id: 'xeno.smile',
19
+ kind: 'icon',
20
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
21
+ geometry: {
22
+ base: [
23
+ { kind: 'rect', x: 4.2, y: 4.2, w: 15.6, h: 15.6, rx: 5.4 },
24
+ { kind: 'path', d: 'M9.2 10L9.2 11.8' },
25
+ { kind: 'path', d: 'M14.8 10L14.8 11.8' },
26
+ { kind: 'path', d: 'M8.6 14.6C10 16.8 14 16.8 15.4 14.6' },
27
+ ],
28
+ },
29
+ bindings: [],
30
+ a11y: { role: 'img', label: 'Funny' },
31
+ meta: { tags: ['smile', 'funny', 'face', 'happy', 'reaction'], since: '0.2.0' },
32
+ };
33
+ export default Smile;
@@ -0,0 +1,21 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.sparkles` — New. A degenerate element (pure geometry, no children).
4
+ *
5
+ * Two four-pointed stars, one large and one small. Four points rather than five because a five-pointed
6
+ * star is a RATING — it means quality, and this glyph means novelty; the two live a few pixels apart in
7
+ * the same chat and must not be confused. Four points also has no orientation to get wrong: it reads the
8
+ * same at every size and never looks tilted.
9
+ *
10
+ * The arms are concave — each is a quadratic whose control point sits just off the centre, so the star
11
+ * pinches at its waist instead of being a diamond. That pinch is the entire difference between a sparkle
12
+ * and a rhombus, and it costs one control point per arm.
13
+ *
14
+ * Two, not three or four. One star is a mark; two is a scatter, which is what a sparkle is. Beyond two
15
+ * they stop being a scatter and start being a constellation, and the small one loses its job — which is
16
+ * to be the second beat of the motion.
17
+ *
18
+ * part[0] = large star, part[1] = small star.
19
+ */
20
+ export declare const Sparkles: ElementDeclaration;
21
+ export default Sparkles;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * `xeno.sparkles` — New. A degenerate element (pure geometry, no children).
3
+ *
4
+ * Two four-pointed stars, one large and one small. Four points rather than five because a five-pointed
5
+ * star is a RATING — it means quality, and this glyph means novelty; the two live a few pixels apart in
6
+ * the same chat and must not be confused. Four points also has no orientation to get wrong: it reads the
7
+ * same at every size and never looks tilted.
8
+ *
9
+ * The arms are concave — each is a quadratic whose control point sits just off the centre, so the star
10
+ * pinches at its waist instead of being a diamond. That pinch is the entire difference between a sparkle
11
+ * and a rhombus, and it costs one control point per arm.
12
+ *
13
+ * Two, not three or four. One star is a mark; two is a scatter, which is what a sparkle is. Beyond two
14
+ * they stop being a scatter and start being a constellation, and the small one loses its job — which is
15
+ * to be the second beat of the motion.
16
+ *
17
+ * part[0] = large star, part[1] = small star.
18
+ */
19
+ export const Sparkles = {
20
+ id: 'xeno.sparkles',
21
+ kind: 'icon',
22
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
23
+ geometry: {
24
+ base: [
25
+ { kind: 'path', d: 'M9.6 3.6Q10.5 8.7 15.6 9.6Q10.5 10.5 9.6 15.6Q8.7 10.5 3.6 9.6Q8.7 8.7 9.6 3.6Z' },
26
+ { kind: 'path', d: 'M17.8 14.2Q18.3 16.9 21 17.4Q18.3 17.9 17.8 20.6Q17.3 17.9 14.6 17.4Q17.3 16.9 17.8 14.2Z' },
27
+ ],
28
+ },
29
+ bindings: [],
30
+ a11y: { role: 'img', label: 'New' },
31
+ meta: { tags: ['sparkles', 'new', 'magic', 'ai', 'enhance'], since: '0.2.0' },
32
+ };
33
+ export default Sparkles;
@@ -0,0 +1,14 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.star` — Star.
4
+ *
5
+ * Stateful for the same reason `bookmark` is: starring a thing is a choice that outlives the tap
6
+ * which made it, so the glyph has to be able to say "on". It honours the `selection` axis — `off` is
7
+ * the outline `base`, `on` is the same silhouette FILLED. One path, identical length and commands,
8
+ * so the two variants morph rather than crossfade (`geometryMorphable` → true).
9
+ *
10
+ * Imported from the foundry workbench (which knows only the static outline); the declaration is the
11
+ * source of truth — edit here, do not regenerate.
12
+ */
13
+ export declare const Star: ElementDeclaration;
14
+ export default Star;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * `xeno.star` — Star.
3
+ *
4
+ * Stateful for the same reason `bookmark` is: starring a thing is a choice that outlives the tap
5
+ * which made it, so the glyph has to be able to say "on". It honours the `selection` axis — `off` is
6
+ * the outline `base`, `on` is the same silhouette FILLED. One path, identical length and commands,
7
+ * so the two variants morph rather than crossfade (`geometryMorphable` → true).
8
+ *
9
+ * Imported from the foundry workbench (which knows only the static outline); the declaration is the
10
+ * source of truth — edit here, do not regenerate.
11
+ */
12
+ export const Star = {
13
+ id: 'xeno.star',
14
+ kind: 'icon',
15
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: ['selection'], signals: [] },
16
+ geometry: {
17
+ base: [
18
+ { kind: 'path', d: 'M12 3.6l2.6 5.4 5.9.8-4.3 4.1 1 5.9-5.2-2.8-5.2 2.8 1-5.9L3.5 9.8l5.9-.8z' },
19
+ ],
20
+ 'selection:on': [
21
+ { kind: 'path', d: 'M12 3.6l2.6 5.4 5.9.8-4.3 4.1 1 5.9-5.2-2.8-5.2 2.8 1-5.9L3.5 9.8l5.9-.8z', fill: 'foreground' },
22
+ ],
23
+ },
24
+ bindings: [],
25
+ a11y: { role: 'img', label: 'Star' },
26
+ meta: { tags: ['favorite', 'rate'], since: '0.1.0' },
27
+ };
28
+ export default Star;
@@ -0,0 +1,12 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.stop` — Stop. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A rounded square, centred on the same axis and the same height as `play` and `pause`.
6
+ *
7
+ * Not a circle with a square inside it, which is the conventional drawing: the grammar has no circles,
8
+ * and the ring adds nothing the square does not already say. The radius is the family's small corner —
9
+ * enough to belong to the system, far from the half-dimension where a square becomes a capsule.
10
+ */
11
+ export declare const Stop: ElementDeclaration;
12
+ export default Stop;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * `xeno.stop` — Stop. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A rounded square, centred on the same axis and the same height as `play` and `pause`.
5
+ *
6
+ * Not a circle with a square inside it, which is the conventional drawing: the grammar has no circles,
7
+ * and the ring adds nothing the square does not already say. The radius is the family's small corner —
8
+ * enough to belong to the system, far from the half-dimension where a square becomes a capsule.
9
+ */
10
+ export const Stop = {
11
+ id: 'xeno.stop',
12
+ kind: 'icon',
13
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
14
+ geometry: {
15
+ base: [{ kind: 'rect', x: 5.6, y: 5.6, w: 12.8, h: 12.8, rx: 2.4 }],
16
+ },
17
+ bindings: [],
18
+ a11y: { role: 'img', label: 'Stop' },
19
+ meta: { tags: ['media', 'halt', 'end'], since: '0.2.0' },
20
+ };
21
+ export default Stop;
@@ -0,0 +1,12 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.store` - Store. A degenerate element (pure geometry, no children).
4
+ *
5
+ * An awning over a shopfront, with the door standing open in it. The awning is what separates this from
6
+ * `home`: both are a box with a lid, and the difference is that a roof comes to a point and an awning
7
+ * does not. Keeping the awning flat-topped is what stops the two colliding at 24px.
8
+ *
9
+ * part[0] = awning, part[1] = the front, part[2] = the door.
10
+ */
11
+ export declare const Store: ElementDeclaration;
12
+ export default Store;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * `xeno.store` - Store. A degenerate element (pure geometry, no children).
3
+ *
4
+ * An awning over a shopfront, with the door standing open in it. The awning is what separates this from
5
+ * `home`: both are a box with a lid, and the difference is that a roof comes to a point and an awning
6
+ * does not. Keeping the awning flat-topped is what stops the two colliding at 24px.
7
+ *
8
+ * part[0] = awning, part[1] = the front, part[2] = the door.
9
+ */
10
+ export const Store = {
11
+ id: 'xeno.store',
12
+ kind: 'icon',
13
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
14
+ geometry: {
15
+ base: [
16
+ { kind: 'path', d: 'M3.2 9.4 4.8 4.6A1.2 1.2 0 0 1 6 3.8h12a1.2 1.2 0 0 1 1.2 0.8l1.6 4.8z' },
17
+ { kind: 'path', d: 'M4.8 9.4V19a1.2 1.2 0 0 0 1.2 1.2h12a1.2 1.2 0 0 0 1.2-1.2V9.4' },
18
+ { kind: 'path', d: 'M9.8 20.2v-5.4a1 1 0 0 1 1-1h2.4a1 1 0 0 1 1 1v5.4' },
19
+ ],
20
+ },
21
+ bindings: [],
22
+ a11y: { role: 'img', label: 'Store' },
23
+ meta: { tags: ['shop', 'market', 'marketplace'], since: '0.2.0' },
24
+ };
25
+ export default Store;
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.sun` — Sun. A degenerate element (pure geometry, no children).
4
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
5
+ */
6
+ export declare const Sun: ElementDeclaration;
7
+ export default Sun;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * `xeno.sun` — Sun. A degenerate element (pure geometry, no children).
3
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
4
+ */
5
+ export const Sun = {
6
+ id: 'xeno.sun',
7
+ kind: 'icon',
8
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
9
+ geometry: {
10
+ base: [
11
+ { kind: 'rect', x: 8, y: 8, w: 8, h: 8, rx: 1.5 },
12
+ { kind: 'path', d: 'M12 2v2.6M12 19.4V22M4.4 4.4l1.9 1.9M17.7 17.7l1.9 1.9M2 12h2.6M19.4 12H22M4.4 19.6l1.9-1.9M17.7 6.3l1.9-1.9' },
13
+ ],
14
+ },
15
+ bindings: [],
16
+ a11y: { role: 'img', label: 'Sun' },
17
+ meta: { tags: ['light', 'brightness', 'day'], since: '0.1.0' },
18
+ };
19
+ export default Sun;
@@ -0,0 +1,22 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.target` — Accurate. A degenerate element (pure geometry, no children).
4
+ *
5
+ * Three rounded squares, nested and concentric. A target is the one thing in this set that is a circle
6
+ * everywhere else it has ever been drawn, and it was left on the borrowed set for exactly that reason:
7
+ * the argument was that a target IS round, so drawing it square is a lie about the object.
8
+ *
9
+ * What settled it was looking at the menu it lives in. Five rows, three of them XENO and two of them
10
+ * rings at a lighter stroke — and the rings did not read as "the honest drawing of a target", they read
11
+ * as two rows from a different product. A grammar is a claim about EVERY shape in it; the moment two
12
+ * shapes opt out, it stops being a grammar and becomes a preference.
13
+ *
14
+ * And the square version turns out to lose nothing. What a target means here is not archery, it is
15
+ * PRECISION — rings closing on a centre — and rings closing on a centre is what this is. The corner
16
+ * radius shrinks with each ring, so the innermost mark is nearly a point: the shape gets more exact as
17
+ * it gets smaller, which is the idea the glyph is for.
18
+ *
19
+ * part[0] = outer ring, part[1] = inner ring, part[2] = centre.
20
+ */
21
+ export declare const Target: ElementDeclaration;
22
+ export default Target;
@@ -0,0 +1,35 @@
1
+ /**
2
+ * `xeno.target` — Accurate. A degenerate element (pure geometry, no children).
3
+ *
4
+ * Three rounded squares, nested and concentric. A target is the one thing in this set that is a circle
5
+ * everywhere else it has ever been drawn, and it was left on the borrowed set for exactly that reason:
6
+ * the argument was that a target IS round, so drawing it square is a lie about the object.
7
+ *
8
+ * What settled it was looking at the menu it lives in. Five rows, three of them XENO and two of them
9
+ * rings at a lighter stroke — and the rings did not read as "the honest drawing of a target", they read
10
+ * as two rows from a different product. A grammar is a claim about EVERY shape in it; the moment two
11
+ * shapes opt out, it stops being a grammar and becomes a preference.
12
+ *
13
+ * And the square version turns out to lose nothing. What a target means here is not archery, it is
14
+ * PRECISION — rings closing on a centre — and rings closing on a centre is what this is. The corner
15
+ * radius shrinks with each ring, so the innermost mark is nearly a point: the shape gets more exact as
16
+ * it gets smaller, which is the idea the glyph is for.
17
+ *
18
+ * part[0] = outer ring, part[1] = inner ring, part[2] = centre.
19
+ */
20
+ export const Target = {
21
+ id: 'xeno.target',
22
+ kind: 'icon',
23
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
24
+ geometry: {
25
+ base: [
26
+ { kind: 'rect', x: 4.4, y: 4.4, w: 15.2, h: 15.2, rx: 3.2 },
27
+ { kind: 'rect', x: 8.4, y: 8.4, w: 7.2, h: 7.2, rx: 1.6 },
28
+ { kind: 'rect', x: 11, y: 11, w: 2, h: 2, rx: 0.6 },
29
+ ],
30
+ },
31
+ bindings: [],
32
+ a11y: { role: 'img', label: 'Accurate' },
33
+ meta: { tags: ['target', 'accurate', 'precision', 'aim', 'focus'], since: '0.2.0' },
34
+ };
35
+ export default Target;
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.terminal` — Terminal. A degenerate element (pure geometry, no children).
4
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
5
+ */
6
+ export declare const Terminal: ElementDeclaration;
7
+ export default Terminal;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * `xeno.terminal` — Terminal. A degenerate element (pure geometry, no children).
3
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
4
+ */
5
+ export const Terminal = {
6
+ id: 'xeno.terminal',
7
+ kind: 'icon',
8
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
9
+ geometry: {
10
+ // Split the prompt from the cursor so only the cursor can blink — part[0] = window, [1] = ">" prompt,
11
+ // [2] = the cursor/underline.
12
+ base: [
13
+ { kind: 'rect', x: 3.5, y: 4.5, w: 17, h: 15, rx: 1.5 },
14
+ { kind: 'path', d: 'M7.5 9.5l3 2.5-3 2.5' },
15
+ { kind: 'path', d: 'M13 15h4' },
16
+ ],
17
+ },
18
+ bindings: [],
19
+ a11y: { role: 'img', label: 'Terminal' },
20
+ meta: { tags: ['console', 'shell', 'cli'], since: '0.1.0' },
21
+ };
22
+ export default Terminal;
@@ -0,0 +1,12 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.thumbs-down` - Bad response. The mirror of {@link ThumbsUp}, and nothing else.
4
+ *
5
+ * Every coordinate is its twin reflected through the horizontal centre line of the 24 box, resolved into
6
+ * these numbers rather than carried as a transform - the grammar keeps geometry resolved so no renderer
7
+ * has to apply one.
8
+ *
9
+ * part[0] = cuff, part[1] = palm and thumb.
10
+ */
11
+ export declare const ThumbsDown: ElementDeclaration;
12
+ export default ThumbsDown;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * `xeno.thumbs-down` - Bad response. The mirror of {@link ThumbsUp}, and nothing else.
3
+ *
4
+ * Every coordinate is its twin reflected through the horizontal centre line of the 24 box, resolved into
5
+ * these numbers rather than carried as a transform - the grammar keeps geometry resolved so no renderer
6
+ * has to apply one.
7
+ *
8
+ * part[0] = cuff, part[1] = palm and thumb.
9
+ */
10
+ export const ThumbsDown = {
11
+ id: 'xeno.thumbs-down',
12
+ kind: 'icon',
13
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
14
+ geometry: {
15
+ base: [
16
+ { kind: 'rect', x: 4.5, y: 5.2, w: 3.6, h: 7.9, rx: 1 },
17
+ { kind: 'path', d: 'M8.1 12.8 11.4 18.1a1.5 1.5 0 0 0 2.8-0.9L13.6 13.8h4.2a1.7 1.7 0 0 0 1.7-2.1l-1.1-5a1.7 1.7 0 0 0-1.7-1.4H8.1z' },
18
+ ],
19
+ },
20
+ bindings: [],
21
+ a11y: { role: 'img', label: 'Bad response' },
22
+ meta: { tags: ['dislike', 'reject', 'negative'], since: '0.2.0' },
23
+ };
24
+ export default ThumbsDown;
@@ -0,0 +1,21 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.thumbs-up` - Good response. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A cuff and a hand: the small rounded square is the wrist, the larger shape is the palm with the thumb
6
+ * rising off its top edge. Two parts rather than one outline, so the thumb can move without the wrist
7
+ * following - a hand whose base travelled with its thumb would read as the whole arm lifting.
8
+ *
9
+ * Sized against the set, not against the box. The first draft filled 17.5 x 15.8 of the 24 grid, which is
10
+ * WIDER than `copy` (15) or `edit` (14) and only a shade under `info`, a full square frame — and a dense
11
+ * silhouette carries far more optical weight than an outline of the same span. Beside its neighbours in
12
+ * the message action bar it read as one size larger. Scaled to 0.857 about its own ink centre, it matches
13
+ * `copy`'s width and sits a little shorter, which is what a solid shape has to do to weigh the same.
14
+ *
15
+ * Kept a strict mirror of {@link ThumbsDown}. The two sit side by side under every answer, and any
16
+ * difference beyond the flip would show up as one being drawn better than the other.
17
+ *
18
+ * part[0] = cuff, part[1] = palm and thumb.
19
+ */
20
+ export declare const ThumbsUp: ElementDeclaration;
21
+ export default ThumbsUp;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * `xeno.thumbs-up` - Good response. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A cuff and a hand: the small rounded square is the wrist, the larger shape is the palm with the thumb
5
+ * rising off its top edge. Two parts rather than one outline, so the thumb can move without the wrist
6
+ * following - a hand whose base travelled with its thumb would read as the whole arm lifting.
7
+ *
8
+ * Sized against the set, not against the box. The first draft filled 17.5 x 15.8 of the 24 grid, which is
9
+ * WIDER than `copy` (15) or `edit` (14) and only a shade under `info`, a full square frame — and a dense
10
+ * silhouette carries far more optical weight than an outline of the same span. Beside its neighbours in
11
+ * the message action bar it read as one size larger. Scaled to 0.857 about its own ink centre, it matches
12
+ * `copy`'s width and sits a little shorter, which is what a solid shape has to do to weigh the same.
13
+ *
14
+ * Kept a strict mirror of {@link ThumbsDown}. The two sit side by side under every answer, and any
15
+ * difference beyond the flip would show up as one being drawn better than the other.
16
+ *
17
+ * part[0] = cuff, part[1] = palm and thumb.
18
+ */
19
+ export const ThumbsUp = {
20
+ id: 'xeno.thumbs-up',
21
+ kind: 'icon',
22
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
23
+ geometry: {
24
+ base: [
25
+ { kind: 'rect', x: 4.5, y: 10.9, w: 3.6, h: 7.9, rx: 1 },
26
+ { kind: 'path', d: 'M8.1 11.2 11.4 5.9a1.5 1.5 0 0 1 2.8 0.9L13.6 10.2h4.2a1.7 1.7 0 0 1 1.7 2.1l-1.1 5a1.7 1.7 0 0 1-1.7 1.4H8.1z' },
27
+ ],
28
+ },
29
+ bindings: [],
30
+ a11y: { role: 'img', label: 'Good response' },
31
+ meta: { tags: ['like', 'approve', 'positive'], since: '0.2.0' },
32
+ };
33
+ export default ThumbsUp;
@@ -0,0 +1,12 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.timer-off` — Timer off. A degenerate element (pure geometry, no children).
4
+ *
5
+ * `clock` with the shared negation stroke. The clock, not a separate timer drawing: this system already
6
+ * says "time" with one shape, and a second one that meant almost the same thing would be a fork in the
7
+ * vocabulary rather than an addition to it.
8
+ *
9
+ * part[0] = face, part[1] = hands, part[2] = the slash.
10
+ */
11
+ export declare const TimerOff: ElementDeclaration;
12
+ export default TimerOff;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * `xeno.timer-off` — Timer off. A degenerate element (pure geometry, no children).
3
+ *
4
+ * `clock` with the shared negation stroke. The clock, not a separate timer drawing: this system already
5
+ * says "time" with one shape, and a second one that meant almost the same thing would be a fork in the
6
+ * vocabulary rather than an addition to it.
7
+ *
8
+ * part[0] = face, part[1] = hands, part[2] = the slash.
9
+ */
10
+ export const TimerOff = {
11
+ id: 'xeno.timer-off',
12
+ kind: 'icon',
13
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
14
+ geometry: {
15
+ base: [
16
+ { kind: 'rect', x: 3.5, y: 3.5, w: 17, h: 17, rx: 2 },
17
+ // `clock`'s hands MIRRORED — the minute hand swings to the lower LEFT instead of the lower right.
18
+ // Any corner-to-corner slash passes through the middle of the box, which is exactly where a clock's
19
+ // hands meet, so the hands cannot avoid it; what they can avoid is running ALONGSIDE it. At the
20
+ // original angle the minute hand sat within ~13 degrees of the slash and the two fused into one
21
+ // thick zigzag with no clock left in it. Mirrored, each hand crosses the line instead of tracking
22
+ // it, and the face reads as a clock that has been struck out.
23
+ { kind: 'path', d: 'M12 7.5V12l-3.2 2' },
24
+ { kind: 'path', d: 'M4.2 4.2 19.8 19.8' },
25
+ ],
26
+ },
27
+ bindings: [],
28
+ a11y: { role: 'img', label: 'Timer off' },
29
+ meta: { tags: ['time', 'expire', 'temporary'], since: '0.2.0' },
30
+ };
31
+ export default TimerOff;
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.trash` — Trash. A degenerate element (pure geometry, no children).
4
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
5
+ */
6
+ export declare const Trash: ElementDeclaration;
7
+ export default Trash;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * `xeno.trash` — Trash. A degenerate element (pure geometry, no children).
3
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
4
+ */
5
+ export const Trash = {
6
+ id: 'xeno.trash',
7
+ kind: 'icon',
8
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
9
+ geometry: {
10
+ // Split into lid (rim + handle) and bin so the lid can open independently — part[0] = lid, part[1] = bin.
11
+ base: [
12
+ { kind: 'path', d: 'M4 7h16M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2' },
13
+ { kind: 'path', d: 'M6.5 7l.9 12a2 2 0 0 0 2 1.9h5.2a2 2 0 0 0 2-1.9l.9-12' },
14
+ ],
15
+ },
16
+ bindings: [],
17
+ a11y: { role: 'img', label: 'Trash' },
18
+ meta: { tags: ['delete', 'bin', 'remove'], since: '0.1.0' },
19
+ };
20
+ export default Trash;
@@ -0,0 +1,15 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.trending-up` - Trending up. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A polyline that climbs, with the head drawn as the corner it arrives in - the same treatment as
6
+ * `arrow-up-right`, for the same reason: on a diagonal a V-shaped head and its shaft meet too shallowly
7
+ * to stay distinct at 24px.
8
+ *
9
+ * The dip in the middle is deliberate. A line that only rose would be a diagonal; what is being said is
10
+ * that the direction survived a setback.
11
+ *
12
+ * part[0] = the line, part[1] = the head.
13
+ */
14
+ export declare const TrendingUp: ElementDeclaration;
15
+ export default TrendingUp;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * `xeno.trending-up` - Trending up. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A polyline that climbs, with the head drawn as the corner it arrives in - the same treatment as
5
+ * `arrow-up-right`, for the same reason: on a diagonal a V-shaped head and its shaft meet too shallowly
6
+ * to stay distinct at 24px.
7
+ *
8
+ * The dip in the middle is deliberate. A line that only rose would be a diagonal; what is being said is
9
+ * that the direction survived a setback.
10
+ *
11
+ * part[0] = the line, part[1] = the head.
12
+ */
13
+ export const TrendingUp = {
14
+ id: 'xeno.trending-up',
15
+ kind: 'icon',
16
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
17
+ geometry: {
18
+ base: [
19
+ { kind: 'path', d: 'M3.5 17.5 9 12l3.4 3.4L20 7.8' },
20
+ { kind: 'path', d: 'M14.6 7.8H20V13.2' },
21
+ ],
22
+ },
23
+ bindings: [],
24
+ a11y: { role: 'img', label: 'Trending up' },
25
+ meta: { tags: ['chart', 'growth', 'increase'], since: '0.2.0' },
26
+ };
27
+ export default TrendingUp;
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.upload` — Upload. A degenerate element (pure geometry, no children).
4
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
5
+ */
6
+ export declare const Upload: ElementDeclaration;
7
+ export default Upload;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * `xeno.upload` — Upload. A degenerate element (pure geometry, no children).
3
+ * Imported from the foundry workbench; the declaration is the source of truth — edit here.
4
+ */
5
+ export const Upload = {
6
+ id: 'xeno.upload',
7
+ kind: 'icon',
8
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
9
+ geometry: {
10
+ base: [
11
+ { kind: 'path', d: 'M12 15V4M8 8l4-4 4 4' },
12
+ { kind: 'path', d: 'M5 15v3.5A1 1 0 0 0 6 19.5H18A1 1 0 0 0 19 18.5V15' },
13
+ ],
14
+ },
15
+ bindings: [],
16
+ a11y: { role: 'img', label: 'Upload' },
17
+ meta: { tags: ['export', 'send'], since: '0.1.0' },
18
+ };
19
+ export default Upload;
@@ -0,0 +1,16 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.user-x` — a person, withdrawn. A degenerate element (pure geometry, no children).
4
+ *
5
+ * The same head and shoulders as `xeno.user`, with a cross set against the shoulder line. It exists
6
+ * because `user` alone cannot say it: the X IS the meaning — removed, excluded, not kept — and an icon
7
+ * that drops it says the opposite of what was intended.
8
+ *
9
+ * The shoulders are shortened on the right to make room, so the cross sits beside the figure rather
10
+ * than on top of it; two marks fighting for the same pixels read as neither.
11
+ *
12
+ * part[0] = head, part[1] = shoulders, part[2] and part[3] = the two strokes of the cross, kept apart
13
+ * so each can draw itself in turn.
14
+ */
15
+ export declare const UserX: ElementDeclaration;
16
+ export default UserX;