@salutejs/plasma-new-hope 0.109.0-canary.1307.10036117462.0 → 0.109.0-canary.1308.10039680195.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Portal/Portal.js +1 -1
- package/cjs/components/Portal/Portal.js.map +1 -1
- package/cjs/components/TextArea/TextArea.js +5 -5
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/cjs/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
- package/cjs/components/Typography/Old/TypographyOld.js +5 -2
- package/cjs/components/Typography/Old/TypographyOld.js.map +1 -1
- package/cjs/components/Typography/Typography.js +5 -2
- package/cjs/components/Typography/Typography.js.map +1 -1
- package/cjs/index.css +0 -3
- package/cjs/index.js +0 -5
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Portal/Portal.js +1 -1
- package/emotion/cjs/components/Portal/Portal.template-doc.mdx +1 -1
- package/emotion/cjs/components/TextArea/TextArea.js +6 -6
- package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/emotion/cjs/components/Typography/Old/TypographyOld.js +5 -2
- package/emotion/cjs/components/Typography/Typography.js +5 -2
- package/emotion/cjs/index.js +0 -11
- package/emotion/es/components/Portal/Portal.js +1 -1
- package/emotion/es/components/Portal/Portal.template-doc.mdx +1 -1
- package/emotion/es/components/TextArea/TextArea.js +6 -6
- package/emotion/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/emotion/es/components/Typography/Old/TypographyOld.js +5 -2
- package/emotion/es/components/Typography/Typography.js +5 -2
- package/emotion/es/index.js +1 -2
- package/es/components/Portal/Portal.js +1 -1
- package/es/components/Portal/Portal.js.map +1 -1
- package/es/components/TextArea/TextArea.js +5 -5
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/es/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
- package/es/components/Typography/Old/TypographyOld.js +5 -2
- package/es/components/Typography/Old/TypographyOld.js.map +1 -1
- package/es/components/Typography/Typography.js +5 -2
- package/es/components/Typography/Typography.js.map +1 -1
- package/es/index.css +0 -3
- package/es/index.js +0 -2
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Portal/Portal.js +1 -1
- package/styled-components/cjs/components/Portal/Portal.template-doc.mdx +1 -1
- package/styled-components/cjs/components/TextArea/TextArea.js +5 -5
- package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/styled-components/cjs/components/Typography/Old/TypographyOld.js +5 -2
- package/styled-components/cjs/components/Typography/Typography.js +5 -2
- package/styled-components/cjs/index.js +0 -11
- package/styled-components/es/components/Portal/Portal.js +1 -1
- package/styled-components/es/components/Portal/Portal.template-doc.mdx +1 -1
- package/styled-components/es/components/TextArea/TextArea.js +5 -5
- package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/styled-components/es/components/Typography/Old/TypographyOld.js +5 -2
- package/styled-components/es/components/Typography/Typography.js +5 -2
- package/styled-components/es/index.js +1 -2
- package/types/components/Portal/Portal.d.ts +2 -6
- package/types/components/Portal/Portal.d.ts.map +1 -1
- package/types/components/Portal/index.d.ts.map +1 -1
- package/types/components/Typography/Body/Body.d.ts +10 -2
- package/types/components/Typography/Body/Body.d.ts.map +1 -1
- package/types/components/Typography/Dspl/Dspl.d.ts +10 -2
- package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
- package/types/components/Typography/Heading/Heading.d.ts +10 -2
- package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/types/components/Typography/Old/Body/Body.d.ts +6 -2
- package/types/components/Typography/Old/Body/Body.d.ts.map +1 -1
- package/types/components/Typography/Old/Button/Button.d.ts +6 -2
- package/types/components/Typography/Old/Button/Button.d.ts.map +1 -1
- package/types/components/Typography/Old/Caption/Caption.d.ts +6 -2
- package/types/components/Typography/Old/Caption/Caption.d.ts.map +1 -1
- package/types/components/Typography/Old/Display/Display.d.ts +6 -2
- package/types/components/Typography/Old/Display/Display.d.ts.map +1 -1
- package/types/components/Typography/Old/Footnote/Footnote.d.ts +6 -2
- package/types/components/Typography/Old/Footnote/Footnote.d.ts.map +1 -1
- package/types/components/Typography/Old/Headline/Headline.d.ts +6 -2
- package/types/components/Typography/Old/Headline/Headline.d.ts.map +1 -1
- package/types/components/Typography/Old/Paragraph/Paragraph.d.ts +6 -2
- package/types/components/Typography/Old/Paragraph/Paragraph.d.ts.map +1 -1
- package/types/components/Typography/Old/ParagraphText/ParagraphText.d.ts +6 -2
- package/types/components/Typography/Old/ParagraphText/ParagraphText.d.ts.map +1 -1
- package/types/components/Typography/Old/Subtitle/Subtitle.d.ts +9 -3
- package/types/components/Typography/Old/Subtitle/Subtitle.d.ts.map +1 -1
- package/types/components/Typography/Old/TypographyOld.d.ts +6 -2
- package/types/components/Typography/Old/TypographyOld.d.ts.map +1 -1
- package/types/components/Typography/Old/Underline/Underline.d.ts +6 -2
- package/types/components/Typography/Old/Underline/Underline.d.ts.map +1 -1
- package/types/components/Typography/Text/Text.d.ts +10 -2
- package/types/components/Typography/Text/Text.d.ts.map +1 -1
- package/types/components/Typography/Typography.d.ts +3 -1
- package/types/components/Typography/Typography.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Body/Body.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Body/Body.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Button/Button.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Button/Button.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Caption/Caption.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Caption/Caption.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Display/Display.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Display/Display.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Footnote/Footnote.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Footnote/Footnote.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Headline/Headline.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Headline/Headline.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Paragraph/Paragraph.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Paragraph/Paragraph.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Subtitle/Subtitle.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Subtitle/Subtitle.d.ts.map +1 -1
- package/types/examples/typograpy/components/Old/Underline/Underline.d.ts +3 -1
- package/types/examples/typograpy/components/Old/Underline/Underline.d.ts.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/cjs/components/Price/Price.css +0 -2
- package/cjs/components/Price/Price.js +0 -65
- package/cjs/components/Price/Price.js.map +0 -1
- package/cjs/components/Price/Price.styles.js +0 -17
- package/cjs/components/Price/Price.styles.js.map +0 -1
- package/cjs/components/Price/Price.styles_15b4mp1.css +0 -2
- package/cjs/components/Price/Price.tokens.js +0 -10
- package/cjs/components/Price/Price.tokens.js.map +0 -1
- package/cjs/components/Price/utils/formatCurrency.js +0 -22
- package/cjs/components/Price/utils/formatCurrency.js.map +0 -1
- package/cjs/components/Price/variations/_view/base.js +0 -9
- package/cjs/components/Price/variations/_view/base.js.map +0 -1
- package/cjs/components/Price/variations/_view/base_x642ct.css +0 -1
- package/emotion/cjs/components/Price/Price.js +0 -66
- package/emotion/cjs/components/Price/Price.styles.js +0 -24
- package/emotion/cjs/components/Price/Price.template-doc.mdx +0 -24
- package/emotion/cjs/components/Price/Price.tokens.js +0 -9
- package/emotion/cjs/components/Price/Price.types.js +0 -5
- package/emotion/cjs/components/Price/index.js +0 -25
- package/emotion/cjs/components/Price/utils/formatCurrency.js +0 -21
- package/emotion/cjs/components/Price/variations/_view/base.js +0 -8
- package/emotion/cjs/components/Price/variations/_view/tokens.json +0 -1
- package/emotion/cjs/examples/plasma_b2c/components/Price/Price.config.js +0 -14
- package/emotion/cjs/examples/plasma_b2c/components/Price/Price.js +0 -17
- package/emotion/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +0 -38
- package/emotion/cjs/examples/plasma_web/components/Price/Price.config.js +0 -14
- package/emotion/cjs/examples/plasma_web/components/Price/Price.js +0 -17
- package/emotion/cjs/examples/plasma_web/components/Price/Price.stories.tsx +0 -38
- package/emotion/es/components/Price/Price.js +0 -58
- package/emotion/es/components/Price/Price.styles.js +0 -17
- package/emotion/es/components/Price/Price.template-doc.mdx +0 -24
- package/emotion/es/components/Price/Price.tokens.js +0 -3
- package/emotion/es/components/Price/Price.types.js +0 -1
- package/emotion/es/components/Price/index.js +0 -2
- package/emotion/es/components/Price/utils/formatCurrency.js +0 -15
- package/emotion/es/components/Price/variations/_view/base.js +0 -2
- package/emotion/es/components/Price/variations/_view/tokens.json +0 -1
- package/emotion/es/examples/plasma_b2c/components/Price/Price.config.js +0 -8
- package/emotion/es/examples/plasma_b2c/components/Price/Price.js +0 -6
- package/emotion/es/examples/plasma_b2c/components/Price/Price.stories.tsx +0 -38
- package/emotion/es/examples/plasma_web/components/Price/Price.config.js +0 -8
- package/emotion/es/examples/plasma_web/components/Price/Price.js +0 -6
- package/emotion/es/examples/plasma_web/components/Price/Price.stories.tsx +0 -38
- package/es/components/Price/Price.css +0 -2
- package/es/components/Price/Price.js +0 -60
- package/es/components/Price/Price.js.map +0 -1
- package/es/components/Price/Price.styles.js +0 -12
- package/es/components/Price/Price.styles.js.map +0 -1
- package/es/components/Price/Price.styles_15b4mp1.css +0 -2
- package/es/components/Price/Price.tokens.js +0 -6
- package/es/components/Price/Price.tokens.js.map +0 -1
- package/es/components/Price/utils/formatCurrency.js +0 -18
- package/es/components/Price/utils/formatCurrency.js.map +0 -1
- package/es/components/Price/variations/_view/base.js +0 -5
- package/es/components/Price/variations/_view/base.js.map +0 -1
- package/es/components/Price/variations/_view/base_x642ct.css +0 -1
- package/styled-components/cjs/components/Price/Price.js +0 -66
- package/styled-components/cjs/components/Price/Price.styles.js +0 -15
- package/styled-components/cjs/components/Price/Price.template-doc.mdx +0 -24
- package/styled-components/cjs/components/Price/Price.tokens.js +0 -9
- package/styled-components/cjs/components/Price/Price.types.js +0 -5
- package/styled-components/cjs/components/Price/index.js +0 -25
- package/styled-components/cjs/components/Price/utils/formatCurrency.js +0 -21
- package/styled-components/cjs/components/Price/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Price/variations/_view/tokens.json +0 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.config.js +0 -14
- package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.js +0 -17
- package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +0 -38
- package/styled-components/cjs/examples/plasma_web/components/Price/Price.config.js +0 -14
- package/styled-components/cjs/examples/plasma_web/components/Price/Price.js +0 -17
- package/styled-components/cjs/examples/plasma_web/components/Price/Price.stories.tsx +0 -38
- package/styled-components/es/components/Price/Price.js +0 -58
- package/styled-components/es/components/Price/Price.styles.js +0 -7
- package/styled-components/es/components/Price/Price.template-doc.mdx +0 -24
- package/styled-components/es/components/Price/Price.tokens.js +0 -3
- package/styled-components/es/components/Price/Price.types.js +0 -1
- package/styled-components/es/components/Price/index.js +0 -2
- package/styled-components/es/components/Price/utils/formatCurrency.js +0 -15
- package/styled-components/es/components/Price/variations/_view/base.js +0 -2
- package/styled-components/es/components/Price/variations/_view/tokens.json +0 -1
- package/styled-components/es/examples/plasma_b2c/components/Price/Price.config.js +0 -8
- package/styled-components/es/examples/plasma_b2c/components/Price/Price.js +0 -6
- package/styled-components/es/examples/plasma_b2c/components/Price/Price.stories.tsx +0 -38
- package/styled-components/es/examples/plasma_web/components/Price/Price.config.js +0 -8
- package/styled-components/es/examples/plasma_web/components/Price/Price.js +0 -6
- package/styled-components/es/examples/plasma_web/components/Price/Price.stories.tsx +0 -38
- package/types/components/Price/Price.d.ts +0 -22
- package/types/components/Price/Price.d.ts.map +0 -1
- package/types/components/Price/Price.styles.d.ts +0 -4
- package/types/components/Price/Price.styles.d.ts.map +0 -1
- package/types/components/Price/Price.tokens.d.ts +0 -4
- package/types/components/Price/Price.tokens.d.ts.map +0 -1
- package/types/components/Price/Price.types.d.ts +0 -41
- package/types/components/Price/Price.types.d.ts.map +0 -1
- package/types/components/Price/index.d.ts +0 -3
- package/types/components/Price/index.d.ts.map +0 -1
- package/types/components/Price/utils/formatCurrency.d.ts +0 -10
- package/types/components/Price/utils/formatCurrency.d.ts.map +0 -1
- package/types/components/Price/variations/_view/base.d.ts +0 -2
- package/types/components/Price/variations/_view/base.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Price/Price.config.d.ts +0 -9
- package/types/examples/plasma_b2c/components/Price/Price.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Price/Price.d.ts +0 -6
- package/types/examples/plasma_b2c/components/Price/Price.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Price/Price.config.d.ts +0 -9
- package/types/examples/plasma_web/components/Price/Price.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Price/Price.d.ts +0 -6
- package/types/examples/plasma_web/components/Price/Price.d.ts.map +0 -1
@@ -1,41 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { AsProps } from '../../types';
|
3
|
-
export interface PriceProps extends React.HTMLAttributes<HTMLSpanElement>, AsProps {
|
4
|
-
/**
|
5
|
-
* Значение контрола.
|
6
|
-
*/
|
7
|
-
children: number;
|
8
|
-
/**
|
9
|
-
* Локаль.
|
10
|
-
* @default `ru`
|
11
|
-
*/
|
12
|
-
locale?: string;
|
13
|
-
/**
|
14
|
-
* Валюта.
|
15
|
-
* @default `rub`
|
16
|
-
*/
|
17
|
-
currency?: 'rub' | 'usd' | 'eur' | 'inr';
|
18
|
-
/**
|
19
|
-
* Перечеркнутый текст (старая цена, например).
|
20
|
-
* @default false
|
21
|
-
*/
|
22
|
-
stroked?: boolean;
|
23
|
-
/**
|
24
|
-
* Минимальное количество цифр после десятичного разделителя.
|
25
|
-
* @default 0
|
26
|
-
*/
|
27
|
-
minimumFractionDigits?: number;
|
28
|
-
/**
|
29
|
-
* Указывает регулярность платежа, идет после цены.
|
30
|
-
* Например - 990Р / день.
|
31
|
-
*/
|
32
|
-
periodicity?: React.ReactNode;
|
33
|
-
/**
|
34
|
-
* Перечеркнутый текст (старая цена, например).
|
35
|
-
* @deprecated
|
36
|
-
* @default false
|
37
|
-
*/
|
38
|
-
stroke?: boolean;
|
39
|
-
view?: string;
|
40
|
-
}
|
41
|
-
//# sourceMappingURL=Price.types.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Price.types.d.ts","sourceRoot":"","sources":["../../../src/components/Price/Price.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO;IAC9E;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IACzC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Price/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Форматирование числа в цену.
|
3
|
-
*/
|
4
|
-
export declare const formatCurrency: ({ value, locale, currency, minimumFractionDigits, }: {
|
5
|
-
value: number;
|
6
|
-
locale: string;
|
7
|
-
currency: string;
|
8
|
-
minimumFractionDigits: number;
|
9
|
-
}) => string;
|
10
|
-
//# sourceMappingURL=formatCurrency.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"formatCurrency.d.ts","sourceRoot":"","sources":["../../../../src/components/Price/utils/formatCurrency.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,cAAc;WAMhB,MAAM;YACL,MAAM;cACJ,MAAM;2BACO,MAAM;MAC7B,MAQH,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Price/variations/_view/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Price.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Price/Price.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;CAOlB,CAAC"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export { priceClasses } from '../../../../components/Price';
|
3
|
-
export declare const Price: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
|
-
view: {};
|
5
|
-
}> & import("../../../../components/Price/Price.types").PriceProps & import("react").RefAttributes<HTMLSpanElement>>;
|
6
|
-
//# sourceMappingURL=Price.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Price.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Price/Price.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,KAAK;;oHAA0B,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Price.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Price/Price.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;CAOlB,CAAC"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export { priceClasses } from '../../../../components/Price';
|
3
|
-
export declare const Price: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
|
-
view: {};
|
5
|
-
}> & import("../../../../components/Price/Price.types").PriceProps & import("react").RefAttributes<HTMLSpanElement>>;
|
6
|
-
//# sourceMappingURL=Price.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Price.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Price/Price.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,KAAK;;oHAA0B,CAAC"}
|