@xenosystem/elements 0.0.5 โ†’ 0.0.7

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 (75) hide show
  1. package/README.md +65 -65
  2. package/dist/elements/align-bottom.d.ts +10 -0
  3. package/dist/elements/align-bottom.js +23 -0
  4. package/dist/elements/align-horizontal-centers.d.ts +11 -0
  5. package/dist/elements/align-horizontal-centers.js +27 -0
  6. package/dist/elements/align-left.d.ts +12 -0
  7. package/dist/elements/align-left.js +25 -0
  8. package/dist/elements/align-right.d.ts +9 -0
  9. package/dist/elements/align-right.js +22 -0
  10. package/dist/elements/align-top.d.ts +9 -0
  11. package/dist/elements/align-top.js +22 -0
  12. package/dist/elements/align-vertical-centers.d.ts +10 -0
  13. package/dist/elements/align-vertical-centers.js +26 -0
  14. package/dist/elements/archive.js +11 -0
  15. package/dist/elements/book-up.d.ts +10 -0
  16. package/dist/elements/book-up.js +22 -0
  17. package/dist/elements/bookmark.js +7 -0
  18. package/dist/elements/bring-to-front.d.ts +10 -0
  19. package/dist/elements/bring-to-front.js +25 -0
  20. package/dist/elements/broadcast.d.ts +12 -0
  21. package/dist/elements/broadcast.js +27 -0
  22. package/dist/elements/clipboard-check.d.ts +10 -0
  23. package/dist/elements/clipboard-check.js +23 -0
  24. package/dist/elements/cloud.d.ts +11 -0
  25. package/dist/elements/cloud.js +22 -0
  26. package/dist/elements/command.d.ts +11 -0
  27. package/dist/elements/command.js +26 -0
  28. package/dist/elements/distribute-horizontal.d.ts +12 -0
  29. package/dist/elements/distribute-horizontal.js +29 -0
  30. package/dist/elements/distribute-vertical.d.ts +10 -0
  31. package/dist/elements/distribute-vertical.js +27 -0
  32. package/dist/elements/ellipse.d.ts +15 -0
  33. package/dist/elements/ellipse.js +26 -0
  34. package/dist/elements/frame.d.ts +14 -0
  35. package/dist/elements/frame.js +28 -0
  36. package/dist/elements/group.d.ts +11 -0
  37. package/dist/elements/group.js +27 -0
  38. package/dist/elements/keyboard.d.ts +9 -0
  39. package/dist/elements/keyboard.js +28 -0
  40. package/dist/elements/next-dismiss.js +4 -0
  41. package/dist/elements/pen.d.ts +12 -0
  42. package/dist/elements/pen.js +27 -0
  43. package/dist/elements/pointer.d.ts +10 -0
  44. package/dist/elements/pointer.js +21 -0
  45. package/dist/elements/polygon.d.ts +10 -0
  46. package/dist/elements/polygon.js +21 -0
  47. package/dist/elements/send-to-back.d.ts +10 -0
  48. package/dist/elements/send-to-back.js +25 -0
  49. package/dist/elements/star.js +5 -0
  50. package/dist/elements/template.d.ts +11 -0
  51. package/dist/elements/template.js +25 -0
  52. package/dist/elements/ungroup.d.ts +9 -0
  53. package/dist/elements/ungroup.js +21 -0
  54. package/dist/elements/zoom-in.d.ts +10 -0
  55. package/dist/elements/zoom-in.js +23 -0
  56. package/dist/index.d.ts +1 -0
  57. package/dist/index.js +3 -0
  58. package/dist/schema.d.ts +15 -0
  59. package/dist/states.d.ts +75 -0
  60. package/dist/states.js +114 -0
  61. package/dist/tokens/border.d.ts +23 -0
  62. package/dist/tokens/border.js +22 -0
  63. package/dist/tokens/chart.d.ts +13 -0
  64. package/dist/tokens/chart.js +15 -0
  65. package/dist/tokens/index.d.ts +11 -0
  66. package/dist/tokens/index.js +11 -0
  67. package/dist/tokens/reading.d.ts +29 -0
  68. package/dist/tokens/reading.js +28 -0
  69. package/dist/tokens/scrollbar.d.ts +19 -0
  70. package/dist/tokens/scrollbar.js +18 -0
  71. package/dist/tokens/surfaces.d.ts +7 -0
  72. package/dist/tokens/surfaces.js +7 -0
  73. package/dist/tokens/terminal.d.ts +36 -0
  74. package/dist/tokens/terminal.js +37 -0
  75. package/package.json +9 -2
package/README.md CHANGED
@@ -1,65 +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.
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,10 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.align-bottom` โ€” Align bottom. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A HORIZONTAL guide rail across the bottom with two objects whose BOTTOM edges meet it โ€” the
6
+ * mirror of `xeno.align-top`. lucide's name for this shape is `align-end-horizontal`; see
7
+ * `meta.tags`.
8
+ */
9
+ export declare const AlignBottom: ElementDeclaration;
10
+ export default AlignBottom;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * `xeno.align-bottom` โ€” Align bottom. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A HORIZONTAL guide rail across the bottom with two objects whose BOTTOM edges meet it โ€” the
5
+ * mirror of `xeno.align-top`. lucide's name for this shape is `align-end-horizontal`; see
6
+ * `meta.tags`.
7
+ */
8
+ export const AlignBottom = {
9
+ id: 'xeno.align-bottom',
10
+ kind: 'icon',
11
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
12
+ geometry: {
13
+ base: [
14
+ { kind: 'rect', x: 4, y: 18.2, w: 16, h: 1.8, rx: 0.4, fill: 'foreground' },
15
+ { kind: 'rect', x: 6, y: 4, w: 4, h: 12.5, rx: 1 },
16
+ { kind: 'rect', x: 14, y: 8.5, w: 4, h: 8, rx: 1 },
17
+ ],
18
+ },
19
+ bindings: [],
20
+ a11y: { role: 'img', label: 'Align bottom' },
21
+ meta: { tags: ['align', 'bottom', 'align-end-horizontal', 'arrange'], since: '0.0.6' },
22
+ };
23
+ export default AlignBottom;
@@ -0,0 +1,11 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.align-horizontal-centers` โ€” Align horizontal centers. A degenerate element.
4
+ *
5
+ * A VERTICAL guide rail down the middle, BISECTING two objects of different widths: both are
6
+ * centred on it. Centring is what distinguishes this from `xeno.align-left` / `xeno.align-right`,
7
+ * where the rail sits at an edge and the objects butt against it. lucide's name for this shape is
8
+ * `align-center-vertical`; see `meta.tags`.
9
+ */
10
+ export declare const AlignHorizontalCenters: ElementDeclaration;
11
+ export default AlignHorizontalCenters;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * `xeno.align-horizontal-centers` โ€” Align horizontal centers. A degenerate element.
3
+ *
4
+ * A VERTICAL guide rail down the middle, BISECTING two objects of different widths: both are
5
+ * centred on it. Centring is what distinguishes this from `xeno.align-left` / `xeno.align-right`,
6
+ * where the rail sits at an edge and the objects butt against it. lucide's name for this shape is
7
+ * `align-center-vertical`; see `meta.tags`.
8
+ */
9
+ export const AlignHorizontalCenters = {
10
+ id: 'xeno.align-horizontal-centers',
11
+ kind: 'icon',
12
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
13
+ geometry: {
14
+ base: [
15
+ { kind: 'rect', x: 11.1, y: 3, w: 1.8, h: 18, rx: 0.4, fill: 'foreground' },
16
+ { kind: 'rect', x: 5.75, y: 6, w: 12.5, h: 4, rx: 1 },
17
+ { kind: 'rect', x: 8, y: 14, w: 8, h: 4, rx: 1 },
18
+ ],
19
+ },
20
+ bindings: [],
21
+ a11y: { role: 'img', label: 'Align horizontal centers' },
22
+ meta: {
23
+ tags: ['align', 'center', 'centre', 'align-center-vertical', 'arrange'],
24
+ since: '0.0.6',
25
+ },
26
+ };
27
+ export default AlignHorizontalCenters;
@@ -0,0 +1,12 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.align-left` โ€” Align left. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A VERTICAL guide rail on the left with two objects whose LEFT edges meet it. The rail runs
6
+ * perpendicular to the direction the objects move, which is why lucide calls this shape
7
+ * `align-start-vertical` while the ACTION is "align left". The id names the action, because that
8
+ * is what a product's button does; the lucide name is carried in `meta.tags` so a search for
9
+ * either finds it.
10
+ */
11
+ export declare const AlignLeft: ElementDeclaration;
12
+ export default AlignLeft;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * `xeno.align-left` โ€” Align left. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A VERTICAL guide rail on the left with two objects whose LEFT edges meet it. The rail runs
5
+ * perpendicular to the direction the objects move, which is why lucide calls this shape
6
+ * `align-start-vertical` while the ACTION is "align left". The id names the action, because that
7
+ * is what a product's button does; the lucide name is carried in `meta.tags` so a search for
8
+ * either finds it.
9
+ */
10
+ export const AlignLeft = {
11
+ id: 'xeno.align-left',
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, y: 4, w: 1.8, h: 16, rx: 0.4, fill: 'foreground' },
17
+ { kind: 'rect', x: 7.5, y: 6, w: 12.5, h: 4, rx: 1 },
18
+ { kind: 'rect', x: 7.5, y: 14, w: 8, h: 4, rx: 1 },
19
+ ],
20
+ },
21
+ bindings: [],
22
+ a11y: { role: 'img', label: 'Align left' },
23
+ meta: { tags: ['align', 'left', 'align-start-vertical', 'arrange'], since: '0.0.6' },
24
+ };
25
+ export default AlignLeft;
@@ -0,0 +1,9 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.align-right` โ€” Align right. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A VERTICAL guide rail on the right with two objects whose RIGHT edges meet it โ€” the mirror of
6
+ * `xeno.align-left`. lucide's name for this shape is `align-end-vertical`; see `meta.tags`.
7
+ */
8
+ export declare const AlignRight: ElementDeclaration;
9
+ export default AlignRight;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * `xeno.align-right` โ€” Align right. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A VERTICAL guide rail on the right with two objects whose RIGHT edges meet it โ€” the mirror of
5
+ * `xeno.align-left`. lucide's name for this shape is `align-end-vertical`; see `meta.tags`.
6
+ */
7
+ export const AlignRight = {
8
+ id: 'xeno.align-right',
9
+ kind: 'icon',
10
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
11
+ geometry: {
12
+ base: [
13
+ { kind: 'rect', x: 18.2, y: 4, w: 1.8, h: 16, rx: 0.4, fill: 'foreground' },
14
+ { kind: 'rect', x: 4, y: 6, w: 12.5, h: 4, rx: 1 },
15
+ { kind: 'rect', x: 8.5, y: 14, w: 8, h: 4, rx: 1 },
16
+ ],
17
+ },
18
+ bindings: [],
19
+ a11y: { role: 'img', label: 'Align right' },
20
+ meta: { tags: ['align', 'right', 'align-end-vertical', 'arrange'], since: '0.0.6' },
21
+ };
22
+ export default AlignRight;
@@ -0,0 +1,9 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.align-top` โ€” Align top. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A HORIZONTAL guide rail across the top with two objects whose TOP edges meet it โ€” the transpose
6
+ * of `xeno.align-left`. lucide's name for this shape is `align-start-horizontal`; see `meta.tags`.
7
+ */
8
+ export declare const AlignTop: ElementDeclaration;
9
+ export default AlignTop;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * `xeno.align-top` โ€” Align top. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A HORIZONTAL guide rail across the top with two objects whose TOP edges meet it โ€” the transpose
5
+ * of `xeno.align-left`. lucide's name for this shape is `align-start-horizontal`; see `meta.tags`.
6
+ */
7
+ export const AlignTop = {
8
+ id: 'xeno.align-top',
9
+ kind: 'icon',
10
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
11
+ geometry: {
12
+ base: [
13
+ { kind: 'rect', x: 4, y: 4, w: 16, h: 1.8, rx: 0.4, fill: 'foreground' },
14
+ { kind: 'rect', x: 6, y: 7.5, w: 4, h: 12.5, rx: 1 },
15
+ { kind: 'rect', x: 14, y: 7.5, w: 4, h: 8, rx: 1 },
16
+ ],
17
+ },
18
+ bindings: [],
19
+ a11y: { role: 'img', label: 'Align top' },
20
+ meta: { tags: ['align', 'top', 'align-start-horizontal', 'arrange'], since: '0.0.6' },
21
+ };
22
+ export default AlignTop;
@@ -0,0 +1,10 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.align-vertical-centers` โ€” Align vertical centers. A degenerate element.
4
+ *
5
+ * A HORIZONTAL guide rail across the middle, BISECTING two objects of different heights: both are
6
+ * centred on it. The transpose of `xeno.align-horizontal-centers`. lucide's name for this shape is
7
+ * `align-center-horizontal`; see `meta.tags`.
8
+ */
9
+ export declare const AlignVerticalCenters: ElementDeclaration;
10
+ export default AlignVerticalCenters;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * `xeno.align-vertical-centers` โ€” Align vertical centers. A degenerate element.
3
+ *
4
+ * A HORIZONTAL guide rail across the middle, BISECTING two objects of different heights: both are
5
+ * centred on it. The transpose of `xeno.align-horizontal-centers`. lucide's name for this shape is
6
+ * `align-center-horizontal`; see `meta.tags`.
7
+ */
8
+ export const AlignVerticalCenters = {
9
+ id: 'xeno.align-vertical-centers',
10
+ kind: 'icon',
11
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
12
+ geometry: {
13
+ base: [
14
+ { kind: 'rect', x: 3, y: 11.1, w: 18, h: 1.8, rx: 0.4, fill: 'foreground' },
15
+ { kind: 'rect', x: 6, y: 5.75, w: 4, h: 12.5, rx: 1 },
16
+ { kind: 'rect', x: 14, y: 8, w: 4, h: 8, rx: 1 },
17
+ ],
18
+ },
19
+ bindings: [],
20
+ a11y: { role: 'img', label: 'Align vertical centers' },
21
+ meta: {
22
+ tags: ['align', 'center', 'centre', 'align-center-horizontal', 'arrange'],
23
+ since: '0.0.6',
24
+ },
25
+ };
26
+ export default AlignVerticalCenters;
@@ -32,6 +32,17 @@ export const Archive = {
32
32
  { kind: 'path', d: 'M5 8.4v9.6A2 2 0 0 0 7 20h10a2 2 0 0 0 2-2V8.4' },
33
33
  { kind: 'path', d: 'M9.9 12.4h4.2' },
34
34
  ],
35
+ // MIXED โ€” the lid is where this element carries its state (it fills for `on`), so the partial state
36
+ // lives there too: the lid HALF filled, left half solid. NOT the system indeterminate bar used by
37
+ // bookmark and star โ€” archive's body already carries a slot of exactly that shape, and a bar in the
38
+ // lid read as a second slot in review rather than as "partly set". A half-filled lid is the one
39
+ // reading that cannot be mistaken for another part of the glyph.
40
+ 'selection:mixed': [
41
+ { kind: 'rect', x: 3, y: 4, w: 18, h: 4.4, rx: 1.2 },
42
+ { kind: 'path', d: 'M5 8.4v9.6A2 2 0 0 0 7 20h10a2 2 0 0 0 2-2V8.4' },
43
+ { kind: 'path', d: 'M9.9 12.4h4.2' },
44
+ { kind: 'rect', x: 3, y: 4, w: 9, h: 4.4, rx: 1.2, fill: 'foreground' },
45
+ ],
35
46
  },
36
47
  bindings: [],
37
48
  a11y: { role: 'img', label: 'Archive' },
@@ -0,0 +1,10 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.book-up` โ€” Publish library. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A bound book with an up-arrow on its cover: a library being PUBLISHED. The Canvas Assets panel uses
6
+ * it for "Publishโ€ฆ" of a component library. `xeno.upload` is a file leaving the machine and
7
+ * `xeno.library` is a shelf; this is specifically the library going out as a unit.
8
+ */
9
+ export declare const BookUp: ElementDeclaration;
10
+ export default BookUp;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * `xeno.book-up` โ€” Publish library. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A bound book with an up-arrow on its cover: a library being PUBLISHED. The Canvas Assets panel uses
5
+ * it for "Publishโ€ฆ" of a component library. `xeno.upload` is a file leaving the machine and
6
+ * `xeno.library` is a shelf; this is specifically the library going out as a unit.
7
+ */
8
+ export const BookUp = {
9
+ id: 'xeno.book-up',
10
+ kind: 'icon',
11
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
12
+ geometry: {
13
+ base: [
14
+ { kind: 'path', d: 'M5 18.5V5.2A2.2 2.2 0 0 1 7.2 3H19V21H7A2 2 0 0 1 5 19V18.5A2 2 0 0 1 7 16.5H19' },
15
+ { kind: 'path', d: 'M12 13V7M9.5 9.5 12 7 14.5 9.5' },
16
+ ],
17
+ },
18
+ bindings: [],
19
+ a11y: { role: 'img', label: 'Publish library' },
20
+ meta: { tags: ['book', 'book-up', 'publish', 'library', 'release'], since: '0.0.7' },
21
+ };
22
+ export default BookUp;
@@ -20,6 +20,13 @@ export const Bookmark = {
20
20
  'selection:on': [
21
21
  { kind: 'path', d: 'M6 4h12v17l-6-4-6 4z', fill: 'foreground' },
22
22
  ],
23
+ // MIXED โ€” some of a set are saved. The outline stays (not every item is on) and carries the
24
+ // system's one indeterminate mark, the bar `Checkbox` stamps for `mixed`: tri-state reads the
25
+ // same everywhere instead of each glyph inventing its own half-state.
26
+ 'selection:mixed': [
27
+ { kind: 'path', d: 'M6 4h12v17l-6-4-6 4z' },
28
+ { kind: 'rect', x: 9, y: 9.1, w: 6, h: 1.8, rx: 0.4, fill: 'foreground' },
29
+ ],
23
30
  },
24
31
  bindings: [],
25
32
  a11y: { role: 'img', label: 'Bookmark' },
@@ -0,0 +1,10 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.bring-to-front` โ€” Bring to front. A degenerate element (pure geometry, no children).
4
+ *
5
+ * Two overlapping squares where the FRONT one is SOLID and the one behind is an outline cut off where
6
+ * the front one covers it. Solid-on-top is the whole meaning; `xeno.send-to-back` is the same pair
7
+ * with the stacking reversed, so the two differ in exactly the property the actions change.
8
+ */
9
+ export declare const BringToFront: ElementDeclaration;
10
+ export default BringToFront;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * `xeno.bring-to-front` โ€” Bring to front. A degenerate element (pure geometry, no children).
3
+ *
4
+ * Two overlapping squares where the FRONT one is SOLID and the one behind is an outline cut off where
5
+ * the front one covers it. Solid-on-top is the whole meaning; `xeno.send-to-back` is the same pair
6
+ * with the stacking reversed, so the two differ in exactly the property the actions change.
7
+ */
8
+ export const BringToFront = {
9
+ id: 'xeno.bring-to-front',
10
+ kind: 'icon',
11
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
12
+ geometry: {
13
+ base: [
14
+ // The square BEHIND (footprint 4..14): an outline broken 2 units short of the front square, so
15
+ // the break itself says "covered". Only the parts that would be visible are drawn.
16
+ { kind: 'path', d: 'M8 14H5.4A1.4 1.4 0 0 1 4 12.6V5.4A1.4 1.4 0 0 1 5.4 4H12.6A1.4 1.4 0 0 1 14 5.4V8' },
17
+ // The square IN FRONT (footprint 10..20): solid.
18
+ { kind: 'rect', x: 10, y: 10, w: 10, h: 10, rx: 1.4, fill: 'foreground' },
19
+ ],
20
+ },
21
+ bindings: [],
22
+ a11y: { role: 'img', label: 'Bring to front' },
23
+ meta: { tags: ['bring-to-front', 'z-order', 'raise', 'arrange', 'stack'], since: '0.0.7' },
24
+ };
25
+ export default BringToFront;
@@ -0,0 +1,12 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.broadcast` โ€” Live session. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A square emitter with two pairs of bracket-shaped waves either side: something is being SHARED LIVE.
6
+ * Canvas uses it for hosting and joining a multiplayer session. The usual radio mark draws arcs of a
7
+ * circle around a dot; here the emitter is a square and each wave is a bracket with rounded corners,
8
+ * so the silhouette survives and the circles DESIGN_SYSTEM ยง3 forbids do not. `xeno.dot-square` is a
9
+ * static marker and carries no sense of transmission.
10
+ */
11
+ export declare const Broadcast: ElementDeclaration;
12
+ export default Broadcast;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * `xeno.broadcast` โ€” Live session. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A square emitter with two pairs of bracket-shaped waves either side: something is being SHARED LIVE.
5
+ * Canvas uses it for hosting and joining a multiplayer session. The usual radio mark draws arcs of a
6
+ * circle around a dot; here the emitter is a square and each wave is a bracket with rounded corners,
7
+ * so the silhouette survives and the circles DESIGN_SYSTEM ยง3 forbids do not. `xeno.dot-square` is a
8
+ * static marker and carries no sense of transmission.
9
+ */
10
+ export const Broadcast = {
11
+ id: 'xeno.broadcast',
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: 10, y: 10, w: 4, h: 4, rx: 0.8, fill: 'foreground' },
17
+ { kind: 'path', d: 'M7.6 8.4 6.6 9.4Q6 10 6 10.8V13.2Q6 14 6.6 14.6L7.6 15.6' },
18
+ { kind: 'path', d: 'M16.4 8.4 17.4 9.4Q18 10 18 10.8V13.2Q18 14 17.4 14.6L16.4 15.6' },
19
+ { kind: 'path', d: 'M5 5.8 3.2 7.6Q2.5 8.3 2.5 9.3V14.7Q2.5 15.7 3.2 16.4L5 18.2' },
20
+ { kind: 'path', d: 'M19 5.8 20.8 7.6Q21.5 8.3 21.5 9.3V14.7Q21.5 15.7 20.8 16.4L19 18.2' },
21
+ ],
22
+ },
23
+ bindings: [],
24
+ a11y: { role: 'img', label: 'Live session' },
25
+ meta: { tags: ['broadcast', 'radio', 'live', 'share', 'multiplayer', 'session'], since: '0.0.7' },
26
+ };
27
+ export default Broadcast;
@@ -0,0 +1,10 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.clipboard-check` โ€” Audit. A degenerate element (pure geometry, no children).
4
+ *
5
+ * A clipboard with a tick on it: a checklist that has been run. Canvas uses it for the local page
6
+ * audit (contrast, touch targets, component candidates). `xeno.check-square` is a checkbox โ€” a single
7
+ * ticked control โ€” and cannot carry "a review was performed".
8
+ */
9
+ export declare const ClipboardCheck: ElementDeclaration;
10
+ export default ClipboardCheck;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * `xeno.clipboard-check` โ€” Audit. A degenerate element (pure geometry, no children).
3
+ *
4
+ * A clipboard with a tick on it: a checklist that has been run. Canvas uses it for the local page
5
+ * audit (contrast, touch targets, component candidates). `xeno.check-square` is a checkbox โ€” a single
6
+ * ticked control โ€” and cannot carry "a review was performed".
7
+ */
8
+ export const ClipboardCheck = {
9
+ id: 'xeno.clipboard-check',
10
+ kind: 'icon',
11
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
12
+ geometry: {
13
+ base: [
14
+ { kind: 'path', d: 'M8 4.5H6.2A1.2 1.2 0 0 0 5 5.7V19.8A1.2 1.2 0 0 0 6.2 21H17.8A1.2 1.2 0 0 0 19 19.8V5.7A1.2 1.2 0 0 0 17.8 4.5H16' },
15
+ { kind: 'rect', x: 8, y: 2.5, w: 8, h: 4, rx: 1 },
16
+ { kind: 'path', d: 'M8.8 13.6 11 15.8 15.4 11.4' },
17
+ ],
18
+ },
19
+ bindings: [],
20
+ a11y: { role: 'img', label: 'Audit' },
21
+ meta: { tags: ['clipboard', 'clipboard-check', 'audit', 'checklist', 'review'], since: '0.0.7' },
22
+ };
23
+ export default ClipboardCheck;
@@ -0,0 +1,11 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.cloud` โ€” Cloud. A degenerate element (pure geometry, no children).
4
+ *
5
+ * The XENO cloud, built from the shape language rather than from bubbles: a flat, rounded base with
6
+ * a taller rounded-square billow standing on it. Every curve is a rounded CORNER โ€” there is no arc of
7
+ * a full circle โ€” so it sits beside `xeno.globe` and `xeno.waves` without breaking DESIGN_SYSTEM ยง3.
8
+ * `xeno.waves` means water or signal and is not a stand-in.
9
+ */
10
+ export declare const Cloud: ElementDeclaration;
11
+ export default Cloud;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * `xeno.cloud` โ€” Cloud. A degenerate element (pure geometry, no children).
3
+ *
4
+ * The XENO cloud, built from the shape language rather than from bubbles: a flat, rounded base with
5
+ * a taller rounded-square billow standing on it. Every curve is a rounded CORNER โ€” there is no arc of
6
+ * a full circle โ€” so it sits beside `xeno.globe` and `xeno.waves` without breaking DESIGN_SYSTEM ยง3.
7
+ * `xeno.waves` means water or signal and is not a stand-in.
8
+ */
9
+ export const Cloud = {
10
+ id: 'xeno.cloud',
11
+ kind: 'icon',
12
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
13
+ geometry: {
14
+ base: [
15
+ { kind: 'path', d: 'M6.5 19H17.5A3.5 3.5 0 0 0 21 15.5V14.5A3.5 3.5 0 0 0 17.5 11H17V9A4 4 0 0 0 13 5H11.5A4 4 0 0 0 7.5 9V11H6.5A3.5 3.5 0 0 0 3 14.5V15.5A3.5 3.5 0 0 0 6.5 19Z' },
16
+ ],
17
+ },
18
+ bindings: [],
19
+ a11y: { role: 'img', label: 'Cloud' },
20
+ meta: { tags: ['cloud', 'hosted', 'remote', 'online'], since: '0.0.7' },
21
+ };
22
+ export default Cloud;
@@ -0,0 +1,11 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.command` โ€” Command. A degenerate element (pure geometry, no children).
4
+ *
5
+ * The command-key mark redrawn in the shape language: a centre square with a rounded-square loop at
6
+ * each corner, each loop sharing one corner with the centre. The usual mark draws those loops as arcs
7
+ * of a circle; small rounded squares keep the silhouette and drop the circles DESIGN_SYSTEM ยง3
8
+ * forbids. It labels the command palette โ€” `xeno.menu` is navigation, not "run a command".
9
+ */
10
+ export declare const Command: ElementDeclaration;
11
+ export default Command;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * `xeno.command` โ€” Command. A degenerate element (pure geometry, no children).
3
+ *
4
+ * The command-key mark redrawn in the shape language: a centre square with a rounded-square loop at
5
+ * each corner, each loop sharing one corner with the centre. The usual mark draws those loops as arcs
6
+ * of a circle; small rounded squares keep the silhouette and drop the circles DESIGN_SYSTEM ยง3
7
+ * forbids. It labels the command palette โ€” `xeno.menu` is navigation, not "run a command".
8
+ */
9
+ export const Command = {
10
+ id: 'xeno.command',
11
+ kind: 'icon',
12
+ contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
13
+ geometry: {
14
+ base: [
15
+ { kind: 'path', d: 'M9 9H15V15H9Z' },
16
+ { kind: 'path', d: 'M9 9H5.8A1.8 1.8 0 0 1 4 7.2V5.8A1.8 1.8 0 0 1 5.8 4H7.2A1.8 1.8 0 0 1 9 5.8Z' },
17
+ { kind: 'path', d: 'M15 9V5.8A1.8 1.8 0 0 1 16.8 4H18.2A1.8 1.8 0 0 1 20 5.8V7.2A1.8 1.8 0 0 1 18.2 9Z' },
18
+ { kind: 'path', d: 'M15 15H18.2A1.8 1.8 0 0 1 20 16.8V18.2A1.8 1.8 0 0 1 18.2 20H16.8A1.8 1.8 0 0 1 15 18.2Z' },
19
+ { kind: 'path', d: 'M9 15V18.2A1.8 1.8 0 0 1 7.2 20H5.8A1.8 1.8 0 0 1 4 18.2V16.8A1.8 1.8 0 0 1 5.8 15Z' },
20
+ ],
21
+ },
22
+ bindings: [],
23
+ a11y: { role: 'img', label: 'Command' },
24
+ meta: { tags: ['command', 'cmd', 'command-palette', 'shortcut'], since: '0.0.7' },
25
+ };
26
+ export default Command;
@@ -0,0 +1,12 @@
1
+ import type { ElementDeclaration } from '../schema';
2
+ /**
3
+ * `xeno.distribute-horizontal` โ€” Distribute horizontally. A degenerate element.
4
+ *
5
+ * TWO vertical guide rails, at the left and right extents, with two equal objects between them
6
+ * spaced so the three horizontal gaps are equal (3.2 units each). The PAIR of
7
+ * rails is the whole distinction from the align glyphs, which have one: alignment collapses
8
+ * objects onto a single edge, distribution spreads them BETWEEN two. lucide's name for this shape
9
+ * is `align-horizontal-space-around`; see `meta.tags`.
10
+ */
11
+ export declare const DistributeHorizontal: ElementDeclaration;
12
+ export default DistributeHorizontal;