@alfalab/core-components 42.2.1-beta.0 → 42.3.0

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 (571) hide show
  1. package/bottom-sheet/component.js +12 -3
  2. package/bottom-sheet/cssm/component.js +11 -2
  3. package/bottom-sheet/cssm/index.module.css +6 -5
  4. package/bottom-sheet/cssm/types.d.ts +9 -1
  5. package/bottom-sheet/esm/component.js +12 -3
  6. package/bottom-sheet/esm/index.css +6 -5
  7. package/bottom-sheet/esm/types.d.ts +9 -1
  8. package/bottom-sheet/index.css +6 -5
  9. package/bottom-sheet/modern/component.js +12 -3
  10. package/bottom-sheet/modern/index.css +6 -5
  11. package/bottom-sheet/modern/types.d.ts +9 -1
  12. package/bottom-sheet/types.d.ts +9 -1
  13. package/calendar/Component-63dec22f.d.ts +18 -1
  14. package/calendar/cssm/Component-63dec22f.d.ts +18 -1
  15. package/calendar/cssm/types-1b036d4b.d.ts +13 -0
  16. package/calendar/cssm/useSkeleton-1b036d4b.d.ts +40 -0
  17. package/calendar/esm/Component-63dec22f.d.ts +18 -1
  18. package/calendar/esm/types-1b036d4b.d.ts +13 -0
  19. package/calendar/esm/useSkeleton-1b036d4b.d.ts +40 -0
  20. package/calendar/modern/Component-63dec22f.d.ts +18 -1
  21. package/calendar/modern/types-1b036d4b.d.ts +13 -0
  22. package/calendar/modern/useSkeleton-1b036d4b.d.ts +40 -0
  23. package/calendar/types-1b036d4b.d.ts +13 -0
  24. package/calendar/useSkeleton-1b036d4b.d.ts +40 -0
  25. package/calendar-input/Component-63dec22f.d.ts +18 -1
  26. package/calendar-input/components/calendar-input/Component.js +2 -6
  27. package/calendar-input/cssm/Component-63dec22f.d.ts +18 -1
  28. package/calendar-input/cssm/components/calendar-input/Component.js +2 -6
  29. package/calendar-input/cssm/types-1b036d4b.d.ts +13 -0
  30. package/calendar-input/cssm/useSkeleton-1b036d4b.d.ts +40 -0
  31. package/calendar-input/esm/Component-63dec22f.d.ts +18 -1
  32. package/calendar-input/esm/components/calendar-input/Component.js +2 -6
  33. package/calendar-input/esm/types-1b036d4b.d.ts +13 -0
  34. package/calendar-input/esm/useSkeleton-1b036d4b.d.ts +40 -0
  35. package/calendar-input/modern/Component-63dec22f.d.ts +18 -1
  36. package/calendar-input/modern/components/calendar-input/Component.js +2 -6
  37. package/calendar-input/modern/types-1b036d4b.d.ts +13 -0
  38. package/calendar-input/modern/useSkeleton-1b036d4b.d.ts +40 -0
  39. package/calendar-input/types-1b036d4b.d.ts +13 -0
  40. package/calendar-input/useSkeleton-1b036d4b.d.ts +40 -0
  41. package/checkbox-group/components/base-checkbox-group/index.css +0 -6
  42. package/checkbox-group/cssm/components/base-checkbox-group/index.module.css +0 -6
  43. package/checkbox-group/cssm/desktop.module.css +7 -1
  44. package/checkbox-group/cssm/mobile.module.css +7 -1
  45. package/checkbox-group/desktop.css +7 -1
  46. package/checkbox-group/esm/components/base-checkbox-group/index.css +0 -6
  47. package/checkbox-group/esm/desktop.css +7 -1
  48. package/checkbox-group/esm/mobile.css +7 -1
  49. package/checkbox-group/mobile.css +7 -1
  50. package/checkbox-group/modern/components/base-checkbox-group/index.css +0 -6
  51. package/checkbox-group/modern/desktop.css +7 -1
  52. package/checkbox-group/modern/mobile.css +7 -1
  53. package/confirmation/component.desktop.js +1 -1
  54. package/confirmation/component.mobile.js +1 -1
  55. package/confirmation/component.responsive.js +1 -1
  56. package/confirmation/components/base-confirmation/component.js +1 -1
  57. package/confirmation/components/base-confirmation/index.js +1 -1
  58. package/confirmation/components/index.js +1 -1
  59. package/confirmation/components/screens/index.js +1 -1
  60. package/confirmation/components/screens/initial/component.js +1 -1
  61. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  62. package/confirmation/components/screens/initial/index.js +1 -1
  63. package/confirmation/desktop.js +1 -1
  64. package/confirmation/esm/component.desktop.js +1 -1
  65. package/confirmation/esm/component.mobile.js +1 -1
  66. package/confirmation/esm/component.responsive.js +1 -1
  67. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  68. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  69. package/confirmation/esm/components/index.js +1 -1
  70. package/confirmation/esm/components/screens/index.js +1 -1
  71. package/confirmation/esm/components/screens/initial/component.js +1 -1
  72. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  73. package/confirmation/esm/components/screens/initial/index.js +1 -1
  74. package/confirmation/esm/desktop.js +1 -1
  75. package/confirmation/esm/index.js +1 -1
  76. package/confirmation/esm/mobile.js +1 -1
  77. package/confirmation/esm/shared.js +1 -1
  78. package/confirmation/index.js +1 -1
  79. package/confirmation/mobile.js +1 -1
  80. package/confirmation/modern/component.desktop.js +1 -1
  81. package/confirmation/modern/component.mobile.js +1 -1
  82. package/confirmation/modern/component.responsive.js +1 -1
  83. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  84. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  85. package/confirmation/modern/components/index.js +1 -1
  86. package/confirmation/modern/components/screens/index.js +1 -1
  87. package/confirmation/modern/components/screens/initial/component.js +1 -1
  88. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  89. package/confirmation/modern/components/screens/initial/index.js +1 -1
  90. package/confirmation/modern/desktop.js +1 -1
  91. package/confirmation/modern/index.js +1 -1
  92. package/confirmation/modern/mobile.js +1 -1
  93. package/confirmation/modern/shared.js +1 -1
  94. package/confirmation/shared.js +1 -1
  95. package/custom-picker-button/Component-63dec22f.d.ts +18 -1
  96. package/custom-picker-button/component-50136800.d.ts +1 -1
  97. package/custom-picker-button/cssm/Component-63dec22f.d.ts +18 -1
  98. package/custom-picker-button/cssm/component-50136800.d.ts +1 -1
  99. package/custom-picker-button/cssm/index-f12ee135.d.ts +1 -1
  100. package/custom-picker-button/cssm/shared-4cd3936b.d.ts +1 -29
  101. package/custom-picker-button/cssm/types-1b036d4b.d.ts +13 -0
  102. package/custom-picker-button/cssm/{types-d9f9bbcc.d.ts → types-92653002.d.ts} +9 -1
  103. package/custom-picker-button/cssm/useSkeleton-ebda875c.d.ts +12 -0
  104. package/custom-picker-button/esm/Component-63dec22f.d.ts +18 -1
  105. package/custom-picker-button/esm/component-50136800.d.ts +1 -1
  106. package/custom-picker-button/esm/index-f12ee135.d.ts +1 -1
  107. package/custom-picker-button/esm/shared-4cd3936b.d.ts +1 -29
  108. package/custom-picker-button/esm/types-1b036d4b.d.ts +13 -0
  109. package/custom-picker-button/esm/{types-d9f9bbcc.d.ts → types-92653002.d.ts} +9 -1
  110. package/custom-picker-button/esm/useSkeleton-ebda875c.d.ts +12 -0
  111. package/custom-picker-button/index-f12ee135.d.ts +1 -1
  112. package/custom-picker-button/modern/Component-63dec22f.d.ts +18 -1
  113. package/custom-picker-button/modern/component-50136800.d.ts +1 -1
  114. package/custom-picker-button/modern/index-f12ee135.d.ts +1 -1
  115. package/custom-picker-button/modern/shared-4cd3936b.d.ts +1 -29
  116. package/custom-picker-button/modern/types-1b036d4b.d.ts +13 -0
  117. package/custom-picker-button/modern/{types-d9f9bbcc.d.ts → types-92653002.d.ts} +9 -1
  118. package/custom-picker-button/modern/useSkeleton-ebda875c.d.ts +12 -0
  119. package/custom-picker-button/shared-4cd3936b.d.ts +1 -29
  120. package/custom-picker-button/types-1b036d4b.d.ts +13 -0
  121. package/custom-picker-button/{types-d9f9bbcc.d.ts → types-92653002.d.ts} +9 -1
  122. package/custom-picker-button/useSkeleton-ebda875c.d.ts +12 -0
  123. package/date-range-input/Component-63dec22f.d.ts +18 -1
  124. package/date-range-input/components/date-range-input/Component.js +2 -4
  125. package/date-range-input/cssm/Component-63dec22f.d.ts +18 -1
  126. package/date-range-input/cssm/components/date-range-input/Component.js +2 -4
  127. package/date-range-input/cssm/types-1b036d4b.d.ts +13 -0
  128. package/date-range-input/cssm/useSkeleton-1b036d4b.d.ts +40 -0
  129. package/date-range-input/esm/Component-63dec22f.d.ts +18 -1
  130. package/date-range-input/esm/components/date-range-input/Component.js +2 -4
  131. package/date-range-input/esm/types-1b036d4b.d.ts +13 -0
  132. package/date-range-input/esm/useSkeleton-1b036d4b.d.ts +40 -0
  133. package/date-range-input/modern/Component-63dec22f.d.ts +18 -1
  134. package/date-range-input/modern/components/date-range-input/Component.js +2 -4
  135. package/date-range-input/modern/types-1b036d4b.d.ts +13 -0
  136. package/date-range-input/modern/useSkeleton-1b036d4b.d.ts +40 -0
  137. package/date-range-input/types-1b036d4b.d.ts +13 -0
  138. package/date-range-input/useSkeleton-1b036d4b.d.ts +40 -0
  139. package/date-time-input/Component-63dec22f.d.ts +18 -1
  140. package/date-time-input/components/date-time-input/Component.js +1 -1
  141. package/date-time-input/cssm/Component-63dec22f.d.ts +18 -1
  142. package/date-time-input/cssm/components/date-time-input/Component.js +1 -1
  143. package/date-time-input/cssm/types-1b036d4b.d.ts +13 -0
  144. package/date-time-input/cssm/useSkeleton-1b036d4b.d.ts +40 -0
  145. package/date-time-input/esm/Component-63dec22f.d.ts +18 -1
  146. package/date-time-input/esm/components/date-time-input/Component.js +1 -1
  147. package/date-time-input/esm/types-1b036d4b.d.ts +13 -0
  148. package/date-time-input/esm/useSkeleton-1b036d4b.d.ts +40 -0
  149. package/date-time-input/modern/Component-63dec22f.d.ts +18 -1
  150. package/date-time-input/modern/components/date-time-input/Component.js +1 -1
  151. package/date-time-input/modern/types-1b036d4b.d.ts +13 -0
  152. package/date-time-input/modern/useSkeleton-1b036d4b.d.ts +40 -0
  153. package/date-time-input/types-1b036d4b.d.ts +13 -0
  154. package/date-time-input/useSkeleton-1b036d4b.d.ts +40 -0
  155. package/drawer/cssm/index.module.css +2 -1
  156. package/drawer/esm/index.css +2 -1
  157. package/drawer/index.css +2 -1
  158. package/drawer/modern/index.css +2 -1
  159. package/gallery/Component.js +2 -2
  160. package/gallery/components/header/Component.js +1 -1
  161. package/gallery/components/header/buttons.js +1 -1
  162. package/gallery/components/header/index.js +1 -1
  163. package/gallery/components/image-viewer/component.js +1 -1
  164. package/gallery/components/image-viewer/index.js +1 -1
  165. package/gallery/components/image-viewer/slide.js +1 -1
  166. package/gallery/components/index.js +2 -2
  167. package/gallery/esm/Component.js +2 -2
  168. package/gallery/esm/components/header/Component.js +1 -1
  169. package/gallery/esm/components/header/buttons.js +1 -1
  170. package/gallery/esm/components/header/index.js +1 -1
  171. package/gallery/esm/components/image-viewer/component.js +1 -1
  172. package/gallery/esm/components/image-viewer/index.js +1 -1
  173. package/gallery/esm/components/image-viewer/slide.js +1 -1
  174. package/gallery/esm/components/index.js +2 -2
  175. package/gallery/esm/index.js +2 -2
  176. package/gallery/index.js +2 -2
  177. package/gallery/modern/Component.js +2 -2
  178. package/gallery/modern/components/header/Component.js +1 -1
  179. package/gallery/modern/components/header/buttons.js +1 -1
  180. package/gallery/modern/components/header/index.js +1 -1
  181. package/gallery/modern/components/image-viewer/component.js +1 -1
  182. package/gallery/modern/components/image-viewer/index.js +1 -1
  183. package/gallery/modern/components/image-viewer/slide.js +1 -1
  184. package/gallery/modern/components/index.js +2 -2
  185. package/gallery/modern/index.js +2 -2
  186. package/input-autocomplete/Component-63dec22f.d.ts +18 -1
  187. package/input-autocomplete/component-50136800.d.ts +1 -1
  188. package/input-autocomplete/cssm/Component-63dec22f.d.ts +18 -1
  189. package/input-autocomplete/cssm/component-50136800.d.ts +1 -1
  190. package/input-autocomplete/cssm/index-f12ee135.d.ts +1 -1
  191. package/input-autocomplete/cssm/shared-4cd3936b.d.ts +1 -29
  192. package/input-autocomplete/cssm/types-1b036d4b.d.ts +13 -0
  193. package/input-autocomplete/cssm/types-92653002.d.ts +267 -0
  194. package/input-autocomplete/cssm/useSkeleton-ebda875c.d.ts +12 -0
  195. package/input-autocomplete/esm/Component-63dec22f.d.ts +18 -1
  196. package/input-autocomplete/esm/component-50136800.d.ts +1 -1
  197. package/input-autocomplete/esm/index-f12ee135.d.ts +1 -1
  198. package/input-autocomplete/esm/shared-4cd3936b.d.ts +1 -29
  199. package/input-autocomplete/esm/types-1b036d4b.d.ts +13 -0
  200. package/input-autocomplete/esm/types-92653002.d.ts +267 -0
  201. package/input-autocomplete/esm/useSkeleton-ebda875c.d.ts +12 -0
  202. package/input-autocomplete/index-f12ee135.d.ts +1 -1
  203. package/input-autocomplete/modern/Component-63dec22f.d.ts +18 -1
  204. package/input-autocomplete/modern/component-50136800.d.ts +1 -1
  205. package/input-autocomplete/modern/index-f12ee135.d.ts +1 -1
  206. package/input-autocomplete/modern/shared-4cd3936b.d.ts +1 -29
  207. package/input-autocomplete/modern/types-1b036d4b.d.ts +13 -0
  208. package/input-autocomplete/modern/types-92653002.d.ts +267 -0
  209. package/input-autocomplete/modern/useSkeleton-ebda875c.d.ts +12 -0
  210. package/input-autocomplete/shared-4cd3936b.d.ts +1 -29
  211. package/input-autocomplete/types-1b036d4b.d.ts +13 -0
  212. package/input-autocomplete/types-92653002.d.ts +267 -0
  213. package/input-autocomplete/useSkeleton-ebda875c.d.ts +12 -0
  214. package/intl-phone-input/Component-63dec22f.d.ts +18 -1
  215. package/intl-phone-input/cssm/Component-63dec22f.d.ts +18 -1
  216. package/intl-phone-input/cssm/types-1b036d4b.d.ts +13 -0
  217. package/intl-phone-input/cssm/types-72dda473.d.ts +9 -1
  218. package/intl-phone-input/cssm/useSkeleton-ebda875c.d.ts +12 -0
  219. package/intl-phone-input/esm/Component-63dec22f.d.ts +18 -1
  220. package/intl-phone-input/esm/types-1b036d4b.d.ts +13 -0
  221. package/intl-phone-input/esm/types-72dda473.d.ts +9 -1
  222. package/intl-phone-input/esm/useSkeleton-ebda875c.d.ts +12 -0
  223. package/intl-phone-input/modern/Component-63dec22f.d.ts +18 -1
  224. package/intl-phone-input/modern/types-1b036d4b.d.ts +13 -0
  225. package/intl-phone-input/modern/types-72dda473.d.ts +9 -1
  226. package/intl-phone-input/modern/useSkeleton-ebda875c.d.ts +12 -0
  227. package/intl-phone-input/types-1b036d4b.d.ts +13 -0
  228. package/intl-phone-input/types-72dda473.d.ts +9 -1
  229. package/intl-phone-input/useSkeleton-ebda875c.d.ts +12 -0
  230. package/notification/cssm/index.module.css +3 -3
  231. package/notification/esm/index.css +3 -3
  232. package/notification/index.css +3 -3
  233. package/notification/modern/index.css +3 -3
  234. package/package.json +288 -1614
  235. package/pagination/components/tag/index.css +7 -7
  236. package/pagination/cssm/components/tag/index.module.css +7 -7
  237. package/pagination/esm/components/tag/index.css +7 -7
  238. package/pagination/modern/components/tag/index.css +7 -7
  239. package/phone-input/Component.js +11 -4
  240. package/phone-input/cssm/Component.js +11 -4
  241. package/phone-input/cssm/utils/index.d.ts +2 -1
  242. package/phone-input/cssm/utils/index.js +17 -0
  243. package/phone-input/esm/Component.js +12 -5
  244. package/phone-input/esm/utils/index.d.ts +2 -1
  245. package/phone-input/esm/utils/index.js +17 -1
  246. package/phone-input/modern/Component.js +13 -5
  247. package/phone-input/modern/utils/index.d.ts +2 -1
  248. package/phone-input/modern/utils/index.js +17 -1
  249. package/phone-input/utils/index.d.ts +2 -1
  250. package/phone-input/utils/index.js +17 -0
  251. package/picker-button/Component-63dec22f.d.ts +18 -1
  252. package/picker-button/cssm/Component-63dec22f.d.ts +18 -1
  253. package/picker-button/cssm/shared-4cd3936b.d.ts +1 -29
  254. package/picker-button/cssm/types-1b036d4b.d.ts +13 -0
  255. package/picker-button/cssm/types-72dda473.d.ts +9 -1
  256. package/picker-button/cssm/useSkeleton-ebda875c.d.ts +12 -0
  257. package/picker-button/esm/Component-63dec22f.d.ts +18 -1
  258. package/picker-button/esm/shared-4cd3936b.d.ts +1 -29
  259. package/picker-button/esm/types-1b036d4b.d.ts +13 -0
  260. package/picker-button/esm/types-72dda473.d.ts +9 -1
  261. package/picker-button/esm/useSkeleton-ebda875c.d.ts +12 -0
  262. package/picker-button/modern/Component-50136800.d.ts +5 -37
  263. package/picker-button/modern/Component-5e1b8383.d.ts +70 -3
  264. package/picker-button/modern/Component-63dec22f.d.ts +184 -0
  265. package/picker-button/modern/Component-ebda875c.d.ts +9 -98
  266. package/picker-button/modern/Component.desktop.d.ts +1 -1
  267. package/picker-button/modern/Component.mobile.d.ts +1 -1
  268. package/picker-button/modern/Component.modal.mobile-5e1b8383.d.ts +60 -0
  269. package/picker-button/modern/Component.responsive.d.ts +1 -1
  270. package/picker-button/modern/component-50136800.d.ts +44 -0
  271. package/picker-button/modern/createPaddingStyle-72dda473.d.ts +5 -0
  272. package/picker-button/modern/hook-9ea9e32c.d.ts +4 -4
  273. package/picker-button/modern/index-50136800.d.ts +2 -5
  274. package/picker-button/modern/index-bdb4c6b9.d.ts +2 -180
  275. package/picker-button/modern/index-c44170fe.d.ts +141 -3
  276. package/picker-button/modern/index-ebda875c.d.ts +62 -13
  277. package/picker-button/modern/index-f12ee135.d.ts +3 -307
  278. package/picker-button/modern/shared-4cd3936b.d.ts +59 -1
  279. package/picker-button/modern/types-1b036d4b.d.ts +13 -0
  280. package/picker-button/modern/types-72dda473.d.ts +267 -0
  281. package/picker-button/modern/useSkeleton-ebda875c.d.ts +12 -0
  282. package/picker-button/modern/utils-1574ad8b.d.ts +29 -0
  283. package/picker-button/modern/utils-49cc3c24.d.ts +8 -0
  284. package/picker-button/shared-4cd3936b.d.ts +1 -29
  285. package/picker-button/types-1b036d4b.d.ts +13 -0
  286. package/picker-button/types-72dda473.d.ts +9 -1
  287. package/picker-button/useSkeleton-ebda875c.d.ts +12 -0
  288. package/popup-sheet/cssm/types-1b036d4b.d.ts +13 -0
  289. package/popup-sheet/cssm/useSkeleton-1b036d4b.d.ts +40 -0
  290. package/popup-sheet/esm/types-1b036d4b.d.ts +13 -0
  291. package/popup-sheet/esm/useSkeleton-1b036d4b.d.ts +40 -0
  292. package/popup-sheet/modern/types-1b036d4b.d.ts +13 -0
  293. package/popup-sheet/modern/useSkeleton-1b036d4b.d.ts +40 -0
  294. package/popup-sheet/types-1b036d4b.d.ts +13 -0
  295. package/popup-sheet/useSkeleton-1b036d4b.d.ts +40 -0
  296. package/pure-cell/component.js +1 -1
  297. package/pure-cell/components/content/component.js +1 -1
  298. package/pure-cell/components/content/index.d.ts +1 -1
  299. package/pure-cell/components/content/index.js +1 -1
  300. package/pure-cell/components/main/component.js +1 -1
  301. package/pure-cell/components/main/index.d.ts +1 -1
  302. package/pure-cell/components/main/index.js +1 -1
  303. package/pure-cell/components/text/component.js +1 -1
  304. package/pure-cell/components/text/index.d.ts +1 -1
  305. package/pure-cell/components/text/index.js +1 -1
  306. package/pure-cell/esm/component.js +1 -1
  307. package/pure-cell/esm/components/content/component.js +1 -1
  308. package/pure-cell/esm/components/content/index.d.ts +1 -1
  309. package/pure-cell/esm/components/content/index.js +1 -1
  310. package/pure-cell/esm/components/main/component.js +1 -1
  311. package/pure-cell/esm/components/main/index.d.ts +1 -1
  312. package/pure-cell/esm/components/main/index.js +1 -1
  313. package/pure-cell/esm/components/text/component.js +1 -1
  314. package/pure-cell/esm/components/text/index.d.ts +1 -1
  315. package/pure-cell/esm/components/text/index.js +1 -1
  316. package/pure-cell/esm/index.js +1 -1
  317. package/pure-cell/index.js +1 -1
  318. package/pure-cell/modern/component.js +1 -1
  319. package/pure-cell/modern/components/content/component.js +1 -1
  320. package/pure-cell/modern/components/content/index.d.ts +1 -1
  321. package/pure-cell/modern/components/content/index.js +1 -1
  322. package/pure-cell/modern/components/main/component.js +1 -1
  323. package/pure-cell/modern/components/main/index.d.ts +1 -1
  324. package/pure-cell/modern/components/main/index.js +1 -1
  325. package/pure-cell/modern/components/text/component.js +1 -1
  326. package/pure-cell/modern/components/text/index.d.ts +1 -1
  327. package/pure-cell/modern/components/text/index.js +1 -1
  328. package/pure-cell/modern/index.js +1 -1
  329. package/radio-group/components/base-radio-group/index.css +0 -6
  330. package/radio-group/cssm/components/base-radio-group/index.module.css +0 -6
  331. package/radio-group/cssm/desktop.module.css +7 -1
  332. package/radio-group/cssm/mobile.module.css +7 -1
  333. package/radio-group/desktop.css +7 -1
  334. package/radio-group/esm/components/base-radio-group/index.css +0 -6
  335. package/radio-group/esm/desktop.css +7 -1
  336. package/radio-group/esm/mobile.css +7 -1
  337. package/radio-group/mobile.css +7 -1
  338. package/radio-group/modern/components/base-radio-group/index.css +0 -6
  339. package/radio-group/modern/desktop.css +7 -1
  340. package/radio-group/modern/mobile.css +7 -1
  341. package/select/Component.mobile-f1f15074.d.ts +29 -12
  342. package/select/Component.mobile.js +1 -1
  343. package/select/Component.modal.mobile.js +1 -1
  344. package/select/Component.responsive.js +1 -1
  345. package/select/cssm/Component.mobile-f1f15074.d.ts +18 -1
  346. package/select/cssm/types-1b036d4b.d.ts +13 -0
  347. package/select/cssm/useSkeleton-1b036d4b.d.ts +12 -0
  348. package/select/esm/Component.mobile-f1f15074.d.ts +18 -1
  349. package/select/esm/Component.mobile.js +1 -1
  350. package/select/esm/Component.modal.mobile.js +1 -1
  351. package/select/esm/Component.responsive.js +1 -1
  352. package/select/esm/index.js +1 -1
  353. package/select/esm/mobile.js +1 -1
  354. package/select/esm/presets/index.js +1 -1
  355. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  356. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  357. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  358. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  359. package/select/esm/shared.js +1 -1
  360. package/select/esm/types-1b036d4b.d.ts +13 -0
  361. package/select/esm/useSkeleton-1b036d4b.d.ts +12 -0
  362. package/select/index.js +1 -1
  363. package/select/mobile.js +1 -1
  364. package/select/modern/Component.mobile-f1f15074.d.ts +18 -1
  365. package/select/modern/Component.mobile.js +1 -1
  366. package/select/modern/Component.modal.mobile.js +1 -1
  367. package/select/modern/Component.responsive.js +1 -1
  368. package/select/modern/index.js +1 -1
  369. package/select/modern/mobile.js +1 -1
  370. package/select/modern/presets/index.js +1 -1
  371. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  372. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  373. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  374. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  375. package/select/modern/shared.js +1 -1
  376. package/select/modern/types-1b036d4b.d.ts +13 -0
  377. package/select/modern/useSkeleton-1b036d4b.d.ts +12 -0
  378. package/select/presets/index.js +1 -1
  379. package/select/presets/useSelectWithApply/hook.js +1 -1
  380. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  381. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  382. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  383. package/select/shared.js +1 -1
  384. package/select/types-1b036d4b.d.ts +13 -0
  385. package/select/useSkeleton-1b036d4b.d.ts +12 -0
  386. package/select-with-tags/Component-63dec22f.d.ts +18 -1
  387. package/select-with-tags/cssm/Component-63dec22f.d.ts +18 -1
  388. package/select-with-tags/cssm/shared-4cd3936b.d.ts +1 -28
  389. package/select-with-tags/cssm/types-1b036d4b.d.ts +13 -0
  390. package/select-with-tags/cssm/types-72dda473.d.ts +9 -1
  391. package/select-with-tags/cssm/useSkeleton-ebda875c.d.ts +12 -0
  392. package/select-with-tags/esm/Component-63dec22f.d.ts +18 -1
  393. package/select-with-tags/esm/shared-4cd3936b.d.ts +1 -28
  394. package/select-with-tags/esm/types-1b036d4b.d.ts +13 -0
  395. package/select-with-tags/esm/types-72dda473.d.ts +9 -1
  396. package/select-with-tags/esm/useSkeleton-ebda875c.d.ts +12 -0
  397. package/select-with-tags/modern/Component-63dec22f.d.ts +18 -1
  398. package/select-with-tags/modern/shared-4cd3936b.d.ts +1 -28
  399. package/select-with-tags/modern/types-1b036d4b.d.ts +13 -0
  400. package/select-with-tags/modern/types-72dda473.d.ts +9 -1
  401. package/select-with-tags/modern/useSkeleton-ebda875c.d.ts +12 -0
  402. package/select-with-tags/shared-4cd3936b.d.ts +1 -28
  403. package/select-with-tags/types-1b036d4b.d.ts +13 -0
  404. package/select-with-tags/types-72dda473.d.ts +9 -1
  405. package/select-with-tags/useSkeleton-ebda875c.d.ts +12 -0
  406. package/side-panel/cssm/desktop.module.css +1 -1
  407. package/side-panel/cssm/mobile.module.css +3 -2
  408. package/side-panel/desktop.css +1 -1
  409. package/side-panel/esm/desktop.css +1 -1
  410. package/side-panel/esm/mobile.css +3 -2
  411. package/side-panel/mobile.css +3 -2
  412. package/side-panel/modern/desktop.css +1 -1
  413. package/side-panel/modern/mobile.css +3 -2
  414. package/table/Component-63dec22f.d.ts +18 -1
  415. package/table/cssm/Component-63dec22f.d.ts +18 -1
  416. package/table/cssm/types-1b036d4b.d.ts +13 -0
  417. package/table/cssm/types-72dda473.d.ts +9 -1
  418. package/table/cssm/useSkeleton-ebda875c.d.ts +12 -0
  419. package/table/esm/Component-63dec22f.d.ts +18 -1
  420. package/table/esm/types-1b036d4b.d.ts +13 -0
  421. package/table/esm/types-72dda473.d.ts +9 -1
  422. package/table/esm/useSkeleton-ebda875c.d.ts +12 -0
  423. package/table/modern/Component-63dec22f.d.ts +18 -1
  424. package/table/modern/types-1b036d4b.d.ts +13 -0
  425. package/table/modern/types-72dda473.d.ts +9 -1
  426. package/table/modern/useSkeleton-ebda875c.d.ts +12 -0
  427. package/table/types-1b036d4b.d.ts +13 -0
  428. package/table/types-72dda473.d.ts +9 -1
  429. package/table/useSkeleton-ebda875c.d.ts +12 -0
  430. package/tabs/Component-63dec22f.d.ts +18 -1
  431. package/tabs/cssm/Component-63dec22f.d.ts +18 -1
  432. package/tabs/cssm/index-f12ee135.d.ts +9 -1
  433. package/tabs/cssm/shared-4cd3936b.d.ts +1 -28
  434. package/tabs/cssm/types-1b036d4b.d.ts +13 -0
  435. package/tabs/cssm/useSkeleton-ebda875c.d.ts +12 -0
  436. package/tabs/esm/Component-63dec22f.d.ts +18 -1
  437. package/tabs/esm/index-f12ee135.d.ts +9 -1
  438. package/tabs/esm/shared-4cd3936b.d.ts +1 -28
  439. package/tabs/esm/types-1b036d4b.d.ts +13 -0
  440. package/tabs/esm/useSkeleton-ebda875c.d.ts +12 -0
  441. package/tabs/index-ebda875c.d.ts +86 -21
  442. package/tabs/index-f12ee135.d.ts +9 -1
  443. package/tabs/modern/Component-63dec22f.d.ts +18 -1
  444. package/tabs/modern/index-f12ee135.d.ts +9 -1
  445. package/tabs/modern/shared-4cd3936b.d.ts +1 -28
  446. package/tabs/modern/types-1b036d4b.d.ts +13 -0
  447. package/tabs/modern/useSkeleton-ebda875c.d.ts +12 -0
  448. package/tabs/shared-4cd3936b.d.ts +1 -28
  449. package/tabs/types-1b036d4b.d.ts +13 -0
  450. package/tabs/useSkeleton-ebda875c.d.ts +12 -0
  451. package/themes/compiled/mobile-dark-bluetint.css +35 -79
  452. package/themes/dist/compiled/mobile-dark-bluetint.css +399 -394
  453. package/time-input/utils/format.js +6 -10
  454. package/typography/component.js +6 -2
  455. package/typography/cssm/component.js +5 -0
  456. package/typography/cssm/hooks/index.d.ts +1 -0
  457. package/typography/cssm/hooks/index.js +12 -0
  458. package/typography/cssm/hooks/use-skeleton.module.css +19 -0
  459. package/typography/cssm/hooks/useSkeleton.d.ts +12 -0
  460. package/typography/cssm/hooks/useSkeleton.js +57 -0
  461. package/typography/cssm/index.js +5 -0
  462. package/typography/cssm/text/component.d.ts +9 -1
  463. package/typography/cssm/text/component.js +23 -7
  464. package/typography/cssm/text/index.js +5 -0
  465. package/typography/cssm/title/component.d.ts +19 -2
  466. package/typography/cssm/title/component.js +16 -2
  467. package/typography/cssm/title/index.js +5 -0
  468. package/typography/cssm/title-mobile/component.js +5 -0
  469. package/typography/cssm/title-mobile/index.js +5 -0
  470. package/typography/cssm/title-responsive/component.js +5 -0
  471. package/typography/cssm/title-responsive/index.js +5 -0
  472. package/typography/cssm/types.d.ts +12 -1
  473. package/typography/esm/component.js +6 -2
  474. package/typography/esm/hooks/index.d.ts +1 -0
  475. package/typography/esm/hooks/index.js +5 -0
  476. package/typography/esm/hooks/use-skeleton.css +20 -0
  477. package/typography/esm/hooks/useSkeleton.d.ts +12 -0
  478. package/typography/esm/hooks/useSkeleton.js +52 -0
  479. package/typography/esm/index.js +6 -2
  480. package/typography/esm/text/component.d.ts +9 -1
  481. package/typography/esm/text/component.js +22 -8
  482. package/typography/esm/text/index.js +5 -1
  483. package/typography/esm/title/component.d.ts +19 -2
  484. package/typography/esm/title/component.js +15 -3
  485. package/typography/esm/title/index.js +6 -2
  486. package/typography/esm/title-mobile/component.js +6 -2
  487. package/typography/esm/title-mobile/index.js +6 -2
  488. package/typography/esm/title-responsive/component.js +6 -2
  489. package/typography/esm/title-responsive/index.js +6 -2
  490. package/typography/esm/types.d.ts +12 -1
  491. package/typography/hooks/index.d.ts +1 -0
  492. package/typography/hooks/index.js +11 -0
  493. package/typography/hooks/use-skeleton.css +20 -0
  494. package/typography/hooks/useSkeleton.d.ts +12 -0
  495. package/typography/hooks/useSkeleton.js +58 -0
  496. package/typography/index.js +6 -2
  497. package/typography/modern/component.js +6 -2
  498. package/typography/modern/hooks/index.d.ts +1 -0
  499. package/typography/modern/hooks/index.js +4 -0
  500. package/typography/modern/hooks/use-skeleton.css +20 -0
  501. package/typography/modern/hooks/useSkeleton.d.ts +12 -0
  502. package/typography/modern/hooks/useSkeleton.js +51 -0
  503. package/typography/modern/index.js +6 -2
  504. package/typography/modern/text/component.d.ts +9 -1
  505. package/typography/modern/text/component.js +23 -7
  506. package/typography/modern/text/index.js +5 -1
  507. package/typography/modern/title/component.d.ts +19 -2
  508. package/typography/modern/title/component.js +16 -2
  509. package/typography/modern/title/index.js +6 -2
  510. package/typography/modern/title-mobile/component.js +6 -2
  511. package/typography/modern/title-mobile/index.js +6 -2
  512. package/typography/modern/title-responsive/component.js +6 -2
  513. package/typography/modern/title-responsive/index.js +6 -2
  514. package/typography/modern/types.d.ts +12 -1
  515. package/typography/text/component.d.ts +9 -1
  516. package/typography/text/component.js +23 -8
  517. package/typography/text/index.js +5 -1
  518. package/typography/title/component.d.ts +19 -2
  519. package/typography/title/component.js +16 -3
  520. package/typography/title/index.js +6 -2
  521. package/typography/title-mobile/component.js +6 -2
  522. package/typography/title-mobile/index.js +6 -2
  523. package/typography/title-responsive/component.js +6 -2
  524. package/typography/title-responsive/index.js +6 -2
  525. package/typography/types.d.ts +12 -1
  526. package/input-autocomplete/cssm/types-d9f9bbcc.d.ts +0 -259
  527. package/input-autocomplete/esm/types-d9f9bbcc.d.ts +0 -259
  528. package/input-autocomplete/modern/types-d9f9bbcc.d.ts +0 -259
  529. package/input-autocomplete/types-d9f9bbcc.d.ts +0 -259
  530. package/picker-button/modern/Component-72dda473.d.ts +0 -53
  531. package/picker-button/modern/Component-aed0af6e.d.ts +0 -11
  532. package/picker-button/modern/Component-f12ee135.d.ts +0 -72
  533. package/picker-button/modern/Component.mobile-96988a65.d.ts +0 -6
  534. package/picker-button/modern/hook-ebda875c.d.ts +0 -48
  535. /package/confirmation/{countdown-section-a115a90d.d.ts → countdown-section-3c6c4c16.d.ts} +0 -0
  536. /package/confirmation/{countdown-section-a115a90d.js → countdown-section-3c6c4c16.js} +0 -0
  537. /package/confirmation/esm/{countdown-section-e5c5ba2a.d.ts → countdown-section-01e6f37a.d.ts} +0 -0
  538. /package/confirmation/esm/{countdown-section-e5c5ba2a.js → countdown-section-01e6f37a.js} +0 -0
  539. /package/confirmation/modern/{countdown-section-9981b2e8.d.ts → countdown-section-3f2be91e.d.ts} +0 -0
  540. /package/confirmation/modern/{countdown-section-9981b2e8.js → countdown-section-3f2be91e.js} +0 -0
  541. /package/gallery/{buttons-aec907b7.d.ts → buttons-e800285c.d.ts} +0 -0
  542. /package/gallery/{buttons-aec907b7.js → buttons-e800285c.js} +0 -0
  543. /package/gallery/esm/{buttons-7f6bd2e9.d.ts → buttons-5d6a28e1.d.ts} +0 -0
  544. /package/gallery/esm/{buttons-7f6bd2e9.js → buttons-5d6a28e1.js} +0 -0
  545. /package/gallery/esm/{slide-db3a4459.d.ts → slide-fe29c2f9.d.ts} +0 -0
  546. /package/gallery/esm/{slide-db3a4459.js → slide-fe29c2f9.js} +0 -0
  547. /package/gallery/modern/{buttons-fbc47df5.d.ts → buttons-efb0ad94.d.ts} +0 -0
  548. /package/gallery/modern/{buttons-fbc47df5.js → buttons-efb0ad94.js} +0 -0
  549. /package/gallery/modern/{slide-aa26f0c4.d.ts → slide-c5c99c8e.d.ts} +0 -0
  550. /package/gallery/modern/{slide-aa26f0c4.js → slide-c5c99c8e.js} +0 -0
  551. /package/gallery/{slide-cd795ee3.d.ts → slide-456e699d.d.ts} +0 -0
  552. /package/gallery/{slide-cd795ee3.js → slide-456e699d.js} +0 -0
  553. /package/picker-button/modern/{Component.responsive-d7e9f69d.d.ts → Component.responsive-3109f463.d.ts} +0 -0
  554. /package/pure-cell/{component-c9226b28.d.ts → component-ecba1273.d.ts} +0 -0
  555. /package/pure-cell/{component-c9226b28.js → component-ecba1273.js} +0 -0
  556. /package/pure-cell/esm/{component-dcdb60ca.d.ts → component-6cb924a1.d.ts} +0 -0
  557. /package/pure-cell/esm/{component-dcdb60ca.js → component-6cb924a1.js} +0 -0
  558. /package/pure-cell/modern/{component-68b276dc.d.ts → component-43202b7d.d.ts} +0 -0
  559. /package/pure-cell/modern/{component-68b276dc.js → component-43202b7d.js} +0 -0
  560. /package/select/esm/{hook-3c18aa89.d.ts → hook-d40b4e10.d.ts} +0 -0
  561. /package/select/esm/{hook-3c18aa89.js → hook-d40b4e10.js} +0 -0
  562. /package/select/{hook-d0725060.d.ts → hook-43a35a80.d.ts} +0 -0
  563. /package/select/{hook-d0725060.js → hook-43a35a80.js} +0 -0
  564. /package/select/modern/{hook-0d1c88d2.d.ts → hook-d771f2ed.d.ts} +0 -0
  565. /package/select/modern/{hook-0d1c88d2.js → hook-d771f2ed.js} +0 -0
  566. /package/typography/{colors.module-47b3b3d8.js → colors.module-69def6bf.js} +0 -0
  567. /package/typography/{common.module-940fdfee.js → common.module-59cc11ca.js} +0 -0
  568. /package/typography/esm/{colors.module-137b844d.js → colors.module-64858915.js} +0 -0
  569. /package/typography/esm/{common.module-7393f125.js → common.module-a0a4a875.js} +0 -0
  570. /package/typography/modern/{colors.module-554ec60a.js → colors.module-58e8caae.js} +0 -0
  571. /package/typography/modern/{common.module-42946f41.js → common.module-3d6095da.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react-transition-group" />
2
- import { HTMLAttributes, ReactNode, RefObject } from 'react';
2
+ import { HTMLAttributes, ReactElement, ReactNode, RefObject } from 'react';
3
3
  import { TransitionProps } from 'react-transition-group/Transition';
4
4
  import { BaseModalProps } from "./index-bdb4c6b9";
5
5
  import { NavigationBarProps } from "./index-c76d6398";
@@ -88,6 +88,14 @@ type BottomSheetProps = {
88
88
  * Дополнительный класс для обертки модального окна
89
89
  */
90
90
  modalWrapperClassName?: string;
91
+ /**
92
+ * Дополнительный класс для маркера
93
+ */
94
+ swipeableMarkerClassName?: string;
95
+ /**
96
+ * Кастомный маркер
97
+ */
98
+ swipeableMarker?: ReactElement;
91
99
  /**
92
100
  * TransitionProps, прокидываются в компонент CSSTransitionProps.
93
101
  */
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { TextSkeletonProps } from "./types-1b036d4b";
4
+ type SkeletonProps = {
5
+ wrapperClassName?: string;
6
+ dataTestId?: string;
7
+ };
8
+ declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
9
+ renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
10
+ textRef: React.RefObject<HTMLElement>;
11
+ };
12
+ export { useSkeleton };
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
4
+ import { TextElementType, TextSkeletonProps } from "./types-1b036d4b";
4
5
  declare const colors: readonly [
5
6
  "tertiary",
6
7
  "disabled",
@@ -23,7 +24,6 @@ declare const colors: readonly [
23
24
  "static-accent"
24
25
  ];
25
26
  type Color = (typeof colors)[number];
26
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
27
27
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
28
28
  type TextBaseProps = {
29
29
  /**
@@ -66,6 +66,14 @@ type TextBaseProps = {
66
66
  * Количество строк (не поддерживает IE)
67
67
  */
68
68
  rowLimit?: 1 | 2 | 3;
69
+ /**
70
+ * Показать скелетон
71
+ */
72
+ showSkeleton?: boolean;
73
+ /**
74
+ * Пропы для скелетона
75
+ */
76
+ skeletonProps?: TextSkeletonProps;
69
77
  };
70
78
  type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
71
79
  tag?: "p";
@@ -114,6 +122,14 @@ type TitleProps = Omit<NativeProps$0, "color"> & {
114
122
  * Количество строк (не поддерживает IE)
115
123
  */
116
124
  rowLimit?: 1 | 2 | 3;
125
+ /**
126
+ * Показать скелетон
127
+ */
128
+ showSkeleton?: boolean;
129
+ /**
130
+ * Пропы для скелетона
131
+ */
132
+ skeletonProps?: TextSkeletonProps;
117
133
  };
118
134
  type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
119
135
  declare const Typography: {
@@ -165,3 +181,4 @@ interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
165
181
  declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
166
182
  export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
167
183
  export type { TitleProps, TextProps, Color };
184
+ export * from "./useSkeleton-ebda875c";
@@ -0,0 +1,13 @@
1
+ type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
2
+ type WidthUnit = number | string;
3
+ type TextSkeletonProps = {
4
+ /**
5
+ * Кол-во строк текста
6
+ */
7
+ rows?: number;
8
+ /**
9
+ * Ширина строки
10
+ */
11
+ width?: WidthUnit | WidthUnit[];
12
+ };
13
+ export { TextElementType, TextSkeletonProps };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react-transition-group" />
2
- import { HTMLAttributes, ReactNode, RefObject } from 'react';
2
+ import { HTMLAttributes, ReactElement, ReactNode, RefObject } from 'react';
3
3
  import { TransitionProps } from 'react-transition-group/Transition';
4
4
  import { BaseModalProps } from "./index-bdb4c6b9";
5
5
  import { NavigationBarProps } from "./index-c76d6398";
@@ -88,6 +88,14 @@ type BottomSheetProps = {
88
88
  * Дополнительный класс для обертки модального окна
89
89
  */
90
90
  modalWrapperClassName?: string;
91
+ /**
92
+ * Дополнительный класс для маркера
93
+ */
94
+ swipeableMarkerClassName?: string;
95
+ /**
96
+ * Кастомный маркер
97
+ */
98
+ swipeableMarker?: ReactElement;
91
99
  /**
92
100
  * TransitionProps, прокидываются в компонент CSSTransitionProps.
93
101
  */
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { TextSkeletonProps } from "./types-1b036d4b";
4
+ type SkeletonProps = {
5
+ wrapperClassName?: string;
6
+ dataTestId?: string;
7
+ };
8
+ declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
9
+ renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
10
+ textRef: React.RefObject<HTMLElement>;
11
+ };
12
+ export { useSkeleton };
@@ -0,0 +1,13 @@
1
+ type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
2
+ type WidthUnit = number | string;
3
+ type TextSkeletonProps = {
4
+ /**
5
+ * Кол-во строк текста
6
+ */
7
+ rows?: number;
8
+ /**
9
+ * Ширина строки
10
+ */
11
+ width?: WidthUnit | WidthUnit[];
12
+ };
13
+ export { TextElementType, TextSkeletonProps };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react-transition-group" />
2
- import { HTMLAttributes, ReactNode, RefObject } from 'react';
2
+ import { HTMLAttributes, ReactElement, ReactNode, RefObject } from 'react';
3
3
  import { TransitionProps } from 'react-transition-group/Transition';
4
4
  import { BaseModalProps } from "./index-bdb4c6b9";
5
5
  import { NavigationBarProps } from "./index-c76d6398";
@@ -88,6 +88,14 @@ type BottomSheetProps = {
88
88
  * Дополнительный класс для обертки модального окна
89
89
  */
90
90
  modalWrapperClassName?: string;
91
+ /**
92
+ * Дополнительный класс для маркера
93
+ */
94
+ swipeableMarkerClassName?: string;
95
+ /**
96
+ * Кастомный маркер
97
+ */
98
+ swipeableMarker?: ReactElement;
91
99
  /**
92
100
  * TransitionProps, прокидываются в компонент CSSTransitionProps.
93
101
  */
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { TextSkeletonProps } from "./types-1b036d4b";
4
+ type SkeletonProps = {
5
+ wrapperClassName?: string;
6
+ dataTestId?: string;
7
+ };
8
+ declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
9
+ renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
10
+ textRef: React.RefObject<HTMLElement>;
11
+ };
12
+ export { useSkeleton };
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
4
+ import { TextElementType, TextSkeletonProps } from "./types-1b036d4b";
4
5
  declare const colors: readonly [
5
6
  "tertiary",
6
7
  "disabled",
@@ -23,7 +24,6 @@ declare const colors: readonly [
23
24
  "static-accent"
24
25
  ];
25
26
  type Color = (typeof colors)[number];
26
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
27
27
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
28
28
  type TextBaseProps = {
29
29
  /**
@@ -66,6 +66,14 @@ type TextBaseProps = {
66
66
  * Количество строк (не поддерживает IE)
67
67
  */
68
68
  rowLimit?: 1 | 2 | 3;
69
+ /**
70
+ * Показать скелетон
71
+ */
72
+ showSkeleton?: boolean;
73
+ /**
74
+ * Пропы для скелетона
75
+ */
76
+ skeletonProps?: TextSkeletonProps;
69
77
  };
70
78
  type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
71
79
  tag?: "p";
@@ -114,6 +122,14 @@ type TitleProps = Omit<NativeProps$0, "color"> & {
114
122
  * Количество строк (не поддерживает IE)
115
123
  */
116
124
  rowLimit?: 1 | 2 | 3;
125
+ /**
126
+ * Показать скелетон
127
+ */
128
+ showSkeleton?: boolean;
129
+ /**
130
+ * Пропы для скелетона
131
+ */
132
+ skeletonProps?: TextSkeletonProps;
117
133
  };
118
134
  type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
119
135
  declare const Typography: {
@@ -165,3 +181,4 @@ interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
165
181
  declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
166
182
  export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
167
183
  export type { TitleProps, TextProps, Color };
184
+ export * from "./useSkeleton-ebda875c";
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
4
+ import { TextElementType, TextSkeletonProps } from "./types-1b036d4b";
4
5
  declare const colors: readonly [
5
6
  "tertiary",
6
7
  "disabled",
@@ -23,7 +24,6 @@ declare const colors: readonly [
23
24
  "static-accent"
24
25
  ];
25
26
  type Color = (typeof colors)[number];
26
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
27
27
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
28
28
  type TextBaseProps = {
29
29
  /**
@@ -66,6 +66,14 @@ type TextBaseProps = {
66
66
  * Количество строк (не поддерживает IE)
67
67
  */
68
68
  rowLimit?: 1 | 2 | 3;
69
+ /**
70
+ * Показать скелетон
71
+ */
72
+ showSkeleton?: boolean;
73
+ /**
74
+ * Пропы для скелетона
75
+ */
76
+ skeletonProps?: TextSkeletonProps;
69
77
  };
70
78
  type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
71
79
  tag?: "p";
@@ -114,6 +122,14 @@ type TitleProps = Omit<NativeProps$0, "color"> & {
114
122
  * Количество строк (не поддерживает IE)
115
123
  */
116
124
  rowLimit?: 1 | 2 | 3;
125
+ /**
126
+ * Показать скелетон
127
+ */
128
+ showSkeleton?: boolean;
129
+ /**
130
+ * Пропы для скелетона
131
+ */
132
+ skeletonProps?: TextSkeletonProps;
117
133
  };
118
134
  type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
119
135
  declare const Typography: {
@@ -165,3 +181,4 @@ interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
165
181
  declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
166
182
  export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
167
183
  export type { TitleProps, TextProps, Color };
184
+ export * from "./useSkeleton-ebda875c";
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react-transition-group" />
2
2
  /// <reference types="react" />
3
3
  import React from "react";
4
- import { HTMLAttributes, ReactNode, RefObject, FC } from "react";
4
+ import { HTMLAttributes, ReactElement, ReactNode, RefObject, FC } from "react";
5
5
  import { TransitionProps } from "react-transition-group/Transition";
6
6
  import { BaseModalProps } from "./index-bdb4c6b9";
7
7
  import { NavigationBarProps } from "./index-c76d6398";
@@ -92,6 +92,14 @@ type BottomSheetProps = {
92
92
  * Дополнительный класс для обертки модального окна
93
93
  */
94
94
  modalWrapperClassName?: string;
95
+ /**
96
+ * Дополнительный класс для маркера
97
+ */
98
+ swipeableMarkerClassName?: string;
99
+ /**
100
+ * Кастомный маркер
101
+ */
102
+ swipeableMarker?: ReactElement;
95
103
  /**
96
104
  * TransitionProps, прокидываются в компонент CSSTransitionProps.
97
105
  */
@@ -93,33 +93,6 @@ type AdditionalMobileProps = {
93
93
  };
94
94
  type SelectMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & AdditionalMobileProps;
95
95
  declare const SelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<unknown>>;
96
- type SkeletonProps = {
97
- /**
98
- * Флаг, явно задающий состояние, при котором контент закрывается прелоадером
99
- */
100
- visible?: boolean;
101
- /**
102
- * Флаг явного включения анимации скелета
103
- */
104
- animate?: boolean;
105
- /**
106
- * Дополнительный класс
107
- */
108
- className?: string;
109
- /**
110
- * Дополнительные инлайн стили
111
- */
112
- style?: React.CSSProperties;
113
- /**
114
- * Идентификатор для систем автоматизированного тестирования
115
- */
116
- dataTestId?: string;
117
- /**
118
- * Дочерние элементы.
119
- */
120
- children?: ReactNode;
121
- };
122
- declare const Skeleton: React.FC<SkeletonProps>;
123
96
  type FooterProps = {
124
97
  handleClear?: () => void;
125
98
  handleApply?: () => void;
@@ -128,7 +101,7 @@ type FooterProps = {
128
101
  declare const Footer: ({ handleApply, handleClear, showClear }: FooterProps) => React.JSX.Element;
129
102
  export * from "./index-ebda875c";
130
103
  export * from "./Component-5e1b8383";
131
- export { useSelectWithLoading, useLazyLoading, AdditionalMobileProps, SelectMobileProps, SelectMobile, SkeletonProps, Skeleton, FooterProps, Footer };
104
+ export { useSelectWithLoading, useLazyLoading, AdditionalMobileProps, SelectMobileProps, SelectMobile, FooterProps, Footer };
132
105
  export * from "./hook-9ea9e32c";
133
106
  export * from "./typings-5e1b8383";
134
107
  export * from "./utils-5e1b8383";
@@ -0,0 +1,13 @@
1
+ type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
2
+ type WidthUnit = number | string;
3
+ type TextSkeletonProps = {
4
+ /**
5
+ * Кол-во строк текста
6
+ */
7
+ rows?: number;
8
+ /**
9
+ * Ширина строки
10
+ */
11
+ width?: WidthUnit | WidthUnit[];
12
+ };
13
+ export { TextElementType, TextSkeletonProps };
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { TextSkeletonProps } from "./types-1b036d4b";
4
+ type SkeletonProps = {
5
+ wrapperClassName?: string;
6
+ dataTestId?: string;
7
+ };
8
+ declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
9
+ renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
10
+ textRef: React.RefObject<HTMLElement>;
11
+ };
12
+ export { useSkeleton };
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
4
+ import { TextElementType, TextSkeletonProps } from "./types-1b036d4b";
4
5
  declare const colors: readonly [
5
6
  "tertiary",
6
7
  "disabled",
@@ -23,7 +24,6 @@ declare const colors: readonly [
23
24
  "static-accent"
24
25
  ];
25
26
  type Color = (typeof colors)[number];
26
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
27
27
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
28
28
  type TextBaseProps = {
29
29
  /**
@@ -66,6 +66,14 @@ type TextBaseProps = {
66
66
  * Количество строк (не поддерживает IE)
67
67
  */
68
68
  rowLimit?: 1 | 2 | 3;
69
+ /**
70
+ * Показать скелетон
71
+ */
72
+ showSkeleton?: boolean;
73
+ /**
74
+ * Пропы для скелетона
75
+ */
76
+ skeletonProps?: TextSkeletonProps;
69
77
  };
70
78
  type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
71
79
  tag?: "p";
@@ -114,6 +122,14 @@ type TitleProps = Omit<NativeProps$0, "color"> & {
114
122
  * Количество строк (не поддерживает IE)
115
123
  */
116
124
  rowLimit?: 1 | 2 | 3;
125
+ /**
126
+ * Показать скелетон
127
+ */
128
+ showSkeleton?: boolean;
129
+ /**
130
+ * Пропы для скелетона
131
+ */
132
+ skeletonProps?: TextSkeletonProps;
117
133
  };
118
134
  type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
119
135
  declare const Typography: {
@@ -165,3 +181,4 @@ interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
165
181
  declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
166
182
  export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
167
183
  export type { TitleProps, TextProps, Color };
184
+ export * from "./useSkeleton-ebda875c";
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react-transition-group" />
2
2
  /// <reference types="react" />
3
3
  import React from "react";
4
- import { HTMLAttributes, ReactNode, RefObject, FC } from "react";
4
+ import { HTMLAttributes, ReactElement, ReactNode, RefObject, FC } from "react";
5
5
  import { TransitionProps } from "react-transition-group/Transition";
6
6
  import { BaseModalProps } from "./index-bdb4c6b9";
7
7
  import { NavigationBarProps } from "./index-c76d6398";
@@ -92,6 +92,14 @@ type BottomSheetProps = {
92
92
  * Дополнительный класс для обертки модального окна
93
93
  */
94
94
  modalWrapperClassName?: string;
95
+ /**
96
+ * Дополнительный класс для маркера
97
+ */
98
+ swipeableMarkerClassName?: string;
99
+ /**
100
+ * Кастомный маркер
101
+ */
102
+ swipeableMarker?: ReactElement;
95
103
  /**
96
104
  * TransitionProps, прокидываются в компонент CSSTransitionProps.
97
105
  */
@@ -93,33 +93,6 @@ type AdditionalMobileProps = {
93
93
  };
94
94
  type SelectMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & AdditionalMobileProps;
95
95
  declare const SelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<unknown>>;
96
- type SkeletonProps = {
97
- /**
98
- * Флаг, явно задающий состояние, при котором контент закрывается прелоадером
99
- */
100
- visible?: boolean;
101
- /**
102
- * Флаг явного включения анимации скелета
103
- */
104
- animate?: boolean;
105
- /**
106
- * Дополнительный класс
107
- */
108
- className?: string;
109
- /**
110
- * Дополнительные инлайн стили
111
- */
112
- style?: React.CSSProperties;
113
- /**
114
- * Идентификатор для систем автоматизированного тестирования
115
- */
116
- dataTestId?: string;
117
- /**
118
- * Дочерние элементы.
119
- */
120
- children?: ReactNode;
121
- };
122
- declare const Skeleton: React.FC<SkeletonProps>;
123
96
  type FooterProps = {
124
97
  handleClear?: () => void;
125
98
  handleApply?: () => void;
@@ -128,7 +101,7 @@ type FooterProps = {
128
101
  declare const Footer: ({ handleApply, handleClear, showClear }: FooterProps) => React.JSX.Element;
129
102
  export * from "./index-ebda875c";
130
103
  export * from "./Component-5e1b8383";
131
- export { useSelectWithLoading, useLazyLoading, AdditionalMobileProps, SelectMobileProps, SelectMobile, SkeletonProps, Skeleton, FooterProps, Footer };
104
+ export { useSelectWithLoading, useLazyLoading, AdditionalMobileProps, SelectMobileProps, SelectMobile, FooterProps, Footer };
132
105
  export * from "./hook-9ea9e32c";
133
106
  export * from "./typings-5e1b8383";
134
107
  export * from "./utils-5e1b8383";
@@ -0,0 +1,13 @@
1
+ type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
2
+ type WidthUnit = number | string;
3
+ type TextSkeletonProps = {
4
+ /**
5
+ * Кол-во строк текста
6
+ */
7
+ rows?: number;
8
+ /**
9
+ * Ширина строки
10
+ */
11
+ width?: WidthUnit | WidthUnit[];
12
+ };
13
+ export { TextElementType, TextSkeletonProps };
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { TextSkeletonProps } from "./types-1b036d4b";
4
+ type SkeletonProps = {
5
+ wrapperClassName?: string;
6
+ dataTestId?: string;
7
+ };
8
+ declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
9
+ renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
10
+ textRef: React.RefObject<HTMLElement>;
11
+ };
12
+ export { useSkeleton };
@@ -1,40 +1,105 @@
1
- /// <reference types="react-transition-group" />
2
1
  /// <reference types="react" />
2
+ /// <reference types="react-transition-group" />
3
3
  import React from "react";
4
- import { MouseEvent, ReactNode } from "react";
5
- import { CSSTransitionClassNames } from "react-transition-group/CSSTransition";
6
- import { TransitionProps } from "react-transition-group/Transition";
7
- type BackdropProps = Partial<TransitionProps> & {
4
+ import { ButtonHTMLAttributes, ReactNode, RefObject } from "react";
5
+ type StyleColors = {
6
+ default: {
7
+ [key: string]: string;
8
+ };
9
+ inverted: {
10
+ [key: string]: string;
11
+ };
12
+ };
13
+ type NativeProps = ButtonHTMLAttributes<HTMLButtonElement>;
14
+ type BaseTagProps = Omit<NativeProps, "onClick"> & {
8
15
  /**
9
- * Прозрачный бэкдроп
16
+ * Отображение кнопки в отмеченном (зажатом) состоянии
10
17
  */
11
- invisible?: boolean;
18
+ checked?: boolean;
12
19
  /**
13
- * Управляет видимостью компонента
20
+ * Размер компонента
21
+ */
22
+ size?: "xxs" | "xs" | "s" | "m" | "l" | "xl";
23
+ /**
24
+ * Дочерние элементы.
14
25
  */
15
- open: boolean;
26
+ children?: ReactNode;
16
27
  /**
17
- * Обработчик клика по бэкдропу
28
+ * Дополнительный класс для обёртки children
18
29
  */
19
- onClose?: (event: MouseEvent<HTMLElement>) => void;
30
+ childrenClassName?: string;
20
31
  /**
21
- * Дополнительный класс
32
+ * Слот слева
22
33
  */
23
- className?: string;
34
+ leftAddons?: ReactNode;
24
35
  /**
25
- * Классы анимации
26
- *
27
- * http://reactcommunity.org/react-transition-group/css-transition#CSSTransition-prop-classNames
36
+ * Слот справа
28
37
  */
29
- transitionClassNames?: string | CSSTransitionClassNames;
38
+ rightAddons?: ReactNode;
30
39
  /**
31
40
  * Идентификатор для систем автоматизированного тестирования
32
41
  */
33
42
  dataTestId?: string;
34
43
  /**
35
- * Дочерние элементы.
44
+ * Обработчик нажатия
36
45
  */
37
- children?: ReactNode;
46
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, payload: {
47
+ checked: boolean;
48
+ name?: string;
49
+ }) => void;
50
+ /**
51
+ * ref на children
52
+ */
53
+ childrenRef?: RefObject<HTMLSpanElement>;
54
+ /**
55
+ * Набор цветов для компонента
56
+ */
57
+ colors?: "default" | "inverted";
58
+ /**
59
+ * @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
60
+ * Используйте props shape и view
61
+ * Вариант тега
62
+ */
63
+ variant?: "default" | "alt";
64
+ /**
65
+ * Форма тега
66
+ */
67
+ shape?: "rounded" | "rectangular";
68
+ /**
69
+ * Стиль тега
70
+ */
71
+ view?: "outlined" | "filled";
72
+ /**
73
+ * Основные стили компонента.
74
+ */
75
+ styles?: {
76
+ [key: string]: string;
77
+ };
78
+ /**
79
+ * Стили компонента для default и inverted режима.
80
+ */
81
+ colorStylesMap?: StyleColors;
38
82
  };
39
- declare const Backdrop: React.FC<BackdropProps>;
40
- export { BackdropProps, Backdrop };
83
+ declare const BaseTag: React.ForwardRefExoticComponent<Omit<NativeProps, "onClick"> & {
84
+ checked?: boolean | undefined;
85
+ size?: "s" | "xxs" | "xs" | "m" | "l" | "xl" | undefined;
86
+ children?: ReactNode;
87
+ childrenClassName?: string | undefined;
88
+ leftAddons?: ReactNode;
89
+ rightAddons?: ReactNode;
90
+ dataTestId?: string | undefined;
91
+ onClick?: ((event: React.MouseEvent<HTMLButtonElement, MouseEvent>, payload: {
92
+ checked: boolean;
93
+ name?: string;
94
+ }) => void) | undefined;
95
+ childrenRef?: React.RefObject<HTMLSpanElement> | undefined;
96
+ colors?: "default" | "inverted" | undefined;
97
+ variant?: "default" | "alt" | undefined;
98
+ shape?: "rounded" | "rectangular" | undefined;
99
+ view?: "outlined" | "filled" | undefined;
100
+ styles?: {
101
+ [key: string]: string;
102
+ } | undefined;
103
+ colorStylesMap?: StyleColors | undefined;
104
+ } & React.RefAttributes<HTMLButtonElement>>;
105
+ export { StyleColors, NativeProps, BaseTagProps, BaseTag };