@xenosystem/elements 0.0.9 β 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -65
- package/dist/elements/alert-octagon.d.ts +13 -0
- package/dist/elements/alert-octagon.js +26 -0
- package/dist/elements/arrow-down.d.ts +10 -0
- package/dist/elements/arrow-down.js +21 -0
- package/dist/elements/arrow-left.d.ts +11 -0
- package/dist/elements/arrow-left.js +22 -0
- package/dist/elements/chevron-left.d.ts +10 -0
- package/dist/elements/chevron-left.js +21 -0
- package/dist/elements/chevrons-up-down.d.ts +11 -0
- package/dist/elements/chevrons-up-down.js +23 -0
- package/dist/elements/cloud-off.d.ts +12 -0
- package/dist/elements/cloud-off.js +24 -0
- package/dist/elements/cpu.d.ts +13 -0
- package/dist/elements/cpu.js +29 -0
- package/dist/elements/external-link.d.ts +12 -0
- package/dist/elements/external-link.js +25 -0
- package/dist/elements/file-code.d.ts +11 -0
- package/dist/elements/file-code.js +25 -0
- package/dist/elements/file-pen.d.ts +11 -0
- package/dist/elements/file-pen.js +25 -0
- package/dist/elements/flask.d.ts +12 -0
- package/dist/elements/flask.js +25 -0
- package/dist/elements/folder-plus.d.ts +11 -0
- package/dist/elements/folder-plus.js +23 -0
- package/dist/elements/git-compare.d.ts +12 -0
- package/dist/elements/git-compare.js +26 -0
- package/dist/elements/git-merge.d.ts +11 -0
- package/dist/elements/git-merge.js +25 -0
- package/dist/elements/hard-drive.d.ts +12 -0
- package/dist/elements/hard-drive.js +26 -0
- package/dist/elements/inbox.d.ts +11 -0
- package/dist/elements/inbox.js +23 -0
- package/dist/elements/move-to.d.ts +12 -0
- package/dist/elements/move-to.js +25 -0
- package/dist/elements/pin.d.ts +16 -0
- package/dist/elements/pin.js +42 -0
- package/dist/elements/repeat.d.ts +12 -0
- package/dist/elements/repeat.js +26 -0
- package/dist/elements/rocket.d.ts +12 -0
- package/dist/elements/rocket.js +27 -0
- package/dist/elements/server.d.ts +11 -0
- package/dist/elements/server.js +25 -0
- package/dist/elements/shield-x.d.ts +11 -0
- package/dist/elements/shield-x.js +24 -0
- package/dist/elements/shield.d.ts +11 -0
- package/dist/elements/shield.js +22 -0
- package/dist/elements/users.d.ts +12 -0
- package/dist/elements/users.js +26 -0
- package/dist/elements/webhook.d.ts +12 -0
- package/dist/elements/webhook.js +27 -0
- package/package.json +1 -1
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,13 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.alert-octagon` - Error. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* An octagon β the stop-sign outline β with the same bar-and-dot as `xeno.alert`. It is the ERROR mark:
|
|
6
|
+
* `xeno.alert` (a square) is a warning and `xeno.info` (a square, dot above) is information, so a
|
|
7
|
+
* notification rail that shows all three can tell them apart by OUTLINE, not only by colour. The usual mark
|
|
8
|
+
* is a circle, which DESIGN_SYSTEM Β§3 forbids; the octagon keeps "stop" without it.
|
|
9
|
+
*
|
|
10
|
+
* part[0] = outline, part[1] = bar, part[2] = dot.
|
|
11
|
+
*/
|
|
12
|
+
export declare const AlertOctagon: ElementDeclaration;
|
|
13
|
+
export default AlertOctagon;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.alert-octagon` - Error. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* An octagon β the stop-sign outline β with the same bar-and-dot as `xeno.alert`. It is the ERROR mark:
|
|
5
|
+
* `xeno.alert` (a square) is a warning and `xeno.info` (a square, dot above) is information, so a
|
|
6
|
+
* notification rail that shows all three can tell them apart by OUTLINE, not only by colour. The usual mark
|
|
7
|
+
* is a circle, which DESIGN_SYSTEM Β§3 forbids; the octagon keeps "stop" without it.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = outline, part[1] = bar, part[2] = dot.
|
|
10
|
+
*/
|
|
11
|
+
export const AlertOctagon = {
|
|
12
|
+
id: 'xeno.alert-octagon',
|
|
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: 'M8.4 3.5h7.2l4.9 4.9v7.2l-4.9 4.9H8.4l-4.9-4.9V8.4z' },
|
|
18
|
+
{ kind: 'rect', x: 11.1, y: 7, w: 1.8, h: 6, rx: 0.4, fill: 'foreground' },
|
|
19
|
+
{ kind: 'rect', x: 11.2, y: 15.3, w: 1.6, h: 1.6, rx: 0.3, fill: 'foreground' },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
bindings: [],
|
|
23
|
+
a11y: { role: 'img', label: 'Error' },
|
|
24
|
+
meta: { tags: ['error', 'failure', 'stop', 'danger', 'alert-circle'], since: '0.0.10' },
|
|
25
|
+
};
|
|
26
|
+
export default AlertOctagon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.arrow-down` - Arrow down. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.arrow-up` stroke turned through a half-turn: a shaft and a chevron head, same lengths.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = shaft and head.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ArrowDown: ElementDeclaration;
|
|
10
|
+
export default ArrowDown;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.arrow-down` - Arrow down. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.arrow-up` stroke turned through a half-turn: a shaft and a chevron head, same lengths.
|
|
5
|
+
*
|
|
6
|
+
* part[0] = shaft and head.
|
|
7
|
+
*/
|
|
8
|
+
export const ArrowDown = {
|
|
9
|
+
id: 'xeno.arrow-down',
|
|
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: 'M12 4v15M6 13l6 6 6-6' },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
bindings: [],
|
|
18
|
+
a11y: { role: 'img', label: 'Arrow down' },
|
|
19
|
+
meta: { tags: ['down', 'south', 'scroll-down', 'bottom'], since: '0.0.10' },
|
|
20
|
+
};
|
|
21
|
+
export default ArrowDown;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.arrow-left` - Back. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.arrow-right` stroke mirrored. Labelled "Back" because that is what every call site uses it
|
|
6
|
+
* for β browser history, onboarding's previous step.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = shaft and head.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ArrowLeft: ElementDeclaration;
|
|
11
|
+
export default ArrowLeft;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.arrow-left` - Back. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.arrow-right` stroke mirrored. Labelled "Back" because that is what every call site uses it
|
|
5
|
+
* for β browser history, onboarding's previous step.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = shaft and head.
|
|
8
|
+
*/
|
|
9
|
+
export const ArrowLeft = {
|
|
10
|
+
id: 'xeno.arrow-left',
|
|
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: 'M20 12H5M11 6l-6 6 6 6' },
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
bindings: [],
|
|
19
|
+
a11y: { role: 'img', label: 'Back' },
|
|
20
|
+
meta: { tags: ['back', 'previous', 'left', 'west'], since: '0.0.10' },
|
|
21
|
+
};
|
|
22
|
+
export default ArrowLeft;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.chevron-left` - Chevron left. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.chevron-right` stroke mirrored.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = the chevron.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ChevronLeft: ElementDeclaration;
|
|
10
|
+
export default ChevronLeft;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.chevron-left` - Chevron left. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.chevron-right` stroke mirrored.
|
|
5
|
+
*
|
|
6
|
+
* part[0] = the chevron.
|
|
7
|
+
*/
|
|
8
|
+
export const ChevronLeft = {
|
|
9
|
+
id: 'xeno.chevron-left',
|
|
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: 'M15 6l-6 6 6 6' },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
bindings: [],
|
|
18
|
+
a11y: { role: 'img', label: 'Chevron left' },
|
|
19
|
+
meta: { tags: ['previous', 'back', 'collapse'], since: '0.0.10' },
|
|
20
|
+
};
|
|
21
|
+
export default ChevronLeft;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.chevrons-up-down` - Switch. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* Two chevrons back to back β the "this opens a list of alternatives" mark on a picker trigger, which is not
|
|
6
|
+
* the same claim as `xeno.chevron-down` (this one opens). Labelled for the action, not the shape.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = upper chevron, part[1] = lower chevron.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ChevronsUpDown: ElementDeclaration;
|
|
11
|
+
export default ChevronsUpDown;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.chevrons-up-down` - Switch. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* Two chevrons back to back β the "this opens a list of alternatives" mark on a picker trigger, which is not
|
|
5
|
+
* the same claim as `xeno.chevron-down` (this one opens). Labelled for the action, not the shape.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = upper chevron, part[1] = lower chevron.
|
|
8
|
+
*/
|
|
9
|
+
export const ChevronsUpDown = {
|
|
10
|
+
id: 'xeno.chevrons-up-down',
|
|
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: 'M8 9l4-4 4 4' },
|
|
16
|
+
{ kind: 'path', d: 'M8 15l4 4 4-4' },
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
bindings: [],
|
|
20
|
+
a11y: { role: 'img', label: 'Switch' },
|
|
21
|
+
meta: { tags: ['select', 'switch', 'picker', 'expand', 'sort'], since: '0.0.10' },
|
|
22
|
+
};
|
|
23
|
+
export default ChevronsUpDown;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.cloud-off` - Offline. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.cloud` outline with a stroke through it: the hosted connection is DOWN. It pairs with
|
|
6
|
+
* `xeno.cloud` (connected) and `xeno.cpu` (running locally) in the status indicator β offline is the
|
|
7
|
+
* absence of the cloud, not a weak signal, which is why this is not a Wi-Fi mark.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = the cloud outline, part[1] = the strike.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CloudOff: ElementDeclaration;
|
|
12
|
+
export default CloudOff;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.cloud-off` - Offline. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.cloud` outline with a stroke through it: the hosted connection is DOWN. It pairs with
|
|
5
|
+
* `xeno.cloud` (connected) and `xeno.cpu` (running locally) in the status indicator β offline is the
|
|
6
|
+
* absence of the cloud, not a weak signal, which is why this is not a Wi-Fi mark.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = the cloud outline, part[1] = the strike.
|
|
9
|
+
*/
|
|
10
|
+
export const CloudOff = {
|
|
11
|
+
id: 'xeno.cloud-off',
|
|
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: 'M6.2 17.4h11a4 4 0 0 0 0-8 6 6 0 0 0-11.3-1.5A4.7 4.7 0 0 0 6.2 17.4z' },
|
|
17
|
+
{ kind: 'path', d: 'M4 4l16 16' },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
bindings: [],
|
|
21
|
+
a11y: { role: 'img', label: 'Offline' },
|
|
22
|
+
meta: { tags: ['offline', 'disconnected', 'no-connection', 'cloud', 'unavailable'], since: '0.0.10' },
|
|
23
|
+
};
|
|
24
|
+
export default CloudOff;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.cpu` - Processor. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A chip: a rounded package, a SOLID die inside it, and two pins on each side. It marks local compute and
|
|
6
|
+
* a model β `xeno.monitor` is a screen and `xeno.bot` is the agent itself. Two pins per side, not three:
|
|
7
|
+
* the Agent UI draws this at 12px, where three pins sit 1.5px apart and the chip closes into a blob β and
|
|
8
|
+
* the die is solid for the same reason: an outlined die leaves a 1px ring that fills in at small sizes.
|
|
9
|
+
*
|
|
10
|
+
* part[0] = package, part[1] = die, part[2..5] = pins (top, bottom, left, right).
|
|
11
|
+
*/
|
|
12
|
+
export declare const Cpu: ElementDeclaration;
|
|
13
|
+
export default Cpu;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.cpu` - Processor. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A chip: a rounded package, a SOLID die inside it, and two pins on each side. It marks local compute and
|
|
5
|
+
* a model β `xeno.monitor` is a screen and `xeno.bot` is the agent itself. Two pins per side, not three:
|
|
6
|
+
* the Agent UI draws this at 12px, where three pins sit 1.5px apart and the chip closes into a blob β and
|
|
7
|
+
* the die is solid for the same reason: an outlined die leaves a 1px ring that fills in at small sizes.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = package, part[1] = die, part[2..5] = pins (top, bottom, left, right).
|
|
10
|
+
*/
|
|
11
|
+
export const Cpu = {
|
|
12
|
+
id: 'xeno.cpu',
|
|
13
|
+
kind: 'icon',
|
|
14
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
15
|
+
geometry: {
|
|
16
|
+
base: [
|
|
17
|
+
{ kind: 'rect', x: 6, y: 6, w: 12, h: 12, rx: 1.6 },
|
|
18
|
+
{ kind: 'rect', x: 10, y: 10, w: 4, h: 4, rx: 0.6, fill: 'foreground' },
|
|
19
|
+
{ kind: 'path', d: 'M9.5 3v3M14.5 3v3' },
|
|
20
|
+
{ kind: 'path', d: 'M9.5 18v3M14.5 18v3' },
|
|
21
|
+
{ kind: 'path', d: 'M3 9.5h3M3 14.5h3' },
|
|
22
|
+
{ kind: 'path', d: 'M18 9.5h3M18 14.5h3' },
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
bindings: [],
|
|
26
|
+
a11y: { role: 'img', label: 'Processor' },
|
|
27
|
+
meta: { tags: ['cpu', 'chip', 'processor', 'model', 'compute', 'local'], since: '0.0.10' },
|
|
28
|
+
};
|
|
29
|
+
export default Cpu;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.external-link` - Open externally. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A frame open at its top-right corner with an arrow leaving through the gap: this opens OUTSIDE the product β
|
|
6
|
+
* a browser, the file explorer. `xeno.arrow-up-right` (an arrow alone) is "open" in place; the frame is
|
|
7
|
+
* the difference, so both can sit in one toolbar without reading the same.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = the open frame, part[1] = arrow head, part[2] = arrow shaft.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ExternalLink: ElementDeclaration;
|
|
12
|
+
export default ExternalLink;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.external-link` - Open externally. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A frame open at its top-right corner with an arrow leaving through the gap: this opens OUTSIDE the product β
|
|
5
|
+
* a browser, the file explorer. `xeno.arrow-up-right` (an arrow alone) is "open" in place; the frame is
|
|
6
|
+
* the difference, so both can sit in one toolbar without reading the same.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = the open frame, part[1] = arrow head, part[2] = arrow shaft.
|
|
9
|
+
*/
|
|
10
|
+
export const ExternalLink = {
|
|
11
|
+
id: 'xeno.external-link',
|
|
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: 'M11 5H6.5A1.5 1.5 0 0 0 5 6.5v11A1.5 1.5 0 0 0 6.5 19h11a1.5 1.5 0 0 0 1.5-1.5V13' },
|
|
17
|
+
{ kind: 'path', d: 'M14 4h6v6' },
|
|
18
|
+
{ kind: 'path', d: 'M20 4l-9 9' },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
bindings: [],
|
|
22
|
+
a11y: { role: 'img', label: 'Open externally' },
|
|
23
|
+
meta: { tags: ['external', 'open', 'new-window', 'link-out'], since: '0.0.10' },
|
|
24
|
+
};
|
|
25
|
+
export default ExternalLink;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.file-code` - Source file. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.file-text` sheet and fold carrying a pair of code brackets instead of lines of text: a SOURCE
|
|
6
|
+
* file, which the editor tab and the file tree need to tell apart from a document.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = sheet, part[1] = fold, part[2] = left bracket, part[3] = right bracket.
|
|
9
|
+
*/
|
|
10
|
+
export declare const FileCode: ElementDeclaration;
|
|
11
|
+
export default FileCode;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.file-code` - Source file. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.file-text` sheet and fold carrying a pair of code brackets instead of lines of text: a SOURCE
|
|
5
|
+
* file, which the editor tab and the file tree need to tell apart from a document.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = sheet, part[1] = fold, part[2] = left bracket, part[3] = right bracket.
|
|
8
|
+
*/
|
|
9
|
+
export const FileCode = {
|
|
10
|
+
id: 'xeno.file-code',
|
|
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 3h8l4 4v14H6z' },
|
|
16
|
+
{ kind: 'path', d: 'M14 3v4h4' },
|
|
17
|
+
{ kind: 'path', d: 'M10.5 11.5 8.5 14l2 2.5' },
|
|
18
|
+
{ kind: 'path', d: 'M13.5 11.5l2 2.5-2 2.5' },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
bindings: [],
|
|
22
|
+
a11y: { role: 'img', label: 'Source file' },
|
|
23
|
+
meta: { tags: ['file', 'code', 'source', 'script', 'editor'], since: '0.0.10' },
|
|
24
|
+
};
|
|
25
|
+
export default FileCode;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.file-pen` - Edit file. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.file` sheet with a pen crossing its lower corner: the permission to WRITE a file, which sits in
|
|
6
|
+
* one list beside `xeno.file-text` ("read"). `xeno.edit` alone is "edit this", not "edit files".
|
|
7
|
+
*
|
|
8
|
+
* part[0] = sheet, part[1] = fold, part[2] = pen body, part[3] = pen nib.
|
|
9
|
+
*/
|
|
10
|
+
export declare const FilePen: ElementDeclaration;
|
|
11
|
+
export default FilePen;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.file-pen` - Edit file. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.file` sheet with a pen crossing its lower corner: the permission to WRITE a file, which sits in
|
|
5
|
+
* one list beside `xeno.file-text` ("read"). `xeno.edit` alone is "edit this", not "edit files".
|
|
6
|
+
*
|
|
7
|
+
* part[0] = sheet, part[1] = fold, part[2] = pen body, part[3] = pen nib.
|
|
8
|
+
*/
|
|
9
|
+
export const FilePen = {
|
|
10
|
+
id: 'xeno.file-pen',
|
|
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: 'M13 21H6V3h8l4 4v4' },
|
|
16
|
+
{ kind: 'path', d: 'M14 3v4h4' },
|
|
17
|
+
{ kind: 'path', d: 'M20.5 14.5l-5.5 5.5' },
|
|
18
|
+
{ kind: 'path', d: 'M15 20l-2.5.5.5-2.5 5.5-5.5 2 2' },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
bindings: [],
|
|
22
|
+
a11y: { role: 'img', label: 'Edit file' },
|
|
23
|
+
meta: { tags: ['file', 'write', 'edit', 'modify', 'file-write'], since: '0.0.10' },
|
|
24
|
+
};
|
|
25
|
+
export default FilePen;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.flask` - Test. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A lab flask: a straight neck, a lip, and a body that widens to a flat base, with a fill line. It marks
|
|
6
|
+
* "run a test" β not `xeno.play` (run for real). The sides are straight and the only curves are the two
|
|
7
|
+
* base corners, each a quarter-turn, so no part of it reads as round.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = neck and body, part[1] = lip, part[2] = fill line.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Flask: ElementDeclaration;
|
|
12
|
+
export default Flask;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.flask` - Test. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A lab flask: a straight neck, a lip, and a body that widens to a flat base, with a fill line. It marks
|
|
5
|
+
* "run a test" β not `xeno.play` (run for real). The sides are straight and the only curves are the two
|
|
6
|
+
* base corners, each a quarter-turn, so no part of it reads as round.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = neck and body, part[1] = lip, part[2] = fill line.
|
|
9
|
+
*/
|
|
10
|
+
export const Flask = {
|
|
11
|
+
id: 'xeno.flask',
|
|
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: 'M10 3v6l-4 9v1.6A1.4 1.4 0 0 0 7.4 21h9.2a1.4 1.4 0 0 0 1.4-1.4V18l-4-9V3' },
|
|
17
|
+
{ kind: 'path', d: 'M8.5 3h7' },
|
|
18
|
+
{ kind: 'path', d: 'M7.4 15h9.2' },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
bindings: [],
|
|
22
|
+
a11y: { role: 'img', label: 'Test' },
|
|
23
|
+
meta: { tags: ['test', 'experiment', 'lab', 'try', 'flask'], since: '0.0.10' },
|
|
24
|
+
};
|
|
25
|
+
export default Flask;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.folder-plus` - New folder. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.folder` body carrying `xeno.plus`: "add a folder", which the workspace picker uses beside
|
|
6
|
+
* plain `xeno.folder` ("open").
|
|
7
|
+
*
|
|
8
|
+
* part[0] = folder body, part[1] = plus.
|
|
9
|
+
*/
|
|
10
|
+
export declare const FolderPlus: ElementDeclaration;
|
|
11
|
+
export default FolderPlus;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.folder-plus` - New folder. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.folder` body carrying `xeno.plus`: "add a folder", which the workspace picker uses beside
|
|
5
|
+
* plain `xeno.folder` ("open").
|
|
6
|
+
*
|
|
7
|
+
* part[0] = folder body, part[1] = plus.
|
|
8
|
+
*/
|
|
9
|
+
export const FolderPlus = {
|
|
10
|
+
id: 'xeno.folder-plus',
|
|
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: 'M3 6.4A1.4 1.4 0 0 1 4.4 5h4l2 2.4h6A1.4 1.4 0 0 1 17.8 8.8V17a1.4 1.4 0 0 1-1.4 1.4H4.4A1.4 1.4 0 0 1 3 17z' },
|
|
16
|
+
{ kind: 'path', d: 'M10.4 10.2v5.6M7.6 13h5.6' },
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
bindings: [],
|
|
20
|
+
a11y: { role: 'img', label: 'New folder' },
|
|
21
|
+
meta: { tags: ['folder', 'new', 'add', 'create', 'workspace'], since: '0.0.10' },
|
|
22
|
+
};
|
|
23
|
+
export default FolderPlus;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.git-compare` - Compare changes. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* Two commit squares, each with a line running to the other side: this revision against that one. It marks
|
|
6
|
+
* a whole-change review β `xeno.file-diff` is one file's diff.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = upper-left commit, part[1] = lower-right commit, part[2] = the line out of the first,
|
|
9
|
+
* part[3] = the line out of the second.
|
|
10
|
+
*/
|
|
11
|
+
export declare const GitCompare: ElementDeclaration;
|
|
12
|
+
export default GitCompare;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.git-compare` - Compare changes. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* Two commit squares, each with a line running to the other side: this revision against that one. It marks
|
|
5
|
+
* a whole-change review β `xeno.file-diff` is one file's diff.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = upper-left commit, part[1] = lower-right commit, part[2] = the line out of the first,
|
|
8
|
+
* part[3] = the line out of the second.
|
|
9
|
+
*/
|
|
10
|
+
export const GitCompare = {
|
|
11
|
+
id: 'xeno.git-compare',
|
|
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: 4, h: 4, rx: 0.8 },
|
|
17
|
+
{ kind: 'rect', x: 16, y: 16, w: 4, h: 4, rx: 0.8 },
|
|
18
|
+
{ kind: 'path', d: 'M6 8v7.6A1.4 1.4 0 0 0 7.4 17H12M10 15l2 2-2 2' },
|
|
19
|
+
{ kind: 'path', d: 'M18 16V8.4A1.4 1.4 0 0 0 16.6 7H12M14 9l-2-2 2-2' },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
bindings: [],
|
|
23
|
+
a11y: { role: 'img', label: 'Compare changes' },
|
|
24
|
+
meta: { tags: ['git', 'compare', 'diff', 'changes', 'review'], since: '0.0.10' },
|
|
25
|
+
};
|
|
26
|
+
export default GitCompare;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.git-merge` - Merge. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.git-branch` trunk and limb with the limb running INTO the trunk's head rather than leaving it:
|
|
6
|
+
* two lines of work becoming one. Same commit squares and quarter-arc as branch, so the pair reads as a pair.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = trunk, part[1] = the merging limb, part[2] = trunk head, part[3] = limb foot.
|
|
9
|
+
*/
|
|
10
|
+
export declare const GitMerge: ElementDeclaration;
|
|
11
|
+
export default GitMerge;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.git-merge` - Merge. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.git-branch` trunk and limb with the limb running INTO the trunk's head rather than leaving it:
|
|
5
|
+
* two lines of work becoming one. Same commit squares and quarter-arc as branch, so the pair reads as a pair.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = trunk, part[1] = the merging limb, part[2] = trunk head, part[3] = limb foot.
|
|
8
|
+
*/
|
|
9
|
+
export const GitMerge = {
|
|
10
|
+
id: 'xeno.git-merge',
|
|
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 7v14' },
|
|
16
|
+
{ kind: 'path', d: 'M6 7.5v1.1A3.4 3.4 0 0 0 9.4 12H16' },
|
|
17
|
+
{ kind: 'rect', x: 4, y: 3, w: 4, h: 4, rx: 0.8 },
|
|
18
|
+
{ kind: 'rect', x: 16, y: 10, w: 4, h: 4, rx: 0.8 },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
bindings: [],
|
|
22
|
+
a11y: { role: 'img', label: 'Merge' },
|
|
23
|
+
meta: { tags: ['git', 'merge', 'land', 'integrate', 'join'], since: '0.0.10' },
|
|
24
|
+
};
|
|
25
|
+
export default GitMerge;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.hard-drive` - Local storage. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A drive unit: a wide rounded box split by a line into a label band and a status band carrying two small
|
|
6
|
+
* status squares. It marks storage ON THIS MACHINE β a backup written to disk. `xeno.save` is "save this
|
|
7
|
+
* document", `xeno.archive` is "put away".
|
|
8
|
+
*
|
|
9
|
+
* part[0] = unit, part[1] = divider, part[2..3] = status squares.
|
|
10
|
+
*/
|
|
11
|
+
export declare const HardDrive: ElementDeclaration;
|
|
12
|
+
export default HardDrive;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.hard-drive` - Local storage. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A drive unit: a wide rounded box split by a line into a label band and a status band carrying two small
|
|
5
|
+
* status squares. It marks storage ON THIS MACHINE β a backup written to disk. `xeno.save` is "save this
|
|
6
|
+
* document", `xeno.archive` is "put away".
|
|
7
|
+
*
|
|
8
|
+
* part[0] = unit, part[1] = divider, part[2..3] = status squares.
|
|
9
|
+
*/
|
|
10
|
+
export const HardDrive = {
|
|
11
|
+
id: 'xeno.hard-drive',
|
|
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: 5, w: 18, h: 14, rx: 2 },
|
|
17
|
+
{ kind: 'path', d: 'M3 13h18' },
|
|
18
|
+
{ kind: 'rect', x: 6.2, y: 15.2, w: 1.6, h: 1.6, rx: 0.3, fill: 'foreground' },
|
|
19
|
+
{ kind: 'rect', x: 9.2, y: 15.2, w: 1.6, h: 1.6, rx: 0.3, fill: 'foreground' },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
bindings: [],
|
|
23
|
+
a11y: { role: 'img', label: 'Local storage' },
|
|
24
|
+
meta: { tags: ['drive', 'disk', 'storage', 'backup', 'local'], since: '0.0.10' },
|
|
25
|
+
};
|
|
26
|
+
export default HardDrive;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.inbox` - Inbox. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A tray: a rounded outline whose lower band has a notch cut into it where work drops in. It marks INCOMING
|
|
6
|
+
* work waiting to be triaged β `xeno.download` is a transfer and `xeno.archive` is storage.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = tray outline, part[1] = the notched band.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Inbox: ElementDeclaration;
|
|
11
|
+
export default Inbox;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.inbox` - Inbox. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A tray: a rounded outline whose lower band has a notch cut into it where work drops in. It marks INCOMING
|
|
5
|
+
* work waiting to be triaged β `xeno.download` is a transfer and `xeno.archive` is storage.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = tray outline, part[1] = the notched band.
|
|
8
|
+
*/
|
|
9
|
+
export const Inbox = {
|
|
10
|
+
id: 'xeno.inbox',
|
|
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: 3, y: 4, w: 18, h: 16, rx: 2 },
|
|
16
|
+
{ kind: 'path', d: 'M3 13h5l1.5 2.5h5L16 13h5' },
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
bindings: [],
|
|
20
|
+
a11y: { role: 'img', label: 'Inbox' },
|
|
21
|
+
meta: { tags: ['inbox', 'intake', 'incoming', 'queue', 'triage'], since: '0.0.10' },
|
|
22
|
+
};
|
|
23
|
+
export default Inbox;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.move-to` - Move to. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* An item frame on the left and an arrow leaving it for a destination bracket on the right: move THIS
|
|
6
|
+
* somewhere else β a chat to another workspace, a member to another team. `xeno.pointer` is the canvas
|
|
7
|
+
* move TOOL, a different act, which is why this does not reuse it.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = the item, part[1] = arrow shaft and head, part[2] = the destination.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MoveTo: ElementDeclaration;
|
|
12
|
+
export default MoveTo;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.move-to` - Move to. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* An item frame on the left and an arrow leaving it for a destination bracket on the right: move THIS
|
|
5
|
+
* somewhere else β a chat to another workspace, a member to another team. `xeno.pointer` is the canvas
|
|
6
|
+
* move TOOL, a different act, which is why this does not reuse it.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = the item, part[1] = arrow shaft and head, part[2] = the destination.
|
|
9
|
+
*/
|
|
10
|
+
export const MoveTo = {
|
|
11
|
+
id: 'xeno.move-to',
|
|
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: 8, w: 7, h: 8, rx: 1.2 },
|
|
17
|
+
{ kind: 'path', d: 'M10 12h8M15 9l3 3-3 3' },
|
|
18
|
+
{ kind: 'path', d: 'M18 5h1.5A1.5 1.5 0 0 1 21 6.5v11a1.5 1.5 0 0 1-1.5 1.5H18' },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
bindings: [],
|
|
22
|
+
a11y: { role: 'img', label: 'Move to' },
|
|
23
|
+
meta: { tags: ['move', 'move-to', 'relocate', 'transfer', 'reassign'], since: '0.0.10' },
|
|
24
|
+
};
|
|
25
|
+
export default MoveTo;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.pin` - Pin. A stateful icon (selection off / on / mixed).
|
|
4
|
+
*
|
|
5
|
+
* A push pin in profile: a flat cap, a head wide enough to carry a mark, a body that flares to a collar,
|
|
6
|
+
* and a needle below. Straight sides, so no round head. It is STATEFUL, the way `xeno.bookmark` is:
|
|
7
|
+
* pinned fills the head and body, and a set that is partly pinned keeps the outline and carries the
|
|
8
|
+
* system's one indeterminate bar.
|
|
9
|
+
*
|
|
10
|
+
* The head is 6 wide so the `mixed` bar sits INSET, the way bookmark's does. At 4 wide the bar met both
|
|
11
|
+
* walls and read as a solid band β the same drawing as `on`, which is the one thing `mixed` must not be.
|
|
12
|
+
*
|
|
13
|
+
* part[0] = cap, head and body, part[1] = collar, part[2] = needle.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Pin: ElementDeclaration;
|
|
16
|
+
export default Pin;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.pin` - Pin. A stateful icon (selection off / on / mixed).
|
|
3
|
+
*
|
|
4
|
+
* A push pin in profile: a flat cap, a head wide enough to carry a mark, a body that flares to a collar,
|
|
5
|
+
* and a needle below. Straight sides, so no round head. It is STATEFUL, the way `xeno.bookmark` is:
|
|
6
|
+
* pinned fills the head and body, and a set that is partly pinned keeps the outline and carries the
|
|
7
|
+
* system's one indeterminate bar.
|
|
8
|
+
*
|
|
9
|
+
* The head is 6 wide so the `mixed` bar sits INSET, the way bookmark's does. At 4 wide the bar met both
|
|
10
|
+
* walls and read as a solid band β the same drawing as `on`, which is the one thing `mixed` must not be.
|
|
11
|
+
*
|
|
12
|
+
* part[0] = cap, head and body, part[1] = collar, part[2] = needle.
|
|
13
|
+
*/
|
|
14
|
+
export const Pin = {
|
|
15
|
+
id: 'xeno.pin',
|
|
16
|
+
kind: 'icon',
|
|
17
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: ['selection'], signals: [] },
|
|
18
|
+
geometry: {
|
|
19
|
+
base: [
|
|
20
|
+
{ kind: 'path', d: 'M8 3h8M9 3v5.5l-3 4.5v1h12v-1l-3-4.5V3' },
|
|
21
|
+
{ kind: 'path', d: 'M6 14h12' },
|
|
22
|
+
{ kind: 'path', d: 'M12 14v7' },
|
|
23
|
+
],
|
|
24
|
+
'selection:on': [
|
|
25
|
+
{ kind: 'path', d: 'M8 3h8M9 3v5.5l-3 4.5v1h12v-1l-3-4.5V3', fill: 'foreground' },
|
|
26
|
+
{ kind: 'path', d: 'M6 14h12' },
|
|
27
|
+
{ kind: 'path', d: 'M12 14v7' },
|
|
28
|
+
],
|
|
29
|
+
// MIXED β some of a set are pinned. The outline stays (not every item is on) and carries the
|
|
30
|
+
// system's one indeterminate mark, the bar `Checkbox` stamps for `mixed`.
|
|
31
|
+
'selection:mixed': [
|
|
32
|
+
{ kind: 'path', d: 'M8 3h8M9 3v5.5l-3 4.5v1h12v-1l-3-4.5V3' },
|
|
33
|
+
{ kind: 'path', d: 'M6 14h12' },
|
|
34
|
+
{ kind: 'path', d: 'M12 14v7' },
|
|
35
|
+
{ kind: 'rect', x: 10.5, y: 5, w: 3, h: 1.8, rx: 0.4, fill: 'foreground' },
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
bindings: [],
|
|
39
|
+
a11y: { role: 'img', label: 'Pin' },
|
|
40
|
+
meta: { tags: ['pin', 'keep', 'favourite', 'attach', 'sticky'], since: '0.0.10' },
|
|
41
|
+
};
|
|
42
|
+
export default Pin;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.repeat` - Loop. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* Two arrows chasing each other round a rounded rectangle β the loop. Not `xeno.refresh` (reload once):
|
|
6
|
+
* this is an action that goes round again, which is why the coordination panel's "Loop" heading needs it
|
|
7
|
+
* beside a refresh button.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = upper run, part[1] = its head, part[2] = lower run, part[3] = its head.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Repeat: ElementDeclaration;
|
|
12
|
+
export default Repeat;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.repeat` - Loop. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* Two arrows chasing each other round a rounded rectangle β the loop. Not `xeno.refresh` (reload once):
|
|
5
|
+
* this is an action that goes round again, which is why the coordination panel's "Loop" heading needs it
|
|
6
|
+
* beside a refresh button.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = upper run, part[1] = its head, part[2] = lower run, part[3] = its head.
|
|
9
|
+
*/
|
|
10
|
+
export const Repeat = {
|
|
11
|
+
id: 'xeno.repeat',
|
|
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: 'M4 11V9.5A2.5 2.5 0 0 1 6.5 7H19' },
|
|
17
|
+
{ kind: 'path', d: 'M16 4l3 3-3 3' },
|
|
18
|
+
{ kind: 'path', d: 'M20 13v1.5a2.5 2.5 0 0 1-2.5 2.5H5' },
|
|
19
|
+
{ kind: 'path', d: 'M8 20l-3-3 3-3' },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
bindings: [],
|
|
23
|
+
a11y: { role: 'img', label: 'Loop' },
|
|
24
|
+
meta: { tags: ['repeat', 'loop', 'cycle', 'iterate', 'again'], since: '0.0.10' },
|
|
25
|
+
};
|
|
26
|
+
export default Repeat;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.rocket` - Deploy. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A rocket drawn with straight panels: a pointed nose, a body, two fins, and an exhaust mark. It labels
|
|
6
|
+
* "Deploy", the final step of onboarding β `xeno.send` sends a message, `xeno.upload` transfers a file.
|
|
7
|
+
* The window is a square, not a porthole.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = nose and body, part[1] = left fin, part[2] = right fin, part[3] = window, part[4] = exhaust.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Rocket: ElementDeclaration;
|
|
12
|
+
export default Rocket;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.rocket` - Deploy. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A rocket drawn with straight panels: a pointed nose, a body, two fins, and an exhaust mark. It labels
|
|
5
|
+
* "Deploy", the final step of onboarding β `xeno.send` sends a message, `xeno.upload` transfers a file.
|
|
6
|
+
* The window is a square, not a porthole.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = nose and body, part[1] = left fin, part[2] = right fin, part[3] = window, part[4] = exhaust.
|
|
9
|
+
*/
|
|
10
|
+
export const Rocket = {
|
|
11
|
+
id: 'xeno.rocket',
|
|
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: 'M12 2.5l3 4v9H9v-9z' },
|
|
17
|
+
{ kind: 'path', d: 'M9 11l-3 3v3.5l3-2' },
|
|
18
|
+
{ kind: 'path', d: 'M15 11l3 3v3.5l-3-2' },
|
|
19
|
+
{ kind: 'rect', x: 11, y: 8, w: 2, h: 2, rx: 0.4 },
|
|
20
|
+
{ kind: 'path', d: 'M12 18.5v3' },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
bindings: [],
|
|
24
|
+
a11y: { role: 'img', label: 'Deploy' },
|
|
25
|
+
meta: { tags: ['deploy', 'launch', 'ship', 'release', 'rocket'], since: '0.0.10' },
|
|
26
|
+
};
|
|
27
|
+
export default Rocket;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.server` - Server. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* Two stacked rack units, each with a status square at its left: a SERVER β an MCP server, a host. Distinct
|
|
6
|
+
* from `xeno.hard-drive` (one unit, this machine's storage) and `xeno.cloud` (hosted, somewhere else).
|
|
7
|
+
*
|
|
8
|
+
* part[0] = upper unit, part[1] = lower unit, part[2..3] = status squares.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Server: ElementDeclaration;
|
|
11
|
+
export default Server;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.server` - Server. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* Two stacked rack units, each with a status square at its left: a SERVER β an MCP server, a host. Distinct
|
|
5
|
+
* from `xeno.hard-drive` (one unit, this machine's storage) and `xeno.cloud` (hosted, somewhere else).
|
|
6
|
+
*
|
|
7
|
+
* part[0] = upper unit, part[1] = lower unit, part[2..3] = status squares.
|
|
8
|
+
*/
|
|
9
|
+
export const Server = {
|
|
10
|
+
id: 'xeno.server',
|
|
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: 3, y: 3.5, w: 18, h: 7, rx: 1.6 },
|
|
16
|
+
{ kind: 'rect', x: 3, y: 13.5, w: 18, h: 7, rx: 1.6 },
|
|
17
|
+
{ kind: 'rect', x: 6, y: 6.2, w: 1.6, h: 1.6, rx: 0.3, fill: 'foreground' },
|
|
18
|
+
{ kind: 'rect', x: 6, y: 16.2, w: 1.6, h: 1.6, rx: 0.3, fill: 'foreground' },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
bindings: [],
|
|
22
|
+
a11y: { role: 'img', label: 'Server' },
|
|
23
|
+
meta: { tags: ['server', 'mcp', 'host', 'service', 'backend'], since: '0.0.10' },
|
|
24
|
+
};
|
|
25
|
+
export default Server;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.shield-x` - Denied. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.shield-check` outline carrying a cross instead of a tick: a permission rule that DENIES. It sits
|
|
6
|
+
* in one list beside shield-check (allows), so the two differ in exactly the mark inside.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = outline, part[1] = one stroke of the cross, part[2] = the other.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ShieldX: ElementDeclaration;
|
|
11
|
+
export default ShieldX;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.shield-x` - Denied. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.shield-check` outline carrying a cross instead of a tick: a permission rule that DENIES. It sits
|
|
5
|
+
* in one list beside shield-check (allows), so the two differ in exactly the mark inside.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = outline, part[1] = one stroke of the cross, part[2] = the other.
|
|
8
|
+
*/
|
|
9
|
+
export const ShieldX = {
|
|
10
|
+
id: 'xeno.shield-x',
|
|
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: 'M12 3l8 3v6c0 4.5-3.5 8-8 9-4.5-1-8-4.5-8-9V6z' },
|
|
16
|
+
{ kind: 'path', d: 'M9.5 9.5l5 5' },
|
|
17
|
+
{ kind: 'path', d: 'M14.5 9.5l-5 5' },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
bindings: [],
|
|
21
|
+
a11y: { role: 'img', label: 'Denied' },
|
|
22
|
+
meta: { tags: ['security', 'deny', 'blocked', 'refused', 'permission'], since: '0.0.10' },
|
|
23
|
+
};
|
|
24
|
+
export default ShieldX;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.shield` - Security. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* The `xeno.shield-check` outline with nothing inside: SECURITY as a place (a settings section), not a
|
|
6
|
+
* verdict. `shield-check` says "verified", `shield-alert` says "at risk"; an empty shield says neither.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = outline.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Shield: ElementDeclaration;
|
|
11
|
+
export default Shield;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.shield` - Security. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* The `xeno.shield-check` outline with nothing inside: SECURITY as a place (a settings section), not a
|
|
5
|
+
* verdict. `shield-check` says "verified", `shield-alert` says "at risk"; an empty shield says neither.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = outline.
|
|
8
|
+
*/
|
|
9
|
+
export const Shield = {
|
|
10
|
+
id: 'xeno.shield',
|
|
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: 'M12 3l8 3v6c0 4.5-3.5 8-8 9-4.5-1-8-4.5-8-9V6z' },
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
bindings: [],
|
|
19
|
+
a11y: { role: 'img', label: 'Security' },
|
|
20
|
+
meta: { tags: ['security', 'shield', 'protection', 'compliance', 'trust'], since: '0.0.10' },
|
|
21
|
+
};
|
|
22
|
+
export default Shield;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.users` - Members. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* `xeno.user` with a second person behind and to the right: MEMBERS β who has access, who is in the room.
|
|
6
|
+
* `xeno.building` is the organisation itself, and both appear together on the team and workspace views, so
|
|
7
|
+
* people and place must not share a glyph.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = front head, part[1] = front shoulders, part[2] = rear head, part[3] = rear shoulder.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Users: ElementDeclaration;
|
|
12
|
+
export default Users;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.users` - Members. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* `xeno.user` with a second person behind and to the right: MEMBERS β who has access, who is in the room.
|
|
5
|
+
* `xeno.building` is the organisation itself, and both appear together on the team and workspace views, so
|
|
6
|
+
* people and place must not share a glyph.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = front head, part[1] = front shoulders, part[2] = rear head, part[3] = rear shoulder.
|
|
9
|
+
*/
|
|
10
|
+
export const Users = {
|
|
11
|
+
id: 'xeno.users',
|
|
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: 5, y: 5, w: 7, h: 7, rx: 1.4 },
|
|
17
|
+
{ kind: 'path', d: 'M2.5 20.5V19A2.5 2.5 0 0 1 5 16.5H12A2.5 2.5 0 0 1 14.5 19V20.5' },
|
|
18
|
+
{ kind: 'path', d: 'M14 3.5h3.6A1.4 1.4 0 0 1 19 4.9V9.6A1.4 1.4 0 0 1 17.6 11H15' },
|
|
19
|
+
{ kind: 'path', d: 'M17 14.5h1.5A2.5 2.5 0 0 1 21 17V20.5' },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
bindings: [],
|
|
23
|
+
a11y: { role: 'img', label: 'Members' },
|
|
24
|
+
meta: { tags: ['users', 'members', 'team', 'people', 'collaborators', 'access'], since: '0.0.10' },
|
|
25
|
+
};
|
|
26
|
+
export default Users;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.webhook` - Webhook. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* An event node with three lines leaving it for three endpoint squares: a webhook fans ONE event out to
|
|
6
|
+
* listeners. `xeno.link` is a URL and `xeno.share` is a network; the fan-out from a filled source is
|
|
7
|
+
* what makes it a hook.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = source (filled), part[1] = the three routes, part[2..4] = endpoints.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Webhook: ElementDeclaration;
|
|
12
|
+
export default Webhook;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.webhook` - Webhook. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* An event node with three lines leaving it for three endpoint squares: a webhook fans ONE event out to
|
|
5
|
+
* listeners. `xeno.link` is a URL and `xeno.share` is a network; the fan-out from a filled source is
|
|
6
|
+
* what makes it a hook.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = source (filled), part[1] = the three routes, part[2..4] = endpoints.
|
|
9
|
+
*/
|
|
10
|
+
export const Webhook = {
|
|
11
|
+
id: 'xeno.webhook',
|
|
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: 'M12 10V7M14 13l3.5 2.5M10 13l-3.5 2.5' },
|
|
18
|
+
{ kind: 'rect', x: 10, y: 3, w: 4, h: 4, rx: 0.8 },
|
|
19
|
+
{ kind: 'rect', x: 16.5, y: 15.5, w: 4, h: 4, rx: 0.8 },
|
|
20
|
+
{ kind: 'rect', x: 3.5, y: 15.5, w: 4, h: 4, rx: 0.8 },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
bindings: [],
|
|
24
|
+
a11y: { role: 'img', label: 'Webhook' },
|
|
25
|
+
meta: { tags: ['webhook', 'callback', 'event', 'integration', 'trigger'], since: '0.0.10' },
|
|
26
|
+
};
|
|
27
|
+
export default Webhook;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/elements",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "The XENO element contract β declarations, schema, state model. Framework-free, platform-free.",
|
|
6
6
|
"author": "XENO Corporation <emilian@bnkrsys.com>",
|