Skip to content

Commit 855069b

Browse files
committed
Fix doc comment
1 parent 5d183ba commit 855069b

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

packages/adaptive-ui/src/core/shadow/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export type ShadowValue = Shadow | DesignTokenMultiValue<Shadow> | string;
5858
/**
5959
* Creates a DesignToken that can be used for Shadow value.
6060
*
61-
* @param name - The token name in `css-identifier` casing.
61+
* @param name - The token name in `dotted.camelCase` casing.
6262
*
6363
* @public
6464
*/

packages/adaptive-ui/src/core/token-helpers-color.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { InteractiveState, InteractiveTokenGroup } from "./types.js";
2323
/**
2424
* Creates a DesignToken that can be used for interactive color recipe deltas.
2525
*
26-
* @param baseName - The base token name in `css-identifier` casing.
26+
* @param baseName - The base token name in `dotted.camelCase` casing.
2727
* @param state - The state for the recipe delta value, or a custom identifier in camelCase.
2828
* @param value - The value for the recipe delta.
2929
*
@@ -40,7 +40,7 @@ export function createTokenDelta(
4040
/**
4141
* Creates a DesignToken that can be used for color recipe minimum contrast.
4242
*
43-
* @param baseName - The base token name in `css-identifier` casing.
43+
* @param baseName - The base token name in `dotted.camelCase` casing.
4444
* @param value - The value for the recipe minimum contrast.
4545
*
4646
* @public
@@ -55,7 +55,7 @@ export function createTokenMinContrast(
5555
/**
5656
* Creates a DesignToken that can be used for a color recipe, optionally referencing a context color.
5757
*
58-
* @param baseName - The base token name in `css-identifier` casing.
58+
* @param baseName - The base token name in `dotted.camelCase` casing.
5959
* @param intendedFor - The style properties where this token is intended to be used.
6060
* @param evaluate - The function to call when the derived token needs to be evaluated.
6161
*
@@ -74,7 +74,7 @@ export function createTokenColorRecipe<T = Paint>(
7474
/**
7575
* Creates a DesignToken that can be used for a color recipe, referencing an interactive color set for context.
7676
*
77-
* @param baseName - The base token name in `css-identifier` casing.
77+
* @param baseName - The base token name in `dotted.camelCase` casing.
7878
* @param intendedFor - The style properties where this token is intended to be used.
7979
* @param evaluate - The function to call when the derived token needs to be evaluated.
8080
*
@@ -94,7 +94,7 @@ export function createTokenColorRecipeBySet<T = Paint>(
9494
* Creates a DesignToken that can be used for a color recipe that works with different {@link Palette}s.
9595
* Use in conjunction with {@link createTokenColorRecipeWithPalette}.
9696
*
97-
* @param baseName - The base token name in `css-identifier` casing.
97+
* @param baseName - The base token name in `dotted.camelCase` casing.
9898
* @param intendedFor - The style properties where this token is intended to be used.
9999
* @param evaluate - The function to call when the derived token needs to be evaluated.
100100
*

packages/adaptive-ui/src/core/token-helpers.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const { createTyped } = TypedCSSDesignToken;
2424
/**
2525
* Creates a DesignToken that can be used for color value.
2626
*
27-
* @param name - The token name in `css-identifier` casing.
27+
* @param name - The token name in `dotted.camelCase` casing.
2828
* @param intendedFor - The style properties where this token is intended to be used.
2929
*
3030
* @public
@@ -36,7 +36,7 @@ export function createTokenColor(name: string, intendedFor?: StyleProperty | Sty
3636
/**
3737
* Creates a DesignToken that can be used by other DesignTokens, but not directly in styles.
3838
*
39-
* @param name - The token name in `css-identifier` casing.
39+
* @param name - The token name in `dotted.camelCase` casing.
4040
* @param type - The allowed types for the token value.
4141
*
4242
* @public
@@ -48,7 +48,7 @@ export function createTokenNonCss<T>(name: string, type: DesignTokenType, intend
4848
/**
4949
* Creates a DesignToken that can be used for a recipe.
5050
*
51-
* @param baseName - The base token name in `css-identifier` casing.
51+
* @param baseName - The base token name in `dotted.camelCase` casing.
5252
* @param intendedFor - The style properties where this token is intended to be used.
5353
* @param evaluate - The function to call when the derived token needs to be evaluated.
5454
*
@@ -67,7 +67,7 @@ export function createTokenRecipe<TParam, TResult>(
6767
/**
6868
* Creates a DesignToken that can be used for thickness, sizes, and other dimension values in styles.
6969
*
70-
* @param name - The token name in `css-identifier` casing.
70+
* @param name - The token name in `dotted.camelCase` casing.
7171
* @param intendedFor - The style properties where this token is intended to be used.
7272
*
7373
* @public
@@ -79,7 +79,7 @@ export function createTokenDimension(name: string, intendedFor?: StyleProperty |
7979
/**
8080
* Creates a DesignToken that can be used for typography font family in styles.
8181
*
82-
* @param name - The token name in `css-identifier` casing.
82+
* @param name - The token name in `dotted.camelCase` casing.
8383
*
8484
* @public
8585
*/
@@ -90,7 +90,7 @@ export function createTokenFontFamily(name: string): TypedCSSDesignToken<string>
9090
/**
9191
* Creates a DesignToken that can be used for typography font size in styles.
9292
*
93-
* @param name - The token name in `css-identifier` casing.
93+
* @param name - The token name in `dotted.camelCase` casing.
9494
*
9595
* @public
9696
*/
@@ -101,7 +101,7 @@ export function createTokenFontSize(name: string): TypedCSSDesignToken<string> {
101101
/**
102102
* Creates a DesignToken that can be used for typography font style (normal, italic) in styles.
103103
*
104-
* @param name - The token name in `css-identifier` casing.
104+
* @param name - The token name in `dotted.camelCase` casing.
105105
*
106106
* @public
107107
*/
@@ -112,7 +112,7 @@ export function createTokenFontStyle(name: string): TypedCSSDesignToken<string>
112112
/**
113113
* Creates a DesignToken that can be used for typography font variations in styles.
114114
*
115-
* @param name - The token name in `css-identifier` casing.
115+
* @param name - The token name in `dotted.camelCase` casing.
116116
*
117117
* @public
118118
*/
@@ -123,7 +123,7 @@ export function createTokenFontVariations(name: string): TypedCSSDesignToken<str
123123
/**
124124
* Creates a DesignToken that can be used for typography font weight in styles.
125125
*
126-
* @param name - The token name in `css-identifier` casing.
126+
* @param name - The token name in `dotted.camelCase` casing.
127127
*
128128
* @public
129129
*/
@@ -134,7 +134,7 @@ export function createTokenFontWeight(name: string): TypedCSSDesignToken<number>
134134
/**
135135
* Creates a DesignToken that can be used for typography line height in styles.
136136
*
137-
* @param name - The token name in `css-identifier` casing.
137+
* @param name - The token name in `dotted.camelCase` casing.
138138
*
139139
* @public
140140
*/
@@ -145,7 +145,7 @@ export function createTokenLineHeight(name: string): TypedCSSDesignToken<string>
145145
/**
146146
* Creates a DesignToken that can be used for number value.
147147
*
148-
* @param name - The token name in `css-identifier` casing.
148+
* @param name - The token name in `dotted.camelCase` casing.
149149
* @param intendedFor - The style properties where this token is intended to be used.
150150
*
151151
* @public
@@ -157,7 +157,7 @@ export function createTokenNumber(name: string, intendedFor?: StyleProperty | St
157157
/**
158158
* Creates a DesignToken for number values that can be used by other DesignTokens, but not directly in styles.
159159
*
160-
* @param name - The token name in `css-identifier` casing.
160+
* @param name - The token name in `dotted.camelCase` casing.
161161
* @param intendedFor - The style properties where this token is intended to be used.
162162
*
163163
* @public
@@ -169,7 +169,7 @@ export function createTokenNumberNonStyling(name: string, intendedFor?: StylePro
169169
/**
170170
* Creates a DesignToken that can be used as a paint treatment (background, foreground, border, etc.) in styles.
171171
*
172-
* @param name - The token name in `css-identifier` casing.
172+
* @param name - The token name in `dotted.camelCase` casing.
173173
* @param intendedFor - The style properties where this token is intended to be used.
174174
*
175175
* @remarks
@@ -184,7 +184,7 @@ export function createTokenPaint(name: string, intendedFor?: StyleProperty | Sty
184184
/**
185185
* Creates a DesignToken that can be used as a color in styles.
186186
*
187-
* @param name - The token name in `css-identifier` casing.
187+
* @param name - The token name in `dotted.camelCase` casing.
188188
* @param intendedFor - The style properties where this token is intended to be used.
189189
*
190190
* @public

0 commit comments

Comments
 (0)