@salutejs/plasma-new-hope 0.109.0-canary.1307.10007939015.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.
Files changed (218) hide show
  1. package/cjs/components/Portal/Portal.js +1 -1
  2. package/cjs/components/Portal/Portal.js.map +1 -1
  3. package/cjs/components/TextArea/TextArea.js +5 -5
  4. package/cjs/components/TextArea/TextArea.js.map +1 -1
  5. package/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
  6. package/cjs/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
  7. package/cjs/components/Typography/Old/TypographyOld.js +5 -2
  8. package/cjs/components/Typography/Old/TypographyOld.js.map +1 -1
  9. package/cjs/components/Typography/Typography.js +5 -2
  10. package/cjs/components/Typography/Typography.js.map +1 -1
  11. package/cjs/index.css +0 -3
  12. package/cjs/index.js +0 -5
  13. package/cjs/index.js.map +1 -1
  14. package/emotion/cjs/components/Portal/Portal.js +1 -1
  15. package/emotion/cjs/components/Portal/Portal.template-doc.mdx +1 -1
  16. package/emotion/cjs/components/TextArea/TextArea.js +6 -6
  17. package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
  18. package/emotion/cjs/components/Typography/Old/TypographyOld.js +5 -2
  19. package/emotion/cjs/components/Typography/Typography.js +5 -2
  20. package/emotion/cjs/index.js +0 -11
  21. package/emotion/es/components/Portal/Portal.js +1 -1
  22. package/emotion/es/components/Portal/Portal.template-doc.mdx +1 -1
  23. package/emotion/es/components/TextArea/TextArea.js +6 -6
  24. package/emotion/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
  25. package/emotion/es/components/Typography/Old/TypographyOld.js +5 -2
  26. package/emotion/es/components/Typography/Typography.js +5 -2
  27. package/emotion/es/index.js +1 -2
  28. package/es/components/Portal/Portal.js +1 -1
  29. package/es/components/Portal/Portal.js.map +1 -1
  30. package/es/components/TextArea/TextArea.js +5 -5
  31. package/es/components/TextArea/TextArea.js.map +1 -1
  32. package/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
  33. package/es/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
  34. package/es/components/Typography/Old/TypographyOld.js +5 -2
  35. package/es/components/Typography/Old/TypographyOld.js.map +1 -1
  36. package/es/components/Typography/Typography.js +5 -2
  37. package/es/components/Typography/Typography.js.map +1 -1
  38. package/es/index.css +0 -3
  39. package/es/index.js +0 -2
  40. package/es/index.js.map +1 -1
  41. package/package.json +2 -2
  42. package/styled-components/cjs/components/Portal/Portal.js +1 -1
  43. package/styled-components/cjs/components/Portal/Portal.template-doc.mdx +1 -1
  44. package/styled-components/cjs/components/TextArea/TextArea.js +5 -5
  45. package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
  46. package/styled-components/cjs/components/Typography/Old/TypographyOld.js +5 -2
  47. package/styled-components/cjs/components/Typography/Typography.js +5 -2
  48. package/styled-components/cjs/index.js +0 -11
  49. package/styled-components/es/components/Portal/Portal.js +1 -1
  50. package/styled-components/es/components/Portal/Portal.template-doc.mdx +1 -1
  51. package/styled-components/es/components/TextArea/TextArea.js +5 -5
  52. package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
  53. package/styled-components/es/components/Typography/Old/TypographyOld.js +5 -2
  54. package/styled-components/es/components/Typography/Typography.js +5 -2
  55. package/styled-components/es/index.js +1 -2
  56. package/types/components/Portal/Portal.d.ts +2 -6
  57. package/types/components/Portal/Portal.d.ts.map +1 -1
  58. package/types/components/Portal/index.d.ts.map +1 -1
  59. package/types/components/Typography/Body/Body.d.ts +10 -2
  60. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  61. package/types/components/Typography/Dspl/Dspl.d.ts +10 -2
  62. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  63. package/types/components/Typography/Heading/Heading.d.ts +10 -2
  64. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  65. package/types/components/Typography/Old/Body/Body.d.ts +6 -2
  66. package/types/components/Typography/Old/Body/Body.d.ts.map +1 -1
  67. package/types/components/Typography/Old/Button/Button.d.ts +6 -2
  68. package/types/components/Typography/Old/Button/Button.d.ts.map +1 -1
  69. package/types/components/Typography/Old/Caption/Caption.d.ts +6 -2
  70. package/types/components/Typography/Old/Caption/Caption.d.ts.map +1 -1
  71. package/types/components/Typography/Old/Display/Display.d.ts +6 -2
  72. package/types/components/Typography/Old/Display/Display.d.ts.map +1 -1
  73. package/types/components/Typography/Old/Footnote/Footnote.d.ts +6 -2
  74. package/types/components/Typography/Old/Footnote/Footnote.d.ts.map +1 -1
  75. package/types/components/Typography/Old/Headline/Headline.d.ts +6 -2
  76. package/types/components/Typography/Old/Headline/Headline.d.ts.map +1 -1
  77. package/types/components/Typography/Old/Paragraph/Paragraph.d.ts +6 -2
  78. package/types/components/Typography/Old/Paragraph/Paragraph.d.ts.map +1 -1
  79. package/types/components/Typography/Old/ParagraphText/ParagraphText.d.ts +6 -2
  80. package/types/components/Typography/Old/ParagraphText/ParagraphText.d.ts.map +1 -1
  81. package/types/components/Typography/Old/Subtitle/Subtitle.d.ts +9 -3
  82. package/types/components/Typography/Old/Subtitle/Subtitle.d.ts.map +1 -1
  83. package/types/components/Typography/Old/TypographyOld.d.ts +6 -2
  84. package/types/components/Typography/Old/TypographyOld.d.ts.map +1 -1
  85. package/types/components/Typography/Old/Underline/Underline.d.ts +6 -2
  86. package/types/components/Typography/Old/Underline/Underline.d.ts.map +1 -1
  87. package/types/components/Typography/Text/Text.d.ts +10 -2
  88. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  89. package/types/components/Typography/Typography.d.ts +3 -1
  90. package/types/components/Typography/Typography.d.ts.map +1 -1
  91. package/types/examples/typograpy/components/Old/Body/Body.d.ts +3 -1
  92. package/types/examples/typograpy/components/Old/Body/Body.d.ts.map +1 -1
  93. package/types/examples/typograpy/components/Old/Button/Button.d.ts +3 -1
  94. package/types/examples/typograpy/components/Old/Button/Button.d.ts.map +1 -1
  95. package/types/examples/typograpy/components/Old/Caption/Caption.d.ts +3 -1
  96. package/types/examples/typograpy/components/Old/Caption/Caption.d.ts.map +1 -1
  97. package/types/examples/typograpy/components/Old/Display/Display.d.ts +3 -1
  98. package/types/examples/typograpy/components/Old/Display/Display.d.ts.map +1 -1
  99. package/types/examples/typograpy/components/Old/Footnote/Footnote.d.ts +3 -1
  100. package/types/examples/typograpy/components/Old/Footnote/Footnote.d.ts.map +1 -1
  101. package/types/examples/typograpy/components/Old/Headline/Headline.d.ts +3 -1
  102. package/types/examples/typograpy/components/Old/Headline/Headline.d.ts.map +1 -1
  103. package/types/examples/typograpy/components/Old/Paragraph/Paragraph.d.ts +3 -1
  104. package/types/examples/typograpy/components/Old/Paragraph/Paragraph.d.ts.map +1 -1
  105. package/types/examples/typograpy/components/Old/Subtitle/Subtitle.d.ts +3 -1
  106. package/types/examples/typograpy/components/Old/Subtitle/Subtitle.d.ts.map +1 -1
  107. package/types/examples/typograpy/components/Old/Underline/Underline.d.ts +3 -1
  108. package/types/examples/typograpy/components/Old/Underline/Underline.d.ts.map +1 -1
  109. package/types/index.d.ts +0 -1
  110. package/types/index.d.ts.map +1 -1
  111. package/cjs/components/Price/Price.css +0 -2
  112. package/cjs/components/Price/Price.js +0 -65
  113. package/cjs/components/Price/Price.js.map +0 -1
  114. package/cjs/components/Price/Price.styles.js +0 -17
  115. package/cjs/components/Price/Price.styles.js.map +0 -1
  116. package/cjs/components/Price/Price.styles_15b4mp1.css +0 -2
  117. package/cjs/components/Price/Price.tokens.js +0 -10
  118. package/cjs/components/Price/Price.tokens.js.map +0 -1
  119. package/cjs/components/Price/utils/formatCurrency.js +0 -22
  120. package/cjs/components/Price/utils/formatCurrency.js.map +0 -1
  121. package/cjs/components/Price/variations/_view/base.js +0 -9
  122. package/cjs/components/Price/variations/_view/base.js.map +0 -1
  123. package/cjs/components/Price/variations/_view/base_x642ct.css +0 -1
  124. package/emotion/cjs/components/Price/Price.js +0 -66
  125. package/emotion/cjs/components/Price/Price.styles.js +0 -24
  126. package/emotion/cjs/components/Price/Price.template-doc.mdx +0 -24
  127. package/emotion/cjs/components/Price/Price.tokens.js +0 -9
  128. package/emotion/cjs/components/Price/Price.types.js +0 -5
  129. package/emotion/cjs/components/Price/index.js +0 -25
  130. package/emotion/cjs/components/Price/utils/formatCurrency.js +0 -21
  131. package/emotion/cjs/components/Price/variations/_view/base.js +0 -8
  132. package/emotion/cjs/components/Price/variations/_view/tokens.json +0 -1
  133. package/emotion/cjs/examples/plasma_b2c/components/Price/Price.config.js +0 -14
  134. package/emotion/cjs/examples/plasma_b2c/components/Price/Price.js +0 -17
  135. package/emotion/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +0 -38
  136. package/emotion/cjs/examples/plasma_web/components/Price/Price.config.js +0 -14
  137. package/emotion/cjs/examples/plasma_web/components/Price/Price.js +0 -17
  138. package/emotion/cjs/examples/plasma_web/components/Price/Price.stories.tsx +0 -38
  139. package/emotion/es/components/Price/Price.js +0 -58
  140. package/emotion/es/components/Price/Price.styles.js +0 -17
  141. package/emotion/es/components/Price/Price.template-doc.mdx +0 -24
  142. package/emotion/es/components/Price/Price.tokens.js +0 -3
  143. package/emotion/es/components/Price/Price.types.js +0 -1
  144. package/emotion/es/components/Price/index.js +0 -2
  145. package/emotion/es/components/Price/utils/formatCurrency.js +0 -15
  146. package/emotion/es/components/Price/variations/_view/base.js +0 -2
  147. package/emotion/es/components/Price/variations/_view/tokens.json +0 -1
  148. package/emotion/es/examples/plasma_b2c/components/Price/Price.config.js +0 -8
  149. package/emotion/es/examples/plasma_b2c/components/Price/Price.js +0 -6
  150. package/emotion/es/examples/plasma_b2c/components/Price/Price.stories.tsx +0 -38
  151. package/emotion/es/examples/plasma_web/components/Price/Price.config.js +0 -8
  152. package/emotion/es/examples/plasma_web/components/Price/Price.js +0 -6
  153. package/emotion/es/examples/plasma_web/components/Price/Price.stories.tsx +0 -38
  154. package/es/components/Price/Price.css +0 -2
  155. package/es/components/Price/Price.js +0 -60
  156. package/es/components/Price/Price.js.map +0 -1
  157. package/es/components/Price/Price.styles.js +0 -12
  158. package/es/components/Price/Price.styles.js.map +0 -1
  159. package/es/components/Price/Price.styles_15b4mp1.css +0 -2
  160. package/es/components/Price/Price.tokens.js +0 -6
  161. package/es/components/Price/Price.tokens.js.map +0 -1
  162. package/es/components/Price/utils/formatCurrency.js +0 -18
  163. package/es/components/Price/utils/formatCurrency.js.map +0 -1
  164. package/es/components/Price/variations/_view/base.js +0 -5
  165. package/es/components/Price/variations/_view/base.js.map +0 -1
  166. package/es/components/Price/variations/_view/base_x642ct.css +0 -1
  167. package/styled-components/cjs/components/Price/Price.js +0 -66
  168. package/styled-components/cjs/components/Price/Price.styles.js +0 -15
  169. package/styled-components/cjs/components/Price/Price.template-doc.mdx +0 -24
  170. package/styled-components/cjs/components/Price/Price.tokens.js +0 -9
  171. package/styled-components/cjs/components/Price/Price.types.js +0 -5
  172. package/styled-components/cjs/components/Price/index.js +0 -25
  173. package/styled-components/cjs/components/Price/utils/formatCurrency.js +0 -21
  174. package/styled-components/cjs/components/Price/variations/_view/base.js +0 -8
  175. package/styled-components/cjs/components/Price/variations/_view/tokens.json +0 -1
  176. package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.config.js +0 -14
  177. package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.js +0 -17
  178. package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +0 -38
  179. package/styled-components/cjs/examples/plasma_web/components/Price/Price.config.js +0 -14
  180. package/styled-components/cjs/examples/plasma_web/components/Price/Price.js +0 -17
  181. package/styled-components/cjs/examples/plasma_web/components/Price/Price.stories.tsx +0 -38
  182. package/styled-components/es/components/Price/Price.js +0 -58
  183. package/styled-components/es/components/Price/Price.styles.js +0 -7
  184. package/styled-components/es/components/Price/Price.template-doc.mdx +0 -24
  185. package/styled-components/es/components/Price/Price.tokens.js +0 -3
  186. package/styled-components/es/components/Price/Price.types.js +0 -1
  187. package/styled-components/es/components/Price/index.js +0 -2
  188. package/styled-components/es/components/Price/utils/formatCurrency.js +0 -15
  189. package/styled-components/es/components/Price/variations/_view/base.js +0 -2
  190. package/styled-components/es/components/Price/variations/_view/tokens.json +0 -1
  191. package/styled-components/es/examples/plasma_b2c/components/Price/Price.config.js +0 -8
  192. package/styled-components/es/examples/plasma_b2c/components/Price/Price.js +0 -6
  193. package/styled-components/es/examples/plasma_b2c/components/Price/Price.stories.tsx +0 -38
  194. package/styled-components/es/examples/plasma_web/components/Price/Price.config.js +0 -8
  195. package/styled-components/es/examples/plasma_web/components/Price/Price.js +0 -6
  196. package/styled-components/es/examples/plasma_web/components/Price/Price.stories.tsx +0 -38
  197. package/types/components/Price/Price.d.ts +0 -22
  198. package/types/components/Price/Price.d.ts.map +0 -1
  199. package/types/components/Price/Price.styles.d.ts +0 -4
  200. package/types/components/Price/Price.styles.d.ts.map +0 -1
  201. package/types/components/Price/Price.tokens.d.ts +0 -4
  202. package/types/components/Price/Price.tokens.d.ts.map +0 -1
  203. package/types/components/Price/Price.types.d.ts +0 -41
  204. package/types/components/Price/Price.types.d.ts.map +0 -1
  205. package/types/components/Price/index.d.ts +0 -3
  206. package/types/components/Price/index.d.ts.map +0 -1
  207. package/types/components/Price/utils/formatCurrency.d.ts +0 -10
  208. package/types/components/Price/utils/formatCurrency.d.ts.map +0 -1
  209. package/types/components/Price/variations/_view/base.d.ts +0 -2
  210. package/types/components/Price/variations/_view/base.d.ts.map +0 -1
  211. package/types/examples/plasma_b2c/components/Price/Price.config.d.ts +0 -9
  212. package/types/examples/plasma_b2c/components/Price/Price.config.d.ts.map +0 -1
  213. package/types/examples/plasma_b2c/components/Price/Price.d.ts +0 -6
  214. package/types/examples/plasma_b2c/components/Price/Price.d.ts.map +0 -1
  215. package/types/examples/plasma_web/components/Price/Price.config.d.ts +0 -9
  216. package/types/examples/plasma_web/components/Price/Price.config.d.ts.map +0 -1
  217. package/types/examples/plasma_web/components/Price/Price.d.ts +0 -6
  218. 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';
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,CAAC;IACjC;;;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,3 +0,0 @@
1
- export { priceRoot, priceConfig } from './Price';
2
- export { classes as priceClasses } from './Price.tokens';
3
- //# sourceMappingURL=index.d.ts.map
@@ -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,2 +0,0 @@
1
- export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=base.d.ts.map
@@ -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,9 +0,0 @@
1
- export declare const config: {
2
- defaults: {
3
- view: string;
4
- };
5
- variations: {
6
- view: {};
7
- };
8
- };
9
- //# sourceMappingURL=Price.config.d.ts.map
@@ -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,9 +0,0 @@
1
- export declare const config: {
2
- defaults: {
3
- view: string;
4
- };
5
- variations: {
6
- view: {};
7
- };
8
- };
9
- //# sourceMappingURL=Price.config.d.ts.map
@@ -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"}