@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
|
@@ -2,25 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
-
const StatsWidgetNumber = props => {
|
|
9
|
-
const { value, total, label, className, clickable } = props, remainingProps = tslib_1.__rest(props, ["value", "total", "label", "className", "clickable"]);
|
|
10
|
-
const
|
|
11
|
-
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({}, remainingProps, { className:
|
|
12
|
-
};
|
|
13
|
-
StatsWidgetNumber.defaultProps = {
|
|
14
|
-
value: 0,
|
|
15
|
-
clickable: false,
|
|
16
|
-
onClick: () => { },
|
|
17
|
-
};
|
|
18
|
-
StatsWidgetNumber.propTypes = {
|
|
19
|
-
value: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.number, prop_types_1.default.node]).isRequired,
|
|
20
|
-
total: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.number, prop_types_1.default.node]),
|
|
21
|
-
label: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
22
|
-
clickable: prop_types_1.default.bool,
|
|
23
|
-
onClick: prop_types_1.default.func,
|
|
24
|
-
className: prop_types_1.default.string,
|
|
8
|
+
const StatsWidgetNumber = (props) => {
|
|
9
|
+
const { value = 0, total, label, className, clickable = false, onClick = () => { } } = props, remainingProps = tslib_1.__rest(props, ["value", "total", "label", "className", "clickable", "onClick"]);
|
|
10
|
+
const wrapperClasses = (0, classnames_1.default)('StatsWidgetNumber', { 'cursor-pointer': clickable }, className);
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({}, remainingProps, { onClick: onClick, className: wrapperClasses }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'StatsWidgetNumber-counter' }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'StatsWidgetNumber-value' }, { children: value })), total && (0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'StatsWidgetNumber-total' }, { children: total }))] })), label && (0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'StatsWidgetNumber-label' }, { children: label }))] })));
|
|
25
12
|
};
|
|
26
13
|
exports.default = StatsWidgetNumber;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
export type StatsWidgetSpacerProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Additional class names to be added to the element.
|
|
4
|
+
*/
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const StatsWidgetSpacer: (props: StatsWidgetSpacerProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
8
|
export default StatsWidgetSpacer;
|
|
2
|
-
declare function StatsWidgetSpacer(props: any): JSX.Element;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
5
|
+
require("react");
|
|
6
6
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
7
|
-
const StatsWidgetSpacer = props => {
|
|
7
|
+
const StatsWidgetSpacer = (props) => {
|
|
8
8
|
const { className } = props, remainingProps = tslib_1.__rest(props, ["className"]);
|
|
9
|
-
const
|
|
10
|
-
return (0, jsx_runtime_1.jsx)("div", Object.assign({}, remainingProps, { className:
|
|
9
|
+
const wrapperClasses = (0, classnames_1.default)('StatsWidget-body-column-spacer', className);
|
|
10
|
+
return (0, jsx_runtime_1.jsx)("div", Object.assign({}, remainingProps, { className: wrapperClasses }));
|
|
11
11
|
};
|
|
12
12
|
exports.default = StatsWidgetSpacer;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
|
+
export type StatsWidgetsProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Additional class names to be added to the element.
|
|
5
|
+
*/
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const StatsWidgets: (props: PropsWithChildren<StatsWidgetsProps>) => import("react/jsx-runtime").JSX.Element;
|
|
1
9
|
export default StatsWidgets;
|
|
2
|
-
declare function StatsWidgets(props: any): JSX.Element;
|
|
3
|
-
declare namespace StatsWidgets {
|
|
4
|
-
namespace propTypes {
|
|
5
|
-
const className: PropTypes.Requireable<string>;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
import PropTypes from "prop-types";
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
-
const StatsWidgets = props => {
|
|
8
|
+
const StatsWidgets = (props) => {
|
|
9
9
|
const { children, className } = props, remainingProps = tslib_1.__rest(props, ["children", "className"]);
|
|
10
|
-
const
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)("div", Object.assign({}, remainingProps, { className:
|
|
12
|
-
};
|
|
13
|
-
StatsWidgets.propTypes = {
|
|
14
|
-
className: prop_types_1.default.string,
|
|
10
|
+
const wrapperClasses = (0, classnames_1.default)('StatsWidget-wrapper', className);
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({}, remainingProps, { className: wrapperClasses }, { children: children })));
|
|
15
12
|
};
|
|
16
13
|
exports.default = StatsWidgets;
|
|
@@ -1,55 +1,33 @@
|
|
|
1
|
+
import type { StatusBarIconSpec, StatusBarLabelSpec, StatusBarProgress } from './StatusBar.types';
|
|
2
|
+
export type StatusBarProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The icon to be shown next to the progress bar.
|
|
5
|
+
*/
|
|
6
|
+
icon?: StatusBarIconSpec;
|
|
7
|
+
/**
|
|
8
|
+
* The label to be shown for the progress bar.
|
|
9
|
+
*/
|
|
10
|
+
label?: StatusBarLabelSpec;
|
|
11
|
+
/**
|
|
12
|
+
* List of progress bars which will be stacked in given order if there are multiple.
|
|
13
|
+
*/
|
|
14
|
+
progress?: StatusBarProgress[];
|
|
15
|
+
/**
|
|
16
|
+
* The size of the icon and progress bar.
|
|
17
|
+
*
|
|
18
|
+
* @default 'small'
|
|
19
|
+
*/
|
|
20
|
+
size?: 'small' | 'large';
|
|
21
|
+
/**
|
|
22
|
+
* Uses a divider for multiple progress bars when defined.
|
|
23
|
+
*
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
useProgressDivider?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Optional class names for the wrapper element.
|
|
29
|
+
*/
|
|
30
|
+
className?: string;
|
|
31
|
+
};
|
|
32
|
+
declare const StatusBar: (props: StatusBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
33
|
export default StatusBar;
|
|
2
|
-
declare function StatusBar(props: any): JSX.Element;
|
|
3
|
-
declare namespace StatusBar {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
export { SMALL as size };
|
|
6
|
-
export const useProgressDivider: boolean;
|
|
7
|
-
export namespace icon {
|
|
8
|
-
export const name: string;
|
|
9
|
-
export { LEFT as alignment };
|
|
10
|
-
}
|
|
11
|
-
export namespace label {
|
|
12
|
-
export const value: string;
|
|
13
|
-
export { RIGHT as alignment };
|
|
14
|
-
export { BOLD as weight };
|
|
15
|
-
}
|
|
16
|
-
export const progress: never[];
|
|
17
|
-
export const className: string;
|
|
18
|
-
}
|
|
19
|
-
namespace propTypes {
|
|
20
|
-
const icon_1: PropTypes.Requireable<PropTypes.InferProps<{
|
|
21
|
-
name: PropTypes.Validator<string>;
|
|
22
|
-
alignment: PropTypes.Requireable<"right" | "left">;
|
|
23
|
-
color: PropTypes.Requireable<string>;
|
|
24
|
-
className: PropTypes.Requireable<string>;
|
|
25
|
-
}>>;
|
|
26
|
-
export { icon_1 as icon };
|
|
27
|
-
const label_1: PropTypes.Requireable<PropTypes.InferProps<{
|
|
28
|
-
value: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
29
|
-
alignment: PropTypes.Requireable<"top" | "right" | "left">;
|
|
30
|
-
weight: PropTypes.Requireable<string>;
|
|
31
|
-
color: PropTypes.Requireable<string>;
|
|
32
|
-
className: PropTypes.Requireable<string>;
|
|
33
|
-
}>>;
|
|
34
|
-
export { label_1 as label };
|
|
35
|
-
const progress_1: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
36
|
-
percentage: PropTypes.Validator<number>;
|
|
37
|
-
tooltip: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
38
|
-
tooltipPosition: PropTypes.Requireable<"top" | "right" | "bottom" | "left">;
|
|
39
|
-
tooltipDelay: PropTypes.Requireable<number>;
|
|
40
|
-
color: PropTypes.Requireable<string>;
|
|
41
|
-
className: PropTypes.Requireable<string>;
|
|
42
|
-
}> | null | undefined)[]>;
|
|
43
|
-
export { progress_1 as progress };
|
|
44
|
-
const useProgressDivider_1: PropTypes.Requireable<boolean>;
|
|
45
|
-
export { useProgressDivider_1 as useProgressDivider };
|
|
46
|
-
export const size: PropTypes.Requireable<string>;
|
|
47
|
-
const className_1: PropTypes.Requireable<string>;
|
|
48
|
-
export { className_1 as className };
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
declare const SMALL: "small";
|
|
52
|
-
declare const LEFT: "left";
|
|
53
|
-
declare const RIGHT: "right";
|
|
54
|
-
declare const BOLD: "bold";
|
|
55
|
-
import PropTypes from "prop-types";
|
|
@@ -2,134 +2,58 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
8
|
+
const StatusBarConstants_1 = require("./StatusBarConstants");
|
|
9
|
+
const StatusBarProgressBar_1 = tslib_1.__importDefault(require("./StatusBarProgressBar"));
|
|
10
|
+
const StatusBarIcon_1 = tslib_1.__importDefault(require("./StatusBarIcon"));
|
|
11
|
+
const StatusBarLabel_1 = tslib_1.__importDefault(require("./StatusBarLabel"));
|
|
12
|
+
const iconDefaults = { name: '', alignment: StatusBarConstants_1.LEFT };
|
|
13
|
+
const labelDefaults = { value: '', alignment: StatusBarConstants_1.RIGHT, weight: StatusBarConstants_1.BOLD };
|
|
14
|
+
const StatusBar = (props) => {
|
|
15
|
+
const { progress = [], size = StatusBarConstants_1.SMALL, className = '', useProgressDivider = true } = props;
|
|
16
|
+
// deep destructuring with merging default props don't work
|
|
17
|
+
const icon = Object.assign(Object.assign({}, iconDefaults), props.icon);
|
|
18
|
+
const label = Object.assign(Object.assign({}, labelDefaults), props.label);
|
|
19
|
+
const hasIcon = !!icon.name;
|
|
20
|
+
const iconIsLeft = icon.alignment === StatusBarConstants_1.LEFT;
|
|
21
|
+
const iconIsRight = icon.alignment === StatusBarConstants_1.RIGHT;
|
|
22
|
+
const hasLabel = !!label.value;
|
|
23
|
+
const labelIsLeft = label.alignment === StatusBarConstants_1.LEFT;
|
|
24
|
+
const labelIsTop = label.alignment === StatusBarConstants_1.TOP;
|
|
25
|
+
const labelIsRight = label.alignment === StatusBarConstants_1.RIGHT;
|
|
26
|
+
const hasOnlyIcon = hasIcon && !hasLabel;
|
|
27
|
+
const hasOnlyLabel = !hasIcon && hasLabel;
|
|
28
|
+
const hasIconAndLabel = hasIcon && hasLabel;
|
|
29
|
+
const isIconLeftAndLabelRight = hasIconAndLabel && iconIsLeft && labelIsRight;
|
|
30
|
+
const isIconRightAndLabelLeft = hasIconAndLabel && iconIsRight && labelIsLeft;
|
|
31
|
+
const isIconAndLabelLeft = hasIconAndLabel && iconIsLeft && labelIsLeft;
|
|
32
|
+
const isIconAndLabelRight = hasIconAndLabel && iconIsRight && labelIsRight;
|
|
33
|
+
const isIconOnlyLeft = hasOnlyIcon && iconIsLeft;
|
|
34
|
+
const isIconOnlyRight = hasOnlyIcon && iconIsRight;
|
|
35
|
+
const isLabelOnlyLeft = hasOnlyLabel && labelIsLeft;
|
|
36
|
+
const isLabelOnlyRight = hasOnlyLabel && labelIsRight;
|
|
37
|
+
const wrapperClasses = (0, classnames_1.default)('StatusBar', 'width-100pct', 'display-flex', labelIsTop ? 'align-items-end' : 'align-items-center', className);
|
|
38
|
+
const progressLabelWrapperClasses = (0, classnames_1.default)('display-flex', 'flex-1-0', {
|
|
39
|
+
'flex-order-1 flex-column margin-bottom-10': labelIsTop,
|
|
40
|
+
'flex-order-1 align-items-center': isIconAndLabelRight || isIconRightAndLabelLeft || isIconOnlyRight,
|
|
41
|
+
'flex-order-2 align-items-center': isIconAndLabelLeft || isIconLeftAndLabelRight || isIconOnlyLeft,
|
|
42
|
+
'align-items-center': isLabelOnlyLeft || isLabelOnlyRight,
|
|
34
43
|
});
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
const getIsLabelOnly = (label, icon) => label.value && !icon.name;
|
|
50
|
-
const getIsLabelOnlyLeft = (isLabelOnly, labelAlignment) => isLabelOnly && labelAlignment === LEFT;
|
|
51
|
-
const getIsLabelOnlyRight = (isLabelOnly, labelAlignment) => isLabelOnly && labelAlignment === RIGHT;
|
|
52
|
-
const renderIcon = (icon, size) => {
|
|
53
|
-
if (!icon.name) {
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
const iconColor = getIconColorClassName(icon);
|
|
57
|
-
const iconAlignment = getIconAlignment(icon);
|
|
58
|
-
const iconWrapperClasses = (0, classnames_1.default)(iconAlignment === LEFT && 'flex-order-1 margin-right-5', iconAlignment === RIGHT && 'flex-order-2 margin-left-5');
|
|
59
|
-
const iconClasses = (0, classnames_1.default)('rioglyph', icon.name && icon.name, iconColor, size === SMALL && 'text-size-h3', size === LARGE && 'text-size-h2', icon.className && icon.className);
|
|
60
|
-
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: iconWrapperClasses }, { children: (0, jsx_runtime_1.jsx)("span", { className: iconClasses }) })));
|
|
61
|
-
};
|
|
62
|
-
const renderLabel = (label, size, labelWrapperClasses) => {
|
|
63
|
-
if (!label.value) {
|
|
64
|
-
return null;
|
|
65
|
-
}
|
|
66
|
-
const labelColor = getLabelColorClassName(label);
|
|
67
|
-
const labelAlignment = getLabelAlignment(label);
|
|
68
|
-
const labelClasses = (0, classnames_1.default)('display-flex', 'ellipsis-1', 'flex-1-0', 'justify-content-center', labelAlignment === TOP && 'width-0', labelColor, size === SMALL && 'text-size-16', size === LARGE && 'text-size-h3', label.weight !== LIGHT && 'text-bold', label.className && label.className);
|
|
69
|
-
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: labelWrapperClasses }, { children: (0, jsx_runtime_1.jsx)("span", Object.assign({ className: labelClasses }, { children: label.value })) })));
|
|
70
|
-
};
|
|
71
|
-
// eslint-disable-next-line complexity
|
|
72
|
-
const StatusBar = props => {
|
|
73
|
-
const { progress = [], icon, label, size, className, useProgressDivider } = props;
|
|
74
|
-
// Default values for icon and label alignment
|
|
75
|
-
const iconAlignment = getIconAlignment(icon);
|
|
76
|
-
const labelAlignment = getLabelAlignment(label);
|
|
77
|
-
const isIconLeftAndLabelRight = getIsIconLeftAndLabelRight(icon, iconAlignment, label, labelAlignment);
|
|
78
|
-
const isIconRightAndLabelLeft = getIsIconRightAndLabelLeft(icon, iconAlignment, label, labelAlignment);
|
|
79
|
-
const isIconAndLabelLeft = getIsIconAndLabelLeft(icon, iconAlignment, label, labelAlignment);
|
|
80
|
-
const isIconAndLabelRight = getIsIconAndLabelRight(icon, iconAlignment, label, labelAlignment);
|
|
81
|
-
const isIconOnly = getIsIconOnly(label, icon);
|
|
82
|
-
const isIconOnlyLeft = getIsIconOnlyLeft(isIconOnly, iconAlignment);
|
|
83
|
-
const isIconOnlyRight = getIsIconOnlyRight(isIconOnly, iconAlignment);
|
|
84
|
-
const isLabelOnly = getIsLabelOnly(label, icon);
|
|
85
|
-
const isLabelOnlyLeft = getIsLabelOnlyLeft(isLabelOnly, labelAlignment);
|
|
86
|
-
const isLabelOnlyRight = getIsLabelOnlyRight(isLabelOnly, labelAlignment);
|
|
87
|
-
const wrapperClasses = (0, classnames_1.default)('StatusBar', 'width-100pct', 'display-flex', getLabelAlignmentClassName(label), className);
|
|
88
|
-
const progressLabelWrapperClasses = (0, classnames_1.default)('display-flex', 'flex-1-0', labelAlignment === TOP && 'flex-order-1 flex-column margin-bottom-10', isIconAndLabelRight && 'flex-order-1 align-items-center', isIconAndLabelLeft && 'flex-order-2 align-items-center', isIconLeftAndLabelRight && 'flex-order-2 align-items-center', isIconRightAndLabelLeft && 'flex-order-1 align-items-center', isLabelOnlyLeft && 'align-items-center', isLabelOnlyRight && 'align-items-center', isIconOnlyLeft && 'flex-order-2 align-items-center', isIconOnlyRight && 'flex-order-1 align-items-center');
|
|
89
|
-
const labelWrapperClasses = (0, classnames_1.default)(labelAlignment === TOP && 'display-flex justify-content-center', isIconAndLabelLeft && 'flex-order-1 margin-right-10', isIconAndLabelRight && 'flex-order-2 margin-left-10', isIconLeftAndLabelRight && 'flex-order-2 margin-left-10', isIconRightAndLabelLeft && 'flex-order-1 margin-right-10', isLabelOnlyLeft && 'flex-order-1 margin-right-10', isLabelOnlyRight && 'flex-order-2 margin-left-10');
|
|
90
|
-
const progressOuterWrapperClasses = (0, classnames_1.default)('display-flex', 'flex-1-0', isIconAndLabelLeft && 'flex-order-2', isIconAndLabelRight && 'flex-order-1', isIconLeftAndLabelRight && 'flex-order-1', isIconRightAndLabelLeft && 'flex-order-2', isLabelOnlyLeft && 'flex-order-2', isLabelOnlyRight && 'flex-order-1');
|
|
91
|
-
const progressWrapperClasses = (0, classnames_1.default)('progress', 'margin-0', 'flex-1-0', getProgressBarHightClassName(size));
|
|
92
|
-
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: wrapperClasses }, { children: [renderIcon(icon, size), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: progressLabelWrapperClasses }, { children: [renderLabel(label, size, labelWrapperClasses), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: progressOuterWrapperClasses }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: progressWrapperClasses }, { children: renderAllProgressBars(progress, useProgressDivider) })) }))] }))] })));
|
|
93
|
-
};
|
|
94
|
-
StatusBar.defaultProps = {
|
|
95
|
-
size: SMALL,
|
|
96
|
-
useProgressDivider: true,
|
|
97
|
-
icon: {
|
|
98
|
-
name: '',
|
|
99
|
-
alignment: LEFT,
|
|
100
|
-
},
|
|
101
|
-
label: {
|
|
102
|
-
value: '',
|
|
103
|
-
alignment: RIGHT,
|
|
104
|
-
weight: BOLD,
|
|
105
|
-
},
|
|
106
|
-
progress: [],
|
|
107
|
-
className: '',
|
|
108
|
-
};
|
|
109
|
-
StatusBar.propTypes = {
|
|
110
|
-
icon: prop_types_1.default.shape({
|
|
111
|
-
name: prop_types_1.default.string.isRequired,
|
|
112
|
-
alignment: prop_types_1.default.oneOf([LEFT, RIGHT]),
|
|
113
|
-
color: prop_types_1.default.string,
|
|
114
|
-
className: prop_types_1.default.string,
|
|
115
|
-
}),
|
|
116
|
-
label: prop_types_1.default.shape({
|
|
117
|
-
value: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]).isRequired,
|
|
118
|
-
alignment: prop_types_1.default.oneOf([LEFT, TOP, RIGHT]),
|
|
119
|
-
weight: prop_types_1.default.oneOf([LIGHT, BOLD]),
|
|
120
|
-
color: prop_types_1.default.string,
|
|
121
|
-
className: prop_types_1.default.string,
|
|
122
|
-
}),
|
|
123
|
-
progress: prop_types_1.default.arrayOf(prop_types_1.default.shape({
|
|
124
|
-
percentage: prop_types_1.default.number.isRequired,
|
|
125
|
-
tooltip: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
126
|
-
tooltipPosition: prop_types_1.default.oneOf([TOP, BOTTOM, LEFT, RIGHT]),
|
|
127
|
-
tooltipDelay: prop_types_1.default.number,
|
|
128
|
-
color: prop_types_1.default.string,
|
|
129
|
-
className: prop_types_1.default.string,
|
|
130
|
-
})),
|
|
131
|
-
useProgressDivider: prop_types_1.default.bool,
|
|
132
|
-
size: prop_types_1.default.oneOf([SMALL, LARGE]),
|
|
133
|
-
className: prop_types_1.default.string,
|
|
44
|
+
const labelWrapperClasses = (0, classnames_1.default)({
|
|
45
|
+
'display-flex justify-content-center': labelIsTop,
|
|
46
|
+
'flex-order-1 margin-right-10': isIconAndLabelLeft || isIconRightAndLabelLeft || isLabelOnlyLeft,
|
|
47
|
+
'flex-order-2 margin-left-10': isIconAndLabelRight || isIconLeftAndLabelRight || isLabelOnlyRight,
|
|
48
|
+
});
|
|
49
|
+
const progressOuterWrapperClasses = (0, classnames_1.default)('display-flex', 'flex-1-0', {
|
|
50
|
+
'flex-order-2': isIconAndLabelLeft || isIconRightAndLabelLeft || isLabelOnlyLeft,
|
|
51
|
+
'flex-order-1': isIconAndLabelRight || isIconLeftAndLabelRight || isLabelOnlyRight,
|
|
52
|
+
});
|
|
53
|
+
const progressWrapperClasses = (0, classnames_1.default)('progress', 'margin-0', 'flex-1-0', {
|
|
54
|
+
'height-5': size === StatusBarConstants_1.SMALL,
|
|
55
|
+
'height-10': size === StatusBarConstants_1.LARGE,
|
|
56
|
+
});
|
|
57
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: wrapperClasses }, { children: [(0, jsx_runtime_1.jsx)(StatusBarIcon_1.default, { icon: icon, size: size }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: progressLabelWrapperClasses }, { children: [(0, jsx_runtime_1.jsx)(StatusBarLabel_1.default, { label: label, size: size, className: labelWrapperClasses }), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: progressOuterWrapperClasses }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: progressWrapperClasses }, { children: progress.map((item, index) => ((0, jsx_runtime_1.jsx)(StatusBarProgressBar_1.default, { progress: item, index: index, useProgressDivider: useProgressDivider }, index))) })) }))] }))] })));
|
|
134
58
|
};
|
|
135
59
|
exports.default = StatusBar;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type StatusBarIconSpec = {
|
|
3
|
+
/**
|
|
4
|
+
* The class name of the icon i.e. "rioglyph-cruise-control".
|
|
5
|
+
*/
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* The position of the icon.
|
|
9
|
+
*
|
|
10
|
+
* @default 'left'
|
|
11
|
+
*/
|
|
12
|
+
alignment?: 'left' | 'right';
|
|
13
|
+
/**
|
|
14
|
+
* The text color class name for the icon.
|
|
15
|
+
*
|
|
16
|
+
* @default 'text-color-gray'
|
|
17
|
+
*/
|
|
18
|
+
color?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional class names for the icon.
|
|
21
|
+
*/
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
24
|
+
export type StatusBarLabelSpec = {
|
|
25
|
+
/**
|
|
26
|
+
* The label content.
|
|
27
|
+
*/
|
|
28
|
+
value: string | ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* The position of the icon.
|
|
31
|
+
*
|
|
32
|
+
* @default 'right'
|
|
33
|
+
*/
|
|
34
|
+
alignment?: 'left' | 'top' | 'right';
|
|
35
|
+
/**
|
|
36
|
+
* The text weight of the label.
|
|
37
|
+
*
|
|
38
|
+
* @default 'bold'
|
|
39
|
+
*/
|
|
40
|
+
weight?: 'light' | 'bold';
|
|
41
|
+
/**
|
|
42
|
+
* The text color class name for the label.
|
|
43
|
+
*
|
|
44
|
+
* @default 'text-color-gray'
|
|
45
|
+
*/
|
|
46
|
+
color?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Optional class names for the label.
|
|
49
|
+
*/
|
|
50
|
+
className?: string;
|
|
51
|
+
};
|
|
52
|
+
export type StatusBarProgress = {
|
|
53
|
+
/**
|
|
54
|
+
* The percentage of the progress.
|
|
55
|
+
*
|
|
56
|
+
* @default 0
|
|
57
|
+
*/
|
|
58
|
+
percentage?: number;
|
|
59
|
+
/**
|
|
60
|
+
* The color class name for the label.
|
|
61
|
+
*
|
|
62
|
+
* @default 'progress-bar-info'
|
|
63
|
+
*/
|
|
64
|
+
color?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Optional tooltip content to be shown for the progress bar.
|
|
67
|
+
*/
|
|
68
|
+
tooltip?: string | ReactNode;
|
|
69
|
+
/**
|
|
70
|
+
* The position of the tooltip for the progress bar.
|
|
71
|
+
*
|
|
72
|
+
* @default 'top'
|
|
73
|
+
*/
|
|
74
|
+
tooltipPosition?: 'top' | 'right' | 'bottom' | 'left';
|
|
75
|
+
/**
|
|
76
|
+
* The delay in milliseconds for when the tooltip is shown when hovering the progress bar.
|
|
77
|
+
*
|
|
78
|
+
* @default 50
|
|
79
|
+
*/
|
|
80
|
+
tooltipDelay?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Optional class names for the progress bar.
|
|
83
|
+
*/
|
|
84
|
+
className?: string;
|
|
85
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const LEFT: "left";
|
|
2
|
+
export declare const TOP: "top";
|
|
3
|
+
export declare const RIGHT: "right";
|
|
4
|
+
export declare const BOTTOM: "bottom";
|
|
5
|
+
export declare const SMALL = "small";
|
|
6
|
+
export declare const LARGE = "large";
|
|
7
|
+
export declare const LIGHT = "light";
|
|
8
|
+
export declare const BOLD = "bold";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BOLD = exports.LIGHT = exports.LARGE = exports.SMALL = exports.BOTTOM = exports.RIGHT = exports.TOP = exports.LEFT = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const OverlayTrigger_1 = tslib_1.__importDefault(require("../overlay/OverlayTrigger"));
|
|
6
|
+
// alignment / position
|
|
7
|
+
exports.LEFT = OverlayTrigger_1.default.LEFT;
|
|
8
|
+
exports.TOP = OverlayTrigger_1.default.TOP;
|
|
9
|
+
exports.RIGHT = OverlayTrigger_1.default.RIGHT;
|
|
10
|
+
exports.BOTTOM = OverlayTrigger_1.default.BOTTOM;
|
|
11
|
+
// icon size
|
|
12
|
+
exports.SMALL = 'small';
|
|
13
|
+
exports.LARGE = 'large';
|
|
14
|
+
// font weight
|
|
15
|
+
exports.LIGHT = 'light';
|
|
16
|
+
exports.BOLD = 'bold';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { StatusBarIconSpec } from './StatusBar.types';
|
|
2
|
+
type StatusBarIconProps = {
|
|
3
|
+
icon: StatusBarIconSpec;
|
|
4
|
+
size: 'small' | 'large';
|
|
5
|
+
};
|
|
6
|
+
declare const StatusBarIcon: (props: StatusBarIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export default StatusBarIcon;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
|
+
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
+
const StatusBarConstants_1 = require("./StatusBarConstants");
|
|
9
|
+
const StatusBarIcon = (props) => {
|
|
10
|
+
var _a;
|
|
11
|
+
const { icon, size } = props;
|
|
12
|
+
if (!icon.name) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
const wrapperClasses = icon.alignment === StatusBarConstants_1.LEFT ? 'flex-order-1 margin-right-5' : 'flex-order-2 margin-left-5';
|
|
16
|
+
const iconClasses = (0, classnames_1.default)('rioglyph', icon.name, (_a = icon.color) !== null && _a !== void 0 ? _a : 'text-color-gray', size === StatusBarConstants_1.SMALL && 'text-size-h3', size === StatusBarConstants_1.LARGE && 'text-size-h2', icon.className);
|
|
17
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: wrapperClasses }, { children: (0, jsx_runtime_1.jsx)("span", { className: iconClasses }) })));
|
|
18
|
+
};
|
|
19
|
+
exports.default = StatusBarIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { StatusBarLabelSpec } from './StatusBar.types';
|
|
2
|
+
type StatusBarLabelProps = {
|
|
3
|
+
label: StatusBarLabelSpec;
|
|
4
|
+
size: 'small' | 'large';
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const StatusBarLabel: (props: StatusBarLabelProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export default StatusBarLabel;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
|
+
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
+
const StatusBarConstants_1 = require("./StatusBarConstants");
|
|
9
|
+
const StatusBarLabel = (props) => {
|
|
10
|
+
var _a;
|
|
11
|
+
const { label, size, className = '' } = props;
|
|
12
|
+
if (!label.value) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
const labelClasses = (0, classnames_1.default)('display-flex', 'ellipsis-1', 'flex-1-0', 'justify-content-center', (_a = label.color) !== null && _a !== void 0 ? _a : 'text-color-dark', {
|
|
16
|
+
'width-0': label.alignment === StatusBarConstants_1.TOP,
|
|
17
|
+
'text-size-16': size === StatusBarConstants_1.SMALL,
|
|
18
|
+
'text-size-h3': size === StatusBarConstants_1.LARGE,
|
|
19
|
+
'text-bold': label.weight !== StatusBarConstants_1.LIGHT,
|
|
20
|
+
}, label.className);
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: className }, { children: (0, jsx_runtime_1.jsx)("span", Object.assign({ className: labelClasses }, { children: label.value })) })));
|
|
22
|
+
};
|
|
23
|
+
exports.default = StatusBarLabel;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { StatusBarProgress } from './StatusBar.types';
|
|
2
|
+
type StatusBarProgressBarProps = {
|
|
3
|
+
index: number;
|
|
4
|
+
progress: StatusBarProgress;
|
|
5
|
+
useProgressDivider: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const StatusBarProgressBar: (props: StatusBarProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default StatusBarProgressBar;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StatusBarProgressBar = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
require("react");
|
|
7
|
+
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
+
const Tooltip_1 = tslib_1.__importDefault(require("../tooltip/Tooltip"));
|
|
9
|
+
const OverlayTrigger_1 = tslib_1.__importDefault(require("../overlay/OverlayTrigger"));
|
|
10
|
+
const StatusBarConstants_1 = require("./StatusBarConstants");
|
|
11
|
+
const StatusBarProgressBar = (props) => {
|
|
12
|
+
const { index, progress: { className, color, percentage = 0, tooltip, tooltipDelay = 50, tooltipPosition = StatusBarConstants_1.TOP }, useProgressDivider, } = props;
|
|
13
|
+
const progressBarClasses = (0, classnames_1.default)('progress-bar', color !== null && color !== void 0 ? color : 'progress-bar-info', useProgressDivider && 'progress-divider', className);
|
|
14
|
+
const progressBar = (0, jsx_runtime_1.jsx)("div", { className: progressBarClasses, style: { width: `${percentage}%` } });
|
|
15
|
+
if (!tooltip) {
|
|
16
|
+
return progressBar;
|
|
17
|
+
}
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)(OverlayTrigger_1.default, Object.assign({ placement: tooltipPosition, overlay: (0, jsx_runtime_1.jsx)(Tooltip_1.default, Object.assign({ id: `tooltip-${index}`, width: 'auto' }, { children: tooltip })), delay: tooltipDelay }, { children: progressBar })));
|
|
19
|
+
};
|
|
20
|
+
exports.StatusBarProgressBar = StatusBarProgressBar;
|
|
21
|
+
exports.default = exports.StatusBarProgressBar;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default SteppedProgressBar;
|
|
2
|
-
declare function SteppedProgressBar(props: any): JSX.Element;
|
|
2
|
+
declare function SteppedProgressBar(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace SteppedProgressBar {
|
|
4
4
|
const VARIANT_CIRCLE: string;
|
|
5
5
|
const VARIANT_RECTANGLE: string;
|