rift-ds 1.25.0 → 1.27.0
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 +3 -1
- package/bin/templates/app/components/rift/font.css +7 -4
- package/chat/ChatThreads.d.ts +3 -1
- package/chat/ChatThreads.js +3 -1
- package/chat/ChatWidget.css +166 -15
- package/chat/ChatWidget.d.ts +1 -1
- package/chat/ChatWidget.js +5 -2
- package/components/ActionCard/ActionCard.d.ts +1 -1
- package/components/ContextMenu/ContextMenu.css +11 -0
- package/components/ContextMenu/ContextMenu.d.ts +1 -1
- package/components/ContextMenu/ContextMenu.js +3 -1
- package/components/DataTable/DataTable.css +24 -4
- package/components/DataTable/DataTable.js +41 -40
- package/components/DropdownMenu/DropdownMenu.css +38 -0
- package/components/DropdownMenu/DropdownMenu.d.ts +4 -0
- package/components/DropdownMenu/DropdownMenu.js +11 -5
- package/components/DropdownMenu/ShortcutHint.d.ts +9 -0
- package/components/DropdownMenu/ShortcutHint.js +6 -0
- package/components/InterruptCard/InterruptCard.d.ts +1 -1
- package/components/MegaMenu/MegaMenu.css +5 -3
- package/components/MegaMenu/MegaMenu.d.ts +4 -1
- package/components/MegaMenu/MegaMenu.js +34 -20
- package/components/MessageCard/MessageCard.css +17 -6
- package/components/MessageCard/MessageCard.d.ts +1 -1
- package/components/ShaderScene/ShaderScene.css +11 -3
- package/components/ShaderScene/ShaderScene.d.ts +14 -12
- package/components/ShaderScene/ShaderScene.js +33 -10
- package/components/ShaderScene/assemble.js +2 -0
- package/components/ShaderScene/renderer.d.ts +5 -1
- package/components/ShaderScene/renderer.js +46 -1
- package/components/ShaderScene/scenes.d.ts +57 -1
- package/components/ShaderScene/scenes.js +590 -8
- package/components/ShaderScene/types.d.ts +13 -0
- package/components/ThreadPanel/ThreadPanel.css +29 -0
- package/components/ThreadPanel/ThreadPanel.d.ts +2 -0
- package/components/ThreadPanel/ThreadPanel.js +13 -2
- package/components/registry.json +1 -1
- package/components/registry.json.d.ts +1 -1
- package/components/registry.json.js +1 -1
- package/index.js +2 -1
- package/package.json +1 -1
- package/tokens/presets/contrast.css +167 -290
- package/tokens/presets/coral.css +143 -254
- package/tokens/presets/forest.css +180 -310
- package/tokens/presets/gold.css +220 -391
- package/tokens/presets/marquee.css +150 -253
- package/tokens/presets/mono.css +162 -270
- package/tokens/presets/pink.css +228 -409
- package/tokens/presets/plum.css +228 -367
- package/tokens/presets/presets.css +1 -0
- package/tokens/presets/terminal.css +170 -301
- package/tokens/presets/violet.css +214 -380
- package/tokens/presets/warm.css +166 -293
- package/tokens/presets/zest.css +191 -335
- package/tokens/tokens-dark.css +9 -0
- package/tokens/tokens-forced-colors.css +4 -1
- package/tokens/tokens-light.css +9 -0
- package/tokens/tokens-motion.css +14 -0
- package/tokens/tokens-primitives.css +9 -0
- package/tokens/tokens-typography.css +9 -0
- package/tokens/tokens.css +12 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Scene } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* The horizon, ported from /labs/horizon as a scene: a planet's limb at
|
|
4
|
-
* night with a
|
|
4
|
+
* night with a sun on the arc (at the apex by default), soft layers of light along the arc,
|
|
5
5
|
* a hazy world of land and cloud below, and deep ocean blue further down.
|
|
6
6
|
* The horizon lab's own fades and grain are passes here, so they can be switched
|
|
7
7
|
* and tuned like any other scene's.
|
|
@@ -16,5 +16,61 @@ export declare const horizon: Scene;
|
|
|
16
16
|
* the top to another at the bottom, the rift lab's own pair.
|
|
17
17
|
*/
|
|
18
18
|
export declare const rift: Scene;
|
|
19
|
+
/**
|
|
20
|
+
* The glyph field: soft light printed in type.
|
|
21
|
+
* Two layers in one pass. Six stretched Gaussian lights (a wide haze, a
|
|
22
|
+
* bloom, a white-hot core, one long thin streak and two blooms below) are
|
|
23
|
+
* added over the ground and tone-mapped, so where colours stack the core
|
|
24
|
+
* burns to white; they drift, breathe and roll on slow travelling swells.
|
|
25
|
+
* Then the screen is cut into character cells: each cell reads the light at
|
|
26
|
+
* its centre and prints a glyph from the ramp that thickens with the
|
|
27
|
+
* brightness, lighter than what is under it. Below a floor nothing prints,
|
|
28
|
+
* so the type gathers on the light and scatters to dots at its edge.
|
|
29
|
+
* Nothing snaps: the scatter eases from one roll to the next, and a cell
|
|
30
|
+
* crossing a step of the ramp dissolves between the two glyphs.
|
|
31
|
+
*/
|
|
32
|
+
export declare const glyphs: Scene;
|
|
33
|
+
/**
|
|
34
|
+
* The prism: light through a cut stone. A handful of beams leave the
|
|
35
|
+
* facets of something above the stage, and no two alike: each has its own
|
|
36
|
+
* facet to leave from, its own angle, width and strength, so the light is
|
|
37
|
+
* uneven the way a diamond's is, a few strong beams among faint ones. The
|
|
38
|
+
* beams themselves are true: each runs dead straight, opens as it travels
|
|
39
|
+
* and thins as it opens, and each colour role leaves at a slightly
|
|
40
|
+
* different angle, so a beam is white where its colours still overlap and
|
|
41
|
+
* breaks into the theme's spectrum at its edges, more the further it runs.
|
|
42
|
+
* The stone turns slowly, so beams swing a little and come and go.
|
|
43
|
+
*/
|
|
44
|
+
export declare const prism: Scene;
|
|
45
|
+
/**
|
|
46
|
+
* Meteors: a shower over a planet's edge. Stars hold a dark sky; meteors
|
|
47
|
+
* fall across it in lanes at one angle, three depths of them, each a white
|
|
48
|
+
* head with a tail that cools through the theme's colours as it thins; and
|
|
49
|
+
* a planet's limb crosses the foot of the scene, lit to a crescent by a sun
|
|
50
|
+
* that flares where it clears the edge. The limb hides what falls behind it.
|
|
51
|
+
* It is soft by default: the streaks, the crescent and the flare are all
|
|
52
|
+
* blurred, and the sky between them is left all but black.
|
|
53
|
+
*/
|
|
54
|
+
export declare const meteors: Scene;
|
|
55
|
+
/**
|
|
56
|
+
* Waves: a sea drawn in points, seen from above it. A plane of dots runs off
|
|
57
|
+
* into the dark and rolls in slow swells, each dot a round point that grows and brightens on a
|
|
58
|
+
* crest and all but goes out in a trough, over a glow that lies in the
|
|
59
|
+
* water under them. The surface is found by marching the eye's ray through
|
|
60
|
+
* the slab the swells can occupy, in steps too short to pass through a
|
|
61
|
+
* crest, so a near crest hides the trough behind it and nothing flickers; each dot is then drawn round on the screen from its own place on the
|
|
62
|
+
* surface. Far off, where the dots would be finer than a pixel, they melt
|
|
63
|
+
* into the glow rather than shimmer.
|
|
64
|
+
*/
|
|
65
|
+
export declare const waves: Scene;
|
|
66
|
+
/**
|
|
67
|
+
* The aurora: silk in colour, the one scene with no dark in its middle.
|
|
68
|
+
* A plane is folded over itself by slow sine warps, each fold feeding the
|
|
69
|
+
* next, and the folded plane picks the theme's tones in wide soft ribbons:
|
|
70
|
+
* a base tone, three more laid through it, a pale bloom where two ribbons
|
|
71
|
+
* cross, and a void, one deep pool the ground shows through, which is what
|
|
72
|
+
* gives the colour its depth. Nothing in it has an edge.
|
|
73
|
+
*/
|
|
74
|
+
export declare const aurora: Scene;
|
|
19
75
|
/** Every scene, in picker order. */
|
|
20
76
|
export declare const SCENES: Scene[];
|