@mostrom/app-shell 0.1.2 → 0.1.4
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/README.md +51 -49
- package/bun.lock +4 -62
- package/package.json +2 -8
- package/src/AppShell.tsx +4 -6
- package/src/components/data-table/index.ts +1 -1
- package/src/components/global-header/CategoriesButton.tsx +0 -1
- package/src/components/global-header/ServicesMenu.tsx +1 -1
- package/src/components/layout/AppBreadcrumb.tsx +0 -1
- package/src/components/layout/AppLayout.tsx +1 -1
- package/src/components/layout/AppNavigation.tsx +2 -2
- package/src/components/layout/AppSidebar.tsx +2 -3
- package/src/components/patterns/p-navigation-menu-2.tsx +69 -0
- package/src/components/patterns/p-navigation-menu-4.tsx +130 -0
- package/src/components/reui/filters.tsx +1 -8
- package/src/components/reui/index.ts +0 -1
- package/src/components/sectioned-list-table/README.md +1 -1
- package/src/components/ui/actions-dropdown.tsx +0 -1
- package/src/components/ui/badge.tsx +1 -1
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/field.tsx +1 -1
- package/src/components/ui/index.ts +2 -0
- package/src/components/ui/label.tsx +1 -1
- package/src/components/ui/select.tsx +1 -3
- package/src/components/ui/separator.tsx +3 -1
- package/src/components/ui/simple-input.tsx +114 -0
- package/src/components/ui/simple-select.tsx +310 -0
- package/src/index.ts +1 -1
- package/src/styles.css +16 -821
- package/src/vite.js +34 -1
- package/.claude/ralph-loop.local.md +0 -9
package/src/vite.js
CHANGED
|
@@ -101,6 +101,40 @@ function ssrCssStubPlugin() {
|
|
|
101
101
|
* });
|
|
102
102
|
*/
|
|
103
103
|
export function getSharedViteConfig(appDir) {
|
|
104
|
+
const installedAppShellSrc = path.resolve(appDir, "node_modules/@platform/app-shell/src");
|
|
105
|
+
const resolvedAppShellSrc = fs.existsSync(installedAppShellSrc) ? installedAppShellSrc : APP_SHELL_SRC_DIR;
|
|
106
|
+
|
|
107
|
+
// NPM-first shared config: keep only essential aliases/SSR handling.
|
|
108
|
+
return {
|
|
109
|
+
plugins: [ssrCssStubPlugin()],
|
|
110
|
+
resolve: {
|
|
111
|
+
preserveSymlinks: true,
|
|
112
|
+
alias: [
|
|
113
|
+
{
|
|
114
|
+
find: /^@\/(.*)$/,
|
|
115
|
+
replacement: `${resolvedAppShellSrc}/$1`,
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
dedupe: ["react", "react-dom"],
|
|
119
|
+
},
|
|
120
|
+
ssr: {
|
|
121
|
+
external: [
|
|
122
|
+
/^react(\/.*)?$/,
|
|
123
|
+
/^react-dom(\/.*)?$/,
|
|
124
|
+
/^katex\/dist\/.*\.css$/,
|
|
125
|
+
],
|
|
126
|
+
noExternal: [
|
|
127
|
+
/^@platform\/app-shell/,
|
|
128
|
+
/^@platform\/service-catalog/,
|
|
129
|
+
/^@copilotkit\//,
|
|
130
|
+
/^@copilotkitnext\//,
|
|
131
|
+
/^streamdown/,
|
|
132
|
+
/^rehype-katex/,
|
|
133
|
+
/^katex$/,
|
|
134
|
+
],
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
|
|
104
138
|
const monorepoRoot = getMonorepoRoot(appDir);
|
|
105
139
|
const appNodeModules = path.resolve(appDir, "node_modules");
|
|
106
140
|
const appShellSrc = APP_SHELL_SRC_DIR;
|
|
@@ -206,7 +240,6 @@ export function getSharedViteConfig(appDir) {
|
|
|
206
240
|
/^katex\/dist\/.*\.css$/,
|
|
207
241
|
],
|
|
208
242
|
noExternal: [
|
|
209
|
-
/^@cloudscape-design\//,
|
|
210
243
|
/^@radix-ui\//,
|
|
211
244
|
/^@base-ui\//,
|
|
212
245
|
/^radix-ui/,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
active: true
|
|
3
|
-
iteration: 1
|
|
4
|
-
max_iterations: 0
|
|
5
|
-
completion_promise: null
|
|
6
|
-
started_at: "2026-02-13T12:51:42Z"
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
Without diverging from the drawer requirements in @docs/prompts/todo/drawer-fields.md ensure the drawer layout wise and style wise mimics this exact image docs/prompts/todo/Screenshot 2026-02-12 at 18.19.47.png and use playwright to take screenshots and do a comparison until the layouts match 100%
|