@salutejs/sdds-serv 0.233.0-canary.1718.12929142809.0 → 0.233.0-canary.1720.12932623654.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-serv.api.md +2 -1
- package/components/DatePicker/DatePicker.d.ts +2 -0
- package/components/Notification/Notification.d.ts +0 -1
- package/components/Notification/Notification.js +2 -4
- package/components/Notification/Notification.js.map +1 -1
- package/emotion/cjs/components/Notification/Notification.js +2 -4
- package/emotion/es/components/Notification/Notification.js +2 -4
- package/es/components/Notification/Notification.js +2 -4
- package/es/components/Notification/Notification.js.map +1 -1
- package/package.json +3 -3
- package/styled-components/cjs/components/Notification/Notification.js +2 -4
- package/styled-components/es/components/Notification/Notification.js +2 -4
package/api/sdds-serv.api.md
CHANGED
@@ -1446,6 +1446,7 @@ true: PolymorphicClassName;
|
|
1446
1446
|
}> & DatePickerVariationProps & {
|
1447
1447
|
requiredPlacement?: "right" | "left" | undefined;
|
1448
1448
|
required?: boolean | undefined;
|
1449
|
+
value?: Date | undefined;
|
1449
1450
|
defaultDate?: Date | undefined;
|
1450
1451
|
placeholder?: string | undefined;
|
1451
1452
|
name?: string | undefined;
|
@@ -1494,6 +1495,7 @@ true: PolymorphicClassName;
|
|
1494
1495
|
}> & DatePickerVariationProps & {
|
1495
1496
|
requiredPlacement?: "right" | "left" | undefined;
|
1496
1497
|
required?: boolean | undefined;
|
1498
|
+
value?: [(Date | undefined)?, (Date | undefined)?] | undefined;
|
1497
1499
|
defaultFirstDate?: Date | undefined;
|
1498
1500
|
defaultSecondDate?: Date | undefined;
|
1499
1501
|
name?: string | undefined;
|
@@ -2700,7 +2702,6 @@ export const NotificationsProvider: React_2.FC<{
|
|
2700
2702
|
children: ReactNode;
|
2701
2703
|
frame?: string;
|
2702
2704
|
placement?: NotificationPlacement;
|
2703
|
-
UNSAFE_SSR_ENABLED?: boolean;
|
2704
2705
|
}>;
|
2705
2706
|
|
2706
2707
|
// @public (undocumented)
|
@@ -18,6 +18,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
18
18
|
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerVariationProps & {
|
19
19
|
requiredPlacement?: "right" | "left" | undefined;
|
20
20
|
required?: boolean | undefined;
|
21
|
+
value?: Date | undefined;
|
21
22
|
defaultDate?: Date | undefined;
|
22
23
|
placeholder?: string | undefined;
|
23
24
|
name?: string | undefined;
|
@@ -56,6 +57,7 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
56
57
|
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerVariationProps & {
|
57
58
|
requiredPlacement?: "right" | "left" | undefined;
|
58
59
|
required?: boolean | undefined;
|
60
|
+
value?: [(Date | undefined)?, (Date | undefined)?] | undefined;
|
59
61
|
defaultFirstDate?: Date | undefined;
|
60
62
|
defaultSecondDate?: Date | undefined;
|
61
63
|
name?: string | undefined;
|
@@ -21,7 +21,6 @@ export declare const NotificationsProvider: React.FC<{
|
|
21
21
|
children: ReactNode;
|
22
22
|
frame?: string;
|
23
23
|
placement?: NotificationPlacement;
|
24
|
-
UNSAFE_SSR_ENABLED?: boolean;
|
25
24
|
}>;
|
26
25
|
export type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };
|
27
26
|
export { addNotification, closeNotification };
|
@@ -16,13 +16,11 @@ var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
16
16
|
var children = _ref.children,
|
17
17
|
_ref$frame = _ref.frame,
|
18
18
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
19
|
-
placement = _ref.placement
|
20
|
-
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
19
|
+
placement = _ref.placement;
|
21
20
|
return /*#__PURE__*/React__default.default.createElement(plasmaNewHope.NotificationsProvider, {
|
22
21
|
config: mergedConfig,
|
23
22
|
frame: frame,
|
24
|
-
placement: placement
|
25
|
-
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
23
|
+
placement: placement
|
26
24
|
}, children);
|
27
25
|
};
|
28
26
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Notification.js","sources":["../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n component,\n mergeConfig,\n notificationConfig,\n NotificationProps,\n NotificationsProvider as Provider,\n NotificationIconPlacement,\n NotificationPlacement,\n NotificationLayout,\n addNotification,\n closeNotification,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport { modalClasses } from '../Modal';\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const Notification = component(mergedConfig);\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n
|
1
|
+
{"version":3,"file":"Notification.js","sources":["../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n component,\n mergeConfig,\n notificationConfig,\n NotificationProps,\n NotificationsProvider as Provider,\n NotificationIconPlacement,\n NotificationPlacement,\n NotificationLayout,\n addNotification,\n closeNotification,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport { modalClasses } from '../Modal';\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const Notification = component(mergedConfig);\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n}> = ({ children, frame = 'document', placement }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement}>\n {children}\n </Provider>\n );\n};\n\nexport type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };\nexport { addNotification, closeNotification };\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAkBA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,gCAAkB,EAAEC,0BAAM,CAAC,CAAA;IAE/CC,YAAY,gBAAGC,uBAAS,CAACL,YAAY,EAAC;IAEtCM,qBAIX,GAAG,SAJQA,qBAIXA,CAAAC,IAAA,EAAoD;AAAA,EAAA,IAA9CC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,UAAA,GAAAF,IAAA,CAAEG,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAG,KAAA,CAAA,GAAA,UAAU,GAAAA,UAAA;IAAEE,SAAS,GAAAJ,IAAA,CAATI,SAAS,CAAA;AAC3C,EAAA,oBACIC,sBAAA,CAAAC,aAAA,CAACC,mCAAQ,EAAA;AAACX,IAAAA,MAAM,EAAEH,YAAa;AAACU,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAAA;AAAU,GAAA,EAC9DH,QACK,CAAC,CAAA;AAEnB;;;;;;;;;;;;;;;;;"}
|
@@ -33,12 +33,10 @@ var NotificationsProvider = exports.NotificationsProvider = function Notificatio
|
|
33
33
|
var children = _ref.children,
|
34
34
|
_ref$frame = _ref.frame,
|
35
35
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
36
|
-
placement = _ref.placement
|
37
|
-
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
36
|
+
placement = _ref.placement;
|
38
37
|
return /*#__PURE__*/_react["default"].createElement(_emotion.NotificationsProvider, {
|
39
38
|
config: mergedConfig,
|
40
39
|
frame: frame,
|
41
|
-
placement: placement
|
42
|
-
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
40
|
+
placement: placement
|
43
41
|
}, children);
|
44
42
|
};
|
@@ -8,13 +8,11 @@ export var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
8
8
|
var children = _ref.children,
|
9
9
|
_ref$frame = _ref.frame,
|
10
10
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
11
|
-
placement = _ref.placement
|
12
|
-
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
11
|
+
placement = _ref.placement;
|
13
12
|
return /*#__PURE__*/React.createElement(Provider, {
|
14
13
|
config: mergedConfig,
|
15
14
|
frame: frame,
|
16
|
-
placement: placement
|
17
|
-
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
15
|
+
placement: placement
|
18
16
|
}, children);
|
19
17
|
};
|
20
18
|
export { addNotification, closeNotification };
|
@@ -9,13 +9,11 @@ var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
9
9
|
var children = _ref.children,
|
10
10
|
_ref$frame = _ref.frame,
|
11
11
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
12
|
-
placement = _ref.placement
|
13
|
-
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
12
|
+
placement = _ref.placement;
|
14
13
|
return /*#__PURE__*/React.createElement(NotificationsProvider$1, {
|
15
14
|
config: mergedConfig,
|
16
15
|
frame: frame,
|
17
|
-
placement: placement
|
18
|
-
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
16
|
+
placement: placement
|
19
17
|
}, children);
|
20
18
|
};
|
21
19
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Notification.js","sources":["../../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n component,\n mergeConfig,\n notificationConfig,\n NotificationProps,\n NotificationsProvider as Provider,\n NotificationIconPlacement,\n NotificationPlacement,\n NotificationLayout,\n addNotification,\n closeNotification,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport { modalClasses } from '../Modal';\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const Notification = component(mergedConfig);\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n
|
1
|
+
{"version":3,"file":"Notification.js","sources":["../../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n component,\n mergeConfig,\n notificationConfig,\n NotificationProps,\n NotificationsProvider as Provider,\n NotificationIconPlacement,\n NotificationPlacement,\n NotificationLayout,\n addNotification,\n closeNotification,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport { modalClasses } from '../Modal';\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const Notification = component(mergedConfig);\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n}> = ({ children, frame = 'document', placement }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement}>\n {children}\n </Provider>\n );\n};\n\nexport type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };\nexport { addNotification, closeNotification };\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","React","createElement","Provider"],"mappings":";;;;;AAkBA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,kBAAkB,EAAEC,MAAM,CAAC,CAAA;IAE/CC,YAAY,gBAAGC,SAAS,CAACL,YAAY,EAAC;IAEtCM,qBAIX,GAAG,SAJQA,qBAIXA,CAAAC,IAAA,EAAoD;AAAA,EAAA,IAA9CC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,UAAA,GAAAF,IAAA,CAAEG,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAG,KAAA,CAAA,GAAA,UAAU,GAAAA,UAAA;IAAEE,SAAS,GAAAJ,IAAA,CAATI,SAAS,CAAA;AAC3C,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAACC,uBAAQ,EAAA;AAACX,IAAAA,MAAM,EAAEH,YAAa;AAACU,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAAA;AAAU,GAAA,EAC9DH,QACK,CAAC,CAAA;AAEnB;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-serv",
|
3
|
-
"version": "0.233.0-canary.
|
3
|
+
"version": "0.233.0-canary.1720.12932623654.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS SERV web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"directory": "packages/sdds-serv"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@salutejs/plasma-new-hope": "0.248.0-canary.
|
35
|
+
"@salutejs/plasma-new-hope": "0.248.0-canary.1720.12932623654.0",
|
36
36
|
"@salutejs/sdds-themes": "0.31.0"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|
@@ -136,5 +136,5 @@
|
|
136
136
|
"sideEffects": [
|
137
137
|
"*.css"
|
138
138
|
],
|
139
|
-
"gitHead": "
|
139
|
+
"gitHead": "6c04264d838ab1336f0d2881d31b7a3d63edb6c2"
|
140
140
|
}
|
@@ -33,12 +33,10 @@ var NotificationsProvider = exports.NotificationsProvider = function Notificatio
|
|
33
33
|
var children = _ref.children,
|
34
34
|
_ref$frame = _ref.frame,
|
35
35
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
36
|
-
placement = _ref.placement
|
37
|
-
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
36
|
+
placement = _ref.placement;
|
38
37
|
return /*#__PURE__*/_react["default"].createElement(_styledComponents.NotificationsProvider, {
|
39
38
|
config: mergedConfig,
|
40
39
|
frame: frame,
|
41
|
-
placement: placement
|
42
|
-
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
40
|
+
placement: placement
|
43
41
|
}, children);
|
44
42
|
};
|
@@ -8,13 +8,11 @@ export var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
8
8
|
var children = _ref.children,
|
9
9
|
_ref$frame = _ref.frame,
|
10
10
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
11
|
-
placement = _ref.placement
|
12
|
-
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
11
|
+
placement = _ref.placement;
|
13
12
|
return /*#__PURE__*/React.createElement(Provider, {
|
14
13
|
config: mergedConfig,
|
15
14
|
frame: frame,
|
16
|
-
placement: placement
|
17
|
-
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
15
|
+
placement: placement
|
18
16
|
}, children);
|
19
17
|
};
|
20
18
|
export { addNotification, closeNotification };
|