@reco-inc/upbox-ui 0.1.1

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 (401) hide show
  1. package/FigmaConnect.md +1963 -0
  2. package/README.md +217 -0
  3. package/dist/FigmaConnect.md +1963 -0
  4. package/dist/components/accordion/Accordion.d.ts +23 -0
  5. package/dist/components/accordion/Accordion.stories.d.ts +38 -0
  6. package/dist/components/accordion/AccordionContent.d.ts +22 -0
  7. package/dist/components/accordion/AccordionItem.d.ts +22 -0
  8. package/dist/components/accordion/AccordionTrigger.d.ts +23 -0
  9. package/dist/components/accordion/index.d.ts +4 -0
  10. package/dist/components/avatar/Avatar.d.ts +21 -0
  11. package/dist/components/avatar/Avatar.stories.d.ts +46 -0
  12. package/dist/components/avatar/AvatarFallback.d.ts +18 -0
  13. package/dist/components/avatar/AvatarImage.d.ts +18 -0
  14. package/dist/components/avatar/index.d.ts +14 -0
  15. package/dist/components/badge/Badge.d.ts +20 -0
  16. package/dist/components/badge/Badge.stories.d.ts +52 -0
  17. package/dist/components/badge/index.d.ts +20 -0
  18. package/dist/components/badge-divider/BadgeDivider.d.ts +18 -0
  19. package/dist/components/badge-divider/BadgeDivider.stories.d.ts +38 -0
  20. package/dist/components/badge-divider/index.d.ts +12 -0
  21. package/dist/components/breadcrumb/Breadcrumb.d.ts +21 -0
  22. package/dist/components/breadcrumb/Breadcrumb.stories.d.ts +33 -0
  23. package/dist/components/breadcrumb/BreadcrumbEllipsis.d.ts +21 -0
  24. package/dist/components/breadcrumb/BreadcrumbItem.d.ts +21 -0
  25. package/dist/components/breadcrumb/BreadcrumbLink.d.ts +24 -0
  26. package/dist/components/breadcrumb/BreadcrumbList.d.ts +21 -0
  27. package/dist/components/breadcrumb/BreadcrumbPage.d.ts +21 -0
  28. package/dist/components/breadcrumb/BreadcrumbSeparator.d.ts +21 -0
  29. package/dist/components/breadcrumb/index.d.ts +7 -0
  30. package/dist/components/button/Button.d.ts +39 -0
  31. package/dist/components/button/Button.stories.d.ts +109 -0
  32. package/dist/components/button/index.d.ts +9 -0
  33. package/dist/components/calendar/CalendarCell.d.ts +22 -0
  34. package/dist/components/calendar/CalendarCellTrigger.d.ts +22 -0
  35. package/dist/components/calendar/CalendarDateGrid.d.ts +58 -0
  36. package/dist/components/calendar/CalendarFooter.d.ts +32 -0
  37. package/dist/components/calendar/CalendarGrid.d.ts +22 -0
  38. package/dist/components/calendar/CalendarGridBody.d.ts +18 -0
  39. package/dist/components/calendar/CalendarGridHead.d.ts +22 -0
  40. package/dist/components/calendar/CalendarGridRow.d.ts +22 -0
  41. package/dist/components/calendar/CalendarHeadCell.d.ts +22 -0
  42. package/dist/components/calendar/CalendarHeader.d.ts +32 -0
  43. package/dist/components/calendar/CalendarHeading.d.ts +35 -0
  44. package/dist/components/calendar/CalendarMonthGrid.d.ts +19 -0
  45. package/dist/components/calendar/CalendarNextButton.d.ts +22 -0
  46. package/dist/components/calendar/CalendarPrevButton.d.ts +22 -0
  47. package/dist/components/calendar/CalendarRangeDateGrid.d.ts +73 -0
  48. package/dist/components/calendar/CalendarRangeHeader.d.ts +13 -0
  49. package/dist/components/calendar/CalendarShortcut.d.ts +41 -0
  50. package/dist/components/calendar/CalendarTimeSelect.d.ts +27 -0
  51. package/dist/components/calendar/CalendarYearGrid.d.ts +16 -0
  52. package/dist/components/calendar/DateCalendar.d.ts +50 -0
  53. package/dist/components/calendar/DateCalendar.stories.d.ts +69 -0
  54. package/dist/components/calendar/MobileDateCalendar.d.ts +44 -0
  55. package/dist/components/calendar/MobileDateCalendar.stories.d.ts +63 -0
  56. package/dist/components/calendar/MobilePeriodCalendar.d.ts +53 -0
  57. package/dist/components/calendar/MobilePeriodCalendar.stories.d.ts +88 -0
  58. package/dist/components/calendar/MonthCalendar.d.ts +16 -0
  59. package/dist/components/calendar/MonthCalendar.stories.d.ts +24 -0
  60. package/dist/components/calendar/PeriodCalendar.d.ts +22 -0
  61. package/dist/components/calendar/PeriodCalendar.stories.d.ts +31 -0
  62. package/dist/components/calendar/RangeCalendar.d.ts +65 -0
  63. package/dist/components/calendar/RangeCalendarNextButton.d.ts +22 -0
  64. package/dist/components/calendar/RangeCalendarPrevButton.d.ts +22 -0
  65. package/dist/components/calendar/calendarDateCellClasses.d.ts +3 -0
  66. package/dist/components/calendar/calendarShortcutItems.d.ts +16 -0
  67. package/dist/components/calendar/calendarWeek.d.ts +12 -0
  68. package/dist/components/calendar/index.d.ts +27 -0
  69. package/dist/components/card/Card.d.ts +21 -0
  70. package/dist/components/card/Card.stories.d.ts +32 -0
  71. package/dist/components/card/CardContent.d.ts +21 -0
  72. package/dist/components/card/CardDescription.d.ts +21 -0
  73. package/dist/components/card/CardFooter.d.ts +21 -0
  74. package/dist/components/card/CardHeader.d.ts +21 -0
  75. package/dist/components/card/CardTitle.d.ts +21 -0
  76. package/dist/components/card/index.d.ts +6 -0
  77. package/dist/components/checkbox/Checkbox.d.ts +33 -0
  78. package/dist/components/checkbox/Checkbox.stories.d.ts +75 -0
  79. package/dist/components/checkbox/CheckboxGroupField.d.ts +27 -0
  80. package/dist/components/checkbox/CheckboxGroupField.stories.d.ts +35 -0
  81. package/dist/components/checkbox/index.d.ts +20 -0
  82. package/dist/components/date-move/DateMove.d.ts +30 -0
  83. package/dist/components/date-move/DateMove.stories.d.ts +59 -0
  84. package/dist/components/date-move/dateMoveContext.d.ts +3 -0
  85. package/dist/components/date-move/index.d.ts +1 -0
  86. package/dist/components/date-period-picker/DatePeriodInput.d.ts +23 -0
  87. package/dist/components/date-period-picker/DatePeriodPicker.d.ts +42 -0
  88. package/dist/components/date-period-picker/DatePeriodPicker.stories.d.ts +91 -0
  89. package/dist/components/date-period-picker/DatePeriodTrigger.d.ts +16 -0
  90. package/dist/components/date-period-picker/datePeriodTypes.d.ts +7 -0
  91. package/dist/components/date-period-picker/index.d.ts +4 -0
  92. package/dist/components/date-picker/DateInput.d.ts +43 -0
  93. package/dist/components/date-picker/DatePicker.d.ts +46 -0
  94. package/dist/components/date-picker/DatePicker.stories.d.ts +117 -0
  95. package/dist/components/date-picker/DateTrigger.d.ts +23 -0
  96. package/dist/components/date-picker/datePickerContext.d.ts +14 -0
  97. package/dist/components/date-picker/index.d.ts +3 -0
  98. package/dist/components/dialog/Dialog.d.ts +22 -0
  99. package/dist/components/dialog/Dialog.stories.d.ts +37 -0
  100. package/dist/components/dialog/DialogClose.d.ts +18 -0
  101. package/dist/components/dialog/DialogContent.d.ts +60 -0
  102. package/dist/components/dialog/DialogDescription.d.ts +22 -0
  103. package/dist/components/dialog/DialogFooter.d.ts +21 -0
  104. package/dist/components/dialog/DialogHeader.d.ts +21 -0
  105. package/dist/components/dialog/DialogScrollContent.d.ts +36 -0
  106. package/dist/components/dialog/DialogTitle.d.ts +22 -0
  107. package/dist/components/dialog/DialogTrigger.d.ts +18 -0
  108. package/dist/components/dialog/index.d.ts +10 -0
  109. package/dist/components/drawer/Drawer.d.ts +34 -0
  110. package/dist/components/drawer/Drawer.stories.d.ts +67 -0
  111. package/dist/components/drawer/DrawerContent.d.ts +36 -0
  112. package/dist/components/drawer/DrawerDescription.d.ts +22 -0
  113. package/dist/components/drawer/DrawerFooter.d.ts +21 -0
  114. package/dist/components/drawer/DrawerHeader.d.ts +21 -0
  115. package/dist/components/drawer/DrawerOverlay.d.ts +7 -0
  116. package/dist/components/drawer/DrawerTitle.d.ts +22 -0
  117. package/dist/components/drawer/index.d.ts +8 -0
  118. package/dist/components/dropdown-filter/DropdownFilter.d.ts +59 -0
  119. package/dist/components/dropdown-filter/DropdownFilter.stories.d.ts +41 -0
  120. package/dist/components/dropdown-filter/index.d.ts +2 -0
  121. package/dist/components/dropdown-menu/DropdownMenu.d.ts +22 -0
  122. package/dist/components/dropdown-menu/DropdownMenu.stories.d.ts +39 -0
  123. package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.d.ts +28 -0
  124. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +36 -0
  125. package/dist/components/dropdown-menu/DropdownMenuGroup.d.ts +18 -0
  126. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +23 -0
  127. package/dist/components/dropdown-menu/DropdownMenuLabel.d.ts +23 -0
  128. package/dist/components/dropdown-menu/DropdownMenuRadioGroup.d.ts +22 -0
  129. package/dist/components/dropdown-menu/DropdownMenuRadioItem.d.ts +26 -0
  130. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +7 -0
  131. package/dist/components/dropdown-menu/DropdownMenuShortcut.d.ts +21 -0
  132. package/dist/components/dropdown-menu/DropdownMenuSub.d.ts +22 -0
  133. package/dist/components/dropdown-menu/DropdownMenuSubContent.d.ts +38 -0
  134. package/dist/components/dropdown-menu/DropdownMenuSubTrigger.d.ts +22 -0
  135. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +18 -0
  136. package/dist/components/dropdown-menu/index.d.ts +15 -0
  137. package/dist/components/empty/Empty.d.ts +21 -0
  138. package/dist/components/empty/Empty.stories.d.ts +26 -0
  139. package/dist/components/empty/EmptyState.d.ts +29 -0
  140. package/dist/components/empty/EmptyState.stories.d.ts +43 -0
  141. package/dist/components/empty/index.d.ts +4 -0
  142. package/dist/components/fab/Fab.d.ts +33 -0
  143. package/dist/components/fab/Fab.stories.d.ts +70 -0
  144. package/dist/components/fab/index.d.ts +7 -0
  145. package/dist/components/file-uploader/FileItem.d.ts +52 -0
  146. package/dist/components/file-uploader/FileUploader.d.ts +65 -0
  147. package/dist/components/file-uploader/FileUploader.stories.d.ts +122 -0
  148. package/dist/components/file-uploader/index.d.ts +3 -0
  149. package/dist/components/file-uploader/types.d.ts +33 -0
  150. package/dist/components/filter-chip/FilterChip.d.ts +24 -0
  151. package/dist/components/filter-chip/FilterChip.stories.d.ts +70 -0
  152. package/dist/components/filter-chip/index.d.ts +30 -0
  153. package/dist/components/form/FieldContainer.d.ts +51 -0
  154. package/dist/components/form/FieldContainer.stories.d.ts +77 -0
  155. package/dist/components/form/FieldControlProvider.d.ts +21 -0
  156. package/dist/components/form/FormControl.d.ts +17 -0
  157. package/dist/components/form/FormDescription.d.ts +21 -0
  158. package/dist/components/form/FormItem.d.ts +21 -0
  159. package/dist/components/form/FormLabel.d.ts +22 -0
  160. package/dist/components/form/FormMessage.d.ts +2 -0
  161. package/dist/components/form/index.d.ts +8 -0
  162. package/dist/components/form/injectionKeys.d.ts +11 -0
  163. package/dist/components/form/useFormField.d.ts +11 -0
  164. package/dist/components/icon-button/IconButton.d.ts +31 -0
  165. package/dist/components/icon-button/IconButton.stories.d.ts +67 -0
  166. package/dist/components/icon-button/index.d.ts +7 -0
  167. package/dist/components/input-frame/InputFrame.d.ts +32 -0
  168. package/dist/components/input-frame/InputFrame.stories.d.ts +75 -0
  169. package/dist/components/input-frame/InputIcon.d.ts +21 -0
  170. package/dist/components/input-frame/index.d.ts +4 -0
  171. package/dist/components/input-frame/inputFrameContext.d.ts +35 -0
  172. package/dist/components/input-frame/inputFrameVariants.d.ts +26 -0
  173. package/dist/components/input-group/InputGroup.d.ts +29 -0
  174. package/dist/components/input-group/InputGroup.stories.d.ts +47 -0
  175. package/dist/components/input-group/InputGroupAddon.d.ts +20 -0
  176. package/dist/components/input-group/InputGroupButton.d.ts +21 -0
  177. package/dist/components/input-group/InputGroupInput.d.ts +6 -0
  178. package/dist/components/input-group/InputGroupText.d.ts +21 -0
  179. package/dist/components/input-group/InputGroupTextarea.d.ts +7 -0
  180. package/dist/components/input-group/index.d.ts +27 -0
  181. package/dist/components/label/Label.d.ts +22 -0
  182. package/dist/components/label/Label.stories.d.ts +41 -0
  183. package/dist/components/label/index.d.ts +1 -0
  184. package/dist/components/logo/Logo.d.ts +5 -0
  185. package/dist/components/logo/Logo.stories.d.ts +20 -0
  186. package/dist/components/logo/index.d.ts +5 -0
  187. package/dist/components/mobile-date-period-picker/MobileDatePeriodPicker.d.ts +62 -0
  188. package/dist/components/mobile-date-period-picker/MobileDatePeriodPicker.stories.d.ts +123 -0
  189. package/dist/components/mobile-date-period-picker/MobileDatePeriodTrigger.d.ts +36 -0
  190. package/dist/components/mobile-date-period-picker/index.d.ts +2 -0
  191. package/dist/components/mobile-date-period-selector/MobileDatePeriodSelector.d.ts +49 -0
  192. package/dist/components/mobile-date-period-selector/MobileDatePeriodSelector.stories.d.ts +69 -0
  193. package/dist/components/mobile-date-period-selector/index.d.ts +2 -0
  194. package/dist/components/mobile-date-picker/MobileDatePicker.d.ts +45 -0
  195. package/dist/components/mobile-date-picker/MobileDatePicker.stories.d.ts +91 -0
  196. package/dist/components/mobile-date-picker/MobileDateTrigger.d.ts +23 -0
  197. package/dist/components/mobile-date-picker/index.d.ts +2 -0
  198. package/dist/components/mobile-time-picker/MobileTimeDial.d.ts +26 -0
  199. package/dist/components/mobile-time-picker/MobileTimeDial.stories.d.ts +37 -0
  200. package/dist/components/mobile-time-picker/MobileTimePicker.d.ts +39 -0
  201. package/dist/components/mobile-time-picker/MobileTimePicker.stories.d.ts +95 -0
  202. package/dist/components/mobile-time-picker/index.d.ts +2 -0
  203. package/dist/components/modal/Modal.d.ts +60 -0
  204. package/dist/components/modal/Modal.stories.d.ts +53 -0
  205. package/dist/components/modal/index.d.ts +2 -0
  206. package/dist/components/modal/modalProps.d.ts +57 -0
  207. package/dist/components/number-field/NumberField.d.ts +12 -0
  208. package/dist/components/number-field/NumberField.stories.d.ts +43 -0
  209. package/dist/components/number-field/NumberFieldContent.d.ts +21 -0
  210. package/dist/components/number-field/NumberFieldDecrement.d.ts +22 -0
  211. package/dist/components/number-field/NumberFieldIncrement.d.ts +22 -0
  212. package/dist/components/number-field/NumberFieldInput.d.ts +7 -0
  213. package/dist/components/number-field/NumberFieldRoot.d.ts +37 -0
  214. package/dist/components/number-field/index.d.ts +25 -0
  215. package/dist/components/page-header/PageHeader.d.ts +64 -0
  216. package/dist/components/page-header/PageHeader.stories.d.ts +27 -0
  217. package/dist/components/page-header/index.d.ts +1 -0
  218. package/dist/components/pagination/Pagination.d.ts +29 -0
  219. package/dist/components/pagination/Pagination.stories.d.ts +50 -0
  220. package/dist/components/pagination/PaginationContent.d.ts +29 -0
  221. package/dist/components/pagination/PaginationEllipsis.d.ts +22 -0
  222. package/dist/components/pagination/PaginationFirst.d.ts +22 -0
  223. package/dist/components/pagination/PaginationItem.d.ts +22 -0
  224. package/dist/components/pagination/PaginationLast.d.ts +22 -0
  225. package/dist/components/pagination/PaginationNext.d.ts +22 -0
  226. package/dist/components/pagination/PaginationPrevious.d.ts +22 -0
  227. package/dist/components/pagination/index.d.ts +13 -0
  228. package/dist/components/panel/Panel.d.ts +23 -0
  229. package/dist/components/panel/Panel.stories.d.ts +59 -0
  230. package/dist/components/panel/PanelIcon.d.ts +7 -0
  231. package/dist/components/panel/index.d.ts +17 -0
  232. package/dist/components/panel/panelContext.d.ts +8 -0
  233. package/dist/components/panel/panelVariants.d.ts +13 -0
  234. package/dist/components/popover/Popover.d.ts +22 -0
  235. package/dist/components/popover/Popover.stories.d.ts +38 -0
  236. package/dist/components/popover/PopoverContent.d.ts +39 -0
  237. package/dist/components/popover/PopoverTrigger.d.ts +18 -0
  238. package/dist/components/popover/index.d.ts +5 -0
  239. package/dist/components/radio-group/RadioGroup.d.ts +26 -0
  240. package/dist/components/radio-group/RadioGroup.stories.d.ts +48 -0
  241. package/dist/components/radio-group/RadioGroupField.d.ts +28 -0
  242. package/dist/components/radio-group/RadioGroupField.stories.d.ts +31 -0
  243. package/dist/components/radio-group/RadioGroupItem.d.ts +12 -0
  244. package/dist/components/radio-group/index.d.ts +9 -0
  245. package/dist/components/search-field/SearchField.d.ts +33 -0
  246. package/dist/components/search-field/SearchField.stories.d.ts +94 -0
  247. package/dist/components/search-field/index.d.ts +17 -0
  248. package/dist/components/select/Select.d.ts +33 -0
  249. package/dist/components/select/Select.stories.d.ts +54 -0
  250. package/dist/components/select/SelectClearIcon.d.ts +2 -0
  251. package/dist/components/select/SelectContent.d.ts +33 -0
  252. package/dist/components/select/SelectField.d.ts +16 -0
  253. package/dist/components/select/SelectField.stories.d.ts +43 -0
  254. package/dist/components/select/SelectFieldValue.d.ts +26 -0
  255. package/dist/components/select/SelectGroup.d.ts +22 -0
  256. package/dist/components/select/SelectItem.d.ts +22 -0
  257. package/dist/components/select/SelectItemText.d.ts +18 -0
  258. package/dist/components/select/SelectLabel.d.ts +22 -0
  259. package/dist/components/select/SelectScrollDownButton.d.ts +22 -0
  260. package/dist/components/select/SelectScrollUpButton.d.ts +22 -0
  261. package/dist/components/select/SelectSeparator.d.ts +7 -0
  262. package/dist/components/select/SelectTrigger.d.ts +52 -0
  263. package/dist/components/select/SelectValue.d.ts +18 -0
  264. package/dist/components/select/index.d.ts +14 -0
  265. package/dist/components/select/selectContext.d.ts +3 -0
  266. package/dist/components/select/selectFieldProps.d.ts +38 -0
  267. package/dist/components/separator/Separator.d.ts +6 -0
  268. package/dist/components/separator/Separator.stories.d.ts +13 -0
  269. package/dist/components/separator/index.d.ts +6 -0
  270. package/dist/components/sheet/Sheet.d.ts +22 -0
  271. package/dist/components/sheet/Sheet.stories.d.ts +40 -0
  272. package/dist/components/sheet/SheetClose.d.ts +18 -0
  273. package/dist/components/sheet/SheetContent.d.ts +35 -0
  274. package/dist/components/sheet/SheetDescription.d.ts +22 -0
  275. package/dist/components/sheet/SheetFooter.d.ts +21 -0
  276. package/dist/components/sheet/SheetHeader.d.ts +21 -0
  277. package/dist/components/sheet/SheetTitle.d.ts +22 -0
  278. package/dist/components/sheet/SheetTrigger.d.ts +18 -0
  279. package/dist/components/sheet/index.d.ts +17 -0
  280. package/dist/components/sidebar/Sidebar.d.ts +24 -0
  281. package/dist/components/sidebar/Sidebar.stories.d.ts +45 -0
  282. package/dist/components/sidebar/SidebarContent.d.ts +21 -0
  283. package/dist/components/sidebar/SidebarFooter.d.ts +21 -0
  284. package/dist/components/sidebar/SidebarGroup.d.ts +21 -0
  285. package/dist/components/sidebar/SidebarGroupAction.d.ts +22 -0
  286. package/dist/components/sidebar/SidebarGroupContent.d.ts +21 -0
  287. package/dist/components/sidebar/SidebarGroupLabel.d.ts +22 -0
  288. package/dist/components/sidebar/SidebarHeader.d.ts +21 -0
  289. package/dist/components/sidebar/SidebarInput.d.ts +21 -0
  290. package/dist/components/sidebar/SidebarInset.d.ts +21 -0
  291. package/dist/components/sidebar/SidebarMenu.d.ts +21 -0
  292. package/dist/components/sidebar/SidebarMenuAction.d.ts +25 -0
  293. package/dist/components/sidebar/SidebarMenuBadge.d.ts +21 -0
  294. package/dist/components/sidebar/SidebarMenuButton.d.ts +27 -0
  295. package/dist/components/sidebar/SidebarMenuButtonChild.d.ts +25 -0
  296. package/dist/components/sidebar/SidebarMenuItem.d.ts +21 -0
  297. package/dist/components/sidebar/SidebarMenuSkeleton.d.ts +7 -0
  298. package/dist/components/sidebar/SidebarMenuSub.d.ts +24 -0
  299. package/dist/components/sidebar/SidebarMenuSubButton.d.ts +27 -0
  300. package/dist/components/sidebar/SidebarMenuSubItem.d.ts +17 -0
  301. package/dist/components/sidebar/SidebarProvider.d.ts +33 -0
  302. package/dist/components/sidebar/SidebarRail.d.ts +21 -0
  303. package/dist/components/sidebar/SidebarSeparator.d.ts +21 -0
  304. package/dist/components/sidebar/SidebarTrigger.d.ts +6 -0
  305. package/dist/components/sidebar/index.d.ts +43 -0
  306. package/dist/components/sidebar/utils.d.ts +62 -0
  307. package/dist/components/skeleton/Skeleton.d.ts +6 -0
  308. package/dist/components/skeleton/Skeleton.stories.d.ts +10 -0
  309. package/dist/components/skeleton/index.d.ts +1 -0
  310. package/dist/components/spinner/Spinner.d.ts +6 -0
  311. package/dist/components/spinner/Spinner.stories.d.ts +15 -0
  312. package/dist/components/spinner/index.d.ts +1 -0
  313. package/dist/components/stepper/Stepper.d.ts +24 -0
  314. package/dist/components/stepper/Stepper.stories.d.ts +18 -0
  315. package/dist/components/stepper/index.d.ts +2 -0
  316. package/dist/components/table/DataTable.d.ts +46 -0
  317. package/dist/components/table/DataTable.stories.d.ts +24 -0
  318. package/dist/components/table/Table.d.ts +28 -0
  319. package/dist/components/table/Table.stories.d.ts +52 -0
  320. package/dist/components/table/TableBody.d.ts +21 -0
  321. package/dist/components/table/TableCaption.d.ts +21 -0
  322. package/dist/components/table/TableCell.d.ts +46 -0
  323. package/dist/components/table/TableEmpty.d.ts +24 -0
  324. package/dist/components/table/TableFooter.d.ts +21 -0
  325. package/dist/components/table/TableHead.d.ts +24 -0
  326. package/dist/components/table/TableHeader.d.ts +21 -0
  327. package/dist/components/table/TableRow.d.ts +21 -0
  328. package/dist/components/table/dataTableTypes.d.ts +19 -0
  329. package/dist/components/table/index.d.ts +11 -0
  330. package/dist/components/tabs/Tabs.d.ts +22 -0
  331. package/dist/components/tabs/Tabs.stories.d.ts +41 -0
  332. package/dist/components/tabs/TabsBar.d.ts +41 -0
  333. package/dist/components/tabs/TabsBar.stories.d.ts +27 -0
  334. package/dist/components/tabs/TabsContent.d.ts +22 -0
  335. package/dist/components/tabs/TabsList.d.ts +25 -0
  336. package/dist/components/tabs/TabsTrigger.d.ts +25 -0
  337. package/dist/components/tabs/index.d.ts +45 -0
  338. package/dist/components/tag/Tag.d.ts +27 -0
  339. package/dist/components/tag/Tag.stories.d.ts +66 -0
  340. package/dist/components/tag/index.d.ts +14 -0
  341. package/dist/components/text-button/TextButton.d.ts +32 -0
  342. package/dist/components/text-button/TextButton.stories.d.ts +67 -0
  343. package/dist/components/text-button/index.d.ts +7 -0
  344. package/dist/components/text-field/TextField.d.ts +47 -0
  345. package/dist/components/text-field/TextField.stories.d.ts +123 -0
  346. package/dist/components/text-field/TextFieldCount.d.ts +12 -0
  347. package/dist/components/text-field/TextFieldUnit.d.ts +21 -0
  348. package/dist/components/text-field/index.d.ts +6 -0
  349. package/dist/components/text-field/textFieldContext.d.ts +8 -0
  350. package/dist/components/textarea/Textarea.d.ts +59 -0
  351. package/dist/components/textarea/Textarea.stories.d.ts +112 -0
  352. package/dist/components/textarea/TextareaCount.d.ts +12 -0
  353. package/dist/components/textarea/index.d.ts +5 -0
  354. package/dist/components/textarea/textareaContext.d.ts +8 -0
  355. package/dist/components/time-picker/TimeInput.d.ts +28 -0
  356. package/dist/components/time-picker/TimePanel.d.ts +22 -0
  357. package/dist/components/time-picker/TimePicker.d.ts +37 -0
  358. package/dist/components/time-picker/TimePicker.stories.d.ts +94 -0
  359. package/dist/components/time-picker/TimeTrigger.d.ts +23 -0
  360. package/dist/components/time-picker/index.d.ts +4 -0
  361. package/dist/components/time-picker/timePickerContext.d.ts +7 -0
  362. package/dist/components/toast/Toast.d.ts +5 -0
  363. package/dist/components/toast/Toast.stories.d.ts +24 -0
  364. package/dist/components/toast/index.d.ts +3 -0
  365. package/dist/components/toggle/Toggle.d.ts +25 -0
  366. package/dist/components/toggle/Toggle.stories.d.ts +64 -0
  367. package/dist/components/toggle/index.d.ts +30 -0
  368. package/dist/components/toolbar/Toolbar.d.ts +41 -0
  369. package/dist/components/toolbar/Toolbar.stories.d.ts +87 -0
  370. package/dist/components/toolbar/index.d.ts +2 -0
  371. package/dist/components/tooltip/Tooltip.d.ts +22 -0
  372. package/dist/components/tooltip/Tooltip.stories.d.ts +36 -0
  373. package/dist/components/tooltip/TooltipContent.d.ts +30 -0
  374. package/dist/components/tooltip/TooltipProvider.d.ts +18 -0
  375. package/dist/components/tooltip/TooltipTrigger.d.ts +18 -0
  376. package/dist/components/tooltip/index.d.ts +5 -0
  377. package/dist/docs/AllComponents.d.ts +2 -0
  378. package/dist/docs/AllComponents.stories.d.ts +6 -0
  379. package/dist/docs/ColourTokens.d.ts +2 -0
  380. package/dist/docs/ColourTokens.stories.d.ts +6 -0
  381. package/dist/docs/ShadowTokens.d.ts +2 -0
  382. package/dist/docs/ShadowTokens.stories.d.ts +6 -0
  383. package/dist/docs/SpacingTokens.d.ts +2 -0
  384. package/dist/docs/SpacingTokens.stories.d.ts +6 -0
  385. package/dist/docs/TypographyTokens.d.ts +2 -0
  386. package/dist/docs/TypographyTokens.stories.d.ts +6 -0
  387. package/dist/global.d.ts +192 -0
  388. package/dist/i18n.d.ts +2 -0
  389. package/dist/i18n.mjs +93 -0
  390. package/dist/index.d.ts +59 -0
  391. package/dist/index.mjs +11834 -0
  392. package/dist/lib/options.d.ts +12 -0
  393. package/dist/lib/useDialogAriaModal.d.ts +22 -0
  394. package/dist/lib/utils.d.ts +2 -0
  395. package/dist/locales/en.d.ts +39 -0
  396. package/dist/locales/index.d.ts +104 -0
  397. package/dist/locales/ko.d.ts +43 -0
  398. package/dist/upbox-ui.css +1 -0
  399. package/package.json +99 -0
  400. package/src/style.css +458 -0
  401. package/tailwind-theme.css +379 -0
@@ -0,0 +1,41 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { DateValue } from '@internationalized/date';
3
+ import { CalendarShortcutItem } from './calendarShortcutItems';
4
+ type __VLS_Props = {
5
+ class?: HTMLAttributes["class"];
6
+ /** 노출할 단축 목록. 정책상 일부만 필요하면 골라서 넘긴다. */
7
+ items?: CalendarShortcutItem[];
8
+ /** 선택 가능한 최소 날짜(포함). 범위 밖 단축은 숨긴다. */
9
+ minValue?: DateValue | null;
10
+ /** 선택 가능한 최대 날짜(포함). 범위 밖 단축은 숨긴다. */
11
+ maxValue?: DateValue | null;
12
+ };
13
+ declare function emitShortcut(months: number): void;
14
+ declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
16
+ slots: {
17
+ default?(_: {
18
+ items: CalendarShortcutItem[];
19
+ select: typeof emitShortcut;
20
+ }): any;
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLDivElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ shortcutSelect: (months: number) => any;
28
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ onShortcutSelect?: ((months: number) => any) | undefined;
30
+ }>, {
31
+ items: CalendarShortcutItem[];
32
+ minValue: DateValue | null;
33
+ maxValue: DateValue | null;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,27 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ interface Props {
3
+ class?: HTMLAttributes["class"];
4
+ showSeconds?: boolean;
5
+ }
6
+ type __VLS_Props = Props;
7
+ type __VLS_PublicProps = {
8
+ 'hour': number;
9
+ 'minute': number;
10
+ 'second'?: number;
11
+ } & __VLS_Props;
12
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:hour": (value: number) => any;
14
+ "update:minute": (value: number) => any;
15
+ "update:second": (value: number) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ "onUpdate:hour"?: ((value: number) => any) | undefined;
18
+ "onUpdate:minute"?: ((value: number) => any) | undefined;
19
+ "onUpdate:second"?: ((value: number) => any) | undefined;
20
+ }>, {
21
+ showSeconds: boolean;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
23
+ hourScroller: HTMLDivElement;
24
+ minuteScroller: HTMLDivElement;
25
+ secondScroller: HTMLDivElement;
26
+ }, HTMLDivElement>;
27
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ interface Props {
3
+ class?: HTMLAttributes["class"];
4
+ selectedYear?: number;
5
+ startYear?: number;
6
+ yearLength?: number;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ select: (year: number) => any;
10
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
11
+ onSelect?: ((year: number) => any) | undefined;
12
+ }>, {
13
+ startYear: number;
14
+ yearLength: number;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;
@@ -0,0 +1,50 @@
1
+ import { CalendarRootProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ import { DateValue } from '@internationalized/date';
4
+ import { CalendarShortcutItem } from './calendarShortcutItems';
5
+ export interface Props extends CalendarRootProps {
6
+ class?: HTMLAttributes["class"];
7
+ showFooter?: boolean;
8
+ showQuickPresets?: boolean;
9
+ /** 단축 막대에 노출할 항목. 정책상 일부만 필요하면 골라서 넘긴다. */
10
+ shortcutItems?: CalendarShortcutItem[];
11
+ }
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ shortcut?(_: {
16
+ items: CalendarShortcutItem[];
17
+ select: (months: number) => void;
18
+ }): any;
19
+ reset?(_: {
20
+ onReset: () => void;
21
+ }): any;
22
+ done?(_: {
23
+ onDone: () => void;
24
+ }): any;
25
+ };
26
+ refs: {};
27
+ rootEl: HTMLDivElement;
28
+ };
29
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ "update:modelValue": (value: DateValue | DateValue[] | undefined) => any;
32
+ reset: () => any;
33
+ "update:placeholder": (value: DateValue | undefined) => any;
34
+ change: (value: Date | null) => any;
35
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
36
+ "onUpdate:modelValue"?: ((value: DateValue | DateValue[] | undefined) => any) | undefined;
37
+ onReset?: (() => any) | undefined;
38
+ "onUpdate:placeholder"?: ((value: DateValue | undefined) => any) | undefined;
39
+ onChange?: ((value: Date | null) => any) | undefined;
40
+ }>, {
41
+ showQuickPresets: boolean;
42
+ showFooter: boolean;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
+ export default _default;
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
@@ -0,0 +1,69 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DateCalendar').Props> & Readonly<{
6
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
7
+ onReset?: (() => any) | undefined;
8
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
9
+ onChange?: ((value: Date | null) => any) | undefined;
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any;
12
+ reset: () => any;
13
+ "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
14
+ change: (value: Date | null) => any;
15
+ }, import('vue').PublicProps, {
16
+ showQuickPresets: boolean;
17
+ showFooter: boolean;
18
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
19
+ P: {};
20
+ B: {};
21
+ D: {};
22
+ C: {};
23
+ M: {};
24
+ Defaults: {};
25
+ }, Readonly<import('./DateCalendar').Props> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
27
+ onReset?: (() => any) | undefined;
28
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
29
+ onChange?: ((value: Date | null) => any) | undefined;
30
+ }>, {}, {}, {}, {}, {
31
+ showQuickPresets: boolean;
32
+ showFooter: boolean;
33
+ }>;
34
+ __isFragment?: never;
35
+ __isTeleport?: never;
36
+ __isSuspense?: never;
37
+ } & import('vue').ComponentOptionsBase<Readonly<import('./DateCalendar').Props> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
39
+ onReset?: (() => any) | undefined;
40
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
41
+ onChange?: ((value: Date | null) => any) | undefined;
42
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
+ "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any;
44
+ reset: () => any;
45
+ "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
46
+ change: (value: Date | null) => any;
47
+ }, string, {
48
+ showQuickPresets: boolean;
49
+ showFooter: boolean;
50
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
51
+ $slots: {
52
+ shortcut?(_: {
53
+ items: import('./calendarShortcutItems').CalendarShortcutItem[];
54
+ select: (months: number) => void;
55
+ }): any;
56
+ reset?(_: {
57
+ onReset: () => void;
58
+ }): any;
59
+ done?(_: {
60
+ onDone: () => void;
61
+ }): any;
62
+ };
63
+ });
64
+ tags: string[];
65
+ };
66
+ export default meta;
67
+ type Story = StoryObj<typeof meta>;
68
+ export declare const Default: Story;
69
+ export declare const WithFooter: Story;
@@ -0,0 +1,44 @@
1
+ import { CalendarRootProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ import { DateValue } from '@internationalized/date';
4
+ export interface Props extends CalendarRootProps {
5
+ class?: HTMLAttributes["class"];
6
+ /** 초기화·저장 푸터 표시 여부 */
7
+ showFooter?: boolean;
8
+ }
9
+ declare function onReset(): void;
10
+ declare function onDone(): void;
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ reset?(_: {
15
+ onReset: typeof onReset;
16
+ }): any;
17
+ done?(_: {
18
+ onDone: typeof onDone;
19
+ }): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "update:modelValue": (value: DateValue | DateValue[] | undefined) => any;
27
+ reset: () => any;
28
+ "update:placeholder": (value: DateValue | undefined) => any;
29
+ change: (value: Date | null) => any;
30
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
31
+ "onUpdate:modelValue"?: ((value: DateValue | DateValue[] | undefined) => any) | undefined;
32
+ onReset?: (() => any) | undefined;
33
+ "onUpdate:placeholder"?: ((value: DateValue | undefined) => any) | undefined;
34
+ onChange?: ((value: Date | null) => any) | undefined;
35
+ }>, {
36
+ showFooter: boolean;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
+ export default _default;
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,63 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./MobileDateCalendar').Props> & Readonly<{
6
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
7
+ onReset?: (() => any) | undefined;
8
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
9
+ onChange?: ((value: Date | null) => any) | undefined;
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any;
12
+ reset: () => any;
13
+ "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
14
+ change: (value: Date | null) => any;
15
+ }, import('vue').PublicProps, {
16
+ showFooter: boolean;
17
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
18
+ P: {};
19
+ B: {};
20
+ D: {};
21
+ C: {};
22
+ M: {};
23
+ Defaults: {};
24
+ }, Readonly<import('./MobileDateCalendar').Props> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
26
+ onReset?: (() => any) | undefined;
27
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
28
+ onChange?: ((value: Date | null) => any) | undefined;
29
+ }>, {}, {}, {}, {}, {
30
+ showFooter: boolean;
31
+ }>;
32
+ __isFragment?: never;
33
+ __isTeleport?: never;
34
+ __isSuspense?: never;
35
+ } & import('vue').ComponentOptionsBase<Readonly<import('./MobileDateCalendar').Props> & Readonly<{
36
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
37
+ onReset?: (() => any) | undefined;
38
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
39
+ onChange?: ((value: Date | null) => any) | undefined;
40
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
+ "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any;
42
+ reset: () => any;
43
+ "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
44
+ change: (value: Date | null) => any;
45
+ }, string, {
46
+ showFooter: boolean;
47
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
48
+ $slots: {
49
+ reset?(_: {
50
+ onReset: () => void;
51
+ }): any;
52
+ done?(_: {
53
+ onDone: () => void;
54
+ }): any;
55
+ };
56
+ });
57
+ tags: string[];
58
+ };
59
+ export default meta;
60
+ type Story = StoryObj<typeof meta>;
61
+ export declare const Default: Story;
62
+ export declare const WithSelectedDate: Story;
63
+ export declare const NoFooter: Story;
@@ -0,0 +1,53 @@
1
+ import { DateRange, RangeCalendarRootProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ import { DateValue } from '@internationalized/date';
4
+ export interface Props extends RangeCalendarRootProps {
5
+ class?: HTMLAttributes["class"];
6
+ /** 초기화·저장 푸터 표시 여부 */
7
+ showFooter?: boolean;
8
+ }
9
+ declare function onReset(): void;
10
+ declare function onDone(): void;
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ reset?(_: {
15
+ onReset: typeof onReset;
16
+ }): any;
17
+ done?(_: {
18
+ onDone: typeof onDone;
19
+ }): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "update:modelValue": (value: DateRange) => any;
27
+ reset: () => any;
28
+ "update:placeholder": (value: DateValue | undefined) => any;
29
+ change: (value: {
30
+ first: Date | null;
31
+ last: Date | null;
32
+ }) => any;
33
+ "update:startValue": (value: DateValue | undefined) => any;
34
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
35
+ "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
36
+ onReset?: (() => any) | undefined;
37
+ "onUpdate:placeholder"?: ((value: DateValue | undefined) => any) | undefined;
38
+ onChange?: ((value: {
39
+ first: Date | null;
40
+ last: Date | null;
41
+ }) => any) | undefined;
42
+ "onUpdate:startValue"?: ((value: DateValue | undefined) => any) | undefined;
43
+ }>, {
44
+ showFooter: boolean;
45
+ numberOfMonths: number;
46
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
47
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
+ export default _default;
49
+ type __VLS_WithTemplateSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };
@@ -0,0 +1,88 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ import { DateRange } from 'reka-ui';
3
+ declare const meta: {
4
+ title: string;
5
+ component: {
6
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./MobilePeriodCalendar').Props> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
8
+ onReset?: (() => any) | undefined;
9
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
10
+ onChange?: ((value: {
11
+ first: Date | null;
12
+ last: Date | null;
13
+ }) => any) | undefined;
14
+ "onUpdate:startValue"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
15
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:modelValue": (value: DateRange) => any;
17
+ reset: () => any;
18
+ "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
19
+ change: (value: {
20
+ first: Date | null;
21
+ last: Date | null;
22
+ }) => any;
23
+ "update:startValue": (value: import('reka-ui').DateValue | undefined) => any;
24
+ }, import('vue').PublicProps, {
25
+ showFooter: boolean;
26
+ numberOfMonths: number;
27
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
28
+ P: {};
29
+ B: {};
30
+ D: {};
31
+ C: {};
32
+ M: {};
33
+ Defaults: {};
34
+ }, Readonly<import('./MobilePeriodCalendar').Props> & Readonly<{
35
+ "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
36
+ onReset?: (() => any) | undefined;
37
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
38
+ onChange?: ((value: {
39
+ first: Date | null;
40
+ last: Date | null;
41
+ }) => any) | undefined;
42
+ "onUpdate:startValue"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
43
+ }>, {}, {}, {}, {}, {
44
+ showFooter: boolean;
45
+ numberOfMonths: number;
46
+ }>;
47
+ __isFragment?: never;
48
+ __isTeleport?: never;
49
+ __isSuspense?: never;
50
+ } & import('vue').ComponentOptionsBase<Readonly<import('./MobilePeriodCalendar').Props> & Readonly<{
51
+ "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
52
+ onReset?: (() => any) | undefined;
53
+ "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
54
+ onChange?: ((value: {
55
+ first: Date | null;
56
+ last: Date | null;
57
+ }) => any) | undefined;
58
+ "onUpdate:startValue"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
59
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
60
+ "update:modelValue": (value: DateRange) => any;
61
+ reset: () => any;
62
+ "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
63
+ change: (value: {
64
+ first: Date | null;
65
+ last: Date | null;
66
+ }) => any;
67
+ "update:startValue": (value: import('reka-ui').DateValue | undefined) => any;
68
+ }, string, {
69
+ showFooter: boolean;
70
+ numberOfMonths: number;
71
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
72
+ $slots: {
73
+ reset?(_: {
74
+ onReset: () => void;
75
+ }): any;
76
+ done?(_: {
77
+ onDone: () => void;
78
+ }): any;
79
+ };
80
+ });
81
+ tags: string[];
82
+ };
83
+ export default meta;
84
+ type Story = StoryObj<typeof meta>;
85
+ export declare const Default: Story;
86
+ export declare const WithSelectedRange: Story;
87
+ export declare const ThreeMonths: Story;
88
+ export declare const NoFooter: Story;
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { CalendarDate } from '@internationalized/date';
3
+ type __VLS_Props = {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ type __VLS_PublicProps = {
7
+ modelValue?: CalendarDate | null;
8
+ } & __VLS_Props;
9
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: CalendarDate | null) => any;
11
+ done: () => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: CalendarDate | null) => any) | undefined;
14
+ onDone?: (() => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ import { CalendarDate } from '@internationalized/date';
3
+ declare const meta: {
4
+ title: string;
5
+ component: import('vue').DefineComponent<{
6
+ modelValue?: CalendarDate | null;
7
+ } & {
8
+ class?: import('vue').HTMLAttributes["class"];
9
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: CalendarDate | null) => any;
11
+ done: () => any;
12
+ }, string, import('vue').PublicProps, Readonly<{
13
+ modelValue?: CalendarDate | null;
14
+ } & {
15
+ class?: import('vue').HTMLAttributes["class"];
16
+ }> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: CalendarDate | null) => any) | undefined;
18
+ onDone?: (() => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ tags: string[];
21
+ };
22
+ export default meta;
23
+ type Story = StoryObj<typeof meta>;
24
+ export declare const Default: Story;
@@ -0,0 +1,22 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ reset?(_: {
5
+ onReset: () => void;
6
+ }): any;
7
+ done?(_: {
8
+ onDone: () => void;
9
+ }): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,31 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
6
+ P: {};
7
+ B: {};
8
+ D: {};
9
+ C: {};
10
+ M: {};
11
+ Defaults: {};
12
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
13
+ __isFragment?: never;
14
+ __isTeleport?: never;
15
+ __isSuspense?: never;
16
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
17
+ $slots: {
18
+ reset?(_: {
19
+ onReset: () => void;
20
+ }): any;
21
+ done?(_: {
22
+ onDone: () => void;
23
+ }): any;
24
+ };
25
+ });
26
+ tags: string[];
27
+ };
28
+ export default meta;
29
+ type Story = StoryObj<typeof meta>;
30
+ export declare const Default: Story;
31
+ export declare const SelectedRange: Story;
@@ -0,0 +1,65 @@
1
+ import { DateRange, RangeCalendarRootProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ import { DateValue } from '@internationalized/date';
4
+ import { CalendarShortcutItem } from './calendarShortcutItems';
5
+ interface Props extends RangeCalendarRootProps {
6
+ class?: HTMLAttributes["class"];
7
+ /** 시작·종료 시각 포함 */
8
+ datetime?: boolean;
9
+ /** 초 선택 */
10
+ seconds?: boolean;
11
+ showFooter?: boolean;
12
+ /** 1·3·6개월·1년 단축 (DateCalendar 와 동일) */
13
+ showQuickPresets?: boolean;
14
+ /** 단축 막대에 노출할 항목. 정책상 일부만 필요하면 골라서 넘긴다. */
15
+ shortcutItems?: CalendarShortcutItem[];
16
+ }
17
+ declare function __VLS_template(): {
18
+ attrs: Partial<{}>;
19
+ slots: {
20
+ shortcut?(_: {
21
+ items: CalendarShortcutItem[];
22
+ select: (months: number) => void;
23
+ }): any;
24
+ reset?(_: {
25
+ onReset: () => void;
26
+ }): any;
27
+ done?(_: {
28
+ onDone: () => void;
29
+ }): any;
30
+ };
31
+ refs: {};
32
+ rootEl: HTMLDivElement;
33
+ };
34
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
35
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ "update:modelValue": (value: DateRange) => any;
37
+ reset: () => any;
38
+ "update:placeholder": (value: DateValue | undefined) => any;
39
+ change: (value: {
40
+ first: Date | null;
41
+ last: Date | null;
42
+ }) => any;
43
+ "update:startValue": (value: DateValue | undefined) => any;
44
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
45
+ "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
46
+ onReset?: (() => any) | undefined;
47
+ "onUpdate:placeholder"?: ((value: DateValue | undefined) => any) | undefined;
48
+ onChange?: ((value: {
49
+ first: Date | null;
50
+ last: Date | null;
51
+ }) => any) | undefined;
52
+ "onUpdate:startValue"?: ((value: DateValue | undefined) => any) | undefined;
53
+ }>, {
54
+ showQuickPresets: boolean;
55
+ showFooter: boolean;
56
+ datetime: boolean;
57
+ seconds: boolean;
58
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
59
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
60
+ export default _default;
61
+ type __VLS_WithTemplateSlots<T, S> = T & {
62
+ new (): {
63
+ $slots: S;
64
+ };
65
+ };
@@ -0,0 +1,22 @@
1
+ import { RangeCalendarNextProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = RangeCalendarNextProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };