create-yss-spec 3.4.9 → 3.5.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 +2 -2
- package/package.json +1 -1
- package/src/api/_sync-service.js +111 -18
- package/src/cli/args.js +1 -0
- package/src/cli/help.js +10 -1
- package/src/cli/index.js +3 -0
- package/src/cli/prompts.js +5 -1
- package/src/cli/router.js +2 -0
- package/src/commands/attach.js +12 -2
- package/src/commands/init.js +2 -0
- package/src/commands/skills.js +253 -0
- package/src/commands/sync.js +3 -0
- package/src/family-identity.js +1 -1
- package/src/template/asset-runtime.js +220 -0
- package/src/template/attach-planner.js +5 -0
- package/src/template/distribution-runtime.js +165 -0
- package/src/template/instance-runtime.js +76 -29
- package/src/template/ownership-policy.js +17 -1
- package/src/template/prune-planner.js +6 -1
- package/src/template/sync-planner.js +8 -0
- package/src/template/verification-runtime.js +56 -1
- package/src/validation/metadata.js +24 -1
- package/template/.agents/skills/.strategic-design-skills-manifest.json +1 -1
- package/template/.agents/skills/yss-cache/SKILL.md +6 -5
- package/template/.agents/skills/yss-cache/references/annotations.md +3 -1
- package/template/.agents/skills/yss-cache/references/architecture.md +4 -2
- package/template/.agents/skills/yss-cache/references/configuration.md +6 -3
- package/template/.agents/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.agents/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.agents/skills/yss-cache/references/verification.md +10 -4
- package/template/.agents/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.agents/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.agents/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.agents/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.agents/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.agents/skills/yss-openapi-draft-review/SKILL.md +2 -0
- package/template/.agents/skills/yss-openapi-governance/SKILL.md +4 -0
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +11 -5
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +68 -5
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +8 -8
- package/template/.agents/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.agents/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +2 -2
- package/template/.agents/skills/yss-repository/SKILL.md +1 -0
- package/template/.agents/skills/yss-stage-decision/SKILL.md +2 -0
- package/template/.agents/skills/yss-tactical-design/SKILL.md +2 -0
- package/template/.agents/skills/yss-technical-design/SKILL.md +2 -0
- package/template/.agents/skills/yss-technical-design/scripts/engineering-design.mjs +1 -1
- package/template/.agents/skills/yss-technical-design/scripts/validate-technical-design.mjs +11 -8
- package/template/.codex/skills/yss-cache/SKILL.md +6 -5
- package/template/.codex/skills/yss-cache/references/annotations.md +3 -1
- package/template/.codex/skills/yss-cache/references/architecture.md +4 -2
- package/template/.codex/skills/yss-cache/references/configuration.md +6 -3
- package/template/.codex/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.codex/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.codex/skills/yss-cache/references/verification.md +10 -4
- package/template/.codex/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.codex/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.codex/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.codex/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.codex/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +2 -0
- package/template/.codex/skills/yss-openapi-governance/SKILL.md +4 -0
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +11 -5
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +68 -5
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +8 -8
- package/template/.codex/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.codex/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +2 -2
- package/template/.codex/skills/yss-repository/SKILL.md +1 -0
- package/template/.codex/skills/yss-stage-decision/SKILL.md +2 -0
- package/template/.codex/skills/yss-tactical-design/SKILL.md +2 -0
- package/template/.codex/skills/yss-technical-design/SKILL.md +2 -0
- package/template/.codex/skills/yss-technical-design/scripts/engineering-design.mjs +1 -1
- package/template/.codex/skills/yss-technical-design/scripts/validate-technical-design.mjs +11 -8
- package/template/.cursor/skills/yss-cache/SKILL.md +6 -5
- package/template/.cursor/skills/yss-cache/references/annotations.md +3 -1
- package/template/.cursor/skills/yss-cache/references/architecture.md +4 -2
- package/template/.cursor/skills/yss-cache/references/configuration.md +6 -3
- package/template/.cursor/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.cursor/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.cursor/skills/yss-cache/references/verification.md +10 -4
- package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.cursor/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.cursor/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.cursor/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +2 -0
- package/template/.cursor/skills/yss-openapi-governance/SKILL.md +4 -0
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +11 -5
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +68 -5
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +8 -8
- package/template/.cursor/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.cursor/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +2 -2
- package/template/.cursor/skills/yss-repository/SKILL.md +1 -0
- package/template/.cursor/skills/yss-stage-decision/SKILL.md +2 -0
- package/template/.cursor/skills/yss-tactical-design/SKILL.md +2 -0
- package/template/.cursor/skills/yss-technical-design/SKILL.md +2 -0
- package/template/.cursor/skills/yss-technical-design/scripts/engineering-design.mjs +1 -1
- package/template/.cursor/skills/yss-technical-design/scripts/validate-technical-design.mjs +11 -8
- package/template/.pi/skills/yss-cache/SKILL.md +6 -5
- package/template/.pi/skills/yss-cache/references/annotations.md +3 -1
- package/template/.pi/skills/yss-cache/references/architecture.md +4 -2
- package/template/.pi/skills/yss-cache/references/configuration.md +6 -3
- package/template/.pi/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.pi/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.pi/skills/yss-cache/references/verification.md +10 -4
- package/template/.pi/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.pi/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.pi/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.pi/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.pi/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.pi/skills/yss-openapi-draft-review/SKILL.md +2 -0
- package/template/.pi/skills/yss-openapi-governance/SKILL.md +4 -0
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +11 -5
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +68 -5
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +8 -8
- package/template/.pi/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.pi/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +2 -2
- package/template/.pi/skills/yss-repository/SKILL.md +1 -0
- package/template/.pi/skills/yss-stage-decision/SKILL.md +2 -0
- package/template/.pi/skills/yss-tactical-design/SKILL.md +2 -0
- package/template/.pi/skills/yss-technical-design/SKILL.md +2 -0
- package/template/.pi/skills/yss-technical-design/scripts/engineering-design.mjs +1 -1
- package/template/.pi/skills/yss-technical-design/scripts/validate-technical-design.mjs +11 -8
- package/template/AGENTS.md +2 -0
- package/template/CONTEXT.md +2 -1
- package/template/README.md +3 -5
- package/template/docs/agents/issue-tracker.md +7 -0
- package/template/docs/agents/skill-migrations.md +4 -0
- package/template/docs/agents/yss-skill-registry.yaml +7 -6
- package/template/docs/design/README.md +0 -1
- package/template/docs/design/design.md +2 -2
- package/template/docs/design/templates/interaction-spec-template.md +1 -1
- package/template/docs/engineering/evidence/aliyun-artifact-resolution.json +446 -0
- package/template/docs/process/contract-reading.md +46 -0
- package/template/docs/process/lifecycle-artifact-map.md +2 -2
- package/template/docs/process/lifecycle-registry-baseline.json +2 -1
- package/template/docs/process/lifecycle-registry.yaml +10 -4
- package/template/docs/process/schemas/api-contract-decision-v2.schema.json +198 -0
- package/template/docs/process/schemas/digital-human-task-package.schema.json +8 -0
- package/template/docs/process/schemas/lifecycle-checkpoint.schema.json +259 -0
- package/template/docs/process/schemas/stage-tracking.schema.json +259 -0
- package/template/docs/process/stage-tracking.md +62 -0
- package/template/docs/process/strategic-handoff-package.md +8 -0
- package/template/docs/user-guide//347/224/250/346/210/267/346/211/213/345/206/214.md +2 -0
- package/template/docs/user-guide//347/224/250/346/210/267/346/211/213/345/206/214/347/264/242/345/274/225.md +1 -0
- package/template/docs/user-guide//351/230/266/346/256/265/346/216/245/345/205/245/344/270/216/344/272/247/347/211/251/345/244/215/347/224/250/344/275/277/347/224/250/346/211/213/345/206/214.md +243 -0
- package/template/scripts/api-contract-decision +16 -0
- package/template/scripts/complete-backend-delivery +17 -0
- package/template/scripts/contract +13 -0
- package/template/scripts/design-md +2 -0
- package/template/scripts/dispatch-slice-task +13 -0
- package/template/scripts/lib/api-contract-decision.mjs +45 -4
- package/template/scripts/lib/approval-record.mjs +1 -1
- package/template/scripts/lib/approved-execution-context.mjs +35 -7
- package/template/scripts/lib/backend-architecture.mjs +2 -2
- package/template/scripts/lib/backend-delivery-terminal.mjs +51 -0
- package/template/scripts/lib/backend-platform-provenance.mjs +1 -1
- package/template/scripts/lib/backend-platform.mjs +1 -1
- package/template/scripts/lib/backend-scaffold-prerequisites.mjs +1 -1
- package/template/scripts/lib/context-contract.mjs +1 -1
- package/template/scripts/lib/context-reconciliation.mjs +1 -1
- package/template/scripts/lib/contract-source.mjs +22 -0
- package/template/scripts/lib/contract-views.mjs +109 -0
- package/template/scripts/lib/delivery-preflight.mjs +3 -2
- package/template/scripts/lib/design-md.mjs +230 -0
- package/template/scripts/lib/digital-human-roles.mjs +1 -1
- package/template/scripts/lib/existing-backend-architecture.mjs +4 -3
- package/template/scripts/lib/existing-ui-baseline.mjs +4 -2
- package/template/scripts/lib/frontend-delivery-boundary.mjs +1 -1
- package/template/scripts/lib/frontend-delivery.mjs +1 -1
- package/template/scripts/lib/harness-execution-scope.mjs +15 -1
- package/template/scripts/lib/implementation-contract-compiler.mjs +4 -4
- package/template/scripts/lib/json-schema.mjs +19 -4
- package/template/scripts/lib/lifecycle-context-query.mjs +5 -1
- package/template/scripts/lib/lifecycle-controls.mjs +1 -1
- package/template/scripts/lib/lifecycle-execution-scope.mjs +92 -0
- package/template/scripts/lib/lifecycle-registry.mjs +2 -1
- package/template/scripts/lib/lifecycle-transition.mjs +21 -3
- package/template/scripts/lib/openapi-draft-validation.mjs +2 -1
- package/template/scripts/lib/skill-registry.mjs +10 -3
- package/template/scripts/lib/skill-supply-chain.mjs +33 -14
- package/template/scripts/lib/slice-contract-preparation.mjs +16 -14
- package/template/scripts/lib/slice-contract-views.mjs +1 -1
- package/template/scripts/lib/slice-contract.mjs +18 -3
- package/template/scripts/lib/slice-execution-preflight.mjs +7 -3
- package/template/scripts/lib/slice-repositories.mjs +1 -1
- package/template/scripts/lib/slice-task-package.mjs +3 -2
- package/template/scripts/lib/stage-tracking-migration.mjs +176 -0
- package/template/scripts/lib/stage-tracking.mjs +184 -0
- package/template/scripts/lib/strategic-handoff-consumption.mjs +5 -4
- package/template/scripts/lib/strategic-handoff-io.mjs +5 -2
- package/template/scripts/lib/strategic-handoff-routing.mjs +31 -0
- package/template/scripts/lib/strategic-handoff.mjs +4 -2
- package/template/scripts/lib/task-package.mjs +2 -0
- package/template/scripts/lib/technical-design-boundary.mjs +4 -2
- package/template/scripts/lib/ui-baseline.mjs +1 -1
- package/template/scripts/lib/user-decision.mjs +1 -1
- package/template/scripts/lib/validation-phase.mjs +72 -0
- package/template/scripts/stage-tracking +25 -0
- package/template/scripts/strategic-consumer-entry +47 -0
- package/template/scripts/verify-context-reconciliation +4 -3
- package/template/scripts/verify-lifecycle-checkpoint +10 -0
- package/template/scripts/verify-project-instance +11 -10
- package/template/skills-lock.json +17 -32
- package/template.manifest.json +18 -3
- package/template.snapshot.json +5 -5
- package/template/.agents/skills/grill-me/SKILL.md +0 -7
- package/template/.agents/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.agents/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.agents/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.codex/skills/grill-me/SKILL.md +0 -7
- package/template/.codex/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.codex/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.codex/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.cursor/skills/grill-me/SKILL.md +0 -7
- package/template/.cursor/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.pi/skills/grill-me/SKILL.md +0 -7
- package/template/.pi/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.pi/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.pi/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/docs/agents/yss-plugin-dependency-contract.md +0 -45
- package/template/docs/api/.gitkeep +0 -0
- package/template/docs/api/specs/.gitkeep +0 -0
- package/template/docs/architecture/.gitkeep +0 -0
- package/template/docs/design/facts/antdv-next/1.5.2/cli-help.txt +0 -38
- package/template/docs/design/facts/antdv-next/1.5.2/component-list.json +0 -434
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/info.json +0 -246
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/semantic.json +0 -40
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/token.json +0 -32
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/info.json +0 -190
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/semantic.json +0 -20
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/token.json +0 -256
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/info.json +0 -460
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/token.json +0 -123
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/info.json +0 -646
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/semantic.json +0 -50
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/token.json +0 -130
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/info.json +0 -640
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/token.json +0 -172
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/info.json +0 -1010
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/token.json +0 -263
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/info.json +0 -321
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/semantic.json +0 -25
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/token.json +0 -25
- package/template/docs/design/facts/antdv-next/1.5.2/design-md.json +0 -3
- package/template/docs/design/facts/antdv-next/1.5.2/manifest.json +0 -215
- package/template/docs/design/facts/antdv-next/1.5.2/resolution-probe.json +0 -5
- package/template/docs/design/prototypes/.gitkeep +0 -1
- package/template/docs/implementation/.gitkeep +0 -1
- package/template/docs/plan/IDEATION.md +0 -96
- package/template/docs/process/PDCA-SCRUM.md +0 -10
- package/template/docs/process/harness-executive-blueprint.md +0 -10
- package/template/docs/releases/.gitkeep +0 -1
- package/template/docs/requirements/README.md +0 -85
- package/template/docs/requirements/tickets/.gitkeep +0 -1
- package/template/docs/templates/agent-brief-template.md +0 -46
- package/template/docs/templates/architecture-proposal-template.md +0 -18
- package/template/docs/templates/implementation-plan-template.md +0 -16
- package/template/docs/templates/implementation-routing-template.md +0 -350
- package/template/docs/templates/requirement-freeze-template.md +0 -63
- package/template/docs/templates/risk-register-template.md +0 -11
- package/template/docs/templates/user-story-template.md +0 -20
- package/template/docs/testing/README.md +0 -110
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Alert",
|
|
3
|
-
"semanticStructure": [
|
|
4
|
-
{
|
|
5
|
-
"key": "root",
|
|
6
|
-
"description": "Root element with border, background, padding, border-radius, and positioning styles for the alert container",
|
|
7
|
-
"descriptionZh": "根元素,包含边框、背景色、内边距、圆角、位置布局等警告提示框的基础样式"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"key": "section",
|
|
11
|
-
"description": "Content element with flex layout controlling content area typography and minimum width",
|
|
12
|
-
"descriptionZh": "内容元素,采用 flex 布局控制内容区域的排版和最小宽度"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"key": "icon",
|
|
16
|
-
"description": "Icon element with color, line-height, and margin styles, supporting different status icon types",
|
|
17
|
-
"descriptionZh": "图标元素,包含图标的颜色、行高、外边距等样式,支持不同类型的状态图标"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"key": "title",
|
|
21
|
-
"description": "Title element with text color and font styling for the alert title",
|
|
22
|
-
"descriptionZh": "标题元素,包含标题文字的颜色、字体等样式"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"key": "description",
|
|
26
|
-
"description": "Description element with font-size and line-height styles for additional content",
|
|
27
|
-
"descriptionZh": "描述元素,包含描述文字的字体大小、行高等排版样式"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"key": "actions",
|
|
31
|
-
"description": "Actions element with layout and spacing styles for action buttons",
|
|
32
|
-
"descriptionZh": "操作组元素,包含操作按钮的布局和间距样式"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"key": "close",
|
|
36
|
-
"description": "Close button element with basic button styling",
|
|
37
|
-
"descriptionZh": "关闭按钮元素,包含按钮的基础样式"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"token": [
|
|
3
|
-
{
|
|
4
|
-
"name": "borderRadius",
|
|
5
|
-
"type": "BorderRadius<string | number> | undefined",
|
|
6
|
-
"default": "8",
|
|
7
|
-
"description": "Border radius of alert",
|
|
8
|
-
"descriptionZh": "组件圆角"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"name": "defaultPadding",
|
|
12
|
-
"type": "Padding<string | number> | undefined",
|
|
13
|
-
"default": "8px 12px",
|
|
14
|
-
"description": "Default padding",
|
|
15
|
-
"descriptionZh": "默认内间距"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "withDescriptionIconSize",
|
|
19
|
-
"type": "string | number",
|
|
20
|
-
"default": "24",
|
|
21
|
-
"description": "Icon size with description",
|
|
22
|
-
"descriptionZh": "带有描述时的图标尺寸"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "withDescriptionPadding",
|
|
26
|
-
"type": "Padding<string | number> | undefined",
|
|
27
|
-
"default": "20px 24px",
|
|
28
|
-
"description": "Padding with description",
|
|
29
|
-
"descriptionZh": "带有描述的内间距"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "Button",
|
|
3
|
-
"name": "basic",
|
|
4
|
-
"title": "Syntactic sugar",
|
|
5
|
-
"description": "Through the `type` syntactic sugar, use the preset button styles: `primary` buttons, `default` buttons, `dashed` buttons, `text` buttons, and `link` buttons.",
|
|
6
|
-
"code": "<template>\n <a-flex gap=\"small\" wrap>\n <a-button type=\"primary\">\n Primary Button\n </a-button>\n <a-button>Default Button</a-button>\n <a-button type=\"dashed\">\n Dashed Button\n </a-button>\n <a-button type=\"text\">\n Text Button\n </a-button>\n <a-button type=\"link\">\n Link Button\n </a-button>\n </a-flex>\n</template>"
|
|
7
|
-
}
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Button",
|
|
3
|
-
"nameZh": "按钮",
|
|
4
|
-
"description": "To trigger an operation.",
|
|
5
|
-
"props": [
|
|
6
|
-
{
|
|
7
|
-
"name": "autoInsertSpace",
|
|
8
|
-
"type": "boolean",
|
|
9
|
-
"default": "`true`",
|
|
10
|
-
"description": "We add a space between two Chinese characters by default. Set `autoInsertSpace` to `false` to disable.",
|
|
11
|
-
"descriptionZh": "我们默认提供两个汉字之间的空格,可以设置 `autoInsertSpace` 为 `false` 关闭"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"name": "block",
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"default": "false",
|
|
17
|
-
"description": "Option to fit button width to its parent width",
|
|
18
|
-
"descriptionZh": "将按钮宽度调整为其父宽度的选项"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "classes",
|
|
22
|
-
"type": "Record<[SemanticDOM](#semantic-dom), string> \\| (info: { props })=> Record<[SemanticDOM](#semantic-dom), string>",
|
|
23
|
-
"default": "-",
|
|
24
|
-
"description": "Customize class for each semantic structure inside the component. Supports object or function.",
|
|
25
|
-
"descriptionZh": "用于自定义组件内部各语义化结构的 class,支持对象或函数"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "color",
|
|
29
|
-
"type": "`default` \\| `primary` \\| `danger` \\| [PresetColors](#presetcolors)",
|
|
30
|
-
"default": "-",
|
|
31
|
-
"description": "Set button color",
|
|
32
|
-
"descriptionZh": "设置按钮的颜色"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "danger",
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"default": "false",
|
|
38
|
-
"description": "Syntactic sugar. Set the danger status of button. Will follow `color` if provided",
|
|
39
|
-
"descriptionZh": "语法糖,设置危险按钮。当设置 `color` 时会以后者为准"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "disabled",
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"default": "false",
|
|
45
|
-
"description": "Disabled state of button",
|
|
46
|
-
"descriptionZh": "设置按钮失效状态"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "ghost",
|
|
50
|
-
"type": "boolean",
|
|
51
|
-
"default": "false",
|
|
52
|
-
"description": "Make background transparent and invert text and border colors",
|
|
53
|
-
"descriptionZh": "幽灵属性,使按钮背景透明"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "href",
|
|
57
|
-
"type": "string",
|
|
58
|
-
"default": "-",
|
|
59
|
-
"description": "Redirect url of link button",
|
|
60
|
-
"descriptionZh": "点击跳转的地址,指定此属性 button 的行为和 a 链接一致"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "htmlType",
|
|
64
|
-
"type": "`submit` \\| `reset` \\| `button`",
|
|
65
|
-
"default": "`button`",
|
|
66
|
-
"description": "Set the original html `type` of `button`, see: [HTML Standard](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type)",
|
|
67
|
-
"descriptionZh": "设置 `button` 原生的 `type` 值,可选值请参考 [HTML 标准](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/button#type)"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "iconPlacement",
|
|
71
|
-
"type": "`start` \\| `end`",
|
|
72
|
-
"default": "`start`",
|
|
73
|
-
"description": "Set the icon position of button",
|
|
74
|
-
"descriptionZh": "设置按钮图标组件的位置"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "loading",
|
|
78
|
-
"type": "boolean \\| { delay: number, icon: VueNode }",
|
|
79
|
-
"default": "false",
|
|
80
|
-
"description": "Set the loading status of button",
|
|
81
|
-
"descriptionZh": "设置按钮载入状态"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"name": "loadingIcon",
|
|
85
|
-
"type": "VueNode",
|
|
86
|
-
"default": "`<LoadingOutlined />`",
|
|
87
|
-
"description": "(Global config only) Set the loading icon of button",
|
|
88
|
-
"descriptionZh": "(仅支持全局配置)设置按钮的加载图标"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "shape",
|
|
92
|
-
"type": "`default` \\| `circle` \\| `round`",
|
|
93
|
-
"default": "`default`",
|
|
94
|
-
"description": "Can be used to set button shape",
|
|
95
|
-
"descriptionZh": "设置按钮形状"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "size",
|
|
99
|
-
"type": "`large` \\| `middle` \\| `small`",
|
|
100
|
-
"default": "`middle`",
|
|
101
|
-
"description": "Set the size of button",
|
|
102
|
-
"descriptionZh": "设置按钮大小"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "styles",
|
|
106
|
-
"type": "Record<[SemanticDOM](#semantic-dom), CSSProperties> \\| (info: { props })=> Record<[SemanticDOM](#semantic-dom), CSSProperties>",
|
|
107
|
-
"default": "-",
|
|
108
|
-
"description": "Customize inline style for each semantic structure inside the component. Supports object or function.",
|
|
109
|
-
"descriptionZh": "用于自定义组件内部各语义化结构的行内 style,支持对象或函数"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"name": "target",
|
|
113
|
-
"type": "string",
|
|
114
|
-
"default": "-",
|
|
115
|
-
"description": "Same as target attribute of a, works when href is specified",
|
|
116
|
-
"descriptionZh": "相当于 a 链接的 target 属性,href 存在时生效"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "type",
|
|
120
|
-
"type": "`primary` \\| `dashed` \\| `link` \\| `text` \\| `default`",
|
|
121
|
-
"default": "`default`",
|
|
122
|
-
"description": "Syntactic sugar. Set button type. Will follow `variant` & `color` if provided",
|
|
123
|
-
"descriptionZh": "语法糖,设置按钮类型。当设置 `variant` 与 `color` 时以后者为准"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"name": "variant",
|
|
127
|
-
"type": "`outlined` \\| `dashed` \\| `solid` \\| `filled` \\| `text` \\| `link`",
|
|
128
|
-
"default": "-",
|
|
129
|
-
"description": "Set button variant",
|
|
130
|
-
"descriptionZh": "设置按钮的变体"
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
"events": [
|
|
134
|
-
{
|
|
135
|
-
"name": "click",
|
|
136
|
-
"type": "`(event: MouseEvent) => void`",
|
|
137
|
-
"default": "",
|
|
138
|
-
"description": "Callback executed when button is clicked",
|
|
139
|
-
"descriptionZh": "点击按钮时的回调"
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
"slots": [
|
|
143
|
-
{
|
|
144
|
-
"name": "icon",
|
|
145
|
-
"type": "-",
|
|
146
|
-
"default": "",
|
|
147
|
-
"description": "Set the icon component of button",
|
|
148
|
-
"descriptionZh": "设置按钮的图标组件"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "loadingIcon",
|
|
152
|
-
"type": "-",
|
|
153
|
-
"default": "",
|
|
154
|
-
"description": "Set the loading icon component of button",
|
|
155
|
-
"descriptionZh": "设置按钮载入的图标组件"
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"methods": [],
|
|
159
|
-
"subComponentProps": {},
|
|
160
|
-
"commonProps": [
|
|
161
|
-
{
|
|
162
|
-
"name": "style",
|
|
163
|
-
"type": "CSSProperties",
|
|
164
|
-
"default": "-",
|
|
165
|
-
"description": "The additional style",
|
|
166
|
-
"descriptionZh": "自定义样式"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"name": "class",
|
|
170
|
-
"type": "string",
|
|
171
|
-
"default": "-",
|
|
172
|
-
"description": "The additional css class",
|
|
173
|
-
"descriptionZh": "自定义类名"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"name": "rootClass",
|
|
177
|
-
"type": "string",
|
|
178
|
-
"default": "-",
|
|
179
|
-
"description": "ClassName on the root element",
|
|
180
|
-
"descriptionZh": "添加在组件最外层的 className"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"name": "autoFocus",
|
|
184
|
-
"type": "boolean",
|
|
185
|
-
"default": "false",
|
|
186
|
-
"description": "Auto focus when component mounted, only effective for focusable elements like forms, links, etc.",
|
|
187
|
-
"descriptionZh": "自动获取焦点,仅对表单类、链接、交互容器等可聚焦元素生效"
|
|
188
|
-
}
|
|
189
|
-
]
|
|
190
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Button",
|
|
3
|
-
"semanticStructure": [
|
|
4
|
-
{
|
|
5
|
-
"key": "root",
|
|
6
|
-
"description": "Root element with comprehensive button styling including border, background, padding, border-radius, box-shadow, transitions, cursor, font-weight, alignment, and layout properties",
|
|
7
|
-
"descriptionZh": "根元素,包含边框样式、背景色、内边距、圆角、阴影效果、过渡动画、光标样式、文字权重、对齐方式等完整的按钮外观样式"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"key": "content",
|
|
11
|
-
"description": "Content element that wraps button text with typography styles including nowrap, text-align center, and Chinese character spacing optimization",
|
|
12
|
-
"descriptionZh": "内容元素,包装按钮文本内容,控制文本的不换行显示、居中对齐、中文字符间距优化等文本排版样式"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"key": "icon",
|
|
16
|
-
"description": "Icon element with font-size, color inheritance, and SVG style reset for proper icon display",
|
|
17
|
-
"descriptionZh": "图标元素,包含图标的字体大小、颜色继承、SVG 样式重置等图标显示相关样式"
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"token": [
|
|
3
|
-
{
|
|
4
|
-
"name": "contentFontSize",
|
|
5
|
-
"type": "number",
|
|
6
|
-
"default": "14",
|
|
7
|
-
"description": "Font size of button content",
|
|
8
|
-
"descriptionZh": "按钮内容字体大小"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"name": "contentFontSizeLG",
|
|
12
|
-
"type": "number",
|
|
13
|
-
"default": "16",
|
|
14
|
-
"description": "Font size of large button content",
|
|
15
|
-
"descriptionZh": "大号按钮内容字体大小"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "contentFontSizeSM",
|
|
19
|
-
"type": "number",
|
|
20
|
-
"default": "14",
|
|
21
|
-
"description": "Font size of small button content",
|
|
22
|
-
"descriptionZh": "小号按钮内容字体大小"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "dangerColor",
|
|
26
|
-
"type": "string",
|
|
27
|
-
"default": "#fff",
|
|
28
|
-
"description": "Text color of danger button",
|
|
29
|
-
"descriptionZh": "危险按钮文本颜色"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "dangerShadow",
|
|
33
|
-
"type": "string",
|
|
34
|
-
"default": "0 2px 0 rgba(255,38,5,0.06)",
|
|
35
|
-
"description": "Shadow of danger button",
|
|
36
|
-
"descriptionZh": "危险按钮阴影"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "dashedBgDisabled",
|
|
40
|
-
"type": "string",
|
|
41
|
-
"default": "rgba(0,0,0,0.04)",
|
|
42
|
-
"description": "",
|
|
43
|
-
"descriptionZh": "type='dashed' 禁用状态下的背景颜色"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "defaultActiveBg",
|
|
47
|
-
"type": "string",
|
|
48
|
-
"default": "#ffffff",
|
|
49
|
-
"description": "Background color of default button when active",
|
|
50
|
-
"descriptionZh": "默认按钮激活态背景色"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "defaultActiveBorderColor",
|
|
54
|
-
"type": "string",
|
|
55
|
-
"default": "#0958d9",
|
|
56
|
-
"description": "Border color of default button when active",
|
|
57
|
-
"descriptionZh": "默认按钮激活态边框颜色"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "defaultActiveColor",
|
|
61
|
-
"type": "string",
|
|
62
|
-
"default": "#0958d9",
|
|
63
|
-
"description": "Text color of default button when active",
|
|
64
|
-
"descriptionZh": "默认按钮激活态文字颜色"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"name": "defaultBg",
|
|
68
|
-
"type": "string",
|
|
69
|
-
"default": "#ffffff",
|
|
70
|
-
"description": "Background color of default button",
|
|
71
|
-
"descriptionZh": "默认按钮背景色"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "defaultBgDisabled",
|
|
75
|
-
"type": "string",
|
|
76
|
-
"default": "rgba(0,0,0,0.04)",
|
|
77
|
-
"description": "",
|
|
78
|
-
"descriptionZh": "type='default' 禁用状态下的背景颜色"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"name": "defaultBorderColor",
|
|
82
|
-
"type": "string",
|
|
83
|
-
"default": "#d9d9d9",
|
|
84
|
-
"description": "Border color of default button",
|
|
85
|
-
"descriptionZh": "默认按钮边框颜色"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"name": "defaultColor",
|
|
89
|
-
"type": "string",
|
|
90
|
-
"default": "rgba(0,0,0,0.88)",
|
|
91
|
-
"description": "Text color of default button",
|
|
92
|
-
"descriptionZh": "默认按钮文本颜色"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "defaultGhostBorderColor",
|
|
96
|
-
"type": "string",
|
|
97
|
-
"default": "#ffffff",
|
|
98
|
-
"description": "Border color of default ghost button",
|
|
99
|
-
"descriptionZh": "默认幽灵按钮边框颜色"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "defaultGhostColor",
|
|
103
|
-
"type": "string",
|
|
104
|
-
"default": "#ffffff",
|
|
105
|
-
"description": "Text color of default ghost button",
|
|
106
|
-
"descriptionZh": "默认幽灵按钮文本颜色"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "defaultHoverBg",
|
|
110
|
-
"type": "string",
|
|
111
|
-
"default": "#ffffff",
|
|
112
|
-
"description": "Background color of default button when hover",
|
|
113
|
-
"descriptionZh": "默认按钮悬浮态背景色"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"name": "defaultHoverBorderColor",
|
|
117
|
-
"type": "string",
|
|
118
|
-
"default": "#4096ff",
|
|
119
|
-
"description": "Border color of default button",
|
|
120
|
-
"descriptionZh": "默认按钮悬浮态边框颜色"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "defaultHoverColor",
|
|
124
|
-
"type": "string",
|
|
125
|
-
"default": "#4096ff",
|
|
126
|
-
"description": "Text color of default button when hover",
|
|
127
|
-
"descriptionZh": "默认按钮悬浮态文本颜色"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"name": "defaultShadow",
|
|
131
|
-
"type": "string",
|
|
132
|
-
"default": "0 2px 0 rgba(0,0,0,0.02)",
|
|
133
|
-
"description": "Shadow of default button",
|
|
134
|
-
"descriptionZh": "默认按钮阴影"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "fontWeight",
|
|
138
|
-
"type": "FontWeight | undefined",
|
|
139
|
-
"default": "400",
|
|
140
|
-
"description": "Font weight of text",
|
|
141
|
-
"descriptionZh": "文字字重"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"name": "ghostBg",
|
|
145
|
-
"type": "string",
|
|
146
|
-
"default": "transparent",
|
|
147
|
-
"description": "Background color of ghost button",
|
|
148
|
-
"descriptionZh": "幽灵按钮背景色"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "iconGap",
|
|
152
|
-
"type": "Gap<string | number> | undefined",
|
|
153
|
-
"default": "8",
|
|
154
|
-
"description": "Gap between icon and text",
|
|
155
|
-
"descriptionZh": "图标文字间距"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "linkHoverBg",
|
|
159
|
-
"type": "string",
|
|
160
|
-
"default": "transparent",
|
|
161
|
-
"description": "Background color of link button when hover",
|
|
162
|
-
"descriptionZh": "链接按钮悬浮态背景色"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"name": "onlyIconSize",
|
|
166
|
-
"type": "string | number",
|
|
167
|
-
"default": "inherit",
|
|
168
|
-
"description": "Icon size of button which only contains icon",
|
|
169
|
-
"descriptionZh": "只有图标的按钮图标尺寸"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"name": "onlyIconSizeLG",
|
|
173
|
-
"type": "string | number",
|
|
174
|
-
"default": "inherit",
|
|
175
|
-
"description": "Icon size of large button which only contains icon",
|
|
176
|
-
"descriptionZh": "大号只有图标的按钮图标尺寸"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "onlyIconSizeSM",
|
|
180
|
-
"type": "string | number",
|
|
181
|
-
"default": "inherit",
|
|
182
|
-
"description": "Icon size of small button which only contains icon",
|
|
183
|
-
"descriptionZh": "小号只有图标的按钮图标尺寸"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"name": "paddingInline",
|
|
187
|
-
"type": "PaddingInline<string | number> | undefined",
|
|
188
|
-
"default": "15",
|
|
189
|
-
"description": "Horizontal padding of button",
|
|
190
|
-
"descriptionZh": "按钮横向内间距"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"name": "paddingInlineLG",
|
|
194
|
-
"type": "PaddingInline<string | number> | undefined",
|
|
195
|
-
"default": "15",
|
|
196
|
-
"description": "Horizontal padding of large button",
|
|
197
|
-
"descriptionZh": "大号按钮横向内间距"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"name": "paddingInlineSM",
|
|
201
|
-
"type": "PaddingInline<string | number> | undefined",
|
|
202
|
-
"default": "7",
|
|
203
|
-
"description": "Horizontal padding of small button",
|
|
204
|
-
"descriptionZh": "小号按钮横向内间距"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"name": "primaryColor",
|
|
208
|
-
"type": "string",
|
|
209
|
-
"default": "#fff",
|
|
210
|
-
"description": "Text color of primary button",
|
|
211
|
-
"descriptionZh": "主要按钮文本颜色"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "primaryShadow",
|
|
215
|
-
"type": "string",
|
|
216
|
-
"default": "0 2px 0 rgba(5,145,255,0.1)",
|
|
217
|
-
"description": "Shadow of primary button",
|
|
218
|
-
"descriptionZh": "主要按钮阴影"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "solidTextColor",
|
|
222
|
-
"type": "string",
|
|
223
|
-
"default": "#fff",
|
|
224
|
-
"description": "Default text color for solid buttons.",
|
|
225
|
-
"descriptionZh": "默认实心按钮的文本色"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "textHoverBg",
|
|
229
|
-
"type": "string",
|
|
230
|
-
"default": "rgba(0,0,0,0.04)",
|
|
231
|
-
"description": "Background color of text button when hover",
|
|
232
|
-
"descriptionZh": "文本按钮悬浮态背景色"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "textTextActiveColor",
|
|
236
|
-
"type": "string",
|
|
237
|
-
"default": "rgba(0,0,0,0.88)",
|
|
238
|
-
"description": "Default text color for text buttons on active",
|
|
239
|
-
"descriptionZh": "默认文本按钮激活态文字颜色"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "textTextColor",
|
|
243
|
-
"type": "string",
|
|
244
|
-
"default": "rgba(0,0,0,0.88)",
|
|
245
|
-
"description": "Default text color for text buttons",
|
|
246
|
-
"descriptionZh": "默认文本按钮的文本色"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"name": "textTextHoverColor",
|
|
250
|
-
"type": "string",
|
|
251
|
-
"default": "rgba(0,0,0,0.88)",
|
|
252
|
-
"description": "Default text color for text buttons on hover",
|
|
253
|
-
"descriptionZh": "默认文本按钮悬浮态文本颜色"
|
|
254
|
-
}
|
|
255
|
-
]
|
|
256
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "Input",
|
|
3
|
-
"name": "basic",
|
|
4
|
-
"title": "Basic usage",
|
|
5
|
-
"description": "Basic usage example.",
|
|
6
|
-
"code": "<script setup lang=\"ts\">\nimport { ref } from 'vue'\n\nconst value = ref()\n</script>\n\n<template>\n <a-input v-model:value=\"value\" placeholder=\"Basic usage\" />\n</template>"
|
|
7
|
-
}
|