@xenosystem/elements 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +65 -0
- package/dist/elements/alert.d.ts +7 -0
- package/dist/elements/alert.js +20 -0
- package/dist/elements/app-window.d.ts +12 -0
- package/dist/elements/app-window.js +26 -0
- package/dist/elements/archive.d.ts +22 -0
- package/dist/elements/archive.js +40 -0
- package/dist/elements/arrow-left-right.d.ts +13 -0
- package/dist/elements/arrow-left-right.js +25 -0
- package/dist/elements/arrow-right.d.ts +7 -0
- package/dist/elements/arrow-right.js +18 -0
- package/dist/elements/arrow-up-right.d.ts +15 -0
- package/dist/elements/arrow-up-right.js +27 -0
- package/dist/elements/arrow-up.d.ts +7 -0
- package/dist/elements/arrow-up.js +18 -0
- package/dist/elements/attach.d.ts +7 -0
- package/dist/elements/attach.js +18 -0
- package/dist/elements/bell.d.ts +7 -0
- package/dist/elements/bell.js +19 -0
- package/dist/elements/bookmark.d.ts +14 -0
- package/dist/elements/bookmark.js +28 -0
- package/dist/elements/bot.d.ts +20 -0
- package/dist/elements/bot.js +35 -0
- package/dist/elements/brain-circuit.d.ts +24 -0
- package/dist/elements/brain-circuit.js +43 -0
- package/dist/elements/brain.d.ts +23 -0
- package/dist/elements/brain.js +38 -0
- package/dist/elements/briefcase.d.ts +14 -0
- package/dist/elements/briefcase.js +27 -0
- package/dist/elements/building.d.ts +15 -0
- package/dist/elements/building.js +34 -0
- package/dist/elements/calendar.d.ts +11 -0
- package/dist/elements/calendar.js +25 -0
- package/dist/elements/check-square.d.ts +13 -0
- package/dist/elements/check-square.js +25 -0
- package/dist/elements/check.d.ts +7 -0
- package/dist/elements/check.js +18 -0
- package/dist/elements/chevron-down.d.ts +7 -0
- package/dist/elements/chevron-down.js +18 -0
- package/dist/elements/chevron-right.d.ts +7 -0
- package/dist/elements/chevron-right.js +18 -0
- package/dist/elements/clock.d.ts +7 -0
- package/dist/elements/clock.js +19 -0
- package/dist/elements/code.d.ts +7 -0
- package/dist/elements/code.js +20 -0
- package/dist/elements/contrast.d.ts +22 -0
- package/dist/elements/contrast.js +41 -0
- package/dist/elements/copy.d.ts +7 -0
- package/dist/elements/copy.js +19 -0
- package/dist/elements/download.d.ts +7 -0
- package/dist/elements/download.js +21 -0
- package/dist/elements/edit.d.ts +7 -0
- package/dist/elements/edit.js +21 -0
- package/dist/elements/eye-off.d.ts +15 -0
- package/dist/elements/eye-off.js +28 -0
- package/dist/elements/eye.d.ts +7 -0
- package/dist/elements/eye.js +19 -0
- package/dist/elements/feather.d.ts +12 -0
- package/dist/elements/feather.js +25 -0
- package/dist/elements/file-clock.d.ts +20 -0
- package/dist/elements/file-clock.js +34 -0
- package/dist/elements/file-out.d.ts +13 -0
- package/dist/elements/file-out.js +27 -0
- package/dist/elements/file-x.d.ts +16 -0
- package/dist/elements/file-x.js +30 -0
- package/dist/elements/file.d.ts +7 -0
- package/dist/elements/file.js +23 -0
- package/dist/elements/filter.d.ts +7 -0
- package/dist/elements/filter.js +18 -0
- package/dist/elements/folder-up.d.ts +12 -0
- package/dist/elements/folder-up.js +25 -0
- package/dist/elements/folder.d.ts +7 -0
- package/dist/elements/folder.js +26 -0
- package/dist/elements/gear.d.ts +7 -0
- package/dist/elements/gear.js +20 -0
- package/dist/elements/globe.d.ts +7 -0
- package/dist/elements/globe.js +38 -0
- package/dist/elements/grid.d.ts +7 -0
- package/dist/elements/grid.js +21 -0
- package/dist/elements/hand.d.ts +13 -0
- package/dist/elements/hand.js +29 -0
- package/dist/elements/heart.d.ts +7 -0
- package/dist/elements/heart.js +20 -0
- package/dist/elements/help.d.ts +7 -0
- package/dist/elements/help.js +20 -0
- package/dist/elements/home.d.ts +7 -0
- package/dist/elements/home.js +21 -0
- package/dist/elements/image.d.ts +7 -0
- package/dist/elements/image.js +20 -0
- package/dist/elements/info.d.ts +7 -0
- package/dist/elements/info.js +20 -0
- package/dist/elements/layers.d.ts +7 -0
- package/dist/elements/layers.js +19 -0
- package/dist/elements/library.d.ts +15 -0
- package/dist/elements/library.js +28 -0
- package/dist/elements/lightbulb.d.ts +15 -0
- package/dist/elements/lightbulb.js +28 -0
- package/dist/elements/link.d.ts +7 -0
- package/dist/elements/link.js +20 -0
- package/dist/elements/list.d.ts +7 -0
- package/dist/elements/list.js +23 -0
- package/dist/elements/lock.d.ts +7 -0
- package/dist/elements/lock.js +21 -0
- package/dist/elements/maximize.d.ts +15 -0
- package/dist/elements/maximize.js +29 -0
- package/dist/elements/menu.d.ts +7 -0
- package/dist/elements/menu.js +20 -0
- package/dist/elements/message-plus.d.ts +12 -0
- package/dist/elements/message-plus.js +25 -0
- package/dist/elements/message-x.d.ts +12 -0
- package/dist/elements/message-x.js +25 -0
- package/dist/elements/message.d.ts +7 -0
- package/dist/elements/message.js +19 -0
- package/dist/elements/mic-off.d.ts +11 -0
- package/dist/elements/mic-off.js +25 -0
- package/dist/elements/mic.d.ts +7 -0
- package/dist/elements/mic.js +20 -0
- package/dist/elements/minimize.d.ts +13 -0
- package/dist/elements/minimize.js +27 -0
- package/dist/elements/minus.d.ts +7 -0
- package/dist/elements/minus.js +18 -0
- package/dist/elements/monitor.d.ts +12 -0
- package/dist/elements/monitor.js +25 -0
- package/dist/elements/more.d.ts +7 -0
- package/dist/elements/more.js +20 -0
- package/dist/elements/navigation.d.ts +11 -0
- package/dist/elements/navigation.js +22 -0
- package/dist/elements/next-dismiss.d.ts +30 -0
- package/dist/elements/next-dismiss.js +56 -0
- package/dist/elements/panel-left-close.d.ts +10 -0
- package/dist/elements/panel-left-close.js +24 -0
- package/dist/elements/panel-left.d.ts +13 -0
- package/dist/elements/panel-left.js +27 -0
- package/dist/elements/panel-right-close.d.ts +8 -0
- package/dist/elements/panel-right-close.js +21 -0
- package/dist/elements/panel-right.d.ts +11 -0
- package/dist/elements/panel-right.js +24 -0
- package/dist/elements/pause.d.ts +12 -0
- package/dist/elements/pause.js +24 -0
- package/dist/elements/play.d.ts +13 -0
- package/dist/elements/play.js +22 -0
- package/dist/elements/plus.d.ts +7 -0
- package/dist/elements/plus.js +19 -0
- package/dist/elements/quote.d.ts +15 -0
- package/dist/elements/quote.js +27 -0
- package/dist/elements/refresh.d.ts +7 -0
- package/dist/elements/refresh.js +21 -0
- package/dist/elements/save.d.ts +12 -0
- package/dist/elements/save.js +25 -0
- package/dist/elements/scan-eye.d.ts +16 -0
- package/dist/elements/scan-eye.js +32 -0
- package/dist/elements/search.d.ts +7 -0
- package/dist/elements/search.js +18 -0
- package/dist/elements/send.d.ts +7 -0
- package/dist/elements/send.js +19 -0
- package/dist/elements/shapes.d.ts +15 -0
- package/dist/elements/shapes.js +27 -0
- package/dist/elements/share.d.ts +7 -0
- package/dist/elements/share.js +21 -0
- package/dist/elements/sliders.d.ts +7 -0
- package/dist/elements/sliders.js +23 -0
- package/dist/elements/smile.d.ts +19 -0
- package/dist/elements/smile.js +33 -0
- package/dist/elements/sparkles.d.ts +21 -0
- package/dist/elements/sparkles.js +33 -0
- package/dist/elements/star.d.ts +14 -0
- package/dist/elements/star.js +28 -0
- package/dist/elements/stop.d.ts +12 -0
- package/dist/elements/stop.js +21 -0
- package/dist/elements/store.d.ts +12 -0
- package/dist/elements/store.js +25 -0
- package/dist/elements/sun.d.ts +7 -0
- package/dist/elements/sun.js +19 -0
- package/dist/elements/target.d.ts +22 -0
- package/dist/elements/target.js +35 -0
- package/dist/elements/terminal.d.ts +7 -0
- package/dist/elements/terminal.js +22 -0
- package/dist/elements/thumbs-down.d.ts +12 -0
- package/dist/elements/thumbs-down.js +24 -0
- package/dist/elements/thumbs-up.d.ts +21 -0
- package/dist/elements/thumbs-up.js +33 -0
- package/dist/elements/timer-off.d.ts +12 -0
- package/dist/elements/timer-off.js +31 -0
- package/dist/elements/trash.d.ts +7 -0
- package/dist/elements/trash.js +20 -0
- package/dist/elements/trending-up.d.ts +15 -0
- package/dist/elements/trending-up.js +27 -0
- package/dist/elements/upload.d.ts +7 -0
- package/dist/elements/upload.js +19 -0
- package/dist/elements/user-x.d.ts +16 -0
- package/dist/elements/user-x.js +30 -0
- package/dist/elements/user.d.ts +7 -0
- package/dist/elements/user.js +19 -0
- package/dist/elements/wand-sparkles.d.ts +21 -0
- package/dist/elements/wand-sparkles.js +34 -0
- package/dist/elements/waves.d.ts +11 -0
- package/dist/elements/waves.js +24 -0
- package/dist/elements/wrap-text.d.ts +12 -0
- package/dist/elements/wrap-text.js +25 -0
- package/dist/elements/x.d.ts +7 -0
- package/dist/elements/x.js +18 -0
- package/dist/elements/zap.d.ts +9 -0
- package/dist/elements/zap.js +20 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +14 -0
- package/dist/schema.d.ts +240 -0
- package/dist/schema.js +101 -0
- package/dist/tokens/index.d.ts +17 -0
- package/dist/tokens/index.js +17 -0
- package/dist/tokens/interactive.d.ts +29 -0
- package/dist/tokens/interactive.js +26 -0
- package/dist/tokens/motion.d.ts +33 -0
- package/dist/tokens/motion.js +31 -0
- package/dist/tokens/radius.d.ts +22 -0
- package/dist/tokens/radius.js +21 -0
- package/dist/tokens/size.d.ts +98 -0
- package/dist/tokens/size.js +30 -0
- package/dist/tokens/status.d.ts +14 -0
- package/dist/tokens/status.js +13 -0
- package/dist/tokens/surfaces.d.ts +18 -0
- package/dist/tokens/surfaces.js +17 -0
- package/package.json +46 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.next-dismiss` — the arrow that becomes a cross. A degenerate element (pure geometry, no
|
|
3
|
+
* children), and the first in the set with a MORPHING variant.
|
|
4
|
+
*
|
|
5
|
+
* One control, two jobs: advance through a stack of cards, and — on the last one — dismiss it. Two
|
|
6
|
+
* meanings usually mean two glyphs, and two glyphs swapped in place is a flicker with no explanation.
|
|
7
|
+
* Here the swap is the explanation: the shaft rotates into one arm of the cross, the upper barb into the
|
|
8
|
+
* other, and the lower barb collapses into the middle and is gone. You can see the arrow become the way
|
|
9
|
+
* out.
|
|
10
|
+
*
|
|
11
|
+
* It works because the two variants are STRUCTURALLY identical — three paths, two points each, in the
|
|
12
|
+
* same order, and written with the SAME COMMANDS — which is what `geometryMorphable` tests for. The
|
|
13
|
+
* shaft is `M4 12L19 12` rather than the shorter `M4 12H19` for exactly that reason: a horizontal-line
|
|
14
|
+
* command cannot interpolate into a general line, and a browser asked to try snaps instead. Two strokes
|
|
15
|
+
* animated and the third teleported until this was written the long way. The interpreter checks it, marks the
|
|
16
|
+
* scene, and the stylesheet interpolates `d`. Nothing here is animated by hand; the pairing is what
|
|
17
|
+
* carries the motion, so the only real work was drawing both states out of the same three strokes.
|
|
18
|
+
*
|
|
19
|
+
* The lower barb's `selection:on` form is a zero-length segment. The contract draws with
|
|
20
|
+
* `stroke-linecap: butt`, so a segment with no length paints nothing — the part disappears without an
|
|
21
|
+
* opacity of its own, and comes back the same way. A round cap would have left a dot behind.
|
|
22
|
+
*
|
|
23
|
+
* `selection` is the axis, and it is the honest fit rather than a perfect one: what it encodes is "this
|
|
24
|
+
* is the last card", which is a fact about the deck rather than about this control. The grammar offers
|
|
25
|
+
* availability, selection and interaction; of the three, selection is the one that means "this is the
|
|
26
|
+
* state it is in" rather than "this is what you may do with it".
|
|
27
|
+
*/
|
|
28
|
+
export const NextDismiss = {
|
|
29
|
+
id: 'xeno.next-dismiss',
|
|
30
|
+
kind: 'icon',
|
|
31
|
+
contract: {
|
|
32
|
+
viewBox: '0 0 24 24',
|
|
33
|
+
weight: 'regular',
|
|
34
|
+
strokeFamily: 'xeno-regular',
|
|
35
|
+
axes: ['selection'],
|
|
36
|
+
signals: [],
|
|
37
|
+
},
|
|
38
|
+
geometry: {
|
|
39
|
+
// Next: `arrow-right`'s shaft and head, at its coordinates.
|
|
40
|
+
base: [
|
|
41
|
+
{ kind: 'path', d: 'M4 12L19 12' },
|
|
42
|
+
{ kind: 'path', d: 'M13 6L19 12' },
|
|
43
|
+
{ kind: 'path', d: 'M13 18L19 12' },
|
|
44
|
+
],
|
|
45
|
+
// Dismiss: `x`'s two strokes, and the third barb folded away into the centre.
|
|
46
|
+
'selection:on': [
|
|
47
|
+
{ kind: 'path', d: 'M6.5 6.5L17.5 17.5' },
|
|
48
|
+
{ kind: 'path', d: 'M17.5 6.5L6.5 17.5' },
|
|
49
|
+
{ kind: 'path', d: 'M12 12L12 12' },
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
bindings: [],
|
|
53
|
+
a11y: { role: 'img', label: 'Next' },
|
|
54
|
+
meta: { tags: ['next', 'dismiss', 'close', 'advance'], since: '0.2.0' },
|
|
55
|
+
};
|
|
56
|
+
export default NextDismiss;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.panel-left-close` — the twin of {@link PanelLeft}: same frame, same rail, chevron reversed.
|
|
4
|
+
*
|
|
5
|
+
* See `panel-left.ts` for why the four are authored as one set.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = frame, part[1] = rail, part[2] = chevron.
|
|
8
|
+
*/
|
|
9
|
+
export declare const PanelLeftClose: ElementDeclaration;
|
|
10
|
+
export default PanelLeftClose;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.panel-left-close` — the twin of {@link PanelLeft}: same frame, same rail, chevron reversed.
|
|
3
|
+
*
|
|
4
|
+
* See `panel-left.ts` for why the four are authored as one set.
|
|
5
|
+
*
|
|
6
|
+
* part[0] = frame, part[1] = rail, part[2] = chevron.
|
|
7
|
+
*/
|
|
8
|
+
export const PanelLeftClose = {
|
|
9
|
+
id: 'xeno.panel-left-close',
|
|
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: 4, w: 18, h: 16, rx: 2.4 },
|
|
15
|
+
{ kind: 'path', d: 'M9 4v16' },
|
|
16
|
+
// Pointing back AT the rail: this one folds the panel away.
|
|
17
|
+
{ kind: 'path', d: 'M15.8 9.6 13.4 12l2.4 2.4' },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
bindings: [],
|
|
21
|
+
a11y: { role: 'img', label: 'Close left panel' },
|
|
22
|
+
meta: { tags: ['panel', 'sidebar', 'layout', 'close'], since: '0.2.0' },
|
|
23
|
+
};
|
|
24
|
+
export default PanelLeftClose;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.panel-left` — a side panel on the LEFT, with the chevron that says which way it moves.
|
|
4
|
+
*
|
|
5
|
+
* Four glyphs in this family (`panel-left`, `panel-left-close`, `panel-right`, `panel-right-close`)
|
|
6
|
+
* share one frame and one rail, and differ only in which side the rail is on and which way the chevron
|
|
7
|
+
* points. They are authored as a SET on purpose: they are each other's opposites, and half a pair drawn
|
|
8
|
+
* in one system with its twin borrowed from another reads as a mistake rather than a pair.
|
|
9
|
+
*
|
|
10
|
+
* part[0] = frame, part[1] = rail, part[2] = chevron. The chevron is the only part that moves.
|
|
11
|
+
*/
|
|
12
|
+
export declare const PanelLeft: ElementDeclaration;
|
|
13
|
+
export default PanelLeft;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.panel-left` — a side panel on the LEFT, with the chevron that says which way it moves.
|
|
3
|
+
*
|
|
4
|
+
* Four glyphs in this family (`panel-left`, `panel-left-close`, `panel-right`, `panel-right-close`)
|
|
5
|
+
* share one frame and one rail, and differ only in which side the rail is on and which way the chevron
|
|
6
|
+
* points. They are authored as a SET on purpose: they are each other's opposites, and half a pair drawn
|
|
7
|
+
* in one system with its twin borrowed from another reads as a mistake rather than a pair.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = frame, part[1] = rail, part[2] = chevron. The chevron is the only part that moves.
|
|
10
|
+
*/
|
|
11
|
+
export const PanelLeft = {
|
|
12
|
+
id: 'xeno.panel-left',
|
|
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: 3, y: 4, w: 18, h: 16, rx: 2.4 },
|
|
18
|
+
{ kind: 'path', d: 'M9 4v16' },
|
|
19
|
+
// Pointing INTO the open area: this is the one that opens the panel.
|
|
20
|
+
{ kind: 'path', d: 'M13.4 9.6 15.8 12l-2.4 2.4' },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
bindings: [],
|
|
24
|
+
a11y: { role: 'img', label: 'Open left panel' },
|
|
25
|
+
meta: { tags: ['panel', 'sidebar', 'layout', 'open'], since: '0.2.0' },
|
|
26
|
+
};
|
|
27
|
+
export default PanelLeft;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.panel-right-close` — the twin of {@link PanelRight}: same frame, same rail, chevron reversed.
|
|
4
|
+
*
|
|
5
|
+
* part[0] = frame, part[1] = rail, part[2] = chevron.
|
|
6
|
+
*/
|
|
7
|
+
export declare const PanelRightClose: ElementDeclaration;
|
|
8
|
+
export default PanelRightClose;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.panel-right-close` — the twin of {@link PanelRight}: same frame, same rail, chevron reversed.
|
|
3
|
+
*
|
|
4
|
+
* part[0] = frame, part[1] = rail, part[2] = chevron.
|
|
5
|
+
*/
|
|
6
|
+
export const PanelRightClose = {
|
|
7
|
+
id: 'xeno.panel-right-close',
|
|
8
|
+
kind: 'icon',
|
|
9
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
10
|
+
geometry: {
|
|
11
|
+
base: [
|
|
12
|
+
{ kind: 'rect', x: 3, y: 4, w: 18, h: 16, rx: 2.4 },
|
|
13
|
+
{ kind: 'path', d: 'M15 4v16' },
|
|
14
|
+
{ kind: 'path', d: 'M8.2 9.6 10.6 12l-2.4 2.4' },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
bindings: [],
|
|
18
|
+
a11y: { role: 'img', label: 'Close right panel' },
|
|
19
|
+
meta: { tags: ['panel', 'sidebar', 'layout', 'close'], since: '0.2.0' },
|
|
20
|
+
};
|
|
21
|
+
export default PanelRightClose;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.panel-right` — {@link PanelLeft} mirrored: the rail is on the right.
|
|
4
|
+
*
|
|
5
|
+
* Mirrored in the COORDINATES, not with a transform. A transform would have to be carried by every
|
|
6
|
+
* renderer that consumes the declaration, and the grammar keeps geometry resolved.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = frame, part[1] = rail, part[2] = chevron.
|
|
9
|
+
*/
|
|
10
|
+
export declare const PanelRight: ElementDeclaration;
|
|
11
|
+
export default PanelRight;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.panel-right` — {@link PanelLeft} mirrored: the rail is on the right.
|
|
3
|
+
*
|
|
4
|
+
* Mirrored in the COORDINATES, not with a transform. A transform would have to be carried by every
|
|
5
|
+
* renderer that consumes the declaration, and the grammar keeps geometry resolved.
|
|
6
|
+
*
|
|
7
|
+
* part[0] = frame, part[1] = rail, part[2] = chevron.
|
|
8
|
+
*/
|
|
9
|
+
export const PanelRight = {
|
|
10
|
+
id: 'xeno.panel-right',
|
|
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.4 },
|
|
16
|
+
{ kind: 'path', d: 'M15 4v16' },
|
|
17
|
+
{ kind: 'path', d: 'M10.6 9.6 8.2 12l2.4 2.4' },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
bindings: [],
|
|
21
|
+
a11y: { role: 'img', label: 'Open right panel' },
|
|
22
|
+
meta: { tags: ['panel', 'sidebar', 'layout', 'open'], since: '0.2.0' },
|
|
23
|
+
};
|
|
24
|
+
export default PanelRight;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.pause` — Pause. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* Two upright bars. Same height and the same vertical centre as `play`'s triangle and `stop`'s square,
|
|
6
|
+
* so the three swap in place without the row shifting — they are one control in three states, and a
|
|
7
|
+
* control that jumps when its label changes reads as a different button.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = left bar, part[1] = right bar, so they can move independently.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Pause: ElementDeclaration;
|
|
12
|
+
export default Pause;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.pause` — Pause. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* Two upright bars. Same height and the same vertical centre as `play`'s triangle and `stop`'s square,
|
|
5
|
+
* so the three swap in place without the row shifting — they are one control in three states, and a
|
|
6
|
+
* control that jumps when its label changes reads as a different button.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = left bar, part[1] = right bar, so they can move independently.
|
|
9
|
+
*/
|
|
10
|
+
export const Pause = {
|
|
11
|
+
id: 'xeno.pause',
|
|
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: 8, y: 5.6, w: 2.8, h: 12.8, rx: 0.9 },
|
|
17
|
+
{ kind: 'rect', x: 13.2, y: 5.6, w: 2.8, h: 12.8, rx: 0.9 },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
bindings: [],
|
|
21
|
+
a11y: { role: 'img', label: 'Pause' },
|
|
22
|
+
meta: { tags: ['media', 'hold', 'suspend'], since: '0.2.0' },
|
|
23
|
+
};
|
|
24
|
+
export default Pause;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.play` — Play. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A triangle pointing right. The one shape in the set that has a DIRECTION, which is the whole
|
|
6
|
+
* distinction it carries: pause and stop are both symmetrical, and play is the only one that says
|
|
7
|
+
* where things are going.
|
|
8
|
+
*
|
|
9
|
+
* Drawn as an outline rather than a solid wedge, because everything else in the grammar is an outline
|
|
10
|
+
* and a filled triangle at 24px reads two weights heavier than the icons beside it.
|
|
11
|
+
*/
|
|
12
|
+
export declare const Play: ElementDeclaration;
|
|
13
|
+
export default Play;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.play` — Play. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A triangle pointing right. The one shape in the set that has a DIRECTION, which is the whole
|
|
5
|
+
* distinction it carries: pause and stop are both symmetrical, and play is the only one that says
|
|
6
|
+
* where things are going.
|
|
7
|
+
*
|
|
8
|
+
* Drawn as an outline rather than a solid wedge, because everything else in the grammar is an outline
|
|
9
|
+
* and a filled triangle at 24px reads two weights heavier than the icons beside it.
|
|
10
|
+
*/
|
|
11
|
+
export const Play = {
|
|
12
|
+
id: 'xeno.play',
|
|
13
|
+
kind: 'icon',
|
|
14
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
15
|
+
geometry: {
|
|
16
|
+
base: [{ kind: 'path', d: 'M8.4 5.6 18.6 12 8.4 18.4Z' }],
|
|
17
|
+
},
|
|
18
|
+
bindings: [],
|
|
19
|
+
a11y: { role: 'img', label: 'Play' },
|
|
20
|
+
meta: { tags: ['media', 'start', 'run'], since: '0.2.0' },
|
|
21
|
+
};
|
|
22
|
+
export default Play;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.plus` — Plus. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Plus: ElementDeclaration;
|
|
7
|
+
export default Plus;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.plus` — Plus. A degenerate element (pure geometry, no children).
|
|
3
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
4
|
+
*/
|
|
5
|
+
export const Plus = {
|
|
6
|
+
id: 'xeno.plus',
|
|
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: 11.1, y: 5, w: 1.8, h: 14, rx: 0.4, fill: 'foreground' },
|
|
12
|
+
{ kind: 'rect', x: 5, y: 11.1, w: 14, h: 1.8, rx: 0.4, fill: 'foreground' },
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
bindings: [],
|
|
16
|
+
a11y: { role: 'img', label: 'Plus' },
|
|
17
|
+
meta: { tags: ['add', 'new', 'create'], since: '0.1.0' },
|
|
18
|
+
};
|
|
19
|
+
export default Plus;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.quote` - Quote. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* Two marks, each a rounded square with a descender dropping from its lower left, the shape a quotation
|
|
6
|
+
* mark has in a grotesque face - built out of this grammar rather than borrowed from a typeface, which
|
|
7
|
+
* would have left one glyph in the set whose weight came from a font and changed with it.
|
|
8
|
+
*
|
|
9
|
+
* The descender runs a full 4 units. A short one turns each mark into a speech balloon with a tail, and
|
|
10
|
+
* the set already has one of those; the length is what makes it read as type rather than as `message`.
|
|
11
|
+
*
|
|
12
|
+
* part[0] = the left mark, part[1] = the right one.
|
|
13
|
+
*/
|
|
14
|
+
export declare const Quote: ElementDeclaration;
|
|
15
|
+
export default Quote;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.quote` - Quote. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* Two marks, each a rounded square with a descender dropping from its lower left, the shape a quotation
|
|
5
|
+
* mark has in a grotesque face - built out of this grammar rather than borrowed from a typeface, which
|
|
6
|
+
* would have left one glyph in the set whose weight came from a font and changed with it.
|
|
7
|
+
*
|
|
8
|
+
* The descender runs a full 4 units. A short one turns each mark into a speech balloon with a tail, and
|
|
9
|
+
* the set already has one of those; the length is what makes it read as type rather than as `message`.
|
|
10
|
+
*
|
|
11
|
+
* part[0] = the left mark, part[1] = the right one.
|
|
12
|
+
*/
|
|
13
|
+
export const Quote = {
|
|
14
|
+
id: 'xeno.quote',
|
|
15
|
+
kind: 'icon',
|
|
16
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
17
|
+
geometry: {
|
|
18
|
+
base: [
|
|
19
|
+
{ kind: 'path', d: 'M5 14V9.6A1.6 1.6 0 0 1 6.6 8h2.8A1.6 1.6 0 0 1 11 9.6v2.8A1.6 1.6 0 0 1 9.4 14H7.6l-2.4 4' },
|
|
20
|
+
{ kind: 'path', d: 'M13 14V9.6A1.6 1.6 0 0 1 14.6 8h2.8A1.6 1.6 0 0 1 19 9.6v2.8A1.6 1.6 0 0 1 17.4 14h-1.8l-2.4 4' },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
bindings: [],
|
|
24
|
+
a11y: { role: 'img', label: 'Quote' },
|
|
25
|
+
meta: { tags: ['quote', 'cite', 'excerpt'], since: '0.2.0' },
|
|
26
|
+
};
|
|
27
|
+
export default Quote;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.refresh` — Refresh. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Refresh: ElementDeclaration;
|
|
7
|
+
export default Refresh;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.refresh` — Refresh. A degenerate element (pure geometry, no children).
|
|
3
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
4
|
+
*/
|
|
5
|
+
export const Refresh = {
|
|
6
|
+
id: 'xeno.refresh',
|
|
7
|
+
kind: 'icon',
|
|
8
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
9
|
+
geometry: {
|
|
10
|
+
base: [
|
|
11
|
+
{ kind: 'path', d: 'M8 5.5H16.5A1.5 1.5 0 0 1 18 7V9' },
|
|
12
|
+
{ kind: 'path', d: 'M10.5 3 8 5.5 10.5 8' },
|
|
13
|
+
{ kind: 'path', d: 'M16 18.5H7.5A1.5 1.5 0 0 1 6 17V15' },
|
|
14
|
+
{ kind: 'path', d: 'M13.5 16 16 18.5 13.5 21' },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
bindings: [],
|
|
18
|
+
a11y: { role: 'img', label: 'Refresh' },
|
|
19
|
+
meta: { tags: ['reload', 'sync', 'retry'], since: '0.1.0' },
|
|
20
|
+
};
|
|
21
|
+
export default Refresh;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.save` - Save. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A disk: the shell with its cut corner, the shutter at the top and the label below. The cut corner is
|
|
6
|
+
* not decoration - it is the only part of the silhouette separating this from `file` and from a plain
|
|
7
|
+
* rounded square. Without it the glyph is a box with two boxes in it.
|
|
8
|
+
*
|
|
9
|
+
* part[0] = shell, part[1] = shutter, part[2] = label.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Save: ElementDeclaration;
|
|
12
|
+
export default Save;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.save` - Save. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A disk: the shell with its cut corner, the shutter at the top and the label below. The cut corner is
|
|
5
|
+
* not decoration - it is the only part of the silhouette separating this from `file` and from a plain
|
|
6
|
+
* rounded square. Without it the glyph is a box with two boxes in it.
|
|
7
|
+
*
|
|
8
|
+
* part[0] = shell, part[1] = shutter, part[2] = label.
|
|
9
|
+
*/
|
|
10
|
+
export const Save = {
|
|
11
|
+
id: 'xeno.save',
|
|
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.4 5.8A1.4 1.4 0 0 1 5.8 4.4h9.6L19.6 8.6v9.6a1.4 1.4 0 0 1-1.4 1.4H5.8a1.4 1.4 0 0 1-1.4-1.4z' },
|
|
17
|
+
{ kind: 'path', d: 'M8 4.4v4.4h6.4V4.4' },
|
|
18
|
+
{ kind: 'rect', x: 7.6, y: 12.4, w: 8.8, h: 7.2, rx: 1 },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
bindings: [],
|
|
22
|
+
a11y: { role: 'img', label: 'Save' },
|
|
23
|
+
meta: { tags: ['save', 'disk', 'store'], since: '0.2.0' },
|
|
24
|
+
};
|
|
25
|
+
export default Save;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.scan-eye` - Inspect. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* `maximize`'s four corner brackets with `eye`'s lens between them, both at their own coordinates. It is
|
|
6
|
+
* the clearest case in the set for composing rather than drawing: the brackets already mean "a frame
|
|
7
|
+
* being placed over something" and the lens already means "looking", so the compound says what it says
|
|
8
|
+
* without a single new shape being invented for it.
|
|
9
|
+
*
|
|
10
|
+
* The lens is scaled to fit inside the brackets - it has to be smaller than the frame it sits in, which
|
|
11
|
+
* is the only thing about it that is new.
|
|
12
|
+
*
|
|
13
|
+
* part[0..3] = the corners, part[4] = the lens, part[5] = the pupil.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ScanEye: ElementDeclaration;
|
|
16
|
+
export default ScanEye;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.scan-eye` - Inspect. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* `maximize`'s four corner brackets with `eye`'s lens between them, both at their own coordinates. It is
|
|
5
|
+
* the clearest case in the set for composing rather than drawing: the brackets already mean "a frame
|
|
6
|
+
* being placed over something" and the lens already means "looking", so the compound says what it says
|
|
7
|
+
* without a single new shape being invented for it.
|
|
8
|
+
*
|
|
9
|
+
* The lens is scaled to fit inside the brackets - it has to be smaller than the frame it sits in, which
|
|
10
|
+
* is the only thing about it that is new.
|
|
11
|
+
*
|
|
12
|
+
* part[0..3] = the corners, part[4] = the lens, part[5] = the pupil.
|
|
13
|
+
*/
|
|
14
|
+
export const ScanEye = {
|
|
15
|
+
id: 'xeno.scan-eye',
|
|
16
|
+
kind: 'icon',
|
|
17
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
18
|
+
geometry: {
|
|
19
|
+
base: [
|
|
20
|
+
{ kind: 'path', d: 'M9.5 4.5H6A1.5 1.5 0 0 0 4.5 6v3.5' },
|
|
21
|
+
{ kind: 'path', d: 'M14.5 4.5H18A1.5 1.5 0 0 1 19.5 6v3.5' },
|
|
22
|
+
{ kind: 'path', d: 'M19.5 14.5V18A1.5 1.5 0 0 1 18 19.5h-3.5' },
|
|
23
|
+
{ kind: 'path', d: 'M4.5 14.5V18A1.5 1.5 0 0 0 6 19.5h3.5' },
|
|
24
|
+
{ kind: 'path', d: 'M5.8 12 8.4 9.4h7.2L18.2 12 15.6 14.6H8.4Z' },
|
|
25
|
+
{ kind: 'rect', x: 10.2, y: 10.2, w: 3.6, h: 3.6, rx: 0.8, fill: 'foreground' },
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
bindings: [],
|
|
29
|
+
a11y: { role: 'img', label: 'Inspect' },
|
|
30
|
+
meta: { tags: ['scan', 'inspect', 'detect', 'watch'], since: '0.2.0' },
|
|
31
|
+
};
|
|
32
|
+
export default ScanEye;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.search` — Search. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Search: ElementDeclaration;
|
|
7
|
+
export default Search;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.search` — Search. A degenerate element (pure geometry, no children).
|
|
3
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
4
|
+
*/
|
|
5
|
+
export const Search = {
|
|
6
|
+
id: 'xeno.search',
|
|
7
|
+
kind: 'icon',
|
|
8
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
9
|
+
geometry: {
|
|
10
|
+
base: [
|
|
11
|
+
{ kind: 'path', d: 'M6.123 2.001H12.306C13.399 2.001 14.448 2.435 15.221 3.208 15.994 3.982 16.428 5.03 16.428 6.123V12.306C16.429 12.618 16.395 12.93 16.325 13.234 16.147 13.756 16.202 14.161 16.49 14.45L21.571 19.53C21.841 19.801 21.993 20.168 21.993 20.551 21.993 20.933 21.841 21.3 21.571 21.571 21.3 21.841 20.933 21.993 20.55 21.993 20.168 21.993 19.801 21.841 19.53 21.571L14.45 16.49C14.161 16.202 13.756 16.147 13.234 16.325 12.929 16.395 12.618 16.429 12.306 16.429H6.123C5.03 16.429 3.981 15.994 3.208 15.221 2.435 14.448 2.001 13.4 2.001 12.306V6.123C2.001 5.03 2.435 3.982 3.208 3.208 3.981 2.435 5.03 2.001 6.123 2.001ZM6.123 4.887H12.306C12.634 4.887 12.949 5.017 13.181 5.249 13.413 5.481 13.543 5.795 13.543 6.123V12.306C13.543 12.634 13.413 12.949 13.181 13.181 12.949 13.413 12.634 13.543 12.306 13.543H6.123C5.795 13.543 5.48 13.413 5.249 13.181 5.017 12.949 4.886 12.634 4.886 12.306V6.123C4.886 5.795 5.017 5.481 5.249 5.249 5.48 5.017 5.795 4.887 6.123 4.887Z', fill: 'foreground', fillRule: 'evenodd' },
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
bindings: [],
|
|
15
|
+
a11y: { role: 'img', label: 'Search' },
|
|
16
|
+
meta: { tags: ['find', 'magnifier', 'lens'], since: '0.1.0' },
|
|
17
|
+
};
|
|
18
|
+
export default Search;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.send` — Send. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Send: ElementDeclaration;
|
|
7
|
+
export default Send;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.send` — Send. A degenerate element (pure geometry, no children).
|
|
3
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
4
|
+
*/
|
|
5
|
+
export const Send = {
|
|
6
|
+
id: 'xeno.send',
|
|
7
|
+
kind: 'icon',
|
|
8
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
9
|
+
geometry: {
|
|
10
|
+
base: [
|
|
11
|
+
{ kind: 'path', d: 'M20 4L3.6 11.3a.5.5 0 0 0 .04.93l6.4 2.1 2.1 6.4a.5.5 0 0 0 .93.04z' },
|
|
12
|
+
{ kind: 'path', d: 'M20 4l-9.9 10' },
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
bindings: [],
|
|
16
|
+
a11y: { role: 'img', label: 'Send' },
|
|
17
|
+
meta: { tags: ['submit', 'paper-plane'], since: '0.1.0' },
|
|
18
|
+
};
|
|
19
|
+
export default Send;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.shapes` - Shapes. A degenerate element (pure geometry, no children).
|
|
4
|
+
*
|
|
5
|
+
* A triangle and a rounded square, overlapping. Which two shapes is not arbitrary: the square is this
|
|
6
|
+
* grammar's whole vocabulary and the triangle is the one thing it never uses, so together they say
|
|
7
|
+
* "shapes in general" rather than "these two shapes".
|
|
8
|
+
*
|
|
9
|
+
* The square is drawn SECOND, so at the overlap it sits over the triangle and one object clearly passes
|
|
10
|
+
* in front of the other. Two outlines crossing with no order would read as a single compound cell.
|
|
11
|
+
*
|
|
12
|
+
* part[0] = triangle, part[1] = square.
|
|
13
|
+
*/
|
|
14
|
+
export declare const Shapes: ElementDeclaration;
|
|
15
|
+
export default Shapes;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.shapes` - Shapes. A degenerate element (pure geometry, no children).
|
|
3
|
+
*
|
|
4
|
+
* A triangle and a rounded square, overlapping. Which two shapes is not arbitrary: the square is this
|
|
5
|
+
* grammar's whole vocabulary and the triangle is the one thing it never uses, so together they say
|
|
6
|
+
* "shapes in general" rather than "these two shapes".
|
|
7
|
+
*
|
|
8
|
+
* The square is drawn SECOND, so at the overlap it sits over the triangle and one object clearly passes
|
|
9
|
+
* in front of the other. Two outlines crossing with no order would read as a single compound cell.
|
|
10
|
+
*
|
|
11
|
+
* part[0] = triangle, part[1] = square.
|
|
12
|
+
*/
|
|
13
|
+
export const Shapes = {
|
|
14
|
+
id: 'xeno.shapes',
|
|
15
|
+
kind: 'icon',
|
|
16
|
+
contract: { viewBox: '0 0 24 24', weight: 'regular', strokeFamily: 'xeno-regular', axes: [], signals: [] },
|
|
17
|
+
geometry: {
|
|
18
|
+
base: [
|
|
19
|
+
{ kind: 'path', d: 'M9.4 3.6 15.6 13.4H3.2z' },
|
|
20
|
+
{ kind: 'rect', x: 11.6, y: 11.4, w: 9, h: 9, rx: 1.8 },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
bindings: [],
|
|
24
|
+
a11y: { role: 'img', label: 'Shapes' },
|
|
25
|
+
meta: { tags: ['shapes', 'artifact', 'objects'], since: '0.2.0' },
|
|
26
|
+
};
|
|
27
|
+
export default Shapes;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.share` — Share. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Share: ElementDeclaration;
|
|
7
|
+
export default Share;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `xeno.share` — Share. A degenerate element (pure geometry, no children).
|
|
3
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
4
|
+
*/
|
|
5
|
+
export const Share = {
|
|
6
|
+
id: 'xeno.share',
|
|
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: 14, y: 3.5, w: 6, h: 6, rx: 1 },
|
|
12
|
+
{ kind: 'rect', x: 14, y: 14.5, w: 6, h: 6, rx: 1 },
|
|
13
|
+
{ kind: 'rect', x: 3.5, y: 9, w: 6, h: 6, rx: 1 },
|
|
14
|
+
{ kind: 'path', d: 'M9.6 10.4l4.8-3.8M9.6 13.6l4.8 3.8' },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
bindings: [],
|
|
18
|
+
a11y: { role: 'img', label: 'Share' },
|
|
19
|
+
meta: { tags: ['nodes', 'network'], since: '0.1.0' },
|
|
20
|
+
};
|
|
21
|
+
export default Share;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDeclaration } from '../schema';
|
|
2
|
+
/**
|
|
3
|
+
* `xeno.sliders` — Sliders. A degenerate element (pure geometry, no children).
|
|
4
|
+
* Imported from the foundry workbench; the declaration is the source of truth — edit here.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Sliders: ElementDeclaration;
|
|
7
|
+
export default Sliders;
|