Update API doc

pull/7007/merge
GitHub Actions Bot 2025-01-14 12:00:46 +00:00
parent d4c6dbfc1f
commit a983a7fc71
3 changed files with 46 additions and 24 deletions

View File

@ -98288,22 +98288,22 @@
"description": "Checked color of icon" "description": "Checked color of icon"
}, },
{ {
"name": "content.left", "name": "content.padding",
"token": "togglebutton.content.left", "token": "togglebutton.content.padding",
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Left of content" "description": "Padding of content"
}, },
{ {
"name": "content.top", "name": "content.borderRadius",
"token": "togglebutton.content.top", "token": "togglebutton.content.border.radius",
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Top of content" "description": "Border radius of content"
}, },
{ {
"name": "content.checkedShadow", "name": "content.checkedShadow",
@ -98314,6 +98314,24 @@
"default": "", "default": "",
"description": "Checked shadow of content" "description": "Checked shadow of content"
}, },
{
"name": "sm.padding",
"token": "togglebutton.content.sm.padding",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Sm padding of content"
},
{
"name": "lg.padding",
"token": "togglebutton.content.lg.padding",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Lg padding of content"
},
{ {
"name": "content.checkedBackground", "name": "content.checkedBackground",
"token": "togglebutton.content.checked.background", "token": "togglebutton.content.checked.background",

View File

@ -221,15 +221,15 @@ export interface ToggleButtonDesignTokens extends ColorSchemeDesignToken<ToggleB
*/ */
content?: { content?: {
/** /**
* Padding of the content * Padding of content
* *
* @designToken togglebutton.content.padding * @designToken togglebutton.content.padding
*/ */
padding?: string; padding?: string;
/** /**
* Border radius of the content * Border radius of content
* *
* @designToken togglebutton.border.radius * @designToken togglebutton.content.border.radius
*/ */
borderRadius?: string; borderRadius?: string;
/** /**
@ -238,12 +238,6 @@ export interface ToggleButtonDesignTokens extends ColorSchemeDesignToken<ToggleB
* @designToken togglebutton.content.checked.shadow * @designToken togglebutton.content.checked.shadow
*/ */
checkedShadow?: string; checkedShadow?: string;
/**
* Checked background of content
*
* @designToken togglebutton.content.checked.background
*/
checkedBackground?: string;
/** /**
* Sm of content * Sm of content
*/ */
@ -256,7 +250,7 @@ export interface ToggleButtonDesignTokens extends ColorSchemeDesignToken<ToggleB
padding?: string; padding?: string;
}; };
/** /**
* Lg of root * Lg of content
*/ */
lg?: { lg?: {
/** /**
@ -266,5 +260,11 @@ export interface ToggleButtonDesignTokens extends ColorSchemeDesignToken<ToggleB
*/ */
padding?: string; padding?: string;
}; };
/**
* Checked background of content
*
* @designToken togglebutton.content.checked.background
*/
checkedBackground?: string;
}; };
} }

View File

@ -231,7 +231,7 @@ importers:
devDependencies: devDependencies:
'@nuxt/devtools': '@nuxt/devtools':
specifier: ^0.8.5 specifier: ^0.8.5
version: 0.8.5(nuxt@3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3))(rollup@4.30.1) version: 0.8.5(nuxt@3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3))(rollup@4.30.1)(vite@6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0))
'@nuxt/eslint-config': '@nuxt/eslint-config':
specifier: ^0.2.0 specifier: ^0.2.0
version: 0.2.0(eslint@8.57.1) version: 0.2.0(eslint@8.57.1)
@ -8234,12 +8234,13 @@ snapshots:
'@nuxt/devalue@2.0.2': {} '@nuxt/devalue@2.0.2': {}
'@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3))(rollup@4.30.1)': '@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3))(rollup@4.30.1)(vite@6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0))':
dependencies: dependencies:
'@nuxt/kit': 3.15.1(magicast@0.3.5)(rollup@4.30.1) '@nuxt/kit': 3.15.1(magicast@0.3.5)(rollup@4.30.1)
'@nuxt/schema': 3.15.1 '@nuxt/schema': 3.15.1
execa: 7.2.0 execa: 7.2.0
nuxt: 3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3) nuxt: 3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3)
vite: 6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0)
transitivePeerDependencies: transitivePeerDependencies:
- magicast - magicast
- rollup - rollup
@ -8258,10 +8259,10 @@ snapshots:
rc9: 2.1.2 rc9: 2.1.2
semver: 7.6.3 semver: 7.6.3
'@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3))(rollup@4.30.1)': '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3))(rollup@4.30.1)(vite@6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0))':
dependencies: dependencies:
'@antfu/utils': 0.7.10 '@antfu/utils': 0.7.10
'@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3))(rollup@4.30.1) '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.70)(db0@0.2.1)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.1)(terser@5.37.0)(typescript@5.7.3))(rollup@4.30.1)(vite@6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0))
'@nuxt/devtools-wizard': 0.8.5 '@nuxt/devtools-wizard': 0.8.5
'@nuxt/kit': 3.15.1(magicast@0.3.5)(rollup@4.30.1) '@nuxt/kit': 3.15.1(magicast@0.3.5)(rollup@4.30.1)
birpc: 0.2.19 birpc: 0.2.19
@ -8292,8 +8293,9 @@ snapshots:
simple-git: 3.27.0 simple-git: 3.27.0
sirv: 2.0.4 sirv: 2.0.4
unimport: 3.14.6(rollup@4.30.1) unimport: 3.14.6(rollup@4.30.1)
vite-plugin-inspect: 0.7.42(@nuxt/kit@3.15.1(magicast@0.3.5)(rollup@4.30.1))(rollup@4.30.1) vite: 6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0)
vite-plugin-vue-inspector: 3.7.2 vite-plugin-inspect: 0.7.42(@nuxt/kit@3.15.1(magicast@0.3.5)(rollup@4.30.1))(rollup@4.30.1)(vite@6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0))
vite-plugin-vue-inspector: 3.7.2(vite@6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0))
wait-on: 7.2.0 wait-on: 7.2.0
which: 3.0.1 which: 3.0.1
ws: 8.18.0 ws: 8.18.0
@ -14002,7 +14004,7 @@ snapshots:
optionator: 0.9.4 optionator: 0.9.4
typescript: 5.7.3 typescript: 5.7.3
vite-plugin-inspect@0.7.42(@nuxt/kit@3.15.1(magicast@0.3.5)(rollup@4.30.1))(rollup@4.30.1): vite-plugin-inspect@0.7.42(@nuxt/kit@3.15.1(magicast@0.3.5)(rollup@4.30.1))(rollup@4.30.1)(vite@6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0)):
dependencies: dependencies:
'@antfu/utils': 0.7.10 '@antfu/utils': 0.7.10
'@rollup/pluginutils': 5.1.4(rollup@4.30.1) '@rollup/pluginutils': 5.1.4(rollup@4.30.1)
@ -14012,13 +14014,14 @@ snapshots:
open: 9.1.0 open: 9.1.0
picocolors: 1.1.1 picocolors: 1.1.1
sirv: 2.0.4 sirv: 2.0.4
vite: 6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0)
optionalDependencies: optionalDependencies:
'@nuxt/kit': 3.15.1(magicast@0.3.5)(rollup@4.30.1) '@nuxt/kit': 3.15.1(magicast@0.3.5)(rollup@4.30.1)
transitivePeerDependencies: transitivePeerDependencies:
- rollup - rollup
- supports-color - supports-color
vite-plugin-vue-inspector@3.7.2: vite-plugin-vue-inspector@3.7.2(vite@6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0)):
dependencies: dependencies:
'@babel/core': 7.26.0 '@babel/core': 7.26.0
'@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.26.0) '@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.26.0)
@ -14029,6 +14032,7 @@ snapshots:
'@vue/compiler-dom': 3.5.13 '@vue/compiler-dom': 3.5.13
kolorist: 1.8.0 kolorist: 1.8.0
magic-string: 0.30.17 magic-string: 0.30.17
vite: 6.0.7(@types/node@18.19.70)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color