@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
package/LICENSE ADDED
@@ -0,0 +1,18 @@
1
+ Copyright (c) 2026 XENO Corporation. All rights reserved.
2
+
3
+ PROPRIETARY AND CONFIDENTIAL.
4
+
5
+ This software and its source code are the confidential and proprietary property
6
+ of XENO Corporation. No licence, express or implied, is granted to any person to
7
+ use, copy, modify, merge, publish, distribute, sublicense, or sell copies of this
8
+ software, in whole or in part, without the prior written permission of XENO
9
+ Corporation.
10
+
11
+ Unauthorised copying of this file, via any medium, is strictly prohibited.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
17
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,65 @@
1
+ # @xenosystem/elements
2
+
3
+ **The XENO element contract — the source of truth.**
4
+
5
+ > Status: 🟡 **Phase 1** — schema written, declarations not yet drawn. Not published.
6
+
7
+ Framework-free, platform-free, zero dependencies. This package is a **contract**, not a component
8
+ library — it contains no React, no rendering, and nothing platform-specific. Every renderer on
9
+ every platform is an interpretation of what is declared here.
10
+
11
+ ## What lives here
12
+
13
+ | | |
14
+ |---|---|
15
+ | `src/schema.ts` | The contract: state axes, signals, transitions, bindings, compatibility |
16
+ | `src/elements/` | Element declarations — the glyphs and composites *(Phase 1, in progress)* |
17
+ | `src/tokens/` | Design tokens, resolved from `DESIGN_SYSTEM.md` *(Phase 1)* |
18
+
19
+ ## The two properties to preserve
20
+
21
+ **1. There is no "icon" type.** An icon is the degenerate `ElementDeclaration` — no children,
22
+ pure geometry. A button is the compound one. They share one schema and one release path, which is
23
+ what makes *"edit one icon"* and *"edit one button"* the identical operation. A refactor that
24
+ gives icons their own type has thrown away the reason this repo exists.
25
+
26
+ **2. A declaration contains data, never code.** No functions, no expressions, no executable
27
+ animation. `Binding` is a *description* a renderer interprets. This is an architectural boundary
28
+ with a legal edge — see `docs/STATE-MODEL.md` §4.1.
29
+
30
+ ## The state model, briefly
31
+
32
+ Three orthogonal axes, because a single enum cannot express a disabled toggle that is *on*:
33
+
34
+ ```ts
35
+ { availability: 'enabled' | 'disabled' | 'busy'
36
+ selection: 'off' | 'on' | 'mixed' // semantic, persists
37
+ interaction: 'idle' | 'engaged' | 'pressed' } // transient
38
+ ```
39
+
40
+ Plus continuous **signals** (`progress` 0…1, `activity`) and momentary **transitions**
41
+ (`commit`, `reject`, `toggle`).
42
+
43
+ `engaged` = hover on pointer devices, **nothing on touch**. Full model:
44
+ [`docs/STATE-MODEL.md`](../../docs/STATE-MODEL.md).
45
+
46
+ ## Contract compatibility
47
+
48
+ `checkCompatibility()` answers the question behind automatic propagation: *may this change reach
49
+ a shipped product without that product rebuilding?*
50
+
51
+ Refinements pass — redrawn geometry, retuned timings, added variants, new elements. Breaks are
52
+ refused — a dropped axis, a changed viewBox, a removed element, a renamed id.
53
+
54
+ It **fails closed**: anything it does not positively understand is a break. A permissive contract
55
+ checker is worse than none, because it produces evidence of safety it has not established.
56
+
57
+ ## Never barrel the declarations
58
+
59
+ `src/index.ts` re-exports the schema — small, tree-shakes cleanly. **Element declarations get
60
+ per-element entry points.** A single index importing every element is exactly why `lucide-react`
61
+ weighs 2.4 MB, and `lucide-react/dynamic` collapses to an empty chunk in production.
62
+
63
+ ---
64
+ Part of [`xeno-elements`](../../README.md). Visual authority:
65
+ [`DESIGN_SYSTEM.md`](../../DESIGN_SYSTEM.md) — LOCKED.
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.alert` — Alert. 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 Alert: ElementDeclaration;
7
+ export default Alert;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * `xeno.alert` — Alert. 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 Alert = {
6
+ id: 'xeno.alert',
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: 3.5, y: 3.5, w: 17, h: 17, rx: 2 },
12
+ { kind: 'rect', x: 11.1, y: 7, w: 1.8, h: 6, rx: 0.4, fill: 'foreground' },
13
+ { kind: 'rect', x: 11.2, y: 15.3, w: 1.6, h: 1.6, rx: 0.3, fill: 'foreground' },
14
+ ],
15
+ },
16
+ bindings: [],
17
+ a11y: { role: 'img', label: 'Alert' },
18
+ meta: { tags: ['warning', 'caution', 'exclamation'], since: '0.1.0' },
19
+ };
20
+ export default Alert;
@@ -0,0 +1,12 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.app-window` - Window. A degenerate element (pure geometry, no children).
4
+ *
5
+ * `monitor`'s screen with a title bar ruled across it and two marks in the bar. Two, not three: at 24px
6
+ * a third drops the gaps between them below the stroke weight and the row turns into a dashed line. Two
7
+ * still reads as window furniture, which is all the bar has to say.
8
+ *
9
+ * part[0] = frame, part[1] = title bar, part[2..3] = the marks.
10
+ */
11
+ export declare const AppWindow: ElementDeclaration;
12
+ export default AppWindow;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * `xeno.app-window` - Window. A degenerate element (pure geometry, no children).
3
+ *
4
+ * `monitor`'s screen with a title bar ruled across it and two marks in the bar. Two, not three: at 24px
5
+ * a third drops the gaps between them below the stroke weight and the row turns into a dashed line. Two
6
+ * still reads as window furniture, which is all the bar has to say.
7
+ *
8
+ * part[0] = frame, part[1] = title bar, part[2..3] = the marks.
9
+ */
10
+ export const AppWindow = {
11
+ id: 'xeno.app-window',
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, y: 4.5, w: 18, h: 15, rx: 2 },
17
+ { kind: 'path', d: 'M3 9.2h18' },
18
+ { kind: 'rect', x: 6, y: 6.1, w: 1.6, h: 1.6, rx: 0.4, fill: 'foreground' },
19
+ { kind: 'rect', x: 9.2, y: 6.1, w: 1.6, h: 1.6, rx: 0.4, fill: 'foreground' },
20
+ ],
21
+ },
22
+ bindings: [],
23
+ a11y: { role: 'img', label: 'Window' },
24
+ meta: { tags: ['window', 'app', 'panel'], since: '0.2.0' },
25
+ };
26
+ export default AppWindow;
@@ -0,0 +1,22 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.archive` — Archive. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A lidded box with a slot. Deliberately NOT the same silhouette as `trash`, because the two are the
6
+ * pair a user is most likely to confuse and the consequence of confusing them is losing something:
7
+ * trash tapers toward the bottom, archive is a straight-sided crate, and only archive has the slot —
8
+ * the mark that says things come back OUT of it.
9
+ *
10
+ * Split into lid / body / slot so the lid can move on its own — part[0] = lid, part[1] = body,
11
+ * part[2] = slot.
12
+ *
13
+ * It honours `selection`, and the ON state fills the LID only. Filling the whole silhouette — which is
14
+ * what `bookmark` does — turns a three-part glyph into a block; filling the body instead would swallow
15
+ * the slot, since a `foreground` fill and a `currentColor` stroke are the same ink and the one mark
16
+ * that distinguishes this from `trash` would vanish exactly when the state is on. A sealed lid over an
17
+ * open crate says put away without saying gone.
18
+ *
19
+ * Same three primitives in the same order with the same commands, so the two variants MORPH.
20
+ */
21
+ export declare const Archive: ElementDeclaration;
22
+ export default Archive;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * `xeno.archive` — Archive. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A lidded box with a slot. Deliberately NOT the same silhouette as `trash`, because the two are the
5
+ * pair a user is most likely to confuse and the consequence of confusing them is losing something:
6
+ * trash tapers toward the bottom, archive is a straight-sided crate, and only archive has the slot —
7
+ * the mark that says things come back OUT of it.
8
+ *
9
+ * Split into lid / body / slot so the lid can move on its own — part[0] = lid, part[1] = body,
10
+ * part[2] = slot.
11
+ *
12
+ * It honours `selection`, and the ON state fills the LID only. Filling the whole silhouette — which is
13
+ * what `bookmark` does — turns a three-part glyph into a block; filling the body instead would swallow
14
+ * the slot, since a `foreground` fill and a `currentColor` stroke are the same ink and the one mark
15
+ * that distinguishes this from `trash` would vanish exactly when the state is on. A sealed lid over an
16
+ * open crate says put away without saying gone.
17
+ *
18
+ * Same three primitives in the same order with the same commands, so the two variants MORPH.
19
+ */
20
+ export const Archive = {
21
+ id: 'xeno.archive',
22
+ kind: 'icon',
23
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: ['selection'], signals: [] },
24
+ geometry: {
25
+ base: [
26
+ { kind: 'rect', x: 3, y: 4, w: 18, h: 4.4, rx: 1.2 },
27
+ { kind: 'path', d: 'M5 8.4v9.6A2 2 0 0 0 7 20h10a2 2 0 0 0 2-2V8.4' },
28
+ { kind: 'path', d: 'M9.9 12.4h4.2' },
29
+ ],
30
+ 'selection:on': [
31
+ { kind: 'rect', x: 3, y: 4, w: 18, h: 4.4, rx: 1.2, fill: 'foreground' },
32
+ { kind: 'path', d: 'M5 8.4v9.6A2 2 0 0 0 7 20h10a2 2 0 0 0 2-2V8.4' },
33
+ { kind: 'path', d: 'M9.9 12.4h4.2' },
34
+ ],
35
+ },
36
+ bindings: [],
37
+ a11y: { role: 'img', label: 'Archive' },
38
+ meta: { tags: ['store', 'box', 'keep'], since: '0.2.0' },
39
+ };
40
+ export default Archive;
@@ -0,0 +1,13 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.arrow-left-right` - Swap. A degenerate element (pure geometry, no children).
4
+ *
5
+ * Two shafts on separate rows with their heads at opposite ends. `arrow-right`'s head is copied exactly
6
+ * - a 4-unit diagonal off a 3.5-unit run - so the arrow glyphs share one arrowhead. An arrowhead is the
7
+ * most recognisable thing in a set this size, and a second one drawn slightly differently would read as
8
+ * a second family rather than another member of this one.
9
+ *
10
+ * part[0] = the rightward arrow, part[1] = the leftward one, so they can pass each other.
11
+ */
12
+ export declare const ArrowLeftRight: ElementDeclaration;
13
+ export default ArrowLeftRight;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * `xeno.arrow-left-right` - Swap. A degenerate element (pure geometry, no children).
3
+ *
4
+ * Two shafts on separate rows with their heads at opposite ends. `arrow-right`'s head is copied exactly
5
+ * - a 4-unit diagonal off a 3.5-unit run - so the arrow glyphs share one arrowhead. An arrowhead is the
6
+ * most recognisable thing in a set this size, and a second one drawn slightly differently would read as
7
+ * a second family rather than another member of this one.
8
+ *
9
+ * part[0] = the rightward arrow, part[1] = the leftward one, so they can pass each other.
10
+ */
11
+ export const ArrowLeftRight = {
12
+ id: 'xeno.arrow-left-right',
13
+ kind: 'icon',
14
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
15
+ geometry: {
16
+ base: [
17
+ { kind: 'path', d: 'M4 8.5h15M15 5l4 3.5-4 3.5' },
18
+ { kind: 'path', d: 'M20 15.5H5M9 12l-4 3.5 4 3.5' },
19
+ ],
20
+ },
21
+ bindings: [],
22
+ a11y: { role: 'img', label: 'Swap' },
23
+ meta: { tags: ['swap', 'exchange', 'transfer'], since: '0.2.0' },
24
+ };
25
+ export default ArrowLeftRight;
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.arrow-right` — Arrow right. 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 ArrowRight: ElementDeclaration;
7
+ export default ArrowRight;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * `xeno.arrow-right` — Arrow right. 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 ArrowRight = {
6
+ id: 'xeno.arrow-right',
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: 'M4 12h15M13 6l6 6-6 6' },
12
+ ],
13
+ },
14
+ bindings: [],
15
+ a11y: { role: 'img', label: 'Arrow right' },
16
+ meta: { tags: ['next', 'forward'], since: '0.1.0' },
17
+ };
18
+ export default ArrowRight;
@@ -0,0 +1,15 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.arrow-up-right` - Leaving. A degenerate element (pure geometry, no children).
4
+ *
5
+ * One shaft on the diagonal, with the head drawn as the corner it points into rather than as two
6
+ * separate strokes: at 45 degrees a V-shaped head and the shaft meet at angles too shallow to stay
7
+ * distinct at 24px, and the corner keeps them apart.
8
+ *
9
+ * It is the arrow that does not lie on an axis, and that is the meaning - everything staying inside the
10
+ * product moves along one.
11
+ *
12
+ * part[0] = shaft, part[1] = head.
13
+ */
14
+ export declare const ArrowUpRight: ElementDeclaration;
15
+ export default ArrowUpRight;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * `xeno.arrow-up-right` - Leaving. A degenerate element (pure geometry, no children).
3
+ *
4
+ * One shaft on the diagonal, with the head drawn as the corner it points into rather than as two
5
+ * separate strokes: at 45 degrees a V-shaped head and the shaft meet at angles too shallow to stay
6
+ * distinct at 24px, and the corner keeps them apart.
7
+ *
8
+ * It is the arrow that does not lie on an axis, and that is the meaning - everything staying inside the
9
+ * product moves along one.
10
+ *
11
+ * part[0] = shaft, part[1] = head.
12
+ */
13
+ export const ArrowUpRight = {
14
+ id: 'xeno.arrow-up-right',
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: 'M6.5 17.5 17.5 6.5' },
20
+ { kind: 'path', d: 'M9 6.5h8.5V15' },
21
+ ],
22
+ },
23
+ bindings: [],
24
+ a11y: { role: 'img', label: 'Open' },
25
+ meta: { tags: ['external', 'open', 'leave'], since: '0.2.0' },
26
+ };
27
+ export default ArrowUpRight;
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.arrow-up` — Arrow up. 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 ArrowUp: ElementDeclaration;
7
+ export default ArrowUp;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * `xeno.arrow-up` — Arrow up. 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 ArrowUp = {
6
+ id: 'xeno.arrow-up',
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 20V5M6 11l6-6 6 6' },
12
+ ],
13
+ },
14
+ bindings: [],
15
+ a11y: { role: 'img', label: 'Arrow up' },
16
+ meta: { tags: ['top', 'north'], since: '0.1.0' },
17
+ };
18
+ export default ArrowUp;
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.attach` — Attach. 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 Attach: ElementDeclaration;
7
+ export default Attach;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * `xeno.attach` — Attach. 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 Attach = {
6
+ id: 'xeno.attach',
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: 'M11.5 15V7A0.9 0.9 0 0 1 12.4 6.1H15.1A0.9 0.9 0 0 1 16 7V17A1.2 1.2 0 0 1 14.8 18.2H8.7A1.2 1.2 0 0 1 7.5 17V8' },
12
+ ],
13
+ },
14
+ bindings: [],
15
+ a11y: { role: 'img', label: 'Attach' },
16
+ meta: { tags: ['paperclip', 'file'], since: '0.1.0' },
17
+ };
18
+ export default Attach;
@@ -0,0 +1,7 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.bell` — Bell. 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 Bell: ElementDeclaration;
7
+ export default Bell;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * `xeno.bell` — Bell. 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 Bell = {
6
+ id: 'xeno.bell',
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: 'M5 16 6 10A2 2 0 0 1 8 8H16A2 2 0 0 1 18 10L19 16Z' },
12
+ { kind: 'path', d: 'M10 18.5V19.2A0.8 0.8 0 0 0 10.8 20H13.2A0.8 0.8 0 0 0 14 19.2V18.5' },
13
+ ],
14
+ },
15
+ bindings: [],
16
+ a11y: { role: 'img', label: 'Bell' },
17
+ meta: { tags: ['notification', 'alert'], since: '0.1.0' },
18
+ };
19
+ export default Bell;
@@ -0,0 +1,14 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.bookmark` — Bookmark.
4
+ *
5
+ * The canonical STATEFUL element (SPEC §5, schema `Selection`): a bookmark is off or on, and that
6
+ * selection outlives the tap that set it. It honours the `selection` axis — `off` is the outline
7
+ * `base`, `on` is the same silhouette FILLED (`selection:on`). Same path, same length/kind, so the
8
+ * two variants morph rather than crossfade (`geometryMorphable` → true).
9
+ *
10
+ * Hand-authored beyond the foundry import (which only knows the static outline). Declarations are the
11
+ * source of truth; do not regenerate this one from the workbench.
12
+ */
13
+ export declare const Bookmark: ElementDeclaration;
14
+ export default Bookmark;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * `xeno.bookmark` — Bookmark.
3
+ *
4
+ * The canonical STATEFUL element (SPEC §5, schema `Selection`): a bookmark is off or on, and that
5
+ * selection outlives the tap that set it. It honours the `selection` axis — `off` is the outline
6
+ * `base`, `on` is the same silhouette FILLED (`selection:on`). Same path, same length/kind, so the
7
+ * two variants morph rather than crossfade (`geometryMorphable` → true).
8
+ *
9
+ * Hand-authored beyond the foundry import (which only knows the static outline). Declarations are the
10
+ * source of truth; do not regenerate this one from the workbench.
11
+ */
12
+ export const Bookmark = {
13
+ id: 'xeno.bookmark',
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: 'M6 4h12v17l-6-4-6 4z' },
19
+ ],
20
+ 'selection:on': [
21
+ { kind: 'path', d: 'M6 4h12v17l-6-4-6 4z', fill: 'foreground' },
22
+ ],
23
+ },
24
+ bindings: [],
25
+ a11y: { role: 'img', label: 'Bookmark' },
26
+ meta: { tags: ['save', 'flag', 'ribbon'], since: '0.1.0' },
27
+ };
28
+ export default Bookmark;
@@ -0,0 +1,20 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.bot` — Agent. A degenerate element (pure geometry, no children).
4
+ *
5
+ * The object + sign group, at its most literal: a rounded square is the whole vocabulary of this set,
6
+ * and a rounded square with two eyes in it is a face. Nothing else has to be added — no ears, no mouth,
7
+ * no body. Every one of those is a detail a 24-unit sheet cannot hold at this stroke weight, and each
8
+ * would cost the thing that actually carries the meaning.
9
+ *
10
+ * The eyes are STROKES, not dots, for the same reason the grammar has no circles — and it buys the
11
+ * motion too: a two-unit vertical segment can close to nothing and open again, which is a blink. A dot
12
+ * can only shrink, and a shrinking dot is not a blink, it is a fade.
13
+ *
14
+ * The antenna is what separates this from `monitor`. A screen with a stalk on top and a node at the end
15
+ * of it is not a screen any more; it is something that receives.
16
+ *
17
+ * part[0] = antenna node, part[1] = stem, part[2] = head, part[3..4] = eyes.
18
+ */
19
+ export declare const Bot: ElementDeclaration;
20
+ export default Bot;
@@ -0,0 +1,35 @@
1
+ /**
2
+ * `xeno.bot` — Agent. A degenerate element (pure geometry, no children).
3
+ *
4
+ * The object + sign group, at its most literal: a rounded square is the whole vocabulary of this set,
5
+ * and a rounded square with two eyes in it is a face. Nothing else has to be added — no ears, no mouth,
6
+ * no body. Every one of those is a detail a 24-unit sheet cannot hold at this stroke weight, and each
7
+ * would cost the thing that actually carries the meaning.
8
+ *
9
+ * The eyes are STROKES, not dots, for the same reason the grammar has no circles — and it buys the
10
+ * motion too: a two-unit vertical segment can close to nothing and open again, which is a blink. A dot
11
+ * can only shrink, and a shrinking dot is not a blink, it is a fade.
12
+ *
13
+ * The antenna is what separates this from `monitor`. A screen with a stalk on top and a node at the end
14
+ * of it is not a screen any more; it is something that receives.
15
+ *
16
+ * part[0] = antenna node, part[1] = stem, part[2] = head, part[3..4] = eyes.
17
+ */
18
+ export const Bot = {
19
+ id: 'xeno.bot',
20
+ kind: 'icon',
21
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
22
+ geometry: {
23
+ base: [
24
+ { kind: 'rect', x: 10.6, y: 2.6, w: 2.8, h: 2.8, rx: 0.9 },
25
+ { kind: 'path', d: 'M12 5.4L12 8' },
26
+ { kind: 'rect', x: 4.2, y: 8, w: 15.6, h: 11.4, rx: 2.6 },
27
+ { kind: 'path', d: 'M8.8 12.6L8.8 14.6' },
28
+ { kind: 'path', d: 'M15.2 12.6L15.2 14.6' },
29
+ ],
30
+ },
31
+ bindings: [],
32
+ a11y: { role: 'img', label: 'Agent' },
33
+ meta: { tags: ['bot', 'agent', 'assistant', 'robot', 'ai'], since: '0.2.0' },
34
+ };
35
+ export default Bot;
@@ -0,0 +1,24 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.brain-circuit` — Reasoning. A degenerate element (pure geometry, no children).
4
+ *
5
+ * `brain`, with the right hemisphere replaced by the circuit rather than decorated with it.
6
+ *
7
+ * The first attempt kept the full outline and put traces and nodes INSIDE the right lobe, which is the
8
+ * obvious reading of "brain plus circuit" and does not survive contact with the sheet: from the sulcus
9
+ * at 12 to the outline at 18.5 there are six units, and a trace, a node and two stroke widths do not fit
10
+ * in six units. Rendered, it was a lobe with two lumps pressed against the inside of it.
11
+ *
12
+ * Cutting the hemisphere away gives the circuit the full half — eight units by fourteen — and it costs
13
+ * nothing, because the sulcus was already drawing that edge. The silhouette stays a brain on the left,
14
+ * and on the right the thing that would have been tissue is wiring instead. That is a better sentence
15
+ * than the crowded one anyway: this is not a brain that has a circuit in it, it is half mind and half
16
+ * machine.
17
+ *
18
+ * The nodes are rounded SQUARES, not dots — the grammar has no circles, and what sits at the end of a
19
+ * trace is a component, so the square is also the truer picture.
20
+ *
21
+ * part[0] = left hemisphere, part[1] = sulcus, part[2..3] = traces, part[4..5] = nodes.
22
+ */
23
+ export declare const BrainCircuit: ElementDeclaration;
24
+ export default BrainCircuit;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * `xeno.brain-circuit` — Reasoning. A degenerate element (pure geometry, no children).
3
+ *
4
+ * `brain`, with the right hemisphere replaced by the circuit rather than decorated with it.
5
+ *
6
+ * The first attempt kept the full outline and put traces and nodes INSIDE the right lobe, which is the
7
+ * obvious reading of "brain plus circuit" and does not survive contact with the sheet: from the sulcus
8
+ * at 12 to the outline at 18.5 there are six units, and a trace, a node and two stroke widths do not fit
9
+ * in six units. Rendered, it was a lobe with two lumps pressed against the inside of it.
10
+ *
11
+ * Cutting the hemisphere away gives the circuit the full half — eight units by fourteen — and it costs
12
+ * nothing, because the sulcus was already drawing that edge. The silhouette stays a brain on the left,
13
+ * and on the right the thing that would have been tissue is wiring instead. That is a better sentence
14
+ * than the crowded one anyway: this is not a brain that has a circuit in it, it is half mind and half
15
+ * machine.
16
+ *
17
+ * The nodes are rounded SQUARES, not dots — the grammar has no circles, and what sits at the end of a
18
+ * trace is a component, so the square is also the truer picture.
19
+ *
20
+ * part[0] = left hemisphere, part[1] = sulcus, part[2..3] = traces, part[4..5] = nodes.
21
+ */
22
+ export const BrainCircuit = {
23
+ id: 'xeno.brain-circuit',
24
+ kind: 'icon',
25
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
26
+ geometry: {
27
+ base: [
28
+ {
29
+ kind: 'path',
30
+ d: 'M12 5.4C10 3.2 6.6 4 6.4 7.2 3.8 8.2 3.6 11.6 5.8 12.8 4.8 15.6 6.8 18 9.6 17.8 10 18.9 11.2 19.3 12 18.9',
31
+ },
32
+ { kind: 'path', d: 'M12 5.4L12 18.9' },
33
+ { kind: 'path', d: 'M12 9.3L15.6 9.3' },
34
+ { kind: 'path', d: 'M12 15.3L15.6 15.3' },
35
+ { kind: 'rect', x: 15.6, y: 7.9, w: 2.8, h: 2.8, rx: 0.9 },
36
+ { kind: 'rect', x: 15.6, y: 13.9, w: 2.8, h: 2.8, rx: 0.9 },
37
+ ],
38
+ },
39
+ bindings: [],
40
+ a11y: { role: 'img', label: 'Reasoning' },
41
+ meta: { tags: ['brain', 'circuit', 'reasoning', 'memory', 'ai'], since: '0.2.0' },
42
+ };
43
+ export default BrainCircuit;
@@ -0,0 +1,23 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.brain` — Thinking. A degenerate element (pure geometry, no children).
4
+ *
5
+ * The set is built out of the rounded square, and this is one of the few things in it that cannot be:
6
+ * a brain has no straight edge anywhere. So it joins `zap`, `waves` and `feather` in the small group
7
+ * allowed to refuse the grid — the rule the grammar actually holds to is that a shape's construction
8
+ * should match what the shape IS, and the square is a claim about made objects.
9
+ *
10
+ * TWO strokes, and that number was arrived at by drawing more. The first version had convolutions inside
11
+ * the lobes — the folds are, after all, the thing that makes brain tissue look like brain tissue. At
12
+ * 96px they read; at 16px, which is every size this glyph is actually used at in the chat, they closed
13
+ * up into a smudge and the outline lost its shape behind them. A bump has to be wider than the stroke
14
+ * that draws it, and a 15-unit outline at 1.75 has room for the lobes OR the folds, not both.
15
+ *
16
+ * What survives is the SULCUS: one line down the middle, dividing it in two. That single stroke is what
17
+ * separates a brain from a cloud, and it costs nothing at any size — the lobed silhouette says organ,
18
+ * and the division says which one.
19
+ *
20
+ * part[0] = outline, part[1] = sulcus.
21
+ */
22
+ export declare const Brain: ElementDeclaration;
23
+ export default Brain;