@storybook/addon-ondevice-controls 8.6.0 → 9.0.0-alpha.0
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/ControlsPanel.d.ts +2 -2
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -6
package/dist/ControlsPanel.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { API } from '
|
|
2
|
-
import type { Renderer } from '
|
|
1
|
+
import type { API } from 'storybook/internal/manager-api';
|
|
2
|
+
import type { Renderer } from 'storybook/internal/types';
|
|
3
3
|
import { ComponentType, ReactElement } from 'react';
|
|
4
4
|
export interface Selection {
|
|
5
5
|
storyId: string;
|
package/dist/hooks.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Args } from '
|
|
1
|
+
import { Args } from 'storybook/internal/types';
|
|
2
2
|
export declare const useArgs: (storyId: string, storyStore: any) => [Args, (args: Args) => void, (argNames?: string[]) => void];
|
package/dist/hooks.js
CHANGED
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.useArgs = void 0;
|
|
7
7
|
const react_1 = require("react");
|
|
8
|
-
const core_events_1 = __importDefault(require("
|
|
8
|
+
const core_events_1 = __importDefault(require("storybook/internal/core-events"));
|
|
9
9
|
const useArgs = (storyId, storyStore) => {
|
|
10
10
|
const story = storyStore.fromId(storyId);
|
|
11
11
|
if (!story) {
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.PARAM_KEY = exports.ADDON_ID = void 0;
|
|
7
7
|
exports.register = register;
|
|
8
8
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
9
|
-
const manager_api_1 = require("
|
|
9
|
+
const manager_api_1 = require("storybook/internal/manager-api");
|
|
10
10
|
const ControlsPanel_1 = __importDefault(require("./ControlsPanel"));
|
|
11
11
|
const Panel_1 = require("./Panel");
|
|
12
12
|
exports.ADDON_ID = 'RNCONTROLS';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-ondevice-controls",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-alpha.0",
|
|
4
4
|
"description": "Display storybook controls on your device.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
@@ -30,10 +30,9 @@
|
|
|
30
30
|
"copyimages": "cross-env-shell cp -r src/components/color-picker/resources dist/components/color-picker/resources"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@storybook/addon-controls": "
|
|
34
|
-
"@storybook/
|
|
35
|
-
"@storybook/react-native-
|
|
36
|
-
"@storybook/react-native-ui": "^8.6.0",
|
|
33
|
+
"@storybook/addon-controls": "9.0.0-alpha.3",
|
|
34
|
+
"@storybook/react-native-theming": "^9.0.0-alpha.0",
|
|
35
|
+
"@storybook/react-native-ui": "^9.0.0-alpha.0",
|
|
37
36
|
"deep-equal": "^1.0.1",
|
|
38
37
|
"prop-types": "^15.7.2",
|
|
39
38
|
"react-native-modal-datetime-picker": "^18.0.0",
|
|
@@ -53,5 +52,5 @@
|
|
|
53
52
|
"publishConfig": {
|
|
54
53
|
"access": "public"
|
|
55
54
|
},
|
|
56
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "6ca21ab6b467c73887d17a383fdd464da37865d6"
|
|
57
56
|
}
|