rift-ds 1.24.0 → 1.26.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.
Files changed (117) hide show
  1. package/README.md +5 -4
  2. package/chat/ChatThreads.d.ts +3 -1
  3. package/chat/ChatThreads.js +3 -1
  4. package/chat/ChatWidget.css +166 -15
  5. package/chat/ChatWidget.d.ts +6 -2
  6. package/chat/ChatWidget.js +17 -3
  7. package/components/ActionCard/ActionCard.d.ts +1 -1
  8. package/components/Attachment/Attachment.css +8 -0
  9. package/components/Attachment/AttachmentViewer.js +26 -5
  10. package/components/Attachment/fileTypes.d.ts +4 -0
  11. package/components/ContextMenu/ContextMenu.css +11 -0
  12. package/components/ContextMenu/ContextMenu.d.ts +1 -1
  13. package/components/ContextMenu/ContextMenu.js +3 -1
  14. package/components/CurrencyInput/CurrencyInput.css +12 -0
  15. package/components/CurrencyInput/CurrencyInput.d.ts +51 -0
  16. package/components/CurrencyInput/CurrencyInput.js +158 -0
  17. package/components/DataTable/columnTypes.js +4 -16
  18. package/components/DatePicker/DatePicker.d.ts +2 -0
  19. package/components/DatePicker/DatePicker.js +44 -131
  20. package/components/DatePicker/MonthGrid.d.ts +56 -0
  21. package/components/DatePicker/MonthGrid.js +65 -0
  22. package/components/DatePicker/calendar.d.ts +42 -0
  23. package/components/DatePicker/calendar.js +108 -0
  24. package/components/DateRangePicker/DateRangePicker.css +92 -0
  25. package/components/DateRangePicker/DateRangePicker.d.ts +86 -0
  26. package/components/DateRangePicker/DateRangePicker.js +294 -0
  27. package/components/Deadline/Deadline.css +82 -0
  28. package/components/Deadline/Deadline.d.ts +44 -0
  29. package/components/Deadline/Deadline.js +94 -0
  30. package/components/Deadline/deadlineStatus.d.ts +15 -0
  31. package/components/Deadline/deadlineStatus.js +13 -0
  32. package/components/DescriptionList/DescriptionList.css +184 -0
  33. package/components/DescriptionList/DescriptionList.d.ts +64 -0
  34. package/components/DescriptionList/DescriptionList.js +100 -0
  35. package/components/DescriptionList/DescriptionListCopy.d.ts +18 -0
  36. package/components/DescriptionList/DescriptionListCopy.js +45 -0
  37. package/components/DocumentViewer/DocumentViewer.css +188 -0
  38. package/components/DocumentViewer/DocumentViewer.d.ts +59 -0
  39. package/components/DocumentViewer/DocumentViewer.js +185 -0
  40. package/components/DropdownMenu/DropdownMenu.css +38 -0
  41. package/components/DropdownMenu/DropdownMenu.d.ts +4 -0
  42. package/components/DropdownMenu/DropdownMenu.js +11 -5
  43. package/components/DropdownMenu/ShortcutHint.d.ts +9 -0
  44. package/components/DropdownMenu/ShortcutHint.js +6 -0
  45. package/components/ErrorSummary/ErrorSummary.css +94 -0
  46. package/components/ErrorSummary/ErrorSummary.d.ts +34 -0
  47. package/components/ErrorSummary/ErrorSummary.js +70 -0
  48. package/components/ErrorSummary/fieldErrors.d.ts +36 -0
  49. package/components/ErrorSummary/fieldErrors.js +19 -0
  50. package/components/Field/Field.css +12 -0
  51. package/components/Field/Field.d.ts +10 -2
  52. package/components/Field/Field.js +12 -5
  53. package/components/Heading/Heading.css +129 -0
  54. package/components/Heading/Heading.d.ts +31 -0
  55. package/components/Heading/Heading.js +39 -0
  56. package/components/Input/Input.css +120 -0
  57. package/components/Input/Input.d.ts +20 -1
  58. package/components/Input/Input.js +70 -5
  59. package/components/InterruptCard/InterruptCard.d.ts +1 -1
  60. package/components/Link/Link.css +84 -0
  61. package/components/Link/Link.d.ts +43 -0
  62. package/components/Link/Link.js +74 -0
  63. package/components/List/List.css +173 -0
  64. package/components/List/List.d.ts +44 -0
  65. package/components/List/List.js +60 -0
  66. package/components/MaskedInput/MaskedInput.css +16 -0
  67. package/components/MaskedInput/MaskedInput.d.ts +57 -0
  68. package/components/MaskedInput/MaskedInput.js +142 -0
  69. package/components/MaskedInput/mask.d.ts +58 -0
  70. package/components/MaskedInput/mask.js +106 -0
  71. package/components/MessageCard/MessageCard.css +17 -6
  72. package/components/MessageCard/MessageCard.d.ts +1 -1
  73. package/components/ShaderScene/ShaderScene.css +19 -0
  74. package/components/ShaderScene/ShaderScene.d.ts +82 -0
  75. package/components/ShaderScene/ShaderScene.js +167 -0
  76. package/components/ShaderScene/assemble.d.ts +5 -0
  77. package/components/ShaderScene/assemble.js +76 -0
  78. package/components/ShaderScene/common.glsl.d.ts +6 -0
  79. package/components/ShaderScene/common.glsl.js +49 -0
  80. package/components/ShaderScene/passes.d.ts +2 -0
  81. package/components/ShaderScene/passes.js +93 -0
  82. package/components/ShaderScene/renderer.d.ts +39 -0
  83. package/components/ShaderScene/renderer.js +170 -0
  84. package/components/ShaderScene/scenes.d.ts +76 -0
  85. package/components/ShaderScene/scenes.js +752 -0
  86. package/components/ShaderScene/types.d.ts +83 -0
  87. package/components/ShaderScene/types.js +8 -0
  88. package/components/SignaturePad/SignaturePad.css +141 -0
  89. package/components/SignaturePad/SignaturePad.d.ts +68 -0
  90. package/components/SignaturePad/SignaturePad.js +287 -0
  91. package/components/SignaturePad/signature.d.ts +32 -0
  92. package/components/SignaturePad/signature.js +46 -0
  93. package/components/Text/Text.css +129 -0
  94. package/components/Text/Text.d.ts +36 -0
  95. package/components/Text/Text.js +36 -0
  96. package/components/ThreadPanel/ThreadPanel.css +29 -0
  97. package/components/ThreadPanel/ThreadPanel.d.ts +2 -0
  98. package/components/ThreadPanel/ThreadPanel.js +13 -2
  99. package/components/Widget/Widget.css +111 -0
  100. package/components/Widget/Widget.d.ts +15 -1
  101. package/components/Widget/Widget.js +63 -11
  102. package/components/Widget/WidgetDisclosure.d.ts +30 -0
  103. package/components/Widget/WidgetDisclosure.js +52 -0
  104. package/components/registry.json +111 -2
  105. package/components/registry.json.d.ts +111 -2
  106. package/components/registry.json.js +2 -2
  107. package/format/index.d.ts +15 -0
  108. package/format/index.js +17 -0
  109. package/format/money.d.ts +89 -0
  110. package/format/money.js +187 -0
  111. package/format/relative.d.ts +49 -0
  112. package/format/relative.js +50 -0
  113. package/index.d.ts +13 -0
  114. package/index.js +48 -1
  115. package/package.json +9 -2
  116. package/tokens/motion.d.ts +4 -0
  117. package/tokens/motion.js +4 -0
@@ -0,0 +1,76 @@
1
+ import { Scene } from './types';
2
+ /**
3
+ * The horizon, ported from /labs/horizon as a scene: a planet's limb at
4
+ * night with a fixed sun at the apex, soft layers of light along the arc,
5
+ * a hazy world of land and cloud below, and deep ocean blue further down.
6
+ * The horizon lab's own fades and grain are passes here, so they can be switched
7
+ * and tuned like any other scene's.
8
+ */
9
+ export declare const horizon: Scene;
10
+ /**
11
+ * The rift, after /labs/rift, as a soft shader rather than streaming type:
12
+ * a glowing vertical tear in the page that opens widest at its middle and
13
+ * narrows to a seam at either end, a bright core inside a wide glow and a
14
+ * faint haze, and streaks of light drawn in toward it from both sides. The
15
+ * tear's line wanders slowly, and the colour runs from one ambient tone at
16
+ * the top to another at the bottom, the rift lab's own pair.
17
+ */
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;
75
+ /** Every scene, in picker order. */
76
+ export declare const SCENES: Scene[];