@splenddev/kreativ-ui 0.2.6 → 0.2.7
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/dist/index.cjs +23 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +171 -1
- package/dist/index.d.ts +171 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1299,4 +1299,174 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
1299
1299
|
declare function rgbToHex(value: string): string;
|
|
1300
1300
|
declare function hexToRgbString(hex: string): string | null;
|
|
1301
1301
|
|
|
1302
|
-
|
|
1302
|
+
declare const buttonBase: string;
|
|
1303
|
+
declare const buttonVariants: {
|
|
1304
|
+
readonly solid: "";
|
|
1305
|
+
readonly outline: "border bg-transparent";
|
|
1306
|
+
readonly ghost: "bg-transparent";
|
|
1307
|
+
readonly soft: "";
|
|
1308
|
+
readonly link: "bg-transparent p-0 h-auto hover:underline";
|
|
1309
|
+
};
|
|
1310
|
+
declare const buttonColors: {
|
|
1311
|
+
readonly brand: {
|
|
1312
|
+
readonly solid: "bg-brand text-brand-fg hover:bg-brand-hover";
|
|
1313
|
+
readonly outline: "border-brand text-brand hover:bg-brand/10";
|
|
1314
|
+
readonly ghost: "text-brand hover:bg-brand/10";
|
|
1315
|
+
readonly soft: "bg-brand/10 text-brand hover:bg-brand/20";
|
|
1316
|
+
readonly link: "text-brand";
|
|
1317
|
+
};
|
|
1318
|
+
readonly destructive: {
|
|
1319
|
+
readonly solid: "bg-destructive text-destructive-fg hover:bg-destructive-hover";
|
|
1320
|
+
readonly outline: "border-destructive text-destructive hover:bg-destructive/10";
|
|
1321
|
+
readonly ghost: "text-destructive hover:bg-destructive/10";
|
|
1322
|
+
readonly soft: "bg-destructive/10 text-destructive hover:bg-destructive/20";
|
|
1323
|
+
readonly link: "text-destructive";
|
|
1324
|
+
};
|
|
1325
|
+
readonly success: {
|
|
1326
|
+
readonly solid: "bg-success text-success-fg hover:bg-success-hover";
|
|
1327
|
+
readonly outline: "border-success text-success hover:bg-success/10";
|
|
1328
|
+
readonly ghost: "text-success hover:bg-success/10";
|
|
1329
|
+
readonly soft: "bg-success/10 text-success hover:bg-success/20";
|
|
1330
|
+
readonly link: "text-success";
|
|
1331
|
+
};
|
|
1332
|
+
readonly warning: {
|
|
1333
|
+
readonly solid: "bg-warning text-warning-fg hover:bg-warning-hover";
|
|
1334
|
+
readonly outline: "border-warning text-warning hover:bg-warning/10";
|
|
1335
|
+
readonly ghost: "text-warning hover:bg-warning/10";
|
|
1336
|
+
readonly soft: "bg-warning/10 text-warning hover:bg-warning/20";
|
|
1337
|
+
readonly link: "text-warning";
|
|
1338
|
+
};
|
|
1339
|
+
readonly info: {
|
|
1340
|
+
readonly solid: "bg-info text-info-fg hover:bg-info-hover";
|
|
1341
|
+
readonly outline: "border-info text-info hover:bg-info/10";
|
|
1342
|
+
readonly ghost: "text-info hover:bg-info/10";
|
|
1343
|
+
readonly soft: "bg-info/10 text-info hover:bg-info/20";
|
|
1344
|
+
readonly link: "text-info";
|
|
1345
|
+
};
|
|
1346
|
+
readonly white: {
|
|
1347
|
+
readonly solid: "bg-white text-black hover:bg-gray-50";
|
|
1348
|
+
readonly outline: "border-white/30 text-white hover:bg-white/10";
|
|
1349
|
+
readonly ghost: "text-white hover:bg-white/10";
|
|
1350
|
+
readonly soft: "bg-white/10 text-white hover:bg-white/20";
|
|
1351
|
+
readonly link: "text-white";
|
|
1352
|
+
};
|
|
1353
|
+
readonly neutral: {
|
|
1354
|
+
readonly solid: "bg-surface-raised text-text hover:bg-surface-sunken";
|
|
1355
|
+
readonly outline: "border-border text-text hover:bg-surface-raised";
|
|
1356
|
+
readonly ghost: "text-text hover:bg-surface-raised";
|
|
1357
|
+
readonly soft: "bg-surface-raised text-text hover:bg-surface-sunken";
|
|
1358
|
+
readonly link: "text-text";
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
declare const buttonRecipe: {
|
|
1362
|
+
base: string;
|
|
1363
|
+
variants: {
|
|
1364
|
+
variant: {
|
|
1365
|
+
readonly solid: "";
|
|
1366
|
+
readonly outline: "border bg-transparent";
|
|
1367
|
+
readonly ghost: "bg-transparent";
|
|
1368
|
+
readonly soft: "";
|
|
1369
|
+
readonly link: "bg-transparent p-0 h-auto hover:underline";
|
|
1370
|
+
};
|
|
1371
|
+
color: Record<string, string>;
|
|
1372
|
+
};
|
|
1373
|
+
defaultVariants: {
|
|
1374
|
+
variant: string;
|
|
1375
|
+
color: string;
|
|
1376
|
+
};
|
|
1377
|
+
compoundVariants: {
|
|
1378
|
+
conditions: Record<string, string>;
|
|
1379
|
+
className: string;
|
|
1380
|
+
}[];
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
declare const inputBase: string;
|
|
1384
|
+
declare const inputRecipe: {
|
|
1385
|
+
base: string;
|
|
1386
|
+
variants: {
|
|
1387
|
+
variant: {
|
|
1388
|
+
outline: string;
|
|
1389
|
+
filled: string;
|
|
1390
|
+
ghost: string;
|
|
1391
|
+
};
|
|
1392
|
+
};
|
|
1393
|
+
defaultVariants: {
|
|
1394
|
+
variant: string;
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
declare const formControlBase: string;
|
|
1399
|
+
declare const formControlVariants: {
|
|
1400
|
+
readonly outline: "border border-border bg-transparent text-text hover:border-brand";
|
|
1401
|
+
readonly filled: "border border-transparent bg-surface-raised text-text hover:bg-surface";
|
|
1402
|
+
readonly ghost: "border border-transparent bg-transparent text-text hover:bg-surface-raised";
|
|
1403
|
+
};
|
|
1404
|
+
declare const formControlStates: {
|
|
1405
|
+
readonly none: "focus-within:ring-brand/20";
|
|
1406
|
+
readonly error: "border-destructive focus-within:ring-destructive/20";
|
|
1407
|
+
readonly success: "border-success focus-within:ring-success/20";
|
|
1408
|
+
};
|
|
1409
|
+
declare const formControlRecipe: {
|
|
1410
|
+
base: string;
|
|
1411
|
+
variants: {
|
|
1412
|
+
variant: {
|
|
1413
|
+
readonly outline: "border border-border bg-transparent text-text hover:border-brand";
|
|
1414
|
+
readonly filled: "border border-transparent bg-surface-raised text-text hover:bg-surface";
|
|
1415
|
+
readonly ghost: "border border-transparent bg-transparent text-text hover:bg-surface-raised";
|
|
1416
|
+
};
|
|
1417
|
+
state: {
|
|
1418
|
+
readonly none: "focus-within:ring-brand/20";
|
|
1419
|
+
readonly error: "border-destructive focus-within:ring-destructive/20";
|
|
1420
|
+
readonly success: "border-success focus-within:ring-success/20";
|
|
1421
|
+
};
|
|
1422
|
+
rounded: {
|
|
1423
|
+
true: string;
|
|
1424
|
+
false: string;
|
|
1425
|
+
};
|
|
1426
|
+
fullWidth: {
|
|
1427
|
+
true: string;
|
|
1428
|
+
false: string;
|
|
1429
|
+
};
|
|
1430
|
+
disabled: {
|
|
1431
|
+
true: string;
|
|
1432
|
+
false: string;
|
|
1433
|
+
};
|
|
1434
|
+
hasAdornment: {
|
|
1435
|
+
true: string;
|
|
1436
|
+
false: string;
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1439
|
+
defaultVariants: {
|
|
1440
|
+
variant: string;
|
|
1441
|
+
state: string;
|
|
1442
|
+
rounded: false;
|
|
1443
|
+
fullWidth: true;
|
|
1444
|
+
disabled: false;
|
|
1445
|
+
hasAdornment: false;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
|
|
1449
|
+
declare function defineRecipe<T extends RecipeDefinition>(recipe: T): T;
|
|
1450
|
+
|
|
1451
|
+
declare function mergeRecipes(base: RecipeCollection, override?: ThemeOverride["recipes"]): RecipeCollection;
|
|
1452
|
+
|
|
1453
|
+
interface RecipeProps {
|
|
1454
|
+
[key: string]: RecipeVariantValue | undefined;
|
|
1455
|
+
}
|
|
1456
|
+
declare function resolveRecipe(recipe: RecipeDefinition | undefined, props?: RecipeProps): string;
|
|
1457
|
+
|
|
1458
|
+
declare function resolveTypography(typography: TypographyStyle | undefined, tokens: DesignTokens): CSSProperties;
|
|
1459
|
+
|
|
1460
|
+
declare function defineTypography(typography: TypographyStyle): TypographyStyle;
|
|
1461
|
+
|
|
1462
|
+
declare function defineToken<T>(value: T): {
|
|
1463
|
+
value: T;
|
|
1464
|
+
};
|
|
1465
|
+
declare function defineSemanticToken<T>(light: T, dark: T): {
|
|
1466
|
+
value: {
|
|
1467
|
+
light: T;
|
|
1468
|
+
dark: T;
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
|
|
1472
|
+
export { type AnimationTokens, type BaseColor, type BaseProps, type BaseTransition, type BaseVariant, Button, type ButtonProps, type CSSPropertiesWithVars, Checkbox, type CheckboxProps, type ClearableProps, type ColorMode, type ColorModeValue, type ColorProps, type ColorScale, type ColorTokens, Combobox, ComboboxContent, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, type ComboboxProps, type DeepPartial, type DesignTokens, type DisabledProps, type FontSizeTokens, type FontTokens, type FontWeightTokens, FormField, FormFieldControl, FormFieldDescription, FormFieldLabel, FormFieldMessage, type FormFieldProps, type FullWidthProps, Input, type InputKind, type InputKindDefaults, type InputProps, type InputSize, type InputVariant, type IntensityMap, type LetterSpacingTokens, type LineHeightTokens, type LoadingProps, MarkdownEditor, type MarkdownEditorProps, type MarkdownEditorTabs, MultiSelect, MultiSelectContent, MultiSelectContext, type MultiSelectContextValue, MultiSelectItem, type MultiSelectItemMeta, type MultiSelectItemProps, type MultiSelectProps, MultiSelectTrigger, type Orientation, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RadioSize, type RadiusTokens, type RecipeCollection, type RecipeCompoundVariant, type RecipeDefinition, type RecipeProps, type RecipeStyle, type RecipeVariant, type RecipeVariantValue, type ResolvedSize, type ResolvedTokens, Select, SelectContent, type SelectContentProps, SelectContext, type SelectContextValue, SelectGroup, SelectGroupContext, type SelectGroupProps, SelectItem, type SelectItemMeta, type SelectItemProps, type SelectLabelProps, type SelectProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SemanticColorTokens, type SemanticToken, type SemanticTokens, type ShadowTokens, type Size, type SizeProps, type SizeScale, type SizeToken, type SizeValue, type SpacingTokens, type StateProps, type Styleable, Switch, type SwitchProps, Textarea, TextareaCore, type TextareaCoreProps, type TextareaProps, type TextareaResize, type Theme, ThemeContext, type ThemeContextValue, type ThemeOverride, ThemeToggler, type ThemeTogglerColor, type ThemeTogglerDisplay, type ThemeTogglerProps, type ThemeTogglerVariant, type ThemeTransition, type TokenDefinition, type TokenGroup, type TokenValue, type Typography, type TypographyProps, type TypographyStyle, UIProvider, type UIProviderProps, type UseSizeStyleOptions, type ValueProps, type Variant, type VariantProps, buttonBase, buttonColors, buttonRecipe, buttonVariants, cn, defaultRecipes, defaultSizes, defaultTheme, defineRecipe, defineSemanticToken, defineToken, defineTypography, formControlBase, formControlRecipe, formControlStates, formControlVariants, hexToRgbString, inputBase, inputKindDefaults, inputRecipe, mergeRecipes, resolveRecipe, resolveTypography, rgbToHex, tokensToCssVars, useBreakpoint, useFloatingSide, useMultiSelectContext, useSelectContext, useSizeStyle, useStateTransition, useTheme, useTypography };
|
package/dist/index.d.ts
CHANGED
|
@@ -1299,4 +1299,174 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
1299
1299
|
declare function rgbToHex(value: string): string;
|
|
1300
1300
|
declare function hexToRgbString(hex: string): string | null;
|
|
1301
1301
|
|
|
1302
|
-
|
|
1302
|
+
declare const buttonBase: string;
|
|
1303
|
+
declare const buttonVariants: {
|
|
1304
|
+
readonly solid: "";
|
|
1305
|
+
readonly outline: "border bg-transparent";
|
|
1306
|
+
readonly ghost: "bg-transparent";
|
|
1307
|
+
readonly soft: "";
|
|
1308
|
+
readonly link: "bg-transparent p-0 h-auto hover:underline";
|
|
1309
|
+
};
|
|
1310
|
+
declare const buttonColors: {
|
|
1311
|
+
readonly brand: {
|
|
1312
|
+
readonly solid: "bg-brand text-brand-fg hover:bg-brand-hover";
|
|
1313
|
+
readonly outline: "border-brand text-brand hover:bg-brand/10";
|
|
1314
|
+
readonly ghost: "text-brand hover:bg-brand/10";
|
|
1315
|
+
readonly soft: "bg-brand/10 text-brand hover:bg-brand/20";
|
|
1316
|
+
readonly link: "text-brand";
|
|
1317
|
+
};
|
|
1318
|
+
readonly destructive: {
|
|
1319
|
+
readonly solid: "bg-destructive text-destructive-fg hover:bg-destructive-hover";
|
|
1320
|
+
readonly outline: "border-destructive text-destructive hover:bg-destructive/10";
|
|
1321
|
+
readonly ghost: "text-destructive hover:bg-destructive/10";
|
|
1322
|
+
readonly soft: "bg-destructive/10 text-destructive hover:bg-destructive/20";
|
|
1323
|
+
readonly link: "text-destructive";
|
|
1324
|
+
};
|
|
1325
|
+
readonly success: {
|
|
1326
|
+
readonly solid: "bg-success text-success-fg hover:bg-success-hover";
|
|
1327
|
+
readonly outline: "border-success text-success hover:bg-success/10";
|
|
1328
|
+
readonly ghost: "text-success hover:bg-success/10";
|
|
1329
|
+
readonly soft: "bg-success/10 text-success hover:bg-success/20";
|
|
1330
|
+
readonly link: "text-success";
|
|
1331
|
+
};
|
|
1332
|
+
readonly warning: {
|
|
1333
|
+
readonly solid: "bg-warning text-warning-fg hover:bg-warning-hover";
|
|
1334
|
+
readonly outline: "border-warning text-warning hover:bg-warning/10";
|
|
1335
|
+
readonly ghost: "text-warning hover:bg-warning/10";
|
|
1336
|
+
readonly soft: "bg-warning/10 text-warning hover:bg-warning/20";
|
|
1337
|
+
readonly link: "text-warning";
|
|
1338
|
+
};
|
|
1339
|
+
readonly info: {
|
|
1340
|
+
readonly solid: "bg-info text-info-fg hover:bg-info-hover";
|
|
1341
|
+
readonly outline: "border-info text-info hover:bg-info/10";
|
|
1342
|
+
readonly ghost: "text-info hover:bg-info/10";
|
|
1343
|
+
readonly soft: "bg-info/10 text-info hover:bg-info/20";
|
|
1344
|
+
readonly link: "text-info";
|
|
1345
|
+
};
|
|
1346
|
+
readonly white: {
|
|
1347
|
+
readonly solid: "bg-white text-black hover:bg-gray-50";
|
|
1348
|
+
readonly outline: "border-white/30 text-white hover:bg-white/10";
|
|
1349
|
+
readonly ghost: "text-white hover:bg-white/10";
|
|
1350
|
+
readonly soft: "bg-white/10 text-white hover:bg-white/20";
|
|
1351
|
+
readonly link: "text-white";
|
|
1352
|
+
};
|
|
1353
|
+
readonly neutral: {
|
|
1354
|
+
readonly solid: "bg-surface-raised text-text hover:bg-surface-sunken";
|
|
1355
|
+
readonly outline: "border-border text-text hover:bg-surface-raised";
|
|
1356
|
+
readonly ghost: "text-text hover:bg-surface-raised";
|
|
1357
|
+
readonly soft: "bg-surface-raised text-text hover:bg-surface-sunken";
|
|
1358
|
+
readonly link: "text-text";
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
declare const buttonRecipe: {
|
|
1362
|
+
base: string;
|
|
1363
|
+
variants: {
|
|
1364
|
+
variant: {
|
|
1365
|
+
readonly solid: "";
|
|
1366
|
+
readonly outline: "border bg-transparent";
|
|
1367
|
+
readonly ghost: "bg-transparent";
|
|
1368
|
+
readonly soft: "";
|
|
1369
|
+
readonly link: "bg-transparent p-0 h-auto hover:underline";
|
|
1370
|
+
};
|
|
1371
|
+
color: Record<string, string>;
|
|
1372
|
+
};
|
|
1373
|
+
defaultVariants: {
|
|
1374
|
+
variant: string;
|
|
1375
|
+
color: string;
|
|
1376
|
+
};
|
|
1377
|
+
compoundVariants: {
|
|
1378
|
+
conditions: Record<string, string>;
|
|
1379
|
+
className: string;
|
|
1380
|
+
}[];
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
declare const inputBase: string;
|
|
1384
|
+
declare const inputRecipe: {
|
|
1385
|
+
base: string;
|
|
1386
|
+
variants: {
|
|
1387
|
+
variant: {
|
|
1388
|
+
outline: string;
|
|
1389
|
+
filled: string;
|
|
1390
|
+
ghost: string;
|
|
1391
|
+
};
|
|
1392
|
+
};
|
|
1393
|
+
defaultVariants: {
|
|
1394
|
+
variant: string;
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
declare const formControlBase: string;
|
|
1399
|
+
declare const formControlVariants: {
|
|
1400
|
+
readonly outline: "border border-border bg-transparent text-text hover:border-brand";
|
|
1401
|
+
readonly filled: "border border-transparent bg-surface-raised text-text hover:bg-surface";
|
|
1402
|
+
readonly ghost: "border border-transparent bg-transparent text-text hover:bg-surface-raised";
|
|
1403
|
+
};
|
|
1404
|
+
declare const formControlStates: {
|
|
1405
|
+
readonly none: "focus-within:ring-brand/20";
|
|
1406
|
+
readonly error: "border-destructive focus-within:ring-destructive/20";
|
|
1407
|
+
readonly success: "border-success focus-within:ring-success/20";
|
|
1408
|
+
};
|
|
1409
|
+
declare const formControlRecipe: {
|
|
1410
|
+
base: string;
|
|
1411
|
+
variants: {
|
|
1412
|
+
variant: {
|
|
1413
|
+
readonly outline: "border border-border bg-transparent text-text hover:border-brand";
|
|
1414
|
+
readonly filled: "border border-transparent bg-surface-raised text-text hover:bg-surface";
|
|
1415
|
+
readonly ghost: "border border-transparent bg-transparent text-text hover:bg-surface-raised";
|
|
1416
|
+
};
|
|
1417
|
+
state: {
|
|
1418
|
+
readonly none: "focus-within:ring-brand/20";
|
|
1419
|
+
readonly error: "border-destructive focus-within:ring-destructive/20";
|
|
1420
|
+
readonly success: "border-success focus-within:ring-success/20";
|
|
1421
|
+
};
|
|
1422
|
+
rounded: {
|
|
1423
|
+
true: string;
|
|
1424
|
+
false: string;
|
|
1425
|
+
};
|
|
1426
|
+
fullWidth: {
|
|
1427
|
+
true: string;
|
|
1428
|
+
false: string;
|
|
1429
|
+
};
|
|
1430
|
+
disabled: {
|
|
1431
|
+
true: string;
|
|
1432
|
+
false: string;
|
|
1433
|
+
};
|
|
1434
|
+
hasAdornment: {
|
|
1435
|
+
true: string;
|
|
1436
|
+
false: string;
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1439
|
+
defaultVariants: {
|
|
1440
|
+
variant: string;
|
|
1441
|
+
state: string;
|
|
1442
|
+
rounded: false;
|
|
1443
|
+
fullWidth: true;
|
|
1444
|
+
disabled: false;
|
|
1445
|
+
hasAdornment: false;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
|
|
1449
|
+
declare function defineRecipe<T extends RecipeDefinition>(recipe: T): T;
|
|
1450
|
+
|
|
1451
|
+
declare function mergeRecipes(base: RecipeCollection, override?: ThemeOverride["recipes"]): RecipeCollection;
|
|
1452
|
+
|
|
1453
|
+
interface RecipeProps {
|
|
1454
|
+
[key: string]: RecipeVariantValue | undefined;
|
|
1455
|
+
}
|
|
1456
|
+
declare function resolveRecipe(recipe: RecipeDefinition | undefined, props?: RecipeProps): string;
|
|
1457
|
+
|
|
1458
|
+
declare function resolveTypography(typography: TypographyStyle | undefined, tokens: DesignTokens): CSSProperties;
|
|
1459
|
+
|
|
1460
|
+
declare function defineTypography(typography: TypographyStyle): TypographyStyle;
|
|
1461
|
+
|
|
1462
|
+
declare function defineToken<T>(value: T): {
|
|
1463
|
+
value: T;
|
|
1464
|
+
};
|
|
1465
|
+
declare function defineSemanticToken<T>(light: T, dark: T): {
|
|
1466
|
+
value: {
|
|
1467
|
+
light: T;
|
|
1468
|
+
dark: T;
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
|
|
1472
|
+
export { type AnimationTokens, type BaseColor, type BaseProps, type BaseTransition, type BaseVariant, Button, type ButtonProps, type CSSPropertiesWithVars, Checkbox, type CheckboxProps, type ClearableProps, type ColorMode, type ColorModeValue, type ColorProps, type ColorScale, type ColorTokens, Combobox, ComboboxContent, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, type ComboboxProps, type DeepPartial, type DesignTokens, type DisabledProps, type FontSizeTokens, type FontTokens, type FontWeightTokens, FormField, FormFieldControl, FormFieldDescription, FormFieldLabel, FormFieldMessage, type FormFieldProps, type FullWidthProps, Input, type InputKind, type InputKindDefaults, type InputProps, type InputSize, type InputVariant, type IntensityMap, type LetterSpacingTokens, type LineHeightTokens, type LoadingProps, MarkdownEditor, type MarkdownEditorProps, type MarkdownEditorTabs, MultiSelect, MultiSelectContent, MultiSelectContext, type MultiSelectContextValue, MultiSelectItem, type MultiSelectItemMeta, type MultiSelectItemProps, type MultiSelectProps, MultiSelectTrigger, type Orientation, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RadioSize, type RadiusTokens, type RecipeCollection, type RecipeCompoundVariant, type RecipeDefinition, type RecipeProps, type RecipeStyle, type RecipeVariant, type RecipeVariantValue, type ResolvedSize, type ResolvedTokens, Select, SelectContent, type SelectContentProps, SelectContext, type SelectContextValue, SelectGroup, SelectGroupContext, type SelectGroupProps, SelectItem, type SelectItemMeta, type SelectItemProps, type SelectLabelProps, type SelectProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SemanticColorTokens, type SemanticToken, type SemanticTokens, type ShadowTokens, type Size, type SizeProps, type SizeScale, type SizeToken, type SizeValue, type SpacingTokens, type StateProps, type Styleable, Switch, type SwitchProps, Textarea, TextareaCore, type TextareaCoreProps, type TextareaProps, type TextareaResize, type Theme, ThemeContext, type ThemeContextValue, type ThemeOverride, ThemeToggler, type ThemeTogglerColor, type ThemeTogglerDisplay, type ThemeTogglerProps, type ThemeTogglerVariant, type ThemeTransition, type TokenDefinition, type TokenGroup, type TokenValue, type Typography, type TypographyProps, type TypographyStyle, UIProvider, type UIProviderProps, type UseSizeStyleOptions, type ValueProps, type Variant, type VariantProps, buttonBase, buttonColors, buttonRecipe, buttonVariants, cn, defaultRecipes, defaultSizes, defaultTheme, defineRecipe, defineSemanticToken, defineToken, defineTypography, formControlBase, formControlRecipe, formControlStates, formControlVariants, hexToRgbString, inputBase, inputKindDefaults, inputRecipe, mergeRecipes, resolveRecipe, resolveTypography, rgbToHex, tokensToCssVars, useBreakpoint, useFloatingSide, useMultiSelectContext, useSelectContext, useSizeStyle, useStateTransition, useTheme, useTypography };
|
package/dist/index.js
CHANGED
|
@@ -372,6 +372,12 @@ function resolveTypography(typography, tokens) {
|
|
|
372
372
|
}
|
|
373
373
|
__name(resolveTypography, "resolveTypography");
|
|
374
374
|
|
|
375
|
+
// src/theme/typography/defineTypography.ts
|
|
376
|
+
function defineTypography(typography) {
|
|
377
|
+
return typography;
|
|
378
|
+
}
|
|
379
|
+
__name(defineTypography, "defineTypography");
|
|
380
|
+
|
|
375
381
|
// src/theme/token/defineToken.ts
|
|
376
382
|
function defineToken(value) {
|
|
377
383
|
return {
|
|
@@ -3986,6 +3992,6 @@ function UIProvider({
|
|
|
3986
3992
|
}
|
|
3987
3993
|
__name(UIProvider, "UIProvider");
|
|
3988
3994
|
|
|
3989
|
-
export { Button, Checkbox, Combobox, ComboboxContent, ComboboxInput, ComboboxItem, FormField, FormFieldControl, FormFieldDescription, FormFieldLabel, FormFieldMessage, Input, MarkdownEditor, MultiSelect, MultiSelectContent, MultiSelectContext, MultiSelectItem, MultiSelectTrigger, Radio, RadioGroup, Select, SelectContent, SelectContext, SelectGroup, SelectGroupContext, SelectItem, SelectTrigger, SelectValue, Switch, Textarea, TextareaCore, ThemeContext, ThemeToggler, UIProvider, cn, defaultRecipes, defaultSizes, defaultTheme, hexToRgbString, inputKindDefaults, rgbToHex, tokensToCssVars, useBreakpoint, useFloatingSide, useMultiSelectContext, useSelectContext, useSizeStyle, useStateTransition, useTheme, useTypography };
|
|
3995
|
+
export { Button, Checkbox, Combobox, ComboboxContent, ComboboxInput, ComboboxItem, FormField, FormFieldControl, FormFieldDescription, FormFieldLabel, FormFieldMessage, Input, MarkdownEditor, MultiSelect, MultiSelectContent, MultiSelectContext, MultiSelectItem, MultiSelectTrigger, Radio, RadioGroup, Select, SelectContent, SelectContext, SelectGroup, SelectGroupContext, SelectItem, SelectTrigger, SelectValue, Switch, Textarea, TextareaCore, ThemeContext, ThemeToggler, UIProvider, buttonBase, buttonColors, buttonRecipe, buttonVariants, cn, defaultRecipes, defaultSizes, defaultTheme, defineRecipe, defineSemanticToken, defineToken, defineTypography, formControlBase, formControlRecipe, formControlStates, formControlVariants, hexToRgbString, inputBase, inputKindDefaults, inputRecipe, mergeRecipes, resolveRecipe, resolveTypography, rgbToHex, tokensToCssVars, useBreakpoint, useFloatingSide, useMultiSelectContext, useSelectContext, useSizeStyle, useStateTransition, useTheme, useTypography };
|
|
3990
3996
|
//# sourceMappingURL=index.js.map
|
|
3991
3997
|
//# sourceMappingURL=index.js.map
|