@app-studio/web 0.8.74 → 0.8.77
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 +171 -0
- package/dist/components/Accordion/Accordion/Accordion.props.d.ts +36 -15
- package/dist/components/Accordion/Accordion/Accordion.state.d.ts +7 -3
- package/dist/components/Accordion/Accordion/Accordion.type.d.ts +23 -0
- package/dist/components/Accordion/Accordion/Accordion.view.d.ts +12 -3
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/Accordion/examples/collapsible.d.ts +2 -0
- package/dist/components/Accordion/examples/index.d.ts +1 -0
- package/dist/components/Alert/Alert/Alert.props.d.ts +2 -2
- package/dist/components/Alert/Alert/Alert.style.d.ts +20 -47
- package/dist/components/Alert/Alert/Alert.view.d.ts +8 -0
- package/dist/components/Alert/examples/designSystem.d.ts +12 -0
- package/dist/components/Avatar/Avatar/Avatar.style.d.ts +22 -0
- package/dist/components/Avatar/Avatar/Avatar.view.d.ts +6 -0
- package/dist/components/Avatar/examples/designSystem.d.ts +12 -0
- package/dist/components/Avatar/examples/index.d.ts +1 -0
- package/dist/components/Badge/Badge/Badge.style.d.ts +24 -2
- package/dist/components/Badge/Badge/Badge.view.d.ts +8 -0
- package/dist/components/Badge/examples/designSystem.d.ts +12 -0
- package/dist/components/Badge/examples/index.d.ts +1 -0
- package/dist/components/Button/Button/Button.style.d.ts +24 -1
- package/dist/components/Button/Button/Button.view.d.ts +5 -0
- package/dist/components/Button/examples/designSystem.d.ts +12 -0
- package/dist/components/Button/examples/index.d.ts +1 -0
- package/dist/components/Card/Card/Card.context.d.ts +7 -0
- package/dist/components/Card/Card/Card.props.d.ts +81 -0
- package/dist/components/Card/Card/Card.state.d.ts +5 -0
- package/dist/components/Card/Card/Card.style.d.ts +29 -0
- package/dist/components/Card/Card/Card.type.d.ts +10 -0
- package/dist/components/Card/Card/Card.view.d.ts +6 -0
- package/dist/components/Card/Card.d.ts +2 -0
- package/dist/components/Card/examples/contextStyling.d.ts +2 -0
- package/dist/components/Card/examples/custom.d.ts +2 -0
- package/dist/components/Card/examples/default.d.ts +2 -0
- package/dist/components/Card/examples/designSystem.d.ts +12 -0
- package/dist/components/Card/examples/index.d.ts +8 -0
- package/dist/components/Card/examples/shapes.d.ts +2 -0
- package/dist/components/Card/examples/sizes.d.ts +2 -0
- package/dist/components/Card/examples/structured.d.ts +2 -0
- package/dist/components/Card/examples/variants.d.ts +2 -0
- package/dist/components/Carousel/Carousel/Carousel.context.d.ts +4 -0
- package/dist/components/Carousel/Carousel/Carousel.props.d.ts +155 -0
- package/dist/components/Carousel/Carousel/Carousel.state.d.ts +29 -0
- package/dist/components/Carousel/Carousel/Carousel.style.d.ts +6 -0
- package/dist/components/Carousel/Carousel/Carousel.type.d.ts +32 -0
- package/dist/components/Carousel/Carousel/Carousel.view.d.ts +8 -0
- package/dist/components/Carousel/Carousel.d.ts +2 -0
- package/dist/components/Carousel/examples/autoplay.d.ts +2 -0
- package/dist/components/Carousel/examples/compound.d.ts +3 -0
- package/dist/components/Carousel/examples/custom.d.ts +2 -0
- package/dist/components/Carousel/examples/default.d.ts +2 -0
- package/dist/components/Carousel/examples/index.d.ts +7 -0
- package/dist/components/Carousel/examples/indicators.d.ts +2 -0
- package/dist/components/Carousel/examples/navigation.d.ts +2 -0
- package/dist/components/Carousel/examples/stepIndices.d.ts +2 -0
- package/dist/components/Chart/Chart/BarChart.d.ts +15 -0
- package/dist/components/Chart/Chart/Chart.props.d.ts +101 -0
- package/dist/components/Chart/Chart/Chart.state.d.ts +37 -0
- package/dist/components/Chart/Chart/Chart.style.d.ts +20 -0
- package/dist/components/Chart/Chart/Chart.type.d.ts +36 -0
- package/dist/components/Chart/Chart/Chart.view.d.ts +3 -0
- package/dist/components/Chart/Chart/ChartColors.d.ts +20 -0
- package/dist/components/Chart/Chart/LineChart.d.ts +15 -0
- package/dist/components/Chart/Chart/PieChart.d.ts +15 -0
- package/dist/components/Chart/Chart.d.ts +3 -0
- package/dist/components/Chart/examples/area.d.ts +2 -0
- package/dist/components/Chart/examples/bar.d.ts +2 -0
- package/dist/components/Chart/examples/custom.d.ts +2 -0
- package/dist/components/Chart/examples/designSystem.d.ts +12 -0
- package/dist/components/Chart/examples/donut.d.ts +2 -0
- package/dist/components/Chart/examples/index.d.ts +8 -0
- package/dist/components/Chart/examples/line.d.ts +2 -0
- package/dist/components/Chart/examples/pie.d.ts +2 -0
- package/dist/components/Chart/examples/states.d.ts +2 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.props.d.ts +40 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.style.d.ts +10 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.type.d.ts +23 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.view.d.ts +9 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay.d.ts +10 -0
- package/dist/components/Chat/AIResponseDisplay/examples/basic.d.ts +5 -0
- package/dist/components/Chat/AIResponseDisplay/examples/index.d.ts +4 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.props.d.ts +56 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.state.d.ts +12 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.style.d.ts +10 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.type.d.ts +19 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.view.d.ts +14 -0
- package/dist/components/Chat/ChatInterface/ChatInterface.d.ts +11 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.props.d.ts +35 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.state.d.ts +7 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.style.d.ts +12 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.type.d.ts +11 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.view.d.ts +11 -0
- package/dist/components/Chat/CodeBlock/CodeBlock.d.ts +10 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.props.d.ts +47 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.state.d.ts +15 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.style.d.ts +15 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.type.d.ts +24 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.view.d.ts +18 -0
- package/dist/components/Chat/FileUploader/FileUploader.d.ts +11 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.props.d.ts +27 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.style.d.ts +13 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.type.d.ts +11 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.view.d.ts +6 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator.d.ts +10 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.props.d.ts +36 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.state.d.ts +14 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.style.d.ts +10 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.type.d.ts +11 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.view.d.ts +17 -0
- package/dist/components/Chat/MessageBubble/MessageBubble.d.ts +10 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.props.d.ts +39 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.state.d.ts +12 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.style.d.ts +11 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.type.d.ts +21 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.view.d.ts +16 -0
- package/dist/components/Chat/ModelSelector/ModelSelector.d.ts +10 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.props.d.ts +59 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.state.d.ts +13 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.style.d.ts +10 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.type.d.ts +11 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.view.d.ts +16 -0
- package/dist/components/Chat/PromptInput/PromptInput.d.ts +10 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.props.d.ts +31 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.style.d.ts +11 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.type.d.ts +30 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.view.d.ts +6 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel.d.ts +10 -0
- package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.props.d.ts +39 -0
- package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.style.d.ts +10 -0
- package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.type.d.ts +20 -0
- package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.view.d.ts +6 -0
- package/dist/components/Chat/ToolSelector/ToolSelector.d.ts +10 -0
- package/dist/components/Chat/index.d.ts +16 -0
- package/dist/components/Command/Command/Command.props.d.ts +162 -0
- package/dist/components/Command/Command/Command.state.d.ts +18 -0
- package/dist/components/Command/Command/Command.style.d.ts +18 -0
- package/dist/components/Command/Command/Command.type.d.ts +114 -0
- package/dist/components/Command/Command/Command.view.d.ts +31 -0
- package/dist/components/Command/Command.d.ts +2 -0
- package/dist/components/Command/examples/customized.d.ts +2 -0
- package/dist/components/Command/examples/default.d.ts +2 -0
- package/dist/components/Command/examples/groups.d.ts +2 -0
- package/dist/components/Command/examples/index.d.ts +5 -0
- package/dist/components/Command/examples/sizes.d.ts +2 -0
- package/dist/components/Command/examples/variants.d.ts +2 -0
- package/dist/components/Command/index.d.ts +1 -0
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +51 -8
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +16 -5
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +12 -1
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +5 -4
- package/dist/components/ContextMenu/examples/compound.d.ts +2 -0
- package/dist/components/ContextMenu/examples/index.d.ts +1 -0
- package/dist/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +70 -1
- package/dist/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +6 -0
- package/dist/components/Form/Checkbox/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/Checkbox/examples/index.d.ts +1 -0
- package/dist/components/Form/Radio/Radio/Radio.props.d.ts +104 -0
- package/dist/components/Form/Radio/Radio/Radio.state.d.ts +16 -0
- package/dist/components/Form/Radio/Radio/Radio.style.d.ts +92 -0
- package/dist/components/Form/Radio/Radio/Radio.view.d.ts +10 -0
- package/dist/components/Form/Radio/Radio.d.ts +11 -0
- package/dist/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +78 -0
- package/dist/components/Form/Radio/RadioGroup/RadioGroup.state.d.ts +13 -0
- package/dist/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +10 -0
- package/dist/components/Form/Radio/RadioGroup.d.ts +11 -0
- package/dist/components/Form/Radio/examples/Default.d.ts +5 -0
- package/dist/components/Form/Radio/examples/DefaultGroup.d.ts +5 -0
- package/dist/components/Form/Radio/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/Radio/examples/index.d.ts +3 -0
- package/dist/components/Form/Radio/index.d.ts +2 -0
- package/dist/components/Form/Select/Select/Select.style.d.ts +22 -0
- package/dist/components/Form/Select/Select/Select.view.d.ts +5 -0
- package/dist/components/Form/Select/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/Select/examples/index.d.ts +1 -0
- package/dist/components/Form/Switch/Switch/Switch.style.d.ts +44 -0
- package/dist/components/Form/Switch/Switch/Switch.view.d.ts +6 -0
- package/dist/components/Form/Switch/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/Switch/examples/index.d.ts +1 -0
- package/dist/components/Form/TextArea/TextArea/TextArea.view.d.ts +6 -0
- package/dist/components/Form/TextArea/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/TextArea/examples/index.d.ts +1 -0
- package/dist/components/Form/TextField/TextField/TextField.view.d.ts +6 -0
- package/dist/components/Form/TextField/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/TextField/examples/index.d.ts +1 -0
- package/dist/components/Formik/Formik.OTPInput.d.ts +8 -0
- package/dist/components/Formik/examples/FormikOTPInput.d.ts +5 -0
- package/dist/components/Formik/examples/index.d.ts +1 -0
- package/dist/components/Formik/index.d.ts +1 -0
- package/dist/components/Gradient/Gradient/Gradient.props.d.ts +64 -0
- package/dist/components/Gradient/Gradient/Gradient.style.d.ts +82 -0
- package/dist/components/Gradient/Gradient/Gradient.type.d.ts +37 -0
- package/dist/components/Gradient/Gradient/Gradient.view.d.ts +9 -0
- package/dist/components/Gradient/Gradient.d.ts +30 -0
- package/dist/components/Gradient/examples/animated.d.ts +2 -0
- package/dist/components/Gradient/examples/default.d.ts +2 -0
- package/dist/components/Gradient/examples/designSystem.d.ts +12 -0
- package/dist/components/Gradient/examples/directions.d.ts +2 -0
- package/dist/components/Gradient/examples/index.d.ts +7 -0
- package/dist/components/Gradient/examples/multicolor.d.ts +2 -0
- package/dist/components/Gradient/examples/types.d.ts +2 -0
- package/dist/components/Gradient/examples/withContent.d.ts +2 -0
- package/dist/components/Gradient/index.d.ts +1 -0
- package/dist/components/HoverCard/HoverCard/HoverCard.props.d.ts +21 -0
- package/dist/components/HoverCard/HoverCard/HoverCard.state.d.ts +9 -2
- package/dist/components/HoverCard/HoverCard/HoverCard.style.d.ts +3 -1
- package/dist/components/HoverCard/HoverCard/HoverCard.type.d.ts +8 -1
- package/dist/components/HoverCard/examples/delays.d.ts +2 -0
- package/dist/components/HoverCard/examples/index.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +2 -0
- package/dist/components/{Layout/Input → Input}/FieldContainer/FieldContainer/FieldContainer.props.d.ts +1 -1
- package/dist/components/Input/FieldContainer/FieldContainer.d.ts +9 -0
- package/dist/components/{Layout/Input → Input}/FieldContent/FieldContent/FieldContent.props.d.ts +3 -8
- package/dist/components/Input/FieldContent/FieldContent.d.ts +9 -0
- package/dist/components/{Layout/Input → Input}/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
- package/dist/components/Input/FieldLabel/FieldLabel.d.ts +9 -0
- package/dist/components/{Layout/Input → Input}/FieldLayout/FieldLayout/FieldLayout.props.d.ts +1 -1
- package/dist/components/Input/FieldWrapper/FieldWrapper.d.ts +9 -0
- package/dist/components/Input/HelperText/HelperText.d.ts +9 -0
- package/dist/components/{Layout/Input → Input}/HelperText/HelperText.props.d.ts +1 -1
- package/dist/components/Input/Input.style.d.ts +42 -0
- package/dist/components/Input/index.d.ts +7 -0
- package/dist/components/Menubar/Menubar/Menubar.props.d.ts +185 -0
- package/dist/components/Menubar/Menubar/Menubar.state.d.ts +9 -0
- package/dist/components/Menubar/Menubar/Menubar.style.d.ts +19 -0
- package/dist/components/Menubar/Menubar/Menubar.type.d.ts +35 -0
- package/dist/components/Menubar/Menubar/Menubar.view.d.ts +21 -0
- package/dist/components/Menubar/Menubar.d.ts +2 -0
- package/dist/components/Menubar/examples/composite.d.ts +2 -0
- package/dist/components/Menubar/examples/default.d.ts +2 -0
- package/dist/components/Menubar/examples/index.d.ts +5 -0
- package/dist/components/Menubar/examples/sizes.d.ts +2 -0
- package/dist/components/Menubar/examples/variants.d.ts +2 -0
- package/dist/components/Menubar/examples/vertical.d.ts +2 -0
- package/dist/components/Menubar/index.d.ts +1 -0
- package/dist/components/Modal/Examples/designSystem.d.ts +12 -0
- package/dist/components/Modal/Examples/index.d.ts +1 -0
- package/dist/components/Modal/Modal/Modal.style.d.ts +53 -0
- package/dist/components/Modal/Modal/Modal.view.d.ts +6 -0
- package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +42 -4
- package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.style.d.ts +41 -0
- package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +7 -1
- package/dist/components/NavigationMenu/examples/compound.d.ts +2 -0
- package/dist/components/NavigationMenu/examples/designSystem.d.ts +12 -0
- package/dist/components/NavigationMenu/examples/index.d.ts +2 -0
- package/dist/components/OTPInput/OTPInput/OTPInput.props.d.ts +142 -0
- package/dist/components/OTPInput/OTPInput/OTPInput.state.d.ts +22 -0
- package/dist/components/OTPInput/OTPInput/OTPInput.type.d.ts +16 -0
- package/dist/components/OTPInput/OTPInput/OTPInput.view.d.ts +28 -0
- package/dist/components/OTPInput/OTPInput/sync-timeouts.d.ts +1 -0
- package/dist/components/OTPInput/OTPInput.d.ts +3 -0
- package/dist/components/OTPInput/examples/Default.d.ts +4 -0
- package/dist/components/OTPInput/examples/OnComplete.d.ts +2 -0
- package/dist/components/OTPInput/examples/PasswordOTP.d.ts +3 -0
- package/dist/components/OTPInput/examples/StepValues.d.ts +3 -0
- package/dist/components/OTPInput/examples/index.d.ts +4 -0
- package/dist/components/Pagination/Pagination/Pagination.props.d.ts +60 -0
- package/dist/components/Pagination/Pagination/Pagination.state.d.ts +3 -0
- package/dist/components/Pagination/Pagination/Pagination.style.d.ts +7 -0
- package/dist/components/Pagination/Pagination/Pagination.type.d.ts +17 -0
- package/dist/components/Pagination/Pagination/Pagination.view.d.ts +3 -0
- package/dist/components/Pagination/Pagination.d.ts +3 -0
- package/dist/components/Pagination/examples/advanced.d.ts +2 -0
- package/dist/components/Pagination/examples/default.d.ts +2 -0
- package/dist/components/Pagination/examples/index.d.ts +6 -0
- package/dist/components/Pagination/examples/shapes.d.ts +2 -0
- package/dist/components/Pagination/examples/sizes.d.ts +2 -0
- package/dist/components/Pagination/examples/table.d.ts +2 -0
- package/dist/components/Pagination/examples/variants.d.ts +2 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Resizable/Resizable/Resizable.props.d.ts +160 -0
- package/dist/components/Resizable/Resizable/Resizable.state.d.ts +17 -0
- package/dist/components/Resizable/Resizable/Resizable.style.d.ts +6 -0
- package/dist/components/Resizable/Resizable/Resizable.type.d.ts +56 -0
- package/dist/components/Resizable/Resizable/Resizable.view.d.ts +13 -0
- package/dist/components/Resizable/Resizable.d.ts +2 -0
- package/dist/components/Resizable/examples/codeEditor.d.ts +2 -0
- package/dist/components/Resizable/examples/collapsible.d.ts +2 -0
- package/dist/components/Resizable/examples/controlled.d.ts +2 -0
- package/dist/components/Resizable/examples/default.d.ts +2 -0
- package/dist/components/Resizable/examples/index.d.ts +9 -0
- package/dist/components/Resizable/examples/nested.d.ts +2 -0
- package/dist/components/Resizable/examples/sizes.d.ts +2 -0
- package/dist/components/Resizable/examples/test.d.ts +2 -0
- package/dist/components/Resizable/examples/variants.d.ts +2 -0
- package/dist/components/Resizable/examples/vertical.d.ts +2 -0
- package/dist/components/Resizable/index.d.ts +1 -0
- package/dist/components/Separator/Separator/Separator.props.d.ts +38 -0
- package/dist/components/Separator/Separator/Separator.style.d.ts +38 -0
- package/dist/components/Separator/Separator/Separator.type.d.ts +8 -0
- package/dist/components/Separator/Separator/Separator.view.d.ts +9 -0
- package/dist/components/Separator/Separator.d.ts +4 -0
- package/dist/components/Separator/examples/colors.d.ts +2 -0
- package/dist/components/Separator/examples/customized.d.ts +2 -0
- package/dist/components/Separator/examples/default.d.ts +2 -0
- package/dist/components/Separator/examples/designSystem.d.ts +12 -0
- package/dist/components/Separator/examples/inCard.d.ts +2 -0
- package/dist/components/Separator/examples/index.d.ts +9 -0
- package/dist/components/Separator/examples/orientations.d.ts +2 -0
- package/dist/components/Separator/examples/thicknesses.d.ts +2 -0
- package/dist/components/Separator/examples/variants.d.ts +2 -0
- package/dist/components/Separator/examples/withLabel.d.ts +2 -0
- package/dist/components/Separator/index.d.ts +1 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.props.d.ts +153 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.state.d.ts +7 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.style.d.ts +44 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.type.d.ts +32 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.view.d.ts +21 -0
- package/dist/components/Sidebar/Sidebar.d.ts +2 -0
- package/dist/components/Sidebar/examples/accessibleSidebar.d.ts +2 -0
- package/dist/components/Sidebar/examples/controlled.d.ts +2 -0
- package/dist/components/Sidebar/examples/customized.d.ts +2 -0
- package/dist/components/Sidebar/examples/default.d.ts +2 -0
- package/dist/components/Sidebar/examples/designSystem.d.ts +12 -0
- package/dist/components/Sidebar/examples/index.d.ts +8 -0
- package/dist/components/Sidebar/examples/positions.d.ts +2 -0
- package/dist/components/Sidebar/examples/sizes.d.ts +2 -0
- package/dist/components/Sidebar/examples/variants.d.ts +2 -0
- package/dist/components/Sidebar/index.d.ts +1 -0
- package/dist/components/Slider/examples/index.d.ts +12 -0
- package/dist/components/Slider/examples/tooltipIntegration.d.ts +2 -0
- package/dist/components/Table/Table/Table.style.d.ts +31 -0
- package/dist/components/Table/Table/Table.view.d.ts +6 -0
- package/dist/components/Table/examples/designSystem.d.ts +12 -0
- package/dist/components/Table/examples/index.d.ts +1 -0
- package/dist/components/Tabs/Tabs/TabHeader.d.ts +22 -0
- package/dist/components/Tabs/Tabs/Tabs.props.d.ts +4 -2
- package/dist/components/Tabs/examples/customHeader.d.ts +2 -0
- package/dist/components/Tabs/examples/index.d.ts +1 -0
- package/dist/components/Text/Text/Text.style.d.ts +26 -2
- package/dist/components/Text/Text/Text.view.d.ts +8 -0
- package/dist/components/Text/examples/designSystem.d.ts +10 -0
- package/dist/components/Text/examples/index.d.ts +1 -0
- package/dist/components/Toast/Toast/Toast.hook.d.ts +35 -0
- package/dist/components/Toast/Toast/Toast.props.d.ts +91 -0
- package/dist/components/Toast/Toast/Toast.store.d.ts +9 -0
- package/dist/components/Toast/Toast/Toast.style.d.ts +37 -0
- package/dist/components/Toast/Toast/Toast.type.d.ts +63 -0
- package/dist/components/Toast/Toast/Toast.view.d.ts +4 -0
- package/dist/components/Toast/Toast.d.ts +22 -0
- package/dist/components/Toast/examples/actions.d.ts +2 -0
- package/dist/components/Toast/examples/customization.d.ts +2 -0
- package/dist/components/Toast/examples/default.d.ts +2 -0
- package/dist/components/Toast/examples/designSystem.d.ts +12 -0
- package/dist/components/Toast/examples/duration.d.ts +2 -0
- package/dist/components/Toast/examples/hookUsage.d.ts +2 -0
- package/dist/components/Toast/examples/index.d.ts +8 -0
- package/dist/components/Toast/examples/positions.d.ts +2 -0
- package/dist/components/Toast/examples/variants.d.ts +2 -0
- package/dist/components/Toast/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.props.d.ts +108 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.state.d.ts +18 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.style.d.ts +6 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.type.d.ts +21 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.view.d.ts +20 -0
- package/dist/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/components/Tooltip/examples/custom.d.ts +2 -0
- package/dist/components/Tooltip/examples/default.d.ts +2 -0
- package/dist/components/Tooltip/examples/index.d.ts +6 -0
- package/dist/components/Tooltip/examples/integration.d.ts +2 -0
- package/dist/components/Tooltip/examples/positions.d.ts +2 -0
- package/dist/components/Tooltip/examples/sizes.d.ts +2 -0
- package/dist/components/Tooltip/examples/variants.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/index.d.ts +24 -7
- package/dist/hooks/useRect.d.ts +7 -0
- package/dist/pages/card.page.d.ts +3 -0
- package/dist/pages/carousel.page.d.ts +3 -0
- package/dist/pages/chart.page.d.ts +3 -0
- package/dist/pages/chat.page.d.ts +3 -0
- package/dist/pages/command.page.d.ts +3 -0
- package/dist/pages/gradient.page.d.ts +3 -0
- package/dist/pages/menubar.page.d.ts +3 -0
- package/dist/pages/otpInput.page.d.ts +3 -0
- package/dist/pages/pagination.page.d.ts +3 -0
- package/dist/pages/radio.page.d.ts +2 -0
- package/dist/pages/resizable.page.d.ts +3 -0
- package/dist/pages/separator.page.d.ts +3 -0
- package/dist/pages/sidebar.page.d.ts +3 -0
- package/dist/pages/slider.page.d.ts +2 -2
- package/dist/pages/toast.page.d.ts +3 -0
- package/dist/pages/tooltip.page.d.ts +3 -0
- package/dist/utils/generateId.d.ts +5 -0
- package/dist/utils/id.d.ts +6 -0
- package/dist/web.cjs.development.js +12815 -5597
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +12790 -5577
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +12824 -5616
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +6 -5
- package/dist/components/Alert/examples/index.d.ts +0 -4
- package/dist/components/Layout/Center/Center.d.ts +0 -4
- package/dist/components/Layout/Center/Center.props.d.ts +0 -3
- package/dist/components/Layout/Horizontal/Horizontal.d.ts +0 -4
- package/dist/components/Layout/Horizontal/Horizontal.props.d.ts +0 -4
- package/dist/components/Layout/Horizontal/examples/Default.d.ts +0 -2
- package/dist/components/Layout/Horizontal/examples/Justify.d.ts +0 -2
- package/dist/components/Layout/Horizontal/examples/Reversed.d.ts +0 -2
- package/dist/components/Layout/Horizontal/examples/Wrap.d.ts +0 -2
- package/dist/components/Layout/Horizontal/examples/index.d.ts +0 -4
- package/dist/components/Layout/Input/FieldContainer/FieldContainer.d.ts +0 -3
- package/dist/components/Layout/Input/FieldContent/FieldContent.d.ts +0 -3
- package/dist/components/Layout/Input/FieldLabel/FieldLabel.d.ts +0 -3
- package/dist/components/Layout/Input/FieldWrapper/FieldWrapper.d.ts +0 -3
- package/dist/components/Layout/Input/HelperText/HelperText.d.ts +0 -3
- package/dist/components/Layout/Input/index.d.ts +0 -7
- package/dist/components/Layout/Vertical/Vertical.d.ts +0 -4
- package/dist/components/Layout/Vertical/Vertical.props.d.ts +0 -4
- package/dist/components/Layout/Vertical/examples/Default.d.ts +0 -2
- package/dist/components/Layout/Vertical/examples/Justify.d.ts +0 -2
- package/dist/components/Layout/Vertical/examples/Reversed.d.ts +0 -2
- package/dist/components/Layout/Vertical/examples/Wrap.d.ts +0 -2
- package/dist/components/Layout/Vertical/examples/index.d.ts +0 -5
- package/dist/components/Layout/View/View.d.ts +0 -9
- package/dist/components/Layout/configs/Input.style.d.ts +0 -17
- package/dist/components/Layout/index.d.ts +0 -4
- package/dist/pages/center.page.d.ts +0 -3
- package/dist/pages/horizontal.page.d.ts +0 -3
- package/dist/pages/vertical.page.d.ts +0 -3
- /package/dist/components/{Layout/Input → Input}/FieldIcons/FieldIcons/FieldIcons.props.d.ts +0 -0
- /package/dist/components/{Layout/Input → Input}/FieldIcons/FieldIcons.d.ts +0 -0
- /package/dist/components/{Layout/Input → Input}/FieldLayout/FieldLayout.d.ts +0 -0
- /package/dist/components/{Layout/Input → Input}/FieldWrapper/FieldWrapper.props.d.ts +0 -0
- /package/dist/components/{Layout/configs → Input}/Input.type.d.ts +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checkbox Examples - Design System
|
|
3
|
+
*
|
|
4
|
+
* Showcases the Checkbox component following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare const DesignSystemCheckboxes: () => React.JSX.Element;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Radio Props
|
|
3
|
+
*
|
|
4
|
+
* Defines the props for the Radio component following the design guidelines.
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { Elevation } from '../../../../utils/elevation';
|
|
8
|
+
import { InputProps, Shadow } from 'app-studio';
|
|
9
|
+
import { RadioStyles, Size } from './Radio.type';
|
|
10
|
+
import { ViewProps } from 'app-studio';
|
|
11
|
+
/**
|
|
12
|
+
* Props for the Radio component
|
|
13
|
+
*/
|
|
14
|
+
export interface RadioProps extends Omit<InputProps, 'size'> {
|
|
15
|
+
/**
|
|
16
|
+
* Optional identifier for the radio element
|
|
17
|
+
*/
|
|
18
|
+
id?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional custom icon for the radio element
|
|
21
|
+
*/
|
|
22
|
+
icon?: React.ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Optional error message or state
|
|
25
|
+
*/
|
|
26
|
+
error?: any;
|
|
27
|
+
/**
|
|
28
|
+
* Optional name attribute for the radio element
|
|
29
|
+
*/
|
|
30
|
+
name?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Optional label text for the radio element
|
|
33
|
+
*/
|
|
34
|
+
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional value for the radio element
|
|
37
|
+
*/
|
|
38
|
+
value?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Optional checked state for the radio element
|
|
41
|
+
*/
|
|
42
|
+
isChecked?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Optional default selected state for the radio element
|
|
45
|
+
*/
|
|
46
|
+
defaultIsSelected?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Optional read-only state for the radio element
|
|
49
|
+
*/
|
|
50
|
+
isReadOnly?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Optional disabled state for the radio element
|
|
53
|
+
*/
|
|
54
|
+
isDisabled?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Optional position for the label
|
|
57
|
+
*/
|
|
58
|
+
labelPosition?: 'left' | 'right';
|
|
59
|
+
/**
|
|
60
|
+
* Optional callback for change events
|
|
61
|
+
*/
|
|
62
|
+
onChange?: Function;
|
|
63
|
+
/**
|
|
64
|
+
* Optional callback for value change events
|
|
65
|
+
*/
|
|
66
|
+
onValueChange?: Function;
|
|
67
|
+
/**
|
|
68
|
+
* Optional custom styles for the radio element
|
|
69
|
+
*/
|
|
70
|
+
views?: RadioStyles;
|
|
71
|
+
/**
|
|
72
|
+
* Optional size for the radio element
|
|
73
|
+
*/
|
|
74
|
+
size?: Size;
|
|
75
|
+
/**
|
|
76
|
+
* Optional shadow for the radio element
|
|
77
|
+
*/
|
|
78
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
79
|
+
/**
|
|
80
|
+
* Optional info text for the radio element
|
|
81
|
+
*/
|
|
82
|
+
infoText?: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Props for the Radio view component
|
|
86
|
+
*/
|
|
87
|
+
export interface RadioViewProps extends RadioProps {
|
|
88
|
+
/**
|
|
89
|
+
* Optional hover state for the radio element
|
|
90
|
+
*/
|
|
91
|
+
isHovered?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Optional setter for the hover state
|
|
94
|
+
*/
|
|
95
|
+
setIsHovered?: (hovered: boolean) => void;
|
|
96
|
+
/**
|
|
97
|
+
* Optional selected state for the radio element
|
|
98
|
+
*/
|
|
99
|
+
isSelected?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Optional setter for the selected state
|
|
102
|
+
*/
|
|
103
|
+
setIsSelected?: (selected: boolean) => void;
|
|
104
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Radio State
|
|
3
|
+
*
|
|
4
|
+
* Manages the state for the Radio component.
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { RadioProps } from './Radio.props';
|
|
8
|
+
/**
|
|
9
|
+
* Custom hook to manage the state of the Radio component
|
|
10
|
+
*/
|
|
11
|
+
export declare const useRadioState: ({ defaultIsSelected, isChecked, }: RadioProps) => {
|
|
12
|
+
isHovered: boolean;
|
|
13
|
+
setIsHovered: React.Dispatch<React.SetStateAction<boolean>>;
|
|
14
|
+
isSelected: boolean;
|
|
15
|
+
setIsSelected: React.Dispatch<React.SetStateAction<boolean>>;
|
|
16
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Radio Styles
|
|
3
|
+
*
|
|
4
|
+
* Defines the styles for the Radio component following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
11
|
+
import { ViewProps } from 'app-studio';
|
|
12
|
+
import { Size, Variant } from './Radio.type';
|
|
13
|
+
/**
|
|
14
|
+
* Size configurations for the Radio component
|
|
15
|
+
* Following the 4px grid system
|
|
16
|
+
*/
|
|
17
|
+
export declare const Sizes: Record<Size, ViewProps>;
|
|
18
|
+
/**
|
|
19
|
+
* Dot sizes for the Radio component
|
|
20
|
+
* Proportional to the component size
|
|
21
|
+
*/
|
|
22
|
+
export declare const DotSizes: Record<Size, ViewProps>;
|
|
23
|
+
/**
|
|
24
|
+
* Variant styles for the Radio component
|
|
25
|
+
*/
|
|
26
|
+
export declare const VariantStyles: Record<Variant, ViewProps>;
|
|
27
|
+
/**
|
|
28
|
+
* Dot styles for the Radio component
|
|
29
|
+
*/
|
|
30
|
+
export declare const DotStyles: Record<Variant, ViewProps>;
|
|
31
|
+
/**
|
|
32
|
+
* State styles for the Radio component
|
|
33
|
+
*/
|
|
34
|
+
export declare const StateStyles: {
|
|
35
|
+
hover: {
|
|
36
|
+
selected: {
|
|
37
|
+
borderColor: string;
|
|
38
|
+
};
|
|
39
|
+
unselected: {
|
|
40
|
+
borderColor: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
disabled: {
|
|
44
|
+
selected: {
|
|
45
|
+
borderColor: string;
|
|
46
|
+
opacity: number;
|
|
47
|
+
};
|
|
48
|
+
unselected: {
|
|
49
|
+
borderColor: string;
|
|
50
|
+
opacity: number;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
error: {
|
|
54
|
+
selected: {
|
|
55
|
+
borderColor: string;
|
|
56
|
+
};
|
|
57
|
+
unselected: {
|
|
58
|
+
borderColor: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Dot state styles for the Radio component
|
|
64
|
+
*/
|
|
65
|
+
export declare const DotStateStyles: {
|
|
66
|
+
hover: {
|
|
67
|
+
selected: {
|
|
68
|
+
backgroundColor: string;
|
|
69
|
+
};
|
|
70
|
+
unselected: {
|
|
71
|
+
backgroundColor: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
disabled: {
|
|
75
|
+
selected: {
|
|
76
|
+
backgroundColor: string;
|
|
77
|
+
opacity: number;
|
|
78
|
+
};
|
|
79
|
+
unselected: {
|
|
80
|
+
backgroundColor: string;
|
|
81
|
+
opacity: number;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
error: {
|
|
85
|
+
selected: {
|
|
86
|
+
backgroundColor: string;
|
|
87
|
+
};
|
|
88
|
+
unselected: {
|
|
89
|
+
backgroundColor: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Radio View Component
|
|
3
|
+
*
|
|
4
|
+
* Renders a radio button with various styles and states
|
|
5
|
+
* according to the design guidelines.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { RadioViewProps } from './Radio.props';
|
|
9
|
+
declare const RadioView: React.FC<RadioViewProps>;
|
|
10
|
+
export default RadioView;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Radio Component
|
|
3
|
+
*
|
|
4
|
+
* A radio button component that allows users to select one option from a set.
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { RadioProps } from './Radio/Radio.props';
|
|
8
|
+
/**
|
|
9
|
+
* Radio allows users to select one option from a set of choices.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Radio: React.FC<RadioProps>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RadioGroup Props
|
|
3
|
+
*
|
|
4
|
+
* Defines the props for the RadioGroup component following the design guidelines.
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { ViewProps } from 'app-studio';
|
|
8
|
+
import { Direction, RadioGroupStyles } from './RadioGroup.type';
|
|
9
|
+
/**
|
|
10
|
+
* Props for the RadioGroup component
|
|
11
|
+
*/
|
|
12
|
+
export interface RadioGroupProps extends Omit<ViewProps, 'direction'> {
|
|
13
|
+
/**
|
|
14
|
+
* Children components (Radio buttons)
|
|
15
|
+
*/
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Optional name attribute for all radio buttons in the group
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Optional label for the radio group
|
|
23
|
+
*/
|
|
24
|
+
label?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Optional helper text for the radio group
|
|
27
|
+
*/
|
|
28
|
+
helperText?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Optional error message or state
|
|
31
|
+
*/
|
|
32
|
+
error?: any;
|
|
33
|
+
/**
|
|
34
|
+
* Optional value for the selected radio button
|
|
35
|
+
*/
|
|
36
|
+
value?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Optional default value for the selected radio button
|
|
39
|
+
*/
|
|
40
|
+
defaultValue?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Optional callback for change events
|
|
43
|
+
*/
|
|
44
|
+
onChange?: (value: string) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Optional direction for the radio group layout
|
|
47
|
+
*/
|
|
48
|
+
direction?: Direction;
|
|
49
|
+
/**
|
|
50
|
+
* Optional spacing between radio buttons
|
|
51
|
+
*/
|
|
52
|
+
spacing?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Optional disabled state for all radio buttons in the group
|
|
55
|
+
*/
|
|
56
|
+
isDisabled?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Optional read-only state for all radio buttons in the group
|
|
59
|
+
*/
|
|
60
|
+
isReadOnly?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Optional custom styles for the radio group
|
|
63
|
+
*/
|
|
64
|
+
views?: RadioGroupStyles;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Props for the RadioGroup view component
|
|
68
|
+
*/
|
|
69
|
+
export interface RadioGroupViewProps extends RadioGroupProps {
|
|
70
|
+
/**
|
|
71
|
+
* Selected value
|
|
72
|
+
*/
|
|
73
|
+
selectedValue: string;
|
|
74
|
+
/**
|
|
75
|
+
* Setter for the selected value
|
|
76
|
+
*/
|
|
77
|
+
setSelectedValue: (value: string) => void;
|
|
78
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RadioGroup State
|
|
3
|
+
*
|
|
4
|
+
* Manages the state for the RadioGroup component.
|
|
5
|
+
*/
|
|
6
|
+
import { RadioGroupProps } from './RadioGroup.props';
|
|
7
|
+
/**
|
|
8
|
+
* Custom hook to manage the state of the RadioGroup component
|
|
9
|
+
*/
|
|
10
|
+
export declare const useRadioGroupState: ({ value, defaultValue, onChange, }: RadioGroupProps) => {
|
|
11
|
+
selectedValue: string;
|
|
12
|
+
setSelectedValue: (newValue: string) => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RadioGroup View Component
|
|
3
|
+
*
|
|
4
|
+
* Renders a group of radio buttons with various styles and states
|
|
5
|
+
* according to the design guidelines.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { RadioGroupViewProps } from './RadioGroup.props';
|
|
9
|
+
declare const RadioGroupView: React.FC<RadioGroupViewProps>;
|
|
10
|
+
export default RadioGroupView;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RadioGroup Component
|
|
3
|
+
*
|
|
4
|
+
* A component that manages a group of radio buttons.
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { RadioGroupProps } from './RadioGroup/RadioGroup.props';
|
|
8
|
+
/**
|
|
9
|
+
* RadioGroup allows users to manage a group of radio buttons.
|
|
10
|
+
*/
|
|
11
|
+
export declare const RadioGroup: React.FC<RadioGroupProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Radio Examples - Design System
|
|
3
|
+
*
|
|
4
|
+
* Showcases the Radio and RadioGroup components following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare const DesignSystemRadios: () => React.JSX.Element;
|
|
@@ -1,4 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Select Styles
|
|
3
|
+
*
|
|
4
|
+
* Defines the styles for the Select component following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
1
11
|
import { ViewProps } from 'app-studio';
|
|
2
12
|
import { Size } from './Select.type';
|
|
13
|
+
/**
|
|
14
|
+
* Size configurations for the Select component
|
|
15
|
+
* Following the 4px grid system
|
|
16
|
+
*/
|
|
3
17
|
export declare const Sizes: Record<Size, ViewProps>;
|
|
18
|
+
/**
|
|
19
|
+
* Icon sizes for the Select component
|
|
20
|
+
* Proportional to the component size
|
|
21
|
+
*/
|
|
4
22
|
export declare const IconSizes: Record<Size, number>;
|
|
23
|
+
/**
|
|
24
|
+
* Dropdown styles for the Select component
|
|
25
|
+
*/
|
|
26
|
+
export declare const dropdownStyles: ViewProps;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MultiSelectProps, SelectViewProps } from './Select.props';
|
|
3
|
+
/**
|
|
4
|
+
* MultiSelect Component
|
|
5
|
+
*
|
|
6
|
+
* Renders a selected option in a multi-select component
|
|
7
|
+
*/
|
|
3
8
|
export declare const MultiSelect: React.FC<MultiSelectProps>;
|
|
4
9
|
declare const SelectView: React.FC<SelectViewProps>;
|
|
5
10
|
export default SelectView;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Select Examples - Design System
|
|
3
|
+
*
|
|
4
|
+
* Showcases the Select component following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare const DesignSystemSelects: () => React.JSX.Element;
|
|
@@ -1,5 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Switch Styles
|
|
3
|
+
*
|
|
4
|
+
* Defines the styles for the Switch component following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
1
11
|
import { ViewProps } from 'app-studio';
|
|
2
12
|
import { Size } from './Switch.type';
|
|
13
|
+
/**
|
|
14
|
+
* Knob (circle) sizes for the Switch component
|
|
15
|
+
* Following the 4px grid system
|
|
16
|
+
*/
|
|
3
17
|
export declare const KnobSizes: Record<Size, ViewProps>;
|
|
18
|
+
/**
|
|
19
|
+
* Slider (track) sizes for the Switch component
|
|
20
|
+
* Following the 4px grid system
|
|
21
|
+
*/
|
|
4
22
|
export declare const SliderSizes: Record<Size, ViewProps>;
|
|
23
|
+
/**
|
|
24
|
+
* Padding for the Switch slider
|
|
25
|
+
* Following the 4px grid system
|
|
26
|
+
*/
|
|
5
27
|
export declare const SliderPadding: Record<Size, Record<string, number>>;
|
|
28
|
+
/**
|
|
29
|
+
* Color schemes for the Switch component
|
|
30
|
+
*/
|
|
31
|
+
export declare const ColorSchemes: {
|
|
32
|
+
default: {
|
|
33
|
+
active: string;
|
|
34
|
+
inactive: string;
|
|
35
|
+
knob: string;
|
|
36
|
+
disabled: string;
|
|
37
|
+
};
|
|
38
|
+
states: {
|
|
39
|
+
hover: {
|
|
40
|
+
active: string;
|
|
41
|
+
inactive: string;
|
|
42
|
+
};
|
|
43
|
+
focus: {
|
|
44
|
+
active: string;
|
|
45
|
+
inactive: string;
|
|
46
|
+
outline: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Switch View Component
|
|
3
|
+
*
|
|
4
|
+
* Renders a switch toggle with various styles and states
|
|
5
|
+
* according to the design guidelines.
|
|
6
|
+
*/
|
|
1
7
|
import React from 'react';
|
|
2
8
|
import { SwitchViewProps } from './Switch.props';
|
|
3
9
|
declare const SwitchView: React.FC<SwitchViewProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Switch Examples - Design System
|
|
3
|
+
*
|
|
4
|
+
* Showcases the Switch component following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare const DesignSystemSwitches: () => React.JSX.Element;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TextArea View Component
|
|
3
|
+
*
|
|
4
|
+
* Renders a multi-line text input field with various styles and states
|
|
5
|
+
* according to the design guidelines.
|
|
6
|
+
*/
|
|
1
7
|
import React from 'react';
|
|
2
8
|
import { TextAreaViewProps } from './TextArea.props';
|
|
3
9
|
declare const TextAreaView: React.FC<TextAreaViewProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TextArea Examples - Design System
|
|
3
|
+
*
|
|
4
|
+
* Showcases the TextArea component following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare const DesignSystemTextAreas: () => React.JSX.Element;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TextField View Component
|
|
3
|
+
*
|
|
4
|
+
* Renders a text input field with various styles and states
|
|
5
|
+
* according to the design guidelines.
|
|
6
|
+
*/
|
|
1
7
|
import React from 'react';
|
|
2
8
|
import { TextFieldViewProps } from './TextField.props';
|
|
3
9
|
declare const TextFieldView: React.FC<TextFieldViewProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TextField Examples - Design System
|
|
3
|
+
*
|
|
4
|
+
* Showcases the TextField component following the design guidelines:
|
|
5
|
+
* - Typography: Inter/Geist font, specific sizes/weights
|
|
6
|
+
* - Spacing: 4px grid system
|
|
7
|
+
* - Colors: Neutral palette with semantic colors
|
|
8
|
+
* - Rounded corners: Consistent border radius
|
|
9
|
+
* - Transitions: Subtle animations
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare const DesignSystemTextFields: () => React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OTPInputProps } from '../OTPInput/OTPInput/OTPInput.props';
|
|
3
|
+
/**
|
|
4
|
+
* OTPInput component for entering one-time passwords or verification codes with Formik integration.
|
|
5
|
+
* Provides multiple input fields for entering digits with auto-focus functionality.
|
|
6
|
+
* Supports step-based input and improved accessibility.
|
|
7
|
+
*/
|
|
8
|
+
export declare const FormikOTPInput: React.FC<OTPInputProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const FormikOTPInputExample: () => React.JSX.Element;
|
|
3
|
+
export declare const FormikCustomOTPInputExample: () => React.JSX.Element;
|
|
4
|
+
export declare const FormikPasswordOTPExample: () => React.JSX.Element;
|
|
5
|
+
export declare const FormikStepValuesOTPExample: () => React.JSX.Element;
|
|
@@ -2,6 +2,7 @@ export * from './FormikCheckbox';
|
|
|
2
2
|
export * from './FormikComboBox';
|
|
3
3
|
export * from './FormikCountryPicker';
|
|
4
4
|
export * from './FormikDatePicker';
|
|
5
|
+
export * from './FormikOTPInput';
|
|
5
6
|
export * from './FormikPassword';
|
|
6
7
|
export * from './FormikSelect';
|
|
7
8
|
export * from './FormikSlider';
|