@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.
- package/FigmaConnect.md +1963 -0
- package/README.md +217 -0
- package/dist/FigmaConnect.md +1963 -0
- package/dist/components/accordion/Accordion.d.ts +23 -0
- package/dist/components/accordion/Accordion.stories.d.ts +38 -0
- package/dist/components/accordion/AccordionContent.d.ts +22 -0
- package/dist/components/accordion/AccordionItem.d.ts +22 -0
- package/dist/components/accordion/AccordionTrigger.d.ts +23 -0
- package/dist/components/accordion/index.d.ts +4 -0
- package/dist/components/avatar/Avatar.d.ts +21 -0
- package/dist/components/avatar/Avatar.stories.d.ts +46 -0
- package/dist/components/avatar/AvatarFallback.d.ts +18 -0
- package/dist/components/avatar/AvatarImage.d.ts +18 -0
- package/dist/components/avatar/index.d.ts +14 -0
- package/dist/components/badge/Badge.d.ts +20 -0
- package/dist/components/badge/Badge.stories.d.ts +52 -0
- package/dist/components/badge/index.d.ts +20 -0
- package/dist/components/badge-divider/BadgeDivider.d.ts +18 -0
- package/dist/components/badge-divider/BadgeDivider.stories.d.ts +38 -0
- package/dist/components/badge-divider/index.d.ts +12 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +21 -0
- package/dist/components/breadcrumb/Breadcrumb.stories.d.ts +33 -0
- package/dist/components/breadcrumb/BreadcrumbEllipsis.d.ts +21 -0
- package/dist/components/breadcrumb/BreadcrumbItem.d.ts +21 -0
- package/dist/components/breadcrumb/BreadcrumbLink.d.ts +24 -0
- package/dist/components/breadcrumb/BreadcrumbList.d.ts +21 -0
- package/dist/components/breadcrumb/BreadcrumbPage.d.ts +21 -0
- package/dist/components/breadcrumb/BreadcrumbSeparator.d.ts +21 -0
- package/dist/components/breadcrumb/index.d.ts +7 -0
- package/dist/components/button/Button.d.ts +39 -0
- package/dist/components/button/Button.stories.d.ts +109 -0
- package/dist/components/button/index.d.ts +9 -0
- package/dist/components/calendar/CalendarCell.d.ts +22 -0
- package/dist/components/calendar/CalendarCellTrigger.d.ts +22 -0
- package/dist/components/calendar/CalendarDateGrid.d.ts +58 -0
- package/dist/components/calendar/CalendarFooter.d.ts +32 -0
- package/dist/components/calendar/CalendarGrid.d.ts +22 -0
- package/dist/components/calendar/CalendarGridBody.d.ts +18 -0
- package/dist/components/calendar/CalendarGridHead.d.ts +22 -0
- package/dist/components/calendar/CalendarGridRow.d.ts +22 -0
- package/dist/components/calendar/CalendarHeadCell.d.ts +22 -0
- package/dist/components/calendar/CalendarHeader.d.ts +32 -0
- package/dist/components/calendar/CalendarHeading.d.ts +35 -0
- package/dist/components/calendar/CalendarMonthGrid.d.ts +19 -0
- package/dist/components/calendar/CalendarNextButton.d.ts +22 -0
- package/dist/components/calendar/CalendarPrevButton.d.ts +22 -0
- package/dist/components/calendar/CalendarRangeDateGrid.d.ts +73 -0
- package/dist/components/calendar/CalendarRangeHeader.d.ts +13 -0
- package/dist/components/calendar/CalendarShortcut.d.ts +41 -0
- package/dist/components/calendar/CalendarTimeSelect.d.ts +27 -0
- package/dist/components/calendar/CalendarYearGrid.d.ts +16 -0
- package/dist/components/calendar/DateCalendar.d.ts +50 -0
- package/dist/components/calendar/DateCalendar.stories.d.ts +69 -0
- package/dist/components/calendar/MobileDateCalendar.d.ts +44 -0
- package/dist/components/calendar/MobileDateCalendar.stories.d.ts +63 -0
- package/dist/components/calendar/MobilePeriodCalendar.d.ts +53 -0
- package/dist/components/calendar/MobilePeriodCalendar.stories.d.ts +88 -0
- package/dist/components/calendar/MonthCalendar.d.ts +16 -0
- package/dist/components/calendar/MonthCalendar.stories.d.ts +24 -0
- package/dist/components/calendar/PeriodCalendar.d.ts +22 -0
- package/dist/components/calendar/PeriodCalendar.stories.d.ts +31 -0
- package/dist/components/calendar/RangeCalendar.d.ts +65 -0
- package/dist/components/calendar/RangeCalendarNextButton.d.ts +22 -0
- package/dist/components/calendar/RangeCalendarPrevButton.d.ts +22 -0
- package/dist/components/calendar/calendarDateCellClasses.d.ts +3 -0
- package/dist/components/calendar/calendarShortcutItems.d.ts +16 -0
- package/dist/components/calendar/calendarWeek.d.ts +12 -0
- package/dist/components/calendar/index.d.ts +27 -0
- package/dist/components/card/Card.d.ts +21 -0
- package/dist/components/card/Card.stories.d.ts +32 -0
- package/dist/components/card/CardContent.d.ts +21 -0
- package/dist/components/card/CardDescription.d.ts +21 -0
- package/dist/components/card/CardFooter.d.ts +21 -0
- package/dist/components/card/CardHeader.d.ts +21 -0
- package/dist/components/card/CardTitle.d.ts +21 -0
- package/dist/components/card/index.d.ts +6 -0
- package/dist/components/checkbox/Checkbox.d.ts +33 -0
- package/dist/components/checkbox/Checkbox.stories.d.ts +75 -0
- package/dist/components/checkbox/CheckboxGroupField.d.ts +27 -0
- package/dist/components/checkbox/CheckboxGroupField.stories.d.ts +35 -0
- package/dist/components/checkbox/index.d.ts +20 -0
- package/dist/components/date-move/DateMove.d.ts +30 -0
- package/dist/components/date-move/DateMove.stories.d.ts +59 -0
- package/dist/components/date-move/dateMoveContext.d.ts +3 -0
- package/dist/components/date-move/index.d.ts +1 -0
- package/dist/components/date-period-picker/DatePeriodInput.d.ts +23 -0
- package/dist/components/date-period-picker/DatePeriodPicker.d.ts +42 -0
- package/dist/components/date-period-picker/DatePeriodPicker.stories.d.ts +91 -0
- package/dist/components/date-period-picker/DatePeriodTrigger.d.ts +16 -0
- package/dist/components/date-period-picker/datePeriodTypes.d.ts +7 -0
- package/dist/components/date-period-picker/index.d.ts +4 -0
- package/dist/components/date-picker/DateInput.d.ts +43 -0
- package/dist/components/date-picker/DatePicker.d.ts +46 -0
- package/dist/components/date-picker/DatePicker.stories.d.ts +117 -0
- package/dist/components/date-picker/DateTrigger.d.ts +23 -0
- package/dist/components/date-picker/datePickerContext.d.ts +14 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/dialog/Dialog.d.ts +22 -0
- package/dist/components/dialog/Dialog.stories.d.ts +37 -0
- package/dist/components/dialog/DialogClose.d.ts +18 -0
- package/dist/components/dialog/DialogContent.d.ts +60 -0
- package/dist/components/dialog/DialogDescription.d.ts +22 -0
- package/dist/components/dialog/DialogFooter.d.ts +21 -0
- package/dist/components/dialog/DialogHeader.d.ts +21 -0
- package/dist/components/dialog/DialogScrollContent.d.ts +36 -0
- package/dist/components/dialog/DialogTitle.d.ts +22 -0
- package/dist/components/dialog/DialogTrigger.d.ts +18 -0
- package/dist/components/dialog/index.d.ts +10 -0
- package/dist/components/drawer/Drawer.d.ts +34 -0
- package/dist/components/drawer/Drawer.stories.d.ts +67 -0
- package/dist/components/drawer/DrawerContent.d.ts +36 -0
- package/dist/components/drawer/DrawerDescription.d.ts +22 -0
- package/dist/components/drawer/DrawerFooter.d.ts +21 -0
- package/dist/components/drawer/DrawerHeader.d.ts +21 -0
- package/dist/components/drawer/DrawerOverlay.d.ts +7 -0
- package/dist/components/drawer/DrawerTitle.d.ts +22 -0
- package/dist/components/drawer/index.d.ts +8 -0
- package/dist/components/dropdown-filter/DropdownFilter.d.ts +59 -0
- package/dist/components/dropdown-filter/DropdownFilter.stories.d.ts +41 -0
- package/dist/components/dropdown-filter/index.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +22 -0
- package/dist/components/dropdown-menu/DropdownMenu.stories.d.ts +39 -0
- package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.d.ts +28 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +36 -0
- package/dist/components/dropdown-menu/DropdownMenuGroup.d.ts +18 -0
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +23 -0
- package/dist/components/dropdown-menu/DropdownMenuLabel.d.ts +23 -0
- package/dist/components/dropdown-menu/DropdownMenuRadioGroup.d.ts +22 -0
- package/dist/components/dropdown-menu/DropdownMenuRadioItem.d.ts +26 -0
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +7 -0
- package/dist/components/dropdown-menu/DropdownMenuShortcut.d.ts +21 -0
- package/dist/components/dropdown-menu/DropdownMenuSub.d.ts +22 -0
- package/dist/components/dropdown-menu/DropdownMenuSubContent.d.ts +38 -0
- package/dist/components/dropdown-menu/DropdownMenuSubTrigger.d.ts +22 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +18 -0
- package/dist/components/dropdown-menu/index.d.ts +15 -0
- package/dist/components/empty/Empty.d.ts +21 -0
- package/dist/components/empty/Empty.stories.d.ts +26 -0
- package/dist/components/empty/EmptyState.d.ts +29 -0
- package/dist/components/empty/EmptyState.stories.d.ts +43 -0
- package/dist/components/empty/index.d.ts +4 -0
- package/dist/components/fab/Fab.d.ts +33 -0
- package/dist/components/fab/Fab.stories.d.ts +70 -0
- package/dist/components/fab/index.d.ts +7 -0
- package/dist/components/file-uploader/FileItem.d.ts +52 -0
- package/dist/components/file-uploader/FileUploader.d.ts +65 -0
- package/dist/components/file-uploader/FileUploader.stories.d.ts +122 -0
- package/dist/components/file-uploader/index.d.ts +3 -0
- package/dist/components/file-uploader/types.d.ts +33 -0
- package/dist/components/filter-chip/FilterChip.d.ts +24 -0
- package/dist/components/filter-chip/FilterChip.stories.d.ts +70 -0
- package/dist/components/filter-chip/index.d.ts +30 -0
- package/dist/components/form/FieldContainer.d.ts +51 -0
- package/dist/components/form/FieldContainer.stories.d.ts +77 -0
- package/dist/components/form/FieldControlProvider.d.ts +21 -0
- package/dist/components/form/FormControl.d.ts +17 -0
- package/dist/components/form/FormDescription.d.ts +21 -0
- package/dist/components/form/FormItem.d.ts +21 -0
- package/dist/components/form/FormLabel.d.ts +22 -0
- package/dist/components/form/FormMessage.d.ts +2 -0
- package/dist/components/form/index.d.ts +8 -0
- package/dist/components/form/injectionKeys.d.ts +11 -0
- package/dist/components/form/useFormField.d.ts +11 -0
- package/dist/components/icon-button/IconButton.d.ts +31 -0
- package/dist/components/icon-button/IconButton.stories.d.ts +67 -0
- package/dist/components/icon-button/index.d.ts +7 -0
- package/dist/components/input-frame/InputFrame.d.ts +32 -0
- package/dist/components/input-frame/InputFrame.stories.d.ts +75 -0
- package/dist/components/input-frame/InputIcon.d.ts +21 -0
- package/dist/components/input-frame/index.d.ts +4 -0
- package/dist/components/input-frame/inputFrameContext.d.ts +35 -0
- package/dist/components/input-frame/inputFrameVariants.d.ts +26 -0
- package/dist/components/input-group/InputGroup.d.ts +29 -0
- package/dist/components/input-group/InputGroup.stories.d.ts +47 -0
- package/dist/components/input-group/InputGroupAddon.d.ts +20 -0
- package/dist/components/input-group/InputGroupButton.d.ts +21 -0
- package/dist/components/input-group/InputGroupInput.d.ts +6 -0
- package/dist/components/input-group/InputGroupText.d.ts +21 -0
- package/dist/components/input-group/InputGroupTextarea.d.ts +7 -0
- package/dist/components/input-group/index.d.ts +27 -0
- package/dist/components/label/Label.d.ts +22 -0
- package/dist/components/label/Label.stories.d.ts +41 -0
- package/dist/components/label/index.d.ts +1 -0
- package/dist/components/logo/Logo.d.ts +5 -0
- package/dist/components/logo/Logo.stories.d.ts +20 -0
- package/dist/components/logo/index.d.ts +5 -0
- package/dist/components/mobile-date-period-picker/MobileDatePeriodPicker.d.ts +62 -0
- package/dist/components/mobile-date-period-picker/MobileDatePeriodPicker.stories.d.ts +123 -0
- package/dist/components/mobile-date-period-picker/MobileDatePeriodTrigger.d.ts +36 -0
- package/dist/components/mobile-date-period-picker/index.d.ts +2 -0
- package/dist/components/mobile-date-period-selector/MobileDatePeriodSelector.d.ts +49 -0
- package/dist/components/mobile-date-period-selector/MobileDatePeriodSelector.stories.d.ts +69 -0
- package/dist/components/mobile-date-period-selector/index.d.ts +2 -0
- package/dist/components/mobile-date-picker/MobileDatePicker.d.ts +45 -0
- package/dist/components/mobile-date-picker/MobileDatePicker.stories.d.ts +91 -0
- package/dist/components/mobile-date-picker/MobileDateTrigger.d.ts +23 -0
- package/dist/components/mobile-date-picker/index.d.ts +2 -0
- package/dist/components/mobile-time-picker/MobileTimeDial.d.ts +26 -0
- package/dist/components/mobile-time-picker/MobileTimeDial.stories.d.ts +37 -0
- package/dist/components/mobile-time-picker/MobileTimePicker.d.ts +39 -0
- package/dist/components/mobile-time-picker/MobileTimePicker.stories.d.ts +95 -0
- package/dist/components/mobile-time-picker/index.d.ts +2 -0
- package/dist/components/modal/Modal.d.ts +60 -0
- package/dist/components/modal/Modal.stories.d.ts +53 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/modalProps.d.ts +57 -0
- package/dist/components/number-field/NumberField.d.ts +12 -0
- package/dist/components/number-field/NumberField.stories.d.ts +43 -0
- package/dist/components/number-field/NumberFieldContent.d.ts +21 -0
- package/dist/components/number-field/NumberFieldDecrement.d.ts +22 -0
- package/dist/components/number-field/NumberFieldIncrement.d.ts +22 -0
- package/dist/components/number-field/NumberFieldInput.d.ts +7 -0
- package/dist/components/number-field/NumberFieldRoot.d.ts +37 -0
- package/dist/components/number-field/index.d.ts +25 -0
- package/dist/components/page-header/PageHeader.d.ts +64 -0
- package/dist/components/page-header/PageHeader.stories.d.ts +27 -0
- package/dist/components/page-header/index.d.ts +1 -0
- package/dist/components/pagination/Pagination.d.ts +29 -0
- package/dist/components/pagination/Pagination.stories.d.ts +50 -0
- package/dist/components/pagination/PaginationContent.d.ts +29 -0
- package/dist/components/pagination/PaginationEllipsis.d.ts +22 -0
- package/dist/components/pagination/PaginationFirst.d.ts +22 -0
- package/dist/components/pagination/PaginationItem.d.ts +22 -0
- package/dist/components/pagination/PaginationLast.d.ts +22 -0
- package/dist/components/pagination/PaginationNext.d.ts +22 -0
- package/dist/components/pagination/PaginationPrevious.d.ts +22 -0
- package/dist/components/pagination/index.d.ts +13 -0
- package/dist/components/panel/Panel.d.ts +23 -0
- package/dist/components/panel/Panel.stories.d.ts +59 -0
- package/dist/components/panel/PanelIcon.d.ts +7 -0
- package/dist/components/panel/index.d.ts +17 -0
- package/dist/components/panel/panelContext.d.ts +8 -0
- package/dist/components/panel/panelVariants.d.ts +13 -0
- package/dist/components/popover/Popover.d.ts +22 -0
- package/dist/components/popover/Popover.stories.d.ts +38 -0
- package/dist/components/popover/PopoverContent.d.ts +39 -0
- package/dist/components/popover/PopoverTrigger.d.ts +18 -0
- package/dist/components/popover/index.d.ts +5 -0
- package/dist/components/radio-group/RadioGroup.d.ts +26 -0
- package/dist/components/radio-group/RadioGroup.stories.d.ts +48 -0
- package/dist/components/radio-group/RadioGroupField.d.ts +28 -0
- package/dist/components/radio-group/RadioGroupField.stories.d.ts +31 -0
- package/dist/components/radio-group/RadioGroupItem.d.ts +12 -0
- package/dist/components/radio-group/index.d.ts +9 -0
- package/dist/components/search-field/SearchField.d.ts +33 -0
- package/dist/components/search-field/SearchField.stories.d.ts +94 -0
- package/dist/components/search-field/index.d.ts +17 -0
- package/dist/components/select/Select.d.ts +33 -0
- package/dist/components/select/Select.stories.d.ts +54 -0
- package/dist/components/select/SelectClearIcon.d.ts +2 -0
- package/dist/components/select/SelectContent.d.ts +33 -0
- package/dist/components/select/SelectField.d.ts +16 -0
- package/dist/components/select/SelectField.stories.d.ts +43 -0
- package/dist/components/select/SelectFieldValue.d.ts +26 -0
- package/dist/components/select/SelectGroup.d.ts +22 -0
- package/dist/components/select/SelectItem.d.ts +22 -0
- package/dist/components/select/SelectItemText.d.ts +18 -0
- package/dist/components/select/SelectLabel.d.ts +22 -0
- package/dist/components/select/SelectScrollDownButton.d.ts +22 -0
- package/dist/components/select/SelectScrollUpButton.d.ts +22 -0
- package/dist/components/select/SelectSeparator.d.ts +7 -0
- package/dist/components/select/SelectTrigger.d.ts +52 -0
- package/dist/components/select/SelectValue.d.ts +18 -0
- package/dist/components/select/index.d.ts +14 -0
- package/dist/components/select/selectContext.d.ts +3 -0
- package/dist/components/select/selectFieldProps.d.ts +38 -0
- package/dist/components/separator/Separator.d.ts +6 -0
- package/dist/components/separator/Separator.stories.d.ts +13 -0
- package/dist/components/separator/index.d.ts +6 -0
- package/dist/components/sheet/Sheet.d.ts +22 -0
- package/dist/components/sheet/Sheet.stories.d.ts +40 -0
- package/dist/components/sheet/SheetClose.d.ts +18 -0
- package/dist/components/sheet/SheetContent.d.ts +35 -0
- package/dist/components/sheet/SheetDescription.d.ts +22 -0
- package/dist/components/sheet/SheetFooter.d.ts +21 -0
- package/dist/components/sheet/SheetHeader.d.ts +21 -0
- package/dist/components/sheet/SheetTitle.d.ts +22 -0
- package/dist/components/sheet/SheetTrigger.d.ts +18 -0
- package/dist/components/sheet/index.d.ts +17 -0
- package/dist/components/sidebar/Sidebar.d.ts +24 -0
- package/dist/components/sidebar/Sidebar.stories.d.ts +45 -0
- package/dist/components/sidebar/SidebarContent.d.ts +21 -0
- package/dist/components/sidebar/SidebarFooter.d.ts +21 -0
- package/dist/components/sidebar/SidebarGroup.d.ts +21 -0
- package/dist/components/sidebar/SidebarGroupAction.d.ts +22 -0
- package/dist/components/sidebar/SidebarGroupContent.d.ts +21 -0
- package/dist/components/sidebar/SidebarGroupLabel.d.ts +22 -0
- package/dist/components/sidebar/SidebarHeader.d.ts +21 -0
- package/dist/components/sidebar/SidebarInput.d.ts +21 -0
- package/dist/components/sidebar/SidebarInset.d.ts +21 -0
- package/dist/components/sidebar/SidebarMenu.d.ts +21 -0
- package/dist/components/sidebar/SidebarMenuAction.d.ts +25 -0
- package/dist/components/sidebar/SidebarMenuBadge.d.ts +21 -0
- package/dist/components/sidebar/SidebarMenuButton.d.ts +27 -0
- package/dist/components/sidebar/SidebarMenuButtonChild.d.ts +25 -0
- package/dist/components/sidebar/SidebarMenuItem.d.ts +21 -0
- package/dist/components/sidebar/SidebarMenuSkeleton.d.ts +7 -0
- package/dist/components/sidebar/SidebarMenuSub.d.ts +24 -0
- package/dist/components/sidebar/SidebarMenuSubButton.d.ts +27 -0
- package/dist/components/sidebar/SidebarMenuSubItem.d.ts +17 -0
- package/dist/components/sidebar/SidebarProvider.d.ts +33 -0
- package/dist/components/sidebar/SidebarRail.d.ts +21 -0
- package/dist/components/sidebar/SidebarSeparator.d.ts +21 -0
- package/dist/components/sidebar/SidebarTrigger.d.ts +6 -0
- package/dist/components/sidebar/index.d.ts +43 -0
- package/dist/components/sidebar/utils.d.ts +62 -0
- package/dist/components/skeleton/Skeleton.d.ts +6 -0
- package/dist/components/skeleton/Skeleton.stories.d.ts +10 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/spinner/Spinner.d.ts +6 -0
- package/dist/components/spinner/Spinner.stories.d.ts +15 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/stepper/Stepper.d.ts +24 -0
- package/dist/components/stepper/Stepper.stories.d.ts +18 -0
- package/dist/components/stepper/index.d.ts +2 -0
- package/dist/components/table/DataTable.d.ts +46 -0
- package/dist/components/table/DataTable.stories.d.ts +24 -0
- package/dist/components/table/Table.d.ts +28 -0
- package/dist/components/table/Table.stories.d.ts +52 -0
- package/dist/components/table/TableBody.d.ts +21 -0
- package/dist/components/table/TableCaption.d.ts +21 -0
- package/dist/components/table/TableCell.d.ts +46 -0
- package/dist/components/table/TableEmpty.d.ts +24 -0
- package/dist/components/table/TableFooter.d.ts +21 -0
- package/dist/components/table/TableHead.d.ts +24 -0
- package/dist/components/table/TableHeader.d.ts +21 -0
- package/dist/components/table/TableRow.d.ts +21 -0
- package/dist/components/table/dataTableTypes.d.ts +19 -0
- package/dist/components/table/index.d.ts +11 -0
- package/dist/components/tabs/Tabs.d.ts +22 -0
- package/dist/components/tabs/Tabs.stories.d.ts +41 -0
- package/dist/components/tabs/TabsBar.d.ts +41 -0
- package/dist/components/tabs/TabsBar.stories.d.ts +27 -0
- package/dist/components/tabs/TabsContent.d.ts +22 -0
- package/dist/components/tabs/TabsList.d.ts +25 -0
- package/dist/components/tabs/TabsTrigger.d.ts +25 -0
- package/dist/components/tabs/index.d.ts +45 -0
- package/dist/components/tag/Tag.d.ts +27 -0
- package/dist/components/tag/Tag.stories.d.ts +66 -0
- package/dist/components/tag/index.d.ts +14 -0
- package/dist/components/text-button/TextButton.d.ts +32 -0
- package/dist/components/text-button/TextButton.stories.d.ts +67 -0
- package/dist/components/text-button/index.d.ts +7 -0
- package/dist/components/text-field/TextField.d.ts +47 -0
- package/dist/components/text-field/TextField.stories.d.ts +123 -0
- package/dist/components/text-field/TextFieldCount.d.ts +12 -0
- package/dist/components/text-field/TextFieldUnit.d.ts +21 -0
- package/dist/components/text-field/index.d.ts +6 -0
- package/dist/components/text-field/textFieldContext.d.ts +8 -0
- package/dist/components/textarea/Textarea.d.ts +59 -0
- package/dist/components/textarea/Textarea.stories.d.ts +112 -0
- package/dist/components/textarea/TextareaCount.d.ts +12 -0
- package/dist/components/textarea/index.d.ts +5 -0
- package/dist/components/textarea/textareaContext.d.ts +8 -0
- package/dist/components/time-picker/TimeInput.d.ts +28 -0
- package/dist/components/time-picker/TimePanel.d.ts +22 -0
- package/dist/components/time-picker/TimePicker.d.ts +37 -0
- package/dist/components/time-picker/TimePicker.stories.d.ts +94 -0
- package/dist/components/time-picker/TimeTrigger.d.ts +23 -0
- package/dist/components/time-picker/index.d.ts +4 -0
- package/dist/components/time-picker/timePickerContext.d.ts +7 -0
- package/dist/components/toast/Toast.d.ts +5 -0
- package/dist/components/toast/Toast.stories.d.ts +24 -0
- package/dist/components/toast/index.d.ts +3 -0
- package/dist/components/toggle/Toggle.d.ts +25 -0
- package/dist/components/toggle/Toggle.stories.d.ts +64 -0
- package/dist/components/toggle/index.d.ts +30 -0
- package/dist/components/toolbar/Toolbar.d.ts +41 -0
- package/dist/components/toolbar/Toolbar.stories.d.ts +87 -0
- package/dist/components/toolbar/index.d.ts +2 -0
- package/dist/components/tooltip/Tooltip.d.ts +22 -0
- package/dist/components/tooltip/Tooltip.stories.d.ts +36 -0
- package/dist/components/tooltip/TooltipContent.d.ts +30 -0
- package/dist/components/tooltip/TooltipProvider.d.ts +18 -0
- package/dist/components/tooltip/TooltipTrigger.d.ts +18 -0
- package/dist/components/tooltip/index.d.ts +5 -0
- package/dist/docs/AllComponents.d.ts +2 -0
- package/dist/docs/AllComponents.stories.d.ts +6 -0
- package/dist/docs/ColourTokens.d.ts +2 -0
- package/dist/docs/ColourTokens.stories.d.ts +6 -0
- package/dist/docs/ShadowTokens.d.ts +2 -0
- package/dist/docs/ShadowTokens.stories.d.ts +6 -0
- package/dist/docs/SpacingTokens.d.ts +2 -0
- package/dist/docs/SpacingTokens.stories.d.ts +6 -0
- package/dist/docs/TypographyTokens.d.ts +2 -0
- package/dist/docs/TypographyTokens.stories.d.ts +6 -0
- package/dist/global.d.ts +192 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/i18n.mjs +93 -0
- package/dist/index.d.ts +59 -0
- package/dist/index.mjs +11834 -0
- package/dist/lib/options.d.ts +12 -0
- package/dist/lib/useDialogAriaModal.d.ts +22 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/locales/en.d.ts +39 -0
- package/dist/locales/index.d.ts +104 -0
- package/dist/locales/ko.d.ts +43 -0
- package/dist/upbox-ui.css +1 -0
- package/package.json +99 -0
- package/src/style.css +458 -0
- package/tailwind-theme.css +379 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { DateValue } from '@internationalized/date';
|
|
3
|
+
import { DatePeriodValue } from '../date-period-picker/datePeriodTypes';
|
|
4
|
+
export type DatePeriodPreset = "1m" | "3m" | "1y" | "custom";
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
modelValue?: DatePeriodValue | null;
|
|
7
|
+
preset?: DatePeriodPreset;
|
|
8
|
+
title?: string;
|
|
9
|
+
doneText?: string;
|
|
10
|
+
startPlaceholder?: string;
|
|
11
|
+
endPlaceholder?: string;
|
|
12
|
+
showClose?: boolean;
|
|
13
|
+
class?: HTMLAttributes["class"];
|
|
14
|
+
/** 직접 설정 캘린더의 선택 가능한 최소 날짜(포함). */
|
|
15
|
+
minValue?: DateValue | null;
|
|
16
|
+
/** 직접 설정 캘린더의 선택 가능한 최대 날짜(포함).(예: 오늘 → 미래 차단) */
|
|
17
|
+
maxValue?: DateValue | null;
|
|
18
|
+
/** 최대 조회기간(일). 시작일로부터 초과 범위의 날짜 셀 비활성 + 완료 버튼 검증. */
|
|
19
|
+
maxRangeDays?: number;
|
|
20
|
+
/** maxRangeDays 초과 시 입력 하단에 노출할 인라인 에러 문구. 미지정이면 표시하지 않는다. */
|
|
21
|
+
maxRangeMessage?: string;
|
|
22
|
+
/** 캘린더 드로어 패널 클래스(폭 제한 등) */
|
|
23
|
+
drawerContentClass?: HTMLAttributes["class"];
|
|
24
|
+
};
|
|
25
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (value: DatePeriodValue | null) => any;
|
|
27
|
+
done: (value: DatePeriodValue) => any;
|
|
28
|
+
close: () => any;
|
|
29
|
+
"update:preset": (value: DatePeriodPreset) => any;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: ((value: DatePeriodValue | null) => any) | undefined;
|
|
32
|
+
onDone?: ((value: DatePeriodValue) => any) | undefined;
|
|
33
|
+
onClose?: (() => any) | undefined;
|
|
34
|
+
"onUpdate:preset"?: ((value: DatePeriodPreset) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
modelValue: DatePeriodValue | null;
|
|
37
|
+
title: string;
|
|
38
|
+
minValue: DateValue | null;
|
|
39
|
+
maxValue: DateValue | null;
|
|
40
|
+
showClose: boolean;
|
|
41
|
+
startPlaceholder: string;
|
|
42
|
+
endPlaceholder: string;
|
|
43
|
+
maxRangeDays: number;
|
|
44
|
+
drawerContentClass: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
45
|
+
preset: DatePeriodPreset;
|
|
46
|
+
doneText: string;
|
|
47
|
+
maxRangeMessage: string;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { DatePeriodPreset } from './MobileDatePeriodSelector';
|
|
3
|
+
import { DatePeriodValue } from '../date-period-picker/datePeriodTypes';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import('vue').DefineComponent<{
|
|
7
|
+
modelValue?: DatePeriodValue | null;
|
|
8
|
+
preset?: DatePeriodPreset;
|
|
9
|
+
title?: string;
|
|
10
|
+
doneText?: string;
|
|
11
|
+
startPlaceholder?: string;
|
|
12
|
+
endPlaceholder?: string;
|
|
13
|
+
showClose?: boolean;
|
|
14
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
15
|
+
minValue?: import('reka-ui').DateValue | null;
|
|
16
|
+
maxValue?: import('reka-ui').DateValue | null;
|
|
17
|
+
maxRangeDays?: number;
|
|
18
|
+
maxRangeMessage?: string;
|
|
19
|
+
drawerContentClass?: import('vue').HTMLAttributes["class"];
|
|
20
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: DatePeriodValue | null) => any;
|
|
22
|
+
done: (value: DatePeriodValue) => any;
|
|
23
|
+
close: () => any;
|
|
24
|
+
"update:preset": (value: DatePeriodPreset) => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
26
|
+
modelValue?: DatePeriodValue | null;
|
|
27
|
+
preset?: DatePeriodPreset;
|
|
28
|
+
title?: string;
|
|
29
|
+
doneText?: string;
|
|
30
|
+
startPlaceholder?: string;
|
|
31
|
+
endPlaceholder?: string;
|
|
32
|
+
showClose?: boolean;
|
|
33
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
34
|
+
minValue?: import('reka-ui').DateValue | null;
|
|
35
|
+
maxValue?: import('reka-ui').DateValue | null;
|
|
36
|
+
maxRangeDays?: number;
|
|
37
|
+
maxRangeMessage?: string;
|
|
38
|
+
drawerContentClass?: import('vue').HTMLAttributes["class"];
|
|
39
|
+
}> & Readonly<{
|
|
40
|
+
"onUpdate:modelValue"?: ((value: DatePeriodValue | null) => any) | undefined;
|
|
41
|
+
onDone?: ((value: DatePeriodValue) => any) | undefined;
|
|
42
|
+
onClose?: (() => any) | undefined;
|
|
43
|
+
"onUpdate:preset"?: ((value: DatePeriodPreset) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
modelValue: DatePeriodValue | null;
|
|
46
|
+
title: string;
|
|
47
|
+
minValue: import('reka-ui').DateValue | null;
|
|
48
|
+
maxValue: import('reka-ui').DateValue | null;
|
|
49
|
+
showClose: boolean;
|
|
50
|
+
startPlaceholder: string;
|
|
51
|
+
endPlaceholder: string;
|
|
52
|
+
maxRangeDays: number;
|
|
53
|
+
drawerContentClass: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
54
|
+
preset: DatePeriodPreset;
|
|
55
|
+
doneText: string;
|
|
56
|
+
maxRangeMessage: string;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
58
|
+
tags: string[];
|
|
59
|
+
parameters: {
|
|
60
|
+
layout: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export default meta;
|
|
64
|
+
type Story = StoryObj<typeof meta>;
|
|
65
|
+
export declare const Fixed: Story;
|
|
66
|
+
export declare const Select: Story;
|
|
67
|
+
export declare const Empty: Story;
|
|
68
|
+
export declare const Preselected3Months: Story;
|
|
69
|
+
export declare const Constrained: Story;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { DateValue, CalendarDate } from '@internationalized/date';
|
|
3
|
+
import { InputFrameDesignProps } from '../input-frame';
|
|
4
|
+
type __VLS_Props = InputFrameDesignProps & {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
/** 선택 가능한 최소 날짜(포함). 이전 날짜 셀은 비활성. */
|
|
7
|
+
minValue?: DateValue | null;
|
|
8
|
+
/** 선택 가능한 최대 날짜(포함). 이후 날짜 셀은 비활성.(예: 오늘 → 미래 차단) */
|
|
9
|
+
maxValue?: DateValue | null;
|
|
10
|
+
/** 주 시작 요일 (0=일 … 6=토). 기본 0(일요일 시작) */
|
|
11
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_PublicProps = {
|
|
14
|
+
modelValue?: CalendarDate | null;
|
|
15
|
+
} & __VLS_Props;
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {};
|
|
22
|
+
rootEl: any;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (value: CalendarDate | null) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
+
"onUpdate:modelValue"?: ((value: CalendarDate | null) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
size: "small" | "large" | "regular" | null;
|
|
32
|
+
error: boolean;
|
|
33
|
+
variant: "default" | "filled" | "bottomline" | null;
|
|
34
|
+
minValue: DateValue | null;
|
|
35
|
+
maxValue: DateValue | null;
|
|
36
|
+
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
37
|
+
readonly: boolean;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { CalendarDate } from '@internationalized/date';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: {
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
modelValue?: CalendarDate | null;
|
|
8
|
+
} & import('../input-frame').InputFrameDesignProps & {
|
|
9
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
10
|
+
minValue?: import('reka-ui').DateValue | null;
|
|
11
|
+
maxValue?: import('reka-ui').DateValue | null;
|
|
12
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: CalendarDate | null) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: CalendarDate | null) => any;
|
|
17
|
+
}, import('vue').PublicProps, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
size: "small" | "large" | "regular" | null;
|
|
20
|
+
error: boolean;
|
|
21
|
+
variant: "default" | "filled" | "bottomline" | null;
|
|
22
|
+
minValue: import('reka-ui').DateValue | null;
|
|
23
|
+
maxValue: import('reka-ui').DateValue | null;
|
|
24
|
+
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
25
|
+
readonly: boolean;
|
|
26
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
27
|
+
P: {};
|
|
28
|
+
B: {};
|
|
29
|
+
D: {};
|
|
30
|
+
C: {};
|
|
31
|
+
M: {};
|
|
32
|
+
Defaults: {};
|
|
33
|
+
}, Readonly<{
|
|
34
|
+
modelValue?: CalendarDate | null;
|
|
35
|
+
} & import('../input-frame').InputFrameDesignProps & {
|
|
36
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
37
|
+
minValue?: import('reka-ui').DateValue | null;
|
|
38
|
+
maxValue?: import('reka-ui').DateValue | null;
|
|
39
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
40
|
+
}> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((value: CalendarDate | null) => any) | undefined;
|
|
42
|
+
}>, {}, {}, {}, {}, {
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
size: "small" | "large" | "regular" | null;
|
|
45
|
+
error: boolean;
|
|
46
|
+
variant: "default" | "filled" | "bottomline" | null;
|
|
47
|
+
minValue: import('reka-ui').DateValue | null;
|
|
48
|
+
maxValue: import('reka-ui').DateValue | null;
|
|
49
|
+
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
50
|
+
readonly: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
__isFragment?: never;
|
|
53
|
+
__isTeleport?: never;
|
|
54
|
+
__isSuspense?: never;
|
|
55
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
56
|
+
modelValue?: CalendarDate | null;
|
|
57
|
+
} & import('../input-frame').InputFrameDesignProps & {
|
|
58
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
59
|
+
minValue?: import('reka-ui').DateValue | null;
|
|
60
|
+
maxValue?: import('reka-ui').DateValue | null;
|
|
61
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
62
|
+
}> & Readonly<{
|
|
63
|
+
"onUpdate:modelValue"?: ((value: CalendarDate | null) => any) | undefined;
|
|
64
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
|
+
"update:modelValue": (value: CalendarDate | null) => any;
|
|
66
|
+
}, string, {
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
size: "small" | "large" | "regular" | null;
|
|
69
|
+
error: boolean;
|
|
70
|
+
variant: "default" | "filled" | "bottomline" | null;
|
|
71
|
+
minValue: import('reka-ui').DateValue | null;
|
|
72
|
+
maxValue: import('reka-ui').DateValue | null;
|
|
73
|
+
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
74
|
+
readonly: boolean;
|
|
75
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
76
|
+
$slots: {
|
|
77
|
+
default?(_: {}): any;
|
|
78
|
+
};
|
|
79
|
+
});
|
|
80
|
+
tags: string[];
|
|
81
|
+
argTypes: {
|
|
82
|
+
size: {
|
|
83
|
+
control: "select";
|
|
84
|
+
options: string[];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export default meta;
|
|
89
|
+
type Story = StoryObj<typeof meta>;
|
|
90
|
+
export declare const Default: Story;
|
|
91
|
+
export declare const Preselected: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { Time } from '@internationalized/date';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modelValue?: Time | null;
|
|
5
|
+
title?: string;
|
|
6
|
+
showClose?: boolean;
|
|
7
|
+
class?: HTMLAttributes["class"];
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: Time | null) => any;
|
|
11
|
+
change: (value: Time | null) => any;
|
|
12
|
+
close: () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: Time | null) => any) | undefined;
|
|
15
|
+
onChange?: ((value: Time | null) => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
modelValue: Time | null;
|
|
19
|
+
title: string;
|
|
20
|
+
showClose: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
meridiemCol: HTMLDivElement;
|
|
23
|
+
hourCol: HTMLDivElement;
|
|
24
|
+
minuteCol: HTMLDivElement;
|
|
25
|
+
}, HTMLElement>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { Time } from '@internationalized/date';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('vue').DefineComponent<{
|
|
6
|
+
modelValue?: Time | null;
|
|
7
|
+
title?: string;
|
|
8
|
+
showClose?: boolean;
|
|
9
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: Time | null) => any;
|
|
12
|
+
change: (value: Time | null) => any;
|
|
13
|
+
close: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
+
modelValue?: Time | null;
|
|
16
|
+
title?: string;
|
|
17
|
+
showClose?: boolean;
|
|
18
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
19
|
+
}> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: Time | null) => any) | undefined;
|
|
21
|
+
onChange?: ((value: Time | null) => any) | undefined;
|
|
22
|
+
onClose?: (() => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
modelValue: Time | null;
|
|
25
|
+
title: string;
|
|
26
|
+
showClose: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
|
+
meridiemCol: HTMLDivElement;
|
|
29
|
+
hourCol: HTMLDivElement;
|
|
30
|
+
minuteCol: HTMLDivElement;
|
|
31
|
+
}, HTMLElement>;
|
|
32
|
+
tags: string[];
|
|
33
|
+
};
|
|
34
|
+
export default meta;
|
|
35
|
+
type Story = StoryObj<typeof meta>;
|
|
36
|
+
export declare const Default: Story;
|
|
37
|
+
export declare const WithSelectedTime: Story;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { Time } from '@internationalized/date';
|
|
3
|
+
import { InputFrameDesignProps } from '../input-frame';
|
|
4
|
+
type __VLS_Props = InputFrameDesignProps & {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
drawerContentClass?: HTMLAttributes["class"];
|
|
7
|
+
title?: string;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: Time | null;
|
|
11
|
+
} & __VLS_Props;
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {};
|
|
18
|
+
rootEl: any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (value: Time | null) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((value: Time | null) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
size: "small" | "large" | "regular" | null;
|
|
28
|
+
title: string;
|
|
29
|
+
error: boolean;
|
|
30
|
+
variant: "default" | "filled" | "bottomline" | null;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { Time } from '@internationalized/date';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: {
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
modelValue?: Time | null;
|
|
8
|
+
} & import('../input-frame').InputFrameDesignProps & {
|
|
9
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
10
|
+
drawerContentClass?: import('vue').HTMLAttributes["class"];
|
|
11
|
+
title?: string;
|
|
12
|
+
}> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: Time | null) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: Time | null) => any;
|
|
16
|
+
}, import('vue').PublicProps, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
size: "small" | "large" | "regular" | null;
|
|
19
|
+
title: string;
|
|
20
|
+
error: boolean;
|
|
21
|
+
variant: "default" | "filled" | "bottomline" | null;
|
|
22
|
+
readonly: boolean;
|
|
23
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
|
+
P: {};
|
|
25
|
+
B: {};
|
|
26
|
+
D: {};
|
|
27
|
+
C: {};
|
|
28
|
+
M: {};
|
|
29
|
+
Defaults: {};
|
|
30
|
+
}, Readonly<{
|
|
31
|
+
modelValue?: Time | null;
|
|
32
|
+
} & import('../input-frame').InputFrameDesignProps & {
|
|
33
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
34
|
+
drawerContentClass?: import('vue').HTMLAttributes["class"];
|
|
35
|
+
title?: string;
|
|
36
|
+
}> & Readonly<{
|
|
37
|
+
"onUpdate:modelValue"?: ((value: Time | null) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, {
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
size: "small" | "large" | "regular" | null;
|
|
41
|
+
title: string;
|
|
42
|
+
error: boolean;
|
|
43
|
+
variant: "default" | "filled" | "bottomline" | null;
|
|
44
|
+
readonly: boolean;
|
|
45
|
+
}>;
|
|
46
|
+
__isFragment?: never;
|
|
47
|
+
__isTeleport?: never;
|
|
48
|
+
__isSuspense?: never;
|
|
49
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
50
|
+
modelValue?: Time | null;
|
|
51
|
+
} & import('../input-frame').InputFrameDesignProps & {
|
|
52
|
+
class?: import('vue').HTMLAttributes["class"];
|
|
53
|
+
drawerContentClass?: import('vue').HTMLAttributes["class"];
|
|
54
|
+
title?: string;
|
|
55
|
+
}> & Readonly<{
|
|
56
|
+
"onUpdate:modelValue"?: ((value: Time | null) => any) | undefined;
|
|
57
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
"update:modelValue": (value: Time | null) => any;
|
|
59
|
+
}, string, {
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
size: "small" | "large" | "regular" | null;
|
|
62
|
+
title: string;
|
|
63
|
+
error: boolean;
|
|
64
|
+
variant: "default" | "filled" | "bottomline" | null;
|
|
65
|
+
readonly: boolean;
|
|
66
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
67
|
+
$slots: {
|
|
68
|
+
default?(_: {}): any;
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
tags: string[];
|
|
72
|
+
argTypes: {
|
|
73
|
+
size: {
|
|
74
|
+
control: "select";
|
|
75
|
+
options: string[];
|
|
76
|
+
};
|
|
77
|
+
variant: {
|
|
78
|
+
control: "select";
|
|
79
|
+
options: string[];
|
|
80
|
+
};
|
|
81
|
+
error: {
|
|
82
|
+
control: "boolean";
|
|
83
|
+
};
|
|
84
|
+
readonly: {
|
|
85
|
+
control: "boolean";
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
control: "boolean";
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
export default meta;
|
|
93
|
+
type Story = StoryObj<typeof meta>;
|
|
94
|
+
export declare const Default: Story;
|
|
95
|
+
export declare const WithExplicitTimeInput: Story;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ModalProps } from './modalProps';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/** 모달 바디 */
|
|
6
|
+
default?: () => unknown;
|
|
7
|
+
/** 헤더 영역 전체 override (title/description 대신) */
|
|
8
|
+
header?: () => unknown;
|
|
9
|
+
/** footer 영역 전체 override. close/confirm/cancel 헬퍼 제공 */
|
|
10
|
+
footer?: (props: {
|
|
11
|
+
close: () => void;
|
|
12
|
+
confirm: () => void;
|
|
13
|
+
cancel: () => void;
|
|
14
|
+
}) => unknown;
|
|
15
|
+
}> & {
|
|
16
|
+
/** 모달 바디 */
|
|
17
|
+
default?: () => unknown;
|
|
18
|
+
/** 헤더 영역 전체 override (title/description 대신) */
|
|
19
|
+
header?: () => unknown;
|
|
20
|
+
/** footer 영역 전체 override. close/confirm/cancel 헬퍼 제공 */
|
|
21
|
+
footer?: (props: {
|
|
22
|
+
close: () => void;
|
|
23
|
+
confirm: () => void;
|
|
24
|
+
cancel: () => void;
|
|
25
|
+
}) => unknown;
|
|
26
|
+
};
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: any;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
+
declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
"update:open": (value: boolean) => any;
|
|
33
|
+
confirm: () => any;
|
|
34
|
+
cancel: () => any;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<ModalProps> & Readonly<{
|
|
36
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
37
|
+
onConfirm?: (() => any) | undefined;
|
|
38
|
+
onCancel?: (() => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
size: import('../dialog').DialogSize;
|
|
41
|
+
destructive: boolean;
|
|
42
|
+
fullscreen: boolean;
|
|
43
|
+
showClose: boolean;
|
|
44
|
+
closeOnOverlay: boolean;
|
|
45
|
+
closeOnEscape: boolean;
|
|
46
|
+
confirmText: string;
|
|
47
|
+
cancelText: string;
|
|
48
|
+
confirmLoading: boolean;
|
|
49
|
+
confirmDisabled: boolean;
|
|
50
|
+
hideCancel: boolean;
|
|
51
|
+
hideConfirm: boolean;
|
|
52
|
+
footerButtonGrow: boolean;
|
|
53
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: any;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
size: {
|
|
8
|
+
control: "select";
|
|
9
|
+
options: string[];
|
|
10
|
+
};
|
|
11
|
+
showClose: {
|
|
12
|
+
control: "boolean";
|
|
13
|
+
};
|
|
14
|
+
closeOnOverlay: {
|
|
15
|
+
control: "boolean";
|
|
16
|
+
};
|
|
17
|
+
closeOnEscape: {
|
|
18
|
+
control: "boolean";
|
|
19
|
+
};
|
|
20
|
+
footerButtonGrow: {
|
|
21
|
+
control: "boolean";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof meta>;
|
|
27
|
+
/** 기본: 취소 + 확인 (가장 흔한 케이스) */
|
|
28
|
+
export declare const Default: Story;
|
|
29
|
+
/** 삭제 확인 — destructive 로 빨간 확인 버튼, 라벨 변경 */
|
|
30
|
+
export declare const Destructive: Story;
|
|
31
|
+
/** 단일 버튼(alert) — hideCancel */
|
|
32
|
+
export declare const SingleButton: Story;
|
|
33
|
+
/** 버튼 N개 — footer 슬롯으로 직접 구성 */
|
|
34
|
+
export declare const MultipleButtons: Story;
|
|
35
|
+
/** 비동기 제출 — 확인은 닫지 않고 emit만. 성공 시 부모가 open=false (기본 동작) */
|
|
36
|
+
export declare const AsyncConfirm: Story;
|
|
37
|
+
/** 커스텀 바디 + footer 슬롯 (compound escape hatch) */
|
|
38
|
+
export declare const CustomBodyAndFooter: Story;
|
|
39
|
+
/** 데스크탑 사이즈 — small(328) / regular(564) / large(934) / xlarge(1124) / full */
|
|
40
|
+
export declare const Sizes: Story;
|
|
41
|
+
/** 모바일 — 가장 작은 size(small) + footer 버튼 grow. Figma modal/alert/mobile 대응 */
|
|
42
|
+
export declare const Mobile: Story;
|
|
43
|
+
/**
|
|
44
|
+
* 본문이 넘칠 때의 스크롤 — 자식이 스크롤 컨테이너인 경우가 함정이다.
|
|
45
|
+
*
|
|
46
|
+
* - `가로 스크롤 테이블`: 가로 스크롤을 위해 `overflow-x: auto` 를 건 자식. 본문(`auto-rows-max`)이
|
|
47
|
+
* 세로로 스크롤되어야 하고, 표가 잘리면 안 된다.
|
|
48
|
+
* - `자체 내부 스크롤`: `max-h` + `overflow-y-auto` 를 스스로 가진 자식. 본문이 아니라 자식이
|
|
49
|
+
* 스크롤해야 하고, 높이가 `max-h` 를 넘겨 터지면 안 된다.
|
|
50
|
+
*
|
|
51
|
+
* 창 높이를 줄여가며 두 케이스를 같이 확인한다.
|
|
52
|
+
*/
|
|
53
|
+
export declare const OverflowingBody: Story;
|