@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,71 @@
1
+ import type { LucideIcon } from "lucide-react";
2
+ import "./MorphIcon.css";
3
+ export type MorphIconSize = "xs" | "sm" | "md" | "lg";
4
+ /**
5
+ * What arriving means, which is what decides how the new glyph lands.
6
+ *
7
+ * `archive/ui-assets/morph-state-icon` measured this and it is the part of that component
8
+ * worth carrying over whole: a result that has arrived settles, and a failure does not. A
9
+ * check mark that bounces in reads as a small celebration; a cross that bounces in reads as
10
+ * a component that did not understand what it was saying.
11
+ */
12
+ export type MorphIconTone = "neutral" | "accent" | "success" | "warning" | "danger";
13
+ export type MorphIconProps = {
14
+ /**
15
+ * The glyph that is true **now**. Change it and the exchange plays.
16
+ *
17
+ * Omitted is a real value rather than an error: an empty slot of the right size, which is
18
+ * what a file row needs before its result exists. The box is already there, so the name
19
+ * beside it does not move when the tick arrives.
20
+ */
21
+ icon?: LucideIcon;
22
+ /**
23
+ * The state in words, and the accessible name of the whole thing.
24
+ *
25
+ * `"복사"` → `"복사함"`, not `"복사"` twice. The glyph is the part a reader may not be able
26
+ * to see and it is the only part that changed, so a label that does not change with it is
27
+ * a component announcing the old state for as long as it is on screen.
28
+ *
29
+ * Omitted, everything here is `aria-hidden` — right when a label beside it already says
30
+ * the state, wrong when nothing does. The same rule `Icon` draws.
31
+ */
32
+ label?: string;
33
+ tone?: MorphIconTone;
34
+ size?: MorphIconSize;
35
+ className?: string;
36
+ [key: `data-${string}`]: unknown;
37
+ };
38
+ /**
39
+ * One slot, and the glyph in it became something else.
40
+ *
41
+ * **It does not interpolate paths, and that is a decision rather than a shortcut.** The
42
+ * previous line of work shipped a real morphing engine — arcs to cubics, subpath padding,
43
+ * segment resampling, winding correspondence — and its own README records why it had to:
44
+ * two glyphs from a real icon set share no command count, no vocabulary, no start point and
45
+ * no winding direction. Four hundred lines go into making a clipboard *comparable* to a
46
+ * check mark, and the frame halfway between them is neither of those things. Every exchange
47
+ * this library actually has is a trade of unrelated shapes — `Eye`/`EyeOff`, `Mic`/`MicOff`,
48
+ * `Check`/`Minus`, `ShieldAlert`/`ShieldCheck`, `CheckCircle2`/`XCircle`, `ChevronsUpDown`/
49
+ * `ArrowUp` — and not one of them is the same shape at another angle. So the trade is what
50
+ * gets drawn, and the rule this stage runs on holds: an effect carries a fact or it does not
51
+ * exist.
52
+ *
53
+ * **The box never changes size.** A row of icons with one of them mid-transition is a row
54
+ * that would otherwise push its neighbours, and the reason to draw the change at all is that
55
+ * the thing did *not* move.
56
+ *
57
+ * **It does not go inside a `Button` or an `IconButton`.** Those take `icon` as a
58
+ * `LucideIcon` and draw it themselves; a node handed to `Button` lands in `button__label`,
59
+ * which is the text slot — ellipsis, no gap, hard against the word. Every exchange site this
60
+ * library actually has is a status mark beside a control rather than the control's own glyph
61
+ * — `Dropzone`'s file rows, `RunStatusCard`'s mark, `ApprovalGate` — so that is the shape
62
+ * this is built for. Making a toggle's own glyph exchange would be an axis on those two
63
+ * components rather than a slot on them, and that is a separate decision about forty call
64
+ * sites.
65
+ *
66
+ * **The state is in the accessible name, not in the motion.** `label` changes with the glyph,
67
+ * so a reader who cannot see either still gets the new state — and a still screenshot says
68
+ * which state this is in, because the state is a shape and a word rather than a transition
69
+ * somebody had to be watching.
70
+ */
71
+ export declare function MorphIcon({ icon, label, tone, size, className, ...rest }: MorphIconProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { MorphIcon } from "./MorphIcon";
2
+ export type { MorphIconProps, MorphIconTone, MorphIconSize } from "./MorphIcon";
@@ -0,0 +1,47 @@
1
+ import "./NumberFlow.css";
2
+ export type NumberFlowSize = "sm" | "md" | "lg";
3
+ export type NumberFlowProps = {
4
+ /** The number that is true now. Change it and the digits that changed roll. */
5
+ value: number;
6
+ /**
7
+ * How the number is written. Locale, currency, unit, rounding — all of it the host's.
8
+ *
9
+ * Defaults to the digits and nothing else. A component that reached for
10
+ * `toLocaleString()` on its own would be a component that picked a locale for an adopter
11
+ * who had already picked one, and the disagreement would show up on one screen out of
12
+ * forty. `PriceDisplay` draws the same line.
13
+ */
14
+ format?: (value: number) => string;
15
+ /**
16
+ * How big the number is, and it is the subject of its box at every step.
17
+ *
18
+ * The three steps land on `--text-md`, `--text-xl` and `--text-3xl` — two apart on the
19
+ * type scale each time, because a number one step above the words around it reads as a
20
+ * misprint rather than as a hierarchy. `docs/DESIGN.md` §5 measured why this matters:
21
+ * eight sizes exist and three of them carry 89% of the library.
22
+ */
23
+ size?: NumberFlowSize;
24
+ className?: string;
25
+ [key: `data-${string}`]: unknown;
26
+ };
27
+ /**
28
+ * A number that changed, and which way it went.
29
+ *
30
+ * **Only the digits that changed move.** 99 → 100 rolls three places; 100 → 101 rolls one.
31
+ * A component that re-ran every digit on every change would be saying "all of this is new"
32
+ * about a number where one thing happened, and the reader's eye would have nowhere to land.
33
+ * The digits are matched from the right, so a number growing a place pushes the new digit in
34
+ * at the front rather than shifting the meaning of every column.
35
+ *
36
+ * **The direction is the fact, and the motion is only what makes it noticeable.** Under
37
+ * `prefers-reduced-motion` the roll collapses and the number simply is what it is — which is
38
+ * the correct answer rather than a degraded one. A reader who saw 3 and now sees 5 knows
39
+ * which way it went; what the roll buys is catching the eye of a reader who was not looking,
40
+ * and catching the eye is exactly what that preference is asking you not to do.
41
+ *
42
+ * **The value is text.** The digit on screen is a real text node and the outgoing copy is
43
+ * `aria-hidden` and out of flow, so a screen reader and a selection both get the number and
44
+ * not a column of two. Nothing announces: a counter with a live region on it is a counter
45
+ * that reads the whole dashboard out loud every few seconds.
46
+ */
47
+ export declare function NumberFlow({ value, format, size, className, ...rest }: NumberFlowProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { NumberFlow } from "./NumberFlow";
2
+ export type { NumberFlowProps, NumberFlowSize } from "./NumberFlow";
@@ -0,0 +1,54 @@
1
+ import type { LucideIcon } from "lucide-react";
2
+ import { type InputSize } from "../../common/Input";
3
+ import type { ButtonTone } from "../../common/Button";
4
+ import "./NumberInput.css";
5
+ export type NumberInputProps = {
6
+ value: number;
7
+ onValueChange: (value: number) => void;
8
+ /**
9
+ * What is being counted. "수량", "인원", "반복 횟수".
10
+ *
11
+ * Names the field and both buttons. Two quantity steppers on a page whose buttons are both
12
+ * called "늘리기" are two pairs of buttons a reader cannot tell apart — the same problem
13
+ * `Tag` has with its remove control, and the same answer.
14
+ */
15
+ label: string;
16
+ min?: number;
17
+ max?: number;
18
+ step?: number;
19
+ /** Shown after the value and said aloud with it. "개", "명", "분". */
20
+ unit?: string;
21
+ size?: InputSize;
22
+ /**
23
+ * What the decrement control becomes once the value is at its floor.
24
+ *
25
+ * Asked for by `QuantityStepper`: in a basket, one below one is not zero — it is removing
26
+ * the line, and every shop draws that as the minus turning into a bin. Without this the
27
+ * button is simply disabled at 1 and the reader has to find some other control to take the
28
+ * item out with.
29
+ */
30
+ atFloor?: {
31
+ icon: LucideIcon;
32
+ label: string;
33
+ onPress: () => void;
34
+ tone?: ButtonTone;
35
+ };
36
+ disabled?: boolean;
37
+ name?: string;
38
+ className?: string;
39
+ [key: `data-${string}`]: unknown;
40
+ };
41
+ /**
42
+ * A number, and two ways to change it by one.
43
+ *
44
+ * Not `<input type="number">`, and that is a decision rather than an oversight. A number
45
+ * input changes its value when a reader scrolls the page with the pointer over it — a
46
+ * quantity silently becoming 7 while someone scrolls past — and the usual repair is to blur
47
+ * the field on wheel, which takes the reader out of it instead. It also reports an empty
48
+ * string for anything it cannot parse, so "12e" and "" are the same value to the component.
49
+ *
50
+ * So: a text field that carries `role="spinbutton"` and says its own bounds, with the arrow
51
+ * keys, Home, End and the page keys implemented here. Everything a number input was going to
52
+ * give is declared rather than inherited, and nothing it was going to take comes with it.
53
+ */
54
+ export declare function NumberInput({ value, onValueChange, label, min, max, step, unit, size, atFloor, disabled, name, className, ...rest }: NumberInputProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { NumberInput } from "./NumberInput";
2
+ export type { NumberInputProps } from "./NumberInput";
@@ -0,0 +1,53 @@
1
+ import { type InputSize } from "../../common/Input";
2
+ import "./PasswordInput.css";
3
+ export type PasswordInputPurpose = "current" | "new";
4
+ type PasswordInputBase = {
5
+ /** Names the field for assistive technology when nothing else does. */
6
+ label?: string;
7
+ id?: string;
8
+ name?: string;
9
+ placeholder?: string;
10
+ size?: InputSize;
11
+ /**
12
+ * Signing in, or choosing one.
13
+ *
14
+ * This is the whole of `autocomplete`, and getting it wrong is what makes a password
15
+ * manager fill the sign-in password into a "new password" field, or fail to offer to save
16
+ * a new one. `autocomplete="off"` is the version that does both.
17
+ */
18
+ purpose?: PasswordInputPurpose;
19
+ invalid?: boolean;
20
+ disabled?: boolean;
21
+ required?: boolean;
22
+ revealLabel?: string;
23
+ className?: string;
24
+ [key: `data-${string}`]: unknown;
25
+ [key: `aria-${string}`]: unknown;
26
+ };
27
+ /**
28
+ * Controlled or uncontrolled, and never half of one.
29
+ *
30
+ * `value` without `onValueChange` is a field that renders what it was given and refuses every
31
+ * keystroke — and because `onChange` is always attached, React does not warn about it. The
32
+ * two arrive together or neither does.
33
+ */
34
+ export type PasswordInputProps = PasswordInputBase & ({
35
+ value: string;
36
+ onValueChange: (value: string) => void;
37
+ defaultValue?: never;
38
+ } | {
39
+ value?: never;
40
+ defaultValue?: string;
41
+ onValueChange?: (value: string) => void;
42
+ });
43
+ /**
44
+ * A password, and a way to check what you typed.
45
+ *
46
+ * The toggle's name does not change with its state — the rule `ToggleButton` sets. "비밀번호
47
+ * 표시" that becomes "비밀번호 숨기기" while `aria-pressed` also flips reads as two halves
48
+ * contradicting each other. The name says what the control is for; the attribute says
49
+ * whether it is on. The icon changes, because the icon is for the reader who can see it and
50
+ * is announced to nobody.
51
+ */
52
+ export declare function PasswordInput({ value, defaultValue, onValueChange, label, size, purpose, disabled, revealLabel, className, ...rest }: PasswordInputProps): import("react").JSX.Element;
53
+ export {};
@@ -0,0 +1,2 @@
1
+ export { PasswordInput } from "./PasswordInput";
2
+ export type { PasswordInputProps, PasswordInputPurpose } from "./PasswordInput";
@@ -0,0 +1,33 @@
1
+ import { type InputSize } from "../../common/Input";
2
+ import "./SearchInput.css";
3
+ export type SearchInputProps = {
4
+ value: string;
5
+ onValueChange: (value: string) => void;
6
+ /** Enter, and the clear button's aftermath. Not fired on every keystroke. */
7
+ onSearch?: (value: string) => void;
8
+ /**
9
+ * What is being searched. "주문 검색", "사람 찾기".
10
+ *
11
+ * A search field labelled only by its placeholder is a field whose name disappears the
12
+ * moment someone types in it — and placeholders are not names to begin with.
13
+ */
14
+ label: string;
15
+ placeholder?: string;
16
+ size?: InputSize;
17
+ /** A result is on its way. Replaces the clear button rather than crowding beside it. */
18
+ loading?: boolean;
19
+ disabled?: boolean;
20
+ clearLabel?: string;
21
+ name?: string;
22
+ className?: string;
23
+ [key: `data-${string}`]: unknown;
24
+ };
25
+ /**
26
+ * A field for finding things.
27
+ *
28
+ * `type="search"`, for the autofill history and the input purpose — but its native clear
29
+ * button is hidden and a real one drawn in its place, because the browser's is not in the
30
+ * tab order and has no name. A control a keyboard cannot reach is a control half the
31
+ * readers of this field do not have.
32
+ */
33
+ export declare function SearchInput({ value, onValueChange, onSearch, label, placeholder, size, loading, disabled, clearLabel, name, className, ...rest }: SearchInputProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SearchInput } from "./SearchInput";
2
+ export type { SearchInputProps } from "./SearchInput";
@@ -0,0 +1,44 @@
1
+ import type { ReactNode } from "react";
2
+ import type { LucideIcon } from "lucide-react";
3
+ import "./SegmentedControl.css";
4
+ export type SegmentedControlSize = "sm" | "md";
5
+ export type SegmentedControlMotion = "slide" | "none";
6
+ export type SegmentedControlOption = {
7
+ value: string;
8
+ label: ReactNode;
9
+ icon?: LucideIcon;
10
+ disabled?: boolean;
11
+ };
12
+ export type SegmentedControlProps = {
13
+ /**
14
+ * The name the browser builds the radio group from. Required.
15
+ *
16
+ * Radios with no shared name are not a group: they behave like a row of checkboxes and
17
+ * each announces itself as "1 of 1".
18
+ */
19
+ name: string;
20
+ options: SegmentedControlOption[];
21
+ value: string;
22
+ onChange: (value: string) => void;
23
+ /** What the whole control chooses between. "보기 방식", "기간". */
24
+ label: string;
25
+ size?: SegmentedControlSize;
26
+ /** The thumb slides between segments, or the segments simply fill. */
27
+ motion?: SegmentedControlMotion;
28
+ fullWidth?: boolean;
29
+ disabled?: boolean;
30
+ className?: string;
31
+ [key: `data-${string}`]: unknown;
32
+ };
33
+ /**
34
+ * A few alternatives, all visible, one chosen.
35
+ *
36
+ * Real radios underneath, clipped the way Checkbox and Radio clip theirs. That is what makes
37
+ * arrow keys move between segments and Tab skip past the whole control — the behaviour a
38
+ * reader expects from a group of alternatives, and the behaviour that is hardest to rebuild
39
+ * out of buttons.
40
+ *
41
+ * More than about six alternatives and this stops being the right control: the segments turn
42
+ * into slivers and a `Select` is what the reader wanted.
43
+ */
44
+ export declare function SegmentedControl({ name, options, value, onChange, label, size, motion, fullWidth, disabled, className, ...rest }: SegmentedControlProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SegmentedControl } from "./SegmentedControl";
2
+ export type { SegmentedControlProps, SegmentedControlOption, SegmentedControlSize, SegmentedControlMotion, } from "./SegmentedControl";
@@ -0,0 +1,42 @@
1
+ import type { MouseEvent } from "react";
2
+ import type { LucideIcon } from "lucide-react";
3
+ import { type ButtonShape, type ButtonSize, type ButtonTone, type ButtonVariant } from "../../common/Button";
4
+ import "./SplitButton.css";
5
+ export type SplitButtonProps = {
6
+ /** The action itself, said in words. Pressing the left half does this and nothing else. */
7
+ children: string;
8
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
9
+ /** Opens whatever holds the alternatives. This component does not own that list. */
10
+ onMenuToggle: () => void;
11
+ menuOpen?: boolean;
12
+ /**
13
+ * What the right half is called.
14
+ *
15
+ * Defaulted from the action, because "더 보기" on its own is a button a reader meets with
16
+ * no idea what it will show them. Three split buttons on a page would give three of them.
17
+ */
18
+ menuLabel?: string;
19
+ /** The id of the list this opens, once something is rendering one. */
20
+ menuId?: string;
21
+ variant?: ButtonVariant;
22
+ tone?: ButtonTone;
23
+ size?: ButtonSize;
24
+ shape?: ButtonShape;
25
+ icon?: LucideIcon;
26
+ loading?: boolean;
27
+ disabled?: boolean;
28
+ className?: string;
29
+ [key: `data-${string}`]: unknown;
30
+ };
31
+ /**
32
+ * One action, and a way to reach the others.
33
+ *
34
+ * Two buttons, not one button with two halves: the left half does the thing, the right half
35
+ * opens a list, and they are separately reachable, separately named and separately
36
+ * announced. A single control that does one thing when clicked on the left and another when
37
+ * clicked on the right is not reachable by keyboard at all.
38
+ *
39
+ * The list itself is not here. `Menu` belongs to the next layer, and a component that
40
+ * shipped half a menu to avoid waiting for it would be a component nobody could replace.
41
+ */
42
+ export declare function SplitButton({ children, onClick, onMenuToggle, menuOpen, menuLabel, menuId, variant, tone, size, shape, icon, loading, disabled, className, ...rest }: SplitButtonProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SplitButton } from "./SplitButton";
2
+ export type { SplitButtonProps } from "./SplitButton";
@@ -0,0 +1,31 @@
1
+ import "./StatusDot.css";
2
+ export type StatusDotTone = "neutral" | "accent" | "success" | "warning" | "danger";
3
+ export type StatusDotSize = "sm" | "md";
4
+ export type StatusDotProps = {
5
+ /**
6
+ * What the dot means, in words. Required, and it is the whole reason this component
7
+ * exists rather than a `<span>` with a background colour.
8
+ *
9
+ * A coloured circle is a state to a reader who can separate green from amber and nothing
10
+ * at all to one who cannot — about one man in twelve for the first, and everyone using a
11
+ * screen reader for the second. The words may be hidden from the screen; they may not be
12
+ * absent.
13
+ */
14
+ label: string;
15
+ tone?: StatusDotTone;
16
+ size?: StatusDotSize;
17
+ /** Leave the words to assistive technology alone. The dot still says them. */
18
+ labelHidden?: boolean;
19
+ /**
20
+ * A slow pulse, for a state that is still happening rather than settled.
21
+ *
22
+ * Stops entirely under `prefers-reduced-motion` — see the note in the stylesheet.
23
+ */
24
+ pulse?: boolean;
25
+ className?: string;
26
+ [key: `data-${string}`]: unknown;
27
+ };
28
+ /**
29
+ * The smallest thing a badge can be: a state, as a dot and a word.
30
+ */
31
+ export declare function StatusDot({ label, tone, size, labelHidden, pulse, className, ...rest }: StatusDotProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { StatusDot } from "./StatusDot";
2
+ export type { StatusDotProps, StatusDotTone, StatusDotSize } from "./StatusDot";
@@ -0,0 +1,47 @@
1
+ import type { MouseEvent, ReactNode } from "react";
2
+ import type { LucideIcon } from "lucide-react";
3
+ import "./Tag.css";
4
+ export type TagVariant = "soft" | "outline" | "solid";
5
+ export type TagTone = "neutral" | "accent" | "success" | "warning" | "danger";
6
+ export type TagSize = "sm" | "md";
7
+ export type TagShape = "rounded" | "pill";
8
+ export type TagProps = {
9
+ children: ReactNode;
10
+ variant?: TagVariant;
11
+ tone?: TagTone;
12
+ size?: TagSize;
13
+ shape?: TagShape;
14
+ icon?: LucideIcon;
15
+ /** Something before the label that is not an icon — an avatar, a colour swatch, a flag. */
16
+ leading?: ReactNode;
17
+ /**
18
+ * Makes the label a button. A filter chip that turns a facet on and off.
19
+ *
20
+ * The tag itself never becomes the button, because a removable tag would then be a button
21
+ * inside a button, which is invalid HTML and which browsers resolve by dropping one of
22
+ * them — usually the one the reader wanted.
23
+ */
24
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
25
+ /** Only meaningful with `onClick`. Reaches assistive technology as `aria-pressed`. */
26
+ selected?: boolean;
27
+ onRemove?: (event: MouseEvent<HTMLButtonElement>) => void;
28
+ /**
29
+ * What the remove button is called.
30
+ *
31
+ * Defaulted from the label when the label is a string, because eight buttons all called
32
+ * "제거" are eight buttons a reader cannot tell apart. When the label is not a string
33
+ * there is nothing to derive it from, and this should be given.
34
+ */
35
+ removeLabel?: string;
36
+ /**
37
+ * `aria-disabled` rather than `disabled`, the rule Button set: a button that leaves the
38
+ * tab order takes any reader standing on it with it.
39
+ */
40
+ disabled?: boolean;
41
+ className?: string;
42
+ [key: `data-${string}`]: unknown;
43
+ };
44
+ /**
45
+ * A badge that can be acted on: picked, or taken off.
46
+ */
47
+ export declare function Tag({ children, variant, tone, size, shape, icon, leading, onClick, selected, onRemove, removeLabel, disabled, className, ...rest }: TagProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Tag } from "./Tag";
2
+ export type { TagProps, TagVariant, TagTone, TagSize, TagShape } from "./Tag";
@@ -0,0 +1,28 @@
1
+ import "./TagInput.css";
2
+ export type TagInputSize = "sm" | "md";
3
+ export type TagInputProps = {
4
+ value: string[];
5
+ onValueChange: (value: string[]) => void;
6
+ /** What is being listed. "받는 사람", "기술 태그", "초대할 사람". */
7
+ label: string;
8
+ placeholder?: string;
9
+ /** How many, at most. The field stops accepting rather than silently dropping. */
10
+ max?: number;
11
+ size?: TagInputSize;
12
+ disabled?: boolean;
13
+ className?: string;
14
+ [key: `data-${string}`]: unknown;
15
+ };
16
+ /**
17
+ * A list of short values, typed one at a time.
18
+ *
19
+ * This one builds its own box rather than borrowing `Input`'s, and that is the difference
20
+ * between it and the other three fields in this layer. `Input` is a single row that centres
21
+ * its contents; this grows downwards as the list fills, and forcing that shape onto a
22
+ * component whose whole construction assumes one line would break it for everything else
23
+ * that uses it.
24
+ *
25
+ * What is typed is not yet a value. Enter and comma make it one; Backspace in an empty field
26
+ * takes the last one back — the two gestures every reader already tries.
27
+ */
28
+ export declare function TagInput({ value, onValueChange, label, placeholder, max, size, disabled, className, ...rest }: TagInputProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { TagInput } from "./TagInput";
2
+ export type { TagInputProps, TagInputSize } from "./TagInput";
@@ -0,0 +1,40 @@
1
+ import "./TextCycle.css";
2
+ export type TextCycleProps = {
3
+ /**
4
+ * The line that is true **now**. Change it and the exchange plays.
5
+ *
6
+ * A string rather than a node, and that is the accessibility answer as much as a typing
7
+ * decision: what is on screen has to be the only thing a screen reader can reach, and a
8
+ * subtree is a place for a second focusable thing to hide behind an `aria-hidden` that is
9
+ * about to be applied to it.
10
+ */
11
+ value: string;
12
+ className?: string;
13
+ [key: `data-${string}`]: unknown;
14
+ };
15
+ /**
16
+ * One line, and it says something else now.
17
+ *
18
+ * **It owns no timer, and that is the whole design.** The obvious version of this component
19
+ * holds a pool of phrases and rotates them on an interval — and a phrase that changes
20
+ * because a timer fired says nothing about the work. It is a component drawing progress it
21
+ * has not been told about, which is the same thing `Waveform` refuses to do with amplitude
22
+ * and for the same reason. The host says what is true now; this draws the change. A host
23
+ * that really is cycling through steps it is really performing passes them one at a time,
24
+ * and gets exactly the same picture — the difference is only whether the movement was
25
+ * earned.
26
+ *
27
+ * **Nothing announces.** No live region, no `aria-live`, no `role="status"`. A status line
28
+ * that changes every few seconds and announces each change is a screen reader reading a
29
+ * progress bar out loud, and the reader cannot get past it to the thing they came for. The
30
+ * current line is ordinary text and the outgoing copy is `aria-hidden`, so assistive
31
+ * technology sees one sentence — the true one — at every moment. A host that genuinely needs
32
+ * a change announced wraps this in its own live region and chooses the politeness, which is
33
+ * a decision only it can make.
34
+ *
35
+ * **It sets no type.** No size, no weight, no colour, no family. This is a mechanism for
36
+ * exchanging one line for another and it inherits whatever the line was already wearing —
37
+ * a component that also decided how status lines look would have to be fought everywhere it
38
+ * was used.
39
+ */
40
+ export declare function TextCycle({ value, className, ...rest }: TextCycleProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { TextCycle } from "./TextCycle";
2
+ export type { TextCycleProps } from "./TextCycle";
@@ -0,0 +1,43 @@
1
+ import type { ReactNode } from "react";
2
+ import type { LucideIcon } from "lucide-react";
3
+ import "./ToggleButton.css";
4
+ export type ToggleButtonVariant = "outline" | "ghost" | "soft";
5
+ export type ToggleButtonTone = "accent" | "neutral" | "success" | "warning" | "danger";
6
+ export type ToggleButtonSize = "sm" | "md" | "lg";
7
+ export type ToggleButtonShape = "rounded" | "pill";
8
+ export type ToggleButtonProps = {
9
+ /**
10
+ * What it controls — and it does not change when the state does.
11
+ *
12
+ * A button labelled "음소거" that becomes "음소거 해제" while `aria-pressed` also flips
13
+ * says the opposite thing twice, and a reader hears "음소거 해제, 눌림" and has to work out
14
+ * which half to believe. The label names the thing; `aria-pressed` says whether it is on.
15
+ */
16
+ children: ReactNode;
17
+ pressed: boolean;
18
+ onPressedChange: (pressed: boolean) => void;
19
+ variant?: ToggleButtonVariant;
20
+ tone?: ToggleButtonTone;
21
+ size?: ToggleButtonSize;
22
+ shape?: ToggleButtonShape;
23
+ icon?: LucideIcon;
24
+ /**
25
+ * `aria-disabled`, not `disabled` — the rule Button set and every button in this library
26
+ * follows. A disabled button leaves the tab order, so a reader standing on one that is
27
+ * switched off underneath them is dropped elsewhere with no idea why. Form controls are
28
+ * the other way round: `Checkbox`, `Radio` and `SegmentedControl` take the real attribute,
29
+ * because that is what keeps their value out of the submitted form.
30
+ */
31
+ disabled?: boolean;
32
+ className?: string;
33
+ [key: `data-${string}`]: unknown;
34
+ [key: `aria-${string}`]: unknown;
35
+ };
36
+ /**
37
+ * A button that stays down.
38
+ *
39
+ * `aria-pressed` rather than a checkbox, because this takes effect the moment it is pressed.
40
+ * A checkbox announces "checked" and waits for a submit; a toggle button announces "pressed"
41
+ * and has already done it.
42
+ */
43
+ export declare function ToggleButton({ children, pressed, onPressedChange, variant, tone, size, shape, icon, disabled, className, ...rest }: ToggleButtonProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { ToggleButton } from "./ToggleButton";
2
+ export type { ToggleButtonProps, ToggleButtonVariant, ToggleButtonTone, ToggleButtonSize, ToggleButtonShape, } from "./ToggleButton";
@@ -0,0 +1,16 @@
1
+ export * from "./AvatarGroup";
2
+ export * from "./ButtonGroup";
3
+ export * from "./ChoiceCard";
4
+ export * from "./InputGroup";
5
+ export * from "./MorphIcon";
6
+ export * from "./NumberFlow";
7
+ export * from "./NumberInput";
8
+ export * from "./PasswordInput";
9
+ export * from "./SearchInput";
10
+ export * from "./SegmentedControl";
11
+ export * from "./SplitButton";
12
+ export * from "./StatusDot";
13
+ export * from "./Tag";
14
+ export * from "./TagInput";
15
+ export * from "./TextCycle";
16
+ export * from "./ToggleButton";
@@ -0,0 +1,4 @@
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../../ToggleButton-D6oEjMeF.js";
2
+ import { a as o, c as s, i as c, l, n as u, o as d, r as f, s as p, t as m } from "../../TagInput-BaGz-QKU.js";
3
+ import { t as h } from "../../Tag-Z8PjnJFt.js";
4
+ export { r as AvatarGroup, l as ButtonGroup, s as ChoiceCard, e as InputGroup, t as MorphIcon, p as NumberFlow, i as NumberInput, d as PasswordInput, o as SearchInput, c as SegmentedControl, f as SplitButton, u as StatusDot, h as Tag, m as TagInput, n as TextCycle, a as ToggleButton };