@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 @@
|
|
|
1
|
+
export { default as Icon, IconProps, IconId } from './Icon';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FilerobotImageEditorConfig } from 'react-filerobot-image-editor';
|
|
3
|
+
export type ImageEditorProps = {
|
|
4
|
+
imageUrl: string;
|
|
5
|
+
maxWidth?: number;
|
|
6
|
+
maxHeight?: number;
|
|
7
|
+
maxMegapixels?: number;
|
|
8
|
+
onSave?: (imageBase64: string, name: string) => void;
|
|
9
|
+
onSaveError?: (error: string) => void;
|
|
10
|
+
} & Pick<FilerobotImageEditorConfig, 'defaultSavedImageType'>;
|
|
11
|
+
declare const ImageEditor: React.FC<ImageEditorProps>;
|
|
12
|
+
export default ImageEditor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ImageEditor, ImageEditorProps } from '../image/ImageEditor';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export * from './alert';
|
|
2
|
+
export * from './avatar';
|
|
3
|
+
export * from './button';
|
|
4
|
+
export * from './card';
|
|
5
|
+
export * from './chart';
|
|
6
|
+
export * from './chat';
|
|
7
|
+
export * from './chip';
|
|
8
|
+
export * from './dialog';
|
|
9
|
+
export * from './divider';
|
|
10
|
+
export * from './drawer';
|
|
11
|
+
export * from './formatter';
|
|
12
|
+
export * from './header';
|
|
13
|
+
export * from './icon';
|
|
14
|
+
export * from './image';
|
|
15
|
+
export * from './info';
|
|
16
|
+
export * from './input';
|
|
17
|
+
export * from './layout';
|
|
18
|
+
export * from './list';
|
|
19
|
+
export * from './loader';
|
|
20
|
+
export * from './navbar';
|
|
21
|
+
export * from './popover';
|
|
22
|
+
export * from './overlay';
|
|
23
|
+
export * from './pager';
|
|
24
|
+
export * from './progress';
|
|
25
|
+
export * from './scrollable';
|
|
26
|
+
export * from './skeleton';
|
|
27
|
+
export * from './snackbar';
|
|
28
|
+
export * from './tab';
|
|
29
|
+
export * from './table';
|
|
30
|
+
export * from './toolbar';
|
|
31
|
+
export * from './tooltip';
|
|
32
|
+
export * from './transition';
|
|
33
|
+
export * from './typography';
|
|
34
|
+
export * from './widget';
|
|
35
|
+
export * from './window';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
type InfoBoxVariant = 'default';
|
|
4
|
+
export type InfoBoxProps = {
|
|
5
|
+
variant?: InfoBoxVariant;
|
|
6
|
+
collapsedHeight?: number;
|
|
7
|
+
sx?: SxProps;
|
|
8
|
+
};
|
|
9
|
+
declare const InfoBox: React.FC<InfoBoxProps>;
|
|
10
|
+
export default InfoBox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InfoBox, InfoBoxProps } from './InfoBox';
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DebouncedTextFieldProps } from './DebouncedTextField';
|
|
3
|
+
export type AutocompleteValue<T, Multiple> = Multiple extends undefined | false ? T | '' : T[];
|
|
4
|
+
type TextFieldFilteredProps = Pick<DebouncedTextFieldProps, 'autoFocus' | 'activeColor' | 'data-testid' | 'helperText' | 'highlighted' | 'iconId' | 'isError' | 'label' | 'placeholder' | 'debounce' | 'sx' | 'inputSx' | 'maxLength' | 'id' | 'endAdornment'>;
|
|
5
|
+
export type AutocompleteOption<T extends string> = {
|
|
6
|
+
readonly id: T;
|
|
7
|
+
};
|
|
8
|
+
export type AutocompleteProps<T extends string, Multiple extends boolean | undefined, Value = AutocompleteValue<T, Multiple>, Option = AutocompleteOption<T>> = {
|
|
9
|
+
/**
|
|
10
|
+
* The variant of the Autocomplete
|
|
11
|
+
*/
|
|
12
|
+
variant?: 'default' | 'text';
|
|
13
|
+
/**
|
|
14
|
+
* The value handled by this Autocomplete component. If multiple=true, it should be an array of ids.
|
|
15
|
+
* If multiple=false (by default) it should be a string.
|
|
16
|
+
*/
|
|
17
|
+
value: Value;
|
|
18
|
+
/**
|
|
19
|
+
* The available options to be shown on dropdown
|
|
20
|
+
*/
|
|
21
|
+
options: readonly Option[];
|
|
22
|
+
/**
|
|
23
|
+
* Whether the autocomplete is disabled or not.
|
|
24
|
+
*/
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Whether this component is working in multiple mode or single mode. By default it is single mode.
|
|
28
|
+
* See `value` prop description for more info.
|
|
29
|
+
*/
|
|
30
|
+
multiple?: Multiple;
|
|
31
|
+
/**
|
|
32
|
+
* Called when the value changes. You should handle it and update the `value` prop.
|
|
33
|
+
*/
|
|
34
|
+
onChange?: (event: React.SyntheticEvent, value: Value) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Properties to be pass through inner TextField component.
|
|
37
|
+
*/
|
|
38
|
+
textFieldProps?: TextFieldFilteredProps;
|
|
39
|
+
/**
|
|
40
|
+
* Wheather the search pattern is case sensitive or not.
|
|
41
|
+
*/
|
|
42
|
+
isCaseSensitive?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the search pattern is diacritic sensitive or not.
|
|
45
|
+
*/
|
|
46
|
+
isDiacriticSensitive?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The mode to search within the options.
|
|
49
|
+
*/
|
|
50
|
+
mode?: 'startsWith' | 'contains' | 'endsWith';
|
|
51
|
+
/**
|
|
52
|
+
* Use this function to render the desired text for each id. Leave it empty if the id is also the label.
|
|
53
|
+
*/
|
|
54
|
+
renderLabel?: (id: T) => string;
|
|
55
|
+
/**
|
|
56
|
+
* Whether the autocomplete options are loading or not. Use only on initial load or if using async search approach
|
|
57
|
+
*/
|
|
58
|
+
isLoading?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* This callback will be called when the searchText changes, so you can perform asynchronous on-deman load of options.
|
|
61
|
+
* Use it along with the `isLoading` prop.
|
|
62
|
+
*/
|
|
63
|
+
onSearch?: (searchText: string) => void;
|
|
64
|
+
/**
|
|
65
|
+
* Custom text to be shown when autocomplete options are loading by the `isLoading` prop.
|
|
66
|
+
*/
|
|
67
|
+
loadingText?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Custom text to be shown when no options are available to be selected.
|
|
70
|
+
*/
|
|
71
|
+
noOptionsText?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Enables the feature to use text written by the user besides predefined options
|
|
74
|
+
*/
|
|
75
|
+
allowFreeText?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Custom text to be shown when allowFreeText feature is enabled and written text is a new value to add.
|
|
78
|
+
*/
|
|
79
|
+
addNewValueText?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Enables close popover when an option is selected. Default value is true if not multiple, false if multiple.
|
|
82
|
+
*/
|
|
83
|
+
closeOnSelect?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Maximum length of the value
|
|
86
|
+
*/
|
|
87
|
+
maxValueLength?: number;
|
|
88
|
+
/**
|
|
89
|
+
* Maximum amount of values allowed when multiple is enabled. If not set, there is no limit.
|
|
90
|
+
*/
|
|
91
|
+
maxValues?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Custom text to be shown when number of values reaches maxValues.
|
|
94
|
+
*/
|
|
95
|
+
maxValuesText?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Number of selected values to be shown when multiple is enabled. Default value is 0, which shows all selected values tags.
|
|
98
|
+
*/
|
|
99
|
+
limitValueTags?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Callback when options list popover is opened.
|
|
102
|
+
*/
|
|
103
|
+
onOpen?: () => void;
|
|
104
|
+
/**
|
|
105
|
+
* Callback when options list popover is closed.
|
|
106
|
+
*/
|
|
107
|
+
onClose?: () => void;
|
|
108
|
+
/**
|
|
109
|
+
* Disables clear button at the end of the component when field is dirty.
|
|
110
|
+
*/
|
|
111
|
+
disableClear?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Ref to the inner HTMLInputElement
|
|
114
|
+
*/
|
|
115
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
116
|
+
};
|
|
117
|
+
declare const _default: <T extends string, Multiple extends boolean | undefined = undefined, Value = AutocompleteValue<T, Multiple>>({ variant, value, multiple, textFieldProps, options, disabled, mode, isCaseSensitive, isDiacriticSensitive, onChange, renderLabel, isLoading, onSearch, loadingText, noOptionsText, allowFreeText, addNewValueText, closeOnSelect, maxValueLength, maxValues, maxValuesText, limitValueTags, onClose, onOpen, disableClear }: AutocompleteProps<T, Multiple, Value, AutocompleteOption<T>>, ref: React.Ref<HTMLInputElement>) => JSX.Element;
|
|
118
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const calendarDayButtonSize = 32;
|
|
3
|
+
export type CalendarDayProps = React.PropsWithChildren<{
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
backgroundHighlight?: {
|
|
7
|
+
color: string;
|
|
8
|
+
type: 'start' | 'end' | 'full';
|
|
9
|
+
};
|
|
10
|
+
foregroundHighlight?: {
|
|
11
|
+
color: string;
|
|
12
|
+
type: 'fill' | 'stroke';
|
|
13
|
+
};
|
|
14
|
+
allowKeyboardNavigation?: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
declare const CalendarDay: ({ children, disabled, onClick, backgroundHighlight, foregroundHighlight, allowKeyboardNavigation }: CalendarDayProps) => JSX.Element;
|
|
17
|
+
export default CalendarDay;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SimpleDate } from '../../models/SimpleDate';
|
|
3
|
+
type Selection = {
|
|
4
|
+
startDate: SimpleDate;
|
|
5
|
+
endDate: SimpleDate;
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
8
|
+
export type CalendarMonthProps = {
|
|
9
|
+
minDate?: SimpleDate | null;
|
|
10
|
+
maxDate?: SimpleDate | null;
|
|
11
|
+
year: number;
|
|
12
|
+
month: number;
|
|
13
|
+
selections: [Selection?, Selection?];
|
|
14
|
+
intersectionColor?: string;
|
|
15
|
+
onSelect?: (day: number) => void;
|
|
16
|
+
allowKeyboardNavigation?: boolean;
|
|
17
|
+
};
|
|
18
|
+
declare const CalendarMonth: ({ minDate, maxDate, year, month, selections, intersectionColor, onSelect, allowKeyboardNavigation }: CalendarMonthProps) => JSX.Element;
|
|
19
|
+
export default CalendarMonth;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SimpleDate } from '../../models/SimpleDate';
|
|
3
|
+
type Selection = {
|
|
4
|
+
startDate: SimpleDate;
|
|
5
|
+
endDate: SimpleDate;
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
8
|
+
export type CalendarScrollPickerProps = {
|
|
9
|
+
minDate: SimpleDate;
|
|
10
|
+
maxDate: SimpleDate;
|
|
11
|
+
selections: [Selection?, Selection?];
|
|
12
|
+
intersectionColor: string;
|
|
13
|
+
focusedDate: SimpleDate | null;
|
|
14
|
+
onSelect?: (date: SimpleDate) => void;
|
|
15
|
+
};
|
|
16
|
+
declare const CalendarScrollPicker: ({ minDate, maxDate, selections, intersectionColor, focusedDate, onSelect }: CalendarScrollPickerProps) => JSX.Element;
|
|
17
|
+
export default CalendarScrollPicker;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
export type BaseOption = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
export type Category<T> = {
|
|
8
|
+
name: string;
|
|
9
|
+
filter: (value: T) => boolean;
|
|
10
|
+
};
|
|
11
|
+
export type CategorizedPickerProps<T> = {
|
|
12
|
+
value?: T;
|
|
13
|
+
options: T[];
|
|
14
|
+
categories: Category<T>[];
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
sx?: SxProps;
|
|
18
|
+
dataTestId?: string;
|
|
19
|
+
onChange: (value: T) => void;
|
|
20
|
+
};
|
|
21
|
+
declare const CategorizedPicker: <T extends BaseOption>({ value, options, categories, placeholder, disabled, sx, dataTestId, onChange }: CategorizedPickerProps<T>) => JSX.Element;
|
|
22
|
+
export default CategorizedPicker;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CheckboxProps as MuiCheckboxProps } from '@mui/material/Checkbox';
|
|
3
|
+
export type CheckboxProps = Pick<MuiCheckboxProps, 'checked' | 'tabIndex' | 'indeterminate'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the checkbox is checked or not.
|
|
6
|
+
*/
|
|
7
|
+
checked: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the checkbox is indeterminate or not.
|
|
10
|
+
*/
|
|
11
|
+
indeterminate?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the checkbox is disabled or not.
|
|
14
|
+
*/
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Optional text label to show before or after the checkbox.
|
|
18
|
+
*/
|
|
19
|
+
label?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Where to put the `label` text, if any.
|
|
22
|
+
*/
|
|
23
|
+
labelPlacement?: 'start' | 'end';
|
|
24
|
+
/**
|
|
25
|
+
* Optional class in the input of the checkbox.
|
|
26
|
+
*/
|
|
27
|
+
inputClass?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Callback fired when the state is changed.
|
|
30
|
+
*/
|
|
31
|
+
onChange?: (value: boolean) => void;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Checkboxes can be used to turn an option on or off.
|
|
35
|
+
* If you have multiple options appearing in a list, you can preserve space by using checkboxes instead of on/off switches.
|
|
36
|
+
* If you have a single option, avoid using a checkbox and use an on/off switch instead.
|
|
37
|
+
*/
|
|
38
|
+
declare const Checkbox: ({ label, disabled, labelPlacement, checked, indeterminate, inputClass, onChange, tabIndex }: CheckboxProps) => JSX.Element;
|
|
39
|
+
export default Checkbox;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ReactCodeMirrorProps, ReactCodeMirrorRef } from '@uiw/react-codemirror';
|
|
3
|
+
import { html } from '@codemirror/lang-html';
|
|
4
|
+
import { linter, lintGutter } from '@codemirror/lint';
|
|
5
|
+
type LanguageId = 'html' | undefined;
|
|
6
|
+
export type LanguageOptions<T> = T extends 'html' ? Parameters<typeof html>[0] : Record<string, never>;
|
|
7
|
+
export type CodeEditorProps<T extends LanguageId> = ReactCodeMirrorProps & {
|
|
8
|
+
/**
|
|
9
|
+
* The language of the editor
|
|
10
|
+
*/
|
|
11
|
+
language?: T;
|
|
12
|
+
/**
|
|
13
|
+
* Options for the selected language
|
|
14
|
+
*/
|
|
15
|
+
languageOptions?: LanguageOptions<T>;
|
|
16
|
+
/**
|
|
17
|
+
* Configuration for the lint gutter if a language is defined
|
|
18
|
+
*/
|
|
19
|
+
lintGutterConfig?: Parameters<typeof lintGutter>[0];
|
|
20
|
+
/**
|
|
21
|
+
* Options for the linter if a language is defined
|
|
22
|
+
*/
|
|
23
|
+
linterOptions?: {
|
|
24
|
+
source: Parameters<typeof linter>[0];
|
|
25
|
+
config?: Parameters<typeof linter>[1];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
declare const _default: <T extends LanguageId>({ extensions, placeholder, language, languageOptions, lintGutterConfig, linterOptions, ...rest }: CodeEditorProps<T>, ref: React.Ref<ReactCodeMirrorRef>) => JSX.Element;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CodeEditorProps } from './CodeEditor';
|
|
3
|
+
import { LintSource } from '@codemirror/lint';
|
|
4
|
+
export type CodeEditorPopupProps = Pick<CodeEditorProps<'html'>, 'value' | 'onChange'> & {
|
|
5
|
+
open: boolean;
|
|
6
|
+
codeEditorSubtitle?: string;
|
|
7
|
+
messageNode?: React.ReactNode;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
onCopyToClipboard?: () => void;
|
|
10
|
+
onAccept: () => void;
|
|
11
|
+
onCancel: () => void;
|
|
12
|
+
linterFunction?: (value: string, view: Parameters<LintSource>[0]) => {
|
|
13
|
+
response: ReturnType<LintSource>;
|
|
14
|
+
hasErrors: boolean;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
declare const CodeEditorPopup: ({ value, open, readonly, codeEditorSubtitle, messageNode, linterFunction, onCopyToClipboard, onChange, onAccept, onCancel }: CodeEditorPopupProps) => JSX.Element;
|
|
18
|
+
export default CodeEditorPopup;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const isValidColor: (color: string) => boolean;
|
|
3
|
+
export type ColorPickerProps = {
|
|
4
|
+
/**
|
|
5
|
+
* The starting color
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
value?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The input label
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
label?: string;
|
|
14
|
+
/**
|
|
15
|
+
* (optional) The width of the picker
|
|
16
|
+
* @default 294
|
|
17
|
+
*/
|
|
18
|
+
width?: number;
|
|
19
|
+
/**
|
|
20
|
+
* (optional) The height of the picker
|
|
21
|
+
* @default 294
|
|
22
|
+
*/
|
|
23
|
+
height?: number;
|
|
24
|
+
/**
|
|
25
|
+
* (optional) Allow empty string as a valid value.
|
|
26
|
+
* If false, value should not be undefined nor empty string in order to behave as expected.
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
allowEmpty?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* (optional) Allow apha mode to activate rgba colors.
|
|
32
|
+
* If false, color value would be always 6-hex.
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
allowAlpha?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* (optional) pass in custom preset options ['rgba()', 'rgba()', ..]
|
|
38
|
+
* if is provided the default colors will be ignored
|
|
39
|
+
* Default : ['rgba(0,0,0,1)', ...]
|
|
40
|
+
*/
|
|
41
|
+
presets?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* (optional) The z-index of the popover
|
|
44
|
+
*/
|
|
45
|
+
popoverZIndex?: number;
|
|
46
|
+
/**
|
|
47
|
+
* (optional) The width of the input field
|
|
48
|
+
*/
|
|
49
|
+
inputWidthStyle?: string;
|
|
50
|
+
/**
|
|
51
|
+
* A function to update color value
|
|
52
|
+
*/
|
|
53
|
+
onChange: (value: string) => void;
|
|
54
|
+
};
|
|
55
|
+
export declare const colorPickerDefaultColors: string[];
|
|
56
|
+
/**
|
|
57
|
+
* A component that displays color picker from react-best-gradient-color-picker.
|
|
58
|
+
* By default, this components renders in a simple UI without gradients.
|
|
59
|
+
* It can be customized by width and height.
|
|
60
|
+
*/
|
|
61
|
+
declare const ColorPicker: React.ForwardRefExoticComponent<ColorPickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
62
|
+
export default ColorPicker;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DateInterval } from '../../models/DateInterval';
|
|
3
|
+
import { ComparisonInterval } from '../../models/ComparisonInterval';
|
|
4
|
+
export type DateIntervalValues = {
|
|
5
|
+
interval: DateInterval;
|
|
6
|
+
startDate: Date;
|
|
7
|
+
endDate: Date;
|
|
8
|
+
comparisonInterval: ComparisonInterval | null;
|
|
9
|
+
comparisonStartDate: Date | null;
|
|
10
|
+
comparisonEndDate: Date | null;
|
|
11
|
+
};
|
|
12
|
+
export type DateIntervalPickerProps = {
|
|
13
|
+
/**
|
|
14
|
+
* The identifier of the interval.
|
|
15
|
+
*/
|
|
16
|
+
interval: DateInterval;
|
|
17
|
+
/**
|
|
18
|
+
* The start date of the date interval
|
|
19
|
+
*/
|
|
20
|
+
startDate: Date;
|
|
21
|
+
/**
|
|
22
|
+
* The end date of the date interval
|
|
23
|
+
*/
|
|
24
|
+
endDate: Date;
|
|
25
|
+
/**
|
|
26
|
+
* The color to mark the selected interval. If not provided, the Theme primary color will be used.
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The maximum quantity of days allowed to be selected in the date interval
|
|
31
|
+
*/
|
|
32
|
+
maxSelectableDays: number;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the date interval picker is disabled
|
|
35
|
+
*/
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether it should allow comparison of intervals
|
|
39
|
+
*/
|
|
40
|
+
allowCompare?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The identifier of the comparison interval.
|
|
43
|
+
*/
|
|
44
|
+
comparisonInterval?: ComparisonInterval | null;
|
|
45
|
+
/**
|
|
46
|
+
* The start date of the comparison date interval
|
|
47
|
+
*/
|
|
48
|
+
comparisonStartDate?: Date | null;
|
|
49
|
+
/**
|
|
50
|
+
* The end date of the comparison date interval
|
|
51
|
+
*/
|
|
52
|
+
comparisonEndDate?: Date | null;
|
|
53
|
+
/**
|
|
54
|
+
* The color to mark the selected comparison interval. If not provided, the Theme primary color will be used.
|
|
55
|
+
*/
|
|
56
|
+
comparisonColor?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Color to be used when represent intersection of intervals
|
|
59
|
+
*/
|
|
60
|
+
intersectionColor?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The minimum date allowed to be selected in the date interval.
|
|
63
|
+
* By default it will be the maxDate minus the maxSelectableDays
|
|
64
|
+
*/
|
|
65
|
+
minDate?: Date;
|
|
66
|
+
/**
|
|
67
|
+
* The maximum date allowed to be selected in the date interval.
|
|
68
|
+
* By default it will be the current date
|
|
69
|
+
*/
|
|
70
|
+
maxDate?: Date;
|
|
71
|
+
/**
|
|
72
|
+
* Set of intervals to show at the DateIntervalPicker popover. All showed by default.
|
|
73
|
+
*/
|
|
74
|
+
allowedIntervals?: DateInterval[];
|
|
75
|
+
/**
|
|
76
|
+
* Function to be called when the date interval changes
|
|
77
|
+
*/
|
|
78
|
+
onChange?: (values: DateIntervalValues) => void;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Date interval picker component, which allows to select an interval between two Dates.
|
|
82
|
+
*/
|
|
83
|
+
declare const DateIntervalPicker: ({ interval, startDate, endDate, color, maxSelectableDays, disabled, allowCompare, comparisonInterval, comparisonStartDate, comparisonEndDate, comparisonColor, intersectionColor, minDate, maxDate, allowedIntervals, onChange }: DateIntervalPickerProps) => JSX.Element;
|
|
84
|
+
export default DateIntervalPicker;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type FocusableInputDate = 'startDate' | 'endDate' | 'comparisonStartDate' | 'comparisonEndDate';
|
|
3
|
+
export type DateIntervalPickerInputsProps = {
|
|
4
|
+
startDate: string;
|
|
5
|
+
endDate: string;
|
|
6
|
+
comparisonStartDate: string;
|
|
7
|
+
comparisonEndDate: string;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
highlightedInput: FocusableInputDate;
|
|
10
|
+
color: string;
|
|
11
|
+
comparisonColor: string;
|
|
12
|
+
isComparing?: boolean;
|
|
13
|
+
onChange: (value: string) => void;
|
|
14
|
+
onFocus: (focusableInput: FocusableInputDate) => void;
|
|
15
|
+
onBlur: (focusableInput: FocusableInputDate, value: string) => void;
|
|
16
|
+
};
|
|
17
|
+
declare const DateIntervalPickerInputs: ({ startDate, endDate, comparisonStartDate, comparisonEndDate, placeholder, highlightedInput, color, comparisonColor, isComparing, onChange, onFocus, onBlur }: DateIntervalPickerInputsProps) => JSX.Element;
|
|
18
|
+
export default DateIntervalPickerInputs;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComparisonInterval } from '../../models/ComparisonInterval';
|
|
3
|
+
import { DateInterval } from '../../models/DateInterval';
|
|
4
|
+
export declare const dateIntervals: {
|
|
5
|
+
readonly today: "TODAY";
|
|
6
|
+
readonly yesterday: "YESTERDAY";
|
|
7
|
+
readonly thisWeekFromSunday: "THIS_WEEK_FROM_SUNDAY";
|
|
8
|
+
readonly thisWeekFromMonday: "THIS_WEEK_FROM_MONDAY";
|
|
9
|
+
readonly thisMonth: "THIS_MONTH";
|
|
10
|
+
readonly thisYear: "THIS_YEAR";
|
|
11
|
+
readonly last7Days: "LAST_7_DAYS";
|
|
12
|
+
readonly last30Days: "LAST_30_DAYS";
|
|
13
|
+
readonly last90Days: "LAST_90_DAYS";
|
|
14
|
+
readonly last12Months: "LAST_12_MONTHS";
|
|
15
|
+
readonly all: "ALL_TIME";
|
|
16
|
+
readonly custom: "CUSTOM";
|
|
17
|
+
};
|
|
18
|
+
export declare const comparisonIntervals: {
|
|
19
|
+
readonly previousPeriod: "PREVIOUS_PERIOD";
|
|
20
|
+
readonly samePeriodLastYear: "SAME_PERIOD_LAST_YEAR";
|
|
21
|
+
readonly custom: "CUSTOM";
|
|
22
|
+
};
|
|
23
|
+
export type DateIntervalPickerListProps = {
|
|
24
|
+
mainInterval: DateInterval;
|
|
25
|
+
comparisonInterval: ComparisonInterval | null;
|
|
26
|
+
allowCompare?: boolean;
|
|
27
|
+
isComparing?: boolean;
|
|
28
|
+
maxSelectableDays: number;
|
|
29
|
+
onSelectMain: (interval: DateInterval) => void;
|
|
30
|
+
onSelectComparison: (comparisonInterval: ComparisonInterval) => void;
|
|
31
|
+
onChangeIsComparing: (isComparing: boolean) => void;
|
|
32
|
+
allowedIntervals?: DateInterval[];
|
|
33
|
+
};
|
|
34
|
+
declare const DateIntervalPickerList: ({ mainInterval, comparisonInterval, allowCompare, isComparing, maxSelectableDays, onSelectMain, onSelectComparison, onChangeIsComparing, allowedIntervals }: DateIntervalPickerListProps) => JSX.Element;
|
|
35
|
+
export default DateIntervalPickerList;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DateInterval } from '../../models/DateInterval';
|
|
3
|
+
import { ComparisonInterval } from '../../models/ComparisonInterval';
|
|
4
|
+
export type DateIntervalPickerPopoverProps = {
|
|
5
|
+
interval: DateInterval;
|
|
6
|
+
startDate: Date;
|
|
7
|
+
endDate: Date;
|
|
8
|
+
color: string;
|
|
9
|
+
maxSelectableDays: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
allowCompare?: boolean;
|
|
12
|
+
comparisonInterval?: ComparisonInterval | null;
|
|
13
|
+
comparisonStartDate?: Date | null;
|
|
14
|
+
comparisonEndDate?: Date | null;
|
|
15
|
+
comparisonColor: string;
|
|
16
|
+
intersectionColor: string;
|
|
17
|
+
minDate: Date;
|
|
18
|
+
maxDate: Date;
|
|
19
|
+
allowedIntervals?: DateInterval[];
|
|
20
|
+
anchorEl?: HTMLElement | null;
|
|
21
|
+
onApply: (values: {
|
|
22
|
+
interval: DateInterval;
|
|
23
|
+
startDate: Date;
|
|
24
|
+
endDate: Date;
|
|
25
|
+
comparisonInterval: ComparisonInterval | null;
|
|
26
|
+
comparisonStartDate: Date | null;
|
|
27
|
+
comparisonEndDate: Date | null;
|
|
28
|
+
}) => void;
|
|
29
|
+
onCancel: () => void;
|
|
30
|
+
};
|
|
31
|
+
declare const DateIntervalPickerPopover: ({ interval, startDate, endDate, color, maxSelectableDays, allowCompare, comparisonInterval, comparisonStartDate, comparisonEndDate, comparisonColor, intersectionColor, anchorEl, minDate, maxDate, allowedIntervals, onApply, onCancel }: DateIntervalPickerPopoverProps) => JSX.Element;
|
|
32
|
+
export default DateIntervalPickerPopover;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TextFieldProps } from './TextField';
|
|
3
|
+
export type DatePickerProps = Omit<TextFieldProps, 'value' | 'onChange' | 'type' | 'onScroll' | 'maxLength' | 'onBlur' | 'onKeyDown'> & {
|
|
4
|
+
/**
|
|
5
|
+
* The value handled by this DatePicker
|
|
6
|
+
*/
|
|
7
|
+
value?: Date | null;
|
|
8
|
+
/**
|
|
9
|
+
* Called on every change
|
|
10
|
+
*/
|
|
11
|
+
onChange?: (date: Date | null) => void;
|
|
12
|
+
/**
|
|
13
|
+
* Called when inner TextField emit blur event
|
|
14
|
+
*/
|
|
15
|
+
onBlur?: TextFieldProps['onBlur'];
|
|
16
|
+
/**
|
|
17
|
+
* Called when inner TextField emit keyDown event
|
|
18
|
+
*/
|
|
19
|
+
onKeyDown?: TextFieldProps['onKeyDown'];
|
|
20
|
+
/**
|
|
21
|
+
* The minimum date available for selection
|
|
22
|
+
*/
|
|
23
|
+
minDate?: Date | null;
|
|
24
|
+
/**
|
|
25
|
+
* The maximum date available for selection
|
|
26
|
+
*/
|
|
27
|
+
maxDate?: Date | null;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* An input component which uses a vitamined TextField with a popover to allow user
|
|
31
|
+
* to pick a Date (without time component)
|
|
32
|
+
*/
|
|
33
|
+
declare const DatePicker: React.ForwardRefExoticComponent<Omit<TextFieldProps, "type" | "onBlur" | "onChange" | "onKeyDown" | "onScroll" | "value" | "maxLength"> & {
|
|
34
|
+
/**
|
|
35
|
+
* The value handled by this DatePicker
|
|
36
|
+
*/
|
|
37
|
+
value?: Date | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Called on every change
|
|
40
|
+
*/
|
|
41
|
+
onChange?: ((date: Date | null) => void) | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Called when inner TextField emit blur event
|
|
44
|
+
*/
|
|
45
|
+
onBlur?: TextFieldProps['onBlur'];
|
|
46
|
+
/**
|
|
47
|
+
* Called when inner TextField emit keyDown event
|
|
48
|
+
*/
|
|
49
|
+
onKeyDown?: TextFieldProps['onKeyDown'];
|
|
50
|
+
/**
|
|
51
|
+
* The minimum date available for selection
|
|
52
|
+
*/
|
|
53
|
+
minDate?: Date | null | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* The maximum date available for selection
|
|
56
|
+
*/
|
|
57
|
+
maxDate?: Date | null | undefined;
|
|
58
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
59
|
+
export default DatePicker;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PopoverProps } from '../popover/Popover';
|
|
3
|
+
export type DatePickerPopoverProps = Pick<PopoverProps, 'anchorEl' | 'onClose'> & {
|
|
4
|
+
value?: Date | null;
|
|
5
|
+
onSelect: (date: Date | null) => void;
|
|
6
|
+
minDate?: Date | null;
|
|
7
|
+
maxDate?: Date | null;
|
|
8
|
+
};
|
|
9
|
+
declare const DatePickerPopover: ({ value, onSelect, minDate, maxDate, ...rest }: DatePickerPopoverProps) => JSX.Element;
|
|
10
|
+
export default DatePickerPopover;
|