react-cosmos-shared2
Advanced tools
Comparing version 5.0.0-alpha.28 to 5.0.0-beta.0
@@ -1,2 +0,2 @@ | ||
import { FixtureDecoratorId, FixtureElementId, FixtureStateUnserializableValue, FixtureStatePrimitiveValueType, FixtureStateObjectValueType, FixtureStateArrayValueType, FixtureStateValueType, FixtureStatePrimitiveValue, FixtureStateObjectValue, FixtureStateArrayValue, FixtureStateValue, FixtureStateValues, FixtureStateValueGroup, FixtureStateValueGroups, FixtureStateProps, FixtureStateClassState, FixtureState, SetFixtureState } from './shared'; | ||
import { FixtureDecoratorId, FixtureElementId, FixtureStateUnserializableValue, FixtureStatePrimitiveValueType, FixtureStateObjectValueType, FixtureStateArrayValueType, FixtureStateValueType, FixtureStatePrimitiveValue, FixtureStateObjectValue, FixtureStateArrayValue, FixtureStateValue, FixtureStateValues, FixtureStateValuePair, FixtureStateValuePairs, FixtureStateProps, FixtureStateClassState, FixtureState, SetFixtureState } from './shared'; | ||
export declare type FixtureDecoratorId = FixtureDecoratorId; | ||
@@ -14,4 +14,4 @@ export declare type FixtureElementId = FixtureElementId; | ||
export declare type FixtureStateValues = FixtureStateValues; | ||
export declare type FixtureStateValueGroup = FixtureStateValueGroup; | ||
export declare type FixtureStateValueGroups = FixtureStateValueGroups; | ||
export declare type FixtureStateValuePair = FixtureStateValuePair; | ||
export declare type FixtureStateValuePairs = FixtureStateValuePairs; | ||
export declare type FixtureStateProps = FixtureStateProps; | ||
@@ -26,2 +26,2 @@ export declare type FixtureStateClassState = FixtureStateClassState; | ||
export { getFixtureStateClassState, findFixtureStateClassState, createFixtureStateClassState, updateFixtureStateClassState, removeFixtureStateClassState } from './classState'; | ||
export { findFixtureStateCustomState } from './customState'; | ||
export { findFixtureStateValue } from './values'; |
@@ -144,6 +144,6 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "findFixtureStateCustomState", { | ||
Object.defineProperty(exports, "findFixtureStateValue", { | ||
enumerable: true, | ||
get: function () { | ||
return _customState.findFixtureStateCustomState; | ||
return _values.findFixtureStateValue; | ||
} | ||
@@ -162,2 +162,2 @@ }); | ||
var _customState = require("./customState"); | ||
var _values = require("./values"); |
@@ -29,7 +29,7 @@ import { StateUpdater } from '../util'; | ||
export declare type FixtureStateValues = Record<string, FixtureStateValue>; | ||
export declare type FixtureStateValueGroup = { | ||
export declare type FixtureStateValuePair = { | ||
defaultValue: FixtureStateValue; | ||
currentValue: FixtureStateValue; | ||
}; | ||
export declare type FixtureStateValueGroups = Record<string, FixtureStateValueGroup>; | ||
export declare type FixtureStateValuePairs = Record<string, FixtureStateValuePair>; | ||
export declare type FixtureRenderKey = number; | ||
@@ -50,4 +50,4 @@ export declare type FixtureStateProps = { | ||
classState?: FixtureStateClassState[]; | ||
customState?: FixtureStateValueGroups; | ||
} & Record<string, any>; | ||
values?: FixtureStateValuePairs; | ||
} & Record<string, unknown>; | ||
export declare type SetFixtureState = (update: StateUpdater<FixtureState>) => unknown; | ||
@@ -54,0 +54,0 @@ export declare function isString(value: unknown): value is string; |
{ | ||
"name": "react-cosmos-shared2", | ||
"version": "5.0.0-alpha.28", | ||
"version": "5.0.0-beta.0", | ||
"description": "Code shared between Cosmos packages", | ||
@@ -9,7 +9,7 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/master/packages/react-cosmos-shared2", | ||
"lodash": "^4.17.15", | ||
"query-string": "^6.8.2", | ||
"query-string": "^6.8.3", | ||
"react-element-to-jsx-string": "^14.0.3", | ||
"react-is": "^16.9.0" | ||
}, | ||
"gitHead": "0bc7164001ac86375abbde10fa15b0ae1025aaca" | ||
"gitHead": "173f794fd1bf48fce25fcfc92f6cf1978125c498" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39814
Updatedquery-string@^6.8.3