@rise-x/apps-sdk 0.19.0 → 0.20.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.
@@ -38,12 +38,16 @@
38
38
  * AiShimmer blanks its text to act as a value placeholder — here the words
39
39
  * have to stay readable while they glow. Built from the design system's own
40
40
  * --ai-grad / --ai-text tokens rather than new colours. */
41
+ /* The gradient repeats, so each loop moves it exactly one tile. A
42
+ * background-position percentage is of (box width - image width), so on a
43
+ * 300% background the 150% change below moves 3 box widths: one tile. A
44
+ * longer move jumped at the seam and flashed a band on the first letters. */
41
45
  @keyframes aiTextSweep {
42
46
  from {
43
- background-position: 180% 0;
47
+ background-position: 100% 0;
44
48
  }
45
49
  to {
46
- background-position: -80% 0;
50
+ background-position: -50% 0;
47
51
  }
48
52
  }
49
53
 
@@ -59,12 +63,12 @@
59
63
  background-image: linear-gradient(
60
64
  90deg,
61
65
  var(--shimmer-base) 0%,
62
- var(--shimmer-base) 34%,
66
+ var(--shimmer-base) 38%,
63
67
  var(--shimmer-peak) 50%,
64
- var(--shimmer-base) 66%,
68
+ var(--shimmer-base) 62%,
65
69
  var(--shimmer-base) 100%
66
70
  );
67
- background-size: 220% 100%;
71
+ background-size: 300% 100%;
68
72
  background-clip: text;
69
73
  -webkit-background-clip: text;
70
74
  color: transparent;
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@rise-x/apps-sdk/live",
3
+ "description": "Legacy-resolution stub for the live subpath. See parent package.json `exports` for the canonical wiring.",
4
+ "main": "../build/live/index.js",
5
+ "module": "../build/live/index.js",
6
+ "types": "../build/live/index.d.ts",
7
+ "private": true
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rise-x/apps-sdk",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "SDK for building federated apps on top of the Rise-X Diana shell. Includes a CLI for scaffolding new apps.",
5
5
  "author": {
6
6
  "name": "Rise-X",
@@ -42,6 +42,10 @@
42
42
  "types": "./build/query/index.d.ts",
43
43
  "default": "./build/query/index.js"
44
44
  },
45
+ "./live": {
46
+ "types": "./build/live/index.d.ts",
47
+ "default": "./build/live/index.js"
48
+ },
45
49
  "./ui": {
46
50
  "types": "./build/ui/index.d.ts",
47
51
  "default": "./build/ui/index.js"
@@ -60,10 +64,12 @@
60
64
  "./package.json": "./package.json"
61
65
  },
62
66
  "files": [
67
+ "API.md",
63
68
  "build",
64
69
  "shell",
65
70
  "connectors",
66
71
  "dependencies",
72
+ "live",
67
73
  "query",
68
74
  "rsbuild",
69
75
  "template",
@@ -10,6 +10,12 @@ any change; update it in the same change whenever what the app does — or how
10
10
  a journey works — changes.** If it's missing, create it before substantial
11
11
  work.
12
12
 
13
+ ## SDK API: read it before writing app code
14
+
15
+ `node_modules/@rise-x/apps-sdk/API.md` lists the SDK's calls and the work item
16
+ rules for the installed version. Read it first; open the type files only for
17
+ what it leaves out.
18
+
13
19
  ## Architecture — a federated app inside Rise
14
20
 
15
21
  This is not a standalone SPA. It's a Module Federation remote loaded by the