@salutejs/plasma-b2c 1.502.0-canary.1718.12929142809.0 → 1.502.0-canary.1720.12932623654.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-b2c.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/css/cjs/components/Notification/Notification.js +2 -4
- package/css/cjs/components/Notification/Notification.js.map +1 -1
- package/css/es/components/Notification/Notification.js +2 -4
- package/css/es/components/Notification/Notification.js.map +1 -1
- package/es/components/Notification/Notification.js +2 -4
- package/package.json +3 -3
- package/temp/plasma-b2c.api.md +2 -1
package/api/plasma-b2c.api.md
CHANGED
@@ -1730,6 +1730,7 @@ true: PolymorphicClassName;
|
|
1730
1730
|
}> & DatePickerVariationProps & {
|
1731
1731
|
requiredPlacement?: "right" | "left" | undefined;
|
1732
1732
|
required?: boolean | undefined;
|
1733
|
+
value?: Date | undefined;
|
1733
1734
|
defaultDate?: Date | undefined;
|
1734
1735
|
placeholder?: string | undefined;
|
1735
1736
|
name?: string | undefined;
|
@@ -1778,6 +1779,7 @@ true: PolymorphicClassName;
|
|
1778
1779
|
}> & DatePickerVariationProps & {
|
1779
1780
|
requiredPlacement?: "right" | "left" | undefined;
|
1780
1781
|
required?: boolean | undefined;
|
1782
|
+
value?: [(Date | undefined)?, (Date | undefined)?] | undefined;
|
1781
1783
|
defaultFirstDate?: Date | undefined;
|
1782
1784
|
defaultSecondDate?: Date | undefined;
|
1783
1785
|
name?: string | undefined;
|
@@ -3083,7 +3085,6 @@ export const NotificationsProvider: React_2.FC<{
|
|
3083
3085
|
children: ReactNode;
|
3084
3086
|
frame?: string;
|
3085
3087
|
placement?: NotificationPlacement;
|
3086
|
-
UNSAFE_SSR_ENABLED?: boolean;
|
3087
3088
|
}>;
|
3088
3089
|
|
3089
3090
|
// @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;
|
@@ -14,12 +14,10 @@ var NotificationsProvider = exports.NotificationsProvider = function Notificatio
|
|
14
14
|
var children = _ref.children,
|
15
15
|
_ref$frame = _ref.frame,
|
16
16
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
17
|
-
placement = _ref.placement
|
18
|
-
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
17
|
+
placement = _ref.placement;
|
19
18
|
return /*#__PURE__*/_react["default"].createElement(_styledComponents.NotificationsProvider, {
|
20
19
|
config: mergedConfig,
|
21
20
|
frame: frame,
|
22
|
-
placement: placement
|
23
|
-
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
21
|
+
placement: placement
|
24
22
|
}, children);
|
25
23
|
};
|
@@ -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
|
1
|
+
{"version":3,"file":"Notification.js","sources":["../../../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n notificationConfig,\n NotificationsProvider as Provider,\n NotificationPlacement,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\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"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAaA,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;;;;;"}
|
@@ -8,13 +8,11 @@ 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(NotificationsProvider$1, {
|
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
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Notification.js","sources":["../../../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n
|
1
|
+
{"version":3,"file":"Notification.js","sources":["../../../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n notificationConfig,\n NotificationsProvider as Provider,\n NotificationPlacement,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\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"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","React","createElement","Provider"],"mappings":";;;;AAaA,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;;;;"}
|
@@ -7,12 +7,10 @@ export var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
7
7
|
var children = _ref.children,
|
8
8
|
_ref$frame = _ref.frame,
|
9
9
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
10
|
-
placement = _ref.placement
|
11
|
-
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
10
|
+
placement = _ref.placement;
|
12
11
|
return /*#__PURE__*/React.createElement(Provider, {
|
13
12
|
config: mergedConfig,
|
14
13
|
frame: frame,
|
15
|
-
placement: placement
|
16
|
-
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
14
|
+
placement: placement
|
17
15
|
}, children);
|
18
16
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-b2c",
|
3
|
-
"version": "1.502.0-canary.
|
3
|
+
"version": "1.502.0-canary.1720.12932623654.0",
|
4
4
|
"description": "Salute Design System / React UI kit for business-related web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"dependencies": {
|
45
45
|
"@salutejs/plasma-core": "1.191.0",
|
46
46
|
"@salutejs/plasma-hope": "1.329.0",
|
47
|
-
"@salutejs/plasma-new-hope": "0.248.0-canary.
|
47
|
+
"@salutejs/plasma-new-hope": "0.248.0-canary.1720.12932623654.0",
|
48
48
|
"@salutejs/plasma-themes": "0.28.0",
|
49
49
|
"@salutejs/plasma-tokens-b2c": "0.56.0",
|
50
50
|
"@salutejs/plasma-tokens-web": "1.61.0",
|
@@ -108,5 +108,5 @@
|
|
108
108
|
"react"
|
109
109
|
],
|
110
110
|
"sideEffects": false,
|
111
|
-
"gitHead": "
|
111
|
+
"gitHead": "6c04264d838ab1336f0d2881d31b7a3d63edb6c2"
|
112
112
|
}
|
package/temp/plasma-b2c.api.md
CHANGED
@@ -1730,6 +1730,7 @@ true: PolymorphicClassName;
|
|
1730
1730
|
}> & DatePickerVariationProps & {
|
1731
1731
|
requiredPlacement?: "right" | "left" | undefined;
|
1732
1732
|
required?: boolean | undefined;
|
1733
|
+
value?: Date | undefined;
|
1733
1734
|
defaultDate?: Date | undefined;
|
1734
1735
|
placeholder?: string | undefined;
|
1735
1736
|
name?: string | undefined;
|
@@ -1778,6 +1779,7 @@ true: PolymorphicClassName;
|
|
1778
1779
|
}> & DatePickerVariationProps & {
|
1779
1780
|
requiredPlacement?: "right" | "left" | undefined;
|
1780
1781
|
required?: boolean | undefined;
|
1782
|
+
value?: [(Date | undefined)?, (Date | undefined)?] | undefined;
|
1781
1783
|
defaultFirstDate?: Date | undefined;
|
1782
1784
|
defaultSecondDate?: Date | undefined;
|
1783
1785
|
name?: string | undefined;
|
@@ -3083,7 +3085,6 @@ export const NotificationsProvider: React_2.FC<{
|
|
3083
3085
|
children: ReactNode;
|
3084
3086
|
frame?: string;
|
3085
3087
|
placement?: NotificationPlacement;
|
3086
|
-
UNSAFE_SSR_ENABLED?: boolean;
|
3087
3088
|
}>;
|
3088
3089
|
|
3089
3090
|
// @public (undocumented)
|