@lincyaw/aegis-ui 0.3.0 → 0.6.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/README.md +82 -5
- package/dist/agent/AgentProvider.d.ts +4 -0
- package/dist/agent/AskOverlay.d.ts +0 -1
- package/dist/agent/AskPanel.d.ts +0 -1
- package/dist/agent/agentContext.d.ts +6 -2
- package/dist/agent/agentmChannelClient.d.ts +1 -0
- package/dist/agent/runtime.d.ts +6 -1
- package/dist/agent/usePrimitiveSurface.d.ts +30 -0
- package/dist/commands/CommandProvider.d.ts +3 -3
- package/dist/commands/commandContext.d.ts +2 -2
- package/dist/components/ui/AgentPanel.d.ts +3 -10
- package/dist/components/ui/Alert.d.ts +14 -0
- package/dist/components/ui/AmbientBackground.d.ts +23 -0
- package/dist/components/ui/AuthLayout.d.ts +1 -1
- package/dist/components/ui/Avatar.d.ts +14 -14
- package/dist/components/ui/BlastRadiusBar.d.ts +6 -13
- package/dist/components/ui/Breadcrumb.d.ts +4 -14
- package/dist/components/ui/BucketCard.d.ts +1 -1
- package/dist/components/ui/Button.d.ts +26 -4
- package/dist/components/ui/Carousel.d.ts +28 -0
- package/dist/components/ui/ChatComposer.d.ts +1 -1
- package/dist/components/ui/ChatMessage.d.ts +7 -14
- package/dist/components/ui/ChatMessageList.d.ts +3 -10
- package/dist/components/ui/ChatSessionList.d.ts +0 -1
- package/dist/components/ui/CheckGrid.d.ts +47 -0
- package/dist/components/ui/Checkbox.d.ts +14 -0
- package/dist/components/ui/Chip.d.ts +17 -14
- package/dist/components/ui/CodeBlock.d.ts +11 -15
- package/dist/components/ui/CodeEditor.d.ts +6 -13
- package/dist/components/ui/Collapse.d.ts +16 -0
- package/dist/components/ui/ColumnLayout.d.ts +16 -0
- package/dist/components/ui/CommandInvocationCard.d.ts +7 -14
- package/dist/components/ui/CommandPalette.d.ts +0 -1
- package/dist/components/ui/ContentInspectorContent.d.ts +14 -0
- package/dist/components/ui/ContentInspectorDialog.d.ts +15 -0
- package/dist/components/ui/ControlListItem.d.ts +4 -2
- package/dist/components/ui/DangerZone.d.ts +1 -1
- package/dist/components/ui/DataList.d.ts +3 -11
- package/dist/components/ui/DataTable.d.ts +86 -10
- package/dist/components/ui/Dialog.d.ts +21 -0
- package/dist/components/ui/DiffViewer.d.ts +6 -13
- package/dist/components/ui/DropdownMenu.d.ts +6 -2
- package/dist/components/ui/EmptyState.d.ts +1 -1
- package/dist/components/ui/EnvironmentSwitcher.d.ts +0 -1
- package/dist/components/ui/ErrorState.d.ts +8 -2
- package/dist/components/ui/EventTable.d.ts +0 -1
- package/dist/components/ui/FileDropzone.d.ts +1 -1
- package/dist/components/ui/FilePreview.d.ts +8 -15
- package/dist/components/ui/FileTree.d.ts +27 -0
- package/dist/components/ui/FolderDropzone.d.ts +0 -1
- package/dist/components/ui/ForgotPasswordForm.d.ts +1 -1
- package/dist/components/ui/FormRow.d.ts +1 -1
- package/dist/components/ui/IdentityCell.d.ts +25 -0
- package/dist/components/ui/InboxPage.d.ts +3 -10
- package/dist/components/ui/KeyValueList.d.ts +3 -10
- package/dist/components/ui/LoginForm.d.ts +1 -1
- package/dist/components/ui/Markdown.d.ts +9 -3
- package/dist/components/ui/MdxDocument.d.ts +17 -0
- package/dist/components/ui/MetadataList.d.ts +0 -1
- package/dist/components/ui/MetricCard.d.ts +7 -14
- package/dist/components/ui/MetricLabel.d.ts +2 -1
- package/dist/components/ui/MonoValue.d.ts +6 -11
- package/dist/components/ui/NotificationBell.d.ts +1 -1
- package/dist/components/ui/ObjectBrowser.d.ts +1 -1
- package/dist/components/ui/ObjectInspector.d.ts +0 -1
- package/dist/components/ui/PageHeader.d.ts +8 -3
- package/dist/components/ui/PageSizeSelect.d.ts +9 -2
- package/dist/components/ui/Pagination.d.ts +13 -0
- package/dist/components/ui/Panel.d.ts +35 -14
- package/dist/components/ui/PanelTitle.d.ts +3 -3
- package/dist/components/ui/ParetoChart.d.ts +41 -0
- package/dist/components/ui/ParquetViewer.d.ts +8 -15
- package/dist/components/ui/PasswordField.d.ts +1 -1
- package/dist/components/ui/PickerField.d.ts +17 -0
- package/dist/components/ui/ProjectSelector.d.ts +8 -2
- package/dist/components/ui/QueryAutocomplete.d.ts +0 -1
- package/dist/components/ui/RankBar.d.ts +25 -0
- package/dist/components/ui/RegisterForm.d.ts +1 -1
- package/dist/components/ui/ResizableSidePanel.d.ts +17 -2
- package/dist/components/ui/Reveal.d.ts +17 -0
- package/dist/components/ui/RunPips.d.ts +25 -0
- package/dist/components/ui/SavedQueryBar.d.ts +0 -1
- package/dist/components/ui/ScoreBar.d.ts +21 -0
- package/dist/components/ui/SearchInput.d.ts +6 -2
- package/dist/components/ui/SectionDivider.d.ts +1 -1
- package/dist/components/ui/Select.d.ts +25 -0
- package/dist/components/ui/SessionRunView.d.ts +50 -0
- package/dist/components/ui/SettingsSection.d.ts +1 -1
- package/dist/components/ui/ShareLinkDialog.d.ts +22 -6
- package/dist/components/ui/SparkLine.d.ts +3 -10
- package/dist/components/ui/StackedBar.d.ts +47 -0
- package/dist/components/ui/StatBlock.d.ts +15 -16
- package/dist/components/ui/StatusDot.d.ts +2 -2
- package/dist/components/ui/TableOfContents.d.ts +20 -0
- package/dist/components/ui/Tabs.d.ts +12 -2
- package/dist/components/ui/Terminal.d.ts +3 -10
- package/dist/components/ui/TextField.d.ts +1 -1
- package/dist/components/ui/TimeDisplay.d.ts +3 -3
- package/dist/components/ui/TimeRangePicker.d.ts +0 -1
- package/dist/components/ui/Timeline.d.ts +23 -15
- package/dist/components/ui/ToolCallCard.d.ts +3 -10
- package/dist/components/ui/Toolbar.d.ts +0 -1
- package/dist/components/ui/TraceSpanInspector.d.ts +15 -0
- package/dist/components/ui/TraceTree.d.ts +16 -14
- package/dist/components/ui/TrajectoryStep.d.ts +16 -10
- package/dist/components/ui/TrajectoryTimeline.d.ts +5 -11
- package/dist/components/ui/UploadQueue.d.ts +1 -1
- package/dist/components/ui/codeFence.d.ts +5 -0
- package/dist/components/ui/index.d.ts +51 -5
- package/dist/components/ui/linkComponent.d.ts +12 -0
- package/dist/components/ui/mdxTableOfContents.d.ts +13 -0
- package/dist/components/ui/relativeTime.d.ts +1 -1
- package/dist/components/ui/tablistKeyboard.d.ts +6 -0
- package/dist/components/ui/traceFormat.d.ts +5 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/useCopyToClipboard.d.ts +8 -0
- package/dist/hooks/useElementWidth.d.ts +3 -0
- package/dist/hooks/useMediaQuery.d.ts +2 -0
- package/dist/hooks/useMenuPopover.d.ts +27 -0
- package/dist/hooks/usePageHidden.d.ts +2 -0
- package/dist/hooks/useResizable.d.ts +9 -0
- package/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -5
- package/dist/index.js +12123 -123
- package/dist/index.js.map +1 -1
- package/dist/layouts/shell/AegisShell.d.ts +1 -1
- package/dist/layouts/shell/AuthRequiredCard.d.ts +2 -2
- package/dist/layouts/shell/TopHeader.d.ts +9 -1
- package/dist/layouts/shell/paths.d.ts +11 -0
- package/dist/layouts/shell/types.d.ts +40 -13
- package/dist/lib/format.d.ts +2 -0
- package/dist/lib/id.d.ts +2 -0
- package/dist/lib/luceneQuery/lucene.d.ts +63 -0
- package/dist/lib/storage.d.ts +12 -0
- package/dist/locale/LocaleProvider.d.ts +9 -0
- package/dist/locale/index.d.ts +4 -0
- package/dist/locale/localeContext.d.ts +2 -0
- package/dist/locale/strings.d.ts +110 -0
- package/dist/locale/useStrings.d.ts +2 -0
- package/dist/mdx-modules.d.ts +22 -0
- package/dist/style.css +1 -1
- package/dist/theme/antdTheme.d.ts +2 -3
- package/dist/vite.cjs +2 -0
- package/dist/vite.cjs.map +1 -0
- package/dist/vite.d.ts +7 -0
- package/dist/vite.js +18 -0
- package/dist/vite.js.map +1 -0
- package/package.json +43 -18
- package/dist/index-6WZzHI2Z.cjs +0 -1151
- package/dist/index-6WZzHI2Z.cjs.map +0 -1
- package/dist/index-CZ_qegBG.js +0 -6736
- package/dist/index-CZ_qegBG.js.map +0 -1
- package/dist/index-DLXAAlfH.cjs +0 -15
- package/dist/index-DLXAAlfH.cjs.map +0 -1
- package/dist/index-DtgBxtmy.js +0 -56284
- package/dist/index-DtgBxtmy.js.map +0 -1
- package/dist/styles/fonts.d.ts +0 -0
- package/dist/workerBundle-D52AeOj1.js +0 -76
- package/dist/workerBundle-D52AeOj1.js.map +0 -1
- package/dist/workerBundle-FGNDqtbW.cjs +0 -73
- package/dist/workerBundle-FGNDqtbW.cjs.map +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ThemeConfig } from 'antd';
|
|
2
|
-
|
|
2
|
+
import { ThemeMode } from './themeContext';
|
|
3
3
|
/**
|
|
4
4
|
* Returns the antd ThemeConfig for the given scheme. Pair with `useTheme().resolved`.
|
|
5
5
|
*/
|
|
6
|
-
export declare function getAegisTheme(scheme:
|
|
6
|
+
export declare function getAegisTheme(scheme: ThemeMode): ThemeConfig;
|
|
7
7
|
/** Light palette — back-compat export. Prefer `getAegisTheme(resolved)`. */
|
|
8
8
|
export declare const aegisTheme: ThemeConfig;
|
|
9
|
-
export default aegisTheme;
|
package/dist/vite.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@mdx-js/rollup"),r=require("@stefanprobst/rehype-extract-toc"),t=require("@stefanprobst/rehype-extract-toc/mdx"),o=require("rehype-slug"),i=require("remark-gfm");function n(){return{enforce:"pre",...e({remarkPlugins:[i],rehypePlugins:[o,r,t]})}}exports.aegisMdx=n;
|
|
2
|
+
//# sourceMappingURL=vite.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.cjs","sources":["../src/vite.ts"],"sourcesContent":["import mdx from '@mdx-js/rollup';\nimport rehypeExtractToc from '@stefanprobst/rehype-extract-toc';\nimport rehypeExportToc from '@stefanprobst/rehype-extract-toc/mdx';\nimport rehypeSlug from 'rehype-slug';\nimport remarkGfm from 'remark-gfm';\nimport type { Plugin } from 'vite';\n\n/**\n * Compiles `.mdx` documents for `MdxDocument`: GitHub-flavoured Markdown, an\n * id on every heading, and the headings exported as `tableOfContents`. List it\n * before `@vitejs/plugin-react`, whose `include` must take `.mdx` too.\n */\nexport function aegisMdx(): Plugin {\n return {\n enforce: 'pre',\n ...mdx({\n remarkPlugins: [remarkGfm],\n rehypePlugins: [rehypeSlug, rehypeExtractToc, rehypeExportToc],\n }),\n };\n}\n"],"names":["aegisMdx","mdx","remarkGfm","rehypeSlug","rehypeExtractToc","rehypeExportToc"],"mappings":"mQAYO,SAASA,GAAmB,CACjC,MAAO,CACL,QAAS,MACT,GAAGC,EAAI,CACL,cAAe,CAACC,CAAS,EACzB,cAAe,CAACC,EAAYC,EAAkBC,CAAe,CAAA,CAC9D,CAAA,CAEL"}
|
package/dist/vite.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Plugin } from 'vite';
|
|
2
|
+
/**
|
|
3
|
+
* Compiles `.mdx` documents for `MdxDocument`: GitHub-flavoured Markdown, an
|
|
4
|
+
* id on every heading, and the headings exported as `tableOfContents`. List it
|
|
5
|
+
* before `@vitejs/plugin-react`, whose `include` must take `.mdx` too.
|
|
6
|
+
*/
|
|
7
|
+
export declare function aegisMdx(): Plugin;
|
package/dist/vite.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import r from "@mdx-js/rollup";
|
|
2
|
+
import e from "@stefanprobst/rehype-extract-toc";
|
|
3
|
+
import o from "@stefanprobst/rehype-extract-toc/mdx";
|
|
4
|
+
import m from "rehype-slug";
|
|
5
|
+
import p from "remark-gfm";
|
|
6
|
+
function u() {
|
|
7
|
+
return {
|
|
8
|
+
enforce: "pre",
|
|
9
|
+
...r({
|
|
10
|
+
remarkPlugins: [p],
|
|
11
|
+
rehypePlugins: [m, e, o]
|
|
12
|
+
})
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
u as aegisMdx
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=vite.js.map
|
package/dist/vite.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.js","sources":["../src/vite.ts"],"sourcesContent":["import mdx from '@mdx-js/rollup';\nimport rehypeExtractToc from '@stefanprobst/rehype-extract-toc';\nimport rehypeExportToc from '@stefanprobst/rehype-extract-toc/mdx';\nimport rehypeSlug from 'rehype-slug';\nimport remarkGfm from 'remark-gfm';\nimport type { Plugin } from 'vite';\n\n/**\n * Compiles `.mdx` documents for `MdxDocument`: GitHub-flavoured Markdown, an\n * id on every heading, and the headings exported as `tableOfContents`. List it\n * before `@vitejs/plugin-react`, whose `include` must take `.mdx` too.\n */\nexport function aegisMdx(): Plugin {\n return {\n enforce: 'pre',\n ...mdx({\n remarkPlugins: [remarkGfm],\n rehypePlugins: [rehypeSlug, rehypeExtractToc, rehypeExportToc],\n }),\n };\n}\n"],"names":["aegisMdx","mdx","remarkGfm","rehypeSlug","rehypeExtractToc","rehypeExportToc"],"mappings":";;;;;AAYO,SAASA,IAAmB;AACjC,SAAO;AAAA,IACL,SAAS;AAAA,IACT,GAAGC,EAAI;AAAA,MACL,eAAe,CAACC,CAAS;AAAA,MACzB,eAAe,CAACC,GAAYC,GAAkBC,CAAe;AAAA,IAAA,CAC9D;AAAA,EAAA;AAEL;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincyaw/aegis-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "AegisLab shared design system: tokens, primitives, layout, AntD theme.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/Lincyaw/aegis-ui.git",
|
|
8
|
+
"directory": "packages/ui"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/Lincyaw/aegis-ui#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/Lincyaw/aegis-ui/issues"
|
|
13
|
+
},
|
|
5
14
|
"type": "module",
|
|
6
15
|
"files": [
|
|
7
16
|
"dist"
|
|
@@ -15,18 +24,39 @@
|
|
|
15
24
|
"import": "./dist/index.js",
|
|
16
25
|
"require": "./dist/index.cjs"
|
|
17
26
|
},
|
|
27
|
+
"./vite": {
|
|
28
|
+
"types": "./dist/vite.d.ts",
|
|
29
|
+
"import": "./dist/vite.js"
|
|
30
|
+
},
|
|
31
|
+
"./mdx-modules": {
|
|
32
|
+
"types": "./dist/mdx-modules.d.ts"
|
|
33
|
+
},
|
|
18
34
|
"./style.css": "./dist/style.css"
|
|
19
35
|
},
|
|
20
36
|
"sideEffects": [
|
|
21
37
|
"**/*.css",
|
|
22
38
|
"./dist/style.css"
|
|
23
39
|
],
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "node scripts/emit-mcp-tools.mjs && tsc -p tsconfig.build.json --noEmit && vite build",
|
|
42
|
+
"gen:mcp-tools": "node scripts/emit-mcp-tools.mjs",
|
|
43
|
+
"type-check": "tsc --noEmit",
|
|
44
|
+
"lint": "eslint src --ext ts,tsx --max-warnings 0",
|
|
45
|
+
"lint:fix": "eslint src --ext ts,tsx --fix",
|
|
46
|
+
"lint:css": "stylelint \"src/**/*.css\""
|
|
47
|
+
},
|
|
24
48
|
"peerDependencies": {
|
|
25
49
|
"@ant-design/icons": "^5.0.0",
|
|
26
|
-
"antd": "^5.
|
|
50
|
+
"antd": "^5.25.0",
|
|
27
51
|
"react": "^18.0.0",
|
|
28
52
|
"react-dom": "^18.0.0",
|
|
29
|
-
"react-router-dom": "^6.0.0"
|
|
53
|
+
"react-router-dom": "^6.0.0",
|
|
54
|
+
"vite": ">=5"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"vite": {
|
|
58
|
+
"optional": true
|
|
59
|
+
}
|
|
30
60
|
},
|
|
31
61
|
"dependencies": {
|
|
32
62
|
"@codemirror/autocomplete": "^6.20.2",
|
|
@@ -36,22 +66,25 @@
|
|
|
36
66
|
"@codemirror/state": "^6.6.0",
|
|
37
67
|
"@codemirror/view": "^6.42.1",
|
|
38
68
|
"@dagrejs/dagre": "^3.0.0",
|
|
39
|
-
"@fontsource-variable/geist": "^5.2.8",
|
|
40
|
-
"@fontsource-variable/inter": "^5.2.8",
|
|
41
|
-
"@fontsource-variable/jetbrains-mono": "^5.2.8",
|
|
42
69
|
"@hyperdx/lucene": "^3.1.1",
|
|
70
|
+
"@mdx-js/rollup": "^3.1.1",
|
|
71
|
+
"@stefanprobst/rehype-extract-toc": "^3.0.0",
|
|
43
72
|
"@tanstack/react-table": "^8.20.5",
|
|
44
73
|
"@tanstack/react-virtual": "^3.10.8",
|
|
74
|
+
"@types/mdx": "^2.0.14",
|
|
45
75
|
"@uiw/react-codemirror": "^4.25.9",
|
|
46
76
|
"@xyflow/react": "^12.10.2",
|
|
47
77
|
"chrono-node": "^2.7.7",
|
|
78
|
+
"copy-to-clipboard": "^3.3.3",
|
|
48
79
|
"fuse.js": "^7.3.0",
|
|
49
80
|
"hyparquet": "^1.25.8",
|
|
50
81
|
"hyparquet-compressors": "^1.1.1",
|
|
51
82
|
"ms": "^2.1.3",
|
|
52
83
|
"react-diff-viewer-continued": "^4.2.2",
|
|
53
84
|
"react-dropzone": "^15.0.0",
|
|
54
|
-
"react-markdown": "^10.1.0"
|
|
85
|
+
"react-markdown": "^10.1.0",
|
|
86
|
+
"rehype-slug": "^6.0.0",
|
|
87
|
+
"remark-gfm": "^4.0.1"
|
|
55
88
|
},
|
|
56
89
|
"devDependencies": {
|
|
57
90
|
"@ant-design/icons": "^5.3.0",
|
|
@@ -59,7 +92,7 @@
|
|
|
59
92
|
"@types/react": "^18.3.0",
|
|
60
93
|
"@types/react-dom": "^18.3.0",
|
|
61
94
|
"@vitejs/plugin-react": "^4.2.1",
|
|
62
|
-
"antd": "^5.
|
|
95
|
+
"antd": "^5.25.0",
|
|
63
96
|
"react": "^18.3.1",
|
|
64
97
|
"react-dom": "^18.3.1",
|
|
65
98
|
"react-router-dom": "^6.22.0",
|
|
@@ -77,13 +110,5 @@
|
|
|
77
110
|
"react",
|
|
78
111
|
"antd",
|
|
79
112
|
"ui"
|
|
80
|
-
]
|
|
81
|
-
|
|
82
|
-
"build": "node scripts/emit-mcp-tools.mjs && tsc -p tsconfig.build.json && vite build",
|
|
83
|
-
"gen:mcp-tools": "node scripts/emit-mcp-tools.mjs",
|
|
84
|
-
"type-check": "tsc --noEmit",
|
|
85
|
-
"lint": "eslint src --ext ts,tsx --max-warnings 0",
|
|
86
|
-
"lint:fix": "eslint src --ext ts,tsx --fix",
|
|
87
|
-
"lint:css": "stylelint \"src/**/*.css\""
|
|
88
|
-
}
|
|
89
|
-
}
|
|
113
|
+
]
|
|
114
|
+
}
|