@skalar-saas/design-system 0.1.67
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.md +68 -0
- package/dist/design-system.css +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useDebounce.d.ts +7 -0
- package/dist/index-CVAu6nrM.cjs +15 -0
- package/dist/index-CVAu6nrM.cjs.map +1 -0
- package/dist/index-D9hMGhK3.js +6790 -0
- package/dist/index-D9hMGhK3.js.map +1 -0
- package/dist/index.d.ts +130 -0
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +11508 -0
- package/dist/index.mjs.map +1 -0
- package/dist/layout/Container/Container.d.ts +62 -0
- package/dist/layout/Container/index.d.ts +2 -0
- package/dist/layout/PanelLayout/Panel.d.ts +20 -0
- package/dist/layout/PanelLayout/PanelContext.d.ts +10 -0
- package/dist/layout/PanelLayout/PanelLayout.d.ts +28 -0
- package/dist/layout/PanelLayout/PanelLayout.types.d.ts +146 -0
- package/dist/layout/PanelLayout/PanelMain.d.ts +19 -0
- package/dist/layout/PanelLayout/index.d.ts +6 -0
- package/dist/layout/PanelLayout/panelUtils.d.ts +74 -0
- package/dist/layout/PanelLayout/usePanelState.d.ts +25 -0
- package/dist/layout/Section/Section.d.ts +20 -0
- package/dist/layout/Section/index.d.ts +2 -0
- package/dist/layout/SplitPanelLayout/SplitPanelLayout.d.ts +57 -0
- package/dist/layout/SplitPanelLayout/index.d.ts +2 -0
- package/dist/layout/constants.d.ts +348 -0
- package/dist/layout/index.d.ts +31 -0
- package/dist/shared/icons/AICommentaryIcon.d.ts +11 -0
- package/dist/shared/icons/AIMessage.d.ts +2 -0
- package/dist/shared/icons/Add2Icon.d.ts +12 -0
- package/dist/shared/icons/AddIcon.d.ts +7 -0
- package/dist/shared/icons/ArrowNarrowDownIcon.d.ts +6 -0
- package/dist/shared/icons/BookOutlined.d.ts +10 -0
- package/dist/shared/icons/Box2Icon.d.ts +6 -0
- package/dist/shared/icons/BoxIcon.d.ts +11 -0
- package/dist/shared/icons/CalendarIcon.d.ts +11 -0
- package/dist/shared/icons/CalendarIcon2.d.ts +12 -0
- package/dist/shared/icons/ChatIcon.d.ts +11 -0
- package/dist/shared/icons/ChevronDownIcon.d.ts +6 -0
- package/dist/shared/icons/ChevronUpIcon.d.ts +6 -0
- package/dist/shared/icons/CircleIcon.d.ts +6 -0
- package/dist/shared/icons/CopyIcon.d.ts +12 -0
- package/dist/shared/icons/DataArrowsOutlined.d.ts +10 -0
- package/dist/shared/icons/Edit2Icon.d.ts +12 -0
- package/dist/shared/icons/EyeIcon.d.ts +12 -0
- package/dist/shared/icons/EyeOffIcon.d.ts +12 -0
- package/dist/shared/icons/FilterFunnel02Icon.d.ts +6 -0
- package/dist/shared/icons/FlashIcon.d.ts +12 -0
- package/dist/shared/icons/GridIcon.d.ts +12 -0
- package/dist/shared/icons/InfoIcon.d.ts +12 -0
- package/dist/shared/icons/LayerIcon.d.ts +12 -0
- package/dist/shared/icons/LeftArrowIcon.d.ts +5 -0
- package/dist/shared/icons/MaximizeIcon.d.ts +12 -0
- package/dist/shared/icons/MessageProgrammingOutlined.d.ts +10 -0
- package/dist/shared/icons/MoreIcon.d.ts +12 -0
- package/dist/shared/icons/PlusCircleIcon.d.ts +6 -0
- package/dist/shared/icons/ProgrammingArrowsOutlined.d.ts +10 -0
- package/dist/shared/icons/QuestionCircle.d.ts +11 -0
- package/dist/shared/icons/RightArrowIcon.d.ts +5 -0
- package/dist/shared/icons/ShareIcon.d.ts +6 -0
- package/dist/shared/icons/SkalarLogo.d.ts +13 -0
- package/dist/shared/icons/SkalarLogoNoText.d.ts +13 -0
- package/dist/shared/icons/SlashIcon.d.ts +5 -0
- package/dist/shared/icons/SliderPointerDown.d.ts +10 -0
- package/dist/shared/icons/SliderPointerUp.d.ts +10 -0
- package/dist/shared/icons/SliderThumbIcon.d.ts +10 -0
- package/dist/shared/icons/StraightInfoIcon.d.ts +11 -0
- package/dist/shared/icons/TrashIcon.d.ts +12 -0
- package/dist/shared/icons/UnionIcon.d.ts +12 -0
- package/dist/shared/icons/UploadImageIcon.d.ts +10 -0
- package/dist/shared/icons/VideoPlayOutlined.d.ts +10 -0
- package/dist/shared/icons/XMark.d.ts +11 -0
- package/dist/shared/icons/XMarkAlert.d.ts +11 -0
- package/dist/shared/icons/index.d.ts +83 -0
- package/dist/shared/ui/Alert/Alert.d.ts +95 -0
- package/dist/shared/ui/Alert/index.d.ts +1 -0
- package/dist/shared/ui/AttachmentMessage/AttachmentMessage.d.ts +29 -0
- package/dist/shared/ui/AttachmentMessage/index.d.ts +1 -0
- package/dist/shared/ui/AuthActionWidget/AuthActionWidget.d.ts +18 -0
- package/dist/shared/ui/AuthActionWidget/index.d.ts +2 -0
- package/dist/shared/ui/AuthFormWidget/AuthFormWidget.d.ts +27 -0
- package/dist/shared/ui/AuthFormWidget/index.d.ts +2 -0
- package/dist/shared/ui/AuthSocialOptionsWidget/AuthSocialOptionsWidget.d.ts +25 -0
- package/dist/shared/ui/AuthSocialOptionsWidget/index.d.ts +2 -0
- package/dist/shared/ui/Avatar/Avatar.d.ts +38 -0
- package/dist/shared/ui/Avatar/index.d.ts +1 -0
- package/dist/shared/ui/AvatarGroup/AvatarGroup.d.ts +39 -0
- package/dist/shared/ui/AvatarGroup/index.d.ts +1 -0
- package/dist/shared/ui/Badge/Badge.d.ts +40 -0
- package/dist/shared/ui/Badge/index.d.ts +1 -0
- package/dist/shared/ui/BreadCrumb/BreadCrumb.d.ts +12 -0
- package/dist/shared/ui/BreadCrumb/index.d.ts +1 -0
- package/dist/shared/ui/Button/Button.d.ts +47 -0
- package/dist/shared/ui/Button/index.d.ts +1 -0
- package/dist/shared/ui/ButtonDropdown/ButtonDropdown.d.ts +53 -0
- package/dist/shared/ui/ButtonDropdown/index.d.ts +1 -0
- package/dist/shared/ui/ButtonGroup/ButtonGroup.d.ts +39 -0
- package/dist/shared/ui/ButtonGroup/index.d.ts +1 -0
- package/dist/shared/ui/Card/Card.d.ts +46 -0
- package/dist/shared/ui/Card/index.d.ts +2 -0
- package/dist/shared/ui/CardAction/CardAction.d.ts +28 -0
- package/dist/shared/ui/CardAction/index.d.ts +2 -0
- package/dist/shared/ui/ChatCollapsibleCheck/ChatCollapsibleCheck.d.ts +54 -0
- package/dist/shared/ui/ChatCollapsibleCheck/index.d.ts +2 -0
- package/dist/shared/ui/ChatCollapsibleContainer/ChatCollapsibleContainer.d.ts +32 -0
- package/dist/shared/ui/ChatCollapsibleContainer/index.d.ts +2 -0
- package/dist/shared/ui/ChatCollapsibleDialog/ChatCollapsibleDialog.d.ts +43 -0
- package/dist/shared/ui/ChatCollapsibleDialog/index.d.ts +2 -0
- package/dist/shared/ui/ChatCommandList/ChatCommandList.d.ts +78 -0
- package/dist/shared/ui/ChatCommandList/index.d.ts +2 -0
- package/dist/shared/ui/ChatCommandListItem/ChatCommandListItem.d.ts +88 -0
- package/dist/shared/ui/ChatCommandListItem/index.d.ts +2 -0
- package/dist/shared/ui/ChatHeader/ChatHeader.d.ts +38 -0
- package/dist/shared/ui/ChatHeader/index.d.ts +1 -0
- package/dist/shared/ui/ChatHistorial/ChatHistorial.d.ts +49 -0
- package/dist/shared/ui/ChatHistorial/index.d.ts +2 -0
- package/dist/shared/ui/ChatHistorialItem/ChatHistorialItem.d.ts +33 -0
- package/dist/shared/ui/ChatHistorialItem/index.d.ts +2 -0
- package/dist/shared/ui/ChatInputText/ChatInputText.d.ts +36 -0
- package/dist/shared/ui/ChatInputText/index.d.ts +1 -0
- package/dist/shared/ui/ChatMessage/ChatMessage.d.ts +27 -0
- package/dist/shared/ui/ChatMessage/index.d.ts +2 -0
- package/dist/shared/ui/ChatMessageOptions/ChatMessageOptions.d.ts +30 -0
- package/dist/shared/ui/ChatMessageOptions/index.d.ts +2 -0
- package/dist/shared/ui/ChatPanel/ChatPanel.d.ts +57 -0
- package/dist/shared/ui/ChatPanel/ChatPanel.types.d.ts +171 -0
- package/dist/shared/ui/ChatPanel/index.d.ts +2 -0
- package/dist/shared/ui/ChatTypingIndicator/ChatTypingIndicator.d.ts +17 -0
- package/dist/shared/ui/ChatTypingIndicator/index.d.ts +1 -0
- package/dist/shared/ui/Checkbox/Checkbox.d.ts +26 -0
- package/dist/shared/ui/Checkbox/index.d.ts +1 -0
- package/dist/shared/ui/Chip/Chip.d.ts +35 -0
- package/dist/shared/ui/Chip/index.d.ts +1 -0
- package/dist/shared/ui/ColorPalette/ColorPalette.d.ts +9 -0
- package/dist/shared/ui/ColumnHandler/ColumnHandler.d.ts +17 -0
- package/dist/shared/ui/ColumnHandler/PanelHandle.d.ts +32 -0
- package/dist/shared/ui/ColumnHandler/index.d.ts +4 -0
- package/dist/shared/ui/ComboBox/ComboBox.d.ts +69 -0
- package/dist/shared/ui/ComboBox/index.d.ts +1 -0
- package/dist/shared/ui/ContextualMenu/ContextualMenu.d.ts +47 -0
- package/dist/shared/ui/ContextualMenu/index.d.ts +2 -0
- package/dist/shared/ui/DateRangePicker/DateRangePicker.d.ts +47 -0
- package/dist/shared/ui/DateRangePicker/index.d.ts +1 -0
- package/dist/shared/ui/Divider/Divider.d.ts +8 -0
- package/dist/shared/ui/Divider/index.d.ts +1 -0
- package/dist/shared/ui/DragAndDropListItem/DragAndDropListItem.d.ts +54 -0
- package/dist/shared/ui/DragAndDropListItem/index.d.ts +2 -0
- package/dist/shared/ui/DropMenu/DropMenu.d.ts +58 -0
- package/dist/shared/ui/DropMenu/index.d.ts +1 -0
- package/dist/shared/ui/DropZone/DropZone.d.ts +47 -0
- package/dist/shared/ui/DropZone/index.d.ts +2 -0
- package/dist/shared/ui/Dropdown/Dropdown.d.ts +66 -0
- package/dist/shared/ui/Dropdown/index.d.ts +1 -0
- package/dist/shared/ui/DropdownMenu/DropdownMenu.d.ts +37 -0
- package/dist/shared/ui/ErrorBoundary/ErrorBoundary.d.ts +46 -0
- package/dist/shared/ui/ErrorBoundary/index.d.ts +2 -0
- package/dist/shared/ui/ErrorState/ErrorState.d.ts +51 -0
- package/dist/shared/ui/ErrorState/index.d.ts +2 -0
- package/dist/shared/ui/FloatingBar/FloatingBar.d.ts +92 -0
- package/dist/shared/ui/FloatingBar/index.d.ts +1 -0
- package/dist/shared/ui/FormFieldGroup/FormFieldGroup.d.ts +9 -0
- package/dist/shared/ui/FormFieldGroup/index.d.ts +2 -0
- package/dist/shared/ui/GridDraggableItem/GridDraggableItem.d.ts +45 -0
- package/dist/shared/ui/GridDraggableItem/index.d.ts +2 -0
- package/dist/shared/ui/Header/Header.d.ts +36 -0
- package/dist/shared/ui/Header/index.d.ts +2 -0
- package/dist/shared/ui/Header/useCalculateHeaderWidths.d.ts +31 -0
- package/dist/shared/ui/HeaderTabs/HeaderTabs.d.ts +36 -0
- package/dist/shared/ui/HeaderTabs/index.d.ts +2 -0
- package/dist/shared/ui/Icon/Icon.d.ts +37 -0
- package/dist/shared/ui/Icon/index.d.ts +1 -0
- package/dist/shared/ui/ImageUploader/ImageUploader.d.ts +38 -0
- package/dist/shared/ui/ImageUploader/index.d.ts +1 -0
- package/dist/shared/ui/InfoLabel/InfoLabel.d.ts +28 -0
- package/dist/shared/ui/InfoLabel/index.d.ts +2 -0
- package/dist/shared/ui/InputField/InputField.d.ts +55 -0
- package/dist/shared/ui/InputField/index.d.ts +1 -0
- package/dist/shared/ui/InputSearch/InputSearch.d.ts +44 -0
- package/dist/shared/ui/InputSearch/index.d.ts +1 -0
- package/dist/shared/ui/Kbd/Kbd.d.ts +8 -0
- package/dist/shared/ui/Kbd/index.d.ts +2 -0
- package/dist/shared/ui/LabelIcon/LabelIcon.d.ts +26 -0
- package/dist/shared/ui/LabelIcon/index.d.ts +2 -0
- package/dist/shared/ui/LabelWithIcon/LabelWithIcon.d.ts +27 -0
- package/dist/shared/ui/LabelWithIcon/index.d.ts +1 -0
- package/dist/shared/ui/LabelWithTooltip/LabelWithTooltip.d.ts +41 -0
- package/dist/shared/ui/LabelWithTooltip/index.d.ts +1 -0
- package/dist/shared/ui/Link/Link.d.ts +39 -0
- package/dist/shared/ui/Link/index.d.ts +1 -0
- package/dist/shared/ui/ListItem/ListItem.d.ts +72 -0
- package/dist/shared/ui/ListItem/index.d.ts +2 -0
- package/dist/shared/ui/Modal/Modal.d.ts +203 -0
- package/dist/shared/ui/Modal/index.d.ts +1 -0
- package/dist/shared/ui/ModuleCard/ModuleCard.d.ts +51 -0
- package/dist/shared/ui/ModuleCard/index.d.ts +1 -0
- package/dist/shared/ui/ModuleFieldItem/ModuleFieldItem.d.ts +53 -0
- package/dist/shared/ui/ModuleFieldItem/index.d.ts +1 -0
- package/dist/shared/ui/PanelHeader/PanelHeader.d.ts +37 -0
- package/dist/shared/ui/PanelHeader/index.d.ts +1 -0
- package/dist/shared/ui/PasswordResetWidget/PasswordResetWidget.d.ts +19 -0
- package/dist/shared/ui/PasswordResetWidget/index.d.ts +2 -0
- package/dist/shared/ui/ProductIcon/ProductIcon.d.ts +25 -0
- package/dist/shared/ui/ProductIcon/index.d.ts +1 -0
- package/dist/shared/ui/Progress/Progress.d.ts +29 -0
- package/dist/shared/ui/Progress/index.d.ts +1 -0
- package/dist/shared/ui/ProgressBar/ProgressBar.d.ts +21 -0
- package/dist/shared/ui/ProgressBar/index.d.ts +1 -0
- package/dist/shared/ui/ProgressCircle/ProgressCircle.d.ts +44 -0
- package/dist/shared/ui/ProgressCircle/index.d.ts +1 -0
- package/dist/shared/ui/ProgressCustomTooltip/ProgressCustomTooltip.d.ts +47 -0
- package/dist/shared/ui/ProgressCustomTooltip/index.d.ts +1 -0
- package/dist/shared/ui/ProgressTracker/ProgressTracker.d.ts +36 -0
- package/dist/shared/ui/ProgressTracker/index.d.ts +1 -0
- package/dist/shared/ui/ProjectActionCard/ProjectActionCard.d.ts +23 -0
- package/dist/shared/ui/ProjectActionCard/index.d.ts +2 -0
- package/dist/shared/ui/ProjectCard/ProjectCard.d.ts +46 -0
- package/dist/shared/ui/ProjectCard/index.d.ts +2 -0
- package/dist/shared/ui/ProjectCardPlan/ProjectCardPlan.d.ts +27 -0
- package/dist/shared/ui/ProjectCardPlan/index.d.ts +2 -0
- package/dist/shared/ui/Radio/Radio.d.ts +24 -0
- package/dist/shared/ui/Radio/index.d.ts +1 -0
- package/dist/shared/ui/RecoveryWidget/RecoveryWidget.d.ts +26 -0
- package/dist/shared/ui/RecoveryWidget/index.d.ts +2 -0
- package/dist/shared/ui/RelatedDataCard/RelatedDataCard.d.ts +47 -0
- package/dist/shared/ui/RelatedDataCard/index.d.ts +1 -0
- package/dist/shared/ui/SettingsCard/SettingsCard.d.ts +24 -0
- package/dist/shared/ui/SettingsCard/index.d.ts +2 -0
- package/dist/shared/ui/SidePanel/SidePanel.d.ts +26 -0
- package/dist/shared/ui/SidePanel/SidePanel.types.d.ts +27 -0
- package/dist/shared/ui/SidePanel/index.d.ts +2 -0
- package/dist/shared/ui/SupportCard/SupportCard.d.ts +19 -0
- package/dist/shared/ui/SupportCard/index.d.ts +2 -0
- package/dist/shared/ui/Switcher/Switcher.d.ts +41 -0
- package/dist/shared/ui/Switcher/index.d.ts +1 -0
- package/dist/shared/ui/Table/Table.d.ts +136 -0
- package/dist/shared/ui/Table/TableBody.d.ts +13 -0
- package/dist/shared/ui/Table/TableCell.d.ts +6 -0
- package/dist/shared/ui/Table/TableColumnFilter.d.ts +11 -0
- package/dist/shared/ui/Table/TableColumnHeader.d.ts +6 -0
- package/dist/shared/ui/Table/TableColumnVisibility.d.ts +7 -0
- package/dist/shared/ui/Table/TableContext.d.ts +31 -0
- package/dist/shared/ui/Table/TableEmptyState.d.ts +16 -0
- package/dist/shared/ui/Table/TableHeader.d.ts +5 -0
- package/dist/shared/ui/Table/TablePagination.d.ts +9 -0
- package/dist/shared/ui/Table/TableRoot.d.ts +6 -0
- package/dist/shared/ui/Table/TableRow.d.ts +8 -0
- package/dist/shared/ui/Table/configParser.d.ts +18 -0
- package/dist/shared/ui/Table/index.d.ts +15 -0
- package/dist/shared/ui/Table/mockData.d.ts +33 -0
- package/dist/shared/ui/Table/types.d.ts +66 -0
- package/dist/shared/ui/Tabs/Tabs.d.ts +59 -0
- package/dist/shared/ui/Tabs/index.d.ts +1 -0
- package/dist/shared/ui/Tag/Tag.d.ts +29 -0
- package/dist/shared/ui/Tag/index.d.ts +1 -0
- package/dist/shared/ui/TextArea/TextArea.d.ts +28 -0
- package/dist/shared/ui/TextArea/index.d.ts +1 -0
- package/dist/shared/ui/ThemeToggle/ThemeToggle.d.ts +29 -0
- package/dist/shared/ui/ThemeToggle/index.d.ts +1 -0
- package/dist/shared/ui/Toast/Toast.d.ts +54 -0
- package/dist/shared/ui/Toast/index.d.ts +2 -0
- package/dist/shared/ui/Toggle/Toggle.d.ts +24 -0
- package/dist/shared/ui/Toggle/index.d.ts +1 -0
- package/dist/shared/ui/Tooltip/Tooltip.d.ts +103 -0
- package/dist/shared/ui/Tooltip/index.d.ts +1 -0
- package/dist/shared/ui/TypesPanel/TypesPanel.d.ts +28 -0
- package/dist/shared/ui/TypesPanel/index.d.ts +2 -0
- package/dist/shared/ui/TypesPanelBodyGrid/TypesPanelBodyGrid.d.ts +45 -0
- package/dist/shared/ui/TypesPanelBodyGrid/index.d.ts +2 -0
- package/dist/shared/ui/TypesPanelBodyList/TypesPanelBodyList.d.ts +45 -0
- package/dist/shared/ui/TypesPanelBodyList/index.d.ts +2 -0
- package/dist/shared/ui/TypesPanelHeader/TypesPanelHeader.d.ts +27 -0
- package/dist/shared/ui/TypesPanelHeader/index.d.ts +2 -0
- package/dist/shared/ui/TypesPanelHeaderSearch/TypesPanelHeaderSearch.d.ts +44 -0
- package/dist/shared/ui/TypesPanelHeaderSearch/index.d.ts +1 -0
- package/dist/shared/ui/UserMenu/UserMenu.d.ts +78 -0
- package/dist/shared/ui/UserMenu/index.d.ts +1 -0
- package/dist/shared/ui/VisualComposer/VisualComposer.d.ts +36 -0
- package/dist/shared/ui/VisualComposer/index.d.ts +2 -0
- package/dist/shared/ui/WidgetBuilderItemHoverAction/WidgetBuilderItemHoverAction.d.ts +15 -0
- package/dist/shared/ui/WidgetBuilderItemHoverAction/index.d.ts +2 -0
- package/dist/shared/ui/WidgetContainer/WidgetContainer.d.ts +23 -0
- package/dist/shared/ui/WidgetContainer/index.d.ts +2 -0
- package/dist/shared/ui/WidgetSidebar/WidgetSidebar.d.ts +70 -0
- package/dist/shared/ui/WidgetSidebar/index.d.ts +2 -0
- package/dist/shared/ui/WorkspaceSettings/WorkspaceSettings.d.ts +22 -0
- package/dist/shared/ui/WorkspaceSettings/index.d.ts +2 -0
- package/dist/shared/ui/index.d.ts +1 -0
- package/dist/shared/ui/slider/Slider.d.ts +96 -0
- package/dist/shared/ui/slider/index.d.ts +2 -0
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/tailwind.d.ts +9 -0
- package/package.json +112 -0
- package/tailwind.preset.js +278 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface MaximizeIconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
/** Size of the icon in pixels */
|
|
4
|
+
size?: number;
|
|
5
|
+
/** Optional CSS classes */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Maximize icon component
|
|
10
|
+
* @description Icon representing maximize/fullscreen action
|
|
11
|
+
*/
|
|
12
|
+
export declare const MaximizeIcon: ({ size, className, ...props }: MaximizeIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface MessageProgrammingOutlinedProps {
|
|
2
|
+
/** Size of the icon in pixels */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Optional CSS classes */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* MessageProgrammingOutlined icon component
|
|
9
|
+
*/
|
|
10
|
+
export declare const MessageProgrammingOutlined: ({ size, className }: MessageProgrammingOutlinedProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface MoreIconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
/** Size of the icon in pixels */
|
|
4
|
+
size?: number;
|
|
5
|
+
/** Optional CSS classes */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* More icon component
|
|
10
|
+
* @description Icon representing more options/menu
|
|
11
|
+
*/
|
|
12
|
+
export declare const MoreIcon: ({ size, className, ...props }: MoreIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { SVGProps } from "react";
|
|
3
|
+
export interface PlusCircleIconProps extends SVGProps<SVGSVGElement> {
|
|
4
|
+
size?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const PlusCircleIcon: React.ForwardRefExoticComponent<Omit<PlusCircleIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ProgrammingArrowsOutlinedProps {
|
|
2
|
+
/** Size of the icon in pixels */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Optional CSS classes */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* ProgrammingArrowsOutlined icon component
|
|
9
|
+
*/
|
|
10
|
+
export declare const ProgrammingArrowsOutlined: ({ size, className }: ProgrammingArrowsOutlinedProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface QuestionCircleIconProps {
|
|
2
|
+
/** Size of the icon in pixels */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Optional CSS classes */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* QuestionCircle icon component
|
|
9
|
+
* @description Icon representing a question mark in a circle.
|
|
10
|
+
*/
|
|
11
|
+
export declare const QuestionCircle: ({ size, className }: QuestionCircleIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { SVGProps } from "react";
|
|
3
|
+
export interface ShareIconProps extends SVGProps<SVGSVGElement> {
|
|
4
|
+
size?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const ShareIcon: React.ForwardRefExoticComponent<Omit<ShareIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface SkalarLogoProps {
|
|
2
|
+
/** Width of the logo in pixels */
|
|
3
|
+
width?: number;
|
|
4
|
+
/** Height of the logo in pixels */
|
|
5
|
+
height?: number;
|
|
6
|
+
/** Optional CSS classes */
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Skalar logo component
|
|
11
|
+
* @description The main Skalar brand logo
|
|
12
|
+
*/
|
|
13
|
+
export declare const SkalarLogo: ({ width, height, className }: SkalarLogoProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface SkalarLogoNoTextProps {
|
|
2
|
+
/** Width of the logo in pixels */
|
|
3
|
+
width?: number;
|
|
4
|
+
/** Height of the logo in pixels */
|
|
5
|
+
height?: number;
|
|
6
|
+
/** Optional CSS classes */
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Skalar logo component without text
|
|
11
|
+
* @description The Skalar brand logo icon only, without text
|
|
12
|
+
*/
|
|
13
|
+
export declare const SkalarLogoNoText: ({ width, height, className }: SkalarLogoNoTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface SliderPointerDownProps {
|
|
3
|
+
size?: number;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Icono de pointer hacia abajo para etiquetas del Slider
|
|
8
|
+
*/
|
|
9
|
+
export declare const SliderPointerDown: React.FC<SliderPointerDownProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface SliderPointerUpProps {
|
|
3
|
+
size?: number;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Icono de pointer hacia arriba para etiquetas del Slider
|
|
8
|
+
*/
|
|
9
|
+
export declare const SliderPointerUp: React.FC<SliderPointerUpProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface StraightInfoIconProps {
|
|
2
|
+
/** Size of the icon in pixels */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Optional CSS classes */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* StraightInfo icon component
|
|
9
|
+
* @description Icon representing an information message.
|
|
10
|
+
*/
|
|
11
|
+
export declare const StraightInfoIcon: ({ size, className }: StraightInfoIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TrashIconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
/** Size of the icon in pixels */
|
|
4
|
+
size?: number;
|
|
5
|
+
/** Optional CSS classes */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Trash icon component
|
|
10
|
+
* @description Icon representing delete/trash action
|
|
11
|
+
*/
|
|
12
|
+
export declare const TrashIcon: ({ size, className, ...props }: TrashIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface UnionIconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
/** Size of the icon in pixels */
|
|
4
|
+
size?: number;
|
|
5
|
+
/** Optional CSS classes */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Eye off icon component
|
|
10
|
+
* @description Icon representing hidden/hide password
|
|
11
|
+
*/
|
|
12
|
+
export declare const UnionIcon: ({ size, className, ...props }: UnionIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface UploadImageIconProps {
|
|
2
|
+
/** Size of the icon in pixels */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Optional CSS classes */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Icon for uploading images
|
|
9
|
+
*/
|
|
10
|
+
export declare const UploadImageIcon: ({ size, className }: UploadImageIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface VideoPlayOutlinedProps {
|
|
2
|
+
/** Size of the icon in pixels */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Optional CSS classes */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* VideoPlayOutlined icon component
|
|
9
|
+
*/
|
|
10
|
+
export declare const VideoPlayOutlined: ({ size, className }: VideoPlayOutlinedProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface XMarkProps {
|
|
2
|
+
/** Size of the icon in pixels */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Optional CSS classes */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* XMark icon component
|
|
9
|
+
* @description Icon representing a close or dismiss action.
|
|
10
|
+
*/
|
|
11
|
+
export declare const XMark: ({ size, className }: XMarkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface XMarkAlertProps {
|
|
2
|
+
/** Size of the icon in pixels */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Optional CSS classes */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* XMark icon component
|
|
9
|
+
* @description Icon representing a close or dismiss action.
|
|
10
|
+
*/
|
|
11
|
+
export declare const XMarkAlert: ({ size, className }: XMarkAlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared icon components
|
|
3
|
+
* @description Custom SVG icon components for the project
|
|
4
|
+
* Source SVG files are located in /public/icons
|
|
5
|
+
*/
|
|
6
|
+
export { ChatIcon } from './ChatIcon';
|
|
7
|
+
export type { ChatIconProps } from './ChatIcon';
|
|
8
|
+
export { AICommentaryIcon } from './AICommentaryIcon';
|
|
9
|
+
export type { AICommentaryIconProps } from './AICommentaryIcon';
|
|
10
|
+
export { ArrowNarrowDownIcon, type ArrowNarrowDownIconProps } from './ArrowNarrowDownIcon';
|
|
11
|
+
export { FilterFunnel02Icon, type FilterFunnel02IconProps } from './FilterFunnel02Icon';
|
|
12
|
+
export { Box2Icon, type Box2IconProps } from './Box2Icon';
|
|
13
|
+
export { BoxIcon } from './BoxIcon';
|
|
14
|
+
export type { BoxIconProps } from './BoxIcon';
|
|
15
|
+
export { CircleIcon, type CircleIconProps } from './CircleIcon';
|
|
16
|
+
export { AddIcon, type AddIconProps } from "./AddIcon";
|
|
17
|
+
export { XMark } from './XMark';
|
|
18
|
+
export type { XMarkProps } from './XMark';
|
|
19
|
+
export { UploadImageIcon } from './UploadImageIcon';
|
|
20
|
+
export type { UploadImageIconProps } from './UploadImageIcon';
|
|
21
|
+
export { InfoIcon } from './InfoIcon';
|
|
22
|
+
export type { InfoIconProps } from './InfoIcon';
|
|
23
|
+
export { LeftArrowIcon } from './LeftArrowIcon';
|
|
24
|
+
export type { LeftArrowIconProps } from './LeftArrowIcon';
|
|
25
|
+
export { XMarkAlert } from './XMarkAlert';
|
|
26
|
+
export type { XMarkAlertProps } from './XMarkAlert';
|
|
27
|
+
export { StraightInfoIcon } from './StraightInfoIcon';
|
|
28
|
+
export type { StraightInfoIconProps } from './StraightInfoIcon';
|
|
29
|
+
export { QuestionCircle } from './QuestionCircle';
|
|
30
|
+
export type { QuestionCircleIconProps as QuestionCircleProps } from './QuestionCircle';
|
|
31
|
+
export { BookOutlined } from './BookOutlined';
|
|
32
|
+
export type { BookOutlinedProps } from './BookOutlined';
|
|
33
|
+
export { MessageProgrammingOutlined } from './MessageProgrammingOutlined';
|
|
34
|
+
export type { MessageProgrammingOutlinedProps } from './MessageProgrammingOutlined';
|
|
35
|
+
export { VideoPlayOutlined } from './VideoPlayOutlined';
|
|
36
|
+
export type { VideoPlayOutlinedProps } from './VideoPlayOutlined';
|
|
37
|
+
export { ProgrammingArrowsOutlined } from './ProgrammingArrowsOutlined';
|
|
38
|
+
export type { ProgrammingArrowsOutlinedProps } from './ProgrammingArrowsOutlined';
|
|
39
|
+
export { DataArrowsOutlined } from './DataArrowsOutlined';
|
|
40
|
+
export type { DataArrowsOutlinedProps } from './DataArrowsOutlined';
|
|
41
|
+
export { AIMessage } from './AIMessage';
|
|
42
|
+
export { ShareIcon, type ShareIconProps } from './ShareIcon';
|
|
43
|
+
export { SliderThumbIcon } from './SliderThumbIcon';
|
|
44
|
+
export { SliderPointerUp } from './SliderPointerUp';
|
|
45
|
+
export { SliderPointerDown } from './SliderPointerDown';
|
|
46
|
+
export { SkalarLogo } from './SkalarLogo';
|
|
47
|
+
export type { SkalarLogoProps } from './SkalarLogo';
|
|
48
|
+
export { SkalarLogoNoText } from './SkalarLogoNoText';
|
|
49
|
+
export type { SkalarLogoNoTextProps } from './SkalarLogoNoText';
|
|
50
|
+
export { RightArrowIcon } from './RightArrowIcon';
|
|
51
|
+
export type { RightArrowIconProps } from './RightArrowIcon';
|
|
52
|
+
export { CalendarIcon } from './CalendarIcon';
|
|
53
|
+
export type { CalendarIconProps } from './CalendarIcon';
|
|
54
|
+
export { EyeIcon } from './EyeIcon';
|
|
55
|
+
export type { EyeIconProps } from './EyeIcon';
|
|
56
|
+
export { EyeOffIcon } from './EyeOffIcon';
|
|
57
|
+
export type { EyeOffIconProps } from './EyeOffIcon';
|
|
58
|
+
export { PlusCircleIcon } from './PlusCircleIcon';
|
|
59
|
+
export type { PlusCircleIconProps } from './PlusCircleIcon';
|
|
60
|
+
export { ChevronDownIcon } from './ChevronDownIcon';
|
|
61
|
+
export type { ChevronDownIconProps } from './ChevronDownIcon';
|
|
62
|
+
export { ChevronUpIcon } from './ChevronUpIcon';
|
|
63
|
+
export type { ChevronUpIconProps } from './ChevronUpIcon';
|
|
64
|
+
export { UnionIcon } from './UnionIcon';
|
|
65
|
+
export type { UnionIconProps } from './UnionIcon';
|
|
66
|
+
export { MoreIcon } from './MoreIcon';
|
|
67
|
+
export type { MoreIconProps } from './MoreIcon';
|
|
68
|
+
export { LayerIcon } from './LayerIcon';
|
|
69
|
+
export type { LayerIconProps } from './LayerIcon';
|
|
70
|
+
export { FlashIcon } from './FlashIcon';
|
|
71
|
+
export type { FlashIconProps } from './FlashIcon';
|
|
72
|
+
export { CalendarIcon2 } from './CalendarIcon2';
|
|
73
|
+
export type { CalendarIcon2Props } from './CalendarIcon2';
|
|
74
|
+
export { MaximizeIcon } from './MaximizeIcon';
|
|
75
|
+
export type { MaximizeIconProps } from './MaximizeIcon';
|
|
76
|
+
export { Edit2Icon } from './Edit2Icon';
|
|
77
|
+
export type { Edit2IconProps } from './Edit2Icon';
|
|
78
|
+
export { CopyIcon } from './CopyIcon';
|
|
79
|
+
export type { CopyIconProps } from './CopyIcon';
|
|
80
|
+
export { TrashIcon } from './TrashIcon';
|
|
81
|
+
export type { TrashIconProps } from './TrashIcon';
|
|
82
|
+
export { SlashIcon } from './SlashIcon';
|
|
83
|
+
export type { SlashIconProps } from './SlashIcon';
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import React, { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import { Button } from "@/shared/ui/Button";
|
|
3
|
+
/**
|
|
4
|
+
* Alert type options.
|
|
5
|
+
* @typedef {'success' | 'warning' | 'error' | 'info' | 'default'} AlertType
|
|
6
|
+
*/
|
|
7
|
+
export type AlertType = "success" | "warning" | "error" | "info" | "default";
|
|
8
|
+
/**
|
|
9
|
+
* Alert action type.
|
|
10
|
+
* @typedef {Object} AlertAction
|
|
11
|
+
* @property {string} label - Action button label
|
|
12
|
+
* @property {() => void} onClick - Action handler
|
|
13
|
+
* @property {'primary' | 'secondary'} [variant] - Button variant
|
|
14
|
+
*/
|
|
15
|
+
export interface AlertAction {
|
|
16
|
+
label: string;
|
|
17
|
+
onClick: () => void;
|
|
18
|
+
variant?: "primary" | "secondary";
|
|
19
|
+
}
|
|
20
|
+
interface AlertDialogProps {
|
|
21
|
+
children: React.ReactNode;
|
|
22
|
+
type?: AlertType;
|
|
23
|
+
}
|
|
24
|
+
interface AlertDialogTriggerProps {
|
|
25
|
+
children: React.ReactElement<{
|
|
26
|
+
onClick?: React.MouseEventHandler;
|
|
27
|
+
}>;
|
|
28
|
+
}
|
|
29
|
+
interface AlertDialogContentProps extends ComponentPropsWithoutRef<"div"> {
|
|
30
|
+
className?: string;
|
|
31
|
+
}
|
|
32
|
+
interface AlertDialogHeaderProps {
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
className?: string;
|
|
35
|
+
}
|
|
36
|
+
interface AlertDialogActionProps extends Omit<ComponentPropsWithoutRef<typeof Button>, "variant" | "hierarchy" | "size"> {
|
|
37
|
+
actionVariant?: "primary" | "secondary";
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Alert root component.
|
|
41
|
+
*/
|
|
42
|
+
declare const AlertDialog: {
|
|
43
|
+
({ children, type }: AlertDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
displayName: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Component to wrap element that triggers opening alert.
|
|
48
|
+
*/
|
|
49
|
+
declare const AlertDialogTrigger: {
|
|
50
|
+
({ children }: AlertDialogTriggerProps): React.ReactElement<{
|
|
51
|
+
onClick?: React.MouseEventHandler;
|
|
52
|
+
}, string | React.JSXElementConstructor<any>>;
|
|
53
|
+
displayName: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Alert content container with improved animations.
|
|
57
|
+
*/
|
|
58
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
59
|
+
/**
|
|
60
|
+
* Alert header (optional, for more complex layouts)
|
|
61
|
+
*/
|
|
62
|
+
declare const AlertDialogHeader: {
|
|
63
|
+
({ children, className }: AlertDialogHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
displayName: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Alert title component
|
|
68
|
+
*/
|
|
69
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
70
|
+
/**
|
|
71
|
+
* Alert description component
|
|
72
|
+
*/
|
|
73
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
74
|
+
/**
|
|
75
|
+
* Alert footer for actions
|
|
76
|
+
*/
|
|
77
|
+
declare const AlertDialogFooter: {
|
|
78
|
+
({ children, className }: AlertDialogHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
displayName: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Alert action button
|
|
83
|
+
*/
|
|
84
|
+
declare const AlertDialogAction: {
|
|
85
|
+
({ className, actionVariant, onClick, ...props }: AlertDialogActionProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
displayName: string;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Alert cancel button
|
|
90
|
+
*/
|
|
91
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
92
|
+
/**
|
|
93
|
+
* Alert component exports
|
|
94
|
+
*/
|
|
95
|
+
export { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogAction, AlertDialogCancel, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogAction, AlertDialogCancel, type AlertType, type AlertAction, } from './Alert';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Alignment = 'left' | 'right';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the public API for the AttachmentMessage component, extending standard anchor element attributes.
|
|
5
|
+
*/
|
|
6
|
+
export interface AttachmentMessageProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
7
|
+
/** The name of the file to be displayed. */
|
|
8
|
+
fileName: string;
|
|
9
|
+
/** The size of the file (e.g., '1.2 MB'). */
|
|
10
|
+
fileSize: string;
|
|
11
|
+
/** Determines the alignment and which corner is sharp. 'left' for sent, 'right' for received. */
|
|
12
|
+
alignment?: Alignment;
|
|
13
|
+
/** Optional custom classes for the container. */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @file A component for displaying a clickable file attachment within a chat interface.
|
|
18
|
+
* @description This component renders a styled link that displays a file's name and size.
|
|
19
|
+
* Its visual alignment can be controlled via the `alignment` prop to distinguish between
|
|
20
|
+
* sent and received messages, which is achieved by altering the `border-radius`.
|
|
21
|
+
*
|
|
22
|
+
* @param {string} fileName - The name of the file to display.
|
|
23
|
+
* @param {string} fileSize - The size of the file to display (e.g., "1.2 MB").
|
|
24
|
+
* @param {Alignment} [alignment='left'] - Sets the alignment and which corner is sharp. 'left' is for sent, 'right' is for received.
|
|
25
|
+
* @param {string} [href] - The URL to the file that will be downloaded.
|
|
26
|
+
* @returns {JSX.Element} The rendered AttachmentMessage element.
|
|
27
|
+
*/
|
|
28
|
+
export declare const AttachmentMessage: ({ fileName, fileSize, alignment, className, ...props }: AttachmentMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AttachmentMessage, type AttachmentMessageProps } from './AttachmentMessage';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface AuthActionWidgetProps {
|
|
2
|
+
/** Title displayed in the widget header. Defaults to "Autenticación" */
|
|
3
|
+
title?: string;
|
|
4
|
+
/** Actions displayed in the widget header. Pass `null` to hide. Defaults to settings button */
|
|
5
|
+
actions?: React.ReactNode | null;
|
|
6
|
+
/** Callback when recover password is clicked */
|
|
7
|
+
onRecover?: () => void;
|
|
8
|
+
/** Callback when sign up is clicked */
|
|
9
|
+
onSignUp?: () => void;
|
|
10
|
+
/** Callback when settings button is clicked */
|
|
11
|
+
onSettings?: () => void;
|
|
12
|
+
/** Optional className for the widget container */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Auth Action Widget - Authentication actions in a widget container
|
|
17
|
+
*/
|
|
18
|
+
export declare const AuthActionWidget: ({ title, actions, onRecover, onSettings, className, }: AuthActionWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type AuthFormMode = "signin" | "signup";
|
|
3
|
+
export interface AuthFormWidgetProps {
|
|
4
|
+
/** Mode of the form: signin or signup */
|
|
5
|
+
mode: AuthFormMode;
|
|
6
|
+
/** Title displayed in the widget header. Defaults to "Regístrarse" (signup) or "Iniciar sesión" (signin) */
|
|
7
|
+
title?: string;
|
|
8
|
+
/** Actions displayed in the widget header. Pass `null` to hide. Defaults to settings button */
|
|
9
|
+
actions?: React.ReactNode | null;
|
|
10
|
+
/** Callback when form is submitted */
|
|
11
|
+
onSubmit?: (data: AuthFormData) => void;
|
|
12
|
+
/** Callback when settings button is clicked */
|
|
13
|
+
onSettings?: () => void;
|
|
14
|
+
/** Optional className for the widget container */
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface AuthFormData {
|
|
18
|
+
email: string;
|
|
19
|
+
password: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
confirmPassword?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Auth Form Widget - A unified authentication form for both sign in and sign up
|
|
25
|
+
* Supports both signin (email + password) and signup (name + email + password + confirm) modes
|
|
26
|
+
*/
|
|
27
|
+
export declare const AuthFormWidget: ({ mode, title, actions, onSubmit, onSettings, className, }: AuthFormWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface AuthSocialOptionsWidgetProps {
|
|
3
|
+
/** Title displayed in the widget header. Defaults to "Autenticación" */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Actions displayed in the widget header. Pass `null` to hide. Defaults to settings button */
|
|
6
|
+
actions?: React.ReactNode | null;
|
|
7
|
+
/** Callback when Google sign in is clicked */
|
|
8
|
+
onGoogleSignIn?: () => void;
|
|
9
|
+
/** Callback when Apple sign in is clicked */
|
|
10
|
+
onAppleSignIn?: () => void;
|
|
11
|
+
/** Callback when the bottom action button is clicked */
|
|
12
|
+
onAction?: () => void;
|
|
13
|
+
/** Callback when settings button is clicked */
|
|
14
|
+
onSettings?: () => void;
|
|
15
|
+
/** Text to display above the action button */
|
|
16
|
+
actionPrompt?: string;
|
|
17
|
+
/** Label for the action button */
|
|
18
|
+
actionLabel?: string;
|
|
19
|
+
/** Optional className for the widget container */
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Auth Social Options Widget - Social authentication options in a widget container
|
|
24
|
+
*/
|
|
25
|
+
export declare const AuthSocialOptionsWidget: ({ title, actions, onGoogleSignIn, onAppleSignIn, onAction, onSettings, actionPrompt, actionLabel, className, }: AuthSocialOptionsWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StatusState, StatusSize } from '../Badge/Badge';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the public API for the Avatar component.
|
|
5
|
+
*/
|
|
6
|
+
export interface AvatarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'> {
|
|
7
|
+
/** The alt text for the avatar. */
|
|
8
|
+
alt?: string;
|
|
9
|
+
/** The size of the avatar. */
|
|
10
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
11
|
+
/** The URL of the image to display. This takes priority over initials. */
|
|
12
|
+
imageUrl?: string;
|
|
13
|
+
/** Fallback initials to display if no imageUrl is provided. */
|
|
14
|
+
initials?: string;
|
|
15
|
+
/** Optional custom CSS classes to apply to the container. */
|
|
16
|
+
className?: string;
|
|
17
|
+
/** Optional status badge to display in bottom-right corner. */
|
|
18
|
+
statusBadge?: {
|
|
19
|
+
state?: StatusState;
|
|
20
|
+
size?: StatusSize;
|
|
21
|
+
};
|
|
22
|
+
/** Optional click handler. When provided, the avatar becomes a clickable button. */
|
|
23
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @file An Avatar component for displaying user profile images or initials.
|
|
27
|
+
* @description This component renders a circular avatar. It will display an image if `imageUrl`
|
|
28
|
+
* is provided; otherwise, it will fall back to displaying `initials` with a default background.
|
|
29
|
+
* The component supports an optional status badge positioned in the bottom-right corner.
|
|
30
|
+
*
|
|
31
|
+
* @param {'xs' | 'sm' | 'md' | 'lg' | 'xl'} [size='md'] - The size of the avatar.
|
|
32
|
+
* @param {string} [imageUrl] - The URL for the user's profile image.
|
|
33
|
+
* @param {string} [initials] - The user's initials, used as a fallback and for the alt text.
|
|
34
|
+
* @param {string} [className] - Optional CSS classes for additional styling.
|
|
35
|
+
* @param {{state?: StatusState, size?: StatusSize}} [statusBadge] - Optional status badge configuration.
|
|
36
|
+
* @returns {JSX.Element} The rendered Avatar element.
|
|
37
|
+
*/
|
|
38
|
+
export declare const Avatar: ({ size, imageUrl, initials, className, statusBadge, onClick, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Avatar, type AvatarProps } from './Avatar';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type AvatarProps } from '../Avatar';
|
|
3
|
+
/**
|
|
4
|
+
* Interface for individual avatar data in AvatarGroup
|
|
5
|
+
* Extends AvatarProps but omits size and className as they are controlled by AvatarGroup
|
|
6
|
+
*/
|
|
7
|
+
export interface AvatarItem extends Omit<AvatarProps, 'size' | 'className'> {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Defines public API for AvatarGroup component.
|
|
11
|
+
*/
|
|
12
|
+
export interface AvatarGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'size'> {
|
|
13
|
+
/** Array of avatar items to display. */
|
|
14
|
+
avatars: AvatarItem[];
|
|
15
|
+
/** The size of avatars in the group. */
|
|
16
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
17
|
+
/** Maximum number of avatars to display before showing counter. */
|
|
18
|
+
max?: number;
|
|
19
|
+
/** Optional custom CSS classes to apply to the container. */
|
|
20
|
+
className?: string;
|
|
21
|
+
/** Optional custom CSS classes for the counter button. */
|
|
22
|
+
counterClassName?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @file An AvatarGroup component for displaying multiple avatars with overlap.
|
|
26
|
+
* @description This component renders a group of avatars with overlapping styling.
|
|
27
|
+
* It supports displaying a maximum number of avatars and shows a counter for remaining items.
|
|
28
|
+
*
|
|
29
|
+
* @param {AvatarItem[]} avatars - Array of avatar items to display.
|
|
30
|
+
* @param {'xs' | 'sm' | 'md' | 'lg' | 'xl'} [size='md'] - The size of avatars in the group.
|
|
31
|
+
* @param {number} [max=4] - Maximum number of avatars to display before showing counter.
|
|
32
|
+
* @param {string} [className] - Optional CSS classes for additional styling.
|
|
33
|
+
* @param {string} [counterClassName] - Optional CSS classes for the counter button.
|
|
34
|
+
* @returns {JSX.Element} The rendered AvatarGroup element.
|
|
35
|
+
*/
|
|
36
|
+
export declare const AvatarGroup: {
|
|
37
|
+
({ avatars, size, max, className, counterClassName, ...props }: AvatarGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AvatarGroup, type AvatarGroupProps, type AvatarItem } from './AvatarGroup';
|