@rio-cloud/rio-uikit 0.16.4-beta.8 → 1.0.0
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/.DS_Store +0 -0
- package/AppNavigationBar.d.ts +2 -5
- package/AppNavigationBar.js +2 -2
- package/Area.d.ts +2 -5
- package/Area.js +2 -2
- package/AreaChart.d.ts +2 -5
- package/AreaChart.js +2 -2
- package/AreaGradient.d.ts +2 -5
- package/AreaGradient.js +2 -2
- package/AssetTree.d.ts +2 -5
- package/AssetTree.js +2 -2
- package/Bar.d.ts +2 -8
- package/Bar.js +2 -2
- package/BarChart.d.ts +2 -5
- package/BarChart.js +2 -2
- package/ButtonDropdown.d.ts +2 -5
- package/ButtonDropdown.js +2 -2
- package/CalendarStripe.d.ts +2 -5
- package/CalendarStripe.js +2 -2
- package/Carousel.d.ts +2 -11
- package/Carousel.js +2 -2
- package/ChartGrid.d.ts +1 -0
- package/ChartGrid.js +1 -0
- package/ChartNeedle.d.ts +2 -5
- package/ChartNeedle.js +2 -2
- package/ChartTooltip.d.ts +2 -5
- package/ChartTooltip.js +2 -2
- package/Circle.d.ts +2 -5
- package/Circle.js +2 -2
- package/ClusterLayer.d.ts +2 -5
- package/ClusterLayer.js +2 -2
- package/ClusterMapMarker.d.ts +2 -5
- package/ClusterMapMarker.js +2 -2
- package/ClusterUtils.d.ts +1 -5
- package/ClusterUtils.js +1 -2
- package/Collapse.d.ts +2 -5
- package/Collapse.js +2 -2
- package/ColorScheme.d.ts +1 -4
- package/ColorScheme.js +1 -2
- package/Colors.d.ts +1 -21
- package/Colors.js +1 -2
- package/ConfirmationDialog.d.ts +2 -14
- package/ConfirmationDialog.js +2 -2
- package/ContextMenu.d.ts +2 -5
- package/ContextMenu.js +2 -2
- package/ContextMenuItem.d.ts +2 -5
- package/ContextMenuItem.js +2 -2
- package/CustomState.d.ts +2 -5
- package/CustomState.js +2 -2
- package/DatePicker.d.ts +2 -5
- package/DatePicker.js +2 -2
- package/DateRangePicker.d.ts +43 -4
- package/DateRangePicker.js +7 -1
- package/DeviceUtils.d.ts +1 -13
- package/DeviceUtils.js +1 -2
- package/Dialog.d.ts +2 -15
- package/Dialog.js +2 -2
- package/Divider.d.ts +2 -0
- package/Divider.js +2 -0
- package/DropdownSubmenu.d.ts +2 -5
- package/DropdownSubmenu.js +2 -2
- package/EmptyState.d.ts +2 -5
- package/EmptyState.js +2 -2
- package/ErrorState.d.ts +2 -5
- package/ErrorState.js +2 -2
- package/EventUtils.d.ts +2 -36
- package/EventUtils.js +2 -2
- package/ExpanderList.d.ts +2 -5
- package/ExpanderList.js +2 -2
- package/ExpanderPanel.d.ts +2 -5
- package/ExpanderPanel.js +2 -2
- package/Fade.d.ts +2 -14
- package/Fade.js +2 -2
- package/FilePicker.d.ts +2 -9
- package/FilePicker.js +2 -2
- package/ForbiddenState.d.ts +2 -5
- package/ForbiddenState.js +2 -2
- package/FrameDialog.d.ts +2 -0
- package/FrameDialog.js +2 -0
- package/ImagePreloader.d.ts +2 -5
- package/ImagePreloader.js +2 -2
- package/IncidentsLayer.js +1 -1
- package/InfoBubble.d.ts +2 -0
- package/InfoBubble.js +2 -0
- package/InfoDialog.d.ts +2 -5
- package/InfoDialog.js +2 -2
- package/Legend.d.ts +2 -5
- package/Legend.js +2 -2
- package/Line.d.ts +2 -5
- package/Line.js +2 -2
- package/LineChart.d.ts +2 -5
- package/LineChart.js +2 -2
- package/ListMenu.d.ts +2 -6
- package/ListMenu.js +2 -2
- package/MaintenanceState.d.ts +2 -5
- package/MaintenanceState.js +2 -2
- package/Map.d.ts +2 -12
- package/Map.js +2 -2
- package/MapBoundingBoxButton.d.ts +2 -5
- package/MapBoundingBoxButton.js +2 -2
- package/MapCenterMarkerButton.d.ts +2 -5
- package/MapCenterMarkerButton.js +2 -2
- package/MapClusterSettings.d.ts +2 -5
- package/MapClusterSettings.js +2 -2
- package/MapContext.d.ts +1 -0
- package/MapContext.js +1 -0
- package/MapCustomerPoiSettingsItem.d.ts +2 -5
- package/MapCustomerPoiSettingsItem.js +2 -2
- package/MapLayerGroup.d.ts +2 -5
- package/MapLayerGroup.js +2 -2
- package/MapLayerIncidentsItem.d.ts +2 -5
- package/MapLayerIncidentsItem.js +2 -2
- package/MapLayerRoadRestrictionsItem.d.ts +2 -5
- package/MapLayerRoadRestrictionsItem.js +2 -2
- package/MapLayerSettings.d.ts +2 -5
- package/MapLayerSettings.js +2 -2
- package/MapLayerTrafficItem.d.ts +2 -5
- package/MapLayerTrafficItem.js +2 -2
- package/MapLockMarkerButton.d.ts +2 -5
- package/MapLockMarkerButton.js +2 -2
- package/MapSettings.d.ts +2 -5
- package/MapSettings.js +2 -2
- package/MapSettingsItem.d.ts +2 -5
- package/MapSettingsItem.js +2 -2
- package/MapSettingsPanel.d.ts +2 -5
- package/MapSettingsPanel.js +2 -2
- package/MapSettingsTile.d.ts +2 -5
- package/MapSettingsTile.js +2 -2
- package/MapTypeSettings.d.ts +2 -5
- package/MapTypeSettings.js +2 -2
- package/MapWorkshopPoiSettingsItem.d.ts +2 -5
- package/MapWorkshopPoiSettingsItem.js +2 -2
- package/Marker.d.ts +2 -5
- package/Marker.js +2 -2
- package/MarkerLayer.d.ts +2 -5
- package/MarkerLayer.js +2 -2
- package/MediaDialog.d.ts +2 -9
- package/MediaDialog.js +2 -2
- package/MenuItem.d.ts +2 -5
- package/MenuItem.js +2 -2
- package/MenuItemList.d.ts +2 -0
- package/MenuItemList.js +2 -0
- package/MenuItems.d.ts +2 -0
- package/MenuItems.js +2 -0
- package/Multiselect.d.ts +2 -12
- package/Multiselect.js +2 -2
- package/NotBookedState.d.ts +2 -5
- package/NotFoundState.d.ts +2 -5
- package/NotFoundState.js +2 -2
- package/Notification.d.ts +2 -9
- package/Notification.js +2 -2
- package/NotificationsContainer.d.ts +2 -5
- package/NotificationsContainer.js +2 -2
- package/OnboardingTip.d.ts +2 -30
- package/OnboardingTip.js +2 -2
- package/Page.d.ts +2 -0
- package/Page.js +2 -0
- package/PieChart.d.ts +2 -5
- package/PieChart.js +2 -2
- package/Polygon.d.ts +2 -5
- package/Polygon.js +2 -2
- package/Polyline.d.ts +2 -5
- package/Polyline.js +2 -2
- package/Popover.d.ts +2 -11
- package/Popover.js +2 -2
- package/Position.d.ts +2 -5
- package/Position.js +2 -2
- package/PositionUtils.d.ts +1 -8
- package/PositionUtils.js +1 -2
- package/README.md +6 -2
- package/RadialBarChart.d.ts +2 -5
- package/RadialBarChart.js +2 -2
- package/RadioButton.d.ts +2 -5
- package/RadioButton.js +2 -2
- package/RangeSlider.d.ts +2 -5
- package/RangeSlider.js +2 -2
- package/ReleaseNotes.d.ts +2 -2
- package/ReleaseNotes.js +2 -2
- package/ReleaseNotesDialog.d.ts +2 -5
- package/ResponsiveColumnStripe.d.ts +2 -5
- package/ResponsiveColumnStripe.js +2 -2
- package/ResponsiveContainer.d.ts +1 -0
- package/ResponsiveContainer.js +1 -0
- package/Route.d.ts +2 -5
- package/Route.js +2 -2
- package/RuleConnector.d.ts +2 -10
- package/RuleConnector.js +2 -2
- package/RuleContainer.d.ts +2 -6
- package/RuleContainer.js +2 -2
- package/RulesWrapper.d.ts +2 -6
- package/RulesWrapper.js +2 -2
- package/SaveDialog.d.ts +2 -14
- package/SaveDialog.js +2 -2
- package/Sector.d.ts +1 -0
- package/Sector.js +1 -0
- package/Select.d.ts +2 -5
- package/Select.js +2 -2
- package/Sidebar.d.ts +2 -11
- package/Sidebar.js +2 -2
- package/SimpleButtonDropdown.d.ts +2 -5
- package/SimpleButtonDropdown.js +2 -2
- package/SimpleClusterLayer.d.ts +2 -5
- package/SimpleClusterLayer.js +2 -2
- package/SimpleDialog.d.ts +2 -14
- package/SimpleDialog.js +2 -2
- package/SingleButtonDropdown.d.ts +2 -5
- package/SingleButtonDropdown.js +2 -2
- package/SingleMapMarker.d.ts +2 -5
- package/SingleMapMarker.js +2 -2
- package/Slider.d.ts +2 -5
- package/Slider.js +2 -2
- package/SortArrowDown.d.ts +2 -5
- package/SortArrowDown.js +2 -2
- package/SortArrowUp.d.ts +2 -5
- package/SortArrowUp.js +2 -2
- package/SortArrows.d.ts +2 -5
- package/SortArrows.js +2 -2
- package/SortDirection.d.ts +2 -11
- package/SortDirection.js +2 -2
- package/SortUtils.d.ts +2 -16
- package/SortUtils.js +2 -2
- package/SplitButtonDropdown.d.ts +2 -5
- package/SplitButtonDropdown.js +2 -2
- package/SplitDialog.d.ts +2 -14
- package/SplitDialog.js +2 -2
- package/SteppedProgressBar.d.ts +2 -9
- package/SteppedProgressBar.js +2 -2
- package/SubNavigation.d.ts +2 -5
- package/SubNavigation.js +2 -2
- package/SupportMarker.d.ts +1 -9
- package/SupportMarker.js +1 -6
- package/TableCardsSorting.d.ts +2 -5
- package/TableCardsSorting.js +2 -2
- package/TableSearch.d.ts +2 -5
- package/TableSearch.js +2 -2
- package/TableSettingsDialog.d.ts +2 -5
- package/TableSettingsDialog.js +2 -2
- package/TableToolbar.d.ts +2 -5
- package/TableToolbar.js +2 -2
- package/TableViewToggles.d.ts +2 -12
- package/TableViewToggles.js +2 -2
- package/Tag.d.ts +2 -5
- package/Tag.js +2 -2
- package/TagList.d.ts +1 -5
- package/TagList.js +1 -2
- package/TagManager.d.ts +2 -5
- package/TagManager.js +2 -2
- package/Teaser.d.ts +2 -5
- package/Teaser.js +2 -2
- package/TeaserContainer.d.ts +2 -5
- package/TeaserContainer.js +2 -2
- package/TextMarker.d.ts +2 -5
- package/TextMarker.js +2 -2
- package/TimePicker.d.ts +2 -5
- package/TimePicker.js +2 -2
- package/TimedBottomSheet.d.ts +2 -0
- package/TimedBottomSheet.js +2 -0
- package/Tree.d.ts +2 -5
- package/Tree.js +2 -2
- package/TreeCategory.d.ts +2 -5
- package/TreeCategory.js +2 -2
- package/TreeOption.d.ts +2 -5
- package/TreeOption.js +2 -2
- package/TreeSearch.d.ts +2 -5
- package/TreeSearch.js +2 -2
- package/TreeSummary.d.ts +2 -5
- package/TreeSummary.js +2 -2
- package/TreeSummaryRow.d.ts +2 -0
- package/TreeSummaryRow.js +2 -0
- package/TypeCounter.d.ts +2 -5
- package/TypeCounter.js +2 -2
- package/VolkswagenApplicationHeader.d.ts +2 -5
- package/VolkswagenApplicationHeader.js +2 -2
- package/components/.DS_Store +0 -0
- package/components/actionBarItem/ActionBarItem.d.ts +11 -4
- package/components/actionBarItem/ActionBarItem.js +1 -1
- package/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
- package/components/actionBarItem/ActionBarItemIcon.js +1 -0
- package/components/actionBarItem/ActionBarItemList.d.ts +3 -6
- package/components/actionBarItem/ActionBarItemList.js +0 -1
- package/components/actionBarItem/ActionBarItemListItem.d.ts +7 -10
- package/components/actionBarItem/ActionBarItemListItem.js +0 -1
- package/components/actionBarItem/ActionBarItemListSeparator.d.ts +3 -5
- package/components/actionBarItem/ActionBarItemListSeparator.js +1 -1
- package/components/actionBarItem/ActionBarItemPopoverContent.d.ts +11 -6
- package/components/actionBarItem/ActionBarItemPopoverContent.js +1 -0
- package/components/activity/Activity.d.ts +4 -7
- package/components/animatedNumber/AnimatedNumber.d.ts +68 -11
- package/components/applicationHeader/AppMenuDropdown.js +1 -1
- package/components/applicationHeader/ApplicationActionBar.d.ts +1 -1
- package/components/applicationHeader/ApplicationHeader.d.ts +18 -8
- package/components/applicationLayout/ApplicationLayout.d.ts +1 -1
- package/components/applicationLayout/ApplicationLayout.js +3 -2
- package/components/applicationLayout/ApplicationLayoutBody.d.ts +4 -1
- package/components/applicationLayout/ApplicationLayoutBody.js +14 -6
- package/components/applicationLayout/SubNavigation.js +1 -1
- package/components/assetTree/AssetTree.d.ts +84 -2
- package/components/assetTree/AssetTree.js +50 -79
- package/components/assetTree/Tree.d.ts +195 -3
- package/components/assetTree/Tree.js +71 -219
- package/components/assetTree/TreeCategory.d.ts +21 -11
- package/components/assetTree/TreeCategory.js +1 -9
- package/components/assetTree/TreeLeaf.d.ts +1 -1
- package/components/assetTree/TreeLeaf.js +3 -3
- package/components/assetTree/TreeLeafList.d.ts +10 -13
- package/components/assetTree/TreeLeafList.js +11 -21
- package/components/assetTree/TreeNode.d.ts +12 -2
- package/components/assetTree/TreeNode.js +2 -18
- package/components/assetTree/TreeNodeContainer.d.ts +7 -12
- package/components/assetTree/TreeNodeContainer.js +5 -8
- package/components/assetTree/TreeNothingFound.d.ts +3 -2
- package/components/assetTree/TreeNothingFound.js +1 -8
- package/components/assetTree/TreeOption.d.ts +24 -17
- package/components/assetTree/TreeOption.js +5 -15
- package/components/assetTree/TreeOptions.d.ts +6 -13
- package/components/assetTree/TreeOptions.js +5 -13
- package/components/assetTree/TreeRoot.d.ts +6 -11
- package/components/assetTree/TreeRoot.js +8 -9
- package/components/assetTree/TreeSearch.d.ts +23 -2
- package/components/assetTree/TreeSearch.js +4 -13
- package/components/assetTree/TreeSelectAll.d.ts +11 -26
- package/components/assetTree/TreeSelectAll.js +7 -23
- package/components/assetTree/TreeSidebar.d.ts +10 -2
- package/components/assetTree/TreeSidebar.js +4 -36
- package/components/assetTree/TreeSidebarCategories.d.ts +8 -0
- package/components/assetTree/TreeSidebarCategories.js +33 -0
- package/components/assetTree/TreeSummary.d.ts +44 -2
- package/components/assetTree/TreeSummary.js +8 -22
- package/components/assetTree/TreeSummaryRow.d.ts +12 -0
- package/components/assetTree/TreeSummaryRow.js +5 -0
- package/components/assetTree/TypeCounter.d.ts +45 -2
- package/components/assetTree/TypeCounter.js +13 -23
- package/components/assetTree/excludeFromList.d.ts +1 -0
- package/components/assetTree/excludeFromList.js +1 -0
- package/components/assetTree/treeReducer.d.ts +47 -0
- package/components/assetTree/treeReducer.js +34 -0
- package/components/assetTree/treeUtils.d.ts +20 -0
- package/components/assetTree/treeUtils.js +88 -0
- package/components/autosuggest/AutoSuggest.d.ts +35 -2
- package/components/autosuggest/AutoSuggest.js +28 -18
- package/components/bottomSheet/BottomSheet.d.ts +2 -2
- package/components/bottomSheet/BottomSheet.js +3 -3
- package/components/bottomSheet/TimedBottomSheet.d.ts +98 -0
- package/components/bottomSheet/TimedBottomSheet.js +77 -0
- package/components/button/Button.d.ts +59 -37
- package/components/button/Button.js +16 -29
- package/components/button/ToggleButton.d.ts +5 -1
- package/components/button/ToggleButton.js +1 -0
- package/components/calendarStripe/CalendarStripe.d.ts +66 -2
- package/components/calendarStripe/CalendarStripe.js +21 -45
- package/components/carousel/Carousel.d.ts +8 -2
- package/components/carousel/Carousel.js +5 -9
- package/components/charts/Area.d.ts +6 -12
- package/components/charts/Area.js +1 -2
- package/components/charts/AreaChart.d.ts +29 -16
- package/components/charts/AreaChart.js +12 -25
- package/components/charts/AreaGradient.d.ts +6 -10
- package/components/charts/AreaGradient.js +5 -5
- package/components/charts/Bar.d.ts +4 -9
- package/components/charts/Bar.js +2 -2
- package/components/charts/BarChart.d.ts +31 -17
- package/components/charts/BarChart.js +22 -33
- package/components/charts/ChartGrid.d.ts +2 -0
- package/components/charts/ChartGrid.js +1 -0
- package/components/charts/ChartNeedle.d.ts +10 -11
- package/components/charts/ChartNeedle.js +3 -12
- package/components/charts/ChartTooltip.d.ts +4 -4
- package/components/charts/ChartTooltip.js +4 -2
- package/components/charts/Legend.d.ts +17 -10
- package/components/charts/Legend.js +14 -3
- package/components/charts/Line.d.ts +6 -11
- package/components/charts/Line.js +1 -1
- package/components/charts/LineChart.d.ts +27 -15
- package/components/charts/LineChart.js +12 -23
- package/components/charts/PieChart.d.ts +29 -19
- package/components/charts/PieChart.js +21 -36
- package/components/charts/RadialBarChart.d.ts +37 -19
- package/components/charts/RadialBarChart.js +11 -25
- package/components/charts/ResponsiveContainer.d.ts +2 -0
- package/components/charts/ResponsiveContainer.js +1 -0
- package/components/charts/chartHelper.d.ts +10 -5
- package/components/charts/chartHelper.js +6 -5
- package/components/checkbox/Checkbox.d.ts +15 -6
- package/components/clearableInput/ClearableInput.d.ts +60 -0
- package/components/clearableInput/ClearableInput.js +9 -6
- package/components/collapse/Collapse.d.ts +39 -58
- package/components/collapse/Collapse.js +22 -145
- package/components/contentLoader/ContentLoader.js +3 -1
- package/components/datepicker/DatePicker.d.ts +171 -2
- package/components/datepicker/DatePicker.js +23 -34
- package/components/datepicker/DateRangePicker.d.ts +5 -0
- package/components/datepicker/DateRangePicker.js +13 -9
- package/components/dialog/ConfirmationDialog.d.ts +11 -24
- package/components/dialog/ConfirmationDialog.js +8 -26
- package/components/dialog/Dialog.d.ts +105 -41
- package/components/dialog/Dialog.js +67 -35
- package/components/dialog/DialogBody.d.ts +8 -15
- package/components/dialog/DialogBody.js +4 -10
- package/components/dialog/DialogFooter.d.ts +8 -15
- package/components/dialog/DialogFooter.js +9 -12
- package/components/dialog/DialogHeader.d.ts +17 -17
- package/components/dialog/DialogHeader.js +15 -15
- package/components/dialog/FrameDialog.d.ts +31 -0
- package/components/dialog/FrameDialog.js +42 -0
- package/components/dialog/InfoDialog.d.ts +9 -17
- package/components/dialog/InfoDialog.js +6 -7
- package/components/dialog/MediaDialog.d.ts +64 -57
- package/components/dialog/MediaDialog.js +40 -83
- package/components/dialog/ReleaseNotesDialog.d.ts +60 -19
- package/components/dialog/ReleaseNotesDialog.js +9 -30
- package/components/dialog/SaveDialog.d.ts +34 -30
- package/components/dialog/SaveDialog.js +8 -18
- package/components/dialog/SimpleDialog.d.ts +9 -20
- package/components/dialog/SimpleDialog.js +6 -10
- package/components/dialog/SplitDialog.d.ts +29 -31
- package/components/dialog/SplitDialog.js +5 -15
- package/components/dialog/dialogContext.d.ts +10 -0
- package/components/dialog/dialogContext.js +17 -0
- package/components/divider/Divider.d.ts +46 -0
- package/components/divider/Divider.js +29 -0
- package/components/dropdown/ButtonDropdown.d.ts +120 -65
- package/components/dropdown/ButtonDropdown.js +28 -61
- package/components/dropdown/Caret.d.ts +1 -1
- package/components/dropdown/Caret.js +2 -1
- package/components/dropdown/DropdownSubmenu.d.ts +21 -18
- package/components/dropdown/DropdownSubmenu.js +26 -19
- package/components/dropdown/DropdownToggleButton.d.ts +14 -2
- package/components/dropdown/DropdownToggleButton.js +6 -14
- package/components/dropdown/SimpleButtonDropdown.d.ts +3 -1
- package/components/dropdown/SimpleButtonDropdown.js +3 -2
- package/components/dropdown/SingleButtonDropdown.d.ts +3 -1
- package/components/dropdown/SingleButtonDropdown.js +3 -2
- package/components/dropdown/SplitButtonDropdown.d.ts +3 -1
- package/components/dropdown/SplitButtonDropdown.js +3 -2
- package/components/dropdown/SplitCaretButton.d.ts +11 -2
- package/components/dropdown/SplitCaretButton.js +6 -11
- package/components/editableContent/EditableContent.d.ts +9 -1
- package/components/editableContent/EditableContent.js +30 -10
- package/components/expander/ExpanderList.d.ts +68 -38
- package/components/expander/ExpanderList.js +47 -87
- package/components/expander/ExpanderPanel.d.ts +74 -50
- package/components/expander/ExpanderPanel.js +11 -53
- package/components/fade/Fade.d.ts +75 -45
- package/components/fade/Fade.js +16 -98
- package/components/feedback/Feedback.d.ts +2 -0
- package/components/feedback/Feedback.js +5 -0
- package/components/filepicker/FilePicker.d.ts +57 -29
- package/components/filepicker/FilePicker.js +11 -32
- package/components/listMenu/ListMenu.d.ts +60 -43
- package/components/listMenu/ListMenu.js +47 -100
- package/components/listMenu/ListMenuGroup.d.ts +52 -0
- package/components/listMenu/ListMenuGroup.js +12 -0
- package/components/listMenu/ListMenuHeader.d.ts +8 -0
- package/components/listMenu/ListMenuHeader.js +10 -0
- package/components/map/.DS_Store +0 -0
- package/components/map/components/.DS_Store +0 -0
- package/components/map/components/Map.d.ts +12 -98
- package/components/map/components/Map.js +123 -242
- package/components/map/components/MapContext.d.ts +21 -0
- package/components/map/components/MapContext.js +14 -0
- package/components/map/components/MapElements.d.ts +6 -0
- package/components/map/components/MapElements.js +20 -0
- package/components/map/components/MapPosition.d.ts +6 -0
- package/components/map/components/MapPosition.js +27 -0
- package/components/map/components/MapSettingContext.d.ts +15 -0
- package/components/map/components/MapSettingContext.js +5 -0
- package/components/map/components/MapSize.d.ts +5 -0
- package/components/map/components/MapSize.js +17 -0
- package/components/map/components/constants.d.ts +18 -12
- package/components/map/components/constants.js +7 -1
- package/components/map/components/features/ContextMenu.d.ts +13 -1
- package/components/map/components/features/ContextMenu.js +88 -54
- package/components/map/components/features/ContextMenuItem.d.ts +12 -27
- package/components/map/components/features/ContextMenuItem.js +8 -22
- package/components/map/components/features/MapSettings.d.ts +6 -21
- package/components/map/components/features/MapSettings.js +15 -35
- package/components/map/components/features/MapZoom.d.ts +9 -0
- package/components/map/components/features/MapZoom.js +38 -0
- package/components/map/components/features/Route.d.ts +27 -47
- package/components/map/components/features/Route.js +21 -48
- package/components/map/components/features/basics/Circle.d.ts +12 -20
- package/components/map/components/features/basics/Circle.js +11 -18
- package/components/map/components/features/basics/InfoBubble.d.ts +14 -0
- package/components/map/components/features/basics/InfoBubble.js +46 -0
- package/components/map/components/features/basics/Marker.d.ts +17 -0
- package/components/map/components/features/basics/Marker.js +92 -0
- package/components/map/components/features/basics/Polygon.d.ts +10 -16
- package/components/map/components/features/basics/Polygon.js +14 -19
- package/components/map/components/features/basics/Polyline.d.ts +12 -19
- package/components/map/components/features/basics/Polyline.js +22 -20
- package/components/map/components/features/basics/TextMarker.d.ts +11 -0
- package/components/map/components/features/basics/TextMarker.js +12 -0
- package/components/map/components/features/basics/marker/DomMarker.d.ts +4 -4
- package/components/map/components/features/basics/marker/Marker.d.ts +2 -2
- package/components/map/components/features/layers/IncidentsLayer.js +21 -5
- package/components/map/components/features/layers/Layer.d.ts +3 -4
- package/components/map/components/features/layers/Layer.js +2 -5
- package/components/map/components/features/layers/MapLayerGroup.d.ts +8 -0
- package/components/map/components/features/layers/MapLayerGroup.js +38 -0
- package/components/map/components/features/layers/MapOverlayLayers.d.ts +5 -0
- package/components/map/components/features/layers/MapOverlayLayers.js +24 -0
- package/components/map/components/features/layers/MarkerLayer.d.ts +9 -13
- package/components/map/components/features/layers/MarkerLayer.js +6 -14
- package/components/map/components/features/layers/RoadRestrictionLayer.js +8 -2
- package/components/map/components/features/layers/TrafficLayer.js +25 -14
- package/components/map/components/features/layers/baselayers/useBaseLayer.js +12 -4
- package/components/map/components/features/layers/clustering/ClusterLayer.d.ts +21 -28
- package/components/map/components/features/layers/clustering/ClusterLayer.js +81 -31
- package/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +5 -9
- package/components/map/components/features/layers/clustering/SimpleClusterLayer.js +3 -8
- package/components/map/components/features/layers/overlayLayers/IncidentsLayer.d.ts +6 -0
- package/components/map/components/features/layers/overlayLayers/IncidentsLayer.js +273 -0
- package/components/map/components/features/layers/overlayLayers/Layer.d.ts +8 -0
- package/components/map/components/features/layers/overlayLayers/Layer.js +60 -0
- package/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.d.ts +5 -0
- package/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.js +37 -0
- package/components/map/components/features/layers/overlayLayers/TrafficLayer.d.ts +5 -0
- package/components/map/components/features/layers/overlayLayers/TrafficLayer.js +52 -0
- package/components/map/components/features/settings/MapSettingsItem.d.ts +9 -19
- package/components/map/components/features/settings/MapSettingsItem.js +5 -18
- package/components/map/components/features/settings/MapSettingsPanel.d.ts +5 -11
- package/components/map/components/features/settings/MapSettingsPanel.js +4 -10
- package/components/map/components/features/settings/MapSettingsTile.d.ts +12 -19
- package/components/map/components/features/settings/MapSettingsTile.js +7 -20
- package/components/map/components/features/settings/ZoomButtons.d.ts +6 -11
- package/components/map/components/features/settings/ZoomButtons.js +3 -7
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +8 -18
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +6 -16
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +9 -21
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +11 -23
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +9 -16
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +8 -18
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +7 -13
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +4 -12
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +7 -13
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +4 -12
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +7 -13
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.js +4 -12
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +5 -15
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +5 -14
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +6 -18
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.js +4 -15
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +6 -18
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +4 -15
- package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +6 -18
- package/components/map/components/features/settings/items/MapLayerTrafficItem.js +4 -15
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +5 -15
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +5 -14
- package/components/map/exceptions/MapException.d.ts +2 -6
- package/components/map/exceptions/MapException.js +8 -6
- package/components/map/icons/MapIcon.d.ts +42 -40
- package/components/map/icons/MapIcon.js +5 -5
- package/components/map/utils/clustering.d.ts +9 -8
- package/components/map/utils/clustering.js +28 -23
- package/components/map/utils/eventHandling.d.ts +52 -46
- package/components/map/utils/eventHandling.js +44 -46
- package/components/map/utils/hooks.js +3 -3
- package/components/map/utils/localization.d.ts +2 -2
- package/components/map/utils/localization.js +3 -2
- package/components/map/utils/mapTypes.d.ts +166 -0
- package/components/map/utils/mapTypes.js +24 -0
- package/components/map/utils/mapUi.d.ts +2 -0
- package/components/map/utils/mapUi.js +28 -0
- package/components/map/utils/mapUtils.d.ts +88 -0
- package/components/map/utils/mapUtils.js +79 -0
- package/components/map/utils/positions.d.ts +25 -7
- package/components/map/utils/positions.js +56 -31
- package/components/map/utils/proptypes.d.ts +7 -7
- package/components/map/utils/rendering.d.ts +21 -0
- package/components/map/utils/rendering.js +123 -0
- package/components/mapMarker/ClusterMapMarker.d.ts +48 -25
- package/components/mapMarker/ClusterMapMarker.js +6 -42
- package/components/mapMarker/MarkerColor.d.ts +3 -0
- package/components/mapMarker/MarkerColor.js +12 -0
- package/components/mapMarker/SingleMapMarker.d.ts +87 -34
- package/components/mapMarker/SingleMapMarker.js +10 -58
- package/components/menuItems/MenuItem.d.ts +16 -0
- package/components/menuItems/MenuItem.js +1 -2
- package/components/menuItems/MenuItemList.d.ts +7 -0
- package/components/menuItems/MenuItemList.js +10 -0
- package/components/menuItems/MenuItems.d.ts +7 -2
- package/components/menuItems/MenuItems.js +10 -9
- package/components/navigation/AppNavigationBar.d.ts +20 -2
- package/components/navigation/AppNavigationBar.js +4 -14
- package/components/noData/NoData.d.ts +6 -5
- package/components/noData/NoData.js +2 -2
- package/components/notification/Notification.d.ts +32 -1
- package/components/notification/Notification.js +3 -2
- package/components/notification/NotificationsContainer.d.ts +7 -13
- package/components/notification/NotificationsContainer.js +2 -8
- package/components/numberControl/NumberControl.d.ts +1 -1
- package/components/numberControl/NumberControl.js +5 -4
- package/components/numberInput/NumberInput.d.ts +60 -12
- package/components/numberInput/NumberInput.js +21 -14
- package/components/onboarding/OnboardingTip.d.ts +145 -62
- package/components/onboarding/OnboardingTip.js +40 -92
- package/components/page/Page.d.ts +32 -0
- package/components/page/Page.js +18 -0
- package/components/popover/Popover.d.ts +42 -2
- package/components/popover/Popover.js +13 -18
- package/components/position/Position.d.ts +15 -9
- package/components/position/Position.js +5 -18
- package/components/preloader/ImagePreloader.d.ts +46 -21
- package/components/preloader/ImagePreloader.js +18 -28
- package/components/radiobutton/RadioButton.d.ts +110 -44
- package/components/radiobutton/RadioButton.js +16 -44
- package/components/releaseNotes/ReleaseNotes.d.ts +22 -17
- package/components/releaseNotes/ReleaseNotes.js +1 -1
- package/components/resizer/Resizer.js +4 -2
- package/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +80 -2
- package/components/responsiveColumnStripe/ResponsiveColumnStripe.js +22 -47
- package/components/rules/RuleConnector.d.ts +61 -38
- package/components/rules/RuleConnector.js +7 -29
- package/components/rules/RuleContainer.d.ts +42 -27
- package/components/rules/RuleContainer.js +7 -23
- package/components/rules/RulesWrapper.d.ts +3 -7
- package/components/rules/RulesWrapper.js +6 -4
- package/components/saveableInput/SaveableInput.d.ts +42 -2
- package/components/saveableInput/SaveableInput.js +44 -15
- package/components/selects/BaseSelectDropdown.d.ts +56 -0
- package/components/selects/BaseSelectDropdown.js +175 -0
- package/components/selects/ClearButton.d.ts +8 -0
- package/components/selects/ClearButton.js +11 -0
- package/components/selects/DropdownHeader.d.ts +7 -13
- package/components/selects/DropdownHeader.js +4 -12
- package/components/selects/Multiselect.d.ts +150 -98
- package/components/selects/Multiselect.js +144 -287
- package/components/selects/MultiselectToggleCounter.d.ts +9 -0
- package/components/selects/MultiselectToggleCounter.js +14 -0
- package/components/selects/MultiselectToggleFilter.d.ts +10 -0
- package/components/selects/MultiselectToggleFilter.js +13 -0
- package/components/selects/MultiselectTogglePlaceholder.d.ts +6 -0
- package/components/selects/MultiselectTogglePlaceholder.js +7 -0
- package/components/selects/MultiselectToggleSelection.d.ts +14 -0
- package/components/selects/MultiselectToggleSelection.js +28 -0
- package/components/selects/NoItemMessage.d.ts +7 -0
- package/components/selects/NoItemMessage.js +11 -0
- package/components/selects/Select.d.ts +142 -97
- package/components/selects/Select.js +114 -258
- package/components/selects/SelectFilter.d.ts +8 -0
- package/components/selects/SelectFilter.js +11 -0
- package/components/selects/SelectedOption.d.ts +12 -0
- package/components/selects/SelectedOption.js +24 -0
- package/components/selects/WithFeedback.d.ts +27 -0
- package/components/selects/WithFeedback.js +12 -0
- package/components/selects/WithFeedbackAndAddon.d.ts +29 -0
- package/components/selects/WithFeedbackAndAddon.js +12 -0
- package/components/sidebars/Sidebar.d.ts +182 -111
- package/components/sidebars/Sidebar.js +166 -197
- package/components/sidebars/SidebarBackdrop.d.ts +7 -0
- package/components/sidebars/SidebarBackdrop.js +9 -0
- package/components/sidebars/SidebarCloseButton.d.ts +5 -0
- package/components/sidebars/SidebarCloseButton.js +8 -0
- package/components/sidebars/SidebarFooter.d.ts +7 -0
- package/components/sidebars/SidebarFooter.js +12 -0
- package/components/sidebars/SidebarFullscreenToggle.d.ts +7 -0
- package/components/sidebars/SidebarFullscreenToggle.js +15 -0
- package/components/slider/RangeSlider.d.ts +52 -32
- package/components/slider/RangeSlider.js +19 -38
- package/components/slider/Slider.d.ts +68 -37
- package/components/slider/Slider.js +6 -30
- package/components/smoothScrollbars/SmoothScrollbars.d.ts +16 -0
- package/components/smoothScrollbars/SmoothScrollbars.js +26 -0
- package/components/spinner/Spinner.d.ts +2 -1
- package/components/spinner/Spinner.js +1 -0
- package/components/states/BaseStateProps.d.ts +66 -0
- package/components/states/BaseStateProps.js +2 -0
- package/components/states/CustomState.d.ts +4 -14
- package/components/states/CustomState.js +17 -42
- package/components/states/EmptyState.d.ts +4 -8
- package/components/states/EmptyState.js +6 -6
- package/components/states/ErrorState.d.ts +4 -8
- package/components/states/ErrorState.js +6 -6
- package/components/states/ForbiddenState.d.ts +4 -8
- package/components/states/ForbiddenState.js +6 -6
- package/components/states/MaintenanceState.d.ts +4 -8
- package/components/states/MaintenanceState.js +6 -6
- package/components/states/NotBookedState.d.ts +9 -19
- package/components/states/NotBookedState.js +8 -23
- package/components/states/NotFoundState.d.ts +4 -8
- package/components/states/NotFoundState.js +6 -6
- package/components/states/StateButton.d.ts +27 -0
- package/components/states/StateButton.js +13 -0
- package/components/states/StateIcon.d.ts +7 -0
- package/components/states/StateIcon.js +4 -0
- package/components/statsWidget/StatsWidgetNumber.js +1 -1
- package/components/steppedProgressBar/SteppedProgressBar.d.ts +65 -34
- package/components/steppedProgressBar/SteppedProgressBar.js +5 -42
- package/components/supportMarker/toggleSupportMarker.d.ts +3 -3
- package/components/supportMarker/toggleSupportMarker.js +1 -1
- package/components/switch/Switch.d.ts +5 -9
- package/components/switch/Switch.js +3 -5
- package/components/table/SortArrowDown.d.ts +3 -0
- package/components/table/SortArrowDown.js +4 -0
- package/components/table/SortArrowUp.d.ts +3 -0
- package/components/table/SortArrowUp.js +4 -0
- package/components/table/SortArrows.d.ts +5 -5
- package/components/table/SortArrows.js +3 -4
- package/components/table/TableCardsSorting.d.ts +48 -36
- package/components/table/TableCardsSorting.js +16 -55
- package/components/table/TableSearch.d.ts +8 -8
- package/components/table/TableSearch.js +5 -10
- package/components/table/TableSettingsColumnButtons.d.ts +12 -28
- package/components/table/TableSettingsColumnButtons.js +4 -22
- package/components/table/TableSettingsColumnDetails.d.ts +8 -19
- package/components/table/TableSettingsColumnDetails.js +8 -20
- package/components/table/TableSettingsDialog.d.ts +157 -106
- package/components/table/TableSettingsDialog.js +144 -260
- package/components/table/TableSettingsDialog.types.d.ts +40 -0
- package/components/table/TableSettingsDialog.types.js +1 -0
- package/components/table/TableSettingsDialogFooter.d.ts +17 -43
- package/components/table/TableSettingsDialogFooter.js +6 -33
- package/components/table/TableSettingsListContainer.d.ts +8 -9
- package/components/table/TableSettingsListContainer.js +11 -21
- package/components/table/TableSettingsListItem.d.ts +9 -26
- package/components/table/TableSettingsListItem.js +9 -30
- package/components/table/TableToolbar.d.ts +8 -11
- package/components/table/TableToolbar.js +3 -10
- package/components/table/TableViewToggles.d.ts +57 -29
- package/components/table/TableViewToggles.js +24 -63
- package/components/tag/Tag.d.ts +68 -36
- package/components/tag/Tag.js +7 -30
- package/components/tag/TagList.d.ts +24 -16
- package/components/tag/TagList.js +6 -15
- package/components/tagManager/CustomSuggestionItem.d.ts +6 -12
- package/components/tagManager/CustomSuggestionItem.js +4 -9
- package/components/tagManager/TagManager.d.ts +61 -26
- package/components/tagManager/TagManager.js +22 -39
- package/components/tagManager/TagManagerItemList.d.ts +6 -13
- package/components/tagManager/TagManagerItemList.js +3 -13
- package/components/tagManager/TagManagerTag.d.ts +5 -0
- package/components/tagManager/TagManagerTag.js +1 -0
- package/components/teaser/Teaser.d.ts +93 -50
- package/components/teaser/Teaser.js +69 -118
- package/components/teaser/TeaserContainer.d.ts +25 -12
- package/components/teaser/TeaserContainer.js +10 -23
- package/components/timepicker/TimePicker.d.ts +49 -26
- package/components/timepicker/TimePicker.js +17 -32
- package/components/tooltip/SimpleTooltip.d.ts +5 -2
- package/components/tooltip/Tooltip.d.ts +11 -8
- package/components/tooltip/Tooltip.js +3 -3
- package/hooks/useAfterMount.d.ts +1 -1
- package/hooks/useClickOutside.d.ts +12 -1
- package/hooks/useClickOutside.js +18 -6
- package/hooks/useClipboard.d.ts +12 -5
- package/hooks/useClipboard.js +22 -7
- package/hooks/useDarkMode.d.ts +6 -1
- package/hooks/useDarkMode.js +22 -9
- package/hooks/useDebugInfo.d.ts +14 -2
- package/hooks/useDebugInfo.js +17 -3
- package/hooks/useDocumentTitle.d.ts +7 -0
- package/hooks/useDocumentTitle.js +14 -0
- package/hooks/useEffectOnce.d.ts +3 -1
- package/hooks/useEffectOnce.js +3 -2
- package/hooks/useElementSize.d.ts +9 -1
- package/hooks/useElementSize.js +13 -4
- package/hooks/useEsc.d.ts +5 -0
- package/hooks/useEsc.js +5 -0
- package/hooks/useEvent.d.ts +17 -1
- package/hooks/useEvent.js +8 -0
- package/hooks/useFullscreen.d.ts +28 -5
- package/hooks/useFullscreen.js +35 -49
- package/hooks/useHover.d.ts +6 -0
- package/hooks/useHover.js +6 -1
- package/hooks/useInterval.d.ts +10 -1
- package/hooks/useInterval.js +12 -3
- package/hooks/useIsFirstRender.d.ts +2 -0
- package/hooks/useIsFirstRender.js +10 -0
- package/hooks/useKey.d.ts +7 -0
- package/hooks/useKey.js +7 -0
- package/hooks/useMergeRefs.d.ts +10 -0
- package/hooks/useMergeRefs.js +46 -0
- package/hooks/useMutationObserver.d.ts +21 -5
- package/hooks/useMutationObserver.js +22 -6
- package/hooks/useOnMount.d.ts +9 -1
- package/hooks/useOnMount.js +10 -3
- package/hooks/useOnScreen.d.ts +18 -3
- package/hooks/useOnScreen.js +26 -4
- package/hooks/useOnlineStatus.d.ts +7 -1
- package/hooks/useOnlineStatus.js +8 -2
- package/hooks/usePostMessage.d.ts +32 -0
- package/hooks/usePostMessage.js +51 -0
- package/hooks/usePrevious.d.ts +1 -1
- package/hooks/usePrevious.js +6 -7
- package/hooks/useRenderCount.d.ts +2 -1
- package/hooks/useRenderCount.js +3 -2
- package/hooks/useResizeObserver.d.ts +8 -1
- package/hooks/useResizeObserver.js +14 -2
- package/hooks/useScrollPosition.d.ts +9 -1
- package/hooks/useScrollPosition.js +15 -9
- package/hooks/useStateWithValidation.d.ts +12 -1
- package/hooks/useStateWithValidation.js +18 -4
- package/hooks/useStorage.d.ts +22 -2
- package/hooks/useStorage.js +45 -10
- package/hooks/useTimeout.d.ts +11 -1
- package/hooks/useTimeout.js +20 -3
- package/hooks/useWindowResize.d.ts +8 -1
- package/hooks/useWindowResize.js +10 -1
- package/index.d.ts +189 -173
- package/index.js +189 -173
- package/lib/.DS_Store +0 -0
- package/lib/es/.DS_Store +0 -0
- package/lib/es/AppNavigationBar.d.ts +2 -5
- package/lib/es/AppNavigationBar.js +3 -2
- package/lib/es/Area.d.ts +2 -5
- package/lib/es/Area.js +3 -2
- package/lib/es/AreaChart.d.ts +2 -5
- package/lib/es/AreaChart.js +3 -2
- package/lib/es/AreaGradient.d.ts +2 -5
- package/lib/es/AreaGradient.js +3 -2
- package/lib/es/AssetTree.d.ts +2 -5
- package/lib/es/AssetTree.js +3 -2
- package/lib/es/Bar.d.ts +2 -8
- package/lib/es/Bar.js +3 -2
- package/lib/es/BarChart.d.ts +2 -5
- package/lib/es/BarChart.js +3 -2
- package/lib/es/ButtonDropdown.d.ts +2 -5
- package/lib/es/ButtonDropdown.js +3 -2
- package/lib/es/CalendarStripe.d.ts +2 -5
- package/lib/es/CalendarStripe.js +3 -2
- package/lib/es/Carousel.d.ts +2 -11
- package/lib/es/Carousel.js +3 -2
- package/lib/es/ChartGrid.d.ts +1 -0
- package/lib/es/ChartGrid.js +4 -0
- package/lib/es/ChartNeedle.d.ts +2 -5
- package/lib/es/ChartNeedle.js +3 -2
- package/lib/es/ChartTooltip.d.ts +2 -5
- package/lib/es/ChartTooltip.js +3 -2
- package/lib/es/Circle.d.ts +2 -5
- package/lib/es/Circle.js +3 -2
- package/lib/es/ClusterLayer.d.ts +2 -5
- package/lib/es/ClusterLayer.js +3 -2
- package/lib/es/ClusterMapMarker.d.ts +2 -5
- package/lib/es/ClusterMapMarker.js +3 -2
- package/lib/es/ClusterUtils.d.ts +1 -5
- package/lib/es/ClusterUtils.js +2 -3
- package/lib/es/Collapse.d.ts +2 -5
- package/lib/es/Collapse.js +3 -2
- package/lib/es/ColorScheme.d.ts +1 -4
- package/lib/es/ColorScheme.js +2 -4
- package/lib/es/Colors.d.ts +1 -21
- package/lib/es/Colors.js +5 -3
- package/lib/es/ConfirmationDialog.d.ts +2 -14
- package/lib/es/ConfirmationDialog.js +3 -2
- package/lib/es/ContextMenu.d.ts +2 -5
- package/lib/es/ContextMenu.js +3 -2
- package/lib/es/ContextMenuItem.d.ts +2 -5
- package/lib/es/ContextMenuItem.js +3 -2
- package/lib/es/CustomState.d.ts +2 -5
- package/lib/es/CustomState.js +3 -2
- package/lib/es/DatePicker.d.ts +2 -5
- package/lib/es/DatePicker.js +3 -2
- package/lib/es/DateRangePicker.d.ts +43 -4
- package/lib/es/DateRangePicker.js +8 -2
- package/lib/es/DeviceUtils.d.ts +1 -13
- package/lib/es/DeviceUtils.js +2 -14
- package/lib/es/Dialog.d.ts +2 -15
- package/lib/es/Dialog.js +3 -2
- package/lib/es/Divider.d.ts +2 -0
- package/lib/es/Divider.js +7 -0
- package/lib/es/DropdownSubmenu.d.ts +2 -5
- package/lib/es/DropdownSubmenu.js +3 -2
- package/lib/es/EmptyState.d.ts +2 -5
- package/lib/es/EmptyState.js +3 -2
- package/lib/es/ErrorState.d.ts +2 -5
- package/lib/es/ErrorState.js +3 -2
- package/lib/es/EventUtils.d.ts +2 -36
- package/lib/es/EventUtils.js +4 -2
- package/lib/es/ExpanderList.d.ts +2 -5
- package/lib/es/ExpanderList.js +3 -2
- package/lib/es/ExpanderPanel.d.ts +2 -5
- package/lib/es/ExpanderPanel.js +3 -2
- package/lib/es/Fade.d.ts +2 -14
- package/lib/es/Fade.js +3 -2
- package/lib/es/FilePicker.d.ts +2 -9
- package/lib/es/FilePicker.js +3 -2
- package/lib/es/ForbiddenState.d.ts +2 -5
- package/lib/es/ForbiddenState.js +3 -2
- package/lib/es/FrameDialog.d.ts +2 -0
- package/lib/es/FrameDialog.js +7 -0
- package/lib/es/ImagePreloader.d.ts +2 -5
- package/lib/es/ImagePreloader.js +3 -2
- package/lib/es/IncidentsLayer.js +1 -1
- package/lib/es/InfoBubble.d.ts +2 -0
- package/lib/es/InfoBubble.js +7 -0
- package/lib/es/InfoDialog.d.ts +2 -5
- package/lib/es/InfoDialog.js +3 -2
- package/lib/es/Legend.d.ts +2 -5
- package/lib/es/Legend.js +3 -2
- package/lib/es/Line.d.ts +2 -5
- package/lib/es/Line.js +3 -2
- package/lib/es/LineChart.d.ts +2 -5
- package/lib/es/LineChart.js +3 -2
- package/lib/es/ListMenu.d.ts +2 -6
- package/lib/es/ListMenu.js +3 -2
- package/lib/es/MaintenanceState.d.ts +2 -5
- package/lib/es/MaintenanceState.js +3 -2
- package/lib/es/Map.d.ts +2 -12
- package/lib/es/Map.js +3 -2
- package/lib/es/MapBoundingBoxButton.d.ts +2 -5
- package/lib/es/MapBoundingBoxButton.js +3 -2
- package/lib/es/MapCenterMarkerButton.d.ts +2 -5
- package/lib/es/MapCenterMarkerButton.js +3 -2
- package/lib/es/MapClusterSettings.d.ts +2 -5
- package/lib/es/MapClusterSettings.js +3 -2
- package/lib/es/MapContext.d.ts +1 -0
- package/lib/es/MapContext.js +4 -0
- package/lib/es/MapCustomerPoiSettingsItem.d.ts +2 -5
- package/lib/es/MapCustomerPoiSettingsItem.js +3 -2
- package/lib/es/MapLayerGroup.d.ts +2 -5
- package/lib/es/MapLayerGroup.js +3 -2
- package/lib/es/MapLayerIncidentsItem.d.ts +2 -5
- package/lib/es/MapLayerIncidentsItem.js +3 -2
- package/lib/es/MapLayerRoadRestrictionsItem.d.ts +2 -5
- package/lib/es/MapLayerRoadRestrictionsItem.js +3 -2
- package/lib/es/MapLayerSettings.d.ts +2 -5
- package/lib/es/MapLayerSettings.js +3 -2
- package/lib/es/MapLayerTrafficItem.d.ts +2 -5
- package/lib/es/MapLayerTrafficItem.js +3 -2
- package/lib/es/MapLockMarkerButton.d.ts +2 -5
- package/lib/es/MapLockMarkerButton.js +3 -2
- package/lib/es/MapSettings.d.ts +2 -5
- package/lib/es/MapSettings.js +3 -2
- package/lib/es/MapSettingsItem.d.ts +2 -5
- package/lib/es/MapSettingsItem.js +3 -2
- package/lib/es/MapSettingsPanel.d.ts +2 -5
- package/lib/es/MapSettingsPanel.js +3 -2
- package/lib/es/MapSettingsTile.d.ts +2 -5
- package/lib/es/MapSettingsTile.js +3 -2
- package/lib/es/MapTypeSettings.d.ts +2 -5
- package/lib/es/MapTypeSettings.js +3 -2
- package/lib/es/MapWorkshopPoiSettingsItem.d.ts +2 -5
- package/lib/es/MapWorkshopPoiSettingsItem.js +3 -2
- package/lib/es/Marker.d.ts +2 -5
- package/lib/es/Marker.js +3 -2
- package/lib/es/MarkerLayer.d.ts +2 -5
- package/lib/es/MarkerLayer.js +3 -2
- package/lib/es/MediaDialog.d.ts +2 -9
- package/lib/es/MediaDialog.js +3 -2
- package/lib/es/MenuItem.d.ts +2 -5
- package/lib/es/MenuItem.js +3 -2
- package/lib/es/MenuItemList.d.ts +2 -0
- package/lib/es/MenuItemList.js +7 -0
- package/lib/es/MenuItems.d.ts +2 -0
- package/lib/es/MenuItems.js +7 -0
- package/lib/es/Multiselect.d.ts +2 -12
- package/lib/es/Multiselect.js +3 -2
- package/lib/es/NotBookedState.d.ts +2 -5
- package/lib/es/NotFoundState.d.ts +2 -5
- package/lib/es/NotFoundState.js +3 -2
- package/lib/es/Notification.d.ts +2 -9
- package/lib/es/Notification.js +3 -2
- package/lib/es/NotificationsContainer.d.ts +2 -5
- package/lib/es/NotificationsContainer.js +3 -2
- package/lib/es/OnboardingTip.d.ts +2 -30
- package/lib/es/OnboardingTip.js +3 -2
- package/lib/es/Page.d.ts +2 -0
- package/lib/es/Page.js +7 -0
- package/lib/es/PieChart.d.ts +2 -5
- package/lib/es/PieChart.js +3 -2
- package/lib/es/Polygon.d.ts +2 -5
- package/lib/es/Polygon.js +3 -2
- package/lib/es/Polyline.d.ts +2 -5
- package/lib/es/Polyline.js +3 -2
- package/lib/es/Popover.d.ts +2 -11
- package/lib/es/Popover.js +3 -2
- package/lib/es/Position.d.ts +2 -5
- package/lib/es/Position.js +3 -2
- package/lib/es/PositionUtils.d.ts +1 -8
- package/lib/es/PositionUtils.js +2 -3
- package/lib/es/RadialBarChart.d.ts +2 -5
- package/lib/es/RadialBarChart.js +3 -2
- package/lib/es/RadioButton.d.ts +2 -5
- package/lib/es/RadioButton.js +3 -2
- package/lib/es/RangeSlider.d.ts +2 -5
- package/lib/es/RangeSlider.js +3 -2
- package/lib/es/ReleaseNotes.d.ts +2 -2
- package/lib/es/ReleaseNotes.js +3 -2
- package/lib/es/ReleaseNotesDialog.d.ts +2 -5
- package/lib/es/ResponsiveColumnStripe.d.ts +2 -5
- package/lib/es/ResponsiveColumnStripe.js +3 -2
- package/lib/es/ResponsiveContainer.d.ts +1 -0
- package/lib/es/ResponsiveContainer.js +4 -0
- package/lib/es/Route.d.ts +2 -5
- package/lib/es/Route.js +3 -2
- package/lib/es/RuleConnector.d.ts +2 -10
- package/lib/es/RuleConnector.js +3 -2
- package/lib/es/RuleContainer.d.ts +2 -6
- package/lib/es/RuleContainer.js +3 -2
- package/lib/es/RulesWrapper.d.ts +2 -6
- package/lib/es/RulesWrapper.js +3 -2
- package/lib/es/SaveDialog.d.ts +2 -14
- package/lib/es/SaveDialog.js +3 -2
- package/lib/es/Sector.d.ts +1 -0
- package/lib/es/Sector.js +5 -0
- package/lib/es/Select.d.ts +2 -5
- package/lib/es/Select.js +3 -2
- package/lib/es/Sidebar.d.ts +2 -11
- package/lib/es/Sidebar.js +3 -2
- package/lib/es/SimpleButtonDropdown.d.ts +2 -5
- package/lib/es/SimpleButtonDropdown.js +3 -2
- package/lib/es/SimpleClusterLayer.d.ts +2 -5
- package/lib/es/SimpleClusterLayer.js +3 -2
- package/lib/es/SimpleDialog.d.ts +2 -14
- package/lib/es/SimpleDialog.js +3 -2
- package/lib/es/SingleButtonDropdown.d.ts +2 -5
- package/lib/es/SingleButtonDropdown.js +3 -2
- package/lib/es/SingleMapMarker.d.ts +2 -5
- package/lib/es/SingleMapMarker.js +3 -2
- package/lib/es/Slider.d.ts +2 -5
- package/lib/es/Slider.js +3 -2
- package/lib/es/SortArrowDown.d.ts +2 -5
- package/lib/es/SortArrowDown.js +4 -2
- package/lib/es/SortArrowUp.d.ts +2 -5
- package/lib/es/SortArrowUp.js +4 -2
- package/lib/es/SortArrows.d.ts +2 -5
- package/lib/es/SortArrows.js +4 -2
- package/lib/es/SortDirection.d.ts +2 -11
- package/lib/es/SortDirection.js +4 -2
- package/lib/es/SortUtils.d.ts +2 -16
- package/lib/es/SortUtils.js +5 -4
- package/lib/es/SplitButtonDropdown.d.ts +2 -5
- package/lib/es/SplitButtonDropdown.js +3 -2
- package/lib/es/SplitDialog.d.ts +2 -14
- package/lib/es/SplitDialog.js +3 -2
- package/lib/es/SteppedProgressBar.d.ts +2 -9
- package/lib/es/SteppedProgressBar.js +3 -2
- package/lib/es/SubNavigation.d.ts +2 -5
- package/lib/es/SubNavigation.js +3 -2
- package/lib/es/SupportMarker.d.ts +1 -9
- package/lib/es/SupportMarker.js +2 -6
- package/lib/es/TableCardsSorting.d.ts +2 -5
- package/lib/es/TableCardsSorting.js +3 -2
- package/lib/es/TableSearch.d.ts +2 -5
- package/lib/es/TableSearch.js +3 -2
- package/lib/es/TableSettingsDialog.d.ts +2 -5
- package/lib/es/TableSettingsDialog.js +3 -2
- package/lib/es/TableToolbar.d.ts +2 -5
- package/lib/es/TableToolbar.js +3 -2
- package/lib/es/TableViewToggles.d.ts +2 -12
- package/lib/es/TableViewToggles.js +3 -2
- package/lib/es/Tag.d.ts +2 -5
- package/lib/es/Tag.js +3 -2
- package/lib/es/TagList.d.ts +1 -5
- package/lib/es/TagList.js +5 -3
- package/lib/es/TagManager.d.ts +2 -5
- package/lib/es/TagManager.js +3 -2
- package/lib/es/Teaser.d.ts +2 -5
- package/lib/es/Teaser.js +3 -2
- package/lib/es/TeaserContainer.d.ts +2 -5
- package/lib/es/TeaserContainer.js +3 -2
- package/lib/es/TextMarker.d.ts +2 -5
- package/lib/es/TextMarker.js +3 -2
- package/lib/es/TimePicker.d.ts +2 -5
- package/lib/es/TimePicker.js +3 -2
- package/lib/es/TimedBottomSheet.d.ts +2 -0
- package/lib/es/TimedBottomSheet.js +7 -0
- package/lib/es/Tree.d.ts +2 -5
- package/lib/es/Tree.js +3 -2
- package/lib/es/TreeCategory.d.ts +2 -5
- package/lib/es/TreeCategory.js +3 -2
- package/lib/es/TreeOption.d.ts +2 -5
- package/lib/es/TreeOption.js +3 -2
- package/lib/es/TreeSearch.d.ts +2 -5
- package/lib/es/TreeSearch.js +3 -2
- package/lib/es/TreeSummary.d.ts +2 -5
- package/lib/es/TreeSummary.js +3 -2
- package/lib/es/TreeSummaryRow.d.ts +2 -0
- package/lib/es/TreeSummaryRow.js +7 -0
- package/lib/es/TypeCounter.d.ts +2 -5
- package/lib/es/TypeCounter.js +3 -2
- package/lib/es/VolkswagenApplicationHeader.d.ts +2 -5
- package/lib/es/VolkswagenApplicationHeader.js +3 -2
- package/lib/es/components/.DS_Store +0 -0
- package/lib/es/components/actionBarItem/ActionBarItem.d.ts +11 -4
- package/lib/es/components/actionBarItem/ActionBarItem.js +1 -1
- package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
- package/lib/es/components/actionBarItem/ActionBarItemIcon.js +1 -0
- package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +3 -6
- package/lib/es/components/actionBarItem/ActionBarItemList.js +0 -1
- package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +7 -10
- package/lib/es/components/actionBarItem/ActionBarItemListItem.js +0 -1
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +3 -5
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.js +1 -1
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +11 -6
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.js +1 -0
- package/lib/es/components/activity/Activity.d.ts +4 -7
- package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +68 -11
- package/lib/es/components/applicationHeader/AppMenuDropdown.js +1 -1
- package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +1 -1
- package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +18 -8
- package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +1 -1
- package/lib/es/components/applicationLayout/ApplicationLayout.js +3 -2
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +4 -1
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +14 -6
- package/lib/es/components/applicationLayout/SubNavigation.js +1 -1
- package/lib/es/components/assetTree/AssetTree.d.ts +84 -2
- package/lib/es/components/assetTree/AssetTree.js +49 -78
- package/lib/es/components/assetTree/Tree.d.ts +195 -3
- package/lib/es/components/assetTree/Tree.js +104 -251
- package/lib/es/components/assetTree/TreeCategory.d.ts +21 -11
- package/lib/es/components/assetTree/TreeCategory.js +1 -10
- package/lib/es/components/assetTree/TreeLeaf.d.ts +1 -1
- package/lib/es/components/assetTree/TreeLeaf.js +2 -2
- package/lib/es/components/assetTree/TreeLeafList.d.ts +10 -13
- package/lib/es/components/assetTree/TreeLeafList.js +10 -20
- package/lib/es/components/assetTree/TreeNode.d.ts +12 -2
- package/lib/es/components/assetTree/TreeNode.js +2 -18
- package/lib/es/components/assetTree/TreeNodeContainer.d.ts +7 -12
- package/lib/es/components/assetTree/TreeNodeContainer.js +5 -8
- package/lib/es/components/assetTree/TreeNothingFound.d.ts +3 -2
- package/lib/es/components/assetTree/TreeNothingFound.js +1 -8
- package/lib/es/components/assetTree/TreeOption.d.ts +24 -17
- package/lib/es/components/assetTree/TreeOption.js +5 -15
- package/lib/es/components/assetTree/TreeOptions.d.ts +6 -13
- package/lib/es/components/assetTree/TreeOptions.js +5 -13
- package/lib/es/components/assetTree/TreeRoot.d.ts +6 -11
- package/lib/es/components/assetTree/TreeRoot.js +8 -9
- package/lib/es/components/assetTree/TreeSearch.d.ts +23 -2
- package/lib/es/components/assetTree/TreeSearch.js +4 -13
- package/lib/es/components/assetTree/TreeSelectAll.d.ts +11 -26
- package/lib/es/components/assetTree/TreeSelectAll.js +7 -23
- package/lib/es/components/assetTree/TreeSidebar.d.ts +10 -2
- package/lib/es/components/assetTree/TreeSidebar.js +5 -37
- package/lib/es/components/assetTree/TreeSidebarCategories.d.ts +8 -0
- package/lib/es/components/assetTree/TreeSidebarCategories.js +36 -0
- package/lib/es/components/assetTree/TreeSummary.d.ts +44 -2
- package/lib/es/components/assetTree/TreeSummary.js +7 -21
- package/lib/es/components/assetTree/TreeSummaryRow.d.ts +12 -0
- package/lib/es/components/assetTree/TreeSummaryRow.js +9 -0
- package/lib/es/components/assetTree/TypeCounter.d.ts +45 -2
- package/lib/es/components/assetTree/TypeCounter.js +13 -23
- package/lib/es/components/assetTree/autoAnimateFrames.d.ts +1 -0
- package/lib/es/components/assetTree/autoAnimateFrames.js +55 -0
- package/lib/es/components/assetTree/excludeFromList.d.ts +1 -0
- package/lib/es/components/assetTree/excludeFromList.js +5 -0
- package/lib/es/components/assetTree/treeReducer.d.ts +47 -0
- package/lib/es/components/assetTree/treeReducer.js +47 -0
- package/lib/es/components/assetTree/treeUtils.d.ts +20 -0
- package/lib/es/components/assetTree/treeUtils.js +106 -0
- package/lib/es/components/autosuggest/AutoSuggest.d.ts +35 -2
- package/lib/es/components/autosuggest/AutoSuggest.js +28 -18
- package/lib/es/components/bottomSheet/BottomSheet.d.ts +2 -2
- package/lib/es/components/bottomSheet/BottomSheet.js +2 -2
- package/lib/es/components/bottomSheet/TimedBottomSheet.d.ts +98 -0
- package/lib/es/components/bottomSheet/TimedBottomSheet.js +81 -0
- package/lib/es/components/button/Button.d.ts +59 -37
- package/lib/es/components/button/Button.js +15 -27
- package/lib/es/components/button/ToggleButton.d.ts +5 -1
- package/lib/es/components/button/ToggleButton.js +1 -0
- package/lib/es/components/calendarStripe/CalendarStripe.d.ts +66 -2
- package/lib/es/components/calendarStripe/CalendarStripe.js +19 -43
- package/lib/es/components/carousel/Carousel.d.ts +8 -2
- package/lib/es/components/carousel/Carousel.js +4 -9
- package/lib/es/components/charts/Area.d.ts +6 -12
- package/lib/es/components/charts/Area.js +1 -2
- package/lib/es/components/charts/AreaChart.d.ts +29 -16
- package/lib/es/components/charts/AreaChart.js +11 -24
- package/lib/es/components/charts/AreaGradient.d.ts +6 -10
- package/lib/es/components/charts/AreaGradient.js +6 -6
- package/lib/es/components/charts/Bar.d.ts +4 -9
- package/lib/es/components/charts/Bar.js +2 -2
- package/lib/es/components/charts/BarChart.d.ts +31 -17
- package/lib/es/components/charts/BarChart.js +21 -32
- package/lib/es/components/charts/ChartGrid.d.ts +2 -0
- package/lib/es/components/charts/ChartGrid.js +3 -0
- package/lib/es/components/charts/ChartNeedle.d.ts +10 -11
- package/lib/es/components/charts/ChartNeedle.js +3 -13
- package/lib/es/components/charts/ChartTooltip.d.ts +4 -4
- package/lib/es/components/charts/ChartTooltip.js +6 -2
- package/lib/es/components/charts/Legend.d.ts +17 -10
- package/lib/es/components/charts/Legend.js +14 -3
- package/lib/es/components/charts/Line.d.ts +6 -11
- package/lib/es/components/charts/Line.js +1 -1
- package/lib/es/components/charts/LineChart.d.ts +27 -15
- package/lib/es/components/charts/LineChart.js +11 -22
- package/lib/es/components/charts/PieChart.d.ts +29 -19
- package/lib/es/components/charts/PieChart.js +20 -35
- package/lib/es/components/charts/RadialBarChart.d.ts +37 -19
- package/lib/es/components/charts/RadialBarChart.js +10 -24
- package/lib/es/components/charts/ResponsiveContainer.d.ts +2 -0
- package/lib/es/components/charts/ResponsiveContainer.js +3 -0
- package/lib/es/components/charts/Sector.d.ts +0 -0
- package/lib/es/components/charts/Sector.js +1 -0
- package/lib/es/components/charts/chartHelper.d.ts +10 -5
- package/lib/es/components/charts/chartHelper.js +9 -8
- package/lib/es/components/checkbox/Checkbox.d.ts +15 -6
- package/lib/es/components/clearableInput/ClearableInput.d.ts +60 -0
- package/lib/es/components/clearableInput/ClearableInput.js +9 -6
- package/lib/es/components/collapse/Collapse.d.ts +39 -58
- package/lib/es/components/collapse/Collapse.js +21 -144
- package/lib/es/components/contentLoader/ContentLoader.js +3 -1
- package/lib/es/components/datepicker/DatePicker.d.ts +171 -2
- package/lib/es/components/datepicker/DatePicker.js +22 -33
- package/lib/es/components/datepicker/DateRangePicker.d.ts +5 -0
- package/lib/es/components/datepicker/DateRangePicker.js +13 -9
- package/lib/es/components/dialog/ConfirmationDialog.d.ts +11 -24
- package/lib/es/components/dialog/ConfirmationDialog.js +8 -26
- package/lib/es/components/dialog/Dialog.d.ts +105 -41
- package/lib/es/components/dialog/Dialog.js +66 -34
- package/lib/es/components/dialog/DialogBody.d.ts +8 -15
- package/lib/es/components/dialog/DialogBody.js +4 -10
- package/lib/es/components/dialog/DialogFooter.d.ts +8 -15
- package/lib/es/components/dialog/DialogFooter.js +9 -12
- package/lib/es/components/dialog/DialogHeader.d.ts +17 -17
- package/lib/es/components/dialog/DialogHeader.js +15 -15
- package/lib/es/components/dialog/FrameDialog.d.ts +31 -0
- package/lib/es/components/dialog/FrameDialog.js +46 -0
- package/lib/es/components/dialog/InfoDialog.d.ts +9 -17
- package/lib/es/components/dialog/InfoDialog.js +5 -7
- package/lib/es/components/dialog/MediaDialog.d.ts +64 -57
- package/lib/es/components/dialog/MediaDialog.js +40 -83
- package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +60 -19
- package/lib/es/components/dialog/ReleaseNotesDialog.js +9 -30
- package/lib/es/components/dialog/SaveDialog.d.ts +34 -30
- package/lib/es/components/dialog/SaveDialog.js +8 -18
- package/lib/es/components/dialog/SimpleDialog.d.ts +9 -20
- package/lib/es/components/dialog/SimpleDialog.js +5 -10
- package/lib/es/components/dialog/SplitDialog.d.ts +29 -31
- package/lib/es/components/dialog/SplitDialog.js +5 -15
- package/lib/es/components/dialog/dialogContext.d.ts +10 -0
- package/lib/es/components/dialog/dialogContext.js +22 -0
- package/lib/es/components/divider/Divider.d.ts +46 -0
- package/lib/es/components/divider/Divider.js +32 -0
- package/lib/es/components/dropdown/ButtonDropdown.d.ts +120 -65
- package/lib/es/components/dropdown/ButtonDropdown.js +27 -60
- package/lib/es/components/dropdown/Caret.d.ts +1 -1
- package/lib/es/components/dropdown/Caret.js +2 -2
- package/lib/es/components/dropdown/DropdownSubmenu.d.ts +21 -18
- package/lib/es/components/dropdown/DropdownSubmenu.js +26 -19
- package/lib/es/components/dropdown/DropdownToggleButton.d.ts +14 -2
- package/lib/es/components/dropdown/DropdownToggleButton.js +6 -14
- package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +3 -1
- package/lib/es/components/dropdown/SimpleButtonDropdown.js +3 -2
- package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +3 -1
- package/lib/es/components/dropdown/SingleButtonDropdown.js +3 -2
- package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +3 -1
- package/lib/es/components/dropdown/SplitButtonDropdown.js +3 -2
- package/lib/es/components/dropdown/SplitCaretButton.d.ts +11 -2
- package/lib/es/components/dropdown/SplitCaretButton.js +6 -11
- package/lib/es/components/editableContent/EditableContent.d.ts +9 -1
- package/lib/es/components/editableContent/EditableContent.js +30 -10
- package/lib/es/components/expander/ExpanderList.d.ts +68 -38
- package/lib/es/components/expander/ExpanderList.js +47 -88
- package/lib/es/components/expander/ExpanderPanel.d.ts +74 -50
- package/lib/es/components/expander/ExpanderPanel.js +11 -53
- package/lib/es/components/fade/Fade.d.ts +75 -45
- package/lib/es/components/fade/Fade.js +16 -98
- package/lib/es/components/feedback/Feedback.d.ts +2 -0
- package/lib/es/components/feedback/Feedback.js +7 -0
- package/lib/es/components/filepicker/FilePicker.d.ts +57 -29
- package/lib/es/components/filepicker/FilePicker.js +11 -32
- package/lib/es/components/listMenu/ListMenu.d.ts +60 -43
- package/lib/es/components/listMenu/ListMenu.js +47 -100
- package/lib/es/components/listMenu/ListMenuGroup.d.ts +52 -0
- package/lib/es/components/listMenu/ListMenuGroup.js +15 -0
- package/lib/es/components/listMenu/ListMenuHeader.d.ts +8 -0
- package/lib/es/components/listMenu/ListMenuHeader.js +12 -0
- package/lib/es/components/map/components/Map.d.ts +12 -98
- package/lib/es/components/map/components/Map.js +124 -244
- package/lib/es/components/map/components/MapContext.d.ts +21 -0
- package/lib/es/components/map/components/MapContext.js +18 -0
- package/lib/es/components/map/components/MapElements.d.ts +6 -0
- package/lib/es/components/map/components/MapElements.js +23 -0
- package/lib/es/components/map/components/MapPosition.d.ts +6 -0
- package/lib/es/components/map/components/MapPosition.js +29 -0
- package/lib/es/components/map/components/MapSettingContext.d.ts +15 -0
- package/lib/es/components/map/components/MapSettingContext.js +8 -0
- package/lib/es/components/map/components/MapSize.d.ts +5 -0
- package/lib/es/components/map/components/MapSize.js +20 -0
- package/lib/es/components/map/components/constants.d.ts +18 -12
- package/lib/es/components/map/components/constants.js +8 -2
- package/lib/es/components/map/components/features/ContextMenu.d.ts +13 -1
- package/lib/es/components/map/components/features/ContextMenu.js +90 -53
- package/lib/es/components/map/components/features/ContextMenuItem.d.ts +12 -27
- package/lib/es/components/map/components/features/ContextMenuItem.js +8 -22
- package/lib/es/components/map/components/features/MapSettings.d.ts +6 -21
- package/lib/es/components/map/components/features/MapSettings.js +15 -35
- package/lib/es/components/map/components/features/MapZoom.d.ts +9 -0
- package/lib/es/components/map/components/features/MapZoom.js +41 -0
- package/lib/es/components/map/components/features/Route.d.ts +27 -47
- package/lib/es/components/map/components/features/Route.js +21 -48
- package/lib/es/components/map/components/features/basics/Circle.d.ts +12 -20
- package/lib/es/components/map/components/features/basics/Circle.js +10 -18
- package/lib/es/components/map/components/features/basics/InfoBubble.d.ts +14 -0
- package/lib/es/components/map/components/features/basics/InfoBubble.js +49 -0
- package/lib/es/components/map/components/features/basics/Marker.d.ts +17 -0
- package/lib/es/components/map/components/features/basics/Marker.js +99 -0
- package/lib/es/components/map/components/features/basics/Polygon.d.ts +10 -16
- package/lib/es/components/map/components/features/basics/Polygon.js +13 -18
- package/lib/es/components/map/components/features/basics/Polyline.d.ts +12 -19
- package/lib/es/components/map/components/features/basics/Polyline.js +21 -19
- package/lib/es/components/map/components/features/basics/TextMarker.d.ts +11 -0
- package/lib/es/components/map/components/features/basics/TextMarker.js +15 -0
- package/lib/es/components/map/components/features/basics/marker/DomMarker.d.ts +4 -4
- package/lib/es/components/map/components/features/basics/marker/Marker.d.ts +2 -2
- package/lib/es/components/map/components/features/layers/IncidentsLayer.js +20 -5
- package/lib/es/components/map/components/features/layers/Layer.d.ts +3 -4
- package/lib/es/components/map/components/features/layers/Layer.js +2 -5
- package/lib/es/components/map/components/features/layers/MapBaseLayer.d.ts +8 -0
- package/lib/es/components/map/components/features/layers/MapBaseLayer.js +35 -0
- package/lib/es/components/map/components/features/layers/MapLayerGroup.d.ts +8 -0
- package/lib/es/components/map/components/features/layers/MapLayerGroup.js +40 -0
- package/lib/es/components/map/components/features/layers/MapOverlayLayers.d.ts +5 -0
- package/lib/es/components/map/components/features/layers/MapOverlayLayers.js +27 -0
- package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +9 -13
- package/lib/es/components/map/components/features/layers/MarkerLayer.js +6 -14
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +8 -2
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +25 -14
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +28 -11
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +1 -1
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +1 -1
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +1 -1
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +27 -10
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +2 -2
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +11 -2
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +48 -16
- package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.d.ts +21 -28
- package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +80 -31
- package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +5 -9
- package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.js +3 -8
- package/lib/es/components/map/components/features/layers/overlayLayers/IncidentsLayer.d.ts +6 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/IncidentsLayer.js +276 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/Layer.d.ts +8 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/Layer.js +62 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.d.ts +5 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.js +40 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/TrafficLayer.d.ts +5 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/TrafficLayer.js +55 -0
- package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +9 -19
- package/lib/es/components/map/components/features/settings/MapSettingsItem.js +5 -18
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +5 -11
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.js +4 -10
- package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +12 -19
- package/lib/es/components/map/components/features/settings/MapSettingsTile.js +7 -20
- package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +6 -11
- package/lib/es/components/map/components/features/settings/ZoomButtons.js +3 -7
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +8 -18
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +6 -16
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +9 -21
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +11 -23
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +9 -16
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +7 -17
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +7 -13
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +4 -12
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +7 -13
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +4 -12
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +7 -13
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.js +4 -12
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +5 -15
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +5 -14
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +6 -18
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.js +4 -15
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +6 -18
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +4 -15
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +6 -18
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.js +4 -15
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +5 -15
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +5 -14
- package/lib/es/components/map/exceptions/MapException.d.ts +2 -6
- package/lib/es/components/map/exceptions/MapException.js +7 -6
- package/lib/es/components/map/icons/MapIcon.d.ts +42 -40
- package/lib/es/components/map/icons/MapIcon.js +6 -6
- package/lib/es/components/map/utils/clustering.d.ts +9 -8
- package/lib/es/components/map/utils/clustering.js +28 -23
- package/lib/es/components/map/utils/eventHandling.d.ts +52 -46
- package/lib/es/components/map/utils/eventHandling.js +45 -48
- package/lib/es/components/map/utils/hooks.js +2 -2
- package/lib/es/components/map/utils/localization.d.ts +2 -2
- package/lib/es/components/map/utils/localization.js +3 -2
- package/lib/es/components/map/utils/mapTypes.d.ts +166 -0
- package/lib/es/components/map/utils/mapTypes.js +27 -0
- package/lib/es/components/map/utils/mapUi.d.ts +2 -0
- package/lib/es/components/map/utils/mapUi.js +32 -0
- package/lib/es/components/map/utils/mapUtils.d.ts +88 -0
- package/lib/es/components/map/utils/mapUtils.js +85 -0
- package/lib/es/components/map/utils/positions.d.ts +25 -7
- package/lib/es/components/map/utils/positions.js +61 -32
- package/lib/es/components/map/utils/proptypes.d.ts +7 -7
- package/lib/es/components/map/utils/rendering.d.ts +21 -0
- package/lib/es/components/map/utils/rendering.js +133 -0
- package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +48 -25
- package/lib/es/components/mapMarker/ClusterMapMarker.js +6 -42
- package/lib/es/components/mapMarker/MarkerColor.d.ts +3 -0
- package/lib/es/components/mapMarker/MarkerColor.js +15 -0
- package/lib/es/components/mapMarker/SingleMapMarker.d.ts +87 -34
- package/lib/es/components/mapMarker/SingleMapMarker.js +9 -57
- package/lib/es/components/menuItems/MenuItem.d.ts +16 -0
- package/lib/es/components/menuItems/MenuItem.js +1 -2
- package/lib/es/components/menuItems/MenuItemList.d.ts +7 -0
- package/lib/es/components/menuItems/MenuItemList.js +12 -0
- package/lib/es/components/menuItems/MenuItems.d.ts +7 -2
- package/lib/es/components/menuItems/MenuItems.js +9 -7
- package/lib/es/components/navigation/AppNavigationBar.d.ts +20 -2
- package/lib/es/components/navigation/AppNavigationBar.js +4 -14
- package/lib/es/components/noData/NoData.d.ts +6 -5
- package/lib/es/components/noData/NoData.js +2 -2
- package/lib/es/components/notification/Notification.d.ts +32 -1
- package/lib/es/components/notification/Notification.js +3 -2
- package/lib/es/components/notification/NotificationsContainer.d.ts +7 -13
- package/lib/es/components/notification/NotificationsContainer.js +2 -8
- package/lib/es/components/numberControl/NumberControl.d.ts +1 -1
- package/lib/es/components/numberControl/NumberControl.js +5 -4
- package/lib/es/components/numberInput/NumberInput.d.ts +60 -12
- package/lib/es/components/numberInput/NumberInput.js +20 -13
- package/lib/es/components/onboarding/OnboardingTip.d.ts +145 -62
- package/lib/es/components/onboarding/OnboardingTip.js +39 -93
- package/lib/es/components/page/Page.d.ts +32 -0
- package/lib/es/components/page/Page.js +21 -0
- package/lib/es/components/popover/Popover.d.ts +42 -2
- package/lib/es/components/popover/Popover.js +11 -16
- package/lib/es/components/position/Position.d.ts +15 -9
- package/lib/es/components/position/Position.js +5 -19
- package/lib/es/components/preloader/ImagePreloader.d.ts +46 -21
- package/lib/es/components/preloader/ImagePreloader.js +18 -28
- package/lib/es/components/radiobutton/RadioButton.d.ts +110 -44
- package/lib/es/components/radiobutton/RadioButton.js +16 -44
- package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +22 -17
- package/lib/es/components/releaseNotes/ReleaseNotes.js +1 -1
- package/lib/es/components/resizer/Resizer.js +4 -2
- package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +80 -2
- package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.js +22 -47
- package/lib/es/components/rules/RuleConnector.d.ts +61 -38
- package/lib/es/components/rules/RuleConnector.js +7 -29
- package/lib/es/components/rules/RuleContainer.d.ts +42 -27
- package/lib/es/components/rules/RuleContainer.js +7 -23
- package/lib/es/components/rules/RulesWrapper.d.ts +3 -7
- package/lib/es/components/rules/RulesWrapper.js +6 -4
- package/lib/es/components/saveableInput/SaveableInput.d.ts +42 -2
- package/lib/es/components/saveableInput/SaveableInput.js +44 -15
- package/lib/es/components/selects/BaseSelectDropdown.d.ts +56 -0
- package/lib/es/components/selects/BaseSelectDropdown.js +180 -0
- package/lib/es/components/selects/ClearButton.d.ts +8 -0
- package/lib/es/components/selects/ClearButton.js +14 -0
- package/lib/es/components/selects/DropdownHeader.d.ts +7 -13
- package/lib/es/components/selects/DropdownHeader.js +4 -13
- package/lib/es/components/selects/Multiselect.d.ts +150 -98
- package/lib/es/components/selects/Multiselect.js +142 -288
- package/lib/es/components/selects/MultiselectToggleCounter.d.ts +9 -0
- package/lib/es/components/selects/MultiselectToggleCounter.js +16 -0
- package/lib/es/components/selects/MultiselectToggleFilter.d.ts +10 -0
- package/lib/es/components/selects/MultiselectToggleFilter.js +16 -0
- package/lib/es/components/selects/MultiselectTogglePlaceholder.d.ts +6 -0
- package/lib/es/components/selects/MultiselectTogglePlaceholder.js +9 -0
- package/lib/es/components/selects/MultiselectToggleSelection.d.ts +14 -0
- package/lib/es/components/selects/MultiselectToggleSelection.js +31 -0
- package/lib/es/components/selects/NoItemMessage.d.ts +7 -0
- package/lib/es/components/selects/NoItemMessage.js +13 -0
- package/lib/es/components/selects/Select.d.ts +142 -97
- package/lib/es/components/selects/Select.js +112 -259
- package/lib/es/components/selects/SelectFilter.d.ts +8 -0
- package/lib/es/components/selects/SelectFilter.js +14 -0
- package/lib/es/components/selects/SelectedOption.d.ts +12 -0
- package/lib/es/components/selects/SelectedOption.js +26 -0
- package/lib/es/components/selects/WithFeedback.d.ts +27 -0
- package/lib/es/components/selects/WithFeedback.js +15 -0
- package/lib/es/components/selects/WithFeedbackAndAddon.d.ts +29 -0
- package/lib/es/components/selects/WithFeedbackAndAddon.js +15 -0
- package/lib/es/components/sidebars/Sidebar.d.ts +182 -111
- package/lib/es/components/sidebars/Sidebar.js +164 -196
- package/lib/es/components/sidebars/SidebarBackdrop.d.ts +7 -0
- package/lib/es/components/sidebars/SidebarBackdrop.js +12 -0
- package/lib/es/components/sidebars/SidebarCloseButton.d.ts +5 -0
- package/lib/es/components/sidebars/SidebarCloseButton.js +11 -0
- package/lib/es/components/sidebars/SidebarFooter.d.ts +7 -0
- package/lib/es/components/sidebars/SidebarFooter.js +15 -0
- package/lib/es/components/sidebars/SidebarFullscreenToggle.d.ts +7 -0
- package/lib/es/components/sidebars/SidebarFullscreenToggle.js +18 -0
- package/lib/es/components/slider/RangeSlider.d.ts +52 -32
- package/lib/es/components/slider/RangeSlider.js +19 -38
- package/lib/es/components/slider/Slider.d.ts +68 -37
- package/lib/es/components/slider/Slider.js +6 -30
- package/lib/es/components/smoothScrollbars/SmoothScrollbars.d.ts +16 -0
- package/lib/es/components/smoothScrollbars/SmoothScrollbars.js +29 -0
- package/lib/es/components/spinner/Spinner.d.ts +2 -1
- package/lib/es/components/spinner/Spinner.js +1 -0
- package/lib/es/components/states/BaseStateProps.d.ts +66 -0
- package/lib/es/components/states/BaseStateProps.js +4 -0
- package/lib/es/components/states/CustomState.d.ts +4 -14
- package/lib/es/components/states/CustomState.js +18 -43
- package/lib/es/components/states/EmptyState.d.ts +4 -8
- package/lib/es/components/states/EmptyState.js +5 -6
- package/lib/es/components/states/ErrorState.d.ts +4 -8
- package/lib/es/components/states/ErrorState.js +5 -6
- package/lib/es/components/states/ForbiddenState.d.ts +4 -8
- package/lib/es/components/states/ForbiddenState.js +5 -6
- package/lib/es/components/states/MaintenanceState.d.ts +4 -8
- package/lib/es/components/states/MaintenanceState.js +5 -6
- package/lib/es/components/states/NotBookedState.d.ts +9 -19
- package/lib/es/components/states/NotBookedState.js +7 -22
- package/lib/es/components/states/NotFoundState.d.ts +4 -8
- package/lib/es/components/states/NotFoundState.js +5 -6
- package/lib/es/components/states/StateButton.d.ts +27 -0
- package/lib/es/components/states/StateButton.js +16 -0
- package/lib/es/components/states/StateIcon.d.ts +7 -0
- package/lib/es/components/states/StateIcon.js +6 -0
- package/lib/es/components/statsWidget/StatsWidgetNumber.js +1 -1
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +65 -34
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.js +5 -42
- package/lib/es/components/supportMarker/toggleSupportMarker.d.ts +3 -3
- package/lib/es/components/supportMarker/toggleSupportMarker.js +1 -1
- package/lib/es/components/switch/Switch.d.ts +5 -9
- package/lib/es/components/switch/Switch.js +3 -5
- package/lib/es/components/table/SortArrowDown.d.ts +3 -0
- package/lib/es/components/table/SortArrowDown.js +6 -0
- package/lib/es/components/table/SortArrowUp.d.ts +3 -0
- package/lib/es/components/table/SortArrowUp.js +6 -0
- package/lib/es/components/table/SortArrows.d.ts +5 -5
- package/lib/es/components/table/SortArrows.js +3 -8
- package/lib/es/components/table/TableCardsSorting.d.ts +48 -36
- package/lib/es/components/table/TableCardsSorting.js +16 -55
- package/lib/es/components/table/TableSearch.d.ts +8 -8
- package/lib/es/components/table/TableSearch.js +4 -10
- package/lib/es/components/table/TableSettingsColumnButtons.d.ts +12 -28
- package/lib/es/components/table/TableSettingsColumnButtons.js +4 -22
- package/lib/es/components/table/TableSettingsColumnDetails.d.ts +8 -19
- package/lib/es/components/table/TableSettingsColumnDetails.js +8 -20
- package/lib/es/components/table/TableSettingsDialog.d.ts +157 -106
- package/lib/es/components/table/TableSettingsDialog.js +144 -260
- package/lib/es/components/table/TableSettingsDialog.types.d.ts +40 -0
- package/lib/es/components/table/TableSettingsDialog.types.js +2 -0
- package/lib/es/components/table/TableSettingsDialogFooter.d.ts +17 -43
- package/lib/es/components/table/TableSettingsDialogFooter.js +6 -33
- package/lib/es/components/table/TableSettingsListContainer.d.ts +8 -9
- package/lib/es/components/table/TableSettingsListContainer.js +9 -19
- package/lib/es/components/table/TableSettingsListItem.d.ts +9 -26
- package/lib/es/components/table/TableSettingsListItem.js +9 -30
- package/lib/es/components/table/TableToolbar.d.ts +8 -11
- package/lib/es/components/table/TableToolbar.js +3 -10
- package/lib/es/components/table/TableViewToggles.d.ts +57 -29
- package/lib/es/components/table/TableViewToggles.js +24 -63
- package/lib/es/components/tag/Tag.d.ts +68 -36
- package/lib/es/components/tag/Tag.js +7 -30
- package/lib/es/components/tag/TagList.d.ts +24 -16
- package/lib/es/components/tag/TagList.js +6 -15
- package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +6 -12
- package/lib/es/components/tagManager/CustomSuggestionItem.js +4 -9
- package/lib/es/components/tagManager/TagManager.d.ts +61 -26
- package/lib/es/components/tagManager/TagManager.js +22 -39
- package/lib/es/components/tagManager/TagManagerItemList.d.ts +6 -13
- package/lib/es/components/tagManager/TagManagerItemList.js +3 -13
- package/lib/es/components/tagManager/TagManagerTag.d.ts +5 -0
- package/lib/es/components/tagManager/TagManagerTag.js +2 -0
- package/lib/es/components/teaser/Teaser.d.ts +93 -50
- package/lib/es/components/teaser/Teaser.js +69 -120
- package/lib/es/components/teaser/TeaserContainer.d.ts +25 -12
- package/lib/es/components/teaser/TeaserContainer.js +10 -23
- package/lib/es/components/timepicker/TimePicker.d.ts +49 -26
- package/lib/es/components/timepicker/TimePicker.js +16 -31
- package/lib/es/components/tooltip/SimpleTooltip.d.ts +5 -2
- package/lib/es/components/tooltip/Tooltip.d.ts +11 -8
- package/lib/es/components/tooltip/Tooltip.js +2 -2
- package/lib/es/hooks/useAfterMount.d.ts +1 -1
- package/lib/es/hooks/useClickOutside.d.ts +12 -1
- package/lib/es/hooks/useClickOutside.js +17 -6
- package/lib/es/hooks/useClipboard.d.ts +12 -5
- package/lib/es/hooks/useClipboard.js +21 -7
- package/lib/es/hooks/useDarkMode.d.ts +6 -1
- package/lib/es/hooks/useDarkMode.js +21 -8
- package/lib/es/hooks/useDebugInfo.d.ts +14 -2
- package/lib/es/hooks/useDebugInfo.js +16 -3
- package/lib/es/hooks/useDocumentTitle.d.ts +7 -0
- package/lib/es/hooks/useDocumentTitle.js +16 -0
- package/lib/es/hooks/useEffectOnce.d.ts +3 -1
- package/lib/es/hooks/useEffectOnce.js +2 -2
- package/lib/es/hooks/useElementSize.d.ts +9 -1
- package/lib/es/hooks/useElementSize.js +12 -4
- package/lib/es/hooks/useEsc.d.ts +5 -0
- package/lib/es/hooks/useEsc.js +5 -0
- package/lib/es/hooks/useEvent.d.ts +17 -1
- package/lib/es/hooks/useEvent.js +8 -0
- package/lib/es/hooks/useFullscreen.d.ts +28 -5
- package/lib/es/hooks/useFullscreen.js +35 -49
- package/lib/es/hooks/useHover.d.ts +6 -0
- package/lib/es/hooks/useHover.js +6 -1
- package/lib/es/hooks/useInterval.d.ts +10 -1
- package/lib/es/hooks/useInterval.js +11 -3
- package/lib/es/hooks/useIsFirstRender.d.ts +2 -0
- package/lib/es/hooks/useIsFirstRender.js +12 -0
- package/lib/es/hooks/useKey.d.ts +7 -0
- package/lib/es/hooks/useKey.js +7 -0
- package/lib/es/hooks/useMergeRefs.d.ts +10 -0
- package/lib/es/hooks/useMergeRefs.js +48 -0
- package/lib/es/hooks/useMutationObserver.d.ts +21 -5
- package/lib/es/hooks/useMutationObserver.js +23 -6
- package/lib/es/hooks/useOnMount.d.ts +9 -1
- package/lib/es/hooks/useOnMount.js +9 -3
- package/lib/es/hooks/useOnScreen.d.ts +18 -3
- package/lib/es/hooks/useOnScreen.js +25 -4
- package/lib/es/hooks/useOnlineStatus.d.ts +7 -1
- package/lib/es/hooks/useOnlineStatus.js +7 -2
- package/lib/es/hooks/usePostMessage.d.ts +32 -0
- package/lib/es/hooks/usePostMessage.js +54 -0
- package/lib/es/hooks/usePrevious.d.ts +1 -1
- package/lib/es/hooks/usePrevious.js +5 -6
- package/lib/es/hooks/useRenderCount.d.ts +2 -1
- package/lib/es/hooks/useRenderCount.js +2 -2
- package/lib/es/hooks/useResizeObserver.d.ts +8 -1
- package/lib/es/hooks/useResizeObserver.js +14 -2
- package/lib/es/hooks/useScrollPosition.d.ts +9 -1
- package/lib/es/hooks/useScrollPosition.js +15 -9
- package/lib/es/hooks/useStateWithValidation.d.ts +12 -1
- package/lib/es/hooks/useStateWithValidation.js +17 -4
- package/lib/es/hooks/useStorage.d.ts +22 -2
- package/lib/es/hooks/useStorage.js +47 -12
- package/lib/es/hooks/useTimeout.d.ts +11 -1
- package/lib/es/hooks/useTimeout.js +19 -3
- package/lib/es/hooks/useWindowResize.d.ts +8 -1
- package/lib/es/hooks/useWindowResize.js +10 -1
- package/lib/es/index.d.ts +189 -173
- package/lib/es/index.js +285 -191
- package/lib/es/mapIndex.d.ts +38 -38
- package/lib/es/mapIndex.js +13 -15
- package/lib/es/mapTypes.d.ts +1 -0
- package/lib/es/mapTypes.js +4 -0
- package/lib/es/routeUtils.d.ts +1 -5
- package/lib/es/routeUtils.js +2 -6
- package/lib/es/styles/variables/colors/colors.json +74 -0
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +28 -2
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +4 -30
- package/lib/es/types.d.ts +0 -1312
- package/lib/es/types.js +0 -20
- package/lib/es/useClickOutside.d.ts +2 -4
- package/lib/es/useClickOutside.js +3 -2
- package/lib/es/useClipboard.d.ts +1 -4
- package/lib/es/useClipboard.js +5 -3
- package/lib/es/useDarkMode.d.ts +1 -4
- package/lib/es/useDarkMode.js +5 -3
- package/lib/es/useDebugInfo.d.ts +1 -4
- package/lib/es/useDebugInfo.js +5 -3
- package/lib/es/useDocumentTitle.d.ts +2 -0
- package/lib/es/useDocumentTitle.js +7 -0
- package/lib/es/useEffectOnce.d.ts +1 -4
- package/lib/es/useEffectOnce.js +5 -3
- package/lib/es/useElementSize.d.ts +1 -4
- package/lib/es/useElementSize.js +5 -3
- package/lib/es/useFullscreen.d.ts +1 -4
- package/lib/es/useFullscreen.js +5 -3
- package/lib/es/useInterval.d.ts +1 -4
- package/lib/es/useInterval.js +5 -3
- package/lib/es/useIsFirstRender.d.ts +2 -0
- package/lib/es/useIsFirstRender.js +7 -0
- package/lib/es/useLocalStorage.d.ts +1 -4
- package/lib/es/useLocalStorage.js +1 -1
- package/lib/es/useMutationObserver.d.ts +2 -4
- package/lib/es/useMutationObserver.js +3 -2
- package/lib/es/useOnMount.d.ts +2 -2
- package/lib/es/useOnMount.js +3 -2
- package/lib/es/useOnScreen.d.ts +2 -4
- package/lib/es/useOnScreen.js +3 -2
- package/lib/es/useOnlineStatus.d.ts +2 -4
- package/lib/es/useOnlineStatus.js +3 -2
- package/lib/es/usePostMessage.d.ts +2 -0
- package/lib/es/usePostMessage.js +7 -0
- package/lib/es/useRenderCount.d.ts +2 -4
- package/lib/es/useRenderCount.js +3 -2
- package/lib/es/useResizeObserver.d.ts +2 -4
- package/lib/es/useResizeObserver.js +3 -2
- package/lib/es/useScrollPosition.d.ts +2 -4
- package/lib/es/useScrollPosition.js +3 -2
- package/lib/es/useSessionStorage.d.ts +1 -4
- package/lib/es/useSessionStorage.js +1 -1
- package/lib/es/useStateWithValidation.d.ts +2 -4
- package/lib/es/useStateWithValidation.js +3 -2
- package/lib/es/useTimeout.d.ts +2 -4
- package/lib/es/useTimeout.js +3 -2
- package/lib/es/useWindowResize.d.ts +2 -4
- package/lib/es/useWindowResize.js +3 -2
- package/lib/es/utils/SortUtils.d.ts +9 -6
- package/lib/es/utils/SortUtils.js +9 -8
- package/lib/es/utils/arrayMove.d.ts +1 -1
- package/lib/es/utils/arrayMove.js +1 -1
- package/lib/es/utils/colorScheme.d.ts +26 -9
- package/lib/es/utils/colorScheme.js +57 -35
- package/lib/es/utils/darkModeCDN.d.ts +1 -1
- package/lib/es/utils/darkModeCDN.js +11 -2
- package/lib/es/utils/deviceUtils.d.ts +12 -12
- package/lib/es/utils/deviceUtils.js +7 -5
- package/lib/es/utils/getWidthInBoundaries.d.ts +2 -0
- package/lib/es/utils/getWidthInBoundaries.js +15 -0
- package/lib/es/utils/init/initCSS.d.ts +2 -0
- package/lib/es/utils/init/initCSS.js +68 -0
- package/lib/es/utils/init/initConfig.d.ts +4 -0
- package/lib/es/utils/init/initConfig.js +12 -0
- package/lib/es/utils/init/initDocumentBootstrapping.d.ts +1 -0
- package/lib/es/utils/init/initDocumentBootstrapping.js +43 -0
- package/lib/es/utils/init/printPoweredByRIO.d.ts +1 -0
- package/lib/es/utils/init/printPoweredByRIO.js +16 -0
- package/lib/es/utils/init.js +9 -12
- package/lib/es/utils/mergeRefs.d.ts +3 -0
- package/lib/es/utils/mergeRefs.js +18 -0
- package/lib/es/utils/portalRoot.d.ts +2 -2
- package/lib/es/utils/routeUtils.d.ts +13 -13
- package/lib/es/utils/routeUtils.js +4 -4
- package/lib/es/utils/scrollItemIntoView.d.ts +3 -3
- package/lib/es/utils/searchNormalized.d.ts +2 -2
- package/lib/es/utils/searchNormalized.js +1 -1
- package/lib/es/version.json +1 -1
- package/mapIndex.d.ts +38 -38
- package/mapIndex.js +14 -11
- package/mapTypes.d.ts +1 -0
- package/mapTypes.js +1 -0
- package/package.json +50 -67
- package/routeUtils.d.ts +1 -5
- package/routeUtils.js +1 -2
- package/styles/variables/colors/colors.json +74 -0
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +28 -2
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +4 -30
- package/types.d.ts +0 -1312
- package/types.js +1 -19
- package/useClickOutside.d.ts +2 -4
- package/useClickOutside.js +2 -2
- package/useClipboard.d.ts +1 -4
- package/useClipboard.js +1 -2
- package/useDarkMode.d.ts +1 -4
- package/useDarkMode.js +1 -2
- package/useDebugInfo.d.ts +1 -4
- package/useDebugInfo.js +1 -2
- package/useDocumentTitle.d.ts +2 -0
- package/useDocumentTitle.js +2 -0
- package/useEffectOnce.d.ts +1 -4
- package/useEffectOnce.js +1 -2
- package/useElementSize.d.ts +1 -4
- package/useElementSize.js +1 -2
- package/useFullscreen.d.ts +1 -4
- package/useFullscreen.js +1 -2
- package/useInterval.d.ts +1 -4
- package/useInterval.js +1 -2
- package/useIsFirstRender.d.ts +2 -0
- package/useIsFirstRender.js +2 -0
- package/useLocalStorage.d.ts +1 -4
- package/useLocalStorage.js +1 -2
- package/useMutationObserver.d.ts +2 -4
- package/useMutationObserver.js +2 -2
- package/useOnMount.d.ts +2 -2
- package/useOnMount.js +2 -2
- package/useOnScreen.d.ts +2 -4
- package/useOnScreen.js +2 -2
- package/useOnlineStatus.d.ts +2 -4
- package/useOnlineStatus.js +2 -2
- package/usePostMessage.d.ts +2 -0
- package/usePostMessage.js +2 -0
- package/useRenderCount.d.ts +2 -4
- package/useRenderCount.js +2 -2
- package/useResizeObserver.d.ts +2 -4
- package/useResizeObserver.js +2 -2
- package/useScrollPosition.d.ts +2 -4
- package/useScrollPosition.js +2 -2
- package/useSessionStorage.d.ts +1 -4
- package/useSessionStorage.js +1 -2
- package/useStateWithValidation.d.ts +2 -4
- package/useStateWithValidation.js +2 -2
- package/useTimeout.d.ts +2 -4
- package/useTimeout.js +2 -2
- package/useWindowResize.d.ts +2 -4
- package/useWindowResize.js +2 -2
- package/utils/SortUtils.d.ts +9 -6
- package/utils/SortUtils.js +9 -8
- package/utils/arrayMove.d.ts +1 -1
- package/utils/arrayMove.js +1 -1
- package/utils/colorScheme.d.ts +26 -9
- package/utils/colorScheme.js +54 -32
- package/utils/darkModeCDN.d.ts +1 -1
- package/utils/darkModeCDN.js +11 -2
- package/utils/deviceUtils.d.ts +12 -12
- package/utils/deviceUtils.js +7 -5
- package/utils/getWidthInBoundaries.d.ts +2 -0
- package/utils/getWidthInBoundaries.js +13 -0
- package/utils/init/initCSS.d.ts +2 -0
- package/utils/init/initCSS.js +63 -0
- package/utils/init/initConfig.d.ts +4 -0
- package/utils/init/initConfig.js +7 -0
- package/utils/init/initDocumentBootstrapping.d.ts +1 -0
- package/utils/init/initDocumentBootstrapping.js +39 -0
- package/utils/init/printPoweredByRIO.d.ts +1 -0
- package/utils/init/printPoweredByRIO.js +12 -0
- package/utils/init.js +9 -12
- package/utils/mergeRefs.d.ts +3 -0
- package/utils/mergeRefs.js +16 -0
- package/utils/portalRoot.d.ts +2 -2
- package/utils/routeUtils.d.ts +13 -13
- package/utils/routeUtils.js +4 -4
- package/utils/scrollItemIntoView.d.ts +3 -3
- package/utils/searchNormalized.d.ts +2 -2
- package/utils/searchNormalized.js +1 -1
- package/version.json +1 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useEffect } from 'react';
|
|
4
|
+
import noop from 'lodash/fp/noop';
|
|
5
|
+
import BottomSheet from './BottomSheet';
|
|
6
|
+
import useTimeout from '../../hooks/useTimeout';
|
|
7
|
+
import useLocalStorage from '../../useLocalStorage';
|
|
8
|
+
const DEFAULT_SHOW_AFTER = 0; // immediately after mount
|
|
9
|
+
const DEFAULT_HIDE_AFTER = 3600000; // after 1 hour
|
|
10
|
+
const sanitizeFeatureName = (value) => `${value.charAt(0).toUpperCase()}${value.slice(1)}`.replaceAll(' ', '');
|
|
11
|
+
/**
|
|
12
|
+
* A wrapper component for the BottomSheet that allows to control it's visibility via timers and to use
|
|
13
|
+
* the localStorage to save user interaction.
|
|
14
|
+
*
|
|
15
|
+
* Don't forget to cleanup the localStorage for the user when removing a feature
|
|
16
|
+
* by setting "cleanupLocalStorage" to "true" and deploy it like this.
|
|
17
|
+
* The cleanup will remove the localStorage flag on mount and will not show the bottom sheet.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
const [isDismissed, setIsDismissed] = useState(false);
|
|
21
|
+
|
|
22
|
+
const handleClose = () => { // If needed trigger Google Analytics here };
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<TimedBottomSheet
|
|
26
|
+
dismissed={isDismissed}
|
|
27
|
+
featureName='dummyBottomSheet'
|
|
28
|
+
showAfter={1_000}
|
|
29
|
+
hideAfter={15_000}
|
|
30
|
+
className='max-width-500'
|
|
31
|
+
onClose={handleClose}
|
|
32
|
+
>
|
|
33
|
+
<div className='display-flex align-items-center gap-20'>
|
|
34
|
+
Lorem ipsum dolor sit amet
|
|
35
|
+
<Button bsStyle={Button.PRIMARY} onClick={() => setIsDismissed(true)}>
|
|
36
|
+
Got it
|
|
37
|
+
</Button>
|
|
38
|
+
</div>
|
|
39
|
+
</TimedBottomSheet>
|
|
40
|
+
);
|
|
41
|
+
*/
|
|
42
|
+
export const TimedBottomSheet = (props) => {
|
|
43
|
+
const { dismissed = false, featureName, showAfter = DEFAULT_SHOW_AFTER, hideAfter = DEFAULT_HIDE_AFTER, alwaysOn = false, showCloseButton = true, width, cleanupLocalStorage = false, onClose = noop, bodyClassName = 'padding-25 margin-right-25', localStoragePrefix = '', className, children } = props, remainingProps = __rest(props, ["dismissed", "featureName", "showAfter", "hideAfter", "alwaysOn", "showCloseButton", "width", "cleanupLocalStorage", "onClose", "bodyClassName", "localStoragePrefix", "className", "children"]);
|
|
44
|
+
const [showBottomSheet, setShowBottomSheet] = useState(false);
|
|
45
|
+
const [isHiddenByUser, setIsHiddenByUser, removeIsHiddenFlag] = useLocalStorage(`${localStoragePrefix}hide${sanitizeFeatureName(featureName)}`, false);
|
|
46
|
+
// In case the visibility is controlled by the outside, means the user clicked on the
|
|
47
|
+
// content of the bottom sheet, close the sheet and set the localStorage flag for not
|
|
48
|
+
// showing it again
|
|
49
|
+
const [prevDismissed, setPrevDismissed] = useState(dismissed);
|
|
50
|
+
if (dismissed && dismissed !== prevDismissed) {
|
|
51
|
+
setPrevDismissed(dismissed);
|
|
52
|
+
setIsHiddenByUser(true);
|
|
53
|
+
setShowBottomSheet(false);
|
|
54
|
+
}
|
|
55
|
+
// Show the bottom sheet automatically after a given amount of time
|
|
56
|
+
useTimeout(() => {
|
|
57
|
+
if (!dismissed && !isHiddenByUser && !cleanupLocalStorage) {
|
|
58
|
+
setShowBottomSheet(true);
|
|
59
|
+
}
|
|
60
|
+
}, showAfter);
|
|
61
|
+
// Hide the bottom sheet automatically after a given amount of time
|
|
62
|
+
useTimeout(() => setShowBottomSheet(alwaysOn ? true : false), showAfter + hideAfter);
|
|
63
|
+
// Cleanup functionality. The cleanup will remove the localStorage flag on mount
|
|
64
|
+
// and will not show the bottom sheet.
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
if (cleanupLocalStorage) {
|
|
67
|
+
removeIsHiddenFlag();
|
|
68
|
+
}
|
|
69
|
+
}, []);
|
|
70
|
+
const handleCloseBottomSheet = () => {
|
|
71
|
+
setShowBottomSheet(false);
|
|
72
|
+
setIsHiddenByUser(true);
|
|
73
|
+
onClose();
|
|
74
|
+
};
|
|
75
|
+
return (_jsx("div", Object.assign({}, remainingProps, { children: _jsx(BottomSheet, Object.assign({ show: showBottomSheet, width: width, detach: true, showCloseButton: showCloseButton, onClose: handleCloseBottomSheet, className: className, bodyClassName: bodyClassName }, { children: children })) })));
|
|
76
|
+
};
|
|
77
|
+
export default TimedBottomSheet;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type PropsWithChildren, type
|
|
1
|
+
import React, { type ForwardRefExoticComponent, type HTMLProps, type PropsWithChildren, type RefAttributes } from 'react';
|
|
2
2
|
import type { ObjectValues } from '../../utils/ObjectValues';
|
|
3
|
-
declare const STYLES_MAP: {
|
|
3
|
+
export declare const STYLES_MAP: {
|
|
4
4
|
readonly DEFAULT: "default";
|
|
5
5
|
readonly PRIMARY: "primary";
|
|
6
6
|
readonly SECONDARY: "secondary";
|
|
@@ -10,22 +10,22 @@ declare const STYLES_MAP: {
|
|
|
10
10
|
readonly SUCCESS: "success";
|
|
11
11
|
readonly MUTED: "muted";
|
|
12
12
|
};
|
|
13
|
-
type
|
|
14
|
-
declare const VARIANTS_MAP: {
|
|
13
|
+
export type BUTTON_STYLE = ObjectValues<typeof STYLES_MAP>;
|
|
14
|
+
export declare const VARIANTS_MAP: {
|
|
15
15
|
readonly VARIANT_LINK: "link";
|
|
16
16
|
readonly VARIANT_LINK_INLINE: "link-inline";
|
|
17
17
|
readonly VARIANT_OUTLINE: "outline";
|
|
18
18
|
readonly VARIANT_ACTION: "action";
|
|
19
19
|
};
|
|
20
|
-
type
|
|
21
|
-
declare const SIZES_MAP: {
|
|
20
|
+
export type BUTTON_VARIANT = ObjectValues<typeof VARIANTS_MAP>;
|
|
21
|
+
export declare const SIZES_MAP: {
|
|
22
22
|
readonly XS: "xs";
|
|
23
23
|
readonly SM: "sm";
|
|
24
24
|
readonly MD: "md";
|
|
25
25
|
readonly LG: "lg";
|
|
26
26
|
};
|
|
27
|
-
type
|
|
28
|
-
type
|
|
27
|
+
export type BUTTON_SIZE = ObjectValues<typeof SIZES_MAP>;
|
|
28
|
+
type RegularButton = {
|
|
29
29
|
/**
|
|
30
30
|
* Use the button as a toggle button. The toggle state can be controlled via the `active` prop.
|
|
31
31
|
* @default false
|
|
@@ -35,9 +35,9 @@ type RegularButtonProps = {
|
|
|
35
35
|
* Callback function triggered when clicking the button.
|
|
36
36
|
* @param event The MouseEvent that triggered the click.
|
|
37
37
|
*/
|
|
38
|
-
onClick?: (event:
|
|
38
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
39
39
|
};
|
|
40
|
-
type
|
|
40
|
+
type ToggleButton = {
|
|
41
41
|
/**
|
|
42
42
|
* Use the button as a toggle button. The toggle state can be controlled via the `active` prop.
|
|
43
43
|
* @default false
|
|
@@ -49,23 +49,39 @@ type ToggleButtonProps = {
|
|
|
49
49
|
*/
|
|
50
50
|
onClick?: (value: boolean) => void;
|
|
51
51
|
};
|
|
52
|
-
export type ButtonProps = {
|
|
52
|
+
export type ButtonProps = Omit<HTMLProps<HTMLButtonElement>, 'type' | 'onClick'> & {
|
|
53
|
+
/**
|
|
54
|
+
* Whether the button should be disabled.
|
|
55
|
+
*
|
|
56
|
+
* @default false
|
|
57
|
+
*/
|
|
58
|
+
disabled?: boolean;
|
|
53
59
|
/**
|
|
54
60
|
* Set the button toggled. Should be used in combination with "asToggle" prop.
|
|
55
61
|
* @default false
|
|
56
62
|
*/
|
|
57
63
|
active?: boolean;
|
|
58
64
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* @default false
|
|
65
|
+
* Defines the type of the button. This may be used for form submit buttons.
|
|
66
|
+
* @default 'button'
|
|
62
67
|
*/
|
|
63
|
-
|
|
68
|
+
type?: 'button' | 'submit';
|
|
64
69
|
/**
|
|
65
70
|
* Use when the content of the button is an icon only to adapt the button spacing accordingly.
|
|
66
71
|
* @default false
|
|
67
72
|
*/
|
|
68
73
|
iconOnly?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Adds right side spacing for an icon. This should be used when having navigation buttons
|
|
76
|
+
* that use an icon on the right side.
|
|
77
|
+
* @default false
|
|
78
|
+
*/
|
|
79
|
+
iconRight?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Optional rio-glyph icon name that comes in handy for icon only buttons for not adding
|
|
82
|
+
* a span tag for the icon which reduces boilerplate code.
|
|
83
|
+
*/
|
|
84
|
+
iconName?: string;
|
|
69
85
|
/**
|
|
70
86
|
* Defines whether the button text break into multiple lines when the button space exceeds.
|
|
71
87
|
*
|
|
@@ -82,41 +98,47 @@ export type ButtonProps = {
|
|
|
82
98
|
* Sets the button style.
|
|
83
99
|
* @default "default"
|
|
84
100
|
*/
|
|
85
|
-
bsStyle?:
|
|
101
|
+
bsStyle?: BUTTON_STYLE;
|
|
86
102
|
/**
|
|
87
103
|
* Sets the button size.
|
|
88
104
|
*/
|
|
89
|
-
bsSize?:
|
|
105
|
+
bsSize?: BUTTON_SIZE;
|
|
90
106
|
/**
|
|
91
107
|
* Sets the button variant.
|
|
92
108
|
*/
|
|
93
|
-
variant?:
|
|
109
|
+
variant?: BUTTON_VARIANT;
|
|
94
110
|
/**
|
|
95
111
|
* Whether the "ripple" effect should be suppressed on this button.
|
|
96
112
|
*/
|
|
97
113
|
noRippleEffect?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Number of the index used for keyboard support.
|
|
116
|
+
* @default 0
|
|
117
|
+
*/
|
|
118
|
+
tabIndex?: number;
|
|
98
119
|
/**
|
|
99
120
|
* Additional classes to be set on the button element.
|
|
100
121
|
*/
|
|
101
122
|
className?: string;
|
|
102
|
-
} & (
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
DEFAULT:
|
|
106
|
-
PRIMARY:
|
|
107
|
-
SECONDARY:
|
|
108
|
-
INFO:
|
|
109
|
-
WARNING:
|
|
110
|
-
DANGER:
|
|
111
|
-
SUCCESS:
|
|
112
|
-
MUTED:
|
|
113
|
-
VARIANT_LINK:
|
|
114
|
-
VARIANT_LINK_INLINE:
|
|
115
|
-
VARIANT_OUTLINE:
|
|
116
|
-
VARIANT_ACTION:
|
|
117
|
-
XS:
|
|
118
|
-
SM:
|
|
119
|
-
MD:
|
|
120
|
-
LG:
|
|
123
|
+
} & (RegularButton | ToggleButton);
|
|
124
|
+
type Props = PropsWithChildren<ButtonProps>;
|
|
125
|
+
type ButtonType = ForwardRefExoticComponent<Props & RefAttributes<HTMLButtonElement>> & {
|
|
126
|
+
DEFAULT: 'default';
|
|
127
|
+
PRIMARY: 'primary';
|
|
128
|
+
SECONDARY: 'secondary';
|
|
129
|
+
INFO: 'info';
|
|
130
|
+
WARNING: 'warning';
|
|
131
|
+
DANGER: 'danger';
|
|
132
|
+
SUCCESS: 'success';
|
|
133
|
+
MUTED: 'muted';
|
|
134
|
+
VARIANT_LINK: 'link';
|
|
135
|
+
VARIANT_LINK_INLINE: 'link-inline';
|
|
136
|
+
VARIANT_OUTLINE: 'outline';
|
|
137
|
+
VARIANT_ACTION: 'action';
|
|
138
|
+
XS: 'xs';
|
|
139
|
+
SM: 'sm';
|
|
140
|
+
MD: 'md';
|
|
141
|
+
LG: 'lg';
|
|
121
142
|
};
|
|
143
|
+
declare const Button: ButtonType;
|
|
122
144
|
export default Button;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useRef, useState } from 'react';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useRef, useState, } from 'react';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import noop from 'lodash/fp/noop';
|
|
6
6
|
import { createButtonRipple } from '../../utils/buttonEffect';
|
|
7
|
-
|
|
7
|
+
import useMergeRefs from '../../hooks/useMergeRefs';
|
|
8
|
+
export const STYLES_MAP = {
|
|
8
9
|
DEFAULT: 'default',
|
|
9
10
|
PRIMARY: 'primary',
|
|
10
11
|
SECONDARY: 'secondary',
|
|
@@ -14,23 +15,25 @@ const STYLES_MAP = {
|
|
|
14
15
|
SUCCESS: 'success',
|
|
15
16
|
MUTED: 'muted',
|
|
16
17
|
};
|
|
17
|
-
const VARIANTS_MAP = {
|
|
18
|
+
export const VARIANTS_MAP = {
|
|
18
19
|
VARIANT_LINK: 'link',
|
|
19
20
|
VARIANT_LINK_INLINE: 'link-inline',
|
|
20
21
|
VARIANT_OUTLINE: 'outline',
|
|
21
22
|
VARIANT_ACTION: 'action',
|
|
22
23
|
};
|
|
23
|
-
const SIZES_MAP = {
|
|
24
|
+
export const SIZES_MAP = {
|
|
24
25
|
XS: 'xs',
|
|
25
26
|
SM: 'sm',
|
|
26
27
|
MD: 'md',
|
|
27
28
|
LG: 'lg',
|
|
28
29
|
};
|
|
29
|
-
const Button = (props) => {
|
|
30
|
-
const { active = false, disabled = false, asToggle = false, onClick = noop, bsStyle = 'default', bsSize, variant, iconOnly = false, multiline = false, block = false, className = '', noRippleEffect = false, children } = props, remainingProps = __rest(props, ["active", "disabled", "asToggle", "onClick", "bsStyle", "bsSize", "variant", "iconOnly", "multiline", "block", "className", "noRippleEffect", "children"]);
|
|
30
|
+
const Button = forwardRef((props, ref) => {
|
|
31
|
+
const { active = false, disabled = false, asToggle = false, onClick = noop, bsStyle = 'default', bsSize, variant, iconOnly = false, iconName, iconRight = false, multiline = false, block = false, className = '', noRippleEffect = false, type = 'button', tabIndex = 0, children } = props, remainingProps = __rest(props, ["active", "disabled", "asToggle", "onClick", "bsStyle", "bsSize", "variant", "iconOnly", "iconName", "iconRight", "multiline", "block", "className", "noRippleEffect", "type", "tabIndex", "children"]);
|
|
31
32
|
const [isToggled, setIsToggled] = useState(active);
|
|
32
33
|
const btnRef = useRef(null);
|
|
34
|
+
const buttonRef = useMergeRefs(btnRef, ref);
|
|
33
35
|
// Update internal toggle state when used as controlled component and outside toggle state changes
|
|
36
|
+
// Note, using the usePrevious hook resulted in an endless loop, hence the useState here
|
|
34
37
|
const [previousActive, setPreviousActive] = useState(active);
|
|
35
38
|
if (active !== previousActive) {
|
|
36
39
|
setIsToggled(active);
|
|
@@ -54,26 +57,10 @@ const Button = (props) => {
|
|
|
54
57
|
onClick(event);
|
|
55
58
|
}
|
|
56
59
|
};
|
|
57
|
-
const buttonClassNames = classNames('btn', `btn-${bsStyle}`, variant ===
|
|
58
|
-
return (
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
Button
|
|
62
|
-
Button
|
|
63
|
-
Button.SECONDARY = STYLES_MAP.SECONDARY;
|
|
64
|
-
Button.INFO = STYLES_MAP.INFO;
|
|
65
|
-
Button.WARNING = STYLES_MAP.WARNING;
|
|
66
|
-
Button.DANGER = STYLES_MAP.DANGER;
|
|
67
|
-
Button.SUCCESS = STYLES_MAP.SUCCESS;
|
|
68
|
-
Button.MUTED = STYLES_MAP.MUTED;
|
|
69
|
-
// Button Type
|
|
70
|
-
Button.VARIANT_LINK = VARIANTS_MAP.VARIANT_LINK;
|
|
71
|
-
Button.VARIANT_LINK_INLINE = VARIANTS_MAP.VARIANT_LINK_INLINE;
|
|
72
|
-
Button.VARIANT_OUTLINE = VARIANTS_MAP.VARIANT_OUTLINE;
|
|
73
|
-
Button.VARIANT_ACTION = VARIANTS_MAP.VARIANT_ACTION;
|
|
74
|
-
// Button Size
|
|
75
|
-
Button.XS = SIZES_MAP.XS;
|
|
76
|
-
Button.SM = SIZES_MAP.SM;
|
|
77
|
-
Button.MD = SIZES_MAP.MD;
|
|
78
|
-
Button.LG = SIZES_MAP.LG;
|
|
60
|
+
const buttonClassNames = classNames('btn', `btn-${bsStyle}`, variant === VARIANTS_MAP.VARIANT_LINK && 'btn-link', variant === VARIANTS_MAP.VARIANT_LINK_INLINE && 'btn-link btn-link-inline', variant === VARIANTS_MAP.VARIANT_OUTLINE && 'btn-outline', variant === VARIANTS_MAP.VARIANT_ACTION && 'btn-action', bsSize && `btn-${bsSize}`, asToggle && 'btn-toggle', isToggled && 'active', iconOnly && 'btn-icon-only', iconRight && 'btn-icon-right', multiline && 'btn-multiline', block && 'btn-block', 'btn-component', className);
|
|
61
|
+
return (_jsxs("button", Object.assign({ ref: buttonRef, type: type }, remainingProps, { className: buttonClassNames, onClick: handleClick, disabled: disabled, tabIndex: tabIndex }, { children: [iconName && _jsx("span", { className: `rioglyph ${iconName}` }), children] })));
|
|
62
|
+
});
|
|
63
|
+
Object.assign(Button, STYLES_MAP);
|
|
64
|
+
Object.assign(Button, VARIANTS_MAP);
|
|
65
|
+
Object.assign(Button, SIZES_MAP);
|
|
79
66
|
export default Button;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type ButtonProps } from './Button';
|
|
3
|
-
export type ToggleButtonProps = Omit<ButtonProps, '
|
|
3
|
+
export type ToggleButtonProps = Omit<ButtonProps, 'onClick'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Callback function triggered when clicking the button.
|
|
6
|
+
* @param value The new value of the toggle button.
|
|
7
|
+
*/
|
|
4
8
|
onClick?: (value: boolean) => void;
|
|
5
9
|
};
|
|
6
10
|
declare const ToggleButton: (props: PropsWithChildren<ToggleButtonProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,5 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
// @ts-ignore-next-line importsNotUsedAsValues
|
|
3
3
|
import 'react';
|
|
4
4
|
import Button from './Button';
|
|
5
|
+
// @ts-ignore - the Button throws TS error due to refs that may be checked at a later point in time
|
|
5
6
|
const ToggleButton = (props) => _jsx(Button, Object.assign({}, props, { asToggle: true }));
|
|
6
7
|
export default ToggleButton;
|
|
@@ -1,3 +1,67 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CalendarStripeProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The minimum width in pixel of a single day column
|
|
5
|
+
*
|
|
6
|
+
* This value determines how many days are shown per page depending on the parent width.
|
|
7
|
+
*
|
|
8
|
+
* @default 200
|
|
9
|
+
*/
|
|
10
|
+
minDayWith?: number;
|
|
11
|
+
/**
|
|
12
|
+
* The minimum amount of days that should be shown per page.
|
|
13
|
+
*
|
|
14
|
+
* @default 1
|
|
15
|
+
*/
|
|
16
|
+
minDays?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum amount of days that should be shown per page.
|
|
19
|
+
*
|
|
20
|
+
* @default 7
|
|
21
|
+
*/
|
|
22
|
+
maxDays?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Please use `renderDay` instead.
|
|
25
|
+
*/
|
|
26
|
+
render?: React.ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* A function that renders each individual day to be displayed.
|
|
29
|
+
*
|
|
30
|
+
* @param date The day to render
|
|
31
|
+
*/
|
|
32
|
+
renderDay?: (date: Date) => React.JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* Defines whether the days for the weekends are included.
|
|
35
|
+
*
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
skipWeekends?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The date of the first day that are rendered.
|
|
41
|
+
*
|
|
42
|
+
* @default the current date
|
|
43
|
+
*/
|
|
44
|
+
startDate?: Date;
|
|
45
|
+
/**
|
|
46
|
+
* Callback function for when the next button is clicked.
|
|
47
|
+
*
|
|
48
|
+
* @param newStartDate Date value that is now the start of the stripe.
|
|
49
|
+
*/
|
|
50
|
+
onNextClick?: (newStartDate: Date) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Callback function for when the previous button is clicked.
|
|
53
|
+
*
|
|
54
|
+
* @param newStartDate Date value that is now the start of the stripe.
|
|
55
|
+
*/
|
|
56
|
+
onPreviousClick?: (newStartDate: Date) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Additional classes set to the navigation buttons.
|
|
59
|
+
*/
|
|
60
|
+
buttonClassName?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Additional classes set to the calendar element.
|
|
63
|
+
*/
|
|
64
|
+
className?: string;
|
|
65
|
+
};
|
|
66
|
+
declare const CalendarStripe: React.ForwardRefExoticComponent<CalendarStripeProps & React.RefAttributes<HTMLDivElement>>;
|
|
1
67
|
export default CalendarStripe;
|
|
2
|
-
declare const CalendarStripe: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3
|
-
import React from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React, {
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React, { forwardRef, useLayoutEffect, useRef, useState } from 'react';
|
|
4
3
|
import classNames from 'classnames';
|
|
5
4
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
5
|
+
import noop from 'lodash/noop';
|
|
6
6
|
import useAfterMount from '../../hooks/useAfterMount';
|
|
7
7
|
import useElementSize from '../../hooks/useElementSize';
|
|
8
8
|
import usePrevious from '../../hooks/usePrevious';
|
|
@@ -14,34 +14,34 @@ const ANIMATION_NEXT = 'page';
|
|
|
14
14
|
const ANIMATION_BACK = 'pageBack';
|
|
15
15
|
const ITEM_NAME = 'ColumnItem';
|
|
16
16
|
const variants = {
|
|
17
|
-
pageEnter: pageDirection => {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
pageCenter: () => {
|
|
24
|
-
return {
|
|
25
|
-
x: 0,
|
|
26
|
-
opacity: 1,
|
|
27
|
-
};
|
|
28
|
-
},
|
|
17
|
+
pageEnter: (pageDirection) => ({
|
|
18
|
+
x: pageDirection === ANIMATION_NEXT ? '60%' : '-60%',
|
|
19
|
+
opacity: 0,
|
|
20
|
+
}),
|
|
21
|
+
pageCenter: () => ({ x: 0, opacity: 1 }),
|
|
29
22
|
};
|
|
30
|
-
const getDateString = date => date.toISOString().split('T').at(0);
|
|
31
|
-
const getFirstColumnItem = node => {
|
|
23
|
+
const getDateString = (date) => date.toISOString().split('T').at(0);
|
|
24
|
+
const getFirstColumnItem = (node) => {
|
|
32
25
|
if ([...node.classList].includes(ITEM_NAME)) {
|
|
33
26
|
return node;
|
|
34
27
|
}
|
|
35
28
|
return getFirstColumnItem(node.children[0]);
|
|
36
29
|
};
|
|
37
30
|
const CalendarStripe = forwardRef((props, ref) => {
|
|
38
|
-
const { minDayWith = DEFAULT_MIN_WITH, minDays = DEFAULT_MIN_DAYS, maxDays = DEFAULT_MAX_DAYS, render, skipWeekends, startDate = new Date(), onNextClick, onPreviousClick, buttonClassName, className, } = props;
|
|
31
|
+
const { minDayWith = DEFAULT_MIN_WITH, minDays = DEFAULT_MIN_DAYS, maxDays = DEFAULT_MAX_DAYS, render, renderDay, skipWeekends = false, startDate = new Date(), onNextClick = noop, onPreviousClick = noop, buttonClassName = '', className = '', } = props;
|
|
32
|
+
if (render) {
|
|
33
|
+
console.warn('CalendarStripe has set the "render" prop deprecated. This will be removed in the upcoming releases,' +
|
|
34
|
+
' Please use the "renderDay" prop instead.');
|
|
35
|
+
}
|
|
36
|
+
if (!render && !renderDay) {
|
|
37
|
+
console.error('CalendarStripe component is missing the required "renderDay" prop');
|
|
38
|
+
}
|
|
39
39
|
const [firstDate, setFirstDate] = useState(startDate);
|
|
40
40
|
const [amountOfDaysToShow, setAmountOfDaysToShow] = useState(1);
|
|
41
41
|
const [enableInitialAnimation, setEnableInitialAnimation] = useState(false);
|
|
42
42
|
// The base for reacting on changing width of the wrapping element.
|
|
43
43
|
// It uses a ResizeObserver under the hood.
|
|
44
|
-
const columnWrapperRef = useRef();
|
|
44
|
+
const columnWrapperRef = useRef(null);
|
|
45
45
|
const [columnWrapperWidth] = useElementSize(columnWrapperRef);
|
|
46
46
|
const previous = usePrevious(getDateString(firstDate));
|
|
47
47
|
const animationDirection = getDateString(firstDate) > previous ? ANIMATION_NEXT : ANIMATION_BACK;
|
|
@@ -53,7 +53,7 @@ const CalendarStripe = forwardRef((props, ref) => {
|
|
|
53
53
|
}
|
|
54
54
|
useAfterMount(() => {
|
|
55
55
|
setEnableInitialAnimation(true);
|
|
56
|
-
});
|
|
56
|
+
}, []);
|
|
57
57
|
useLayoutEffect(() => {
|
|
58
58
|
if (!columnWrapperRef.current) {
|
|
59
59
|
return;
|
|
@@ -116,30 +116,6 @@ const CalendarStripe = forwardRef((props, ref) => {
|
|
|
116
116
|
}
|
|
117
117
|
const wrapperClassName = classNames('CalenderStripe', 'display-flex', 'align-items-center', 'overflow-hidden', 'bg-white', 'border', 'rounded', className);
|
|
118
118
|
const baseButtonClassName = classNames('align-items-center', 'align-self-stretch', 'display-flex', 'hover-scale-105', 'hover-text-color-darkest', 'padding-10', 'cursor-pointer', 'text-color-darker', 'text-size-12', buttonClassName);
|
|
119
|
-
return (_jsxs("div", Object.assign({ ref: ref, className: wrapperClassName }, { children: [_jsx("div", Object.assign({ className: baseButtonClassName, onClick: handlePrev }, { children: _jsx("span", { className: 'rioglyph rioglyph-chevron-left' }) })), _jsx("div", Object.assign({ className: 'flex-1-1 overflow-hidden', ref: columnWrapperRef }, { children: _jsx(AnimatePresence, Object.assign({ exitBeforeEnter: true, custom: animationDirection }, { children: _jsx(motion.div, Object.assign({ variants: variants, initial: enableInitialAnimation ? 'pageEnter' : false, animate: 'pageCenter', custom: animationDirection, transition: { duration: ANIMATION_DURATION } }, { children: _jsx("div", Object.assign({ className: 'ColumnWrapper display-flex space-x--1 user-select-none' }, { children: dates.map(date => (
|
|
120
|
-
date,
|
|
121
|
-
}) }), `${getDateString(date)}`))) })) }), getDateString(firstDate)) })) })), _jsx("div", Object.assign({ className: baseButtonClassName, onClick: handleNext }, { children: _jsx("span", { className: 'rioglyph rioglyph-chevron-right' }) }))] })));
|
|
119
|
+
return (_jsxs("div", Object.assign({ ref: ref, className: wrapperClassName }, { children: [_jsx("div", Object.assign({ className: baseButtonClassName, onClick: handlePrev }, { children: _jsx("span", { className: 'rioglyph rioglyph-chevron-left' }) })), _jsx("div", Object.assign({ className: 'flex-1-1 overflow-hidden', ref: columnWrapperRef }, { children: _jsx(AnimatePresence, Object.assign({ exitBeforeEnter: true, custom: animationDirection }, { children: _jsx(motion.div, Object.assign({ variants: variants, initial: enableInitialAnimation ? 'pageEnter' : false, animate: 'pageCenter', custom: animationDirection, transition: { duration: ANIMATION_DURATION } }, { children: _jsx("div", Object.assign({ className: 'ColumnWrapper display-flex space-x--1 user-select-none' }, { children: dates.map(date => (_jsxs("div", Object.assign({ className: `${ITEM_NAME} flex-1-1` }, { children: [renderDay ? renderDay(date) : null, render && React.cloneElement(_jsx(_Fragment, { children: render }), { date })] }), `${getDateString(date)}`))) })) }), getDateString(firstDate)) })) })), _jsx("div", Object.assign({ className: baseButtonClassName, onClick: handleNext }, { children: _jsx("span", { className: 'rioglyph rioglyph-chevron-right' }) }))] })));
|
|
122
120
|
});
|
|
123
|
-
CalendarStripe.defaultProps = {
|
|
124
|
-
minDayWith: DEFAULT_MIN_WITH,
|
|
125
|
-
minDays: DEFAULT_MIN_DAYS,
|
|
126
|
-
maxDays: DEFAULT_MAX_DAYS,
|
|
127
|
-
skipWeekends: false,
|
|
128
|
-
onNextClick: () => { },
|
|
129
|
-
onPreviousClick: () => { },
|
|
130
|
-
buttonClassName: '',
|
|
131
|
-
className: '',
|
|
132
|
-
};
|
|
133
|
-
CalendarStripe.propTypes = {
|
|
134
|
-
minDayWith: PropTypes.number,
|
|
135
|
-
minDays: PropTypes.number,
|
|
136
|
-
maxDays: PropTypes.number,
|
|
137
|
-
render: PropTypes.node.isRequired,
|
|
138
|
-
skipWeekends: PropTypes.bool,
|
|
139
|
-
startDate: PropTypes.instanceOf(Date),
|
|
140
|
-
onNextClick: PropTypes.func,
|
|
141
|
-
onPreviousClick: PropTypes.func,
|
|
142
|
-
buttonClassName: PropTypes.string,
|
|
143
|
-
className: PropTypes.string,
|
|
144
|
-
};
|
|
145
121
|
export default CalendarStripe;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
declare const Carousel: import("react-bootstrap/esm/helpers").BsPrefixRefForwardingComponent<"div", import("react-bootstrap/Carousel").CarouselProps> & {
|
|
2
|
+
Caption: import("react-bootstrap/esm/helpers").BsPrefixRefForwardingComponent<"div", unknown>;
|
|
3
|
+
Item: import("react-bootstrap/esm/CarouselItem").default;
|
|
4
|
+
} & {
|
|
5
|
+
PREV: 'prev';
|
|
6
|
+
NEXT: 'next';
|
|
7
|
+
};
|
|
8
|
+
export default Carousel;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// };
|
|
7
|
-
// export default Carousel;
|
|
8
|
-
import { default as _Carousel } from 'react-bootstrap/Carousel';
|
|
9
|
-
export { _Carousel as default };
|
|
1
|
+
import OriginalCarousel from 'react-bootstrap/Carousel';
|
|
2
|
+
const Carousel = OriginalCarousel;
|
|
3
|
+
Carousel.PREV = 'prev';
|
|
4
|
+
Carousel.NEXT = 'next';
|
|
5
|
+
export default Carousel;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { AreaProps as RechartsAreaProps } from 'recharts';
|
|
3
|
+
export type AreaProps = Omit<RechartsAreaProps, 'ref'> & {
|
|
4
|
+
strokeColor?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const Area: React.FC<AreaProps>;
|
|
1
7
|
export default Area;
|
|
2
|
-
declare function Area(): null;
|
|
3
|
-
declare namespace Area {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
const dataKey: string;
|
|
6
|
-
const dataUnit: string;
|
|
7
|
-
const strokeColor: string;
|
|
8
|
-
const gradientId: string;
|
|
9
|
-
const legendType: string;
|
|
10
|
-
const type: string;
|
|
11
|
-
const isAnimationActive: boolean;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AreaChart as RechartsAreaChart, type XAxisProps, type YAxisProps } from 'recharts';
|
|
3
|
+
import { type AreaGradientProps } from './AreaGradient';
|
|
4
|
+
import { type ChartTooltipProps } from './ChartTooltip';
|
|
5
|
+
import { type LegendProps } from './Legend';
|
|
6
|
+
import type { AreaProps } from './Area';
|
|
7
|
+
import type { GridProps } from './ChartGrid';
|
|
8
|
+
import type { ResponsiveContainerProps } from './ResponsiveContainer';
|
|
9
|
+
type RechartsAreaChartProps = React.ComponentProps<typeof RechartsAreaChart>;
|
|
10
|
+
export type AreaChartProps<T extends object> = Omit<RechartsAreaChartProps, 'data'> & {
|
|
11
|
+
width?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
data: T[];
|
|
14
|
+
dataUnit?: string;
|
|
15
|
+
dataKey?: string | number | ((obj: T) => any);
|
|
16
|
+
gradients?: React.ReactElement<AreaGradientProps>[];
|
|
17
|
+
areas: React.ReactElement<AreaProps>[];
|
|
18
|
+
xAxisOptions?: XAxisProps;
|
|
19
|
+
yAxisOptions?: YAxisProps;
|
|
20
|
+
gridOptions?: GridProps;
|
|
21
|
+
containerOptions?: ResponsiveContainerProps;
|
|
22
|
+
showXAxis?: boolean;
|
|
23
|
+
showYAxis?: boolean;
|
|
24
|
+
showGrid?: boolean;
|
|
25
|
+
legend?: React.ReactElement<LegendProps> | boolean;
|
|
26
|
+
tooltip?: React.ReactElement<ChartTooltipProps> | boolean;
|
|
27
|
+
brush?: boolean;
|
|
28
|
+
};
|
|
29
|
+
declare const AreaChart: <T extends object>(props: AreaChartProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
1
30
|
export default AreaChart;
|
|
2
|
-
declare function AreaChart(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace AreaChart {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
const width: number;
|
|
6
|
-
const height: number;
|
|
7
|
-
const data: never[];
|
|
8
|
-
const dataUnit: string;
|
|
9
|
-
const gradients: never[];
|
|
10
|
-
const areas: never[];
|
|
11
|
-
const showXAxis: boolean;
|
|
12
|
-
const showYAxis: boolean;
|
|
13
|
-
const showGrid: boolean;
|
|
14
|
-
const brush: boolean;
|
|
15
|
-
const tooltip: import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
}
|
|
17
|
-
}
|