@alfalab/core-components 45.8.0-beta.3 → 45.8.0-beta.4

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 (493) hide show
  1. package/base-modal/Component.d.ts +4 -0
  2. package/base-modal/Component.js +19 -11
  3. package/base-modal/cssm/Component.d.ts +4 -0
  4. package/base-modal/cssm/Component.js +19 -11
  5. package/base-modal/cssm/helpers/lockScroll.d.ts +4 -0
  6. package/base-modal/cssm/helpers/lockScroll.js +18 -0
  7. package/base-modal/cssm/index.module.css +6 -1
  8. package/base-modal/cssm/utils.d.ts +1 -1
  9. package/base-modal/cssm/utils.js +5 -2
  10. package/base-modal/esm/Component.d.ts +4 -0
  11. package/base-modal/esm/Component.js +20 -12
  12. package/base-modal/esm/helpers/lockScroll.d.ts +4 -0
  13. package/base-modal/esm/helpers/lockScroll.js +14 -0
  14. package/base-modal/esm/index.css +6 -1
  15. package/base-modal/esm/index.js +1 -0
  16. package/base-modal/esm/utils.d.ts +1 -1
  17. package/base-modal/esm/utils.js +5 -2
  18. package/base-modal/helpers/lockScroll.d.ts +4 -0
  19. package/base-modal/helpers/lockScroll.js +18 -0
  20. package/base-modal/index.css +6 -1
  21. package/base-modal/modern/Component.d.ts +4 -0
  22. package/base-modal/modern/Component.js +13 -5
  23. package/base-modal/modern/helpers/lockScroll.d.ts +4 -0
  24. package/base-modal/modern/helpers/lockScroll.js +14 -0
  25. package/base-modal/modern/index.css +6 -1
  26. package/base-modal/modern/index.js +1 -0
  27. package/base-modal/modern/utils.d.ts +1 -1
  28. package/base-modal/modern/utils.js +4 -2
  29. package/base-modal/utils.d.ts +1 -1
  30. package/base-modal/utils.js +5 -2
  31. package/calendar-range/esm/Component.js +1 -1
  32. package/calendar-range/esm/index.js +1 -1
  33. package/calendar-range/esm/views/popover.js +1 -1
  34. package/calendar-range/esm/views/static.js +1 -1
  35. package/calendar-range/modern/Component.js +1 -1
  36. package/calendar-range/modern/index.js +1 -1
  37. package/calendar-range/modern/views/popover.js +1 -1
  38. package/calendar-range/modern/views/static.js +1 -1
  39. package/calendar-range/utils.js +3 -1
  40. package/calendar-range/views/popover.js +1 -1
  41. package/calendar-range/views/static.js +1 -1
  42. package/dropzone/Component.d.ts +1 -1
  43. package/dropzone/Component.js +1 -1
  44. package/dropzone/cssm/Component.d.ts +1 -1
  45. package/dropzone/cssm/Component.js +1 -1
  46. package/dropzone/esm/Component.d.ts +1 -1
  47. package/dropzone/esm/Component.js +1 -1
  48. package/dropzone/modern/Component.d.ts +1 -1
  49. package/dropzone/modern/Component.js +1 -1
  50. package/gallery/components/header/Component.js +1 -1
  51. package/gallery/components/header/buttons.js +1 -1
  52. package/gallery/components/image-viewer/component.js +1 -1
  53. package/gallery/components/image-viewer/slide.js +1 -1
  54. package/gallery/esm/Component.js +2 -2
  55. package/gallery/esm/components/header/Component.js +1 -1
  56. package/gallery/esm/components/header/buttons.js +1 -1
  57. package/gallery/esm/components/header/index.js +1 -1
  58. package/gallery/esm/components/image-preview/Component.js +1 -1
  59. package/gallery/esm/components/image-preview/index.js +1 -1
  60. package/gallery/esm/components/image-viewer/component.js +1 -1
  61. package/gallery/esm/components/image-viewer/index.js +1 -1
  62. package/gallery/esm/components/image-viewer/slide.js +1 -1
  63. package/gallery/esm/components/index.js +2 -2
  64. package/gallery/esm/components/navigation-bar/Component.js +1 -1
  65. package/gallery/esm/components/navigation-bar/index.js +1 -1
  66. package/gallery/esm/index.js +2 -2
  67. package/gallery/modern/Component.js +2 -2
  68. package/gallery/modern/components/header/Component.js +1 -1
  69. package/gallery/modern/components/header/buttons.js +1 -1
  70. package/gallery/modern/components/header/index.js +1 -1
  71. package/gallery/modern/components/image-preview/Component.js +1 -1
  72. package/gallery/modern/components/image-preview/index.js +1 -1
  73. package/gallery/modern/components/image-viewer/component.js +1 -1
  74. package/gallery/modern/components/image-viewer/index.js +1 -1
  75. package/gallery/modern/components/image-viewer/slide.js +1 -1
  76. package/gallery/modern/components/index.js +2 -2
  77. package/gallery/modern/components/navigation-bar/Component.js +1 -1
  78. package/gallery/modern/components/navigation-bar/index.js +1 -1
  79. package/gallery/modern/index.js +2 -2
  80. package/international-phone-input/Component-bdb4c6b9.d.ts +2 -1
  81. package/international-phone-input/{ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
  82. package/international-phone-input/cssm/Component-bdb4c6b9.d.ts +2 -1
  83. package/international-phone-input/cssm/{ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
  84. package/international-phone-input/cssm/index-bdb4c6b9.d.ts +9 -2
  85. package/international-phone-input/cssm/typings-57569e57.d.ts +6 -5
  86. package/international-phone-input/{esm/typings-88b743b5.d.ts → cssm/typings-d6bfd5b7.d.ts} +4 -0
  87. package/international-phone-input/cssm/use-skeleton-1328ead9.d.ts +0 -4
  88. package/international-phone-input/esm/Component-bdb4c6b9.d.ts +2 -1
  89. package/international-phone-input/esm/{ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
  90. package/international-phone-input/esm/index-bdb4c6b9.d.ts +9 -2
  91. package/international-phone-input/esm/typings-57569e57.d.ts +6 -5
  92. package/international-phone-input/{typings-88b743b5.d.ts → esm/typings-d6bfd5b7.d.ts} +4 -0
  93. package/international-phone-input/esm/use-skeleton-1328ead9.d.ts +0 -4
  94. package/international-phone-input/index-bdb4c6b9.d.ts +9 -2
  95. package/international-phone-input/modern/Component-bdb4c6b9.d.ts +2 -1
  96. package/international-phone-input/modern/{ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
  97. package/international-phone-input/modern/index-bdb4c6b9.d.ts +9 -2
  98. package/international-phone-input/modern/typings-57569e57.d.ts +6 -5
  99. package/international-phone-input/{cssm/typings-88b743b5.d.ts → modern/typings-d6bfd5b7.d.ts} +4 -0
  100. package/international-phone-input/modern/use-skeleton-1328ead9.d.ts +0 -4
  101. package/international-phone-input/typings-57569e57.d.ts +6 -5
  102. package/international-phone-input/{modern/typings-88b743b5.d.ts → typings-d6bfd5b7.d.ts} +4 -0
  103. package/international-phone-input/use-skeleton-1328ead9.d.ts +0 -4
  104. package/modal/Component.d.ts +1 -0
  105. package/modal/Component.responsive.d.ts +1 -0
  106. package/modal/components/controls/Component.js +1 -1
  107. package/modal/components/footer/Component.js +1 -1
  108. package/modal/cssm/Component.d.ts +1 -0
  109. package/modal/cssm/Component.responsive.d.ts +1 -0
  110. package/modal/cssm/desktop/Component.desktop.d.ts +1 -0
  111. package/modal/cssm/typings.d.ts +4 -0
  112. package/modal/desktop/Component.desktop.d.ts +1 -0
  113. package/modal/esm/Component.d.ts +1 -0
  114. package/modal/esm/Component.responsive.d.ts +1 -0
  115. package/modal/esm/Component.responsive.js +1 -1
  116. package/modal/esm/components/controls/Component.js +1 -1
  117. package/modal/esm/components/controls/index.js +1 -1
  118. package/modal/esm/components/footer/Component.js +1 -1
  119. package/modal/esm/desktop/Component.desktop.d.ts +1 -0
  120. package/modal/esm/desktop/Component.desktop.js +1 -1
  121. package/modal/esm/desktop/index.js +1 -1
  122. package/modal/esm/index.js +1 -1
  123. package/modal/esm/mobile/Component.mobile.js +1 -1
  124. package/modal/esm/mobile/index.js +1 -1
  125. package/modal/esm/typings.d.ts +4 -0
  126. package/modal/modern/Component.d.ts +1 -0
  127. package/modal/modern/Component.responsive.d.ts +1 -0
  128. package/modal/modern/Component.responsive.js +1 -1
  129. package/modal/modern/components/controls/Component.js +1 -1
  130. package/modal/modern/components/controls/index.js +1 -1
  131. package/modal/modern/components/footer/Component.js +1 -1
  132. package/modal/modern/desktop/Component.desktop.d.ts +1 -0
  133. package/modal/modern/desktop/Component.desktop.js +1 -1
  134. package/modal/modern/desktop/index.js +1 -1
  135. package/modal/modern/index.js +1 -1
  136. package/modal/modern/mobile/Component.mobile.js +1 -1
  137. package/modal/modern/mobile/index.js +1 -1
  138. package/modal/modern/typings.d.ts +4 -0
  139. package/modal/typings.d.ts +4 -0
  140. package/package.json +1 -1
  141. package/picker-button/Component-bdb4c6b9.d.ts +2 -1
  142. package/picker-button/ResponsiveContext-d6bfd5b7.d.ts +5 -0
  143. package/picker-button/cssm/Component-bdb4c6b9.d.ts +2 -1
  144. package/picker-button/cssm/ResponsiveContext-d6bfd5b7.d.ts +5 -0
  145. package/picker-button/cssm/{index-307da6d7.d.ts → index-a5b021bd.d.ts} +1 -2
  146. package/picker-button/cssm/index-bdb4c6b9.d.ts +9 -2
  147. package/picker-button/cssm/typings-57569e57.d.ts +5 -4
  148. package/picker-button/cssm/typings-d6bfd5b7.d.ts +62 -0
  149. package/picker-button/cssm/use-skeleton-1328ead9.d.ts +0 -4
  150. package/picker-button/esm/Component-bdb4c6b9.d.ts +2 -1
  151. package/picker-button/esm/ResponsiveContext-d6bfd5b7.d.ts +5 -0
  152. package/picker-button/esm/{index-307da6d7.d.ts → index-a5b021bd.d.ts} +1 -2
  153. package/picker-button/esm/index-bdb4c6b9.d.ts +9 -2
  154. package/picker-button/esm/typings-57569e57.d.ts +5 -4
  155. package/picker-button/esm/typings-d6bfd5b7.d.ts +62 -0
  156. package/picker-button/esm/use-skeleton-1328ead9.d.ts +0 -4
  157. package/picker-button/{index-307da6d7.d.ts → index-a5b021bd.d.ts} +1 -2
  158. package/picker-button/index-bdb4c6b9.d.ts +9 -2
  159. package/picker-button/modern/Component-bdb4c6b9.d.ts +2 -1
  160. package/picker-button/modern/ResponsiveContext-d6bfd5b7.d.ts +5 -0
  161. package/picker-button/modern/{index-307da6d7.d.ts → index-a5b021bd.d.ts} +1 -2
  162. package/picker-button/modern/index-bdb4c6b9.d.ts +9 -2
  163. package/picker-button/modern/typings-57569e57.d.ts +5 -4
  164. package/picker-button/modern/typings-d6bfd5b7.d.ts +62 -0
  165. package/picker-button/modern/use-skeleton-1328ead9.d.ts +0 -4
  166. package/picker-button/typings-57569e57.d.ts +5 -4
  167. package/picker-button/typings-d6bfd5b7.d.ts +62 -0
  168. package/picker-button/use-skeleton-1328ead9.d.ts +0 -4
  169. package/select/esm/Component.responsive.js +1 -1
  170. package/select/esm/index.js +1 -1
  171. package/select/esm/mobile/Component.mobile.js +1 -1
  172. package/select/esm/mobile/Component.modal.mobile.js +1 -1
  173. package/select/esm/mobile/index.js +1 -1
  174. package/select/esm/presets/index.js +1 -1
  175. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  176. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  177. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  178. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  179. package/select/esm/shared/index.js +1 -1
  180. package/select/mobile/Component.mobile.js +1 -1
  181. package/select/modern/Component.responsive.js +1 -1
  182. package/select/modern/index.js +1 -1
  183. package/select/modern/mobile/Component.mobile.js +1 -1
  184. package/select/modern/mobile/Component.modal.mobile.js +1 -1
  185. package/select/modern/mobile/index.js +1 -1
  186. package/select/modern/presets/index.js +1 -1
  187. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  188. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  189. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  190. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  191. package/select/modern/shared/index.js +1 -1
  192. package/select/presets/index.js +1 -1
  193. package/select/presets/useSelectWithApply/hook.js +1 -1
  194. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  195. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  196. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  197. package/select/shared/index.js +1 -1
  198. package/shared/cssm/index.d.ts +0 -1
  199. package/shared/cssm/index.js +0 -2
  200. package/shared/esm/index.d.ts +0 -1
  201. package/shared/esm/index.js +0 -1
  202. package/shared/index.d.ts +0 -1
  203. package/shared/index.js +0 -2
  204. package/shared/modern/index.d.ts +0 -1
  205. package/shared/modern/index.js +0 -1
  206. package/skeleton/Component.d.ts +0 -4
  207. package/skeleton/Component.js +3 -6
  208. package/skeleton/cssm/Component.d.ts +0 -4
  209. package/skeleton/cssm/Component.js +2 -5
  210. package/skeleton/cssm/index.module.css +42 -9
  211. package/skeleton/esm/Component.d.ts +0 -4
  212. package/skeleton/esm/Component.js +3 -6
  213. package/skeleton/esm/index.css +42 -9
  214. package/skeleton/index.css +42 -9
  215. package/skeleton/modern/Component.d.ts +0 -4
  216. package/skeleton/modern/Component.js +3 -6
  217. package/skeleton/modern/index.css +42 -9
  218. package/status-badge/Component.d.ts +3 -8
  219. package/status-badge/Component.js +73 -3
  220. package/status-badge/cssm/Component.d.ts +3 -8
  221. package/status-badge/cssm/Component.js +73 -3
  222. package/status-badge/cssm/index.d.ts +0 -1
  223. package/status-badge/esm/Component.d.ts +3 -8
  224. package/status-badge/esm/Component.js +73 -18
  225. package/status-badge/esm/index.d.ts +0 -1
  226. package/status-badge/esm/index.js +0 -3
  227. package/status-badge/index.d.ts +0 -1
  228. package/status-badge/modern/Component.d.ts +3 -8
  229. package/status-badge/modern/Component.js +73 -17
  230. package/status-badge/modern/index.d.ts +0 -1
  231. package/status-badge/modern/index.js +0 -2
  232. package/tab-bar/Component.js +3 -7
  233. package/tab-bar/components/tab/Component.js +5 -9
  234. package/tab-bar/components/tab/index.css +2 -5
  235. package/tab-bar/cssm/Component.js +2 -6
  236. package/tab-bar/cssm/components/tab/Component.js +4 -8
  237. package/tab-bar/cssm/components/tab/index.module.css +2 -5
  238. package/tab-bar/cssm/index.module.css +7 -9
  239. package/tab-bar/cssm/types.d.ts +3 -11
  240. package/tab-bar/esm/Component.js +4 -9
  241. package/tab-bar/esm/components/tab/Component.js +5 -9
  242. package/tab-bar/esm/components/tab/index.css +2 -5
  243. package/tab-bar/esm/components/tab/index.js +1 -2
  244. package/tab-bar/esm/index.css +7 -9
  245. package/tab-bar/esm/index.js +1 -2
  246. package/tab-bar/esm/types.d.ts +3 -11
  247. package/tab-bar/index.css +7 -9
  248. package/tab-bar/modern/Component.js +4 -9
  249. package/tab-bar/modern/components/tab/Component.js +5 -9
  250. package/tab-bar/modern/components/tab/index.css +2 -5
  251. package/tab-bar/modern/components/tab/index.js +1 -2
  252. package/tab-bar/modern/index.css +7 -9
  253. package/tab-bar/modern/index.js +1 -2
  254. package/tab-bar/modern/types.d.ts +3 -11
  255. package/tab-bar/types.d.ts +3 -11
  256. package/textarea/Component.js +1 -1
  257. package/textarea/components/PseudoTextArea.js +1 -1
  258. package/textarea/components/index.d.ts +1 -1
  259. package/textarea/components/index.js +1 -1
  260. package/textarea/esm/Component.js +1 -1
  261. package/textarea/esm/components/PseudoTextArea.js +1 -1
  262. package/textarea/esm/components/index.d.ts +1 -1
  263. package/textarea/esm/components/index.js +1 -1
  264. package/textarea/esm/index.js +1 -1
  265. package/textarea/modern/Component.js +1 -1
  266. package/textarea/modern/components/PseudoTextArea.js +1 -1
  267. package/textarea/modern/components/index.d.ts +1 -1
  268. package/textarea/modern/components/index.js +1 -1
  269. package/textarea/modern/index.js +1 -1
  270. package/themes/click.css +6 -0
  271. package/themes/compiled/mobile-dark-bluetint.css +75 -65
  272. package/themes/mixins/click.css +2 -0
  273. package/themes/mixins/skeleton/click.css +8 -0
  274. package/themes/skeleton/click.css +8 -0
  275. package/toast-plate/components/base-toast-plate/component.d.ts +12 -9
  276. package/toast-plate/components/base-toast-plate/component.js +14 -16
  277. package/toast-plate/cssm/components/base-toast-plate/component.d.ts +12 -9
  278. package/toast-plate/cssm/components/base-toast-plate/component.js +14 -16
  279. package/toast-plate/esm/Component.responsive.js +4 -6
  280. package/toast-plate/esm/components/base-toast-plate/component.d.ts +12 -9
  281. package/toast-plate/esm/components/base-toast-plate/component.js +14 -16
  282. package/toast-plate/esm/components/base-toast-plate/index.js +4 -6
  283. package/toast-plate/esm/desktop/Component.desktop.js +4 -6
  284. package/toast-plate/esm/desktop/index.js +4 -6
  285. package/toast-plate/esm/index.js +4 -6
  286. package/toast-plate/esm/mobile/Component.mobile.js +4 -6
  287. package/toast-plate/esm/mobile/index.js +4 -6
  288. package/toast-plate/modern/Component.responsive.js +4 -6
  289. package/toast-plate/modern/components/base-toast-plate/component.d.ts +12 -9
  290. package/toast-plate/modern/components/base-toast-plate/component.js +14 -16
  291. package/toast-plate/modern/components/base-toast-plate/index.js +4 -6
  292. package/toast-plate/modern/desktop/Component.desktop.js +4 -6
  293. package/toast-plate/modern/desktop/index.js +4 -6
  294. package/toast-plate/modern/index.js +4 -6
  295. package/toast-plate/modern/mobile/Component.mobile.js +4 -6
  296. package/toast-plate/modern/mobile/index.js +4 -6
  297. package/typography/esm/component.js +2 -2
  298. package/typography/esm/index.js +2 -2
  299. package/typography/esm/text/component.js +1 -1
  300. package/typography/esm/text/index.js +1 -1
  301. package/typography/esm/title/component.js +1 -1
  302. package/typography/esm/title/index.js +2 -2
  303. package/typography/esm/title-mobile/component.js +2 -2
  304. package/typography/esm/title-mobile/index.js +2 -2
  305. package/typography/esm/title-responsive/component.js +2 -2
  306. package/typography/esm/title-responsive/index.js +2 -2
  307. package/typography/modern/component.js +2 -2
  308. package/typography/modern/index.js +2 -2
  309. package/typography/modern/text/component.js +1 -1
  310. package/typography/modern/text/index.js +1 -1
  311. package/typography/modern/title/component.js +1 -1
  312. package/typography/modern/title/index.js +2 -2
  313. package/typography/modern/title-mobile/component.js +2 -2
  314. package/typography/modern/title-mobile/index.js +2 -2
  315. package/typography/modern/title-responsive/component.js +2 -2
  316. package/typography/modern/title-responsive/index.js +2 -2
  317. package/typography/text/component.js +1 -1
  318. package/typography/title/component.js +1 -1
  319. package/typography/title/index.js +1 -1
  320. package/typography/title-mobile/component.js +1 -1
  321. package/typography/title-responsive/component.js +1 -1
  322. package/universal-date-input/cssm/index-5712fce2.d.ts +13 -1
  323. package/universal-date-input/cssm/use-skeleton-1328ead9.d.ts +0 -4
  324. package/universal-date-input/esm/index-5712fce2.d.ts +13 -1
  325. package/universal-date-input/esm/use-skeleton-1328ead9.d.ts +0 -4
  326. package/universal-date-input/index-5712fce2.d.ts +13 -1
  327. package/universal-date-input/modern/index-5712fce2.d.ts +13 -1
  328. package/universal-date-input/modern/use-skeleton-1328ead9.d.ts +0 -4
  329. package/universal-date-input/use-skeleton-1328ead9.d.ts +0 -4
  330. package/notification/browser-a216f694.d.ts +0 -6
  331. package/notification/cssm/browser-a216f694.d.ts +0 -6
  332. package/notification/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
  333. package/notification/cssm/utils/getNotificationTestIds.d.ts +0 -5
  334. package/notification/cssm/utils/getNotificationTestIds.js +0 -18
  335. package/notification/esm/browser-a216f694.d.ts +0 -6
  336. package/notification/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
  337. package/notification/esm/utils/getNotificationTestIds.d.ts +0 -5
  338. package/notification/esm/utils/getNotificationTestIds.js +0 -16
  339. package/notification/modern/browser-a216f694.d.ts +0 -6
  340. package/notification/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
  341. package/notification/modern/utils/getNotificationTestIds.d.ts +0 -5
  342. package/notification/modern/utils/getNotificationTestIds.js +0 -16
  343. package/notification/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
  344. package/notification/utils/getNotificationTestIds.d.ts +0 -5
  345. package/notification/utils/getNotificationTestIds.js +0 -18
  346. package/picker-button/ResponsiveContext-88b743b5.d.ts +0 -5
  347. package/picker-button/cssm/ResponsiveContext-88b743b5.d.ts +0 -5
  348. package/picker-button/cssm/typings-88b743b5.d.ts +0 -58
  349. package/picker-button/esm/ResponsiveContext-88b743b5.d.ts +0 -5
  350. package/picker-button/esm/typings-88b743b5.d.ts +0 -58
  351. package/picker-button/modern/ResponsiveContext-88b743b5.d.ts +0 -5
  352. package/picker-button/modern/typings-88b743b5.d.ts +0 -58
  353. package/picker-button/typings-88b743b5.d.ts +0 -58
  354. package/shared/cssm/exhaustiveCheck.d.ts +0 -2
  355. package/shared/cssm/exhaustiveCheck.js +0 -5
  356. package/shared/esm/exhaustiveCheck.d.ts +0 -2
  357. package/shared/esm/exhaustiveCheck.js +0 -3
  358. package/shared/exhaustiveCheck.d.ts +0 -2
  359. package/shared/exhaustiveCheck.js +0 -5
  360. package/shared/modern/exhaustiveCheck.d.ts +0 -2
  361. package/shared/modern/exhaustiveCheck.js +0 -3
  362. package/status-badge/consts/iconMap.d.ts +0 -4
  363. package/status-badge/consts/iconMap.js +0 -76
  364. package/status-badge/cssm/consts/iconMap.d.ts +0 -4
  365. package/status-badge/cssm/consts/iconMap.js +0 -76
  366. package/status-badge/cssm/hooks/useStatusBadgeIcon.d.ts +0 -5
  367. package/status-badge/cssm/hooks/useStatusBadgeIcon.js +0 -21
  368. package/status-badge/cssm/types/statusBadgePropTypes.d.ts +0 -7
  369. package/status-badge/cssm/types/statusBadgePropTypes.js +0 -1
  370. package/status-badge/esm/consts/iconMap.d.ts +0 -4
  371. package/status-badge/esm/consts/iconMap.js +0 -74
  372. package/status-badge/esm/hooks/useStatusBadgeIcon.d.ts +0 -5
  373. package/status-badge/esm/hooks/useStatusBadgeIcon.js +0 -32
  374. package/status-badge/esm/types/statusBadgePropTypes.d.ts +0 -7
  375. package/status-badge/esm/types/statusBadgePropTypes.js +0 -1
  376. package/status-badge/hooks/useStatusBadgeIcon.d.ts +0 -5
  377. package/status-badge/hooks/useStatusBadgeIcon.js +0 -21
  378. package/status-badge/modern/consts/iconMap.d.ts +0 -4
  379. package/status-badge/modern/consts/iconMap.js +0 -74
  380. package/status-badge/modern/hooks/useStatusBadgeIcon.d.ts +0 -5
  381. package/status-badge/modern/hooks/useStatusBadgeIcon.js +0 -34
  382. package/status-badge/modern/types/statusBadgePropTypes.d.ts +0 -7
  383. package/status-badge/modern/types/statusBadgePropTypes.js +0 -1
  384. package/status-badge/types/statusBadgePropTypes.d.ts +0 -7
  385. package/status-badge/types/statusBadgePropTypes.js +0 -1
  386. package/tab-bar/consts.d.ts +0 -9
  387. package/tab-bar/consts.js +0 -13
  388. package/tab-bar/cssm/consts.d.ts +0 -9
  389. package/tab-bar/cssm/consts.js +0 -13
  390. package/tab-bar/esm/consts.d.ts +0 -9
  391. package/tab-bar/esm/consts.js +0 -10
  392. package/tab-bar/modern/consts.d.ts +0 -9
  393. package/tab-bar/modern/consts.js +0 -10
  394. package/toast-plate/browser-a216f694.d.ts +0 -6
  395. package/toast-plate/components/base-toast-plate/hooks/useCustomIcons.d.ts +0 -6
  396. package/toast-plate/components/base-toast-plate/hooks/useCustomIcons.js +0 -13
  397. package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +0 -7
  398. package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.js +0 -26
  399. package/toast-plate/components/base-toast-plate/types/unsafeBadgeProps.d.ts +0 -6
  400. package/toast-plate/components/base-toast-plate/types/unsafeBadgeProps.js +0 -1
  401. package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +0 -5
  402. package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +0 -14
  403. package/toast-plate/components/base-toast-plate/utils/isUnsafeBadge.d.ts +0 -5
  404. package/toast-plate/components/base-toast-plate/utils/isUnsafeBadge.js +0 -8
  405. package/toast-plate/cssm/browser-a216f694.d.ts +0 -6
  406. package/toast-plate/cssm/components/base-toast-plate/hooks/useCustomIcons.d.ts +0 -6
  407. package/toast-plate/cssm/components/base-toast-plate/hooks/useCustomIcons.js +0 -13
  408. package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +0 -7
  409. package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.js +0 -26
  410. package/toast-plate/cssm/components/base-toast-plate/types/unsafeBadgeProps.d.ts +0 -6
  411. package/toast-plate/cssm/components/base-toast-plate/types/unsafeBadgeProps.js +0 -1
  412. package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +0 -5
  413. package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +0 -14
  414. package/toast-plate/cssm/components/base-toast-plate/utils/isUnsafeBadge.d.ts +0 -5
  415. package/toast-plate/cssm/components/base-toast-plate/utils/isUnsafeBadge.js +0 -8
  416. package/toast-plate/cssm/getDataTestId-73ea38f8.d.ts +0 -3
  417. package/toast-plate/cssm/getDataTestId-73ea38f8.js +0 -6
  418. package/toast-plate/cssm/index-307da6d7.d.ts +0 -71
  419. package/toast-plate/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
  420. package/toast-plate/esm/browser-a216f694.d.ts +0 -6
  421. package/toast-plate/esm/components/base-toast-plate/hooks/useCustomIcons.d.ts +0 -6
  422. package/toast-plate/esm/components/base-toast-plate/hooks/useCustomIcons.js +0 -11
  423. package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +0 -7
  424. package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.js +0 -24
  425. package/toast-plate/esm/components/base-toast-plate/types/unsafeBadgeProps.d.ts +0 -6
  426. package/toast-plate/esm/components/base-toast-plate/types/unsafeBadgeProps.js +0 -1
  427. package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +0 -5
  428. package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +0 -12
  429. package/toast-plate/esm/components/base-toast-plate/utils/isUnsafeBadge.d.ts +0 -5
  430. package/toast-plate/esm/components/base-toast-plate/utils/isUnsafeBadge.js +0 -6
  431. package/toast-plate/esm/getDataTestId-b3cf0f77.d.ts +0 -3
  432. package/toast-plate/esm/getDataTestId-b3cf0f77.js +0 -6
  433. package/toast-plate/esm/index-307da6d7.d.ts +0 -71
  434. package/toast-plate/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
  435. package/toast-plate/getDataTestId-439ac98c.d.ts +0 -3
  436. package/toast-plate/getDataTestId-439ac98c.js +0 -6
  437. package/toast-plate/index-307da6d7.d.ts +0 -71
  438. package/toast-plate/modern/browser-a216f694.d.ts +0 -6
  439. package/toast-plate/modern/components/base-toast-plate/hooks/useCustomIcons.d.ts +0 -6
  440. package/toast-plate/modern/components/base-toast-plate/hooks/useCustomIcons.js +0 -11
  441. package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +0 -7
  442. package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.js +0 -24
  443. package/toast-plate/modern/components/base-toast-plate/types/unsafeBadgeProps.d.ts +0 -6
  444. package/toast-plate/modern/components/base-toast-plate/types/unsafeBadgeProps.js +0 -1
  445. package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +0 -5
  446. package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +0 -12
  447. package/toast-plate/modern/components/base-toast-plate/utils/isUnsafeBadge.d.ts +0 -5
  448. package/toast-plate/modern/components/base-toast-plate/utils/isUnsafeBadge.js +0 -4
  449. package/toast-plate/modern/getDataTestId-8aa8ef85.d.ts +0 -3
  450. package/toast-plate/modern/getDataTestId-8aa8ef85.js +0 -6
  451. package/toast-plate/modern/index-307da6d7.d.ts +0 -71
  452. package/toast-plate/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
  453. package/toast-plate/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
  454. /package/calendar-range/esm/{index.module-912e88cf.js → index.module-7ba85cb1.js} +0 -0
  455. /package/calendar-range/{index.module-bf0591f0.js → index.module-c6ded4a2.js} +0 -0
  456. /package/calendar-range/modern/{index.module-636e08a2.js → index.module-0604d154.js} +0 -0
  457. /package/gallery/{buttons-19c30d23.d.ts → buttons-2d6e11d3.d.ts} +0 -0
  458. /package/gallery/{buttons-19c30d23.js → buttons-2d6e11d3.js} +0 -0
  459. /package/gallery/esm/{buttons-37ed3ab5.d.ts → buttons-d13012b7.d.ts} +0 -0
  460. /package/gallery/esm/{buttons-37ed3ab5.js → buttons-d13012b7.js} +0 -0
  461. /package/gallery/esm/{slide-8d1299a5.d.ts → slide-88bae15c.d.ts} +0 -0
  462. /package/gallery/esm/{slide-8d1299a5.js → slide-88bae15c.js} +0 -0
  463. /package/gallery/modern/{buttons-92efe05c.d.ts → buttons-884f9ca9.d.ts} +0 -0
  464. /package/gallery/modern/{buttons-92efe05c.js → buttons-884f9ca9.js} +0 -0
  465. /package/gallery/modern/{slide-57aa7661.d.ts → slide-e59a9638.d.ts} +0 -0
  466. /package/gallery/modern/{slide-57aa7661.js → slide-e59a9638.js} +0 -0
  467. /package/gallery/{slide-45ca49f1.d.ts → slide-684c0f6f.d.ts} +0 -0
  468. /package/gallery/{slide-45ca49f1.js → slide-684c0f6f.js} +0 -0
  469. /package/modal/esm/{layout.module-b635b128.js → layout.module-aa5cb2cc.js} +0 -0
  470. /package/modal/{layout.module-34149103.js → layout.module-c255bbac.js} +0 -0
  471. /package/modal/modern/{layout.module-41e8947b.js → layout.module-60771d9c.js} +0 -0
  472. /package/picker-button/{Component-307da6d7.d.ts → Component-a5b021bd.d.ts} +0 -0
  473. /package/picker-button/cssm/{Component-307da6d7.d.ts → Component-a5b021bd.d.ts} +0 -0
  474. /package/picker-button/esm/{Component-307da6d7.d.ts → Component-a5b021bd.d.ts} +0 -0
  475. /package/picker-button/modern/{Component-307da6d7.d.ts → Component-a5b021bd.d.ts} +0 -0
  476. /package/select/esm/{hook-c0758dcd.d.ts → hook-086659f0.d.ts} +0 -0
  477. /package/select/esm/{hook-c0758dcd.js → hook-086659f0.js} +0 -0
  478. /package/select/{hook-10a14b43.d.ts → hook-b62c1963.d.ts} +0 -0
  479. /package/select/{hook-10a14b43.js → hook-b62c1963.js} +0 -0
  480. /package/select/modern/{hook-5ccdb908.d.ts → hook-a746b596.d.ts} +0 -0
  481. /package/select/modern/{hook-5ccdb908.js → hook-a746b596.js} +0 -0
  482. /package/textarea/{PseudoTextArea-e22e1b15.d.ts → PseudoTextArea-7aea41b8.d.ts} +0 -0
  483. /package/textarea/{PseudoTextArea-e22e1b15.js → PseudoTextArea-7aea41b8.js} +0 -0
  484. /package/textarea/esm/{PseudoTextArea-ebaaf545.d.ts → PseudoTextArea-ba968d63.d.ts} +0 -0
  485. /package/textarea/esm/{PseudoTextArea-ebaaf545.js → PseudoTextArea-ba968d63.js} +0 -0
  486. /package/textarea/modern/{PseudoTextArea-df487b32.d.ts → PseudoTextArea-d7134e87.d.ts} +0 -0
  487. /package/textarea/modern/{PseudoTextArea-df487b32.js → PseudoTextArea-d7134e87.js} +0 -0
  488. /package/typography/{colors.module-5b90a9cc.js → colors.module-b5f1970b.js} +0 -0
  489. /package/typography/{common.module-53a00318.js → common.module-8f051b74.js} +0 -0
  490. /package/typography/esm/{colors.module-f2501c6f.js → colors.module-bf4fcd9a.js} +0 -0
  491. /package/typography/esm/{common.module-04c7810e.js → common.module-efe4e6e2.js} +0 -0
  492. /package/typography/modern/{colors.module-83a4b747.js → colors.module-21f32eaa.js} +0 -0
  493. /package/typography/modern/{common.module-278c339a.js → common.module-086a5ae1.js} +0 -0
@@ -12,12 +12,9 @@ var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
12
12
 
13
13
  var Skeleton = function (_a) {
14
14
  var _b;
15
- var visible = _a.visible, _c = _a.animate, animate = _c === void 0 ? true : _c, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, style = _a.style, allowBackdropBlur = _a.allowBackdropBlur;
15
+ var visible = _a.visible, _c = _a.animate, animate = _c === void 0 ? true : _c, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, style = _a.style;
16
16
  if (visible) {
17
- return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.component, (_b = {},
18
- _b[styles__default.default.animate] = animate,
19
- _b[styles__default.default.allowBackdropBlur] = allowBackdropBlur,
20
- _b), className), style: style, "data-test-id": dataTestId }, children));
17
+ return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.component, (_b = {}, _b[styles__default.default.animate] = animate, _b), className), style: style, "data-test-id": dataTestId }, children));
21
18
  }
22
19
  return (React__default.default.createElement("div", { "data-test-id": dataTestId, className: className, style: style }, children));
23
20
  };
@@ -19,8 +19,11 @@
19
19
  --skeleton-display: block;
20
20
  --skeleton-default-color: var(--color-light-neutral-translucent-100);
21
21
  --skeleton-border-radius: var(--border-radius-m);
22
- --skeleton-backdrop-filter: blur(20px);
23
- --skeleton-bg-animation-display: block;
22
+ --skeleton-backdrop-filter: none;
23
+
24
+ /* experimental animation switcher */
25
+ --skeleton-gradient-animation-display: block;
26
+ --skeleton-bg-animation-display: none;
24
27
  --skeleton-bg-animation-color: transparent;
25
28
  } .component {
26
29
  position: relative;
@@ -29,14 +32,13 @@
29
32
  color: transparent;
30
33
  border-radius: var(--skeleton-border-radius);
31
34
  overflow: hidden;
35
+ -webkit-backdrop-filter: var(--skeleton-backdrop-filter);
36
+ backdrop-filter: var(--skeleton-backdrop-filter);
32
37
  background: var(--skeleton-default-color);
33
38
 
34
39
  /* Safari overflow fix https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b */
35
- -webkit-mask-image: -webkit-radial-gradient(white, black)
36
- } .component.allowBackdropBlur {
37
- -webkit-backdrop-filter: var(--skeleton-backdrop-filter);
38
- backdrop-filter: var(--skeleton-backdrop-filter);
39
- } .component > * {
40
+ -webkit-mask-image: -webkit-radial-gradient(white, black);
41
+ } .component > * {
40
42
  visibility: hidden;
41
43
  } .component:before {
42
44
  content: '';
@@ -59,11 +61,42 @@
59
61
  .animate:before {
60
62
  opacity: 0.4;
61
63
  }
64
+ } .animate:after {
65
+ display: var(--skeleton-gradient-animation-display);
66
+ content: '';
67
+ position: absolute;
68
+ top: 0;
69
+ left: 0;
70
+ width: 500%;
71
+ height: 100%;
72
+ transform: translateX(-80%);
73
+ animation-name: gradient;
74
+ animation-duration: 2s;
75
+ animation-iteration-count: infinite;
76
+ animation-timing-function: linear;
77
+ background-image: linear-gradient(
78
+ to left,
79
+ rgba(0, 0, 0, 0),
80
+ rgba(0, 0, 0, 0) 40%,
81
+ rgba(0, 0, 0, 0.05) 50%,
82
+ rgba(0, 0, 0, 0) 60%,
83
+ rgba(0, 0, 0, 0)
84
+ );
85
+ } @keyframes gradient {
86
+ 0% {
87
+ transform: translateX(-80%);
88
+ }
89
+ 67% {
90
+ transform: translateX(0);
91
+ }
92
+ 100% {
93
+ transform: translateX(0);
94
+ }
62
95
  } @keyframes background {
63
96
  0% {
64
- background: var(--color-light-neutral-translucent-100);
97
+ background: rgb(182, 188, 195);
65
98
  }
66
99
  100% {
67
- background: var(--color-light-neutral-translucent-300);
100
+ background: rgb(198, 205, 214);
68
101
  }
69
102
  }
@@ -18,10 +18,6 @@ type SkeletonProps = {
18
18
  * Дополнительные инлайн стили
19
19
  */
20
20
  style?: React.CSSProperties;
21
- /**
22
- * Включает размытие фона
23
- */
24
- allowBackdropBlur?: boolean;
25
21
  /**
26
22
  * Идентификатор для систем автоматизированного тестирования
27
23
  */
@@ -1,17 +1,14 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"skeleton__component_9mjjy","allowBackdropBlur":"skeleton__allowBackdropBlur_9mjjy","animate":"skeleton__animate_9mjjy","background":"skeleton__background_9mjjy"};
4
+ var styles = {"component":"skeleton__component_9mjjy","animate":"skeleton__animate_9mjjy","background":"skeleton__background_9mjjy","gradient":"skeleton__gradient_9mjjy"};
5
5
  require('./index.css');
6
6
 
7
7
  var Skeleton = function (_a) {
8
8
  var _b;
9
- var visible = _a.visible, _c = _a.animate, animate = _c === void 0 ? true : _c, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, style = _a.style, allowBackdropBlur = _a.allowBackdropBlur;
9
+ var visible = _a.visible, _c = _a.animate, animate = _c === void 0 ? true : _c, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, style = _a.style;
10
10
  if (visible) {
11
- return (React.createElement("div", { className: cn(styles.component, (_b = {},
12
- _b[styles.animate] = animate,
13
- _b[styles.allowBackdropBlur] = allowBackdropBlur,
14
- _b), className), style: style, "data-test-id": dataTestId }, children));
11
+ return (React.createElement("div", { className: cn(styles.component, (_b = {}, _b[styles.animate] = animate, _b), className), style: style, "data-test-id": dataTestId }, children));
15
12
  }
16
13
  return (React.createElement("div", { "data-test-id": dataTestId, className: className, style: style }, children));
17
14
  };
@@ -20,8 +20,11 @@
20
20
  --skeleton-display: block;
21
21
  --skeleton-default-color: var(--color-light-neutral-translucent-100);
22
22
  --skeleton-border-radius: var(--border-radius-m);
23
- --skeleton-backdrop-filter: blur(20px);
24
- --skeleton-bg-animation-display: block;
23
+ --skeleton-backdrop-filter: none;
24
+
25
+ /* experimental animation switcher */
26
+ --skeleton-gradient-animation-display: block;
27
+ --skeleton-bg-animation-display: none;
25
28
  --skeleton-bg-animation-color: transparent;
26
29
  } .skeleton__component_9mjjy {
27
30
  position: relative;
@@ -30,14 +33,13 @@
30
33
  color: transparent;
31
34
  border-radius: var(--skeleton-border-radius);
32
35
  overflow: hidden;
36
+ -webkit-backdrop-filter: var(--skeleton-backdrop-filter);
37
+ backdrop-filter: var(--skeleton-backdrop-filter);
33
38
  background: var(--skeleton-default-color);
34
39
 
35
40
  /* Safari overflow fix https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b */
36
- -webkit-mask-image: -webkit-radial-gradient(white, black)
37
- } .skeleton__component_9mjjy.skeleton__allowBackdropBlur_9mjjy {
38
- -webkit-backdrop-filter: var(--skeleton-backdrop-filter);
39
- backdrop-filter: var(--skeleton-backdrop-filter);
40
- } .skeleton__component_9mjjy > * {
41
+ -webkit-mask-image: -webkit-radial-gradient(white, black);
42
+ } .skeleton__component_9mjjy > * {
41
43
  visibility: hidden;
42
44
  } .skeleton__component_9mjjy:before {
43
45
  content: '';
@@ -60,11 +62,42 @@
60
62
  .skeleton__animate_9mjjy:before {
61
63
  opacity: 0.4;
62
64
  }
65
+ } .skeleton__animate_9mjjy:after {
66
+ display: var(--skeleton-gradient-animation-display);
67
+ content: '';
68
+ position: absolute;
69
+ top: 0;
70
+ left: 0;
71
+ width: 500%;
72
+ height: 100%;
73
+ transform: translateX(-80%);
74
+ animation-name: skeleton__gradient_9mjjy;
75
+ animation-duration: 2s;
76
+ animation-iteration-count: infinite;
77
+ animation-timing-function: linear;
78
+ background-image: linear-gradient(
79
+ to left,
80
+ rgba(0, 0, 0, 0),
81
+ rgba(0, 0, 0, 0) 40%,
82
+ rgba(0, 0, 0, 0.05) 50%,
83
+ rgba(0, 0, 0, 0) 60%,
84
+ rgba(0, 0, 0, 0)
85
+ );
86
+ } @keyframes skeleton__gradient_9mjjy {
87
+ 0% {
88
+ transform: translateX(-80%);
89
+ }
90
+ 67% {
91
+ transform: translateX(0);
92
+ }
93
+ 100% {
94
+ transform: translateX(0);
95
+ }
63
96
  } @keyframes skeleton__background_9mjjy {
64
97
  0% {
65
- background: var(--color-light-neutral-translucent-100);
98
+ background: rgb(182, 188, 195);
66
99
  }
67
100
  100% {
68
- background: var(--color-light-neutral-translucent-300);
101
+ background: rgb(198, 205, 214);
69
102
  }
70
103
  }
@@ -20,8 +20,11 @@
20
20
  --skeleton-display: block;
21
21
  --skeleton-default-color: var(--color-light-neutral-translucent-100);
22
22
  --skeleton-border-radius: var(--border-radius-m);
23
- --skeleton-backdrop-filter: blur(20px);
24
- --skeleton-bg-animation-display: block;
23
+ --skeleton-backdrop-filter: none;
24
+
25
+ /* experimental animation switcher */
26
+ --skeleton-gradient-animation-display: block;
27
+ --skeleton-bg-animation-display: none;
25
28
  --skeleton-bg-animation-color: transparent;
26
29
  } .skeleton__component_9mjjy {
27
30
  position: relative;
@@ -30,14 +33,13 @@
30
33
  color: transparent;
31
34
  border-radius: var(--skeleton-border-radius);
32
35
  overflow: hidden;
36
+ -webkit-backdrop-filter: var(--skeleton-backdrop-filter);
37
+ backdrop-filter: var(--skeleton-backdrop-filter);
33
38
  background: var(--skeleton-default-color);
34
39
 
35
40
  /* Safari overflow fix https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b */
36
- -webkit-mask-image: -webkit-radial-gradient(white, black)
37
- } .skeleton__component_9mjjy.skeleton__allowBackdropBlur_9mjjy {
38
- -webkit-backdrop-filter: var(--skeleton-backdrop-filter);
39
- backdrop-filter: var(--skeleton-backdrop-filter);
40
- } .skeleton__component_9mjjy > * {
41
+ -webkit-mask-image: -webkit-radial-gradient(white, black);
42
+ } .skeleton__component_9mjjy > * {
41
43
  visibility: hidden;
42
44
  } .skeleton__component_9mjjy:before {
43
45
  content: '';
@@ -60,11 +62,42 @@
60
62
  .skeleton__animate_9mjjy:before {
61
63
  opacity: 0.4;
62
64
  }
65
+ } .skeleton__animate_9mjjy:after {
66
+ display: var(--skeleton-gradient-animation-display);
67
+ content: '';
68
+ position: absolute;
69
+ top: 0;
70
+ left: 0;
71
+ width: 500%;
72
+ height: 100%;
73
+ transform: translateX(-80%);
74
+ animation-name: skeleton__gradient_9mjjy;
75
+ animation-duration: 2s;
76
+ animation-iteration-count: infinite;
77
+ animation-timing-function: linear;
78
+ background-image: linear-gradient(
79
+ to left,
80
+ rgba(0, 0, 0, 0),
81
+ rgba(0, 0, 0, 0) 40%,
82
+ rgba(0, 0, 0, 0.05) 50%,
83
+ rgba(0, 0, 0, 0) 60%,
84
+ rgba(0, 0, 0, 0)
85
+ );
86
+ } @keyframes skeleton__gradient_9mjjy {
87
+ 0% {
88
+ transform: translateX(-80%);
89
+ }
90
+ 67% {
91
+ transform: translateX(0);
92
+ }
93
+ 100% {
94
+ transform: translateX(0);
95
+ }
63
96
  } @keyframes skeleton__background_9mjjy {
64
97
  0% {
65
- background: var(--color-light-neutral-translucent-100);
98
+ background: rgb(182, 188, 195);
66
99
  }
67
100
  100% {
68
- background: var(--color-light-neutral-translucent-300);
101
+ background: rgb(198, 205, 214);
69
102
  }
70
103
  }
@@ -18,10 +18,6 @@ type SkeletonProps = {
18
18
  * Дополнительные инлайн стили
19
19
  */
20
20
  style?: React.CSSProperties;
21
- /**
22
- * Включает размытие фона
23
- */
24
- allowBackdropBlur?: boolean;
25
21
  /**
26
22
  * Идентификатор для систем автоматизированного тестирования
27
23
  */
@@ -1,15 +1,12 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"skeleton__component_9mjjy","allowBackdropBlur":"skeleton__allowBackdropBlur_9mjjy","animate":"skeleton__animate_9mjjy","background":"skeleton__background_9mjjy"};
4
+ const styles = {"component":"skeleton__component_9mjjy","animate":"skeleton__animate_9mjjy","background":"skeleton__background_9mjjy","gradient":"skeleton__gradient_9mjjy"};
5
5
  require('./index.css');
6
6
 
7
- const Skeleton = ({ visible, animate = true, className, dataTestId, children, style, allowBackdropBlur, }) => {
7
+ const Skeleton = ({ visible, animate = true, className, dataTestId, children, style, }) => {
8
8
  if (visible) {
9
- return (React.createElement("div", { className: cn(styles.component, {
10
- [styles.animate]: animate,
11
- [styles.allowBackdropBlur]: allowBackdropBlur,
12
- }, className), style: style, "data-test-id": dataTestId }, children));
9
+ return (React.createElement("div", { className: cn(styles.component, { [styles.animate]: animate }, className), style: style, "data-test-id": dataTestId }, children));
13
10
  }
14
11
  return (React.createElement("div", { "data-test-id": dataTestId, className: className, style: style }, children));
15
12
  };
@@ -20,8 +20,11 @@
20
20
  --skeleton-display: block;
21
21
  --skeleton-default-color: var(--color-light-neutral-translucent-100);
22
22
  --skeleton-border-radius: var(--border-radius-m);
23
- --skeleton-backdrop-filter: blur(20px);
24
- --skeleton-bg-animation-display: block;
23
+ --skeleton-backdrop-filter: none;
24
+
25
+ /* experimental animation switcher */
26
+ --skeleton-gradient-animation-display: block;
27
+ --skeleton-bg-animation-display: none;
25
28
  --skeleton-bg-animation-color: transparent;
26
29
  } .skeleton__component_9mjjy {
27
30
  position: relative;
@@ -30,14 +33,13 @@
30
33
  color: transparent;
31
34
  border-radius: var(--skeleton-border-radius);
32
35
  overflow: hidden;
36
+ -webkit-backdrop-filter: var(--skeleton-backdrop-filter);
37
+ backdrop-filter: var(--skeleton-backdrop-filter);
33
38
  background: var(--skeleton-default-color);
34
39
 
35
40
  /* Safari overflow fix https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b */
36
- -webkit-mask-image: -webkit-radial-gradient(white, black)
37
- } .skeleton__component_9mjjy.skeleton__allowBackdropBlur_9mjjy {
38
- -webkit-backdrop-filter: var(--skeleton-backdrop-filter);
39
- backdrop-filter: var(--skeleton-backdrop-filter);
40
- } .skeleton__component_9mjjy > * {
41
+ -webkit-mask-image: -webkit-radial-gradient(white, black);
42
+ } .skeleton__component_9mjjy > * {
41
43
  visibility: hidden;
42
44
  } .skeleton__component_9mjjy:before {
43
45
  content: '';
@@ -60,11 +62,42 @@
60
62
  .skeleton__animate_9mjjy:before {
61
63
  opacity: 0.4;
62
64
  }
65
+ } .skeleton__animate_9mjjy:after {
66
+ display: var(--skeleton-gradient-animation-display);
67
+ content: '';
68
+ position: absolute;
69
+ top: 0;
70
+ left: 0;
71
+ width: 500%;
72
+ height: 100%;
73
+ transform: translateX(-80%);
74
+ animation-name: skeleton__gradient_9mjjy;
75
+ animation-duration: 2s;
76
+ animation-iteration-count: infinite;
77
+ animation-timing-function: linear;
78
+ background-image: linear-gradient(
79
+ to left,
80
+ rgba(0, 0, 0, 0),
81
+ rgba(0, 0, 0, 0) 40%,
82
+ rgba(0, 0, 0, 0.05) 50%,
83
+ rgba(0, 0, 0, 0) 60%,
84
+ rgba(0, 0, 0, 0)
85
+ );
86
+ } @keyframes skeleton__gradient_9mjjy {
87
+ 0% {
88
+ transform: translateX(-80%);
89
+ }
90
+ 67% {
91
+ transform: translateX(0);
92
+ }
93
+ 100% {
94
+ transform: translateX(0);
95
+ }
63
96
  } @keyframes skeleton__background_9mjjy {
64
97
  0% {
65
- background: var(--color-light-neutral-translucent-100);
98
+ background: rgb(182, 188, 195);
66
99
  }
67
100
  100% {
68
- background: var(--color-light-neutral-translucent-300);
101
+ background: rgb(198, 205, 214);
69
102
  }
70
103
  }
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { StatusBadgeCustomIcon, StatusBadgeSizes, StatusBadgeViews } from "./types/statusBadgePropTypes";
4
3
  type StatusBadgeProps = {
5
4
  /**
6
5
  * Дополнительный класс
@@ -10,7 +9,7 @@ type StatusBadgeProps = {
10
9
  * Размер компонента
11
10
  * @default 24
12
11
  */
13
- size?: StatusBadgeSizes;
12
+ size?: 16 | 20 | 24 | 32 | 40;
14
13
  /**
15
14
  * Набор цветов для компонента
16
15
  */
@@ -18,15 +17,11 @@ type StatusBadgeProps = {
18
17
  /**
19
18
  * Вид бейджа.
20
19
  */
21
- view: StatusBadgeViews;
20
+ view: 'positive-checkmark' | 'negative-cross' | 'negative-alert' | 'negative-block' | 'attention-alert' | 'neutral-information' | 'neutral-operation' | 'neutral-cross';
22
21
  /**
23
22
  * Идентификатор для систем автоматизированного тестирования
24
23
  */
25
24
  dataTestId?: string;
26
- /**
27
- * Кастомные иконки
28
- */
29
- customIcons?: StatusBadgeCustomIcon;
30
25
  };
31
- declare const StatusBadge: ({ className, dataTestId, size, view, colors, customIcons, }: StatusBadgeProps) => React.JSX.Element;
26
+ declare const StatusBadge: ({ className, dataTestId, size, view, colors, }: StatusBadgeProps) => React.JSX.Element;
32
27
  export { StatusBadgeProps, StatusBadge };
@@ -2,7 +2,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var React = require('react');
4
4
  var cn = require('classnames');
5
- var hooks_useStatusBadgeIcon = require('./hooks/useStatusBadgeIcon.js');
5
+ var CheckmarkCompactMIcon = require('@alfalab/icons-glyph/CheckmarkCompactMIcon');
6
+ var CheckmarkCompactSIcon = require('@alfalab/icons-glyph/CheckmarkCompactSIcon');
7
+ var ClockHandsCompactMIcon = require('@alfalab/icons-glyph/ClockHandsCompactMIcon');
8
+ var ClockHandsCompactSIcon = require('@alfalab/icons-glyph/ClockHandsCompactSIcon');
9
+ var CrossCompactMIcon = require('@alfalab/icons-glyph/CrossCompactMIcon');
10
+ var CrossCompactSIcon = require('@alfalab/icons-glyph/CrossCompactSIcon');
11
+ var ExclamationCompactMIcon = require('@alfalab/icons-glyph/ExclamationCompactMIcon');
12
+ var ExclamationCompactSIcon = require('@alfalab/icons-glyph/ExclamationCompactSIcon');
13
+ var InformationCompactMIcon = require('@alfalab/icons-glyph/InformationCompactMIcon');
14
+ var InformationCompactSIcon = require('@alfalab/icons-glyph/InformationCompactSIcon');
15
+ var StopBrickCompactMIcon = require('@alfalab/icons-glyph/StopBrickCompactMIcon');
16
+ var StopBrickMIcon = require('@alfalab/icons-glyph/StopBrickMIcon');
17
+ var StopBrickSIcon = require('@alfalab/icons-glyph/StopBrickSIcon');
6
18
 
7
19
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
8
20
 
@@ -22,9 +34,67 @@ var colorStyles = {
22
34
  default: defaultColors,
23
35
  inverted: invertedColors,
24
36
  };
37
+ var ICON_MAP = {
38
+ 'positive-checkmark': {
39
+ 16: CheckmarkCompactSIcon.CheckmarkCompactSIcon,
40
+ 20: CheckmarkCompactSIcon.CheckmarkCompactSIcon,
41
+ 24: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
42
+ 32: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
43
+ 40: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
44
+ },
45
+ 'negative-cross': {
46
+ 16: CrossCompactSIcon.CrossCompactSIcon,
47
+ 20: CrossCompactSIcon.CrossCompactSIcon,
48
+ 24: CrossCompactMIcon.CrossCompactMIcon,
49
+ 32: CrossCompactMIcon.CrossCompactMIcon,
50
+ 40: CrossCompactMIcon.CrossCompactMIcon,
51
+ },
52
+ 'negative-alert': {
53
+ 16: ExclamationCompactSIcon.ExclamationCompactSIcon,
54
+ 20: ExclamationCompactSIcon.ExclamationCompactSIcon,
55
+ 24: ExclamationCompactMIcon.ExclamationCompactMIcon,
56
+ 32: ExclamationCompactMIcon.ExclamationCompactMIcon,
57
+ 40: ExclamationCompactMIcon.ExclamationCompactMIcon,
58
+ },
59
+ 'negative-block': {
60
+ 16: StopBrickSIcon.StopBrickSIcon,
61
+ 20: StopBrickSIcon.StopBrickSIcon,
62
+ 24: StopBrickCompactMIcon.StopBrickCompactMIcon,
63
+ 32: StopBrickMIcon.StopBrickMIcon,
64
+ 40: StopBrickMIcon.StopBrickMIcon,
65
+ },
66
+ 'attention-alert': {
67
+ 16: ExclamationCompactSIcon.ExclamationCompactSIcon,
68
+ 20: ExclamationCompactSIcon.ExclamationCompactSIcon,
69
+ 24: ExclamationCompactMIcon.ExclamationCompactMIcon,
70
+ 32: ExclamationCompactMIcon.ExclamationCompactMIcon,
71
+ 40: ExclamationCompactMIcon.ExclamationCompactMIcon,
72
+ },
73
+ 'neutral-information': {
74
+ 16: InformationCompactSIcon.InformationCompactSIcon,
75
+ 20: InformationCompactSIcon.InformationCompactSIcon,
76
+ 24: InformationCompactMIcon.InformationCompactMIcon,
77
+ 32: InformationCompactMIcon.InformationCompactMIcon,
78
+ 40: InformationCompactMIcon.InformationCompactMIcon,
79
+ },
80
+ 'neutral-operation': {
81
+ 16: ClockHandsCompactSIcon.ClockHandsCompactSIcon,
82
+ 20: ClockHandsCompactSIcon.ClockHandsCompactSIcon,
83
+ 24: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
84
+ 32: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
85
+ 40: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
86
+ },
87
+ 'neutral-cross': {
88
+ 16: CrossCompactSIcon.CrossCompactSIcon,
89
+ 20: CrossCompactSIcon.CrossCompactSIcon,
90
+ 24: CrossCompactMIcon.CrossCompactMIcon,
91
+ 32: CrossCompactMIcon.CrossCompactMIcon,
92
+ 40: CrossCompactMIcon.CrossCompactMIcon,
93
+ },
94
+ };
25
95
  var StatusBadge = function (_a) {
26
- var className = _a.className, dataTestId = _a.dataTestId, _b = _a.size, size = _b === void 0 ? 24 : _b, view = _a.view, _c = _a.colors, colors = _c === void 0 ? 'default' : _c, customIcons = _a.customIcons;
27
- var Icon = hooks_useStatusBadgeIcon.useStatusBadgeIcon(view, size, customIcons).Icon;
96
+ var className = _a.className, dataTestId = _a.dataTestId, _b = _a.size, size = _b === void 0 ? 24 : _b, view = _a.view, _c = _a.colors, colors = _c === void 0 ? 'default' : _c;
97
+ var Icon = ICON_MAP[view][size];
28
98
  return (React__default.default.createElement("div", { className: cn__default.default(styles.component, className, styles["size-".concat(size)], colorStyles[colors].component, colorStyles[colors][view]), "data-test-id": dataTestId },
29
99
  React__default.default.createElement(Icon, null)));
30
100
  };
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { StatusBadgeCustomIcon, StatusBadgeSizes, StatusBadgeViews } from "./types/statusBadgePropTypes";
4
3
  type StatusBadgeProps = {
5
4
  /**
6
5
  * Дополнительный класс
@@ -10,7 +9,7 @@ type StatusBadgeProps = {
10
9
  * Размер компонента
11
10
  * @default 24
12
11
  */
13
- size?: StatusBadgeSizes;
12
+ size?: 16 | 20 | 24 | 32 | 40;
14
13
  /**
15
14
  * Набор цветов для компонента
16
15
  */
@@ -18,15 +17,11 @@ type StatusBadgeProps = {
18
17
  /**
19
18
  * Вид бейджа.
20
19
  */
21
- view: StatusBadgeViews;
20
+ view: 'positive-checkmark' | 'negative-cross' | 'negative-alert' | 'negative-block' | 'attention-alert' | 'neutral-information' | 'neutral-operation' | 'neutral-cross';
22
21
  /**
23
22
  * Идентификатор для систем автоматизированного тестирования
24
23
  */
25
24
  dataTestId?: string;
26
- /**
27
- * Кастомные иконки
28
- */
29
- customIcons?: StatusBadgeCustomIcon;
30
25
  };
31
- declare const StatusBadge: ({ className, dataTestId, size, view, colors, customIcons, }: StatusBadgeProps) => React.JSX.Element;
26
+ declare const StatusBadge: ({ className, dataTestId, size, view, colors, }: StatusBadgeProps) => React.JSX.Element;
32
27
  export { StatusBadgeProps, StatusBadge };
@@ -2,7 +2,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var React = require('react');
4
4
  var cn = require('classnames');
5
- var hooks_useStatusBadgeIcon = require('./hooks/useStatusBadgeIcon.js');
5
+ var CheckmarkCompactMIcon = require('@alfalab/icons-glyph/CheckmarkCompactMIcon');
6
+ var CheckmarkCompactSIcon = require('@alfalab/icons-glyph/CheckmarkCompactSIcon');
7
+ var ClockHandsCompactMIcon = require('@alfalab/icons-glyph/ClockHandsCompactMIcon');
8
+ var ClockHandsCompactSIcon = require('@alfalab/icons-glyph/ClockHandsCompactSIcon');
9
+ var CrossCompactMIcon = require('@alfalab/icons-glyph/CrossCompactMIcon');
10
+ var CrossCompactSIcon = require('@alfalab/icons-glyph/CrossCompactSIcon');
11
+ var ExclamationCompactMIcon = require('@alfalab/icons-glyph/ExclamationCompactMIcon');
12
+ var ExclamationCompactSIcon = require('@alfalab/icons-glyph/ExclamationCompactSIcon');
13
+ var InformationCompactMIcon = require('@alfalab/icons-glyph/InformationCompactMIcon');
14
+ var InformationCompactSIcon = require('@alfalab/icons-glyph/InformationCompactSIcon');
15
+ var StopBrickCompactMIcon = require('@alfalab/icons-glyph/StopBrickCompactMIcon');
16
+ var StopBrickMIcon = require('@alfalab/icons-glyph/StopBrickMIcon');
17
+ var StopBrickSIcon = require('@alfalab/icons-glyph/StopBrickSIcon');
6
18
  var defaultColors = require('./default.module.css');
7
19
  var styles = require('./index.module.css');
8
20
  var invertedColors = require('./inverted.module.css');
@@ -19,9 +31,67 @@ var colorStyles = {
19
31
  default: defaultColors__default.default,
20
32
  inverted: invertedColors__default.default,
21
33
  };
34
+ var ICON_MAP = {
35
+ 'positive-checkmark': {
36
+ 16: CheckmarkCompactSIcon.CheckmarkCompactSIcon,
37
+ 20: CheckmarkCompactSIcon.CheckmarkCompactSIcon,
38
+ 24: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
39
+ 32: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
40
+ 40: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
41
+ },
42
+ 'negative-cross': {
43
+ 16: CrossCompactSIcon.CrossCompactSIcon,
44
+ 20: CrossCompactSIcon.CrossCompactSIcon,
45
+ 24: CrossCompactMIcon.CrossCompactMIcon,
46
+ 32: CrossCompactMIcon.CrossCompactMIcon,
47
+ 40: CrossCompactMIcon.CrossCompactMIcon,
48
+ },
49
+ 'negative-alert': {
50
+ 16: ExclamationCompactSIcon.ExclamationCompactSIcon,
51
+ 20: ExclamationCompactSIcon.ExclamationCompactSIcon,
52
+ 24: ExclamationCompactMIcon.ExclamationCompactMIcon,
53
+ 32: ExclamationCompactMIcon.ExclamationCompactMIcon,
54
+ 40: ExclamationCompactMIcon.ExclamationCompactMIcon,
55
+ },
56
+ 'negative-block': {
57
+ 16: StopBrickSIcon.StopBrickSIcon,
58
+ 20: StopBrickSIcon.StopBrickSIcon,
59
+ 24: StopBrickCompactMIcon.StopBrickCompactMIcon,
60
+ 32: StopBrickMIcon.StopBrickMIcon,
61
+ 40: StopBrickMIcon.StopBrickMIcon,
62
+ },
63
+ 'attention-alert': {
64
+ 16: ExclamationCompactSIcon.ExclamationCompactSIcon,
65
+ 20: ExclamationCompactSIcon.ExclamationCompactSIcon,
66
+ 24: ExclamationCompactMIcon.ExclamationCompactMIcon,
67
+ 32: ExclamationCompactMIcon.ExclamationCompactMIcon,
68
+ 40: ExclamationCompactMIcon.ExclamationCompactMIcon,
69
+ },
70
+ 'neutral-information': {
71
+ 16: InformationCompactSIcon.InformationCompactSIcon,
72
+ 20: InformationCompactSIcon.InformationCompactSIcon,
73
+ 24: InformationCompactMIcon.InformationCompactMIcon,
74
+ 32: InformationCompactMIcon.InformationCompactMIcon,
75
+ 40: InformationCompactMIcon.InformationCompactMIcon,
76
+ },
77
+ 'neutral-operation': {
78
+ 16: ClockHandsCompactSIcon.ClockHandsCompactSIcon,
79
+ 20: ClockHandsCompactSIcon.ClockHandsCompactSIcon,
80
+ 24: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
81
+ 32: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
82
+ 40: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
83
+ },
84
+ 'neutral-cross': {
85
+ 16: CrossCompactSIcon.CrossCompactSIcon,
86
+ 20: CrossCompactSIcon.CrossCompactSIcon,
87
+ 24: CrossCompactMIcon.CrossCompactMIcon,
88
+ 32: CrossCompactMIcon.CrossCompactMIcon,
89
+ 40: CrossCompactMIcon.CrossCompactMIcon,
90
+ },
91
+ };
22
92
  var StatusBadge = function (_a) {
23
- var className = _a.className, dataTestId = _a.dataTestId, _b = _a.size, size = _b === void 0 ? 24 : _b, view = _a.view, _c = _a.colors, colors = _c === void 0 ? 'default' : _c, customIcons = _a.customIcons;
24
- var Icon = hooks_useStatusBadgeIcon.useStatusBadgeIcon(view, size, customIcons).Icon;
93
+ var className = _a.className, dataTestId = _a.dataTestId, _b = _a.size, size = _b === void 0 ? 24 : _b, view = _a.view, _c = _a.colors, colors = _c === void 0 ? 'default' : _c;
94
+ var Icon = ICON_MAP[view][size];
25
95
  return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.component, className, styles__default.default["size-".concat(size)], colorStyles[colors].component, colorStyles[colors][view]), "data-test-id": dataTestId },
26
96
  React__default.default.createElement(Icon, null)));
27
97
  };
@@ -1,2 +1 @@
1
1
  export * from "./Component";
2
- export { StatusBadgeViews, StatusBadgeSizes, StatusBadgeIcon, StatusBadgeCustomIcon } from "./types/statusBadgePropTypes";