@lincyaw/aegis-ui 0.5.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 +3 -2
- package/dist/components/ui/Alert.d.ts +14 -0
- package/dist/components/ui/AmbientBackground.d.ts +23 -0
- package/dist/components/ui/Avatar.d.ts +8 -1
- package/dist/components/ui/Breadcrumb.d.ts +3 -13
- package/dist/components/ui/Button.d.ts +26 -4
- package/dist/components/ui/Carousel.d.ts +28 -0
- 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 +14 -4
- package/dist/components/ui/CodeBlock.d.ts +3 -1
- package/dist/components/ui/Collapse.d.ts +16 -0
- package/dist/components/ui/ColumnLayout.d.ts +16 -0
- package/dist/components/ui/ControlListItem.d.ts +3 -1
- package/dist/components/ui/DataTable.d.ts +61 -1
- package/dist/components/ui/Dialog.d.ts +21 -0
- package/dist/components/ui/FileTree.d.ts +27 -0
- package/dist/components/ui/IdentityCell.d.ts +25 -0
- package/dist/components/ui/MdxDocument.d.ts +17 -0
- package/dist/components/ui/MetricLabel.d.ts +1 -0
- package/dist/components/ui/MonoValue.d.ts +3 -1
- package/dist/components/ui/PageHeader.d.ts +7 -2
- package/dist/components/ui/PageSizeSelect.d.ts +2 -1
- package/dist/components/ui/Pagination.d.ts +13 -0
- package/dist/components/ui/Panel.d.ts +32 -4
- package/dist/components/ui/PanelTitle.d.ts +2 -2
- package/dist/components/ui/ParetoChart.d.ts +41 -0
- package/dist/components/ui/PickerField.d.ts +17 -0
- package/dist/components/ui/RankBar.d.ts +25 -0
- package/dist/components/ui/Reveal.d.ts +17 -0
- package/dist/components/ui/RunPips.d.ts +25 -0
- package/dist/components/ui/ScoreBar.d.ts +21 -0
- package/dist/components/ui/SearchInput.d.ts +6 -1
- package/dist/components/ui/Select.d.ts +25 -0
- package/dist/components/ui/ShareLinkDialog.d.ts +21 -5
- package/dist/components/ui/StackedBar.d.ts +47 -0
- package/dist/components/ui/StatBlock.d.ts +8 -2
- package/dist/components/ui/StatusDot.d.ts +1 -1
- package/dist/components/ui/TableOfContents.d.ts +20 -0
- package/dist/components/ui/Tabs.d.ts +11 -1
- package/dist/components/ui/Timeline.d.ts +20 -5
- package/dist/components/ui/TraceSpanInspector.d.ts +4 -1
- package/dist/components/ui/TraceTree.d.ts +7 -3
- package/dist/components/ui/TrajectoryStep.d.ts +13 -0
- package/dist/components/ui/TrajectoryTimeline.d.ts +3 -1
- package/dist/components/ui/codeFence.d.ts +5 -0
- package/dist/components/ui/index.d.ts +42 -5
- package/dist/components/ui/linkComponent.d.ts +12 -0
- package/dist/components/ui/mdxTableOfContents.d.ts +13 -0
- package/dist/components/ui/tablistKeyboard.d.ts +6 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/useCopyToClipboard.d.ts +1 -1
- package/dist/hooks/useElementWidth.d.ts +3 -0
- package/dist/hooks/useMediaQuery.d.ts +2 -0
- package/dist/hooks/usePageHidden.d.ts +2 -0
- package/dist/index.cjs +9 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +6439 -4163
- package/dist/index.js.map +1 -1
- package/dist/layouts/shell/AegisShell.d.ts +1 -1
- package/dist/layouts/shell/TopHeader.d.ts +5 -1
- package/dist/layouts/shell/paths.d.ts +4 -1
- package/dist/layouts/shell/types.d.ts +19 -0
- package/dist/lib/luceneQuery/lucene.d.ts +63 -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/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 +20 -2
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,6 +1,6 @@
|
|
|
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
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,6 +24,13 @@
|
|
|
24
24
|
"import": "./dist/index.js",
|
|
25
25
|
"require": "./dist/index.cjs"
|
|
26
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
|
+
},
|
|
27
34
|
"./style.css": "./dist/style.css"
|
|
28
35
|
},
|
|
29
36
|
"sideEffects": [
|
|
@@ -43,7 +50,13 @@
|
|
|
43
50
|
"antd": "^5.25.0",
|
|
44
51
|
"react": "^18.0.0",
|
|
45
52
|
"react-dom": "^18.0.0",
|
|
46
|
-
"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
|
+
}
|
|
47
60
|
},
|
|
48
61
|
"dependencies": {
|
|
49
62
|
"@codemirror/autocomplete": "^6.20.2",
|
|
@@ -54,11 +67,15 @@
|
|
|
54
67
|
"@codemirror/view": "^6.42.1",
|
|
55
68
|
"@dagrejs/dagre": "^3.0.0",
|
|
56
69
|
"@hyperdx/lucene": "^3.1.1",
|
|
70
|
+
"@mdx-js/rollup": "^3.1.1",
|
|
71
|
+
"@stefanprobst/rehype-extract-toc": "^3.0.0",
|
|
57
72
|
"@tanstack/react-table": "^8.20.5",
|
|
58
73
|
"@tanstack/react-virtual": "^3.10.8",
|
|
74
|
+
"@types/mdx": "^2.0.14",
|
|
59
75
|
"@uiw/react-codemirror": "^4.25.9",
|
|
60
76
|
"@xyflow/react": "^12.10.2",
|
|
61
77
|
"chrono-node": "^2.7.7",
|
|
78
|
+
"copy-to-clipboard": "^3.3.3",
|
|
62
79
|
"fuse.js": "^7.3.0",
|
|
63
80
|
"hyparquet": "^1.25.8",
|
|
64
81
|
"hyparquet-compressors": "^1.1.1",
|
|
@@ -66,6 +83,7 @@
|
|
|
66
83
|
"react-diff-viewer-continued": "^4.2.2",
|
|
67
84
|
"react-dropzone": "^15.0.0",
|
|
68
85
|
"react-markdown": "^10.1.0",
|
|
86
|
+
"rehype-slug": "^6.0.0",
|
|
69
87
|
"remark-gfm": "^4.0.1"
|
|
70
88
|
},
|
|
71
89
|
"devDependencies": {
|