@alfalab/core-components-typography 4.14.2 → 5.0.0-snapshot-133b390

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/colors.css +22 -44
  2. package/colors.d.ts +2 -3
  3. package/colors.js +1 -0
  4. package/colors.js.map +1 -0
  5. package/colors.module.css.js +8 -0
  6. package/colors.module.css.js.map +1 -0
  7. package/component.d.ts +7 -7
  8. package/component.js +13 -12
  9. package/component.js.map +1 -0
  10. package/cssm/colors.d.ts +2 -3
  11. package/cssm/colors.js +1 -0
  12. package/cssm/colors.js.map +1 -0
  13. package/cssm/colors.module.css +3 -24
  14. package/cssm/component.d.ts +7 -7
  15. package/cssm/component.js +13 -12
  16. package/cssm/component.js.map +1 -0
  17. package/cssm/index.d.ts +5 -5
  18. package/cssm/index.js +9 -8
  19. package/cssm/index.js.map +1 -0
  20. package/cssm/presets.d.ts +1 -2
  21. package/cssm/presets.js +1 -0
  22. package/cssm/presets.js.map +1 -0
  23. package/cssm/text/alfasans-index.module.css +18 -29
  24. package/cssm/text/component.d.ts +10 -12
  25. package/cssm/text/component.js +3 -2
  26. package/cssm/text/component.js.map +1 -0
  27. package/cssm/text/index.d.ts +1 -1
  28. package/cssm/text/index.js +3 -2
  29. package/cssm/text/index.js.map +1 -0
  30. package/cssm/text/index.module.css +3 -24
  31. package/cssm/title/alfasans-index.module.css +12 -23
  32. package/cssm/title/common.module.css +2 -23
  33. package/cssm/title/component.d.ts +13 -15
  34. package/cssm/title/component.js +7 -6
  35. package/cssm/title/component.js.map +1 -0
  36. package/cssm/title/index.d.ts +5 -6
  37. package/cssm/title/index.js +3 -2
  38. package/cssm/title/index.js.map +1 -0
  39. package/cssm/title/index.module.css +6 -26
  40. package/cssm/title/utils.d.ts +1 -2
  41. package/cssm/title/utils.js +1 -0
  42. package/cssm/title/utils.js.map +1 -0
  43. package/cssm/title-mobile/alfasans-index.module.css +2 -23
  44. package/cssm/title-mobile/component.d.ts +5 -7
  45. package/cssm/title-mobile/component.js +3 -2
  46. package/cssm/title-mobile/component.js.map +1 -0
  47. package/cssm/title-mobile/index.d.ts +2 -2
  48. package/cssm/title-mobile/index.js +3 -2
  49. package/cssm/title-mobile/index.js.map +1 -0
  50. package/cssm/title-mobile/index.module.css +5 -25
  51. package/cssm/title-responsive/component.d.ts +7 -9
  52. package/cssm/title-responsive/component.js +6 -5
  53. package/cssm/title-responsive/component.js.map +1 -0
  54. package/cssm/title-responsive/index.d.ts +1 -1
  55. package/cssm/title-responsive/index.js +3 -2
  56. package/cssm/title-responsive/index.js.map +1 -0
  57. package/cssm/types.d.ts +1 -2
  58. package/cssm/types.js +1 -0
  59. package/cssm/types.js.map +1 -0
  60. package/esm/colors.css +22 -44
  61. package/esm/colors.d.ts +2 -3
  62. package/esm/colors.js +1 -0
  63. package/esm/colors.js.map +1 -0
  64. package/esm/colors.module.css.js +6 -0
  65. package/esm/colors.module.css.js.map +1 -0
  66. package/esm/component.d.ts +7 -7
  67. package/esm/component.js +1 -0
  68. package/esm/component.js.map +1 -0
  69. package/esm/index.d.ts +5 -5
  70. package/esm/index.js +1 -0
  71. package/esm/index.js.map +1 -0
  72. package/esm/presets.d.ts +1 -2
  73. package/esm/presets.js +1 -0
  74. package/esm/presets.js.map +1 -0
  75. package/esm/text/alfasans-index.css +30 -58
  76. package/esm/text/alfasans-index.module.css.js +6 -0
  77. package/esm/text/alfasans-index.module.css.js.map +1 -0
  78. package/esm/text/component.d.ts +10 -12
  79. package/esm/text/component.js +4 -7
  80. package/esm/text/component.js.map +1 -0
  81. package/esm/text/index.css +24 -45
  82. package/esm/text/index.d.ts +1 -1
  83. package/esm/text/index.js +1 -0
  84. package/esm/text/index.js.map +1 -0
  85. package/esm/text/index.module.css.js +6 -0
  86. package/esm/text/index.module.css.js.map +1 -0
  87. package/esm/title/alfasans-index.css +11 -33
  88. package/esm/title/alfasans-index.module.css.js +6 -0
  89. package/esm/title/alfasans-index.module.css.js.map +1 -0
  90. package/esm/title/common.css +9 -31
  91. package/esm/title/common.module.css.js +6 -0
  92. package/esm/title/common.module.css.js.map +1 -0
  93. package/esm/title/component.d.ts +12 -14
  94. package/esm/title/component.js +2 -1
  95. package/esm/title/component.js.map +1 -0
  96. package/esm/title/index.css +21 -42
  97. package/esm/title/index.d.ts +4 -5
  98. package/esm/title/index.js +4 -7
  99. package/esm/title/index.js.map +1 -0
  100. package/esm/title/index.module.css.js +6 -0
  101. package/esm/title/index.module.css.js.map +1 -0
  102. package/esm/title/utils.d.ts +1 -2
  103. package/esm/title/utils.js +1 -0
  104. package/esm/title/utils.js.map +1 -0
  105. package/esm/title-mobile/alfasans-index.css +11 -33
  106. package/esm/title-mobile/alfasans-index.module.css.js +6 -0
  107. package/esm/title-mobile/alfasans-index.module.css.js.map +1 -0
  108. package/esm/title-mobile/component.d.ts +4 -6
  109. package/esm/title-mobile/component.js +4 -7
  110. package/esm/title-mobile/component.js.map +1 -0
  111. package/esm/title-mobile/index.css +19 -40
  112. package/esm/title-mobile/index.d.ts +2 -2
  113. package/esm/title-mobile/index.js +1 -0
  114. package/esm/title-mobile/index.js.map +1 -0
  115. package/esm/title-mobile/index.module.css.js +6 -0
  116. package/esm/title-mobile/index.module.css.js.map +1 -0
  117. package/esm/title-responsive/component.d.ts +6 -8
  118. package/esm/title-responsive/component.js +1 -0
  119. package/esm/title-responsive/component.js.map +1 -0
  120. package/esm/title-responsive/index.d.ts +1 -1
  121. package/esm/title-responsive/index.js +1 -0
  122. package/esm/title-responsive/index.js.map +1 -0
  123. package/esm/types.d.ts +1 -2
  124. package/esm/types.js +1 -0
  125. package/esm/types.js.map +1 -0
  126. package/index.d.ts +5 -5
  127. package/index.js +9 -8
  128. package/index.js.map +1 -0
  129. package/modern/colors.css +22 -44
  130. package/modern/colors.d.ts +2 -3
  131. package/modern/colors.js +1 -0
  132. package/modern/colors.js.map +1 -0
  133. package/modern/colors.module.css.js +6 -0
  134. package/modern/colors.module.css.js.map +1 -0
  135. package/modern/component.d.ts +7 -7
  136. package/modern/component.js +1 -0
  137. package/modern/component.js.map +1 -0
  138. package/modern/index.d.ts +5 -5
  139. package/modern/index.js +1 -0
  140. package/modern/index.js.map +1 -0
  141. package/modern/presets.d.ts +1 -2
  142. package/modern/presets.js +1 -0
  143. package/modern/presets.js.map +1 -0
  144. package/modern/text/alfasans-index.css +30 -58
  145. package/modern/text/alfasans-index.module.css.js +6 -0
  146. package/modern/text/alfasans-index.module.css.js.map +1 -0
  147. package/modern/text/component.d.ts +10 -12
  148. package/modern/text/component.js +4 -7
  149. package/modern/text/component.js.map +1 -0
  150. package/modern/text/index.css +24 -45
  151. package/modern/text/index.d.ts +1 -1
  152. package/modern/text/index.js +1 -0
  153. package/modern/text/index.js.map +1 -0
  154. package/modern/text/index.module.css.js +6 -0
  155. package/modern/text/index.module.css.js.map +1 -0
  156. package/modern/title/alfasans-index.css +11 -33
  157. package/modern/title/alfasans-index.module.css.js +6 -0
  158. package/modern/title/alfasans-index.module.css.js.map +1 -0
  159. package/modern/title/common.css +9 -31
  160. package/modern/title/common.module.css.js +6 -0
  161. package/modern/title/common.module.css.js.map +1 -0
  162. package/modern/title/component.d.ts +12 -14
  163. package/modern/title/component.js +2 -1
  164. package/modern/title/component.js.map +1 -0
  165. package/modern/title/index.css +21 -42
  166. package/modern/title/index.d.ts +4 -5
  167. package/modern/title/index.js +4 -7
  168. package/modern/title/index.js.map +1 -0
  169. package/modern/title/index.module.css.js +6 -0
  170. package/modern/title/index.module.css.js.map +1 -0
  171. package/modern/title/utils.d.ts +1 -2
  172. package/modern/title/utils.js +1 -0
  173. package/modern/title/utils.js.map +1 -0
  174. package/modern/title-mobile/alfasans-index.css +11 -33
  175. package/modern/title-mobile/alfasans-index.module.css.js +6 -0
  176. package/modern/title-mobile/alfasans-index.module.css.js.map +1 -0
  177. package/modern/title-mobile/component.d.ts +4 -6
  178. package/modern/title-mobile/component.js +4 -7
  179. package/modern/title-mobile/component.js.map +1 -0
  180. package/modern/title-mobile/index.css +19 -40
  181. package/modern/title-mobile/index.d.ts +2 -2
  182. package/modern/title-mobile/index.js +1 -0
  183. package/modern/title-mobile/index.js.map +1 -0
  184. package/modern/title-mobile/index.module.css.js +6 -0
  185. package/modern/title-mobile/index.module.css.js.map +1 -0
  186. package/modern/title-responsive/component.d.ts +6 -8
  187. package/modern/title-responsive/component.js +1 -0
  188. package/modern/title-responsive/component.js.map +1 -0
  189. package/modern/title-responsive/index.d.ts +1 -1
  190. package/modern/title-responsive/index.js +1 -0
  191. package/modern/title-responsive/index.js.map +1 -0
  192. package/modern/types.d.ts +1 -2
  193. package/modern/types.js +1 -0
  194. package/modern/types.js.map +1 -0
  195. package/moderncssm/colors.d.ts +2 -3
  196. package/moderncssm/colors.js +1 -0
  197. package/moderncssm/colors.js.map +1 -0
  198. package/moderncssm/colors.module.css +0 -4
  199. package/moderncssm/component.d.ts +7 -7
  200. package/moderncssm/component.js +1 -0
  201. package/moderncssm/component.js.map +1 -0
  202. package/moderncssm/index.d.ts +5 -5
  203. package/moderncssm/index.js +1 -0
  204. package/moderncssm/index.js.map +1 -0
  205. package/moderncssm/presets.d.ts +1 -2
  206. package/moderncssm/presets.js +1 -0
  207. package/moderncssm/presets.js.map +1 -0
  208. package/moderncssm/text/alfasans-index.module.css +2 -29
  209. package/moderncssm/text/component.d.ts +10 -12
  210. package/moderncssm/text/component.js +1 -0
  211. package/moderncssm/text/component.js.map +1 -0
  212. package/moderncssm/text/index.d.ts +1 -1
  213. package/moderncssm/text/index.js +1 -0
  214. package/moderncssm/text/index.js.map +1 -0
  215. package/moderncssm/text/index.module.css +0 -1
  216. package/moderncssm/title/alfasans-index.module.css +12 -23
  217. package/moderncssm/title/common.module.css +0 -2
  218. package/moderncssm/title/component.d.ts +12 -14
  219. package/moderncssm/title/component.js +1 -0
  220. package/moderncssm/title/component.js.map +1 -0
  221. package/moderncssm/title/index.d.ts +4 -5
  222. package/moderncssm/title/index.js +1 -0
  223. package/moderncssm/title/index.js.map +1 -0
  224. package/moderncssm/title/index.module.css +0 -1
  225. package/moderncssm/title/utils.d.ts +1 -2
  226. package/moderncssm/title/utils.js +1 -0
  227. package/moderncssm/title/utils.js.map +1 -0
  228. package/moderncssm/title-mobile/alfasans-index.module.css +2 -23
  229. package/moderncssm/title-mobile/component.d.ts +4 -6
  230. package/moderncssm/title-mobile/component.js +1 -0
  231. package/moderncssm/title-mobile/component.js.map +1 -0
  232. package/moderncssm/title-mobile/index.d.ts +2 -2
  233. package/moderncssm/title-mobile/index.js +1 -0
  234. package/moderncssm/title-mobile/index.js.map +1 -0
  235. package/moderncssm/title-mobile/index.module.css +0 -1
  236. package/moderncssm/title-responsive/component.d.ts +6 -8
  237. package/moderncssm/title-responsive/component.js +1 -0
  238. package/moderncssm/title-responsive/component.js.map +1 -0
  239. package/moderncssm/title-responsive/index.d.ts +1 -1
  240. package/moderncssm/title-responsive/index.js +1 -0
  241. package/moderncssm/title-responsive/index.js.map +1 -0
  242. package/moderncssm/types.d.ts +1 -2
  243. package/moderncssm/types.js +1 -0
  244. package/moderncssm/types.js.map +1 -0
  245. package/package.json +6 -7
  246. package/presets.d.ts +1 -2
  247. package/presets.js +1 -0
  248. package/presets.js.map +1 -0
  249. package/text/alfasans-index.css +30 -58
  250. package/text/alfasans-index.module.css.js +8 -0
  251. package/text/alfasans-index.module.css.js.map +1 -0
  252. package/text/component.d.ts +10 -12
  253. package/text/component.js +12 -15
  254. package/text/component.js.map +1 -0
  255. package/text/index.css +24 -45
  256. package/text/index.d.ts +1 -1
  257. package/text/index.js +3 -2
  258. package/text/index.js.map +1 -0
  259. package/text/index.module.css.js +8 -0
  260. package/text/index.module.css.js.map +1 -0
  261. package/title/alfasans-index.css +11 -33
  262. package/title/alfasans-index.module.css.js +8 -0
  263. package/title/alfasans-index.module.css.js.map +1 -0
  264. package/title/common.css +9 -31
  265. package/title/common.module.css.js +8 -0
  266. package/title/common.module.css.js.map +1 -0
  267. package/title/component.d.ts +12 -14
  268. package/title/component.js +5 -4
  269. package/title/component.js.map +1 -0
  270. package/title/index.css +21 -42
  271. package/title/index.d.ts +4 -5
  272. package/title/index.js +7 -10
  273. package/title/index.js.map +1 -0
  274. package/title/index.module.css.js +8 -0
  275. package/title/index.module.css.js.map +1 -0
  276. package/title/utils.d.ts +1 -2
  277. package/title/utils.js +1 -0
  278. package/title/utils.js.map +1 -0
  279. package/title-mobile/alfasans-index.css +11 -33
  280. package/title-mobile/alfasans-index.module.css.js +8 -0
  281. package/title-mobile/alfasans-index.module.css.js.map +1 -0
  282. package/title-mobile/component.d.ts +4 -6
  283. package/title-mobile/component.js +7 -10
  284. package/title-mobile/component.js.map +1 -0
  285. package/title-mobile/index.css +19 -40
  286. package/title-mobile/index.d.ts +2 -2
  287. package/title-mobile/index.js +3 -2
  288. package/title-mobile/index.js.map +1 -0
  289. package/title-mobile/index.module.css.js +8 -0
  290. package/title-mobile/index.module.css.js.map +1 -0
  291. package/title-responsive/component.d.ts +6 -8
  292. package/title-responsive/component.js +4 -3
  293. package/title-responsive/component.js.map +1 -0
  294. package/title-responsive/index.d.ts +1 -1
  295. package/title-responsive/index.js +3 -2
  296. package/title-responsive/index.js.map +1 -0
  297. package/types.d.ts +1 -2
  298. package/types.js +1 -0
  299. package/types.js.map +1 -0
  300. package/colors.module-455e8f30.js +0 -6
  301. package/common.module-f91007e6.js +0 -6
  302. package/cssm/common.module.css +0 -3
  303. package/cssm/margins.module.css +0 -1
  304. package/esm/colors.module-d078ce04.js +0 -4
  305. package/esm/common.module-688e670f.js +0 -4
  306. package/modern/colors.module-74128df7.js +0 -4
  307. package/modern/common.module-9b229b1f.js +0 -4
  308. package/moderncssm/common.module.css +0 -3
  309. package/moderncssm/margins.module.css +0 -1
@@ -6,9 +6,9 @@ var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var mergeRefs = require('react-merge-refs');
8
8
  var cn = require('classnames');
9
- var coreComponentsShared = require('@alfalab/core-components-shared/cssm');
10
- var coreComponentsSkeleton = require('@alfalab/core-components-skeleton/cssm');
11
- var title_utils = require('./utils.js');
9
+ var cssm = require('@alfalab/core-components-shared/cssm');
10
+ var cssm$1 = require('@alfalab/core-components-skeleton/cssm');
11
+ var utils = require('./utils.js');
12
12
  var colors = require('../colors.module.css');
13
13
 
14
14
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -20,8 +20,8 @@ var colors__default = /*#__PURE__*/_interopDefaultCompat(colors);
20
20
 
21
21
  var TitleBase = React.forwardRef(function (_a, ref) {
22
22
  var _b;
23
- var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d, _e = _a.font, fontProp = _e === void 0 ? 'styrene' : _e, platform = _a.platform, _f = _a.weight, weight = _f === void 0 ? title_utils.getDefaultWeight(coreComponentsShared.isObject(fontProp) ? fontProp.font : fontProp, platform) : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? false : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = tslib.__rest(_a, ["tag", "view", "font", "platform", "weight", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "styles", "skeletonProps", "showSkeleton"]);
24
- var _h = coreComponentsSkeleton.useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;
23
+ var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d, _e = _a.font, fontProp = _e === void 0 ? 'styrene' : _e, platform = _a.platform, _f = _a.weight, weight = _f === void 0 ? utils.getDefaultWeight(cssm.isObject(fontProp) ? fontProp.font : fontProp, platform) : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? false : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = tslib.__rest(_a, ["tag", "view", "font", "platform", "weight", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "styles", "skeletonProps", "showSkeleton"]);
24
+ var _h = cssm$1.useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;
25
25
  var skeleton = renderSkeleton({
26
26
  wrapperClassName: cn__default.default(defaultMargins && styles["margins-".concat(view)]),
27
27
  dataTestId: dataTestId,
@@ -31,7 +31,7 @@ var TitleBase = React.forwardRef(function (_a, ref) {
31
31
  }
32
32
  var font;
33
33
  var systemCompat;
34
- if (coreComponentsShared.isObject(fontProp)) {
34
+ if (cssm.isObject(fontProp)) {
35
35
  font = fontProp.font;
36
36
  systemCompat = fontProp.systemCompat;
37
37
  }
@@ -46,3 +46,4 @@ var TitleBase = React.forwardRef(function (_a, ref) {
46
46
  });
47
47
 
48
48
  exports.TitleBase = TitleBase;
49
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sources":["../../src/title/component.tsx"],"sourcesContent":["import React, { forwardRef, HTMLAttributes } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { isObject } from '@alfalab/core-components-shared';\nimport { type TextSkeletonProps, useSkeleton } from '@alfalab/core-components-skeleton';\n\nimport { Color } from '../colors';\n\nimport { getDefaultWeight } from './utils';\n\nimport colors from '../colors.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLHeadingElement>;\n\nexport type TitleProps = Omit<NativeProps, 'color'> & {\n /**\n * HTML тег\n */\n tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';\n\n /**\n * [Вариант начертания](?path=/docs/guidelines-typography--page)\n */\n view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold' | 'semibold';\n\n /**\n * Шрифт текста\n */\n font?: 'styrene' | 'system' | 'alfasans' | { font: 'alfasans'; systemCompat: boolean };\n\n /**\n * Добавляет отступы\n */\n defaultMargins?: boolean;\n\n /**\n * Css-класс для стилизации (native prop)\n */\n className?: string;\n\n /**\n * Id компонента для тестов\n */\n dataTestId?: string;\n\n /**\n * Контент (native prop)\n */\n children?: React.ReactNode;\n\n /**\n * Количество строк\n */\n rowLimit?: 1 | 2 | 3;\n\n /**\n * Показать скелетон\n */\n showSkeleton?: boolean;\n\n /**\n * Пропы для скелетона\n */\n skeletonProps?: TextSkeletonProps;\n\n /**\n * Значение по-умолчанию для хука useMatchMedia\n */\n defaultMatchMediaValue?: boolean | (() => boolean);\n};\n\ntype PrivateProps = {\n styles: {\n [key: string]: string;\n };\n platform: 'mobile' | 'desktop';\n};\n\ntype TitleElementType = HTMLHeadingElement | HTMLDivElement;\n\nexport const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>(\n (\n {\n tag: Component = 'div',\n view = 'medium',\n font: fontProp = 'styrene',\n platform,\n weight = getDefaultWeight(isObject(fontProp) ? fontProp.font : fontProp, platform),\n defaultMargins = false,\n color,\n className,\n dataTestId,\n children,\n rowLimit,\n styles,\n skeletonProps,\n showSkeleton,\n ...restProps\n },\n ref,\n ) => {\n const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);\n\n const skeleton = renderSkeleton({\n wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),\n dataTestId,\n });\n\n if (skeleton) {\n return skeleton;\n }\n\n let font: string;\n let systemCompat: boolean | undefined;\n\n if (isObject(fontProp)) {\n font = fontProp.font;\n systemCompat = fontProp.systemCompat;\n } else {\n font = fontProp;\n }\n\n return (\n <Component\n className={cn(\n styles.component,\n className,\n styles[`${font}-${view}`],\n defaultMargins && styles[`margins-${view}`],\n styles[weight],\n color && colors[color],\n {\n [styles[`rowLimit${rowLimit}`]]: rowLimit,\n [styles.transparent]: showSkeleton,\n [styles.systemCompat]: systemCompat,\n },\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n );\n },\n);\n"],"names":["forwardRef","getDefaultWeight","isObject","__rest","useSkeleton","cn","React","colors","mergeRefs"],"mappings":";;;;;;;;;;;;;;;;;;;;IA2Fa,SAAS,GAAGA,gBAAU,CAC/B,UACI,EAgBC,EACD,GAAG,EAAA;;AAhBC,IAAA,IAAA,WAAsB,EAAjB,SAAS,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,KAAA,EACtB,EAAA,GAAA,EAAA,CAAA,IAAe,EAAf,IAAI,mBAAG,QAAQ,GAAA,EAAA,EACf,EAA0B,GAAA,EAAA,CAAA,IAAA,EAApB,QAAQ,GAAG,EAAA,KAAA,MAAA,GAAA,SAAS,GAAA,EAAA,EAC1B,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,cAAkF,EAAlF,MAAM,mBAAGC,sBAAgB,CAACC,aAAQ,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,IAAI,GAAG,QAAQ,EAAE,QAAQ,CAAC,GAAA,EAAA,EAClF,sBAAsB,EAAtB,cAAc,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,KAAA,EACtB,KAAK,WAAA,EACL,SAAS,eAAA,EACT,UAAU,GAAA,EAAA,CAAA,UAAA,EACV,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,MAAM,GAAA,EAAA,CAAA,MAAA,EACN,aAAa,GAAA,EAAA,CAAA,aAAA,EACb,YAAY,GAAA,EAAA,CAAA,YAAA,EACT,SAAS,GAAAC,YAAA,CAAA,EAAA,EAfhB,sKAgBC,CADe;AAIV,IAAA,IAAA,EAA8B,GAAAC,kBAAW,CAAC,YAAY,EAAE,aAAa,CAAC,EAApE,cAAc,GAAA,EAAA,CAAA,cAAA,EAAE,OAAO,aAA6C;IAE5E,IAAM,QAAQ,GAAG,cAAc,CAAC;QAC5B,gBAAgB,EAAEC,mBAAE,CAAC,cAAc,IAAI,MAAM,CAAC,UAAW,CAAA,MAAA,CAAA,IAAI,CAAE,CAAC,CAAC;AACjE,QAAA,UAAU,EAAA,UAAA;AACb,KAAA,CAAC;AAEF,IAAA,IAAI,QAAQ,EAAE;AACV,QAAA,OAAO,QAAQ;AAClB;AAED,IAAA,IAAI,IAAY;AAChB,IAAA,IAAI,YAAiC;AAErC,IAAA,IAAIH,aAAQ,CAAC,QAAQ,CAAC,EAAE;AACpB,QAAA,IAAI,GAAG,QAAQ,CAAC,IAAI;AACpB,QAAA,YAAY,GAAG,QAAQ,CAAC,YAAY;AACvC;AAAM,SAAA;QACH,IAAI,GAAG,QAAQ;AAClB;AAED,IAAA,QACII,sBAAC,CAAA,aAAA,CAAA,SAAS,mBACN,SAAS,EAAED,mBAAE,CACT,MAAM,CAAC,SAAS,EAChB,SAAS,EACT,MAAM,CAAC,EAAG,CAAA,MAAA,CAAA,IAAI,cAAI,IAAI,CAAE,CAAC,EACzB,cAAc,IAAI,MAAM,CAAC,UAAW,CAAA,MAAA,CAAA,IAAI,CAAE,CAAC,EAC3C,MAAM,CAAC,MAAM,CAAC,EACd,KAAK,IAAIE,uBAAM,CAAC,KAAK,CAAC,GAAA,EAAA,GAAA,EAAA;AAElB,YAAA,EAAA,CAAC,MAAM,CAAC,UAAA,CAAA,MAAA,CAAW,QAAQ,CAAE,CAAC,IAAG,QAAQ;AACzC,YAAA,EAAA,CAAC,MAAM,CAAC,WAAW,CAAA,GAAG,YAAY;AAClC,YAAA,EAAA,CAAC,MAAM,CAAC,YAAY,CAAA,GAAG,YAAY;AAE1C,YAAA,EAAA,EAAA,EAAA,cAAA,EACa,UAAU,EACxB,GAAG,EAAEC,0BAAS,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,EAC1B,EAAA,SAAS,GAEZ,QAAQ,CACD;AAEpB,CAAC;;;;"}
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import React from 'react';
3
- import { TitleProps } from "./component";
2
+ import { TitleProps } from './component';
4
3
  declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
5
4
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
6
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
7
- color?: "link" | "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
8
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
5
+ view?: "medium" | "small" | "xlarge" | "large" | "xsmall" | undefined;
6
+ color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
7
+ weight?: "regular" | "medium" | "bold" | "semibold" | undefined;
9
8
  font?: "alfasans" | "styrene" | "system" | {
10
9
  font: "alfasans";
11
10
  systemCompat: boolean;
@@ -14,7 +13,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<H
14
13
  className?: string | undefined;
15
14
  dataTestId?: string | undefined;
16
15
  children?: React.ReactNode;
17
- rowLimit?: 2 | 1 | 3 | undefined;
16
+ rowLimit?: 1 | 2 | 3 | undefined;
18
17
  showSkeleton?: boolean | undefined;
19
18
  skeletonProps?: import("@alfalab/core-components-skeleton").TextSkeletonProps | undefined;
20
19
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
- var title_component = require('./component.js');
7
+ var component = require('./component.js');
8
8
  var alfasansStyles = require('./alfasans-index.module.css');
9
9
  var commonStyles = require('./common.module.css');
10
10
  var styles = require('./index.module.css');
@@ -17,6 +17,7 @@ var commonStyles__default = /*#__PURE__*/_interopDefaultCompat(commonStyles);
17
17
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
18
18
 
19
19
  var allStyles = tslib.__assign(tslib.__assign(tslib.__assign({}, commonStyles__default.default), styles__default.default), alfasansStyles__default.default);
20
- var Title = React.forwardRef(function (props, ref) { return (React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: allStyles, ref: ref, platform: 'desktop' }))); });
20
+ var Title = React.forwardRef(function (props, ref) { return (React__default.default.createElement(component.TitleBase, tslib.__assign({}, props, { styles: allStyles, ref: ref, platform: 'desktop' }))); });
21
21
 
22
22
  exports.Title = Title;
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/title/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { TitleBase, TitleProps } from './component';\n\nimport alfasansStyles from './alfasans-index.module.css';\nimport commonStyles from './common.module.css';\nimport styles from './index.module.css';\n\nconst allStyles =\n process.env.CORE_COMPONENTS_ENV === 'test'\n ? commonStyles\n : { ...commonStyles, ...styles, ...alfasansStyles };\n\nconst Title = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>((props, ref) => (\n <TitleBase {...props} styles={allStyles} ref={ref} platform='desktop' />\n));\n\nexport { Title };\nexport type { TitleProps };\n"],"names":["commonStyles","styles","alfasansStyles","forwardRef","React","TitleBase"],"mappings":";;;;;;;;;;;;;;;;;;AAQA,IAAM,SAAS,oDAGAA,6BAAY,CAAA,EAAKC,uBAAM,CAAK,EAAAC,+BAAc,CAAE;AAE3D,IAAM,KAAK,GAAGC,gBAAU,CAAkD,UAAC,KAAK,EAAE,GAAG,EAAA,EAAK,QACtFC,sBAAC,CAAA,aAAA,CAAAC,mBAAS,qBAAK,KAAK,EAAA,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAC,SAAS,EAAG,CAAA,CAAA,EADc,EAEzF;;;;"}
@@ -1,27 +1,8 @@
1
- :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
2
- } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
- } :root {
6
-
7
- /* Hard */
8
-
9
- /* Up */
10
-
11
- /* Hard up */
12
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
-
14
- /* новые значения, используйте их */
15
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
16
- --gap-m: 16px; /* deprecated */ /* deprecated */
17
- --gap-xl: 24px; /* deprecated */ /* deprecated */
18
- --gap-3xl: 40px; /* deprecated */
19
- --gap-4xl: 48px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
20
-
21
- /* новые значения, используйте их */
22
-
23
- /* no-unit может приводить к проблемам в calc (#1559) */
24
- /* stylelint-disable-next-line length-zero-no-unit */
1
+ :root {
2
+ --gap-m: 16px;
3
+ --gap-xl: 24px;
4
+ --gap-3xl: 40px;
5
+ --gap-4xl: 48px;
25
6
  --gap-0: 0px;
26
7
  --gap-16: var(--gap-m);
27
8
  --gap-24: var(--gap-xl);
@@ -30,8 +11,7 @@
30
11
  } :root {
31
12
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
32
13
  'Helvetica Neue', Helvetica, sans-serif;
33
- } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
34
- } /* сбрасывает синюю подсветку при нажатии */ .transparent {
14
+ } .transparent {
35
15
  opacity: 0;
36
16
  } .styrene-xlarge {
37
17
  font-size: 48px;
@@ -1,2 +1 @@
1
- declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
2
- export { getDefaultWeight };
1
+ export declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
@@ -13,3 +13,4 @@ function getDefaultWeight(font, platform) {
13
13
  }
14
14
 
15
15
  exports.getDefaultWeight = getDefaultWeight;
16
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../../src/title/utils.ts"],"sourcesContent":["export function getDefaultWeight(\n font: 'styrene' | 'system' | 'alfasans',\n platform: 'mobile' | 'desktop',\n) {\n if (font === 'styrene' || font === 'alfasans') {\n return 'medium';\n }\n\n if (platform === 'desktop') {\n return 'bold';\n }\n\n return 'semibold';\n}\n"],"names":[],"mappings":";;;;AAAgB,SAAA,gBAAgB,CAC5B,IAAuC,EACvC,QAA8B,EAAA;AAE9B,IAAA,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE;AAC3C,QAAA,OAAO,QAAQ;AAClB;IAED,IAAI,QAAQ,KAAK,SAAS,EAAE;AACxB,QAAA,OAAO,MAAM;AAChB;AAED,IAAA,OAAO,UAAU;AACrB;;;;"}
@@ -1,28 +1,7 @@
1
- :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
2
- } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
- } :root {
6
-
7
- /* Hard */
8
-
9
- /* Up */
10
-
11
- /* Hard up */
12
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
-
14
- /* новые значения, используйте их */
15
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
16
-
17
- /* новые значения, используйте их */
18
-
19
- /* no-unit может приводить к проблемам в calc (#1559) */
20
- /* stylelint-disable-next-line length-zero-no-unit */
21
- } :root {
1
+ :root {
22
2
  --font-family-alfasans: 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto,
23
3
  'Helvetica Neue', Helvetica, sans-serif;
24
- } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
25
- } /* сбрасывает синюю подсветку при нажатии */ .alfasans-xlarge {
4
+ } .alfasans-xlarge {
26
5
  font-size: 34px;
27
6
  line-height: 40px;
28
7
  font-weight: 500;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import React from 'react';
3
- declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
2
+ export declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
4
3
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
6
- color?: "link" | "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
7
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
4
+ view?: "medium" | "small" | "xlarge" | "large" | "xsmall" | undefined;
5
+ color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
6
+ weight?: "regular" | "medium" | "bold" | "semibold" | undefined;
8
7
  font?: "alfasans" | "styrene" | "system" | {
9
8
  font: "alfasans";
10
9
  systemCompat: boolean;
@@ -13,9 +12,8 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
13
12
  className?: string | undefined;
14
13
  dataTestId?: string | undefined;
15
14
  children?: React.ReactNode;
16
- rowLimit?: 2 | 1 | 3 | undefined;
15
+ rowLimit?: 1 | 2 | 3 | undefined;
17
16
  showSkeleton?: boolean | undefined;
18
17
  skeletonProps?: import("@alfalab/core-components-skeleton").TextSkeletonProps | undefined;
19
18
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
20
19
  } & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
21
- export { TitleMobile };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
- var title_component = require('../title/component.js');
7
+ var component = require('../title/component.js');
8
8
  var commonStyles = require('../title/common.module.css');
9
9
  var alfasansStyles = require('./alfasans-index.module.css');
10
10
  var styles = require('./index.module.css');
@@ -17,6 +17,7 @@ var alfasansStyles__default = /*#__PURE__*/_interopDefaultCompat(alfasansStyles)
17
17
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
18
18
 
19
19
  var allStyles = tslib.__assign(tslib.__assign(tslib.__assign({}, commonStyles__default.default), styles__default.default), alfasansStyles__default.default);
20
- var TitleMobile = React.forwardRef(function (props, ref) { return React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: allStyles, ref: ref, platform: 'mobile' })); });
20
+ var TitleMobile = React.forwardRef(function (props, ref) { return React__default.default.createElement(component.TitleBase, tslib.__assign({}, props, { styles: allStyles, ref: ref, platform: 'mobile' })); });
21
21
 
22
22
  exports.TitleMobile = TitleMobile;
23
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sources":["../../src/title-mobile/component.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { TitleBase, TitleProps } from '../title/component';\n\nimport commonStyles from '../title/common.module.css';\nimport alfasansStyles from './alfasans-index.module.css';\nimport styles from './index.module.css';\n\nconst allStyles =\n process.env.CORE_COMPONENTS_ENV === 'test'\n ? commonStyles\n : { ...commonStyles, ...styles, ...alfasansStyles };\n\nexport const TitleMobile = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>(\n (props, ref) => <TitleBase {...props} styles={allStyles} ref={ref} platform='mobile' />,\n);\n"],"names":["commonStyles","styles","alfasansStyles","forwardRef","React","TitleBase","__assign"],"mappings":";;;;;;;;;;;;;;;;;;AAQA,IAAM,SAAS,oDAGAA,6BAAY,CAAA,EAAKC,uBAAM,CAAK,EAAAC,+BAAc,CAAE;AAEpD,IAAM,WAAW,GAAGC,gBAAU,CACjC,UAAC,KAAK,EAAE,GAAG,EAAA,EAAK,OAAAC,sBAAA,CAAA,aAAA,CAACC,mBAAS,EAAKC,cAAA,CAAA,EAAA,EAAA,KAAK,EAAE,EAAA,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAC,QAAQ,EAAA,CAAA,CAAG,CAAvE,EAAuE;;;;"}
@@ -1,2 +1,2 @@
1
- export { TitleMobile } from "./component";
2
- export type { TitleProps as TitleMobileProps } from "../title/component";
1
+ export { TitleMobile } from './component';
2
+ export type { TitleProps as TitleMobileProps } from '../title/component';
@@ -2,8 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var titleMobile_component = require('./component.js');
5
+ var component = require('./component.js');
6
6
 
7
7
 
8
8
 
9
- exports.TitleMobile = titleMobile_component.TitleMobile;
9
+ exports.TitleMobile = component.TitleMobile;
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,26 +1,7 @@
1
- :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
2
- } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
- } :root {
6
-
7
- /* Hard */
8
-
9
- /* Up */
10
-
11
- /* Hard up */
12
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
-
14
- /* новые значения, используйте их */
15
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
16
- --gap-m: 16px; /* deprecated */ /* deprecated */
17
- --gap-xl: 24px; /* deprecated */ /* deprecated */
18
- --gap-3xl: 40px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
19
-
20
- /* новые значения, используйте их */
21
-
22
- /* no-unit может приводить к проблемам в calc (#1559) */
23
- /* stylelint-disable-next-line length-zero-no-unit */
1
+ :root {
2
+ --gap-m: 16px;
3
+ --gap-xl: 24px;
4
+ --gap-3xl: 40px;
24
5
  --gap-0: 0px;
25
6
  --gap-16: var(--gap-m);
26
7
  --gap-24: var(--gap-xl);
@@ -28,8 +9,7 @@
28
9
  } :root {
29
10
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
30
11
  'Helvetica Neue', Helvetica, sans-serif;
31
- } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
32
- } /* сбрасывает синюю подсветку при нажатии */ .styrene-xlarge {
12
+ } .styrene-xlarge {
33
13
  font-size: 34px;
34
14
  line-height: 40px;
35
15
  font-weight: 500;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import React from 'react';
3
- import { TitleProps } from "../title/index";
4
- type TitleResponsiveProps = TitleProps & {
2
+ import { TitleProps } from '../title';
3
+ export declare type TitleResponsiveProps = TitleProps & {
5
4
  /**
6
5
  * Контрольная точка, с нее начинается desktop версия
7
6
  * @default 1024
@@ -12,11 +11,11 @@ type TitleResponsiveProps = TitleProps & {
12
11
  */
13
12
  client?: 'desktop' | 'mobile';
14
13
  };
15
- declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
14
+ export declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
16
15
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
17
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
18
- color?: "link" | "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
19
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
16
+ view?: "medium" | "small" | "xlarge" | "large" | "xsmall" | undefined;
17
+ color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
18
+ weight?: "regular" | "medium" | "bold" | "semibold" | undefined;
20
19
  font?: "alfasans" | "styrene" | "system" | {
21
20
  font: "alfasans";
22
21
  systemCompat: boolean;
@@ -25,7 +24,7 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
25
24
  className?: string | undefined;
26
25
  dataTestId?: string | undefined;
27
26
  children?: React.ReactNode;
28
- rowLimit?: 2 | 1 | 3 | undefined;
27
+ rowLimit?: 1 | 2 | 3 | undefined;
29
28
  showSkeleton?: boolean | undefined;
30
29
  skeletonProps?: import("@alfalab/core-components-skeleton").TextSkeletonProps | undefined;
31
30
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
@@ -40,4 +39,3 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
40
39
  */
41
40
  client?: "mobile" | "desktop" | undefined;
42
41
  } & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
43
- export { TitleResponsiveProps, TitleResponsive };
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
- var coreComponentsMq = require('@alfalab/core-components-mq/cssm');
8
- var title_index = require('../title/index.js');
9
- var titleMobile_component = require('../title-mobile/component.js');
7
+ var cssm = require('@alfalab/core-components-mq/cssm');
8
+ var index = require('../title/index.js');
9
+ var component = require('../title-mobile/component.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
@@ -14,9 +14,10 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
 
15
15
  var TitleResponsive = React.forwardRef(function (_a, ref) {
16
16
  var breakpoint = _a.breakpoint, client = _a.client, restProps = tslib.__rest(_a, ["breakpoint", "client"]);
17
- var isDesktop = coreComponentsMq.useIsDesktop(breakpoint, client === 'desktop');
18
- var Component = isDesktop ? title_index.Title : titleMobile_component.TitleMobile;
17
+ var isDesktop = cssm.useIsDesktop(breakpoint, client === 'desktop');
18
+ var Component = isDesktop ? index.Title : component.TitleMobile;
19
19
  return React__default.default.createElement(Component, tslib.__assign({}, restProps, { ref: ref }));
20
20
  });
21
21
 
22
22
  exports.TitleResponsive = TitleResponsive;
23
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sources":["../../src/title-responsive/component.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { useIsDesktop } from '@alfalab/core-components-mq';\n\nimport { Title, TitleProps } from '../title';\nimport { TitleMobile } from '../title-mobile';\n\nexport type TitleResponsiveProps = TitleProps & {\n /**\n * Контрольная точка, с нее начинается desktop версия\n * @default 1024\n */\n breakpoint?: number;\n\n /**\n * Версия, которая будет использоваться при серверном рендеринге\n */\n client?: 'desktop' | 'mobile';\n};\n\nexport const TitleResponsive = forwardRef<\n HTMLHeadingElement | HTMLDivElement,\n TitleResponsiveProps\n>(({ breakpoint, client, ...restProps }, ref) => {\n const isDesktop = useIsDesktop(breakpoint, client === 'desktop');\n\n const Component = isDesktop ? Title : TitleMobile;\n\n return <Component {...restProps} ref={ref} />;\n});\n"],"names":["forwardRef","__rest","useIsDesktop","Title","TitleMobile","React","__assign"],"mappings":";;;;;;;;;;;;;;IAoBa,eAAe,GAAGA,gBAAU,CAGvC,UAAC,EAAoC,EAAE,GAAG,EAAA;IAAvC,IAAA,UAAU,gBAAA,EAAE,MAAM,YAAA,EAAK,SAAS,GAAlCC,YAAA,CAAA,EAAA,EAAA,CAAA,YAAA,EAAA,QAAA,CAAoC,CAAF;IACjC,IAAM,SAAS,GAAGC,iBAAY,CAAC,UAAU,EAAE,MAAM,KAAK,SAAS,CAAC;IAEhE,IAAM,SAAS,GAAG,SAAS,GAAGC,WAAK,GAAGC,qBAAW;IAEjD,OAAOC,sBAAA,CAAA,aAAA,CAAC,SAAS,EAAKC,cAAA,CAAA,EAAA,EAAA,SAAS,IAAE,GAAG,EAAE,GAAG,EAAA,CAAA,CAAI;AACjD,CAAC;;;;"}
@@ -1 +1 @@
1
- export * from "./component";
1
+ export * from './component';
@@ -2,8 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var titleResponsive_component = require('./component.js');
5
+ var component = require('./component.js');
6
6
 
7
7
 
8
8
 
9
- exports.TitleResponsive = titleResponsive_component.TitleResponsive;
9
+ exports.TitleResponsive = component.TitleResponsive;
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/cssm/types.d.ts CHANGED
@@ -1,2 +1 @@
1
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
2
- export { TextElementType };
1
+ export declare type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
package/cssm/types.js CHANGED
@@ -1,2 +1,3 @@
1
1
  'use strict';
2
2
 
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}