@storybook/types 7.1.0-alpha.12 → 7.1.0-alpha.14
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 +27 -23
- package/dist/index.js +1 -1
- 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
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
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/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var src_exports={};__export(src_exports,{Addon_TypesEnum:()=>Addon_TypesEnum});module.exports=__toCommonJS(src_exports);var Addon_TypesEnum=(Addon_TypesEnum2=>(Addon_TypesEnum2.TAB="tab",Addon_TypesEnum2.PANEL="panel",Addon_TypesEnum2.TOOL="tool",Addon_TypesEnum2.TOOLEXTRA="toolextra",Addon_TypesEnum2.PREVIEW="preview",Addon_TypesEnum2.NOTES_ELEMENT="notes-element",Addon_TypesEnum2))(Addon_TypesEnum||{});0&&(module.exports={Addon_TypesEnum});
|
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var src_exports={};__export(src_exports,{Addon_TypesEnum:()=>Addon_TypesEnum});module.exports=__toCommonJS(src_exports);var Addon_TypesEnum=(Addon_TypesEnum2=>(Addon_TypesEnum2.TAB="tab",Addon_TypesEnum2.PANEL="panel",Addon_TypesEnum2.TOOL="tool",Addon_TypesEnum2.TOOLEXTRA="toolextra",Addon_TypesEnum2.PREVIEW="preview",Addon_TypesEnum2.NOTES_ELEMENT="notes-element",Addon_TypesEnum2))(Addon_TypesEnum||{});0&&(module.exports={Addon_TypesEnum});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/types",
|
|
3
|
-
"version": "7.1.0-alpha.
|
|
3
|
+
"version": "7.1.0-alpha.14",
|
|
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.
|
|
46
|
+
"@storybook/channels": "7.1.0-alpha.14",
|
|
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": "
|
|
64
|
+
"gitHead": "72ae6b0d965d1ae596159cdb15109c5e13376d78"
|
|
65
65
|
}
|