@profitliga/ui 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) hide show
  1. package/README.md +173 -0
  2. package/dist/WarningIcon-C653sPwG.js +404 -0
  3. package/dist/breakpoints.util-FHc0ZUGk.js +490 -0
  4. package/dist/components/Accordion/Accordion.stories.d.ts +10 -0
  5. package/dist/components/Accordion/AccordionContent.stories.d.ts +8 -0
  6. package/dist/components/Accordion/AccordionContent.vue.d.ts +22 -0
  7. package/dist/components/Accordion/AccordionHeader.stories.d.ts +7 -0
  8. package/dist/components/Accordion/AccordionHeader.vue.d.ts +19 -0
  9. package/dist/components/Accordion/AccordionItem.stories.d.ts +8 -0
  10. package/dist/components/Accordion/AccordionItem.vue.d.ts +21 -0
  11. package/dist/components/Accordion/AccordionRoot.vue.d.ts +23 -0
  12. package/dist/components/Accordion/AccordionTrigger.stories.d.ts +8 -0
  13. package/dist/components/Accordion/AccordionTrigger.vue.d.ts +26 -0
  14. package/dist/components/Accordion/index.d.ts +6 -0
  15. package/dist/components/Accordion/types.d.ts +37 -0
  16. package/dist/components/AlertDialog/AlertDialog.stories.d.ts +6 -0
  17. package/dist/components/AlertDialog/AlertDialogAction.vue.d.ts +29 -0
  18. package/dist/components/AlertDialog/AlertDialogCancel.vue.d.ts +29 -0
  19. package/dist/components/AlertDialog/AlertDialogContent.vue.d.ts +24 -0
  20. package/dist/components/AlertDialog/AlertDialogDescription.vue.d.ts +19 -0
  21. package/dist/components/AlertDialog/AlertDialogOverlay.vue.d.ts +4 -0
  22. package/dist/components/AlertDialog/AlertDialogPortal.vue.d.ts +19 -0
  23. package/dist/components/AlertDialog/AlertDialogRoot.vue.d.ts +23 -0
  24. package/dist/components/AlertDialog/AlertDialogTitle.vue.d.ts +19 -0
  25. package/dist/components/AlertDialog/AlertDialogTrigger.vue.d.ts +22 -0
  26. package/dist/components/AlertDialog/index.d.ts +10 -0
  27. package/dist/components/Badge/Badge.stories.d.ts +10 -0
  28. package/dist/components/Badge/Badge.vue.d.ts +8 -0
  29. package/dist/components/Badge/index.d.ts +2 -0
  30. package/dist/components/BottomSheet/BottomSheet.stories.d.ts +9 -0
  31. package/dist/components/BottomSheet/BottomSheet.vue.d.ts +298 -0
  32. package/dist/components/BottomSheet/index.d.ts +2 -0
  33. package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +7 -0
  34. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +11 -0
  35. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +7 -0
  36. package/dist/components/Breadcrumb/index.d.ts +2 -0
  37. package/dist/components/Button/Button.stories.d.ts +6 -0
  38. package/dist/components/Button/Button.types.d.ts +51 -0
  39. package/dist/components/Button/Button.vue.d.ts +19 -0
  40. package/dist/components/Button/index.d.ts +2 -0
  41. package/dist/components/Calendar/Calendar.stories.d.ts +15 -0
  42. package/dist/components/Calendar/CalendarCellTrigger.vue.d.ts +19 -0
  43. package/dist/components/Calendar/CalendarGrid.vue.d.ts +19 -0
  44. package/dist/components/Calendar/CalendarGridBody.vue.d.ts +19 -0
  45. package/dist/components/Calendar/CalendarGridRow.vue.d.ts +19 -0
  46. package/dist/components/Calendar/CalendarHeadCell.vue.d.ts +19 -0
  47. package/dist/components/Calendar/CalendarHeader.vue.d.ts +19 -0
  48. package/dist/components/Calendar/CalendarHeading.vue.d.ts +4 -0
  49. package/dist/components/Calendar/CalendarNext.vue.d.ts +14 -0
  50. package/dist/components/Calendar/CalendarPrev.vue.d.ts +14 -0
  51. package/dist/components/Calendar/CalendarRoot.types.d.ts +17 -0
  52. package/dist/components/Calendar/CalendarRoot.vue.d.ts +34 -0
  53. package/dist/components/Calendar/index.d.ts +12 -0
  54. package/dist/components/Checkbox/Checkbox.stories.d.ts +6 -0
  55. package/dist/components/Checkbox/Checkbox.vue.d.ts +49 -0
  56. package/dist/components/Checkbox/index.d.ts +3 -0
  57. package/dist/components/ChipCheckbox/ChipCheckbox.stories.d.ts +6 -0
  58. package/dist/components/ChipCheckbox/ChipCheckbox.vue.d.ts +15 -0
  59. package/dist/components/ChipCheckbox/index.d.ts +3 -0
  60. package/dist/components/Combobox/Combobox.stories.d.ts +6 -0
  61. package/dist/components/Combobox/ComboboxAnchor.vue.d.ts +24 -0
  62. package/dist/components/Combobox/ComboboxClear.vue.d.ts +7 -0
  63. package/dist/components/Combobox/ComboboxContent.vue.d.ts +21 -0
  64. package/dist/components/Combobox/ComboboxInput.vue.d.ts +8 -0
  65. package/dist/components/Combobox/ComboboxItem.vue.d.ts +22 -0
  66. package/dist/components/Combobox/ComboboxRoot.vue.d.ts +34 -0
  67. package/dist/components/Combobox/ComboboxTrigger.vue.d.ts +3 -0
  68. package/dist/components/Combobox/ComboboxViewport.vue.d.ts +19 -0
  69. package/dist/components/Combobox/index.d.ts +10 -0
  70. package/dist/components/ConfirmDialog/ConfirmDialog.stories.d.ts +9 -0
  71. package/dist/components/ConfirmDialog/ConfirmDialog.types.d.ts +19 -0
  72. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +13 -0
  73. package/dist/components/ConfirmDialog/confirmService.d.ts +7 -0
  74. package/dist/components/ConfirmDialog/index.d.ts +5 -0
  75. package/dist/components/ConfirmDialog/useConfirm.d.ts +4 -0
  76. package/dist/components/DataTable/DataTable.stories.d.ts +111 -0
  77. package/dist/components/DataTable/DataTable.types.d.ts +47 -0
  78. package/dist/components/DataTable/DataTable.vue.d.ts +26 -0
  79. package/dist/components/DataTable/components/DataTableBody.vue.d.ts +9 -0
  80. package/dist/components/DataTable/components/DataTableFooter.vue.d.ts +8 -0
  81. package/dist/components/DataTable/components/DataTableHead.vue.d.ts +9 -0
  82. package/dist/components/DataTable/components/DataTablePagination.vue.d.ts +22 -0
  83. package/dist/components/DataTable/index.d.ts +4 -0
  84. package/dist/components/DataTable/shared/mock/OrderStatus/OrderStatus.vue.d.ts +7 -0
  85. package/dist/components/DataTable/shared/mock/OrderStatus/constants.d.ts +9 -0
  86. package/dist/components/DataTable/shared/mock/OrderStatus/icons/accepted.vue.d.ts +3 -0
  87. package/dist/components/DataTable/shared/mock/OrderStatus/icons/approval.vue.d.ts +3 -0
  88. package/dist/components/DataTable/shared/mock/OrderStatus/icons/assembled.vue.d.ts +3 -0
  89. package/dist/components/DataTable/shared/mock/OrderStatus/icons/awaitingPayment.vue.d.ts +3 -0
  90. package/dist/components/DataTable/shared/mock/OrderStatus/icons/cancelled.vue.d.ts +3 -0
  91. package/dist/components/DataTable/shared/mock/OrderStatus/icons/complaint.vue.d.ts +3 -0
  92. package/dist/components/DataTable/shared/mock/OrderStatus/icons/confirmation.vue.d.ts +3 -0
  93. package/dist/components/DataTable/shared/mock/OrderStatus/icons/dedlineChanged.vue.d.ts +3 -0
  94. package/dist/components/DataTable/shared/mock/OrderStatus/icons/delayDelivery.vue.d.ts +3 -0
  95. package/dist/components/DataTable/shared/mock/OrderStatus/icons/documentsIssued.vue.d.ts +3 -0
  96. package/dist/components/DataTable/shared/mock/OrderStatus/icons/error.vue.d.ts +3 -0
  97. package/dist/components/DataTable/shared/mock/OrderStatus/icons/handedShipment.vue.d.ts +3 -0
  98. package/dist/components/DataTable/shared/mock/OrderStatus/icons/index.d.ts +26 -0
  99. package/dist/components/DataTable/shared/mock/OrderStatus/icons/orderSupplier.vue.d.ts +3 -0
  100. package/dist/components/DataTable/shared/mock/OrderStatus/icons/orderedSupplier.vue.d.ts +3 -0
  101. package/dist/components/DataTable/shared/mock/OrderStatus/icons/paid.vue.d.ts +3 -0
  102. package/dist/components/DataTable/shared/mock/OrderStatus/icons/readyPickup.vue.d.ts +3 -0
  103. package/dist/components/DataTable/shared/mock/OrderStatus/icons/readyShipment.vue.d.ts +3 -0
  104. package/dist/components/DataTable/shared/mock/OrderStatus/icons/receivedClient.vue.d.ts +3 -0
  105. package/dist/components/DataTable/shared/mock/OrderStatus/icons/reservedPayment.vue.d.ts +3 -0
  106. package/dist/components/DataTable/shared/mock/OrderStatus/icons/reservedShipment.vue.d.ts +3 -0
  107. package/dist/components/DataTable/shared/mock/OrderStatus/icons/returned.vue.d.ts +3 -0
  108. package/dist/components/DataTable/shared/mock/OrderStatus/icons/sentSupplier.vue.d.ts +3 -0
  109. package/dist/components/DataTable/shared/mock/OrderStatus/icons/transferAvailability.vue.d.ts +3 -0
  110. package/dist/components/DataTable/shared/mock/OrderStatus/icons/transferCustom.vue.d.ts +3 -0
  111. package/dist/components/DataTable/shared/mock/OrderStatus/icons/warning.vue.d.ts +3 -0
  112. package/dist/components/DataTable/shared/mock/mock-data.d.ts +102 -0
  113. package/dist/components/DatePicker/DatePicker.stories.d.ts +15 -0
  114. package/dist/components/DatePicker/DatePicker.types.d.ts +8 -0
  115. package/dist/components/DatePicker/DatePickerArrow.vue.d.ts +8 -0
  116. package/dist/components/DatePicker/DatePickerCellTrigger.vue.d.ts +19 -0
  117. package/dist/components/DatePicker/DatePickerContent.vue.d.ts +21 -0
  118. package/dist/components/DatePicker/DatePickerField.vue.d.ts +31 -0
  119. package/dist/components/DatePicker/DatePickerGridBody.vue.d.ts +19 -0
  120. package/dist/components/DatePicker/DatePickerGridRow.vue.d.ts +19 -0
  121. package/dist/components/DatePicker/DatePickerHeadCell.vue.d.ts +19 -0
  122. package/dist/components/DatePicker/DatePickerHeader.vue.d.ts +19 -0
  123. package/dist/components/DatePicker/DatePickerHeading.vue.d.ts +4 -0
  124. package/dist/components/DatePicker/DatePickerInput.vue.d.ts +19 -0
  125. package/dist/components/DatePicker/DatePickerNext.vue.d.ts +14 -0
  126. package/dist/components/DatePicker/DatePickerPrev.vue.d.ts +14 -0
  127. package/dist/components/DatePicker/DatePickerRoot.vue.d.ts +31 -0
  128. package/dist/components/DatePicker/DatePickerTrigger.vue.d.ts +19 -0
  129. package/dist/components/DatePicker/index.d.ts +16 -0
  130. package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +14 -0
  131. package/dist/components/DateRangePicker/DateRangePicker.types.d.ts +13 -0
  132. package/dist/components/DateRangePicker/DateRangePickerArrow.vue.d.ts +8 -0
  133. package/dist/components/DateRangePicker/DateRangePickerCalendar.vue.d.ts +28 -0
  134. package/dist/components/DateRangePicker/DateRangePickerCellTrigger.vue.d.ts +19 -0
  135. package/dist/components/DateRangePicker/DateRangePickerContent.vue.d.ts +21 -0
  136. package/dist/components/DateRangePicker/DateRangePickerField.vue.d.ts +9 -0
  137. package/dist/components/DateRangePicker/DateRangePickerGrid.vue.d.ts +18 -0
  138. package/dist/components/DateRangePicker/DateRangePickerGridBody.vue.d.ts +19 -0
  139. package/dist/components/DateRangePicker/DateRangePickerGridRow.vue.d.ts +19 -0
  140. package/dist/components/DateRangePicker/DateRangePickerHeadCell.vue.d.ts +19 -0
  141. package/dist/components/DateRangePicker/DateRangePickerHeader.vue.d.ts +19 -0
  142. package/dist/components/DateRangePicker/DateRangePickerHeading.vue.d.ts +4 -0
  143. package/dist/components/DateRangePicker/DateRangePickerInput.vue.d.ts +19 -0
  144. package/dist/components/DateRangePicker/DateRangePickerNext.vue.d.ts +10 -0
  145. package/dist/components/DateRangePicker/DateRangePickerPrev.vue.d.ts +10 -0
  146. package/dist/components/DateRangePicker/DateRangePickerRoot.vue.d.ts +33 -0
  147. package/dist/components/DateRangePicker/DateRangePickerTrigger.vue.d.ts +19 -0
  148. package/dist/components/DateRangePicker/index.d.ts +17 -0
  149. package/dist/components/Dialog/Dialog.stories.d.ts +8 -0
  150. package/dist/components/Dialog/DialogActions.vue.d.ts +18 -0
  151. package/dist/components/Dialog/DialogClose.vue.d.ts +3 -0
  152. package/dist/components/Dialog/DialogContent.vue.d.ts +51 -0
  153. package/dist/components/Dialog/DialogDescription.vue.d.ts +19 -0
  154. package/dist/components/Dialog/DialogOverlay.vue.d.ts +4 -0
  155. package/dist/components/Dialog/DialogTitle.vue.d.ts +19 -0
  156. package/dist/components/Dialog/index.d.ts +6 -0
  157. package/dist/components/Divider/Divider.stories.d.ts +8 -0
  158. package/dist/components/Divider/Divider.vue.d.ts +24 -0
  159. package/dist/components/Divider/index.d.ts +2 -0
  160. package/dist/components/Drawer/Drawer.stories.d.ts +9 -0
  161. package/dist/components/Drawer/DrawerContent.vue.d.ts +47 -0
  162. package/dist/components/Drawer/DrawerOverlay.vue.d.ts +18 -0
  163. package/dist/components/Drawer/DrawerPortal.vue.d.ts +18 -0
  164. package/dist/components/Drawer/DrawerRoot.vue.d.ts +23 -0
  165. package/dist/components/Drawer/DrawerTrigger.vue.d.ts +19 -0
  166. package/dist/components/Drawer/index.d.ts +6 -0
  167. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +12 -0
  168. package/dist/components/DropdownMenu/DropdownMenuArrow.vue.d.ts +8 -0
  169. package/dist/components/DropdownMenu/DropdownMenuContent.vue.d.ts +36 -0
  170. package/dist/components/DropdownMenu/DropdownMenuItem.vue.d.ts +23 -0
  171. package/dist/components/DropdownMenu/DropdownMenuSeparator.vue.d.ts +4 -0
  172. package/dist/components/DropdownMenu/DropdownMenuSubContent.vue.d.ts +40 -0
  173. package/dist/components/DropdownMenu/DropdownMenuSubTrigger.vue.d.ts +19 -0
  174. package/dist/components/DropdownMenu/index.d.ts +8 -0
  175. package/dist/components/File/File.stories.d.ts +8 -0
  176. package/dist/components/File/File.vue.d.ts +23 -0
  177. package/dist/components/File/index.d.ts +2 -0
  178. package/dist/components/FormField/FormField.stories.d.ts +6 -0
  179. package/dist/components/FormField/FormField.vue.d.ts +26 -0
  180. package/dist/components/FormField/index.d.ts +2 -0
  181. package/dist/components/Image/Image.stories.d.ts +8 -0
  182. package/dist/components/Image/Image.vue.d.ts +21 -0
  183. package/dist/components/Image/ImageModalProvider.vue.d.ts +18 -0
  184. package/dist/components/Image/index.d.ts +4 -0
  185. package/dist/components/Image/useImageModal.d.ts +17 -0
  186. package/dist/components/InputNumber/InputNumber.stories.d.ts +6 -0
  187. package/dist/components/InputNumber/InputNumber.types.d.ts +15 -0
  188. package/dist/components/InputNumber/InputNumber.vue.d.ts +14 -0
  189. package/dist/components/InputNumber/index.d.ts +2 -0
  190. package/dist/components/InputText/InputText.stories.d.ts +11 -0
  191. package/dist/components/InputText/InputText.types.d.ts +15 -0
  192. package/dist/components/InputText/InputText.vue.d.ts +39 -0
  193. package/dist/components/InputText/index.d.ts +3 -0
  194. package/dist/components/Label/Label.stories.d.ts +9 -0
  195. package/dist/components/Label/Label.vue.d.ts +19 -0
  196. package/dist/components/Label/index.d.ts +2 -0
  197. package/dist/components/ListBox/index.d.ts +2 -0
  198. package/dist/components/Message/Message.stories.d.ts +7 -0
  199. package/dist/components/Message/Message.vue.d.ts +48 -0
  200. package/dist/components/Message/index.d.ts +2 -0
  201. package/dist/components/OTPCode/OTPCode.stories.d.ts +15 -0
  202. package/dist/components/OTPCode/OTPCode.types.d.ts +9 -0
  203. package/dist/components/OTPCode/OTPCode.vue.d.ts +32 -0
  204. package/dist/components/OTPCode/index.d.ts +2 -0
  205. package/dist/components/OverlayBadge/OverlayBadge.stories.d.ts +6 -0
  206. package/dist/components/OverlayBadge/OverlayBadge.vue.d.ts +28 -0
  207. package/dist/components/OverlayBadge/index.d.ts +3 -0
  208. package/dist/components/Pagination/Pagination.stories.d.ts +10 -0
  209. package/dist/components/Pagination/Pagination.types.d.ts +9 -0
  210. package/dist/components/Pagination/PaginationEllipsis.vue.d.ts +4 -0
  211. package/dist/components/Pagination/PaginationFirst.vue.d.ts +4 -0
  212. package/dist/components/Pagination/PaginationLast.vue.d.ts +4 -0
  213. package/dist/components/Pagination/PaginationList.vue.d.ts +26 -0
  214. package/dist/components/Pagination/PaginationListItem.vue.d.ts +19 -0
  215. package/dist/components/Pagination/PaginationNext.vue.d.ts +4 -0
  216. package/dist/components/Pagination/PaginationPrev.vue.d.ts +4 -0
  217. package/dist/components/Pagination/index.d.ts +9 -0
  218. package/dist/components/Popover/Popover.stories.d.ts +9 -0
  219. package/dist/components/Popover/PopoverArrow.vue.d.ts +8 -0
  220. package/dist/components/Popover/PopoverContent.vue.d.ts +39 -0
  221. package/dist/components/Popover/index.d.ts +4 -0
  222. package/dist/components/RadioGroup/RadioGroup.stories.d.ts +11 -0
  223. package/dist/components/RadioGroup/RadioGroupItem.vue.d.ts +9 -0
  224. package/dist/components/RadioGroup/RadioGroupRoot.vue.d.ts +23 -0
  225. package/dist/components/RadioGroup/index.d.ts +3 -0
  226. package/dist/components/RangeCalendar/RangeCalendar.stories.d.ts +17 -0
  227. package/dist/components/RangeCalendar/RangeCalendar.types.d.ts +19 -0
  228. package/dist/components/RangeCalendar/RangeCalendar.vue.d.ts +15 -0
  229. package/dist/components/RangeCalendar/RangeCalendarCell.vue.d.ts +19 -0
  230. package/dist/components/RangeCalendar/RangeCalendarCellTrigger.vue.d.ts +19 -0
  231. package/dist/components/RangeCalendar/RangeCalendarGrid.vue.d.ts +19 -0
  232. package/dist/components/RangeCalendar/RangeCalendarGridBody.vue.d.ts +19 -0
  233. package/dist/components/RangeCalendar/RangeCalendarGridRow.vue.d.ts +19 -0
  234. package/dist/components/RangeCalendar/RangeCalendarHeadCell.vue.d.ts +19 -0
  235. package/dist/components/RangeCalendar/RangeCalendarHeader.vue.d.ts +19 -0
  236. package/dist/components/RangeCalendar/RangeCalendarHeading.vue.d.ts +4 -0
  237. package/dist/components/RangeCalendar/RangeCalendarNext.vue.d.ts +14 -0
  238. package/dist/components/RangeCalendar/RangeCalendarPrev.vue.d.ts +14 -0
  239. package/dist/components/RangeCalendar/RangeCalendarRoot.vue.d.ts +42 -0
  240. package/dist/components/RangeCalendar/index.d.ts +14 -0
  241. package/dist/components/Schedule/Schedule.stories.d.ts +6 -0
  242. package/dist/components/Schedule/Schedule.types.d.ts +8 -0
  243. package/dist/components/Schedule/Schedule.vue.d.ts +15 -0
  244. package/dist/components/Schedule/index.d.ts +3 -0
  245. package/dist/components/Schedule/timeUtils.d.ts +30 -0
  246. package/dist/components/ScheduleMobile/ScheduleMobile.stories.d.ts +6 -0
  247. package/dist/components/ScheduleMobile/ScheduleMobile.vue.d.ts +37 -0
  248. package/dist/components/ScheduleMobile/ScheduleMobileModal.vue.d.ts +13 -0
  249. package/dist/components/ScheduleMobile/index.d.ts +2 -0
  250. package/dist/components/ScrollArea/ScrollArea.stories.d.ts +10 -0
  251. package/dist/components/ScrollArea/ScrollAreaRoot.vue.d.ts +284 -0
  252. package/dist/components/ScrollArea/ScrollAreaScrollbar.vue.d.ts +4 -0
  253. package/dist/components/ScrollArea/ScrollAreaViewport.vue.d.ts +19 -0
  254. package/dist/components/ScrollArea/index.d.ts +4 -0
  255. package/dist/components/Select/Select.stories.d.ts +8 -0
  256. package/dist/components/Select/Select.types.d.ts +5 -0
  257. package/dist/components/Select/SelectContent.vue.d.ts +29 -0
  258. package/dist/components/Select/SelectItem.vue.d.ts +22 -0
  259. package/dist/components/Select/SelectRoot.vue.d.ts +26 -0
  260. package/dist/components/Select/SelectSeparator.vue.d.ts +4 -0
  261. package/dist/components/Select/SelectTrigger.vue.d.ts +25 -0
  262. package/dist/components/Select/SelectValue.vue.d.ts +27 -0
  263. package/dist/components/Select/SelectViewport.vue.d.ts +20 -0
  264. package/dist/components/Select/index.d.ts +9 -0
  265. package/dist/components/Skeleton/Skeleton.stories.d.ts +6 -0
  266. package/dist/components/Skeleton/Skeleton.vue.d.ts +10 -0
  267. package/dist/components/Skeleton/index.d.ts +3 -0
  268. package/dist/components/Spinner/Spinner.directive.d.ts +11 -0
  269. package/dist/components/Spinner/Spinner.stories.d.ts +11 -0
  270. package/dist/components/Spinner/Spinner.vue.d.ts +7 -0
  271. package/dist/components/Spinner/index.d.ts +3 -0
  272. package/dist/components/Stepper/Stepper.stories.d.ts +7 -0
  273. package/dist/components/Stepper/StepperIndicator.vue.d.ts +4 -0
  274. package/dist/components/Stepper/StepperItem.vue.d.ts +19 -0
  275. package/dist/components/Stepper/StepperRoot.vue.d.ts +449 -0
  276. package/dist/components/Stepper/StepperSeparator.vue.d.ts +4 -0
  277. package/dist/components/Stepper/index.d.ts +3 -0
  278. package/dist/components/Switch/Switch.stories.d.ts +11 -0
  279. package/dist/components/Switch/SwitchRoot.vue.d.ts +23 -0
  280. package/dist/components/Switch/SwitchThumb.vue.d.ts +4 -0
  281. package/dist/components/Switch/index.d.ts +3 -0
  282. package/dist/components/Tabs/Tabs.stories.d.ts +9 -0
  283. package/dist/components/Tabs/TabsList.vue.d.ts +19 -0
  284. package/dist/components/Tabs/TabsRoot.vue.d.ts +18 -0
  285. package/dist/components/Tabs/TabsTrigger.vue.d.ts +19 -0
  286. package/dist/components/Tabs/index.d.ts +5 -0
  287. package/dist/components/Tag/Tag.stories.d.ts +11 -0
  288. package/dist/components/Tag/Tag.vue.d.ts +29 -0
  289. package/dist/components/Tag/index.d.ts +2 -0
  290. package/dist/components/Textarea/Textarea.stories.d.ts +7 -0
  291. package/dist/components/Textarea/Textarea.vue.d.ts +53 -0
  292. package/dist/components/Textarea/index.d.ts +2 -0
  293. package/dist/components/TimeField/TimeField.stories.d.ts +6 -0
  294. package/dist/components/TimeField/TimeField.vue.d.ts +23 -0
  295. package/dist/components/TimeField/index.d.ts +2 -0
  296. package/dist/components/Toast/Toast.stories.d.ts +11 -0
  297. package/dist/components/Toast/ToastClose.vue.d.ts +4 -0
  298. package/dist/components/Toast/ToastDescription.vue.d.ts +21 -0
  299. package/dist/components/Toast/ToastProvider.vue.d.ts +21 -0
  300. package/dist/components/Toast/ToastRoot.vue.d.ts +109 -0
  301. package/dist/components/Toast/ToastTitle.vue.d.ts +21 -0
  302. package/dist/components/Toast/ToastViewport.vue.d.ts +4 -0
  303. package/dist/components/Toast/Toaster.vue.d.ts +3 -0
  304. package/dist/components/Toast/index.d.ts +10 -0
  305. package/dist/components/Toast/toast.constants.d.ts +8 -0
  306. package/dist/components/Toast/use-toast.d.ts +281 -0
  307. package/dist/components/Tooltip/Tooltip.stories.d.ts +13 -0
  308. package/dist/components/Tooltip/TooltipArrow.vue.d.ts +9 -0
  309. package/dist/components/Tooltip/TooltipContent.vue.d.ts +30 -0
  310. package/dist/components/Tooltip/index.d.ts +3 -0
  311. package/dist/components/index.d.ts +46 -0
  312. package/dist/components/index.js +5632 -0
  313. package/dist/fonts/Inter/Inter-Black.woff +0 -0
  314. package/dist/fonts/Inter/Inter-Black.woff2 +0 -0
  315. package/dist/fonts/Inter/Inter-Bold.woff +0 -0
  316. package/dist/fonts/Inter/Inter-Bold.woff2 +0 -0
  317. package/dist/fonts/Inter/Inter-ExtraBold.woff +0 -0
  318. package/dist/fonts/Inter/Inter-ExtraBold.woff2 +0 -0
  319. package/dist/fonts/Inter/Inter-ExtraLight.woff +0 -0
  320. package/dist/fonts/Inter/Inter-ExtraLight.woff2 +0 -0
  321. package/dist/fonts/Inter/Inter-Light.woff +0 -0
  322. package/dist/fonts/Inter/Inter-Light.woff2 +0 -0
  323. package/dist/fonts/Inter/Inter-Medium.woff +0 -0
  324. package/dist/fonts/Inter/Inter-Medium.woff2 +0 -0
  325. package/dist/fonts/Inter/Inter-Regular.woff +0 -0
  326. package/dist/fonts/Inter/Inter-Regular.woff2 +0 -0
  327. package/dist/fonts/Inter/Inter-SemiBold.woff +0 -0
  328. package/dist/fonts/Inter/Inter-SemiBold.woff2 +0 -0
  329. package/dist/fonts/Inter/Inter-Thin.woff +0 -0
  330. package/dist/fonts/Inter/Inter-Thin.woff2 +0 -0
  331. package/dist/fonts/Roboto/Roboto-Black.woff +0 -0
  332. package/dist/fonts/Roboto/Roboto-Black.woff2 +0 -0
  333. package/dist/fonts/Roboto/Roboto-Bold.woff +0 -0
  334. package/dist/fonts/Roboto/Roboto-Bold.woff2 +0 -0
  335. package/dist/fonts/Roboto/Roboto-ExtraBold.woff +0 -0
  336. package/dist/fonts/Roboto/Roboto-ExtraBold.woff2 +0 -0
  337. package/dist/fonts/Roboto/Roboto-ExtraLight.woff +0 -0
  338. package/dist/fonts/Roboto/Roboto-ExtraLight.woff2 +0 -0
  339. package/dist/fonts/Roboto/Roboto-Light.woff +0 -0
  340. package/dist/fonts/Roboto/Roboto-Light.woff2 +0 -0
  341. package/dist/fonts/Roboto/Roboto-Medium.woff +0 -0
  342. package/dist/fonts/Roboto/Roboto-Medium.woff2 +0 -0
  343. package/dist/fonts/Roboto/Roboto-Regular.woff +0 -0
  344. package/dist/fonts/Roboto/Roboto-Regular.woff2 +0 -0
  345. package/dist/fonts/Roboto/Roboto-SemiBold.woff +0 -0
  346. package/dist/fonts/Roboto/Roboto-SemiBold.woff2 +0 -0
  347. package/dist/fonts/Roboto/Roboto-Thin.woff +0 -0
  348. package/dist/fonts/Roboto/Roboto-Thin.woff2 +0 -0
  349. package/dist/icons/colored/BonusIcon.vue.d.ts +3 -0
  350. package/dist/icons/colored/CashbackIcon.vue.d.ts +3 -0
  351. package/dist/icons/colored/CertificateIcon.vue.d.ts +3 -0
  352. package/dist/icons/colored/Colored.stories.d.ts +7 -0
  353. package/dist/icons/colored/DiscountIcon.vue.d.ts +3 -0
  354. package/dist/icons/colored/ExcelIcon.vue.d.ts +3 -0
  355. package/dist/icons/colored/FaviconIcon.vue.d.ts +3 -0
  356. package/dist/icons/colored/GiftColorIcon.vue.d.ts +3 -0
  357. package/dist/icons/colored/PdfIcon.vue.d.ts +3 -0
  358. package/dist/icons/colored/SberPayColorIcon.vue.d.ts +3 -0
  359. package/dist/icons/colored/SpbIcon.vue.d.ts +3 -0
  360. package/dist/icons/colored/TruesignIcon.vue.d.ts +3 -0
  361. package/dist/icons/colored/WarehousePointIcon.vue.d.ts +3 -0
  362. package/dist/icons/colored/WordIcon.vue.d.ts +3 -0
  363. package/dist/icons/colored/index.d.ts +14 -0
  364. package/dist/icons/index.d.ts +2 -0
  365. package/dist/icons/index.js +2066 -0
  366. package/dist/icons/monochrome/AngleBottomIcon.vue.d.ts +3 -0
  367. package/dist/icons/monochrome/AngleDoubleLeftIcon.vue.d.ts +3 -0
  368. package/dist/icons/monochrome/AngleDoubleRightIcon.vue.d.ts +3 -0
  369. package/dist/icons/monochrome/AngleLeftIcon.vue.d.ts +3 -0
  370. package/dist/icons/monochrome/AngleRightIcon.vue.d.ts +3 -0
  371. package/dist/icons/monochrome/AngleTopIcon.vue.d.ts +3 -0
  372. package/dist/icons/monochrome/ArrowRightTopIcon.vue.d.ts +3 -0
  373. package/dist/icons/monochrome/AtIcon.vue.d.ts +3 -0
  374. package/dist/icons/monochrome/AvatarIcon.vue.d.ts +3 -0
  375. package/dist/icons/monochrome/BagIcon.vue.d.ts +3 -0
  376. package/dist/icons/monochrome/BanIcon.vue.d.ts +3 -0
  377. package/dist/icons/monochrome/BankIcon.vue.d.ts +3 -0
  378. package/dist/icons/monochrome/BarsIcon.vue.d.ts +3 -0
  379. package/dist/icons/monochrome/BellIcon.vue.d.ts +3 -0
  380. package/dist/icons/monochrome/BookIcon.vue.d.ts +3 -0
  381. package/dist/icons/monochrome/BoxIcon.vue.d.ts +3 -0
  382. package/dist/icons/monochrome/BriefcaseIcon.vue.d.ts +3 -0
  383. package/dist/icons/monochrome/BuildingIcon.vue.d.ts +3 -0
  384. package/dist/icons/monochrome/CalendarIcon.vue.d.ts +3 -0
  385. package/dist/icons/monochrome/CameraIcon.vue.d.ts +3 -0
  386. package/dist/icons/monochrome/CarIcon.vue.d.ts +3 -0
  387. package/dist/icons/monochrome/CarSearchIcon.vue.d.ts +3 -0
  388. package/dist/icons/monochrome/CartCrossedIcon.vue.d.ts +3 -0
  389. package/dist/icons/monochrome/CartIcon.vue.d.ts +3 -0
  390. package/dist/icons/monochrome/CatalogToIcon.vue.d.ts +3 -0
  391. package/dist/icons/monochrome/CevronBottomIcon.vue.d.ts +3 -0
  392. package/dist/icons/monochrome/CevronLeftIcon.vue.d.ts +3 -0
  393. package/dist/icons/monochrome/CevronRightIcon.vue.d.ts +3 -0
  394. package/dist/icons/monochrome/CevronTopIcon.vue.d.ts +3 -0
  395. package/dist/icons/monochrome/CheckFilledIcon.vue.d.ts +3 -0
  396. package/dist/icons/monochrome/CheckIcon.vue.d.ts +3 -0
  397. package/dist/icons/monochrome/CheckRoundedIcon.vue.d.ts +3 -0
  398. package/dist/icons/monochrome/ClockIcon.vue.d.ts +3 -0
  399. package/dist/icons/monochrome/ClockPayIcon.vue.d.ts +3 -0
  400. package/dist/icons/monochrome/CloseIcon.vue.d.ts +3 -0
  401. package/dist/icons/monochrome/CloseRoundedIcon.vue.d.ts +3 -0
  402. package/dist/icons/monochrome/CogIcon.vue.d.ts +3 -0
  403. package/dist/icons/monochrome/CommentIcon.vue.d.ts +3 -0
  404. package/dist/icons/monochrome/CommentsIcon.vue.d.ts +3 -0
  405. package/dist/icons/monochrome/CopyIcon.vue.d.ts +3 -0
  406. package/dist/icons/monochrome/CreditCardIcon.vue.d.ts +3 -0
  407. package/dist/icons/monochrome/CubeIcon.vue.d.ts +3 -0
  408. package/dist/icons/monochrome/DeliveryIcon.vue.d.ts +3 -0
  409. package/dist/icons/monochrome/DeliveryTimeIcon.vue.d.ts +3 -0
  410. package/dist/icons/monochrome/DownloadIcon.vue.d.ts +3 -0
  411. package/dist/icons/monochrome/ErrorFillIcon.vue.d.ts +3 -0
  412. package/dist/icons/monochrome/ErrorIcon.vue.d.ts +3 -0
  413. package/dist/icons/monochrome/EyeCloseIcon.vue.d.ts +3 -0
  414. package/dist/icons/monochrome/EyeIcon.vue.d.ts +3 -0
  415. package/dist/icons/monochrome/FileEditIcon.vue.d.ts +3 -0
  416. package/dist/icons/monochrome/FileExportIcon.vue.d.ts +3 -0
  417. package/dist/icons/monochrome/FileIcon.vue.d.ts +3 -0
  418. package/dist/icons/monochrome/FileUploadIcon.vue.d.ts +3 -0
  419. package/dist/icons/monochrome/FilterFillIcon.vue.d.ts +3 -0
  420. package/dist/icons/monochrome/FilterIcon.vue.d.ts +3 -0
  421. package/dist/icons/monochrome/FilterSlashIcon.vue.d.ts +3 -0
  422. package/dist/icons/monochrome/GiftIcon.vue.d.ts +3 -0
  423. package/dist/icons/monochrome/GuardIcon.vue.d.ts +3 -0
  424. package/dist/icons/monochrome/HeadSetIcon.vue.d.ts +3 -0
  425. package/dist/icons/monochrome/HeartFillIcon.vue.d.ts +3 -0
  426. package/dist/icons/monochrome/HeartOutlinedIcon.vue.d.ts +3 -0
  427. package/dist/icons/monochrome/HomeIcon.vue.d.ts +3 -0
  428. package/dist/icons/monochrome/ImageIcon.vue.d.ts +3 -0
  429. package/dist/icons/monochrome/InfoFillIcon.vue.d.ts +3 -0
  430. package/dist/icons/monochrome/InfoIcon.vue.d.ts +3 -0
  431. package/dist/icons/monochrome/LikeIcon.vue.d.ts +3 -0
  432. package/dist/icons/monochrome/ListIcon.vue.d.ts +3 -0
  433. package/dist/icons/monochrome/LocationIcon.vue.d.ts +3 -0
  434. package/dist/icons/monochrome/LockIcon.vue.d.ts +3 -0
  435. package/dist/icons/monochrome/MailBoxIcon.vue.d.ts +3 -0
  436. package/dist/icons/monochrome/MapIcon.vue.d.ts +3 -0
  437. package/dist/icons/monochrome/MapPointFilledIcon.vue.d.ts +3 -0
  438. package/dist/icons/monochrome/MapPointIcon.vue.d.ts +3 -0
  439. package/dist/icons/monochrome/MessageIcon.vue.d.ts +3 -0
  440. package/dist/icons/monochrome/MinusIcon.vue.d.ts +3 -0
  441. package/dist/icons/monochrome/MoneyBillIcon.vue.d.ts +3 -0
  442. package/dist/icons/monochrome/Monochrome.stories.d.ts +7 -0
  443. package/dist/icons/monochrome/NewIcon.vue.d.ts +3 -0
  444. package/dist/icons/monochrome/PackageIcon.vue.d.ts +3 -0
  445. package/dist/icons/monochrome/PencelLineIcon.vue.d.ts +3 -0
  446. package/dist/icons/monochrome/PlusIcon.vue.d.ts +3 -0
  447. package/dist/icons/monochrome/PlusRoundedIcon.vue.d.ts +3 -0
  448. package/dist/icons/monochrome/PrintIcon.vue.d.ts +3 -0
  449. package/dist/icons/monochrome/ProcentIcon.vue.d.ts +3 -0
  450. package/dist/icons/monochrome/QuestionIcon.vue.d.ts +3 -0
  451. package/dist/icons/monochrome/QuestionRoundedIcon.vue.d.ts +3 -0
  452. package/dist/icons/monochrome/ReplaceIcon.vue.d.ts +3 -0
  453. package/dist/icons/monochrome/ReplayIcon.vue.d.ts +3 -0
  454. package/dist/icons/monochrome/ReturnIcon.vue.d.ts +3 -0
  455. package/dist/icons/monochrome/RubIcon.vue.d.ts +3 -0
  456. package/dist/icons/monochrome/SberPayIcon.vue.d.ts +3 -0
  457. package/dist/icons/monochrome/SearchIcon.vue.d.ts +3 -0
  458. package/dist/icons/monochrome/SearchMinusIcon.vue.d.ts +3 -0
  459. package/dist/icons/monochrome/SearchPlusIcon.vue.d.ts +3 -0
  460. package/dist/icons/monochrome/SendIcon.vue.d.ts +3 -0
  461. package/dist/icons/monochrome/SettingsIcon.vue.d.ts +3 -0
  462. package/dist/icons/monochrome/ShieldErrorIcon.vue.d.ts +3 -0
  463. package/dist/icons/monochrome/ShopIcon.vue.d.ts +3 -0
  464. package/dist/icons/monochrome/ShoppingCartIcon.vue.d.ts +3 -0
  465. package/dist/icons/monochrome/SortDownFillIcon.vue.d.ts +3 -0
  466. package/dist/icons/monochrome/SortDownIcon.vue.d.ts +3 -0
  467. package/dist/icons/monochrome/SortUpFillIcon.vue.d.ts +3 -0
  468. package/dist/icons/monochrome/SortUpIcon.vue.d.ts +3 -0
  469. package/dist/icons/monochrome/StarFillIcon.vue.d.ts +3 -0
  470. package/dist/icons/monochrome/StarIcon.vue.d.ts +3 -0
  471. package/dist/icons/monochrome/SyncIcon.vue.d.ts +3 -0
  472. package/dist/icons/monochrome/TelegramIcon.vue.d.ts +3 -0
  473. package/dist/icons/monochrome/TimerIcon.vue.d.ts +3 -0
  474. package/dist/icons/monochrome/TrashIcon.vue.d.ts +3 -0
  475. package/dist/icons/monochrome/TruckFillIcon.vue.d.ts +3 -0
  476. package/dist/icons/monochrome/TruckIcon.vue.d.ts +3 -0
  477. package/dist/icons/monochrome/UploadIcon.vue.d.ts +3 -0
  478. package/dist/icons/monochrome/UserIcon.vue.d.ts +3 -0
  479. package/dist/icons/monochrome/UsersIcon.vue.d.ts +3 -0
  480. package/dist/icons/monochrome/Wallet2Icon.vue.d.ts +3 -0
  481. package/dist/icons/monochrome/WalletIcon.vue.d.ts +3 -0
  482. package/dist/icons/monochrome/WarehouseIcon.vue.d.ts +3 -0
  483. package/dist/icons/monochrome/WarnRoundedIcon.vue.d.ts +3 -0
  484. package/dist/icons/monochrome/WarningFillIcon.vue.d.ts +3 -0
  485. package/dist/icons/monochrome/WarningIcon.vue.d.ts +3 -0
  486. package/dist/icons/monochrome/index.d.ts +120 -0
  487. package/dist/styles/animations.scss +181 -0
  488. package/dist/styles/colors.scss +155 -0
  489. package/dist/styles/fonts.scss +10 -0
  490. package/dist/styles/global.scss +53 -0
  491. package/dist/styles/index.scss +9 -0
  492. package/dist/styles/mixins.scss +152 -0
  493. package/dist/styles/reset.css +64 -0
  494. package/dist/styles/tailwind.css +307 -0
  495. package/dist/styles/typography.css +43 -0
  496. package/dist/styles/vars.scss +57 -0
  497. package/dist/ui-kit.css +1 -0
  498. package/dist/utils/breakpoints.util.d.ts +15 -0
  499. package/dist/utils/dayjs.util.d.ts +2 -0
  500. package/dist/utils/eventBus.util.d.ts +9 -0
  501. package/dist/utils/index.d.ts +10 -0
  502. package/dist/utils/index.js +139 -0
  503. package/dist/utils/internationalized.utils.d.ts +1 -0
  504. package/dist/utils/isClient.util.d.ts +1 -0
  505. package/dist/utils/onClickOutside.util.d.ts +9 -0
  506. package/dist/utils/parseDate.util.d.ts +11 -0
  507. package/dist/utils/parseFileSize.util.d.ts +18 -0
  508. package/dist/utils/phoneMask.util.d.ts +6 -0
  509. package/dist/utils/price.util.d.ts +15 -0
  510. package/dist/utils/priceFormat.util.d.ts +5 -0
  511. package/dist/utils/typeFile.util.d.ts +10 -0
  512. package/dist/utils/uploadFile.util.d.ts +23 -0
  513. package/dist/utils/useBodyScroll.util.d.ts +4 -0
  514. package/dist/utils/useCounter.d.ts +16 -0
  515. package/dist/vite.svg +1 -0
  516. package/package.json +123 -0
  517. package/src/styles/animations.scss +181 -0
  518. package/src/styles/colors.scss +155 -0
  519. package/src/styles/fonts.scss +10 -0
  520. package/src/styles/global.scss +53 -0
  521. package/src/styles/index.scss +9 -0
  522. package/src/styles/mixins.scss +152 -0
  523. package/src/styles/reset.css +64 -0
  524. package/src/styles/tailwind.css +307 -0
  525. package/src/styles/typography.css +43 -0
  526. package/src/styles/vars.scss +57 -0
package/package.json ADDED
@@ -0,0 +1,123 @@
1
+ {
2
+ "name": "@profitliga/ui",
3
+ "version": "1.0.0",
4
+ "author": "Profit League<dev@pr-lg.ru>",
5
+ "license": "MIT",
6
+ "description": "Vue 3 UI component library with TypeScript and SCSS",
7
+ "type": "module",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "repository": {
12
+ "url": "https://github.com/pr-lg/ui-kit.git",
13
+ "type": "git"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "src/styles"
18
+ ],
19
+ "exports": {
20
+ "./style.css": "./dist/ui-kit.css",
21
+ "./styles/*": "./dist/styles/*",
22
+ "./tailwind": "./dist/styles/tailwind.css",
23
+ "./components": {
24
+ "import": "./dist/components/index.js",
25
+ "types": "./dist/components/index.d.ts"
26
+ },
27
+ "./utils": {
28
+ "import": "./dist/utils/index.js",
29
+ "types": "./dist/utils/index.d.ts"
30
+ },
31
+ "./icons": {
32
+ "import": "./dist/icons/index.js",
33
+ "types": "./dist/icons/index.d.ts"
34
+ }
35
+ },
36
+ "scripts": {
37
+ "dev": "vite",
38
+ "build": "vite build",
39
+ "type-check": "vue-tsc --noEmit",
40
+ "lint": "eslint .",
41
+ "lint:fix": "eslint . --fix",
42
+ "format": "prettier --write \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
43
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
44
+ "check": "npm run type-check && npm run lint && npm run format:check",
45
+ "storybook": "storybook dev -p 6006",
46
+ "build-storybook": "storybook build",
47
+ "prepare": "husky"
48
+ },
49
+ "lint-staged": {
50
+ "*.{ts,tsx,vue}": [
51
+ "eslint --fix",
52
+ "prettier --write"
53
+ ],
54
+ "*.{scss,css,json,md}": [
55
+ "prettier --write"
56
+ ]
57
+ },
58
+ "peerDependencies": {
59
+ "@internationalized/date": "3.10.1",
60
+ "@tanstack/vue-table": "8.21.3",
61
+ "@vueuse/core": "14.1.0",
62
+ "dayjs": "1.11.19",
63
+ "lucide-vue-next": "0.563.0",
64
+ "reka-ui": "2.7.0",
65
+ "tailwindcss": "4.1.18",
66
+ "vue": "3.5.26"
67
+ },
68
+ "devDependencies": {
69
+ "@chromatic-com/storybook": "^5.0.0",
70
+ "@eslint/js": "^9.39.2",
71
+ "@internationalized/date": "3.10.1",
72
+ "@storybook/addon-a11y": "^10.2.0",
73
+ "@storybook/addon-docs": "^10.2.0",
74
+ "@storybook/addon-onboarding": "^10.2.0",
75
+ "@storybook/addon-vitest": "^10.2.0",
76
+ "@storybook/vue3-vite": "^10.2.0",
77
+ "@tailwindcss/vite": "^4.1.18",
78
+ "@tanstack/vue-table": "^8.21.3",
79
+ "@trivago/prettier-plugin-sort-imports": "^6.0.2",
80
+ "@types/node": "^25.0.3",
81
+ "@vitejs/plugin-vue": "^6.0.3",
82
+ "@vitest/browser-playwright": "^4.0.16",
83
+ "@vitest/coverage-v8": "^4.0.16",
84
+ "@vueuse/core": "^14.1.0",
85
+ "chromatic": "^13.3.5",
86
+ "dayjs": "^1.11.19",
87
+ "eslint": "^9.39.2",
88
+ "eslint-config-prettier": "^10.1.8",
89
+ "eslint-plugin-storybook": "10.2.0",
90
+ "eslint-plugin-vue": "^10.7.0",
91
+ "globals": "^17.1.0",
92
+ "husky": "^9.1.7",
93
+ "lightningcss": "^1.31.1",
94
+ "lint-staged": "^16.2.7",
95
+ "lucide-vue-next": "^0.563.0",
96
+ "playwright": "^1.57.0",
97
+ "prettier": "^3.8.1",
98
+ "reka-ui": "2.7.0",
99
+ "sass": "^1.97.1",
100
+ "sonda": "^0.10.1",
101
+ "storybook": "^10.2.0",
102
+ "tailwindcss": "4.1.18",
103
+ "typescript": "^5.9.3",
104
+ "typescript-eslint": "^8.53.1",
105
+ "vite": "^7.3.0",
106
+ "vite-plugin-compression": "^0.5.1",
107
+ "vite-plugin-dts": "^4.5.4",
108
+ "vite-plugin-static-copy": "^3.1.6",
109
+ "vitest": "^4.0.16",
110
+ "vue": "^3.5.26",
111
+ "vue-eslint-parser": "^10.2.0",
112
+ "vue-router": "^4.6.4",
113
+ "vue-tsc": "^3.2.1"
114
+ },
115
+ "keywords": [
116
+ "vue",
117
+ "vue3",
118
+ "ui",
119
+ "components",
120
+ "typescript",
121
+ "scss"
122
+ ]
123
+ }
@@ -0,0 +1,181 @@
1
+ // Classes animation vue (https://vuejs.org/guide/built-ins/transition#css-based-transitions)
2
+ // 1. v-enter-from
3
+ // 2. v-enter-active
4
+ // 3. v-enter-to
5
+ // 4. v-leave-from
6
+ // 5. v-leave-active
7
+ // 6. v-leave-to
8
+
9
+ //FADE
10
+ .fade-enter-from,
11
+ .fade-leave-to {
12
+ opacity: 0;
13
+ }
14
+
15
+ .fade-enter-active,
16
+ .fade-leave-active {
17
+ transition: opacity var(--animation-duration) ease-in-out;
18
+ }
19
+
20
+ //FADE-IN
21
+ @keyframes fadeIn {
22
+ from {
23
+ opacity: 0;
24
+ }
25
+ to {
26
+ opacity: 1;
27
+ }
28
+ }
29
+
30
+ .fadeIn-enter-from,
31
+ .fadeIn-leave-to {
32
+ opacity: 0;
33
+ }
34
+
35
+ .fadeIn-enter-to,
36
+ .fadeIn-leave-from {
37
+ opacity: 1;
38
+ }
39
+
40
+ .fadeIn-enter-active,
41
+ .fadeIn-leave-active {
42
+ transition: opacity var(--animation-duration) ease-in-out;
43
+ }
44
+
45
+ //FADE-OUT
46
+ @keyframes fadeOut {
47
+ from {
48
+ opacity: 1;
49
+ }
50
+ to {
51
+ opacity: 0;
52
+ }
53
+ }
54
+
55
+ .fadeOut-enter-from,
56
+ .fadeOut-leave-to {
57
+ opacity: 1;
58
+ }
59
+
60
+ .fadeOut-enter-to,
61
+ .fadeOut-leave-from {
62
+ opacity: 0;
63
+ }
64
+
65
+ .fadeOut-enter-active,
66
+ .fadeOut-leave-active {
67
+ transition: opacity var(--animation-duration) ease-in-out;
68
+ }
69
+
70
+ //SLIDE-RIGHT-IN
71
+ @keyframes slideRightIn {
72
+ from {
73
+ transform: translateX(200%);
74
+ }
75
+
76
+ to {
77
+ transform: translateX(0%);
78
+ }
79
+ }
80
+
81
+ @keyframes slideRightOut {
82
+ from {
83
+ transform: translateX(0%);
84
+ }
85
+
86
+ to {
87
+ transform: translateX(200%);
88
+ }
89
+ }
90
+
91
+ @keyframes slideTopIn {
92
+ from {
93
+ transform: translateY(-200%);
94
+ }
95
+
96
+ to {
97
+ transform: translateY(0%);
98
+ }
99
+ }
100
+
101
+ @keyframes slideTopOut {
102
+ from {
103
+ transform: translateY(0%);
104
+ }
105
+
106
+ to {
107
+ transform: translateY(-200%);
108
+ }
109
+ }
110
+
111
+ @keyframes slideLeftIn {
112
+ from {
113
+ transform: translateX(-200%);
114
+ }
115
+
116
+ to {
117
+ transform: translateX(0%);
118
+ }
119
+ }
120
+
121
+ @keyframes slideLeftOut {
122
+ from {
123
+ transform: translateX(0%);
124
+ }
125
+
126
+ to {
127
+ transform: translateX(-200%);
128
+ }
129
+ }
130
+
131
+ @keyframes slideBottomIn {
132
+ from {
133
+ transform: translateY(200%);
134
+ }
135
+
136
+ to {
137
+ transform: translateY(0%);
138
+ }
139
+ }
140
+
141
+ @keyframes slideBottomOut {
142
+ from {
143
+ transform: translateY(0%);
144
+ }
145
+
146
+ to {
147
+ transform: translateY(200%);
148
+ }
149
+ }
150
+
151
+ //Удалить после перехода на reka-ui
152
+ .slide-fade-smooth-enter-active,
153
+ .slide-fade-smooth-leave-active {
154
+ transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
155
+ }
156
+
157
+ .slide-fade-smooth-enter-from {
158
+ transform: translateX(-30px);
159
+ opacity: 0;
160
+ }
161
+
162
+ .slide-fade-smooth-leave-to {
163
+ transform: translateX(30px);
164
+ opacity: 0;
165
+ }
166
+
167
+ // VERTICAL SLIDE FADE
168
+ .slide-fade-vertical-enter-active,
169
+ .slide-fade-vertical-leave-active {
170
+ transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
171
+ }
172
+
173
+ .slide-fade-vertical-enter-from {
174
+ transform: translateY(-20px);
175
+ opacity: 0;
176
+ }
177
+
178
+ .slide-fade-vertical-leave-to {
179
+ transform: translateY(20px);
180
+ opacity: 0;
181
+ }
@@ -0,0 +1,155 @@
1
+ //GLOBAL
2
+ :root {
3
+ --theme-color-m: #e3e9ed;
4
+ }
5
+
6
+ //NEUTRAL
7
+ :root {
8
+ --theme-neutral-0: #ffffff;
9
+ --theme-neutral-100: #fdfdfd; //use bg main fill
10
+ --theme-neutral-200: #fafafa;
11
+ --theme-neutral-250: #ebebeb;
12
+ --theme-neutral-250_40: #ebebeb66; //use dissabled fill
13
+ --theme-neutral-300: #cecece; //use border icon,text
14
+ --theme-neutral-300_40: #cecece66; //use hover table fill
15
+ --theme-neutral-400: #bfbfbf;
16
+ --theme-neutral-400_40: #bfbfbf66;
17
+ --theme-neutral-500: #a1a1a1; //use btn icon
18
+ --theme-neutral-600: #525252;
19
+ --theme-neutral-700: #3d3d3d;
20
+ --theme-neutral-800: #292929;
21
+ --theme-neutral-850: #1f1f1f;
22
+ --theme-neutral-950: #0a0a0a;
23
+
24
+ --theme-neutral-surface-bg: var(--theme-neutral-100);
25
+ --theme-neutral-surface-default: var(--theme-neutral-0);
26
+ --theme-neutral-surface-subtitle: var(--theme-neutral-200);
27
+ --theme-neutral-surface-icon: #f1f4f5;
28
+ --theme-neutral-surface-disabled: var(--theme-neutral-250_40);
29
+
30
+ --theme-text-icon-body: #3b3b3b;
31
+ --theme-neutral-text-title: var(--theme-neutral-950);
32
+ --theme-neutral-text-subtitle: var(--theme-neutral-800);
33
+ --theme-neutral-text-body: var(--theme-neutral-700);
34
+ --theme-neutral-text-caption: var(--theme-neutral-600);
35
+ --theme-neutral-text-disabled: var(--theme-neutral-400_40);
36
+ --theme-neutral-text-negative: var(--theme-neutral-0);
37
+
38
+ --theme-neutral-icon-primary: #90a4ae;
39
+ --theme-neutral-icon-secondary: var(--theme-neutral-400);
40
+ --theme-neutral-icon-caption: var(--theme-neutral-500);
41
+ --theme-neutral-icon-disabled: var(--theme-neutral-300);
42
+ --theme-neutral-icon-negative: var(--theme-neutral-0);
43
+
44
+ --theme-neutral-border-default: var(--theme-neutral-300);
45
+ --theme-neutral-border-darker: var(--theme-neutral-400);
46
+ --theme-neutral-border-divider: #e3e9ed;
47
+ --theme-neutral-border-disabled: var(--theme-neutral-400_40);
48
+
49
+ //BOX-SHADOW
50
+ --theme-main-interface-shadow:
51
+ 0 2px 8.8px 2px #0000000d, 0 0 13.4px 0 #0000000a;
52
+ --theme-hover-interface-shadow:
53
+ 0 2px 8.8px 2px #0000000d, 0 1px 1px 0 #0000000a;
54
+ }
55
+
56
+ //PRIMARY
57
+ :root {
58
+ --theme-primary-50: #eafef0;
59
+ --theme-primary-50_40: #eafef066;
60
+ --theme-primary-75: #caf3d5; //use hover fill
61
+ --theme-primary-100: #bff7cd;
62
+ --theme-primary-200: #aaeebc;
63
+ --theme-primary-200_15: #94e6aa; //use focussed stroke
64
+ --theme-primary-200_25: #94e6aa40; //use focussed stroke
65
+ --theme-primary-200_50: #94e6aa80; //use focussed stroke
66
+ --theme-primary-250: #caf3d5; //use hover fill
67
+ --theme-primary-300: #7fdd98; //use hover fill
68
+ --theme-primary-400: #2abc51; //use focussed fill
69
+ --theme-primary-500_5: #00ab2e0d; //use default fill
70
+ --theme-primary-500: #00ab2e; //use default fill
71
+ --theme-primary-600: #008925; //use pressed fill
72
+ --theme-primary-700: #00671c;
73
+ --theme-primary-800: #004412;
74
+ --theme-primary-900: #002209;
75
+
76
+ --theme-primary-surface-default: var(--theme-primary-500);
77
+ --theme-primary-surface-subtitle: var(--theme-primary-50);
78
+ --theme-primary-surface-darker: var(--theme-primary-600);
79
+ --theme-primary-surface-lighter: var(--theme-primary-200_25);
80
+ --theme-primary-surface-hover: var(--theme-primary-50_40);
81
+
82
+ --theme-primary-border-default: var(--theme-primary-700);
83
+ --theme-primary-border-subtitle: var(--theme-primary-600);
84
+ --theme-primary-border-darker: var(--theme-primary-800);
85
+ --theme-primary-border-lighter: var(--theme-primary-200);
86
+
87
+ --theme-primary-icon-default: var(--theme-primary-500);
88
+ }
89
+
90
+ //SECONDARY
91
+ :root {
92
+ --theme-secondary-50: #f1f4f5;
93
+ --theme-secondary-100: #ebeff1;
94
+ --theme-secondary-150: #ecf2f4;
95
+ --theme-secondary-200: #d6e2e6;
96
+ --theme-secondary-250: #c7d9df;
97
+ --theme-secondary-300: #b3c9d0;
98
+ --theme-secondary-350: #a2c0ca;
99
+ --theme-secondary-400: #7da7b5;
100
+ --theme-secondary-450: #588ea0;
101
+ --theme-secondary-500: #3f7587;
102
+ --theme-secondary-600: #315b69;
103
+ --theme-secondary-700: #2a4e5a;
104
+ --theme-secondary-800: #23414b;
105
+ --theme-secondary-900: #15272d;
106
+ }
107
+
108
+ //INFO
109
+ :root {
110
+ --theme-info-100: #e3eefa;
111
+ --theme-info-100_50: #e3eefa80; //use fill
112
+ --theme-info-200: #c2d9f5; //use stroke
113
+ --theme-info-300: #6ea6e7; //hover
114
+ --theme-info-400: #2674ce; //use link (подчеркивание при наведении)
115
+ --theme-info-500: #235fa4; //use icon
116
+ --theme-info-600: #02538f;
117
+ --theme-info-700: #134a73;
118
+ --theme-info-800: #152d4f;
119
+ --theme-info-900: #161e33;
120
+ }
121
+
122
+ //WARN
123
+ :root {
124
+ --theme-warn-50: #faf4ee;
125
+ --theme-warn-100: #fdf4ea;
126
+ --theme-warn-200: #fadfc1;
127
+ --theme-warn-300: #f4c083;
128
+ --theme-warn-400: #f1ab5a;
129
+ --theme-warn-500: #ed9631;
130
+ --theme-warn-600: #d47d16;
131
+ --theme-warn-700: #ac6410;
132
+ --theme-warn-800: #814a09;
133
+ --theme-warn-900: #492c0a;
134
+ }
135
+
136
+ //ERROR
137
+ :root {
138
+ --theme-error-100: #fceaea;
139
+ --theme-error-100_50: #fceaea80; //use fill
140
+ --theme-error-200_50: #fceaea; //use stroke
141
+ --theme-error-200: #ffd4d4; //use stroke
142
+ --theme-error-300: #f4a6a6; //hover
143
+ --theme-error-400: #df575c;
144
+ --theme-error-500: #de292f; //use icon
145
+ --theme-error-600: #bd2429;
146
+ --theme-error-700: #921d21;
147
+ --theme-error-800: #6e1820;
148
+ --theme-error-900: #4e1012;
149
+ }
150
+
151
+ //SHADOW
152
+ :root {
153
+ --theme-shadow-button:
154
+ 0px 2px 8.8px 2px #0000000d, 0px 1px 1px 0px #0000000a;
155
+ }
@@ -0,0 +1,10 @@
1
+ @use './mixins.scss' as mixins;
2
+
3
+ @include mixins.font-face(
4
+ 'Roboto',
5
+ (100, 200, 300, 400, 500, 600, 700, 800, 900)
6
+ );
7
+ @include mixins.font-face(
8
+ 'Inter',
9
+ (100, 200, 300, 400, 500, 600, 700, 800, 900)
10
+ );
@@ -0,0 +1,53 @@
1
+ @use './mixins.scss' as *;
2
+
3
+ .overlay {
4
+ position: fixed;
5
+ top: 0;
6
+ right: 0;
7
+ bottom: 0;
8
+ left: 0;
9
+
10
+ width: 100dvw;
11
+ height: 100dvh;
12
+
13
+ background-color: rgba(#000, 0.3);
14
+ z-index: 1000;
15
+
16
+ &[data-state='open'] {
17
+ animation: fadeIn var(--animation-duration) ease-in-out;
18
+ }
19
+
20
+ &[data-state='closed'] {
21
+ animation: fadeOut var(--animation-duration) ease-in-out;
22
+ }
23
+ }
24
+
25
+ .container {
26
+ width: 100%;
27
+ margin: 0 auto;
28
+ padding: 0 10px;
29
+ max-width: 768px; // Базовая ширина для мобильных
30
+
31
+ @include respond(lg) {
32
+ max-width: 991px;
33
+ }
34
+
35
+ @include respond(xl) {
36
+ max-width: 1200px;
37
+ }
38
+
39
+ @include respond(xxl) {
40
+ max-width: 1400px;
41
+ }
42
+
43
+ @include respond(xxxl) {
44
+ max-width: 1600px;
45
+ }
46
+ }
47
+
48
+ .page-title {
49
+ font-weight: 600;
50
+ font-size: 24px;
51
+ line-height: 120%;
52
+ color: var(--theme-neutral-text-title);
53
+ }
@@ -0,0 +1,9 @@
1
+ @use './vars.scss';
2
+ @use './colors.scss';
3
+ @use './animations.scss';
4
+ @use './mixins.scss';
5
+ @use './fonts.scss';
6
+ @use './reset.css';
7
+ @use './typography.css';
8
+
9
+ @use './global.scss';
@@ -0,0 +1,152 @@
1
+ @use 'sass:map';
2
+
3
+ /**
4
+ * Миксин для подключения шрифтов
5
+ * @param {string} $font-family - Название семейства шрифтов
6
+ * @param {list} $weights - Список весов шрифта (100-900)
7
+ *
8
+ * Пример использования:
9
+ * $weights: (100, 200, 300, 400, 500, 600, 700, 800, 900);
10
+ * $styles: (normal, italic);
11
+ * @include font-face('Roboto', $weights);
12
+ *
13
+ * Структура файлов шрифтов должна быть следующей:
14
+ * fonts/
15
+ * Roboto/
16
+ * Roboto-Thin.woff2
17
+ * Roboto-Thin.woff
18
+ * ...
19
+ */
20
+
21
+ @mixin font-face($font-family, $weights) {
22
+ $weight-names: (
23
+ 100: 'Thin',
24
+ 200: 'ExtraLight',
25
+ 300: 'Light',
26
+ 400: 'Regular',
27
+ 500: 'Medium',
28
+ 600: 'SemiBold',
29
+ 700: 'Bold',
30
+ 800: 'ExtraBold',
31
+ 900: 'Black'
32
+ );
33
+
34
+ @each $weight in $weights {
35
+ // Используем новый синтаксис map.get()
36
+ $weight-name: map.get($weight-names, $weight);
37
+
38
+ @font-face {
39
+ font-family: '#{$font-family}';
40
+ font-weight: #{$weight};
41
+ src:
42
+ url('/fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff2')
43
+ format('woff2'),
44
+ url('/fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff')
45
+ format('woff');
46
+ }
47
+ }
48
+ }
49
+
50
+ /**
51
+ * Миксин для создания медиа-запросов с минимальной шириной
52
+ *
53
+ * @param {number} $width - Минимальная ширина в пикселях
54
+ *
55
+ * Пример использования:
56
+ * @include media-min-width(768px) {
57
+ * .container {
58
+ * padding: 20px;
59
+ * }
60
+ * }
61
+ *
62
+ * Применит стили для экранов шириной от 768px и больше
63
+ */
64
+
65
+ @mixin media-min-width($width) {
66
+ @media screen and (min-width: $width) {
67
+ @content;
68
+ }
69
+ }
70
+
71
+ /// Миксин для обрезки многострочного текста с троеточием
72
+ ///
73
+ /// @param {Number} $lines - Количество отображаемых строк (по умолчанию: 2)
74
+ ///
75
+ /// Используется для ограничения текста по количеству строк с добавлением "..."
76
+ /// Работает на основе -webkit-line-clamp и поддерживается в современных браузерах.
77
+ ///
78
+ /// 🔁 Пример использования:
79
+ /// .text {
80
+ /// @include ellipsis-multiline(3);
81
+ /// }
82
+ @mixin ellipsis-multiline($lines: 2) {
83
+ display: -webkit-box;
84
+ -webkit-line-clamp: $lines;
85
+ -webkit-box-orient: vertical;
86
+ overflow: hidden;
87
+ text-overflow: ellipsis;
88
+ }
89
+
90
+ // 📱 Адаптив
91
+ @mixin respond($breakpoint) {
92
+ @if $breakpoint == sm {
93
+ @media (min-width: 640px) {
94
+ @content;
95
+ }
96
+ } @else if $breakpoint == md {
97
+ @media (min-width: 768px) {
98
+ @content;
99
+ }
100
+ } @else if $breakpoint == lg {
101
+ @media (min-width: 1010px) {
102
+ @content;
103
+ }
104
+ } @else if $breakpoint == xl {
105
+ @media (min-width: 1220px) {
106
+ @content;
107
+ }
108
+ } @else if $breakpoint == xxl {
109
+ @media (min-width: 1420px) {
110
+ @content;
111
+ }
112
+ } @else if $breakpoint == xxxl {
113
+ @media (min-width: 1620px) {
114
+ @content;
115
+ }
116
+ }
117
+ }
118
+
119
+ // ✨ Кастомный скроллбар
120
+ @mixin custom-scrollbar($direction) {
121
+ box-sizing: content-box;
122
+
123
+ scrollbar-width: thin;
124
+ scrollbar-color: var(--theme-neutral-border-default) transparent;
125
+
126
+ // WebKit scrollbar
127
+ &::-webkit-scrollbar {
128
+ @if $direction == 'right' {
129
+ width: 8px;
130
+ height: 0;
131
+ } @else if $direction == 'bottom' {
132
+ width: 0;
133
+ height: 8px;
134
+ } @else if $direction == 'both' {
135
+ width: 8px;
136
+ height: 8px;
137
+ }
138
+ }
139
+
140
+ &::-webkit-scrollbar-thumb {
141
+ background-color: var(--theme-neutral-border-default);
142
+ border-radius: 4px;
143
+ }
144
+
145
+ &::-webkit-scrollbar-track {
146
+ background: transparent;
147
+ }
148
+
149
+ &::-webkit-scrollbar-corner {
150
+ background: transparent;
151
+ }
152
+ }