@xenosystem/elements 0.0.2 → 0.0.3
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/dist/elements/blocks.d.ts +7 -0
- package/dist/elements/blocks.js +20 -0
- package/dist/elements/cable.d.ts +7 -0
- package/dist/elements/cable.js +20 -0
- package/dist/elements/square.d.ts +7 -0
- package/dist/elements/square.js +18 -0
- package/dist/elements/workflow.d.ts +7 -0
- package/dist/elements/workflow.js +20 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.blocks` — Blocks. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Three of four cells filled — a set with room for one more, which is what a library of parts is. Rung 3 of the front ladder; the harness's Blocks rail. Squares only (DESIGN_SYSTEM §3).
|
|
5
|
+
*/
|
|
6
|
+
export declare const Blocks: ElementDeclaration;
|
|
7
|
+
export default Blocks;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.blocks` — Blocks. A degenerate element (pure geometry, no children).
|
|
3
|
+
* Three of four cells filled — a set with room for one more, which is what a library of parts is. Rung 3 of the front ladder; the harness's Blocks rail. Squares only (DESIGN_SYSTEM §3).
|
|
4
|
+
*/
|
|
5
|
+
export const Blocks = {
|
|
6
|
+
id: 'xeno.blocks',
|
|
7
|
+
kind: 'icon',
|
|
8
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
9
|
+
geometry: {
|
|
10
|
+
base: [
|
|
11
|
+
{ kind: 'rect', x: 4, y: 13, w: 7, h: 7, rx: 1 },
|
|
12
|
+
{ kind: 'rect', x: 13, y: 13, w: 7, h: 7, rx: 1 },
|
|
13
|
+
{ kind: 'rect', x: 4, y: 4, w: 7, h: 7, rx: 1 },
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
bindings: [],
|
|
17
|
+
a11y: { role: 'img', label: 'Blocks' },
|
|
18
|
+
meta: { tags: ['library', 'parts', 'panels', 'compose'], since: '0.1.0' },
|
|
19
|
+
};
|
|
20
|
+
export default Blocks;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.cable` — Cable. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Two plugs and the lead between them, with one bend so it reads as a cable and not a rule. The harness's Wiring rail.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Cable: ElementDeclaration;
|
|
7
|
+
export default Cable;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.cable` — Cable. A degenerate element (pure geometry, no children).
|
|
3
|
+
* Two plugs and the lead between them, with one bend so it reads as a cable and not a rule. The harness's Wiring rail.
|
|
4
|
+
*/
|
|
5
|
+
export const Cable = {
|
|
6
|
+
id: 'xeno.cable',
|
|
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, y: 9, w: 4, h: 6, rx: 1 },
|
|
12
|
+
{ kind: 'rect', x: 17, y: 9, w: 4, h: 6, rx: 1 },
|
|
13
|
+
{ kind: 'path', d: 'M7 12h3c2 0 2-3 4-3s2 3 4 3' },
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
bindings: [],
|
|
17
|
+
a11y: { role: 'img', label: 'Cable' },
|
|
18
|
+
meta: { tags: ['wire', 'wiring', 'connect', 'link'], since: '0.1.0' },
|
|
19
|
+
};
|
|
20
|
+
export default Cable;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.square` — Square. A degenerate element (pure geometry, no children).
|
|
4
|
+
* The plain frame: the default glyph for a thing that has no icon of its own, and the transport's stop.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Square: ElementDeclaration;
|
|
7
|
+
export default Square;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.square` — Square. A degenerate element (pure geometry, no children).
|
|
3
|
+
* The plain frame: the default glyph for a thing that has no icon of its own, and the transport's stop.
|
|
4
|
+
*/
|
|
5
|
+
export const Square = {
|
|
6
|
+
id: 'xeno.square',
|
|
7
|
+
kind: 'icon',
|
|
8
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
9
|
+
geometry: {
|
|
10
|
+
base: [
|
|
11
|
+
{ kind: 'rect', x: 4, y: 4, w: 16, h: 16, rx: 2 },
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
bindings: [],
|
|
15
|
+
a11y: { role: 'img', label: 'Square' },
|
|
16
|
+
meta: { tags: ['stop', 'shape', 'frame', 'placeholder'], since: '0.1.0' },
|
|
17
|
+
};
|
|
18
|
+
export default Square;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.workflow` — Workflow. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Two nodes and the edge that joins them, stepping down and across — a graph, not a list. The harness's BACK view.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Workflow: ElementDeclaration;
|
|
7
|
+
export default Workflow;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.workflow` — Workflow. A degenerate element (pure geometry, no children).
|
|
3
|
+
* Two nodes and the edge that joins them, stepping down and across — a graph, not a list. The harness's BACK view.
|
|
4
|
+
*/
|
|
5
|
+
export const Workflow = {
|
|
6
|
+
id: 'xeno.workflow',
|
|
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, y: 3, w: 7, h: 7, rx: 1 },
|
|
12
|
+
{ kind: 'rect', x: 14, y: 14, w: 7, h: 7, rx: 1 },
|
|
13
|
+
{ kind: 'path', d: 'M10 6.5h4.5a2 2 0 0 1 2 2V14' },
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
bindings: [],
|
|
17
|
+
a11y: { role: 'img', label: 'Workflow' },
|
|
18
|
+
meta: { tags: ['automation', 'flow', 'graph', 'nodes', 'back'], since: '0.1.0' },
|
|
19
|
+
};
|
|
20
|
+
export default Workflow;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/elements",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
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>",
|