wimui 0.74.2 → 0.75.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/README.ja.md +2 -2
- package/README.md +2 -2
- 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 +32 -27
|
@@ -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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { WimIntent } from '../../../types/tokens';
|
|
2
|
+
import { WimIntent } from '../../../types/tokens.js';
|
|
3
3
|
export type ResultIntent = Extract<WimIntent, "default" | "success" | "danger" | "info" | "warning">;
|
|
4
4
|
export type ResultHttpStatus = "404" | "403" | "500";
|
|
5
5
|
export type ResultProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { IndicatorIntent } from '../../../types/tokens';
|
|
2
|
+
import { IndicatorIntent } from '../../../types/tokens.js';
|
|
3
3
|
export type ScrollProgressProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
4
4
|
/**
|
|
5
5
|
* Color of the progress bar.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FeedbackIntent } from '../../../types/tokens';
|
|
2
|
+
import { FeedbackIntent } from '../../../types/tokens.js';
|
|
3
3
|
export type SnackbarPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
4
4
|
export interface SnackbarProps {
|
|
5
5
|
/** Message displayed in the snackbar */
|
|
@@ -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
|
type SpinnerProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
4
4
|
/**
|
|
5
5
|
* Size of the spinner.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FeedbackIntent } from '../../../types/tokens';
|
|
2
|
+
import { FeedbackIntent } from '../../../types/tokens.js';
|
|
3
3
|
export type ToastPosition = "top-right" | "top-left" | "top-center" | "bottom-right" | "bottom-left" | "bottom-center";
|
|
4
4
|
export type ToastProps = {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Icon } from '../../media/Icon/Icon';
|
|
3
|
-
import { WimColor, ComponentSizeBasic, ButtonVariant, ButtonIntent } from '../../../types/tokens';
|
|
2
|
+
import { Icon } from '../../media/Icon/Icon.js';
|
|
3
|
+
import { WimColor, ComponentSizeBasic, ButtonVariant, ButtonIntent } from '../../../types/tokens.js';
|
|
4
4
|
export type ButtonProps = React.ComponentPropsWithoutRef<"button"> & {
|
|
5
5
|
/**
|
|
6
6
|
* If true, the button will be rendered as its child, merging its props onto that child.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { InputProps } from '../../form/Input/Input';
|
|
3
|
-
import { FieldIntent, FieldVariant } from '../../../types/tokens';
|
|
2
|
+
import { InputProps } from '../../form/Input/Input.js';
|
|
3
|
+
import { FieldIntent, FieldVariant } from '../../../types/tokens.js';
|
|
4
4
|
export type ColorPickerSwatch = string | {
|
|
5
5
|
/** Color in `#rrggbb` (or `#rgb`) form */
|
|
6
6
|
value: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { TextareaProps } from '../Textarea/Textarea';
|
|
2
|
+
import { TextareaProps } from '../Textarea/Textarea.js';
|
|
3
3
|
export type CounterTextareaProps = TextareaProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Whether to show the character count.
|
|
@@ -19,15 +19,15 @@ export type CounterTextareaProps = TextareaProps & {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const CounterTextarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & {
|
|
21
21
|
asChild?: boolean;
|
|
22
|
-
intent?: import('
|
|
23
|
-
variant?: import('
|
|
22
|
+
intent?: import('../../../index.js').FieldIntent;
|
|
23
|
+
variant?: import('../../../index.js').FieldVariant;
|
|
24
24
|
fullWidth?: boolean;
|
|
25
25
|
fieldSizing?: "fixed" | "content";
|
|
26
26
|
label?: string;
|
|
27
27
|
error?: string;
|
|
28
28
|
required?: boolean;
|
|
29
29
|
layout?: "vertical" | "horizontal";
|
|
30
|
-
width?: import('
|
|
30
|
+
width?: import('../../../index.js').FieldWidth | string | number;
|
|
31
31
|
} & {
|
|
32
32
|
/**
|
|
33
33
|
* Whether to show the character count.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { InputProps } from '../Input/Input';
|
|
2
|
+
import { InputProps } from '../Input/Input.js';
|
|
3
3
|
export type CreditCardBrand = "visa" | "mastercard" | "amex" | "discover" | "jcb" | "diners" | "generic";
|
|
4
4
|
export type CreditCardInputProps = Omit<InputProps, "type" | "rightIcon"> & {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens';
|
|
2
|
+
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens.js';
|
|
3
3
|
export type DatePickerLabels = {
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DatePicker } from '../../form/DatePicker/DatePicker';
|
|
2
|
+
import { DatePicker } from '../../form/DatePicker/DatePicker.js';
|
|
3
3
|
type DateRangePickerProps = {
|
|
4
4
|
/** Props passed to the start-date DatePicker */
|
|
5
5
|
startProps?: React.ComponentProps<typeof DatePicker>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Icon } from '../../media/Icon/Icon';
|
|
3
|
-
import { InteractiveAreaProps } from '../../layout/InteractiveArea/InteractiveArea';
|
|
2
|
+
import { Icon } from '../../media/Icon/Icon.js';
|
|
3
|
+
import { InteractiveAreaProps } from '../../layout/InteractiveArea/InteractiveArea.js';
|
|
4
4
|
type DropzoneProps = {
|
|
5
5
|
/** Field label. */
|
|
6
6
|
label?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './FieldTemplate';
|
|
1
|
+
export * from './FieldTemplate.js';
|
|
@@ -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
|
type FileUploadProps = {
|
|
5
5
|
/** Field label */
|
|
6
6
|
label?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic, ButtonIntent } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic, ButtonIntent } from '../../../types/tokens.js';
|
|
3
3
|
export interface FloatButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the button will be rendered as its child, merging its props onto that child.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Button } from '../../form/Button/Button';
|
|
3
|
-
import { Icon } from '../../media/Icon/Icon';
|
|
2
|
+
import { Button } from '../../form/Button/Button.js';
|
|
3
|
+
import { Icon } from '../../media/Icon/Icon.js';
|
|
4
4
|
export type IconButtonProps = Omit<React.ComponentProps<typeof Button>, "label" | "iconPosition"> & {
|
|
5
5
|
/** Icon name to display */
|
|
6
6
|
iconName: React.ComponentProps<typeof Icon>["name"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ImageCropDetail, ImageCropOutputType } from './cropImage';
|
|
2
|
+
import { ImageCropDetail, ImageCropOutputType } from './cropImage.js';
|
|
3
3
|
export type { ImageCropDetail, ImageCropOutputType };
|
|
4
4
|
export interface ImageCropperProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
5
5
|
/** URL or data URL of the image to crop */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Icon } from '../../media/Icon/Icon';
|
|
3
|
-
import { InputBase } from '../InputBase';
|
|
4
|
-
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens';
|
|
2
|
+
import { Icon } from '../../media/Icon/Icon.js';
|
|
3
|
+
import { InputBase } from '../InputBase/index.js';
|
|
4
|
+
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens.js';
|
|
5
5
|
export interface InputProps extends Omit<React.ComponentPropsWithoutRef<"input">, "prefix"> {
|
|
6
6
|
/** Semantic intent of the field (e.g. error state) */
|
|
7
7
|
intent?: FieldIntent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Icon } from '../../media/Icon/Icon';
|
|
3
|
-
import { WimIntent, FieldIntent, FieldWidth, FieldVariant } from '../../../types/tokens';
|
|
2
|
+
import { Icon } from '../../media/Icon/Icon.js';
|
|
3
|
+
import { WimIntent, FieldIntent, FieldWidth, FieldVariant } from '../../../types/tokens.js';
|
|
4
4
|
export type InputBaseIcon = {
|
|
5
5
|
name: React.ComponentProps<typeof Icon>["name"];
|
|
6
6
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './InputBase';
|
|
1
|
+
export * from './InputBase.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Input } from '../../form/Input/Input';
|
|
2
|
+
import { Input } from '../../form/Input/Input.js';
|
|
3
3
|
type InputMaskProps = React.ComponentProps<typeof Input> & {
|
|
4
4
|
/** Mask pattern ('9': digit, 'a': letter, '*': alphanumeric; other characters are shown as-is) */
|
|
5
5
|
mask: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ButtonProps } from '../../form/Button/Button';
|
|
3
|
-
import { ComponentSizeBasic, ButtonVariant, ButtonIntent } from '../../../types/tokens';
|
|
2
|
+
import { ButtonProps } from '../../form/Button/Button.js';
|
|
3
|
+
import { ComponentSizeBasic, ButtonVariant, ButtonIntent } from '../../../types/tokens.js';
|
|
4
4
|
export type LinkButtonProps = React.ComponentPropsWithoutRef<"a"> & Omit<ButtonProps, "onClick" | "type"> & {
|
|
5
5
|
/** Position of the icon relative to the label */
|
|
6
6
|
iconPosition?: "left" | "right";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Input } from '../../form/Input/Input';
|
|
2
|
+
import { Input } from '../../form/Input/Input.js';
|
|
3
3
|
export interface NumberInputProps extends React.ComponentPropsWithoutRef<typeof Input> {
|
|
4
4
|
/**
|
|
5
5
|
* 'number': uses the native type="number" (e.g. quantity steppers)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './QueryBuilder';
|
|
1
|
+
export * from './QueryBuilder.js';
|
|
@@ -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 RatingLabels = {
|
|
4
4
|
star?: (count: number) => string;
|
|
5
5
|
readonly?: (value: number, max: number) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens';
|
|
2
|
+
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens.js';
|
|
3
3
|
export type RichTextEditorToolbarItem = "bold" | "italic" | "underline" | "strikethrough" | "h1" | "h2" | "h3" | "ul" | "ol" | "link" | "unlink" | "image" | "removeFormat" | "separator";
|
|
4
4
|
export type RichTextEditorLabels = {
|
|
5
5
|
bold?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { InputBase } from '../InputBase';
|
|
3
|
-
import { FieldIntent, FieldWidth } from '../../../types/tokens';
|
|
2
|
+
import { InputBase } from '../InputBase/index.js';
|
|
3
|
+
import { FieldIntent, FieldWidth } from '../../../types/tokens.js';
|
|
4
4
|
export type SelectOption = {
|
|
5
5
|
label?: React.ReactNode;
|
|
6
6
|
value?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { SelectOption, SelectProps } from './Select';
|
|
2
|
+
import { SelectOption, SelectProps } from './Select.js';
|
|
3
3
|
type UseSelectParams = Pick<SelectProps, "options" | "value" | "onChange" | "defaultValue" | "searchable" | "grouped" | "disabled" | "filterOption">;
|
|
4
4
|
export declare function useSelect({ options, value, onChange, defaultValue, searchable, grouped, disabled, filterOption, }: UseSelectParams): {
|
|
5
5
|
isOpen: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FieldTemplate } from '../FieldTemplate';
|
|
2
|
+
import { FieldTemplate } from '../FieldTemplate/index.js';
|
|
3
3
|
export interface SliderProps extends Omit<React.ComponentPropsWithoutRef<"div">, "onChange" | "defaultValue"> {
|
|
4
4
|
/** Current value (controlled) */
|
|
5
5
|
value?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens';
|
|
2
|
+
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens.js';
|
|
3
3
|
export interface SmartSearchInputProps extends Omit<React.ComponentPropsWithoutRef<"textarea">, "onChange" | "onSubmit"> {
|
|
4
4
|
/** Semantic intent of the field (e.g. error state) */
|
|
5
5
|
intent?: FieldIntent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ButtonIntent } from '../../../types/generated-intents';
|
|
3
|
-
import { ButtonVariant, ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { ButtonIntent } from '../../../types/generated-intents.js';
|
|
3
|
+
import { ButtonVariant, ComponentSizeBasic } from '../../../types/tokens.js';
|
|
4
4
|
export type SplitButtonAction = {
|
|
5
5
|
/** Text shown in the menu. */
|
|
6
6
|
label: 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
|
export type SwitchProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the component 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 { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens';
|
|
2
|
+
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens.js';
|
|
3
3
|
export interface TagInputProps extends Omit<React.ComponentPropsWithoutRef<"div">, "onChange"> {
|
|
4
4
|
/** List of tags (controlled) */
|
|
5
5
|
value?: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens';
|
|
2
|
+
import { FieldIntent, FieldVariant, FieldWidth } from '../../../types/tokens.js';
|
|
3
3
|
export type TextareaProps = React.ComponentPropsWithoutRef<"textarea"> & {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the textarea element will be rendered as its child, merging its props onto that child.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
3
|
-
import { WimTheme } from '../../../theme';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
|
+
import { WimTheme } from '../../../theme.js';
|
|
4
4
|
/** Theme mode. "system" follows the OS via `prefers-color-scheme`. */
|
|
5
5
|
export type ThemeMode = WimTheme;
|
|
6
6
|
/** Labels for internationalization. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { InputProps } from '../../form/Input/Input';
|
|
3
|
-
import { FieldIntent, FieldVariant } from '../../../types/tokens';
|
|
2
|
+
import { InputProps } from '../../form/Input/Input.js';
|
|
3
|
+
import { FieldIntent, FieldVariant } from '../../../types/tokens.js';
|
|
4
4
|
export type TimePickerProps = Omit<InputProps, "type" | "rightIcon"> & {
|
|
5
5
|
/** Semantic intent of the field (e.g. error state) */
|
|
6
6
|
intent?: FieldIntent;
|
|
@@ -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 type Option = {
|
|
5
5
|
label?: string;
|
|
6
6
|
value: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WimColor, WimSpacing, WimRadius, WimShadow } from '../../../types/tokens';
|
|
3
|
-
import { ResponsiveProp } from '../../layout/Grid/grid-utils';
|
|
2
|
+
import { WimColor, WimSpacing, WimRadius, WimShadow } from '../../../types/tokens.js';
|
|
3
|
+
import { ResponsiveProp } from '../../layout/Grid/grid-utils.js';
|
|
4
4
|
export type BoxProps<C extends React.ElementType = "div"> = {
|
|
5
5
|
/** The component used for the root node. Either a string to use a HTML element or a component. */
|
|
6
6
|
as?: C;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BoxProps } from '../../layout/Box/Box';
|
|
2
|
+
import { BoxProps } from '../../layout/Box/Box.js';
|
|
3
3
|
export type ContainerProps = Omit<BoxProps, "as"> & {
|
|
4
4
|
/** Container max-width */
|
|
5
5
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | number | string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WimSpacing } from '../../../types/tokens';
|
|
2
|
+
import { WimSpacing } from '../../../types/tokens.js';
|
|
3
3
|
export type FlexProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the flex 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 { ResponsiveProp } from './grid-utils';
|
|
2
|
+
import { ResponsiveProp } from './grid-utils.js';
|
|
3
3
|
export declare const Grid: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the grid will be rendered as its child, merging its props onto that child.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { ComponentSizeBasic } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
export type InteractiveAreaProps = Omit<React.ComponentPropsWithoutRef<"div">, "title" | "description"> & {
|
|
4
4
|
/**
|
|
5
5
|
* Area title
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { HamburgerMenu } from '../../navigation/HamburgerMenu/HamburgerMenu';
|
|
2
|
+
import { HamburgerMenu } from '../../navigation/HamburgerMenu/HamburgerMenu.js';
|
|
3
3
|
export interface NavbarProps extends React.ComponentPropsWithoutRef<"nav"> {
|
|
4
4
|
/** Whether the navbar is fixed to the viewport */
|
|
5
5
|
fixed?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WimSpacing } from '../../../types/tokens';
|
|
3
|
-
import { CollapseFrom } from './getVisibleCount';
|
|
2
|
+
import { WimSpacing } from '../../../types/tokens.js';
|
|
3
|
+
import { CollapseFrom } from './getVisibleCount.js';
|
|
4
4
|
export type OverflowListProps<T> = Omit<React.ComponentPropsWithoutRef<"div">, "children"> & {
|
|
5
5
|
/**
|
|
6
6
|
* Items to lay out in a single row, in reading order.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ResponsiveProp } from '../../layout/Grid/grid-utils';
|
|
2
|
+
import { ResponsiveProp } from '../../layout/Grid/grid-utils.js';
|
|
3
3
|
export declare const SimpleGrid: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
/** Number of columns (or a responsive object per breakpoint) */
|
|
5
5
|
cols?: ResponsiveProp<number>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BoxProps } from '../../layout/Box/Box';
|
|
3
|
-
import { ResponsiveProp } from '../../layout/Grid/grid-utils';
|
|
2
|
+
import { BoxProps } from '../../layout/Box/Box.js';
|
|
3
|
+
import { ResponsiveProp } from '../../layout/Grid/grid-utils.js';
|
|
4
4
|
export type StackProps = Omit<BoxProps, "as"> & {
|
|
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 } from '../../../types/tokens';
|
|
2
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
3
3
|
export type ToolbarProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
4
4
|
/**
|
|
5
5
|
* If true, the component will be rendered as its child, merging its props onto that child.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { MediaRadius } from '../../../types/tokens';
|
|
3
|
-
import { AudioLabels } from './components/AudioCustomControls';
|
|
2
|
+
import { MediaRadius } from '../../../types/tokens.js';
|
|
3
|
+
import { AudioLabels } from './components/AudioCustomControls.js';
|
|
4
4
|
export type { AudioLabels };
|
|
5
5
|
export type AudioTrack = {
|
|
6
6
|
src: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ComponentSize, WimColor } from '../../../types/tokens';
|
|
3
|
-
import { IconName } from '../../../icon';
|
|
2
|
+
import { ComponentSize, WimColor } from '../../../types/tokens.js';
|
|
3
|
+
import { IconName } from '../../../icon/index.js';
|
|
4
4
|
type IconProps = Omit<React.SVGProps<SVGSVGElement>, "name"> & {
|
|
5
5
|
/** Icon name. Requires `import "wimui/icons"` once at the app entry to register icons. */
|
|
6
6
|
name?: IconName;
|