@connectif/ui-components 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/alert/Alert.d.ts +33 -0
- package/dist/components/alert/Alert.theme.d.ts +2 -0
- package/dist/components/alert/AlertTitle.theme.d.ts +2 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/avatar/Avatar.d.ts +91 -0
- package/dist/components/avatar/AvatarCard.d.ts +9 -0
- package/dist/components/avatar/AvatarMultiple.d.ts +35 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/button/BadgeToggleButton.d.ts +42 -0
- package/dist/components/button/Button.d.ts +175 -0
- package/dist/components/button/Button.theme.d.ts +2 -0
- package/dist/components/button/ButtonGroup.d.ts +26 -0
- package/dist/components/button/ButtonWithActions.d.ts +68 -0
- package/dist/components/button/IconButton.d.ts +78 -0
- package/dist/components/button/IconButton.theme.d.ts +2 -0
- package/dist/components/button/IconToggleButton.d.ts +35 -0
- package/dist/components/button/MenuButton.d.ts +56 -0
- package/dist/components/button/MenuIconButton.d.ts +77 -0
- package/dist/components/button/MenuItem.theme.d.ts +2 -0
- package/dist/components/button/ToggleButton.d.ts +28 -0
- package/dist/components/button/ToggleButton.theme.d.ts +2 -0
- package/dist/components/button/ToggleButtonGroup.d.ts +40 -0
- package/dist/components/button/UploadButton.d.ts +25 -0
- package/dist/components/button/index.d.ts +11 -0
- package/dist/components/card/Card.d.ts +40 -0
- package/dist/components/card/CardActions.d.ts +17 -0
- package/dist/components/card/CardChips.d.ts +17 -0
- package/dist/components/card/CardDescription.d.ts +13 -0
- package/dist/components/card/CardImage.d.ts +22 -0
- package/dist/components/card/CardStatus.d.ts +23 -0
- package/dist/components/card/CardTable.d.ts +22 -0
- package/dist/components/card/CardTitle.d.ts +22 -0
- package/dist/components/card/CardTitleWithIcon.d.ts +29 -0
- package/dist/components/card/EnhancedCard.d.ts +97 -0
- package/dist/components/card/EnhancedCardImage.d.ts +43 -0
- package/dist/components/card/EnhancedCardRow.d.ts +11 -0
- package/dist/components/card/EnhancedCardSubtitle.d.ts +26 -0
- package/dist/components/card/EnhancedCardTitle.d.ts +38 -0
- package/dist/components/card/index.d.ts +14 -0
- package/dist/components/chart/BarChart.d.ts +84 -0
- package/dist/components/chart/CategorizedChartProps.d.ts +35 -0
- package/dist/components/chart/ChartUtils.d.ts +8 -0
- package/dist/components/chart/DonutChart.d.ts +79 -0
- package/dist/components/chart/DonutChartLegendItem.d.ts +9 -0
- package/dist/components/chart/EchartsConfig.d.ts +1 -0
- package/dist/components/chart/FunnelChart.d.ts +84 -0
- package/dist/components/chart/IncrementLabel.d.ts +18 -0
- package/dist/components/chart/LineChart.d.ts +98 -0
- package/dist/components/chart/MicroPieChart.d.ts +18 -0
- package/dist/components/chart/RankingChart.d.ts +33 -0
- package/dist/components/chart/RankingChartItem.d.ts +7 -0
- package/dist/components/chart/RankingChartTooltip.d.ts +15 -0
- package/dist/components/chart/WeekChart.d.ts +41 -0
- package/dist/components/chart/WeekChartItem.d.ts +5 -0
- package/dist/components/chart/WeekChartTooltip.d.ts +19 -0
- package/dist/components/chart/index.d.ts +8 -0
- package/dist/components/chat/Chat.d.ts +13 -0
- package/dist/components/chat/ChatMessage.d.ts +35 -0
- package/dist/components/chat/index.d.ts +2 -0
- package/dist/components/chip/Chip.d.ts +1002 -0
- package/dist/components/chip/ChipList.d.ts +14 -0
- package/dist/components/chip/MenuChip.d.ts +56 -0
- package/dist/components/chip/index.d.ts +3 -0
- package/dist/components/dialog/ConfirmationDialog.d.ts +54 -0
- package/dist/components/dialog/Dialog.d.ts +16 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/divider/Divider.d.ts +18 -0
- package/dist/components/divider/index.d.ts +1 -0
- package/dist/components/drawer/Drawer.d.ts +9 -0
- package/dist/components/drawer/InputDrawer.d.ts +41 -0
- package/dist/components/drawer/index.d.ts +2 -0
- package/dist/components/formatter/CompactNumberFormatter.d.ts +13 -0
- package/dist/components/formatter/CurrencyFormatter.d.ts +21 -0
- package/dist/components/formatter/DateFormatter.d.ts +18 -0
- package/dist/components/formatter/NumberFormatter.d.ts +17 -0
- package/dist/components/formatter/PercentageFormatter.d.ts +17 -0
- package/dist/components/formatter/index.d.ts +5 -0
- package/dist/components/header/Header.d.ts +33 -0
- package/dist/components/header/HeaderSubtitle.d.ts +13 -0
- package/dist/components/header/HeaderTitle.d.ts +13 -0
- package/dist/components/header/index.d.ts +3 -0
- package/dist/components/icon/Icon.d.ts +47 -0
- package/dist/components/icon/StackedIcons.d.ts +13 -0
- package/dist/components/icon/SvgIcon.theme.d.ts +2 -0
- package/dist/components/icon/icons.d.ts +1953 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/image/ImageEditor.d.ts +12 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/info/InfoBox.d.ts +10 -0
- package/dist/components/info/index.d.ts +1 -0
- package/dist/components/input/Autocomplete.d.ts +118 -0
- package/dist/components/input/CalendarDay.d.ts +17 -0
- package/dist/components/input/CalendarMonth.d.ts +19 -0
- package/dist/components/input/CalendarScrollPicker.d.ts +17 -0
- package/dist/components/input/CategorizedPicker.d.ts +22 -0
- package/dist/components/input/Checkbox.d.ts +39 -0
- package/dist/components/input/CodeEditor.d.ts +29 -0
- package/dist/components/input/CodeEditorPopup.d.ts +18 -0
- package/dist/components/input/ColorPicker.d.ts +62 -0
- package/dist/components/input/DateIntervalPicker.d.ts +84 -0
- package/dist/components/input/DateIntervalPickerInputs.d.ts +18 -0
- package/dist/components/input/DateIntervalPickerList.d.ts +35 -0
- package/dist/components/input/DateIntervalPickerPopover.d.ts +32 -0
- package/dist/components/input/DatePicker.d.ts +59 -0
- package/dist/components/input/DatePickerPopover.d.ts +10 -0
- package/dist/components/input/DatePickerStatic.d.ts +9 -0
- package/dist/components/input/DaysOfWeekPicker.d.ts +11 -0
- package/dist/components/input/DaysOfWeekRow.d.ts +3 -0
- package/dist/components/input/DebouncedTextField.d.ts +18 -0
- package/dist/components/input/InputHelperText.d.ts +29 -0
- package/dist/components/input/InputLabel.d.ts +47 -0
- package/dist/components/input/ItemSelector.d.ts +27 -0
- package/dist/components/input/NumberField.d.ts +106 -0
- package/dist/components/input/PageSelector.d.ts +30 -0
- package/dist/components/input/PhoneField.d.ts +43 -0
- package/dist/components/input/Radio.d.ts +49 -0
- package/dist/components/input/Select.d.ts +89 -0
- package/dist/components/input/SelectPopover.d.ts +107 -0
- package/dist/components/input/SelectPopoverItem.d.ts +17 -0
- package/dist/components/input/Switch.d.ts +22 -0
- package/dist/components/input/Switch.theme.d.ts +2 -0
- package/dist/components/input/TextEditor.d.ts +123 -0
- package/dist/components/input/TextField.d.ts +156 -0
- package/dist/components/input/TextFieldContainer.d.ts +95 -0
- package/dist/components/input/TimeField.d.ts +20 -0
- package/dist/components/input/TimezoneSelector.d.ts +7 -0
- package/dist/components/input/UploadClickableArea.d.ts +14 -0
- package/dist/components/input/index.d.ts +26 -0
- package/dist/components/layout/Box.d.ts +2 -0
- package/dist/components/layout/Collapse.d.ts +5 -0
- package/dist/components/layout/CollapsiblePanel.d.ts +48 -0
- package/dist/components/layout/CollapsiblePanelSwitcher.d.ts +87 -0
- package/dist/components/layout/Container.d.ts +5 -0
- package/dist/components/layout/Container.theme.d.ts +2 -0
- package/dist/components/layout/Grid.d.ts +8 -0
- package/dist/components/layout/LazyLoad.d.ts +5 -0
- package/dist/components/layout/PageScrollContext.d.ts +5 -0
- package/dist/components/layout/PageWithHeader.d.ts +13 -0
- package/dist/components/layout/PageWithNavbar.d.ts +13 -0
- package/dist/components/layout/PageWithSidePanel.d.ts +17 -0
- package/dist/components/layout/PageWithToolBox.d.ts +17 -0
- package/dist/components/layout/PageWithToolbar.d.ts +18 -0
- package/dist/components/layout/Paper.d.ts +13 -0
- package/dist/components/layout/SidePanel.d.ts +7 -0
- package/dist/components/layout/Stack.d.ts +2 -0
- package/dist/components/layout/Stepper.d.ts +23 -0
- package/dist/components/layout/SwipeableViews.d.ts +8 -0
- package/dist/components/layout/ToolBox.d.ts +12 -0
- package/dist/components/layout/index.d.ts +17 -0
- package/dist/components/list/BaseListItem.d.ts +70 -0
- package/dist/components/list/List.d.ts +5 -0
- package/dist/components/list/ListItem.d.ts +16 -0
- package/dist/components/list/ListItemButton.d.ts +42 -0
- package/dist/components/list/ListItemText.d.ts +17 -0
- package/dist/components/list/index.d.ts +3 -0
- package/dist/components/loader/Loader.d.ts +32 -0
- package/dist/components/loader/index.d.ts +1 -0
- package/dist/components/navbar/Navbar.d.ts +41 -0
- package/dist/components/navbar/NavbarButton.d.ts +39 -0
- package/dist/components/navbar/NavbarHeader.d.ts +12 -0
- package/dist/components/navbar/NavbarLogo.d.ts +16 -0
- package/dist/components/navbar/index.d.ts +4 -0
- package/dist/components/overlay/DonutFocusOverlay.d.ts +11 -0
- package/dist/components/overlay/index.d.ts +1 -0
- package/dist/components/pager/Pager.d.ts +31 -0
- package/dist/components/pager/index.d.ts +1 -0
- package/dist/components/popover/Popover.d.ts +26 -0
- package/dist/components/popover/Popover.theme.d.ts +2 -0
- package/dist/components/popover/PopoverActions.d.ts +21 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/progress/CircularProgress.d.ts +35 -0
- package/dist/components/progress/DonutProgress.d.ts +45 -0
- package/dist/components/progress/LinearProgress.d.ts +19 -0
- package/dist/components/progress/LinearProgress.theme.d.ts +2 -0
- package/dist/components/progress/index.d.ts +2 -0
- package/dist/components/scrollable/HorizontalScrollable.d.ts +18 -0
- package/dist/components/scrollable/index.d.ts +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +8 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/snackbar/Snackbar.d.ts +52 -0
- package/dist/components/snackbar/SnackbarProvider.d.ts +10 -0
- package/dist/components/snackbar/enqueueSnackbar.d.ts +27 -0
- package/dist/components/snackbar/index.d.ts +3 -0
- package/dist/components/tab/TabButton.d.ts +30 -0
- package/dist/components/tab/TabContent.d.ts +7 -0
- package/dist/components/tab/Tabs.d.ts +52 -0
- package/dist/components/tab/Tabs.theme.d.ts +2 -0
- package/dist/components/tab/index.d.ts +3 -0
- package/dist/components/table/NestedTable.d.ts +29 -0
- package/dist/components/table/Table.d.ts +5 -0
- package/dist/components/table/Table.theme.d.ts +2 -0
- package/dist/components/table/TableBody.d.ts +4 -0
- package/dist/components/table/TableCell.d.ts +20 -0
- package/dist/components/table/TableCell.theme.d.ts +2 -0
- package/dist/components/table/TableCellCopy.d.ts +10 -0
- package/dist/components/table/TableDivider.d.ts +3 -0
- package/dist/components/table/TableHead.d.ts +4 -0
- package/dist/components/table/TableRow.d.ts +9 -0
- package/dist/components/table/TableSortLabel.d.ts +8 -0
- package/dist/components/table/index.d.ts +9 -0
- package/dist/components/toolbar/Toolbar.d.ts +24 -0
- package/dist/components/toolbar/ToolbarBreadcrumb.d.ts +15 -0
- package/dist/components/toolbar/ToolbarBreadcrumbButton.d.ts +11 -0
- package/dist/components/toolbar/ToolbarTitle.d.ts +27 -0
- package/dist/components/toolbar/index.d.ts +4 -0
- package/dist/components/tooltip/TextEllipsis.d.ts +18 -0
- package/dist/components/tooltip/TextEllipsisTooltip.d.ts +27 -0
- package/dist/components/tooltip/Tooltip.d.ts +59 -0
- package/dist/components/tooltip/Tooltip.theme.d.ts +2 -0
- package/dist/components/tooltip/TooltipMenu.d.ts +35 -0
- package/dist/components/tooltip/index.d.ts +4 -0
- package/dist/components/transition/Slide.d.ts +3 -0
- package/dist/components/transition/index.d.ts +1 -0
- package/dist/components/typography/TextMarker.d.ts +32 -0
- package/dist/components/typography/Typography.d.ts +39 -0
- package/dist/components/typography/index.d.ts +2 -0
- package/dist/components/widget/Widget.d.ts +7 -0
- package/dist/components/widget/WidgetActions.d.ts +8 -0
- package/dist/components/widget/WidgetLegendItem.d.ts +65 -0
- package/dist/components/widget/WidgetTitle.d.ts +23 -0
- package/dist/components/widget/index.d.ts +4 -0
- package/dist/components/window/MinimizableWindow.d.ts +98 -0
- package/dist/components/window/index.d.ts +1 -0
- package/dist/contexts/IntlContext.d.ts +7 -0
- package/dist/contexts/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/useDebouncedCallback.d.ts +1 -0
- package/dist/hooks/useFormatters.d.ts +8 -0
- package/dist/hooks/useResizeObserver.d.ts +7 -0
- package/dist/i18n/TranslationKey.d.ts +11 -0
- package/dist/i18n/en.d.ts +202 -0
- package/dist/i18n/es.d.ts +202 -0
- package/dist/i18n/fr.d.ts +202 -0
- package/dist/i18n/it.d.ts +202 -0
- package/dist/i18n/pt.d.ts +202 -0
- package/dist/i18n/translate.d.ts +4 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +25410 -0
- package/dist/models/ComparisonInterval.d.ts +1 -0
- package/dist/models/DateInputFormat.d.ts +4 -0
- package/dist/models/DateInterval.d.ts +1 -0
- package/dist/models/SimpleDate.d.ts +8 -0
- package/dist/propTypes/IncrementLabel.d.ts +15 -0
- package/dist/propTypes/index.d.ts +1 -0
- package/dist/src/components/alert/Alert.d.ts +33 -0
- package/dist/src/components/alert/Alert.theme.d.ts +2 -0
- package/dist/src/components/alert/AlertTitle.theme.d.ts +2 -0
- package/dist/src/components/alert/index.d.ts +1 -0
- package/dist/src/components/avatar/Avatar.d.ts +91 -0
- package/dist/src/components/avatar/AvatarCard.d.ts +9 -0
- package/dist/src/components/avatar/AvatarMultiple.d.ts +35 -0
- package/dist/src/components/avatar/index.d.ts +3 -0
- package/dist/src/components/button/BadgeToggleButton.d.ts +42 -0
- package/dist/src/components/button/Button.d.ts +175 -0
- package/dist/src/components/button/Button.theme.d.ts +2 -0
- package/dist/src/components/button/ButtonGroup.d.ts +26 -0
- package/dist/src/components/button/ButtonWithActions.d.ts +68 -0
- package/dist/src/components/button/IconButton.d.ts +78 -0
- package/dist/src/components/button/IconButton.theme.d.ts +2 -0
- package/dist/src/components/button/IconToggleButton.d.ts +35 -0
- package/dist/src/components/button/MenuButton.d.ts +56 -0
- package/dist/src/components/button/MenuIconButton.d.ts +77 -0
- package/dist/src/components/button/MenuItem.theme.d.ts +2 -0
- package/dist/src/components/button/ToggleButton.d.ts +28 -0
- package/dist/src/components/button/ToggleButton.theme.d.ts +2 -0
- package/dist/src/components/button/ToggleButtonGroup.d.ts +40 -0
- package/dist/src/components/button/UploadButton.d.ts +25 -0
- package/dist/src/components/button/index.d.ts +11 -0
- package/dist/src/components/card/Card.d.ts +40 -0
- package/dist/src/components/card/CardActions.d.ts +17 -0
- package/dist/src/components/card/CardChips.d.ts +17 -0
- package/dist/src/components/card/CardDescription.d.ts +13 -0
- package/dist/src/components/card/CardImage.d.ts +22 -0
- package/dist/src/components/card/CardStatus.d.ts +23 -0
- package/dist/src/components/card/CardTable.d.ts +22 -0
- package/dist/src/components/card/CardTitle.d.ts +22 -0
- package/dist/src/components/card/CardTitleWithIcon.d.ts +29 -0
- package/dist/src/components/card/EnhancedCard.d.ts +97 -0
- package/dist/src/components/card/EnhancedCardImage.d.ts +43 -0
- package/dist/src/components/card/EnhancedCardRow.d.ts +11 -0
- package/dist/src/components/card/EnhancedCardSubtitle.d.ts +26 -0
- package/dist/src/components/card/EnhancedCardTitle.d.ts +38 -0
- package/dist/src/components/card/index.d.ts +14 -0
- package/dist/src/components/chart/BarChart.d.ts +84 -0
- package/dist/src/components/chart/CategorizedChartProps.d.ts +35 -0
- package/dist/src/components/chart/ChartUtils.d.ts +8 -0
- package/dist/src/components/chart/DonutChart.d.ts +79 -0
- package/dist/src/components/chart/DonutChartLegendItem.d.ts +9 -0
- package/dist/src/components/chart/EchartsConfig.d.ts +1 -0
- package/dist/src/components/chart/FunnelChart.d.ts +84 -0
- package/dist/src/components/chart/IncrementLabel.d.ts +18 -0
- package/dist/src/components/chart/LineChart.d.ts +98 -0
- package/dist/src/components/chart/MicroPieChart.d.ts +18 -0
- package/dist/src/components/chart/RankingChart.d.ts +33 -0
- package/dist/src/components/chart/RankingChartItem.d.ts +7 -0
- package/dist/src/components/chart/RankingChartTooltip.d.ts +15 -0
- package/dist/src/components/chart/WeekChart.d.ts +41 -0
- package/dist/src/components/chart/WeekChartItem.d.ts +5 -0
- package/dist/src/components/chart/WeekChartTooltip.d.ts +19 -0
- package/dist/src/components/chart/index.d.ts +8 -0
- package/dist/src/components/chat/Chat.d.ts +13 -0
- package/dist/src/components/chat/ChatMessage.d.ts +35 -0
- package/dist/src/components/chat/index.d.ts +2 -0
- package/dist/src/components/chip/Chip.d.ts +1002 -0
- package/dist/src/components/chip/ChipList.d.ts +14 -0
- package/dist/src/components/chip/MenuChip.d.ts +56 -0
- package/dist/src/components/chip/index.d.ts +3 -0
- package/dist/src/components/dialog/ConfirmationDialog.d.ts +54 -0
- package/dist/src/components/dialog/Dialog.d.ts +16 -0
- package/dist/src/components/dialog/index.d.ts +2 -0
- package/dist/src/components/divider/Divider.d.ts +18 -0
- package/dist/src/components/divider/index.d.ts +1 -0
- package/dist/src/components/drawer/Drawer.d.ts +9 -0
- package/dist/src/components/drawer/InputDrawer.d.ts +41 -0
- package/dist/src/components/drawer/index.d.ts +2 -0
- package/dist/src/components/formatter/CompactNumberFormatter.d.ts +13 -0
- package/dist/src/components/formatter/CurrencyFormatter.d.ts +21 -0
- package/dist/src/components/formatter/DateFormatter.d.ts +18 -0
- package/dist/src/components/formatter/NumberFormatter.d.ts +17 -0
- package/dist/src/components/formatter/PercentageFormatter.d.ts +17 -0
- package/dist/src/components/formatter/index.d.ts +5 -0
- package/dist/src/components/header/Header.d.ts +33 -0
- package/dist/src/components/header/HeaderSubtitle.d.ts +13 -0
- package/dist/src/components/header/HeaderTitle.d.ts +13 -0
- package/dist/src/components/header/index.d.ts +3 -0
- package/dist/src/components/icon/Icon.d.ts +47 -0
- package/dist/src/components/icon/StackedIcons.d.ts +13 -0
- package/dist/src/components/icon/SvgIcon.theme.d.ts +2 -0
- package/dist/src/components/icon/icons.d.ts +1953 -0
- package/dist/src/components/icon/index.d.ts +1 -0
- package/dist/src/components/image/ImageEditor.d.ts +12 -0
- package/dist/src/components/image/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +35 -0
- package/dist/src/components/info/InfoBox.d.ts +10 -0
- package/dist/src/components/info/index.d.ts +1 -0
- package/dist/src/components/input/Autocomplete.d.ts +118 -0
- package/dist/src/components/input/CalendarDay.d.ts +17 -0
- package/dist/src/components/input/CalendarMonth.d.ts +19 -0
- package/dist/src/components/input/CalendarScrollPicker.d.ts +17 -0
- package/dist/src/components/input/CategorizedPicker.d.ts +22 -0
- package/dist/src/components/input/Checkbox.d.ts +39 -0
- package/dist/src/components/input/CodeEditor.d.ts +29 -0
- package/dist/src/components/input/CodeEditorPopup.d.ts +18 -0
- package/dist/src/components/input/ColorPicker.d.ts +62 -0
- package/dist/src/components/input/DateIntervalPicker.d.ts +84 -0
- package/dist/src/components/input/DateIntervalPickerInputs.d.ts +18 -0
- package/dist/src/components/input/DateIntervalPickerList.d.ts +35 -0
- package/dist/src/components/input/DateIntervalPickerPopover.d.ts +32 -0
- package/dist/src/components/input/DatePicker.d.ts +59 -0
- package/dist/src/components/input/DatePickerPopover.d.ts +10 -0
- package/dist/src/components/input/DatePickerStatic.d.ts +9 -0
- package/dist/src/components/input/DaysOfWeekPicker.d.ts +11 -0
- package/dist/src/components/input/DaysOfWeekRow.d.ts +3 -0
- package/dist/src/components/input/DebouncedTextField.d.ts +18 -0
- package/dist/src/components/input/InputHelperText.d.ts +29 -0
- package/dist/src/components/input/InputLabel.d.ts +47 -0
- package/dist/src/components/input/ItemSelector.d.ts +27 -0
- package/dist/src/components/input/NumberField.d.ts +106 -0
- package/dist/src/components/input/PageSelector.d.ts +30 -0
- package/dist/src/components/input/PhoneField.d.ts +43 -0
- package/dist/src/components/input/Radio.d.ts +49 -0
- package/dist/src/components/input/Select.d.ts +89 -0
- package/dist/src/components/input/SelectPopover.d.ts +107 -0
- package/dist/src/components/input/SelectPopoverItem.d.ts +17 -0
- package/dist/src/components/input/Switch.d.ts +22 -0
- package/dist/src/components/input/Switch.theme.d.ts +2 -0
- package/dist/src/components/input/TextEditor.d.ts +123 -0
- package/dist/src/components/input/TextField.d.ts +156 -0
- package/dist/src/components/input/TextFieldContainer.d.ts +95 -0
- package/dist/src/components/input/TimeField.d.ts +20 -0
- package/dist/src/components/input/TimezoneSelector.d.ts +7 -0
- package/dist/src/components/input/UploadClickableArea.d.ts +14 -0
- package/dist/src/components/input/index.d.ts +26 -0
- package/dist/src/components/layout/Box.d.ts +2 -0
- package/dist/src/components/layout/Collapse.d.ts +5 -0
- package/dist/src/components/layout/CollapsiblePanel.d.ts +48 -0
- package/dist/src/components/layout/CollapsiblePanelSwitcher.d.ts +87 -0
- package/dist/src/components/layout/Container.d.ts +5 -0
- package/dist/src/components/layout/Container.theme.d.ts +2 -0
- package/dist/src/components/layout/Grid.d.ts +8 -0
- package/dist/src/components/layout/LazyLoad.d.ts +5 -0
- package/dist/src/components/layout/PageScrollContext.d.ts +5 -0
- package/dist/src/components/layout/PageWithHeader.d.ts +13 -0
- package/dist/src/components/layout/PageWithNavbar.d.ts +13 -0
- package/dist/src/components/layout/PageWithSidePanel.d.ts +17 -0
- package/dist/src/components/layout/PageWithToolBox.d.ts +17 -0
- package/dist/src/components/layout/PageWithToolbar.d.ts +18 -0
- package/dist/src/components/layout/Paper.d.ts +13 -0
- package/dist/src/components/layout/SidePanel.d.ts +7 -0
- package/dist/src/components/layout/Stack.d.ts +2 -0
- package/dist/src/components/layout/Stepper.d.ts +23 -0
- package/dist/src/components/layout/ToolBox.d.ts +12 -0
- package/dist/src/components/layout/index.d.ts +17 -0
- package/dist/src/components/list/BaseListItem.d.ts +70 -0
- package/dist/src/components/list/List.d.ts +5 -0
- package/dist/src/components/list/ListItem.d.ts +16 -0
- package/dist/src/components/list/ListItemButton.d.ts +42 -0
- package/dist/src/components/list/ListItemText.d.ts +17 -0
- package/dist/src/components/list/index.d.ts +3 -0
- package/dist/src/components/loader/Loader.d.ts +32 -0
- package/dist/src/components/loader/index.d.ts +1 -0
- package/dist/src/components/navbar/Navbar.d.ts +41 -0
- package/dist/src/components/navbar/NavbarButton.d.ts +39 -0
- package/dist/src/components/navbar/NavbarHeader.d.ts +12 -0
- package/dist/src/components/navbar/NavbarLogo.d.ts +16 -0
- package/dist/src/components/navbar/index.d.ts +4 -0
- package/dist/src/components/overlay/DonutFocusOverlay.d.ts +11 -0
- package/dist/src/components/overlay/index.d.ts +1 -0
- package/dist/src/components/pager/Pager.d.ts +31 -0
- package/dist/src/components/pager/index.d.ts +1 -0
- package/dist/src/components/popover/Popover.d.ts +26 -0
- package/dist/src/components/popover/Popover.theme.d.ts +2 -0
- package/dist/src/components/popover/PopoverActions.d.ts +21 -0
- package/dist/src/components/popover/index.d.ts +2 -0
- package/dist/src/components/progress/CircularProgress.d.ts +35 -0
- package/dist/src/components/progress/LinearProgress.d.ts +19 -0
- package/dist/src/components/progress/LinearProgress.theme.d.ts +2 -0
- package/dist/src/components/progress/index.d.ts +2 -0
- package/dist/src/components/scrollable/HorizontalScrollable.d.ts +18 -0
- package/dist/src/components/scrollable/index.d.ts +1 -0
- package/dist/src/components/skeleton/Skeleton.d.ts +8 -0
- package/dist/src/components/skeleton/index.d.ts +1 -0
- package/dist/src/components/snackbar/Snackbar.d.ts +52 -0
- package/dist/src/components/snackbar/SnackbarProvider.d.ts +10 -0
- package/dist/src/components/snackbar/enqueueSnackbar.d.ts +27 -0
- package/dist/src/components/snackbar/index.d.ts +3 -0
- package/dist/src/components/tab/TabButton.d.ts +30 -0
- package/dist/src/components/tab/TabContent.d.ts +7 -0
- package/dist/src/components/tab/Tabs.d.ts +52 -0
- package/dist/src/components/tab/Tabs.theme.d.ts +2 -0
- package/dist/src/components/tab/index.d.ts +3 -0
- package/dist/src/components/table/NestedTable.d.ts +29 -0
- package/dist/src/components/table/Table.d.ts +5 -0
- package/dist/src/components/table/Table.theme.d.ts +2 -0
- package/dist/src/components/table/TableBody.d.ts +4 -0
- package/dist/src/components/table/TableCell.d.ts +20 -0
- package/dist/src/components/table/TableCell.theme.d.ts +2 -0
- package/dist/src/components/table/TableCellCopy.d.ts +10 -0
- package/dist/src/components/table/TableDivider.d.ts +3 -0
- package/dist/src/components/table/TableHead.d.ts +4 -0
- package/dist/src/components/table/TableRow.d.ts +9 -0
- package/dist/src/components/table/TableSortLabel.d.ts +8 -0
- package/dist/src/components/table/index.d.ts +9 -0
- package/dist/src/components/toolbar/Toolbar.d.ts +24 -0
- package/dist/src/components/toolbar/ToolbarBreadcrumb.d.ts +15 -0
- package/dist/src/components/toolbar/ToolbarBreadcrumbButton.d.ts +11 -0
- package/dist/src/components/toolbar/ToolbarTitle.d.ts +27 -0
- package/dist/src/components/toolbar/index.d.ts +4 -0
- package/dist/src/components/tooltip/TextEllipsis.d.ts +18 -0
- package/dist/src/components/tooltip/TextEllipsisTooltip.d.ts +27 -0
- package/dist/src/components/tooltip/Tooltip.d.ts +59 -0
- package/dist/src/components/tooltip/Tooltip.theme.d.ts +2 -0
- package/dist/src/components/tooltip/TooltipMenu.d.ts +35 -0
- package/dist/src/components/tooltip/index.d.ts +4 -0
- package/dist/src/components/transition/Slide.d.ts +3 -0
- package/dist/src/components/transition/index.d.ts +1 -0
- package/dist/src/components/typography/TextMarker.d.ts +32 -0
- package/dist/src/components/typography/Typography.d.ts +39 -0
- package/dist/src/components/typography/index.d.ts +2 -0
- package/dist/src/components/widget/Widget.d.ts +7 -0
- package/dist/src/components/widget/WidgetActions.d.ts +8 -0
- package/dist/src/components/widget/WidgetLegendItem.d.ts +65 -0
- package/dist/src/components/widget/WidgetTitle.d.ts +23 -0
- package/dist/src/components/widget/index.d.ts +4 -0
- package/dist/src/components/window/MinimizableWindow.d.ts +98 -0
- package/dist/src/components/window/index.d.ts +1 -0
- package/dist/src/contexts/IntlContext.d.ts +7 -0
- package/dist/src/contexts/index.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +3 -0
- package/dist/src/hooks/useDebouncedCallback.d.ts +1 -0
- package/dist/src/hooks/useFormatters.d.ts +8 -0
- package/dist/src/hooks/useResizeObserver.d.ts +7 -0
- package/dist/src/i18n/TranslationKey.d.ts +11 -0
- package/dist/src/i18n/en.d.ts +202 -0
- package/dist/src/i18n/es.d.ts +202 -0
- package/dist/src/i18n/fr.d.ts +202 -0
- package/dist/src/i18n/it.d.ts +202 -0
- package/dist/src/i18n/pt.d.ts +202 -0
- package/dist/src/i18n/translate.d.ts +4 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/models/ComparisonInterval.d.ts +1 -0
- package/dist/src/models/DateInputFormat.d.ts +4 -0
- package/dist/src/models/DateInterval.d.ts +1 -0
- package/dist/src/models/SimpleDate.d.ts +8 -0
- package/dist/src/propTypes/IncrementLabel.d.ts +15 -0
- package/dist/src/propTypes/index.d.ts +1 -0
- package/dist/src/stories/alert/Alert.stories.d.ts +6 -0
- package/dist/src/stories/avatar/Avatar.stories.d.ts +31 -0
- package/dist/src/stories/avatar/AvatarCard.stories.d.ts +8 -0
- package/dist/src/stories/avatar/AvatarMultiple.stories.d.ts +13 -0
- package/dist/src/stories/button/BadgeToggleButton.stories.d.ts +5 -0
- package/dist/src/stories/button/Button.stories.d.ts +33 -0
- package/dist/src/stories/button/ButtonGroup.stories.d.ts +6 -0
- package/dist/src/stories/button/ButtonWithActions.stories.d.ts +45 -0
- package/dist/src/stories/button/IconButton.stories.d.ts +17 -0
- package/dist/src/stories/button/IconToggleButton.stories.d.ts +15 -0
- package/dist/src/stories/button/MenuButton.stories.d.ts +13 -0
- package/dist/src/stories/button/MenuIconButton.stories.d.ts +23 -0
- package/dist/src/stories/button/ToggleButton.stories.d.ts +6 -0
- package/dist/src/stories/button/ToggleButtonGroup.stories.d.ts +6 -0
- package/dist/src/stories/button/UploadButton.stories.d.ts +11 -0
- package/dist/src/stories/card/Card.stories.d.ts +6 -0
- package/dist/src/stories/card/CardActions.stories.d.ts +6 -0
- package/dist/src/stories/card/CardChips.stories.d.ts +6 -0
- package/dist/src/stories/card/CardDescription.stories.d.ts +6 -0
- package/dist/src/stories/card/CardImage.stories.d.ts +6 -0
- package/dist/src/stories/card/CardStatus.stories.d.ts +6 -0
- package/dist/src/stories/card/CardTable.stories.d.ts +6 -0
- package/dist/src/stories/card/CardTitle.stories.d.ts +6 -0
- package/dist/src/stories/card/CardTitleWithIcon.stories.d.ts +6 -0
- package/dist/src/stories/card/EnhancedCard.stories.d.ts +6 -0
- package/dist/src/stories/chart/BarChart.stories.d.ts +9 -0
- package/dist/src/stories/chart/DonutChart.stories.d.ts +11 -0
- package/dist/src/stories/chart/FunnelChart.stories.d.ts +9 -0
- package/dist/src/stories/chart/IncrementLabel.stories.d.ts +7 -0
- package/dist/src/stories/chart/LineChart.stories.d.ts +10 -0
- package/dist/src/stories/chart/MicroPieChart.stories.d.ts +6 -0
- package/dist/src/stories/chart/RankingChart.stories.d.ts +8 -0
- package/dist/src/stories/chart/WeekChart.stories.d.ts +9 -0
- package/dist/src/stories/chat/Chat.stories.d.ts +7 -0
- package/dist/src/stories/chat/ChatMessage.stories.d.ts +8 -0
- package/dist/src/stories/chip/Chip.stories.d.ts +131 -0
- package/dist/src/stories/chip/ChipList.stories.d.ts +6 -0
- package/dist/src/stories/chip/MenuChip.stories.d.ts +13 -0
- package/dist/src/stories/dialog/ConformationDialog.stories.d.ts +7 -0
- package/dist/src/stories/dialog/Dialog.stories.d.ts +7 -0
- package/dist/src/stories/divider/Divider.stories.d.ts +6 -0
- package/dist/src/stories/drawer/Drawer.stories.d.ts +6 -0
- package/dist/src/stories/drawer/InputDrawer.stories.d.ts +6 -0
- package/dist/src/stories/formatter/CompactNumberFormatter.stories.d.ts +6 -0
- package/dist/src/stories/formatter/CurrencyFormatter.stories.d.ts +6 -0
- package/dist/src/stories/formatter/DateFormatter.stories.d.ts +6 -0
- package/dist/src/stories/formatter/NumberFormatter.stories.d.ts +6 -0
- package/dist/src/stories/formatter/PercentageFormatter.stories.d.ts +6 -0
- package/dist/src/stories/header/Header.stories.d.ts +6 -0
- package/dist/src/stories/header/HeaderSubtitle.stories.d.ts +6 -0
- package/dist/src/stories/header/HeaderTitle.stories.d.ts +6 -0
- package/dist/src/stories/icon/Icon.stories.d.ts +12 -0
- package/dist/src/stories/icon/StackedIcons.stories.d.ts +6 -0
- package/dist/src/stories/image/ImageEditor.stories.d.ts +6 -0
- package/dist/src/stories/info/InfoBox.stories.d.ts +6 -0
- package/dist/src/stories/input/Autocomplete.stories.d.ts +11 -0
- package/dist/src/stories/input/CategorizedPicker.stories.d.ts +9 -0
- package/dist/src/stories/input/Checkbox.stories.d.ts +6 -0
- package/dist/src/stories/input/CodeEditor.stories.d.ts +6 -0
- package/dist/src/stories/input/ColorPicker.stories.d.ts +6 -0
- package/dist/src/stories/input/DateIntervalPicker.stories.d.ts +6 -0
- package/dist/src/stories/input/DatePicker.stories.d.ts +13 -0
- package/dist/src/stories/input/DaysOfWeekPicker.stories.d.ts +6 -0
- package/dist/src/stories/input/DebouncedTextField.stories.d.ts +8 -0
- package/dist/src/stories/input/InputHelperText.stories.d.ts +11 -0
- package/dist/src/stories/input/InputLabel.stories.d.ts +13 -0
- package/dist/src/stories/input/ItemSelector.stories.d.ts +6 -0
- package/dist/src/stories/input/NumberField.stories.d.ts +18 -0
- package/dist/src/stories/input/PageSelector.stories.d.ts +6 -0
- package/dist/src/stories/input/PhoneField.stories.d.ts +11 -0
- package/dist/src/stories/input/Radio.stories.d.ts +6 -0
- package/dist/src/stories/input/Select.stories.d.ts +23 -0
- package/dist/src/stories/input/SelectPopover.stories.d.ts +9 -0
- package/dist/src/stories/input/Switch.stories.d.ts +6 -0
- package/dist/src/stories/input/TextEditor.stories.d.ts +6 -0
- package/dist/src/stories/input/TextField.stories.d.ts +10 -0
- package/dist/src/stories/input/TextFieldContainer.stories.d.ts +20 -0
- package/dist/src/stories/input/TimeField.stories.d.ts +6 -0
- package/dist/src/stories/input/TimezoneSelector.stories.d.ts +6 -0
- package/dist/src/stories/input/UploadClickableArea.stories.d.ts +5 -0
- package/dist/src/stories/layout/CollapsiblePanel.stories.d.ts +6 -0
- package/dist/src/stories/layout/CollapsiblePanelSwitcher.stories.d.ts +7 -0
- package/dist/src/stories/layout/Container.stories.d.ts +6 -0
- package/dist/src/stories/layout/Grid.stories.d.ts +6 -0
- package/dist/src/stories/layout/LazyLoad.stories.d.ts +6 -0
- package/dist/src/stories/layout/PageWIthNavbar.stories.d.ts +10 -0
- package/dist/src/stories/layout/PageWIthSidePanel.stories.d.ts +8 -0
- package/dist/src/stories/layout/PageWIthToolBox.stories.d.ts +8 -0
- package/dist/src/stories/layout/PageWithHeader.stories.d.ts +6 -0
- package/dist/src/stories/layout/PageWithToolbar.stories.d.ts +6 -0
- package/dist/src/stories/layout/Paper.stories.d.ts +6 -0
- package/dist/src/stories/layout/SidePanel.stories.d.ts +6 -0
- package/dist/src/stories/layout/Stepper.stories.d.ts +6 -0
- package/dist/src/stories/layout/ToolBox.stories.d.ts +6 -0
- package/dist/src/stories/list/List.stories.d.ts +6 -0
- package/dist/src/stories/list/ListItem.stories.d.ts +28 -0
- package/dist/src/stories/list/ListItemButton.stories.d.ts +57 -0
- package/dist/src/stories/loader/Loader.stories.d.ts +8 -0
- package/dist/src/stories/navbar/Navbar.stories.d.ts +6 -0
- package/dist/src/stories/overlay/DonutFocusOverlay.stories.d.ts +6 -0
- package/dist/src/stories/pager/Pager.stories.d.ts +6 -0
- package/dist/src/stories/popover/Popover.stories.d.ts +6 -0
- package/dist/src/stories/progress/CircularProgress.stories.d.ts +9 -0
- package/dist/src/stories/progress/LinearProgress.stories.d.ts +9 -0
- package/dist/src/stories/scrollable/HorizontalScrollable.stories.d.ts +6 -0
- package/dist/src/stories/skeleton/Skeleton.stories.d.ts +33 -0
- package/dist/src/stories/snackbar/Snackbar.stories.d.ts +10 -0
- package/dist/src/stories/tab/TabButton.stories.d.ts +5 -0
- package/dist/src/stories/tab/Tabs.stories.d.ts +5 -0
- package/dist/src/stories/table/NestedTable.stories.d.ts +6 -0
- package/dist/src/stories/table/Table.stories.d.ts +7 -0
- package/dist/src/stories/text-ellipsis/TextEllipsis.stories.d.ts +6 -0
- package/dist/src/stories/toolbar/Toolbar.stories.d.ts +9 -0
- package/dist/src/stories/toolbar/ToolbarBreadcrumb.stories.d.ts +6 -0
- package/dist/src/stories/toolbar/ToolbarTitle.stories.d.ts +6 -0
- package/dist/src/stories/tooltip/Tooltip.stories.d.ts +7 -0
- package/dist/src/stories/tooltip/TooltipMenu.stories.d.ts +6 -0
- package/dist/src/stories/typography/TextMarker.stories.d.ts +6 -0
- package/dist/src/stories/typography/Typography.stories.d.ts +11 -0
- package/dist/src/stories/utils/StoryUtilities.d.ts +2 -0
- package/dist/src/stories/widget/Widget.stories.d.ts +6 -0
- package/dist/src/stories/widget/WidgetActions.stories.d.ts +6 -0
- package/dist/src/stories/widget/WidgetLegendItem.stories.d.ts +7 -0
- package/dist/src/stories/widget/WidgetTitle.stories.d.ts +6 -0
- package/dist/src/stories/window/MinimizableWindow.stories.d.ts +25 -0
- package/dist/src/theme/Animations.d.ts +3 -0
- package/dist/src/theme/Breakpoints.d.ts +11 -0
- package/dist/src/theme/Colors.d.ts +90 -0
- package/dist/src/theme/GlobalStyles.d.ts +3 -0
- package/dist/src/theme/Palettes.d.ts +4 -0
- package/dist/src/theme/Shadows.d.ts +2 -0
- package/dist/src/theme/Theme.d.ts +1 -0
- package/dist/src/theme/Typography.d.ts +97 -0
- package/dist/src/theme/index.d.ts +7 -0
- package/dist/src/utils/ChartUtils.d.ts +23 -0
- package/dist/src/utils/CurrencyFormatter.d.ts +1 -0
- package/dist/src/utils/DateUtils.d.ts +45 -0
- package/dist/src/utils/NumberFormatter.d.ts +2 -0
- package/dist/src/utils/PercentageFormatter.d.ts +1 -0
- package/dist/src/utils/PhoneUtils.d.ts +11 -0
- package/dist/src/utils/RegExpUtils.d.ts +1 -0
- package/dist/src/utils/ResizeObserverUtils.d.ts +1 -0
- package/dist/src/utils/index.d.ts +5 -0
- package/dist/test/Setup.d.ts +1 -0
- package/dist/test/TestUtils.d.ts +3 -0
- package/dist/test/unit/components/button/Button.spec.d.ts +1 -0
- package/dist/test/unit/components/button/MenuButton.spec.d.ts +1 -0
- package/dist/test/unit/components/formatter/CurrencyFormatter.spec.d.ts +1 -0
- package/dist/test/unit/components/formatter/DateFormatter.spec.d.ts +1 -0
- package/dist/test/unit/components/formatter/NumberFormatter.spec.d.ts +1 -0
- package/dist/test/unit/components/formatter/PercentageFormatter.spec.d.ts +1 -0
- package/dist/test/unit/components/input/DateIntervalPicker.spec.d.ts +1 -0
- package/dist/test/unit/components/input/DatePicker.spec.d.ts +1 -0
- package/dist/test/unit/components/input/NumberField.spec.d.ts +1 -0
- package/dist/test/unit/components/input/PhoneField.spec.d.ts +1 -0
- package/dist/test/unit/components/input/TextField.spec.d.ts +1 -0
- package/dist/test/unit/components/input/__mocks__/react-virtualized-auto-sizer.d.ts +4 -0
- package/dist/test/unit/components/list/ListItemButton.spec.d.ts +1 -0
- package/dist/test/unit/components/tab/Tabs.spec.d.ts +1 -0
- package/dist/test/unit/components/tooltop/Tooltip.spec.d.ts +1 -0
- package/dist/test/unit/components/widget/WidgetLegendItem.spec.d.ts +1 -0
- package/dist/test/unit/i18n/translate.spec.d.ts +1 -0
- package/dist/test/unit/utils/DateUtils.spec.d.ts +1 -0
- package/dist/theme/Animations.d.ts +3 -0
- package/dist/theme/Breakpoints.d.ts +11 -0
- package/dist/theme/Colors.d.ts +90 -0
- package/dist/theme/GlobalStyles.d.ts +3 -0
- package/dist/theme/Palettes.d.ts +4 -0
- package/dist/theme/Shadows.d.ts +2 -0
- package/dist/theme/Theme.d.ts +1 -0
- package/dist/theme/Typography.d.ts +97 -0
- package/dist/theme/index.d.ts +7 -0
- package/dist/tinymce/icons/default/icons.js +194 -0
- package/dist/tinymce/icons/default/icons.min.js +1 -0
- package/dist/tinymce/icons/default/index.js +7 -0
- package/dist/tinymce/models/dom/index.js +7 -0
- package/dist/tinymce/models/dom/model.js +8040 -0
- package/dist/tinymce/models/dom/model.min.js +4 -0
- package/dist/tinymce/plugins/accordion/index.js +7 -0
- package/dist/tinymce/plugins/accordion/plugin.js +1054 -0
- package/dist/tinymce/plugins/accordion/plugin.min.js +4 -0
- package/dist/tinymce/plugins/advlist/index.js +7 -0
- package/dist/tinymce/plugins/advlist/plugin.js +259 -0
- package/dist/tinymce/plugins/advlist/plugin.min.js +4 -0
- package/dist/tinymce/plugins/anchor/index.js +7 -0
- package/dist/tinymce/plugins/anchor/plugin.js +214 -0
- package/dist/tinymce/plugins/anchor/plugin.min.js +4 -0
- package/dist/tinymce/plugins/autolink/index.js +7 -0
- package/dist/tinymce/plugins/autolink/plugin.js +228 -0
- package/dist/tinymce/plugins/autolink/plugin.min.js +4 -0
- package/dist/tinymce/plugins/autoresize/index.js +7 -0
- package/dist/tinymce/plugins/autoresize/plugin.js +192 -0
- package/dist/tinymce/plugins/autoresize/plugin.min.js +4 -0
- package/dist/tinymce/plugins/autosave/index.js +7 -0
- package/dist/tinymce/plugins/autosave/plugin.js +233 -0
- package/dist/tinymce/plugins/autosave/plugin.min.js +4 -0
- package/dist/tinymce/plugins/charmap/index.js +7 -0
- package/dist/tinymce/plugins/charmap/plugin.js +1658 -0
- package/dist/tinymce/plugins/charmap/plugin.min.js +4 -0
- package/dist/tinymce/plugins/code/index.js +7 -0
- package/dist/tinymce/plugins/code/plugin.js +85 -0
- package/dist/tinymce/plugins/code/plugin.min.js +4 -0
- package/dist/tinymce/plugins/codesample/index.js +7 -0
- package/dist/tinymce/plugins/codesample/plugin.js +2463 -0
- package/dist/tinymce/plugins/codesample/plugin.min.js +4 -0
- package/dist/tinymce/plugins/directionality/index.js +7 -0
- package/dist/tinymce/plugins/directionality/plugin.js +395 -0
- package/dist/tinymce/plugins/directionality/plugin.min.js +4 -0
- package/dist/tinymce/plugins/emoticons/index.js +7 -0
- package/dist/tinymce/plugins/emoticons/js/emojiimages.js +1 -0
- package/dist/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
- package/dist/tinymce/plugins/emoticons/js/emojis.js +1 -0
- package/dist/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
- package/dist/tinymce/plugins/emoticons/plugin.js +595 -0
- package/dist/tinymce/plugins/emoticons/plugin.min.js +4 -0
- package/dist/tinymce/plugins/fullscreen/index.js +7 -0
- package/dist/tinymce/plugins/fullscreen/plugin.js +1249 -0
- package/dist/tinymce/plugins/fullscreen/plugin.min.js +4 -0
- package/dist/tinymce/plugins/help/index.js +7 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
- package/dist/tinymce/plugins/help/plugin.js +898 -0
- package/dist/tinymce/plugins/help/plugin.min.js +4 -0
- package/dist/tinymce/plugins/image/index.js +7 -0
- package/dist/tinymce/plugins/image/plugin.js +1505 -0
- package/dist/tinymce/plugins/image/plugin.min.js +4 -0
- package/dist/tinymce/plugins/importcss/index.js +7 -0
- package/dist/tinymce/plugins/importcss/plugin.js +344 -0
- package/dist/tinymce/plugins/importcss/plugin.min.js +4 -0
- package/dist/tinymce/plugins/insertdatetime/index.js +7 -0
- package/dist/tinymce/plugins/insertdatetime/plugin.js +187 -0
- package/dist/tinymce/plugins/insertdatetime/plugin.min.js +4 -0
- package/dist/tinymce/plugins/link/index.js +7 -0
- package/dist/tinymce/plugins/link/plugin.js +1242 -0
- package/dist/tinymce/plugins/link/plugin.min.js +4 -0
- package/dist/tinymce/plugins/lists/index.js +7 -0
- package/dist/tinymce/plugins/lists/plugin.js +2172 -0
- package/dist/tinymce/plugins/lists/plugin.min.js +4 -0
- package/dist/tinymce/plugins/media/index.js +7 -0
- package/dist/tinymce/plugins/media/plugin.js +1217 -0
- package/dist/tinymce/plugins/media/plugin.min.js +4 -0
- package/dist/tinymce/plugins/nonbreaking/index.js +7 -0
- package/dist/tinymce/plugins/nonbreaking/plugin.js +123 -0
- package/dist/tinymce/plugins/nonbreaking/plugin.min.js +4 -0
- package/dist/tinymce/plugins/pagebreak/index.js +7 -0
- package/dist/tinymce/plugins/pagebreak/plugin.js +117 -0
- package/dist/tinymce/plugins/pagebreak/plugin.min.js +4 -0
- package/dist/tinymce/plugins/preview/index.js +7 -0
- package/dist/tinymce/plugins/preview/plugin.js +97 -0
- package/dist/tinymce/plugins/preview/plugin.min.js +4 -0
- package/dist/tinymce/plugins/quickbars/index.js +7 -0
- package/dist/tinymce/plugins/quickbars/plugin.js +447 -0
- package/dist/tinymce/plugins/quickbars/plugin.min.js +4 -0
- package/dist/tinymce/plugins/save/index.js +7 -0
- package/dist/tinymce/plugins/save/plugin.js +118 -0
- package/dist/tinymce/plugins/save/plugin.min.js +4 -0
- package/dist/tinymce/plugins/searchreplace/index.js +7 -0
- package/dist/tinymce/plugins/searchreplace/plugin.js +1093 -0
- package/dist/tinymce/plugins/searchreplace/plugin.min.js +4 -0
- package/dist/tinymce/plugins/table/index.js +7 -0
- package/dist/tinymce/plugins/table/plugin.js +3462 -0
- package/dist/tinymce/plugins/table/plugin.min.js +4 -0
- package/dist/tinymce/plugins/template/index.js +7 -0
- package/dist/tinymce/plugins/template/plugin.js +567 -0
- package/dist/tinymce/plugins/template/plugin.min.js +4 -0
- package/dist/tinymce/plugins/visualblocks/index.js +7 -0
- package/dist/tinymce/plugins/visualblocks/plugin.js +98 -0
- package/dist/tinymce/plugins/visualblocks/plugin.min.js +4 -0
- package/dist/tinymce/plugins/visualchars/index.js +7 -0
- package/dist/tinymce/plugins/visualchars/plugin.js +560 -0
- package/dist/tinymce/plugins/visualchars/plugin.min.js +4 -0
- package/dist/tinymce/plugins/wordcount/index.js +7 -0
- package/dist/tinymce/plugins/wordcount/plugin.js +405 -0
- package/dist/tinymce/plugins/wordcount/plugin.min.js +4 -0
- package/dist/tinymce/skins/content/dark/content.css +66 -0
- package/dist/tinymce/skins/content/dark/content.js +2 -0
- package/dist/tinymce/skins/content/dark/content.min.css +1 -0
- package/dist/tinymce/skins/content/default/content.css +61 -0
- package/dist/tinymce/skins/content/default/content.js +2 -0
- package/dist/tinymce/skins/content/default/content.min.css +1 -0
- package/dist/tinymce/skins/content/document/content.css +66 -0
- package/dist/tinymce/skins/content/document/content.js +2 -0
- package/dist/tinymce/skins/content/document/content.min.css +1 -0
- package/dist/tinymce/skins/content/tinymce-5/content.css +61 -0
- package/dist/tinymce/skins/content/tinymce-5/content.js +2 -0
- package/dist/tinymce/skins/content/tinymce-5/content.min.css +1 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.css +66 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.js +2 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.min.css +1 -0
- package/dist/tinymce/skins/content/writer/content.css +62 -0
- package/dist/tinymce/skins/content/writer/content.js +2 -0
- package/dist/tinymce/skins/content/writer/content.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide/content.css +785 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.css +779 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.js +2 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide/content.js +2 -0
- package/dist/tinymce/skins/ui/oxide/content.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide/skin.css +3763 -0
- package/dist/tinymce/skins/ui/oxide/skin.js +2 -0
- package/dist/tinymce/skins/ui/oxide/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.css +766 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.js +2 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.js +2 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.css +785 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.css +779 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.css +3857 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.css +766 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.css +779 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.css +3857 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/themes/silver/index.js +7 -0
- package/dist/tinymce/themes/silver/theme.js +30754 -0
- package/dist/tinymce/themes/silver/theme.min.js +4 -0
- package/dist/tinymce/tinymce.js +31757 -0
- package/dist/tinymce/tinymce.min.js +4 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/ChartUtils.d.ts +23 -0
- package/dist/utils/CurrencyFormatter.d.ts +1 -0
- package/dist/utils/DateUtils.d.ts +45 -0
- package/dist/utils/NumberFormatter.d.ts +2 -0
- package/dist/utils/PercentageFormatter.d.ts +1 -0
- package/dist/utils/PhoneUtils.d.ts +11 -0
- package/dist/utils/RegExpUtils.d.ts +1 -0
- package/dist/utils/ResizeObserverUtils.d.ts +1 -0
- package/dist/utils/index.d.ts +5 -0
- package/package.json +110 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IAllProps } from '@tinymce/tinymce-react';
|
|
3
|
+
import 'tinymce/tinymce';
|
|
4
|
+
import 'tinymce/models/dom/model';
|
|
5
|
+
import 'tinymce/themes/silver';
|
|
6
|
+
import 'tinymce/icons/default';
|
|
7
|
+
import 'tinymce/skins/ui/oxide/skin.min.css';
|
|
8
|
+
import 'tinymce/plugins/advlist';
|
|
9
|
+
import 'tinymce/plugins/anchor';
|
|
10
|
+
import 'tinymce/plugins/autolink';
|
|
11
|
+
import 'tinymce/plugins/code';
|
|
12
|
+
import 'tinymce/plugins/emoticons';
|
|
13
|
+
import 'tinymce/plugins/image';
|
|
14
|
+
import 'tinymce/plugins/link';
|
|
15
|
+
import 'tinymce/plugins/lists';
|
|
16
|
+
import 'tinymce/plugins/searchreplace';
|
|
17
|
+
import 'tinymce/plugins/table';
|
|
18
|
+
import 'tinymce/plugins/wordcount';
|
|
19
|
+
import 'tinymce/plugins/emoticons/js/emojis';
|
|
20
|
+
import { CodeEditorPopupProps } from './CodeEditorPopup';
|
|
21
|
+
type CustomToolbarGroup = {
|
|
22
|
+
icon: string;
|
|
23
|
+
tooltip: string;
|
|
24
|
+
items: string;
|
|
25
|
+
};
|
|
26
|
+
type CustomToolbarGroups = {
|
|
27
|
+
[key: string]: CustomToolbarGroup;
|
|
28
|
+
};
|
|
29
|
+
export type TextEditorProps = Omit<IAllProps, 'value' | 'onEditorChange' | 'onChange' | 'onDirty'> & Pick<CodeEditorPopupProps, 'linterFunction'> & {
|
|
30
|
+
/**
|
|
31
|
+
* This bool turn on/off the top menuBar on the textEditor
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
menuBar?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* This bool set dirty as false
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
resetDirty?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* This property allows you to change the editor model between 3
|
|
42
|
+
* options from more complete to less complete.
|
|
43
|
+
* @default 'normal'
|
|
44
|
+
*/
|
|
45
|
+
variant?: 'normal' | 'simple' | 'reduced';
|
|
46
|
+
/**
|
|
47
|
+
* Custom component's height
|
|
48
|
+
* @default undefined
|
|
49
|
+
*/
|
|
50
|
+
height?: string;
|
|
51
|
+
/**
|
|
52
|
+
* This is a boolean which allows you to turn on/off the full height of the editor.
|
|
53
|
+
* If set to true, the height property will be ignored.
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
fullHeight?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* This is an object which contains custom toolbar groups defined by the user
|
|
59
|
+
* @default {}
|
|
60
|
+
*/
|
|
61
|
+
customToolbarGroups?: CustomToolbarGroups;
|
|
62
|
+
/**
|
|
63
|
+
* Variable to set value when changes from outside component
|
|
64
|
+
*/
|
|
65
|
+
newValue?: string;
|
|
66
|
+
/**
|
|
67
|
+
* If true, code editor selector will be hidden. @default false
|
|
68
|
+
*/
|
|
69
|
+
hideCodeEditor?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Index of the code editor button in the toolbar.
|
|
72
|
+
* If not set, it will be added at the end of the toolbar.
|
|
73
|
+
* If customToolbarGroups is not set or is set but 'insert' group is not declared, maximum value is 6.
|
|
74
|
+
*/
|
|
75
|
+
codeEditorButtonIndex?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Text to display as subtitle when code editor is opened.
|
|
78
|
+
*/
|
|
79
|
+
codeEditorSubtitle?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Message to show in codeEditorPopup, below the code.
|
|
82
|
+
*/
|
|
83
|
+
codeEditorMessageNode?: React.ReactNode;
|
|
84
|
+
/**
|
|
85
|
+
* New Tiny behavior to change code editor as readonly.
|
|
86
|
+
*/
|
|
87
|
+
isCodeEditorReadonly?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* force to close code editor popup
|
|
90
|
+
*/
|
|
91
|
+
forceCloseCodeEditor?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Function called when code editor has been forcibly closed
|
|
94
|
+
*/
|
|
95
|
+
onForceCloseCodeEditor?: () => void;
|
|
96
|
+
/**
|
|
97
|
+
* Function called when a new value is setter
|
|
98
|
+
*/
|
|
99
|
+
onNewValueSetter?: () => void;
|
|
100
|
+
/**
|
|
101
|
+
* onChange method called when content changes.
|
|
102
|
+
*/
|
|
103
|
+
onChange: (value: string) => void;
|
|
104
|
+
/**
|
|
105
|
+
* Set dirty value when dirty state changes.
|
|
106
|
+
*/
|
|
107
|
+
onDirty?: (value: boolean) => void;
|
|
108
|
+
/**
|
|
109
|
+
* Method called when dirty is reset.
|
|
110
|
+
*/
|
|
111
|
+
onResetDirty?: () => void;
|
|
112
|
+
/**
|
|
113
|
+
* Method called when copy to clipboard button is pressed in source code.
|
|
114
|
+
*/
|
|
115
|
+
onCopyToClipboard?: (html: string) => void;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* This is a rich-text editor that allows users to create formatted content within a user-friendly interface
|
|
119
|
+
* The output created is in HTML5 and can include lists, tables, and other useful elements, depending on your configuration.
|
|
120
|
+
* The functionality of the editor can be extended through plugins and customizations, or limited to suit your use-case.
|
|
121
|
+
*/
|
|
122
|
+
declare const TextEditor: ({ id, disabled, customToolbarGroups, resetDirty, initialValue, inline, height, fullHeight, toolbar, menuBar, variant, newValue, hideCodeEditor, codeEditorButtonIndex, codeEditorSubtitle, codeEditorMessageNode, isCodeEditorReadonly, forceCloseCodeEditor, onForceCloseCodeEditor, onNewValueSetter, onChange, onDirty, onResetDirty, onCopyToClipboard, linterFunction, init, ...rest }: TextEditorProps) => JSX.Element;
|
|
123
|
+
export default TextEditor;
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
import { IconId } from '../icon';
|
|
4
|
+
export type TextFieldProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of inner input. Only apply if this field is single line.
|
|
7
|
+
*/
|
|
8
|
+
type?: 'text' | 'password';
|
|
9
|
+
/**
|
|
10
|
+
* The native `id` of input or textarea. If not supplied, a random id
|
|
11
|
+
* will be established.
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Variant of this TextField. If you need to use text field in some container with your own styles
|
|
16
|
+
* you probably want to use `transparent` variant. Also you have `sx` and `inputSx` props for any
|
|
17
|
+
* customization.
|
|
18
|
+
*/
|
|
19
|
+
variant?: 'default' | 'transparent';
|
|
20
|
+
/**
|
|
21
|
+
* Whether the input is disabled or not.
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Current text value of input or textarea. Usually you will use this property to set the current
|
|
26
|
+
* value of input. It is called the "controlled" way. See the `defaultValue` property for use this
|
|
27
|
+
* TextField in an "uncontrolled" way.
|
|
28
|
+
*/
|
|
29
|
+
value?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Styles to customize input container, which is a Box.
|
|
32
|
+
*/
|
|
33
|
+
sx?: SxProps;
|
|
34
|
+
/**
|
|
35
|
+
* Styles to customize input component, which is an input with type="text"
|
|
36
|
+
*/
|
|
37
|
+
inputSx?: SxProps;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the TextField is in error state.
|
|
40
|
+
*/
|
|
41
|
+
isError?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether to show the cross IconButton as first endAdornment component, used to clear the input
|
|
44
|
+
* (setting the value="" and calling the `onChange` handler of this TextField)
|
|
45
|
+
*/
|
|
46
|
+
isClearable?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the input is multiline or not. If `true`, the internal input="text" will be replaced
|
|
49
|
+
* by a textarea
|
|
50
|
+
*/
|
|
51
|
+
multiline?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Only apply if `multiline={true}`. It is the real HTML textarea.rows attribute.
|
|
54
|
+
*/
|
|
55
|
+
rows?: number;
|
|
56
|
+
/**
|
|
57
|
+
* If supplied some text, an InputLabel component will be shown just before the input.
|
|
58
|
+
*/
|
|
59
|
+
label?: string;
|
|
60
|
+
/**
|
|
61
|
+
* If supplied some text, an icon with tooltip will be shown just after the label.
|
|
62
|
+
*/
|
|
63
|
+
labelInfoText?: string;
|
|
64
|
+
/**
|
|
65
|
+
* If supplied some text, an InputHelperText component will be shown just after the input.
|
|
66
|
+
*/
|
|
67
|
+
helperText?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The placeholder text of the input
|
|
70
|
+
*/
|
|
71
|
+
placeholder?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The main color used by this TextField, used to represent states like active or hightlighted.
|
|
74
|
+
*/
|
|
75
|
+
activeColor?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the input is highlighted or not. It will use the `color` of this TextField lighten by a 40%.
|
|
78
|
+
*/
|
|
79
|
+
highlighted?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Whether the input has the autoFocus attribute or not. If `true`, the input will acquire the focus the first time
|
|
82
|
+
* it gets rendered in UI.
|
|
83
|
+
*/
|
|
84
|
+
autoFocus?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* If you want to use the uncontrolled (native) version of input, use defaultValue to set the initial value.
|
|
87
|
+
* If supplied a `value` prop, this `defaultValue` will be ignored.
|
|
88
|
+
*/
|
|
89
|
+
defaultValue?: string;
|
|
90
|
+
/**
|
|
91
|
+
* If supplied some iconId, an Icon component will be shown as the first startAdornment.
|
|
92
|
+
*/
|
|
93
|
+
iconId?: IconId;
|
|
94
|
+
/**
|
|
95
|
+
* The max lenth of text allowed in the input
|
|
96
|
+
*/
|
|
97
|
+
maxLength?: number;
|
|
98
|
+
/**
|
|
99
|
+
* Settled directly in DOM element, for testing easy location purposes.
|
|
100
|
+
*/
|
|
101
|
+
'data-testid'?: string;
|
|
102
|
+
autoComplete?: 'off' | 'new-password';
|
|
103
|
+
containerRef?: React.Ref<HTMLDivElement>;
|
|
104
|
+
/**
|
|
105
|
+
* Adornment components to be placed at the start of the input
|
|
106
|
+
*/
|
|
107
|
+
startAdornment?: React.ReactNode;
|
|
108
|
+
/**
|
|
109
|
+
* Adornment components to be placed at the end of the input
|
|
110
|
+
*/
|
|
111
|
+
endAdornment?: React.ReactNode;
|
|
112
|
+
/**
|
|
113
|
+
* Called when the input value changes. You can get the current value of the input
|
|
114
|
+
* by accessing to `event.target.value`.
|
|
115
|
+
*/
|
|
116
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
117
|
+
/**
|
|
118
|
+
* Called when the input receives a keyDown event. You can get the key by accessing
|
|
119
|
+
* `event.key`.
|
|
120
|
+
*/
|
|
121
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
122
|
+
/**
|
|
123
|
+
* Called when the input gets the focus
|
|
124
|
+
*/
|
|
125
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
126
|
+
/**
|
|
127
|
+
* Called when the input losts the focus
|
|
128
|
+
*/
|
|
129
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
130
|
+
/**
|
|
131
|
+
* Called when text area scroll.
|
|
132
|
+
*/
|
|
133
|
+
onScroll?: (scrollTop: number) => void;
|
|
134
|
+
/**
|
|
135
|
+
* Set if input is readonly
|
|
136
|
+
*/
|
|
137
|
+
readOnly?: boolean;
|
|
138
|
+
className?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Set to true if adornments must be grouped with the input instead of be inside of it.
|
|
141
|
+
* When using this option, only IconButton, MenuIconButton and Select component may be used as adornments.
|
|
142
|
+
* Any other component will not work properly.
|
|
143
|
+
* IconButton and MenuIconButton size must be 'M' or smaller.
|
|
144
|
+
*/
|
|
145
|
+
groupElements?: boolean;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* TextField is a component that renders an input field with type="text" or a textarea.
|
|
149
|
+
* It comes with some optional features like an InputLabel, an InputHelperText, a leading Icon
|
|
150
|
+
* and an IconButton to clear the current value of input or textarea.
|
|
151
|
+
*
|
|
152
|
+
* The exposed `ref` property is the refference to the native <input> element,
|
|
153
|
+
* typed as React.Ref<HTMLInputElement>
|
|
154
|
+
*/
|
|
155
|
+
declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
156
|
+
export default TextField;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BoxProps, SxProps } from '@mui/material';
|
|
3
|
+
export type TextFieldContainerProps = React.PropsWithChildren<{
|
|
4
|
+
/**
|
|
5
|
+
* The variant of this component.
|
|
6
|
+
*/
|
|
7
|
+
variant?: 'default' | 'transparent';
|
|
8
|
+
/**
|
|
9
|
+
* Custom styles to override.
|
|
10
|
+
*/
|
|
11
|
+
sx?: SxProps;
|
|
12
|
+
/**
|
|
13
|
+
* The color of "active" status. Used for border on focus and background on highlighted
|
|
14
|
+
*/
|
|
15
|
+
activeColor?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the component is disabled or not
|
|
18
|
+
*/
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the component is highlighted or not
|
|
22
|
+
*/
|
|
23
|
+
highlighted?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the component is in focus state or not
|
|
26
|
+
*/
|
|
27
|
+
isFocused?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the component is in error state or not
|
|
30
|
+
*/
|
|
31
|
+
isError?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the component is multiline or not
|
|
34
|
+
*/
|
|
35
|
+
multiline?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Called on click on this component
|
|
38
|
+
*/
|
|
39
|
+
onClick?: BoxProps['onClick'];
|
|
40
|
+
className?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Settled directly in DOM element, for testing easy location purposes.
|
|
43
|
+
*/
|
|
44
|
+
'data-test'?: string;
|
|
45
|
+
}>;
|
|
46
|
+
/**
|
|
47
|
+
* A TextFieldContainer is just a Box with the visual styles that uses the TextField component.
|
|
48
|
+
* This TextFieldContainer could be used to style any component to looks like a TextField component.
|
|
49
|
+
*/
|
|
50
|
+
declare const TextFieldContainer: React.ForwardRefExoticComponent<{
|
|
51
|
+
/**
|
|
52
|
+
* The variant of this component.
|
|
53
|
+
*/
|
|
54
|
+
variant?: "transparent" | "default" | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Custom styles to override.
|
|
57
|
+
*/
|
|
58
|
+
sx?: SxProps | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* The color of "active" status. Used for border on focus and background on highlighted
|
|
61
|
+
*/
|
|
62
|
+
activeColor?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Whether the component is disabled or not
|
|
65
|
+
*/
|
|
66
|
+
disabled?: boolean | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the component is highlighted or not
|
|
69
|
+
*/
|
|
70
|
+
highlighted?: boolean | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the component is in focus state or not
|
|
73
|
+
*/
|
|
74
|
+
isFocused?: boolean | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Whether the component is in error state or not
|
|
77
|
+
*/
|
|
78
|
+
isError?: boolean | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Whether the component is multiline or not
|
|
81
|
+
*/
|
|
82
|
+
multiline?: boolean | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Called on click on this component
|
|
85
|
+
*/
|
|
86
|
+
onClick?: BoxProps['onClick'];
|
|
87
|
+
className?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* Settled directly in DOM element, for testing easy location purposes.
|
|
90
|
+
*/
|
|
91
|
+
'data-test'?: string | undefined;
|
|
92
|
+
} & {
|
|
93
|
+
children?: React.ReactNode;
|
|
94
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
95
|
+
export default TextFieldContainer;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TimeFieldProps as MuiTimeFieldProps } from '@mui/x-date-pickers';
|
|
3
|
+
import { TextFieldProps } from './TextField';
|
|
4
|
+
export type TimeFieldProps = Omit<TextFieldProps, 'value' | 'onChange' | 'multiline' | 'type' | 'isClearable' | 'defaultValue'> & {
|
|
5
|
+
value: MuiTimeFieldProps<Date>['value'];
|
|
6
|
+
onChange?: MuiTimeFieldProps<Date>['onChange'];
|
|
7
|
+
/**
|
|
8
|
+
* Wether show or not the minutes part
|
|
9
|
+
*/
|
|
10
|
+
showMinutes?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Wether show or not the seconds part. If supplied true, the `showMinutes` prop will be forced to `true`
|
|
13
|
+
*/
|
|
14
|
+
showSeconds?: boolean;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* The Time Field component lets the user select a time with the keyboard.
|
|
18
|
+
*/
|
|
19
|
+
declare const TimeField: ({ onChange, value, showMinutes, showSeconds, ...rest }: TimeFieldProps) => JSX.Element;
|
|
20
|
+
export default TimeField;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type TimezoneSelectorProps = {
|
|
3
|
+
initialTimezone: string;
|
|
4
|
+
onTimezoneChange: (timezone: string) => void;
|
|
5
|
+
};
|
|
6
|
+
declare const TimezoneSelector: ({ initialTimezone, onTimezoneChange }: TimezoneSelectorProps) => JSX.Element;
|
|
7
|
+
export default TimezoneSelector;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type UploadClickableAreaProps = React.PropsWithChildren<{
|
|
3
|
+
/**
|
|
4
|
+
* Defines the file types the file input should accept. Comma separated list of type specifiers.
|
|
5
|
+
* For example ".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
6
|
+
*/
|
|
7
|
+
accept: string;
|
|
8
|
+
/**
|
|
9
|
+
* Raised when a file is uploaded. The file is passed as the argument.
|
|
10
|
+
*/
|
|
11
|
+
onFilesChanged: (file: FileList) => void;
|
|
12
|
+
}>;
|
|
13
|
+
declare const UploadClickableArea: ({ accept, onFilesChanged, children }: UploadClickableAreaProps) => JSX.Element;
|
|
14
|
+
export default UploadClickableArea;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { default as Autocomplete, AutocompleteProps } from './Autocomplete';
|
|
2
|
+
export { default as Select, SelectProps } from './Select';
|
|
3
|
+
export { default as Switch, SwitchProps } from './Switch';
|
|
4
|
+
export { default as TextFieldContainer, TextFieldContainerProps } from './TextFieldContainer';
|
|
5
|
+
export { default as TextField, TextFieldProps } from './TextField';
|
|
6
|
+
export { default as TextEditor, TextEditorProps } from './TextEditor';
|
|
7
|
+
export { default as CodeEditor, CodeEditorProps } from './CodeEditor';
|
|
8
|
+
export { default as TimeField, TimeFieldProps } from './TimeField';
|
|
9
|
+
export { default as PhoneField, PhoneFieldProps } from './PhoneField';
|
|
10
|
+
export { default as NumberField, NumberFieldProps } from './NumberField';
|
|
11
|
+
export { default as DatePicker, DatePickerProps } from './DatePicker';
|
|
12
|
+
export { default as DebouncedTextField, DebouncedTextFieldProps } from './DebouncedTextField';
|
|
13
|
+
export { default as InputLabel, InputLabelProps } from './InputLabel';
|
|
14
|
+
export { default as InputHelperText, InputHelperTextProps } from './InputHelperText';
|
|
15
|
+
export { default as SelectPopover, SelectPopoverProps } from './SelectPopover';
|
|
16
|
+
export { default as DateIntervalPicker, DateIntervalPickerProps, DateIntervalValues } from './DateIntervalPicker';
|
|
17
|
+
export { default as SelectPopoverItem, SelectPopoverItemProps } from './SelectPopoverItem';
|
|
18
|
+
export { default as Checkbox, CheckboxProps } from './Checkbox';
|
|
19
|
+
export { default as Radio, RadioProps } from './Radio';
|
|
20
|
+
export { default as TimezoneSelector, TimezoneSelectorProps } from './TimezoneSelector';
|
|
21
|
+
export { default as DaysOfWeekPicker, DaysOfWeekPickerProps, DaysOfWeek } from './DaysOfWeekPicker';
|
|
22
|
+
export { default as ColorPicker, ColorPickerProps, colorPickerDefaultColors, isValidColor } from './ColorPicker';
|
|
23
|
+
export { default as UploadClickableArea, UploadClickableAreaProps } from './UploadClickableArea';
|
|
24
|
+
export { default as CategorizedPicker, CategorizedPickerProps } from './CategorizedPicker';
|
|
25
|
+
export { default as ItemSelector, ItemSelectorProps, ItemSelectorItem } from './ItemSelector';
|
|
26
|
+
export { default as PageSelector, PageSelectorProps } from './PageSelector';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ListItemButtonProps } from '../list/ListItemButton';
|
|
4
|
+
import { DividerProps } from '../divider';
|
|
5
|
+
export type CollapsiblePanelProps = React.PropsWithChildren<{
|
|
6
|
+
sx?: SxProps;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the panel is collapsed or not. If not supplied, the panel is not collapsed by default.
|
|
9
|
+
*/
|
|
10
|
+
isCollapsed: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Called when toggle button is clicked.
|
|
13
|
+
* If supplied `header` prop, this field will be ignored.
|
|
14
|
+
*/
|
|
15
|
+
onToggle?: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* The header to use for this collapsible panel.
|
|
18
|
+
* Usually, it will be any clickable element like a ListItemButton, where you will have
|
|
19
|
+
* to manage the click event and toggle the `isCollapsed` property properly.
|
|
20
|
+
*
|
|
21
|
+
* If supplied, the `headerText` and `onToggle` will be ignored.
|
|
22
|
+
*/
|
|
23
|
+
header?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* The text to use in the header for this collapsible panel. Header is always visible.
|
|
26
|
+
* It uses internally a ListItemButton element.
|
|
27
|
+
* If supplied `header` prop, this field will be ignored.
|
|
28
|
+
*/
|
|
29
|
+
headerText?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Style properties to use for header when property 'header' is not provided.
|
|
32
|
+
*/
|
|
33
|
+
headerBaseSx?: SxProps;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the collapse will be placed down or up from the header.
|
|
36
|
+
*/
|
|
37
|
+
collapseDirection?: 'down' | 'up';
|
|
38
|
+
/**
|
|
39
|
+
* Whether to add a Divider between header and panel or not. Default is false.
|
|
40
|
+
*/
|
|
41
|
+
withDivider?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Props for divider
|
|
44
|
+
*/
|
|
45
|
+
dividerProps?: DividerProps;
|
|
46
|
+
}> & Pick<ListItemButtonProps, 'disabled'>;
|
|
47
|
+
declare const CollapsiblePanel: ({ sx, children, isCollapsed, onToggle, header, headerText, headerBaseSx, collapseDirection, disabled, withDivider, dividerProps }: CollapsiblePanelProps) => JSX.Element;
|
|
48
|
+
export default CollapsiblePanel;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ListItemButtonProps } from '../list/ListItemButton';
|
|
4
|
+
export type CollapsiblePanelSwitcherProps = React.PropsWithChildren<{
|
|
5
|
+
sx?: SxProps;
|
|
6
|
+
/**
|
|
7
|
+
* The variant of the CollapsiblePanel. Default 'sortable-move'
|
|
8
|
+
*/
|
|
9
|
+
variant?: 'sortable-move' | 'sortable-arrow';
|
|
10
|
+
/**
|
|
11
|
+
* Whether the panel is collapsed or not. If not supplied, the panel is not collapsed by default.
|
|
12
|
+
*/
|
|
13
|
+
isCollapsed: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the switcher is switcher or not. If not supplied, the panel is not switched by default.
|
|
16
|
+
*/
|
|
17
|
+
isSwitched: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Called when toggle button is clicked.
|
|
20
|
+
* If supplied `header` prop, this field will be ignored.
|
|
21
|
+
*/
|
|
22
|
+
onToggle?: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Called when switcher button is clicked.
|
|
25
|
+
*/
|
|
26
|
+
onSwitcherToggle: (checked: boolean) => void;
|
|
27
|
+
/**
|
|
28
|
+
* The header to use for this collapsible panel.
|
|
29
|
+
* Usually, it will be any clickable element like a ListItemButton, where you will have
|
|
30
|
+
* to manage the click event and toggle the `isCollapsed` property properly.
|
|
31
|
+
*
|
|
32
|
+
* If supplied, the `headerText` and `onToggle` will be ignored.
|
|
33
|
+
*/
|
|
34
|
+
header?: React.ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* The text to use in the header for this collapsible panel. Header is always visible.
|
|
37
|
+
* It uses internally a ListItemButton element.
|
|
38
|
+
* If supplied `header` prop, this field will be ignored.
|
|
39
|
+
*/
|
|
40
|
+
headerText?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Style properties to use for header when property 'header' is not provided.
|
|
43
|
+
*/
|
|
44
|
+
headerBaseSx?: SxProps;
|
|
45
|
+
/**
|
|
46
|
+
* Actions to show to de left of switcher
|
|
47
|
+
*/
|
|
48
|
+
middleActions?: React.ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Whether the collapse will be placed down or up from the header.
|
|
51
|
+
*/
|
|
52
|
+
collapseDirection?: 'down' | 'up';
|
|
53
|
+
/**
|
|
54
|
+
* Set border separator dashed between. Default false
|
|
55
|
+
*/
|
|
56
|
+
separatorDashed?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* When variant is sortable-move, a lock will be displayed instead a move icon. Default false
|
|
59
|
+
*/
|
|
60
|
+
moveBlocked?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* When true, border in collapsible element will be removed. Default false
|
|
63
|
+
*/
|
|
64
|
+
removeBorder?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* When variant is sortable-arrow, disabled down arrow. Default false
|
|
67
|
+
*/
|
|
68
|
+
downArrowDisabled?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Method called when up arrow is pressed in sortable-arrow.
|
|
71
|
+
*/
|
|
72
|
+
onMoveUp?: () => void;
|
|
73
|
+
/**
|
|
74
|
+
* Method called when down arrow is pressed in sortable-arrow.
|
|
75
|
+
*/
|
|
76
|
+
onMoveDown?: () => void;
|
|
77
|
+
/**
|
|
78
|
+
* Method called when drag zone is pressed.
|
|
79
|
+
*/
|
|
80
|
+
onMouseDownDragZone?: () => void;
|
|
81
|
+
/**
|
|
82
|
+
* Method called when drag zone is not pressed.
|
|
83
|
+
*/
|
|
84
|
+
onMouseUpDragZone?: () => void;
|
|
85
|
+
}> & Pick<ListItemButtonProps, 'disabled'>;
|
|
86
|
+
declare const CollapsiblePanelSwitcher: ({ sx, children, isCollapsed, isSwitched, onToggle, onSwitcherToggle, header, headerText, headerBaseSx, collapseDirection, disabled, variant, separatorDashed, moveBlocked, middleActions, downArrowDisabled, removeBorder, onMoveUp, onMoveDown, onMouseDownDragZone, onMouseUpDragZone }: CollapsiblePanelSwitcherProps) => JSX.Element;
|
|
87
|
+
export default CollapsiblePanelSwitcher;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ContainerProps as MuiContainerProps } from '@mui/material/Container';
|
|
3
|
+
export type ContainerProps = Pick<MuiContainerProps, 'sx' | 'children' | 'maxWidth'>;
|
|
4
|
+
declare const Container: ({ maxWidth, ...rest }: ContainerProps) => JSX.Element;
|
|
5
|
+
export default Container;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GridProps as MuiGridProps } from '@mui/material/Grid';
|
|
3
|
+
export type GridProps = Pick<MuiGridProps, 'children' | 'xs' | 'md' | 'lg' | 'xl' | 'columns' | 'spacing' | 'sx' | 'container' | 'item' | 'className'>;
|
|
4
|
+
/**
|
|
5
|
+
* A basic grid system. See https://mui.com/material-ui/react-grid/ for more detailed usage.
|
|
6
|
+
*/
|
|
7
|
+
declare const Grid: (props: GridProps) => JSX.Element;
|
|
8
|
+
export default Grid;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { LazyLoadProps as ReactLazyLoadProps } from 'react-lazyload';
|
|
3
|
+
export type LazyLoadProps = Pick<ReactLazyLoadProps, 'offset' | 'height' | 'style' | 'children'>;
|
|
4
|
+
declare const LazyLoad: (props: LazyLoadProps) => JSX.Element;
|
|
5
|
+
export default LazyLoad;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type PageWithHeaderProps = React.PropsWithChildren<{
|
|
3
|
+
/**
|
|
4
|
+
* The header to display.
|
|
5
|
+
*/
|
|
6
|
+
header?: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
/**
|
|
9
|
+
* A page with a header at the top of the page.
|
|
10
|
+
* The `children` will be displayed in the main area.
|
|
11
|
+
*/
|
|
12
|
+
declare const PageWithHeader: ({ header, children }: PageWithHeaderProps) => JSX.Element;
|
|
13
|
+
export default PageWithHeader;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type PageWithNavbarProps = React.PropsWithChildren<{
|
|
3
|
+
/**
|
|
4
|
+
* The navbar to display. It should be a Navbar component.
|
|
5
|
+
*/
|
|
6
|
+
navbar?: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
/**
|
|
9
|
+
* A page with a navbar at the left of the page.
|
|
10
|
+
* The `children` will be displayed in the main area.
|
|
11
|
+
*/
|
|
12
|
+
declare const PageWithNavbar: ({ navbar, children }: PageWithNavbarProps) => JSX.Element;
|
|
13
|
+
export default PageWithNavbar;
|