@vellira-ui/tokens 2.59.0 → 2.59.1

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.d.ts CHANGED
@@ -5,6 +5,8 @@ export { darkTheme, highContrastTheme, lightTheme };
5
5
  export type { BaseCssVariableName, BaseTokenPath, ColorTokenPath, ComponentTokenPath, CssVariableName, DarkTheme, HighContrastTheme, LightTheme, SemanticTokenPath, ThemeCssVariableName, ThemeName, TokenPath, VelliraBaseTokens, VelliraColors, VelliraComponentTokens, VelliraSemanticTokens, VelliraTheme, WidenTokenValues, } from './generated/token-types.js';
6
6
  export { baseCssVariableNames, baseTokenPaths, colorTokenPaths, componentTokenPaths, cssVariableNames, semanticTokenPaths, themeCssVariableNames, themeNames, tokenPaths, } from './generated/token-types.js';
7
7
  export { overlay } from './primitives/overlay.js';
8
+ export type { ControlSize } from './tokens/controlSizes.js';
9
+ export { controlSizes } from './tokens/controlSizes.js';
8
10
  export type { FontWeight } from './tokens/typography.js';
9
11
  export { fontWeights } from './tokens/typography.js';
10
12
  export declare const theme: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAEpD,YAAY,EACV,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,iBAAiB,EACjB,aAAa,EACb,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,GACjB,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ClD,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,YAAY,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIR,CAAC"}
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ import { lightTheme } from './light/theme.js';
4
4
  export { darkTheme, highContrastTheme, lightTheme };
5
5
  export { baseCssVariableNames, baseTokenPaths, colorTokenPaths, componentTokenPaths, cssVariableNames, semanticTokenPaths, themeCssVariableNames, themeNames, tokenPaths, } from './generated/token-types.js';
6
6
  export { overlay } from './primitives/overlay.js';
7
+ export { controlSizes } from './tokens/controlSizes.js';
7
8
  export { fontWeights } from './tokens/typography.js';
8
9
  export const theme = {
9
10
  semantic: darkTheme.semantic,
@@ -0,0 +1,22 @@
1
+ export declare const controlSizes: {
2
+ readonly sm: {
3
+ readonly height: 38;
4
+ readonly fontSize: 12;
5
+ readonly lineHeight: 16;
6
+ readonly iconSize: 16;
7
+ };
8
+ readonly md: {
9
+ readonly height: 46;
10
+ readonly fontSize: 14;
11
+ readonly lineHeight: 20;
12
+ readonly iconSize: 20;
13
+ };
14
+ readonly lg: {
15
+ readonly height: 52;
16
+ readonly fontSize: 16;
17
+ readonly lineHeight: 24;
18
+ readonly iconSize: 24;
19
+ };
20
+ };
21
+ export type ControlSize = keyof typeof controlSizes;
22
+ //# sourceMappingURL=controlSizes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controlSizes.d.ts","sourceRoot":"","sources":["../../src/tokens/controlSizes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;CAmBf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,YAAY,CAAC"}
@@ -0,0 +1,20 @@
1
+ export const controlSizes = {
2
+ sm: {
3
+ height: 38,
4
+ fontSize: 12,
5
+ lineHeight: 16,
6
+ iconSize: 16,
7
+ },
8
+ md: {
9
+ height: 46,
10
+ fontSize: 14,
11
+ lineHeight: 20,
12
+ iconSize: 20,
13
+ },
14
+ lg: {
15
+ height: 52,
16
+ fontSize: 16,
17
+ lineHeight: 24,
18
+ iconSize: 24,
19
+ },
20
+ };
@@ -1,3 +1,4 @@
1
+ export * from './controlSizes.js';
1
2
  export * from './radius.js';
2
3
  export * from './shadows.js';
3
4
  export * from './spacing.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './controlSizes.js';
1
2
  export * from './radius.js';
2
3
  export * from './shadows.js';
3
4
  export * from './spacing.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellira-ui/tokens",
3
- "version": "2.59.0",
3
+ "version": "2.59.1",
4
4
  "description": "Design tokens for Vellira Design System",
5
5
  "keywords": [
6
6
  "vellira",