@itcase/storybook-config 1.2.50 → 1.2.52
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/{Notification-DPozMFZR.js → Notification-BonAwYec.js} +265 -223
- package/dist/{Notification-Dr6__aPv.js → Notification-DCiRKK0H.js} +266 -224
- package/dist/cjs/decorators/withFigmaSourceLink.js +2 -2
- package/dist/cjs/decorators/withNextDecorator.js +1 -1
- package/dist/cjs/decorators/withUiDecorator.js +1 -1
- package/dist/cjs/decorators.js +1 -1
- package/dist/config/config/mainConfigNextJsVite.js +6 -0
- package/dist/decorators/withFigmaSourceLink.js +2 -2
- package/dist/decorators/withNextDecorator.js +1 -1
- package/dist/decorators/withUiDecorator.js +1 -1
- package/dist/decorators.js +1 -1
- package/package.json +53 -53
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _rollupPluginBabelHelpers = require('../../_rollupPluginBabelHelpers-Wvf9ehn_.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
5
|
+
var s = require('lodash/castArray');
|
|
6
6
|
|
|
7
7
|
function withFigmaSourceLink() {
|
|
8
8
|
var decorator = function decorator(Story, _ref) {
|
|
@@ -10,7 +10,7 @@ function withFigmaSourceLink() {
|
|
|
10
10
|
context = _ref.context;
|
|
11
11
|
var sourceLink = parameters.sourceLink || {};
|
|
12
12
|
if (parameters.design) {
|
|
13
|
-
var designList =
|
|
13
|
+
var designList = s(parameters.design);
|
|
14
14
|
if (!sourceLink.links) {
|
|
15
15
|
sourceLink.links = {};
|
|
16
16
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _rollupPluginBabelHelpers = require('../../_rollupPluginBabelHelpers-Wvf9ehn_.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Notification = require('../../Notification-
|
|
5
|
+
var Notification = require('../../Notification-BonAwYec.js');
|
|
6
6
|
require('@itcase/common');
|
|
7
7
|
require('lodash/camelCase');
|
|
8
8
|
require('lodash/castArray');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var Notification = require('../../Notification-
|
|
4
|
+
var Notification = require('../../Notification-BonAwYec.js');
|
|
5
5
|
require('@itcase/common');
|
|
6
6
|
require('lodash/camelCase');
|
|
7
7
|
require('lodash/castArray');
|
package/dist/cjs/decorators.js
CHANGED
|
@@ -14,7 +14,7 @@ require('./components/FormSubmitWrapper.js');
|
|
|
14
14
|
require('lodash/camelCase');
|
|
15
15
|
require('@itcase/common');
|
|
16
16
|
require('msw');
|
|
17
|
-
require('../Notification-
|
|
17
|
+
require('../Notification-BonAwYec.js');
|
|
18
18
|
require('lodash/upperFirst');
|
|
19
19
|
require('lodash/maxBy');
|
|
20
20
|
require('react-dom');
|
|
@@ -2,6 +2,12 @@ import svgr from 'vite-plugin-svgr'
|
|
|
2
2
|
import tsconfigPaths from 'vite-tsconfig-paths'
|
|
3
3
|
|
|
4
4
|
const MAIN_CONFIG_NEXTJS_VITE = {
|
|
5
|
+
env: (config) => ({
|
|
6
|
+
...config,
|
|
7
|
+
LOCAL_REST_BASE_URL: process.env.LOCAL_REST_BASE_URL,
|
|
8
|
+
REST_BASE_URL: process.env.REST_BASE_URL,
|
|
9
|
+
STORYBOOK_MODE: process.env.STORYBOOK_MODE || '',
|
|
10
|
+
}),
|
|
5
11
|
viteFinal: async (config) => {
|
|
6
12
|
const { mergeConfig } = await import('vite')
|
|
7
13
|
return mergeConfig(config, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _objectSpread2 } from '../_rollupPluginBabelHelpers-47UUmXIE.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import
|
|
3
|
+
import s from 'lodash/castArray';
|
|
4
4
|
|
|
5
5
|
function withFigmaSourceLink() {
|
|
6
6
|
var decorator = function decorator(Story, _ref) {
|
|
@@ -8,7 +8,7 @@ function withFigmaSourceLink() {
|
|
|
8
8
|
context = _ref.context;
|
|
9
9
|
var sourceLink = parameters.sourceLink || {};
|
|
10
10
|
if (parameters.design) {
|
|
11
|
-
var designList =
|
|
11
|
+
var designList = s(parameters.design);
|
|
12
12
|
if (!sourceLink.links) {
|
|
13
13
|
sourceLink.links = {};
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-47UUmXIE.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { d, m, P } from '../Notification-
|
|
3
|
+
import { d, m, P } from '../Notification-DCiRKK0H.js';
|
|
4
4
|
import '@itcase/common';
|
|
5
5
|
import 'lodash/camelCase';
|
|
6
6
|
import 'lodash/castArray';
|
package/dist/decorators.js
CHANGED
|
@@ -12,7 +12,7 @@ import './components/FormSubmitWrapper.js';
|
|
|
12
12
|
import 'lodash/camelCase';
|
|
13
13
|
import '@itcase/common';
|
|
14
14
|
import 'msw';
|
|
15
|
-
import './Notification-
|
|
15
|
+
import './Notification-DCiRKK0H.js';
|
|
16
16
|
import 'lodash/upperFirst';
|
|
17
17
|
import 'lodash/maxBy';
|
|
18
18
|
import 'react-dom';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/storybook-config",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.52",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Storybook configuration package",
|
|
6
6
|
"engines": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"storybook-react-webpack": "storybook dev -p 6006 --config-dir .storybook-react-webpack",
|
|
19
19
|
"storybook-next-js": "storybook dev -p 6006 --config-dir .storybook-next-js",
|
|
20
20
|
"storybook-vite": "storybook dev -p 6006 --config-dir .storybook-vite",
|
|
21
|
-
"storybook-next-js-vite": "storybook dev -p 6006 --config-dir
|
|
21
|
+
"storybook-next-js-vite": "storybook dev -p 6006 --config-dir .storybook-next-js-vite",
|
|
22
22
|
"storybook-react-native-web": "storybook dev -p 6006 --config-dir .storybook-react-native-web",
|
|
23
23
|
"semantic-release": "semantic-release"
|
|
24
24
|
},
|
|
@@ -82,55 +82,55 @@
|
|
|
82
82
|
"react-dom": "^18"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@gorhom/bottom-sheet": "^5.2.
|
|
86
|
-
"@itcase/config": "^1.6.
|
|
85
|
+
"@gorhom/bottom-sheet": "^5.2.10",
|
|
86
|
+
"@itcase/config": "^1.6.56",
|
|
87
87
|
"@itcase/storybook-addon-auth": "^1.0.5",
|
|
88
|
-
"@react-native-async-storage/async-storage": "^3.0.
|
|
88
|
+
"@react-native-async-storage/async-storage": "^3.0.2",
|
|
89
89
|
"@react-native-community/datetimepicker": "^9.1.0",
|
|
90
|
-
"@storybook/addon-designs": "^11.1.
|
|
91
|
-
"@storybook/addon-docs": "^10.3.
|
|
92
|
-
"@storybook/addon-links": "^10.3.
|
|
93
|
-
"@storybook/addon-ondevice-actions": "10.2
|
|
94
|
-
"@storybook/addon-ondevice-backgrounds": "10.2
|
|
95
|
-
"@storybook/addon-ondevice-controls": "10.2
|
|
96
|
-
"@storybook/addon-ondevice-notes": "^10.2
|
|
90
|
+
"@storybook/addon-designs": "^11.1.3",
|
|
91
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
92
|
+
"@storybook/addon-links": "^10.3.5",
|
|
93
|
+
"@storybook/addon-ondevice-actions": "10.3.2",
|
|
94
|
+
"@storybook/addon-ondevice-backgrounds": "10.3.2",
|
|
95
|
+
"@storybook/addon-ondevice-controls": "10.3.2",
|
|
96
|
+
"@storybook/addon-ondevice-notes": "^10.3.2",
|
|
97
97
|
"@storybook/addon-react-native-web": "^0.0.29",
|
|
98
|
-
"@storybook/addon-styling-webpack": "^3.0.
|
|
99
|
-
"@storybook/addon-themes": "^10.3.
|
|
100
|
-
"@storybook/addon-vitest": "^10.3.
|
|
101
|
-
"@storybook/addon-webpack5-compiler-swc": "^4.0.
|
|
102
|
-
"@storybook/builder-vite": "^10.3.
|
|
103
|
-
"@storybook/nextjs": "^10.3.
|
|
104
|
-
"@storybook/nextjs-vite": "^10.3.
|
|
105
|
-
"@storybook/react": "^10.3.
|
|
106
|
-
"@storybook/react-native": "10.2
|
|
107
|
-
"@storybook/react-native-ui-lite": "10.2
|
|
108
|
-
"@storybook/react-native-web-vite": "^10.3.
|
|
109
|
-
"@storybook/react-vite": "^10.3.
|
|
110
|
-
"@storybook/react-webpack5": "^10.3.
|
|
98
|
+
"@storybook/addon-styling-webpack": "^3.0.2",
|
|
99
|
+
"@storybook/addon-themes": "^10.3.5",
|
|
100
|
+
"@storybook/addon-vitest": "^10.3.5",
|
|
101
|
+
"@storybook/addon-webpack5-compiler-swc": "^4.0.3",
|
|
102
|
+
"@storybook/builder-vite": "^10.3.5",
|
|
103
|
+
"@storybook/nextjs": "^10.3.5",
|
|
104
|
+
"@storybook/nextjs-vite": "^10.3.5",
|
|
105
|
+
"@storybook/react": "^10.3.5",
|
|
106
|
+
"@storybook/react-native": "10.3.2",
|
|
107
|
+
"@storybook/react-native-ui-lite": "10.3.2",
|
|
108
|
+
"@storybook/react-native-web-vite": "^10.3.5",
|
|
109
|
+
"@storybook/react-vite": "^10.3.5",
|
|
110
|
+
"@storybook/react-webpack5": "^10.3.5",
|
|
111
111
|
"@vitejs/plugin-react": "^6.0.1",
|
|
112
|
-
"@vitest/browser-playwright": "^4.1.
|
|
112
|
+
"@vitest/browser-playwright": "^4.1.5",
|
|
113
113
|
"babel-loader": "^10.1.1",
|
|
114
114
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
115
115
|
"babel-plugin-react-native-web": "^0.21.2",
|
|
116
116
|
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
|
|
117
117
|
"chalk": "^5.6.2",
|
|
118
118
|
"http-proxy-middleware": "^3.0.5",
|
|
119
|
-
"msw": "^2.
|
|
120
|
-
"msw-storybook-addon": "^2.0.
|
|
121
|
-
"react-native-gesture-handler": "^2.
|
|
122
|
-
"react-native-reanimated": "^4.
|
|
119
|
+
"msw": "^2.13.5",
|
|
120
|
+
"msw-storybook-addon": "^2.0.7",
|
|
121
|
+
"react-native-gesture-handler": "^2.31.1",
|
|
122
|
+
"react-native-reanimated": "^4.3.0",
|
|
123
123
|
"react-native-safe-area-context": "^5.7.0",
|
|
124
124
|
"react-native-svg": "^15.15.4",
|
|
125
125
|
"react-native-web": "^0.21.2",
|
|
126
|
-
"react-native-worklets": "^0.
|
|
127
|
-
"storybook": "^10.3.
|
|
126
|
+
"react-native-worklets": "^0.8.1",
|
|
127
|
+
"storybook": "^10.3.5",
|
|
128
128
|
"storybook-addon-source-link": "^2.0.1",
|
|
129
|
-
"vite": "^8.0.
|
|
129
|
+
"vite": "^8.0.10",
|
|
130
130
|
"vite-plugin-babel": "^1.6.0",
|
|
131
|
-
"vite-plugin-svgr": "^
|
|
131
|
+
"vite-plugin-svgr": "^5.2.0",
|
|
132
132
|
"vite-tsconfig-paths": "^6.1.1",
|
|
133
|
-
"vitest": "^4.1.
|
|
133
|
+
"vitest": "^4.1.5"
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
136
|
"@babel/core": "^7.29.0",
|
|
@@ -140,43 +140,43 @@
|
|
|
140
140
|
"@commitlint/cli": "^20.5.0",
|
|
141
141
|
"@commitlint/config-conventional": "^20.5.0",
|
|
142
142
|
"@itcase/common": "^1.2.41",
|
|
143
|
-
"@itcase/lint": "^1.1.
|
|
144
|
-
"@itcase/ui-core": "^1.9.
|
|
145
|
-
"@itcase/ui-web": "^1.9.
|
|
146
|
-
"@react-native-community/cli": "20.1.
|
|
147
|
-
"@react-native-community/cli-platform-android": "20.1.
|
|
148
|
-
"@react-native-community/cli-platform-ios": "20.1.
|
|
149
|
-
"@react-native/babel-preset": "0.
|
|
150
|
-
"@react-native/eslint-config": "0.
|
|
151
|
-
"@react-native/metro-config": "0.
|
|
152
|
-
"@react-native/typescript-config": "0.
|
|
143
|
+
"@itcase/lint": "^1.1.110",
|
|
144
|
+
"@itcase/ui-core": "^1.9.91",
|
|
145
|
+
"@itcase/ui-web": "^1.9.91",
|
|
146
|
+
"@react-native-community/cli": "20.1.3",
|
|
147
|
+
"@react-native-community/cli-platform-android": "20.1.3",
|
|
148
|
+
"@react-native-community/cli-platform-ios": "20.1.3",
|
|
149
|
+
"@react-native/babel-preset": "0.85.2",
|
|
150
|
+
"@react-native/eslint-config": "0.85.2",
|
|
151
|
+
"@react-native/metro-config": "0.85.2",
|
|
152
|
+
"@react-native/typescript-config": "0.85.2",
|
|
153
153
|
"@rollup/plugin-babel": "^7.0.0",
|
|
154
154
|
"@rollup/plugin-commonjs": "^29.0.2",
|
|
155
155
|
"@rollup/plugin-json": "^6.1.0",
|
|
156
156
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
157
|
-
"@storybook/addon-docs": "^10.3.
|
|
157
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
158
158
|
"@types/react": "^18",
|
|
159
159
|
"@types/react-dom": "^18",
|
|
160
160
|
"react-docgen": "^8.0.3",
|
|
161
161
|
"react-docgen-typescript": "^2.4.0",
|
|
162
162
|
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
|
|
163
|
-
"conventional-changelog-conventionalcommits": "^9.3.
|
|
163
|
+
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
164
164
|
"eslint": "9.39.2",
|
|
165
165
|
"glob": "^13.0.6",
|
|
166
166
|
"husky": "^9.1.7",
|
|
167
167
|
"lint-staged": "^16.4.0",
|
|
168
|
-
"next": "^16.2.
|
|
169
|
-
"prettier": "^3.8.
|
|
168
|
+
"next": "^16.2.4",
|
|
169
|
+
"prettier": "^3.8.3",
|
|
170
170
|
"react": "^18",
|
|
171
171
|
"react-dom": "^18",
|
|
172
|
-
"react-native": "0.
|
|
172
|
+
"react-native": "0.85.2",
|
|
173
173
|
"react-native-web": "^0.21.2",
|
|
174
|
-
"rollup": "^4.
|
|
174
|
+
"rollup": "^4.60.2",
|
|
175
175
|
"rollup-plugin-copy": "^3.5.0",
|
|
176
176
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
177
177
|
"semantic-release": "^25.0.3",
|
|
178
|
-
"stylelint": "^17.
|
|
178
|
+
"stylelint": "^17.9.0",
|
|
179
179
|
"typescript": "^5.9.3",
|
|
180
|
-
"vite": "^8.0.
|
|
180
|
+
"vite": "^8.0.10"
|
|
181
181
|
}
|
|
182
182
|
}
|