@lucian-seo/lucian-ui 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +227 -0
  3. package/dist/lib/Input-Bv7L1_wj.js +90 -0
  4. package/dist/lib/Input-Bv7L1_wj.js.map +1 -0
  5. package/dist/lib/Menu-B3G64GV4.js +321 -0
  6. package/dist/lib/Menu-B3G64GV4.js.map +1 -0
  7. package/dist/lib/Switch-BkMnC02l.js +999 -0
  8. package/dist/lib/Switch-BkMnC02l.js.map +1 -0
  9. package/dist/lib/Tag-Z8PjnJFt.js +60 -0
  10. package/dist/lib/Tag-Z8PjnJFt.js.map +1 -0
  11. package/dist/lib/TagInput-BaGz-QKU.js +372 -0
  12. package/dist/lib/TagInput-BaGz-QKU.js.map +1 -0
  13. package/dist/lib/Text-D7hoYpuZ.js +26 -0
  14. package/dist/lib/Text-D7hoYpuZ.js.map +1 -0
  15. package/dist/lib/ToggleButton-D6oEjMeF.js +238 -0
  16. package/dist/lib/ToggleButton-D6oEjMeF.js.map +1 -0
  17. package/dist/lib/Toolbar-DiP1iR_t.js +3088 -0
  18. package/dist/lib/Toolbar-DiP1iR_t.js.map +1 -0
  19. package/dist/lib/Tooltip-BJSUlXS2.js +117 -0
  20. package/dist/lib/Tooltip-BJSUlXS2.js.map +1 -0
  21. package/dist/lib/VisuallyHidden-DcE0EFpo.js +194 -0
  22. package/dist/lib/VisuallyHidden-DcE0EFpo.js.map +1 -0
  23. package/dist/lib/VoiceControlBar-CWDLR71w.js +3447 -0
  24. package/dist/lib/VoiceControlBar-CWDLR71w.js.map +1 -0
  25. package/dist/lib/Waveform-BIE2Ztc8.js +318 -0
  26. package/dist/lib/Waveform-BIE2Ztc8.js.map +1 -0
  27. package/dist/lib/components/common/AspectRatio/AspectRatio.d.ts +26 -0
  28. package/dist/lib/components/common/AspectRatio/index.d.ts +2 -0
  29. package/dist/lib/components/common/Avatar/Avatar.d.ts +58 -0
  30. package/dist/lib/components/common/Avatar/index.d.ts +2 -0
  31. package/dist/lib/components/common/Badge/Badge.d.ts +36 -0
  32. package/dist/lib/components/common/Badge/index.d.ts +2 -0
  33. package/dist/lib/components/common/Blockquote/Blockquote.d.ts +40 -0
  34. package/dist/lib/components/common/Blockquote/index.d.ts +2 -0
  35. package/dist/lib/components/common/Button/Button.d.ts +38 -0
  36. package/dist/lib/components/common/Button/index.d.ts +2 -0
  37. package/dist/lib/components/common/CalibratedPulse/CalibratedPulse.d.ts +63 -0
  38. package/dist/lib/components/common/CalibratedPulse/index.d.ts +2 -0
  39. package/dist/lib/components/common/Center/Center.d.ts +23 -0
  40. package/dist/lib/components/common/Center/index.d.ts +2 -0
  41. package/dist/lib/components/common/Checkbox/Checkbox.d.ts +35 -0
  42. package/dist/lib/components/common/Checkbox/index.d.ts +2 -0
  43. package/dist/lib/components/common/Code/Code.d.ts +37 -0
  44. package/dist/lib/components/common/Code/index.d.ts +2 -0
  45. package/dist/lib/components/common/Collapse/Collapse.d.ts +29 -0
  46. package/dist/lib/components/common/Collapse/index.d.ts +2 -0
  47. package/dist/lib/components/common/Container/Container.d.ts +28 -0
  48. package/dist/lib/components/common/Container/index.d.ts +2 -0
  49. package/dist/lib/components/common/Divider/Divider.d.ts +28 -0
  50. package/dist/lib/components/common/Divider/index.d.ts +2 -0
  51. package/dist/lib/components/common/FileInput/FileInput.d.ts +52 -0
  52. package/dist/lib/components/common/FileInput/index.d.ts +2 -0
  53. package/dist/lib/components/common/Flex/Flex.d.ts +35 -0
  54. package/dist/lib/components/common/Flex/index.d.ts +2 -0
  55. package/dist/lib/components/common/Glass/Glass.d.ts +35 -0
  56. package/dist/lib/components/common/Glass/index.d.ts +2 -0
  57. package/dist/lib/components/common/Glass/refraction.d.ts +24 -0
  58. package/dist/lib/components/common/Glass/rim.d.ts +37 -0
  59. package/dist/lib/components/common/Grid/Grid.d.ts +28 -0
  60. package/dist/lib/components/common/Grid/GridItem.d.ts +31 -0
  61. package/dist/lib/components/common/Grid/index.d.ts +4 -0
  62. package/dist/lib/components/common/Group/Group.d.ts +38 -0
  63. package/dist/lib/components/common/Group/index.d.ts +2 -0
  64. package/dist/lib/components/common/Highlight/Highlight.d.ts +63 -0
  65. package/dist/lib/components/common/Highlight/index.d.ts +2 -0
  66. package/dist/lib/components/common/Icon/Icon.d.ts +39 -0
  67. package/dist/lib/components/common/Icon/index.d.ts +2 -0
  68. package/dist/lib/components/common/IconButton/IconButton.d.ts +34 -0
  69. package/dist/lib/components/common/IconButton/index.d.ts +2 -0
  70. package/dist/lib/components/common/Indicator/Indicator.d.ts +51 -0
  71. package/dist/lib/components/common/Indicator/index.d.ts +2 -0
  72. package/dist/lib/components/common/Input/Input.d.ts +84 -0
  73. package/dist/lib/components/common/Input/index.d.ts +2 -0
  74. package/dist/lib/components/common/Kbd/Kbd.d.ts +34 -0
  75. package/dist/lib/components/common/Kbd/index.d.ts +2 -0
  76. package/dist/lib/components/common/Link/Link.d.ts +21 -0
  77. package/dist/lib/components/common/Link/index.d.ts +2 -0
  78. package/dist/lib/components/common/Mark/Mark.d.ts +38 -0
  79. package/dist/lib/components/common/Mark/index.d.ts +2 -0
  80. package/dist/lib/components/common/MultiSelect/MultiSelect.d.ts +54 -0
  81. package/dist/lib/components/common/MultiSelect/index.d.ts +2 -0
  82. package/dist/lib/components/common/PinInput/PinInput.d.ts +49 -0
  83. package/dist/lib/components/common/PinInput/index.d.ts +2 -0
  84. package/dist/lib/components/common/Progress/Progress.d.ts +30 -0
  85. package/dist/lib/components/common/Progress/index.d.ts +2 -0
  86. package/dist/lib/components/common/Radio/Radio.d.ts +45 -0
  87. package/dist/lib/components/common/Radio/index.d.ts +2 -0
  88. package/dist/lib/components/common/RingProgress/RingProgress.d.ts +40 -0
  89. package/dist/lib/components/common/RingProgress/index.d.ts +2 -0
  90. package/dist/lib/components/common/ScrollArea/ScrollArea.d.ts +33 -0
  91. package/dist/lib/components/common/ScrollArea/index.d.ts +2 -0
  92. package/dist/lib/components/common/Select/Select.d.ts +50 -0
  93. package/dist/lib/components/common/Select/index.d.ts +2 -0
  94. package/dist/lib/components/common/Select/listbox.d.ts +68 -0
  95. package/dist/lib/components/common/SimpleGrid/SimpleGrid.d.ts +30 -0
  96. package/dist/lib/components/common/SimpleGrid/index.d.ts +2 -0
  97. package/dist/lib/components/common/Skeleton/Skeleton.d.ts +23 -0
  98. package/dist/lib/components/common/Skeleton/index.d.ts +2 -0
  99. package/dist/lib/components/common/Slider/Slider.d.ts +55 -0
  100. package/dist/lib/components/common/Slider/index.d.ts +2 -0
  101. package/dist/lib/components/common/Space/Space.d.ts +29 -0
  102. package/dist/lib/components/common/Space/index.d.ts +2 -0
  103. package/dist/lib/components/common/Spinner/Spinner.d.ts +25 -0
  104. package/dist/lib/components/common/Spinner/index.d.ts +2 -0
  105. package/dist/lib/components/common/Stack/Stack.d.ts +41 -0
  106. package/dist/lib/components/common/Stack/index.d.ts +2 -0
  107. package/dist/lib/components/common/Switch/Switch.d.ts +28 -0
  108. package/dist/lib/components/common/Switch/index.d.ts +2 -0
  109. package/dist/lib/components/common/Text/Text.d.ts +57 -0
  110. package/dist/lib/components/common/Text/index.d.ts +2 -0
  111. package/dist/lib/components/common/Textarea/Textarea.d.ts +29 -0
  112. package/dist/lib/components/common/Textarea/index.d.ts +2 -0
  113. package/dist/lib/components/common/Tooltip/Tooltip.d.ts +33 -0
  114. package/dist/lib/components/common/Tooltip/index.d.ts +2 -0
  115. package/dist/lib/components/common/VisuallyHidden/VisuallyHidden.d.ts +20 -0
  116. package/dist/lib/components/common/VisuallyHidden/index.d.ts +2 -0
  117. package/dist/lib/components/common/Waveform/Waveform.d.ts +66 -0
  118. package/dist/lib/components/common/Waveform/index.d.ts +2 -0
  119. package/dist/lib/components/common/index.d.ts +44 -0
  120. package/dist/lib/components/common/index.js +7 -0
  121. package/dist/lib/components/composed/AppShell/AppShell.d.ts +95 -0
  122. package/dist/lib/components/composed/AppShell/index.d.ts +2 -0
  123. package/dist/lib/components/composed/Breadcrumb/Breadcrumb.d.ts +46 -0
  124. package/dist/lib/components/composed/Breadcrumb/index.d.ts +2 -0
  125. package/dist/lib/components/composed/BulkActionBar/BulkActionBar.d.ts +48 -0
  126. package/dist/lib/components/composed/BulkActionBar/index.d.ts +2 -0
  127. package/dist/lib/components/composed/Callout/Callout.d.ts +43 -0
  128. package/dist/lib/components/composed/Callout/index.d.ts +2 -0
  129. package/dist/lib/components/composed/Card/Card.d.ts +80 -0
  130. package/dist/lib/components/composed/Card/index.d.ts +2 -0
  131. package/dist/lib/components/composed/Carousel/Carousel.d.ts +52 -0
  132. package/dist/lib/components/composed/Carousel/index.d.ts +2 -0
  133. package/dist/lib/components/composed/Combobox/Combobox.d.ts +50 -0
  134. package/dist/lib/components/composed/Combobox/index.d.ts +2 -0
  135. package/dist/lib/components/composed/CommandPalette/CommandPalette.d.ts +51 -0
  136. package/dist/lib/components/composed/CommandPalette/index.d.ts +2 -0
  137. package/dist/lib/components/composed/DatePicker/Calendar.d.ts +49 -0
  138. package/dist/lib/components/composed/DatePicker/DatePicker.d.ts +36 -0
  139. package/dist/lib/components/composed/DatePicker/dates.d.ts +50 -0
  140. package/dist/lib/components/composed/DatePicker/index.d.ts +3 -0
  141. package/dist/lib/components/composed/DateRangePicker/DateRangePicker.d.ts +40 -0
  142. package/dist/lib/components/composed/DateRangePicker/index.d.ts +2 -0
  143. package/dist/lib/components/composed/Disclosure/Disclosure.d.ts +44 -0
  144. package/dist/lib/components/composed/Disclosure/index.d.ts +2 -0
  145. package/dist/lib/components/composed/Drawer/Drawer.d.ts +39 -0
  146. package/dist/lib/components/composed/Drawer/index.d.ts +2 -0
  147. package/dist/lib/components/composed/EmptyState/EmptyState.d.ts +43 -0
  148. package/dist/lib/components/composed/EmptyState/index.d.ts +2 -0
  149. package/dist/lib/components/composed/Field/Field.d.ts +63 -0
  150. package/dist/lib/components/composed/Field/index.d.ts +2 -0
  151. package/dist/lib/components/composed/FilterBar/FilterBar.d.ts +58 -0
  152. package/dist/lib/components/composed/FilterBar/index.d.ts +2 -0
  153. package/dist/lib/components/composed/FormSection/FormSection.d.ts +35 -0
  154. package/dist/lib/components/composed/FormSection/index.d.ts +2 -0
  155. package/dist/lib/components/composed/ListRow/ListRow.d.ts +83 -0
  156. package/dist/lib/components/composed/ListRow/index.d.ts +2 -0
  157. package/dist/lib/components/composed/Menu/Menu.d.ts +102 -0
  158. package/dist/lib/components/composed/Menu/index.d.ts +2 -0
  159. package/dist/lib/components/composed/Menu/scope.d.ts +15 -0
  160. package/dist/lib/components/composed/Modal/Modal.d.ts +65 -0
  161. package/dist/lib/components/composed/Modal/index.d.ts +2 -0
  162. package/dist/lib/components/composed/PageHeader/PageHeader.d.ts +46 -0
  163. package/dist/lib/components/composed/PageHeader/index.d.ts +2 -0
  164. package/dist/lib/components/composed/Pagination/Pagination.d.ts +48 -0
  165. package/dist/lib/components/composed/Pagination/index.d.ts +2 -0
  166. package/dist/lib/components/composed/Popover/Popover.d.ts +47 -0
  167. package/dist/lib/components/composed/Popover/index.d.ts +2 -0
  168. package/dist/lib/components/composed/PreferenceRow/PreferenceRow.d.ts +43 -0
  169. package/dist/lib/components/composed/PreferenceRow/index.d.ts +2 -0
  170. package/dist/lib/components/composed/Sheet/Sheet.d.ts +53 -0
  171. package/dist/lib/components/composed/Sheet/index.d.ts +2 -0
  172. package/dist/lib/components/composed/SidePanel/SidePanel.d.ts +34 -0
  173. package/dist/lib/components/composed/SidePanel/index.d.ts +2 -0
  174. package/dist/lib/components/composed/SidebarNav/SidebarNav.d.ts +85 -0
  175. package/dist/lib/components/composed/SidebarNav/index.d.ts +2 -0
  176. package/dist/lib/components/composed/Spotlight/Spotlight.d.ts +57 -0
  177. package/dist/lib/components/composed/Spotlight/index.d.ts +2 -0
  178. package/dist/lib/components/composed/Stepper/Stepper.d.ts +36 -0
  179. package/dist/lib/components/composed/Stepper/index.d.ts +2 -0
  180. package/dist/lib/components/composed/Table/Table.d.ts +142 -0
  181. package/dist/lib/components/composed/Table/index.d.ts +2 -0
  182. package/dist/lib/components/composed/Tabs/Tabs.d.ts +48 -0
  183. package/dist/lib/components/composed/Tabs/index.d.ts +2 -0
  184. package/dist/lib/components/composed/TimeInput/TimeInput.d.ts +41 -0
  185. package/dist/lib/components/composed/TimeInput/index.d.ts +3 -0
  186. package/dist/lib/components/composed/TimeInput/times.d.ts +47 -0
  187. package/dist/lib/components/composed/Toast/Toast.d.ts +37 -0
  188. package/dist/lib/components/composed/Toast/index.d.ts +2 -0
  189. package/dist/lib/components/composed/Toolbar/Toolbar.d.ts +45 -0
  190. package/dist/lib/components/composed/Toolbar/index.d.ts +2 -0
  191. package/dist/lib/components/composed/index.d.ts +33 -0
  192. package/dist/lib/components/composed/index.js +3 -0
  193. package/dist/lib/components/derived/AvatarGroup/AvatarGroup.d.ts +52 -0
  194. package/dist/lib/components/derived/AvatarGroup/index.d.ts +2 -0
  195. package/dist/lib/components/derived/ButtonGroup/ButtonGroup.d.ts +33 -0
  196. package/dist/lib/components/derived/ButtonGroup/index.d.ts +2 -0
  197. package/dist/lib/components/derived/ChoiceCard/ChoiceCard.d.ts +43 -0
  198. package/dist/lib/components/derived/ChoiceCard/index.d.ts +2 -0
  199. package/dist/lib/components/derived/InputGroup/InputGroup.d.ts +23 -0
  200. package/dist/lib/components/derived/InputGroup/index.d.ts +2 -0
  201. package/dist/lib/components/derived/MorphIcon/MorphIcon.d.ts +71 -0
  202. package/dist/lib/components/derived/MorphIcon/index.d.ts +2 -0
  203. package/dist/lib/components/derived/NumberFlow/NumberFlow.d.ts +47 -0
  204. package/dist/lib/components/derived/NumberFlow/index.d.ts +2 -0
  205. package/dist/lib/components/derived/NumberInput/NumberInput.d.ts +54 -0
  206. package/dist/lib/components/derived/NumberInput/index.d.ts +2 -0
  207. package/dist/lib/components/derived/PasswordInput/PasswordInput.d.ts +53 -0
  208. package/dist/lib/components/derived/PasswordInput/index.d.ts +2 -0
  209. package/dist/lib/components/derived/SearchInput/SearchInput.d.ts +33 -0
  210. package/dist/lib/components/derived/SearchInput/index.d.ts +2 -0
  211. package/dist/lib/components/derived/SegmentedControl/SegmentedControl.d.ts +44 -0
  212. package/dist/lib/components/derived/SegmentedControl/index.d.ts +2 -0
  213. package/dist/lib/components/derived/SplitButton/SplitButton.d.ts +42 -0
  214. package/dist/lib/components/derived/SplitButton/index.d.ts +2 -0
  215. package/dist/lib/components/derived/StatusDot/StatusDot.d.ts +31 -0
  216. package/dist/lib/components/derived/StatusDot/index.d.ts +2 -0
  217. package/dist/lib/components/derived/Tag/Tag.d.ts +47 -0
  218. package/dist/lib/components/derived/Tag/index.d.ts +2 -0
  219. package/dist/lib/components/derived/TagInput/TagInput.d.ts +28 -0
  220. package/dist/lib/components/derived/TagInput/index.d.ts +2 -0
  221. package/dist/lib/components/derived/TextCycle/TextCycle.d.ts +40 -0
  222. package/dist/lib/components/derived/TextCycle/index.d.ts +2 -0
  223. package/dist/lib/components/derived/ToggleButton/ToggleButton.d.ts +43 -0
  224. package/dist/lib/components/derived/ToggleButton/index.d.ts +2 -0
  225. package/dist/lib/components/derived/index.d.ts +16 -0
  226. package/dist/lib/components/derived/index.js +4 -0
  227. package/dist/lib/components/extended/ActivityList/ActivityList.d.ts +38 -0
  228. package/dist/lib/components/extended/ActivityList/index.d.ts +2 -0
  229. package/dist/lib/components/extended/AddressForm/AddressForm.d.ts +71 -0
  230. package/dist/lib/components/extended/AddressForm/index.d.ts +2 -0
  231. package/dist/lib/components/extended/ApprovalGate/ApprovalGate.d.ts +60 -0
  232. package/dist/lib/components/extended/ApprovalGate/index.d.ts +2 -0
  233. package/dist/lib/components/extended/BackgroundProgress/BackgroundProgress.d.ts +63 -0
  234. package/dist/lib/components/extended/BackgroundProgress/index.d.ts +2 -0
  235. package/dist/lib/components/extended/Citation/Citation.d.ts +61 -0
  236. package/dist/lib/components/extended/Citation/index.d.ts +2 -0
  237. package/dist/lib/components/extended/CommentThread/CommentThread.d.ts +61 -0
  238. package/dist/lib/components/extended/CommentThread/index.d.ts +2 -0
  239. package/dist/lib/components/extended/Composer/Composer.d.ts +57 -0
  240. package/dist/lib/components/extended/Composer/index.d.ts +2 -0
  241. package/dist/lib/components/extended/CouponField/CouponField.d.ts +59 -0
  242. package/dist/lib/components/extended/CouponField/index.d.ts +2 -0
  243. package/dist/lib/components/extended/DataGrid/DataGrid.d.ts +161 -0
  244. package/dist/lib/components/extended/DataGrid/DataGrid.state.d.ts +93 -0
  245. package/dist/lib/components/extended/DataGrid/index.d.ts +2 -0
  246. package/dist/lib/components/extended/Dropzone/Dropzone.d.ts +83 -0
  247. package/dist/lib/components/extended/Dropzone/index.d.ts +2 -0
  248. package/dist/lib/components/extended/FeedbackControl/FeedbackControl.d.ts +47 -0
  249. package/dist/lib/components/extended/FeedbackControl/index.d.ts +2 -0
  250. package/dist/lib/components/extended/FilterBuilder/FilterBuilder.d.ts +67 -0
  251. package/dist/lib/components/extended/FilterBuilder/index.d.ts +2 -0
  252. package/dist/lib/components/extended/FollowUpList/FollowUpList.d.ts +34 -0
  253. package/dist/lib/components/extended/FollowUpList/index.d.ts +2 -0
  254. package/dist/lib/components/extended/KanbanColumn/KanbanColumn.d.ts +62 -0
  255. package/dist/lib/components/extended/KanbanColumn/index.d.ts +2 -0
  256. package/dist/lib/components/extended/Message/Message.d.ts +43 -0
  257. package/dist/lib/components/extended/Message/index.d.ts +2 -0
  258. package/dist/lib/components/extended/MessageList/MessageList.d.ts +66 -0
  259. package/dist/lib/components/extended/MessageList/index.d.ts +2 -0
  260. package/dist/lib/components/extended/MetricCard/MetricCard.d.ts +60 -0
  261. package/dist/lib/components/extended/MetricCard/index.d.ts +2 -0
  262. package/dist/lib/components/extended/OrderSummary/OrderSummary.d.ts +70 -0
  263. package/dist/lib/components/extended/OrderSummary/index.d.ts +2 -0
  264. package/dist/lib/components/extended/PaymentMethodSelector/PaymentMethodSelector.d.ts +65 -0
  265. package/dist/lib/components/extended/PaymentMethodSelector/index.d.ts +2 -0
  266. package/dist/lib/components/extended/PresenceBar/PresenceBar.d.ts +49 -0
  267. package/dist/lib/components/extended/PresenceBar/index.d.ts +2 -0
  268. package/dist/lib/components/extended/PriceDisplay/PriceDisplay.d.ts +53 -0
  269. package/dist/lib/components/extended/PriceDisplay/index.d.ts +2 -0
  270. package/dist/lib/components/extended/ProductCard/ProductCard.d.ts +58 -0
  271. package/dist/lib/components/extended/ProductCard/index.d.ts +2 -0
  272. package/dist/lib/components/extended/QuantityStepper/QuantityStepper.d.ts +41 -0
  273. package/dist/lib/components/extended/QuantityStepper/index.d.ts +2 -0
  274. package/dist/lib/components/extended/ReasoningDisclosure/ReasoningDisclosure.d.ts +33 -0
  275. package/dist/lib/components/extended/ReasoningDisclosure/index.d.ts +2 -0
  276. package/dist/lib/components/extended/RecognitionFallback/RecognitionFallback.d.ts +57 -0
  277. package/dist/lib/components/extended/RecognitionFallback/index.d.ts +2 -0
  278. package/dist/lib/components/extended/RunStatusCard/RunStatusCard.d.ts +51 -0
  279. package/dist/lib/components/extended/RunStatusCard/index.d.ts +2 -0
  280. package/dist/lib/components/extended/SavedViewTabs/SavedViewTabs.d.ts +49 -0
  281. package/dist/lib/components/extended/SavedViewTabs/index.d.ts +2 -0
  282. package/dist/lib/components/extended/SourceChip/SourceChip.d.ts +37 -0
  283. package/dist/lib/components/extended/SourceChip/index.d.ts +2 -0
  284. package/dist/lib/components/extended/SourceChipRow/SourceChipRow.d.ts +54 -0
  285. package/dist/lib/components/extended/SourceChipRow/index.d.ts +2 -0
  286. package/dist/lib/components/extended/SourcePanel/SourcePanel.d.ts +46 -0
  287. package/dist/lib/components/extended/SourcePanel/index.d.ts +2 -0
  288. package/dist/lib/components/extended/StreamingText/StreamingText.d.ts +30 -0
  289. package/dist/lib/components/extended/StreamingText/index.d.ts +2 -0
  290. package/dist/lib/components/extended/ToolCallCard/ToolCallCard.d.ts +52 -0
  291. package/dist/lib/components/extended/ToolCallCard/index.d.ts +2 -0
  292. package/dist/lib/components/extended/TranscriptSync/TranscriptSync.d.ts +58 -0
  293. package/dist/lib/components/extended/TranscriptSync/index.d.ts +2 -0
  294. package/dist/lib/components/extended/TrustBlock/TrustBlock.d.ts +37 -0
  295. package/dist/lib/components/extended/TrustBlock/index.d.ts +2 -0
  296. package/dist/lib/components/extended/VoiceControlBar/VoiceControlBar.d.ts +77 -0
  297. package/dist/lib/components/extended/VoiceControlBar/index.d.ts +2 -0
  298. package/dist/lib/components/extended/index.d.ts +35 -0
  299. package/dist/lib/components/extended/index.js +2 -0
  300. package/dist/lib/fonts/pretendard/LICENSE.txt +94 -0
  301. package/dist/lib/fonts/pretendard/PretendardVariable.subset.0.woff2 +0 -0
  302. package/dist/lib/fonts/pretendard/PretendardVariable.subset.1.woff2 +0 -0
  303. package/dist/lib/fonts/pretendard/PretendardVariable.subset.10.woff2 +0 -0
  304. package/dist/lib/fonts/pretendard/PretendardVariable.subset.11.woff2 +0 -0
  305. package/dist/lib/fonts/pretendard/PretendardVariable.subset.12.woff2 +0 -0
  306. package/dist/lib/fonts/pretendard/PretendardVariable.subset.13.woff2 +0 -0
  307. package/dist/lib/fonts/pretendard/PretendardVariable.subset.14.woff2 +0 -0
  308. package/dist/lib/fonts/pretendard/PretendardVariable.subset.15.woff2 +0 -0
  309. package/dist/lib/fonts/pretendard/PretendardVariable.subset.16.woff2 +0 -0
  310. package/dist/lib/fonts/pretendard/PretendardVariable.subset.17.woff2 +0 -0
  311. package/dist/lib/fonts/pretendard/PretendardVariable.subset.18.woff2 +0 -0
  312. package/dist/lib/fonts/pretendard/PretendardVariable.subset.19.woff2 +0 -0
  313. package/dist/lib/fonts/pretendard/PretendardVariable.subset.2.woff2 +0 -0
  314. package/dist/lib/fonts/pretendard/PretendardVariable.subset.20.woff2 +0 -0
  315. package/dist/lib/fonts/pretendard/PretendardVariable.subset.21.woff2 +0 -0
  316. package/dist/lib/fonts/pretendard/PretendardVariable.subset.22.woff2 +0 -0
  317. package/dist/lib/fonts/pretendard/PretendardVariable.subset.23.woff2 +0 -0
  318. package/dist/lib/fonts/pretendard/PretendardVariable.subset.24.woff2 +0 -0
  319. package/dist/lib/fonts/pretendard/PretendardVariable.subset.25.woff2 +0 -0
  320. package/dist/lib/fonts/pretendard/PretendardVariable.subset.26.woff2 +0 -0
  321. package/dist/lib/fonts/pretendard/PretendardVariable.subset.27.woff2 +0 -0
  322. package/dist/lib/fonts/pretendard/PretendardVariable.subset.28.woff2 +0 -0
  323. package/dist/lib/fonts/pretendard/PretendardVariable.subset.29.woff2 +0 -0
  324. package/dist/lib/fonts/pretendard/PretendardVariable.subset.3.woff2 +0 -0
  325. package/dist/lib/fonts/pretendard/PretendardVariable.subset.30.woff2 +0 -0
  326. package/dist/lib/fonts/pretendard/PretendardVariable.subset.31.woff2 +0 -0
  327. package/dist/lib/fonts/pretendard/PretendardVariable.subset.32.woff2 +0 -0
  328. package/dist/lib/fonts/pretendard/PretendardVariable.subset.33.woff2 +0 -0
  329. package/dist/lib/fonts/pretendard/PretendardVariable.subset.34.woff2 +0 -0
  330. package/dist/lib/fonts/pretendard/PretendardVariable.subset.35.woff2 +0 -0
  331. package/dist/lib/fonts/pretendard/PretendardVariable.subset.36.woff2 +0 -0
  332. package/dist/lib/fonts/pretendard/PretendardVariable.subset.37.woff2 +0 -0
  333. package/dist/lib/fonts/pretendard/PretendardVariable.subset.38.woff2 +0 -0
  334. package/dist/lib/fonts/pretendard/PretendardVariable.subset.39.woff2 +0 -0
  335. package/dist/lib/fonts/pretendard/PretendardVariable.subset.4.woff2 +0 -0
  336. package/dist/lib/fonts/pretendard/PretendardVariable.subset.40.woff2 +0 -0
  337. package/dist/lib/fonts/pretendard/PretendardVariable.subset.41.woff2 +0 -0
  338. package/dist/lib/fonts/pretendard/PretendardVariable.subset.42.woff2 +0 -0
  339. package/dist/lib/fonts/pretendard/PretendardVariable.subset.43.woff2 +0 -0
  340. package/dist/lib/fonts/pretendard/PretendardVariable.subset.44.woff2 +0 -0
  341. package/dist/lib/fonts/pretendard/PretendardVariable.subset.45.woff2 +0 -0
  342. package/dist/lib/fonts/pretendard/PretendardVariable.subset.46.woff2 +0 -0
  343. package/dist/lib/fonts/pretendard/PretendardVariable.subset.47.woff2 +0 -0
  344. package/dist/lib/fonts/pretendard/PretendardVariable.subset.48.woff2 +0 -0
  345. package/dist/lib/fonts/pretendard/PretendardVariable.subset.49.woff2 +0 -0
  346. package/dist/lib/fonts/pretendard/PretendardVariable.subset.5.woff2 +0 -0
  347. package/dist/lib/fonts/pretendard/PretendardVariable.subset.50.woff2 +0 -0
  348. package/dist/lib/fonts/pretendard/PretendardVariable.subset.51.woff2 +0 -0
  349. package/dist/lib/fonts/pretendard/PretendardVariable.subset.52.woff2 +0 -0
  350. package/dist/lib/fonts/pretendard/PretendardVariable.subset.53.woff2 +0 -0
  351. package/dist/lib/fonts/pretendard/PretendardVariable.subset.54.woff2 +0 -0
  352. package/dist/lib/fonts/pretendard/PretendardVariable.subset.55.woff2 +0 -0
  353. package/dist/lib/fonts/pretendard/PretendardVariable.subset.56.woff2 +0 -0
  354. package/dist/lib/fonts/pretendard/PretendardVariable.subset.57.woff2 +0 -0
  355. package/dist/lib/fonts/pretendard/PretendardVariable.subset.58.woff2 +0 -0
  356. package/dist/lib/fonts/pretendard/PretendardVariable.subset.59.woff2 +0 -0
  357. package/dist/lib/fonts/pretendard/PretendardVariable.subset.6.woff2 +0 -0
  358. package/dist/lib/fonts/pretendard/PretendardVariable.subset.60.woff2 +0 -0
  359. package/dist/lib/fonts/pretendard/PretendardVariable.subset.61.woff2 +0 -0
  360. package/dist/lib/fonts/pretendard/PretendardVariable.subset.62.woff2 +0 -0
  361. package/dist/lib/fonts/pretendard/PretendardVariable.subset.63.woff2 +0 -0
  362. package/dist/lib/fonts/pretendard/PretendardVariable.subset.64.woff2 +0 -0
  363. package/dist/lib/fonts/pretendard/PretendardVariable.subset.65.woff2 +0 -0
  364. package/dist/lib/fonts/pretendard/PretendardVariable.subset.66.woff2 +0 -0
  365. package/dist/lib/fonts/pretendard/PretendardVariable.subset.67.woff2 +0 -0
  366. package/dist/lib/fonts/pretendard/PretendardVariable.subset.68.woff2 +0 -0
  367. package/dist/lib/fonts/pretendard/PretendardVariable.subset.69.woff2 +0 -0
  368. package/dist/lib/fonts/pretendard/PretendardVariable.subset.7.woff2 +0 -0
  369. package/dist/lib/fonts/pretendard/PretendardVariable.subset.70.woff2 +0 -0
  370. package/dist/lib/fonts/pretendard/PretendardVariable.subset.71.woff2 +0 -0
  371. package/dist/lib/fonts/pretendard/PretendardVariable.subset.72.woff2 +0 -0
  372. package/dist/lib/fonts/pretendard/PretendardVariable.subset.73.woff2 +0 -0
  373. package/dist/lib/fonts/pretendard/PretendardVariable.subset.74.woff2 +0 -0
  374. package/dist/lib/fonts/pretendard/PretendardVariable.subset.75.woff2 +0 -0
  375. package/dist/lib/fonts/pretendard/PretendardVariable.subset.76.woff2 +0 -0
  376. package/dist/lib/fonts/pretendard/PretendardVariable.subset.77.woff2 +0 -0
  377. package/dist/lib/fonts/pretendard/PretendardVariable.subset.78.woff2 +0 -0
  378. package/dist/lib/fonts/pretendard/PretendardVariable.subset.79.woff2 +0 -0
  379. package/dist/lib/fonts/pretendard/PretendardVariable.subset.8.woff2 +0 -0
  380. package/dist/lib/fonts/pretendard/PretendardVariable.subset.80.woff2 +0 -0
  381. package/dist/lib/fonts/pretendard/PretendardVariable.subset.81.woff2 +0 -0
  382. package/dist/lib/fonts/pretendard/PretendardVariable.subset.82.woff2 +0 -0
  383. package/dist/lib/fonts/pretendard/PretendardVariable.subset.83.woff2 +0 -0
  384. package/dist/lib/fonts/pretendard/PretendardVariable.subset.84.woff2 +0 -0
  385. package/dist/lib/fonts/pretendard/PretendardVariable.subset.85.woff2 +0 -0
  386. package/dist/lib/fonts/pretendard/PretendardVariable.subset.86.woff2 +0 -0
  387. package/dist/lib/fonts/pretendard/PretendardVariable.subset.87.woff2 +0 -0
  388. package/dist/lib/fonts/pretendard/PretendardVariable.subset.88.woff2 +0 -0
  389. package/dist/lib/fonts/pretendard/PretendardVariable.subset.89.woff2 +0 -0
  390. package/dist/lib/fonts/pretendard/PretendardVariable.subset.9.woff2 +0 -0
  391. package/dist/lib/fonts/pretendard/PretendardVariable.subset.90.woff2 +0 -0
  392. package/dist/lib/fonts/pretendard/PretendardVariable.subset.91.woff2 +0 -0
  393. package/dist/lib/foundation/focus.d.ts +10 -0
  394. package/dist/lib/foundation/josa.d.ts +4 -0
  395. package/dist/lib/index.d.ts +4 -0
  396. package/dist/lib/index.js +13 -0
  397. package/dist/lib/pretendard.css +940 -0
  398. package/dist/lib/reset.css +50 -0
  399. package/dist/lib/styles.css +3 -0
  400. package/dist/lib/tokens.css +1118 -0
  401. package/package.json +91 -0
@@ -0,0 +1,999 @@
1
+ import { a as e, n as t, o as n, s as r, t as i } from "./VisuallyHidden-DcE0EFpo.js";
2
+ import { r as a } from "./Tooltip-BJSUlXS2.js";
3
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
4
+ import { Fragment as l, forwardRef as u, useEffect as d, useId as f, useRef as p, useState as m } from "react";
5
+ import { ArrowUpRight as h, Check as g, ChevronDown as _, Paperclip as v, X as y } from "lucide-react";
6
+ import * as b from "@radix-ui/react-popover";
7
+ //#region src/components/common/AspectRatio/AspectRatio.tsx
8
+ function x({ children: e, ratio: t = "video", className: n, ...r }) {
9
+ return /* @__PURE__ */ s("div", {
10
+ "data-ratio": t,
11
+ ...r,
12
+ className: `aspect-ratio ${n ?? ""}`.trim(),
13
+ children: e
14
+ });
15
+ }
16
+ //#endregion
17
+ //#region src/components/common/Blockquote/Blockquote.tsx
18
+ function S({ children: e, cite: t, sourceUrl: n, icon: i, className: a, ...l }) {
19
+ let u = /* @__PURE__ */ c(o, { children: [i ? /* @__PURE__ */ s("span", {
20
+ className: "blockquote__icon",
21
+ "aria-hidden": "true",
22
+ children: /* @__PURE__ */ s(r, {
23
+ icon: i,
24
+ size: "md"
25
+ })
26
+ }) : null, /* @__PURE__ */ s("span", {
27
+ className: "blockquote__body",
28
+ children: e
29
+ })] });
30
+ return t === void 0 ? /* @__PURE__ */ s("blockquote", {
31
+ "data-shape": "quote",
32
+ ...l,
33
+ className: `blockquote ${a ?? ""}`.trim(),
34
+ cite: n,
35
+ children: u
36
+ }) : /* @__PURE__ */ c("figure", {
37
+ "data-shape": "figure",
38
+ ...l,
39
+ className: `blockquote ${a ?? ""}`.trim(),
40
+ children: [/* @__PURE__ */ s("blockquote", {
41
+ className: "blockquote__quote",
42
+ cite: n,
43
+ children: u
44
+ }), /* @__PURE__ */ s("figcaption", {
45
+ className: "blockquote__cite",
46
+ children: t
47
+ })]
48
+ });
49
+ }
50
+ //#endregion
51
+ //#region src/components/common/CalibratedPulse/CalibratedPulse.tsx
52
+ var C = 6, w = 2400, T = 220, E = 3, D = (e) => `${(e / 1e3).toFixed(2)}초에 한 건`;
53
+ function O({ label: e, events: t, remaining: n, size: r = "md", className: i, ...a }) {
54
+ let o = t?.length ?? 0, l = t?.[o - 1], u = t?.slice(Math.max(0, o - C)) ?? [], f;
55
+ if (u.length >= 2) {
56
+ let e = (u[u.length - 1] - u[0]) / (u.length - 1);
57
+ e > 0 && (f = e);
58
+ }
59
+ let [p, h] = m(!1);
60
+ d(() => {
61
+ if (h(!1), f === void 0) return;
62
+ let e = window.setTimeout(() => h(!0), Math.min(w, Math.max(T, f)) * E);
63
+ return () => window.clearTimeout(e);
64
+ }, [
65
+ o,
66
+ l,
67
+ f
68
+ ]);
69
+ let g = f !== void 0 && !p, _ = g ? Math.min(w, Math.max(T, f)) : w, v = p ? "들어오던 것이 멈췄습니다" : f === void 0 ? o === 0 ? "아직 들어온 것이 없습니다" : "속도는 두 건부터 나옵니다" : void 0;
70
+ return /* @__PURE__ */ c("div", {
71
+ ...a,
72
+ className: `calibrated-pulse ${i ?? ""}`.trim(),
73
+ "data-size": r,
74
+ "data-calibrated": g ? "" : void 0,
75
+ "data-stalled": p ? "" : void 0,
76
+ style: { "--pulse-period": `${_}ms` },
77
+ children: [/* @__PURE__ */ c("span", {
78
+ className: "calibrated-pulse__mark",
79
+ "aria-hidden": "true",
80
+ "data-part": "mark",
81
+ children: [
82
+ /* @__PURE__ */ s("span", { className: "calibrated-pulse__wave" }),
83
+ /* @__PURE__ */ s("span", { className: "calibrated-pulse__wave" }),
84
+ /* @__PURE__ */ s("span", {
85
+ className: "calibrated-pulse__ring",
86
+ "data-part": "ring"
87
+ }),
88
+ /* @__PURE__ */ s("span", {
89
+ className: "calibrated-pulse__core",
90
+ "data-part": "core"
91
+ })
92
+ ]
93
+ }), /* @__PURE__ */ c("div", {
94
+ className: "calibrated-pulse__said",
95
+ children: [/* @__PURE__ */ c("p", {
96
+ className: "calibrated-pulse__label",
97
+ role: "status",
98
+ "data-part": "state",
99
+ children: [e, v ? /* @__PURE__ */ s("span", {
100
+ className: "calibrated-pulse__note",
101
+ children: ` — ${v}`
102
+ }) : null]
103
+ }), g || n !== void 0 ? /* @__PURE__ */ c("p", {
104
+ className: "calibrated-pulse__rate",
105
+ "data-part": "rate",
106
+ children: [
107
+ g ? /* @__PURE__ */ s("span", {
108
+ "data-part": "period",
109
+ children: D(f)
110
+ }) : null,
111
+ g && n !== void 0 ? /* @__PURE__ */ s("span", {
112
+ "aria-hidden": "true",
113
+ children: " · "
114
+ }) : null,
115
+ n === void 0 ? null : /* @__PURE__ */ c("span", {
116
+ "data-part": "remaining",
117
+ children: [n, "건 남음"]
118
+ })
119
+ ]
120
+ }) : null]
121
+ })]
122
+ });
123
+ }
124
+ //#endregion
125
+ //#region src/components/common/Center/Center.tsx
126
+ function k({ children: e, as: t = "div", inline: n, className: r, ...i }) {
127
+ return /* @__PURE__ */ s(t, {
128
+ "data-inline": n ? "" : void 0,
129
+ ...i,
130
+ className: `center ${r ?? ""}`.trim(),
131
+ children: e
132
+ });
133
+ }
134
+ //#endregion
135
+ //#region src/components/common/Code/Code.tsx
136
+ function A({ children: e, block: t = !1, as: n, className: r, ...i }) {
137
+ let a = n ?? (t ? "pre" : "code"), o = p(null), [c, l] = m(!1);
138
+ return d(() => {
139
+ let e = o.current;
140
+ if (!t || !e) return;
141
+ let n = () => l(e.scrollWidth - e.clientWidth > 1), r = new ResizeObserver(n), i = () => {
142
+ r.disconnect(), r.observe(e);
143
+ for (let t of Array.from(e.children)) r.observe(t);
144
+ n();
145
+ };
146
+ i();
147
+ let a = new MutationObserver(i);
148
+ return a.observe(e, {
149
+ childList: !0,
150
+ subtree: !0,
151
+ characterData: !0
152
+ }), () => {
153
+ r.disconnect(), a.disconnect();
154
+ };
155
+ }, [t]), /* @__PURE__ */ s(a, {
156
+ ref: o,
157
+ "data-block": t ? "" : void 0,
158
+ "data-overflowing": t && c ? "" : void 0,
159
+ tabIndex: t && c ? 0 : void 0,
160
+ ...i,
161
+ className: `code ${r ?? ""}`.trim(),
162
+ children: t ? /* @__PURE__ */ s("code", {
163
+ className: "code__text",
164
+ children: e
165
+ }) : e
166
+ });
167
+ }
168
+ //#endregion
169
+ //#region src/components/common/Collapse/Collapse.tsx
170
+ function j({ children: e, open: t, axis: n = "block", id: r, className: i, ...a }) {
171
+ return /* @__PURE__ */ s("div", {
172
+ id: r,
173
+ "data-axis": n,
174
+ "data-open": t ? "" : void 0,
175
+ ...a,
176
+ className: `collapse ${i ?? ""}`.trim(),
177
+ children: /* @__PURE__ */ s("div", {
178
+ className: "collapse__content",
179
+ children: e
180
+ })
181
+ });
182
+ }
183
+ //#endregion
184
+ //#region src/components/common/Container/Container.tsx
185
+ function M({ children: e, as: t = "div", width: n = "xl", className: r, ...i }) {
186
+ return /* @__PURE__ */ s(t, {
187
+ "data-width": n,
188
+ ...i,
189
+ className: `container ${r ?? ""}`.trim(),
190
+ children: e
191
+ });
192
+ }
193
+ //#endregion
194
+ //#region src/components/common/Divider/Divider.tsx
195
+ function N(e) {
196
+ let { orientation: t = "horizontal", tone: n = "default", spacing: r = "md", children: i, className: a, ...o } = e, c = i != null && i !== !1;
197
+ return /* @__PURE__ */ s("div", {
198
+ ...o,
199
+ className: `divider ${a ?? ""}`.trim(),
200
+ "data-orientation": t,
201
+ "data-tone": n,
202
+ "data-spacing": r,
203
+ "data-labelled": c ? "" : void 0,
204
+ role: c ? void 0 : "separator",
205
+ "aria-orientation": c ? void 0 : t,
206
+ children: c ? /* @__PURE__ */ s("span", {
207
+ className: "divider__label",
208
+ children: i
209
+ }) : null
210
+ });
211
+ }
212
+ //#endregion
213
+ //#region src/components/common/FileInput/FileInput.tsx
214
+ function P(e, t) {
215
+ let n = (e ?? "").split(",").map((e) => e.trim().toLowerCase()).filter(Boolean);
216
+ if (n.length === 0) return !0;
217
+ let r = t.name.toLowerCase(), i = t.type.toLowerCase();
218
+ return n.some((e) => e.startsWith(".") ? r.endsWith(e) : e.endsWith("/*") ? i.startsWith(e.slice(0, -1)) : i === e);
219
+ }
220
+ var F = [
221
+ "B",
222
+ "KB",
223
+ "MB",
224
+ "GB"
225
+ ];
226
+ function I(e) {
227
+ let t = e, n = 0;
228
+ for (; t >= 1024 && n < F.length - 1;) t /= 1024, n += 1;
229
+ return `${n === 0 ? t : Number(t.toFixed(1))}${F[n]}`;
230
+ }
231
+ function L({ value: e, onValueChange: n, label: i, accept: a, multiple: o, maxSize: l, size: u = "md", disabled: h, invalid: g, id: _, name: b, placeholder: x = "선택된 파일 없음", "aria-describedby": S, "aria-labelledby": C, required: w, className: T, ...E }) {
232
+ let D = f(), O = _ ?? `${D}-input`, k = p(null), [A, j] = m([]);
233
+ d(() => {
234
+ let t = k.current;
235
+ if (!t || typeof DataTransfer > "u") return;
236
+ let n = new DataTransfer();
237
+ for (let t of e) n.items.add(t);
238
+ t.files = n.files;
239
+ }, [e]);
240
+ let M = (e) => {
241
+ let t = Array.from(e.target.files ?? []), r = [], i = t.filter((e) => P(a, e) ? l !== void 0 && e.size > l ? (r.push(`${e.name} — ${I(l)}를 넘습니다. 이 파일은 ${I(e.size)}입니다`), !1) : !0 : (r.push(`${e.name} — 받지 않는 형식입니다. ${a}만 받습니다`), !1));
242
+ j(r), n(o ? i : i.slice(0, 1));
243
+ }, N = (t) => {
244
+ n(e.filter((e, n) => n !== t)), j([]), k.current?.focus();
245
+ }, F = e.length === 0 ? x : e.length === 1 ? e[0].name : `${e.length}개 선택됨`;
246
+ return /* @__PURE__ */ c("div", {
247
+ "data-size": u,
248
+ "data-invalid": g ? "" : void 0,
249
+ "data-disabled": h ? "" : void 0,
250
+ "data-empty": e.length === 0 ? "" : void 0,
251
+ ...E,
252
+ className: `file-input ${T ?? ""}`.trim(),
253
+ children: [
254
+ /* @__PURE__ */ c("label", {
255
+ className: "file-input__field",
256
+ htmlFor: O,
257
+ "data-part": "field",
258
+ children: [
259
+ /* @__PURE__ */ s("input", {
260
+ ref: k,
261
+ id: O,
262
+ name: b,
263
+ type: "file",
264
+ className: "file-input__native",
265
+ accept: a,
266
+ multiple: o,
267
+ disabled: h,
268
+ required: w,
269
+ "aria-invalid": g || void 0,
270
+ "aria-label": C ? void 0 : i,
271
+ "aria-labelledby": C,
272
+ "aria-describedby": S,
273
+ onChange: M,
274
+ "data-part": "native"
275
+ }),
276
+ /* @__PURE__ */ c("span", {
277
+ className: "file-input__button",
278
+ "aria-hidden": "true",
279
+ "data-part": "button",
280
+ children: [/* @__PURE__ */ s(r, {
281
+ icon: v,
282
+ size: "sm"
283
+ }), "파일 선택"]
284
+ }),
285
+ /* @__PURE__ */ s("span", {
286
+ className: "file-input__summary",
287
+ "aria-hidden": "true",
288
+ "data-part": "summary",
289
+ children: F
290
+ })
291
+ ]
292
+ }),
293
+ /* @__PURE__ */ s("p", {
294
+ className: "file-input__refused",
295
+ role: "alert",
296
+ "data-part": "refused",
297
+ children: A.join(" · ")
298
+ }),
299
+ e.length > 0 ? /* @__PURE__ */ s("ul", {
300
+ className: "file-input__files",
301
+ "data-part": "files",
302
+ children: e.map((e, n) => /* @__PURE__ */ c("li", {
303
+ className: "file-input__file",
304
+ "data-part": `file-${n}`,
305
+ children: [
306
+ /* @__PURE__ */ s("span", {
307
+ className: "file-input__name",
308
+ children: e.name
309
+ }),
310
+ /* @__PURE__ */ s("span", {
311
+ className: "file-input__size",
312
+ children: I(e.size)
313
+ }),
314
+ h ? null : /* @__PURE__ */ s(t, {
315
+ icon: y,
316
+ label: `${e.name} 지우기`,
317
+ size: "sm",
318
+ variant: "ghost",
319
+ tone: "neutral",
320
+ onClick: () => N(n),
321
+ "data-part": `remove-${n}`
322
+ })
323
+ ]
324
+ }, `${e.name}-${n}`))
325
+ }) : null
326
+ ]
327
+ });
328
+ }
329
+ //#endregion
330
+ //#region src/components/common/Flex/Flex.tsx
331
+ function R({ children: e, direction: t = "row", gap: n = 4, align: r = "stretch", justify: i = "start", wrap: a = !1, as: o = "div", className: c, ...l }) {
332
+ return /* @__PURE__ */ s(o, {
333
+ "data-direction": t,
334
+ "data-gap": n,
335
+ "data-align": r,
336
+ "data-justify": i,
337
+ "data-wrap": a ? "wrap" : "nowrap",
338
+ ...l,
339
+ className: `flex ${c ?? ""}`.trim(),
340
+ children: e
341
+ });
342
+ }
343
+ //#endregion
344
+ //#region src/components/common/Glass/rim.ts
345
+ function z(e, t) {
346
+ d(() => {
347
+ let n = e.current;
348
+ if (!n || !t || typeof matchMedia > "u" || !matchMedia("(hover: hover) and (pointer: fine)").matches || matchMedia("(prefers-reduced-motion: reduce)").matches) return;
349
+ let r = 0, i = 0, a = 0, o = () => {
350
+ a = 0;
351
+ let e = n.getBoundingClientRect();
352
+ e.width !== 0 && e.height !== 0 && (n.style.setProperty("--rim-x", `${((r - e.left) / e.width * 100).toFixed(2)}%`), n.style.setProperty("--rim-y", `${((i - e.top) / e.height * 100).toFixed(2)}%`), n.style.setProperty("--rim-lit", "1"));
353
+ }, s = (e) => {
354
+ e.pointerType === "mouse" && (r = e.clientX, i = e.clientY, a ||= requestAnimationFrame(o));
355
+ }, c = () => {
356
+ a && cancelAnimationFrame(a), a = 0, n.style.setProperty("--rim-lit", "0"), n.style.removeProperty("--rim-x"), n.style.removeProperty("--rim-y");
357
+ };
358
+ return n.addEventListener("pointermove", s), n.addEventListener("pointerleave", c), n.addEventListener("pointercancel", c), () => {
359
+ a && cancelAnimationFrame(a), n.removeEventListener("pointermove", s), n.removeEventListener("pointerleave", c), n.removeEventListener("pointercancel", c), c();
360
+ };
361
+ }, [e, t]);
362
+ }
363
+ //#endregion
364
+ //#region src/components/common/Glass/Glass.tsx
365
+ var B = u(function({ children: t, radius: r = "lg", rim: i, className: a, ...o }, c) {
366
+ let l = p(null), u = n(l), d = e(l, c);
367
+ return z(l, !!i), /* @__PURE__ */ s("div", {
368
+ ref: d,
369
+ "data-radius": r,
370
+ "data-rim": i ? "" : void 0,
371
+ ...o,
372
+ className: ["glass", a].filter(Boolean).join(" "),
373
+ style: u ? { "--glass-refraction": u } : void 0,
374
+ children: t
375
+ });
376
+ });
377
+ //#endregion
378
+ //#region src/components/common/Grid/Grid.tsx
379
+ function V({ children: e, as: t = "div", columns: n = 12, className: r, ...i }) {
380
+ return /* @__PURE__ */ s(t, {
381
+ "data-columns": n,
382
+ ...i,
383
+ className: `grid ${r ?? ""}`.trim(),
384
+ children: e
385
+ });
386
+ }
387
+ //#endregion
388
+ //#region src/components/common/Grid/GridItem.tsx
389
+ function H({ children: e, as: t = "div", span: n, spanMd: r, spanLg: i, className: a, ...o }) {
390
+ return /* @__PURE__ */ s(t, {
391
+ "data-span": n,
392
+ "data-span-md": r,
393
+ "data-span-lg": i,
394
+ ...o,
395
+ className: a,
396
+ children: e
397
+ });
398
+ }
399
+ //#endregion
400
+ //#region src/components/common/Group/Group.tsx
401
+ function U({ children: e, gap: t = 3, align: n = "center", justify: r = "start", wrap: i = !0, grow: a, as: o = "div", className: c, ...l }) {
402
+ return /* @__PURE__ */ s(o, {
403
+ "data-gap": t,
404
+ "data-align": n,
405
+ "data-justify": r,
406
+ "data-wrap": i ? "wrap" : "nowrap",
407
+ "data-grow": a ? "" : void 0,
408
+ ...l,
409
+ className: `group ${c ?? ""}`.trim(),
410
+ children: e
411
+ });
412
+ }
413
+ //#endregion
414
+ //#region src/components/common/Mark/Mark.tsx
415
+ function W({ children: e, tone: t = "warning", as: n = "mark", className: r, ...i }) {
416
+ return /* @__PURE__ */ s(n, {
417
+ "data-tone": t,
418
+ ...i,
419
+ className: `mark ${r ?? ""}`.trim(),
420
+ children: e
421
+ });
422
+ }
423
+ //#endregion
424
+ //#region src/components/common/Highlight/Highlight.tsx
425
+ var G = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
426
+ function K(e, t) {
427
+ let n = (Array.isArray(t) ? t : [t]).filter((e) => e.trim().length > 0).sort((e, t) => t.length - e.length).map(G);
428
+ if (n.length === 0) return [{
429
+ text: e,
430
+ matched: !1
431
+ }];
432
+ let r = RegExp(`(${n.join("|")})`, "gi");
433
+ return e.split(r).map((e, t) => ({
434
+ text: e,
435
+ matched: t % 2 == 1
436
+ })).filter((e) => e.text.length > 0);
437
+ }
438
+ function q({ children: e, query: t, tone: n = "warning", className: r, ...i }) {
439
+ let a = K(e, t);
440
+ return /* @__PURE__ */ s("span", {
441
+ ...i,
442
+ className: `highlight ${r ?? ""}`.trim(),
443
+ children: a.map((e, t) => e.matched ? /* @__PURE__ */ s(W, {
444
+ tone: n,
445
+ children: e.text
446
+ }, t) : /* @__PURE__ */ s(l, { children: e.text }, t))
447
+ });
448
+ }
449
+ //#endregion
450
+ //#region src/components/common/Indicator/Indicator.tsx
451
+ function J({ children: e, label: t, count: n, max: r = 99, position: a = "top-end", target: l = "square", tone: u = "accent", dot: d, hidden: f, className: p, ...m }) {
452
+ let h = d || n === void 0 ? "dot" : "count", g = n === void 0 ? null : n > r ? `${r}+` : String(n);
453
+ return /* @__PURE__ */ c("span", {
454
+ "data-position": a,
455
+ "data-target": l,
456
+ "data-tone": u,
457
+ "data-hidden": f ? "" : void 0,
458
+ ...m,
459
+ className: `indicator ${p ?? ""}`.trim(),
460
+ children: [e, f ? null : /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("span", {
461
+ className: "indicator__mark",
462
+ "data-shape": h,
463
+ "aria-hidden": "true",
464
+ children: h === "count" ? g : null
465
+ }), /* @__PURE__ */ s(i, { children: t })] })]
466
+ });
467
+ }
468
+ //#endregion
469
+ //#region src/components/common/Kbd/Kbd.tsx
470
+ function Y({ children: e, size: t = "md", as: n = "kbd", className: r, ...i }) {
471
+ return /* @__PURE__ */ s(n, {
472
+ "data-size": t,
473
+ ...i,
474
+ className: `kbd ${r ?? ""}`.trim(),
475
+ children: e
476
+ });
477
+ }
478
+ //#endregion
479
+ //#region src/components/common/Link/Link.tsx
480
+ function X({ children: e, href: t, tone: n = "accent", underline: a = "always", external: l, className: u, ...d }) {
481
+ return /* @__PURE__ */ c("a", {
482
+ ...d,
483
+ className: `link ${u ?? ""}`.trim(),
484
+ href: t,
485
+ "data-tone": n,
486
+ "data-underline": a,
487
+ "data-external": l ? "" : void 0,
488
+ target: l ? "_blank" : void 0,
489
+ rel: l ? "noreferrer" : void 0,
490
+ children: [e, l ? /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(r, {
491
+ icon: h,
492
+ size: "xs",
493
+ className: "link__mark"
494
+ }), /* @__PURE__ */ s(i, { children: "(새 창)" })] }) : null]
495
+ });
496
+ }
497
+ //#endregion
498
+ //#region src/components/common/MultiSelect/MultiSelect.tsx
499
+ var Z = (e, t) => e.label.toLowerCase().includes(t.toLowerCase()) || (e.description ?? "").toLowerCase().includes(t.toLowerCase());
500
+ function ee({ options: e, value: t, onValueChange: n, label: o, placeholder: l, max: u, searchable: d = !0, size: h = "md", disabled: v, invalid: x, id: S, name: C, emptyMessage: w = "맞는 것이 없습니다", "aria-describedby": T, "aria-labelledby": E, required: D, className: O, ...k }) {
501
+ let A = f(), j = S ?? `${A}-input`, M = `${A}-list`, N = p(null), [P, F] = m(!1), [I, L] = m(""), R = new Set(t), z = u !== void 0 && t.length >= u, B = e.filter((e) => P && I ? Z(e, I) : !0), V = (e) => !!e.disabled || z && !R.has(e.value), H = (e) => `${A}-option-${e.value}`, U = a({
502
+ rows: B,
503
+ locked: V,
504
+ id: H
505
+ }), { active: W, setActive: G } = U, K = t.map((t) => e.find((e) => e.value === t) ?? {
506
+ value: t,
507
+ label: t
508
+ }), q = (e) => {
509
+ if (R.has(e.value)) n(t.filter((t) => t !== e.value));
510
+ else {
511
+ if (V(e)) return;
512
+ n([...t, e.value]);
513
+ }
514
+ L(""), N.current?.focus();
515
+ }, J = (e) => {
516
+ n(t.filter((t) => t !== e)), N.current?.focus();
517
+ }, Y = (e) => {
518
+ if (!v && !e.nativeEvent.isComposing) {
519
+ if (e.key === "Backspace" && I === "" && t.length > 0) {
520
+ e.preventDefault(), n(t.slice(0, -1));
521
+ return;
522
+ }
523
+ if (e.key === "ArrowDown" || e.key === "ArrowUp") {
524
+ if (e.preventDefault(), !P) {
525
+ G(0), F(!0);
526
+ return;
527
+ }
528
+ U.move(e.key === "ArrowDown" ? 1 : -1);
529
+ return;
530
+ }
531
+ if (P) {
532
+ if (e.key === "Enter") {
533
+ let t = U.activeRow;
534
+ t && (e.preventDefault(), q(t));
535
+ return;
536
+ }
537
+ (e.key === "Home" || e.key === "End") && (e.preventDefault(), e.key === "Home" ? U.first() : U.last());
538
+ }
539
+ }
540
+ };
541
+ return /* @__PURE__ */ s(b.Root, {
542
+ open: P && !v,
543
+ onOpenChange: F,
544
+ children: /* @__PURE__ */ c("div", {
545
+ "data-size": h,
546
+ "data-invalid": x ? "" : void 0,
547
+ "data-disabled": v ? "" : void 0,
548
+ "data-full": z ? "" : void 0,
549
+ ...k,
550
+ className: `multi-select ${O ?? ""}`.trim(),
551
+ children: [
552
+ C ? t.map((e) => /* @__PURE__ */ s("input", {
553
+ type: "hidden",
554
+ name: C,
555
+ value: e
556
+ }, e)) : null,
557
+ /* @__PURE__ */ s(b.Anchor, {
558
+ asChild: !0,
559
+ children: /* @__PURE__ */ c("div", {
560
+ className: "multi-select__field",
561
+ onMouseDown: (e) => {
562
+ e.target !== e.currentTarget || v || (e.preventDefault(), N.current?.focus(), F(!0));
563
+ },
564
+ "data-part": "field",
565
+ children: [
566
+ K.map((e) => /* @__PURE__ */ c("span", {
567
+ className: "multi-select__chip",
568
+ "data-part": `chip-${e.value}`,
569
+ children: [/* @__PURE__ */ s("span", {
570
+ className: "multi-select__chip-text",
571
+ children: e.label
572
+ }), v ? null : /* @__PURE__ */ s("button", {
573
+ type: "button",
574
+ className: "multi-select__chip-remove",
575
+ "aria-label": `${e.label} 제거`,
576
+ onMouseDown: (e) => e.preventDefault(),
577
+ onClick: () => J(e.value),
578
+ "data-part": `remove-${e.value}`,
579
+ children: /* @__PURE__ */ s(r, {
580
+ icon: y,
581
+ size: "xs"
582
+ })
583
+ })]
584
+ }, e.value)),
585
+ /* @__PURE__ */ s("input", {
586
+ ref: N,
587
+ id: j,
588
+ className: "multi-select__input",
589
+ type: "text",
590
+ role: "combobox",
591
+ "aria-expanded": P,
592
+ "aria-controls": M,
593
+ "aria-autocomplete": "list",
594
+ "aria-activedescendant": P ? U.activeId : void 0,
595
+ "aria-label": E ? void 0 : o,
596
+ "aria-labelledby": E,
597
+ "aria-describedby": T,
598
+ required: D,
599
+ "aria-invalid": x || void 0,
600
+ autoComplete: "off",
601
+ readOnly: !d,
602
+ value: I,
603
+ placeholder: t.length === 0 ? l : void 0,
604
+ disabled: v,
605
+ onChange: (e) => {
606
+ d && (L(e.target.value), G(0), F(!0));
607
+ },
608
+ onKeyDown: Y,
609
+ onClick: () => F(!0),
610
+ onFocus: (e) => {
611
+ L(""), e.target.select();
612
+ },
613
+ onBlur: () => F(!1),
614
+ "data-part": "input"
615
+ }),
616
+ /* @__PURE__ */ s("button", {
617
+ type: "button",
618
+ className: "multi-select__toggle",
619
+ tabIndex: -1,
620
+ "aria-label": P ? `${o} 목록 닫기` : `${o} 목록 열기`,
621
+ disabled: v,
622
+ onPointerDown: (e) => {
623
+ e.preventDefault(), F((e) => !e), N.current?.focus();
624
+ },
625
+ "data-part": "toggle",
626
+ children: /* @__PURE__ */ s(r, {
627
+ icon: _,
628
+ size: "sm"
629
+ })
630
+ })
631
+ ]
632
+ })
633
+ }),
634
+ /* @__PURE__ */ s(i, { children: /* @__PURE__ */ s("span", {
635
+ role: "status",
636
+ "aria-live": "polite",
637
+ "data-part": "count",
638
+ children: P ? z ? `최대 ${u}개까지 고를 수 있습니다` : B.length > 0 ? `${B.length}개 결과` : w : ""
639
+ }) }),
640
+ /* @__PURE__ */ s(b.Portal, { children: /* @__PURE__ */ s(b.Content, {
641
+ className: "multi-select__panel",
642
+ side: "bottom",
643
+ align: "start",
644
+ sideOffset: 4,
645
+ collisionPadding: 12,
646
+ onOpenAutoFocus: (e) => e.preventDefault(),
647
+ onCloseAutoFocus: (e) => e.preventDefault(),
648
+ children: /* @__PURE__ */ c("ul", {
649
+ className: "multi-select__list",
650
+ id: M,
651
+ role: "listbox",
652
+ "aria-label": o,
653
+ "aria-multiselectable": "true",
654
+ children: [B.map((e, t) => /* @__PURE__ */ c("li", {
655
+ id: H(e),
656
+ className: "multi-select__option",
657
+ role: "option",
658
+ "aria-selected": R.has(e.value),
659
+ "aria-disabled": V(e) || void 0,
660
+ "data-active": t === W ? "" : void 0,
661
+ "data-part": `option-${e.value}`,
662
+ onMouseDown: (t) => {
663
+ t.preventDefault(), q(e);
664
+ },
665
+ onMouseEnter: () => {
666
+ V(e) || G(t);
667
+ },
668
+ children: [/* @__PURE__ */ s("span", {
669
+ className: "multi-select__mark",
670
+ "aria-hidden": "true",
671
+ children: R.has(e.value) ? /* @__PURE__ */ s(r, {
672
+ icon: g,
673
+ size: "xs"
674
+ }) : null
675
+ }), /* @__PURE__ */ c("span", {
676
+ className: "multi-select__text",
677
+ children: [/* @__PURE__ */ s("span", {
678
+ className: "multi-select__label",
679
+ children: e.label
680
+ }), e.description ? /* @__PURE__ */ s("span", {
681
+ className: "multi-select__description",
682
+ children: e.description
683
+ }) : null]
684
+ })]
685
+ }, e.value)), B.length === 0 ? /* @__PURE__ */ s("li", {
686
+ className: "multi-select__empty",
687
+ role: "presentation",
688
+ "data-part": "empty",
689
+ children: w
690
+ }) : null]
691
+ })
692
+ }) })
693
+ ]
694
+ })
695
+ });
696
+ }
697
+ //#endregion
698
+ //#region src/components/common/PinInput/PinInput.tsx
699
+ function Q(e, t) {
700
+ return t === "number" ? e.replace(/[^0-9]/g, "") : e.replace(/\s/g, "");
701
+ }
702
+ function te({ value: e, onValueChange: t, length: n = 6, label: r, type: i = "number", mask: a, size: o = "md", disabled: l, invalid: u, name: f, autoFocus: m, onComplete: h, id: g, className: _, required: v, "aria-labelledby": y, "aria-describedby": b, ...x }) {
703
+ let S = p([]), C = p(e.length >= n);
704
+ d(() => {
705
+ let t = e.length >= n;
706
+ t && !C.current && h?.(e.slice(0, n)), C.current = t;
707
+ }, [
708
+ e,
709
+ n,
710
+ h
711
+ ]);
712
+ let w = (e) => {
713
+ let t = S.current[Math.min(n - 1, Math.max(0, e))];
714
+ t?.focus(), t?.select();
715
+ }, T = (r, a) => {
716
+ let o = Q(a, i);
717
+ if (!o) {
718
+ queueMicrotask(() => S.current[r]?.select());
719
+ return;
720
+ }
721
+ let s = e.padEnd(n, " ").split(""), c = r;
722
+ for (let e of o) {
723
+ if (c >= n) break;
724
+ s[c] = e, c += 1;
725
+ }
726
+ t(s.join("").trimEnd()), w(c);
727
+ }, E = (r) => (a) => {
728
+ let o = a.target.value;
729
+ if (o.length > 1) return T(r, o);
730
+ let s = Q(o, i).slice(-1);
731
+ if (!s) {
732
+ queueMicrotask(() => S.current[r]?.select());
733
+ return;
734
+ }
735
+ let c = e.padEnd(n, " ").split("");
736
+ c[r] = s, t(c.join("").trimEnd()), r < n - 1 && w(r + 1);
737
+ }, D = (r) => {
738
+ let i = e.padEnd(n, " ").split("");
739
+ i[r] = " ", t(i.join("").trimEnd());
740
+ }, O = (t) => (r) => {
741
+ switch (r.key) {
742
+ case "Backspace": return r.preventDefault(), e[t] && e[t] !== " " ? D(t) : t === 0 ? void 0 : (D(t - 1), w(t - 1));
743
+ case "Delete": return r.preventDefault(), D(t);
744
+ case "ArrowLeft": return r.preventDefault(), w(t - 1);
745
+ case "ArrowRight": return r.preventDefault(), w(t + 1);
746
+ case "Home": return r.preventDefault(), w(0);
747
+ case "End": return r.preventDefault(), w(n - 1);
748
+ default: return;
749
+ }
750
+ }, k = (e) => (t) => {
751
+ t.preventDefault(), T(e, t.clipboardData.getData("text"));
752
+ };
753
+ return /* @__PURE__ */ c("div", {
754
+ "data-size": o,
755
+ "data-disabled": l ? "" : void 0,
756
+ "data-invalid": u ? "" : void 0,
757
+ "data-mask": a ? "" : void 0,
758
+ ...x,
759
+ className: `pin-input ${_ ?? ""}`.trim(),
760
+ role: "group",
761
+ "aria-labelledby": y,
762
+ "aria-label": y ? void 0 : r,
763
+ "aria-describedby": b,
764
+ children: [Array.from({ length: n }, (t, n) => {
765
+ let o = e[n] && e[n] !== " " ? e[n] : "";
766
+ return /* @__PURE__ */ s("input", {
767
+ "data-part": "box",
768
+ "data-index": n,
769
+ ref: (e) => {
770
+ S.current[n] = e;
771
+ },
772
+ className: "pin-input__box",
773
+ id: n === 0 ? g : void 0,
774
+ type: a ? "password" : "text",
775
+ inputMode: i === "number" ? "numeric" : "text",
776
+ autoComplete: a ? "off" : "one-time-code",
777
+ autoCorrect: "off",
778
+ autoCapitalize: "off",
779
+ spellCheck: !1,
780
+ maxLength: 1,
781
+ value: o,
782
+ disabled: l,
783
+ required: v || void 0,
784
+ "aria-invalid": u || void 0,
785
+ "aria-label": `${r} ${n + 1}번째 자리`,
786
+ "aria-describedby": b,
787
+ autoFocus: m && n === 0,
788
+ onChange: E(n),
789
+ onKeyDown: O(n),
790
+ onPaste: k(n),
791
+ onFocus: (e) => e.target.select()
792
+ }, n);
793
+ }), f ? /* @__PURE__ */ s("input", {
794
+ type: "hidden",
795
+ name: f,
796
+ value: e
797
+ }) : null]
798
+ });
799
+ }
800
+ //#endregion
801
+ //#region src/components/common/RingProgress/RingProgress.tsx
802
+ function ne({ value: e, max: t = 100, size: n = "md", tone: r = "accent", label: i, children: a, className: o, ...l }) {
803
+ let u = Math.min(Math.max(e, 0), t), d = t === 0 ? 0 : u / t * 100;
804
+ return /* @__PURE__ */ c("div", {
805
+ ...l,
806
+ className: `ring-progress ${o ?? ""}`.trim(),
807
+ "data-size": n,
808
+ "data-tone": r,
809
+ role: "progressbar",
810
+ "aria-label": i,
811
+ "aria-valuenow": u,
812
+ "aria-valuemin": 0,
813
+ "aria-valuemax": t,
814
+ children: [/* @__PURE__ */ s("span", {
815
+ className: "ring-progress__track",
816
+ "aria-hidden": "true",
817
+ style: { "--ring-progress-value": `${d}%` }
818
+ }), a == null ? null : /* @__PURE__ */ s("span", {
819
+ className: "ring-progress__label",
820
+ children: a
821
+ })]
822
+ });
823
+ }
824
+ //#endregion
825
+ //#region src/components/common/ScrollArea/ScrollArea.tsx
826
+ function re({ children: e, axis: t = "block", maxHeight: n = "md", label: r, className: i, ...a }) {
827
+ let o = p(null), [c, l] = m(!1);
828
+ d(() => {
829
+ let e = o.current;
830
+ if (!e) return;
831
+ let n = () => {
832
+ let n = e.scrollHeight - e.clientHeight > 1, r = e.scrollWidth - e.clientWidth > 1;
833
+ l(t === "block" ? n : t === "inline" ? r : n || r);
834
+ }, r = new ResizeObserver(n), i = () => {
835
+ r.disconnect(), r.observe(e);
836
+ for (let t of Array.from(e.children)) r.observe(t);
837
+ n();
838
+ };
839
+ i();
840
+ let a = new MutationObserver(i);
841
+ return a.observe(e, {
842
+ childList: !0,
843
+ subtree: !0,
844
+ characterData: !0
845
+ }), () => {
846
+ r.disconnect(), a.disconnect();
847
+ };
848
+ }, [t, n]);
849
+ let u = c && r !== void 0;
850
+ return /* @__PURE__ */ s("div", {
851
+ ref: o,
852
+ "data-axis": t,
853
+ "data-max-height": n,
854
+ "data-overflowing": c ? "" : void 0,
855
+ ...a,
856
+ className: `scroll-area ${i ?? ""}`.trim(),
857
+ tabIndex: c ? 0 : void 0,
858
+ role: u ? "group" : void 0,
859
+ "aria-label": u ? r : void 0,
860
+ children: e
861
+ });
862
+ }
863
+ //#endregion
864
+ //#region src/components/common/SimpleGrid/SimpleGrid.tsx
865
+ function ie({ children: e, as: t = "div", columns: n, min: r, gap: i = 4, className: a, ...o }) {
866
+ return /* @__PURE__ */ s(t, {
867
+ "data-columns": n,
868
+ "data-min": r,
869
+ "data-gap": i,
870
+ ...o,
871
+ className: `simple-grid ${a ?? ""}`.trim(),
872
+ children: e
873
+ });
874
+ }
875
+ //#endregion
876
+ //#region src/components/common/Slider/Slider.tsx
877
+ function $(e, t, n) {
878
+ return n === t ? 0 : Math.min(1, Math.max(0, (e - t) / (n - t)));
879
+ }
880
+ function ae({ value: e, onValueChange: t, min: n = 0, max: r = 100, step: i = 1, label: a, size: o = "md", disabled: l, invalid: u, name: d, marks: f, formatValue: p, id: m, className: h, required: g, "aria-labelledby": _, "aria-describedby": v, ...y }) {
881
+ let b = p ? p(e) : String(e), x = $(e, n, r);
882
+ return /* @__PURE__ */ c("span", {
883
+ "data-size": o,
884
+ "data-disabled": l ? "" : void 0,
885
+ "data-invalid": u ? "" : void 0,
886
+ "data-marked": f?.length ? "" : void 0,
887
+ className: `slider ${h ?? ""}`.trim(),
888
+ children: [
889
+ /* @__PURE__ */ c("span", {
890
+ className: "slider__rail",
891
+ children: [
892
+ /* @__PURE__ */ s("span", {
893
+ className: "slider__ground",
894
+ "aria-hidden": "true"
895
+ }),
896
+ /* @__PURE__ */ s("span", {
897
+ className: "slider__fill",
898
+ "aria-hidden": "true",
899
+ style: { "--slider-fill": x }
900
+ }),
901
+ f?.map((t) => /* @__PURE__ */ s("span", {
902
+ className: "slider__tick",
903
+ "aria-hidden": "true",
904
+ "data-passed": t.value <= e ? "" : void 0,
905
+ style: { "--slider-mark": $(t.value, n, r) }
906
+ }, t.value)),
907
+ /* @__PURE__ */ s("input", {
908
+ "data-part": "control",
909
+ ...y,
910
+ type: "range",
911
+ className: "slider__input",
912
+ id: m,
913
+ name: d,
914
+ min: n,
915
+ max: r,
916
+ step: i,
917
+ value: e,
918
+ disabled: l,
919
+ "aria-label": _ ? void 0 : a,
920
+ "aria-labelledby": _,
921
+ "aria-describedby": v,
922
+ "aria-required": g || void 0,
923
+ "aria-invalid": u || void 0,
924
+ "aria-valuetext": b,
925
+ onChange: (e) => t(Number(e.target.value))
926
+ })
927
+ ]
928
+ }),
929
+ /* @__PURE__ */ s("span", {
930
+ className: "slider__readout",
931
+ "aria-hidden": "true",
932
+ children: b
933
+ }),
934
+ f?.some((e) => e.label !== void 0) ? /* @__PURE__ */ s("span", {
935
+ className: "slider__marks",
936
+ "aria-hidden": "true",
937
+ children: f.map((e) => e.label === void 0 ? null : /* @__PURE__ */ s("span", {
938
+ className: "slider__mark",
939
+ style: { "--slider-mark": $(e.value, n, r) },
940
+ children: e.label
941
+ }, e.value))
942
+ }) : null
943
+ ]
944
+ });
945
+ }
946
+ //#endregion
947
+ //#region src/components/common/Space/Space.tsx
948
+ function oe({ size: e = 4, axis: t = "block", as: n = "div", className: r, ...i }) {
949
+ return /* @__PURE__ */ s(n, {
950
+ "data-size": e,
951
+ "data-axis": t,
952
+ ...i,
953
+ className: `space ${r ?? ""}`.trim(),
954
+ "aria-hidden": "true"
955
+ });
956
+ }
957
+ //#endregion
958
+ //#region src/components/common/Stack/Stack.tsx
959
+ function se({ children: e, gap: t = 4, align: n = "stretch", justify: r = "start", as: i = "div", className: a, ...o }) {
960
+ return /* @__PURE__ */ s(i, {
961
+ "data-gap": t,
962
+ "data-align": n,
963
+ "data-justify": r,
964
+ ...o,
965
+ className: `stack ${a ?? ""}`.trim(),
966
+ children: e
967
+ });
968
+ }
969
+ //#endregion
970
+ //#region src/components/common/Switch/Switch.tsx
971
+ function ce({ children: e, size: t = "md", disabled: n, className: r, ...i }) {
972
+ return /* @__PURE__ */ c("label", {
973
+ className: `switch ${r ?? ""}`.trim(),
974
+ "data-size": t,
975
+ "data-disabled": n ? "" : void 0,
976
+ children: [
977
+ /* @__PURE__ */ s("input", {
978
+ ...i,
979
+ type: "checkbox",
980
+ role: "switch",
981
+ className: "switch__input",
982
+ disabled: n
983
+ }),
984
+ /* @__PURE__ */ s("span", {
985
+ className: "switch__track",
986
+ "aria-hidden": "true",
987
+ children: /* @__PURE__ */ s("span", { className: "switch__knob" })
988
+ }),
989
+ e ? /* @__PURE__ */ s("span", {
990
+ className: "switch__label",
991
+ children: e
992
+ }) : null
993
+ ]
994
+ });
995
+ }
996
+ //#endregion
997
+ export { x as A, N as C, k as D, A as E, O, I as S, j as T, H as _, ie as a, R as b, te as c, Y as d, J as f, U as g, W as h, ae as i, S as k, ee as l, K as m, se as n, re as o, q as p, oe as r, ne as s, ce as t, X as u, V as v, M as w, L as x, B as y };
998
+
999
+ //# sourceMappingURL=Switch-BkMnC02l.js.map