@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.
- package/LICENSE +21 -0
- package/README.md +227 -0
- package/dist/lib/Input-Bv7L1_wj.js +90 -0
- package/dist/lib/Input-Bv7L1_wj.js.map +1 -0
- package/dist/lib/Menu-B3G64GV4.js +321 -0
- package/dist/lib/Menu-B3G64GV4.js.map +1 -0
- package/dist/lib/Switch-BkMnC02l.js +999 -0
- package/dist/lib/Switch-BkMnC02l.js.map +1 -0
- package/dist/lib/Tag-Z8PjnJFt.js +60 -0
- package/dist/lib/Tag-Z8PjnJFt.js.map +1 -0
- package/dist/lib/TagInput-BaGz-QKU.js +372 -0
- package/dist/lib/TagInput-BaGz-QKU.js.map +1 -0
- package/dist/lib/Text-D7hoYpuZ.js +26 -0
- package/dist/lib/Text-D7hoYpuZ.js.map +1 -0
- package/dist/lib/ToggleButton-D6oEjMeF.js +238 -0
- package/dist/lib/ToggleButton-D6oEjMeF.js.map +1 -0
- package/dist/lib/Toolbar-DiP1iR_t.js +3088 -0
- package/dist/lib/Toolbar-DiP1iR_t.js.map +1 -0
- package/dist/lib/Tooltip-BJSUlXS2.js +117 -0
- package/dist/lib/Tooltip-BJSUlXS2.js.map +1 -0
- package/dist/lib/VisuallyHidden-DcE0EFpo.js +194 -0
- package/dist/lib/VisuallyHidden-DcE0EFpo.js.map +1 -0
- package/dist/lib/VoiceControlBar-CWDLR71w.js +3447 -0
- package/dist/lib/VoiceControlBar-CWDLR71w.js.map +1 -0
- package/dist/lib/Waveform-BIE2Ztc8.js +318 -0
- package/dist/lib/Waveform-BIE2Ztc8.js.map +1 -0
- package/dist/lib/components/common/AspectRatio/AspectRatio.d.ts +26 -0
- package/dist/lib/components/common/AspectRatio/index.d.ts +2 -0
- package/dist/lib/components/common/Avatar/Avatar.d.ts +58 -0
- package/dist/lib/components/common/Avatar/index.d.ts +2 -0
- package/dist/lib/components/common/Badge/Badge.d.ts +36 -0
- package/dist/lib/components/common/Badge/index.d.ts +2 -0
- package/dist/lib/components/common/Blockquote/Blockquote.d.ts +40 -0
- package/dist/lib/components/common/Blockquote/index.d.ts +2 -0
- package/dist/lib/components/common/Button/Button.d.ts +38 -0
- package/dist/lib/components/common/Button/index.d.ts +2 -0
- package/dist/lib/components/common/CalibratedPulse/CalibratedPulse.d.ts +63 -0
- package/dist/lib/components/common/CalibratedPulse/index.d.ts +2 -0
- package/dist/lib/components/common/Center/Center.d.ts +23 -0
- package/dist/lib/components/common/Center/index.d.ts +2 -0
- package/dist/lib/components/common/Checkbox/Checkbox.d.ts +35 -0
- package/dist/lib/components/common/Checkbox/index.d.ts +2 -0
- package/dist/lib/components/common/Code/Code.d.ts +37 -0
- package/dist/lib/components/common/Code/index.d.ts +2 -0
- package/dist/lib/components/common/Collapse/Collapse.d.ts +29 -0
- package/dist/lib/components/common/Collapse/index.d.ts +2 -0
- package/dist/lib/components/common/Container/Container.d.ts +28 -0
- package/dist/lib/components/common/Container/index.d.ts +2 -0
- package/dist/lib/components/common/Divider/Divider.d.ts +28 -0
- package/dist/lib/components/common/Divider/index.d.ts +2 -0
- package/dist/lib/components/common/FileInput/FileInput.d.ts +52 -0
- package/dist/lib/components/common/FileInput/index.d.ts +2 -0
- package/dist/lib/components/common/Flex/Flex.d.ts +35 -0
- package/dist/lib/components/common/Flex/index.d.ts +2 -0
- package/dist/lib/components/common/Glass/Glass.d.ts +35 -0
- package/dist/lib/components/common/Glass/index.d.ts +2 -0
- package/dist/lib/components/common/Glass/refraction.d.ts +24 -0
- package/dist/lib/components/common/Glass/rim.d.ts +37 -0
- package/dist/lib/components/common/Grid/Grid.d.ts +28 -0
- package/dist/lib/components/common/Grid/GridItem.d.ts +31 -0
- package/dist/lib/components/common/Grid/index.d.ts +4 -0
- package/dist/lib/components/common/Group/Group.d.ts +38 -0
- package/dist/lib/components/common/Group/index.d.ts +2 -0
- package/dist/lib/components/common/Highlight/Highlight.d.ts +63 -0
- package/dist/lib/components/common/Highlight/index.d.ts +2 -0
- package/dist/lib/components/common/Icon/Icon.d.ts +39 -0
- package/dist/lib/components/common/Icon/index.d.ts +2 -0
- package/dist/lib/components/common/IconButton/IconButton.d.ts +34 -0
- package/dist/lib/components/common/IconButton/index.d.ts +2 -0
- package/dist/lib/components/common/Indicator/Indicator.d.ts +51 -0
- package/dist/lib/components/common/Indicator/index.d.ts +2 -0
- package/dist/lib/components/common/Input/Input.d.ts +84 -0
- package/dist/lib/components/common/Input/index.d.ts +2 -0
- package/dist/lib/components/common/Kbd/Kbd.d.ts +34 -0
- package/dist/lib/components/common/Kbd/index.d.ts +2 -0
- package/dist/lib/components/common/Link/Link.d.ts +21 -0
- package/dist/lib/components/common/Link/index.d.ts +2 -0
- package/dist/lib/components/common/Mark/Mark.d.ts +38 -0
- package/dist/lib/components/common/Mark/index.d.ts +2 -0
- package/dist/lib/components/common/MultiSelect/MultiSelect.d.ts +54 -0
- package/dist/lib/components/common/MultiSelect/index.d.ts +2 -0
- package/dist/lib/components/common/PinInput/PinInput.d.ts +49 -0
- package/dist/lib/components/common/PinInput/index.d.ts +2 -0
- package/dist/lib/components/common/Progress/Progress.d.ts +30 -0
- package/dist/lib/components/common/Progress/index.d.ts +2 -0
- package/dist/lib/components/common/Radio/Radio.d.ts +45 -0
- package/dist/lib/components/common/Radio/index.d.ts +2 -0
- package/dist/lib/components/common/RingProgress/RingProgress.d.ts +40 -0
- package/dist/lib/components/common/RingProgress/index.d.ts +2 -0
- package/dist/lib/components/common/ScrollArea/ScrollArea.d.ts +33 -0
- package/dist/lib/components/common/ScrollArea/index.d.ts +2 -0
- package/dist/lib/components/common/Select/Select.d.ts +50 -0
- package/dist/lib/components/common/Select/index.d.ts +2 -0
- package/dist/lib/components/common/Select/listbox.d.ts +68 -0
- package/dist/lib/components/common/SimpleGrid/SimpleGrid.d.ts +30 -0
- package/dist/lib/components/common/SimpleGrid/index.d.ts +2 -0
- package/dist/lib/components/common/Skeleton/Skeleton.d.ts +23 -0
- package/dist/lib/components/common/Skeleton/index.d.ts +2 -0
- package/dist/lib/components/common/Slider/Slider.d.ts +55 -0
- package/dist/lib/components/common/Slider/index.d.ts +2 -0
- package/dist/lib/components/common/Space/Space.d.ts +29 -0
- package/dist/lib/components/common/Space/index.d.ts +2 -0
- package/dist/lib/components/common/Spinner/Spinner.d.ts +25 -0
- package/dist/lib/components/common/Spinner/index.d.ts +2 -0
- package/dist/lib/components/common/Stack/Stack.d.ts +41 -0
- package/dist/lib/components/common/Stack/index.d.ts +2 -0
- package/dist/lib/components/common/Switch/Switch.d.ts +28 -0
- package/dist/lib/components/common/Switch/index.d.ts +2 -0
- package/dist/lib/components/common/Text/Text.d.ts +57 -0
- package/dist/lib/components/common/Text/index.d.ts +2 -0
- package/dist/lib/components/common/Textarea/Textarea.d.ts +29 -0
- package/dist/lib/components/common/Textarea/index.d.ts +2 -0
- package/dist/lib/components/common/Tooltip/Tooltip.d.ts +33 -0
- package/dist/lib/components/common/Tooltip/index.d.ts +2 -0
- package/dist/lib/components/common/VisuallyHidden/VisuallyHidden.d.ts +20 -0
- package/dist/lib/components/common/VisuallyHidden/index.d.ts +2 -0
- package/dist/lib/components/common/Waveform/Waveform.d.ts +66 -0
- package/dist/lib/components/common/Waveform/index.d.ts +2 -0
- package/dist/lib/components/common/index.d.ts +44 -0
- package/dist/lib/components/common/index.js +7 -0
- package/dist/lib/components/composed/AppShell/AppShell.d.ts +95 -0
- package/dist/lib/components/composed/AppShell/index.d.ts +2 -0
- package/dist/lib/components/composed/Breadcrumb/Breadcrumb.d.ts +46 -0
- package/dist/lib/components/composed/Breadcrumb/index.d.ts +2 -0
- package/dist/lib/components/composed/BulkActionBar/BulkActionBar.d.ts +48 -0
- package/dist/lib/components/composed/BulkActionBar/index.d.ts +2 -0
- package/dist/lib/components/composed/Callout/Callout.d.ts +43 -0
- package/dist/lib/components/composed/Callout/index.d.ts +2 -0
- package/dist/lib/components/composed/Card/Card.d.ts +80 -0
- package/dist/lib/components/composed/Card/index.d.ts +2 -0
- package/dist/lib/components/composed/Carousel/Carousel.d.ts +52 -0
- package/dist/lib/components/composed/Carousel/index.d.ts +2 -0
- package/dist/lib/components/composed/Combobox/Combobox.d.ts +50 -0
- package/dist/lib/components/composed/Combobox/index.d.ts +2 -0
- package/dist/lib/components/composed/CommandPalette/CommandPalette.d.ts +51 -0
- package/dist/lib/components/composed/CommandPalette/index.d.ts +2 -0
- package/dist/lib/components/composed/DatePicker/Calendar.d.ts +49 -0
- package/dist/lib/components/composed/DatePicker/DatePicker.d.ts +36 -0
- package/dist/lib/components/composed/DatePicker/dates.d.ts +50 -0
- package/dist/lib/components/composed/DatePicker/index.d.ts +3 -0
- package/dist/lib/components/composed/DateRangePicker/DateRangePicker.d.ts +40 -0
- package/dist/lib/components/composed/DateRangePicker/index.d.ts +2 -0
- package/dist/lib/components/composed/Disclosure/Disclosure.d.ts +44 -0
- package/dist/lib/components/composed/Disclosure/index.d.ts +2 -0
- package/dist/lib/components/composed/Drawer/Drawer.d.ts +39 -0
- package/dist/lib/components/composed/Drawer/index.d.ts +2 -0
- package/dist/lib/components/composed/EmptyState/EmptyState.d.ts +43 -0
- package/dist/lib/components/composed/EmptyState/index.d.ts +2 -0
- package/dist/lib/components/composed/Field/Field.d.ts +63 -0
- package/dist/lib/components/composed/Field/index.d.ts +2 -0
- package/dist/lib/components/composed/FilterBar/FilterBar.d.ts +58 -0
- package/dist/lib/components/composed/FilterBar/index.d.ts +2 -0
- package/dist/lib/components/composed/FormSection/FormSection.d.ts +35 -0
- package/dist/lib/components/composed/FormSection/index.d.ts +2 -0
- package/dist/lib/components/composed/ListRow/ListRow.d.ts +83 -0
- package/dist/lib/components/composed/ListRow/index.d.ts +2 -0
- package/dist/lib/components/composed/Menu/Menu.d.ts +102 -0
- package/dist/lib/components/composed/Menu/index.d.ts +2 -0
- package/dist/lib/components/composed/Menu/scope.d.ts +15 -0
- package/dist/lib/components/composed/Modal/Modal.d.ts +65 -0
- package/dist/lib/components/composed/Modal/index.d.ts +2 -0
- package/dist/lib/components/composed/PageHeader/PageHeader.d.ts +46 -0
- package/dist/lib/components/composed/PageHeader/index.d.ts +2 -0
- package/dist/lib/components/composed/Pagination/Pagination.d.ts +48 -0
- package/dist/lib/components/composed/Pagination/index.d.ts +2 -0
- package/dist/lib/components/composed/Popover/Popover.d.ts +47 -0
- package/dist/lib/components/composed/Popover/index.d.ts +2 -0
- package/dist/lib/components/composed/PreferenceRow/PreferenceRow.d.ts +43 -0
- package/dist/lib/components/composed/PreferenceRow/index.d.ts +2 -0
- package/dist/lib/components/composed/Sheet/Sheet.d.ts +53 -0
- package/dist/lib/components/composed/Sheet/index.d.ts +2 -0
- package/dist/lib/components/composed/SidePanel/SidePanel.d.ts +34 -0
- package/dist/lib/components/composed/SidePanel/index.d.ts +2 -0
- package/dist/lib/components/composed/SidebarNav/SidebarNav.d.ts +85 -0
- package/dist/lib/components/composed/SidebarNav/index.d.ts +2 -0
- package/dist/lib/components/composed/Spotlight/Spotlight.d.ts +57 -0
- package/dist/lib/components/composed/Spotlight/index.d.ts +2 -0
- package/dist/lib/components/composed/Stepper/Stepper.d.ts +36 -0
- package/dist/lib/components/composed/Stepper/index.d.ts +2 -0
- package/dist/lib/components/composed/Table/Table.d.ts +142 -0
- package/dist/lib/components/composed/Table/index.d.ts +2 -0
- package/dist/lib/components/composed/Tabs/Tabs.d.ts +48 -0
- package/dist/lib/components/composed/Tabs/index.d.ts +2 -0
- package/dist/lib/components/composed/TimeInput/TimeInput.d.ts +41 -0
- package/dist/lib/components/composed/TimeInput/index.d.ts +3 -0
- package/dist/lib/components/composed/TimeInput/times.d.ts +47 -0
- package/dist/lib/components/composed/Toast/Toast.d.ts +37 -0
- package/dist/lib/components/composed/Toast/index.d.ts +2 -0
- package/dist/lib/components/composed/Toolbar/Toolbar.d.ts +45 -0
- package/dist/lib/components/composed/Toolbar/index.d.ts +2 -0
- package/dist/lib/components/composed/index.d.ts +33 -0
- package/dist/lib/components/composed/index.js +3 -0
- package/dist/lib/components/derived/AvatarGroup/AvatarGroup.d.ts +52 -0
- package/dist/lib/components/derived/AvatarGroup/index.d.ts +2 -0
- package/dist/lib/components/derived/ButtonGroup/ButtonGroup.d.ts +33 -0
- package/dist/lib/components/derived/ButtonGroup/index.d.ts +2 -0
- package/dist/lib/components/derived/ChoiceCard/ChoiceCard.d.ts +43 -0
- package/dist/lib/components/derived/ChoiceCard/index.d.ts +2 -0
- package/dist/lib/components/derived/InputGroup/InputGroup.d.ts +23 -0
- package/dist/lib/components/derived/InputGroup/index.d.ts +2 -0
- package/dist/lib/components/derived/MorphIcon/MorphIcon.d.ts +71 -0
- package/dist/lib/components/derived/MorphIcon/index.d.ts +2 -0
- package/dist/lib/components/derived/NumberFlow/NumberFlow.d.ts +47 -0
- package/dist/lib/components/derived/NumberFlow/index.d.ts +2 -0
- package/dist/lib/components/derived/NumberInput/NumberInput.d.ts +54 -0
- package/dist/lib/components/derived/NumberInput/index.d.ts +2 -0
- package/dist/lib/components/derived/PasswordInput/PasswordInput.d.ts +53 -0
- package/dist/lib/components/derived/PasswordInput/index.d.ts +2 -0
- package/dist/lib/components/derived/SearchInput/SearchInput.d.ts +33 -0
- package/dist/lib/components/derived/SearchInput/index.d.ts +2 -0
- package/dist/lib/components/derived/SegmentedControl/SegmentedControl.d.ts +44 -0
- package/dist/lib/components/derived/SegmentedControl/index.d.ts +2 -0
- package/dist/lib/components/derived/SplitButton/SplitButton.d.ts +42 -0
- package/dist/lib/components/derived/SplitButton/index.d.ts +2 -0
- package/dist/lib/components/derived/StatusDot/StatusDot.d.ts +31 -0
- package/dist/lib/components/derived/StatusDot/index.d.ts +2 -0
- package/dist/lib/components/derived/Tag/Tag.d.ts +47 -0
- package/dist/lib/components/derived/Tag/index.d.ts +2 -0
- package/dist/lib/components/derived/TagInput/TagInput.d.ts +28 -0
- package/dist/lib/components/derived/TagInput/index.d.ts +2 -0
- package/dist/lib/components/derived/TextCycle/TextCycle.d.ts +40 -0
- package/dist/lib/components/derived/TextCycle/index.d.ts +2 -0
- package/dist/lib/components/derived/ToggleButton/ToggleButton.d.ts +43 -0
- package/dist/lib/components/derived/ToggleButton/index.d.ts +2 -0
- package/dist/lib/components/derived/index.d.ts +16 -0
- package/dist/lib/components/derived/index.js +4 -0
- package/dist/lib/components/extended/ActivityList/ActivityList.d.ts +38 -0
- package/dist/lib/components/extended/ActivityList/index.d.ts +2 -0
- package/dist/lib/components/extended/AddressForm/AddressForm.d.ts +71 -0
- package/dist/lib/components/extended/AddressForm/index.d.ts +2 -0
- package/dist/lib/components/extended/ApprovalGate/ApprovalGate.d.ts +60 -0
- package/dist/lib/components/extended/ApprovalGate/index.d.ts +2 -0
- package/dist/lib/components/extended/BackgroundProgress/BackgroundProgress.d.ts +63 -0
- package/dist/lib/components/extended/BackgroundProgress/index.d.ts +2 -0
- package/dist/lib/components/extended/Citation/Citation.d.ts +61 -0
- package/dist/lib/components/extended/Citation/index.d.ts +2 -0
- package/dist/lib/components/extended/CommentThread/CommentThread.d.ts +61 -0
- package/dist/lib/components/extended/CommentThread/index.d.ts +2 -0
- package/dist/lib/components/extended/Composer/Composer.d.ts +57 -0
- package/dist/lib/components/extended/Composer/index.d.ts +2 -0
- package/dist/lib/components/extended/CouponField/CouponField.d.ts +59 -0
- package/dist/lib/components/extended/CouponField/index.d.ts +2 -0
- package/dist/lib/components/extended/DataGrid/DataGrid.d.ts +161 -0
- package/dist/lib/components/extended/DataGrid/DataGrid.state.d.ts +93 -0
- package/dist/lib/components/extended/DataGrid/index.d.ts +2 -0
- package/dist/lib/components/extended/Dropzone/Dropzone.d.ts +83 -0
- package/dist/lib/components/extended/Dropzone/index.d.ts +2 -0
- package/dist/lib/components/extended/FeedbackControl/FeedbackControl.d.ts +47 -0
- package/dist/lib/components/extended/FeedbackControl/index.d.ts +2 -0
- package/dist/lib/components/extended/FilterBuilder/FilterBuilder.d.ts +67 -0
- package/dist/lib/components/extended/FilterBuilder/index.d.ts +2 -0
- package/dist/lib/components/extended/FollowUpList/FollowUpList.d.ts +34 -0
- package/dist/lib/components/extended/FollowUpList/index.d.ts +2 -0
- package/dist/lib/components/extended/KanbanColumn/KanbanColumn.d.ts +62 -0
- package/dist/lib/components/extended/KanbanColumn/index.d.ts +2 -0
- package/dist/lib/components/extended/Message/Message.d.ts +43 -0
- package/dist/lib/components/extended/Message/index.d.ts +2 -0
- package/dist/lib/components/extended/MessageList/MessageList.d.ts +66 -0
- package/dist/lib/components/extended/MessageList/index.d.ts +2 -0
- package/dist/lib/components/extended/MetricCard/MetricCard.d.ts +60 -0
- package/dist/lib/components/extended/MetricCard/index.d.ts +2 -0
- package/dist/lib/components/extended/OrderSummary/OrderSummary.d.ts +70 -0
- package/dist/lib/components/extended/OrderSummary/index.d.ts +2 -0
- package/dist/lib/components/extended/PaymentMethodSelector/PaymentMethodSelector.d.ts +65 -0
- package/dist/lib/components/extended/PaymentMethodSelector/index.d.ts +2 -0
- package/dist/lib/components/extended/PresenceBar/PresenceBar.d.ts +49 -0
- package/dist/lib/components/extended/PresenceBar/index.d.ts +2 -0
- package/dist/lib/components/extended/PriceDisplay/PriceDisplay.d.ts +53 -0
- package/dist/lib/components/extended/PriceDisplay/index.d.ts +2 -0
- package/dist/lib/components/extended/ProductCard/ProductCard.d.ts +58 -0
- package/dist/lib/components/extended/ProductCard/index.d.ts +2 -0
- package/dist/lib/components/extended/QuantityStepper/QuantityStepper.d.ts +41 -0
- package/dist/lib/components/extended/QuantityStepper/index.d.ts +2 -0
- package/dist/lib/components/extended/ReasoningDisclosure/ReasoningDisclosure.d.ts +33 -0
- package/dist/lib/components/extended/ReasoningDisclosure/index.d.ts +2 -0
- package/dist/lib/components/extended/RecognitionFallback/RecognitionFallback.d.ts +57 -0
- package/dist/lib/components/extended/RecognitionFallback/index.d.ts +2 -0
- package/dist/lib/components/extended/RunStatusCard/RunStatusCard.d.ts +51 -0
- package/dist/lib/components/extended/RunStatusCard/index.d.ts +2 -0
- package/dist/lib/components/extended/SavedViewTabs/SavedViewTabs.d.ts +49 -0
- package/dist/lib/components/extended/SavedViewTabs/index.d.ts +2 -0
- package/dist/lib/components/extended/SourceChip/SourceChip.d.ts +37 -0
- package/dist/lib/components/extended/SourceChip/index.d.ts +2 -0
- package/dist/lib/components/extended/SourceChipRow/SourceChipRow.d.ts +54 -0
- package/dist/lib/components/extended/SourceChipRow/index.d.ts +2 -0
- package/dist/lib/components/extended/SourcePanel/SourcePanel.d.ts +46 -0
- package/dist/lib/components/extended/SourcePanel/index.d.ts +2 -0
- package/dist/lib/components/extended/StreamingText/StreamingText.d.ts +30 -0
- package/dist/lib/components/extended/StreamingText/index.d.ts +2 -0
- package/dist/lib/components/extended/ToolCallCard/ToolCallCard.d.ts +52 -0
- package/dist/lib/components/extended/ToolCallCard/index.d.ts +2 -0
- package/dist/lib/components/extended/TranscriptSync/TranscriptSync.d.ts +58 -0
- package/dist/lib/components/extended/TranscriptSync/index.d.ts +2 -0
- package/dist/lib/components/extended/TrustBlock/TrustBlock.d.ts +37 -0
- package/dist/lib/components/extended/TrustBlock/index.d.ts +2 -0
- package/dist/lib/components/extended/VoiceControlBar/VoiceControlBar.d.ts +77 -0
- package/dist/lib/components/extended/VoiceControlBar/index.d.ts +2 -0
- package/dist/lib/components/extended/index.d.ts +35 -0
- package/dist/lib/components/extended/index.js +2 -0
- package/dist/lib/fonts/pretendard/LICENSE.txt +94 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.0.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.1.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.10.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.11.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.12.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.13.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.14.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.15.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.16.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.17.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.18.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.19.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.2.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.20.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.21.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.22.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.23.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.24.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.25.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.26.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.27.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.28.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.29.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.3.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.30.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.31.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.32.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.33.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.34.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.35.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.36.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.37.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.38.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.39.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.4.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.40.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.41.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.42.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.43.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.44.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.45.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.46.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.47.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.48.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.49.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.5.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.50.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.51.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.52.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.53.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.54.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.55.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.56.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.57.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.58.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.59.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.6.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.60.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.61.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.62.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.63.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.64.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.65.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.66.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.67.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.68.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.69.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.7.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.70.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.71.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.72.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.73.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.74.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.75.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.76.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.77.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.78.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.79.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.8.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.80.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.81.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.82.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.83.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.84.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.85.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.86.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.87.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.88.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.89.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.9.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.90.woff2 +0 -0
- package/dist/lib/fonts/pretendard/PretendardVariable.subset.91.woff2 +0 -0
- package/dist/lib/foundation/focus.d.ts +10 -0
- package/dist/lib/foundation/josa.d.ts +4 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.js +13 -0
- package/dist/lib/pretendard.css +940 -0
- package/dist/lib/reset.css +50 -0
- package/dist/lib/styles.css +3 -0
- package/dist/lib/tokens.css +1118 -0
- package/package.json +91 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import "./SavedViewTabs.css";
|
|
3
|
+
export type SavedView = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
/** Changed since it was saved. The dot, and whatever the adopter puts in the menu. */
|
|
7
|
+
dirty?: boolean;
|
|
8
|
+
/** How many rows the query returns. Omitted while it is unknown. */
|
|
9
|
+
count?: number;
|
|
10
|
+
};
|
|
11
|
+
export type SavedViewTabsProps = {
|
|
12
|
+
views: SavedView[];
|
|
13
|
+
value: string;
|
|
14
|
+
onValueChange: (id: string) => void;
|
|
15
|
+
/** What the set of views is. "저장한 보기". */
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* The id of the region the views change.
|
|
19
|
+
*
|
|
20
|
+
* Required, because a tab that controls nothing is not a tab. The adopter marks their
|
|
21
|
+
* results region `role="tabpanel"` with this id and it becomes one panel whose content
|
|
22
|
+
* changes — which is exactly what a saved view is.
|
|
23
|
+
*/
|
|
24
|
+
panelId: string;
|
|
25
|
+
/** Rename, duplicate, delete. Rendered beside the active view; see the note. */
|
|
26
|
+
menu?: (view: SavedView) => ReactNode;
|
|
27
|
+
onAdd?: () => void;
|
|
28
|
+
addLabel?: string;
|
|
29
|
+
className?: string;
|
|
30
|
+
[key: `data-${string}`]: unknown;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Saved queries, along the top.
|
|
34
|
+
*
|
|
35
|
+
* **A tab cannot contain a button.** Interactive content inside interactive content is
|
|
36
|
+
* invalid HTML, and browsers resolve it by dropping one of the two — usually the inner one,
|
|
37
|
+
* which is the one the reader was aiming at. So the per-view menu is the tab's *neighbour*
|
|
38
|
+
* inside the same chip rather than its child: the arrows move between tabs, and Tab from the
|
|
39
|
+
* active view reaches its menu. The chip is drawn as one thing because to a reader it is one
|
|
40
|
+
* thing; in the document it is two controls, which is what it has to be.
|
|
41
|
+
*
|
|
42
|
+
* **Only the active view carries a menu.** Renaming a view you are not looking at is a
|
|
43
|
+
* command from somewhere else; six menu buttons in a row is six tab stops between the reader
|
|
44
|
+
* and the view they wanted.
|
|
45
|
+
*
|
|
46
|
+
* **They scroll rather than wrap.** A row of views that reflows to two lines moves everything
|
|
47
|
+
* under it every time one is added, and the count of saved views only ever goes up.
|
|
48
|
+
*/
|
|
49
|
+
export declare function SavedViewTabs({ views, value, onValueChange, label, panelId, menu, onAdd, addLabel, className, ...rest }: SavedViewTabsProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import "./SourceChip.css";
|
|
2
|
+
export type SourceChipSize = "sm" | "md";
|
|
3
|
+
export type SourceChipProps = {
|
|
4
|
+
/** The page's own title. */
|
|
5
|
+
title: string;
|
|
6
|
+
/** Where it came from — `nts.go.kr`, not `https://www.nts.go.kr/nts/na/...`. */
|
|
7
|
+
domain: string;
|
|
8
|
+
href: string;
|
|
9
|
+
/** The number in the text this chip answers to. Omitted, the chip stands alone. */
|
|
10
|
+
index?: number;
|
|
11
|
+
/** A favicon URL. Decorative; the domain is what names the source. */
|
|
12
|
+
favicon?: string;
|
|
13
|
+
/** Title only, for a dense row under a paragraph. */
|
|
14
|
+
compact?: boolean;
|
|
15
|
+
size?: SourceChipSize;
|
|
16
|
+
className?: string;
|
|
17
|
+
[key: `data-${string}`]: unknown;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* One source, as a thing you can click.
|
|
21
|
+
*
|
|
22
|
+
* The **domain** identifies a source, not the URL and not the title. Two pages on the same
|
|
23
|
+
* site have different titles and are the same source to a reader deciding whether to trust
|
|
24
|
+
* it; a URL with a session token in it identifies nothing at all. So the domain is always
|
|
25
|
+
* shown, and it is the part that never truncates.
|
|
26
|
+
*
|
|
27
|
+
* The **favicon is decorative** and gets an empty `alt`. It also fails — a blocked request, a
|
|
28
|
+
* site with none, an offline reader — and a favicon that fails is a broken-image glyph in the
|
|
29
|
+
* middle of the answer. So it falls back to the domain's first letter, on a neutral ground.
|
|
30
|
+
*
|
|
31
|
+
* Deliberately not a colour derived from the domain: every colour in this library means
|
|
32
|
+
* something, and a source tinted green would be saying "success" about a web page.
|
|
33
|
+
*
|
|
34
|
+
* The **number ties it to the sentence**. A list of sources with no numbers cannot be matched
|
|
35
|
+
* to the claims it supports, which is the only reason the list is there.
|
|
36
|
+
*/
|
|
37
|
+
export declare function SourceChip({ title, domain, href, index, favicon, compact, size, className, ...rest }: SourceChipProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type SourceChipSize } from "../SourceChip";
|
|
2
|
+
import "./SourceChipRow.css";
|
|
3
|
+
export type SourceChipRowSource = {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
domain: string;
|
|
7
|
+
href: string;
|
|
8
|
+
/** The number this source carries in the answer. */
|
|
9
|
+
index?: number;
|
|
10
|
+
favicon?: string;
|
|
11
|
+
};
|
|
12
|
+
/** The most chips the stylesheet enumerates. Past this the row stops counting and folds. */
|
|
13
|
+
export declare const SOURCE_CHIP_ROW_MAX = 12;
|
|
14
|
+
export type SourceChipRowProps = {
|
|
15
|
+
sources: SourceChipRowSource[];
|
|
16
|
+
/** What the row is. "이 답의 출처". Names the group. */
|
|
17
|
+
label: string;
|
|
18
|
+
/**
|
|
19
|
+
* Pressed when the reader asks for the ones that did not fit — usually opens the panel.
|
|
20
|
+
*
|
|
21
|
+
* Without it there is no counter to press: the row still measures one, because the fold has
|
|
22
|
+
* to know how wide it is, but it is drawn as text rather than as a control. A `+3` that
|
|
23
|
+
* takes focus and answers nothing is the one way out of the fold not working.
|
|
24
|
+
*/
|
|
25
|
+
onOverflow?: () => void;
|
|
26
|
+
compact?: boolean;
|
|
27
|
+
/** Passed to every chip in the row. A dense row under a paragraph is usually `sm`. */
|
|
28
|
+
size?: SourceChipSize;
|
|
29
|
+
className?: string;
|
|
30
|
+
[key: `data-${string}`]: unknown;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Every source for an answer, on one line, with the rest folded into `+N`.
|
|
34
|
+
*
|
|
35
|
+
* `SourceChip` has existed since the agent layer and there has never been a row to put chips
|
|
36
|
+
* in — so every adopter wrapped them in their own flex box, and every one of those wrapped to
|
|
37
|
+
* a second line the moment there were four sources. A second line of sources under a two-line
|
|
38
|
+
* answer is a page where the citation apparatus is larger than the claim.
|
|
39
|
+
*
|
|
40
|
+
* **How many fit is a measurement, and a measurement may not become a style.**
|
|
41
|
+
*
|
|
42
|
+
* The usual answer writes `style="display:none"` on the overflow, which is a value in the one
|
|
43
|
+
* place no stylesheet can reach and the rule this library doubles every root selector to
|
|
44
|
+
* avoid. So the row measures and writes down *how many* — `data-visible="3"` — and the
|
|
45
|
+
* stylesheet, which enumerates the counts, hides the rest. The number crossing that boundary
|
|
46
|
+
* is a count, not a length.
|
|
47
|
+
*
|
|
48
|
+
* The folded chips are taken out of the flow rather than out of the document, because they
|
|
49
|
+
* still have to be measurable: a chip removed with `display: none` has no width, and a row
|
|
50
|
+
* that cannot see the widths cannot work out how many fit the next time the window moves.
|
|
51
|
+
* `visibility: hidden` also takes them out of the tab order, which is the other half — a
|
|
52
|
+
* reader must not tab into a chip nobody can see.
|
|
53
|
+
*/
|
|
54
|
+
export declare function SourceChipRow({ sources, label, onOverflow, compact, size, className, ...rest }: SourceChipRowProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import "./SourcePanel.css";
|
|
3
|
+
export type Source = {
|
|
4
|
+
id: string;
|
|
5
|
+
/** The number this source carries in the answer. Not its position in this list. */
|
|
6
|
+
index: number;
|
|
7
|
+
title: string;
|
|
8
|
+
domain: string;
|
|
9
|
+
href: string;
|
|
10
|
+
favicon?: string;
|
|
11
|
+
/** The sentence the claim came from. One or two lines. */
|
|
12
|
+
snippet?: ReactNode;
|
|
13
|
+
};
|
|
14
|
+
export type SourcePanelProps = {
|
|
15
|
+
sources: Source[];
|
|
16
|
+
/** What the list is. "근거", "참고한 문서". */
|
|
17
|
+
label: string;
|
|
18
|
+
/**
|
|
19
|
+
* How many were read to produce the ones listed.
|
|
20
|
+
*
|
|
21
|
+
* Worth saying when it is more: an answer built from five of twelve pages is a different
|
|
22
|
+
* claim from one built from the only five that existed.
|
|
23
|
+
*/
|
|
24
|
+
found?: number;
|
|
25
|
+
/** Several results from one site are one site. */
|
|
26
|
+
group?: boolean;
|
|
27
|
+
empty?: ReactNode;
|
|
28
|
+
className?: string;
|
|
29
|
+
[key: `data-${string}`]: unknown;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* What the answer was built from.
|
|
33
|
+
*
|
|
34
|
+
* **Grouped by site**, because five results from one blog are one blog. A flat list of twelve
|
|
35
|
+
* links reads as twelve independent confirmations of the same claim, which is exactly the
|
|
36
|
+
* impression a reader should not be given.
|
|
37
|
+
*
|
|
38
|
+
* **Numbered from the answer, not from the list.** The number is the citation the paragraph
|
|
39
|
+
* carries, so it is rendered rather than left to an `<ol>` marker — the moment the list is
|
|
40
|
+
* grouped or filtered, a marker and a citation stop agreeing and every reference in the text
|
|
41
|
+
* points at the wrong page.
|
|
42
|
+
*
|
|
43
|
+
* **It says what it did not use.** "12개 중 5개" is the difference between a search that found
|
|
44
|
+
* agreement and one that found one page.
|
|
45
|
+
*/
|
|
46
|
+
export declare function SourcePanel({ sources, label, found, group, empty, className, ...rest }: SourcePanelProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import "./StreamingText.css";
|
|
3
|
+
export type StreamingTextProps = {
|
|
4
|
+
/** Everything that has arrived so far. Not the whole answer — what is on screen. */
|
|
5
|
+
text: string;
|
|
6
|
+
/** The stream has ended. Turns off the caret and lifts `aria-busy`. */
|
|
7
|
+
done?: boolean;
|
|
8
|
+
/** Shown instead of the caret while nothing has arrived yet. */
|
|
9
|
+
placeholder?: ReactNode;
|
|
10
|
+
caret?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
[key: `data-${string}`]: unknown;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Text that is still arriving.
|
|
16
|
+
*
|
|
17
|
+
* It takes what has arrived rather than the whole answer and a speed, because that is what a
|
|
18
|
+
* stream is: a component that animates a finished string is a typewriter effect, and the two
|
|
19
|
+
* fail in opposite directions — the typewriter is still typing after the answer is complete.
|
|
20
|
+
*
|
|
21
|
+
* `aria-busy` is the whole accessibility of this component. A thread is a live region, and a
|
|
22
|
+
* live region whose text node changes forty times a second reads the answer aloud one
|
|
23
|
+
* syllable at a time, restarting on every token. Marked busy, the subtree is left alone until
|
|
24
|
+
* it settles, and then the finished sentence is announced once. Rendering the chunks into a
|
|
25
|
+
* live region without it is the single most common way this component is got wrong.
|
|
26
|
+
*
|
|
27
|
+
* The caret is an infinite animation, so under `prefers-reduced-motion` it is switched off
|
|
28
|
+
* rather than shortened — a blink collapsed to 0.01ms is a strobe, not a stillness.
|
|
29
|
+
*/
|
|
30
|
+
export declare function StreamingText({ text, done, placeholder, caret, className, ...rest }: StreamingTextProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import "./ToolCallCard.css";
|
|
3
|
+
export type ToolCallState = "pending" | "running" | "success" | "error";
|
|
4
|
+
export type ToolCallCardProps = {
|
|
5
|
+
/** The tool's name as the system knows it — `search_web`, not "웹을 검색합니다". */
|
|
6
|
+
name: string;
|
|
7
|
+
state: ToolCallState;
|
|
8
|
+
/** What it was called with. Code: shown in the mono face, wrapped, never truncated. */
|
|
9
|
+
args?: string;
|
|
10
|
+
/** What came back. */
|
|
11
|
+
result?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Why it failed, in the words the failure used.
|
|
14
|
+
*
|
|
15
|
+
* "실패했습니다" tells the reader nothing they did not already see from the red mark. The
|
|
16
|
+
* message is the only part of a failed call that is worth anything.
|
|
17
|
+
*/
|
|
18
|
+
error?: string;
|
|
19
|
+
/** "1.2초". A fact after the event. */
|
|
20
|
+
duration?: string;
|
|
21
|
+
/** One line under the name, for a reader who does not know what the tool is. */
|
|
22
|
+
summary?: ReactNode;
|
|
23
|
+
/** Retry, open the result elsewhere — under the body, never in the summary row. */
|
|
24
|
+
actions?: ReactNode;
|
|
25
|
+
defaultOpen?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Controlled, for a list where only one call is open at a time.
|
|
28
|
+
*
|
|
29
|
+
* Handed straight to `Disclosure`, which is what makes the controlled mode reachable at
|
|
30
|
+
* all: without these the card could only ever keep its own state, and a run of eight of
|
|
31
|
+
* them had no way to close the one the reader just left.
|
|
32
|
+
*/
|
|
33
|
+
open?: boolean;
|
|
34
|
+
onOpenChange?: (open: boolean) => void;
|
|
35
|
+
className?: string;
|
|
36
|
+
[key: `data-${string}`]: unknown;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* One call to one tool: what it was, what it was given, what came back.
|
|
40
|
+
*
|
|
41
|
+
* Folded by default. A run makes eight of these and the reader wants none of them open until
|
|
42
|
+
* something goes wrong — but they must all be *there*, because the moment the answer is
|
|
43
|
+
* surprising the first question is what it was built from.
|
|
44
|
+
*
|
|
45
|
+
* The arguments are code and are set as code: the mono face, wrapping at any character, and
|
|
46
|
+
* never truncated with an ellipsis. A path cut off at the interesting end is worse than no
|
|
47
|
+
* path, and JSON with no break opportunity pushes the whole thread sideways.
|
|
48
|
+
*
|
|
49
|
+
* A failed call keeps its own error text. The state is also in words in the header, not only
|
|
50
|
+
* in the colour of the mark.
|
|
51
|
+
*/
|
|
52
|
+
export declare function ToolCallCard({ name, state, args, result, error, duration, summary, actions, defaultOpen, open, onOpenChange, className, ...rest }: ToolCallCardProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import "./TranscriptSync.css";
|
|
3
|
+
export type TranscriptSegment = {
|
|
4
|
+
id: string;
|
|
5
|
+
text: string;
|
|
6
|
+
/**
|
|
7
|
+
* Seconds. **Omitted is the common case, not the error case.**
|
|
8
|
+
*
|
|
9
|
+
* Live transcription arrives in chunks whose timing the model has not settled yet, and a
|
|
10
|
+
* component that treated an untimed segment as broken would refuse to draw most of a live
|
|
11
|
+
* transcript. What a segment without a time loses is only the ability to be jumped to.
|
|
12
|
+
*/
|
|
13
|
+
start?: number;
|
|
14
|
+
end?: number;
|
|
15
|
+
/** Who said it. Repeated only when it changes — a name on every line is a name nobody reads. */
|
|
16
|
+
speaker?: string;
|
|
17
|
+
};
|
|
18
|
+
export type TranscriptSyncProps = {
|
|
19
|
+
segments: TranscriptSegment[];
|
|
20
|
+
/**
|
|
21
|
+
* Where the media is, in seconds.
|
|
22
|
+
*
|
|
23
|
+
* The component owns no media element. `currentTime` comes in and a time to seek to goes
|
|
24
|
+
* out; play, pause, rate and buffering all belong to whatever is actually playing. A
|
|
25
|
+
* transcript that held an `<audio>` would be a transcript that could only ever be used with
|
|
26
|
+
* the one player it built.
|
|
27
|
+
*/
|
|
28
|
+
currentTime: number;
|
|
29
|
+
/** Given, a timed segment can be jumped to. Without it the transcript is a transcript. */
|
|
30
|
+
onSeek?: (time: number) => void;
|
|
31
|
+
/** What this is a record of. "통화 기록". Names the region. */
|
|
32
|
+
label: string;
|
|
33
|
+
loading?: boolean;
|
|
34
|
+
empty?: ReactNode;
|
|
35
|
+
error?: ReactNode;
|
|
36
|
+
className?: string;
|
|
37
|
+
[key: `data-${string}`]: unknown;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* What was said, with the part being said now marked.
|
|
41
|
+
*
|
|
42
|
+
* **The current segment is the one that contains the time, not the one nearest it.** A
|
|
43
|
+
* transcript with gaps — silences, music, a passage nobody transcribed — has moments that
|
|
44
|
+
* belong to no segment, and "nearest" turns those into a highlight sitting on a line that is
|
|
45
|
+
* not being read. Nothing is current during a silence, which is the truth and also what it
|
|
46
|
+
* looks like.
|
|
47
|
+
*
|
|
48
|
+
* **Following yields to the reader.** The list scrolls itself to the current line until
|
|
49
|
+
* somebody scrolls it themselves, and then it stops and offers to resume. A transcript that
|
|
50
|
+
* kept yanking itself back is a transcript nobody can read two lines above the playhead — and
|
|
51
|
+
* reading two lines above the playhead is most of what a transcript is for.
|
|
52
|
+
*
|
|
53
|
+
* **It does not announce.** The current segment changes every few seconds; a live region on it
|
|
54
|
+
* would read the whole conversation twice, once from the speaker and once from the screen
|
|
55
|
+
* reader, and neither would be followable. The marked line is `aria-current` and the reader
|
|
56
|
+
* moves at their own pace.
|
|
57
|
+
*/
|
|
58
|
+
export declare function TranscriptSync({ segments, currentTime, onSeek, label, loading, empty, error, className, ...rest }: TranscriptSyncProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { LucideIcon } from "lucide-react";
|
|
3
|
+
import "./TrustBlock.css";
|
|
4
|
+
export type TrustPoint = {
|
|
5
|
+
id: string;
|
|
6
|
+
icon: LucideIcon;
|
|
7
|
+
title: string;
|
|
8
|
+
/** One sentence. Two is a paragraph and this is not the place for one. */
|
|
9
|
+
body?: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export type TrustBlockProps = {
|
|
12
|
+
points: TrustPoint[];
|
|
13
|
+
/** What the block is. Names the list; omitted, it is decoration in the accessibility tree. */
|
|
14
|
+
label: string;
|
|
15
|
+
/** Icon over the words, for a wide strip; icon beside them, for a narrow column. */
|
|
16
|
+
layout?: "stack" | "row";
|
|
17
|
+
size?: "sm" | "md";
|
|
18
|
+
align?: "start" | "center";
|
|
19
|
+
className?: string;
|
|
20
|
+
[key: `data-${string}`]: unknown;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* 무료 반품 · 안전 결제 · 빠른 배송 — the reassurances, in a strip.
|
|
24
|
+
*
|
|
25
|
+
* **It is not a Callout, and looks nothing like one on purpose.** A callout is a notice: it
|
|
26
|
+
* arrived, it is about something that happened, and it may be urgent. This is furniture. It
|
|
27
|
+
* was there before the reader and will be there after, and giving it a tint and a live region
|
|
28
|
+
* would make every page announce its own return policy.
|
|
29
|
+
*
|
|
30
|
+
* So: no ground, no tone, no glyph that means anything on its own. The icons are decorative
|
|
31
|
+
* and every one of them is repeated in words directly underneath, because a padlock means
|
|
32
|
+
* "secure" only to someone who has been taught that it does.
|
|
33
|
+
*
|
|
34
|
+
* **Three or four, never eight.** A list of reassurances long enough to scroll is a list that
|
|
35
|
+
* reads as a defence.
|
|
36
|
+
*/
|
|
37
|
+
export declare function TrustBlock({ points, label, layout, size, align, className, ...rest }: TrustBlockProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { WaveformState } from "../../common/Waveform";
|
|
3
|
+
import "./VoiceControlBar.css";
|
|
4
|
+
export type VoiceControlBarPlacement = "inline" | "full";
|
|
5
|
+
type VoiceControlBarBase = {
|
|
6
|
+
/** What the session is. "음성 대화". Names the group. */
|
|
7
|
+
label: string;
|
|
8
|
+
state: WaveformState;
|
|
9
|
+
/** Amplitudes for the meter. Read only where there is a signal — see `Waveform`. */
|
|
10
|
+
levels?: number[];
|
|
11
|
+
/** How long the call has been going. "0:04". */
|
|
12
|
+
elapsed?: string;
|
|
13
|
+
/** Leaving. The one control that is always here. */
|
|
14
|
+
onEnd: () => void;
|
|
15
|
+
/**
|
|
16
|
+
* The microphone, already resolved by the host. "MacBook Pro 마이크".
|
|
17
|
+
*
|
|
18
|
+
* A name, not a device object. Nothing here calls `enumerateDevices`, asks for a permission
|
|
19
|
+
* or holds a session — a control bar that queried the platform would be a control bar tied
|
|
20
|
+
* to whichever transport it was written against.
|
|
21
|
+
*/
|
|
22
|
+
device?: string;
|
|
23
|
+
/** Something wrong with the device, in words. "마이크가 시스템에서 음소거되어 있습니다". */
|
|
24
|
+
deviceProblem?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* A row in a composer, or the whole screen.
|
|
27
|
+
*
|
|
28
|
+
* The two shapes the reference set has. It is a density, not a position — see the note.
|
|
29
|
+
*/
|
|
30
|
+
placement?: VoiceControlBarPlacement;
|
|
31
|
+
/** Host controls this does not claim: camera, screen share, a voice picker. */
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
[key: `data-${string}`]: unknown;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Mute is a pair of props or it is neither of them.
|
|
38
|
+
*
|
|
39
|
+
* `onMuteChange` on its own renders a toggle whose `aria-pressed` is `undefined`, and a
|
|
40
|
+
* toggle with no pressed state is announced as an ordinary button — for a control whose
|
|
41
|
+
* whole job is to be pressed. The state was in the host all along; the type is what makes
|
|
42
|
+
* the host hand it over.
|
|
43
|
+
*/
|
|
44
|
+
type VoiceControlBarMute = {
|
|
45
|
+
muted: boolean;
|
|
46
|
+
onMuteChange: (muted: boolean) => void;
|
|
47
|
+
} | {
|
|
48
|
+
muted?: never;
|
|
49
|
+
onMuteChange?: never;
|
|
50
|
+
};
|
|
51
|
+
export type VoiceControlBarProps = VoiceControlBarBase & VoiceControlBarMute;
|
|
52
|
+
/**
|
|
53
|
+
* Mute, the meter, and the way out.
|
|
54
|
+
*
|
|
55
|
+
* **It positions itself nowhere.** No `position`, no `inset`, no `z-index` — the source
|
|
56
|
+
* document defines this component partly by where it sits ("fixed to the bottom of the
|
|
57
|
+
* screen"), and a component that takes that decision is app chrome rather than a part. The
|
|
58
|
+
* host puts it where it goes, and `tests/components/voice-control-bar.spec.ts` scrolls the
|
|
59
|
+
* document to prove the bar goes with it. The previous line of work recorded a review that
|
|
60
|
+
* rejected this component on exactly that ground; this is the answer to it rather than a
|
|
61
|
+
* reversal of it.
|
|
62
|
+
*
|
|
63
|
+
* **It enumerates nothing and is tied to no transport.** `device` is a name the host already
|
|
64
|
+
* resolved. There is no `enumerateDevices`, no permission query, no session object and no
|
|
65
|
+
* picker — a device dropdown is explicitly out of scope, and a bar that grew one would be a
|
|
66
|
+
* bar that only works with the library it was written against.
|
|
67
|
+
*
|
|
68
|
+
* **It reports rather than diagnoses.** `deviceProblem` is a sentence the host writes, because
|
|
69
|
+
* the host is the only thing that can know whether the silence is a muted system, a missing
|
|
70
|
+
* permission or a room with nobody in it.
|
|
71
|
+
*
|
|
72
|
+
* **Ending a call is not confirmed here.** A dialog inside this bar would be a dialog every
|
|
73
|
+
* adopter has to fight when their flow already has one. `onEnd` fires and the host decides
|
|
74
|
+
* whether that needs asking about — the same division `ApprovalGate` draws.
|
|
75
|
+
*/
|
|
76
|
+
export declare function VoiceControlBar({ label, state, levels, elapsed, muted, onMuteChange, onEnd, device, deviceProblem, placement, children, className, ...rest }: VoiceControlBarProps): import("react").JSX.Element;
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export * from "./ActivityList";
|
|
2
|
+
export * from "./BackgroundProgress";
|
|
3
|
+
export * from "./AddressForm";
|
|
4
|
+
export * from "./ApprovalGate";
|
|
5
|
+
export * from "./Citation";
|
|
6
|
+
export * from "./CommentThread";
|
|
7
|
+
export * from "./Composer";
|
|
8
|
+
export * from "./CouponField";
|
|
9
|
+
export * from "./DataGrid";
|
|
10
|
+
export * from "./Dropzone";
|
|
11
|
+
export * from "./FeedbackControl";
|
|
12
|
+
export * from "./FilterBuilder";
|
|
13
|
+
export * from "./FollowUpList";
|
|
14
|
+
export * from "./KanbanColumn";
|
|
15
|
+
export * from "./Message";
|
|
16
|
+
export * from "./MessageList";
|
|
17
|
+
export * from "./MetricCard";
|
|
18
|
+
export * from "./OrderSummary";
|
|
19
|
+
export * from "./PaymentMethodSelector";
|
|
20
|
+
export * from "./PresenceBar";
|
|
21
|
+
export * from "./PriceDisplay";
|
|
22
|
+
export * from "./ProductCard";
|
|
23
|
+
export * from "./QuantityStepper";
|
|
24
|
+
export * from "./ReasoningDisclosure";
|
|
25
|
+
export * from "./RecognitionFallback";
|
|
26
|
+
export * from "./RunStatusCard";
|
|
27
|
+
export * from "./SavedViewTabs";
|
|
28
|
+
export * from "./SourceChip";
|
|
29
|
+
export * from "./SourceChipRow";
|
|
30
|
+
export * from "./SourcePanel";
|
|
31
|
+
export * from "./StreamingText";
|
|
32
|
+
export * from "./ToolCallCard";
|
|
33
|
+
export * from "./TranscriptSync";
|
|
34
|
+
export * from "./TrustBlock";
|
|
35
|
+
export * from "./VoiceControlBar";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { A as e, C as t, D as n, E as r, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "../../VoiceControlBar-CWDLR71w.js";
|
|
2
|
+
export { R as ActivityList, o as AddressForm, a as ApprovalGate, d as BackgroundProgress, i as Citation, u as CommentThread, c as Composer, s as CouponField, C as DataGrid, e as Dropzone, w as FeedbackControl, r as FilterBuilder, p as FollowUpList, F as KanbanColumn, t as Message, f as MessageList, I as MetricCard, n as OPERATORS, P as OrderSummary, m as PaymentMethodSelector, b as PresenceBar, L as PriceDisplay, x as ProductCard, E as QuantityStepper, k as ReasoningDisclosure, y as RecognitionFallback, v as RunStatusCard, j as SOURCE_CHIP_ROW_MAX, N as SavedViewTabs, T as SourceChip, _ as SourceChipRow, O as SourcePanel, h as StreamingText, S as ToolCallCard, A as TranscriptSync, D as TrustBlock, M as VoiceControlBar, g as money, l as nextRule };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright (c) 2021, Kil Hyung-jin (https://github.com/orioncactus/pretendard),
|
|
2
|
+
with Reserved Font Name Pretendard.
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
https://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|