@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,63 @@
1
+ import { type MarkTone } from "../Mark";
2
+ import "./Highlight.css";
3
+ export type HighlightProps = {
4
+ /**
5
+ * A string, and only a string. Marking a run inside arbitrary children would mean walking
6
+ * a React tree and rebuilding it, and the rebuild loses element identity, keys and state.
7
+ * The component that needs that is a different component.
8
+ */
9
+ children: string;
10
+ /**
11
+ * What to mark. A string, or several. An empty string, a whitespace-only string and an
12
+ * empty array all mean "mark nothing" — not "mark everything", which is what a naive
13
+ * regular expression built from `""` does.
14
+ */
15
+ query: string | string[];
16
+ tone?: MarkTone;
17
+ className?: string;
18
+ [key: `data-${string}`]: unknown;
19
+ [key: `aria-${string}`]: unknown;
20
+ id?: string;
21
+ };
22
+ export type HighlightPart = {
23
+ text: string;
24
+ matched: boolean;
25
+ };
26
+ /**
27
+ * Split `value` into matched and unmatched runs.
28
+ *
29
+ * Exported so a caller can reuse the matching without the markup, and so the rules below can
30
+ * be tested as rules rather than as rendered output:
31
+ *
32
+ * - every term is escaped, so `c++` and `a.b` match themselves and `(` is not a syntax
33
+ * error thrown from render;
34
+ * - matching is case-insensitive, because a search field that finds `Seoul` for `seoul`
35
+ * and then highlights nothing has told the reader the match was somewhere else;
36
+ * - blank terms are dropped before the pattern is built. `new RegExp("()", "g")` matches
37
+ * the empty string at every position, and `String.split` on it returns every character
38
+ * as its own chunk with every other one "matched";
39
+ * - terms are sorted longest-first, which is what decides overlaps. The alternation `a|b`
40
+ * is ordered, so with `["로그", "로그인"]` the shorter term would win at the same start
41
+ * position and `인` would be left outside the mark. Longest-first marks `로그인`.
42
+ *
43
+ * Not handled, and it is a real limit rather than an oversight: Hangul is compared as
44
+ * composed syllables and nothing is normalised. `ㄱ` does not match `가`, a decomposed
45
+ * `NFD` string does not match its composed form, and the half-typed syllable an IME is still
46
+ * composing is not a term this will find. A search box that highlights while the user is
47
+ * mid-composition therefore flickers, and the fix belongs in the field — commit the term on
48
+ * `compositionend`, not on every keystroke.
49
+ */
50
+ export declare function highlightParts(value: string, query: string | string[]): HighlightPart[];
51
+ /**
52
+ * A string with the searched-for run marked.
53
+ *
54
+ * This is the one place where a tint alone is allowed to carry the message, and the reason
55
+ * is that it is not carrying one: the reader typed the term, the term is still in the field,
56
+ * and the mark says where — not what. `Mark` on its own is the case that needs words.
57
+ *
58
+ * `SearchInput`, `Combobox` and `CommandPalette` do not do this today. They filter, and the
59
+ * row that survives the filter says nothing about which part of it matched; on a long label
60
+ * the reader re-reads the whole row to find out. Composing this into their option rows is
61
+ * the intended use, and the reason `children` is typed as a string is that their labels are.
62
+ */
63
+ export declare function Highlight({ children, query, tone, className, ...rest }: HighlightProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Highlight, highlightParts } from "./Highlight";
2
+ export type { HighlightProps, HighlightPart } from "./Highlight";
@@ -0,0 +1,39 @@
1
+ import type { CSSProperties } from "react";
2
+ import type { LucideIcon } from "lucide-react";
3
+ import "./Icon.css";
4
+ export type IconSize = "xs" | "sm" | "md" | "lg" | "xl";
5
+ export type IconTone = "inherit" | "default" | "muted" | "subtle" | "accent" | "success" | "warning" | "danger" | "on-fill";
6
+ export type IconProps = {
7
+ /**
8
+ * The icon itself, as a component rather than a name.
9
+ *
10
+ * A name would need a registry, and a registry is either every icon in the set — 1,500 of
11
+ * them in the bundle whether or not a page uses six — or a hand-maintained list that is
12
+ * always missing the one someone needs. Passing the component means the bundler drops
13
+ * what nobody imported.
14
+ */
15
+ icon: LucideIcon;
16
+ size?: IconSize;
17
+ tone?: IconTone;
18
+ /**
19
+ * What the icon says, for a reader who cannot see it.
20
+ *
21
+ * Omitted is the honest default: most icons sit beside a label that already says it, and
22
+ * announcing it twice is worse than not announcing it at all. Without a label the icon is
23
+ * `aria-hidden` — declared decorative rather than left ambiguous.
24
+ */
25
+ label?: string;
26
+ className?: string;
27
+ style?: CSSProperties;
28
+ [key: `data-${string}`]: unknown;
29
+ };
30
+ /**
31
+ * An icon at a size and a tone the system knows.
32
+ *
33
+ * Nothing numeric reaches Lucide. Its components render `width`, `height` and `stroke-width`
34
+ * as presentation attributes, and a CSS property beats a presentation attribute — so the
35
+ * size and the weight of the stroke are set in the stylesheet from tokens, and this file
36
+ * passes none of them. That is what keeps an icon following a density change instead of
37
+ * carrying a number that was right once.
38
+ */
39
+ export declare function Icon({ icon: Glyph, size, tone, label, className, style, ...rest }: IconProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Icon } from "./Icon";
2
+ export type { IconProps, IconSize, IconTone } from "./Icon";
@@ -0,0 +1,34 @@
1
+ import { type MouseEvent, type Ref } from "react";
2
+ import type { LucideIcon } from "lucide-react";
3
+ import type { ButtonShape, ButtonTone, ButtonVariant } from "../Button";
4
+ import "./IconButton.css";
5
+ export type IconButtonSize = "sm" | "md" | "lg";
6
+ export type IconButtonProps = {
7
+ icon: LucideIcon;
8
+ /**
9
+ * What it does. Required, and there is no version of this component without it.
10
+ *
11
+ * An icon-only control with no name reaches assistive technology as "button" and nothing
12
+ * else. Making the label optional would mean shipping a component whose most likely use is
13
+ * broken, so it is not optional.
14
+ */
15
+ label: string;
16
+ variant?: ButtonVariant;
17
+ tone?: ButtonTone;
18
+ size?: IconButtonSize;
19
+ shape?: ButtonShape | "circle";
20
+ loading?: boolean;
21
+ disabled?: boolean;
22
+ type?: "button" | "submit" | "reset";
23
+ href?: string;
24
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
25
+ className?: string;
26
+ /** The button or anchor node, including when Radix supplies a trigger ref. */
27
+ ref?: Ref<HTMLButtonElement | HTMLAnchorElement>;
28
+ [key: `data-${string}`]: unknown;
29
+ [key: `aria-${string}`]: unknown;
30
+ };
31
+ /**
32
+ * A button that is only its icon, and therefore only its label.
33
+ */
34
+ export declare const IconButton: import("react").ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
@@ -0,0 +1,2 @@
1
+ export { IconButton } from "./IconButton";
2
+ export type { IconButtonProps, IconButtonSize } from "./IconButton";
@@ -0,0 +1,51 @@
1
+ import type { ReactNode } from "react";
2
+ import "./Indicator.css";
3
+ export type IndicatorPosition = "top-start" | "top-end" | "bottom-start" | "bottom-end";
4
+ export type IndicatorTone = "neutral" | "accent" | "success" | "warning" | "danger";
5
+ /**
6
+ * The shape of what the mark is hung on, which is the only thing that decides where the
7
+ * corner actually is.
8
+ *
9
+ * Two values rather than a number of pixels: a number would have to be recomputed for every
10
+ * avatar size, and it would have to reach the element as an inline style, which no component
11
+ * in this library writes. The circle's anchor is a percentage of the box, so one value fits
12
+ * every size.
13
+ */
14
+ export type IndicatorTarget = "square" | "circle";
15
+ export type IndicatorProps = {
16
+ /** What the mark is attached to — an avatar, an icon button, a tab. */
17
+ children: ReactNode;
18
+ /**
19
+ * Required, and it is the whole meaning. The mark on screen is decoration; this is the
20
+ * sentence a screen reader gets, so it says what is being reported and, where the number
21
+ * matters, how many. "읽지 않은 알림 3개" — not "3".
22
+ */
23
+ label: string;
24
+ count?: number;
25
+ /** Above this the mark reads `99+`. Default 99. */
26
+ max?: number;
27
+ position?: IndicatorPosition;
28
+ /** Rectangles hang the mark on the box corner; a circle needs it pulled in to its edge. */
29
+ target?: IndicatorTarget;
30
+ tone?: IndicatorTone;
31
+ /** A mark with no number, for a state that is on or off. */
32
+ dot?: boolean;
33
+ /** No mark and no label. The children are untouched. */
34
+ hidden?: boolean;
35
+ className?: string;
36
+ [key: `data-${string}`]: unknown;
37
+ };
38
+ /**
39
+ * A mark on the corner of something, and the words that say what it means.
40
+ *
41
+ * The dot carries no meaning at all: it is a coloured shape, `aria-hidden`, and a reader who
42
+ * cannot see it gets nothing from it. `label` is the component's only carrier of meaning,
43
+ * which is why it is required rather than derived from `count` — "3" is not information, and
44
+ * a number the component composed into a sentence would be a sentence in one language.
45
+ *
46
+ * There is no live region here, deliberately. This mark sits on a control the reader is
47
+ * about to use, and a count that announces itself interrupts whatever they are reading to
48
+ * say a number changed somewhere on the page. A change worth interrupting for is announced
49
+ * where it happened, by the thing that knows why.
50
+ */
51
+ export declare function Indicator({ children, label, count, max, position, target, tone, dot, hidden, className, ...rest }: IndicatorProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Indicator } from "./Indicator";
2
+ export type { IndicatorProps, IndicatorPosition, IndicatorTarget, IndicatorTone } from "./Indicator";
@@ -0,0 +1,84 @@
1
+ import { type ChangeEvent, type FocusEvent, type InputHTMLAttributes, type KeyboardEvent, type ReactNode, type Ref } from "react";
2
+ import type { LucideIcon } from "lucide-react";
3
+ import "./Input.css";
4
+ export type InputSize = "sm" | "md" | "lg";
5
+ export type InputProps = {
6
+ value?: string;
7
+ defaultValue?: string;
8
+ onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
9
+ onKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void;
10
+ onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
11
+ onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
12
+ /**
13
+ * Reaches the control, not the wrapper.
14
+ *
15
+ * Which is the only useful answer: the wrapper cannot be focused, cannot be read for a
16
+ * value and is not what a form knows about. `SearchInput` uses it to put the reader back
17
+ * in the field after its clear button has removed itself from under them.
18
+ */
19
+ ref?: Ref<HTMLInputElement>;
20
+ type?: InputHTMLAttributes<HTMLInputElement>["type"];
21
+ placeholder?: string;
22
+ size?: InputSize;
23
+ /**
24
+ * The value is not acceptable.
25
+ *
26
+ * Draws the border and sets `aria-invalid`, and does no more than that on purpose: the
27
+ * reason belongs in a message the field owns, which is `Field`'s job. A control that says
28
+ * only "wrong" in red is a control that says nothing to a reader who cannot see red.
29
+ */
30
+ invalid?: boolean;
31
+ disabled?: boolean;
32
+ readOnly?: boolean;
33
+ required?: boolean;
34
+ iconStart?: LucideIcon;
35
+ iconEnd?: LucideIcon;
36
+ /**
37
+ * Something that can be pressed, inside the box.
38
+ *
39
+ * Asked for by the derived layer and by nothing else: `SearchInput` needs a clear button
40
+ * inside the field, `PasswordInput` a reveal toggle, `NumberInput` a pair of steppers.
41
+ * All three are *inside* the border rather than beside it, and a component that built its
42
+ * own field to get them would be a second field with a second focus ring, a second set of
43
+ * paddings and a second set of bugs.
44
+ *
45
+ * `iconStart`/`iconEnd` stay separate because an icon is not a control: it takes the muted
46
+ * ink, has no hit area of its own and is never in the tab order.
47
+ */
48
+ slotStart?: ReactNode;
49
+ slotEnd?: ReactNode;
50
+ name?: string;
51
+ id?: string;
52
+ autoComplete?: string;
53
+ /**
54
+ * What the software keyboard and the corrector are allowed to do to what is typed.
55
+ *
56
+ * Asked for by `CouponField`. A coupon code is printed in capitals and typed on whatever
57
+ * the keyboard happened to be in, and on a phone iOS will capitalise the first letter,
58
+ * autocorrect the rest into a word, and underline it in red. Three attributes, and without
59
+ * them the field is one a reader has to fight.
60
+ */
61
+ autoCapitalize?: string;
62
+ autoCorrect?: string;
63
+ spellCheck?: boolean;
64
+ inputMode?: InputHTMLAttributes<HTMLInputElement>["inputMode"];
65
+ /**
66
+ * The control's role, for the rare case where the element is not what it represents.
67
+ *
68
+ * `NumberInput` is the reason: it is a `type="text"` that stands for a spin button, and
69
+ * without this it would have to build its own field to say so.
70
+ */
71
+ role?: string;
72
+ className?: string;
73
+ [key: `data-${string}`]: unknown;
74
+ [key: `aria-${string}`]: unknown;
75
+ };
76
+ /**
77
+ * A single line of text.
78
+ *
79
+ * Always a wrapper around the control, whether or not there are icons, so that the box a
80
+ * reader sees and the box the browser focuses are the same element in every case. A version
81
+ * that only wrapped when an icon was present would have two focus rings, two paddings and
82
+ * two sets of bugs.
83
+ */
84
+ export declare const Input: import("react").ForwardRefExoticComponent<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,2 @@
1
+ export { Input } from "./Input";
2
+ export type { InputProps, InputSize } from "./Input";
@@ -0,0 +1,34 @@
1
+ import type { ElementType, ReactNode } from "react";
2
+ import "./Kbd.css";
3
+ export type KbdSize = "sm" | "md";
4
+ export type KbdProps = {
5
+ /** The key's name, as it is printed on the key: `⌘`, `Shift`, `Esc`, `K`. */
6
+ children: ReactNode;
7
+ size?: KbdSize;
8
+ /**
9
+ * The element rendered. `kbd` is the default because that is what the element means, and
10
+ * a shortcut written with a `span` is a shortcut no user agent can tell from prose.
11
+ */
12
+ as?: ElementType;
13
+ className?: string;
14
+ [key: `data-${string}`]: unknown;
15
+ [key: `aria-${string}`]: unknown;
16
+ id?: string;
17
+ title?: string;
18
+ };
19
+ /**
20
+ * One key, drawn as a key.
21
+ *
22
+ * It renders a single key and nothing else — no separator, no combination. A combination is
23
+ * several of these with the joining character written between them, because the joiner is
24
+ * prose the caller chooses (`+`, a space, nothing at all in the Apple convention) and a
25
+ * component that picked one would be wrong in every house that picked the other.
26
+ *
27
+ * `⌘` and `⌥` are symbols, not words. Most screen readers either say nothing for them or
28
+ * read a character name that is not the key's name, so a shortcut that exists only as
29
+ * symbols is a shortcut some readers never hear. The answer is not inside this component:
30
+ * the caller pairs the symbol with a spelled-out name, either by hiding the symbols from the
31
+ * accessibility tree and exposing words next to them, or by labelling the control that owns
32
+ * the shortcut. See the demo.
33
+ */
34
+ export declare function Kbd({ children, size, as: Element, className, ...rest }: KbdProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Kbd } from "./Kbd";
2
+ export type { KbdProps, KbdSize } from "./Kbd";
@@ -0,0 +1,21 @@
1
+ import type { ReactNode } from "react";
2
+ import "./Link.css";
3
+ export type LinkTone = "accent" | "inherit" | "muted";
4
+ export type LinkUnderline = "always" | "hover" | "never";
5
+ export type LinkProps = {
6
+ children: ReactNode;
7
+ href: string;
8
+ tone?: LinkTone;
9
+ underline?: LinkUnderline;
10
+ /**
11
+ * Opens elsewhere.
12
+ *
13
+ * Adds the mark, `rel="noreferrer"`, and — the part that gets forgotten — a note in the
14
+ * accessible name. A reader who cannot see the arrow is otherwise not told that following
15
+ * this link takes them out of the page they were on.
16
+ */
17
+ external?: boolean;
18
+ className?: string;
19
+ [key: `data-${string}`]: unknown;
20
+ };
21
+ export declare function Link({ children, href, tone, underline, external, className, ...rest }: LinkProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Link } from "./Link";
2
+ export type { LinkProps, LinkTone, LinkUnderline } from "./Link";
@@ -0,0 +1,38 @@
1
+ import type { ElementType, ReactNode } from "react";
2
+ import "./Mark.css";
3
+ /**
4
+ * The tones that exist as a *ground*.
5
+ *
6
+ * The token layer publishes each energy four times — the fill, the ink on that fill, the ink
7
+ * on a neutral ground, and `--x-subtle`, a tinted ground. Only the last of those is a
8
+ * background a paragraph's own text colour can still be read on, so those are the four names
9
+ * this component takes. `--accent` and its kind are fills; a fill under body text is a
10
+ * contrast failure in the light theme and an unreadable one in the dark.
11
+ */
12
+ export type MarkTone = "accent" | "success" | "warning" | "danger";
13
+ export type MarkProps = {
14
+ children: ReactNode;
15
+ /** Default `warning` — the amber tint, which is what a reader already reads as a marker. */
16
+ tone?: MarkTone;
17
+ as?: ElementType;
18
+ className?: string;
19
+ [key: `data-${string}`]: unknown;
20
+ [key: `aria-${string}`]: unknown;
21
+ id?: string;
22
+ title?: string;
23
+ };
24
+ /**
25
+ * A run of text marked as relevant.
26
+ *
27
+ * The element is `mark`, and what `mark` is worth to assistive technology is worth writing
28
+ * down: ARIA gives it a `mark` role, Chromium and WebKit expose it, and most screen readers
29
+ * announce nothing for it unless the reader has turned that on. VoiceOver on Safari is the
30
+ * exception. So in practice the tint is the whole message, and a tint is a colour.
31
+ *
32
+ * This component therefore refuses to be the only carrier of meaning by construction: it
33
+ * renders exactly the text it was given, and the caller who needs the highlight to *mean*
34
+ * something says so in words next to it. `Highlight` is the case where it does not have to —
35
+ * a search term is already on the screen in the search field, so the tint is a locator
36
+ * rather than a claim.
37
+ */
38
+ export declare function Mark({ children, tone, as: Element, className, ...rest }: MarkProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Mark } from "./Mark";
2
+ export type { MarkProps, MarkTone } from "./Mark";
@@ -0,0 +1,54 @@
1
+ import "./MultiSelect.css";
2
+ export type MultiSelectSize = "sm" | "md" | "lg";
3
+ export type MultiSelectOption = {
4
+ value: string;
5
+ label: string;
6
+ /** A second line under the label — a team, a code, a count. */
7
+ description?: string;
8
+ disabled?: boolean;
9
+ };
10
+ export type MultiSelectProps = {
11
+ options: MultiSelectOption[];
12
+ value: string[];
13
+ onValueChange: (value: string[]) => void;
14
+ /** What is being chosen. "관심 분야". Names the field. */
15
+ label: string;
16
+ placeholder?: string;
17
+ /** How many may be held at once. Reached, the rest of the list stops being choosable. */
18
+ max?: number;
19
+ /** Whether typing narrows the list. Off, the field is read-only and the arrows walk it. */
20
+ searchable?: boolean;
21
+ size?: MultiSelectSize;
22
+ disabled?: boolean;
23
+ invalid?: boolean;
24
+ id?: string;
25
+ /** The field's name in the form. One hidden input per chosen value, the way a multiple
26
+ * `<select>` submits. */
27
+ name?: string;
28
+ /** What to say when nothing matches. */
29
+ emptyMessage?: string;
30
+ "aria-describedby"?: string;
31
+ "aria-labelledby"?: string;
32
+ required?: boolean;
33
+ className?: string;
34
+ [key: `data-${string}`]: unknown;
35
+ [key: `aria-${string}`]: unknown;
36
+ };
37
+ /**
38
+ * A field that holds more than one answer.
39
+ *
40
+ * **It is `Combobox` with a list of answers instead of one**, and it keeps that component's
41
+ * rules rather than inventing its own: the focus stays in the input, the list is walked with
42
+ * `aria-activedescendant`, the arrows step over what cannot be chosen, and an Enter arriving
43
+ * mid-composition belongs to the input method and not to this component.
44
+ *
45
+ * **What is held is shown as chips, and Backspace takes the last one off.** The chip's remove
46
+ * button carries the 24×24 floor itself rather than inheriting the chip's height — the same
47
+ * fix `Tag` made, and for the same reason: a floor written on the chip is a floor the thing
48
+ * that is actually pressed does not have.
49
+ *
50
+ * **`max` locks the rest of the list rather than hiding it.** A list that shortens as you
51
+ * choose is a list that moves under the pointer, and the reader cannot tell whether the option
52
+ * they were about to press is gone or was never there.
53
+ */
54
+ export declare function MultiSelect({ options, value, onValueChange, label, placeholder, max, searchable, size, disabled, invalid, id, name, emptyMessage, "aria-describedby": describedBy, "aria-labelledby": labelledBy, required, className, ...rest }: MultiSelectProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { MultiSelect } from "./MultiSelect";
2
+ export type { MultiSelectProps, MultiSelectOption, MultiSelectSize } from "./MultiSelect";
@@ -0,0 +1,49 @@
1
+ import "./PinInput.css";
2
+ export type PinInputSize = "sm" | "md" | "lg";
3
+ export type PinInputType = "number" | "text";
4
+ export type PinInputProps = {
5
+ /** The whole code, shorter than `length` while it is being filled in. */
6
+ value: string;
7
+ onValueChange: (value: string) => void;
8
+ length?: number;
9
+ /**
10
+ * What the code is. Every box says it, followed by its position.
11
+ *
12
+ * Stands down to `aria-labelledby` when `Field` supplies one — an `aria-label` outranks a
13
+ * visible `<label>`, and the two would then be free to disagree.
14
+ */
15
+ label: string;
16
+ type?: PinInputType;
17
+ /** Hide what was typed. Draws dots and turns autofill off — see the note in the component. */
18
+ mask?: boolean;
19
+ size?: PinInputSize;
20
+ disabled?: boolean;
21
+ invalid?: boolean;
22
+ name?: string;
23
+ autoFocus?: boolean;
24
+ /** Called once, at the moment the last empty box is filled. */
25
+ onComplete?: (value: string) => void;
26
+ id?: string;
27
+ className?: string;
28
+ required?: boolean;
29
+ "aria-labelledby"?: string;
30
+ "aria-describedby"?: string;
31
+ [key: `data-${string}`]: unknown;
32
+ };
33
+ /**
34
+ * A code, one character to a box.
35
+ *
36
+ * **Six real inputs, wrapped in a group.** The group carries the field's name and its
37
+ * description, so a reader entering the control hears "인증번호, 6자리 숫자" once; each box
38
+ * then names itself and its position — "인증번호 3번째 자리". The alternative, one input
39
+ * styled to look like six, loses the thing the boxes are for: a reader can no longer tell
40
+ * which character they are on, and a screen reader reads the whole code back on every
41
+ * keystroke.
42
+ *
43
+ * **Pasting is the case this pattern is usually missing.** A code arrives from a message app
44
+ * as one string, and six inputs that each take one character will keep the first digit and
45
+ * drop five. Both doors are covered: `onPaste` reads the clipboard and spreads it, and
46
+ * `onChange` spreads anything longer than one character — which is how the platform's own
47
+ * SMS autofill arrives, as a single fill rather than as a paste event.
48
+ */
49
+ export declare function PinInput({ value, onValueChange, length, label, type, mask, size, disabled, invalid, name, autoFocus, onComplete, id, className, required, "aria-labelledby": labelledBy, "aria-describedby": describedBy, ...rest }: PinInputProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { PinInput } from "./PinInput";
2
+ export type { PinInputProps, PinInputSize, PinInputType } from "./PinInput";
@@ -0,0 +1,30 @@
1
+ import "./Progress.css";
2
+ export type ProgressSize = "sm" | "md";
3
+ export type ProgressTone = "accent" | "success" | "warning" | "danger";
4
+ export type ProgressProps = {
5
+ /**
6
+ * How far along, 0 to `max`. Omitted means the work has no measurable end, which is a
7
+ * different statement and gets a different bar.
8
+ */
9
+ value?: number;
10
+ max?: number;
11
+ size?: ProgressSize;
12
+ tone?: ProgressTone;
13
+ /** What is progressing. A bar with no name is a bar nobody can ask about. */
14
+ label: string;
15
+ className?: string;
16
+ [key: `data-${string}`]: unknown;
17
+ };
18
+ /**
19
+ * How far along something is, or that it is going at all.
20
+ *
21
+ * A native `<progress>`, and that is the whole design. The fill's width is data — the one
22
+ * value a component genuinely cannot put in a stylesheet — and every way of expressing it in
23
+ * CSS goes through a `style` attribute, which outranks the adopter, the theme and the
24
+ * stylesheet. `<progress value="40">` puts it in an attribute where it belongs, and brings
25
+ * `role="progressbar"` and the value announcement with it.
26
+ *
27
+ * Omitting `value` makes it indeterminate, in the element's own vocabulary, and `:indeterminate`
28
+ * is what the stylesheet keys the travelling stripe off.
29
+ */
30
+ export declare function Progress({ value, max, size, tone, label, className, ...rest }: ProgressProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Progress } from "./Progress";
2
+ export type { ProgressProps, ProgressSize, ProgressTone } from "./Progress";
@@ -0,0 +1,45 @@
1
+ import type { ChangeEvent, ReactNode } from "react";
2
+ import "./Radio.css";
3
+ export type RadioSize = "sm" | "md";
4
+ export type RadioProps = {
5
+ children?: ReactNode;
6
+ /**
7
+ * The group this choice belongs to.
8
+ *
9
+ * Required, and required for a reason: radios with no shared name are not a group. They
10
+ * look like one, they behave like a row of checkboxes, and a screen reader announces each
11
+ * as "1 of 1". The browser builds the group from the name.
12
+ */
13
+ name: string;
14
+ value: string;
15
+ checked?: boolean;
16
+ defaultChecked?: boolean;
17
+ onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
18
+ size?: RadioSize;
19
+ disabled?: boolean;
20
+ invalid?: boolean;
21
+ id?: string;
22
+ /**
23
+ * Where Tab enters the group, for the group that has to overrule the browser.
24
+ *
25
+ * The browser gives a radio group one tab stop and puts it on the checked radio. The
26
+ * earlier note here said that a *disabled* checked radio leaves the group with no stop at
27
+ * all — measured, and Chromium does not do that: it moves the stop to the first enabled
28
+ * radio on its own, so the group is still reachable. Both of this repository's test
29
+ * projects are Chromium, and nothing in it sets this prop.
30
+ *
31
+ * It stays as the escape hatch for an adopter on an engine that does strand the group.
32
+ * Nothing else has any business setting it.
33
+ */
34
+ tabIndex?: number;
35
+ className?: string;
36
+ [key: `data-${string}`]: unknown;
37
+ [key: `aria-${string}`]: unknown;
38
+ };
39
+ /**
40
+ * One of several, and only one.
41
+ *
42
+ * A real `<input type="radio">`, so arrow keys move within the group and skip past it on Tab
43
+ * — which is the behaviour a reader expects and the behaviour that is hardest to rebuild.
44
+ */
45
+ export declare function Radio({ children, size, disabled, invalid, className, ...rest }: RadioProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Radio } from "./Radio";
2
+ export type { RadioProps, RadioSize } from "./Radio";
@@ -0,0 +1,40 @@
1
+ import type { ReactNode } from "react";
2
+ import "./RingProgress.css";
3
+ export type RingProgressSize = "xs" | "sm" | "md" | "lg";
4
+ export type RingProgressTone = "accent" | "success" | "warning" | "danger";
5
+ export type RingProgressProps = {
6
+ /** How far along, 0 to `max`. */
7
+ value: number;
8
+ max?: number;
9
+ size?: RingProgressSize;
10
+ tone?: RingProgressTone;
11
+ /** What is progressing. A ring with no name is a ring nobody can ask about. */
12
+ label: string;
13
+ /**
14
+ * What goes in the middle. A number, a short word, an icon.
15
+ *
16
+ * Optional, and the ring works without it: the value is already announced by the element's
17
+ * role. This is for the reader who is looking at it, and a ring with nothing in the middle
18
+ * is a shape rather than a reading.
19
+ */
20
+ children?: ReactNode;
21
+ className?: string;
22
+ [key: `data-${string}`]: unknown;
23
+ };
24
+ /**
25
+ * How far along something is, drawn as a ring.
26
+ *
27
+ * The same statement as `Progress` and a different shape, so it is a different component
28
+ * rather than a variant. A bar belongs in a row of rows, where its length is comparable to
29
+ * the one above it. A ring belongs where one number is the subject of its own box, and where
30
+ * there is room in the middle to say what the number is.
31
+ *
32
+ * Drawn with `conic-gradient` rather than SVG. An SVG ring needs `stroke-dasharray` computed
33
+ * from the radius, which means the value reaches CSS through a `style` attribute and the
34
+ * component starts owning its own size. A conic gradient takes the value as a percentage in
35
+ * one custom property and the size stays in the stylesheet, where an adopter can reach it.
36
+ *
37
+ * `role="progressbar"` with the three aria values, because a `<div>` painted with a gradient
38
+ * says nothing to a reader who cannot see it.
39
+ */
40
+ export declare function RingProgress({ value, max, size, tone, label, children, className, ...rest }: RingProgressProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { RingProgress } from "./RingProgress";
2
+ export type { RingProgressProps, RingProgressSize, RingProgressTone } from "./RingProgress";