mimir-ui-kit 1.34.4-t → 1.34.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (784) hide show
  1. package/dist/Input-DspsU5F4.js +249 -0
  2. package/dist/NavigationButtons-DuOoqaPo.js +4907 -0
  3. package/dist/ProgressBar-DWKyrXzd.js +77 -0
  4. package/dist/assets/ProgressBar.css +1 -1
  5. package/dist/assets/ProgressBar2.css +1 -0
  6. package/dist/assets/Slider.css +1 -1
  7. package/dist/bugs-CSBdWk0R.js +18 -0
  8. package/dist/components/Accordion/Accordion.js +212 -187
  9. package/dist/components/Accordion/AccordionItem/AccordionItem.js +14 -8
  10. package/dist/components/Accordion/AccordionItem/index.js +2 -2
  11. package/dist/components/Accordion/constants.js +36 -7
  12. package/dist/components/Accordion/index.js +6 -6
  13. package/dist/components/AnchorLink/Link.js +50 -39
  14. package/dist/components/AnchorLink/constants.js +14 -3
  15. package/dist/components/AnchorLink/index.js +5 -5
  16. package/dist/components/Avatar/Avatar.js +42 -37
  17. package/dist/components/Avatar/constants.js +7 -2
  18. package/dist/components/Avatar/index.js +4 -4
  19. package/dist/components/Button/Button.js +75 -59
  20. package/dist/components/Button/constants.js +52 -7
  21. package/dist/components/Button/index.js +9 -9
  22. package/dist/components/CheckboxMimir/CheckboxMimir.js +59 -48
  23. package/dist/components/CheckboxMimir/index.js +2 -2
  24. package/dist/components/Chip/Chip.js +47 -35
  25. package/dist/components/Chip/constants.js +17 -3
  26. package/dist/components/Chip/index.js +5 -5
  27. package/dist/components/DatePicker/DatePicker.js +162 -106
  28. package/dist/components/DatePicker/DatePickerModal.js +151 -99
  29. package/dist/components/DatePicker/MonthPickerModal.js +90 -61
  30. package/dist/components/DatePicker/YearPickerModal.js +86 -55
  31. package/dist/components/DatePicker/constants.js +18 -7
  32. package/dist/components/DatePicker/index.js +2 -2
  33. package/dist/components/DatePicker/utils.js +13 -5
  34. package/dist/components/Drawer/Drawer.js +140 -98
  35. package/dist/components/Drawer/constants.js +8 -2
  36. package/dist/components/Drawer/index.js +4 -4
  37. package/dist/components/GosZnak/GosZnak.js +71 -58
  38. package/dist/components/GosZnak/constants.js +15 -3
  39. package/dist/components/GosZnak/index.js +5 -5
  40. package/dist/components/Image/Image.js +54 -38
  41. package/dist/components/Image/index.js +2 -2
  42. package/dist/components/Input/Input.js +3 -3
  43. package/dist/components/Input/constants.js +20 -4
  44. package/dist/components/Input/index.js +6 -6
  45. package/dist/components/InputPassword/InputPassword.js +43 -36
  46. package/dist/components/InputPassword/index.js +2 -2
  47. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +26 -23
  48. package/dist/components/InputPhoneNumber/index.js +5 -5
  49. package/dist/components/InputPhoneNumber/utils.js +24 -7
  50. package/dist/components/InputRangeSlider/InputRangeSlider.js +158 -110
  51. package/dist/components/InputRangeSlider/constants.js +16 -6
  52. package/dist/components/InputRangeSlider/index.js +5 -5
  53. package/dist/components/ListFiles/ListFiles.js +26 -25
  54. package/dist/components/ListFiles/constants.js +2 -2
  55. package/dist/components/ListFiles/index.js +2 -2
  56. package/dist/components/ListPhotos/ListPhotos.js +22 -21
  57. package/dist/components/ListPhotos/constants.js +2 -2
  58. package/dist/components/ListPhotos/index.js +2 -2
  59. package/dist/components/Loader/Loader.js +16 -10
  60. package/dist/components/Loader/index.js +2 -2
  61. package/dist/components/MergedButton/MergedButton.js +49 -41
  62. package/dist/components/MergedButton/constants.js +7 -2
  63. package/dist/components/MergedButton/index.js +4 -4
  64. package/dist/components/NotificationBadge/NotificationBadge.js +25 -22
  65. package/dist/components/NotificationBadge/constants.js +6 -2
  66. package/dist/components/NotificationBadge/index.js +4 -4
  67. package/dist/components/OtpInput/OtpInput.js +51 -45
  68. package/dist/components/OtpInput/constants.js +6 -4
  69. package/dist/components/OtpInput/hooks.js +111 -74
  70. package/dist/components/OtpInput/index.js +2 -2
  71. package/dist/components/Pagination/Pagination.js +157 -115
  72. package/dist/components/Pagination/constants.js +4 -3
  73. package/dist/components/Pagination/index.js +2 -2
  74. package/dist/components/Portal/Portal.js +8 -6
  75. package/dist/components/Portal/index.js +2 -2
  76. package/dist/components/RadioGroup/RadioGroup.js +141 -134
  77. package/dist/components/RadioGroup/index.js +2 -2
  78. package/dist/components/SelectSearch/SelectSearch.js +3345 -2412
  79. package/dist/components/SelectSearch/constants.js +6 -2
  80. package/dist/components/SelectSearch/index.js +4 -4
  81. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +31 -29
  82. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +27 -24
  83. package/dist/components/Skeleton/SkeletonText/SkeletonText.js +32 -26
  84. package/dist/components/Skeleton/constants.js +7 -2
  85. package/dist/components/Skeleton/index.js +8 -8
  86. package/dist/components/Slider/NavigationButtons/NavigationButtons.d.ts +1 -0
  87. package/dist/components/Slider/NavigationButtons/NavigationButtons.js +7 -0
  88. package/dist/components/Slider/NavigationButtons/index.d.ts +1 -0
  89. package/dist/components/Slider/NavigationButtons/index.js +4 -0
  90. package/dist/components/Slider/ProgressBar/ProgressBar.d.ts +1 -0
  91. package/dist/components/Slider/ProgressBar/ProgressBar.js +15 -0
  92. package/dist/components/Slider/ProgressBar/index.d.ts +1 -0
  93. package/dist/components/Slider/ProgressBar/index.js +4 -0
  94. package/dist/components/Slider/Slider.d.ts +4 -1
  95. package/dist/components/Slider/Slider.js +343 -2938
  96. package/dist/components/Slider/index.d.ts +1 -1
  97. package/dist/components/Slider/index.js +2 -3
  98. package/dist/components/Steps/Steps.js +142 -96
  99. package/dist/components/Steps/constants.js +54 -18
  100. package/dist/components/Steps/index.js +5 -5
  101. package/dist/components/Switcher/Switcher.js +86 -75
  102. package/dist/components/Switcher/constants.js +6 -2
  103. package/dist/components/Switcher/index.js +4 -4
  104. package/dist/components/TabTrail/TabButtons/TabButtons.js +18 -18
  105. package/dist/components/TabTrail/TabButtons/constants.js +12 -3
  106. package/dist/components/TabTrail/TabButtons/index.js +2 -2
  107. package/dist/components/TabTrail/TabTrail.js +245 -227
  108. package/dist/components/TabTrail/constants.js +6 -2
  109. package/dist/components/TabTrail/index.js +4 -4
  110. package/dist/components/Tag/Tag.js +43 -35
  111. package/dist/components/Tag/constants.js +13 -3
  112. package/dist/components/Tag/index.js +5 -5
  113. package/dist/components/TextArea/TextArea.js +175 -134
  114. package/dist/components/TextArea/hooks.js +14 -12
  115. package/dist/components/TextArea/index.js +2 -2
  116. package/dist/components/Timer/Timer.js +21 -17
  117. package/dist/components/Timer/index.js +2 -2
  118. package/dist/components/Toasts/ProgressBar.js +3 -3
  119. package/dist/components/Toasts/Toast.js +48 -47
  120. package/dist/components/Toasts/ToastList.js +38 -28
  121. package/dist/components/Toasts/ToastsProvider.js +33 -29
  122. package/dist/components/Toasts/constants.js +47 -13
  123. package/dist/components/Toasts/hooks.js +6 -5
  124. package/dist/components/Toasts/index.js +7 -7
  125. package/dist/components/Toasts/store.js +34 -24
  126. package/dist/components/TwinSwitcher/TwinSwitcher.js +55 -51
  127. package/dist/components/TwinSwitcher/index.js +2 -2
  128. package/dist/components/UniversalUploader/UniversalUploader.js +89 -61
  129. package/dist/components/UniversalUploader/constants.js +9 -4
  130. package/dist/components/UniversalUploader/index.js +4 -4
  131. package/dist/components/Uploader/Uploader.js +74 -52
  132. package/dist/components/Uploader/constants.js +13 -10
  133. package/dist/components/Uploader/index.js +4 -4
  134. package/dist/components/UploaderFiles/UploaderFiles.js +47 -39
  135. package/dist/components/UploaderFiles/index.js +2 -2
  136. package/dist/components/UploaderPhotos/UploaderPhotos.js +52 -44
  137. package/dist/components/UploaderPhotos/index.js +2 -2
  138. package/dist/components/Vote/Vote.js +100 -76
  139. package/dist/components/Vote/constants.js +13 -7
  140. package/dist/components/Vote/index.js +4 -4
  141. package/dist/components/index.js +135 -135
  142. package/dist/field-bS4z9Sdl.js +12 -0
  143. package/dist/focus-management-1rQPII7Z.js +77 -0
  144. package/dist/hidden-BuVoeHNy.js +13 -0
  145. package/dist/hooks/index.js +17 -17
  146. package/dist/hooks/useClickOutside/index.js +2 -2
  147. package/dist/hooks/useClickOutside/useClickOutside.js +20 -11
  148. package/dist/hooks/useCopyToClipboard/index.js +2 -2
  149. package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +17 -10
  150. package/dist/hooks/useInterval/index.js +2 -2
  151. package/dist/hooks/useInterval/useInterval.js +13 -11
  152. package/dist/hooks/useLockBodyScroll/index.js +2 -2
  153. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +14 -10
  154. package/dist/hooks/useMediaQuery/constants.js +24 -3
  155. package/dist/hooks/useMediaQuery/index.js +5 -5
  156. package/dist/hooks/useMediaQuery/useMediaQuery.js +13 -10
  157. package/dist/hooks/useMergeRefs/index.js +2 -2
  158. package/dist/hooks/useMergeRefs/useMergeRefs.js +20 -21
  159. package/dist/hooks/useResizeObserver/getElement.js +16 -2
  160. package/dist/hooks/useResizeObserver/index.js +2 -2
  161. package/dist/hooks/useResizeObserver/useResizeObserver.js +40 -27
  162. package/dist/hooks/useTimer/index.js +77 -44
  163. package/dist/hooks/useTimer/useTimer.js +74 -45
  164. package/dist/hooks/useTimer/utils.js +67 -50
  165. package/dist/hooks/useWindowSize/index.js +19 -13
  166. package/dist/icons/Icon.js +10 -7
  167. package/dist/icons/components/12px/Close12px.js +16 -14
  168. package/dist/icons/components/12px/MessageRead12px.js +35 -33
  169. package/dist/icons/components/16px/Accept16px.js +25 -23
  170. package/dist/icons/components/16px/Acts16px.js +38 -36
  171. package/dist/icons/components/16px/Acts16pxF.js +33 -31
  172. package/dist/icons/components/16px/AdditionalServicess16px.js +31 -29
  173. package/dist/icons/components/16px/AdditionalServicess16pxF.js +20 -18
  174. package/dist/icons/components/16px/Agents16px.js +22 -20
  175. package/dist/icons/components/16px/Agents16pxF.js +20 -18
  176. package/dist/icons/components/16px/Alarm16px.js +23 -21
  177. package/dist/icons/components/16px/ArrowDown16px.js +22 -20
  178. package/dist/icons/components/16px/ArrowLeft16px.js +22 -20
  179. package/dist/icons/components/16px/ArrowRight16px.js +22 -20
  180. package/dist/icons/components/16px/ArrowUp16px.js +22 -20
  181. package/dist/icons/components/16px/ArrowUpright16px.js +22 -20
  182. package/dist/icons/components/16px/AttachFile16px.js +22 -20
  183. package/dist/icons/components/16px/Bell16px.js +42 -40
  184. package/dist/icons/components/16px/Bell16pxF.js +32 -30
  185. package/dist/icons/components/16px/Calculator16px.js +22 -20
  186. package/dist/icons/components/16px/CalculatorLkk16px.js +33 -31
  187. package/dist/icons/components/16px/CalculatorLkk16pxF.js +22 -20
  188. package/dist/icons/components/16px/Calendar16px.js +22 -20
  189. package/dist/icons/components/16px/Camera16px.js +34 -32
  190. package/dist/icons/components/16px/Car16px.js +33 -31
  191. package/dist/icons/components/16px/Car16pxF.js +22 -20
  192. package/dist/icons/components/16px/Catalog16px.js +22 -20
  193. package/dist/icons/components/16px/Certs16px.js +31 -29
  194. package/dist/icons/components/16px/Certs16pxF.js +31 -29
  195. package/dist/icons/components/16px/Change16px.js +20 -18
  196. package/dist/icons/components/16px/Chat16px.js +31 -29
  197. package/dist/icons/components/16px/Chat16pxF.js +22 -20
  198. package/dist/icons/components/16px/Chatbot16px.js +262 -260
  199. package/dist/icons/components/16px/Close16px.js +22 -20
  200. package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +20 -18
  201. package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +20 -18
  202. package/dist/icons/components/16px/Coin16px.js +33 -31
  203. package/dist/icons/components/16px/Coin16pxF.js +40 -38
  204. package/dist/icons/components/16px/Contracts16px.js +33 -31
  205. package/dist/icons/components/16px/Contracts16pxF.js +31 -29
  206. package/dist/icons/components/16px/CopyClipboard16px.js +25 -23
  207. package/dist/icons/components/16px/Done16px.js +22 -20
  208. package/dist/icons/components/16px/Download16px.js +29 -27
  209. package/dist/icons/components/16px/DragHandle16px.js +20 -18
  210. package/dist/icons/components/16px/DragHandleHorizontal16px.js +20 -18
  211. package/dist/icons/components/16px/DragHandleVertical16px.js +20 -18
  212. package/dist/icons/components/16px/DropdownArrowBottom16px.js +22 -20
  213. package/dist/icons/components/16px/DropdownArrowLeft16px.js +22 -20
  214. package/dist/icons/components/16px/DropdownArrowRight16px.js +22 -20
  215. package/dist/icons/components/16px/DropdownArrowUp16px.js +22 -20
  216. package/dist/icons/components/16px/Dzen16px.js +20 -18
  217. package/dist/icons/components/16px/Euro16px.js +23 -21
  218. package/dist/icons/components/16px/Eye16px.js +33 -31
  219. package/dist/icons/components/16px/Failure16px.js +25 -23
  220. package/dist/icons/components/16px/Favorite16px.js +22 -20
  221. package/dist/icons/components/16px/Favorite16pxF.js +20 -18
  222. package/dist/icons/components/16px/Filter16px.js +22 -20
  223. package/dist/icons/components/16px/Flag16pxF.js +14 -12
  224. package/dist/icons/components/16px/Folder16px.js +22 -20
  225. package/dist/icons/components/16px/Fullscreen16px.js +22 -20
  226. package/dist/icons/components/16px/Galery16px.js +25 -23
  227. package/dist/icons/components/16px/Gear16px.js +33 -31
  228. package/dist/icons/components/16px/Gift16px.js +31 -29
  229. package/dist/icons/components/16px/Hint16px.js +23 -21
  230. package/dist/icons/components/16px/Home16px.js +31 -29
  231. package/dist/icons/components/16px/Home16pxF.js +22 -20
  232. package/dist/icons/components/16px/Hot16pxF.js +20 -18
  233. package/dist/icons/components/16px/Kebab16px.js +14 -12
  234. package/dist/icons/components/16px/List16px.js +20 -18
  235. package/dist/icons/components/16px/Location16px.js +33 -31
  236. package/dist/icons/components/16px/Map16px.js +22 -20
  237. package/dist/icons/components/16px/Menu16px.js +20 -18
  238. package/dist/icons/components/16px/MenuMobile16px.js +22 -20
  239. package/dist/icons/components/16px/Minus16px.js +14 -12
  240. package/dist/icons/components/16px/Navigation16px.js +22 -20
  241. package/dist/icons/components/16px/News16px.js +31 -29
  242. package/dist/icons/components/16px/News16pxF.js +22 -20
  243. package/dist/icons/components/16px/Number16px.js +31 -29
  244. package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +20 -18
  245. package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +20 -18
  246. package/dist/icons/components/16px/Orders16px.js +31 -29
  247. package/dist/icons/components/16px/Orders16pxF.js +25 -23
  248. package/dist/icons/components/16px/Pause16px.js +14 -12
  249. package/dist/icons/components/16px/Pen16px.js +33 -31
  250. package/dist/icons/components/16px/Pen16pxF.js +22 -20
  251. package/dist/icons/components/16px/Phone16px.js +22 -20
  252. package/dist/icons/components/16px/Play16pxF.js +20 -18
  253. package/dist/icons/components/16px/Plus16px.js +22 -20
  254. package/dist/icons/components/16px/Pound16px.js +23 -21
  255. package/dist/icons/components/16px/PriceDown16px.js +33 -31
  256. package/dist/icons/components/16px/PriceUp16px.js +33 -31
  257. package/dist/icons/components/16px/Question16px.js +22 -20
  258. package/dist/icons/components/16px/Question16pxF.js +22 -20
  259. package/dist/icons/components/16px/Rutube16px.js +20 -18
  260. package/dist/icons/components/16px/Scan16px.js +20 -18
  261. package/dist/icons/components/16px/Search16px.js +22 -20
  262. package/dist/icons/components/16px/Share16pxF.js +20 -18
  263. package/dist/icons/components/16px/ShopingCard16px.js +22 -20
  264. package/dist/icons/components/16px/Sort16px.js +22 -20
  265. package/dist/icons/components/16px/Star16px.js +22 -20
  266. package/dist/icons/components/16px/Star16pxF.js +20 -18
  267. package/dist/icons/components/16px/StarHalf16pxF.js +22 -20
  268. package/dist/icons/components/16px/Telegram16pxF.js +20 -18
  269. package/dist/icons/components/16px/TelegramPlane16pxF.js +20 -18
  270. package/dist/icons/components/16px/Timer16px.js +38 -36
  271. package/dist/icons/components/16px/Trash16px.js +22 -20
  272. package/dist/icons/components/16px/TwinArrowLeft16px.js +20 -18
  273. package/dist/icons/components/16px/TwinArrowRight16px.js +20 -18
  274. package/dist/icons/components/16px/USDollar16px.js +23 -21
  275. package/dist/icons/components/16px/Umbrella16px.js +22 -20
  276. package/dist/icons/components/16px/Umbrella16pxF.js +20 -18
  277. package/dist/icons/components/16px/UnionIcon16px.js +22 -20
  278. package/dist/icons/components/16px/User16px.js +31 -29
  279. package/dist/icons/components/16px/User16pxF.js +20 -18
  280. package/dist/icons/components/16px/Users16px.js +31 -29
  281. package/dist/icons/components/16px/Users16pxF.js +20 -18
  282. package/dist/icons/components/16px/VK16pxF.js +22 -20
  283. package/dist/icons/components/16px/Waiting16px.js +22 -20
  284. package/dist/icons/components/16px/Whatsapp16px.js +31 -29
  285. package/dist/icons/components/16px/WriteUs16px.js +25 -23
  286. package/dist/icons/components/16px/Youtube16pxF.js +20 -18
  287. package/dist/icons/components/16px/Yuan16px.js +23 -21
  288. package/dist/icons/components/24px/Accept24px.js +27 -25
  289. package/dist/icons/components/24px/Acts24px.js +39 -37
  290. package/dist/icons/components/24px/Acts24pxF.js +32 -30
  291. package/dist/icons/components/24px/AdditionalServicess24px.js +32 -30
  292. package/dist/icons/components/24px/AdditionalServicess24pxF.js +21 -19
  293. package/dist/icons/components/24px/Agents24px.js +23 -21
  294. package/dist/icons/components/24px/Agents24pxF.js +30 -28
  295. package/dist/icons/components/24px/Alarm24px.js +24 -22
  296. package/dist/icons/components/24px/ArrowDown24px.js +23 -21
  297. package/dist/icons/components/24px/ArrowLeft24px.js +23 -21
  298. package/dist/icons/components/24px/ArrowRight24px.js +23 -21
  299. package/dist/icons/components/24px/ArrowUp24px.js +23 -21
  300. package/dist/icons/components/24px/ArrowUpright24px.js +23 -21
  301. package/dist/icons/components/24px/AttachFile24px.js +23 -21
  302. package/dist/icons/components/24px/Bell24px.js +43 -41
  303. package/dist/icons/components/24px/Bell24pxF.js +26 -24
  304. package/dist/icons/components/24px/Calculator24px.js +23 -21
  305. package/dist/icons/components/24px/CalculatorLkk24px.js +32 -30
  306. package/dist/icons/components/24px/CalculatorLkk24pxF.js +23 -21
  307. package/dist/icons/components/24px/Calendar24px.js +23 -21
  308. package/dist/icons/components/24px/Camera24px.js +23 -21
  309. package/dist/icons/components/24px/Car24px.js +34 -32
  310. package/dist/icons/components/24px/Car24pxF.js +32 -30
  311. package/dist/icons/components/24px/Catalog24px.js +23 -21
  312. package/dist/icons/components/24px/Certs24px.js +32 -30
  313. package/dist/icons/components/24px/Certs24pxF.js +32 -30
  314. package/dist/icons/components/24px/Change24px.js +23 -21
  315. package/dist/icons/components/24px/Chat24px.js +28 -26
  316. package/dist/icons/components/24px/Chat24pxF.js +23 -21
  317. package/dist/icons/components/24px/Chatbot24px.js +263 -261
  318. package/dist/icons/components/24px/Close24px.js +23 -21
  319. package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +23 -21
  320. package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +21 -19
  321. package/dist/icons/components/24px/Coin24px.js +24 -22
  322. package/dist/icons/components/24px/Coin24pxF.js +41 -39
  323. package/dist/icons/components/24px/Contracts24px.js +34 -32
  324. package/dist/icons/components/24px/Contracts24pxF.js +32 -30
  325. package/dist/icons/components/24px/CopyClipboard24px.js +26 -24
  326. package/dist/icons/components/24px/Done24px.js +23 -21
  327. package/dist/icons/components/24px/Download24px.js +30 -28
  328. package/dist/icons/components/24px/DragHandle24px.js +21 -19
  329. package/dist/icons/components/24px/DragHandleHorizontal24px.js +21 -19
  330. package/dist/icons/components/24px/DragHandleVertical24px.js +21 -19
  331. package/dist/icons/components/24px/DropdownArrowDown24px.js +23 -21
  332. package/dist/icons/components/24px/DropdownArrowLeft24px.js +23 -21
  333. package/dist/icons/components/24px/DropdownArrowRight24px.js +23 -21
  334. package/dist/icons/components/24px/DropdownArrowUp24px.js +23 -21
  335. package/dist/icons/components/24px/Dzen24px.js +21 -19
  336. package/dist/icons/components/24px/Euro24px.js +24 -22
  337. package/dist/icons/components/24px/Eye24px.js +34 -32
  338. package/dist/icons/components/24px/Failure24px.js +26 -24
  339. package/dist/icons/components/24px/Favorite24px.js +23 -21
  340. package/dist/icons/components/24px/Favorite24pxF.js +21 -19
  341. package/dist/icons/components/24px/Filter24px.js +21 -19
  342. package/dist/icons/components/24px/Flag24pxF.js +15 -13
  343. package/dist/icons/components/24px/Folder24px.js +23 -21
  344. package/dist/icons/components/24px/Fullscreen24px.js +23 -21
  345. package/dist/icons/components/24px/Galery24px.js +26 -24
  346. package/dist/icons/components/24px/Gear24px.js +34 -32
  347. package/dist/icons/components/24px/Gift24px.js +23 -21
  348. package/dist/icons/components/24px/Hint24px.js +26 -24
  349. package/dist/icons/components/24px/Home24px.js +34 -32
  350. package/dist/icons/components/24px/Home24pxF.js +23 -21
  351. package/dist/icons/components/24px/Hot24pxF.js +21 -19
  352. package/dist/icons/components/24px/Improvements24px.js +41 -39
  353. package/dist/icons/components/24px/Improvements24pxF.js +35 -33
  354. package/dist/icons/components/24px/Kebab24px.js +21 -19
  355. package/dist/icons/components/24px/List24px.js +21 -19
  356. package/dist/icons/components/24px/Location24px.js +34 -32
  357. package/dist/icons/components/24px/Map24px.js +23 -21
  358. package/dist/icons/components/24px/Menu24px.js +21 -19
  359. package/dist/icons/components/24px/MenuMobile24px.js +23 -21
  360. package/dist/icons/components/24px/Minus24px.js +23 -21
  361. package/dist/icons/components/24px/Navigation24px.js +23 -21
  362. package/dist/icons/components/24px/News24px.js +32 -30
  363. package/dist/icons/components/24px/News24pxF.js +23 -21
  364. package/dist/icons/components/24px/Number24px.js +32 -30
  365. package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +21 -19
  366. package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +23 -21
  367. package/dist/icons/components/24px/Orders24px.js +32 -30
  368. package/dist/icons/components/24px/Orders24pxF.js +26 -24
  369. package/dist/icons/components/24px/Pause24px.js +15 -13
  370. package/dist/icons/components/24px/Pen24px.js +34 -32
  371. package/dist/icons/components/24px/Pen24pxF.js +23 -21
  372. package/dist/icons/components/24px/Phone24px.js +23 -21
  373. package/dist/icons/components/24px/Play24px.js +21 -19
  374. package/dist/icons/components/24px/Plus24px.js +23 -21
  375. package/dist/icons/components/24px/Pound24px.js +24 -22
  376. package/dist/icons/components/24px/PriceDown24px.js +32 -30
  377. package/dist/icons/components/24px/PriceUp24px.js +32 -30
  378. package/dist/icons/components/24px/Question24px.js +32 -30
  379. package/dist/icons/components/24px/Question24pxF.js +23 -21
  380. package/dist/icons/components/24px/Rutube24px.js +21 -19
  381. package/dist/icons/components/24px/Scan24px.js +21 -19
  382. package/dist/icons/components/24px/Search24px.js +23 -21
  383. package/dist/icons/components/24px/Share24pxF.js +21 -19
  384. package/dist/icons/components/24px/ShopingCard24px.js +23 -21
  385. package/dist/icons/components/24px/Sort24px.js +21 -19
  386. package/dist/icons/components/24px/Star24px.js +23 -21
  387. package/dist/icons/components/24px/Star24pxF.js +21 -19
  388. package/dist/icons/components/24px/StarHalf24pxF.js +23 -21
  389. package/dist/icons/components/24px/Telegram24pxF.js +21 -19
  390. package/dist/icons/components/24px/TelegramPlane24pxF.js +21 -19
  391. package/dist/icons/components/24px/Timer24px.js +39 -37
  392. package/dist/icons/components/24px/Trash24px.js +43 -41
  393. package/dist/icons/components/24px/TwinArrowLeft24px.js +21 -19
  394. package/dist/icons/components/24px/TwinArrowRight24px.js +23 -21
  395. package/dist/icons/components/24px/USDollar24px.js +24 -22
  396. package/dist/icons/components/24px/Umbrella24px.js +23 -21
  397. package/dist/icons/components/24px/Umbrella24pxF.js +21 -19
  398. package/dist/icons/components/24px/UnionIcon24px.js +23 -21
  399. package/dist/icons/components/24px/User24px.js +32 -30
  400. package/dist/icons/components/24px/User24pxF.js +21 -19
  401. package/dist/icons/components/24px/Users24px.js +23 -21
  402. package/dist/icons/components/24px/Users24pxF.js +30 -28
  403. package/dist/icons/components/24px/VK24pxF.js +23 -21
  404. package/dist/icons/components/24px/Waiting24px.js +23 -21
  405. package/dist/icons/components/24px/Whatsapp24px.js +32 -30
  406. package/dist/icons/components/24px/WriteUs24px.js +26 -24
  407. package/dist/icons/components/24px/Youtube24pxF.js +21 -19
  408. package/dist/icons/components/24px/Yuan24px.js +24 -22
  409. package/dist/icons/components/32px/Accept32px.js +26 -24
  410. package/dist/icons/components/32px/Acts32px.js +39 -37
  411. package/dist/icons/components/32px/AdditionalServicess32px.js +23 -21
  412. package/dist/icons/components/32px/AdditionalServicess32pxF.js +21 -19
  413. package/dist/icons/components/32px/Agents32px.js +35 -33
  414. package/dist/icons/components/32px/Alarm32px.js +24 -22
  415. package/dist/icons/components/32px/ArrowDown32px.js +23 -21
  416. package/dist/icons/components/32px/ArrowLeft32px.js +23 -21
  417. package/dist/icons/components/32px/ArrowRight32px.js +23 -21
  418. package/dist/icons/components/32px/ArrowUp32px.js +23 -21
  419. package/dist/icons/components/32px/ArrowUpright32px.js +23 -21
  420. package/dist/icons/components/32px/AttachFile32px.js +23 -21
  421. package/dist/icons/components/32px/Bell32px.js +43 -41
  422. package/dist/icons/components/32px/Bell32pxF.js +26 -24
  423. package/dist/icons/components/32px/Calculator32px.js +23 -21
  424. package/dist/icons/components/32px/CalculatorLkk32px.js +32 -30
  425. package/dist/icons/components/32px/CalculatorLkk32pxF.js +23 -21
  426. package/dist/icons/components/32px/Calendar32px.js +23 -21
  427. package/dist/icons/components/32px/Camera32px.js +35 -33
  428. package/dist/icons/components/32px/Car32px.js +34 -32
  429. package/dist/icons/components/32px/Car32pxF.js +26 -24
  430. package/dist/icons/components/32px/Catalog32px.js +23 -21
  431. package/dist/icons/components/32px/Certs32px.js +32 -30
  432. package/dist/icons/components/32px/Certs32pxF.js +32 -30
  433. package/dist/icons/components/32px/Change32px.js +23 -21
  434. package/dist/icons/components/32px/Chat32px.js +32 -30
  435. package/dist/icons/components/32px/Chat32pxF.js +23 -21
  436. package/dist/icons/components/32px/Chatbot32px.js +263 -261
  437. package/dist/icons/components/32px/Close32px.js +23 -21
  438. package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +21 -19
  439. package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +21 -19
  440. package/dist/icons/components/32px/Coin32px.js +34 -32
  441. package/dist/icons/components/32px/Coin32pxF.js +32 -30
  442. package/dist/icons/components/32px/Contracts32px.js +34 -32
  443. package/dist/icons/components/32px/Contracts32pxF.js +32 -30
  444. package/dist/icons/components/32px/CopyClipboard32px.js +32 -30
  445. package/dist/icons/components/32px/Done32px.js +23 -21
  446. package/dist/icons/components/32px/Download32px.js +30 -28
  447. package/dist/icons/components/32px/DragHandle32px.js +21 -19
  448. package/dist/icons/components/32px/DragHandleHorizontal32px.js +21 -19
  449. package/dist/icons/components/32px/DragHandleVertical32px.js +21 -19
  450. package/dist/icons/components/32px/DropdownArrowDown32px.js +23 -21
  451. package/dist/icons/components/32px/DropdownArrowLeft32px.js +23 -21
  452. package/dist/icons/components/32px/DropdownArrowRight32px.js +23 -21
  453. package/dist/icons/components/32px/DropdownArrowUp32px.js +15 -13
  454. package/dist/icons/components/32px/Dzen32px.js +21 -19
  455. package/dist/icons/components/32px/Euro32px.js +24 -22
  456. package/dist/icons/components/32px/Eye32px.js +34 -32
  457. package/dist/icons/components/32px/Failure32px.js +26 -24
  458. package/dist/icons/components/32px/Favorite32px.js +23 -21
  459. package/dist/icons/components/32px/Favorite32pxF.js +21 -19
  460. package/dist/icons/components/32px/Filter32px.js +21 -19
  461. package/dist/icons/components/32px/Flag32pxF.js +15 -13
  462. package/dist/icons/components/32px/Folder32px.js +23 -21
  463. package/dist/icons/components/32px/Fullscreen32px.js +23 -21
  464. package/dist/icons/components/32px/Galery32px.js +26 -24
  465. package/dist/icons/components/32px/Gear32px.js +34 -32
  466. package/dist/icons/components/32px/Gift32px.js +23 -21
  467. package/dist/icons/components/32px/Hint32px.js +26 -24
  468. package/dist/icons/components/32px/Home32px.js +26 -24
  469. package/dist/icons/components/32px/Home32pxF.js +23 -21
  470. package/dist/icons/components/32px/Hot32pxF.js +21 -19
  471. package/dist/icons/components/32px/Kebab32px.js +15 -13
  472. package/dist/icons/components/32px/List32px.js +21 -19
  473. package/dist/icons/components/32px/Location32px.js +34 -32
  474. package/dist/icons/components/32px/Map32px.js +23 -21
  475. package/dist/icons/components/32px/Menu32px.js +21 -19
  476. package/dist/icons/components/32px/MenuMobile32px.js +23 -21
  477. package/dist/icons/components/32px/Minus32px.js +23 -21
  478. package/dist/icons/components/32px/Navigation32px.js +23 -21
  479. package/dist/icons/components/32px/News32px.js +32 -30
  480. package/dist/icons/components/32px/News32pxF.js +23 -21
  481. package/dist/icons/components/32px/Number32px.js +32 -30
  482. package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +21 -19
  483. package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +23 -21
  484. package/dist/icons/components/32px/Orders32px.js +41 -39
  485. package/dist/icons/components/32px/Orders32pxF.js +32 -30
  486. package/dist/icons/components/32px/Pause32px.js +15 -13
  487. package/dist/icons/components/32px/Pen32px.js +22 -20
  488. package/dist/icons/components/32px/Pen32pxF.js +23 -21
  489. package/dist/icons/components/32px/PersonalManager32px.js +110 -108
  490. package/dist/icons/components/32px/Phone32px.js +21 -19
  491. package/dist/icons/components/32px/Play32px.js +21 -19
  492. package/dist/icons/components/32px/Plus32px.js +23 -21
  493. package/dist/icons/components/32px/Pound32px.js +24 -22
  494. package/dist/icons/components/32px/PriceDown32px.js +43 -41
  495. package/dist/icons/components/32px/PriceUp32px.js +34 -32
  496. package/dist/icons/components/32px/Question32px.js +32 -30
  497. package/dist/icons/components/32px/Question32pxF.js +23 -21
  498. package/dist/icons/components/32px/Rutube32px.js +21 -19
  499. package/dist/icons/components/32px/Scan32px.js +21 -19
  500. package/dist/icons/components/32px/Search32px.js +23 -21
  501. package/dist/icons/components/32px/Share32pxF.js +21 -19
  502. package/dist/icons/components/32px/ShopimgCard32px.js +23 -21
  503. package/dist/icons/components/32px/Sort32px.js +21 -19
  504. package/dist/icons/components/32px/Star32px.js +23 -21
  505. package/dist/icons/components/32px/Star32pxF.js +21 -19
  506. package/dist/icons/components/32px/StarHalf32pxF.js +23 -21
  507. package/dist/icons/components/32px/Telegram32pxF.js +21 -19
  508. package/dist/icons/components/32px/TelegramPlane32pxF.js +21 -19
  509. package/dist/icons/components/32px/Timer32px.js +33 -31
  510. package/dist/icons/components/32px/Trash32px.js +43 -41
  511. package/dist/icons/components/32px/TwinArrowLeft32px.js +21 -19
  512. package/dist/icons/components/32px/TwinArrowRight32px.js +21 -19
  513. package/dist/icons/components/32px/USDollar32px.js +24 -22
  514. package/dist/icons/components/32px/Umbrella32px.js +23 -21
  515. package/dist/icons/components/32px/Umbrella32pxF.js +23 -21
  516. package/dist/icons/components/32px/UnionIcon32px.js +23 -21
  517. package/dist/icons/components/32px/User32px.js +32 -30
  518. package/dist/icons/components/32px/User32pxF.js +21 -19
  519. package/dist/icons/components/32px/Users32px.js +23 -21
  520. package/dist/icons/components/32px/Users32pxF.js +24 -22
  521. package/dist/icons/components/32px/VK32pxF.js +23 -21
  522. package/dist/icons/components/32px/Waiting32px.js +23 -21
  523. package/dist/icons/components/32px/Whatsapp32px.js +32 -30
  524. package/dist/icons/components/32px/WriteUs32px.js +26 -24
  525. package/dist/icons/components/32px/Youtube32pxF.js +21 -19
  526. package/dist/icons/components/32px/Yuan32px.js +24 -22
  527. package/dist/icons/components/Mans.js +5 -5
  528. package/dist/icons/components/Step.js +5 -5
  529. package/dist/icons/components/StepXL.js +7 -7
  530. package/dist/icons/components/auto-logo/ACE.js +21 -19
  531. package/dist/icons/components/auto-logo/Alim.js +23 -21
  532. package/dist/icons/components/auto-logo/Amur.js +23 -21
  533. package/dist/icons/components/auto-logo/Ankai.js +23 -21
  534. package/dist/icons/components/auto-logo/ArrowLength.js +21 -19
  535. package/dist/icons/components/auto-logo/Audi.js +20 -18
  536. package/dist/icons/components/auto-logo/BMW.js +41 -39
  537. package/dist/icons/components/auto-logo/BRP.js +32 -30
  538. package/dist/icons/components/auto-logo/Bomag.js +32 -30
  539. package/dist/icons/components/auto-logo/Case.js +23 -21
  540. package/dist/icons/components/auto-logo/Caterpillar.js +37 -35
  541. package/dist/icons/components/auto-logo/ChMZAP.js +46 -44
  542. package/dist/icons/components/auto-logo/ChTZ.js +32 -30
  543. package/dist/icons/components/auto-logo/Changan.js +21 -19
  544. package/dist/icons/components/auto-logo/Cherry.js +32 -30
  545. package/dist/icons/components/auto-logo/Citroen.js +23 -21
  546. package/dist/icons/components/auto-logo/DaewooFull.js +58 -56
  547. package/dist/icons/components/auto-logo/DaewooSymbol.js +51 -49
  548. package/dist/icons/components/auto-logo/Daf.js +23 -21
  549. package/dist/icons/components/auto-logo/Dayun.js +23 -21
  550. package/dist/icons/components/auto-logo/DongFeng.js +23 -21
  551. package/dist/icons/components/auto-logo/Ducati.js +32 -30
  552. package/dist/icons/components/auto-logo/Exeed.js +32 -30
  553. package/dist/icons/components/auto-logo/Faw.js +34 -32
  554. package/dist/icons/components/auto-logo/Fenix.js +114 -112
  555. package/dist/icons/components/auto-logo/Fiat.js +37 -35
  556. package/dist/icons/components/auto-logo/Ford.js +41 -39
  557. package/dist/icons/components/auto-logo/Foton.js +32 -30
  558. package/dist/icons/components/auto-logo/Gac.js +21 -19
  559. package/dist/icons/components/auto-logo/Gaz.js +59 -57
  560. package/dist/icons/components/auto-logo/Geely.js +25 -23
  561. package/dist/icons/components/auto-logo/Genesis.js +30 -28
  562. package/dist/icons/components/auto-logo/Gitte.js +23 -21
  563. package/dist/icons/components/auto-logo/Grunwald.js +23 -21
  564. package/dist/icons/components/auto-logo/HartungFull.js +32 -30
  565. package/dist/icons/components/auto-logo/HartungSymbol.js +32 -30
  566. package/dist/icons/components/auto-logo/Haval.js +23 -21
  567. package/dist/icons/components/auto-logo/Higer.js +23 -21
  568. package/dist/icons/components/auto-logo/Hitachi.js +21 -19
  569. package/dist/icons/components/auto-logo/Honda.js +37 -35
  570. package/dist/icons/components/auto-logo/Hongqi.js +30 -28
  571. package/dist/icons/components/auto-logo/Hongyan.js +23 -21
  572. package/dist/icons/components/auto-logo/Howo.js +46 -44
  573. package/dist/icons/components/auto-logo/Hyundai.js +23 -21
  574. package/dist/icons/components/auto-logo/Infiniti.js +21 -19
  575. package/dist/icons/components/auto-logo/Isuzu.js +23 -21
  576. package/dist/icons/components/auto-logo/Iveco.js +23 -21
  577. package/dist/icons/components/auto-logo/JCB.js +32 -30
  578. package/dist/icons/components/auto-logo/Jac.js +21 -19
  579. package/dist/icons/components/auto-logo/Juterborg.js +57 -55
  580. package/dist/icons/components/auto-logo/KIA.js +23 -21
  581. package/dist/icons/components/auto-logo/Kaiyi.js +23 -21
  582. package/dist/icons/components/auto-logo/Kamaz.js +35 -33
  583. package/dist/icons/components/auto-logo/Kassbohrer.js +23 -21
  584. package/dist/icons/components/auto-logo/Komatsu.js +21 -19
  585. package/dist/icons/components/auto-logo/Ktm.js +21 -19
  586. package/dist/icons/components/auto-logo/LCCE.js +37 -35
  587. package/dist/icons/components/auto-logo/Lada.js +23 -21
  588. package/dist/icons/components/auto-logo/Lexus.js +23 -21
  589. package/dist/icons/components/auto-logo/LiuGong.js +30 -28
  590. package/dist/icons/components/auto-logo/Lonking.js +30 -28
  591. package/dist/icons/components/auto-logo/Lovol.js +21 -19
  592. package/dist/icons/components/auto-logo/MTZBelarus.js +34 -32
  593. package/dist/icons/components/auto-logo/Man.js +21 -19
  594. package/dist/icons/components/auto-logo/Maz.js +32 -30
  595. package/dist/icons/components/auto-logo/MercedesBenz.js +23 -21
  596. package/dist/icons/components/auto-logo/Meusburger.js +23 -21
  597. package/dist/icons/components/auto-logo/Mitsubishi.js +21 -19
  598. package/dist/icons/components/auto-logo/NefAZ.js +30 -28
  599. package/dist/icons/components/auto-logo/NursanTrailer.js +21 -19
  600. package/dist/icons/components/auto-logo/Omoda.js +37 -35
  601. package/dist/icons/components/auto-logo/PSATss.js +37 -35
  602. package/dist/icons/components/auto-logo/Paz.js +23 -21
  603. package/dist/icons/components/auto-logo/Peugeot.js +21 -19
  604. package/dist/icons/components/auto-logo/Raskat.js +37 -35
  605. package/dist/icons/components/auto-logo/Renault.js +30 -28
  606. package/dist/icons/components/auto-logo/RussianCarsEmblem.js +32 -30
  607. package/dist/icons/components/auto-logo/RussianCarsKremlin.js +41 -39
  608. package/dist/icons/components/auto-logo/Sany.js +50 -48
  609. package/dist/icons/components/auto-logo/Scania.js +57 -55
  610. package/dist/icons/components/auto-logo/Schmitz.js +23 -21
  611. package/dist/icons/components/auto-logo/Shacman.js +30 -28
  612. package/dist/icons/components/auto-logo/Shantui.js +21 -19
  613. package/dist/icons/components/auto-logo/Sinanli.js +71 -69
  614. package/dist/icons/components/auto-logo/Sitrak.js +34 -32
  615. package/dist/icons/components/auto-logo/SobolIztechmash.js +60 -58
  616. package/dist/icons/components/auto-logo/Sokol.js +21 -19
  617. package/dist/icons/components/auto-logo/Sollers.js +23 -21
  618. package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +21 -19
  619. package/dist/icons/components/auto-logo/Tonar.js +23 -21
  620. package/dist/icons/components/auto-logo/Toyota.js +21 -19
  621. package/dist/icons/components/auto-logo/Trekol.js +34 -32
  622. package/dist/icons/components/auto-logo/UAT.js +21 -19
  623. package/dist/icons/components/auto-logo/Uaz.js +70 -68
  624. package/dist/icons/components/auto-logo/Ural.js +21 -19
  625. package/dist/icons/components/auto-logo/VIS.js +21 -19
  626. package/dist/icons/components/auto-logo/VKR.js +32 -30
  627. package/dist/icons/components/auto-logo/Volkswagen.js +23 -21
  628. package/dist/icons/components/auto-logo/Volvo.js +21 -19
  629. package/dist/icons/components/auto-logo/Wielton.js +21 -19
  630. package/dist/icons/components/auto-logo/XCMG.js +37 -35
  631. package/dist/icons/components/auto-logo/Yutong.js +72 -70
  632. package/dist/icons/components/auto-logo/Zoomlion.js +21 -19
  633. package/dist/icons/components/car-icons/AllMetal.js +32 -30
  634. package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +32 -30
  635. package/dist/icons/components/car-icons/AsphaltPaver.js +35 -33
  636. package/dist/icons/components/car-icons/Autotower.js +32 -30
  637. package/dist/icons/components/car-icons/Awning.js +33 -31
  638. package/dist/icons/components/car-icons/BackhoeLoader.js +39 -37
  639. package/dist/icons/components/car-icons/Buggy.js +32 -30
  640. package/dist/icons/components/car-icons/Bulldozer.js +34 -32
  641. package/dist/icons/components/car-icons/Bus.js +23 -21
  642. package/dist/icons/components/car-icons/BusBus.js +32 -30
  643. package/dist/icons/components/car-icons/BusMinibus.js +32 -30
  644. package/dist/icons/components/car-icons/BusShiftBuses.js +42 -40
  645. package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +39 -37
  646. package/dist/icons/components/car-icons/CargoAutotower.js +32 -30
  647. package/dist/icons/components/car-icons/CargoAwning.js +39 -37
  648. package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +39 -37
  649. package/dist/icons/components/car-icons/CargoDrillingRig.js +32 -30
  650. package/dist/icons/components/car-icons/CargoDumpTruck.js +39 -37
  651. package/dist/icons/components/car-icons/CargoGarbageTruck.js +39 -37
  652. package/dist/icons/components/car-icons/CargoGrainCarrier.js +39 -37
  653. package/dist/icons/components/car-icons/CargoIsothermal.js +39 -37
  654. package/dist/icons/components/car-icons/CargoOnBoard.js +39 -37
  655. package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +39 -37
  656. package/dist/icons/components/car-icons/CargoPromotionalItem.js +39 -37
  657. package/dist/icons/components/car-icons/CargoSortingTruck.js +39 -37
  658. package/dist/icons/components/car-icons/CargoTankerTruck.js +39 -37
  659. package/dist/icons/components/car-icons/CargoTowTruck.js +32 -30
  660. package/dist/icons/components/car-icons/CargoTruckCrane.js +41 -39
  661. package/dist/icons/components/car-icons/CargoVacuumMachine.js +32 -30
  662. package/dist/icons/components/car-icons/Clearance.js +23 -21
  663. package/dist/icons/components/car-icons/CombineHarvester.js +39 -37
  664. package/dist/icons/components/car-icons/Compartment.js +32 -30
  665. package/dist/icons/components/car-icons/ConcreteMixerTruck.js +39 -37
  666. package/dist/icons/components/car-icons/ConcretePump.js +40 -38
  667. package/dist/icons/components/car-icons/Crossover.js +32 -30
  668. package/dist/icons/components/car-icons/DrillingRigg.js +32 -30
  669. package/dist/icons/components/car-icons/DumpTruck.js +39 -37
  670. package/dist/icons/components/car-icons/Excavator.js +23 -21
  671. package/dist/icons/components/car-icons/ForestPreparationEquipment.js +39 -37
  672. package/dist/icons/components/car-icons/ForkliftTruck.js +32 -30
  673. package/dist/icons/components/car-icons/FrontLoader.js +39 -37
  674. package/dist/icons/components/car-icons/Hatchback.js +32 -30
  675. package/dist/icons/components/car-icons/IceRink.js +34 -32
  676. package/dist/icons/components/car-icons/Isothermal.js +39 -37
  677. package/dist/icons/components/car-icons/Liftback.js +23 -21
  678. package/dist/icons/components/car-icons/MiniEscalator.js +41 -39
  679. package/dist/icons/components/car-icons/MiniLoader.js +32 -30
  680. package/dist/icons/components/car-icons/MiningDumpTruck.js +39 -37
  681. package/dist/icons/components/car-icons/Minitractor.js +32 -30
  682. package/dist/icons/components/car-icons/Minivan.js +32 -30
  683. package/dist/icons/components/car-icons/MotorGrader.js +32 -30
  684. package/dist/icons/components/car-icons/MotorVehiclesBike.js +24 -22
  685. package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +30 -28
  686. package/dist/icons/components/car-icons/OffRoadVehicle.js +32 -30
  687. package/dist/icons/components/car-icons/OnBoard.js +39 -37
  688. package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +39 -37
  689. package/dist/icons/components/car-icons/OnBoardWithCmu.js +39 -37
  690. package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +48 -46
  691. package/dist/icons/components/car-icons/OtherCareerTechniques.js +39 -37
  692. package/dist/icons/components/car-icons/Pickup.js +23 -21
  693. package/dist/icons/components/car-icons/PickupTruck.js +32 -30
  694. package/dist/icons/components/car-icons/PilingInstallation.js +34 -32
  695. package/dist/icons/components/car-icons/PromotionalItem.js +39 -37
  696. package/dist/icons/components/car-icons/PublicUtilityVehicle.js +46 -44
  697. package/dist/icons/components/car-icons/QuarryExcavator.js +26 -24
  698. package/dist/icons/components/car-icons/Scooter.js +30 -28
  699. package/dist/icons/components/car-icons/Sedan.js +32 -30
  700. package/dist/icons/components/car-icons/Snowmobile.js +39 -37
  701. package/dist/icons/components/car-icons/TankerTruck.js +39 -37
  702. package/dist/icons/components/car-icons/TelescopicLoader.js +32 -30
  703. package/dist/icons/components/car-icons/TheLift.js +37 -35
  704. package/dist/icons/components/car-icons/TowTruck.js +32 -30
  705. package/dist/icons/components/car-icons/Tractor.js +32 -30
  706. package/dist/icons/components/car-icons/TractorTruck.js +39 -37
  707. package/dist/icons/components/car-icons/Trailerr.js +23 -21
  708. package/dist/icons/components/car-icons/TrailersCarCarrier.js +41 -39
  709. package/dist/icons/components/car-icons/TrailersCattleTruck.js +32 -30
  710. package/dist/icons/components/car-icons/TrailersContainerShip.js +40 -38
  711. package/dist/icons/components/car-icons/TrailersCurtainSide.js +39 -37
  712. package/dist/icons/components/car-icons/TrailersDumpTruck.js +39 -37
  713. package/dist/icons/components/car-icons/TrailersGrainTruck.js +39 -37
  714. package/dist/icons/components/car-icons/TrailersHeavyTruck.js +39 -37
  715. package/dist/icons/components/car-icons/TrailersIsothermal.js +39 -37
  716. package/dist/icons/components/car-icons/TrailersOther.js +39 -37
  717. package/dist/icons/components/car-icons/TrailersTankerTruck.js +39 -37
  718. package/dist/icons/components/car-icons/TruckCrane.js +41 -39
  719. package/dist/icons/components/car-icons/Universal.js +32 -30
  720. package/dist/icons/components/car-icons/Van.js +23 -21
  721. package/dist/icons/components/car-icons/Ycles.js +42 -40
  722. package/dist/icons/components/car-parameters-icons/Acceleration.js +32 -30
  723. package/dist/icons/components/car-parameters-icons/Berths.js +37 -35
  724. package/dist/icons/components/car-parameters-icons/Bucket.js +21 -19
  725. package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +23 -21
  726. package/dist/icons/components/car-parameters-icons/BucketVolume.js +30 -28
  727. package/dist/icons/components/car-parameters-icons/CabinTurn.js +32 -30
  728. package/dist/icons/components/car-parameters-icons/CarBodySize.js +32 -30
  729. package/dist/icons/components/car-parameters-icons/CarBodyType.js +23 -21
  730. package/dist/icons/components/car-parameters-icons/CarColor.js +32 -30
  731. package/dist/icons/components/car-parameters-icons/Cylinders.js +35 -33
  732. package/dist/icons/components/car-parameters-icons/Dimensions.js +32 -30
  733. package/dist/icons/components/car-parameters-icons/EngineType.js +21 -19
  734. package/dist/icons/components/car-parameters-icons/FuelConsumption.js +21 -19
  735. package/dist/icons/components/car-parameters-icons/GearType.js +24 -22
  736. package/dist/icons/components/car-parameters-icons/LiftingHeight.js +21 -19
  737. package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +23 -21
  738. package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +23 -21
  739. package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +21 -19
  740. package/dist/icons/components/car-parameters-icons/TrailerType.js +30 -28
  741. package/dist/icons/components/car-parameters-icons/UnloadingType.js +30 -28
  742. package/dist/icons/components/car-parameters-icons/Weight.js +34 -32
  743. package/dist/icons/components/car-parameters-icons/WheelDriveType.js +30 -28
  744. package/dist/icons/components/car-parameters-icons/WheelSheme.js +32 -30
  745. package/dist/icons/components/cars-stubus/Bike.js +23 -21
  746. package/dist/icons/components/cars-stubus/Car.js +23 -21
  747. package/dist/icons/components/cars-stubus/Equipment.js +23 -21
  748. package/dist/icons/components/cars-stubus/Truck.js +23 -21
  749. package/dist/icons/components/index.js +579 -579
  750. package/dist/icons/index.js +2 -2
  751. package/dist/index-CweZ_OcN.js +65 -0
  752. package/dist/index-FDVpKRvA.js +2010 -0
  753. package/dist/index.js +158 -158
  754. package/dist/keyboard-B256ZoM-.js +745 -0
  755. package/dist/label-P7Xsi5N7.js +172 -0
  756. package/dist/open-closed-CbXq00et.js +93 -0
  757. package/dist/styles.module-B9L4B63y.js +40 -0
  758. package/dist/use-active-press-B6yeSopF.js +31 -0
  759. package/dist/use-by-comparator-BUO78DGe.js +16 -0
  760. package/dist/use-resolve-button-type-B6LE6gU3.js +19 -0
  761. package/dist/utils/UUID4.js +4 -4
  762. package/dist/utils/formating/Date.js +27 -19
  763. package/dist/utils/formating/FileSize.js +12 -9
  764. package/dist/utils/formating/Month.js +5 -4
  765. package/dist/utils/formating/Numbers.js +5 -5
  766. package/dist/utils/index.js +14 -14
  767. package/dist/variant.module-BinTBzAV.js +15 -0
  768. package/package.json +1 -1
  769. package/dist/Input-BQldEv37.js +0 -198
  770. package/dist/ProgressBar-C0dC7o7N.js +0 -55
  771. package/dist/bugs-diTMAGNw.js +0 -18
  772. package/dist/field-FJ34aSs4.js +0 -12
  773. package/dist/focus-management-XwV-9qkO.js +0 -77
  774. package/dist/hidden-DbgtYPOH.js +0 -13
  775. package/dist/index-DIxK0V-G.js +0 -44
  776. package/dist/index-DzVMAmli.js +0 -1431
  777. package/dist/keyboard-B0lm_zyn.js +0 -573
  778. package/dist/label-y3ANLTNC.js +0 -171
  779. package/dist/open-closed-Cy6VDfYc.js +0 -93
  780. package/dist/styles.module-CaPkyXYQ.js +0 -25
  781. package/dist/use-active-press-86hajhdd.js +0 -31
  782. package/dist/use-by-comparator-CVuf9KBq.js +0 -16
  783. package/dist/use-resolve-button-type-BAxjHhds.js +0 -19
  784. package/dist/variant.module-BXn4N1h0.js +0 -12
@@ -1,281 +1,299 @@
1
- import { jsxs as K, jsx as A } from "react/jsx-runtime";
2
- import { c as _e } from "../../index-DIxK0V-G.js";
3
- import * as C from "react";
4
- import M, { useRef as G, useState as se, createContext as le, useReducer as we, useMemo as N, useId as oe, useContext as ie, forwardRef as ke, useEffect as ne } from "react";
5
- import { ETabTrailSize as Ee } from "./constants.js";
6
- import { TabButtons as ye } from "./TabButtons/TabButtons.js";
7
- import { NotificationBadge as Fe } from "../NotificationBadge/NotificationBadge.js";
8
- import { n as q, M as ae, W as z, s as j, y as V, o as S, H as W, $ as ue, b as Ae, D as ce, a as U, u as Se, c as h, t as Ne } from "../../keyboard-B0lm_zyn.js";
9
- import { w as Re } from "../../use-active-press-86hajhdd.js";
10
- import { T as De } from "../../use-resolve-button-type-BAxjHhds.js";
11
- import { T as de, s as Me } from "../../hidden-DbgtYPOH.js";
12
- import { _ as B, T as J, P as D, F as T } from "../../focus-management-XwV-9qkO.js";
13
- import '../../assets/TabTrail.css';function Ce() {
14
- let e = G(!1);
15
- return q(() => (e.current = !0, () => {
16
- e.current = !1;
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { c as classNames } from "../../index-CweZ_OcN.js";
3
+ import * as React from "react";
4
+ import React__default, { useRef, useState, createContext, useReducer, useMemo, useId, useContext, forwardRef, useEffect } from "react";
5
+ import { ETabTrailSize } from "./constants.js";
6
+ import { TabButtons } from "./TabButtons/TabButtons.js";
7
+ import { NotificationBadge } from "../NotificationBadge/NotificationBadge.js";
8
+ import { n, M, W, s as s$3, y, o, H, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, b as $6179b936705e76d3$export$ae780daf29e6d456, D, a as u, u as u$1, c as o$1, t } from "../../keyboard-B256ZoM-.js";
9
+ import { w } from "../../use-active-press-B6yeSopF.js";
10
+ import { T as T$1 } from "../../use-resolve-button-type-B6LE6gU3.js";
11
+ import { T, s as s$2 } from "../../hidden-BuVoeHNy.js";
12
+ import { _, T as T$2, P, F } from "../../focus-management-1rQPII7Z.js";
13
+ import '../../assets/TabTrail.css';function f$1() {
14
+ let e = useRef(false);
15
+ return n(() => (e.current = true, () => {
16
+ e.current = false;
17
17
  }), []), e;
18
18
  }
19
- function Le({ onFocus: e }) {
20
- let [t, n] = se(!0), r = Ce();
21
- return t ? M.createElement(de, { as: "button", type: "button", features: Me.Focusable, onFocus: (s) => {
22
- s.preventDefault();
23
- let l, o = 50;
24
- function i() {
25
- if (o-- <= 0) {
26
- l && cancelAnimationFrame(l);
19
+ function b({ onFocus: n2 }) {
20
+ let [r, o2] = useState(true), u2 = f$1();
21
+ return r ? React__default.createElement(T, { as: "button", type: "button", features: s$2.Focusable, onFocus: (a2) => {
22
+ a2.preventDefault();
23
+ let e, i = 50;
24
+ function t2() {
25
+ if (i-- <= 0) {
26
+ e && cancelAnimationFrame(e);
27
27
  return;
28
28
  }
29
- if (e()) {
30
- if (cancelAnimationFrame(l), !r.current) return;
31
- n(!1);
29
+ if (n2()) {
30
+ if (cancelAnimationFrame(e), !u2.current) return;
31
+ o2(false);
32
32
  return;
33
33
  }
34
- l = requestAnimationFrame(i);
34
+ e = requestAnimationFrame(t2);
35
35
  }
36
- l = requestAnimationFrame(i);
36
+ e = requestAnimationFrame(t2);
37
37
  } }) : null;
38
38
  }
39
- const fe = C.createContext(null);
40
- function Oe() {
41
- return { groups: /* @__PURE__ */ new Map(), get(e, t) {
42
- var n;
43
- let r = this.groups.get(e);
44
- r || (r = /* @__PURE__ */ new Map(), this.groups.set(e, r));
45
- let s = (n = r.get(t)) != null ? n : 0;
46
- r.set(t, s + 1);
47
- let l = Array.from(r.keys()).indexOf(t);
48
- function o() {
49
- let i = r.get(t);
50
- i > 1 ? r.set(t, i - 1) : r.delete(t);
39
+ const s$1 = React.createContext(null);
40
+ function a() {
41
+ return { groups: /* @__PURE__ */ new Map(), get(o2, e) {
42
+ var i;
43
+ let t2 = this.groups.get(o2);
44
+ t2 || (t2 = /* @__PURE__ */ new Map(), this.groups.set(o2, t2));
45
+ let n2 = (i = t2.get(e)) != null ? i : 0;
46
+ t2.set(e, n2 + 1);
47
+ let r = Array.from(t2.keys()).indexOf(e);
48
+ function u2() {
49
+ let c = t2.get(e);
50
+ c > 1 ? t2.set(e, c - 1) : t2.delete(e);
51
51
  }
52
- return [l, o];
52
+ return [r, u2];
53
53
  } };
54
54
  }
55
- function Be({ children: e }) {
56
- let t = C.useRef(Oe());
57
- return C.createElement(fe.Provider, { value: t }, e);
55
+ function f({ children: o2 }) {
56
+ let e = React.useRef(a());
57
+ return React.createElement(s$1.Provider, { value: e }, o2);
58
58
  }
59
- function pe(e) {
60
- let t = C.useContext(fe);
61
- if (!t) throw new Error("You must wrap your component in a <StableCollection>");
62
- let n = C.useId(), [r, s] = t.current.get(e, n);
63
- return C.useEffect(() => s, []), r;
59
+ function C$1(o2) {
60
+ let e = React.useContext(s$1);
61
+ if (!e) throw new Error("You must wrap your component in a <StableCollection>");
62
+ let t2 = React.useId(), [n2, r] = e.current.get(o2, t2);
63
+ return React.useEffect(() => r, []), n2;
64
64
  }
65
- var Ue = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Ue || {}), Ge = ((e) => (e[e.Less = -1] = "Less", e[e.Equal = 0] = "Equal", e[e.Greater = 1] = "Greater", e))(Ge || {}), qe = ((e) => (e[e.SetSelectedIndex = 0] = "SetSelectedIndex", e[e.RegisterTab = 1] = "RegisterTab", e[e.UnregisterTab = 2] = "UnregisterTab", e[e.RegisterPanel = 3] = "RegisterPanel", e[e.UnregisterPanel = 4] = "UnregisterPanel", e))(qe || {});
66
- let ze = { 0(e, t) {
67
- var n;
68
- let r = B(e.tabs, (c) => c.current), s = B(e.panels, (c) => c.current), l = r.filter((c) => {
69
- var b;
70
- return !((b = c.current) != null && b.hasAttribute("disabled"));
71
- }), o = { ...e, tabs: r, panels: s };
72
- if (t.index < 0 || t.index > r.length - 1) {
73
- let c = U(Math.sign(t.index - e.selectedIndex), { [-1]: () => 1, 0: () => U(Math.sign(t.index), { [-1]: () => 0, 0: () => 0, 1: () => 1 }), 1: () => 0 });
74
- if (l.length === 0) return o;
75
- let b = U(c, { 0: () => r.indexOf(l[0]), 1: () => r.indexOf(l[l.length - 1]) });
76
- return { ...o, selectedIndex: b === -1 ? e.selectedIndex : b };
65
+ var Ae = ((t2) => (t2[t2.Forwards = 0] = "Forwards", t2[t2.Backwards = 1] = "Backwards", t2))(Ae || {}), Ee = ((o2) => (o2[o2.Less = -1] = "Less", o2[o2.Equal = 0] = "Equal", o2[o2.Greater = 1] = "Greater", o2))(Ee || {}), Re = ((n2) => (n2[n2.SetSelectedIndex = 0] = "SetSelectedIndex", n2[n2.RegisterTab = 1] = "RegisterTab", n2[n2.UnregisterTab = 2] = "UnregisterTab", n2[n2.RegisterPanel = 3] = "RegisterPanel", n2[n2.UnregisterPanel = 4] = "UnregisterPanel", n2))(Re || {});
66
+ let Le = { [0](e, r) {
67
+ var c;
68
+ let t2 = _(e.tabs, (T2) => T2.current), o2 = _(e.panels, (T2) => T2.current), a2 = t2.filter((T2) => {
69
+ var d;
70
+ return !((d = T2.current) != null && d.hasAttribute("disabled"));
71
+ }), n2 = { ...e, tabs: t2, panels: o2 };
72
+ if (r.index < 0 || r.index > t2.length - 1) {
73
+ let T2 = u(Math.sign(r.index - e.selectedIndex), { [-1]: () => 1, [0]: () => u(Math.sign(r.index), { [-1]: () => 0, [0]: () => 0, [1]: () => 1 }), [1]: () => 0 });
74
+ if (a2.length === 0) return n2;
75
+ let d = u(T2, { [0]: () => t2.indexOf(a2[0]), [1]: () => t2.indexOf(a2[a2.length - 1]) });
76
+ return { ...n2, selectedIndex: d === -1 ? e.selectedIndex : d };
77
77
  }
78
- let i = r.slice(0, t.index), m = [...r.slice(t.index), ...i].find((c) => l.includes(c));
79
- if (!m) return o;
80
- let p = (n = r.indexOf(m)) != null ? n : e.selectedIndex;
81
- return p === -1 && (p = e.selectedIndex), { ...o, selectedIndex: p };
82
- }, 1(e, t) {
83
- if (e.tabs.includes(t.tab)) return e;
84
- let n = e.tabs[e.selectedIndex], r = B([...e.tabs, t.tab], (l) => l.current), s = e.selectedIndex;
85
- return e.info.current.isControlled || (s = r.indexOf(n), s === -1 && (s = e.selectedIndex)), { ...e, tabs: r, selectedIndex: s };
86
- }, 2(e, t) {
87
- return { ...e, tabs: e.tabs.filter((n) => n !== t.tab) };
88
- }, 3(e, t) {
89
- return e.panels.includes(t.panel) ? e : { ...e, panels: B([...e.panels, t.panel], (n) => n.current) };
90
- }, 4(e, t) {
91
- return { ...e, panels: e.panels.filter((n) => n !== t.panel) };
92
- } }, Q = le(null);
93
- Q.displayName = "TabsDataContext";
94
- function L(e) {
95
- let t = ie(Q);
96
- if (t === null) {
97
- let n = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
98
- throw Error.captureStackTrace && Error.captureStackTrace(n, L), n;
78
+ let u$12 = t2.slice(0, r.index), x = [...t2.slice(r.index), ...u$12].find((T2) => a2.includes(T2));
79
+ if (!x) return n2;
80
+ let f2 = (c = t2.indexOf(x)) != null ? c : e.selectedIndex;
81
+ return f2 === -1 && (f2 = e.selectedIndex), { ...n2, selectedIndex: f2 };
82
+ }, [1](e, r) {
83
+ if (e.tabs.includes(r.tab)) return e;
84
+ let t2 = e.tabs[e.selectedIndex], o2 = _([...e.tabs, r.tab], (n2) => n2.current), a2 = e.selectedIndex;
85
+ return e.info.current.isControlled || (a2 = o2.indexOf(t2), a2 === -1 && (a2 = e.selectedIndex)), { ...e, tabs: o2, selectedIndex: a2 };
86
+ }, [2](e, r) {
87
+ return { ...e, tabs: e.tabs.filter((t2) => t2 !== r.tab) };
88
+ }, [3](e, r) {
89
+ return e.panels.includes(r.panel) ? e : { ...e, panels: _([...e.panels, r.panel], (t2) => t2.current) };
90
+ }, [4](e, r) {
91
+ return { ...e, panels: e.panels.filter((t2) => t2 !== r.panel) };
92
+ } }, z = createContext(null);
93
+ z.displayName = "TabsDataContext";
94
+ function C(e) {
95
+ let r = useContext(z);
96
+ if (r === null) {
97
+ let t2 = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
98
+ throw Error.captureStackTrace && Error.captureStackTrace(t2, C), t2;
99
99
  }
100
- return t;
100
+ return r;
101
101
  }
102
- let X = le(null);
103
- X.displayName = "TabsActionsContext";
104
- function Z(e) {
105
- let t = ie(X);
106
- if (t === null) {
107
- let n = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
108
- throw Error.captureStackTrace && Error.captureStackTrace(n, Z), n;
102
+ let V = createContext(null);
103
+ V.displayName = "TabsActionsContext";
104
+ function Q(e) {
105
+ let r = useContext(V);
106
+ if (r === null) {
107
+ let t2 = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
108
+ throw Error.captureStackTrace && Error.captureStackTrace(t2, Q), t2;
109
109
  }
110
- return t;
110
+ return r;
111
111
  }
112
- function Ve(e, t) {
113
- return U(t.type, ze, e, t);
112
+ function _e(e, r) {
113
+ return u(r.type, Le, e, r);
114
114
  }
115
- let We = "div";
116
- function He(e, t) {
117
- let { defaultIndex: n = 0, vertical: r = !1, manual: s = !1, onChange: l, selectedIndex: o = null, ...i } = e;
118
- const m = r ? "vertical" : "horizontal", p = s ? "manual" : "auto";
119
- let c = o !== null, b = j({ isControlled: c }), _ = V(t), [a, u] = we(Ve, { info: b, selectedIndex: o ?? n, tabs: [], panels: [] }), w = N(() => ({ selectedIndex: a.selectedIndex }), [a.selectedIndex]), x = j(l || (() => {
120
- })), k = j(a.tabs), g = N(() => ({ orientation: m, activation: p, ...a }), [m, p, a]), v = S((f) => (u({ type: 1, tab: f }), () => u({ type: 2, tab: f }))), E = S((f) => (u({ type: 3, panel: f }), () => u({ type: 4, panel: f }))), y = S((f) => {
121
- F.current !== f && x.current(f), c || u({ type: 0, index: f });
122
- }), F = j(c ? e.selectedIndex : a.selectedIndex), O = N(() => ({ registerTab: v, registerPanel: E, change: y }), []);
123
- q(() => {
124
- u({ type: 0, index: o ?? n });
125
- }, [o]), q(() => {
126
- if (F.current === void 0 || a.tabs.length <= 0) return;
127
- let f = B(a.tabs, (P) => P.current);
128
- f.some((P, R) => a.tabs[R] !== P) && y(f.indexOf(a.tabs[F.current]));
115
+ let De = "div";
116
+ function Se(e, r) {
117
+ let { defaultIndex: t2 = 0, vertical: o$12 = false, manual: a2 = false, onChange: n$1, selectedIndex: u2 = null, ..._$1 } = e;
118
+ const x = o$12 ? "vertical" : "horizontal", f$12 = a2 ? "manual" : "auto";
119
+ let c = u2 !== null, T2 = s$3({ isControlled: c }), d = y(r), [i, s2] = useReducer(_e, { info: T2, selectedIndex: u2 != null ? u2 : t2, tabs: [], panels: [] }), F2 = useMemo(() => ({ selectedIndex: i.selectedIndex }), [i.selectedIndex]), M2 = s$3(n$1 || (() => {
120
+ })), b$1 = s$3(i.tabs), m2 = useMemo(() => ({ orientation: x, activation: f$12, ...i }), [x, f$12, i]), E = o((p) => (s2({ type: 1, tab: p }), () => s2({ type: 2, tab: p }))), I = o((p) => (s2({ type: 3, panel: p }), () => s2({ type: 4, panel: p }))), g = o((p) => {
121
+ R.current !== p && M2.current(p), c || s2({ type: 0, index: p });
122
+ }), R = s$3(c ? e.selectedIndex : i.selectedIndex), J = useMemo(() => ({ registerTab: E, registerPanel: I, change: g }), []);
123
+ n(() => {
124
+ s2({ type: 0, index: u2 != null ? u2 : t2 });
125
+ }, [u2]), n(() => {
126
+ if (R.current === void 0 || i.tabs.length <= 0) return;
127
+ let p = _(i.tabs, (L) => L.current);
128
+ p.some((L, B) => i.tabs[B] !== L) && g(p.indexOf(i.tabs[R.current]));
129
129
  });
130
- let Y = { ref: _ };
131
- return M.createElement(Be, null, M.createElement(X.Provider, { value: O }, M.createElement(Q.Provider, { value: g }, g.tabs.length <= 0 && M.createElement(Le, { onFocus: () => {
132
- var f, P;
133
- for (let R of k.current) if (((f = R.current) == null ? void 0 : f.tabIndex) === 0) return (P = R.current) == null || P.focus(), !0;
134
- return !1;
135
- } }), W({ ourProps: Y, theirProps: i, slot: w, defaultTag: We, name: "Tabs" }))));
130
+ let k = { ref: d };
131
+ return React__default.createElement(f, null, React__default.createElement(V.Provider, { value: J }, React__default.createElement(z.Provider, { value: m2 }, m2.tabs.length <= 0 && React__default.createElement(b, { onFocus: () => {
132
+ var p, h;
133
+ for (let L of b$1.current) if (((p = L.current) == null ? void 0 : p.tabIndex) === 0) return (h = L.current) == null || h.focus(), true;
134
+ return false;
135
+ } }), H({ ourProps: k, theirProps: _$1, slot: F2, defaultTag: De, name: "Tabs" }))));
136
136
  }
137
- let je = "div";
138
- function Je(e, t) {
139
- let { orientation: n, selectedIndex: r } = L("Tab.List"), s = V(t), l = N(() => ({ selectedIndex: r }), [r]);
140
- return W({ ourProps: { ref: s, role: "tablist", "aria-orientation": n }, theirProps: e, slot: l, defaultTag: je, name: "Tabs.List" });
137
+ let Fe = "div";
138
+ function Ie(e, r) {
139
+ let { orientation: t2, selectedIndex: o2 } = C("Tab.List"), a2 = y(r), n2 = useMemo(() => ({ selectedIndex: o2 }), [o2]);
140
+ return H({ ourProps: { ref: a2, role: "tablist", "aria-orientation": t2 }, theirProps: e, slot: n2, defaultTag: Fe, name: "Tabs.List" });
141
141
  }
142
- let Ye = "button";
143
- function Ke(e, t) {
144
- var n, r;
145
- let s = oe(), { id: l = `headlessui-tabs-tab-${s}`, disabled: o = !1, autoFocus: i = !1, ...m } = e, { orientation: p, activation: c, selectedIndex: b, tabs: _, panels: a } = L("Tab"), u = Z("Tab"), w = L("Tab"), x = G(null), k = V(x, t);
146
- q(() => u.registerTab(x), [u, x]);
147
- let g = pe("tabs"), v = _.indexOf(x);
148
- v === -1 && (v = g);
149
- let E = v === b, y = S((d) => {
150
- var $;
151
- let H = d();
152
- if (H === J.Success && c === "auto") {
153
- let Pe = ($ = Se(x)) == null ? void 0 : $.activeElement, re = w.tabs.findIndex(($e) => $e.current === Pe);
154
- re !== -1 && u.change(re);
142
+ let he = "button";
143
+ function ve(e, r) {
144
+ var Y, Z;
145
+ let t$1 = useId(), { id: o$2 = `headlessui-tabs-tab-${t$1}`, disabled: a2 = false, autoFocus: n$1 = false, ...u$2 } = e, { orientation: _2, activation: x, selectedIndex: f2, tabs: c, panels: T2 } = C("Tab"), d = Q("Tab"), i = C("Tab"), s2 = useRef(null), F$1 = y(s2, r);
146
+ n(() => d.registerTab(s2), [d, s2]);
147
+ let M2 = C$1("tabs"), b2 = c.indexOf(s2);
148
+ b2 === -1 && (b2 = M2);
149
+ let m2 = b2 === f2, E = o((l) => {
150
+ var X;
151
+ let A = l();
152
+ if (A === T$2.Success && x === "auto") {
153
+ let $ = (X = u$1(s2)) == null ? void 0 : X.activeElement, ee = i.tabs.findIndex((Te) => Te.current === $);
154
+ ee !== -1 && d.change(ee);
155
155
  }
156
- return H;
157
- }), F = S((d) => {
158
- let $ = _.map((H) => H.current).filter(Boolean);
159
- if (d.key === h.Space || d.key === h.Enter) {
160
- d.preventDefault(), d.stopPropagation(), u.change(v);
156
+ return A;
157
+ }), I = o((l) => {
158
+ let A = c.map(($) => $.current).filter(Boolean);
159
+ if (l.key === o$1.Space || l.key === o$1.Enter) {
160
+ l.preventDefault(), l.stopPropagation(), d.change(b2);
161
161
  return;
162
162
  }
163
- switch (d.key) {
164
- case h.Home:
165
- case h.PageUp:
166
- return d.preventDefault(), d.stopPropagation(), y(() => D($, T.First));
167
- case h.End:
168
- case h.PageDown:
169
- return d.preventDefault(), d.stopPropagation(), y(() => D($, T.Last));
163
+ switch (l.key) {
164
+ case o$1.Home:
165
+ case o$1.PageUp:
166
+ return l.preventDefault(), l.stopPropagation(), E(() => P(A, F.First));
167
+ case o$1.End:
168
+ case o$1.PageDown:
169
+ return l.preventDefault(), l.stopPropagation(), E(() => P(A, F.Last));
170
170
  }
171
- if (y(() => U(p, { vertical() {
172
- return d.key === h.ArrowUp ? D($, T.Previous | T.WrapAround) : d.key === h.ArrowDown ? D($, T.Next | T.WrapAround) : J.Error;
171
+ if (E(() => u(_2, { vertical() {
172
+ return l.key === o$1.ArrowUp ? P(A, F.Previous | F.WrapAround) : l.key === o$1.ArrowDown ? P(A, F.Next | F.WrapAround) : T$2.Error;
173
173
  }, horizontal() {
174
- return d.key === h.ArrowLeft ? D($, T.Previous | T.WrapAround) : d.key === h.ArrowRight ? D($, T.Next | T.WrapAround) : J.Error;
175
- } })) === J.Success) return d.preventDefault();
176
- }), O = G(!1), Y = S(() => {
177
- var d;
178
- O.current || (O.current = !0, (d = x.current) == null || d.focus({ preventScroll: !0 }), u.change(v), Ne(() => {
179
- O.current = !1;
174
+ return l.key === o$1.ArrowLeft ? P(A, F.Previous | F.WrapAround) : l.key === o$1.ArrowRight ? P(A, F.Next | F.WrapAround) : T$2.Error;
175
+ } })) === T$2.Success) return l.preventDefault();
176
+ }), g = useRef(false), R = o(() => {
177
+ var l;
178
+ g.current || (g.current = true, (l = s2.current) == null || l.focus({ preventScroll: true }), d.change(b2), t(() => {
179
+ g.current = false;
180
180
  }));
181
- }), f = S((d) => {
182
- d.preventDefault();
183
- }), { isFocusVisible: P, focusProps: R } = ue({ autoFocus: i }), { isHovered: ee, hoverProps: ge } = Ae({ isDisabled: o }), { pressed: te, pressProps: he } = Re({ disabled: o }), Te = N(() => ({ selected: E, hover: ee, active: te, focus: P, autofocus: i, disabled: o }), [E, ee, P, te, i, o]), Ie = ce({ ref: k, onKeyDown: F, onMouseDown: f, onClick: Y, id: l, role: "tab", type: De(e, x), "aria-controls": (r = (n = a[v]) == null ? void 0 : n.current) == null ? void 0 : r.id, "aria-selected": E, tabIndex: E ? 0 : -1, disabled: o || void 0, autoFocus: i }, R, ge, he);
184
- return W({ ourProps: Ie, theirProps: m, slot: Te, defaultTag: Ye, name: "Tabs.Tab" });
181
+ }), J = o((l) => {
182
+ l.preventDefault();
183
+ }), { isFocusVisible: k, focusProps: p } = $f7dceffc5ad7768b$export$4e328f61c538687f({ autoFocus: n$1 }), { isHovered: h, hoverProps: L } = $6179b936705e76d3$export$ae780daf29e6d456({ isDisabled: a2 }), { pressed: B, pressProps: ie } = w({ disabled: a2 }), pe = useMemo(() => ({ selected: m2, hover: h, active: B, focus: k, autofocus: n$1, disabled: a2 }), [m2, h, k, B, n$1, a2]), ue = D({ ref: F$1, onKeyDown: I, onMouseDown: J, onClick: R, id: o$2, role: "tab", type: T$1(e, s2), "aria-controls": (Z = (Y = T2[b2]) == null ? void 0 : Y.current) == null ? void 0 : Z.id, "aria-selected": m2, tabIndex: m2 ? 0 : -1, disabled: a2 || void 0, autoFocus: n$1 }, p, L, ie);
184
+ return H({ ourProps: ue, theirProps: u$2, slot: pe, defaultTag: he, name: "Tabs.Tab" });
185
185
  }
186
- let Qe = "div";
187
- function Xe(e, t) {
188
- let { selectedIndex: n } = L("Tab.Panels"), r = V(t), s = N(() => ({ selectedIndex: n }), [n]);
189
- return W({ ourProps: { ref: r }, theirProps: e, slot: s, defaultTag: Qe, name: "Tabs.Panels" });
186
+ let Ce = "div";
187
+ function Me(e, r) {
188
+ let { selectedIndex: t2 } = C("Tab.Panels"), o2 = y(r), a2 = useMemo(() => ({ selectedIndex: t2 }), [t2]);
189
+ return H({ ourProps: { ref: o2 }, theirProps: e, slot: a2, defaultTag: Ce, name: "Tabs.Panels" });
190
190
  }
191
- let Ze = "div", et = ae.RenderStrategy | ae.Static;
192
- function tt(e, t) {
193
- var n, r, s, l;
194
- let o = oe(), { id: i = `headlessui-tabs-panel-${o}`, tabIndex: m = 0, ...p } = e, { selectedIndex: c, tabs: b, panels: _ } = L("Tab.Panel"), a = Z("Tab.Panel"), u = G(null), w = V(u, t);
195
- q(() => a.registerPanel(u), [a, u]);
196
- let x = pe("panels"), k = _.indexOf(u);
197
- k === -1 && (k = x);
198
- let g = k === c, { isFocusVisible: v, focusProps: E } = ue(), y = N(() => ({ selected: g, focus: v }), [g, v]), F = ce({ ref: w, id: i, role: "tabpanel", "aria-labelledby": (r = (n = b[k]) == null ? void 0 : n.current) == null ? void 0 : r.id, tabIndex: g ? m : -1 }, E);
199
- return !g && ((s = p.unmount) == null || s) && !((l = p.static) != null && l) ? M.createElement(de, { "aria-hidden": "true", ...F }) : W({ ourProps: F, theirProps: p, slot: y, defaultTag: Ze, features: et, visible: g, name: "Tabs.Panel" });
191
+ let Ge = "div", Ue = M.RenderStrategy | M.Static;
192
+ function He(e, r) {
193
+ var E, I, g, R;
194
+ let t2 = useId(), { id: o2 = `headlessui-tabs-panel-${t2}`, tabIndex: a2 = 0, ...n$1 } = e, { selectedIndex: u2, tabs: _2, panels: x } = C("Tab.Panel"), f2 = Q("Tab.Panel"), c = useRef(null), T$12 = y(c, r);
195
+ n(() => f2.registerPanel(c), [f2, c]);
196
+ let d = C$1("panels"), i = x.indexOf(c);
197
+ i === -1 && (i = d);
198
+ let s2 = i === u2, { isFocusVisible: F2, focusProps: M2 } = $f7dceffc5ad7768b$export$4e328f61c538687f(), b2 = useMemo(() => ({ selected: s2, focus: F2 }), [s2, F2]), m2 = D({ ref: T$12, id: o2, role: "tabpanel", "aria-labelledby": (I = (E = _2[i]) == null ? void 0 : E.current) == null ? void 0 : I.id, tabIndex: s2 ? a2 : -1 }, M2);
199
+ return !s2 && ((g = n$1.unmount) == null || g) && !((R = n$1.static) != null && R) ? React__default.createElement(T, { "aria-hidden": "true", ...m2 }) : H({ ourProps: m2, theirProps: n$1, slot: b2, defaultTag: Ge, features: Ue, visible: s2, name: "Tabs.Panel" });
200
200
  }
201
- let rt = z(Ke), be = z(He), me = z(Je), xe = z(Xe), ve = z(tt), nt = Object.assign(rt, { Group: be, List: me, Panels: xe, Panel: ve });
202
- const at = "_container_rlke5_2", st = "_group_rlke5_6", lt = "_tab_rlke5_16", ot = "_list_rlke5_51", it = "_tabs_rlke5_62", ut = "_buttons_rlke5_68", ct = "_m_rlke5_75", dt = "_s_rlke5_83", I = {
203
- container: at,
204
- group: st,
201
+ let we = W(ve), Oe = W(Se), Ne = W(Ie), ke = W(Me), Be = W(He), st = Object.assign(we, { Group: Oe, List: Ne, Panels: ke, Panel: Be });
202
+ const container = "_container_rlke5_2";
203
+ const group = "_group_rlke5_6";
204
+ const tab = "_tab_rlke5_16";
205
+ const list = "_list_rlke5_51";
206
+ const tabs = "_tabs_rlke5_62";
207
+ const buttons = "_buttons_rlke5_68";
208
+ const m = "_m_rlke5_75";
209
+ const s = "_s_rlke5_83";
210
+ const cls = {
211
+ container,
212
+ group,
205
213
  "group-inner": "_group-inner_rlke5_9",
206
- tab: lt,
207
- list: ot,
208
- tabs: it,
209
- buttons: ut,
210
- m: ct,
211
- s: dt
212
- }, $t = ke(
214
+ tab,
215
+ list,
216
+ tabs,
217
+ buttons,
218
+ m,
219
+ s
220
+ };
221
+ const TabTrail = forwardRef(
213
222
  ({
214
- categories: e,
215
- size: t = Ee.M,
216
- showButtons: n = !0,
217
- className: r,
218
- selectedTabIndex: s,
219
- onTabChange: l
220
- }, o) => {
221
- const [i, m] = se(s || 0), p = G(null);
222
- ne(() => {
223
- s !== void 0 && s !== i && m(s);
224
- }, [i, s]);
225
- const c = (a) => {
226
- m(a), l == null || l(a);
227
- }, b = () => {
228
- const a = (i + 1) % e.length;
229
- c(a);
230
- }, _ = () => {
231
- const a = (i - 1 + e.length) % e.length;
232
- c(a);
223
+ categories,
224
+ size = ETabTrailSize.M,
225
+ showButtons = true,
226
+ className,
227
+ selectedTabIndex,
228
+ onTabChange
229
+ }, ref) => {
230
+ const [activeIndex, setActiveIndex] = useState(selectedTabIndex || 0);
231
+ const tabListRef = useRef(null);
232
+ useEffect(() => {
233
+ if (selectedTabIndex !== void 0 && selectedTabIndex !== activeIndex) {
234
+ setActiveIndex(selectedTabIndex);
235
+ }
236
+ }, [activeIndex, selectedTabIndex]);
237
+ const handleTabChange = (index) => {
238
+ setActiveIndex(index);
239
+ onTabChange == null ? void 0 : onTabChange(index);
233
240
  };
234
- return ne(() => {
235
- var u;
236
- const a = (u = p.current) == null ? void 0 : u.querySelector(
237
- `.${I.tab}[data-active="true"]`
241
+ const handleNext = () => {
242
+ const newIndex = (activeIndex + 1) % categories.length;
243
+ handleTabChange(newIndex);
244
+ };
245
+ const handlePrev = () => {
246
+ const newIndex = (activeIndex - 1 + categories.length) % categories.length;
247
+ handleTabChange(newIndex);
248
+ };
249
+ useEffect(() => {
250
+ var _a;
251
+ const activeTab = (_a = tabListRef.current) == null ? void 0 : _a.querySelector(
252
+ `.${cls.tab}[data-active="true"]`
238
253
  );
239
- a && typeof a.scrollIntoView == "function" && a.scrollIntoView({
240
- behavior: "smooth",
241
- block: "nearest",
242
- inline: "center"
243
- });
244
- }, [i]), /* @__PURE__ */ K(
245
- be,
254
+ if (activeTab && typeof activeTab.scrollIntoView === "function") {
255
+ activeTab.scrollIntoView({
256
+ behavior: "smooth",
257
+ block: "nearest",
258
+ inline: "center"
259
+ });
260
+ }
261
+ }, [activeIndex]);
262
+ return /* @__PURE__ */ jsxs(
263
+ Oe,
246
264
  {
247
- ref: o,
248
- className: _e(I.group, I[t], r),
249
- selectedIndex: i,
250
- onChange: c,
265
+ ref,
266
+ className: classNames(cls.group, cls[size], className),
267
+ selectedIndex: activeIndex,
268
+ onChange: handleTabChange,
251
269
  children: [
252
- /* @__PURE__ */ K("div", { className: I["group-inner"], children: [
253
- /* @__PURE__ */ A(me, { ref: p, className: I.list, children: /* @__PURE__ */ A("div", { className: I.tabs, children: e.map(({ name: a, notificationCount: u }, w) => /* @__PURE__ */ K(
254
- nt,
270
+ /* @__PURE__ */ jsxs("div", { className: cls["group-inner"], children: [
271
+ /* @__PURE__ */ jsx(Ne, { ref: tabListRef, className: cls.list, children: /* @__PURE__ */ jsx("div", { className: cls.tabs, children: categories.map(({ name, notificationCount }, index) => /* @__PURE__ */ jsxs(
272
+ st,
255
273
  {
256
- className: `${I.tab} ${i === w ? 'data-active="true"' : ""}`,
257
- "data-active": i === w,
274
+ className: `${cls.tab} ${activeIndex === index ? 'data-active="true"' : ""}`,
275
+ "data-active": activeIndex === index,
258
276
  children: [
259
- a,
260
- u && /* @__PURE__ */ A(Fe, { count: u, size: "m" })
277
+ name,
278
+ notificationCount && /* @__PURE__ */ jsx(NotificationBadge, { count: notificationCount, size: "m" })
261
279
  ]
262
280
  },
263
- a
281
+ name
264
282
  )) }) }),
265
- n && /* @__PURE__ */ A("div", { className: I.buttons, children: /* @__PURE__ */ A(
266
- ye,
283
+ showButtons && /* @__PURE__ */ jsx("div", { className: cls.buttons, children: /* @__PURE__ */ jsx(
284
+ TabButtons,
267
285
  {
268
- handlePrevTab: _,
269
- handleNextTab: b
286
+ handlePrevTab: handlePrev,
287
+ handleNextTab: handleNext
270
288
  }
271
289
  ) })
272
290
  ] }),
273
- /* @__PURE__ */ A(xe, { className: I.panels, children: e.map(({ name: a, content: u }) => /* @__PURE__ */ A(ve, { className: I.panel, children: u }, a)) })
291
+ /* @__PURE__ */ jsx(ke, { className: cls.panels, children: categories.map(({ name, content }) => /* @__PURE__ */ jsx(Be, { className: cls.panel, children: content }, name)) })
274
292
  ]
275
293
  }
276
294
  );
277
295
  }
278
296
  );
279
297
  export {
280
- $t as TabTrail
298
+ TabTrail
281
299
  };
@@ -1,4 +1,8 @@
1
- var t = /* @__PURE__ */ ((r) => (r.M = "m", r.S = "s", r))(t || {});
1
+ var ETabTrailSize = /* @__PURE__ */ ((ETabTrailSize2) => {
2
+ ETabTrailSize2["M"] = "m";
3
+ ETabTrailSize2["S"] = "s";
4
+ return ETabTrailSize2;
5
+ })(ETabTrailSize || {});
2
6
  export {
3
- t as ETabTrailSize
7
+ ETabTrailSize
4
8
  };
@@ -1,6 +1,6 @@
1
- import { TabTrail as o } from "./TabTrail.js";
2
- import { ETabTrailSize as e } from "./constants.js";
1
+ import { TabTrail } from "./TabTrail.js";
2
+ import { ETabTrailSize } from "./constants.js";
3
3
  export {
4
- e as ETabTrailSize,
5
- o as TabTrail
4
+ ETabTrailSize,
5
+ TabTrail
6
6
  };