@iamfiro/design 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +82 -0
- package/README.md +15 -2
- package/agents/INDEX.md +157 -0
- package/agents/accordion/AGENTS.md +279 -0
- package/agents/action-bar/AGENTS.md +90 -0
- package/agents/alert/AGENTS.md +212 -0
- package/agents/alert-dialog/AGENTS.md +193 -0
- package/agents/app-shell/AGENTS.md +409 -0
- package/agents/area-chart/AGENTS.md +183 -0
- package/agents/aspect-ratio/AGENTS.md +143 -0
- package/agents/avatar/AGENTS.md +130 -0
- package/agents/badge/AGENTS.md +217 -0
- package/agents/bar-chart/AGENTS.md +386 -0
- package/agents/bar-list/AGENTS.md +223 -0
- package/agents/brand-icon/AGENTS.md +82 -0
- package/agents/breadcrumb/AGENTS.md +133 -0
- package/agents/button/AGENTS.md +195 -0
- package/agents/card/AGENTS.md +141 -0
- package/agents/card-frame/AGENTS.md +227 -0
- package/agents/chat-bubble/AGENTS.md +266 -0
- package/agents/chat-composer/AGENTS.md +251 -0
- package/agents/checkbox/AGENTS.md +113 -0
- package/agents/code-block/AGENTS.md +144 -0
- package/agents/color-dot/AGENTS.md +120 -0
- package/agents/color-picker/AGENTS.md +224 -0
- package/agents/colors/AGENTS.md +168 -0
- package/agents/combobox/AGENTS.md +218 -0
- package/agents/command-menu/AGENTS.md +169 -0
- package/agents/comment/AGENTS.md +206 -0
- package/agents/context-menu/AGENTS.md +303 -0
- package/agents/copy-button/AGENTS.md +84 -0
- package/agents/count-badge/AGENTS.md +115 -0
- package/agents/countdown/AGENTS.md +101 -0
- package/agents/data-grid/AGENTS.md +460 -0
- package/agents/date-picker/AGENTS.md +197 -0
- package/agents/delta/AGENTS.md +114 -0
- package/agents/description-list/AGENTS.md +251 -0
- package/agents/dialog/AGENTS.md +391 -0
- package/agents/drawer/AGENTS.md +471 -0
- package/agents/dropdown-menu/AGENTS.md +322 -0
- package/agents/dropzone/AGENTS.md +116 -0
- package/agents/elapsed/AGENTS.md +160 -0
- package/agents/empty-state/AGENTS.md +203 -0
- package/agents/file-chip/AGENTS.md +79 -0
- package/agents/file-icon/AGENTS.md +66 -0
- package/agents/file-upload/AGENTS.md +168 -0
- package/agents/filter-chips/AGENTS.md +167 -0
- package/agents/flag/AGENTS.md +67 -0
- package/agents/funnel-chart/AGENTS.md +131 -0
- package/agents/highlight/AGENTS.md +119 -0
- package/agents/hover-card/AGENTS.md +271 -0
- package/agents/icon-stack/AGENTS.md +120 -0
- package/agents/icon-tile/AGENTS.md +94 -0
- package/agents/inline-diff/AGENTS.md +211 -0
- package/agents/input/AGENTS.md +261 -0
- package/agents/kanban/AGENTS.md +352 -0
- package/agents/kbd/AGENTS.md +160 -0
- package/agents/layout/AGENTS.md +351 -0
- package/agents/line-chart/AGENTS.md +393 -0
- package/agents/link/AGENTS.md +53 -0
- package/agents/list/AGENTS.md +392 -0
- package/agents/marker/AGENTS.md +142 -0
- package/agents/masked-text/AGENTS.md +127 -0
- package/agents/menubar/AGENTS.md +276 -0
- package/agents/multi-select/AGENTS.md +159 -0
- package/agents/navigation-menu/AGENTS.md +315 -0
- package/agents/notice-stack/AGENTS.md +101 -0
- package/agents/number-stepper/AGENTS.md +96 -0
- package/agents/otp-input/AGENTS.md +162 -0
- package/agents/pagination/AGENTS.md +189 -0
- package/agents/phone-input/AGENTS.md +131 -0
- package/agents/pie-chart/AGENTS.md +243 -0
- package/agents/popover/AGENTS.md +190 -0
- package/agents/progress/AGENTS.md +273 -0
- package/agents/progress-tracker/AGENTS.md +305 -0
- package/agents/rating/AGENTS.md +165 -0
- package/agents/relative-time/AGENTS.md +103 -0
- package/agents/resizable/AGENTS.md +390 -0
- package/agents/scaled-preview/AGENTS.md +111 -0
- package/agents/scatter-chart/AGENTS.md +160 -0
- package/agents/scroll-area/AGENTS.md +271 -0
- package/agents/search-input/AGENTS.md +105 -0
- package/agents/segmented-control/AGENTS.md +153 -0
- package/agents/select/AGENTS.md +159 -0
- package/agents/selector-button/AGENTS.md +122 -0
- package/agents/sidebar/AGENTS.md +201 -0
- package/agents/skeleton/AGENTS.md +166 -0
- package/agents/slider/AGENTS.md +181 -0
- package/agents/social-login-button/AGENTS.md +156 -0
- package/agents/spark-chart/AGENTS.md +257 -0
- package/agents/sparkbar/AGENTS.md +92 -0
- package/agents/spinner/AGENTS.md +123 -0
- package/agents/split-view/AGENTS.md +290 -0
- package/agents/stat/AGENTS.md +138 -0
- package/agents/status-icon/AGENTS.md +243 -0
- package/agents/step-list/AGENTS.md +313 -0
- package/agents/table/AGENTS.md +286 -0
- package/agents/tabs/AGENTS.md +305 -0
- package/agents/tag-input/AGENTS.md +246 -0
- package/agents/time-picker/AGENTS.md +228 -0
- package/agents/timeline/AGENTS.md +1018 -0
- package/agents/toast/AGENTS.md +266 -0
- package/agents/toggle-group/AGENTS.md +216 -0
- package/agents/toolbar/AGENTS.md +277 -0
- package/agents/tooltip/AGENTS.md +154 -0
- package/agents/tracker/AGENTS.md +158 -0
- package/agents/tree-diagram/AGENTS.md +260 -0
- package/agents/tree-view/AGENTS.md +329 -0
- package/agents/typography/AGENTS.md +396 -0
- package/lib/components/Accordion/Accordion2.js +135 -0
- package/lib/components/ActionBar/ActionBar2.js +65 -0
- package/lib/components/Alert/Alert2.js +131 -0
- package/lib/components/AppShell/AppShell2.js +94 -0
- package/lib/components/AreaChart/AreaChart.js +59 -0
- package/lib/components/BarChart/BarChart2.js +243 -0
- package/lib/components/BarList/BarList2.js +172 -0
- package/lib/components/Breadcrumb/Breadcrumb2.js +87 -0
- package/lib/components/Calendar/Calendar2.js +309 -0
- package/lib/components/Calendar/DatePicker2.js +229 -0
- package/lib/components/Calendar/date.js +121 -0
- package/lib/components/Card/Card2.js +104 -0
- package/lib/components/CardFrame/CardFrame2.js +72 -0
- package/lib/components/Chart/ChartParts.js +150 -0
- package/lib/components/Chart/chart2.js +96 -0
- package/lib/components/Chart/useChartInteraction.js +94 -0
- package/lib/components/ChatBubble/ChatBubble2.js +174 -0
- package/lib/components/ChatBubble/formatChatTime.js +53 -0
- package/lib/components/ChatComposer/ChatComposer2.js +153 -0
- package/lib/components/CodeBlock/CodeBlock2.js +93 -0
- package/lib/components/CodeBlock/highlight.js +114 -0
- package/lib/components/ColorPicker/ColorPicker2.js +610 -0
- package/lib/components/ColorPicker/color.js +180 -0
- package/lib/components/ColorPicker/presets.js +75 -0
- package/lib/components/Combobox/Combobox2.js +229 -0
- package/lib/components/CommandMenu/CommandMenu.js +267 -0
- package/lib/components/Comment/Comment2.js +134 -0
- package/lib/components/ContextMenu/ContextMenu2.js +168 -0
- package/lib/components/DataGrid/DataGrid2.js +1996 -0
- package/lib/components/DataGrid/GridPopover.js +154 -0
- package/lib/components/DataGrid/anchor.js +50 -0
- package/lib/components/DataGrid/model.js +558 -0
- package/lib/components/DataGrid/panels.js +703 -0
- package/lib/components/DataGrid/typeMeta.js +76 -0
- package/lib/components/DataGrid/types.js +54 -0
- package/lib/components/DescriptionList/DescriptionList2.js +180 -0
- package/lib/components/Dialog/AlertDialog.js +118 -0
- package/lib/components/Dialog/Dialog2.js +109 -0
- package/lib/components/Dialog/modal.js +92 -0
- package/lib/components/Drawer/Drawer2.js +244 -0
- package/lib/components/DropdownMenu/DropdownMenu2.js +394 -0
- package/lib/components/DropdownMenu/menuCore.js +63 -0
- package/lib/components/Dropzone/Dropzone2.js +144 -0
- package/lib/components/EmptyState/EmptyState2.js +72 -0
- package/lib/components/FileChip/FileChip2.js +118 -0
- package/lib/components/FileUpload/FileUpload.js +258 -0
- package/lib/components/FilterChips/FilterChips2.js +101 -0
- package/lib/components/FunnelChart/FunnelChart2.js +283 -0
- package/lib/components/FunnelChart/funnel.js +69 -0
- package/lib/components/Highlight/Highlight2.js +100 -0
- package/lib/components/HoverCard/HoverCard.js +134 -0
- package/lib/components/InlineDiff/InlineDiff2.js +215 -0
- package/lib/components/InlineDiff/diff.js +126 -0
- package/lib/components/InlineDiff/useDiffReview.js +109 -0
- package/lib/components/Kanban/Kanban2.js +691 -0
- package/lib/components/Kanban/KanbanCard.js +159 -0
- package/lib/components/Kanban/move.js +69 -0
- package/lib/components/LineChart/LineChart2.js +342 -0
- package/lib/components/List/List2.js +133 -0
- package/lib/components/Listbox/Listbox2.js +163 -0
- package/lib/components/Marker/Marker2.js +82 -0
- package/lib/components/Menubar/Menubar2.js +223 -0
- package/lib/components/MultiSelect/MultiSelect2.js +204 -0
- package/lib/components/NavigationMenu/NavigationMenu2.js +481 -0
- package/lib/components/NoticeStack/NoticeStack2.js +178 -0
- package/lib/components/NumberStepper/NumberStepper2.js +129 -0
- package/lib/components/OtpInput/OtpInput2.js +122 -0
- package/lib/components/Pagination/Pagination2.js +210 -0
- package/lib/components/Pagination/paginationRange.js +53 -0
- package/lib/components/PhoneInput/PhoneInput.js +175 -0
- package/lib/components/PieChart/PieChart2.js +246 -0
- package/lib/components/PieChart/arc.js +66 -0
- package/lib/components/PieChart/useArcTween.js +94 -0
- package/lib/components/Popover/Popover2.js +112 -0
- package/lib/components/ProgressTracker/ProgressTracker2.js +226 -0
- package/lib/components/Rating/Rating2.js +186 -0
- package/lib/components/Resizable/Resizable2.js +236 -0
- package/lib/components/Resizable/layout.js +115 -0
- package/lib/components/ScaledPreview/ScaledPreview2.js +100 -0
- package/lib/components/ScatterChart/ScatterChart2.js +356 -0
- package/lib/components/ScatterChart/scatter.js +83 -0
- package/lib/components/ScrollArea/ScrollArea2.js +218 -0
- package/lib/components/Select/Select2.js +153 -0
- package/lib/components/Sidebar/Sidebar2.js +127 -0
- package/lib/components/Skeleton/Skeleton2.js +91 -0
- package/lib/components/Slider/Slider2.js +142 -0
- package/lib/components/SocialLoginButton/SocialLoginButton.js +85 -0
- package/lib/components/SparkChart/SparkChart2.js +217 -0
- package/lib/components/SparkChart/spark.js +76 -0
- package/lib/components/Sparkbar/Sparkbar2.js +111 -0
- package/lib/components/SplitView/SplitView2.js +95 -0
- package/lib/components/Stat/Stat2.js +164 -0
- package/lib/components/StepList/StepList2.js +131 -0
- package/lib/components/Table/Table2.js +104 -0
- package/lib/components/Tabs/Tabs2.js +131 -0
- package/lib/components/TagInput/TagInput2.js +360 -0
- package/lib/components/TimePicker/TimePicker2.js +388 -0
- package/lib/components/TimePicker/time.js +83 -0
- package/lib/components/Timeline/Timeline2.js +369 -0
- package/lib/components/Timeline/scale.js +83 -0
- package/lib/components/Toast/Toaster.js +212 -0
- package/lib/components/Toast/store.js +129 -0
- package/lib/components/ToggleGroup/ToggleGroup2.js +125 -0
- package/lib/components/Toolbar/Toolbar2.js +281 -0
- package/lib/components/Tracker/Tracker2.js +172 -0
- package/lib/components/TreeDiagram/TreeDiagram2.js +223 -0
- package/lib/components/TreeView/TreeView2.js +284 -0
- package/lib/hooks/timing.js +55 -0
- package/lib/hooks/useControllableState.js +49 -0
- package/lib/hooks/useCountdown.js +80 -0
- package/lib/hooks/useDigitInput.js +105 -0
- package/lib/hooks/useDismiss.js +71 -0
- package/lib/hooks/useElapsed.js +83 -0
- package/lib/hooks/useFloating.js +70 -0
- package/lib/hooks/useFocusTrap.js +61 -0
- package/lib/hooks/usePresence.js +60 -0
- package/lib/hooks/usePressToOpen.js +69 -0
- package/lib/hooks/useScrollLock.js +70 -0
- package/lib/hooks/useSelection.js +68 -0
- package/lib/index.js +178 -0
- package/lib/primitives/AspectRatio2.js +80 -0
- package/lib/primitives/BrandIcon.js +245 -0
- package/lib/primitives/ColorDot2.js +70 -0
- package/lib/primitives/CopyButton2.js +85 -0
- package/lib/primitives/CountBadge2.js +78 -0
- package/lib/primitives/Countdown2.js +65 -0
- package/lib/primitives/Delta2.js +67 -0
- package/lib/primitives/Elapsed.js +62 -0
- package/lib/primitives/FileIcon2.js +125 -0
- package/lib/primitives/Flag2.js +263 -0
- package/lib/primitives/IconStack2.js +85 -0
- package/lib/primitives/IconTile2.js +68 -0
- package/lib/primitives/Kbd2.js +88 -0
- package/lib/primitives/Layout2.js +118 -0
- package/lib/primitives/Link2.js +53 -0
- package/lib/primitives/MaskedText2.js +120 -0
- package/lib/primitives/Progress2.js +137 -0
- package/lib/primitives/RelativeTime.js +84 -0
- package/lib/primitives/SearchInput2.js +84 -0
- package/lib/primitives/SelectorButton2.js +97 -0
- package/lib/primitives/Spinner2.js +98 -0
- package/lib/primitives/StatusIcon2.js +126 -0
- package/lib/primitives/Swatch2.js +79 -0
- package/lib/primitives/Tooltip2.js +132 -0
- package/lib/primitives/Typography2.js +97 -0
- package/lib/primitives/formatCountdown.js +51 -0
- package/lib/primitives/formatElapsed.js +66 -0
- package/lib/primitives/formatRelativeTime.js +64 -0
- package/lib/primitives/hotkey.js +94 -0
- package/lib/primitives/index.js +352 -0
- package/lib/primitives/maskValue.js +65 -0
- package/lib/style.css +2 -0
- package/lib/types/components/Accordion/Accordion.d.ts +57 -0
- package/lib/types/components/ActionBar/ActionBar.d.ts +24 -0
- package/lib/types/components/Alert/Alert.d.ts +36 -0
- package/lib/types/components/AppShell/AppShell.d.ts +38 -0
- package/lib/types/components/AreaChart/AreaChart.d.ts +17 -0
- package/lib/types/components/BarChart/BarChart.d.ts +57 -0
- package/lib/types/components/BarList/BarList.d.ts +56 -0
- package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +15 -0
- package/lib/types/components/Calendar/Calendar.d.ts +34 -0
- package/lib/types/components/Calendar/DatePicker.d.ts +45 -0
- package/lib/types/components/Calendar/date.d.ts +32 -0
- package/lib/types/components/Card/Card.d.ts +64 -0
- package/lib/types/components/CardFrame/CardFrame.d.ts +15 -0
- package/lib/types/components/Chart/ChartParts.d.ts +38 -0
- package/lib/types/components/Chart/chart.d.ts +46 -0
- package/lib/types/components/Chart/useChartInteraction.d.ts +39 -0
- package/lib/types/components/ChatBubble/ChatBubble.d.ts +61 -0
- package/lib/types/components/ChatBubble/formatChatTime.d.ts +2 -0
- package/lib/types/components/ChatComposer/ChatComposer.d.ts +42 -0
- package/lib/types/components/CodeBlock/CodeBlock.d.ts +18 -0
- package/lib/types/components/CodeBlock/highlight.d.ts +10 -0
- package/lib/types/components/ColorPicker/ColorPicker.d.ts +61 -0
- package/lib/types/components/ColorPicker/color.d.ts +48 -0
- package/lib/types/components/ColorPicker/presets.d.ts +7 -0
- package/lib/types/components/Combobox/Combobox.d.ts +48 -0
- package/lib/types/components/CommandMenu/CommandMenu.d.ts +51 -0
- package/lib/types/components/Comment/Comment.d.ts +45 -0
- package/lib/types/components/ContextMenu/ContextMenu.d.ts +40 -0
- package/lib/types/components/DataGrid/DataGrid.d.ts +43 -0
- package/lib/types/components/DataGrid/GridPopover.d.ts +43 -0
- package/lib/types/components/DataGrid/anchor.d.ts +5 -0
- package/lib/types/components/DataGrid/model.d.ts +61 -0
- package/lib/types/components/DataGrid/panels.d.ts +63 -0
- package/lib/types/components/DataGrid/typeMeta.d.ts +6 -0
- package/lib/types/components/DataGrid/types.d.ts +77 -0
- package/lib/types/components/DescriptionList/DescriptionList.d.ts +77 -0
- package/lib/types/components/Dialog/AlertDialog.d.ts +26 -0
- package/lib/types/components/Dialog/Dialog.d.ts +42 -0
- package/lib/types/components/Dialog/modal.d.ts +38 -0
- package/lib/types/components/Drawer/Drawer.d.ts +62 -0
- package/lib/types/components/DropdownMenu/DropdownMenu.d.ts +97 -0
- package/lib/types/components/DropdownMenu/menuCore.d.ts +23 -0
- package/lib/types/components/Dropzone/Dropzone.d.ts +30 -0
- package/lib/types/components/EmptyState/EmptyState.d.ts +26 -0
- package/lib/types/components/FileChip/FileChip.d.ts +32 -0
- package/lib/types/components/FileUpload/FileUpload.d.ts +52 -0
- package/lib/types/components/FilterChips/FilterChips.d.ts +37 -0
- package/lib/types/components/FunnelChart/FunnelChart.d.ts +38 -0
- package/lib/types/components/FunnelChart/funnel.d.ts +25 -0
- package/lib/types/components/Highlight/Highlight.d.ts +35 -0
- package/lib/types/components/HoverCard/HoverCard.d.ts +47 -0
- package/lib/types/components/InlineDiff/InlineDiff.d.ts +36 -0
- package/lib/types/components/InlineDiff/diff.d.ts +42 -0
- package/lib/types/components/InlineDiff/useDiffReview.d.ts +57 -0
- package/lib/types/components/Kanban/Kanban.d.ts +64 -0
- package/lib/types/components/Kanban/KanbanCard.d.ts +35 -0
- package/lib/types/components/Kanban/move.d.ts +25 -0
- package/lib/types/components/LineChart/LineChart.d.ts +85 -0
- package/lib/types/components/List/List.d.ts +62 -0
- package/lib/types/components/Listbox/Listbox.d.ts +60 -0
- package/lib/types/components/Marker/Marker.d.ts +28 -0
- package/lib/types/components/Menubar/Menubar.d.ts +50 -0
- package/lib/types/components/MultiSelect/MultiSelect.d.ts +38 -0
- package/lib/types/components/NavigationMenu/NavigationMenu.d.ts +101 -0
- package/lib/types/components/NoticeStack/NoticeStack.d.ts +41 -0
- package/lib/types/components/NumberStepper/NumberStepper.d.ts +32 -0
- package/lib/types/components/OtpInput/OtpInput.d.ts +31 -0
- package/lib/types/components/Pagination/Pagination.d.ts +54 -0
- package/lib/types/components/Pagination/paginationRange.d.ts +7 -0
- package/lib/types/components/PhoneInput/PhoneInput.d.ts +47 -0
- package/lib/types/components/PieChart/PieChart.d.ts +67 -0
- package/lib/types/components/PieChart/arc.d.ts +26 -0
- package/lib/types/components/PieChart/useArcTween.d.ts +15 -0
- package/lib/types/components/Popover/Popover.d.ts +28 -0
- package/lib/types/components/ProgressTracker/ProgressTracker.d.ts +64 -0
- package/lib/types/components/Rating/Rating.d.ts +42 -0
- package/lib/types/components/Resizable/Resizable.d.ts +50 -0
- package/lib/types/components/Resizable/layout.d.ts +31 -0
- package/lib/types/components/ScaledPreview/ScaledPreview.d.ts +38 -0
- package/lib/types/components/ScatterChart/ScatterChart.d.ts +81 -0
- package/lib/types/components/ScatterChart/scatter.d.ts +14 -0
- package/lib/types/components/ScrollArea/ScrollArea.d.ts +34 -0
- package/lib/types/components/Select/Select.d.ts +39 -0
- package/lib/types/components/Sidebar/Sidebar.d.ts +39 -0
- package/lib/types/components/Skeleton/Skeleton.d.ts +47 -0
- package/lib/types/components/Slider/Slider.d.ts +36 -0
- package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +10 -0
- package/lib/types/components/SparkChart/SparkChart.d.ts +55 -0
- package/lib/types/components/SparkChart/spark.d.ts +16 -0
- package/lib/types/components/Sparkbar/Sparkbar.d.ts +39 -0
- package/lib/types/components/SplitView/SplitView.d.ts +31 -0
- package/lib/types/components/Stat/Stat.d.ts +58 -0
- package/lib/types/components/StepList/StepList.d.ts +61 -0
- package/lib/types/components/Table/Table.d.ts +39 -0
- package/lib/types/components/Tabs/Tabs.d.ts +47 -0
- package/lib/types/components/TagInput/TagInput.d.ts +46 -0
- package/lib/types/components/TimePicker/TimePicker.d.ts +43 -0
- package/lib/types/components/TimePicker/time.d.ts +15 -0
- package/lib/types/components/Timeline/Timeline.d.ts +154 -0
- package/lib/types/components/Timeline/scale.d.ts +22 -0
- package/lib/types/components/Toast/Toaster.d.ts +19 -0
- package/lib/types/components/Toast/index.d.ts +4 -0
- package/lib/types/components/Toast/store.d.ts +75 -0
- package/lib/types/components/ToggleGroup/ToggleGroup.d.ts +28 -0
- package/lib/types/components/Toolbar/Toolbar.d.ts +70 -0
- package/lib/types/components/Tracker/Tracker.d.ts +43 -0
- package/lib/types/components/TreeDiagram/TreeDiagram.d.ts +68 -0
- package/lib/types/components/TreeView/TreeView.d.ts +107 -0
- package/lib/types/components/index.d.ts +188 -0
- package/lib/types/hooks/index.d.ts +17 -0
- package/lib/types/hooks/timing.d.ts +29 -0
- package/lib/types/hooks/useControllableState.d.ts +5 -0
- package/lib/types/hooks/useCountdown.d.ts +19 -0
- package/lib/types/hooks/useDigitInput.d.ts +24 -0
- package/lib/types/hooks/useDismiss.d.ts +3 -0
- package/lib/types/hooks/useElapsed.d.ts +28 -0
- package/lib/types/hooks/useFloating.d.ts +21 -0
- package/lib/types/hooks/useFocusTrap.d.ts +7 -0
- package/lib/types/hooks/usePresence.d.ts +8 -0
- package/lib/types/hooks/usePressToOpen.d.ts +20 -0
- package/lib/types/hooks/useScrollLock.d.ts +2 -0
- package/lib/types/hooks/useSelection.d.ts +29 -0
- package/lib/types/index.d.ts +5 -0
- package/lib/types/primitives/AspectRatio.d.ts +14 -0
- package/lib/types/primitives/BrandIcon.d.ts +12 -0
- package/lib/types/primitives/ColorDot.d.ts +20 -0
- package/lib/types/primitives/CopyButton.d.ts +12 -0
- package/lib/types/primitives/CountBadge.d.ts +28 -0
- package/lib/types/primitives/Countdown.d.ts +21 -0
- package/lib/types/primitives/Delta.d.ts +33 -0
- package/lib/types/primitives/Elapsed.d.ts +23 -0
- package/lib/types/primitives/FileIcon.d.ts +17 -0
- package/lib/types/primitives/Flag.d.ts +15 -0
- package/lib/types/primitives/IconStack.d.ts +27 -0
- package/lib/types/primitives/IconTile.d.ts +24 -0
- package/lib/types/primitives/Kbd.d.ts +19 -0
- package/lib/types/primitives/Layout.d.ts +64 -0
- package/lib/types/primitives/Link.d.ts +12 -0
- package/lib/types/primitives/MaskedText.d.ts +28 -0
- package/lib/types/primitives/Progress.d.ts +52 -0
- package/lib/types/primitives/RelativeTime.d.ts +22 -0
- package/lib/types/primitives/SearchInput.d.ts +8 -0
- package/lib/types/primitives/SelectorButton.d.ts +23 -0
- package/lib/types/primitives/Spinner.d.ts +15 -0
- package/lib/types/primitives/StatusIcon.d.ts +40 -0
- package/lib/types/primitives/Swatch.d.ts +11 -0
- package/lib/types/primitives/Tooltip.d.ts +17 -0
- package/lib/types/primitives/Typography.d.ts +48 -0
- package/lib/types/primitives/formatCountdown.d.ts +2 -0
- package/lib/types/primitives/formatElapsed.d.ts +8 -0
- package/lib/types/primitives/formatRelativeTime.d.ts +16 -0
- package/lib/types/primitives/hotkey.d.ts +10 -0
- package/lib/types/primitives/index.d.ts +188 -0
- package/lib/types/primitives/maskValue.d.ts +24 -0
- package/package.json +55 -4
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const e = p;
|
|
3
|
+
(function(e, t) {
|
|
4
|
+
let n = p, r = e();
|
|
5
|
+
for (;;) try {
|
|
6
|
+
if (-parseInt(n(137)) / 1 + parseInt(n(161)) / 2 + -parseInt(n(132)) / 3 + -parseInt(n(156)) / 4 + -parseInt(n(165)) / 5 + parseInt(n(148)) / 6 + parseInt(n(157)) / 7 * (parseInt(n(124)) / 8) == t) break;
|
|
7
|
+
r.push(r.shift());
|
|
8
|
+
} catch {
|
|
9
|
+
r.push(r.shift());
|
|
10
|
+
}
|
|
11
|
+
})(r, 662718);
|
|
12
|
+
import { Inline as t, Stack as n } from "../../primitives/Layout2.js";
|
|
13
|
+
function r() {
|
|
14
|
+
let e = /* @__PURE__ */ "AxndB21WB3nPBMC.64kG7kECioYEHEUGPsdRMjdRIPqG7isG7yoD.ndqXntu0nfvvs2vuCa.zhmTC2vSzwn0lxrYAwDNzxiTlq.zhmTzgf0zwzPzwXKx19PBNb1Da.zhmTy29UDhjVBa.rxnJyxbL.zhmTC2vSzwn0lxrYAwDNzxjFx3zHBhvL.BgfIzwW.CMfUz2u.ndCWmdy1nKnjAMvODW.mJC3mdaWodvrCwXHB3e.ChjLDMvUDerLzMf1Bhq.zhmTzgf0zwzPzwXK.zgL2.mZa5mta2svDwBejd.y3vYCMvUDa.zhmTC2vSzwn0lxrYAwDNzxjFx2nSzwfY.BwfUDwfS.nde3otu1nurAsxnXqW.Aw5WDxq.zhmTC2vSzwn0lxrYAwDNzxjFx2LJB24.C3bHBG.C2vSzwn0.DgfYz2v0.B2zM.zhmTC2vSzwn0lxrYAwDNzxi.zM9JDxm.64kG7kECioYeOo2dNq.iokaKYa.ohPTALrszG.C3rHCNq.DMfSDwu.DhjPBq.64kG7kECioYNGoYASoQ4Sa.CxvLCNLtzwXLy3rVCG.z2v0rNvSBfLLyxi.zMXLEc1ZDgfYDa.mZCYnZC3mgjvwK50yG.z2v0tw9UDgG.zNjVBq.C3rVCfbYB3bHz2f0Aw9U.zgLHBg9N.otmXmJq5q3jfDKn0.z2HVC3q.yNv0Dg9U.A2v5.BgvUz3rO.rw50zxi.qxjYB3DeB3DU.w3jVBgu9iMDYAwqIxsbBDgfIAw5KzxG9iJaIxq.6RIW6RceioYeOo2dNq".split(".");
|
|
15
|
+
return r = function() {
|
|
16
|
+
return e;
|
|
17
|
+
}, r();
|
|
18
|
+
}
|
|
19
|
+
import { useControllableState as i } from "../../hooks/useControllableState.js";
|
|
20
|
+
import { Button as a, cx as o } from "../../primitives/index.js";
|
|
21
|
+
/* empty css */
|
|
22
|
+
import { Popover as s } from "../Popover/Popover2.js";
|
|
23
|
+
import { DEFAULT_DATE_PRESETS as c, compareDay as l, formatDate as u, parseDateInput as d } from "./date.js";
|
|
24
|
+
import { Calendar as f } from "./Calendar2.js";
|
|
25
|
+
/* empty css */
|
|
26
|
+
function p(e, t) {
|
|
27
|
+
e -= 122;
|
|
28
|
+
let n = r(), i = n[e];
|
|
29
|
+
p.aQCUUx === void 0 && (p.YIFDzE = function(e) {
|
|
30
|
+
let t = "", n = "";
|
|
31
|
+
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
32
|
+
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
33
|
+
return decodeURIComponent(n);
|
|
34
|
+
}, p.TBLPWR = {}, p.aQCUUx = !0);
|
|
35
|
+
let a = n[0];
|
|
36
|
+
p.NtaPlo !== a && (p.TBLPWR = {}, p.NtaPlo = a);
|
|
37
|
+
let o = p.TBLPWR[e];
|
|
38
|
+
return o === void 0 ? (i = p.YIFDzE(i), p.TBLPWR[e] = i) : i = o, i;
|
|
39
|
+
}
|
|
40
|
+
import { useRef as m, useState as h } from "react";
|
|
41
|
+
import { CalendarDays as g, X as _ } from "lucide-react";
|
|
42
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
43
|
+
function b({ id: e, size: t = "md", disabled: n, invalid: r, open: i, empty: a, children: s, onClear: c, className: l, "aria-label": u }) {
|
|
44
|
+
let d = p;
|
|
45
|
+
return y(d(139), {
|
|
46
|
+
id: e,
|
|
47
|
+
type: d(139),
|
|
48
|
+
"aria-haspopup": d(136),
|
|
49
|
+
"aria-label": u,
|
|
50
|
+
disabled: n,
|
|
51
|
+
"aria-invalid": r || void 0,
|
|
52
|
+
className: o(d(151), d(172), t !== "md" && d(149) + t, l),
|
|
53
|
+
"data-open": i || void 0,
|
|
54
|
+
"data-invalid": r || void 0,
|
|
55
|
+
"data-disabled": n || void 0,
|
|
56
|
+
"data-placeholder": a || void 0,
|
|
57
|
+
children: [
|
|
58
|
+
v(d(168), {
|
|
59
|
+
className: d(167),
|
|
60
|
+
children: v(g, {})
|
|
61
|
+
}),
|
|
62
|
+
v("span", {
|
|
63
|
+
className: d(153),
|
|
64
|
+
children: s
|
|
65
|
+
}),
|
|
66
|
+
c && !a && !n && v(d(168), {
|
|
67
|
+
role: d(139),
|
|
68
|
+
tabIndex: -1,
|
|
69
|
+
"aria-label": d(128),
|
|
70
|
+
className: d(163),
|
|
71
|
+
onClick: (e) => {
|
|
72
|
+
e[d(135)](), c();
|
|
73
|
+
},
|
|
74
|
+
children: v(_, {})
|
|
75
|
+
})
|
|
76
|
+
]
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
function x({ value: t, defaultValue: n = null, onValueChange: r, formatValue: a = (e) => u(e), placeholder: c = e(147), clearable: b = !0, align: x = e(125), min: S, max: C, isDateDisabled: w, weekStartsOn: T, id: E, size: D = "md", disabled: O, invalid: k, className: A, "aria-label": j }) {
|
|
80
|
+
let M = e, [N, P] = i(t, n, r), [F, I] = h(!1), [L, R] = h(null), [z, B] = h(!1), [V, H] = h(0), U = m(null), W = m(null), G = (e) => !!S && l(e, S) < 0 || !!C && l(e, C) > 0 || !!w?.(e), K = (e) => {
|
|
81
|
+
let t = d(e);
|
|
82
|
+
return t && !G(t) ? t : null;
|
|
83
|
+
}, q = () => {
|
|
84
|
+
let e = p;
|
|
85
|
+
if (L === null) return !0;
|
|
86
|
+
if (!L[e(127)]()) P(null);
|
|
87
|
+
else {
|
|
88
|
+
let e = K(L);
|
|
89
|
+
if (!e) return B(!0), !1;
|
|
90
|
+
P(e);
|
|
91
|
+
}
|
|
92
|
+
return R(null), B(!1), !0;
|
|
93
|
+
}, J = () => requestAnimationFrame(() => W[M(162)]?.[M(129)](M(144))?.[M(173)]());
|
|
94
|
+
return v(s, {
|
|
95
|
+
open: F,
|
|
96
|
+
onOpenChange: I,
|
|
97
|
+
openOn: M(164),
|
|
98
|
+
align: x,
|
|
99
|
+
padding: "sm",
|
|
100
|
+
autoFocus: !1,
|
|
101
|
+
"aria-label": M(122),
|
|
102
|
+
trigger: y("div", {
|
|
103
|
+
className: o(M(151), M(172), M(159), D !== "md" && M(149) + D, A),
|
|
104
|
+
"data-open": F || void 0,
|
|
105
|
+
"data-invalid": k || z || void 0,
|
|
106
|
+
"data-disabled": O || void 0,
|
|
107
|
+
onPointerDown: (e) => {
|
|
108
|
+
let t = M;
|
|
109
|
+
O || e.target === U[t(162)] || (e.preventDefault(), U[t(162)]?.[t(173)](), I(!0));
|
|
110
|
+
},
|
|
111
|
+
children: [
|
|
112
|
+
v(M(166), {
|
|
113
|
+
ref: U,
|
|
114
|
+
id: E,
|
|
115
|
+
className: M(150),
|
|
116
|
+
value: L ?? (N ? a(N) : ""),
|
|
117
|
+
placeholder: c,
|
|
118
|
+
disabled: O,
|
|
119
|
+
"aria-label": j,
|
|
120
|
+
"aria-invalid": k || z || void 0,
|
|
121
|
+
"aria-haspopup": M(136),
|
|
122
|
+
"aria-expanded": F,
|
|
123
|
+
autoComplete: M(171),
|
|
124
|
+
onClick: () => I(!0),
|
|
125
|
+
onFocus: (e) => e[M(170)][M(169)](),
|
|
126
|
+
onChange: (e) => {
|
|
127
|
+
let t = M, n = e[t(170)][t(126)];
|
|
128
|
+
R(n), B(!1);
|
|
129
|
+
let r = K(n);
|
|
130
|
+
r && (N && r[t(130)]() === N[t(130)]() && r[t(133)]() === N[t(133)]() || H((e) => e + 1), P(r)), I(!0);
|
|
131
|
+
},
|
|
132
|
+
onKeyDown: (e) => {
|
|
133
|
+
let t = M;
|
|
134
|
+
e.nativeEvent[t(146)] || (e.key === t(142) ? (e[t(158)](), q() && I(!1)) : e.key === t(143) ? (e[t(158)](), I(!0), J()) : e[t(140)] === t(152) && (F ? I(!1) : (R(null), B(!1))));
|
|
135
|
+
},
|
|
136
|
+
onBlur: () => {
|
|
137
|
+
!q() && (R(null), B(!1));
|
|
138
|
+
}
|
|
139
|
+
}),
|
|
140
|
+
v(M(168), {
|
|
141
|
+
className: "ds-select-trigger__icon ds-datefield__icon",
|
|
142
|
+
"aria-hidden": !0,
|
|
143
|
+
children: v(g, {})
|
|
144
|
+
}),
|
|
145
|
+
b && N && !O && L === null && v("span", {
|
|
146
|
+
role: M(139),
|
|
147
|
+
tabIndex: -1,
|
|
148
|
+
"aria-label": "날짜 지우기",
|
|
149
|
+
className: M(163),
|
|
150
|
+
onPointerDown: (e) => e.stopPropagation(),
|
|
151
|
+
onClick: () => {
|
|
152
|
+
let e = M;
|
|
153
|
+
P(null), U.current?.[e(173)]();
|
|
154
|
+
},
|
|
155
|
+
children: v(_, {})
|
|
156
|
+
})
|
|
157
|
+
]
|
|
158
|
+
}),
|
|
159
|
+
children: v(M(160), {
|
|
160
|
+
ref: W,
|
|
161
|
+
children: v(f, {
|
|
162
|
+
value: N,
|
|
163
|
+
onValueChange: (e) => {
|
|
164
|
+
let t = M;
|
|
165
|
+
P(e), R(null), B(!1), I(!1), U.current?.[t(173)]();
|
|
166
|
+
},
|
|
167
|
+
min: S,
|
|
168
|
+
max: C,
|
|
169
|
+
isDateDisabled: w,
|
|
170
|
+
weekStartsOn: T
|
|
171
|
+
}, V)
|
|
172
|
+
})
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
function S({ value: r, defaultValue: o = {
|
|
176
|
+
from: null,
|
|
177
|
+
to: null
|
|
178
|
+
}, onValueChange: l, presets: d = c, placeholder: p = e(145), clearable: m = !0, align: g = e(125), min: _, max: x, isDateDisabled: S, weekStartsOn: C, ...w }) {
|
|
179
|
+
let T = e, [E, D] = i(r, o, l), [O, k] = h(!1), A = E[T(134)] ? u(E[T(134)]) + T(123) + (E.to ? u(E.to) : "…") : p;
|
|
180
|
+
return v(s, {
|
|
181
|
+
open: O,
|
|
182
|
+
onOpenChange: k,
|
|
183
|
+
align: g,
|
|
184
|
+
padding: "sm",
|
|
185
|
+
autoFocus: !1,
|
|
186
|
+
"aria-label": "기간 선택",
|
|
187
|
+
trigger: v(b, {
|
|
188
|
+
...w,
|
|
189
|
+
open: O,
|
|
190
|
+
empty: !E[T(134)],
|
|
191
|
+
onClear: m ? () => D({
|
|
192
|
+
from: null,
|
|
193
|
+
to: null
|
|
194
|
+
}) : void 0,
|
|
195
|
+
children: A
|
|
196
|
+
}),
|
|
197
|
+
children: y(t, {
|
|
198
|
+
gap: 3,
|
|
199
|
+
align: "start",
|
|
200
|
+
wrap: !1,
|
|
201
|
+
children: [d[T(141)] > 0 && v(n, {
|
|
202
|
+
gap: 1,
|
|
203
|
+
style: { minWidth: 96 },
|
|
204
|
+
children: d.map((e) => v(a, {
|
|
205
|
+
variant: T(138),
|
|
206
|
+
size: "sm",
|
|
207
|
+
style: { justifyContent: T(131) },
|
|
208
|
+
onClick: () => {
|
|
209
|
+
D(e[T(155)]()), k(!1);
|
|
210
|
+
},
|
|
211
|
+
children: e.label
|
|
212
|
+
}, e[T(154)]))
|
|
213
|
+
}), v(f, {
|
|
214
|
+
mode: T(155),
|
|
215
|
+
value: E,
|
|
216
|
+
onValueChange: (e) => {
|
|
217
|
+
let t = T;
|
|
218
|
+
D(e), e[t(134)] && e.to && k(!1);
|
|
219
|
+
},
|
|
220
|
+
min: _,
|
|
221
|
+
max: x,
|
|
222
|
+
isDateDisabled: S,
|
|
223
|
+
weekStartsOn: C,
|
|
224
|
+
autoFocus: !0
|
|
225
|
+
})]
|
|
226
|
+
})
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
export { x as DatePicker, S as DateRangePicker };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
function e() {
|
|
3
|
+
var t = [
|
|
4
|
+
"z2v0rNvSBfLLyxi",
|
|
5
|
+
"Bwf0y2G",
|
|
6
|
+
"mtfitejtDMO",
|
|
7
|
+
"mteYotGWnhzVywPKBa",
|
|
8
|
+
"ntrArxLwvxe",
|
|
9
|
+
"mZyWotCWthPYAuH6",
|
|
10
|
+
"BwLU",
|
|
11
|
+
"z2v0vgLTzq",
|
|
12
|
+
"nLDst2DKua",
|
|
13
|
+
"z2v0tw9UDgG",
|
|
14
|
+
"mJaYmte2meDfswLTEG",
|
|
15
|
+
"z2v0rgf5",
|
|
16
|
+
"mtK3oty0ngrzyNnsvG",
|
|
17
|
+
"zNjVBq",
|
|
18
|
+
"mJbuAg9hA1O",
|
|
19
|
+
"7lwC6RE8idmW7j28",
|
|
20
|
+
"ndu2mta4tfLPzg5s",
|
|
21
|
+
"z2v0rgf0zq",
|
|
22
|
+
"mJy2mdH5DfPYDM8",
|
|
23
|
+
"7j2067kiioUlRa",
|
|
24
|
+
"mJi0nJm2m29SzKHYCW",
|
|
25
|
+
"DhjPBq"
|
|
26
|
+
];
|
|
27
|
+
return e = function() {
|
|
28
|
+
return t;
|
|
29
|
+
}, e();
|
|
30
|
+
}
|
|
31
|
+
var t = y;
|
|
32
|
+
(function(e, t) {
|
|
33
|
+
for (var n = y, r = e();;) try {
|
|
34
|
+
if (-parseInt(n(512)) / 1 + parseInt(n(499)) / 2 + -parseInt(n(503)) / 3 * (-parseInt(n(501)) / 4) + -parseInt(n(519)) / 5 + parseInt(n(517)) / 6 * (parseInt(n(507)) / 7) + -parseInt(n(505)) / 8 * (-parseInt(n(513)) / 9) + -parseInt(n(514)) / 10 * (-parseInt(n(511)) / 11) == t) break;
|
|
35
|
+
r.push(r.shift());
|
|
36
|
+
} catch {
|
|
37
|
+
r.push(r.shift());
|
|
38
|
+
}
|
|
39
|
+
})(e, 592928);
|
|
40
|
+
var n = (e) => new Date(e[t(509)](), e.getMonth(), e[t(504)]()), r = (e) => new Date(e[t(509)](), e[t(518)](), 1), i = (e, n) => new Date(e[t(509)](), e.getMonth(), e.getDate() + n), a = (e, n) => {
|
|
41
|
+
var r = t;
|
|
42
|
+
let i = new Date(e[r(509)](), e[r(518)]() + n, 1), a = new Date(i[r(509)](), i[r(518)]() + 1, 0)[r(504)]();
|
|
43
|
+
return new Date(i[r(509)](), i[r(518)](), Math[r(515)](e[r(504)](), a));
|
|
44
|
+
}, o = (e, n) => !!e && !!n && e[t(509)]() === n[t(509)]() && e[t(518)]() === n.getMonth() && e[t(504)]() === n[t(504)](), s = (e, n) => e[t(509)]() === n.getFullYear() && e[t(518)]() === n[t(518)](), c = (e, r) => n(e).getTime() - n(r)[t(516)](), l = (e, t, n) => c(e, t) >= 0 && c(e, n) <= 0;
|
|
45
|
+
function u(e, n) {
|
|
46
|
+
var a = t;
|
|
47
|
+
let o = r(e), s = i(o, -((o[a(520)]() - n + 7) % 7));
|
|
48
|
+
return Array[a(500)]({ length: 42 }, (e, t) => i(s, t));
|
|
49
|
+
}
|
|
50
|
+
var d = [
|
|
51
|
+
"일",
|
|
52
|
+
"월",
|
|
53
|
+
"화",
|
|
54
|
+
"수",
|
|
55
|
+
"목",
|
|
56
|
+
"금",
|
|
57
|
+
"토"
|
|
58
|
+
], f = (e) => Array[t(500)]({ length: 7 }, (t, n) => d[(n + e) % 7]), p = (e) => e[t(509)]() + "년 " + (e.getMonth() + 1) + "월", m = (e, n = e[t(509)]() !== (/* @__PURE__ */ new Date()).getFullYear()) => (n ? e[t(509)]() + "년 " : "") + (e[t(518)]() + 1) + "월 " + e.getDate() + "일", h = (e) => e.getFullYear() + "년 " + (e[t(518)]() + 1) + "월 " + e[t(504)]() + "일 " + d[e[t(520)]()] + "요일", g = () => n(/* @__PURE__ */ new Date()), _ = [
|
|
59
|
+
{
|
|
60
|
+
label: "오늘",
|
|
61
|
+
range: () => ({
|
|
62
|
+
from: g(),
|
|
63
|
+
to: g()
|
|
64
|
+
})
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
label: "최근 7일",
|
|
68
|
+
range: () => ({
|
|
69
|
+
from: i(g(), -6),
|
|
70
|
+
to: g()
|
|
71
|
+
})
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: t(502),
|
|
75
|
+
range: () => ({
|
|
76
|
+
from: i(g(), -29),
|
|
77
|
+
to: g()
|
|
78
|
+
})
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
label: t(506),
|
|
82
|
+
range: () => ({
|
|
83
|
+
from: new Date(g()[t(509)](), g()[t(518)](), 1),
|
|
84
|
+
to: g()
|
|
85
|
+
})
|
|
86
|
+
}
|
|
87
|
+
];
|
|
88
|
+
function v(e, r = /* @__PURE__ */ new Date()) {
|
|
89
|
+
var a = t;
|
|
90
|
+
let o = e[a(508)]().replace(/\s+/g, " ");
|
|
91
|
+
if (!o) return null;
|
|
92
|
+
let s = {
|
|
93
|
+
그제: -2,
|
|
94
|
+
그저께: -2,
|
|
95
|
+
어제: -1,
|
|
96
|
+
오늘: 0,
|
|
97
|
+
내일: 1,
|
|
98
|
+
모레: 2
|
|
99
|
+
};
|
|
100
|
+
if (o in s) return i(n(r), s[o]);
|
|
101
|
+
let c = (e, t, n) => {
|
|
102
|
+
var r = a;
|
|
103
|
+
let i = new Date(e, t - 1, n);
|
|
104
|
+
return i.getFullYear() === e && i[r(518)]() === t - 1 && i.getDate() === n ? i : null;
|
|
105
|
+
}, l = r.getFullYear(), u;
|
|
106
|
+
return (u = o[a(510)](/^(\d{4})\s*[-./년]\s*(\d{1,2})\s*[-./월]\s*(\d{1,2})\s*[.일]?$/)) || (u = o[a(510)](/^(\d{4})(\d{2})(\d{2})$/)) ? c(+u[1], +u[2], +u[3]) : (u = o.match(/^(\d{1,2})\s*[-./월]\s*(\d{1,2})\s*[.일]?$/)) ? c(l, +u[1], +u[2]) : (u = o[a(510)](/^(\d{1,2})\s*일$/)) ? c(l, r[a(518)]() + 1, +u[1]) : null;
|
|
107
|
+
}
|
|
108
|
+
function y(t, n) {
|
|
109
|
+
t -= 499;
|
|
110
|
+
var r = e(), i = r[t];
|
|
111
|
+
y.vBKviS === void 0 && (y.Lbvhqp = function(e) {
|
|
112
|
+
for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
|
|
113
|
+
for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
|
|
114
|
+
return decodeURIComponent(r);
|
|
115
|
+
}, y.udaRkf = {}, y.vBKviS = !0);
|
|
116
|
+
var a = r[0];
|
|
117
|
+
y.jlOHog !== a && (y.udaRkf = {}, y.jlOHog = a);
|
|
118
|
+
var o = y.udaRkf[t];
|
|
119
|
+
return o === void 0 ? (i = y.Lbvhqp(i), y.udaRkf[t] = i) : i = o, i;
|
|
120
|
+
}
|
|
121
|
+
export { _ as DEFAULT_DATE_PRESETS, i as addDays, a as addMonths, l as between, c as compareDay, m as formatDate, h as formatFullDate, p as formatMonth, u as monthGrid, v as parseDateInput, o as sameDay, s as sameMonth, n as startOfDay, r as startOfMonth, f as weekdayLabels };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var e = c;
|
|
3
|
+
(function(e, t) {
|
|
4
|
+
for (var n = c, r = e();;) try {
|
|
5
|
+
if (parseInt(n(341)) / 1 + parseInt(n(352)) / 2 * (-parseInt(n(349)) / 3) + -parseInt(n(339)) / 4 * (-parseInt(n(332)) / 5) + parseInt(n(351)) / 6 + -parseInt(n(353)) / 7 + -parseInt(n(348)) / 8 + -parseInt(n(354)) / 9 * (-parseInt(n(355)) / 10) == t) break;
|
|
6
|
+
r.push(r.shift());
|
|
7
|
+
} catch {
|
|
8
|
+
r.push(r.shift());
|
|
9
|
+
}
|
|
10
|
+
})(d, 475930);
|
|
11
|
+
import { AspectRatio as t } from "../../primitives/AspectRatio2.js";
|
|
12
|
+
import { cx as n } from "../../primitives/index.js";
|
|
13
|
+
/* empty css */
|
|
14
|
+
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
15
|
+
function o({ as: e, variant: t = "default", padding: r = "md", interactive: a, selected: o, className: s, children: l, ...u }) {
|
|
16
|
+
var d = c;
|
|
17
|
+
return i(e ?? "div", {
|
|
18
|
+
className: n("ds-card", "ds-card--" + t, d(338) + r, a && d(340), s),
|
|
19
|
+
"data-selectable": o !== void 0 || void 0,
|
|
20
|
+
"data-selected": o || void 0,
|
|
21
|
+
...u,
|
|
22
|
+
children: l
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function s({ title: e, description: t, eyebrow: o, icon: s, actions: l, children: u, className: d }) {
|
|
26
|
+
var f = c;
|
|
27
|
+
return a(f(337), {
|
|
28
|
+
className: n(f(344), d),
|
|
29
|
+
children: [
|
|
30
|
+
s && i("div", {
|
|
31
|
+
className: "ds-card__icon",
|
|
32
|
+
children: s
|
|
33
|
+
}),
|
|
34
|
+
i("div", {
|
|
35
|
+
className: f(343),
|
|
36
|
+
children: u ?? a(r, { children: [
|
|
37
|
+
o && i("div", {
|
|
38
|
+
className: f(342),
|
|
39
|
+
children: o
|
|
40
|
+
}),
|
|
41
|
+
e && i(f(337), {
|
|
42
|
+
className: "ds-card__title",
|
|
43
|
+
children: e
|
|
44
|
+
}),
|
|
45
|
+
t && i(f(337), {
|
|
46
|
+
className: f(356),
|
|
47
|
+
children: t
|
|
48
|
+
})
|
|
49
|
+
] })
|
|
50
|
+
}),
|
|
51
|
+
l && i(f(337), {
|
|
52
|
+
className: f(331),
|
|
53
|
+
children: l
|
|
54
|
+
})
|
|
55
|
+
]
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function c(e, t) {
|
|
59
|
+
e -= 331;
|
|
60
|
+
var n = d(), r = n[e];
|
|
61
|
+
c.hHXqyN === void 0 && (c.foswYD = function(e) {
|
|
62
|
+
for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
|
|
63
|
+
for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
|
|
64
|
+
return decodeURIComponent(r);
|
|
65
|
+
}, c.jcLUnf = {}, c.hHXqyN = !0);
|
|
66
|
+
var i = n[0];
|
|
67
|
+
c.iidrhW !== i && (c.jcLUnf = {}, c.iidrhW = i);
|
|
68
|
+
var a = c.jcLUnf[e];
|
|
69
|
+
return a === void 0 ? (r = c.foswYD(r), c.jcLUnf[e] = r) : r = a, r;
|
|
70
|
+
}
|
|
71
|
+
function l({ children: e, className: t, style: r }) {
|
|
72
|
+
var a = c;
|
|
73
|
+
return i(a(337), {
|
|
74
|
+
className: n(a(350), t),
|
|
75
|
+
style: r,
|
|
76
|
+
children: e
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
function u({ children: t, align: r = e(334), divided: a, band: o, className: s }) {
|
|
80
|
+
var c = e;
|
|
81
|
+
return i(c(337), {
|
|
82
|
+
className: n(c(346), c(347) + r, a && c(333), o && c(336), s),
|
|
83
|
+
children: t
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function d() {
|
|
87
|
+
var e = /* @__PURE__ */ "mJbHEhnNsgu.zhmTy2fYzf9FzgvZy3jPChrPB24.twvKAwe.zhmTy2fYzf9FBwvKAwe.zhmTy2fYzf9Fywn0Aw9UCW.mte5otvOrwHOB1i.zhmTy2fYzf9FzM9VDgvYls1KAxzPzgvK.zw5K.qM9KEq.zhmTy2fYzf9FzM9VDgvYls1Iyw5K.zgL2.zhmTy2fYzc0TCgfKlq.mti0nenHuwDwyW.zhmTy2fYzc0TAw50zxjHy3rPDMu.mZq4mtyWwK1WA1zA.zhmTy2fYzf9FzxLLyNjVDW.zhmTy2fYzf9FAgvHzgLUzW.zhmTy2fYzf9FAgvHzgvY.sgvHzgvY.zhmTy2fYzf9FzM9VDgvY.zhmTy2fYzf9FzM9VDgvYls0.ndu5odyWmfDHCgP6tG.nJLbCfb1A1y.zhmTy2fYzf9FyM9KEq.mtaXoda2ofP4rvP0DW.oda5nZrZuMPNs1a.mJyYota4mxz1Dfvuzq.ndKYmti1neDxyNHktq".split(".");
|
|
88
|
+
return d = function() {
|
|
89
|
+
return e;
|
|
90
|
+
}, d();
|
|
91
|
+
}
|
|
92
|
+
function f({ children: r, ratio: a, className: o }) {
|
|
93
|
+
var s = e;
|
|
94
|
+
return a === void 0 ? i(s(337), {
|
|
95
|
+
className: n(s(358), o),
|
|
96
|
+
children: r
|
|
97
|
+
}) : i(t, {
|
|
98
|
+
ratio: a,
|
|
99
|
+
className: n(s(358), o),
|
|
100
|
+
children: r
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
o[e(345)] = s, o[e(335)] = l, o.Footer = u, o[e(357)] = f;
|
|
104
|
+
export { o as Card, l as CardBody, u as CardFooter, s as CardHeader, f as CardMedia };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
(function(e, n) {
|
|
3
|
+
for (var r = t, i = e();;) try {
|
|
4
|
+
if (parseInt(r(222)) / 1 * (-parseInt(r(226)) / 2) + parseInt(r(234)) / 3 * (parseInt(r(218)) / 4) + -parseInt(r(228)) / 5 * (parseInt(r(225)) / 6) + parseInt(r(230)) / 7 * (-parseInt(r(219)) / 8) + parseInt(r(223)) / 9 * (-parseInt(r(229)) / 10) + -parseInt(r(221)) / 11 * (parseInt(r(235)) / 12) + parseInt(r(220)) / 13 * (parseInt(r(233)) / 14) == n) break;
|
|
5
|
+
i.push(i.shift());
|
|
6
|
+
} catch {
|
|
7
|
+
i.push(i.shift());
|
|
8
|
+
}
|
|
9
|
+
})(n, 403677);
|
|
10
|
+
import { cx as e } from "../../primitives/index.js";
|
|
11
|
+
function t(e, r) {
|
|
12
|
+
e -= 218;
|
|
13
|
+
var i = n(), a = i[e];
|
|
14
|
+
t.rokZlj === void 0 && (t.PqfiWB = function(e) {
|
|
15
|
+
for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
|
|
16
|
+
for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
|
|
17
|
+
return decodeURIComponent(r);
|
|
18
|
+
}, t.PJpIQR = {}, t.rokZlj = !0);
|
|
19
|
+
var o = i[0];
|
|
20
|
+
t.ESVpBA !== o && (t.PJpIQR = {}, t.ESVpBA = o);
|
|
21
|
+
var s = t.PJpIQR[e];
|
|
22
|
+
return s === void 0 ? (a = t.PqfiWB(a), t.PJpIQR[e] = a) : a = s, a;
|
|
23
|
+
}
|
|
24
|
+
function n() {
|
|
25
|
+
var e = [
|
|
26
|
+
"mtm1nurrDLjfsG",
|
|
27
|
+
"mtb5yNnmuK8",
|
|
28
|
+
"mJi0mZiZngfPsNP4uG",
|
|
29
|
+
"zhmTy2fYzc1MCMfTzv9Fy29UDgvUDa",
|
|
30
|
+
"zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TzM9VDgvY",
|
|
31
|
+
"mJHcwerQA2C",
|
|
32
|
+
"m2HADgXjyW",
|
|
33
|
+
"mtjbBxziuMW",
|
|
34
|
+
"mta0ntCXmNrJwxzRzW",
|
|
35
|
+
"mtzLr091y1e",
|
|
36
|
+
"mta1ndCYmZHvyujvANm",
|
|
37
|
+
"mJaYodGXohLsywXlqq",
|
|
38
|
+
"ndu3C2viyxPx",
|
|
39
|
+
"ndu3nJC2mu9VCLLXva",
|
|
40
|
+
"zhmTy2fYzc1MCMfTzq",
|
|
41
|
+
"mJiZmMrMtM5ACa",
|
|
42
|
+
"mJaWrxDkAgfz",
|
|
43
|
+
"zgL2"
|
|
44
|
+
];
|
|
45
|
+
return n = function() {
|
|
46
|
+
return e;
|
|
47
|
+
}, n();
|
|
48
|
+
}
|
|
49
|
+
/* empty css */
|
|
50
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
51
|
+
function a({ header: n, footer: a, children: o, className: s, ...c }) {
|
|
52
|
+
var l = t;
|
|
53
|
+
return i(l(227), {
|
|
54
|
+
className: e(l(224), s),
|
|
55
|
+
...c,
|
|
56
|
+
children: [
|
|
57
|
+
n != null && r("div", {
|
|
58
|
+
className: "ds-card-frame__bar ds-card-frame__bar--header",
|
|
59
|
+
children: n
|
|
60
|
+
}),
|
|
61
|
+
r(l(227), {
|
|
62
|
+
className: l(231),
|
|
63
|
+
children: o
|
|
64
|
+
}),
|
|
65
|
+
a != null && r(l(227), {
|
|
66
|
+
className: l(232),
|
|
67
|
+
children: a
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
export { a as CardFrame };
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const e = c;
|
|
3
|
+
(function(e, t) {
|
|
4
|
+
let n = c, r = e();
|
|
5
|
+
for (;;) try {
|
|
6
|
+
if (-parseInt(n(258)) / 1 * (parseInt(n(255)) / 2) + parseInt(n(267)) / 3 + -parseInt(n(256)) / 4 * (parseInt(n(265)) / 5) + -parseInt(n(249)) / 6 * (parseInt(n(270)) / 7) + parseInt(n(263)) / 8 * (-parseInt(n(262)) / 9) + -parseInt(n(259)) / 10 * (parseInt(n(260)) / 11) + -parseInt(n(276)) / 12 * (-parseInt(n(261)) / 13) == t) break;
|
|
7
|
+
r.push(r.shift());
|
|
8
|
+
} catch {
|
|
9
|
+
r.push(r.shift());
|
|
10
|
+
}
|
|
11
|
+
})(p, 971091);
|
|
12
|
+
import { Text as t } from "../../primitives/Typography2.js";
|
|
13
|
+
import { ColorDot as n } from "../../primitives/ColorDot2.js";
|
|
14
|
+
import { Inline as r, Separator as i, Stack as a } from "../../primitives/Layout2.js";
|
|
15
|
+
import { Card as o, CardBody as s } from "../Card/Card2.js";
|
|
16
|
+
/* empty css */
|
|
17
|
+
function c(e, t) {
|
|
18
|
+
e -= 248;
|
|
19
|
+
let n = p(), r = n[e];
|
|
20
|
+
c.ATPdkx === void 0 && (c.lVFlRD = function(e) {
|
|
21
|
+
let t = "", n = "";
|
|
22
|
+
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
23
|
+
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
24
|
+
return decodeURIComponent(n);
|
|
25
|
+
}, c.PZCXRw = {}, c.ATPdkx = !0);
|
|
26
|
+
let i = n[0];
|
|
27
|
+
c.MaeYyI !== i && (c.PZCXRw = {}, c.MaeYyI = i);
|
|
28
|
+
let a = c.PZCXRw[e];
|
|
29
|
+
return a === void 0 ? (r = c.lVFlRD(r), c.PZCXRw[e] = r) : r = a, r;
|
|
30
|
+
}
|
|
31
|
+
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
32
|
+
function f({ title: e, leading: n, value: f, rows: p, footer: h }) {
|
|
33
|
+
let g = c;
|
|
34
|
+
return u(o, {
|
|
35
|
+
variant: g(272),
|
|
36
|
+
padding: "sm",
|
|
37
|
+
children: u(s, { children: d(a, {
|
|
38
|
+
gap: 2,
|
|
39
|
+
children: [
|
|
40
|
+
(e != null || n != null || f != null) && d(l, { children: [d(r, {
|
|
41
|
+
justify: g(257),
|
|
42
|
+
gap: 6,
|
|
43
|
+
wrap: !1,
|
|
44
|
+
children: [d(r, {
|
|
45
|
+
gap: 2,
|
|
46
|
+
wrap: !1,
|
|
47
|
+
children: [n, e != null && u(t, {
|
|
48
|
+
variant: g(251),
|
|
49
|
+
as: "div",
|
|
50
|
+
children: e
|
|
51
|
+
})]
|
|
52
|
+
}), f != null && u(t, {
|
|
53
|
+
variant: "heading-xs",
|
|
54
|
+
as: "div",
|
|
55
|
+
numeric: !0,
|
|
56
|
+
children: f
|
|
57
|
+
})]
|
|
58
|
+
}), u(i, {})] }),
|
|
59
|
+
u(a, {
|
|
60
|
+
gap: 1,
|
|
61
|
+
children: p[g(271)]((e) => u(m, { row: e }, e[g(274)]))
|
|
62
|
+
}),
|
|
63
|
+
h && d(l, { children: [u(i, {}), u(m, {
|
|
64
|
+
row: h,
|
|
65
|
+
strong: !0
|
|
66
|
+
})] })
|
|
67
|
+
]
|
|
68
|
+
}) })
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function p() {
|
|
72
|
+
let e = /* @__PURE__ */ "ndyYD3Lzu3nH.zw5K.AgvHzgLUzY14CW.Aw5SAw5L.DgvYDgLHCNK.BgfIzwWTC20.mtGYmJi2mMPUBNL6zq.mZiZndiWvev0werR.yMv0D2vLBG.mw5py0zWqW.mJiXmhDSr0XsrG.mZq0nJnhBxryvxi.mtnetKjIrMi.nZjKz21dsuu.mtq5ntq3mLbrvwDAEq.yM9KEs1ZBq.otvgugjTuMG.y29SB3i.nty2mdG3murusfnoDG.zgvMyxvSDa.C2vJB25Kyxj5.nZeYntnQs1zhqwK.BwfW.CMfPC2vK.zgv0ywLS.A2v5.DMfSDwu.ntqWmZC4otzADNHYrKy.BgfIzwW".split(".");
|
|
73
|
+
return p = function() {
|
|
74
|
+
return e;
|
|
75
|
+
}, p();
|
|
76
|
+
}
|
|
77
|
+
function m({ row: e, strong: i }) {
|
|
78
|
+
let a = c;
|
|
79
|
+
return d(r, {
|
|
80
|
+
justify: a(257),
|
|
81
|
+
gap: 6,
|
|
82
|
+
wrap: !1,
|
|
83
|
+
children: [d(r, {
|
|
84
|
+
gap: 2,
|
|
85
|
+
wrap: !1,
|
|
86
|
+
children: [!i && u(n, { color: e[a(266)] }), u(t, {
|
|
87
|
+
variant: a(264),
|
|
88
|
+
tone: i ? a(268) : "secondary",
|
|
89
|
+
children: e[a(248)]
|
|
90
|
+
})]
|
|
91
|
+
}), u(t, {
|
|
92
|
+
variant: a(254),
|
|
93
|
+
numeric: !0,
|
|
94
|
+
children: e.value
|
|
95
|
+
})]
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
function h({ items: i, layout: o = e(252), focused: s = null, onFocusChange: c }) {
|
|
99
|
+
let l = e, f = (e) => l(s === null || s === e ? 269 : 253);
|
|
100
|
+
return o === "list" ? u(a, {
|
|
101
|
+
gap: 2,
|
|
102
|
+
onPointerLeave: () => c?.(null),
|
|
103
|
+
children: i[l(271)]((e) => d(r, {
|
|
104
|
+
justify: l(257),
|
|
105
|
+
gap: 6,
|
|
106
|
+
wrap: !1,
|
|
107
|
+
onPointerEnter: () => c?.(e.key),
|
|
108
|
+
children: [d(r, {
|
|
109
|
+
gap: 2,
|
|
110
|
+
wrap: !1,
|
|
111
|
+
children: [u(n, { color: e[l(266)] }), u(t, {
|
|
112
|
+
variant: l(264),
|
|
113
|
+
tone: f(e[l(274)]),
|
|
114
|
+
children: e[l(248)]
|
|
115
|
+
})]
|
|
116
|
+
}), (e.value != null || e.detail != null) && d(r, {
|
|
117
|
+
gap: 4,
|
|
118
|
+
wrap: !1,
|
|
119
|
+
children: [e[l(275)] != null && u(t, {
|
|
120
|
+
variant: "label-sm",
|
|
121
|
+
numeric: !0,
|
|
122
|
+
tone: s === null || s === e[l(274)] ? l(268) : l(253),
|
|
123
|
+
children: e[l(275)]
|
|
124
|
+
}), e[l(273)] != null && u(t, {
|
|
125
|
+
as: "span",
|
|
126
|
+
variant: l(264),
|
|
127
|
+
numeric: !0,
|
|
128
|
+
align: l(250),
|
|
129
|
+
tone: "tertiary",
|
|
130
|
+
className: "ds-chart-legend__detail",
|
|
131
|
+
children: e.detail
|
|
132
|
+
})]
|
|
133
|
+
})]
|
|
134
|
+
}, e[l(274)]))
|
|
135
|
+
}) : u(r, {
|
|
136
|
+
gap: 4,
|
|
137
|
+
onPointerLeave: () => c?.(null),
|
|
138
|
+
children: i[l(271)]((e) => d(r, {
|
|
139
|
+
gap: 2,
|
|
140
|
+
wrap: !1,
|
|
141
|
+
onPointerEnter: () => c?.(e[l(274)]),
|
|
142
|
+
children: [u(n, { color: e[l(266)] }), u(t, {
|
|
143
|
+
variant: l(264),
|
|
144
|
+
tone: f(e[l(274)]),
|
|
145
|
+
children: e[l(248)]
|
|
146
|
+
})]
|
|
147
|
+
}, e[l(274)]))
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
export { h as ChartLegend, f as ChartTooltip };
|