profinansy-ui-lib 4.1.11 → 4.1.13

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 (82) hide show
  1. package/dist/Icons.stories.d.ts +5 -0
  2. package/dist/components/blocks/Comment/Comment.stories.d.ts +7 -0
  3. package/dist/components/blocks/CompanyInfo/CompanyInfo.stories.d.ts +7 -0
  4. package/dist/components/blocks/Cookies/Cookies.stories.d.ts +7 -0
  5. package/dist/components/blocks/Favourite/Favourite.stories.d.ts +7 -0
  6. package/dist/components/blocks/Like/Like.stories.d.ts +7 -0
  7. package/dist/components/blocks/Notification/Notification.stories.d.ts +7 -0
  8. package/dist/components/blocks/ShareList/ShareList.stories.d.ts +7 -0
  9. package/dist/components/blocks/Views/Views.stories.d.ts +7 -0
  10. package/dist/components/blocks/footerV2/FooterV2.stories.d.ts +16 -0
  11. package/dist/components/blocks/headerV2/HeaderV2.stories.d.ts +104 -0
  12. package/dist/components/blocks/headerWelcome/HeaderWelcome.stories.d.ts +7 -0
  13. package/dist/components/blocks/sideMenuV2/SideMenuV2.stories.d.ts +6 -0
  14. package/dist/components/blocks/sideMenuV2/SideMenuV2.typed.d.ts +1 -1
  15. package/dist/components/layouts/LayoutSideMenuV2/LayoutSideMenuV2.stories.d.ts +12 -0
  16. package/dist/components/modals/SuccessModal/SuccessModal.stories.d.ts +6 -0
  17. package/dist/components/uikit/Alert/Alert.stories.d.ts +13 -0
  18. package/dist/components/uikit/ArrowButton/ArrowButton.stories.d.ts +9 -0
  19. package/dist/components/uikit/Avatar/Avatar.stories.d.ts +13 -0
  20. package/dist/components/uikit/AvatarCompany/AvatarCompany.stories.d.ts +7 -0
  21. package/dist/components/uikit/Bubbles/Bubbles.stories.d.ts +13 -0
  22. package/dist/components/uikit/Button/Button.stories.d.ts +16 -0
  23. package/dist/components/uikit/ButtonPaging/ButtonPaging.stories.d.ts +16 -0
  24. package/dist/components/uikit/Card/Card.stories.d.ts +8 -0
  25. package/dist/components/uikit/Checkbox/Checkbox.stories.d.ts +14 -0
  26. package/dist/components/uikit/ControlButton/ControlButton.stories.d.ts +10 -0
  27. package/dist/components/uikit/Counter/Counter.stories.d.ts +13 -0
  28. package/dist/components/uikit/Datepicker/Datepicker.stories.d.ts +7 -0
  29. package/dist/components/uikit/DragScroll/DragScroll.stories.d.ts +8 -0
  30. package/dist/components/uikit/Dropdown/Dropdown.d.ts +1 -1
  31. package/dist/components/uikit/Dropdown/Dropdown.stories.d.ts +10 -0
  32. package/dist/components/uikit/ErrorText/ErrorText.stories.d.ts +7 -0
  33. package/dist/components/uikit/FieldRow/FieldRow.stories.d.ts +7 -0
  34. package/dist/components/uikit/FilterButton/FilterButton.stories.d.ts +14 -0
  35. package/dist/components/uikit/FilterButton/components/Drop/Drop.d.ts +1 -1
  36. package/dist/components/uikit/HiddenText/HiddenText.stories.d.ts +7 -0
  37. package/dist/components/uikit/Hint/Hint.d.ts +1 -1
  38. package/dist/components/uikit/Hint/Hint.stories.d.ts +7 -0
  39. package/dist/components/uikit/Input/Input.stories.d.ts +8 -0
  40. package/dist/components/uikit/InputNumber/InputNumber.stories.d.ts +10 -0
  41. package/dist/components/uikit/Loader/Loader.stories.d.ts +7 -0
  42. package/dist/components/uikit/Modal/Modal.stories.d.ts +13 -0
  43. package/dist/components/uikit/PageTitle/PageTitle.stories.d.ts +7 -0
  44. package/dist/components/uikit/PasswordInput/PasswordInput.stories.d.ts +9 -0
  45. package/dist/components/uikit/Popup/Popup.stories.d.ts +7 -0
  46. package/dist/components/uikit/Popup/components/PopupDesktop.d.ts +1 -1
  47. package/dist/components/uikit/Portal/Portal.stories.d.ts +9 -0
  48. package/dist/components/uikit/Radio/Radio.stories.d.ts +16 -0
  49. package/dist/components/uikit/ScreenerSelect/ScreenerSelect.stories.d.ts +10 -0
  50. package/dist/components/uikit/SegmentControl/SegmentControl.stories.d.ts +15 -0
  51. package/dist/components/uikit/Select/Select.stories.d.ts +10 -0
  52. package/dist/components/uikit/SideModal/SideModal.stories.d.ts +13 -0
  53. package/dist/components/uikit/Skeleton/Skeleton.stories.d.ts +13 -0
  54. package/dist/components/uikit/SortingButton/SortingButton.stories.d.ts +16 -0
  55. package/dist/components/uikit/Spinner/Spinner.stories.d.ts +7 -0
  56. package/dist/components/uikit/SwiperButton/SwiperButton.stories.d.ts +15 -0
  57. package/dist/components/uikit/Switch/Switched.stories.d.ts +14 -0
  58. package/dist/components/uikit/Table/Table.stories.d.ts +13 -0
  59. package/dist/components/uikit/Tabs/Tabs.stories.d.ts +15 -0
  60. package/dist/components/uikit/TextButton/TextButton.stories.d.ts +9 -0
  61. package/dist/components/uikit/TextButtonLink/TextButtonLink.stories.d.ts +9 -0
  62. package/dist/components/uikit/TextWithPopup/TextWithPopup.stories.d.ts +7 -0
  63. package/dist/components/uikit/Textarea/Textarea.stories.d.ts +10 -0
  64. package/dist/components/uikit/Textarea/Text/320/260reaAutoSize.stories.d.ts +7 -0
  65. package/dist/components/uikit/Tooltip/Tooltip.d.ts +1 -1
  66. package/dist/components/uikit/Tooltip/Tooltip.stories.d.ts +10 -0
  67. package/dist/components/uikit/Typography/Typography.stories.d.ts +14 -0
  68. package/dist/components/uikit/WidgetTitle/WidgetTitle.stories.d.ts +7 -0
  69. package/dist/constants/animation/animations.stories.d.ts +5 -0
  70. package/dist/localization/translations/urls.d.ts +8 -0
  71. package/dist/profinansy-ui-lib.cjs +689 -689
  72. package/dist/profinansy-ui-lib.cjs.map +1 -1
  73. package/dist/profinansy-ui-lib.es.js +4660 -4712
  74. package/dist/profinansy-ui-lib.es.js.map +1 -1
  75. package/dist/styles/Styled.stories.d.ts +6 -0
  76. package/dist/theme/Theme.stories.d.ts +5 -0
  77. package/dist/theme/shadows.stories.d.ts +5 -0
  78. package/dist/urls/constant.d.ts +3 -3
  79. package/dist/urls/productsV2/budget/budget.d.ts +0 -13
  80. package/dist/urls/productsV2/index.d.ts +1 -1
  81. package/dist/urls/productsV2/investments/investments.d.ts +72 -31
  82. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const ScrollStyle: () => import("react/jsx-runtime").JSX.Element;
6
+ export declare const ListItem: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Colors: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Shadows: () => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import { TProject } from '../config';
2
2
  export declare const ABOUT_LINK = "https://sites.profinansy.ru/about_profinansyru";
3
- export declare const getFeedHost: (project: TProject, isTest: boolean) => "https://lenta.qa.profinansy.dev" | "https://lenta.profinansy.ru" | "";
4
- export declare const getLMSHost: (project: TProject, isTest: boolean) => "https://lms.qa.profinansy.dev" | "https://profinansy.ru" | "";
5
- export declare const getProfinansyHost: (project: TProject, isTest: boolean) => "https://profinansy.ru" | "https://frontend.qa.profinansy.dev" | "";
3
+ export declare const getFeedHost: (project: TProject, isTest: boolean) => "" | "https://lenta.qa.profinansy.dev" | "https://lenta.profinansy.ru";
4
+ export declare const getLMSHost: (project: TProject, isTest: boolean) => "" | "https://lms.qa.profinansy.dev" | "https://profinansy.ru";
5
+ export declare const getProfinansyHost: (project: TProject, isTest: boolean) => "" | "https://profinansy.ru" | "https://frontend.qa.profinansy.dev";
6
6
  export declare const useGetHostnames: (isTest: boolean, project: TProject) => {
7
7
  hostnameLMS: string;
8
8
  hostname: string;
@@ -66,16 +66,3 @@ export declare const getBudgetSidebar: (hostname: string, isGuest: boolean) => {
66
66
  locked: boolean;
67
67
  }[];
68
68
  };
69
- export declare const getBudgetSidebar2: (hostname: string, isGuest: boolean) => {
70
- name: string;
71
- Icon: ComponentType<void>;
72
- href: string;
73
- subPages: {
74
- name: string;
75
- Icon: ComponentType<void>;
76
- isFill: boolean;
77
- isForeignAccess: boolean;
78
- href: string;
79
- locked: boolean;
80
- }[];
81
- };
@@ -1,5 +1,5 @@
1
1
  export { getGoalsHeader, getGoalsSidebar } from './goals/goals';
2
- export { getBudgetHeader, getBudgetSidebar, getBudgetSidebar2 } from './budget/budget';
2
+ export { getBudgetHeader, getBudgetSidebar } from './budget/budget';
3
3
  export { getPortfoliosHeader, getPortfoliosSidebar } from './portfolios/portfolios';
4
4
  export { getInvestmentsHeader, getInvestmentsSidebar } from './investments/investments';
5
5
  export { getClubHeader, getClubFooter } from './club/club';
@@ -140,30 +140,41 @@ export declare const getInvestmentsHeader: (hostname: string, hostnameLenta: str
140
140
  name: string;
141
141
  href: string;
142
142
  locked: boolean;
143
- innerPages: string[];
143
+ subPages?: undefined;
144
+ innerPages?: undefined;
144
145
  isNotVisible?: undefined;
145
- crownShown?: undefined;
146
146
  } | {
147
147
  name: string;
148
148
  href: string;
149
149
  locked: boolean;
150
- innerPages?: undefined;
150
+ subPages: ({
151
+ name: string;
152
+ href: string;
153
+ locked: boolean;
154
+ innerPages: string[];
155
+ crownShown?: undefined;
156
+ } | {
157
+ name: string;
158
+ href: string;
159
+ locked: boolean;
160
+ innerPages?: undefined;
161
+ crownShown?: undefined;
162
+ } | {
163
+ name: string;
164
+ href: string;
165
+ locked: boolean;
166
+ crownShown: boolean;
167
+ innerPages?: undefined;
168
+ })[];
169
+ innerPages: string[];
151
170
  isNotVisible?: undefined;
152
- crownShown?: undefined;
153
171
  } | {
154
172
  name: string;
155
173
  href: string;
156
174
  locked: boolean;
157
175
  isNotVisible: boolean;
158
- innerPages?: undefined;
159
- crownShown?: undefined;
160
- } | {
161
- name: string;
162
- href: string;
163
- locked: boolean;
164
- crownShown: boolean;
165
- innerPages?: undefined;
166
- isNotVisible?: undefined;
176
+ innerPages: string[];
177
+ subPages?: undefined;
167
178
  })[];
168
179
  isForeignAccess?: undefined;
169
180
  unavailable?: undefined;
@@ -262,18 +273,37 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
262
273
  Icon: ComponentType<void>;
263
274
  href: string;
264
275
  subPages: ({
276
+ name: string;
277
+ Icon: ComponentType<void>;
278
+ isFill: boolean;
279
+ isForeignAccess: boolean;
280
+ href: string;
281
+ locked: boolean;
282
+ subPages: {
283
+ name: string;
284
+ href: string;
285
+ locked: boolean;
286
+ innerPages: string[];
287
+ }[];
288
+ unavailable?: undefined;
289
+ description?: undefined;
290
+ imagePlug?: undefined;
291
+ imagePlugMob?: undefined;
292
+ innerPages?: undefined;
293
+ isNew?: undefined;
294
+ } | {
265
295
  name: string;
266
296
  Icon: ComponentType<void>;
267
297
  isFill: boolean;
268
298
  href: string;
269
299
  isForeignAccess?: undefined;
270
300
  locked?: undefined;
301
+ subPages?: undefined;
271
302
  unavailable?: undefined;
272
303
  description?: undefined;
273
304
  imagePlug?: undefined;
274
305
  imagePlugMob?: undefined;
275
306
  innerPages?: undefined;
276
- subPages?: undefined;
277
307
  isNew?: undefined;
278
308
  } | {
279
309
  name: string;
@@ -339,8 +369,8 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
339
369
  description: string;
340
370
  imagePlug: string;
341
371
  imagePlugMob: string;
342
- innerPages?: undefined;
343
372
  subPages?: undefined;
373
+ innerPages?: undefined;
344
374
  } | {
345
375
  name: string;
346
376
  href: string;
@@ -352,30 +382,41 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
352
382
  name: string;
353
383
  href: string;
354
384
  locked: boolean;
355
- innerPages: string[];
385
+ subPages?: undefined;
386
+ innerPages?: undefined;
356
387
  isNotVisible?: undefined;
357
- crownShown?: undefined;
358
388
  } | {
359
389
  name: string;
360
390
  href: string;
361
391
  locked: boolean;
362
- innerPages?: undefined;
392
+ subPages: ({
393
+ name: string;
394
+ href: string;
395
+ locked: boolean;
396
+ innerPages: string[];
397
+ crownShown?: undefined;
398
+ } | {
399
+ name: string;
400
+ href: string;
401
+ locked: boolean;
402
+ innerPages?: undefined;
403
+ crownShown?: undefined;
404
+ } | {
405
+ name: string;
406
+ href: string;
407
+ locked: boolean;
408
+ crownShown: boolean;
409
+ innerPages?: undefined;
410
+ })[];
411
+ innerPages: string[];
363
412
  isNotVisible?: undefined;
364
- crownShown?: undefined;
365
413
  } | {
366
414
  name: string;
367
415
  href: string;
368
416
  locked: boolean;
369
417
  isNotVisible: boolean;
370
- innerPages?: undefined;
371
- crownShown?: undefined;
372
- } | {
373
- name: string;
374
- href: string;
375
- locked: boolean;
376
- crownShown: boolean;
377
- innerPages?: undefined;
378
- isNotVisible?: undefined;
418
+ innerPages: string[];
419
+ subPages?: undefined;
379
420
  })[];
380
421
  unavailable?: undefined;
381
422
  description?: undefined;
@@ -390,12 +431,12 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
390
431
  isForeignAccess: boolean;
391
432
  href: string;
392
433
  locked?: undefined;
434
+ subPages?: undefined;
393
435
  unavailable?: undefined;
394
436
  description?: undefined;
395
437
  imagePlug?: undefined;
396
438
  imagePlugMob?: undefined;
397
439
  innerPages?: undefined;
398
- subPages?: undefined;
399
440
  isNew?: undefined;
400
441
  } | {
401
442
  name: string;
@@ -404,12 +445,12 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
404
445
  isForeignAccess: boolean;
405
446
  href: string;
406
447
  locked: boolean;
448
+ subPages?: undefined;
407
449
  unavailable?: undefined;
408
450
  description?: undefined;
409
451
  imagePlug?: undefined;
410
452
  imagePlugMob?: undefined;
411
453
  innerPages?: undefined;
412
- subPages?: undefined;
413
454
  isNew?: undefined;
414
455
  } | {
415
456
  name: string;
@@ -422,8 +463,8 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
422
463
  description: string;
423
464
  imagePlug: string;
424
465
  imagePlugMob: string;
425
- innerPages?: undefined;
426
466
  subPages?: undefined;
467
+ innerPages?: undefined;
427
468
  isNew?: undefined;
428
469
  })[];
429
470
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profinansy-ui-lib",
3
- "version": "4.1.11",
3
+ "version": "4.1.13",
4
4
  "main": "./dist/profinansy-ui-lib.cjs",
5
5
  "module": "./dist/profinansy-ui-lib.es.js",
6
6
  "types": "./dist/index.d.ts",