@storybook/types 7.1.0-alpha.12 → 7.1.0-alpha.13

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +27 -23
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1394,30 +1394,34 @@ type RouterData = {
1394
1394
  } & Other;
1395
1395
  type RenderData = Pick<RouterData, 'location'> & Other;
1396
1396
 
1397
- interface ThemeVars {
1397
+ interface ThemeVars extends ThemeVarsBase, ThemeVarsColors {
1398
+ }
1399
+ interface ThemeVarsBase {
1398
1400
  base: 'light' | 'dark';
1399
- colorPrimary?: string;
1400
- colorSecondary?: string;
1401
- appBg?: string;
1402
- appContentBg?: string;
1403
- appBorderColor?: string;
1404
- appBorderRadius?: number;
1405
- fontBase?: string;
1406
- fontCode?: string;
1407
- textColor?: string;
1408
- textInverseColor?: string;
1409
- textMutedColor?: string;
1410
- barTextColor?: string;
1411
- barSelectedColor?: string;
1412
- barBg?: string;
1413
- buttonBg?: string;
1414
- buttonBorder?: string;
1415
- booleanBg?: string;
1416
- booleanSelectedBg?: string;
1417
- inputBg?: string;
1418
- inputBorder?: string;
1419
- inputTextColor?: string;
1420
- inputBorderRadius?: number;
1401
+ }
1402
+ interface ThemeVarsColors {
1403
+ colorPrimary: string;
1404
+ colorSecondary: string;
1405
+ appBg: string;
1406
+ appContentBg: string;
1407
+ appBorderColor: string;
1408
+ appBorderRadius: number;
1409
+ fontBase: string;
1410
+ fontCode: string;
1411
+ textColor: string;
1412
+ textInverseColor: string;
1413
+ textMutedColor: string;
1414
+ barTextColor: string;
1415
+ barSelectedColor: string;
1416
+ barBg: string;
1417
+ buttonBg: string;
1418
+ buttonBorder: string;
1419
+ booleanBg: string;
1420
+ booleanSelectedBg: string;
1421
+ inputBg: string;
1422
+ inputBorder: string;
1423
+ inputTextColor: string;
1424
+ inputBorderRadius: number;
1421
1425
  brandTitle?: string;
1422
1426
  brandUrl?: string;
1423
1427
  brandImage?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/types",
3
- "version": "7.1.0-alpha.12",
3
+ "version": "7.1.0-alpha.13",
4
4
  "description": "Core Storybook TS Types",
5
5
  "keywords": [
6
6
  "storybook"
@@ -43,7 +43,7 @@
43
43
  "prep": "../../../scripts/prepare/bundle.ts"
44
44
  },
45
45
  "dependencies": {
46
- "@storybook/channels": "7.1.0-alpha.12",
46
+ "@storybook/channels": "7.1.0-alpha.13",
47
47
  "@types/babel__core": "^7.0.0",
48
48
  "@types/express": "^4.7.0",
49
49
  "file-system-cache": "^2.0.0"
@@ -61,5 +61,5 @@
61
61
  "./src/index.ts"
62
62
  ]
63
63
  },
64
- "gitHead": "8de6963fca74d5952f5cb5737e34fb4e1ddfd0f6"
64
+ "gitHead": "5f5be6cc6695e4ed9ddddc58f8f8258bf07e7c53"
65
65
  }