wimui 0.74.2 → 0.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/WimProvider.d.ts +3 -3
- package/dist/ai/code-diff-viewer.d.ts +1 -1
- package/dist/ai/interactive-graph.d.ts +1 -1
- package/dist/ai/markdown-renderer.d.ts +1 -1
- package/dist/ai/streaming-text.d.ts +1 -1
- package/dist/ai-core.d.ts +13 -13
- package/dist/ai.d.ts +1 -1
- package/dist/charts.d.ts +17 -17
- package/dist/components/_internal/BaseListItem/index.d.ts +1 -1
- package/dist/components/_internal/FeedbackCloseButton.d.ts +1 -1
- package/dist/components/_internal/FeedbackIcon.d.ts +1 -1
- package/dist/components/_internal/IndicatorBase.d.ts +1 -1
- package/dist/components/_internal/IndicatorSlider.d.ts +1 -1
- package/dist/components/_internal/OverlayBase.d.ts +1 -1
- package/dist/components/_internal/StatusContent.d.ts +1 -1
- package/dist/components/_internal/chartTableData.d.ts +2 -2
- package/dist/components/ai/AgentStatus/AgentStatus.d.ts +1 -1
- package/dist/components/ai/ChatUI/ChatUI.d.ts +1 -1
- package/dist/components/ai/ModelSelector/ModelSelector.d.ts +1 -1
- package/dist/components/ai/ThreadList/ThreadList.d.ts +1 -1
- package/dist/components/ai/UsageMeter/UsageMeter.d.ts +1 -1
- package/dist/components/charts/AreaChart/AreaChart.d.ts +1 -1
- package/dist/components/charts/BarChart/BarChart.d.ts +1 -1
- package/dist/components/charts/FunnelChart/FunnelChart.d.ts +1 -1
- package/dist/components/charts/LineChart/LineChart.d.ts +1 -1
- package/dist/components/charts/RadarChart/RadarChart.d.ts +1 -1
- package/dist/components/charts/ScatterChart/ScatterChart.d.ts +1 -1
- package/dist/components/charts/Treemap/Treemap.d.ts +1 -1
- package/dist/components/data-display/Avatar/Avatar.d.ts +1 -1
- package/dist/components/data-display/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/dist/components/data-display/Badge/Badge.d.ts +1 -1
- package/dist/components/data-display/Barcode/Barcode.d.ts +1 -1
- package/dist/components/data-display/Calendar/Calendar.d.ts +1 -1
- package/dist/components/data-display/Card/Card.d.ts +1 -1
- package/dist/components/data-display/Chip/Chip.d.ts +1 -1
- package/dist/components/data-display/Countdown/Countdown.d.ts +1 -1
- package/dist/components/data-display/DataGrid/useDataGridKeyboard.d.ts +1 -1
- package/dist/components/data-display/DataGrid/useFixedColumns.d.ts +1 -1
- package/dist/components/data-display/DataGrid/useInfiniteScroll.d.ts +1 -1
- package/dist/components/data-display/DescriptionList/DescriptionList.d.ts +1 -1
- package/dist/components/data-display/FAQSection/FAQSection.d.ts +1 -1
- package/dist/components/data-display/JsonDiffViewer/JsonDiffViewer.d.ts +1 -1
- package/dist/components/data-display/Leaderboard/Leaderboard.d.ts +1 -1
- package/dist/components/data-display/List/List.d.ts +2 -2
- package/dist/components/data-display/Presence/Presence.cjs +1 -1
- package/dist/components/data-display/Presence/Presence.d.ts +6 -4
- package/dist/components/data-display/Presence/Presence.js +4 -2
- package/dist/components/data-display/Presence/presence.module.cjs +1 -1
- package/dist/components/data-display/Presence/presence.module.js +8 -3
- package/dist/components/data-display/Reaction/Reaction.d.ts +1 -1
- package/dist/components/data-display/Stats/Stats.d.ts +1 -1
- package/dist/components/data-display/SwipeAction/SwipeAction.d.ts +1 -1
- package/dist/components/data-display/Table/Table.d.ts +2 -2
- package/dist/components/data-display/Tag/Tag.d.ts +1 -1
- package/dist/components/data-display/Timeline/Timeline.d.ts +1 -1
- package/dist/components/feedback/Alert/Alert.d.ts +1 -1
- package/dist/components/feedback/Banner/Banner.d.ts +1 -1
- package/dist/components/feedback/Indicator/Indicator.d.ts +1 -1
- package/dist/components/feedback/Loader/Loader.d.ts +1 -1
- package/dist/components/feedback/LoadingOverlay/LoadingOverlay.d.ts +1 -1
- package/dist/components/feedback/Notification/Notification.d.ts +1 -1
- package/dist/components/feedback/Progress/Progress.d.ts +2 -2
- package/dist/components/feedback/ProgressRing/ProgressRing.d.ts +2 -2
- package/dist/components/feedback/Result/Result.d.ts +1 -1
- package/dist/components/feedback/ScrollProgress/ScrollProgress.d.ts +1 -1
- package/dist/components/feedback/Snackbar/Snackbar.d.ts +1 -1
- package/dist/components/feedback/Spinner/Spinner.d.ts +1 -1
- package/dist/components/feedback/Toast/Toast.d.ts +1 -1
- package/dist/components/form/Button/Button.d.ts +2 -2
- package/dist/components/form/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/components/form/Cascader/Cascader.d.ts +1 -1
- package/dist/components/form/ColorInput/ColorInput.d.ts +1 -1
- package/dist/components/form/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/components/form/CopyButton/CopyButton.d.ts +1 -1
- package/dist/components/form/CounterTextarea/CounterTextarea.d.ts +4 -4
- package/dist/components/form/CreditCardInput/CreditCardInput.d.ts +1 -1
- package/dist/components/form/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/form/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/form/Dropzone/Dropzone.d.ts +2 -2
- package/dist/components/form/FieldTemplate/index.d.ts +1 -1
- package/dist/components/form/FileUpload/FileUpload.d.ts +2 -2
- package/dist/components/form/FloatButton/FloatButton.d.ts +1 -1
- package/dist/components/form/IconButton/IconButton.d.ts +2 -2
- package/dist/components/form/ImageCropper/ImageCropper.d.ts +1 -1
- package/dist/components/form/Input/Input.d.ts +3 -3
- package/dist/components/form/InputBase/InputBase.d.ts +2 -2
- package/dist/components/form/InputBase/index.d.ts +1 -1
- package/dist/components/form/InputMask/InputMask.d.ts +1 -1
- package/dist/components/form/LinkButton/LinkButton.d.ts +2 -2
- package/dist/components/form/Mentions/Mentions.d.ts +1 -1
- package/dist/components/form/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/components/form/NumberInput/NumberInput.d.ts +1 -1
- package/dist/components/form/PasswordInput/PasswordInput.d.ts +1 -1
- package/dist/components/form/QueryBuilder/index.d.ts +1 -1
- package/dist/components/form/Rating/Rating.d.ts +1 -1
- package/dist/components/form/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/dist/components/form/SearchInput/SearchInput.d.ts +1 -1
- package/dist/components/form/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/components/form/Select/Select.d.ts +2 -2
- package/dist/components/form/Select/useSelect.d.ts +1 -1
- package/dist/components/form/Slider/Slider.d.ts +1 -1
- package/dist/components/form/SmartSearchInput/SmartSearchInput.d.ts +1 -1
- package/dist/components/form/SplitButton/SplitButton.d.ts +2 -2
- package/dist/components/form/Switch/Switch.d.ts +1 -1
- package/dist/components/form/TagInput/TagInput.d.ts +1 -1
- package/dist/components/form/Textarea/Textarea.d.ts +1 -1
- package/dist/components/form/ThemeToggle/ThemeToggle.d.ts +2 -2
- package/dist/components/form/TimePicker/TimePicker.d.ts +2 -2
- package/dist/components/form/ToggleGroup/ToggleGroup.d.ts +2 -2
- package/dist/components/form/TreeSelect/TreeSelect.d.ts +1 -1
- package/dist/components/layout/Box/Box.d.ts +2 -2
- package/dist/components/layout/Center/Center.d.ts +1 -1
- package/dist/components/layout/Container/Container.d.ts +1 -1
- package/dist/components/layout/Flex/Flex.d.ts +1 -1
- package/dist/components/layout/Grid/Grid.d.ts +1 -1
- package/dist/components/layout/InteractiveArea/InteractiveArea.d.ts +1 -1
- package/dist/components/layout/Navbar/Navbar.d.ts +1 -1
- package/dist/components/layout/OverflowList/OverflowList.d.ts +2 -2
- package/dist/components/layout/SimpleGrid/SimpleGrid.d.ts +1 -1
- package/dist/components/layout/Stack/Stack.d.ts +2 -2
- package/dist/components/layout/Toolbar/Toolbar.d.ts +1 -1
- package/dist/components/media/Audio/Audio.d.ts +2 -2
- package/dist/components/media/Audio/hooks/useAudioMetadata.d.ts +1 -1
- package/dist/components/media/Audio/hooks/useAudioPlayer.d.ts +1 -1
- package/dist/components/media/Icon/Icon.d.ts +2 -2
- package/dist/components/media/Image/Image.d.ts +1 -1
- package/dist/components/media/ImageCompare/ImageCompare.d.ts +1 -1
- package/dist/components/media/Lightbox/Lightbox.d.ts +1 -1
- package/dist/components/media/Video/Video.d.ts +2 -2
- package/dist/components/media/Video/components/VideoAdvancedMenu.d.ts +1 -1
- package/dist/components/navigation/Breadcrumb/Breadcrumb.d.ts +2 -2
- package/dist/components/navigation/HamburgerMenu/HamburgerMenu.d.ts +1 -1
- package/dist/components/navigation/KeyboardShortcuts/KeyboardShortcuts.d.ts +1 -1
- package/dist/components/navigation/Link/Link.d.ts +2 -2
- package/dist/components/navigation/Menubar/Menubar.d.ts +1 -1
- package/dist/components/navigation/SpeedDial/SpeedDial.d.ts +1 -1
- package/dist/components/navigation/TabNavigation/TabNavigation.d.ts +1 -1
- package/dist/components/overlay/ContextMenu/index.d.ts +2 -2
- package/dist/components/overlay/Dialog/Dialog.d.ts +1 -1
- package/dist/components/overlay/Drawer/Drawer.d.ts +1 -1
- package/dist/components/overlay/Dropdown/Dropdown.d.ts +2 -2
- package/dist/components/overlay/Dropdown/index.d.ts +2 -2
- package/dist/components/overlay/FocusTrap/FocusTrap.cjs +1 -1
- package/dist/components/overlay/FocusTrap/FocusTrap.d.ts +5 -1
- package/dist/components/overlay/FocusTrap/FocusTrap.js +5 -2
- package/dist/components/overlay/Menu/Menu.d.ts +0 -4
- package/dist/components/overlay/Menu/index.d.ts +2 -2
- package/dist/components/overlay/Popconfirm/Popconfirm.d.ts +1 -1
- package/dist/components/typography/Blockquote/Blockquote.d.ts +1 -1
- package/dist/components/typography/Kbd/Kbd.d.ts +1 -1
- package/dist/components/typography/Label/Label.d.ts +1 -1
- package/dist/components/typography/Span/Span.d.ts +2 -2
- package/dist/components/typography/Text/Text.d.ts +1 -1
- package/dist/components/typography/Title/Title.d.ts +1 -1
- package/dist/data-display/json-diff-viewer.d.ts +1 -1
- package/dist/data-display/markdown.d.ts +1 -1
- package/dist/data-display/node-graph.d.ts +1 -1
- package/dist/data-display/qr-code.d.ts +1 -1
- package/dist/data-display/schedule-view.d.ts +1 -1
- package/dist/data-display-core.d.ts +40 -40
- package/dist/data-display.d.ts +1 -1
- package/dist/feedback.d.ts +17 -17
- package/dist/form/rich-text-editor.d.ts +1 -1
- package/dist/form.d.ts +55 -55
- package/dist/i18n/generated/common.d.ts +1 -1
- package/dist/i18n/generated/components.d.ts +1 -1
- package/dist/i18n/generated/data-display.d.ts +1 -1
- package/dist/i18n/generated/form.d.ts +1 -1
- package/dist/i18n/generated/keys.d.ts +6 -6
- package/dist/i18n/generated/layout.d.ts +1 -1
- package/dist/i18n/generated/navigation.d.ts +1 -1
- package/dist/i18n/useWimTranslation.d.ts +1 -1
- package/dist/icon/alert-circle.d.ts +3 -0
- package/dist/icon/alert-triangle.d.ts +3 -0
- package/dist/icon/align-justify.d.ts +3 -0
- package/dist/icon/arrow-down.d.ts +3 -0
- package/dist/icon/arrow-left.d.ts +3 -0
- package/dist/icon/arrow-right.d.ts +3 -0
- package/dist/icon/arrow-up.d.ts +3 -0
- package/dist/icon/bell.d.ts +3 -0
- package/dist/icon/bold.d.ts +3 -0
- package/dist/icon/calendar.d.ts +3 -0
- package/dist/icon/chart.d.ts +3 -0
- package/dist/icon/check-circle.d.ts +3 -0
- package/dist/icon/check.d.ts +3 -0
- package/dist/icon/chevron-down.d.ts +3 -0
- package/dist/icon/chevron-left.d.ts +3 -0
- package/dist/icon/chevron-right.d.ts +3 -0
- package/dist/icon/chevron-up.d.ts +3 -0
- package/dist/icon/circle.d.ts +3 -0
- package/dist/icon/clock.d.ts +3 -0
- package/dist/icon/close-small.d.ts +3 -0
- package/dist/icon/close.d.ts +3 -0
- package/dist/icon/columns.d.ts +3 -0
- package/dist/icon/copy.d.ts +3 -0
- package/dist/icon/credit-card.d.ts +3 -0
- package/dist/icon/document.d.ts +3 -0
- package/dist/icon/download.d.ts +3 -0
- package/dist/icon/edit.d.ts +3 -0
- package/dist/icon/email.d.ts +3 -0
- package/dist/icon/eraser.d.ts +3 -0
- package/dist/icon/external-link.d.ts +3 -0
- package/dist/icon/eye-off.d.ts +3 -0
- package/dist/icon/eye.d.ts +3 -0
- package/dist/icon/filter.d.ts +3 -0
- package/dist/icon/grid.d.ts +3 -0
- package/dist/icon/grip-vertical.d.ts +3 -0
- package/dist/icon/help-circle.d.ts +3 -0
- package/dist/icon/home.d.ts +3 -0
- package/dist/icon/hourglass.d.ts +3 -0
- package/dist/icon/image.d.ts +3 -0
- package/dist/icon/index.d.ts +88 -88
- package/dist/icon/info-circle.d.ts +3 -0
- package/dist/icon/italic.d.ts +3 -0
- package/dist/icon/link.d.ts +3 -0
- package/dist/icon/list-ordered.d.ts +3 -0
- package/dist/icon/list.d.ts +3 -0
- package/dist/icon/loading.d.ts +3 -0
- package/dist/icon/log-in.d.ts +3 -0
- package/dist/icon/log-out.d.ts +3 -0
- package/dist/icon/maximize.d.ts +3 -0
- package/dist/icon/menu.d.ts +3 -0
- package/dist/icon/minimize.d.ts +3 -0
- package/dist/icon/minus.d.ts +3 -0
- package/dist/icon/monitor.d.ts +3 -0
- package/dist/icon/moon.d.ts +3 -0
- package/dist/icon/more-horizontal.d.ts +3 -0
- package/dist/icon/more-vertical.d.ts +3 -0
- package/dist/icon/mute.d.ts +3 -0
- package/dist/icon/paperclip.d.ts +3 -0
- package/dist/icon/pause.d.ts +3 -0
- package/dist/icon/pdf.d.ts +3 -0
- package/dist/icon/phone.d.ts +3 -0
- package/dist/icon/pip.d.ts +3 -0
- package/dist/icon/play.d.ts +3 -0
- package/dist/icon/plus.d.ts +3 -0
- package/dist/icon/project.d.ts +3 -0
- package/dist/icon/refresh.d.ts +3 -0
- package/dist/icon/repeat.d.ts +3 -0
- package/dist/icon/search.d.ts +3 -0
- package/dist/icon/send.d.ts +3 -0
- package/dist/icon/settings.d.ts +3 -0
- package/dist/icon/share.d.ts +3 -0
- package/dist/icon/shuffle.d.ts +3 -0
- package/dist/icon/skip-back.d.ts +3 -0
- package/dist/icon/skip-forward.d.ts +3 -0
- package/dist/icon/smartphone.d.ts +3 -0
- package/dist/icon/spinner.d.ts +3 -0
- package/dist/icon/square.d.ts +3 -0
- package/dist/icon/star.d.ts +3 -0
- package/dist/icon/strikethrough.d.ts +3 -0
- package/dist/icon/sun.d.ts +3 -0
- package/dist/icon/thumb-down.d.ts +3 -0
- package/dist/icon/thumb-up.d.ts +3 -0
- package/dist/icon/trash.d.ts +3 -0
- package/dist/icon/underline.d.ts +3 -0
- package/dist/icon/unlink.d.ts +3 -0
- package/dist/icon/upload.d.ts +3 -0
- package/dist/icon/user.d.ts +3 -0
- package/dist/icon/video.d.ts +3 -0
- package/dist/icon/volume.d.ts +3 -0
- package/dist/icons.d.ts +1 -1
- package/dist/index.d.ts +21 -21
- package/dist/index.umd.d.ts +1 -1
- package/dist/layout.d.ts +26 -26
- package/dist/llms/FocusTrap.md +1 -1
- package/dist/llms/Menu.md +0 -1
- package/dist/llms/Presence.md +1 -1
- package/dist/llms-full.txt +6 -3
- package/dist/llms.txt +1 -1
- package/dist/media.d.ts +7 -7
- package/dist/navigation.d.ts +15 -15
- package/dist/overlay.d.ts +12 -12
- package/dist/preset.d.ts +1 -1
- package/dist/rhf.d.ts +4 -4
- package/dist/styles.css +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/types/tokens.d.ts +2 -2
- package/dist/typography.d.ts +10 -10
- package/dist/utilities/style-utils.d.ts +1 -1
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +1 -1
- package/package.json +7 -2
package/dist/WimProvider.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WimDensity } from './density';
|
|
3
|
-
import { WimPreset } from './preset';
|
|
4
|
-
import { WimTheme } from './theme';
|
|
2
|
+
import { WimDensity } from './density.js';
|
|
3
|
+
import { WimPreset } from './preset.js';
|
|
4
|
+
import { WimTheme } from './theme.js';
|
|
5
5
|
export type WimProviderProps = {
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../components/ai/CodeDiffViewer/CodeDiffViewer';
|
|
1
|
+
export * from '../components/ai/CodeDiffViewer/CodeDiffViewer.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../components/ai/InteractiveGraph/InteractiveGraph';
|
|
1
|
+
export * from '../components/ai/InteractiveGraph/InteractiveGraph.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../components/ai/MarkdownRenderer/MarkdownRenderer';
|
|
1
|
+
export * from '../components/ai/MarkdownRenderer/MarkdownRenderer.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../components/ai/StreamingText/StreamingText';
|
|
1
|
+
export * from '../components/ai/StreamingText/StreamingText.js';
|
package/dist/ai-core.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from './components/ai/PromptInput/PromptInput';
|
|
2
|
-
export * from './components/ai/ThoughtProcess/ThoughtProcess';
|
|
3
|
-
export * from './components/ai/AIResponseFeedback/AIResponseFeedback';
|
|
4
|
-
export * from './components/ai/SourceCitation/SourceCitation';
|
|
5
|
-
export * from './components/ai/CodeBlock/CodeBlock';
|
|
6
|
-
export * from './components/ai/Terminal/Terminal';
|
|
7
|
-
export * from './components/ai/AgentStatus/AgentStatus';
|
|
8
|
-
export * from './components/ai/VoiceVisualizer/VoiceVisualizer';
|
|
9
|
-
export * from './components/ai/ModelSelector/ModelSelector';
|
|
10
|
-
export * from './components/ai/ThreadList/ThreadList';
|
|
11
|
-
export * from './components/ai/UsageMeter/UsageMeter';
|
|
12
|
-
export * from './components/ai/ChatUI/ChatUI';
|
|
13
|
-
export * from './components/ai/ArtifactsOverlay/ArtifactsOverlay';
|
|
1
|
+
export * from './components/ai/PromptInput/PromptInput.js';
|
|
2
|
+
export * from './components/ai/ThoughtProcess/ThoughtProcess.js';
|
|
3
|
+
export * from './components/ai/AIResponseFeedback/AIResponseFeedback.js';
|
|
4
|
+
export * from './components/ai/SourceCitation/SourceCitation.js';
|
|
5
|
+
export * from './components/ai/CodeBlock/CodeBlock.js';
|
|
6
|
+
export * from './components/ai/Terminal/Terminal.js';
|
|
7
|
+
export * from './components/ai/AgentStatus/AgentStatus.js';
|
|
8
|
+
export * from './components/ai/VoiceVisualizer/VoiceVisualizer.js';
|
|
9
|
+
export * from './components/ai/ModelSelector/ModelSelector.js';
|
|
10
|
+
export * from './components/ai/ThreadList/ThreadList.js';
|
|
11
|
+
export * from './components/ai/UsageMeter/UsageMeter.js';
|
|
12
|
+
export * from './components/ai/ChatUI/ChatUI.js';
|
|
13
|
+
export * from './components/ai/ArtifactsOverlay/ArtifactsOverlay.js';
|
package/dist/ai.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './ai-core';
|
|
1
|
+
export * from './ai-core.js';
|
package/dist/charts.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export type { ChartDataPoint } from './components/helpers';
|
|
2
|
-
export * from './components/charts/AreaChart/AreaChart';
|
|
3
|
-
export * from './components/charts/BarChart/BarChart';
|
|
4
|
-
export * from './components/charts/FunnelChart/FunnelChart';
|
|
5
|
-
export * from './components/charts/GanttChart/GanttChart';
|
|
6
|
-
export * from './components/charts/GaugeChart/GaugeChart';
|
|
7
|
-
export * from './components/charts/Heatmap/Heatmap';
|
|
8
|
-
export * from './components/charts/LineChart/LineChart';
|
|
9
|
-
export * from './components/charts/PieChart/PieChart';
|
|
10
|
-
export * from './components/charts/RadarChart/RadarChart';
|
|
11
|
-
export * from './components/charts/ScatterChart/ScatterChart';
|
|
12
|
-
export * from './components/charts/Treemap/Treemap';
|
|
13
|
-
export * from './components/charts/Sparkline/Sparkline';
|
|
14
|
-
export * from './components/charts/SankeyChart/SankeyChart';
|
|
15
|
-
export * from './components/charts/WaterfallChart/WaterfallChart';
|
|
16
|
-
export * from './components/charts/BoxPlot/BoxPlot';
|
|
17
|
-
export * from './components/charts/CandlestickChart/CandlestickChart';
|
|
1
|
+
export type { ChartDataPoint } from './components/helpers.js';
|
|
2
|
+
export * from './components/charts/AreaChart/AreaChart.js';
|
|
3
|
+
export * from './components/charts/BarChart/BarChart.js';
|
|
4
|
+
export * from './components/charts/FunnelChart/FunnelChart.js';
|
|
5
|
+
export * from './components/charts/GanttChart/GanttChart.js';
|
|
6
|
+
export * from './components/charts/GaugeChart/GaugeChart.js';
|
|
7
|
+
export * from './components/charts/Heatmap/Heatmap.js';
|
|
8
|
+
export * from './components/charts/LineChart/LineChart.js';
|
|
9
|
+
export * from './components/charts/PieChart/PieChart.js';
|
|
10
|
+
export * from './components/charts/RadarChart/RadarChart.js';
|
|
11
|
+
export * from './components/charts/ScatterChart/ScatterChart.js';
|
|
12
|
+
export * from './components/charts/Treemap/Treemap.js';
|
|
13
|
+
export * from './components/charts/Sparkline/Sparkline.js';
|
|
14
|
+
export * from './components/charts/SankeyChart/SankeyChart.js';
|
|
15
|
+
export * from './components/charts/WaterfallChart/WaterfallChart.js';
|
|
16
|
+
export * from './components/charts/BoxPlot/BoxPlot.js';
|
|
17
|
+
export * from './components/charts/CandlestickChart/CandlestickChart.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './BaseListItem';
|
|
1
|
+
export * from './BaseListItem.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSize, IndicatorIntent, IndicatorVariant } from '../../types/tokens';
|
|
2
|
+
import { ComponentSize, IndicatorIntent, IndicatorVariant } from '../../types/tokens.js';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the IndicatorBase component.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { Transition } from '../layout/Transition/Transition';
|
|
2
|
+
import { Transition } from '../layout/Transition/Transition.js';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the OverlayBase component.
|
|
5
5
|
* Extends the standard HTML div attributes.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChartDataPoint } from '../helpers';
|
|
2
|
-
import { ChartTableCell } from './ChartDataTable';
|
|
1
|
+
import { ChartDataPoint } from '../helpers.js';
|
|
2
|
+
import { ChartTableCell } from './ChartDataTable.js';
|
|
3
3
|
/**
|
|
4
4
|
* チャートの `data` を、`ChartDataTable` が描ける形(列見出し + 行)へ写す(T230)。
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
export type AgentStatusValue = "idle" | "thinking" | "running" | "waiting" | "done" | "error";
|
|
4
4
|
export interface AgentStatusProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
5
5
|
/** Current state of the agent */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
export interface ChatContainerProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
4
4
|
/** Chat content (message list, input, etc.) */
|
|
5
5
|
children: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
/** Pricing metadata for a model, expressed per 1M tokens in the given currency. */
|
|
4
4
|
export type ModelPricing = {
|
|
5
5
|
/** Input (prompt) price per 1M tokens */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
/** Labels for internationalization. */
|
|
4
4
|
export type UsageMeterLabels = {
|
|
5
5
|
/** Leading label (default "Tokens") */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic, IndicatorIntent } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic, IndicatorIntent } from '../../../types/tokens.js';
|
|
3
3
|
type AvatarProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
4
4
|
/** Image source URL */
|
|
5
5
|
src?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic, IndicatorIntent, IndicatorVariant } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic, IndicatorIntent, IndicatorVariant } from '../../../types/tokens.js';
|
|
3
3
|
export type BadgeProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the badge will be rendered as its child, merging its props onto that child.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { CARD_STYLED_PADDING, CARD_STYLED_RADIUS } from './styled-values';
|
|
2
|
+
import { CARD_STYLED_PADDING, CARD_STYLED_RADIUS } from './styled-values.js';
|
|
3
3
|
export type CardProps = {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the card will be rendered as its child, merging its props onto that child.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic, IndicatorIntent, IndicatorVariant } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic, IndicatorIntent, IndicatorVariant } from '../../../types/tokens.js';
|
|
3
3
|
export type ChipProps = React.HTMLAttributes<HTMLElement> & {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the chip will be rendered as its child, merging its props onto that child.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
export type CountdownInput = Date | string | number;
|
|
4
4
|
export type CountdownUnit = "day" | "hour" | "minute" | "second";
|
|
5
5
|
export type CountdownProps = Omit<React.ComponentPropsWithoutRef<"time">, "dateTime"> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DataGridColumn } from './DataGrid';
|
|
2
|
+
import { DataGridColumn } from './DataGrid.js';
|
|
3
3
|
export declare function useDataGridKeyboard<T>(columns: DataGridColumn<T>[], rows: T[], selection: boolean): {
|
|
4
4
|
focusedCell: {
|
|
5
5
|
row: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataGridProps } from './DataGrid';
|
|
1
|
+
import { DataGridProps } from './DataGrid.js';
|
|
2
2
|
export declare function useInfiniteScroll(infiniteScroll: DataGridProps<Record<string, unknown>>["infiniteScroll"]): {
|
|
3
3
|
loaderRef: import('react').RefObject<HTMLDivElement | null>;
|
|
4
4
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { AccordionProps } from '../../data-display/Accordion/Accordion';
|
|
2
|
+
import { AccordionProps } from '../../data-display/Accordion/Accordion.js';
|
|
3
3
|
export interface FAQItem {
|
|
4
4
|
/** Question. */
|
|
5
5
|
question: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DiffView, CodeDiffViewerProps } from '../../ai/CodeDiffViewer/CodeDiffViewer';
|
|
2
|
+
import { DiffView, CodeDiffViewerProps } from '../../ai/CodeDiffViewer/CodeDiffViewer.js';
|
|
3
3
|
export interface JsonDiffViewerProps extends Omit<CodeDiffViewerProps, "before" | "after" | "language"> {
|
|
4
4
|
/** JSON value before the change */
|
|
5
5
|
before: unknown;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Icon } from '../../media/Icon/Icon';
|
|
3
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { Icon } from '../../media/Icon/Icon.js';
|
|
3
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
4
4
|
export interface ListProps extends React.HTMLAttributes<HTMLElement> {
|
|
5
5
|
/** Whether to render as a child element. */
|
|
6
6
|
asChild?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../../i18n/generated/common.cjs"),r=require("../../layout/VisuallyHidden/VisuallyHidden.cjs"),i=require("../../feedback/Indicator/Indicator.cjs"),a=require("./presence.module.cjs");let o=require("react");o=e.__toESM(o,1);let s=require("classnames");s=e.__toESM(s,1);let c=require("react/jsx-runtime");var l={online:`success`,away:`warning`,busy:`danger`,offline:`neutral`},u=o.default.forwardRef(({status:e,label:o,showLabel:u=!1,size:d=`md`,position:f=`bottom-right`,children:p,className:m,...h},g)=>{let{t:_}=t.useWimTranslation(n.commonNs),v=o??_(`presence.${e}`);return(0,c.jsxs)(`span`,{ref:g,className:(0,s.default)(`wim-presence`,a.default.root,m),...h,children:[p?(0,c.jsx)(i.Indicator,{color:l[e],size:d,position:f,children:p}):(0,c.jsx)(i.Indicator,{color:l[e],size:d,inline:!0}),u?(0,c.jsx)(`span`,{className:a.default.label,children:v}):(0,c.jsx)(r.VisuallyHidden,{children:v})]})});u.displayName=`Presence`,exports.Presence=u;
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../../i18n/generated/common.cjs"),r=require("../../layout/VisuallyHidden/VisuallyHidden.cjs"),i=require("../../feedback/Indicator/Indicator.cjs"),a=require("./presence.module.cjs");let o=require("react");o=e.__toESM(o,1);let s=require("classnames");s=e.__toESM(s,1);let c=require("react/jsx-runtime");var l={online:`success`,away:`warning`,busy:`danger`,offline:`neutral`},u=o.default.forwardRef(({status:e,label:o,showLabel:u=!1,size:d=`md`,position:f=`bottom-right`,children:p,className:m,...h},g)=>{let{t:_}=t.useWimTranslation(n.commonNs),v=o??_(`presence.${e}`),y=(0,s.default)(a.default.shape,a.default[e],p?a.default.attached:void 0);return(0,c.jsxs)(`span`,{ref:g,className:(0,s.default)(`wim-presence`,a.default.root,m),...h,children:[p?(0,c.jsx)(i.Indicator,{color:l[e],size:d,position:f,className:y,children:p}):(0,c.jsx)(i.Indicator,{color:l[e],size:d,inline:!0,className:y}),u?(0,c.jsx)(`span`,{className:a.default.label,children:v}):(0,c.jsx)(r.VisuallyHidden,{children:v})]})});u.displayName=`Presence`,exports.Presence=u;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
export type PresenceStatus = "online" | "away" | "busy" | "offline";
|
|
4
4
|
export type PresenceProps = Omit<React.ComponentPropsWithoutRef<"span">, "children"> & {
|
|
5
5
|
/**
|
|
@@ -36,9 +36,11 @@ export type PresenceProps = Omit<React.ComponentPropsWithoutRef<"span">, "childr
|
|
|
36
36
|
* Shows whether a person is online, away, busy, or offline.
|
|
37
37
|
*
|
|
38
38
|
* The dot is the same one `Indicator` draws; what this component adds is the
|
|
39
|
-
* vocabulary (which state maps to which color) and a name for that
|
|
40
|
-
*
|
|
41
|
-
*
|
|
39
|
+
* vocabulary (which state maps to which color and shape) and a name for that
|
|
40
|
+
* state. Each state has its own shape — a filled dot (online), a half-filled
|
|
41
|
+
* dot (away), a dot with a bar (busy), and a ring (offline) — so the states
|
|
42
|
+
* stay distinguishable without color, and the name is always exposed to
|
|
43
|
+
* assistive technology even when `showLabel` is false.
|
|
42
44
|
*
|
|
43
45
|
* Composition Contract:
|
|
44
46
|
* - Managed by: App consumption
|
|
@@ -14,7 +14,7 @@ var l = {
|
|
|
14
14
|
busy: "danger",
|
|
15
15
|
offline: "neutral"
|
|
16
16
|
}, u = a.forwardRef(({ status: a, label: u, showLabel: d = !1, size: f = "md", position: p = "bottom-right", children: m, className: h, ...g }, _) => {
|
|
17
|
-
let { t: v } = e(t), y = u ?? v(`presence.${a}`);
|
|
17
|
+
let { t: v } = e(t), y = u ?? v(`presence.${a}`), b = o(i.shape, i[a], m ? i.attached : void 0);
|
|
18
18
|
return /* @__PURE__ */ c("span", {
|
|
19
19
|
ref: _,
|
|
20
20
|
className: o("wim-presence", i.root, h),
|
|
@@ -23,11 +23,13 @@ var l = {
|
|
|
23
23
|
color: l[a],
|
|
24
24
|
size: f,
|
|
25
25
|
position: p,
|
|
26
|
+
className: b,
|
|
26
27
|
children: m
|
|
27
28
|
}) : /* @__PURE__ */ s(r, {
|
|
28
29
|
color: l[a],
|
|
29
30
|
size: f,
|
|
30
|
-
inline: !0
|
|
31
|
+
inline: !0,
|
|
32
|
+
className: b
|
|
31
33
|
}), d ? /* @__PURE__ */ s("span", {
|
|
32
34
|
className: i.label,
|
|
33
35
|
children: y
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_ae9d7_3`,t=`_label_ae9d7_10`,n=`_shape_ae9d7_24`,r=`_attached_ae9d7_33`,i=`_away_ae9d7_36`,a=`_busy_ae9d7_39`,o=`_offline_ae9d7_46`,s={root:e,label:t,shape:n,attached:r,away:i,busy:a,offline:o};exports.attached=r,exports.away=i,exports.busy=a,exports.default=s,exports.label=t,exports.offline=o,exports.root=e,exports.shape=n;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/data-display/Presence/presence.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_ae9d7_3", t = "_label_ae9d7_10", n = "_shape_ae9d7_24", r = "_attached_ae9d7_33", i = "_away_ae9d7_36", a = "_busy_ae9d7_39", o = "_offline_ae9d7_46", s = {
|
|
4
4
|
root: e,
|
|
5
|
-
label: t
|
|
5
|
+
label: t,
|
|
6
|
+
shape: n,
|
|
7
|
+
attached: r,
|
|
8
|
+
away: i,
|
|
9
|
+
busy: a,
|
|
10
|
+
offline: o
|
|
6
11
|
};
|
|
7
12
|
//#endregion
|
|
8
|
-
export {
|
|
13
|
+
export { r as attached, i as away, a as busy, s as default, t as label, o as offline, e as root, n as shape };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Card } from '../../data-display/Card/Card';
|
|
2
|
+
import { Card } from '../../data-display/Card/Card.js';
|
|
3
3
|
export type StatsProps = React.ComponentPropsWithoutRef<typeof Card> & {
|
|
4
4
|
/** Visual style variant of the card */
|
|
5
5
|
variant?: React.ComponentProps<typeof Card>["variant"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export { useTableSort, getNextSortDirection } from './useTableSort';
|
|
3
|
-
export type { SortDirection, SortConfig, UseTableSortOptions, UseTableSortReturn } from './useTableSort';
|
|
2
|
+
export { useTableSort, getNextSortDirection } from './useTableSort.js';
|
|
3
|
+
export type { SortDirection, SortConfig, UseTableSortOptions, UseTableSortReturn } from './useTableSort.js';
|
|
4
4
|
export interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
|
|
5
5
|
/** Whether to render as a child element. */
|
|
6
6
|
asChild?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic, IndicatorIntent, IndicatorVariant } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic, IndicatorIntent, IndicatorVariant } from '../../../types/tokens.js';
|
|
3
3
|
export type TagProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the tag will be rendered as its child, merging its props onto that child.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WimColor, ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { WimColor, ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
/**
|
|
4
4
|
* Small dot that indicates the state of an element (online, unread, error, etc.).
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WimColor, ComponentSizeExtended } from '../../../types/tokens';
|
|
2
|
+
import { WimColor, ComponentSizeExtended } from '../../../types/tokens.js';
|
|
3
3
|
export type LoaderVariant = "bars" | "dots" | "pulse";
|
|
4
4
|
export type LoaderProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { FeedbackIntent } from '../../../types/tokens';
|
|
2
|
+
import { FeedbackIntent } from '../../../types/tokens.js';
|
|
3
3
|
export type NotificationPlacement = "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
|
4
4
|
export type NotificationProps = {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic, IndicatorIntent } from '../../../types/tokens';
|
|
3
|
-
import { WithAccessibleName } from '../../_internal/accessibleName';
|
|
2
|
+
import { ComponentSizeBasic, IndicatorIntent } from '../../../types/tokens.js';
|
|
3
|
+
import { WithAccessibleName } from '../../_internal/accessibleName.js';
|
|
4
4
|
type ProgressOwnProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
5
5
|
/**
|
|
6
6
|
* Current value of the progress bar.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic, IndicatorIntent } from '../../../types/tokens';
|
|
3
|
-
import { WithAccessibleName } from '../../_internal/accessibleName';
|
|
2
|
+
import { ComponentSizeBasic, IndicatorIntent } from '../../../types/tokens.js';
|
|
3
|
+
import { WithAccessibleName } from '../../_internal/accessibleName.js';
|
|
4
4
|
type ProgressRingOwnProps = Omit<React.ComponentPropsWithoutRef<"div">, "children"> & {
|
|
5
5
|
/**
|
|
6
6
|
* Current value of the progress ring.
|