@salutejs/sdds-finportal 0.147.0-canary.1503.11466452273.0 → 0.147.0-canary.1504.11479867300.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -133,7 +133,6 @@ import { MouseEvent as MouseEvent_2 } from 'react';
133
133
  import { MutableRefObject } from 'react';
134
134
  import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
135
135
  import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
136
- import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
137
136
  import { NotificationProps } from '@salutejs/plasma-new-hope/styled-components';
138
137
  import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
139
138
  import { Overlay } from '@salutejs/plasma-new-hope/styled-components';
@@ -2894,7 +2893,6 @@ export { NotificationProps }
2894
2893
  export const NotificationsProvider: React_2.FC<{
2895
2894
  children: ReactNode;
2896
2895
  frame?: string;
2897
- placement?: NotificationPlacement;
2898
2896
  }>;
2899
2897
 
2900
2898
  export { Overlay }
@@ -1,11 +1,10 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { NotificationProps, NotificationIconPlacement, NotificationPlacement, NotificationLayout, addNotification, closeNotification } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { NotificationProps, NotificationIconPlacement, NotificationLayout, addNotification, closeNotification } from '@salutejs/plasma-new-hope/styled-components';
3
3
  export { modalClasses } from '../Modal';
4
4
  export declare const Notification: React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const NotificationsProvider: React.FC<{
6
6
  children: ReactNode;
7
7
  frame?: string;
8
- placement?: NotificationPlacement;
9
8
  }>;
10
- export type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };
9
+ export type { NotificationIconPlacement, NotificationLayout, NotificationProps };
11
10
  export { addNotification, closeNotification };
@@ -27,16 +27,14 @@ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-c
27
27
  var _Notification = /*#__PURE__*/require("./Notification.config");
28
28
  var _Modal = /*#__PURE__*/require("../Modal");
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
30
- var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.notificationConfig, _Notification.config);
30
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.noticationConfig, _Notification.config);
31
31
  var Notification = exports.Notification = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
32
32
  var NotificationsProvider = exports.NotificationsProvider = function NotificationsProvider(_ref) {
33
33
  var children = _ref.children,
34
34
  _ref$frame = _ref.frame,
35
- frame = _ref$frame === void 0 ? 'document' : _ref$frame,
36
- placement = _ref.placement;
35
+ frame = _ref$frame === void 0 ? 'document' : _ref$frame;
37
36
  return /*#__PURE__*/_react["default"].createElement(_styledComponents.NotificationsProvider, {
38
37
  config: mergedConfig,
39
- frame: frame,
40
- placement: placement
38
+ frame: frame
41
39
  }, children);
42
40
  };
@@ -1,18 +1,16 @@
1
1
  import React from 'react';
2
- import { component, mergeConfig, notificationConfig, NotificationsProvider as Provider, addNotification, closeNotification } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { component, mergeConfig, noticationConfig, NotificationsProvider as Provider, addNotification, closeNotification } from '@salutejs/plasma-new-hope/styled-components';
3
3
  import { config } from './Notification.config';
4
4
  export { modalClasses } from '../Modal';
5
- var mergedConfig = /*#__PURE__*/mergeConfig(notificationConfig, config);
5
+ var mergedConfig = /*#__PURE__*/mergeConfig(noticationConfig, config);
6
6
  export var Notification = /*#__PURE__*/component(mergedConfig);
7
7
  export var NotificationsProvider = function NotificationsProvider(_ref) {
8
8
  var children = _ref.children,
9
9
  _ref$frame = _ref.frame,
10
- frame = _ref$frame === void 0 ? 'document' : _ref$frame,
11
- placement = _ref.placement;
10
+ frame = _ref$frame === void 0 ? 'document' : _ref$frame;
12
11
  return /*#__PURE__*/React.createElement(Provider, {
13
12
  config: mergedConfig,
14
- frame: frame,
15
- placement: placement
13
+ frame: frame
16
14
  }, children);
17
15
  };
18
16
  export { addNotification, closeNotification };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-finportal",
3
- "version": "0.147.0-canary.1503.11466452273.0",
3
+ "version": "0.147.0-canary.1504.11479867300.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS FinPortal web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "directory": "packages/sdds-finportal"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.174.0-canary.1503.11466452273.0",
22
+ "@salutejs/plasma-new-hope": "0.174.0-canary.1504.11479867300.0",
23
23
  "@salutejs/sdds-themes": "0.24.0-dev.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -94,5 +94,5 @@
94
94
  "Vasiliy Loginevskiy"
95
95
  ],
96
96
  "sideEffects": false,
97
- "gitHead": "1c5d74694d9b51013c584be5c05eb691be4ae341"
97
+ "gitHead": "b99ef47213befea51fdaccfc6023a09853e5885f"
98
98
  }
@@ -133,7 +133,6 @@ import { MouseEvent as MouseEvent_2 } from 'react';
133
133
  import { MutableRefObject } from 'react';
134
134
  import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
135
135
  import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
136
- import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
137
136
  import { NotificationProps } from '@salutejs/plasma-new-hope/styled-components';
138
137
  import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
139
138
  import { Overlay } from '@salutejs/plasma-new-hope/styled-components';
@@ -2894,7 +2893,6 @@ export { NotificationProps }
2894
2893
  export const NotificationsProvider: React_2.FC<{
2895
2894
  children: ReactNode;
2896
2895
  frame?: string;
2897
- placement?: NotificationPlacement;
2898
2896
  }>;
2899
2897
 
2900
2898
  export { Overlay }