@rise-x/apps-sdk 0.16.4 → 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 +299 -10
- package/build/accessors.d.ts +2 -1
- package/build/accessors.js +10 -0
- package/build/breadcrumb.d.ts +49 -0
- package/build/breadcrumb.js +58 -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 +3 -1
- package/build/index.js +7 -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/classes.json +42 -42
- package/build/ui/components/ai.d.ts +68 -4
- package/build/ui/components/alert-dialog.d.ts +4 -4
- package/build/ui/components/app-frame.d.ts +47 -7
- package/build/ui/components/asset-pill.d.ts +8 -0
- package/build/ui/components/badge.d.ts +35 -2
- package/build/ui/components/button.d.ts +4 -4
- package/build/ui/components/calendar.d.ts +2 -2
- package/build/ui/components/chat-input.d.ts +4 -4
- package/build/ui/components/data-table.d.ts +128 -13
- package/build/ui/components/data-view.d.ts +94 -0
- package/build/ui/components/date-picker.d.ts +23 -1
- package/build/ui/components/file-upload.d.ts +9 -1
- package/build/ui/components/filter-bar.d.ts +89 -0
- package/build/ui/components/floating-panel.d.ts +53 -0
- package/build/ui/components/item.d.ts +1 -1
- package/build/ui/components/journey.d.ts +165 -0
- package/build/ui/components/nav.d.ts +52 -2
- package/build/ui/components/page-header.d.ts +8 -8
- package/build/ui/components/person.d.ts +14 -0
- package/build/ui/components/record-summary.d.ts +17 -0
- package/build/ui/components/search-dialog.d.ts +56 -0
- package/build/ui/components/statistic.d.ts +2 -1
- package/build/ui/components/table.d.ts +10 -3
- package/build/ui/components/toggle.d.ts +1 -1
- package/build/ui/demo.html +45923 -25459
- package/build/ui/index.d.ts +8 -0
- package/build/ui/standalone.js +984 -69
- package/build/ui/styles.css +1 -1
- package/build/ui/theme.css +11 -6
- package/live/package.json +8 -0
- package/package.json +10 -2
- package/template/AGENTS.md +6 -0
- package/template/src/App.tsx +4 -1
package/build/ui/theme.css
CHANGED
|
@@ -34,16 +34,20 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* Shimmering TEXT for Diana's live activity — the label of AiActivity. Its
|
|
37
|
-
* two neighbours cover neither case: AiWorking is a
|
|
37
|
+
* two neighbours cover neither case: AiWorking is a quiet grey chip, and
|
|
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;
|
|
@@ -237,6 +241,7 @@
|
|
|
237
241
|
--color-brand: var(--brand);
|
|
238
242
|
--color-brand-text: var(--brand-text);
|
|
239
243
|
--color-brand-tint: var(--brand-tint);
|
|
244
|
+
--color-brand-foreground: var(--brand-foreground);
|
|
240
245
|
|
|
241
246
|
/* ---- semantic status. Separate from brand on purpose: a purple-branded
|
|
242
247
|
* ecosystem must still get a green success state. ---- */
|
|
@@ -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",
|
|
@@ -115,6 +121,7 @@
|
|
|
115
121
|
"@tailwindcss/postcss": "^4.3.3",
|
|
116
122
|
"@tanstack/react-table": "^8.21.3",
|
|
117
123
|
"@types/leaflet": "^1.9.12",
|
|
124
|
+
"border-beam": "^1.4.1",
|
|
118
125
|
"class-variance-authority": "^0.7.1",
|
|
119
126
|
"clsx": "^2.1.1",
|
|
120
127
|
"cmdk": "^1.1.1",
|
|
@@ -126,7 +133,8 @@
|
|
|
126
133
|
"react-resizable-panels": "^4.12.2",
|
|
127
134
|
"recharts": "^3.8.0",
|
|
128
135
|
"sonner": "^2.0.7",
|
|
129
|
-
"tailwindcss": "^4.3.3"
|
|
136
|
+
"tailwindcss": "^4.3.3",
|
|
137
|
+
"thinking-orbs": "^0.3.2"
|
|
130
138
|
},
|
|
131
139
|
"devDependencies": {
|
|
132
140
|
"@fontsource-variable/inter": "^5.3.0",
|
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
|
package/template/src/App.tsx
CHANGED
|
@@ -85,7 +85,10 @@ function Shell() {
|
|
|
85
85
|
// region.
|
|
86
86
|
<AppFrame mobileNav="tabs">
|
|
87
87
|
{/* Left rail: a borderless list on the page background — NOT a Card. */}
|
|
88
|
-
|
|
88
|
+
{/* storageKey: the rail's width and collapsed state are remembered per
|
|
89
|
+
key, and every app runs on the host's origin — so each app names
|
|
90
|
+
its own, or collapsing the rail in one collapses it in all. */}
|
|
91
|
+
<AppRail storageKey="__APP_SLUG__">
|
|
89
92
|
<Nav>
|
|
90
93
|
<NavItem
|
|
91
94
|
current={screen === "home"}
|