@apexhub/apex-ui-react-source 1.2.0 → 1.2.2
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 +18 -4
- package/bin/apex-ui-react-source.mjs +208 -24
- package/dist/files/AGENTS.md +2 -2
- package/dist/files/_assets/table-empty.url.ts +1 -1
- package/dist/files/alert/Alert.tsx +2 -2
- package/dist/files/alert/alert.css +1 -0
- package/dist/files/alert/llm.txt +3 -3
- package/dist/files/alert/tokens.txt +1 -1
- package/dist/files/apex-provider/llm.txt +3 -2
- package/dist/files/auto-complete/llm.txt +1 -1
- package/dist/files/auto-complete/tokens.txt +1 -1
- package/dist/files/avatar/Avatar.tsx +1 -1
- package/dist/files/avatar/avatar.css +12 -1
- package/dist/files/avatar/llm.txt +1 -1
- package/dist/files/avatar/tokens.txt +1 -1
- package/dist/files/breadcrumb/Breadcrumb.tsx +17 -10
- package/dist/files/breadcrumb/breadcrumb.css +20 -10
- package/dist/files/breadcrumb/interface.ts +4 -4
- package/dist/files/breadcrumb/llm.txt +8 -8
- package/dist/files/breadcrumb/tokens.txt +46 -96
- package/dist/files/breadcrumb/variants.ts +6 -0
- package/dist/files/button/Button.tsx +25 -8
- package/dist/files/button/button.css +20 -2
- package/dist/files/button/interface.ts +7 -4
- package/dist/files/button/llm.txt +16 -8
- package/dist/files/button/tokens.txt +1 -1
- package/dist/files/button/variants.ts +8 -0
- package/dist/files/card/Card.tsx +8 -1
- package/dist/files/card/card-states.stories.css +42 -0
- package/dist/files/card/card.css +6 -1
- package/dist/files/card/interface.ts +3 -0
- package/dist/files/card/llm.txt +24 -1
- package/dist/files/card/tokens.txt +3 -1
- package/dist/files/cascader/cascader-data.ts +29 -8
- package/dist/files/cascader/cascader.css +45 -11
- package/dist/files/cascader/llm.txt +25 -6
- package/dist/files/cascader/tokens.txt +15 -7
- package/dist/files/cascader/variants.ts +1 -1
- package/dist/files/checkbox/Checkbox.tsx +26 -10
- package/dist/files/checkbox/checkbox.css +64 -22
- package/dist/files/checkbox/llm.txt +24 -13
- package/dist/files/checkbox/tokens.txt +10 -2
- package/dist/files/clear/clear.css +5 -2
- package/dist/files/collapse/llm.txt +1 -1
- package/dist/files/collapse/tokens.txt +1 -1
- package/dist/files/date-picker/RangePicker.tsx +5 -5
- package/dist/files/date-picker/Trigger.tsx +5 -5
- package/dist/files/date-picker/date-picker.css +53 -23
- package/dist/files/date-picker/llm.txt +7 -3
- package/dist/files/date-picker/tokens.txt +10 -10
- package/dist/files/divider/llm.txt +1 -1
- package/dist/files/divider/tokens.txt +1 -1
- package/dist/files/drawer/drawer.css +1 -0
- package/dist/files/drawer/llm.txt +2 -2
- package/dist/files/drawer/tokens.txt +2 -2
- package/dist/files/dropdown/llm.txt +1 -1
- package/dist/files/dropdown/tokens.txt +1 -1
- package/dist/files/form/form.css +10 -0
- package/dist/files/form/llm.txt +1 -1
- package/dist/files/form/tokens.txt +3 -1
- package/dist/files/grid/llm.txt +9 -9
- package/dist/files/image/ImagePreview.tsx +7 -6
- package/dist/files/image/image.css +0 -10
- package/dist/files/image/llm.txt +2 -2
- package/dist/files/image/tokens.txt +1 -1
- package/dist/files/input/input.css +14 -14
- package/dist/files/input/llm.txt +4 -2
- package/dist/files/input/tokens.txt +4 -4
- package/dist/files/input-number/InputNumber.tsx +2 -0
- package/dist/files/input-number/input-number.css +13 -1
- package/dist/files/input-number/llm.txt +8 -3
- package/dist/files/input-number/tokens.txt +4 -4
- package/dist/files/layout/llm.txt +1 -1
- package/dist/files/layout/tokens.txt +1 -1
- package/dist/files/llms.txt +18 -11
- package/dist/files/menu/Menu.tsx +5 -1
- package/dist/files/menu/llm.txt +19 -12
- package/dist/files/menu/menu.css +41 -15
- package/dist/files/menu/menu.figma.stories.css +39 -0
- package/dist/files/menu/tokens.txt +21 -8
- package/dist/files/message/llm.txt +1 -1
- package/dist/files/message/tokens.txt +1 -1
- package/dist/files/modal/Modal.tsx +1 -2
- package/dist/files/modal/interface.ts +1 -1
- package/dist/files/modal/llm.txt +9 -9
- package/dist/files/modal/tokens.txt +1 -1
- package/dist/files/notification/llm.txt +1 -1
- package/dist/files/notification/tokens.txt +1 -1
- package/dist/files/pagination/PageButton.tsx +2 -0
- package/dist/files/pagination/Pagination.tsx +149 -170
- package/dist/files/pagination/interface.ts +2 -2
- package/dist/files/pagination/llm.txt +18 -9
- package/dist/files/pagination/pagination.css +56 -17
- package/dist/files/pagination/tokens.txt +6 -4
- package/dist/files/popover/Popover.tsx +11 -3
- package/dist/files/popover/llm.txt +3 -3
- package/dist/files/popover/popover.css +30 -18
- package/dist/files/popover/popover.stories.css +6 -0
- package/dist/files/popover/tokens.txt +4 -14
- package/dist/files/progress/llm.txt +4 -4
- package/dist/files/progress/tokens.txt +1 -1
- package/dist/files/radio/llm.txt +38 -1
- package/dist/files/radio/radio.css +51 -14
- package/dist/files/radio/tokens.txt +11 -6
- package/dist/files/rate/llm.txt +1 -1
- package/dist/files/rate/tokens.txt +1 -1
- package/dist/files/select/llm.txt +8 -7
- package/dist/files/select/select.css +30 -16
- package/dist/files/select/tokens.txt +4 -4
- package/dist/files/skeleton/llm.txt +1 -1
- package/dist/files/skeleton/tokens.txt +1 -1
- package/dist/files/spin/llm.txt +1 -1
- package/dist/files/spin/tokens.txt +1 -1
- package/dist/files/steps/llm.txt +1 -1
- package/dist/files/steps/tokens.txt +1 -1
- package/dist/files/switch/llm.txt +1 -1
- package/dist/files/switch/tokens.txt +1 -1
- package/dist/files/table/constants.ts +2 -2
- package/dist/files/table/hooks/useRowSelection.tsx +3 -3
- package/dist/files/table/interface.ts +7 -7
- package/dist/files/table/llm.txt +16 -13
- package/dist/files/table/parts/TablePagination.tsx +8 -0
- package/dist/files/table/table.css +27 -10
- package/dist/files/table/tokenScopes.ts +2 -2
- package/dist/files/table/tokens.txt +2 -2
- package/dist/files/tabs/Tabs.tsx +1 -2
- package/dist/files/tabs/llm.txt +1 -1
- package/dist/files/tabs/tabs.css +3 -3
- package/dist/files/tabs/tokens.txt +1 -1
- package/dist/files/tag/interface.ts +2 -2
- package/dist/files/tag/llm.txt +7 -8
- package/dist/files/tag/tag.css +1 -1
- package/dist/files/tag/tokens.txt +1 -2
- package/dist/files/tag/variants.ts +12 -2
- package/dist/files/theme/aliases.css +1 -1
- package/dist/files/theme/component-tokens.css +7 -7
- package/dist/files/theme/primitives.css +1 -1
- package/dist/files/tooltip/Tooltip.tsx +2 -2
- package/dist/files/tooltip/llm.txt +1 -1
- package/dist/files/tooltip/tokens.txt +1 -1
- package/dist/files/tooltip/tooltip.css +2 -3
- package/dist/files/tree/Tree.tsx +8 -38
- package/dist/files/tree/llm.txt +11 -15
- package/dist/files/tree/tokens.txt +1 -3
- package/dist/files/tree/tree-data.ts +30 -2
- package/dist/files/tree/tree.css +17 -3
- package/dist/files/tree/variants.ts +4 -2
- package/dist/files/tree-select/llm.txt +32 -22
- package/dist/files/tree-select/tokens.txt +7 -6
- package/dist/files/tree-select/tree-select-data.ts +2 -1
- package/dist/files/tree-select/tree-select.css +61 -8
- package/dist/files/typography/llm.txt +1 -1
- package/dist/files/typography/tokens.txt +1 -1
- package/dist/files/upload/llm.txt +4 -2
- package/dist/files/upload/tokens.txt +5 -1
- package/dist/files/upload/upload.css +54 -11
- package/dist/manifest.json +155 -153
- package/package.json +6 -5
- package/template/_gitignore +5 -0
- package/template/index.html +12 -0
- package/template/src/App.tsx +25 -0
- package/template/src/main.tsx +14 -0
- package/template/tsconfig.app.json +22 -0
- package/template/tsconfig.json +4 -0
- package/template/tsconfig.node.json +16 -0
- package/template/vite.config.ts +8 -0
package/README.md
CHANGED
|
@@ -12,14 +12,28 @@ change it directly.
|
|
|
12
12
|
|
|
13
13
|
## Requirements / 前提
|
|
14
14
|
|
|
15
|
-
- React 19 and React DOM 19 already installed
|
|
15
|
+
- Existing projects: React 19 and React DOM 19 already installed. New folders: use `create` below.
|
|
16
16
|
- Node.js 20.19+.
|
|
17
17
|
- Commit your work first, so you can review what `init` adds. 先提交现有改动,方便查看 `init` 新增了什么。
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Create a project / 新建项目
|
|
20
|
+
|
|
21
|
+
在只有 `AGENTS.md` 等 AI 配置、还没有 `package.json` 的文件夹里运行:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx @apexhub/apex-ui-react-source@latest create
|
|
25
|
+
npm run build
|
|
26
|
+
npm run dev
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`create` 会一次写好 Vite + React 项目、`@` 别名、组件源码、Provider 和中文亮色示例页,并安装依赖。
|
|
30
|
+
已有文件发生冲突时会停止,不会覆盖。英文用 `--locale en_US`,暗色用 `--theme dark`。
|
|
31
|
+
此命令需要发布包含 `create` 的新版源码包;旧版本没有 `create`,修改包名不会为旧版增加命令。
|
|
32
|
+
|
|
33
|
+
## Install into an existing project / 接入已有项目
|
|
20
34
|
|
|
21
35
|
```bash
|
|
22
|
-
npx @apexhub/apex-ui-react-source init
|
|
36
|
+
npx @apexhub/apex-ui-react-source@latest init
|
|
23
37
|
```
|
|
24
38
|
|
|
25
39
|
This will:
|
|
@@ -69,7 +83,7 @@ of the folder tells AI assistants how to use and change the code.
|
|
|
69
83
|
|
|
70
84
|
```bash
|
|
71
85
|
# Files this project modified, deleted or added since install (read-only)
|
|
72
|
-
npx @apexhub/apex-ui-react-source status
|
|
86
|
+
npx @apexhub/apex-ui-react-source@latest status
|
|
73
87
|
|
|
74
88
|
# Move to the latest version and keep the project's edits (--dry-run to preview)
|
|
75
89
|
npx @apexhub/apex-ui-react-source@latest update
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* npx @apexhub/apex-ui-react-source
|
|
4
|
-
* npx @apexhub/apex-ui-react-source
|
|
5
|
-
* npx @apexhub/apex-ui-react-source
|
|
3
|
+
* npx @apexhub/apex-ui-react-source@latest create [--theme light|dark] [--locale zh_CN|en_US]
|
|
4
|
+
* npx @apexhub/apex-ui-react-source@latest init [options]
|
|
5
|
+
* npx @apexhub/apex-ui-react-source@latest status [--json]
|
|
6
|
+
* npx @apexhub/apex-ui-react-source@latest info [--cwd <path>] [--dir <path>] [--json]
|
|
6
7
|
* npx @apexhub/apex-ui-react-source@latest update [--dry-run] [--json]
|
|
7
8
|
*
|
|
8
9
|
* Copies the Apex UI React source into the project (default src/components/apex),
|
|
@@ -27,13 +28,17 @@ import { fileURLToPath } from 'node:url'
|
|
|
27
28
|
|
|
28
29
|
const PKG_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..')
|
|
29
30
|
const DIST = join(PKG_ROOT, 'dist')
|
|
31
|
+
const TEMPLATE = join(PKG_ROOT, 'template')
|
|
30
32
|
const DEFAULT_DIR = 'src/components/apex'
|
|
31
33
|
// Keep detecting earlier package names so a rename cannot mix source and compiled modes.
|
|
32
34
|
const COMPILED_PACKAGES = ['@apexhub/apex-ui-react', '@apex-ui/react', '@frontend/apex-ui--react']
|
|
33
35
|
|
|
34
|
-
const HELP = `Usage: npx @apexhub/apex-ui-react-source <command> [options]
|
|
36
|
+
const HELP = `Usage: npx @apexhub/apex-ui-react-source@latest <command> [options]
|
|
35
37
|
|
|
36
38
|
Commands:
|
|
39
|
+
create Start a new Vite + React project with Apex UI in the current folder, in one
|
|
40
|
+
step: project files, the @ alias, ApexProvider, a sample page and a single
|
|
41
|
+
dependency install. For folders without a package.json.
|
|
37
42
|
init Copy the Apex UI React components into your project as source code
|
|
38
43
|
status List the component files this project modified, deleted or added
|
|
39
44
|
since they were installed (read-only)
|
|
@@ -47,6 +52,8 @@ Options:
|
|
|
47
52
|
--pm <name> Package manager: pnpm | npm | yarn | bun (default: detected from lockfile)
|
|
48
53
|
--no-install Copy files and write apex.json, but only print the install command
|
|
49
54
|
--dry-run Show what would happen; change nothing
|
|
55
|
+
--theme <name> create: light (default) or dark
|
|
56
|
+
--locale <name> create: zh_CN (default) or en_US
|
|
50
57
|
--json status / update / info: print the result as JSON
|
|
51
58
|
--base <path> update: folder with the files of the currently installed version, used to
|
|
52
59
|
merge edited files (default: downloaded from the registry)
|
|
@@ -69,6 +76,8 @@ function parseArgs(argv) {
|
|
|
69
76
|
pm: null,
|
|
70
77
|
install: true,
|
|
71
78
|
dryRun: false,
|
|
79
|
+
theme: 'light',
|
|
80
|
+
locale: 'zh_CN',
|
|
72
81
|
}
|
|
73
82
|
const rest = [...argv]
|
|
74
83
|
while (rest.length) {
|
|
@@ -78,7 +87,7 @@ function parseArgs(argv) {
|
|
|
78
87
|
else if (arg === '--no-install') args.install = false
|
|
79
88
|
else if (arg === '--dry-run') args.dryRun = true
|
|
80
89
|
else if (arg === '--json') args.json = true
|
|
81
|
-
else if (
|
|
90
|
+
else if (['--dir', '--cwd', '--pm', '--base', '--theme', '--locale'].includes(arg)) {
|
|
82
91
|
const value = rest.shift()
|
|
83
92
|
if (!value || value.startsWith('-')) fail(`${arg} needs a value`)
|
|
84
93
|
args[arg.slice(2)] = value
|
|
@@ -219,21 +228,7 @@ function init(args) {
|
|
|
219
228
|
}
|
|
220
229
|
|
|
221
230
|
// 4. Copy, record, install.
|
|
222
|
-
|
|
223
|
-
const out = join(targetDir, relative(join(DIST, 'files'), file))
|
|
224
|
-
mkdirSync(dirname(out), { recursive: true })
|
|
225
|
-
writeFileSync(out, readFileSync(file))
|
|
226
|
-
}
|
|
227
|
-
const record = {
|
|
228
|
-
name: manifest.name,
|
|
229
|
-
version: manifest.version,
|
|
230
|
-
framework: manifest.framework,
|
|
231
|
-
dir: displayDir,
|
|
232
|
-
installedAt: new Date().toISOString(),
|
|
233
|
-
dependencies: manifest.dependencies,
|
|
234
|
-
files: manifest.files,
|
|
235
|
-
}
|
|
236
|
-
writeFileSync(apexJson, `${JSON.stringify(record, null, 2)}\n`)
|
|
231
|
+
copyPayload({ manifest, files, targetDir, displayDir, apexJson })
|
|
237
232
|
console.log(`\n✔ Copied ${files.length} files to ${displayDir}/ and wrote apex.json`)
|
|
238
233
|
|
|
239
234
|
const printable = [cmd, ...cmdArgs].join(' ')
|
|
@@ -261,11 +256,198 @@ Next steps:
|
|
|
261
256
|
Next.js App Router: do this in a 'use client' providers.tsx.
|
|
262
257
|
3. Import components from their folder, e.g. ${displayDir}/button
|
|
263
258
|
AI assistants: read ${displayDir}/AGENTS.md first. When you fix a component, add an entry to
|
|
264
|
-
${displayDir}/CHANGES.md; \`npx @apexhub/apex-ui-react-source status\` lists the files that were changed.
|
|
259
|
+
${displayDir}/CHANGES.md; \`npx @apexhub/apex-ui-react-source@latest status\` lists the files that were changed.
|
|
265
260
|
A newer version later: npx @apexhub/apex-ui-react-source@latest update (keeps the project's edits).
|
|
266
261
|
`)
|
|
267
262
|
}
|
|
268
263
|
|
|
264
|
+
/** Copies the component source into targetDir and writes apex.json next to it. */
|
|
265
|
+
function copyPayload({ manifest, files, targetDir, displayDir, apexJson }) {
|
|
266
|
+
for (const file of files) {
|
|
267
|
+
const out = join(targetDir, relative(join(DIST, 'files'), file))
|
|
268
|
+
mkdirSync(dirname(out), { recursive: true })
|
|
269
|
+
writeFileSync(out, readFileSync(file))
|
|
270
|
+
}
|
|
271
|
+
const record = {
|
|
272
|
+
name: manifest.name,
|
|
273
|
+
version: manifest.version,
|
|
274
|
+
framework: manifest.framework,
|
|
275
|
+
dir: displayDir,
|
|
276
|
+
installedAt: new Date().toISOString(),
|
|
277
|
+
dependencies: manifest.dependencies,
|
|
278
|
+
files: manifest.files,
|
|
279
|
+
}
|
|
280
|
+
writeFileSync(apexJson, `${JSON.stringify(record, null, 2)}\n`)
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/** Versions the new-project template was built and checked with. */
|
|
284
|
+
const TEMPLATE_DEPENDENCIES = { react: '^19.3.1', 'react-dom': '^19.3.1' }
|
|
285
|
+
const TEMPLATE_DEV_DEPENDENCIES = {
|
|
286
|
+
'@types/node': '^24.19.2',
|
|
287
|
+
'@types/react': '^19.3.0',
|
|
288
|
+
'@types/react-dom': '^19.3.0',
|
|
289
|
+
'@vitejs/plugin-react': '^6.3.0',
|
|
290
|
+
typescript: '~7.0.2',
|
|
291
|
+
vite: '^8.3.8',
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/** Text of the sample page and the entry, per locale. */
|
|
295
|
+
const TEMPLATE_TEXT = {
|
|
296
|
+
zh_CN: {
|
|
297
|
+
htmlLang: 'zh-CN',
|
|
298
|
+
title: 'Apex UI 已经装好',
|
|
299
|
+
intro: '这是示例首页。直接用一句话告诉 AI 想要什么页面,它会替换这里的内容。',
|
|
300
|
+
button: '点我试试',
|
|
301
|
+
toast: '按钮可以正常使用',
|
|
302
|
+
},
|
|
303
|
+
en_US: {
|
|
304
|
+
htmlLang: 'en',
|
|
305
|
+
title: 'Apex UI is ready',
|
|
306
|
+
intro: 'This is a sample home page. Tell the AI what page you want and it will replace this.',
|
|
307
|
+
button: 'Try me',
|
|
308
|
+
toast: 'The button works',
|
|
309
|
+
},
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/** Template file -> path in the new project. npm drops .gitignore from packages, hence _gitignore. */
|
|
313
|
+
const TEMPLATE_FILES = {
|
|
314
|
+
'index.html': 'index.html',
|
|
315
|
+
'vite.config.ts': 'vite.config.ts',
|
|
316
|
+
'tsconfig.json': 'tsconfig.json',
|
|
317
|
+
'tsconfig.app.json': 'tsconfig.app.json',
|
|
318
|
+
'tsconfig.node.json': 'tsconfig.node.json',
|
|
319
|
+
_gitignore: '.gitignore',
|
|
320
|
+
'src/main.tsx': 'src/main.tsx',
|
|
321
|
+
'src/App.tsx': 'src/App.tsx',
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
function packageName(cwd) {
|
|
325
|
+
const name = cwd
|
|
326
|
+
.split(sep)
|
|
327
|
+
.pop()
|
|
328
|
+
.toLowerCase()
|
|
329
|
+
.replace(/[^a-z0-9._-]+/g, '-')
|
|
330
|
+
.replace(/^[-._]+|[-._]+$/g, '')
|
|
331
|
+
return name || 'apex-app'
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
function renderTemplate(file, values) {
|
|
335
|
+
let text = readFileSync(join(TEMPLATE, file), 'utf8').replace(
|
|
336
|
+
/\{\{(\w+)\}\}/g,
|
|
337
|
+
(_, key) => values[key],
|
|
338
|
+
)
|
|
339
|
+
if (file === 'src/main.tsx') {
|
|
340
|
+
text = text.replace('theme="light"', `theme="${values.theme}"`)
|
|
341
|
+
if (values.locale === 'en_US') {
|
|
342
|
+
text = text
|
|
343
|
+
.replace(
|
|
344
|
+
"import zhCN from '@/components/apex/locale/zh_CN'",
|
|
345
|
+
"import enUS from '@/components/apex/locale/en_US'",
|
|
346
|
+
)
|
|
347
|
+
.replace('locale={zhCN}', 'locale={enUS}')
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
return text
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* New project in the current folder in one step. Files that are already there (AGENTS.md,
|
|
355
|
+
* .agents/ from the skill installer, a README) are left alone; only a file the template
|
|
356
|
+
* would replace stops it.
|
|
357
|
+
*/
|
|
358
|
+
function create(args) {
|
|
359
|
+
if (!existsSync(join(DIST, 'manifest.json'))) {
|
|
360
|
+
fail(
|
|
361
|
+
'This package has no payload (dist/manifest.json is missing). Reinstall @apexhub/apex-ui-react-source.',
|
|
362
|
+
)
|
|
363
|
+
}
|
|
364
|
+
if (!['light', 'dark'].includes(args.theme))
|
|
365
|
+
fail(`--theme must be light or dark (got ${args.theme})`)
|
|
366
|
+
if (!TEMPLATE_TEXT[args.locale]) fail(`--locale must be zh_CN or en_US (got ${args.locale})`)
|
|
367
|
+
const manifest = readJson(join(DIST, 'manifest.json'))
|
|
368
|
+
const cwd = resolve(args.cwd)
|
|
369
|
+
mkdirSync(cwd, { recursive: true })
|
|
370
|
+
if (existsSync(join(cwd, 'package.json'))) {
|
|
371
|
+
fail('This folder already has a project (package.json).', [
|
|
372
|
+
'To add Apex UI to it, run: npx @apexhub/apex-ui-react-source@latest init',
|
|
373
|
+
])
|
|
374
|
+
}
|
|
375
|
+
const targetDir = resolve(cwd, args.dir)
|
|
376
|
+
const rel = relative(cwd, targetDir)
|
|
377
|
+
if (!rel || rel.startsWith('..') || rel.includes(`..${sep}`)) {
|
|
378
|
+
fail(`--dir must be a folder inside the project (got ${args.dir}).`)
|
|
379
|
+
}
|
|
380
|
+
const displayDir = rel.split(sep).join('/')
|
|
381
|
+
const apexJson = join(dirname(targetDir), 'apex.json')
|
|
382
|
+
const conflicts = Object.entries(TEMPLATE_FILES)
|
|
383
|
+
.filter(([, out]) => out !== '.gitignore' && existsSync(join(cwd, out)))
|
|
384
|
+
.map(([, out]) => out)
|
|
385
|
+
if (existsSync(targetDir) && readdirSync(targetDir).length > 0) conflicts.push(`${displayDir}/`)
|
|
386
|
+
if (existsSync(apexJson)) conflicts.push(relative(cwd, apexJson).split(sep).join('/'))
|
|
387
|
+
if (conflicts.length) {
|
|
388
|
+
fail('Nothing was changed: these files already exist and would be replaced.', [
|
|
389
|
+
...conflicts.map((file) => `- ${file}`),
|
|
390
|
+
'Move them away, or start in an empty folder.',
|
|
391
|
+
])
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
const name = packageName(cwd)
|
|
395
|
+
const values = { ...TEMPLATE_TEXT[args.locale], name, theme: args.theme, locale: args.locale }
|
|
396
|
+
const pm = args.pm ?? detectPackageManager(cwd)
|
|
397
|
+
if (!['pnpm', 'npm', 'yarn', 'bun'].includes(pm)) fail(`Unsupported package manager: ${pm}`)
|
|
398
|
+
console.log(`\nNew project "${name}" with Apex UI ${manifest.version} (source mode)`)
|
|
399
|
+
console.log(` theme: ${args.theme}, locale: ${args.locale}, components: ${displayDir}/`)
|
|
400
|
+
if (args.dryRun) {
|
|
401
|
+
console.log('\nDry run: nothing was changed.\n')
|
|
402
|
+
return
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
const pkg = {
|
|
406
|
+
name,
|
|
407
|
+
private: true,
|
|
408
|
+
version: '0.0.0',
|
|
409
|
+
type: 'module',
|
|
410
|
+
scripts: { dev: 'vite', build: 'tsc -b && vite build', preview: 'vite preview' },
|
|
411
|
+
dependencies: Object.fromEntries(
|
|
412
|
+
Object.entries({ ...TEMPLATE_DEPENDENCIES, ...manifest.dependencies }).sort(([a], [b]) =>
|
|
413
|
+
a.localeCompare(b),
|
|
414
|
+
),
|
|
415
|
+
),
|
|
416
|
+
devDependencies: TEMPLATE_DEV_DEPENDENCIES,
|
|
417
|
+
}
|
|
418
|
+
writeFileSync(join(cwd, 'package.json'), `${JSON.stringify(pkg, null, 2)}\n`)
|
|
419
|
+
for (const [file, out] of Object.entries(TEMPLATE_FILES)) {
|
|
420
|
+
if (out === '.gitignore' && existsSync(join(cwd, out))) continue
|
|
421
|
+
mkdirSync(dirname(join(cwd, out)), { recursive: true })
|
|
422
|
+
writeFileSync(join(cwd, out), renderTemplate(file, values))
|
|
423
|
+
}
|
|
424
|
+
const files = walk(join(DIST, 'files'))
|
|
425
|
+
copyPayload({ manifest, files, targetDir, displayDir, apexJson })
|
|
426
|
+
console.log(`\n✔ Wrote the project files and copied ${files.length} files to ${displayDir}/`)
|
|
427
|
+
|
|
428
|
+
const printable = pm === 'yarn' ? 'yarn' : `${pm} install`
|
|
429
|
+
if (args.install) {
|
|
430
|
+
console.log(`\n$ ${printable}`)
|
|
431
|
+
const result = spawnSync(pm, pm === 'yarn' ? [] : ['install'], {
|
|
432
|
+
cwd,
|
|
433
|
+
stdio: 'inherit',
|
|
434
|
+
shell: process.platform === 'win32',
|
|
435
|
+
})
|
|
436
|
+
if (result.status !== 0) {
|
|
437
|
+
fail('Dependency installation failed. The project files are in place; run this yourself:', [
|
|
438
|
+
printable,
|
|
439
|
+
])
|
|
440
|
+
}
|
|
441
|
+
} else {
|
|
442
|
+
console.log(`\nInstall the dependencies:\n ${printable}`)
|
|
443
|
+
}
|
|
444
|
+
console.log(`
|
|
445
|
+
Done. Start it with: ${pm === 'npm' ? 'npm run dev' : `${pm} dev`}
|
|
446
|
+
Open the "Local:" address it prints (Vite picks another port when 5173 is taken).
|
|
447
|
+
AI assistants: the sample page is src/App.tsx; read ${displayDir}/AGENTS.md before building pages.
|
|
448
|
+
`)
|
|
449
|
+
}
|
|
450
|
+
|
|
269
451
|
/** Files the project keeps inside the component folder that are not part of Apex UI itself. */
|
|
270
452
|
const PROJECT_NOTES = new Set(['CHANGES.md'])
|
|
271
453
|
|
|
@@ -369,7 +551,7 @@ function status(args) {
|
|
|
369
551
|
const apexJson = join(dirname(resolve(cwd, args.dir)), 'apex.json')
|
|
370
552
|
if (!existsSync(apexJson)) {
|
|
371
553
|
fail(`No ${relative(cwd, apexJson).split(sep).join('/')} found.`, [
|
|
372
|
-
'Apex UI is not installed in source mode here. Run: npx @apexhub/apex-ui-react-source init',
|
|
554
|
+
'Apex UI is not installed in source mode here. Run: npx @apexhub/apex-ui-react-source@latest init',
|
|
373
555
|
'If the components are in another folder, pass --dir <that folder>.',
|
|
374
556
|
])
|
|
375
557
|
}
|
|
@@ -463,7 +645,7 @@ function update(args) {
|
|
|
463
645
|
const apexJson = join(dirname(resolve(cwd, args.dir)), 'apex.json')
|
|
464
646
|
if (!existsSync(apexJson)) {
|
|
465
647
|
fail(`No ${relative(cwd, apexJson).split(sep).join('/')} found.`, [
|
|
466
|
-
'Apex UI is not installed in source mode here. Run: npx @apexhub/apex-ui-react-source init',
|
|
648
|
+
'Apex UI is not installed in source mode here. Run: npx @apexhub/apex-ui-react-source@latest init',
|
|
467
649
|
'If the components are in another folder, pass --dir <that folder>.',
|
|
468
650
|
])
|
|
469
651
|
}
|
|
@@ -702,6 +884,8 @@ if (args.version) {
|
|
|
702
884
|
console.log(readJson(join(PKG_ROOT, 'package.json')).version)
|
|
703
885
|
} else if (args.help || !args.command) {
|
|
704
886
|
console.log(HELP)
|
|
887
|
+
} else if (args.command === 'create') {
|
|
888
|
+
create(args)
|
|
705
889
|
} else if (args.command === 'init') {
|
|
706
890
|
init(args)
|
|
707
891
|
} else if (args.command === 'status') {
|
|
@@ -712,6 +896,6 @@ if (args.version) {
|
|
|
712
896
|
update(args)
|
|
713
897
|
} else {
|
|
714
898
|
fail(`Unknown command: ${args.command}`, [
|
|
715
|
-
'Available: init, status, update, info. Run with --help to see the options.',
|
|
899
|
+
'Available: create, init, status, update, info. Run with --help to see the options.',
|
|
716
900
|
])
|
|
717
901
|
}
|
package/dist/files/AGENTS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Apex UI source (React) — rules for AI assistants
|
|
2
2
|
|
|
3
|
-
This folder is Apex UI 1.2.
|
|
3
|
+
This folder is Apex UI 1.2.2, installed as source code by `@apexhub/apex-ui-react-source`.
|
|
4
4
|
The code now belongs to this project: you may edit it.
|
|
5
5
|
|
|
6
6
|
## Using components
|
|
@@ -28,7 +28,7 @@ The code now belongs to this project: you may edit it.
|
|
|
28
28
|
- `data-slot` attributes are a public contract; avoid renaming or removing them.
|
|
29
29
|
- After fixing a component, append an entry to `CHANGES.md` in this folder (create it if
|
|
30
30
|
missing): date, component, files, why, what changed. Future updates and feedback to Apex UI
|
|
31
|
-
rely on it. `npx @apexhub/apex-ui-react-source status` lists the files that differ from the
|
|
31
|
+
rely on it. `npx @apexhub/apex-ui-react-source@latest status` lists the files that differ from the
|
|
32
32
|
installed version.
|
|
33
33
|
- To move to a newer Apex UI version run `npx @apexhub/apex-ui-react-source@latest update`: it keeps
|
|
34
34
|
the project's edits and lists the files that need a manual merge. Do not re-run `init` or
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Generated by scripts/generate-react-svg-assets.ts from assets/table-empty.svg. Do not edit.
|
|
2
2
|
// SVG data URL; regenerate with `pnpm generate:svg-assets`.
|
|
3
|
-
export default "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='131'%20viewBox='0%200%20180%20131'%20fill='none'%3e%3cpath%20d='M23.0075%2019.7873L5.51439%2022.419C3.92497%2022.6581%203.64096%2024.829%205.11537%2025.4689L66.4084%2052.0729C66.7249%2052.2103%2067.0772%2052.2416%2067.413%2052.1624L89.71%2046.9003L23.0075%2019.7873Z'%20fill='url(%23paint0_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M23.0075%2019.7873L5.51439%2022.419C3.92497%2022.6581%203.64096%2024.829%205.11537%2025.4689L66.4084%2052.0729C66.7249%2052.2103%2067.0772%2052.2416%2067.413%2052.1624L89.71%2046.9003L23.0075%2019.7873Z'%20fill='url(%23paint1_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M23.0075%2019.7873L89.71%2046.9003L154.286%2032.094L78.4963%2013.634L23.0075%2019.7873Z'%20fill='url(%23paint2_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M23.0075%2019.7873L89.71%2046.9003L154.286%2032.094L78.4963%2013.634L23.0075%2019.7873Z'%20fill='url(%23paint3_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M168.032%2023.1366C169.203%2022.3739%20168.902%2020.5826%20167.547%2020.2438L97.1333%202.64544C96.7137%202.54057%2096.2695%202.61004%2095.902%202.83801L78.4963%2013.634L154.286%2032.094L168.032%2023.1366Z'%20fill='url(%23paint4_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M168.032%2023.1366C169.203%2022.3739%20168.902%2020.5826%20167.547%2020.2438L97.1333%202.64544C96.7137%202.54057%2096.2695%202.61004%2095.902%202.83801L78.4963%2013.634L154.286%2032.094L168.032%2023.1366Z'%20fill='url(%23paint5_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M89.71%2046.9003L116.209%2053.5364C116.456%2053.5982%20116.714%2053.6003%20116.961%2053.5425L173.706%2040.2937C175.332%2039.9141%20175.363%2037.6105%20173.747%2037.1877L154.286%2032.094L89.71%2046.9003Z'%20fill='url(%23paint6_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M89.71%2046.9003L116.209%2053.5364C116.456%2053.5982%20116.714%2053.6003%20116.961%2053.5425L173.706%2040.2937C175.332%2039.9141%20175.363%2037.6105%20173.747%2037.1877L154.286%2032.094L89.71%2046.9003Z'%20fill='url(%23paint7_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M67.4534%200.65537C67.1053%200.246169%2066.575%200.0390322%2066.0416%200.103915L15.0268%206.31002C13.77%206.46292%2013.1802%207.94583%2013.9888%208.92011L23.0075%2019.7873L78.4963%2013.634L67.4534%200.65537Z'%20fill='url(%23paint8_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M67.4534%200.65537C67.1053%200.246169%2066.575%200.0390322%2066.0416%200.103915L15.0268%206.31002C13.77%206.46292%2013.1802%207.94583%2013.9888%208.92011L23.0075%2019.7873L78.4963%2013.634L67.4534%200.65537Z'%20fill='url(%23paint9_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M173.646%2037.5742C174.858%2037.8914%20174.835%2039.6196%20173.615%2039.9043L116.87%2053.1533C116.684%2053.1966%20116.491%2053.1948%20116.306%2053.1484L91.4238%2046.917L154.279%2032.5059L173.646%2037.5742ZM88.3984%2046.7979L67.3213%2051.7734C67.0695%2051.8329%2066.8047%2051.8091%2066.5674%2051.7061L5.27441%2025.1016C4.16899%2024.6214%204.38227%2022.9938%205.57422%2022.8145L22.957%2020.1982L88.3984%2046.7979ZM152.547%2032.082L89.7441%2046.4814L24.6182%2020.0107L78.4688%2014.0391L152.547%2032.082ZM96.1133%203.17773C96.3888%203.00701%2096.7217%202.95467%2097.0361%203.0332L167.45%2020.6318C168.466%2020.8862%20168.691%2022.2298%20167.813%2022.8018L154.212%2031.6641L79.5176%2013.4707L96.1133%203.17773ZM66.0898%200.500977C66.4898%200.452315%2066.8873%200.608137%2067.1484%200.915039L77.7021%2013.3193L23.1768%2019.3652L14.2969%208.66504C13.6905%207.93433%2014.1326%206.8217%2015.0752%206.70703L66.0898%200.500977Z'%20stroke='url(%23paint10_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3cpath%20d='M173.646%2037.5742C174.858%2037.8914%20174.835%2039.6196%20173.615%2039.9043L116.87%2053.1533C116.684%2053.1966%20116.491%2053.1948%20116.306%2053.1484L91.4238%2046.917L154.279%2032.5059L173.646%2037.5742ZM88.3984%2046.7979L67.3213%2051.7734C67.0695%2051.8329%2066.8047%2051.8091%2066.5674%2051.7061L5.27441%2025.1016C4.16899%2024.6214%204.38227%2022.9938%205.57422%2022.8145L22.957%2020.1982L88.3984%2046.7979ZM152.547%2032.082L89.7441%2046.4814L24.6182%2020.0107L78.4688%2014.0391L152.547%2032.082ZM96.1133%203.17773C96.3888%203.00701%2096.7217%202.95467%2097.0361%203.0332L167.45%2020.6318C168.466%2020.8862%20168.691%2022.2298%20167.813%2022.8018L154.212%2031.6641L79.5176%2013.4707L96.1133%203.17773ZM66.0898%200.500977C66.4898%200.452315%2066.8873%200.608137%2067.1484%200.915039L77.7021%2013.3193L23.1768%2019.3652L14.2969%208.66504C13.6905%207.93433%2014.1326%206.8217%2015.0752%206.70703L66.0898%200.500977Z'%20stroke='url(%23paint11_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3cg%20opacity='0.3'%3e%3cpath%20d='M80.4717%2014.1124C79.4643%2013.867%2078.4931%2014.6301%2078.4931%2015.667V41.2672C78.4931%2041.918%2078.8873%2042.5039%2079.49%2042.7492L89.2463%2046.7193C89.551%2046.8433%2089.8865%2046.8704%2090.2072%2046.7968L154.296%2032.0936L80.4717%2014.1124Z'%20fill='url(%23paint12_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M80.4717%2014.1124C79.4643%2013.867%2078.4931%2014.6301%2078.4931%2015.667V41.2672C78.4931%2041.918%2078.8873%2042.5039%2079.49%2042.7492L89.2463%2046.7193C89.551%2046.8433%2089.8865%2046.8704%2090.2072%2046.7968L154.296%2032.0936L80.4717%2014.1124Z'%20fill='url(%23paint13_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M78.8935%2015.6666C78.8937%2014.8892%2079.6215%2014.3168%2080.3769%2014.5006L152.558%2032.0817L90.1181%2046.4069C89.8778%2046.462%2089.6258%2046.4421%2089.3974%2046.3492L79.6406%2042.3785C79.1886%2042.1945%2078.8935%2041.7552%2078.8935%2041.2672V15.6666Z'%20stroke='url(%23paint14_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3cpath%20d='M78.8935%2015.6666C78.8937%2014.8892%2079.6215%2014.3168%2080.3769%2014.5006L152.558%2032.0817L90.1181%2046.4069C89.8778%2046.462%2089.6258%2046.4421%2089.3974%2046.3492L79.6406%2042.3785C79.1886%2042.1945%2078.8935%2041.7552%2078.8935%2041.2672V15.6666Z'%20stroke='url(%23paint15_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3c/g%3e%3cpath%20d='M23.0075%2019.7873L5.51439%2022.419C3.92497%2022.6581%203.64096%2024.829%205.11537%2025.4689L66.4084%2052.0729C66.7249%2052.2103%2067.0772%2052.2416%2067.413%2052.1624L89.71%2046.9003L23.0075%2019.7873Z'%20fill='url(%23paint16_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M23.0075%2019.7873L5.51439%2022.419C3.92497%2022.6581%203.64096%2024.829%205.11537%2025.4689L66.4084%2052.0729C66.7249%2052.2103%2067.0772%2052.2416%2067.413%2052.1624L89.71%2046.9003L23.0075%2019.7873Z'%20fill='url(%23paint17_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M168.032%2023.1366C169.203%2022.3739%20168.902%2020.5826%20167.547%2020.2439L97.1333%202.64544C96.7137%202.54057%2096.2695%202.61004%2095.902%202.83801L78.4963%2013.634L154.286%2032.094L168.032%2023.1366Z'%20fill='url(%23paint18_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M168.032%2023.1366C169.203%2022.3739%20168.902%2020.5826%20167.547%2020.2439L97.1333%202.64544C96.7137%202.54057%2096.2695%202.61004%2095.902%202.83801L78.4963%2013.634L154.286%2032.094L168.032%2023.1366Z'%20fill='url(%23paint19_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M89.71%2046.9003L116.209%2053.5364C116.456%2053.5983%20116.714%2053.6003%20116.961%2053.5425L173.706%2040.2937C175.332%2039.9141%20175.363%2037.6105%20173.747%2037.1877L154.286%2032.094L89.71%2046.9003Z'%20fill='url(%23paint20_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M89.71%2046.9003L116.209%2053.5364C116.456%2053.5983%20116.714%2053.6003%20116.961%2053.5425L173.706%2040.2937C175.332%2039.9141%20175.363%2037.6105%20173.747%2037.1877L154.286%2032.094L89.71%2046.9003Z'%20fill='url(%23paint21_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M67.4534%200.65537C67.1053%200.246169%2066.575%200.0390322%2066.0416%200.103915L15.0268%206.31002C13.77%206.46292%2013.1802%207.94583%2013.9888%208.92011L23.0075%2019.7873L78.4963%2013.634L67.4534%200.65537Z'%20fill='url(%23paint22_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M67.4534%200.65537C67.1053%200.246169%2066.575%200.0390322%2066.0416%200.103915L15.0268%206.31002C13.77%206.46292%2013.1802%207.94583%2013.9888%208.92011L23.0075%2019.7873L78.4963%2013.634L67.4534%200.65537Z'%20fill='url(%23paint23_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M173.646%2037.5742C174.858%2037.8914%20174.835%2039.6196%20173.615%2039.9043L116.87%2053.1533C116.684%2053.1966%20116.491%2053.1948%20116.306%2053.1484L91.4238%2046.917L154.279%2032.5059L173.646%2037.5742ZM88.3984%2046.7979L67.3213%2051.7734C67.0695%2051.8329%2066.8047%2051.8091%2066.5674%2051.7061L5.27441%2025.1016C4.16899%2024.6214%204.38227%2022.9938%205.57422%2022.8145L22.957%2020.1982L88.3984%2046.7979ZM96.1133%203.17773C96.3888%203.00701%2096.7217%202.95467%2097.0361%203.0332L167.45%2020.6318C168.466%2020.8862%20168.691%2022.2298%20167.813%2022.8018L154.212%2031.6641L79.5176%2013.4707L96.1133%203.17773ZM66.0898%200.500977C66.4898%200.452315%2066.8873%200.608137%2067.1484%200.915039L77.7021%2013.3193L23.1768%2019.3652L14.2969%208.66504C13.6905%207.93433%2014.1326%206.8217%2015.0752%206.70703L66.0898%200.500977Z'%20stroke='url(%23paint24_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3cpath%20d='M173.646%2037.5742C174.858%2037.8914%20174.835%2039.6196%20173.615%2039.9043L116.87%2053.1533C116.684%2053.1966%20116.491%2053.1948%20116.306%2053.1484L91.4238%2046.917L154.279%2032.5059L173.646%2037.5742ZM88.3984%2046.7979L67.3213%2051.7734C67.0695%2051.8329%2066.8047%2051.8091%2066.5674%2051.7061L5.27441%2025.1016C4.16899%2024.6214%204.38227%2022.9938%205.57422%2022.8145L22.957%2020.1982L88.3984%2046.7979ZM96.1133%203.17773C96.3888%203.00701%2096.7217%202.95467%2097.0361%203.0332L167.45%2020.6318C168.466%2020.8862%20168.691%2022.2298%20167.813%2022.8018L154.212%2031.6641L79.5176%2013.4707L96.1133%203.17773ZM66.0898%200.500977C66.4898%200.452315%2066.8873%200.608137%2067.1484%200.915039L77.7021%2013.3193L23.1768%2019.3652L14.2969%208.66504C13.6905%207.93433%2014.1326%206.8217%2015.0752%206.70703L66.0898%200.500977Z'%20stroke='url(%23paint25_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3cpath%20d='M89.7056%2046.9L86.5611%20131L139.652%2099.4092C140.042%2099.1774%20140.315%2098.7912%20140.403%2098.3466L150.902%2045.6179L116.963%2053.5554C116.715%2053.6134%20116.457%2053.6113%20116.209%2053.5493L89.7056%2046.9Z'%20fill='url(%23paint26_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M89.7056%2046.9L86.5611%20131L139.652%2099.4092C140.042%2099.1774%20140.315%2098.7912%20140.403%2098.3466L150.902%2045.6179L116.963%2053.5554C116.715%2053.6134%20116.457%2053.6113%20116.209%2053.5493L89.7056%2046.9Z'%20fill='url(%23paint27_linear_3993_5444)'%20fill-opacity='0.05'/%3e%3cpath%20d='M86.5611%20131L89.7056%2046.9L67.4235%2052.1647C67.0877%2052.2441%2066.7352%2052.2127%2066.4186%2052.0754L24.4666%2033.8696L30.3942%2079.6155C30.4431%2079.9929%2030.6249%2080.3404%2030.9069%2080.5958L86.5611%20131Z'%20fill='url(%23paint28_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M86.5611%20131L89.7056%2046.9L67.4235%2052.1647C67.0877%2052.2441%2066.7352%2052.2127%2066.4186%2052.0754L24.4666%2033.8696L30.3942%2079.6155C30.4431%2079.9929%2030.6249%2080.3404%2030.9069%2080.5958L86.5611%20131Z'%20fill='url(%23paint29_linear_3993_5444)'%20fill-opacity='0.05'/%3e%3cpath%20d='M140.01%2098.2681C139.944%2098.6015%20139.739%2098.8921%20139.447%2099.0659L86.988%20130.279L90.0867%2047.4067L116.112%2053.937C116.421%2054.0145%20116.744%2054.0174%20117.054%2053.9448L150.387%2046.1479L140.01%2098.2681ZM66.2595%2052.4419C66.6552%2052.6136%2067.0956%2052.6533%2067.5154%2052.5542L89.2849%2047.4097L86.1921%20130.126L31.1755%2080.2993C30.964%2080.1078%2030.8274%2079.847%2030.7908%2079.564L24.9529%2034.5171L66.2595%2052.4419Z'%20stroke='url(%23paint30_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3cpath%20d='M140.01%2098.2681C139.944%2098.6015%20139.739%2098.8921%20139.447%2099.0659L86.988%20130.279L90.0867%2047.4067L116.112%2053.937C116.421%2054.0145%20116.744%2054.0174%20117.054%2053.9448L150.387%2046.1479L140.01%2098.2681ZM66.2595%2052.4419C66.6552%2052.6136%2067.0956%2052.6533%2067.5154%2052.5542L89.2849%2047.4097L86.1921%20130.126L31.1755%2080.2993C30.964%2080.1078%2030.8274%2079.847%2030.7908%2079.564L24.9529%2034.5171L66.2595%2052.4419Z'%20stroke='url(%23paint31_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3cg%20opacity='0.3'%3e%3cpath%20d='M91.6205%2047.3803C90.6341%2047.1329%2089.6702%2047.8563%2089.6322%2048.8724L86.5615%20131L139.652%2099.4092C140.042%2099.1774%20140.315%2098.7913%20140.403%2098.3467L150.902%2045.6179L116.964%2053.5554C116.715%2053.6135%20116.457%2053.6114%20116.21%2053.5494L91.6205%2047.3803Z'%20fill='url(%23paint32_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M91.6205%2047.3803C90.6341%2047.1329%2089.6702%2047.8563%2089.6322%2048.8724L86.5615%20131L139.652%2099.4092C140.042%2099.1774%20140.315%2098.7913%20140.403%2098.3467L150.902%2045.6179L116.964%2053.5554C116.715%2053.6135%20116.457%2053.6114%20116.21%2053.5494L91.6205%2047.3803Z'%20fill='url(%23paint33_linear_3993_5444)'%20fill-opacity='0.1'/%3e%3cpath%20d='M140.011%2098.2683C139.944%2098.6016%20139.74%2098.8913%20139.448%2099.0652L86.9882%20130.28L90.0322%2048.8875C90.0607%2048.1253%2090.7836%2047.5827%2091.5234%2047.7683L116.112%2053.9373C116.421%2054.0148%20116.744%2054.0176%20117.055%2053.9451L150.388%2046.1482L140.011%2098.2683Z'%20stroke='url(%23paint34_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3cpath%20d='M140.011%2098.2683C139.944%2098.6016%20139.74%2098.8913%20139.448%2099.0652L86.9882%20130.28L90.0322%2048.8875C90.0607%2048.1253%2090.7836%2047.5827%2091.5234%2047.7683L116.112%2053.9373C116.421%2054.0148%20116.744%2054.0176%20117.055%2053.9451L150.388%2046.1482L140.011%2098.2683Z'%20stroke='url(%23paint35_linear_3993_5444)'%20stroke-opacity='0.1'%20stroke-width='0.8'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_3993_5444'%20x1='79.8162'%20y1='9.05135'%20x2='79.8162'%20y2='46.9098'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_3993_5444'%20x1='79.8162'%20y1='9.05135'%20x2='79.8162'%20y2='46.9098'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_3993_5444'%20x1='79.8162'%20y1='9.05135'%20x2='79.8162'%20y2='46.9098'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint15_linear_3993_5444'%20x1='79.8162'%20y1='9.05135'%20x2='79.8162'%20y2='46.9098'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint16_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint17_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint18_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint19_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint20_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint21_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint22_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint23_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint24_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint25_linear_3993_5444'%20x1='90'%20y1='0'%20x2='90'%20y2='53.6305'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint26_linear_3993_5444'%20x1='87.6842'%20y1='33.8696'%20x2='87.6842'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint27_linear_3993_5444'%20x1='87.6842'%20y1='33.8696'%20x2='87.6842'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint28_linear_3993_5444'%20x1='87.6842'%20y1='33.8696'%20x2='87.6842'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint29_linear_3993_5444'%20x1='87.6842'%20y1='33.8696'%20x2='87.6842'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint30_linear_3993_5444'%20x1='87.6842'%20y1='33.8696'%20x2='87.6842'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint31_linear_3993_5444'%20x1='87.6842'%20y1='33.8696'%20x2='87.6842'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3cstop%20offset='0.822115'%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint32_linear_3993_5444'%20x1='87.6845'%20y1='33.8696'%20x2='87.6845'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint33_linear_3993_5444'%20x1='87.6845'%20y1='33.8696'%20x2='87.6845'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint34_linear_3993_5444'%20x1='87.6845'%20y1='33.8696'%20x2='87.6845'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3cstop%20offset='1'%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint35_linear_3993_5444'%20x1='87.6845'%20y1='33.8696'%20x2='87.6845'%20y2='131'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A6ADBB'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23F4F5F7'%20stop-opacity='0.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"
|
|
3
|
+
export default "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='215.024'%20height='144.119'%20viewBox='0%200%20215.024%20144.119'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23229;&%23155;&%23190;&%23229;&%23177;&%23130;_1'%3e%3cg%20id='Vector'%3e%3c/g%3e%3cpath%20id='Vector_2'%20d='M85.3635%2018.6194C85.3626%2018.0714%2084.9173%2017.6278%2084.3694%2017.6287L80.2855%2017.636C79.7375%2017.6369%2079.294%2018.0821%2079.2948%2018.6301V18.7053C79.2961%2019.2533%2079.741%2019.6968%2080.2889%2019.696L84.3728%2019.6887C84.9208%2019.6878%2085.3643%2019.2426%2085.3635%2018.6946V18.6194Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_3'%20d='M94.9927%2018.634C94.9936%2018.0838%2094.5483%2017.6373%2093.9982%2017.636L89.88%2017.6287C89.3298%2017.6278%2088.8833%2018.0731%2088.882%2018.6232V18.6963C88.8807%2019.2464%2089.326%2019.693%2089.8761%2019.6943L93.9943%2019.7016C94.5445%2019.7024%2094.991%2019.2572%2094.9923%2018.707V18.634'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_4'%20d='M104.643%2018.628C104.643%2018.0805%20104.199%2017.6369%20103.652%2017.6369H99.5218C98.9742%2017.6369%2098.5307%2018.0809%2098.5307%2018.628V18.6985C98.5307%2019.2461%2098.9746%2019.6896%2099.5218%2019.6896H103.652C104.2%2019.6896%20104.643%2019.2456%20104.643%2018.6985V18.628Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_5'%20d='M114.112%2018.6282C114.113%2018.0802%20113.669%2017.6349%20113.121%2017.6341L109.032%2017.6268C108.484%2017.6259%20108.039%2018.0694%20108.038%2018.6174V18.6905C108.037%2019.2385%20108.481%2019.6837%20109.029%2019.6846L113.118%2019.6919C113.666%2019.6928%20114.111%2019.2492%20114.112%2018.7012V18.6282Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_6'%20d='M117.491%2018.8134C117.52%2019.2888%20117.973%2019.6782%20118.399%2019.6769C119.791%2019.6743%20120.733%2019.5905%20121.768%2019.9872C123.001%2020.4617%20123.825%2019.0047%20122.813%2018.1907C122.777%2018.1614%20122.738%2018.1374%20122.695%2018.1189C121.997%2017.8069%20121.235%2017.6444%20120.409%2017.6324C119.549%2017.6186%20118.972%2017.6117%20118.678%2017.6117C117.904%2017.613%20117.447%2018.0518%20117.491%2018.8134Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_7'%20d='M71.8328%2018.6121C71.1541%2019.1352%2069.9365%2020.4241%2070.399%2021.352C70.7445%2022.044%2071.8061%2022.1329%2072.205%2021.4371C72.4981%2020.9265%2072.6769%2020.5638%2073.0903%2020.244C73.5051%2019.9255%2073.9005%2019.8439%2074.4695%2019.6905C75.2444%2019.4824%2075.428%2018.4329%2074.8465%2017.9232C74.0681%2017.2411%2072.5114%2018.0886%2071.8328%2018.6117'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_8'%20d='M126.173%2022.5224C125.911%2022.0273%20125.298%2021.8386%20124.802%2022.1008L124.749%2022.1292C124.254%2022.3913%20124.065%2023.0051%20124.327%2023.5002L126.103%2026.8538C126.365%2027.349%20126.978%2027.5376%20127.474%2027.2755L127.527%2027.2471C128.022%2026.9849%20128.211%2026.3712%20127.949%2025.8761L126.173%2022.5224Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_9'%20d='M71.6754%2025.9146C71.6763%2025.3683%2071.2344%2024.9252%2070.6882%2024.9239H70.6151C70.0689%2024.9227%2069.6257%2025.3649%2069.6245%2025.9107L69.6176%2029.8657C69.6167%2030.4119%2070.0585%2030.855%2070.6048%2030.8563H70.6779C71.2241%2030.8576%2071.6672%2030.4154%2071.6685%2029.8695L71.6754%2025.9146Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_10'%20d='M133.118%2033.0925C133.792%2033.016%20134.14%2032.3533%20133.942%2031.7133C133.776%2031.1743%20133.203%2030.9861%20132.594%2031.0127C131.836%2031.0454%20131.113%2030.9603%20130.578%2030.3659C130.192%2029.9365%20129.675%2029.6361%20129.153%2029.9477C128.764%2030.1802%20128.575%2030.4923%20128.586%2030.8829C128.605%2031.608%20129.359%2032.2841%20130.009%2032.5845C131.004%2033.0456%20132.041%2033.2154%20133.119%2033.0929'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_11'%20d='M152.827%2032.0292C152.826%2031.4756%20152.375%2031.0286%20151.822%2031.0304L147.723%2031.0446C147.17%2031.0463%20146.723%2031.4967%20146.724%2032.0503V32.1233C146.727%2032.6769%20147.177%2033.1239%20147.73%2033.1222L151.829%2033.108C152.382%2033.1062%20152.829%2032.6558%20152.827%2032.1023V32.0292Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_12'%20d='M143.425%2032.0377C143.424%2031.4841%20142.975%2031.0363%20142.421%2031.0371L138.337%2031.0445C137.784%2031.0453%20137.336%2031.4949%20137.337%2032.0484V32.1189C137.338%2032.6725%20137.787%2033.1203%20138.341%2033.1195L142.425%2033.1122C142.978%2033.1113%20143.426%2032.6617%20143.425%2032.1082V32.0377Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_13'%20d='M162.187%2032.0318C162.186%2031.4778%20161.735%2031.0299%20161.18%2031.0321L157.13%2031.0463C156.576%2031.048%20156.128%2031.4988%20156.131%2032.0532V32.1263C156.133%2032.6803%20156.584%2033.1281%20157.138%2033.126L161.188%2033.1118C161.742%2033.1101%20162.189%2032.6592%20162.187%2032.1048V32.0318Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_14'%20d='M171.606%2032.0436C171.606%2031.4913%20171.158%2031.0439%20170.606%2031.0439H166.461C165.909%2031.0439%20165.462%2031.4913%20165.462%2032.0436V32.1188C165.462%2032.6711%20165.909%2033.1185%20166.461%2033.1185H170.606C171.158%2033.1185%20171.606%2032.6711%20171.606%2032.1188V32.0436Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_15'%20d='M181.02%2032.0513C181.022%2031.499%20180.576%2031.0499%20180.024%2031.0482L175.901%2031.034C175.349%2031.0323%20174.899%2031.478%20174.898%2032.0303V32.1007C174.896%2032.653%20175.342%2033.1021%20175.894%2033.1039L180.017%2033.118C180.569%2033.1198%20181.018%2032.6741%20181.02%2032.1218V32.0513'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_16'%20d='M190.464%2032.0423C190.464%2031.493%20190.019%2031.0473%20189.469%2031.0473H185.339C184.789%2031.0473%20184.344%2031.4926%20184.344%2032.0423V32.1153C184.344%2032.6646%20184.789%2033.1103%20185.339%2033.1103H189.469C190.018%2033.1103%20190.464%2032.665%20190.464%2032.1153V32.0423Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_17'%20d='M199.204%2033.8821C199.82%2033.488%20199.757%2032.6073%20199.208%2032.1646C198.102%2031.2707%20196.664%2031.03%20195.169%2031.0373C194.819%2031.039%20194.553%2031.1061%20194.371%2031.2393C193.645%2031.7658%20193.968%2033.0638%20194.867%2033.0891C195.657%2033.111%20196.122%2033.133%20196.266%2033.1549C196.718%2033.2236%20197.184%2033.3913%20197.663%2033.6573C198.238%2033.9758%20198.712%2034.1984%20199.204%2033.8825'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_18'%20d='M71.6754%2035.0936C71.6762%2034.5474%2071.2344%2034.1042%2070.6881%2034.103H70.6129C70.0667%2034.1017%2069.6236%2034.5439%2069.6223%2035.0898L69.6154%2039.0571C69.6145%2039.6034%2070.0564%2040.0465%2070.6026%2040.0478H70.6778C71.2241%2040.0491%2071.6672%2039.6068%2071.6685%2039.061L71.6754%2035.0936Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_19'%20d='M133.246%20119.556C133.144%20119.776%20132.933%20120.109%20132.612%20120.555C131.438%20122.185%20129.833%20123.127%20127.799%20123.379C126.801%20123.503%20125.817%20123.448%20124.846%20123.215C124.607%20123.156%20124.286%20123.15%20124.098%20123.15C108.621%20123.147%2095.6024%20123.143%2085.0425%20123.14C61.7767%20123.129%2041.3579%20123.133%2023.7851%20123.152C23.7588%20123.152%2023.7361%20123.133%2023.7305%20123.106C23.7103%20123.005%2023.7004%20122.88%2023.7013%20122.73C23.7068%20119.16%2024.0442%20115.659%2024.7134%20112.228C25.5171%20108.102%2026.889%20104.074%2028.5772%20100.286C29.5232%2098.1615%2030.6028%2096.0998%2031.8157%2094.1004C31.9455%2093.8872%2032.4922%2093.0779%2033.4553%2091.6729C33.9986%2090.8804%2034.593%2090.1064%2035.2381%2089.3499C35.8235%2088.664%2036.5326%2087.8401%2037.3651%2086.8786C41.7399%2081.8239%2047.3018%2077.5784%2053.2282%2074.4999C54.0624%2074.0662%2054.7699%2073.7198%2055.3505%2073.4602C57.3572%2072.5628%2059.2057%2071.8472%2060.8961%2071.3134C62.5447%2070.7929%2064.1874%2070.3571%2065.8245%2070.0064C67.3721%2069.6737%2068.854%2069.4369%2070.2706%2069.296C70.9609%2069.2272%2071.7766%2069.1503%2072.7187%2069.066C73.3165%2069.0127%2074.1349%2068.9848%2075.1745%2068.9822C76.6208%2068.9796%2077.9239%2068.9783%2079.0835%2068.9783C80.0264%2068.9792%2081.1482%2068.9779%2082.4483%2068.9749C82.4981%2068.9749%2082.5385%2068.9341%2082.5385%2068.8838L82.5299%2055.8861V55.3734L82.5398%2035.7776C82.5398%2035.7711%2082.542%2035.7651%2082.5458%2035.7604C82.5553%2035.7492%2082.5721%2035.7475%2082.5837%2035.7569C83.5907%2036.5473%2084.5908%2037.3471%2085.5956%2038.1405C90.2455%2041.8135%2095.2238%2045.4555%20100.944%2047.1717C101.26%2047.2688%20101.576%2047.3535%20101.89%2047.4266C103.995%2047.9152%20106.06%2047.88%20108.059%2047.4717C112.686%2046.527%20116.962%2043.586%20120.569%2040.5327C122.697%2038.8789%20124.692%2037.3016%20126.553%2035.8008C126.563%2035.7926%20126.575%2035.7879%20126.588%2035.7879C126.619%2035.7874%20126.646%2035.8137%20126.646%2035.8455L126.679%2055.5251V55.8483L126.653%20109.954V109.956C126.654%20110.018%20126.705%20110.067%20126.767%20110.065C128.168%20110.043%20129.469%20110.407%20130.669%20111.157C131.859%20111.902%20132.732%20112.901%20133.288%20114.155C134.088%20115.959%20134.074%20117.759%20133.246%20119.556Z'%20fill='%238C93A2'/%3e%3cpath%20id='Vector_20'%20d='M201.684%2037.647C201.684%2037.1038%20201.244%2036.6632%20200.701%2036.6632H200.625C200.082%2036.6632%20199.641%2037.1038%20199.641%2037.647V41.6191C199.641%2042.1624%20200.082%2042.6029%20200.625%2042.6029H200.701C201.244%2042.6029%20201.684%2042.1624%20201.684%2041.6191V37.647Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_21'%20d='M71.6684%2044.2899C71.6676%2043.7453%2071.2253%2043.3044%2070.6803%2043.3052H70.6051C70.0606%2043.3065%2069.6196%2043.7488%2069.6205%2044.2933L69.6274%2048.3114C69.6282%2048.8559%2070.0705%2049.2969%2070.6154%2049.2961H70.6907C71.2352%2049.2948%2071.6762%2048.8525%2071.6753%2048.308L71.6684%2044.2899Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_22'%20d='M201.681%2046.812C201.682%2046.2705%20201.245%2045.8304%20200.704%2045.8282H200.628C200.087%2045.8261%20199.647%2046.2636%20199.645%2046.8047L199.631%2050.745C199.629%2051.2865%20200.066%2051.7266%20200.608%2051.7288H200.683C201.225%2051.7309%20201.665%2051.2934%20201.667%2050.7523L201.681%2046.812Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_23'%20d='M71.6686%2053.5132C71.6678%2052.9652%2071.2225%2052.5216%2070.6745%2052.5225H70.6015C70.0535%2052.5238%2069.6099%2052.9686%2069.6108%2053.5166L69.6177%2057.4814C69.6185%2058.0294%2070.0638%2058.4729%2070.6118%2058.4721H70.6848C71.2328%2058.4708%2071.6764%2058.026%2071.6755%2057.478L71.6686%2053.5132Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_24'%20d='M201.676%2055.9673C201.675%2055.4232%20201.234%2054.9831%20200.689%2054.984H200.616C200.072%2054.9852%20199.632%2055.4271%20199.633%2055.9708L199.64%2059.8651C199.641%2060.4092%20200.083%2060.8493%20200.627%2060.8484H200.7C201.244%2060.8471%20201.684%2060.4053%20201.683%2059.8616L201.676%2055.9673Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_25'%20d='M71.6698%2062.7409C71.6689%2062.1929%2071.2237%2061.7493%2070.6757%2061.7502H70.6005C70.0525%2061.7515%2069.609%2062.1963%2069.6098%2062.7443L69.6167%2066.6773C69.6176%2067.2253%2070.0628%2067.6688%2070.6108%2067.668H70.686C71.234%2067.6667%2071.6775%2067.2218%2071.6767%2066.6739L71.6698%2062.7409Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_26'%20d='M31.7766%2073.5262C31.7999%2073.4821%2031.7876%2073.4507%2031.7452%2073.4243L13.4385%2062.0276C13.3961%2062.0013%2012.9697%2061.9886%2012.9386%2062.0276L10.9386%2064.5276C10.9074%2064.5665%2010.8933%2065.0066%2010.9385%2065.0276L31.2175%2074.4249C31.2627%2074.4458%2031.2961%2074.4376%2031.3193%2074.3935L31.7766%2073.5262Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_27'%20d='M37.566%2069.5207C37.5999%2069.4718%2037.5898%2069.4328%2037.5433%2069.3956L28.9386%2062.5276C28.8921%2062.4904%2028.4716%2062.478%2028.4386%2062.5276L27.4385%2064.0275C27.4055%2064.077%2027.3878%2064.4964%2027.4385%2064.5275L36.8969%2070.3296C36.9476%2070.3607%2036.988%2070.3557%2037.0219%2070.3068L37.566%2069.5207Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_28'%20d='M201.674%2065.0995C201.673%2064.5562%20201.231%2064.1166%20200.688%2064.1174H200.613C200.07%2064.1187%20199.63%2064.5597%20199.631%2065.1034L199.638%2068.9998C199.639%2069.5431%20200.08%2069.9828%20200.623%2069.9819H200.698C201.242%2069.9806%20201.681%2069.5397%20201.681%2068.996L201.674%2065.0995Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_29'%20d='M201.675%2074.2507C201.674%2073.7087%20201.234%2073.2699%20200.692%2073.2708H200.616C200.074%2073.2721%20199.636%2073.7122%20199.636%2074.2541L199.643%2078.1411C199.644%2078.6831%20200.084%2079.1219%20200.627%2079.1211H200.702C201.244%2079.1198%20201.683%2078.6797%20201.682%2078.1377L201.675%2074.2507Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_30'%20d='M201.673%2083.3856C201.672%2082.8454%20201.233%2082.4087%20200.693%2082.4096H200.616C200.076%2082.4109%20199.639%2082.8492%20199.64%2083.3891L199.646%2087.2662C199.647%2087.8064%20200.086%2088.2431%20200.626%2088.2422H200.704C201.244%2088.2409%20201.681%2087.8026%20201.68%2087.2628L201.673%2083.3856Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_31'%20d='M201.671%2092.5159C201.671%2091.9765%20201.235%2091.5386%20200.696%2091.5377H200.623C200.083%2091.5369%20199.645%2091.9731%20199.645%2092.5125L199.638%2096.363C199.637%2096.9024%20200.073%2097.3403%20200.612%2097.3412H200.685C201.225%2097.342%20201.663%2096.9058%20201.664%2096.3664L201.671%2092.5159Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_32'%20d='M201.673%20101.589C201.673%20101.05%20201.235%20100.613%20200.696%20100.613H200.621C200.081%20100.613%20199.644%20101.05%20199.644%20101.589V105.488C199.644%20106.027%20200.081%20106.465%20200.621%20106.465H200.696C201.235%20106.465%20201.673%20106.027%20201.673%20105.488V101.589Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_33'%20d='M201.671%20110.665C201.671%20110.126%20201.233%20109.689%20200.693%20109.691H200.618C200.079%20109.692%20199.642%20110.13%20199.643%20110.669L199.65%20114.542C199.651%20115.081%20200.089%20115.518%20200.628%20115.516H200.703C201.243%20115.515%20201.68%20115.077%20201.678%20114.538L201.671%20110.665Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_34'%20d='M198.946%20119.895C198.677%20120.254%20198.311%20120.496%20198.031%20120.757C197.643%20121.119%20197.629%20121.704%20197.96%20122.126C198.349%20122.623%20199.009%20122.519%20199.487%20122.186C199.944%20121.866%20200.236%20121.577%20200.58%20121.116C200.925%20120.655%20201.119%20120.294%20201.297%20119.765C201.48%20119.211%20201.393%20118.55%20200.807%20118.316C200.308%20118.119%20199.751%20118.299%20199.514%20118.774C199.343%20119.117%20199.215%20119.535%20198.946%20119.895Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_35'%20d='M139.713%20122.092C139.713%20121.54%20139.267%20121.091%20138.715%20121.091L134.609%20121.083C134.056%20121.082%20133.608%20121.529%20133.607%20122.081V122.152C133.606%20122.704%20134.053%20123.152%20134.605%20123.153L138.711%20123.16C139.263%20123.161%20139.712%20122.715%20139.713%20122.162V122.092Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_36'%20d='M148.972%20122.088C148.973%20121.534%20148.525%20121.085%20147.972%20121.084L143.88%20121.077C143.327%20121.076%20142.877%20121.524%20142.876%20122.077V122.15C142.875%20122.704%20143.323%20123.153%20143.877%20123.154L147.968%20123.162C148.521%20123.162%20148.971%20122.715%20148.972%20122.161V122.088'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_37'%20d='M158.259%20122.091C158.261%20121.539%20157.815%20121.091%20157.264%20121.089L153.177%20121.075C152.626%20121.073%20152.177%20121.518%20152.176%20122.07V122.143C152.173%20122.694%20152.619%20123.143%20153.171%20123.145L157.257%20123.159C157.808%20123.161%20158.257%20122.715%20158.259%20122.164V122.091Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_38'%20d='M167.487%20122.058C167.486%20121.513%20167.044%20121.072%20166.499%20121.073L162.439%20121.08C161.895%20121.081%20161.454%20121.523%20161.455%20122.068V122.173C161.456%20122.717%20161.898%20123.158%20162.443%20123.157L166.503%20123.15C167.047%20123.15%20167.488%20122.707%20167.487%20122.162V122.058Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_39'%20d='M176.777%20122.064C176.775%20121.515%20176.329%20121.072%20175.78%20121.073L171.689%20121.088C171.14%20121.089%20170.697%20121.536%20170.698%20122.085V122.16C170.701%20122.709%20171.147%20123.152%20171.696%20123.15L175.787%20123.136C176.336%20123.134%20176.779%20122.688%20176.777%20122.139V122.064'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_40'%20d='M186.014%20122.078C186.015%20121.526%20185.567%20121.076%20185.015%20121.076L180.938%20121.068C180.385%20121.067%20179.936%20121.515%20179.935%20122.067V122.143C179.934%20122.695%20180.381%20123.145%20180.934%20123.145L185.011%20123.153C185.563%20123.154%20186.012%20122.706%20186.013%20122.153V122.078'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_41'%20d='M195.252%20122.074C195.252%20121.524%20194.806%20121.078%20194.256%20121.078H190.167C189.617%20121.078%20189.171%20121.524%20189.171%20122.074V122.15C189.171%20122.7%20189.617%20123.146%20190.167%20123.146H194.256C194.806%20123.146%20195.252%20122.7%20195.252%20122.15V122.074Z'%20fill='%236D6BF6'/%3e%3cpath%20id='Vector_42'%20d='M54.5237%20102.477C56.9061%20104.861%2058.7744%20107.636%2060.1291%20110.803C61.4481%20113.888%2062.1366%20117.25%2062.1942%20120.887C62.1959%20121.008%2062.2948%20121.104%2062.4151%20121.102C62.419%20121.102%2062.4228%20121.102%2062.4267%20121.101L62.4426%20121.1C62.5724%20121.091%2062.6721%20120.981%2062.67%20120.851C62.5896%20116.173%2061.4416%20111.843%2059.2256%20107.861C58.0944%20105.828%2056.5816%20103.914%2054.8353%20102.166C53.0887%20100.419%2051.1757%2098.902%2049.1436%2097.7695C45.1642%2095.5496%2040.8354%2094.3974%2036.1571%2094.3131C36.0269%2094.311%2035.9173%2094.4107%2035.9079%2094.5405L35.9066%2094.5564C35.8984%2094.6763%2035.9891%2094.7803%2036.109%2094.788C36.1129%2094.788%2036.1167%2094.788%2036.1206%2094.7885C39.7588%2094.8491%2043.1197%2095.541%2046.2039%2096.8635C49.3684%2098.2208%2052.1419%20100.092%2054.5237%20102.476'%20fill='%23F4F5F7'/%3e%3cpath%20id='Vector_43'%20d='M97.3796%2096.6631C97.3173%2096.6631%2097.2666%2096.7143%2097.267%2096.7766C97.267%2096.7809%2097.267%2096.7852%2097.2679%2096.7895C97.674%20100.555%2098.2796%20105.808%2099.085%20112.55C99.2084%20113.582%2099.3936%20114.409%2099.6407%20115.031C100.573%20117.376%20102.13%20119.099%20104.315%20120.198C105.968%20121.031%20108.107%20121.341%20109.929%20121.226C110.024%20121.219%20110.098%20121.14%20110.097%20121.046V120.968C110.097%20120.88%20110.027%20120.81%20109.94%20120.809C109.936%20120.809%20109.933%20120.809%20109.93%20120.809C108.959%20120.871%20108.084%20120.839%20107.305%20120.714C104.872%20120.324%20102.89%20119.158%20101.36%20117.217C100.742%20116.432%20100.292%20115.593%20100.008%20114.701C99.8045%20114.064%2099.6854%20113.349%2099.5883%20112.781C99.5281%20112.43%2099.3725%20111.185%2099.1211%20109.046C98.929%20107.409%2098.4622%20103.314%2097.7213%2096.7603C97.7153%2096.7053%2097.6684%2096.6631%2097.613%2096.6631H97.3796Z'%20fill='%23F4F5F7'/%3e%3cpath%20id='Vector_44'%20d='M101.89%2047.4266C98.7067%2052.486%2093.0726%2055.8483%2086.6532%2055.8483C85.2345%2055.8483%2083.8544%2055.6841%2082.5307%2055.3734L82.5401%2035.7776C82.5401%2035.7711%2082.5423%2035.7651%2082.5462%2035.7604C82.5556%2035.7492%2082.5724%2035.7475%2082.584%2035.7569C83.591%2036.5473%2084.5911%2037.3471%2085.5959%2038.1405C90.2458%2041.8135%2095.2241%2045.4555%20100.945%2047.1717C101.26%2047.2688%20101.576%2047.3535%20101.89%2047.4266Z'%20fill='%23636977'/%3e%3cpath%20id='Vector_45'%20d='M126.679%2055.5253C125.574%2055.7376%20124.434%2055.8485%20123.268%2055.8485C116.867%2055.8485%20111.248%2052.5065%20108.059%2047.4719C112.686%2046.5272%20116.962%2043.5862%20120.569%2040.533C122.697%2038.8791%20124.692%2037.3018%20126.553%2035.801C126.563%2035.7928%20126.575%2035.7881%20126.588%2035.7881C126.62%2035.7877%20126.646%2035.8139%20126.646%2035.8457L126.679%2055.5253Z'%20fill='%23636977'/%3e%3cpath%20id='Vector_46'%20d='M98.0445%2070.5157C101.309%2070.5157%20103.955%2067.8695%20103.955%2064.6053C103.955%2061.341%20101.309%2058.6948%2098.0445%2058.6948C94.7803%2058.6948%2092.1341%2061.341%2092.1341%2064.6053C92.1341%2067.8695%2094.7803%2070.5157%2098.0445%2070.5157Z'%20fill='%23F4F5F7'/%3e%3cpath%20id='Vector_47'%20d='M101.552%2067.7958C102.816%2067.7958%20103.84%2066.7711%20103.84%2065.5072C103.84%2064.2432%20102.816%2063.2185%20101.552%2063.2185C100.288%2063.2185%2099.2629%2064.2432%2099.2629%2065.5072C99.2629%2066.7711%20100.288%2067.7958%20101.552%2067.7958Z'%20fill='%230456F8'/%3e%3cpath%20id='Vector_48'%20d='M117.125%2070.5157C120.39%2070.5157%20123.036%2067.8695%20123.036%2064.6053C123.036%2061.341%20120.39%2058.6948%20117.125%2058.6948C113.861%2058.6948%20111.215%2061.341%20111.215%2064.6053C111.215%2067.8695%20113.861%2070.5157%20117.125%2070.5157Z'%20fill='%23F4F5F7'/%3e%3cpath%20id='Vector_49'%20d='M120.632%2067.7958C121.896%2067.7958%20122.921%2066.7711%20122.921%2065.5072C122.921%2064.2432%20121.896%2063.2185%20120.632%2063.2185C119.368%2063.2185%20118.344%2064.2432%20118.344%2065.5072C118.344%2066.7711%20119.368%2067.7958%20120.632%2067.7958Z'%20fill='%230456F8'/%3e%3c/g%3e%3c/svg%3e"
|
package/dist/files/alert/llm.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Alert:需要在当前页面内展示操作结果、风险提示或补充说明,且信息应持续可见时。
|
|
4
4
|
|
|
5
|
-
版本:`1.2.
|
|
5
|
+
版本:`1.2.2`。组件源码在本目录,属于当前项目。
|
|
6
6
|
|
|
7
7
|
公开导出:`Alert`。
|
|
8
8
|
|
|
@@ -102,7 +102,7 @@ export default () => <Alert type="warning" title="可关闭的警告" closable s
|
|
|
102
102
|
|
|
103
103
|
### 操作区
|
|
104
104
|
|
|
105
|
-
通过 `action`
|
|
105
|
+
通过 `action` 在右侧放置操作按钮或链接。示例使用 `text-secondary` 的 medium 按钮;关闭控件使用 medium 图标按钮。
|
|
106
106
|
|
|
107
107
|
```tsx
|
|
108
108
|
import { Alert } from '@/components/apex/alert'
|
|
@@ -114,7 +114,7 @@ export default () => (
|
|
|
114
114
|
title="提交失败"
|
|
115
115
|
description="网络异常,请稍后重试。"
|
|
116
116
|
action={
|
|
117
|
-
<Button
|
|
117
|
+
<Button variant="text-secondary" size="medium">
|
|
118
118
|
重试
|
|
119
119
|
</Button>
|
|
120
120
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> ApexProvider:在应用或微前端子应用最外层包裹,确保组件库 Token、主题、滚动条样式在整个组件树生效。
|
|
4
4
|
|
|
5
|
-
版本:`1.2.
|
|
5
|
+
版本:`1.2.2`。组件源码在本目录,属于当前项目。
|
|
6
6
|
|
|
7
7
|
公开导出:`ApexProvider`、`useConfig`。
|
|
8
8
|
|
|
@@ -266,7 +266,7 @@ export default () => {
|
|
|
266
266
|
</Form.Item>
|
|
267
267
|
</Form>
|
|
268
268
|
|
|
269
|
-
<Pagination total={60} defaultCurrent={1}
|
|
269
|
+
<Pagination total={60} defaultCurrent={1} showSizeChanger />
|
|
270
270
|
|
|
271
271
|
<DatePicker />
|
|
272
272
|
</div>
|
|
@@ -296,6 +296,7 @@ const canvasStyle: CSSProperties = {
|
|
|
296
296
|
gap: 16,
|
|
297
297
|
maxWidth: 480,
|
|
298
298
|
background: 'var(--apex-fill-neutral-secondary)',
|
|
299
|
+
color: 'var(--apex-text-neutral-primary)',
|
|
299
300
|
borderRadius: 8,
|
|
300
301
|
}
|
|
301
302
|
|
|
@@ -96,10 +96,18 @@
|
|
|
96
96
|
|
|
97
97
|
/* TODO(tokens):UI 暂未交付 group overlap / border / overflow 配色,先用合理默认值 */
|
|
98
98
|
.apex-avatar-group .apex-avatar[data-in-group] {
|
|
99
|
-
margin-inline-start: calc(var(--apex-spacing-
|
|
99
|
+
margin-inline-start: calc(var(--apex-spacing-6) * -1);
|
|
100
100
|
border: var(--apex-border-1) solid var(--apex-fill-neutral-primary);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
.apex-avatar-group[data-size='small'] .apex-avatar[data-in-group] {
|
|
104
|
+
margin-inline-start: calc(var(--apex-spacing-4) * -1);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.apex-avatar-group[data-size='large'] .apex-avatar[data-in-group] {
|
|
108
|
+
margin-inline-start: calc(var(--apex-spacing-6) * -1);
|
|
109
|
+
}
|
|
110
|
+
|
|
103
111
|
.apex-avatar-group .apex-avatar[data-in-group]:first-child {
|
|
104
112
|
margin-inline-start: 0;
|
|
105
113
|
}
|
|
@@ -107,6 +115,9 @@
|
|
|
107
115
|
.apex-avatar-group .apex-avatar[data-overflow] {
|
|
108
116
|
background-color: var(--apex-fill-neutral-tertiary);
|
|
109
117
|
color: var(--apex-text-neutral-primary);
|
|
118
|
+
font-size: var(--apex-fontsize-12);
|
|
119
|
+
font-weight: var(--apex-fontweight-500);
|
|
120
|
+
letter-spacing: 0;
|
|
110
121
|
}
|
|
111
122
|
|
|
112
123
|
/* ── Clickable(仅在 data-clickable 作用域下消费 hover/click/focus/disabled token)── */
|