@itcase/storybook-config 1.2.79 → 1.2.81

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 (120) hide show
  1. package/dist/{FormSubmitWrapper-_VeLgVir.js → FormSubmitWrapper-Bv5qs18h.js} +10 -3
  2. package/dist/cjs/components/EmailTemplatePreview.js +1 -1
  3. package/dist/cjs/components/FormSubmitWrapper.js +1 -1
  4. package/dist/cjs/decorators/withFormSubmitDecorator.js +1 -2
  5. package/dist/cjs/decorators/withNextDecorator.js +1 -1
  6. package/dist/cjs/decorators/withUiDecorator.js +1 -1
  7. package/dist/cjs/decorators.js +2 -3
  8. package/dist/components/EmailTemplatePreview/index.d.ts +2 -0
  9. package/dist/components/EmailTemplatePreview/index.js +38 -0
  10. package/dist/components/EmailTemplatePreview.js +1 -1
  11. package/dist/components/FormSubmitWrapper/FormSubmitWrapper.d.ts +16 -0
  12. package/dist/components/FormSubmitWrapper/FormSubmitWrapper.js +88 -0
  13. package/dist/components/FormSubmitWrapper/autoSubmitForm.d.ts +2 -0
  14. package/dist/components/FormSubmitWrapper/autoSubmitForm.js +106 -0
  15. package/dist/components/FormSubmitWrapper/index.d.ts +2 -0
  16. package/dist/components/FormSubmitWrapper/index.js +2 -0
  17. package/dist/components/{FormSubmitWrapper-B2tMQZu2.js → FormSubmitWrapper-EwNkaMht.js} +10 -3
  18. package/dist/components/FormSubmitWrapper.js +1 -1
  19. package/dist/config/addons/addonThemes.d.ts +15 -0
  20. package/dist/config/addons/addonThemes.js +14 -15
  21. package/dist/config/addons/addonsNextJs.d.ts +2 -0
  22. package/dist/config/addons/addonsNextJs.js +8 -9
  23. package/dist/config/addons/addonsReactNative.d.ts +2 -0
  24. package/dist/config/addons/addonsReactNative.js +6 -7
  25. package/dist/config/addons/addonsReactNativeWeb.d.ts +2 -0
  26. package/dist/config/addons/addonsReactNativeWeb.js +2 -3
  27. package/dist/config/addons/addonsVite.d.ts +2 -0
  28. package/dist/config/addons/addonsVite.js +8 -9
  29. package/dist/config/addons/addonsWebpack.d.ts +18 -0
  30. package/dist/config/addons/addonsWebpack.js +26 -27
  31. package/dist/config/appearance/appearance.d.ts +1 -0
  32. package/dist/config/appearance/appearance.js +1 -1
  33. package/dist/config/backgrounds/backgrounds.d.ts +23 -0
  34. package/dist/config/backgrounds/backgrounds.js +22 -24
  35. package/dist/config/code/code.d.ts +8 -0
  36. package/dist/config/code/code.js +18 -22
  37. package/dist/config/config/mainConfigNextJsVite.d.ts +10 -0
  38. package/dist/config/config/mainConfigNextJsVite.js +35 -38
  39. package/dist/config/config/mainConfigReactNative.d.ts +9 -0
  40. package/dist/config/config/mainConfigReactNative.js +21 -23
  41. package/dist/config/config/mainConfigReactNativeWeb.d.ts +23 -0
  42. package/dist/config/config/mainConfigReactNativeWeb.js +42 -46
  43. package/dist/config/config/mainConfigVite.d.ts +9 -0
  44. package/dist/config/config/mainConfigVite.js +75 -80
  45. package/dist/config/config/mainConfigWebpack.d.ts +9 -0
  46. package/dist/config/config/mainConfigWebpack.js +39 -64
  47. package/dist/config/framework/frameworkNextJs.d.ts +4 -0
  48. package/dist/config/framework/frameworkNextJs.js +3 -4
  49. package/dist/config/framework/frameworkNextJsVite.d.ts +4 -0
  50. package/dist/config/framework/frameworkNextJsVite.js +3 -4
  51. package/dist/config/framework/frameworkReactNative.d.ts +4 -0
  52. package/dist/config/framework/frameworkReactNative.js +3 -4
  53. package/dist/config/framework/frameworkReactNativeWeb.d.ts +4 -0
  54. package/dist/config/framework/frameworkReactNativeWeb.js +3 -4
  55. package/dist/config/framework/frameworkVite.d.ts +4 -0
  56. package/dist/config/framework/frameworkVite.js +3 -4
  57. package/dist/config/framework/frameworkWebpack.d.ts +11 -0
  58. package/dist/config/framework/frameworkWebpack.js +9 -10
  59. package/dist/config/main/index.d.ts +26 -0
  60. package/dist/config/main/index.js +26 -53
  61. package/dist/config/msw/index.d.ts +2 -0
  62. package/dist/config/msw/index.js +2 -7
  63. package/dist/config/msw/mswHandlers.d.ts +5 -0
  64. package/dist/config/msw/mswHandlers.js +20 -24
  65. package/dist/config/ondevice/ondeviceBackgrounds.d.ts +8 -0
  66. package/dist/config/ondevice/ondeviceBackgrounds.js +8 -9
  67. package/dist/config/preview/index.d.ts +6 -0
  68. package/dist/config/preview/index.js +6 -13
  69. package/dist/config/refs/refs.d.ts +13 -0
  70. package/dist/config/refs/refs.js +12 -13
  71. package/dist/config/sourceLink/sourceLink.d.ts +35 -0
  72. package/dist/config/sourceLink/sourceLink.js +32 -36
  73. package/dist/config/static/staticDirsNextJs.d.ts +5 -0
  74. package/dist/config/static/staticDirsNextJs.js +5 -6
  75. package/dist/config/static/staticDirsReactNative.d.ts +2 -0
  76. package/dist/config/static/staticDirsReactNative.js +2 -3
  77. package/dist/config/static/staticDirsReactNativeWeb.d.ts +2 -0
  78. package/dist/config/static/staticDirsReactNativeWeb.js +2 -3
  79. package/dist/config/static/staticDirsVite.d.ts +5 -0
  80. package/dist/config/static/staticDirsVite.js +2 -3
  81. package/dist/config/static/staticDirsWebpack.d.ts +5 -0
  82. package/dist/config/static/staticDirsWebpack.js +2 -3
  83. package/dist/config/status/status.d.ts +21 -0
  84. package/dist/config/status/status.js +23 -24
  85. package/dist/config/users/authorization.d.ts +22 -0
  86. package/dist/config/users/authorization.js +6 -8
  87. package/dist/config/users/users.d.ts +18 -0
  88. package/dist/config/users/users.js +19 -21
  89. package/dist/config/viewport/viewport.d.ts +264 -0
  90. package/dist/config/viewport/viewport.js +23 -25
  91. package/dist/config/vite/getMediaProxyServerConfig.d.ts +13 -0
  92. package/dist/config/vite/getMediaProxyServerConfig.js +14 -16
  93. package/dist/decorators/index.d.ts +8 -0
  94. package/dist/decorators/index.js +8 -0
  95. package/dist/decorators/withClearStoresDecorator.d.ts +4 -0
  96. package/dist/decorators/withExtraProviders.d.ts +2 -0
  97. package/dist/decorators/withFigmaSourceLink.d.ts +5 -0
  98. package/dist/decorators/withFormSubmitDecorator.d.ts +2 -0
  99. package/dist/decorators/withFormSubmitDecorator.js +1 -2
  100. package/dist/decorators/withLayoutDecorator.d.ts +4 -0
  101. package/dist/decorators/withNextDecorator.d.ts +9 -0
  102. package/dist/decorators/withNextDecorator.js +1 -1
  103. package/dist/decorators/withUiDecorator.d.ts +5 -0
  104. package/dist/decorators/withUiDecorator.js +1 -1
  105. package/dist/decorators.js +2 -3
  106. package/dist/utils/getFigmaSourceLink.d.ts +2 -0
  107. package/dist/utils/getFigmaSourceLink.js +13 -14
  108. package/dist/utils/getStoryInfoBlocks.d.ts +2 -0
  109. package/dist/utils/getStoryInfoBlocks.js +45 -55
  110. package/dist/utils/handleMSWParameters.d.ts +8 -0
  111. package/dist/utils/handleMSWParameters.js +18 -27
  112. package/dist/utils/hasFormParameters.d.ts +2 -0
  113. package/dist/utils/hasFormParameters.js +6 -9
  114. package/dist/utils/index.d.ts +7 -0
  115. package/dist/utils/index.js +9 -17
  116. package/dist/utils/isVitestEnvironment.d.ts +2 -0
  117. package/dist/utils/isVitestEnvironment.js +2 -3
  118. package/dist/utils/storybookServerErrorOnSubmit.d.ts +2 -0
  119. package/dist/utils/storybookServerErrorOnSubmit.js +12 -19
  120. package/package.json +50 -43
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
- import { NotificationWrapper } from '@itcase/ui-web/components/Notification';
3
2
  import { UIProvider, NotificationsProvider } from '@itcase/ui-core/context';
3
+ import { NotificationWrapper } from '@itcase/ui-web/components/Notification';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
5
5
 
6
6
  function withUiDecorator(Story, {
@@ -8,9 +8,8 @@ export { withUiDecorator } from './decorators/withUiDecorator.js';
8
8
  import 'react';
9
9
  import 'react/jsx-runtime';
10
10
  import './components/isArray-CPoGkdXv.js';
11
- import './components/FormSubmitWrapper-B2tMQZu2.js';
11
+ import './components/FormSubmitWrapper-EwNkaMht.js';
12
12
  import '@itcase/common';
13
13
  import 'msw';
14
- import 'final-form';
15
- import '@itcase/ui-web/components/Notification';
16
14
  import '@itcase/ui-core/context';
15
+ import '@itcase/ui-web/components/Notification';
@@ -0,0 +1,2 @@
1
+ declare function getFigmaSourceLink(getMeta: any): any;
2
+ export { getFigmaSourceLink };
@@ -1,16 +1,15 @@
1
1
  function getFigmaSourceLink(getMeta) {
2
- const meta = getMeta()
3
- const links = meta.design.reduce((result, item) => {
4
- result[`figma${item.name}`] = () => {
5
- return {
6
- label: `Figma${item.name} — + ${meta.title}`,
7
- href: item.url,
8
- icon: 'FigmaIcon',
9
- }
10
- }
11
- return result
12
- }, {})
13
- return links
2
+ const meta = getMeta();
3
+ const links = meta.design.reduce((result, item) => {
4
+ result[`figma${item.name}`] = () => {
5
+ return {
6
+ label: `Figma${item.name} — + ${meta.title}`,
7
+ href: item.url,
8
+ icon: 'FigmaIcon',
9
+ };
10
+ };
11
+ return result;
12
+ }, {});
13
+ return links;
14
14
  }
15
-
16
- export { getFigmaSourceLink }
15
+ export { getFigmaSourceLink };
@@ -0,0 +1,2 @@
1
+ declare function getStoryInfoBlocks(infoBlockSlugsList?: any[]): Promise<any>;
2
+ export { getStoryInfoBlocks };
@@ -1,57 +1,47 @@
1
- import camelCase from 'lodash/camelCase'
2
-
3
- import { axiosInstanceITCase } from '@itcase/common'
4
-
1
+ import camelCase from 'lodash/camelCase';
2
+ import { axiosInstanceITCase } from '@itcase/common';
5
3
  async function getStoryInfoBlocks(infoBlockSlugsList = []) {
6
- const slugsList = []
7
- const regExpsList = []
8
-
9
- infoBlockSlugsList.forEach((slug) => {
10
- if (slug instanceof RegExp) {
11
- regExpsList.push(slug)
12
- } else {
13
- slugsList.push(slug)
14
- }
15
- })
16
-
17
- const slugsQuery = slugsList.join(',')
18
- const response = await axiosInstanceITCase.get(
19
- `/rest/infoblocks/?active=true&slugs=${slugsQuery}`,
20
- )
21
- const infoBlocksList = response.data.results || []
22
- const infoBlocks = infoBlocksList.reduce((resultData, infoBlockItem) => {
23
- const targetSlugRegExp = regExpsList.find((slugRegExp) => {
24
- return slugRegExp.test(infoBlockItem.slug)
25
- })
26
-
27
- if (targetSlugRegExp) {
28
- const key = camelCase(infoBlockItem.slug)
29
- if (resultData[key]) {
30
- resultData[key].push(infoBlockItem)
31
- } else {
32
- resultData[key] = [infoBlockItem]
33
- }
34
- return resultData
35
- }
36
-
37
- const targetSlug = slugsList.find((slug) => {
38
- return slug === infoBlockItem.slug
39
- })
40
-
41
- if (targetSlug) {
42
- const key = camelCase(targetSlug)
43
- resultData[key] = infoBlockItem
44
- return resultData
45
- }
46
-
47
- // If no specific infoBlocks are assigned to this page,
48
- // then we use the "slug" as a key for the infoBlocks dictionary.
49
- const infoBlockKey = camelCase(infoBlockItem.slug)
50
- resultData[infoBlockKey] = infoBlockItem
51
- return resultData
52
- }, {})
53
-
54
- return infoBlocks
4
+ const slugsList = [];
5
+ const regExpsList = [];
6
+ infoBlockSlugsList.forEach((slug) => {
7
+ if (slug instanceof RegExp) {
8
+ regExpsList.push(slug);
9
+ }
10
+ else {
11
+ slugsList.push(slug);
12
+ }
13
+ });
14
+ const slugsQuery = slugsList.join(',');
15
+ const response = await axiosInstanceITCase.get(`/rest/infoblocks/?active=true&slugs=${slugsQuery}`);
16
+ const infoBlocksList = response.data.results || [];
17
+ const infoBlocks = infoBlocksList.reduce((resultData, infoBlockItem) => {
18
+ const targetSlugRegExp = regExpsList.find((slugRegExp) => {
19
+ return slugRegExp.test(infoBlockItem.slug);
20
+ });
21
+ if (targetSlugRegExp) {
22
+ const key = camelCase(infoBlockItem.slug);
23
+ if (resultData[key]) {
24
+ resultData[key].push(infoBlockItem);
25
+ }
26
+ else {
27
+ resultData[key] = [infoBlockItem];
28
+ }
29
+ return resultData;
30
+ }
31
+ const targetSlug = slugsList.find((slug) => {
32
+ return slug === infoBlockItem.slug;
33
+ });
34
+ if (targetSlug) {
35
+ const key = camelCase(targetSlug);
36
+ resultData[key] = infoBlockItem;
37
+ return resultData;
38
+ }
39
+ // If no specific infoBlocks are assigned to this page,
40
+ // then we use the "slug" as a key for the infoBlocks dictionary.
41
+ const infoBlockKey = camelCase(infoBlockItem.slug);
42
+ resultData[infoBlockKey] = infoBlockItem;
43
+ return resultData;
44
+ }, {});
45
+ return infoBlocks;
55
46
  }
56
-
57
- export { getStoryInfoBlocks }
47
+ export { getStoryInfoBlocks };
@@ -0,0 +1,8 @@
1
+ declare function handleMSWParameters(parameters: any, args: any): {
2
+ msw?: undefined;
3
+ } | {
4
+ msw: {
5
+ handlers: any[];
6
+ };
7
+ };
8
+ export { handleMSWParameters };
@@ -1,29 +1,20 @@
1
- import {
2
- serverErrorDataHandler,
3
- serverErrorHandler,
4
- } from '../config/msw/mswHandlers'
5
-
1
+ import { serverErrorDataHandler, serverErrorHandler, } from '../config/msw/mswHandlers';
6
2
  function handleMSWParameters(parameters, args) {
7
- const errors = args?.errors
8
- const handlers = []
9
-
10
- if (parameters.serverError) {
11
- handlers.push(serverErrorHandler(errors))
12
- }
13
-
14
- if (parameters.serverErrorData) {
15
- handlers.push(serverErrorDataHandler(errors?.non_field_errors || errors))
16
- }
17
-
18
- if (handlers.length === 0) {
19
- return {}
20
- }
21
-
22
- return {
23
- msw: {
24
- handlers,
25
- },
26
- }
3
+ const errors = args?.errors;
4
+ const handlers = [];
5
+ if (parameters.serverError) {
6
+ handlers.push(serverErrorHandler(errors));
7
+ }
8
+ if (parameters.serverErrorData) {
9
+ handlers.push(serverErrorDataHandler(errors?.non_field_errors || errors));
10
+ }
11
+ if (handlers.length === 0) {
12
+ return {};
13
+ }
14
+ return {
15
+ msw: {
16
+ handlers,
17
+ },
18
+ };
27
19
  }
28
-
29
- export { handleMSWParameters }
20
+ export { handleMSWParameters };
@@ -0,0 +1,2 @@
1
+ declare function hasFormParameters(parameters: any): boolean;
2
+ export { hasFormParameters };
@@ -1,11 +1,8 @@
1
1
  function hasFormParameters(parameters) {
2
- return Boolean(
3
- parameters.require ||
4
- parameters.validation ||
5
- parameters.error ||
6
- parameters.serverError ||
7
- parameters.serverErrorData,
8
- )
2
+ return Boolean(parameters.require ||
3
+ parameters.validation ||
4
+ parameters.error ||
5
+ parameters.serverError ||
6
+ parameters.serverErrorData);
9
7
  }
10
-
11
- export { hasFormParameters }
8
+ export { hasFormParameters };
@@ -0,0 +1,7 @@
1
+ import { getFigmaSourceLink } from './getFigmaSourceLink.js';
2
+ import { getStoryInfoBlocks } from './getStoryInfoBlocks.js';
3
+ import { handleMSWParameters } from './handleMSWParameters.js';
4
+ import { hasFormParameters } from './hasFormParameters.js';
5
+ import { isVitestEnvironment } from './isVitestEnvironment.js';
6
+ import { mapErrorsToFinalForm } from './storybookServerErrorOnSubmit.js';
7
+ export { getFigmaSourceLink, getStoryInfoBlocks, handleMSWParameters, hasFormParameters, isVitestEnvironment, mapErrorsToFinalForm, };
@@ -1,18 +1,10 @@
1
- import { getFigmaSourceLink } from './getFigmaSourceLink.js'
2
- import { getStoryInfoBlocks } from './getStoryInfoBlocks.js'
3
- import { handleMSWParameters } from './handleMSWParameters.js'
4
- import { hasFormParameters } from './hasFormParameters.js'
5
- import { isVitestEnvironment } from './isVitestEnvironment.js'
6
- import { mapErrorsToFinalForm } from './storybookServerErrorOnSubmit.js'
7
-
1
+ import { getFigmaSourceLink } from './getFigmaSourceLink.js';
2
+ import { getStoryInfoBlocks } from './getStoryInfoBlocks.js';
3
+ import { handleMSWParameters } from './handleMSWParameters.js';
4
+ import { hasFormParameters } from './hasFormParameters.js';
5
+ import { isVitestEnvironment } from './isVitestEnvironment.js';
6
+ import { mapErrorsToFinalForm } from './storybookServerErrorOnSubmit.js';
8
7
  // import { storybookFormMockFactory } from './storybookFormMockFactory.js'
9
-
10
- export {
11
- getFigmaSourceLink,
12
- getStoryInfoBlocks,
13
- handleMSWParameters,
14
- hasFormParameters,
15
- isVitestEnvironment,
16
- mapErrorsToFinalForm,
17
- // storybookFormMockFactory,
18
- }
8
+ export { getFigmaSourceLink, getStoryInfoBlocks, handleMSWParameters, hasFormParameters, isVitestEnvironment, mapErrorsToFinalForm,
9
+ // storybookFormMockFactory,
10
+ };
@@ -0,0 +1,2 @@
1
+ declare function isVitestEnvironment(): boolean;
2
+ export { isVitestEnvironment };
@@ -1,5 +1,4 @@
1
1
  function isVitestEnvironment() {
2
- return Boolean(import.meta.env?.VITEST)
2
+ return Boolean(import.meta.env?.VITEST);
3
3
  }
4
-
5
- export { isVitestEnvironment }
4
+ export { isVitestEnvironment };
@@ -0,0 +1,2 @@
1
+ declare function mapErrorsToFinalForm(errors: Record<string, unknown> | null | undefined): Record<string | symbol, unknown>;
2
+ export { mapErrorsToFinalForm };
@@ -1,21 +1,14 @@
1
- import { FORM_ERROR } from 'final-form'
2
-
1
+ const FORM_ERROR = 'FINAL_FORM/form-error';
3
2
  function mapErrorsToFinalForm(errors) {
4
- if (!errors || typeof errors !== 'object') {
5
- return {}
6
- }
7
-
8
- const formErrors = {}
9
-
10
- for (const key of Object.keys(errors)) {
11
- const errorFieldKey =
12
- key === 'non_field_errors' || key === 'detail' ? FORM_ERROR : key
13
- const value = errors[key]
14
-
15
- formErrors[errorFieldKey] = Array.isArray(value) ? value[0] : value
16
- }
17
-
18
- return formErrors
3
+ if (!errors || typeof errors !== 'object') {
4
+ return {};
5
+ }
6
+ const formErrors = {};
7
+ for (const key of Object.keys(errors)) {
8
+ const errorFieldKey = key === 'non_field_errors' || key === 'detail' ? FORM_ERROR : key;
9
+ const value = errors[key];
10
+ formErrors[errorFieldKey] = Array.isArray(value) ? value[0] : value;
11
+ }
12
+ return formErrors;
19
13
  }
20
-
21
- export { mapErrorsToFinalForm }
14
+ export { mapErrorsToFinalForm };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/storybook-config",
3
- "version": "1.2.79",
3
+ "version": "1.2.81",
4
4
  "author": "ITCase",
5
5
  "description": "Storybook configuration package",
6
6
  "engines": {
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "scripts": {
10
10
  "build": "npm run build-js",
11
- "build-js": "rm -rf dist && NODE_ENV=production rollup -c",
11
+ "build-js": "rm -rf dist && tsc -p tsconfig.build.json && NODE_ENV=production rollup -c",
12
+ "typecheck": "tsc --noEmit --pretty -p tsconfig.json",
12
13
  "prepare": "npx husky install",
13
14
  "prepack": "npm run build",
14
15
  "ios": "react-native run-ios -- --reset-cache",
@@ -34,14 +35,17 @@
34
35
  "require": "./dist/cjs/components/*.js"
35
36
  },
36
37
  "./config/main": {
38
+ "types": "./dist/config/main/index.d.ts",
37
39
  "import": "./dist/config/main/index.js",
38
40
  "require": "./dist/config/main/index.js"
39
41
  },
40
42
  "./config/preview": {
43
+ "types": "./dist/config/preview/index.d.ts",
41
44
  "import": "./dist/config/preview/index.js",
42
45
  "require": "./dist/config/preview/index.js"
43
46
  },
44
47
  "./config/msw": {
48
+ "types": "./dist/config/msw/index.d.ts",
45
49
  "import": "./dist/config/msw/index.js",
46
50
  "require": "./dist/config/msw/index.js"
47
51
  },
@@ -58,10 +62,12 @@
58
62
  "require": "./dist/cjs/decorators/*.js"
59
63
  },
60
64
  "./decorators": {
65
+ "types": "./dist/decorators/index.d.ts",
61
66
  "import": "./dist/decorators.js",
62
67
  "require": "./dist/decorators.js"
63
68
  },
64
69
  "./utils": {
70
+ "types": "./dist/utils/index.d.ts",
65
71
  "import": "./dist/utils/index.js",
66
72
  "require": "./dist/utils/index.js"
67
73
  }
@@ -94,45 +100,45 @@
94
100
  "@react-native-async-storage/async-storage": "^3.1.1",
95
101
  "@react-native-community/datetimepicker": "^9.1.0",
96
102
  "@storybook/addon-designs": "^11.1.4",
97
- "@storybook/addon-docs": "^10.5.0",
98
- "@storybook/addon-links": "^10.5.0",
99
- "@storybook/addon-ondevice-actions": "10.5.0",
100
- "@storybook/addon-ondevice-backgrounds": "10.5.0",
101
- "@storybook/addon-ondevice-controls": "10.5.0",
102
- "@storybook/addon-ondevice-notes": "^10.5.0",
103
+ "@storybook/addon-docs": "^10.5.5",
104
+ "@storybook/addon-links": "^10.5.5",
105
+ "@storybook/addon-ondevice-actions": "10.5.4",
106
+ "@storybook/addon-ondevice-backgrounds": "10.5.4",
107
+ "@storybook/addon-ondevice-controls": "10.5.4",
108
+ "@storybook/addon-ondevice-notes": "^10.5.4",
103
109
  "@storybook/addon-react-native-web": "^0.0.29",
104
110
  "@storybook/addon-styling-webpack": "^3.0.2",
105
- "@storybook/addon-themes": "^10.5.0",
106
- "@storybook/addon-vitest": "^10.5.0",
111
+ "@storybook/addon-themes": "^10.5.5",
112
+ "@storybook/addon-vitest": "^10.5.5",
107
113
  "@storybook/addon-webpack5-compiler-swc": "^4.0.3",
108
- "@storybook/builder-vite": "^10.5.0",
109
- "@storybook/nextjs": "^10.5.0",
110
- "@storybook/nextjs-vite": "^10.5.0",
111
- "@storybook/react": "^10.5.0",
112
- "@storybook/react-native": "10.5.0",
113
- "@storybook/react-native-ui-lite": "10.5.0",
114
- "@storybook/react-native-web-vite": "^10.5.0",
115
- "@storybook/react-vite": "^10.5.0",
116
- "@storybook/react-webpack5": "^10.5.0",
117
- "@vitejs/plugin-react": "^6.0.3",
114
+ "@storybook/builder-vite": "^10.5.5",
115
+ "@storybook/nextjs": "^10.5.5",
116
+ "@storybook/nextjs-vite": "^10.5.5",
117
+ "@storybook/react": "^10.5.5",
118
+ "@storybook/react-native": "10.5.4",
119
+ "@storybook/react-native-ui-lite": "10.5.4",
120
+ "@storybook/react-native-web-vite": "^10.5.5",
121
+ "@storybook/react-vite": "^10.5.5",
122
+ "@storybook/react-webpack5": "^10.5.5",
123
+ "@vitejs/plugin-react": "^6.0.4",
118
124
  "@vitest/browser-playwright": "^4.1.10",
119
125
  "babel-loader": "^10.1.1",
120
126
  "babel-plugin-react-docgen": "^4.2.1",
121
127
  "babel-plugin-react-native-web": "^0.21.2",
122
128
  "babel-plugin-transform-inline-environment-variables": "^0.4.4",
123
- "chalk": "^5.6.2",
129
+ "chalk": "^6.0.0",
124
130
  "http-proxy-middleware": "^4.2.0",
125
131
  "msw": "^2.15.0",
126
- "msw-storybook-addon": "^2.0.7",
127
- "react-native-gesture-handler": "^3.0.2",
128
- "react-native-reanimated": "^4.5.1",
132
+ "msw-storybook-addon": "^3.0.0",
133
+ "react-native-gesture-handler": "^3.1.0",
134
+ "react-native-reanimated": "^4.5.3",
129
135
  "react-native-safe-area-context": "^5.8.0",
130
136
  "react-native-svg": "^15.15.5",
131
137
  "react-native-web": "^0.21.2",
132
- "react-native-worklets": "^0.10.2",
133
- "storybook": "^10.5.0",
138
+ "react-native-worklets": "^0.11.3",
139
+ "storybook": "^10.5.5",
134
140
  "storybook-addon-source-link": "^2.0.1",
135
- "vite": "^8.1.4",
141
+ "vite": "^8.1.5",
136
142
  "vite-plugin-babel": "^1.7.3",
137
143
  "vite-plugin-svgr": "^5.2.0",
138
144
  "vite-tsconfig-paths": "^6.1.1",
@@ -142,25 +148,26 @@
142
148
  "@babel/core": "^8.0.1",
143
149
  "@babel/preset-env": "^8.0.2",
144
150
  "@babel/preset-react": "^8.0.1",
151
+ "@babel/preset-typescript": "^8.0.1",
145
152
  "@babel/runtime": "^8.0.0",
146
153
  "@commitlint/cli": "^21.2.1",
147
154
  "@commitlint/config-conventional": "^21.2.0",
148
- "@itcase/common": "^1.2.47",
155
+ "@itcase/common": "^1.2.50",
149
156
  "@itcase/lint": "^1.1.118",
150
- "@itcase/ui-core": "^1.10.44",
151
- "@itcase/ui-web": "^1.10.44",
157
+ "@itcase/ui-core": "^1.10.61",
158
+ "@itcase/ui-web": "^1.10.61",
152
159
  "@react-native-community/cli": "20.2.0",
153
160
  "@react-native-community/cli-platform-android": "20.2.0",
154
161
  "@react-native-community/cli-platform-ios": "20.2.0",
155
- "@react-native/babel-preset": "0.86.0",
156
- "@react-native/eslint-config": "0.86.0",
157
- "@react-native/metro-config": "0.86.0",
158
- "@react-native/typescript-config": "0.86.0",
162
+ "@react-native/babel-preset": "0.86.2",
163
+ "@react-native/eslint-config": "0.86.2",
164
+ "@react-native/metro-config": "0.86.2",
165
+ "@react-native/typescript-config": "0.86.2",
159
166
  "@rollup/plugin-babel": "^7.1.0",
160
167
  "@rollup/plugin-commonjs": "^29.0.3",
161
168
  "@rollup/plugin-json": "^6.1.0",
162
169
  "@rollup/plugin-node-resolve": "^16.0.3",
163
- "@storybook/addon-docs": "^10.5.0",
170
+ "@storybook/addon-docs": "^10.5.5",
164
171
  "@types/react": "^18",
165
172
  "@types/react-dom": "^18",
166
173
  "babel-plugin-transform-inline-environment-variables": "^0.4.4",
@@ -168,21 +175,21 @@
168
175
  "eslint": "9.39.2",
169
176
  "glob": "^13.0.6",
170
177
  "husky": "^9.1.7",
171
- "lint-staged": "^17.0.8",
172
- "next": "^16.2.10",
173
- "prettier": "^3.9.5",
178
+ "lint-staged": "^17.2.0",
179
+ "next": "^16.2.12",
180
+ "prettier": "^3.9.6",
174
181
  "react": "^18",
175
182
  "react-docgen": "^8.0.3",
176
183
  "react-docgen-typescript": "^2.4.0",
177
184
  "react-dom": "^18",
178
- "react-native": "0.86.0",
185
+ "react-native": "0.86.2",
179
186
  "react-native-web": "^0.21.2",
180
- "rollup": "^4.62.2",
187
+ "rollup": "^4.62.3",
181
188
  "rollup-plugin-copy": "^3.5.0",
182
189
  "rollup-plugin-peer-deps-external": "^2.2.4",
183
- "semantic-release": "^25.0.7",
184
- "stylelint": "^17.14.0",
190
+ "semantic-release": "^25.0.8",
191
+ "stylelint": "^17.14.1",
185
192
  "typescript": "^6.0.3",
186
- "vite": "^8.1.4"
193
+ "vite": "^8.1.5"
187
194
  }
188
195
  }