@rio-cloud/rio-uikit 0.16.4-beta.2 → 0.16.4-beta.4
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/DeviceUtils.js +2 -2
- package/components/actionBarItem/ActionBarItemIcon.d.ts +1 -1
- package/components/activity/Activity.d.ts +26 -0
- package/components/animatedNumber/AnimatedNumber.d.ts +8 -0
- package/components/bottomSheet/BottomSheet.d.ts +50 -1
- package/components/bottomSheet/BottomSheet.js +9 -4
- package/components/map/utils/eventHandling.d.ts +10 -10
- package/components/map/utils/eventHandling.js +29 -29
- package/lib/es/AppNavigationBar.d.ts +2 -5
- package/lib/es/Area.d.ts +2 -5
- package/lib/es/AreaChart.d.ts +2 -5
- package/lib/es/AreaGradient.d.ts +2 -5
- package/lib/es/AssetTree.d.ts +2 -5
- package/lib/es/AutoSuggest.d.ts +2 -6
- package/lib/es/AutoSuggest.js +3 -2
- package/lib/es/Bar.d.ts +2 -8
- package/lib/es/BarChart.d.ts +2 -5
- package/lib/es/BrowserWarning.d.ts +2 -5
- package/lib/es/Button.d.ts +2 -27
- package/lib/es/ButtonDropdown.d.ts +2 -5
- package/lib/es/CalendarStripe.d.ts +2 -5
- package/lib/es/Carousel.d.ts +2 -11
- package/lib/es/ChartNeedle.d.ts +2 -5
- package/lib/es/ChartTooltip.d.ts +2 -5
- package/lib/es/Checkbox.d.ts +2 -5
- package/lib/es/Checkbox.js +3 -2
- package/lib/es/Circle.d.ts +2 -5
- package/lib/es/ClearableInput.d.ts +2 -5
- package/lib/es/ClearableInput.js +3 -2
- package/lib/es/ClusterLayer.d.ts +2 -5
- package/lib/es/ClusterMapMarker.d.ts +2 -5
- package/lib/es/ClusterUtils.d.ts +2 -5
- package/lib/es/Collapse.d.ts +2 -5
- package/lib/es/ColorScheme.d.ts +3 -4
- package/lib/es/Colors.d.ts +2 -21
- package/lib/es/ConfirmationDialog.d.ts +2 -14
- package/lib/es/ContentLoader.d.ts +2 -8
- package/lib/es/ContentLoader.js +3 -2
- package/lib/es/ContextMenu.d.ts +2 -5
- package/lib/es/ContextMenuItem.d.ts +2 -5
- package/lib/es/CustomState.d.ts +2 -5
- package/lib/es/DataTab.d.ts +2 -5
- package/lib/es/DataTabs.d.ts +2 -5
- package/lib/es/DatePicker.d.ts +2 -5
- package/lib/es/DateRangePicker.d.ts +2 -5
- package/lib/es/DeviceUtils.d.ts +13 -13
- package/lib/es/DeviceUtils.js +2 -1
- package/lib/es/Dialog.d.ts +2 -15
- package/lib/es/DomMarker.d.ts +2 -5
- package/lib/es/DropdownSubmenu.d.ts +2 -5
- package/lib/es/EditableContent.d.ts +2 -0
- package/lib/es/EditableContent.js +7 -0
- package/lib/es/EmptyState.d.ts +2 -5
- package/lib/es/ErrorState.d.ts +2 -5
- package/lib/es/EventUtils.d.ts +2 -36
- package/lib/es/ExpanderList.d.ts +2 -5
- package/lib/es/ExpanderPanel.d.ts +2 -5
- package/lib/es/Fade.d.ts +2 -14
- package/lib/es/FilePicker.d.ts +2 -9
- package/lib/es/ForbiddenState.d.ts +2 -5
- package/lib/es/ImagePreloader.d.ts +2 -5
- package/lib/es/IncidentsLayer.d.ts +2 -4
- package/lib/es/InfoDialog.d.ts +2 -5
- package/lib/es/Legend.d.ts +2 -5
- package/lib/es/Line.d.ts +2 -5
- package/lib/es/LineChart.d.ts +2 -5
- package/lib/es/ListMenu.d.ts +2 -6
- package/lib/es/MaintenanceState.d.ts +2 -5
- package/lib/es/Map.d.ts +2 -12
- package/lib/es/MapBoundingBoxButton.d.ts +2 -5
- package/lib/es/MapCenterMarkerButton.d.ts +2 -5
- package/lib/es/MapClusterSettings.d.ts +2 -5
- package/lib/es/MapCustomerPoiSettingsItem.d.ts +2 -5
- package/lib/es/MapLayerGroup.d.ts +2 -5
- package/lib/es/MapLayerIncidentsItem.d.ts +2 -5
- package/lib/es/MapLayerRoadRestrictionsItem.d.ts +2 -5
- package/lib/es/MapLayerSettings.d.ts +2 -5
- package/lib/es/MapLayerTrafficItem.d.ts +2 -5
- package/lib/es/MapLockMarkerButton.d.ts +2 -5
- package/lib/es/MapSettings.d.ts +2 -5
- package/lib/es/MapSettingsItem.d.ts +2 -5
- package/lib/es/MapSettingsPanel.d.ts +2 -5
- package/lib/es/MapSettingsTile.d.ts +2 -5
- package/lib/es/MapTypeSettings.d.ts +2 -5
- package/lib/es/MapWorkshopPoiSettingsItem.d.ts +2 -5
- package/lib/es/Marker.d.ts +2 -5
- package/lib/es/MarkerLayer.d.ts +2 -5
- package/lib/es/MediaDialog.d.ts +2 -9
- package/lib/es/MenuItem.d.ts +2 -5
- package/lib/es/Multiselect.d.ts +2 -12
- package/lib/es/NotBookedState.d.ts +2 -5
- package/lib/es/NotFoundState.d.ts +2 -5
- package/lib/es/Notification.d.ts +2 -9
- package/lib/es/NotificationsContainer.d.ts +2 -5
- package/lib/es/NumberControl.d.ts +2 -8
- package/lib/es/NumberControl.js +3 -2
- package/lib/es/NumberInput.d.ts +2 -8
- package/lib/es/NumberInput.js +3 -2
- package/lib/es/OnboardingTip.d.ts +2 -30
- package/lib/es/Pager.d.ts +2 -11
- package/lib/es/Pager.js +3 -2
- package/lib/es/PieChart.d.ts +2 -5
- package/lib/es/Polygon.d.ts +2 -5
- package/lib/es/Polyline.d.ts +2 -5
- package/lib/es/Popover.d.ts +2 -11
- package/lib/es/Position.d.ts +2 -5
- package/lib/es/PositionUtils.d.ts +2 -8
- package/lib/es/RadialBarChart.d.ts +2 -5
- package/lib/es/RadioButton.d.ts +2 -5
- package/lib/es/RangeSlider.d.ts +2 -5
- package/lib/es/ReleaseNotes.d.ts +2 -5
- package/lib/es/ReleaseNotesDialog.d.ts +2 -5
- package/lib/es/ReleaseNotesDialog.js +3 -2
- package/lib/es/Resizer.d.ts +2 -13
- package/lib/es/Resizer.js +3 -2
- package/lib/es/ResponsiveColumnStripe.d.ts +2 -5
- package/lib/es/Route.d.ts +2 -5
- package/lib/es/RuleConnector.d.ts +2 -10
- package/lib/es/RuleContainer.d.ts +2 -6
- package/lib/es/RulesWrapper.d.ts +2 -6
- package/lib/es/SaveDialog.d.ts +2 -14
- package/lib/es/Select.d.ts +2 -5
- package/lib/es/Sidebar.d.ts +2 -11
- package/lib/es/SimpleButtonDropdown.d.ts +2 -5
- package/lib/es/SimpleClusterLayer.d.ts +2 -5
- package/lib/es/SimpleDialog.d.ts +2 -14
- package/lib/es/SingleButtonDropdown.d.ts +2 -5
- package/lib/es/SingleMapMarker.d.ts +2 -5
- package/lib/es/Slider.d.ts +2 -5
- package/lib/es/SortArrowDown.d.ts +2 -5
- package/lib/es/SortArrowUp.d.ts +2 -5
- package/lib/es/SortArrows.d.ts +2 -5
- package/lib/es/SortDirection.d.ts +2 -11
- package/lib/es/SortUtils.d.ts +3 -16
- package/lib/es/Spinner.d.ts +2 -5
- package/lib/es/Spinner.js +3 -2
- package/lib/es/SplitButtonDropdown.d.ts +2 -5
- package/lib/es/SplitDialog.d.ts +2 -14
- package/lib/es/StatsWidget.d.ts +2 -10
- package/lib/es/StatsWidget.js +3 -2
- package/lib/es/StatsWidgetNumber.d.ts +2 -5
- package/lib/es/StatsWidgetNumber.js +3 -2
- package/lib/es/StatsWidgetSpacer.d.ts +2 -5
- package/lib/es/StatsWidgetSpacer.js +3 -2
- package/lib/es/StatsWidgets.d.ts +1 -5
- package/lib/es/StatsWidgets.js +5 -3
- package/lib/es/StatusBar.d.ts +2 -5
- package/lib/es/StatusBar.js +3 -2
- package/lib/es/SteppedProgressBar.d.ts +2 -9
- package/lib/es/SubNavigation.d.ts +2 -5
- package/lib/es/Switch.d.ts +2 -8
- package/lib/es/Switch.js +3 -2
- package/lib/es/TableCardsSorting.d.ts +2 -5
- package/lib/es/TableSearch.d.ts +2 -5
- package/lib/es/TableSettingsDialog.d.ts +2 -5
- package/lib/es/TableToolbar.d.ts +2 -5
- package/lib/es/TableViewToggles.d.ts +2 -12
- package/lib/es/Tag.d.ts +2 -5
- package/lib/es/TagList.d.ts +2 -5
- package/lib/es/TagManager.d.ts +2 -5
- package/lib/es/Teaser.d.ts +2 -5
- package/lib/es/TeaserContainer.d.ts +2 -5
- package/lib/es/TextMarker.d.ts +2 -5
- package/lib/es/TimePicker.d.ts +2 -5
- package/lib/es/ToggleButton.d.ts +2 -5
- package/lib/es/TrafficLayer.d.ts +2 -4
- package/lib/es/Tree.d.ts +2 -5
- package/lib/es/TreeCategory.d.ts +2 -5
- package/lib/es/TreeOption.d.ts +2 -5
- package/lib/es/TreeSearch.d.ts +2 -5
- package/lib/es/TreeSummary.d.ts +2 -5
- package/lib/es/TruckLayer.d.ts +2 -4
- package/lib/es/TypeCounter.d.ts +2 -5
- package/lib/es/VolkswagenApplicationHeader.d.ts +2 -5
- package/lib/es/components/actionBarItem/ActionBarItem.d.ts +21 -0
- package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
- package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +4 -1
- package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +19 -2
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +4 -1
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +7 -1
- package/lib/es/components/activity/Activity.d.ts +27 -0
- package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +8 -0
- package/lib/es/components/applicationHeader/AppMenu.d.ts +1 -1
- package/lib/es/components/applicationHeader/AppMenu.js +2 -2
- package/lib/es/components/applicationHeader/AppMenuContent.d.ts +1 -1
- package/lib/es/components/applicationHeader/AppMenuDropdown.d.ts +1 -1
- package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +1 -1
- package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +52 -1
- package/lib/es/components/applicationHeader/MobileAppMenu.d.ts +1 -1
- package/lib/es/components/applicationHeader/MobileHeaderModal.d.ts +1 -1
- package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.d.ts +1 -1
- package/lib/es/components/applicationHeader/NavItems.d.ts +1 -1
- package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +7 -1
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +29 -2
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +15 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +15 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +3 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutHeader.d.ts +3 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.d.ts +3 -0
- package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +4 -1
- package/lib/es/components/assetTree/Tree.js +1 -2
- package/lib/es/components/assetTree/TreeLeafList.d.ts +1 -1
- package/lib/es/components/assetTree/TreeNodeContainer.d.ts +1 -1
- package/lib/es/components/assetTree/TreeNothingFound.d.ts +1 -1
- package/lib/es/components/assetTree/TreeOption.d.ts +1 -1
- package/lib/es/components/assetTree/TreeOption.js +2 -2
- package/lib/es/components/assetTree/TreeOptions.d.ts +1 -1
- package/lib/es/components/assetTree/TreeOptions.js +2 -2
- package/lib/es/components/assetTree/TreeRoot.d.ts +1 -1
- package/lib/es/components/assetTree/TreeSelectAll.d.ts +1 -1
- package/lib/es/components/assetTree/TreeSummary.js +1 -1
- package/lib/es/components/assetTree/TypeCounter.js +2 -2
- package/lib/es/components/autosuggest/AutoSuggest.d.ts +200 -115
- package/lib/es/components/autosuggest/AutoSuggest.js +144 -258
- package/lib/es/components/autosuggest/AutoSuggestAddons.d.ts +8 -0
- package/lib/es/components/autosuggest/AutoSuggestAddons.js +9 -0
- package/lib/es/components/autosuggest/DropdownSpinner.d.ts +4 -0
- package/lib/es/components/autosuggest/DropdownSpinner.js +8 -0
- package/lib/es/components/autosuggest/NoItemMessage.d.ts +5 -0
- package/lib/es/components/autosuggest/NoItemMessage.js +7 -0
- package/lib/es/components/bottomSheet/BottomSheet.d.ts +50 -1
- package/lib/es/components/bottomSheet/BottomSheet.js +9 -4
- package/lib/es/components/browserWarning/BrowserIcons.d.ts +2 -2
- package/lib/es/components/browserWarning/BrowserWarning.d.ts +1 -1
- package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +1 -1
- package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +1 -1
- package/lib/es/components/button/Button.d.ts +1 -1
- package/lib/es/components/button/ToggleButton.d.ts +1 -1
- package/lib/es/components/carousel/CarouselCaption.d.ts +1 -1
- package/lib/es/components/carousel/CarouselItem.d.ts +1 -1
- package/lib/es/components/charts/AreaChart.d.ts +2 -2
- package/lib/es/components/charts/AreaGradient.d.ts +1 -1
- package/lib/es/components/charts/BarChart.d.ts +2 -2
- package/lib/es/components/charts/ChartNeedle.d.ts +1 -1
- package/lib/es/components/charts/LineChart.d.ts +2 -2
- package/lib/es/components/charts/PieChart.d.ts +3 -3
- package/lib/es/components/charts/RadialBarChart.d.ts +2 -2
- package/lib/es/components/checkbox/Checkbox.d.ts +126 -56
- package/lib/es/components/checkbox/Checkbox.js +25 -65
- package/lib/es/components/checkbox/CheckboxIcon.d.ts +9 -0
- package/lib/es/components/checkbox/CheckboxIcon.js +15 -0
- package/lib/es/components/clearableInput/ClearableInput.d.ts +95 -58
- package/lib/es/components/clearableInput/ClearableInput.js +47 -97
- package/lib/es/components/collapse/Collapse.d.ts +1 -1
- package/lib/es/components/contentLoader/ContentLoader.d.ts +54 -32
- package/lib/es/components/contentLoader/ContentLoader.js +36 -33
- package/lib/es/components/dataTabs/DataTabs.d.ts +1 -1
- package/lib/es/components/datepicker/DateRangePicker.d.ts +6 -6
- package/lib/es/components/dialog/ConfirmationDialog.d.ts +1 -1
- package/lib/es/components/dialog/Dialog.js +14 -3
- package/lib/es/components/dialog/DialogBody.d.ts +1 -1
- package/lib/es/components/dialog/DialogFooter.d.ts +1 -1
- package/lib/es/components/dialog/DialogHeader.d.ts +1 -1
- package/lib/es/components/dialog/InfoDialog.d.ts +1 -1
- package/lib/es/components/dialog/MediaDialog.d.ts +6 -6
- package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +1 -1
- package/lib/es/components/dialog/SaveDialog.d.ts +1 -1
- package/lib/es/components/dialog/SimpleDialog.d.ts +1 -1
- package/lib/es/components/dialog/SplitDialog.d.ts +1 -1
- package/lib/es/components/driverName/DriverName.d.ts +1 -1
- package/lib/es/components/dropdown/ButtonDropdown.d.ts +1 -1
- package/lib/es/components/dropdown/Caret.d.ts +1 -1
- package/lib/es/components/dropdown/DropdownSubmenu.d.ts +1 -1
- package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +1 -1
- package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +1 -1
- package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +1 -1
- package/lib/es/components/editableContent/EditableContent.d.ts +86 -0
- package/lib/es/components/editableContent/EditableContent.js +112 -0
- package/lib/es/components/expander/ExpanderList.d.ts +3 -3
- package/lib/es/components/expander/ExpanderPanel.d.ts +1 -1
- package/lib/es/components/fade/Fade.d.ts +1 -1
- package/lib/es/components/filepicker/FilePicker.d.ts +1 -1
- package/lib/es/components/listMenu/ListMenu.d.ts +1 -1
- package/lib/es/components/loadMore/LoadMoreButton.d.ts +31 -3
- package/lib/es/components/loadMore/LoadMoreProgress.d.ts +1 -1
- package/lib/es/components/map/components/Map.d.ts +1 -1
- package/lib/es/components/map/components/features/MapSettings.d.ts +1 -1
- package/lib/es/components/map/components/features/Route.d.ts +1 -1
- package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +1 -1
- package/lib/es/components/map/components/features/basics/marker/TextMarker.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +1 -1
- package/lib/es/components/map/utils/eventHandling.d.ts +10 -10
- package/lib/es/components/map/utils/eventHandling.js +30 -30
- package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +1 -1
- package/lib/es/components/mapMarker/SingleMapMarker.d.ts +1 -1
- package/lib/es/components/menuItems/MenuItem.d.ts +13 -24
- package/lib/es/components/menuItems/MenuItem.js +8 -23
- package/lib/es/components/navigation/AppNavigationBar.js +1 -1
- package/lib/es/components/noData/NoData.d.ts +27 -2
- package/lib/es/components/notification/NotificationsContainer.d.ts +1 -1
- package/lib/es/components/numberControl/NumberControl.d.ts +4 -2
- package/lib/es/components/numberControl/NumberControl.js +22 -34
- package/lib/es/components/numberInput/NumberInput.d.ts +76 -9
- package/lib/es/components/numberInput/NumberInput.js +80 -47
- package/lib/es/components/overlay/OverlayTrigger.d.ts +4 -16
- package/lib/es/components/overlay/OverlayTrigger.js +4 -2
- package/lib/es/components/pager/Pager.d.ts +52 -24
- package/lib/es/components/pager/Pager.js +10 -20
- package/lib/es/components/position/Position.d.ts +1 -1
- package/lib/es/components/radiobutton/RadioButton.d.ts +1 -1
- package/lib/es/components/radiobutton/RadioButton.js +3 -3
- package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +34 -8
- package/lib/es/components/releaseNotes/ReleaseNotes.js +8 -18
- package/lib/es/components/resizer/Resizer.d.ts +57 -64
- package/lib/es/components/resizer/Resizer.js +109 -109
- package/lib/es/components/rules/RuleConnector.d.ts +1 -1
- package/lib/es/components/rules/RuleContainer.d.ts +1 -1
- package/lib/es/components/rules/RulesWrapper.d.ts +1 -1
- package/lib/es/components/saveableInput/SaveableInput.d.ts +34 -2
- package/lib/es/components/selects/BaseDropdownMenu.d.ts +2 -2
- package/lib/es/components/selects/DropdownHeader.d.ts +1 -1
- package/lib/es/components/selects/Multiselect.d.ts +7 -7
- package/lib/es/components/selects/Select.d.ts +7 -7
- package/lib/es/components/sidebars/Sidebar.d.ts +1 -1
- package/lib/es/components/slider/RangeSlider.d.ts +1 -1
- package/lib/es/components/slider/Slider.d.ts +1 -1
- package/lib/es/components/spinner/Spinner.d.ts +47 -27
- package/lib/es/components/spinner/Spinner.js +12 -31
- package/lib/es/components/states/CustomState.d.ts +1 -1
- package/lib/es/components/states/EmptyState.d.ts +1 -1
- package/lib/es/components/states/ErrorState.d.ts +1 -1
- package/lib/es/components/states/ForbiddenState.d.ts +1 -1
- package/lib/es/components/states/MaintenanceState.d.ts +1 -1
- package/lib/es/components/states/NotBookedState.d.ts +1 -1
- package/lib/es/components/states/NotFoundState.d.ts +1 -1
- package/lib/es/components/statsWidget/StatsWidget.d.ts +25 -21
- package/lib/es/components/statsWidget/StatsWidget.js +8 -16
- package/lib/es/components/statsWidget/StatsWidgetBody.d.ts +13 -12
- package/lib/es/components/statsWidget/StatsWidgetBody.js +6 -13
- package/lib/es/components/statsWidget/StatsWidgetFooter.d.ts +9 -2
- package/lib/es/components/statsWidget/StatsWidgetFooter.js +6 -5
- package/lib/es/components/statsWidget/StatsWidgetHeader.d.ts +8 -1
- package/lib/es/components/statsWidget/StatsWidgetHeader.js +5 -4
- package/lib/es/components/statsWidget/StatsWidgetNumber.d.ts +30 -20
- package/lib/es/components/statsWidget/StatsWidgetNumber.js +6 -19
- package/lib/es/components/statsWidget/StatsWidgetSpacer.d.ts +7 -1
- package/lib/es/components/statsWidget/StatsWidgetSpacer.js +4 -4
- package/lib/es/components/statsWidget/StatsWidgets.d.ts +8 -7
- package/lib/es/components/statsWidget/StatsWidgets.js +5 -8
- package/lib/es/components/statusBar/StatusBar.d.ts +32 -54
- package/lib/es/components/statusBar/StatusBar.js +51 -127
- package/lib/es/components/statusBar/StatusBar.types.d.ts +85 -0
- package/lib/es/components/statusBar/StatusBar.types.js +2 -0
- package/lib/es/components/statusBar/StatusBarConstants.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarConstants.js +16 -0
- package/lib/es/components/statusBar/StatusBarIcon.d.ts +7 -0
- package/lib/es/components/statusBar/StatusBarIcon.js +19 -0
- package/lib/es/components/statusBar/StatusBarLabel.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarLabel.js +23 -0
- package/lib/es/components/statusBar/StatusBarProgressBar.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarProgressBar.js +21 -0
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +1 -1
- package/lib/es/components/switch/Switch.d.ts +50 -28
- package/lib/es/components/switch/Switch.js +11 -27
- package/lib/es/components/table/SortArrows.d.ts +3 -3
- package/lib/es/components/table/TableCardsSorting.d.ts +1 -1
- package/lib/es/components/table/TableSearch.d.ts +1 -1
- package/lib/es/components/table/TableSettingsColumnButtons.d.ts +1 -1
- package/lib/es/components/table/TableSettingsColumnDetails.d.ts +1 -1
- package/lib/es/components/table/TableSettingsDialog.d.ts +4 -4
- package/lib/es/components/table/TableSettingsDialogFooter.d.ts +1 -1
- package/lib/es/components/table/TableSettingsListContainer.d.ts +1 -1
- package/lib/es/components/table/TableSettingsListItem.d.ts +1 -1
- package/lib/es/components/table/TableToolbar.d.ts +1 -1
- package/lib/es/components/table/TableViewToggles.d.ts +1 -1
- package/lib/es/components/tag/Tag.d.ts +1 -1
- package/lib/es/components/tag/TagList.d.ts +1 -1
- package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +1 -1
- package/lib/es/components/tagManager/TagManager.d.ts +1 -1
- package/lib/es/components/tagManager/TagManagerItemList.d.ts +1 -1
- package/lib/es/components/teaser/Teaser.d.ts +8 -8
- package/lib/es/components/teaser/TeaserContainer.d.ts +1 -1
- package/lib/es/components/timepicker/TimePicker.d.ts +1 -1
- package/lib/es/components/tooltip/SimpleTooltip.d.ts +1 -1
- package/lib/es/components/video/ResponsiveVideo.d.ts +25 -5
- package/lib/es/components/video/ResponsiveVideo.js +4 -2
- package/lib/es/framer-motion.d.ts +1 -1
- package/lib/es/hooks/useEsc.d.ts +2 -1
- package/lib/es/hooks/useEsc.js +2 -2
- package/lib/es/hooks/useEvent.d.ts +2 -1
- package/lib/es/hooks/useEvent.js +9 -4
- package/lib/es/hooks/useFocusTrap.d.ts +16 -0
- package/lib/es/hooks/useFocusTrap.js +64 -0
- package/lib/es/hooks/useHover.d.ts +3 -0
- package/lib/es/hooks/useHover.js +31 -0
- package/lib/es/hooks/useKey.d.ts +3 -1
- package/lib/es/hooks/useKey.js +8 -4
- package/lib/es/hooks/usePrevious.d.ts +21 -1
- package/lib/es/hooks/usePrevious.js +30 -11
- package/lib/es/index.d.ts +35 -31
- package/lib/es/index.js +58 -35
- package/lib/es/types.d.ts +1 -239
- package/lib/es/types.js +1 -19
- package/lib/es/useAfterMount.d.ts +2 -4
- package/lib/es/useClickOutside.d.ts +2 -4
- package/lib/es/useClipboard.d.ts +2 -4
- package/lib/es/useDarkMode.d.ts +2 -4
- package/lib/es/useDebugInfo.d.ts +2 -4
- package/lib/es/useEffectOnce.d.ts +2 -4
- package/lib/es/useElementSize.d.ts +2 -4
- package/lib/es/useEsc.d.ts +1 -4
- package/lib/es/useEsc.js +5 -3
- package/lib/es/useEvent.d.ts +1 -4
- package/lib/es/useEvent.js +5 -3
- package/lib/es/useFocusTrap.d.ts +1 -0
- package/lib/es/useFocusTrap.js +8 -0
- package/lib/es/useFullscreen.d.ts +2 -4
- package/lib/es/useHover.d.ts +1 -0
- package/lib/es/useHover.js +8 -0
- package/lib/es/useInterval.d.ts +2 -4
- package/lib/es/useKey.d.ts +1 -4
- package/lib/es/useKey.js +5 -3
- package/lib/es/useLocalStorage.d.ts +2 -4
- package/lib/es/useMutationObserver.d.ts +2 -4
- package/lib/es/useOnScreen.d.ts +2 -4
- package/lib/es/useOnlineStatus.d.ts +2 -4
- package/lib/es/usePrevious.d.ts +2 -4
- package/lib/es/usePrevious.js +3 -2
- package/lib/es/useRenderCount.d.ts +2 -4
- package/lib/es/useResizeObserver.d.ts +2 -4
- package/lib/es/useScrollPosition.d.ts +2 -4
- package/lib/es/useSessionStorage.d.ts +2 -4
- package/lib/es/useStateWithValidation.d.ts +2 -4
- package/lib/es/useTimeout.d.ts +2 -4
- package/lib/es/useWindowResize.d.ts +2 -4
- package/lib/es/utils/buttonEffect.js +7 -2
- package/lib/es/utils/colorScheme.d.ts +1 -1
- package/lib/es/utils/darkModeCDN.d.ts +1 -1
- package/lib/es/utils/deviceUtils.d.ts +1 -0
- package/lib/es/utils/deviceUtils.js +3 -1
- package/lib/es/utils/getDropDirection.d.ts +2 -4
- package/lib/es/utils/getDropDirection.js +12 -8
- package/lib/es/utils/init.d.ts +2 -2
- package/lib/es/utils/init.js +29 -6
- package/lib/es/utils/logDeprecatedWarnings.d.ts +8 -2
- package/lib/es/utils/logDeprecatedWarnings.js +2 -3
- package/lib/es/utils/useDropDirection.d.ts +12 -0
- package/lib/es/utils/useDropDirection.js +26 -0
- package/lib/es/version.json +1 -1
- package/package.json +1 -1
- package/utils/buttonEffect.js +2 -1
- package/utils/deviceUtils.d.ts +1 -0
- package/utils/deviceUtils.js +1 -0
- package/version.json +1 -1
package/lib/es/types.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { Moment } from 'moment';
|
|
|
4
4
|
import type { TooltipWidth } from './components/tooltip/Tooltip';
|
|
5
5
|
import type { Placement } from './values/Placement';
|
|
6
6
|
import type { TextAlignment } from './values/TextAlignment';
|
|
7
|
+
import type { ClearableInputProps } from './components/clearableInput/ClearableInput';
|
|
7
8
|
export interface AppNavigationBarProps {
|
|
8
9
|
ref?: React.MutableRefObject<object>;
|
|
9
10
|
title?: string | React.ReactNode;
|
|
@@ -59,47 +60,6 @@ export interface AssetTreeProps {
|
|
|
59
60
|
className?: string;
|
|
60
61
|
children?: TreeCategoryProps[];
|
|
61
62
|
}
|
|
62
|
-
export interface AutoSuggestSuggestion {
|
|
63
|
-
[name: string]: any;
|
|
64
|
-
}
|
|
65
|
-
export interface AutoSuggestInputProps {
|
|
66
|
-
onChange?: (changeEvent: React.SyntheticEvent, changeProps: {
|
|
67
|
-
newValue: string;
|
|
68
|
-
}) => void;
|
|
69
|
-
onClear: () => void;
|
|
70
|
-
className?: string;
|
|
71
|
-
placeholder?: string | JSX.Element;
|
|
72
|
-
icon?: string;
|
|
73
|
-
hasError?: boolean;
|
|
74
|
-
tabIndex?: number;
|
|
75
|
-
value?: string;
|
|
76
|
-
disabled?: boolean;
|
|
77
|
-
readOnly?: boolean;
|
|
78
|
-
onBlur?: Function;
|
|
79
|
-
inputRef?: Function;
|
|
80
|
-
autoComplete?: string;
|
|
81
|
-
}
|
|
82
|
-
export interface AutoSuggestProps {
|
|
83
|
-
className?: string;
|
|
84
|
-
inputProps: AutoSuggestInputProps;
|
|
85
|
-
suggestions: AutoSuggestSuggestion[];
|
|
86
|
-
noItemMessage?: string | JSX.Element;
|
|
87
|
-
onSuggestionsFetchRequested: (argument: {
|
|
88
|
-
value: string;
|
|
89
|
-
}) => void;
|
|
90
|
-
onSuggestionSelected: (indexOfClickedItemInDropdownList: number, selectedSuggestion: SelectedSuggestion) => void;
|
|
91
|
-
renderSuggestion?: (suggestion: AutoSuggestSuggestion) => JSX.Element;
|
|
92
|
-
onSuggestionHighlighted?: () => void;
|
|
93
|
-
getSuggestionValue?: (suggestion: AutoSuggestSuggestion) => string;
|
|
94
|
-
dropup?: boolean;
|
|
95
|
-
pullRight?: boolean;
|
|
96
|
-
autoDropDirection?: boolean;
|
|
97
|
-
dropdownClassName?: string;
|
|
98
|
-
isLoading?: boolean;
|
|
99
|
-
openOnFocus?: boolean;
|
|
100
|
-
leadingInputAddons?: React.ReactNode[];
|
|
101
|
-
trailingInputAddons?: React.ReactNode[];
|
|
102
|
-
}
|
|
103
63
|
export interface BaseStateProps {
|
|
104
64
|
icon?: string;
|
|
105
65
|
icons?: object[];
|
|
@@ -229,40 +189,6 @@ export interface ChartNeedleProps {
|
|
|
229
189
|
}
|
|
230
190
|
export interface ChartTooltip {
|
|
231
191
|
}
|
|
232
|
-
export interface CheckboxProps {
|
|
233
|
-
id?: string;
|
|
234
|
-
name?: string;
|
|
235
|
-
label?: string | React.ReactNode;
|
|
236
|
-
checked?: string | boolean;
|
|
237
|
-
defaultChecked?: string | boolean;
|
|
238
|
-
disabled?: boolean;
|
|
239
|
-
required?: boolean;
|
|
240
|
-
indeterminate?: boolean;
|
|
241
|
-
inline?: boolean;
|
|
242
|
-
right?: boolean;
|
|
243
|
-
custom?: boolean;
|
|
244
|
-
onClick?: Function;
|
|
245
|
-
error?: boolean;
|
|
246
|
-
size?: string;
|
|
247
|
-
tabIndex?: number;
|
|
248
|
-
className?: string;
|
|
249
|
-
children?: any;
|
|
250
|
-
}
|
|
251
|
-
export interface ClearableInputProps {
|
|
252
|
-
className?: string;
|
|
253
|
-
inputClassName?: string;
|
|
254
|
-
onChange?: Function;
|
|
255
|
-
onBlur?: Function;
|
|
256
|
-
onClear?: Function;
|
|
257
|
-
onKeyPress?: Function;
|
|
258
|
-
placeholder?: string | React.ReactNode;
|
|
259
|
-
type?: string;
|
|
260
|
-
defaultValue?: string | React.ReactNode;
|
|
261
|
-
value?: string | React.ReactNode;
|
|
262
|
-
maxLength?: number;
|
|
263
|
-
autoComplete?: string;
|
|
264
|
-
inputRef?: React.RefObject<HTMLInputElement>;
|
|
265
|
-
}
|
|
266
192
|
export interface ClusterTheme {
|
|
267
193
|
getNoisePresentation: Function;
|
|
268
194
|
getClusterPresentation: Function;
|
|
@@ -311,16 +237,6 @@ export interface ContextMenuProps {
|
|
|
311
237
|
contextMenuEvent?: object;
|
|
312
238
|
targetPosition?: object;
|
|
313
239
|
}
|
|
314
|
-
export interface ContentLoaderProps {
|
|
315
|
-
speed?: number;
|
|
316
|
-
height?: string | React.ReactNode;
|
|
317
|
-
width?: string | number;
|
|
318
|
-
type?: 'rect' | 'circle';
|
|
319
|
-
radius?: number;
|
|
320
|
-
title?: string;
|
|
321
|
-
className?: string;
|
|
322
|
-
children?: React.ReactNode;
|
|
323
|
-
}
|
|
324
240
|
export interface ConfirmationDialogProps {
|
|
325
241
|
show: boolean;
|
|
326
242
|
title: string | React.ReactNode;
|
|
@@ -824,38 +740,6 @@ export interface NotBookedStateProps {
|
|
|
824
740
|
}
|
|
825
741
|
export interface NotFoundStateProps extends BaseStateProps {
|
|
826
742
|
}
|
|
827
|
-
export interface NumberControlProps {
|
|
828
|
-
min?: number;
|
|
829
|
-
max?: number;
|
|
830
|
-
value?: number;
|
|
831
|
-
step?: number;
|
|
832
|
-
disabled?: boolean;
|
|
833
|
-
onChange?: (value: number) => void;
|
|
834
|
-
onValueChanged?: (value: number) => void;
|
|
835
|
-
bsSize?: 'sm' | 'lg';
|
|
836
|
-
className?: string;
|
|
837
|
-
unit?: string | React.ReactNode;
|
|
838
|
-
inputAddon?: string;
|
|
839
|
-
digitPrecision?: number;
|
|
840
|
-
placeholder?: string;
|
|
841
|
-
ref?: React.MutableRefObject<object>;
|
|
842
|
-
}
|
|
843
|
-
export interface NumberInputProps {
|
|
844
|
-
min?: number;
|
|
845
|
-
max?: number;
|
|
846
|
-
value?: number;
|
|
847
|
-
step?: number;
|
|
848
|
-
disabled?: boolean;
|
|
849
|
-
onChange?: (value: number) => void;
|
|
850
|
-
onValueChanged?: (value: number) => void;
|
|
851
|
-
bsSize?: 'sm' | 'lg';
|
|
852
|
-
className?: string;
|
|
853
|
-
unit?: string | React.ReactNode;
|
|
854
|
-
inputAddon?: string;
|
|
855
|
-
placeholder?: string;
|
|
856
|
-
digitPrecision?: number;
|
|
857
|
-
ref?: React.MutableRefObject<object>;
|
|
858
|
-
}
|
|
859
743
|
export interface OnboardingTipProps {
|
|
860
744
|
id?: string | number;
|
|
861
745
|
placement?: Placement;
|
|
@@ -878,19 +762,6 @@ export type delayProp = {
|
|
|
878
762
|
show: number;
|
|
879
763
|
hide: number;
|
|
880
764
|
};
|
|
881
|
-
export declare enum PagerVariant {
|
|
882
|
-
VARIANT_FULL = "full",
|
|
883
|
-
VARIANT_COMPACT = "compact"
|
|
884
|
-
}
|
|
885
|
-
export interface PagerProps {
|
|
886
|
-
title: string | React.ReactNode;
|
|
887
|
-
label?: string | React.ReactNode;
|
|
888
|
-
alignRight?: boolean;
|
|
889
|
-
variant?: 'full' | 'compact' | PagerVariant.VARIANT_FULL | PagerVariant.VARIANT_COMPACT;
|
|
890
|
-
disabled?: boolean;
|
|
891
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => any;
|
|
892
|
-
className?: string;
|
|
893
|
-
}
|
|
894
765
|
export interface PieChartProps {
|
|
895
766
|
width?: number;
|
|
896
767
|
height?: number;
|
|
@@ -1001,14 +872,6 @@ export interface ResponsiveColumnStripeProps {
|
|
|
1001
872
|
disableAnimation?: boolean;
|
|
1002
873
|
children?: React.ReactNode;
|
|
1003
874
|
}
|
|
1004
|
-
export interface ReleaseNotesProps {
|
|
1005
|
-
releaseNotes: {
|
|
1006
|
-
[key: string]: {
|
|
1007
|
-
date: string;
|
|
1008
|
-
content: (HTMLElement | React.ReactElement)[];
|
|
1009
|
-
};
|
|
1010
|
-
};
|
|
1011
|
-
}
|
|
1012
875
|
export interface ReleaseNotesDialogProps {
|
|
1013
876
|
showReleaseNotes: boolean;
|
|
1014
877
|
setShowReleaseNotes: (show: boolean) => void;
|
|
@@ -1025,24 +888,6 @@ export interface ReleaseNotesDialogProps {
|
|
|
1025
888
|
RELEASE_NOTES_ITEM: string;
|
|
1026
889
|
useOverflow?: boolean;
|
|
1027
890
|
}
|
|
1028
|
-
export declare enum ResizerDirection {
|
|
1029
|
-
HORIZONTAL = "x",
|
|
1030
|
-
VERTICAL = "y"
|
|
1031
|
-
}
|
|
1032
|
-
export declare enum ResizerPosition {
|
|
1033
|
-
LEFT = "left",
|
|
1034
|
-
RIGHT = "right",
|
|
1035
|
-
TOP = "top",
|
|
1036
|
-
BOTTOM = "bottom"
|
|
1037
|
-
}
|
|
1038
|
-
export interface ResizerProps {
|
|
1039
|
-
className?: string;
|
|
1040
|
-
direction: 'x' | 'y' | ResizerDirection.HORIZONTAL | ResizerDirection.VERTICAL;
|
|
1041
|
-
position: 'top' | 'right' | 'bottom' | 'left' | ResizerPosition.TOP | ResizerPosition.RIGHT | ResizerPosition.BOTTOM | ResizerPosition.LEFT;
|
|
1042
|
-
onResizeStart?: Function;
|
|
1043
|
-
onResize: Function;
|
|
1044
|
-
onResizeEnd?: Function;
|
|
1045
|
-
}
|
|
1046
891
|
export interface RioBootstrapTableProps {
|
|
1047
892
|
selectedElements?: any[];
|
|
1048
893
|
enableRowSelection?: boolean;
|
|
@@ -1102,11 +947,6 @@ export interface RuleConnectorProps {
|
|
|
1102
947
|
borderColor?: string;
|
|
1103
948
|
className?: string;
|
|
1104
949
|
}
|
|
1105
|
-
export interface SelectedSuggestion {
|
|
1106
|
-
highlightedItemIndex: -1;
|
|
1107
|
-
suggestionValue: string | React.ReactElement;
|
|
1108
|
-
suggestion: AutoSuggestSuggestion;
|
|
1109
|
-
}
|
|
1110
950
|
export interface SelectOption {
|
|
1111
951
|
id: string;
|
|
1112
952
|
label: string | React.ReactNode;
|
|
@@ -1278,15 +1118,6 @@ export interface SaveDialogProps {
|
|
|
1278
1118
|
bodyClassName?: string;
|
|
1279
1119
|
showCloseButton?: boolean;
|
|
1280
1120
|
}
|
|
1281
|
-
export interface SpinnerProps {
|
|
1282
|
-
isInverse?: boolean;
|
|
1283
|
-
isDoubleSized?: boolean;
|
|
1284
|
-
isFullSized?: boolean;
|
|
1285
|
-
isFullScreen?: boolean;
|
|
1286
|
-
isInline?: boolean;
|
|
1287
|
-
show?: boolean;
|
|
1288
|
-
text?: string;
|
|
1289
|
-
}
|
|
1290
1121
|
export declare enum SortDirection {
|
|
1291
1122
|
ASCENDING = "asc",
|
|
1292
1123
|
DESCENDING = "desc"
|
|
@@ -1298,61 +1129,6 @@ export interface SortArrowUpProps {
|
|
|
1298
1129
|
}
|
|
1299
1130
|
export interface SortArrowDownProps {
|
|
1300
1131
|
}
|
|
1301
|
-
export interface StatusBarProps {
|
|
1302
|
-
icon?: {
|
|
1303
|
-
name: string;
|
|
1304
|
-
alignment?: 'left' | 'right';
|
|
1305
|
-
color?: string;
|
|
1306
|
-
className?: string;
|
|
1307
|
-
};
|
|
1308
|
-
label?: {
|
|
1309
|
-
value: string | React.ReactNode;
|
|
1310
|
-
alignment?: 'left' | 'top' | 'right';
|
|
1311
|
-
weight?: 'bold' | 'light';
|
|
1312
|
-
color?: string;
|
|
1313
|
-
className?: string;
|
|
1314
|
-
};
|
|
1315
|
-
progress?: {
|
|
1316
|
-
percentage: number;
|
|
1317
|
-
color?: string;
|
|
1318
|
-
tooltip?: string | React.ReactNode;
|
|
1319
|
-
tooltipPosition?: 'top' | 'right' | 'bottom' | 'left';
|
|
1320
|
-
tooltipDelay?: number;
|
|
1321
|
-
className?: string;
|
|
1322
|
-
}[];
|
|
1323
|
-
size?: 'small' | 'large';
|
|
1324
|
-
useProgressDivider?: boolean;
|
|
1325
|
-
className?: string;
|
|
1326
|
-
}
|
|
1327
|
-
export interface StatsWidgetsProps {
|
|
1328
|
-
className?: string;
|
|
1329
|
-
}
|
|
1330
|
-
export interface StatsWidgetProps {
|
|
1331
|
-
onFilterReset?: Function;
|
|
1332
|
-
hasFilter?: boolean;
|
|
1333
|
-
className?: string;
|
|
1334
|
-
}
|
|
1335
|
-
export interface StatsWidgetHeaderProps {
|
|
1336
|
-
className?: string;
|
|
1337
|
-
}
|
|
1338
|
-
export interface StatsWidgetBodyProps {
|
|
1339
|
-
className?: string;
|
|
1340
|
-
fullWidth?: boolean;
|
|
1341
|
-
}
|
|
1342
|
-
export interface StatsWidgetFooterProps {
|
|
1343
|
-
className?: string;
|
|
1344
|
-
}
|
|
1345
|
-
export interface StatsWidgetSpacerProps {
|
|
1346
|
-
className?: string;
|
|
1347
|
-
}
|
|
1348
|
-
export interface StatsWidgetNumberProps {
|
|
1349
|
-
value: string | number | React.ReactNode;
|
|
1350
|
-
total?: string | number | React.ReactNode;
|
|
1351
|
-
label?: string | React.ReactNode;
|
|
1352
|
-
clickable?: boolean;
|
|
1353
|
-
onClick?: Function;
|
|
1354
|
-
className?: string;
|
|
1355
|
-
}
|
|
1356
1132
|
export interface SteppedProgressBarProps {
|
|
1357
1133
|
disableFollowingPages?: number;
|
|
1358
1134
|
onSelectedChanged: (selectedKey: number) => void;
|
|
@@ -1361,16 +1137,6 @@ export interface SteppedProgressBarProps {
|
|
|
1361
1137
|
mobileBreakpoint?: boolean;
|
|
1362
1138
|
variant?: 'circle' | 'rectangle' | 'roadsign';
|
|
1363
1139
|
}
|
|
1364
|
-
export interface SwitchProps {
|
|
1365
|
-
keyName?: string;
|
|
1366
|
-
onChange: (toggleState: boolean) => void;
|
|
1367
|
-
checked?: boolean;
|
|
1368
|
-
minWidth?: number;
|
|
1369
|
-
disabled?: boolean;
|
|
1370
|
-
enabledText?: string;
|
|
1371
|
-
disabledText?: string;
|
|
1372
|
-
labelPosition?: 'left' | 'right';
|
|
1373
|
-
}
|
|
1374
1140
|
interface TableCardsSortingOption {
|
|
1375
1141
|
id: string;
|
|
1376
1142
|
label: string | React.ReactNode;
|
|
@@ -1618,8 +1384,6 @@ export type UseEffectOnce = (callback: () => void) => void;
|
|
|
1618
1384
|
export type UseElementSize = (elementRef: {
|
|
1619
1385
|
current: Element;
|
|
1620
1386
|
}) => [number, number];
|
|
1621
|
-
export type UseEsc<T extends keyof WindowEventMap> = (callback: (event: WindowEventMap[T]) => any) => void;
|
|
1622
|
-
export type UseEvent<T extends keyof WindowEventMap> = (eventType: T, callback: (event: WindowEventMap[T]) => any, options?: boolean | AddEventListenerOptions, target?: HTMLElement) => void;
|
|
1623
1387
|
type EventCallback = (this: Document, event_: any) => any;
|
|
1624
1388
|
type OnChangeEventCallback = (this: Document, event_: any, isOpen: boolean) => any;
|
|
1625
1389
|
type RequestFullscreenOptions = {
|
|
@@ -1640,7 +1404,6 @@ type FullscreenApi = {
|
|
|
1640
1404
|
};
|
|
1641
1405
|
export type UseFullscreen = ({}: FullScreenOptions) => FullscreenApi | undefined;
|
|
1642
1406
|
export type UseInterval = (callback: () => void, delay?: number) => React.MutableRefObject<object>;
|
|
1643
|
-
export type UseKey<T extends keyof WindowEventMap> = (callback: (event: WindowEventMap[T]) => any, eventTypes?: [T], node?: any) => void;
|
|
1644
1407
|
export type UseOnlineStatus = () => boolean;
|
|
1645
1408
|
export type UseOnScreen = (ref: React.MutableRefObject<object>, options?: {
|
|
1646
1409
|
rootMargins?: string;
|
|
@@ -1654,7 +1417,6 @@ export type UseSessionStorage = (key: string, defaultValue: any) => [any, Functi
|
|
|
1654
1417
|
export type UseTimeout = (callback: () => void, delay?: number) => React.MutableRefObject<object>;
|
|
1655
1418
|
export type UseWindowResize = (callback: () => void, timeout?: number) => void;
|
|
1656
1419
|
export type UseDarkMode = () => boolean;
|
|
1657
|
-
export type UsePrevious = <T>(state: T | undefined | null) => T | undefined | null;
|
|
1658
1420
|
export type UseMutationObserver = (targetElement: HTMLElement | React.MutableRefObject<object> | null | undefined, callback: MutationCallback | undefined, options?: {
|
|
1659
1421
|
attributes?: boolean;
|
|
1660
1422
|
childList?: boolean;
|
package/lib/es/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TableViewTogglesValues = exports.SortDirection = exports.
|
|
3
|
+
exports.TableViewTogglesValues = exports.SortDirection = exports.MapType = void 0;
|
|
4
4
|
var MapType;
|
|
5
5
|
(function (MapType) {
|
|
6
6
|
MapType["TYPE_DEFAULT"] = "DEFAULT";
|
|
@@ -9,24 +9,6 @@ var MapType;
|
|
|
9
9
|
MapType["TYPE_TERRAIN"] = "TERRAIN";
|
|
10
10
|
MapType["TYPE_NIGHT"] = "NIGHT";
|
|
11
11
|
})(MapType = exports.MapType || (exports.MapType = {}));
|
|
12
|
-
// P --------------------------------------------------------------------------------------------------
|
|
13
|
-
var PagerVariant;
|
|
14
|
-
(function (PagerVariant) {
|
|
15
|
-
PagerVariant["VARIANT_FULL"] = "full";
|
|
16
|
-
PagerVariant["VARIANT_COMPACT"] = "compact";
|
|
17
|
-
})(PagerVariant = exports.PagerVariant || (exports.PagerVariant = {}));
|
|
18
|
-
var ResizerDirection;
|
|
19
|
-
(function (ResizerDirection) {
|
|
20
|
-
ResizerDirection["HORIZONTAL"] = "x";
|
|
21
|
-
ResizerDirection["VERTICAL"] = "y";
|
|
22
|
-
})(ResizerDirection = exports.ResizerDirection || (exports.ResizerDirection = {}));
|
|
23
|
-
var ResizerPosition;
|
|
24
|
-
(function (ResizerPosition) {
|
|
25
|
-
ResizerPosition["LEFT"] = "left";
|
|
26
|
-
ResizerPosition["RIGHT"] = "right";
|
|
27
|
-
ResizerPosition["TOP"] = "top";
|
|
28
|
-
ResizerPosition["BOTTOM"] = "bottom";
|
|
29
|
-
})(ResizerPosition = exports.ResizerPosition || (exports.ResizerPosition = {}));
|
|
30
12
|
var SortDirection;
|
|
31
13
|
(function (SortDirection) {
|
|
32
14
|
SortDirection["ASCENDING"] = "asc";
|
package/lib/es/useClipboard.d.ts
CHANGED
package/lib/es/useDarkMode.d.ts
CHANGED
package/lib/es/useDebugInfo.d.ts
CHANGED
package/lib/es/useEsc.d.ts
CHANGED
package/lib/es/useEsc.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.default = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return useEsc_1.default; } });
|
|
7
|
+
var useEsc_1 = require("./hooks/useEsc");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(useEsc_1).default; } });
|
package/lib/es/useEvent.d.ts
CHANGED
package/lib/es/useEvent.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.default = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return useEvent_1.default; } });
|
|
7
|
+
var useEvent_1 = require("./hooks/useEvent");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(useEvent_1).default; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './hooks/useFocusTrap';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var useFocusTrap_1 = require("./hooks/useFocusTrap");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(useFocusTrap_1).default; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './hooks/useHover';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var useHover_1 = require("./hooks/useHover");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(useHover_1).default; } });
|
package/lib/es/useInterval.d.ts
CHANGED
package/lib/es/useKey.d.ts
CHANGED
package/lib/es/useKey.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.default = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return useKey_1.default; } });
|
|
7
|
+
var useKey_1 = require("./hooks/useKey");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(useKey_1).default; } });
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default UseMutationObserver;
|
|
4
|
-
}
|
|
1
|
+
export { _useMutationObserver as default };
|
|
2
|
+
import { default as _useMutationObserver } from "./hooks/useMutationObserver";
|
package/lib/es/useOnScreen.d.ts
CHANGED
package/lib/es/usePrevious.d.ts
CHANGED
package/lib/es/usePrevious.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return usePrevious_1.default; } });
|
|
5
|
+
var usePrevious_1 = require("./hooks/usePrevious");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(usePrevious_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./hooks/usePrevious"), exports);
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default UseResizeObserver;
|
|
4
|
-
}
|
|
1
|
+
export { _useResizeObserver as default };
|
|
2
|
+
import { default as _useResizeObserver } from "./hooks/useResizeObserver";
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default UseScrollPosition;
|
|
4
|
-
}
|
|
1
|
+
export { _useScrollPosition as default };
|
|
2
|
+
import { default as _useScrollPosition } from "./hooks/useScrollPosition";
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default UseStateWithValidation;
|
|
4
|
-
}
|
|
1
|
+
export { _useStateWithValidation as default };
|
|
2
|
+
import { default as _useStateWithValidation } from "./hooks/useStateWithValidation";
|
package/lib/es/useTimeout.d.ts
CHANGED