@fluid-app/portal-core 0.1.16
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/dist/chunk-CKQMccvm.cjs +28 -0
- package/dist/data-sources/DataAwareWidget.cjs +50 -0
- package/dist/data-sources/DataAwareWidget.cjs.map +1 -0
- package/dist/data-sources/DataAwareWidget.d.cts +24 -0
- package/dist/data-sources/DataAwareWidget.d.cts.map +1 -0
- package/dist/data-sources/DataAwareWidget.d.mts +24 -0
- package/dist/data-sources/DataAwareWidget.d.mts.map +1 -0
- package/dist/data-sources/DataAwareWidget.mjs +48 -0
- package/dist/data-sources/DataAwareWidget.mjs.map +1 -0
- package/dist/data-sources/ErrorState.cjs +20 -0
- package/dist/data-sources/ErrorState.cjs.map +1 -0
- package/dist/data-sources/ErrorState.d.cts +7 -0
- package/dist/data-sources/ErrorState.d.cts.map +1 -0
- package/dist/data-sources/ErrorState.d.mts +7 -0
- package/dist/data-sources/ErrorState.d.mts.map +1 -0
- package/dist/data-sources/ErrorState.mjs +18 -0
- package/dist/data-sources/ErrorState.mjs.map +1 -0
- package/dist/data-sources/context.cjs +24 -0
- package/dist/data-sources/context.cjs.map +1 -0
- package/dist/data-sources/context.d.cts +21 -0
- package/dist/data-sources/context.d.cts.map +1 -0
- package/dist/data-sources/context.d.mts +21 -0
- package/dist/data-sources/context.d.mts.map +1 -0
- package/dist/data-sources/context.mjs +21 -0
- package/dist/data-sources/context.mjs.map +1 -0
- package/dist/data-sources/fetchers/api.cjs +65 -0
- package/dist/data-sources/fetchers/api.cjs.map +1 -0
- package/dist/data-sources/fetchers/api.d.cts +10 -0
- package/dist/data-sources/fetchers/api.d.cts.map +1 -0
- package/dist/data-sources/fetchers/api.d.mts +10 -0
- package/dist/data-sources/fetchers/api.d.mts.map +1 -0
- package/dist/data-sources/fetchers/api.mjs +64 -0
- package/dist/data-sources/fetchers/api.mjs.map +1 -0
- package/dist/data-sources/fetchers/custom.cjs +108 -0
- package/dist/data-sources/fetchers/custom.cjs.map +1 -0
- package/dist/data-sources/fetchers/custom.d.cts +17 -0
- package/dist/data-sources/fetchers/custom.d.cts.map +1 -0
- package/dist/data-sources/fetchers/custom.d.mts +17 -0
- package/dist/data-sources/fetchers/custom.d.mts.map +1 -0
- package/dist/data-sources/fetchers/custom.mjs +107 -0
- package/dist/data-sources/fetchers/custom.mjs.map +1 -0
- package/dist/data-sources/fetchers/static.cjs +161 -0
- package/dist/data-sources/fetchers/static.cjs.map +1 -0
- package/dist/data-sources/fetchers/static.d.cts +40 -0
- package/dist/data-sources/fetchers/static.d.cts.map +1 -0
- package/dist/data-sources/fetchers/static.d.mts +40 -0
- package/dist/data-sources/fetchers/static.d.mts.map +1 -0
- package/dist/data-sources/fetchers/static.mjs +158 -0
- package/dist/data-sources/fetchers/static.mjs.map +1 -0
- package/dist/data-sources/preview-context.cjs +21 -0
- package/dist/data-sources/preview-context.cjs.map +1 -0
- package/dist/data-sources/preview-context.d.cts +13 -0
- package/dist/data-sources/preview-context.d.cts.map +1 -0
- package/dist/data-sources/preview-context.d.mts +13 -0
- package/dist/data-sources/preview-context.d.mts.map +1 -0
- package/dist/data-sources/preview-context.mjs +18 -0
- package/dist/data-sources/preview-context.mjs.map +1 -0
- package/dist/data-sources/registry-context.cjs +53 -0
- package/dist/data-sources/registry-context.cjs.map +1 -0
- package/dist/data-sources/registry-context.d.cts +48 -0
- package/dist/data-sources/registry-context.d.cts.map +1 -0
- package/dist/data-sources/registry-context.d.mts +48 -0
- package/dist/data-sources/registry-context.d.mts.map +1 -0
- package/dist/data-sources/registry-context.mjs +49 -0
- package/dist/data-sources/registry-context.mjs.map +1 -0
- package/dist/data-sources/registry.cjs +31 -0
- package/dist/data-sources/registry.cjs.map +1 -0
- package/dist/data-sources/registry.d.cts +19 -0
- package/dist/data-sources/registry.d.cts.map +1 -0
- package/dist/data-sources/registry.d.mts +19 -0
- package/dist/data-sources/registry.d.mts.map +1 -0
- package/dist/data-sources/registry.mjs +29 -0
- package/dist/data-sources/registry.mjs.map +1 -0
- package/dist/data-sources/transformers.cjs +154 -0
- package/dist/data-sources/transformers.cjs.map +1 -0
- package/dist/data-sources/transformers.d.cts +10 -0
- package/dist/data-sources/transformers.d.cts.map +1 -0
- package/dist/data-sources/transformers.d.mts +10 -0
- package/dist/data-sources/transformers.d.mts.map +1 -0
- package/dist/data-sources/transformers.mjs +153 -0
- package/dist/data-sources/transformers.mjs.map +1 -0
- package/dist/data-sources/types.cjs +0 -0
- package/dist/data-sources/types.d.cts +2 -0
- package/dist/data-sources/types.d.mts +2 -0
- package/dist/data-sources/types.mjs +1 -0
- package/dist/data-sources/use-widget-data.cjs +111 -0
- package/dist/data-sources/use-widget-data.cjs.map +1 -0
- package/dist/data-sources/use-widget-data.d.cts +17 -0
- package/dist/data-sources/use-widget-data.d.cts.map +1 -0
- package/dist/data-sources/use-widget-data.d.mts +17 -0
- package/dist/data-sources/use-widget-data.d.mts.map +1 -0
- package/dist/data-sources/use-widget-data.mjs +109 -0
- package/dist/data-sources/use-widget-data.mjs.map +1 -0
- package/dist/index-B5cTNde-.d.cts +246 -0
- package/dist/index-B5cTNde-.d.cts.map +1 -0
- package/dist/index-Cqt2JzkQ.d.mts +246 -0
- package/dist/index-Cqt2JzkQ.d.mts.map +1 -0
- package/dist/registries/index.cjs +243 -0
- package/dist/registries/index.cjs.map +1 -0
- package/dist/registries/index.d.cts +338 -0
- package/dist/registries/index.d.cts.map +1 -0
- package/dist/registries/index.d.mts +338 -0
- package/dist/registries/index.d.mts.map +1 -0
- package/dist/registries/index.mjs +229 -0
- package/dist/registries/index.mjs.map +1 -0
- package/dist/shell/AppShellLayout.cjs +49 -0
- package/dist/shell/AppShellLayout.cjs.map +1 -0
- package/dist/shell/AppShellLayout.d.cts +39 -0
- package/dist/shell/AppShellLayout.d.cts.map +1 -0
- package/dist/shell/AppShellLayout.d.mts +39 -0
- package/dist/shell/AppShellLayout.d.mts.map +1 -0
- package/dist/shell/AppShellLayout.mjs +46 -0
- package/dist/shell/AppShellLayout.mjs.map +1 -0
- package/dist/shell/ScreenHeader.cjs +44 -0
- package/dist/shell/ScreenHeader.cjs.map +1 -0
- package/dist/shell/ScreenHeader.d.cts +12 -0
- package/dist/shell/ScreenHeader.d.cts.map +1 -0
- package/dist/shell/ScreenHeader.d.mts +12 -0
- package/dist/shell/ScreenHeader.d.mts.map +1 -0
- package/dist/shell/ScreenHeader.mjs +42 -0
- package/dist/shell/ScreenHeader.mjs.map +1 -0
- package/dist/shell/ScreenHeaderContext.cjs +91 -0
- package/dist/shell/ScreenHeaderContext.cjs.map +1 -0
- package/dist/shell/ScreenHeaderContext.d.cts +35 -0
- package/dist/shell/ScreenHeaderContext.d.cts.map +1 -0
- package/dist/shell/ScreenHeaderContext.d.mts +35 -0
- package/dist/shell/ScreenHeaderContext.d.mts.map +1 -0
- package/dist/shell/ScreenHeaderContext.mjs +86 -0
- package/dist/shell/ScreenHeaderContext.mjs.map +1 -0
- package/dist/shell/ThemeModeContext.cjs +70 -0
- package/dist/shell/ThemeModeContext.cjs.map +1 -0
- package/dist/shell/ThemeModeContext.d.cts +33 -0
- package/dist/shell/ThemeModeContext.d.cts.map +1 -0
- package/dist/shell/ThemeModeContext.d.mts +33 -0
- package/dist/shell/ThemeModeContext.d.mts.map +1 -0
- package/dist/shell/ThemeModeContext.mjs +66 -0
- package/dist/shell/ThemeModeContext.mjs.map +1 -0
- package/dist/shell/index.cjs +43 -0
- package/dist/shell/index.d.cts +7 -0
- package/dist/shell/index.d.mts +7 -0
- package/dist/shell/index.mjs +7 -0
- package/dist/shell/sidebar.cjs +390 -0
- package/dist/shell/sidebar.cjs.map +1 -0
- package/dist/shell/sidebar.d.cts +85 -0
- package/dist/shell/sidebar.d.cts.map +1 -0
- package/dist/shell/sidebar.d.mts +85 -0
- package/dist/shell/sidebar.d.mts.map +1 -0
- package/dist/shell/sidebar.mjs +364 -0
- package/dist/shell/sidebar.mjs.map +1 -0
- package/dist/shell/use-mobile.cjs +51 -0
- package/dist/shell/use-mobile.cjs.map +1 -0
- package/dist/shell/use-mobile.d.cts +7 -0
- package/dist/shell/use-mobile.d.cts.map +1 -0
- package/dist/shell/use-mobile.d.mts +7 -0
- package/dist/shell/use-mobile.d.mts.map +1 -0
- package/dist/shell/use-mobile.mjs +47 -0
- package/dist/shell/use-mobile.mjs.map +1 -0
- package/dist/theme/index.cjs +758 -0
- package/dist/theme/index.cjs.map +1 -0
- package/dist/theme/index.d.cts +131 -0
- package/dist/theme/index.d.cts.map +1 -0
- package/dist/theme/index.d.mts +131 -0
- package/dist/theme/index.d.mts.map +1 -0
- package/dist/theme/index.mjs +728 -0
- package/dist/theme/index.mjs.map +1 -0
- package/dist/types/index.cjs +18 -0
- package/dist/types/index.d.cts +4 -0
- package/dist/types/index.d.mts +4 -0
- package/dist/types/index.mjs +2 -0
- package/dist/types-27AHMek-.d.cts +85 -0
- package/dist/types-27AHMek-.d.cts.map +1 -0
- package/dist/types-BXFX9bXp.cjs +303 -0
- package/dist/types-BXFX9bXp.cjs.map +1 -0
- package/dist/types-Bjmd7Fdx.mjs +208 -0
- package/dist/types-Bjmd7Fdx.mjs.map +1 -0
- package/dist/types-C5Zs5V3E.d.mts +155 -0
- package/dist/types-C5Zs5V3E.d.mts.map +1 -0
- package/dist/types-CeCPKvOv.d.mts +85 -0
- package/dist/types-CeCPKvOv.d.mts.map +1 -0
- package/dist/types-DrzvahW8.d.cts +155 -0
- package/dist/types-DrzvahW8.d.cts.map +1 -0
- package/dist/widget-schema-BKZgsNG7.d.mts +119 -0
- package/dist/widget-schema-BKZgsNG7.d.mts.map +1 -0
- package/dist/widget-schema-BSX2fVhW.d.cts +119 -0
- package/dist/widget-schema-BSX2fVhW.d.cts.map +1 -0
- package/dist/widget-utils/index.cjs +130 -0
- package/dist/widget-utils/index.cjs.map +1 -0
- package/dist/widget-utils/index.d.cts +47 -0
- package/dist/widget-utils/index.d.cts.map +1 -0
- package/dist/widget-utils/index.d.mts +47 -0
- package/dist/widget-utils/index.d.mts.map +1 -0
- package/dist/widget-utils/index.mjs +119 -0
- package/dist/widget-utils/index.mjs.map +1 -0
- package/package.json +200 -0
- package/src/styles/globals.css +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fluid-app/portal-core",
|
|
3
|
+
"version": "0.1.16",
|
|
4
|
+
"description": "Core types, theme engine, and widget utilities for the Fluid portal platform",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist",
|
|
7
|
+
"src/styles"
|
|
8
|
+
],
|
|
9
|
+
"type": "module",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"exports": {
|
|
12
|
+
"./types": {
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"default": "./dist/types/index.js"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/types/index.d.cts",
|
|
19
|
+
"default": "./dist/types/index.cjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"./widget-utils": {
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/widget-utils/index.d.ts",
|
|
25
|
+
"default": "./dist/widget-utils/index.js"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/widget-utils/index.d.cts",
|
|
29
|
+
"default": "./dist/widget-utils/index.cjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"./data-sources/types": {
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/data-sources/types.d.ts",
|
|
35
|
+
"default": "./dist/data-sources/types.js"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/data-sources/types.d.cts",
|
|
39
|
+
"default": "./dist/data-sources/types.cjs"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"./data-sources/context": {
|
|
43
|
+
"import": {
|
|
44
|
+
"types": "./dist/data-sources/context.d.ts",
|
|
45
|
+
"default": "./dist/data-sources/context.js"
|
|
46
|
+
},
|
|
47
|
+
"require": {
|
|
48
|
+
"types": "./dist/data-sources/context.d.cts",
|
|
49
|
+
"default": "./dist/data-sources/context.cjs"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"./data-sources/preview-context": {
|
|
53
|
+
"import": {
|
|
54
|
+
"types": "./dist/data-sources/preview-context.d.ts",
|
|
55
|
+
"default": "./dist/data-sources/preview-context.js"
|
|
56
|
+
},
|
|
57
|
+
"require": {
|
|
58
|
+
"types": "./dist/data-sources/preview-context.d.cts",
|
|
59
|
+
"default": "./dist/data-sources/preview-context.cjs"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"./registries": {
|
|
63
|
+
"import": {
|
|
64
|
+
"types": "./dist/registries/index.d.ts",
|
|
65
|
+
"default": "./dist/registries/index.js"
|
|
66
|
+
},
|
|
67
|
+
"require": {
|
|
68
|
+
"types": "./dist/registries/index.d.cts",
|
|
69
|
+
"default": "./dist/registries/index.cjs"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"./theme": {
|
|
73
|
+
"import": {
|
|
74
|
+
"types": "./dist/theme/index.d.ts",
|
|
75
|
+
"default": "./dist/theme/index.js"
|
|
76
|
+
},
|
|
77
|
+
"require": {
|
|
78
|
+
"types": "./dist/theme/index.d.cts",
|
|
79
|
+
"default": "./dist/theme/index.cjs"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"./shell": {
|
|
83
|
+
"import": {
|
|
84
|
+
"types": "./dist/shell/index.d.ts",
|
|
85
|
+
"default": "./dist/shell/index.js"
|
|
86
|
+
},
|
|
87
|
+
"require": {
|
|
88
|
+
"types": "./dist/shell/index.d.cts",
|
|
89
|
+
"default": "./dist/shell/index.cjs"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"./shell/sidebar": {
|
|
93
|
+
"import": {
|
|
94
|
+
"types": "./dist/shell/sidebar.d.ts",
|
|
95
|
+
"default": "./dist/shell/sidebar.js"
|
|
96
|
+
},
|
|
97
|
+
"require": {
|
|
98
|
+
"types": "./dist/shell/sidebar.d.cts",
|
|
99
|
+
"default": "./dist/shell/sidebar.cjs"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"./shell/ThemeModeContext": {
|
|
103
|
+
"import": {
|
|
104
|
+
"types": "./dist/shell/ThemeModeContext.d.ts",
|
|
105
|
+
"default": "./dist/shell/ThemeModeContext.js"
|
|
106
|
+
},
|
|
107
|
+
"require": {
|
|
108
|
+
"types": "./dist/shell/ThemeModeContext.d.cts",
|
|
109
|
+
"default": "./dist/shell/ThemeModeContext.cjs"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"./shell/use-mobile": {
|
|
113
|
+
"import": {
|
|
114
|
+
"types": "./dist/shell/use-mobile.d.ts",
|
|
115
|
+
"default": "./dist/shell/use-mobile.js"
|
|
116
|
+
},
|
|
117
|
+
"require": {
|
|
118
|
+
"types": "./dist/shell/use-mobile.d.cts",
|
|
119
|
+
"default": "./dist/shell/use-mobile.cjs"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"./shell/AppShellLayout": {
|
|
123
|
+
"import": {
|
|
124
|
+
"types": "./dist/shell/AppShellLayout.d.ts",
|
|
125
|
+
"default": "./dist/shell/AppShellLayout.js"
|
|
126
|
+
},
|
|
127
|
+
"require": {
|
|
128
|
+
"types": "./dist/shell/AppShellLayout.d.cts",
|
|
129
|
+
"default": "./dist/shell/AppShellLayout.cjs"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"./shell/ScreenHeader": {
|
|
133
|
+
"import": {
|
|
134
|
+
"types": "./dist/shell/ScreenHeader.d.ts",
|
|
135
|
+
"default": "./dist/shell/ScreenHeader.js"
|
|
136
|
+
},
|
|
137
|
+
"require": {
|
|
138
|
+
"types": "./dist/shell/ScreenHeader.d.cts",
|
|
139
|
+
"default": "./dist/shell/ScreenHeader.cjs"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"./shell/ScreenHeaderContext": {
|
|
143
|
+
"import": {
|
|
144
|
+
"types": "./dist/shell/ScreenHeaderContext.d.ts",
|
|
145
|
+
"default": "./dist/shell/ScreenHeaderContext.js"
|
|
146
|
+
},
|
|
147
|
+
"require": {
|
|
148
|
+
"types": "./dist/shell/ScreenHeaderContext.d.cts",
|
|
149
|
+
"default": "./dist/shell/ScreenHeaderContext.cjs"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"publishConfig": {
|
|
154
|
+
"access": "public"
|
|
155
|
+
},
|
|
156
|
+
"dependencies": {
|
|
157
|
+
"@radix-ui/react-slot": "^1.1.2",
|
|
158
|
+
"class-variance-authority": "^0.7.1",
|
|
159
|
+
"clsx": "^2.1.1",
|
|
160
|
+
"colorjs.io": "^0.5.2",
|
|
161
|
+
"tailwind-merge": "^3.0.2",
|
|
162
|
+
"@fluid-app/fluidos-api-client": "0.1.0"
|
|
163
|
+
},
|
|
164
|
+
"devDependencies": {
|
|
165
|
+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
166
|
+
"@fortawesome/pro-regular-svg-icons": "^6.7.2",
|
|
167
|
+
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
168
|
+
"@tanstack/react-query": "^5.90.11",
|
|
169
|
+
"@types/react": "^19.2.13",
|
|
170
|
+
"react": "^19.2.4",
|
|
171
|
+
"tsdown": "^0.21.0",
|
|
172
|
+
"typescript": "^5",
|
|
173
|
+
"@fluid-app/typescript-config": "0.0.0"
|
|
174
|
+
},
|
|
175
|
+
"peerDependencies": {
|
|
176
|
+
"@fortawesome/fontawesome-svg-core": ">=6.0.0",
|
|
177
|
+
"@fortawesome/pro-regular-svg-icons": ">=6.0.0",
|
|
178
|
+
"@fortawesome/react-fontawesome": ">=0.2.0",
|
|
179
|
+
"@tanstack/react-query": ">=5.0.0",
|
|
180
|
+
"react": ">=18.0.0"
|
|
181
|
+
},
|
|
182
|
+
"peerDependenciesMeta": {
|
|
183
|
+
"react": {
|
|
184
|
+
"optional": true
|
|
185
|
+
},
|
|
186
|
+
"@tanstack/react-query": {
|
|
187
|
+
"optional": true
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"scripts": {
|
|
191
|
+
"build": "tsdown",
|
|
192
|
+
"dev": "tsdown --watch",
|
|
193
|
+
"lint": "oxlint",
|
|
194
|
+
"lint:fix": "oxlint --fix",
|
|
195
|
+
"typecheck": "tsgo --noEmit"
|
|
196
|
+
},
|
|
197
|
+
"main": "./dist/types/index.cjs",
|
|
198
|
+
"module": "./dist/types/index.js",
|
|
199
|
+
"types": "./dist/types/index.d.ts"
|
|
200
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@source "../**/*.{ts,tsx}";
|