@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.
- package/API.md +141 -0
- package/README.md +176 -9
- package/build/accessors.d.ts +2 -1
- package/build/accessors.js +10 -0
- package/build/connectors/types.d.ts +8 -0
- package/build/connectors/types.js +36 -4
- package/build/connectors/work.js +30 -1
- package/build/index.d.ts +2 -1
- package/build/index.js +4 -1
- package/build/live/index.d.ts +43 -0
- package/build/live/index.js +183 -0
- package/build/liveChannel.d.ts +32 -0
- package/build/liveChannel.js +60 -0
- package/build/mockShell.d.ts +2 -0
- package/build/mockShell.js +1 -0
- package/build/query/index.d.ts +1 -0
- package/build/query/index.js +4 -2
- package/build/query/live.d.ts +14 -0
- package/build/query/live.js +115 -0
- package/build/shell/index.d.ts +2 -1
- package/build/shell/installShellBridge.d.ts +15 -1
- package/build/shell/installShellBridge.js +7 -1
- package/build/shell/liveHub.d.ts +25 -0
- package/build/shell/liveHub.js +201 -0
- package/build/shellBridge.d.ts +116 -1
- package/build/shellBridge.js +5 -1
- package/build/ui/demo.html +181 -179
- package/build/ui/standalone.js +60 -60
- package/build/ui/styles.css +1 -1
- package/build/ui/theme.css +9 -5
- package/live/package.json +8 -0
- package/package.json +7 -1
- package/template/AGENTS.md +6 -0
package/build/ui/theme.css
CHANGED
|
@@ -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:
|
|
47
|
+
background-position: 100% 0;
|
|
44
48
|
}
|
|
45
49
|
to {
|
|
46
|
-
background-position: -
|
|
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)
|
|
66
|
+
var(--shimmer-base) 38%,
|
|
63
67
|
var(--shimmer-peak) 50%,
|
|
64
|
-
var(--shimmer-base)
|
|
68
|
+
var(--shimmer-base) 62%,
|
|
65
69
|
var(--shimmer-base) 100%
|
|
66
70
|
);
|
|
67
|
-
background-size:
|
|
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.
|
|
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",
|
package/template/AGENTS.md
CHANGED
|
@@ -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
|