@hitachivantara/uikit-react-core 6.8.1 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/Accordion.js +69 -80
- package/dist/Accordion/Accordion.styles.js +21 -16
- package/dist/ActionBar/ActionBar.js +18 -17
- package/dist/ActionBar/ActionBar.styles.js +12 -15
- package/dist/ActionsGeneric/ActionsGeneric.js +72 -98
- package/dist/ActionsGeneric/ActionsGeneric.styles.js +17 -14
- package/dist/AppSwitcher/Action/Action.js +96 -111
- package/dist/AppSwitcher/Action/Action.styles.js +44 -48
- package/dist/AppSwitcher/AppSwitcher.js +70 -98
- package/dist/AppSwitcher/AppSwitcher.styles.js +50 -53
- package/dist/Avatar/Avatar.js +66 -111
- package/dist/Avatar/Avatar.styles.js +62 -52
- package/dist/AvatarGroup/AvatarGroup.js +49 -78
- package/dist/AvatarGroup/AvatarGroup.styles.js +40 -60
- package/dist/AvatarGroup/AvatarGroupContext.js +13 -16
- package/dist/Badge/Badge.js +40 -47
- package/dist/Badge/Badge.styles.js +50 -44
- package/dist/Banner/Banner.js +51 -83
- package/dist/Banner/Banner.styles.js +13 -22
- package/dist/Banner/BannerContent/BannerContent.js +35 -56
- package/dist/Banner/BannerContent/BannerContent.styles.js +31 -36
- package/dist/BaseCheckBox/BaseCheckBox.js +71 -88
- package/dist/BaseCheckBox/BaseCheckBox.styles.js +24 -31
- package/dist/BaseCheckBox/CheckBoxIcon.js +57 -73
- package/dist/BaseDropdown/BaseDropdown.js +147 -189
- package/dist/BaseDropdown/BaseDropdown.styles.js +72 -84
- package/dist/BaseDropdown/BaseDropdownPanel.js +69 -86
- package/dist/BaseDropdown/utils.js +77 -76
- package/dist/BaseInput/BaseInput.js +53 -89
- package/dist/BaseInput/BaseInput.styles.js +85 -105
- package/dist/BaseInput/validations.js +72 -69
- package/dist/BaseRadio/BaseRadio.js +61 -85
- package/dist/BaseRadio/BaseRadio.styles.js +26 -31
- package/dist/BaseRadio/RadioIcon.js +43 -48
- package/dist/BaseSwitch/BaseSwitch.js +70 -108
- package/dist/BaseSwitch/BaseSwitch.styles.js +94 -113
- package/dist/BreadCrumb/BreadCrumb.js +84 -106
- package/dist/BreadCrumb/BreadCrumb.styles.js +20 -17
- package/dist/BreadCrumb/Page/Page.js +24 -34
- package/dist/BreadCrumb/Page/Page.styles.js +20 -25
- package/dist/BreadCrumb/PathElement/PathElement.js +17 -17
- package/dist/BreadCrumb/PathElement/PathElement.styles.js +9 -7
- package/dist/BreadCrumb/utils.js +19 -27
- package/dist/BulkActions/BulkActions.js +57 -96
- package/dist/BulkActions/BulkActions.styles.js +37 -45
- package/dist/Button/Button.js +67 -95
- package/dist/Button/Button.styles.js +107 -124
- package/dist/ButtonBase/ButtonBase.js +32 -51
- package/dist/ButtonBase/ButtonBase.styles.js +21 -30
- package/dist/Calendar/Calendar.js +73 -101
- package/dist/Calendar/Calendar.styles.js +14 -32
- package/dist/Calendar/CalendarHeader/CalendarHeader.js +91 -118
- package/dist/Calendar/CalendarHeader/CalendarHeader.styles.js +11 -16
- package/dist/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.js +36 -50
- package/dist/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.styles.js +12 -18
- package/dist/Calendar/CalendarNavigation/MonthSelector/MonthSelector.js +23 -43
- package/dist/Calendar/CalendarNavigation/MonthSelector/MonthSelector.styles.js +21 -24
- package/dist/Calendar/CalendarNavigation/Navigation/Navigation.js +43 -59
- package/dist/Calendar/CalendarNavigation/Navigation/Navigation.styles.js +21 -24
- package/dist/Calendar/SingleCalendar/CalendarCell.js +60 -84
- package/dist/Calendar/SingleCalendar/CalendarCell.styles.js +39 -56
- package/dist/Calendar/SingleCalendar/SingleCalendar.js +121 -154
- package/dist/Calendar/SingleCalendar/SingleCalendar.styles.js +53 -68
- package/dist/Calendar/model.js +45 -62
- package/dist/Calendar/utils.js +233 -128
- package/dist/Card/Card.js +35 -53
- package/dist/Card/Card.styles.js +37 -50
- package/dist/Card/Content/Content.js +15 -27
- package/dist/Card/Content/Content.styles.js +5 -10
- package/dist/Card/Header/Header.js +22 -35
- package/dist/Card/Header/Header.styles.js +22 -25
- package/dist/Card/Media/Media.js +16 -26
- package/dist/Card/Media/Media.styles.js +6 -7
- package/dist/Carousel/Carousel.js +179 -207
- package/dist/Carousel/Carousel.styles.js +141 -166
- package/dist/Carousel/CarouselControls.js +48 -62
- package/dist/Carousel/CarouselSlide/CarouselSlide.js +19 -25
- package/dist/Carousel/CarouselSlide/CarouselSlide.styles.js +10 -11
- package/dist/Carousel/CarouselThumbnails.js +29 -36
- package/dist/CheckBox/CheckBox.js +112 -182
- package/dist/CheckBox/CheckBox.styles.js +48 -57
- package/dist/CheckBoxGroup/CheckBoxGroup.js +154 -245
- package/dist/CheckBoxGroup/CheckBoxGroup.styles.js +29 -35
- package/dist/ColorPicker/ColorPicker.js +146 -222
- package/dist/ColorPicker/ColorPicker.styles.js +40 -45
- package/dist/ColorPicker/Picker/Fields.js +125 -141
- package/dist/ColorPicker/Picker/Picker.js +51 -50
- package/dist/ColorPicker/Picker/Picker.styles.js +42 -42
- package/dist/ColorPicker/PresetColors/PresetColors.js +25 -28
- package/dist/ColorPicker/PresetColors/PresetColors.styles.js +17 -17
- package/dist/ColorPicker/SavedColors/SavedColors.js +37 -41
- package/dist/ColorPicker/SavedColors/SavedColors.styles.js +27 -29
- package/dist/ColorPicker/Swatch.js +22 -37
- package/dist/Container/Container.js +37 -58
- package/dist/Container/Container.styles.js +12 -13
- package/dist/Controls/Controls.js +50 -74
- package/dist/Controls/Controls.styles.js +16 -13
- package/dist/Controls/LeftControl/LeftControl.js +25 -38
- package/dist/Controls/LeftControl/LeftControl.styles.js +7 -7
- package/dist/Controls/RightControl/RightControl.js +31 -46
- package/dist/Controls/RightControl/RightControl.styles.js +9 -7
- package/dist/Controls/context/ControlsContext.js +5 -6
- package/dist/DatePicker/DatePicker.js +286 -339
- package/dist/DatePicker/DatePicker.styles.js +25 -40
- package/dist/DatePicker/useVisibleDate.js +142 -126
- package/dist/DatePicker/utils.js +17 -26
- package/dist/Dialog/Actions/Actions.js +19 -29
- package/dist/Dialog/Actions/Actions.styles.js +20 -20
- package/dist/Dialog/Content/Content.js +29 -46
- package/dist/Dialog/Content/Content.styles.js +14 -15
- package/dist/Dialog/Dialog.js +49 -69
- package/dist/Dialog/Dialog.styles.js +33 -46
- package/dist/Dialog/Title/Title.js +20 -42
- package/dist/Dialog/Title/Title.styles.js +14 -16
- package/dist/Dialog/context.js +5 -6
- package/dist/DotPagination/DotPagination.js +44 -59
- package/dist/DotPagination/DotPagination.styles.js +44 -47
- package/dist/Drawer/Drawer.js +37 -64
- package/dist/Drawer/Drawer.styles.js +18 -21
- package/dist/DropDownMenu/DropDownMenu.js +88 -124
- package/dist/DropDownMenu/DropDownMenu.styles.js +12 -21
- package/dist/Dropdown/Dropdown.js +221 -310
- package/dist/Dropdown/Dropdown.styles.js +39 -48
- package/dist/Dropdown/List/List.js +194 -176
- package/dist/Dropdown/List/List.styles.js +23 -24
- package/dist/Dropdown/utils.js +15 -16
- package/dist/DropdownButton/DropdownButton.js +42 -46
- package/dist/DropdownButton/DropdownButton.styles.js +37 -47
- package/dist/EmptyState/EmptyState.js +48 -61
- package/dist/EmptyState/EmptyState.styles.js +31 -31
- package/dist/FileUploader/DropZone/DropZone.js +141 -179
- package/dist/FileUploader/DropZone/DropZone.styles.js +55 -68
- package/dist/FileUploader/File/File.js +85 -75
- package/dist/FileUploader/File/File.styles.js +55 -60
- package/dist/FileUploader/FileList/FileList.js +19 -28
- package/dist/FileUploader/FileList/FileList.styles.js +15 -16
- package/dist/FileUploader/FileUploader.js +35 -55
- package/dist/FileUploader/FileUploader.styles.js +4 -7
- package/dist/FileUploader/Preview/Preview.js +37 -52
- package/dist/FileUploader/Preview/Preview.styles.js +22 -28
- package/dist/FileUploader/utils.js +24 -11
- package/dist/FilterGroup/Counter/Counter.js +31 -43
- package/dist/FilterGroup/Counter/Counter.styles.js +12 -15
- package/dist/FilterGroup/FilterContent/FilterContent.js +138 -177
- package/dist/FilterGroup/FilterContent/FilterContent.styles.js +46 -53
- package/dist/FilterGroup/FilterContent/HeaderButton.js +77 -100
- package/dist/FilterGroup/FilterGroup.js +87 -136
- package/dist/FilterGroup/FilterGroup.styles.js +9 -10
- package/dist/FilterGroup/FilterGroupContext.js +68 -73
- package/dist/FilterGroup/LeftPanel/LeftPanel.js +28 -31
- package/dist/FilterGroup/LeftPanel/LeftPanel.styles.js +6 -11
- package/dist/FilterGroup/RightPanel/RightPanel.js +118 -151
- package/dist/FilterGroup/RightPanel/RightPanel.styles.js +17 -27
- package/dist/Focus/Focus.js +248 -344
- package/dist/Focus/Focus.styles.js +28 -39
- package/dist/Focus/utils.js +14 -20
- package/dist/Footer/Footer.js +36 -38
- package/dist/Footer/Footer.styles.js +40 -43
- package/dist/FormElement/Adornment/Adornment.js +38 -49
- package/dist/FormElement/Adornment/Adornment.styles.js +14 -15
- package/dist/FormElement/CharCounter/CharCounter.js +51 -73
- package/dist/FormElement/CharCounter/CharCounter.styles.js +12 -10
- package/dist/FormElement/FormElement.js +53 -31
- package/dist/FormElement/FormElement.styles.js +4 -7
- package/dist/FormElement/InfoMessage/InfoMessage.js +26 -41
- package/dist/FormElement/InfoMessage/InfoMessage.styles.js +11 -9
- package/dist/FormElement/Label/Label.js +33 -56
- package/dist/FormElement/Label/Label.styles.js +11 -9
- package/dist/FormElement/LabelContainer.js +46 -55
- package/dist/FormElement/Suggestions/Suggestions.js +46 -71
- package/dist/FormElement/Suggestions/Suggestions.styles.js +9 -16
- package/dist/FormElement/WarningText/WarningText.js +41 -62
- package/dist/FormElement/WarningText/WarningText.styles.js +25 -28
- package/dist/FormElement/context.js +6 -10
- package/dist/FormElement/utils.js +54 -58
- package/dist/GlobalActions/GlobalActions.js +53 -59
- package/dist/GlobalActions/GlobalActions.styles.js +67 -76
- package/dist/Grid/Grid.js +82 -112
- package/dist/Grid/Grid.styles.js +37 -38
- package/dist/Header/Actions/Actions.js +15 -17
- package/dist/Header/Actions/Actions.styles.js +12 -15
- package/dist/Header/Brand/Brand.js +27 -23
- package/dist/Header/Brand/Brand.styles.js +16 -14
- package/dist/Header/Header.js +22 -31
- package/dist/Header/Header.styles.js +32 -30
- package/dist/Header/Navigation/MenuBar/Bar.js +23 -36
- package/dist/Header/Navigation/MenuBar/Bar.styles.js +54 -61
- package/dist/Header/Navigation/MenuBar/MenuBar.js +20 -26
- package/dist/Header/Navigation/MenuItem/MenuItem.js +104 -120
- package/dist/Header/Navigation/MenuItem/MenuItem.styles.js +48 -63
- package/dist/Header/Navigation/Navigation.js +32 -37
- package/dist/Header/Navigation/Navigation.styles.js +11 -17
- package/dist/Header/Navigation/useSelectionPath.js +17 -20
- package/dist/Header/Navigation/utils/FocusContext.js +23 -20
- package/dist/Header/Navigation/utils/SelectionContext.js +4 -4
- package/dist/IconButton/IconButton.js +25 -32
- package/dist/IconContainer/IconContainer.js +55 -76
- package/dist/InlineEditor/InlineEditor.js +105 -131
- package/dist/InlineEditor/InlineEditor.styles.js +44 -53
- package/dist/Input/Input.js +385 -461
- package/dist/Input/Input.styles.js +34 -47
- package/dist/Input/icons.js +16 -21
- package/dist/Input/utils.js +8 -11
- package/dist/List/List.js +196 -247
- package/dist/List/List.styles.js +44 -49
- package/dist/List/useSelectableList.js +11 -8
- package/dist/List/utils.js +24 -33
- package/dist/ListContainer/ListContainer.js +52 -65
- package/dist/ListContainer/ListContainer.styles.js +7 -10
- package/dist/ListContainer/ListContext/ListContext.js +4 -4
- package/dist/ListContainer/ListItem/ListItem.js +79 -117
- package/dist/ListContainer/ListItem/ListItem.styles.js +57 -78
- package/dist/Loading/Loading.js +31 -46
- package/dist/Loading/Loading.styles.js +41 -48
- package/dist/LoadingContainer/LoadingContainer.js +34 -40
- package/dist/LoadingContainer/LoadingContainer.styles.js +17 -18
- package/dist/Login/Login.js +22 -29
- package/dist/Login/Login.styles.js +20 -21
- package/dist/MultiButton/MultiButton.js +41 -59
- package/dist/MultiButton/MultiButton.styles.js +117 -137
- package/dist/NumberInput/NumberInput.js +51 -50
- package/dist/NumberInput/NumberInput.styles.js +5 -10
- package/dist/OverflowTooltip/OverflowTooltip.js +55 -75
- package/dist/OverflowTooltip/OverflowTooltip.styles.js +19 -23
- package/dist/Pagination/Pagination.js +176 -164
- package/dist/Pagination/Pagination.styles.js +86 -90
- package/dist/Pagination/Select.js +51 -60
- package/dist/Pagination/Select.styles.js +13 -19
- package/dist/Panel/Panel.js +19 -20
- package/dist/Panel/Panel.styles.js +12 -15
- package/dist/ProgressBar/ProgressBar.js +40 -53
- package/dist/ProgressBar/ProgressBar.styles.js +28 -40
- package/dist/QueryBuilder/ConfirmationDialog.js +35 -28
- package/dist/QueryBuilder/Context.js +308 -322
- package/dist/QueryBuilder/QueryBuilder.js +108 -137
- package/dist/QueryBuilder/QueryBuilder.styles.js +117 -108
- package/dist/QueryBuilder/Rule/Attribute.js +56 -62
- package/dist/QueryBuilder/Rule/Operator.js +53 -57
- package/dist/QueryBuilder/Rule/Rule.js +70 -96
- package/dist/QueryBuilder/Rule/Rule.styles.js +49 -54
- package/dist/QueryBuilder/RuleGroup.js +160 -206
- package/dist/QueryBuilder/Value/BooleanValue.js +38 -37
- package/dist/QueryBuilder/Value/DateTimeValue.js +233 -299
- package/dist/QueryBuilder/Value/EmptyValue.js +14 -14
- package/dist/QueryBuilder/Value/NumericValue.js +152 -204
- package/dist/QueryBuilder/Value/TextValue.js +38 -54
- package/dist/QueryBuilder/Value/Value.js +42 -67
- package/dist/QueryBuilder/types.js +4 -4
- package/dist/QueryBuilder/utils/index.js +40 -74
- package/dist/QueryBuilder/utils/reducer.js +86 -92
- package/dist/Radio/Radio.js +96 -145
- package/dist/Radio/Radio.styles.js +47 -55
- package/dist/RadioGroup/RadioGroup.js +98 -159
- package/dist/RadioGroup/RadioGroup.styles.js +28 -34
- package/dist/ScrollToHorizontal/HorizontalScrollListItem/HorizontalScrollListItem.js +34 -51
- package/dist/ScrollToHorizontal/HorizontalScrollListItem/HorizontalScrollListItem.styles.js +39 -48
- package/dist/ScrollToHorizontal/ScrollToHorizontal.js +56 -91
- package/dist/ScrollToHorizontal/ScrollToHorizontal.styles.js +28 -32
- package/dist/ScrollToVertical/ScrollToVertical.js +45 -77
- package/dist/ScrollToVertical/ScrollToVertical.styles.js +31 -38
- package/dist/ScrollToVertical/VerticalScrollListItem/VerticalScrollListItem.js +30 -39
- package/dist/ScrollToVertical/VerticalScrollListItem/VerticalScrollListItem.styles.js +44 -51
- package/dist/SearchInput/SearchInput.js +27 -25
- package/dist/SearchInput/SearchInput.styles.js +6 -7
- package/dist/Section/Section.js +69 -104
- package/dist/Section/Section.styles.js +53 -57
- package/dist/Select/Option.js +29 -46
- package/dist/Select/OptionGroup.js +18 -30
- package/dist/Select/Select.js +163 -219
- package/dist/Select/Select.styles.js +26 -32
- package/dist/SelectionList/SelectionList.js +162 -216
- package/dist/SelectionList/SelectionList.styles.js +36 -36
- package/dist/SimpleGrid/SimpleGrid.js +16 -27
- package/dist/SimpleGrid/SimpleGrid.styles.js +28 -39
- package/dist/Skeleton/Skeleton.js +26 -44
- package/dist/Skeleton/Skeleton.styles.js +43 -66
- package/dist/Slider/Slider.js +316 -431
- package/dist/Slider/Slider.styles.js +183 -216
- package/dist/Slider/SliderInput/SliderInput.js +38 -57
- package/dist/Slider/SliderInput/SliderInput.styles.js +13 -14
- package/dist/Slider/base.js +221 -243
- package/dist/Slider/utils.js +247 -233
- package/dist/Snackbar/Snackbar.js +59 -88
- package/dist/Snackbar/Snackbar.styles.js +25 -42
- package/dist/Snackbar/SnackbarContent/SnackbarContent.js +31 -50
- package/dist/Snackbar/SnackbarContent/SnackbarContent.styles.js +27 -30
- package/dist/SnackbarProvider/SnackbarProvider.js +73 -105
- package/dist/SnackbarProvider/SnackbarProvider.styles.js +20 -26
- package/dist/Stack/Stack.js +74 -84
- package/dist/Stack/Stack.styles.js +14 -33
- package/dist/StatusIcon/StatusIcon.js +78 -102
- package/dist/StatusIcon/StatusIcon.styles.js +42 -52
- package/dist/Switch/Switch.js +91 -138
- package/dist/Switch/Switch.styles.js +49 -60
- package/dist/Table/Table.js +62 -66
- package/dist/Table/Table.styles.js +23 -28
- package/dist/Table/TableBody/TableBody.js +45 -56
- package/dist/Table/TableBody/TableBody.styles.js +8 -7
- package/dist/Table/TableCell/TableCell.js +37 -66
- package/dist/Table/TableCell/TableCell.styles.js +125 -162
- package/dist/Table/TableContainer/TableContainer.js +18 -28
- package/dist/Table/TableContainer/TableContainer.styles.js +8 -12
- package/dist/Table/TableContext.js +4 -4
- package/dist/Table/TableHead/TableHead.js +27 -39
- package/dist/Table/TableHead/TableHead.styles.js +10 -7
- package/dist/Table/TableHeader/TableHeader.js +73 -124
- package/dist/Table/TableHeader/TableHeader.styles.js +135 -150
- package/dist/Table/TableHeader/utils.js +11 -15
- package/dist/Table/TableRow/TableRow.js +32 -51
- package/dist/Table/TableRow/TableRow.styles.js +64 -84
- package/dist/Table/TableSection/TableSection.js +21 -20
- package/dist/Table/TableSection/TableSection.styles.js +63 -96
- package/dist/Table/TableSectionContext.js +4 -4
- package/dist/Table/hooks/useHvBulkActions.js +54 -89
- package/dist/Table/hooks/useHvFilters.js +4 -4
- package/dist/Table/hooks/useHvGlobalFilter.js +4 -4
- package/dist/Table/hooks/useHvHeaderGroups.js +73 -82
- package/dist/Table/hooks/useHvPagination.js +31 -51
- package/dist/Table/hooks/useHvResizeColumns.js +25 -31
- package/dist/Table/hooks/useHvRowExpand.js +54 -69
- package/dist/Table/hooks/useHvRowSelection.js +294 -420
- package/dist/Table/hooks/useHvRowState.js +4 -4
- package/dist/Table/hooks/useHvSortBy.js +23 -30
- package/dist/Table/hooks/useHvSticky.js +114 -154
- package/dist/Table/hooks/useHvTable.js +40 -64
- package/dist/Table/hooks/useHvTableStyles.js +51 -82
- package/dist/Table/renderers/DateColumnCell.js +12 -13
- package/dist/Table/renderers/DefaultCell.js +13 -20
- package/dist/Table/renderers/DropdownColumnCell.js +4 -4
- package/dist/Table/renderers/ProgressColumnCell.js +43 -47
- package/dist/Table/renderers/SwitchColumnCell.js +37 -50
- package/dist/Table/renderers/renderers.js +146 -183
- package/dist/Tabs/Tab/Tab.js +21 -31
- package/dist/Tabs/Tab/Tab.styles.js +44 -54
- package/dist/Tabs/Tabs.js +23 -28
- package/dist/Tabs/Tabs.styles.js +9 -14
- package/dist/Tag/Tag.js +86 -129
- package/dist/Tag/Tag.styles.js +63 -88
- package/dist/TagsInput/TagsInput.js +349 -417
- package/dist/TagsInput/TagsInput.styles.js +77 -90
- package/dist/TextArea/TextArea.js +207 -274
- package/dist/TextArea/TextArea.styles.js +25 -20
- package/dist/TimeAgo/TimeAgo.js +24 -30
- package/dist/TimeAgo/TimeAgo.styles.js +4 -7
- package/dist/TimeAgo/formatUtils.js +57 -65
- package/dist/TimeAgo/useTimeAgo.js +18 -18
- package/dist/TimeAgo/useTimeout.js +14 -14
- package/dist/TimePicker/Placeholder.js +46 -52
- package/dist/TimePicker/TimePicker.js +164 -214
- package/dist/TimePicker/TimePicker.styles.js +30 -39
- package/dist/TimePicker/Unit/Unit.js +63 -49
- package/dist/TimePicker/Unit/Unit.styles.js +41 -46
- package/dist/ToggleButton/ToggleButton.js +25 -34
- package/dist/Tooltip/Tooltip.js +41 -51
- package/dist/Tooltip/Tooltip.styles.js +25 -26
- package/dist/TreeView/TreeItem/DefaultContent.js +51 -72
- package/dist/TreeView/TreeItem/TreeItem.js +102 -140
- package/dist/TreeView/TreeItem/TreeItem.styles.js +56 -70
- package/dist/TreeView/TreeItem/useHvTreeItem.js +38 -53
- package/dist/TreeView/TreeView.js +65 -62
- package/dist/TreeView/TreeView.styles.js +11 -13
- package/dist/TreeView/internals/DescendantProvider.js +120 -120
- package/dist/TreeView/internals/TreeViewProvider.js +32 -26
- package/dist/TreeView/internals/corePlugins.js +8 -4
- package/dist/TreeView/internals/hooks/plugins/defaultPlugins.js +10 -10
- package/dist/TreeView/internals/hooks/plugins/useTreeViewContextValueBuilder.js +20 -22
- package/dist/TreeView/internals/hooks/plugins/useTreeViewExpansion.js +39 -61
- package/dist/TreeView/internals/hooks/plugins/useTreeViewFocus.js +56 -80
- package/dist/TreeView/internals/hooks/plugins/useTreeViewKeyboardNavigation.js +149 -211
- package/dist/TreeView/internals/hooks/plugins/useTreeViewNodes.js +42 -68
- package/dist/TreeView/internals/hooks/plugins/useTreeViewSelection.js +162 -195
- package/dist/TreeView/internals/hooks/useInstanceEventHandler.js +52 -74
- package/dist/TreeView/internals/hooks/useTreeView.js +54 -69
- package/dist/TreeView/internals/hooks/useTreeViewInstanceEvents.js +28 -33
- package/dist/TreeView/internals/hooks/useTreeViewModels.js +34 -43
- package/dist/TreeView/internals/hooks/utils.js +28 -42
- package/dist/TreeView/internals/utils/EventManager.js +49 -58
- package/dist/TreeView/internals/utils/FinalizationRegistryBasedCleanupTracking.js +14 -18
- package/dist/TreeView/internals/utils/TimerBasedCleanupTracking.js +33 -37
- package/dist/TreeView/internals/utils/publishTreeViewEvent.js +5 -5
- package/dist/Typography/Typography.js +34 -51
- package/dist/Typography/Typography.styles.js +20 -23
- package/dist/VerticalNavigation/Actions/Action.js +23 -42
- package/dist/VerticalNavigation/Actions/Action.styles.js +21 -28
- package/dist/VerticalNavigation/Actions/Actions.js +15 -31
- package/dist/VerticalNavigation/Actions/Actions.styles.js +13 -19
- package/dist/VerticalNavigation/Header/Header.js +51 -91
- package/dist/VerticalNavigation/Header/Header.styles.js +22 -32
- package/dist/VerticalNavigation/Navigation/Navigation.js +183 -267
- package/dist/VerticalNavigation/Navigation/Navigation.styles.js +14 -24
- package/dist/VerticalNavigation/NavigationPopup/NavigationPopup.styles.js +9 -17
- package/dist/VerticalNavigation/NavigationPopup/NavigationPopupContainer.js +30 -32
- package/dist/VerticalNavigation/NavigationSlider/NavigationSlider.js +45 -63
- package/dist/VerticalNavigation/NavigationSlider/NavigationSlider.styles.js +23 -33
- package/dist/VerticalNavigation/NavigationSlider/utils.js +56 -39
- package/dist/VerticalNavigation/TreeView/TreeView.js +515 -664
- package/dist/VerticalNavigation/TreeView/TreeView.styles.js +10 -16
- package/dist/VerticalNavigation/TreeView/TreeViewContext.js +5 -6
- package/dist/VerticalNavigation/TreeView/TreeViewItem.js +319 -414
- package/dist/VerticalNavigation/TreeView/TreeViewItem.styles.js +91 -143
- package/dist/VerticalNavigation/VerticalNavigation.js +70 -97
- package/dist/VerticalNavigation/VerticalNavigation.styles.js +31 -45
- package/dist/VerticalNavigation/VerticalNavigationContext.js +8 -10
- package/dist/hooks/useClickOutside.js +21 -23
- package/dist/hooks/useComputation.js +13 -13
- package/dist/hooks/useControlled.js +10 -17
- package/dist/hooks/useEnhancedEffect.js +5 -5
- package/dist/hooks/useExpandable.js +24 -31
- package/dist/hooks/useFocus.js +31 -34
- package/dist/hooks/useForkRef.js +19 -19
- package/dist/hooks/useImageLoaded.js +26 -26
- package/dist/hooks/useIsMounted.js +13 -13
- package/dist/hooks/useLabels.js +7 -7
- package/dist/hooks/useScrollTo.js +101 -130
- package/dist/hooks/useUniqueId.js +6 -6
- package/dist/hooks/useWidth.js +10 -13
- package/dist/icons.js +77 -88
- package/dist/index.d.ts +8 -8
- package/dist/index.js +226 -554
- package/dist/providers/Provider.js +44 -75
- package/dist/providers/ThemeProvider.js +79 -71
- package/dist/providers/utils.js +40 -47
- package/dist/themes/index.js +6 -5
- package/dist/themes/next.js +132 -271
- package/dist/themes/pentaho.js +832 -1173
- package/dist/types/generic.js +5 -4
- package/dist/utils/Callout.js +123 -171
- package/dist/utils/CounterLabel.js +14 -15
- package/dist/utils/deepMerge.js +13 -15
- package/dist/utils/document.js +8 -8
- package/dist/utils/focusUtils.js +6 -7
- package/dist/utils/focusableElementFinder.js +23 -26
- package/dist/utils/helpers.js +15 -23
- package/dist/utils/iconVariant.js +15 -12
- package/dist/utils/keyboardUtils.js +28 -28
- package/dist/utils/multiSelectionEventHandler.js +37 -52
- package/dist/utils/scroll.js +50 -76
- package/dist/utils/setId.js +4 -4
- package/dist/utils/theme.js +11 -8
- package/dist/utils/useSavedState.js +19 -16
- package/package.json +5 -5
package/dist/themes/pentaho.js
CHANGED
|
@@ -1,1178 +1,837 @@
|
|
|
1
|
-
import { mergeTheme,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { blue, mergeTheme, neutral, orange, pentaho, pink, slate, teal, theme, violet, yellow } from "@hitachivantara/uikit-styles";
|
|
2
|
+
//#region src/themes/pentaho.ts
|
|
3
|
+
/** light-dark alias */
|
|
4
|
+
var ld = (c1, c2) => `light-dark(${c1}, ${c2})`;
|
|
5
|
+
var semaColors = [
|
|
6
|
+
"positive",
|
|
7
|
+
"warning",
|
|
8
|
+
"negative",
|
|
9
|
+
"info"
|
|
10
|
+
];
|
|
11
|
+
var avatarColors = {
|
|
12
|
+
blue: {
|
|
13
|
+
color: ld(theme.colors.primaryStrong, blue[300]),
|
|
14
|
+
backgroundColor: ld(theme.colors.primaryDimmed, blue[900])
|
|
15
|
+
},
|
|
16
|
+
orange: {
|
|
17
|
+
color: ld(orange[700], orange[200]),
|
|
18
|
+
backgroundColor: ld(orange[200], orange[900])
|
|
19
|
+
},
|
|
20
|
+
teal: {
|
|
21
|
+
color: ld(teal[800], teal[200]),
|
|
22
|
+
backgroundColor: ld(teal[200], teal[900])
|
|
23
|
+
},
|
|
24
|
+
violet: {
|
|
25
|
+
color: ld(violet[800], violet[200]),
|
|
26
|
+
backgroundColor: ld(violet[200], violet[900])
|
|
27
|
+
},
|
|
28
|
+
pink: {
|
|
29
|
+
color: ld(pink[900], pink[200]),
|
|
30
|
+
backgroundColor: ld(pink[200], pink[900])
|
|
31
|
+
},
|
|
32
|
+
yellow: {
|
|
33
|
+
color: ld(yellow[700], yellow[100]),
|
|
34
|
+
backgroundColor: ld(yellow[200], yellow[900])
|
|
35
|
+
},
|
|
36
|
+
neutral: {
|
|
37
|
+
color: ld(slate[400], slate[300]),
|
|
38
|
+
backgroundColor: ld(slate[200], slate[700])
|
|
39
|
+
}
|
|
33
40
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
var notificationMap = {
|
|
42
|
+
success: "positive",
|
|
43
|
+
warning: "warning",
|
|
44
|
+
error: "negative",
|
|
45
|
+
default: "info",
|
|
46
|
+
info: "info",
|
|
47
|
+
accent: "accent"
|
|
41
48
|
};
|
|
42
|
-
|
|
43
|
-
|
|
49
|
+
var inputColors = { bg: ld("#FFFFFF", "#020617") };
|
|
50
|
+
var shadows = {
|
|
51
|
+
container: theme.colors.shadow,
|
|
52
|
+
elevated: `0 16px 16px 0 ${theme.alpha(slate[900], .1)}, 0 10px 10px 0 ${theme.alpha(slate[900], .08)}, 0 6px 6px 0 ${theme.alpha(slate[900], .06)}, 0 3px 3px 0 ${theme.alpha(slate[900], .04)}, 0 1px 1px 0 ${theme.alpha(slate[900], .02)}`,
|
|
53
|
+
modal: `0 32px 32px 0 ${theme.alpha(slate[900], .1)}, 0 20px 20px 0 ${theme.alpha(slate[900], .08)}, 0 12px 12px 0 ${theme.alpha(slate[900], .06)}, 0 5px 5px 0 ${theme.alpha(slate[900], .04)}, 0 1px 1px 0 ${theme.alpha(slate[900], .02)}`
|
|
44
54
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
var popperStyles = {
|
|
56
|
+
margin: theme.spacing("xxs", 0),
|
|
57
|
+
backgroundColor: theme.colors.bgContainer,
|
|
58
|
+
border: `1px solid ${theme.colors.borderSubtle}`,
|
|
59
|
+
borderRadius: theme.radii.large,
|
|
60
|
+
boxShadow: shadows.container
|
|
49
61
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
name: "Pentaho"
|
|
824
|
-
},
|
|
825
|
-
HvTableCell: {
|
|
826
|
-
classes: {
|
|
827
|
-
root: {
|
|
828
|
-
borderColor: theme.colors.borderSubtle
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
},
|
|
832
|
-
HvTableHeader: {
|
|
833
|
-
classes: {
|
|
834
|
-
root: {
|
|
835
|
-
borderColor: theme.colors.borderSubtle
|
|
836
|
-
},
|
|
837
|
-
head: {
|
|
838
|
-
backgroundColor: theme.colors.bgPage
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
},
|
|
842
|
-
HvTabs: {
|
|
843
|
-
classes: {
|
|
844
|
-
floating: {
|
|
845
|
-
"& .HvTab-root": {
|
|
846
|
-
marginTop: 0,
|
|
847
|
-
zIndex: 1,
|
|
848
|
-
"&:is(.HvTab-selected)": {
|
|
849
|
-
borderColor: "transparent",
|
|
850
|
-
backgroundColor: "transparent"
|
|
851
|
-
},
|
|
852
|
-
"&:hover": {
|
|
853
|
-
borderRadius: theme.radii.full
|
|
854
|
-
},
|
|
855
|
-
"::after": {
|
|
856
|
-
display: "none"
|
|
857
|
-
}
|
|
858
|
-
},
|
|
859
|
-
"& .HvTabs-indicator": {
|
|
860
|
-
height: "100%",
|
|
861
|
-
backgroundColor: theme.colors.bgContainer,
|
|
862
|
-
border: `1px solid ${theme.colors.primary}`,
|
|
863
|
-
borderRadius: theme.radii.full
|
|
864
|
-
},
|
|
865
|
-
"& .HvTabs-flexContainer": {
|
|
866
|
-
display: "inline-flex",
|
|
867
|
-
backgroundColor: theme.colors.bgPageSecondary,
|
|
868
|
-
borderRadius: theme.radii.full,
|
|
869
|
-
marginLeft: 0
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
HvLabel: {
|
|
875
|
-
classes: {
|
|
876
|
-
root: {
|
|
877
|
-
"& span[aria-hidden]": {
|
|
878
|
-
color: theme.form.errorColor
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
HvBaseInput: {
|
|
884
|
-
classes: {
|
|
885
|
-
root: {
|
|
886
|
-
borderColor: theme.colors.textDimmed,
|
|
887
|
-
backgroundColor: inputColors.bg
|
|
888
|
-
},
|
|
889
|
-
disabled: {
|
|
890
|
-
backgroundColor: theme.colors.bgDisabled
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
HvInput: {
|
|
895
|
-
classes: {
|
|
896
|
-
label: {
|
|
897
|
-
"& span[aria-hidden]::before": {
|
|
898
|
-
content: '" "'
|
|
899
|
-
}
|
|
900
|
-
},
|
|
901
|
-
inputRoot: {
|
|
902
|
-
":has([type=search])": {
|
|
903
|
-
borderRadius: theme.radii.full
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
|
-
suggestionsContainer: {
|
|
907
|
-
"&::before": {
|
|
908
|
-
backgroundColor: "transparent",
|
|
909
|
-
height: 0,
|
|
910
|
-
boxShadow: "none"
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
},
|
|
915
|
-
HvBaseDropdown: {
|
|
916
|
-
classes: {
|
|
917
|
-
header: {
|
|
918
|
-
borderColor: theme.colors.textDimmed,
|
|
919
|
-
backgroundColor: inputColors.bg
|
|
920
|
-
},
|
|
921
|
-
headerOpen: {
|
|
922
|
-
"&,:hover": {
|
|
923
|
-
borderColor: theme.colors.textDimmed
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
},
|
|
928
|
-
HvDropdownPanel: {
|
|
929
|
-
classes: {
|
|
930
|
-
panel: {
|
|
931
|
-
...popperStyles
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
HvDropDownMenu: {
|
|
936
|
-
classes: {
|
|
937
|
-
root: {
|
|
938
|
-
"--r": "calc(var(--HvButton-height) / 2)"
|
|
939
|
-
},
|
|
940
|
-
open: {
|
|
941
|
-
"&[data-color=secondary]": {
|
|
942
|
-
borderColor: theme.colors.textDimmed
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
HvNumberInput: {
|
|
948
|
-
classes: {
|
|
949
|
-
root: {
|
|
950
|
-
".HvBaseInput-disabled .HvInput-adornmentsBox": {
|
|
951
|
-
backgroundColor: theme.colors.bgDisabled
|
|
952
|
-
}
|
|
953
|
-
},
|
|
954
|
-
adornmentsBox: {
|
|
955
|
-
backgroundColor: theme.colors.bgContainer,
|
|
956
|
-
borderLeft: `1px solid ${theme.colors.border}`,
|
|
957
|
-
borderRadius: theme.radii.none
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
},
|
|
961
|
-
HvTooltip: {
|
|
962
|
-
classes: {
|
|
963
|
-
tooltip: {
|
|
964
|
-
padding: theme.spacing("xs", "sm"),
|
|
965
|
-
boxShadow: shadows.elevated
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
HvCalendarCell: {
|
|
970
|
-
classes: {
|
|
971
|
-
dateWrapper: {
|
|
972
|
-
width: 32,
|
|
973
|
-
height: 32
|
|
974
|
-
},
|
|
975
|
-
calendarDate: {
|
|
976
|
-
width: 32,
|
|
977
|
-
height: 32,
|
|
978
|
-
...theme.typography.caption1,
|
|
979
|
-
borderRadius: theme.radii.full,
|
|
980
|
-
":hover": {
|
|
981
|
-
borderRadius: theme.radii.full
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
calendarDateSelected: {
|
|
985
|
-
backgroundColor: theme.colors.primary,
|
|
986
|
-
color: theme.colors.dimmer,
|
|
987
|
-
":hover": {
|
|
988
|
-
border: `1px solid ${theme.colors.primary}`,
|
|
989
|
-
color: theme.colors.text
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
cellContainer: {
|
|
993
|
-
"&:hover": {
|
|
994
|
-
backgroundColor: theme.colors.primaryDimmed,
|
|
995
|
-
borderRadius: theme.radii.full
|
|
996
|
-
},
|
|
997
|
-
":has(> span.HvCalendarCell-calendarDateInSelectionRange):has(> span.HvCalendarCell-startBookend)": {
|
|
998
|
-
backgroundColor: theme.colors.bgPageSecondary,
|
|
999
|
-
borderTopLeftRadius: theme.radii.full,
|
|
1000
|
-
borderBottomLeftRadius: theme.radii.full
|
|
1001
|
-
},
|
|
1002
|
-
":has(> span.HvCalendarCell-calendarDateInSelectionRange):has(> span.HvCalendarCell-endBookend)": {
|
|
1003
|
-
backgroundColor: theme.colors.bgPageSecondary,
|
|
1004
|
-
borderTopRightRadius: theme.radii.full,
|
|
1005
|
-
borderBottomRightRadius: theme.radii.full
|
|
1006
|
-
}
|
|
1007
|
-
},
|
|
1008
|
-
calendarDateInSelectionRange: {
|
|
1009
|
-
borderRadius: 0
|
|
1010
|
-
},
|
|
1011
|
-
startBookend: {
|
|
1012
|
-
backgroundColor: theme.colors.primary,
|
|
1013
|
-
color: theme.colors.dimmer,
|
|
1014
|
-
borderRadius: theme.radii.full
|
|
1015
|
-
},
|
|
1016
|
-
endBookend: {
|
|
1017
|
-
backgroundColor: theme.colors.primary,
|
|
1018
|
-
color: theme.colors.dimmer,
|
|
1019
|
-
borderRadius: theme.radii.full
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
},
|
|
1023
|
-
HvSingleCalendar: {
|
|
1024
|
-
classes: {
|
|
1025
|
-
root: {
|
|
1026
|
-
" .HvNavigation-text": {
|
|
1027
|
-
...theme.typography.captionLabel
|
|
1028
|
-
},
|
|
1029
|
-
" .HvNavigation-root": {
|
|
1030
|
-
gap: 0
|
|
1031
|
-
},
|
|
1032
|
-
" .HvMonthSelector-calendarMonthlyGrid": {
|
|
1033
|
-
gridTemplateColumns: "repeat(4, 1fr)"
|
|
1034
|
-
},
|
|
1035
|
-
" .HvMonthSelector-calendarMonthlyCell": {
|
|
1036
|
-
borderRadius: theme.radii.full,
|
|
1037
|
-
width: 48,
|
|
1038
|
-
height: 48
|
|
1039
|
-
},
|
|
1040
|
-
" .HvMonthSelector-calendarMonthlyCellSelected": {
|
|
1041
|
-
backgroundColor: theme.colors.primary,
|
|
1042
|
-
color: theme.colors.dimmer,
|
|
1043
|
-
":hover": {
|
|
1044
|
-
border: `1px solid ${theme.colors.primary}`,
|
|
1045
|
-
color: theme.colors.text,
|
|
1046
|
-
backgroundColor: theme.colors.primaryDimmed
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
},
|
|
1050
|
-
calendarDay: {
|
|
1051
|
-
width: 32,
|
|
1052
|
-
height: 32,
|
|
1053
|
-
...theme.typography.caption2
|
|
1054
|
-
},
|
|
1055
|
-
weekdays: {
|
|
1056
|
-
borderBottom: `1px solid ${theme.colors.borderSubtle}`,
|
|
1057
|
-
marginBottom: theme.space.xs,
|
|
1058
|
-
justifyContent: "center"
|
|
1059
|
-
},
|
|
1060
|
-
calendarGrid: {
|
|
1061
|
-
justifyContent: "center",
|
|
1062
|
-
gridTemplateColumns: "repeat(7, 32px)",
|
|
1063
|
-
"& .HvSingleCalendar-cellsInRange": {
|
|
1064
|
-
"& .HvSingleCalendar-startBookend": {
|
|
1065
|
-
borderLeft: "none",
|
|
1066
|
-
backgroundColor: theme.colors.primary,
|
|
1067
|
-
color: theme.colors.dimmer
|
|
1068
|
-
}
|
|
1069
|
-
},
|
|
1070
|
-
"&:hover .HvSingleCalendar-cellsInRange": {
|
|
1071
|
-
"& .HvSingleCalendar-startBookend": {
|
|
1072
|
-
borderLeft: "none",
|
|
1073
|
-
backgroundColor: theme.colors.primary,
|
|
1074
|
-
color: theme.colors.dimmer
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
"& .HvSingleCalendar-cellsInRange:hover": {
|
|
1078
|
-
borderTopRightRadius: theme.radii.full,
|
|
1079
|
-
borderBottomRightRadius: theme.radii.full,
|
|
1080
|
-
"& .HvSingleCalendar-calendarDate": {
|
|
1081
|
-
borderRight: "none",
|
|
1082
|
-
backgroundColor: theme.colors.primary,
|
|
1083
|
-
color: theme.colors.dimmer
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
},
|
|
1087
|
-
cellsInRange: {
|
|
1088
|
-
":has(span.HvSingleCalendar-startBookend)": {
|
|
1089
|
-
borderTopLeftRadius: theme.radii.full,
|
|
1090
|
-
borderBottomLeftRadius: theme.radii.full
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
cellContainer: {
|
|
1094
|
-
"&:hover": {
|
|
1095
|
-
":has(span.HvSingleCalendar-startBookend)": {
|
|
1096
|
-
borderTopRightRadius: 0,
|
|
1097
|
-
borderBottomRightRadius: 0
|
|
1098
|
-
},
|
|
1099
|
-
":has(span.HvSingleCalendar-endBookend)": {
|
|
1100
|
-
borderTopLeftRadius: 0,
|
|
1101
|
-
borderBottomLeftRadius: 0
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
calendarDateInSelectionRange: {
|
|
1106
|
-
":hover:not( .HvSingleCalendar-endBookend):not( .HvSingleCalendar-startBookend)": {
|
|
1107
|
-
borderRadius: 0
|
|
1108
|
-
}
|
|
1109
|
-
},
|
|
1110
|
-
startBookend: {
|
|
1111
|
-
borderLeft: "none",
|
|
1112
|
-
borderTopLeftRadius: theme.radii.full,
|
|
1113
|
-
borderBottomLeftRadius: theme.radii.full
|
|
1114
|
-
},
|
|
1115
|
-
endBookend: {
|
|
1116
|
-
borderRight: "none",
|
|
1117
|
-
borderTopRightRadius: theme.radii.full,
|
|
1118
|
-
borderBottomRightRadius: theme.radii.full
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
},
|
|
1122
|
-
HvBannerContent: {
|
|
1123
|
-
classes: {
|
|
1124
|
-
root: {
|
|
1125
|
-
overflow: "hidden",
|
|
1126
|
-
minHeight: "unset"
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
},
|
|
1130
|
-
HvSnackbarContent: {
|
|
1131
|
-
classes: {
|
|
1132
|
-
root: {
|
|
1133
|
-
width: 525,
|
|
1134
|
-
minHeight: "unset",
|
|
1135
|
-
boxShadow: theme.colors.shadow
|
|
1136
|
-
},
|
|
1137
|
-
messageText: {
|
|
1138
|
-
paddingLeft: 0
|
|
1139
|
-
},
|
|
1140
|
-
iconVariant: {
|
|
1141
|
-
alignSelf: "flex-start",
|
|
1142
|
-
margin: theme.space.xxs,
|
|
1143
|
-
marginRight: theme.space.sm
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
},
|
|
1147
|
-
HvBreadCrumb: {
|
|
1148
|
-
maxVisible: 5,
|
|
1149
|
-
classes: {
|
|
1150
|
-
currentPage: {
|
|
1151
|
-
fontWeight: theme.fontWeights.semibold,
|
|
1152
|
-
padding: `0 ${theme.space.xxs}`
|
|
1153
|
-
},
|
|
1154
|
-
separatorContainer: {
|
|
1155
|
-
padding: `0 ${theme.space.xxs}`
|
|
1156
|
-
},
|
|
1157
|
-
link: {
|
|
1158
|
-
height: 24,
|
|
1159
|
-
display: "flex",
|
|
1160
|
-
alignItems: "center",
|
|
1161
|
-
padding: `0px ${theme.space.xxs}`,
|
|
1162
|
-
fontWeight: theme.fontWeights.normal
|
|
1163
|
-
}
|
|
1164
|
-
},
|
|
1165
|
-
separator: "/"
|
|
1166
|
-
},
|
|
1167
|
-
HvFilterGroupContent: {
|
|
1168
|
-
classes: {
|
|
1169
|
-
actions: {
|
|
1170
|
-
flexDirection: "row-reverse"
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
62
|
+
var pentaho$1 = mergeTheme(pentaho, {
|
|
63
|
+
icons: {
|
|
64
|
+
viewBox: "0 0 256 256",
|
|
65
|
+
Success: "M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z",
|
|
66
|
+
Caution: "M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z",
|
|
67
|
+
Fail: "M128,72a8,8,0,0,1,8,8v56a8,8,0,0,1-16,0V80A8,8,0,0,1,128,72ZM116,172a12,12,0,1,0,12-12A12,12,0,0,0,116,172Zm124-44a15.85,15.85,0,0,1-4.67,11.28l-96.05,96.06a16,16,0,0,1-22.56,0h0l-96-96.06a16,16,0,0,1,0-22.56l96.05-96.06a16,16,0,0,1,22.56,0l96.05,96.06A15.85,15.85,0,0,1,240,128Zm-16,0L128,32,32,128,128,224h0Z",
|
|
68
|
+
Info: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z",
|
|
69
|
+
Start: "M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z",
|
|
70
|
+
Backwards: "M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z",
|
|
71
|
+
Forwards: "M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z",
|
|
72
|
+
End: "M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z",
|
|
73
|
+
Filters: "M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"
|
|
74
|
+
},
|
|
75
|
+
components: {
|
|
76
|
+
HvAvatar: {
|
|
77
|
+
color: "primaryStrong",
|
|
78
|
+
backgroundColor: "primaryDimmed",
|
|
79
|
+
classes: {
|
|
80
|
+
avatar: {
|
|
81
|
+
border: `1px solid ${theme.colors.bgContainerSecondary}`,
|
|
82
|
+
fontWeight: theme.fontWeights.semibold,
|
|
83
|
+
...Object.entries(avatarColors).reduce((acc, [color, styles]) => {
|
|
84
|
+
acc[`&[data-color=${color}]`] = styles;
|
|
85
|
+
return acc;
|
|
86
|
+
}, {})
|
|
87
|
+
},
|
|
88
|
+
xs: {
|
|
89
|
+
"--size": "24px",
|
|
90
|
+
fontSize: theme.fontSizes.sm
|
|
91
|
+
},
|
|
92
|
+
sm: {
|
|
93
|
+
"--size": "24px",
|
|
94
|
+
fontSize: theme.fontSizes.sm
|
|
95
|
+
},
|
|
96
|
+
md: {
|
|
97
|
+
"--size": "32px",
|
|
98
|
+
fontSize: theme.fontSizes.base
|
|
99
|
+
},
|
|
100
|
+
lg: {
|
|
101
|
+
"--size": "48px",
|
|
102
|
+
fontSize: theme.fontSizes.xl2
|
|
103
|
+
},
|
|
104
|
+
xl: {
|
|
105
|
+
"--size": "64px",
|
|
106
|
+
fontSize: theme.fontSizes.xl3
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
HvAvatarGroup: {
|
|
111
|
+
maxVisible: 4,
|
|
112
|
+
classes: { root: { ...Object.values(avatarColors).reduce((acc, styles, i) => {
|
|
113
|
+
const key = `&>.HvAvatar-container:nth-of-type(${i + 1}) .HvAvatar-avatar`;
|
|
114
|
+
acc[key] = styles;
|
|
115
|
+
return acc;
|
|
116
|
+
}, {}) } }
|
|
117
|
+
},
|
|
118
|
+
HvLoading: { classes: { loadingBar: { borderRadius: 1 } } },
|
|
119
|
+
HvBadge: { classes: { badge: {
|
|
120
|
+
"--bg-color": theme.colors.textSubtle,
|
|
121
|
+
color: ld("white", "black"),
|
|
122
|
+
"&[data-color='textSubtle']:not(:empty)": {
|
|
123
|
+
color: theme.colors.textSubtle,
|
|
124
|
+
backgroundColor: theme.colors.bgPageSecondary
|
|
125
|
+
},
|
|
126
|
+
...Object.fromEntries([
|
|
127
|
+
"primary",
|
|
128
|
+
"positive",
|
|
129
|
+
"warning",
|
|
130
|
+
"negative"
|
|
131
|
+
].map((color) => [`&[data-color='${color}']:not(:empty)`, {
|
|
132
|
+
color: theme.colors[color],
|
|
133
|
+
backgroundColor: theme.colors[`${color}Dimmed`]
|
|
134
|
+
}]))
|
|
135
|
+
} } },
|
|
136
|
+
HvBulkActions: {
|
|
137
|
+
semantic: false,
|
|
138
|
+
classes: { root: {
|
|
139
|
+
borderRadius: theme.radii.round,
|
|
140
|
+
padding: theme.space.xs
|
|
141
|
+
} }
|
|
142
|
+
},
|
|
143
|
+
HvCallout: { classes: {
|
|
144
|
+
root: { outline: "1px solid var(--icolor, currentcolor)" },
|
|
145
|
+
...Object.fromEntries(Object.entries(notificationMap).map(([variant, color]) => [variant, {
|
|
146
|
+
backgroundColor: theme.mix(`${color}Dimmed`, .5, "dimmer"),
|
|
147
|
+
"--icolor": theme.colors[color],
|
|
148
|
+
"--title": theme.colors[`${color}Deep`]
|
|
149
|
+
}])),
|
|
150
|
+
message: { "&&": { color: theme.colors.text } },
|
|
151
|
+
messageIcon: { alignSelf: "start" },
|
|
152
|
+
messageTitle: { color: "var(--title)" },
|
|
153
|
+
actionClose: { color: theme.colors.text }
|
|
154
|
+
} },
|
|
155
|
+
HvSnackbar: { anchorOrigin: {
|
|
156
|
+
vertical: "bottom",
|
|
157
|
+
horizontal: "center"
|
|
158
|
+
} },
|
|
159
|
+
HvSnackbarProvider: { anchorOrigin: {
|
|
160
|
+
vertical: "bottom",
|
|
161
|
+
horizontal: "center"
|
|
162
|
+
} },
|
|
163
|
+
HvBaseCheckBox: { classes: { root: { borderRadius: theme.radii.base } } },
|
|
164
|
+
HvCheckBoxIcon: { classes: {
|
|
165
|
+
root: { borderRadius: theme.radii.base },
|
|
166
|
+
checked: {
|
|
167
|
+
"--bg-color": theme.colors.primary,
|
|
168
|
+
color: theme.colors.bgContainer
|
|
169
|
+
}
|
|
170
|
+
} },
|
|
171
|
+
HvBaseRadio: { classes: { root: { borderRadius: theme.radii.base } } },
|
|
172
|
+
HvRadioIcon: { classes: { checked: { "--bg-color": theme.colors.primary } } },
|
|
173
|
+
HvBaseSwitch: { classes: {
|
|
174
|
+
root: {
|
|
175
|
+
padding: theme.space.xxs,
|
|
176
|
+
borderRadius: theme.radii.full,
|
|
177
|
+
"&:hover": { backgroundColor: theme.colors.bgHover },
|
|
178
|
+
"& .HvBaseSwitch-switchBase": {
|
|
179
|
+
"& .HvBaseSwitch-thumb": {
|
|
180
|
+
borderColor: "transparent",
|
|
181
|
+
backgroundColor: "#FFFFFF",
|
|
182
|
+
left: -8,
|
|
183
|
+
top: -3,
|
|
184
|
+
width: 14,
|
|
185
|
+
height: 14
|
|
186
|
+
},
|
|
187
|
+
"+.HvBaseSwitch-track": {
|
|
188
|
+
backgroundColor: theme.colors.textDimmed,
|
|
189
|
+
border: "none",
|
|
190
|
+
width: 40,
|
|
191
|
+
height: 18
|
|
192
|
+
},
|
|
193
|
+
"&.HvBaseSwitch-checked": {
|
|
194
|
+
"+.HvBaseSwitch-track": { backgroundColor: theme.colors.positive },
|
|
195
|
+
"& .HvBaseSwitch-thumb": { left: -2 }
|
|
196
|
+
},
|
|
197
|
+
"&.HvBaseSwitch-disabled": {
|
|
198
|
+
"& .HvBaseSwitch-thumb": { borderColor: theme.colors.textDisabled },
|
|
199
|
+
"+.HvBaseSwitch-track": {
|
|
200
|
+
backgroundColor: theme.colors.bgDisabled,
|
|
201
|
+
border: "none"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"&[data-size=medium]": {
|
|
205
|
+
"+.HvBaseSwitch-track": {
|
|
206
|
+
width: 48,
|
|
207
|
+
height: 24
|
|
208
|
+
},
|
|
209
|
+
"& .HvBaseSwitch-thumb": {
|
|
210
|
+
left: -5,
|
|
211
|
+
top: 0,
|
|
212
|
+
width: 16,
|
|
213
|
+
height: 16
|
|
214
|
+
},
|
|
215
|
+
"&.HvBaseSwitch-checked .HvBaseSwitch-thumb": {
|
|
216
|
+
left: 3,
|
|
217
|
+
top: 0
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
readOnly: {
|
|
223
|
+
":hover": { backgroundColor: "transparent" },
|
|
224
|
+
"& .HvBaseSwitch-switchBase + .HvBaseSwitch-track": { backgroundColor: theme.colors.border },
|
|
225
|
+
"& .HvBaseSwitch-switchBase.HvBaseSwitch-checked + .HvBaseSwitch-track": { backgroundColor: theme.mix("positive", .5, "dimmer") }
|
|
226
|
+
}
|
|
227
|
+
} },
|
|
228
|
+
HvSwitch: { classes: { container: {
|
|
229
|
+
borderRadius: theme.radii.full,
|
|
230
|
+
"&:hover": { backgroundColor: theme.colors.bgHover },
|
|
231
|
+
"& .HvBaseSwitch-root": { "&:hover": { backgroundColor: "transparent" } }
|
|
232
|
+
} } },
|
|
233
|
+
HvSection: { classes: {
|
|
234
|
+
content: { backgroundColor: theme.colors.bgContainer },
|
|
235
|
+
header: {
|
|
236
|
+
padding: theme.spacing("xs", "sm"),
|
|
237
|
+
gap: theme.space.xs
|
|
238
|
+
}
|
|
239
|
+
} },
|
|
240
|
+
HvSelect: { classes: {
|
|
241
|
+
root: {
|
|
242
|
+
borderRadius: theme.radii.round,
|
|
243
|
+
"& .HvButton-subtle[data-color=text]": {
|
|
244
|
+
borderColor: theme.colors.textDimmed,
|
|
245
|
+
backgroundColor: inputColors.bg
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
select: { borderRadius: theme.radii.round }
|
|
249
|
+
} },
|
|
250
|
+
HvTagsInput: { classes: {
|
|
251
|
+
tagsList: {
|
|
252
|
+
backgroundColor: inputColors.bg,
|
|
253
|
+
padding: theme.space.xxs,
|
|
254
|
+
borderColor: theme.colors.textDimmed
|
|
255
|
+
},
|
|
256
|
+
singleLine: { height: 32 },
|
|
257
|
+
disabled: {
|
|
258
|
+
"& .HvTagsInput-tagsList": {
|
|
259
|
+
backgroundColor: theme.colors.bgDisabled,
|
|
260
|
+
"&,:hover": { borderColor: theme.colors.textDisabled }
|
|
261
|
+
},
|
|
262
|
+
"& .HvTagsInput-tag": { outlineColor: theme.colors.textDisabled }
|
|
263
|
+
}
|
|
264
|
+
} },
|
|
265
|
+
HvTag: {
|
|
266
|
+
showSelectIcon: false,
|
|
267
|
+
size: "sm",
|
|
268
|
+
classes: {
|
|
269
|
+
root: {
|
|
270
|
+
outline: `1px solid ${theme.colors.border}`,
|
|
271
|
+
outlineOffset: -1,
|
|
272
|
+
":where(:not([data-color],.HvTag-disabled))": {
|
|
273
|
+
color: theme.colors.text,
|
|
274
|
+
"--tagColor": theme.colors.bgContainer
|
|
275
|
+
},
|
|
276
|
+
":where([data-color]:not(.HvTag-disabled))": {
|
|
277
|
+
":not([data-color$=_20],[data-color^=cat])": {
|
|
278
|
+
color: "var(--tagColor)",
|
|
279
|
+
backgroundColor: theme.mix("var(--tagColor)", "8%", "white"),
|
|
280
|
+
outlineColor: theme.mix("var(--tagColor)", "30%", "white"),
|
|
281
|
+
"&.HvTag-clickable:is(:hover,:focus-visible)": { backgroundColor: theme.mix("var(--tagColor)", "20%", "white") }
|
|
282
|
+
},
|
|
283
|
+
...Object.fromEntries(semaColors.map((color) => [[`&[data-color=${color}]`], {
|
|
284
|
+
color: theme.colors[`${color}Strong`],
|
|
285
|
+
backgroundColor: theme.colors[`${color}Dimmed`],
|
|
286
|
+
outlineColor: theme.colors[`${color}Border`],
|
|
287
|
+
"&.HvTag-clickable:has(:hover,:focus-visible)": { backgroundColor: theme.colors[`${color}Subtle`] }
|
|
288
|
+
}]))
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
hasIcon: { paddingLeft: theme.space.xs },
|
|
292
|
+
xs: { borderRadius: theme.radii.base },
|
|
293
|
+
sm: { borderRadius: theme.radii.base },
|
|
294
|
+
md: { borderRadius: theme.radii.round },
|
|
295
|
+
label: {
|
|
296
|
+
paddingLeft: 8,
|
|
297
|
+
paddingRight: 8
|
|
298
|
+
},
|
|
299
|
+
deleteIcon: {
|
|
300
|
+
borderRadius: "inherit",
|
|
301
|
+
marginRight: 4
|
|
302
|
+
},
|
|
303
|
+
clickable: { ":hover": { backgroundColor: theme.colors.bgHover } },
|
|
304
|
+
selected: { "&&": { outlineColor: "currentcolor" } },
|
|
305
|
+
disabled: {
|
|
306
|
+
color: theme.colors.textDisabled,
|
|
307
|
+
outlineColor: "transparent",
|
|
308
|
+
"&,:hover": { backgroundColor: theme.colors.bgDisabled }
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
HvIconContainer: { classes: {
|
|
313
|
+
root: { padding: 0 },
|
|
314
|
+
xs: {
|
|
315
|
+
fontSize: 16,
|
|
316
|
+
padding: 0
|
|
317
|
+
},
|
|
318
|
+
sm: {
|
|
319
|
+
fontSize: 20,
|
|
320
|
+
padding: 2
|
|
321
|
+
},
|
|
322
|
+
md: {
|
|
323
|
+
fontSize: 26,
|
|
324
|
+
padding: 3
|
|
325
|
+
},
|
|
326
|
+
lg: {
|
|
327
|
+
fontSize: 36,
|
|
328
|
+
padding: 6
|
|
329
|
+
},
|
|
330
|
+
xl: {
|
|
331
|
+
fontSize: 48,
|
|
332
|
+
padding: 5
|
|
333
|
+
}
|
|
334
|
+
} },
|
|
335
|
+
HvInlineEditor: { classes: {
|
|
336
|
+
button: {
|
|
337
|
+
borderRadius: 2,
|
|
338
|
+
"&:focus": { borderColor: theme.colors.text }
|
|
339
|
+
},
|
|
340
|
+
inputRoot: { borderRadius: 2 }
|
|
341
|
+
} },
|
|
342
|
+
HvButtonBase: { classes: { root: {
|
|
343
|
+
borderRadius: theme.radii.base,
|
|
344
|
+
":where(:not(.HvButtonBase-disabled))": {
|
|
345
|
+
":hover": { backgroundColor: theme.colors.primaryDimmed },
|
|
346
|
+
":active": { backgroundColor: theme.colors.primarySubtle }
|
|
347
|
+
}
|
|
348
|
+
} } },
|
|
349
|
+
HvButton: {
|
|
350
|
+
radius: "full",
|
|
351
|
+
classes: {
|
|
352
|
+
root: { ":where(:not(.HvButton-disabled,.HvButton-contained))": {
|
|
353
|
+
"&[data-color=positive]": { color: theme.colors.positive },
|
|
354
|
+
"&[data-color=warning]": { color: theme.colors.warning },
|
|
355
|
+
"&[data-color=negative]": { color: theme.colors.negative },
|
|
356
|
+
":hover": { backgroundColor: theme.colors.primaryDimmed },
|
|
357
|
+
":active": { backgroundColor: theme.colors.primarySubtle }
|
|
358
|
+
} },
|
|
359
|
+
contained: { ":where(:not(.HvButton-disabled))": {
|
|
360
|
+
color: "#FFFFFF",
|
|
361
|
+
"&[data-color=primary]": {
|
|
362
|
+
backgroundColor: theme.colors.primary,
|
|
363
|
+
":hover": { backgroundColor: theme.colors.primaryStrong },
|
|
364
|
+
":active": { backgroundColor: theme.colors.primaryDeep }
|
|
365
|
+
},
|
|
366
|
+
"&[data-color=positive]": {
|
|
367
|
+
":hover": { backgroundColor: theme.colors.positiveDeep },
|
|
368
|
+
":active": { backgroundColor: theme.colors.positiveStrong }
|
|
369
|
+
},
|
|
370
|
+
"&[data-color=warning]": {
|
|
371
|
+
":hover": { backgroundColor: theme.colors.warningDeep },
|
|
372
|
+
":active": { backgroundColor: theme.colors.warningStrong }
|
|
373
|
+
},
|
|
374
|
+
"&[data-color=negative]": {
|
|
375
|
+
":hover": { backgroundColor: theme.colors.negativeDeep },
|
|
376
|
+
":active": { backgroundColor: theme.colors.negativeStrong }
|
|
377
|
+
}
|
|
378
|
+
} },
|
|
379
|
+
subtle: {
|
|
380
|
+
borderColor: theme.alpha("currentcolor", .4),
|
|
381
|
+
":where(:not(.HvButton-disabled))": {
|
|
382
|
+
"&[data-color=primary]": {
|
|
383
|
+
borderColor: theme.colors.primarySubtle,
|
|
384
|
+
backgroundColor: theme.colors.primaryDimmed
|
|
385
|
+
},
|
|
386
|
+
"&[data-color=secondary]": {
|
|
387
|
+
borderColor: theme.colors.border,
|
|
388
|
+
backgroundColor: theme.colors.bgPage
|
|
389
|
+
},
|
|
390
|
+
":hover": { backgroundColor: theme.colors.primaryDimmed },
|
|
391
|
+
":active": {
|
|
392
|
+
borderColor: "transparent",
|
|
393
|
+
backgroundColor: theme.colors.primarySubtle
|
|
394
|
+
},
|
|
395
|
+
"&[data-color=positive]": {
|
|
396
|
+
borderColor: theme.colors.positiveBorder,
|
|
397
|
+
backgroundColor: theme.colors.positiveDimmed,
|
|
398
|
+
":hover": { backgroundColor: theme.colors.positiveSubtle },
|
|
399
|
+
":active": { backgroundColor: theme.colors.positiveBorder }
|
|
400
|
+
},
|
|
401
|
+
"&[data-color=warning]": {
|
|
402
|
+
borderColor: theme.colors.warningBorder,
|
|
403
|
+
backgroundColor: theme.colors.warningDimmed,
|
|
404
|
+
":hover": { backgroundColor: theme.colors.warningSubtle },
|
|
405
|
+
":active": { backgroundColor: theme.colors.warningBorder }
|
|
406
|
+
},
|
|
407
|
+
"&[data-color=negative]": {
|
|
408
|
+
borderColor: theme.colors.negativeBorder,
|
|
409
|
+
backgroundColor: theme.colors.negativeDimmed,
|
|
410
|
+
":hover": { backgroundColor: theme.colors.negativeSubtle },
|
|
411
|
+
":active": { backgroundColor: theme.colors.negativeBorder }
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
ghost: { ":where(:not(.HvButton-disabled))": {
|
|
416
|
+
"&[data-color=positive]": {
|
|
417
|
+
":hover": { backgroundColor: theme.colors.positiveDimmed },
|
|
418
|
+
":active": { backgroundColor: theme.colors.positiveSubtle }
|
|
419
|
+
},
|
|
420
|
+
"&[data-color=warning]": {
|
|
421
|
+
":hover": { backgroundColor: theme.colors.warningDimmed },
|
|
422
|
+
":active": { backgroundColor: theme.colors.warningSubtle }
|
|
423
|
+
},
|
|
424
|
+
"&[data-color=negative]": {
|
|
425
|
+
":hover": { backgroundColor: theme.colors.negativeDimmed },
|
|
426
|
+
":active": { backgroundColor: theme.colors.negativeSubtle }
|
|
427
|
+
}
|
|
428
|
+
} },
|
|
429
|
+
disabled: {
|
|
430
|
+
color: theme.colors.textDisabled,
|
|
431
|
+
":not(.HvButton-ghost)": {
|
|
432
|
+
borderColor: "transparent",
|
|
433
|
+
"&,:hover,:active": { backgroundColor: theme.colors.bgDisabled }
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
HvMultiButton: { classes: {
|
|
439
|
+
multiple: {
|
|
440
|
+
borderRadius: theme.radii.full,
|
|
441
|
+
borderColor: theme.colors.border,
|
|
442
|
+
"& .HvMultiButton-button": {
|
|
443
|
+
borderColor: "inherit",
|
|
444
|
+
...theme.typography.body,
|
|
445
|
+
"&.HvMultiButton-selected": {
|
|
446
|
+
color: theme.colors.primary,
|
|
447
|
+
backgroundColor: theme.colors.primaryDimmed
|
|
448
|
+
},
|
|
449
|
+
"&:not(.HvMultiButton-firstButton, .HvMultiButton-lastButton)": { borderRadius: 0 }
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
vertical: {
|
|
453
|
+
borderRadius: theme.radii.large,
|
|
454
|
+
borderColor: theme.colors.border
|
|
455
|
+
}
|
|
456
|
+
} },
|
|
457
|
+
HvDialog: { classes: {
|
|
458
|
+
paper: {
|
|
459
|
+
borderRadius: theme.radii.large,
|
|
460
|
+
boxShadow: shadows.modal
|
|
461
|
+
},
|
|
462
|
+
statusBar: {
|
|
463
|
+
border: "none",
|
|
464
|
+
borderTopLeftRadius: theme.radii.large,
|
|
465
|
+
borderTopRightRadius: theme.radii.large
|
|
466
|
+
}
|
|
467
|
+
} },
|
|
468
|
+
HvDialogActions: { classes: { root: { borderTop: "none" } } },
|
|
469
|
+
HvDropdownButton: { classes: { disabled: {
|
|
470
|
+
backgroundColor: theme.colors.bgDisabled,
|
|
471
|
+
borderColor: theme.colors.bgDisabled,
|
|
472
|
+
"&.HvButton-subtle": {
|
|
473
|
+
borderColor: theme.colors.bgDisabled,
|
|
474
|
+
"&,:hover": { backgroundColor: theme.colors.bgDisabled }
|
|
475
|
+
},
|
|
476
|
+
"&.HvButton-ghost": {
|
|
477
|
+
borderColor: theme.colors.bgDisabled,
|
|
478
|
+
"&,:hover": { backgroundColor: theme.colors.bgDisabled }
|
|
479
|
+
}
|
|
480
|
+
} } },
|
|
481
|
+
HvPagination: { classes: { icon: { fontSize: 16 } } },
|
|
482
|
+
HvHeader: { classes: { root: {
|
|
483
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`,
|
|
484
|
+
boxShadow: "none"
|
|
485
|
+
} } },
|
|
486
|
+
HvHeaderBrand: { classes: { separator: {
|
|
487
|
+
backgroundColor: theme.colors.border,
|
|
488
|
+
margin: theme.spacing(0, "md"),
|
|
489
|
+
height: 32
|
|
490
|
+
} } },
|
|
491
|
+
HvHeaderMenuBarBar: { classes: {
|
|
492
|
+
active: {
|
|
493
|
+
boxShadow: "none",
|
|
494
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`
|
|
495
|
+
},
|
|
496
|
+
list: {
|
|
497
|
+
"& li:hover > .HvHeader-MenuBar-hidden": {
|
|
498
|
+
boxShadow: "none",
|
|
499
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`
|
|
500
|
+
},
|
|
501
|
+
"& li:focus-within > .HvHeader-MenuBar-hidden": {
|
|
502
|
+
boxShadow: "none",
|
|
503
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
} },
|
|
507
|
+
HvVerticalNavigation: { classes: {
|
|
508
|
+
root: {
|
|
509
|
+
width: 280,
|
|
510
|
+
color: theme.colors.textLight,
|
|
511
|
+
backgroundColor: slate[900],
|
|
512
|
+
boxShadow: `inset -1px 0 0 0 ${slate[500]}`,
|
|
513
|
+
"& > :not(nav:first-of-type)": { borderTop: `1px solid ${slate[500]}` },
|
|
514
|
+
"& > :only-child": {
|
|
515
|
+
padding: theme.space.sm,
|
|
516
|
+
"& .HvVerticalNavigationSlider-listContainer": { padding: 0 }
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
slider: { "& > div:first-of-type": { borderBottom: `1px solid ${slate[500]}` } }
|
|
520
|
+
} },
|
|
521
|
+
HvVerticalNavigationAction: { classes: { action: {
|
|
522
|
+
borderRadius: theme.radii.round,
|
|
523
|
+
"&:hover, &:focus": { backgroundColor: slate[700] }
|
|
524
|
+
} } },
|
|
525
|
+
HvVerticalNavigationSlider: { classes: {
|
|
526
|
+
root: {
|
|
527
|
+
minHeight: "32px",
|
|
528
|
+
borderLeft: "unset",
|
|
529
|
+
borderRadius: theme.radii.round,
|
|
530
|
+
"&.HvIsFocused": { backgroundColor: slate[700] },
|
|
531
|
+
"&.HvListItem-interactive:not(.HvListItem-disabled):not(.HvListItem-selected):hover": { backgroundColor: slate[700] }
|
|
532
|
+
},
|
|
533
|
+
listItemDisabled: {
|
|
534
|
+
color: neutral[500],
|
|
535
|
+
backgroundColor: neutral[800],
|
|
536
|
+
"& .HvListItem-startAdornment": { backgroundColor: "transparent" },
|
|
537
|
+
"& .HvListItem-endAdornment": { backgroundColor: "transparent" }
|
|
538
|
+
},
|
|
539
|
+
listItemSelected: {
|
|
540
|
+
background: blue[800],
|
|
541
|
+
borderLeft: "unset"
|
|
542
|
+
},
|
|
543
|
+
listItemFocus: { background: slate[700] },
|
|
544
|
+
listContainer: { padding: theme.space.sm }
|
|
545
|
+
} },
|
|
546
|
+
HvVerticalNavigationTreeViewItem: { classes: {
|
|
547
|
+
content: {
|
|
548
|
+
borderLeft: "unset",
|
|
549
|
+
borderRadius: theme.radii.round,
|
|
550
|
+
".HvVerticalNavigationTreeViewItem-selected>&": {
|
|
551
|
+
background: blue[800],
|
|
552
|
+
borderLeft: "unset"
|
|
553
|
+
},
|
|
554
|
+
":not(.HvVerticalNavigationTreeViewItem-disabled>&):not(.HvVerticalNavigationTreeViewItem-selected>&)": { "&:hover, &:focus-visible, &.focus-visible": { background: slate[700] } },
|
|
555
|
+
".HvVerticalNavigationTreeViewItem-focused>&": { background: slate[700] }
|
|
556
|
+
},
|
|
557
|
+
disabled: {
|
|
558
|
+
"& .HvVerticalNavigationTreeViewItem-label": { color: neutral[500] },
|
|
559
|
+
"& .HvVerticalNavigationTreeViewItem-content": { background: neutral[800] }
|
|
560
|
+
},
|
|
561
|
+
icon: { "& .HvAvatar-root": { borderRadius: theme.radii.round } }
|
|
562
|
+
} },
|
|
563
|
+
HvCard: { classes: {
|
|
564
|
+
root: {
|
|
565
|
+
outlineColor: theme.colors.borderSubtle,
|
|
566
|
+
boxShadow: theme.colors.shadow,
|
|
567
|
+
"--rb": theme.radii.large,
|
|
568
|
+
"&[data-color=sema0]": {
|
|
569
|
+
overflow: "hidden",
|
|
570
|
+
height: "fit-content",
|
|
571
|
+
"--rt": theme.radii.large,
|
|
572
|
+
"& .HvCard-semanticBar": { display: "none" }
|
|
573
|
+
},
|
|
574
|
+
"& .MuiCardContent-root:last-child": { paddingBottom: 0 },
|
|
575
|
+
"& > :last-child:not(.HvCardMedia-root)": { paddingBottom: theme.space.sm },
|
|
576
|
+
"& .HvActionBar-root": { borderTop: "none" }
|
|
577
|
+
},
|
|
578
|
+
selectable: { ":hover": {
|
|
579
|
+
outlineColor: theme.colors.primarySubtle,
|
|
580
|
+
backgroundColor: theme.colors.bgHover
|
|
581
|
+
} },
|
|
582
|
+
selected: { "&,&:hover,&:focus": { outlineColor: theme.colors.primary } },
|
|
583
|
+
semanticBar: {
|
|
584
|
+
"--bar-height": "2px",
|
|
585
|
+
borderRadius: `${theme.radii.base} ${theme.radii.base} 0 0`
|
|
586
|
+
}
|
|
587
|
+
} },
|
|
588
|
+
HvCardHeader: { classes: {
|
|
589
|
+
root: {
|
|
590
|
+
flexDirection: "row-reverse",
|
|
591
|
+
"&& + *": { paddingTop: 0 }
|
|
592
|
+
},
|
|
593
|
+
subheader: { color: theme.colors.textSubtle },
|
|
594
|
+
action: { alignSelf: "center" }
|
|
595
|
+
} },
|
|
596
|
+
HvCardContent: { classes: { content: {
|
|
597
|
+
paddingBottom: 0,
|
|
598
|
+
"&& + .HvCardMedia-root": { paddingTop: theme.space.xs }
|
|
599
|
+
} } },
|
|
600
|
+
HvFooter: { name: "Pentaho" },
|
|
601
|
+
HvTableCell: { classes: { root: { borderColor: theme.colors.borderSubtle } } },
|
|
602
|
+
HvTableHeader: { classes: {
|
|
603
|
+
root: { borderColor: theme.colors.borderSubtle },
|
|
604
|
+
head: { backgroundColor: theme.colors.bgPage }
|
|
605
|
+
} },
|
|
606
|
+
HvTabs: { classes: { floating: {
|
|
607
|
+
"& .HvTab-root": {
|
|
608
|
+
marginTop: 0,
|
|
609
|
+
zIndex: 1,
|
|
610
|
+
"&:is(.HvTab-selected)": {
|
|
611
|
+
borderColor: "transparent",
|
|
612
|
+
backgroundColor: "transparent"
|
|
613
|
+
},
|
|
614
|
+
"&:hover": { borderRadius: theme.radii.full },
|
|
615
|
+
"::after": { display: "none" }
|
|
616
|
+
},
|
|
617
|
+
"& .HvTabs-indicator": {
|
|
618
|
+
height: "100%",
|
|
619
|
+
backgroundColor: theme.colors.bgContainer,
|
|
620
|
+
border: `1px solid ${theme.colors.primary}`,
|
|
621
|
+
borderRadius: theme.radii.full
|
|
622
|
+
},
|
|
623
|
+
"& .HvTabs-flexContainer": {
|
|
624
|
+
display: "inline-flex",
|
|
625
|
+
backgroundColor: theme.colors.bgPageSecondary,
|
|
626
|
+
borderRadius: theme.radii.full,
|
|
627
|
+
marginLeft: 0
|
|
628
|
+
}
|
|
629
|
+
} } },
|
|
630
|
+
HvLabel: { classes: { root: { "& span[aria-hidden]": { color: theme.form.errorColor } } } },
|
|
631
|
+
HvBaseInput: { classes: {
|
|
632
|
+
root: {
|
|
633
|
+
borderColor: theme.colors.textDimmed,
|
|
634
|
+
backgroundColor: inputColors.bg
|
|
635
|
+
},
|
|
636
|
+
disabled: { backgroundColor: theme.colors.bgDisabled }
|
|
637
|
+
} },
|
|
638
|
+
HvInput: { classes: {
|
|
639
|
+
label: { "& span[aria-hidden]::before": { content: "\" \"" } },
|
|
640
|
+
inputRoot: { ":has([type=search])": { borderRadius: theme.radii.full } },
|
|
641
|
+
suggestionsContainer: { "&::before": {
|
|
642
|
+
backgroundColor: "transparent",
|
|
643
|
+
height: 0,
|
|
644
|
+
boxShadow: "none"
|
|
645
|
+
} }
|
|
646
|
+
} },
|
|
647
|
+
HvBaseDropdown: { classes: {
|
|
648
|
+
header: {
|
|
649
|
+
borderColor: theme.colors.textDimmed,
|
|
650
|
+
backgroundColor: inputColors.bg
|
|
651
|
+
},
|
|
652
|
+
headerOpen: { "&,:hover": { borderColor: theme.colors.textDimmed } }
|
|
653
|
+
} },
|
|
654
|
+
HvDropdownPanel: { classes: { panel: { ...popperStyles } } },
|
|
655
|
+
HvDropDownMenu: { classes: {
|
|
656
|
+
root: { "--r": "calc(var(--HvButton-height) / 2)" },
|
|
657
|
+
open: { "&[data-color=secondary]": { borderColor: theme.colors.textDimmed } }
|
|
658
|
+
} },
|
|
659
|
+
HvNumberInput: { classes: {
|
|
660
|
+
root: { ".HvBaseInput-disabled .HvInput-adornmentsBox": { backgroundColor: theme.colors.bgDisabled } },
|
|
661
|
+
adornmentsBox: {
|
|
662
|
+
backgroundColor: theme.colors.bgContainer,
|
|
663
|
+
borderLeft: `1px solid ${theme.colors.border}`,
|
|
664
|
+
borderRadius: theme.radii.none
|
|
665
|
+
}
|
|
666
|
+
} },
|
|
667
|
+
HvTooltip: { classes: { tooltip: {
|
|
668
|
+
padding: theme.spacing("xs", "sm"),
|
|
669
|
+
boxShadow: shadows.elevated
|
|
670
|
+
} } },
|
|
671
|
+
HvCalendarCell: { classes: {
|
|
672
|
+
dateWrapper: {
|
|
673
|
+
width: 32,
|
|
674
|
+
height: 32
|
|
675
|
+
},
|
|
676
|
+
calendarDate: {
|
|
677
|
+
width: 32,
|
|
678
|
+
height: 32,
|
|
679
|
+
...theme.typography.caption1,
|
|
680
|
+
borderRadius: theme.radii.full,
|
|
681
|
+
":hover": { borderRadius: theme.radii.full }
|
|
682
|
+
},
|
|
683
|
+
calendarDateSelected: {
|
|
684
|
+
backgroundColor: theme.colors.primary,
|
|
685
|
+
color: theme.colors.dimmer,
|
|
686
|
+
":hover": {
|
|
687
|
+
border: `1px solid ${theme.colors.primary}`,
|
|
688
|
+
color: theme.colors.text
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
cellContainer: {
|
|
692
|
+
"&:hover": {
|
|
693
|
+
backgroundColor: theme.colors.primaryDimmed,
|
|
694
|
+
borderRadius: theme.radii.full
|
|
695
|
+
},
|
|
696
|
+
":has(> span.HvCalendarCell-calendarDateInSelectionRange):has(> span.HvCalendarCell-startBookend)": {
|
|
697
|
+
backgroundColor: theme.colors.bgPageSecondary,
|
|
698
|
+
borderTopLeftRadius: theme.radii.full,
|
|
699
|
+
borderBottomLeftRadius: theme.radii.full
|
|
700
|
+
},
|
|
701
|
+
":has(> span.HvCalendarCell-calendarDateInSelectionRange):has(> span.HvCalendarCell-endBookend)": {
|
|
702
|
+
backgroundColor: theme.colors.bgPageSecondary,
|
|
703
|
+
borderTopRightRadius: theme.radii.full,
|
|
704
|
+
borderBottomRightRadius: theme.radii.full
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
calendarDateInSelectionRange: { borderRadius: 0 },
|
|
708
|
+
startBookend: {
|
|
709
|
+
backgroundColor: theme.colors.primary,
|
|
710
|
+
color: theme.colors.dimmer,
|
|
711
|
+
borderRadius: theme.radii.full
|
|
712
|
+
},
|
|
713
|
+
endBookend: {
|
|
714
|
+
backgroundColor: theme.colors.primary,
|
|
715
|
+
color: theme.colors.dimmer,
|
|
716
|
+
borderRadius: theme.radii.full
|
|
717
|
+
}
|
|
718
|
+
} },
|
|
719
|
+
HvSingleCalendar: { classes: {
|
|
720
|
+
root: {
|
|
721
|
+
" .HvNavigation-text": { ...theme.typography.captionLabel },
|
|
722
|
+
" .HvNavigation-root": { gap: 0 },
|
|
723
|
+
" .HvMonthSelector-calendarMonthlyGrid": { gridTemplateColumns: "repeat(4, 1fr)" },
|
|
724
|
+
" .HvMonthSelector-calendarMonthlyCell": {
|
|
725
|
+
borderRadius: theme.radii.full,
|
|
726
|
+
width: 48,
|
|
727
|
+
height: 48
|
|
728
|
+
},
|
|
729
|
+
" .HvMonthSelector-calendarMonthlyCellSelected": {
|
|
730
|
+
backgroundColor: theme.colors.primary,
|
|
731
|
+
color: theme.colors.dimmer,
|
|
732
|
+
":hover": {
|
|
733
|
+
border: `1px solid ${theme.colors.primary}`,
|
|
734
|
+
color: theme.colors.text,
|
|
735
|
+
backgroundColor: theme.colors.primaryDimmed
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
calendarDay: {
|
|
740
|
+
width: 32,
|
|
741
|
+
height: 32,
|
|
742
|
+
...theme.typography.caption2
|
|
743
|
+
},
|
|
744
|
+
weekdays: {
|
|
745
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`,
|
|
746
|
+
marginBottom: theme.space.xs,
|
|
747
|
+
justifyContent: "center"
|
|
748
|
+
},
|
|
749
|
+
calendarGrid: {
|
|
750
|
+
justifyContent: "center",
|
|
751
|
+
gridTemplateColumns: "repeat(7, 32px)",
|
|
752
|
+
"& .HvSingleCalendar-cellsInRange": { "& .HvSingleCalendar-startBookend": {
|
|
753
|
+
borderLeft: "none",
|
|
754
|
+
backgroundColor: theme.colors.primary,
|
|
755
|
+
color: theme.colors.dimmer
|
|
756
|
+
} },
|
|
757
|
+
"&:hover .HvSingleCalendar-cellsInRange": { "& .HvSingleCalendar-startBookend": {
|
|
758
|
+
borderLeft: "none",
|
|
759
|
+
backgroundColor: theme.colors.primary,
|
|
760
|
+
color: theme.colors.dimmer
|
|
761
|
+
} },
|
|
762
|
+
"& .HvSingleCalendar-cellsInRange:hover": {
|
|
763
|
+
borderTopRightRadius: theme.radii.full,
|
|
764
|
+
borderBottomRightRadius: theme.radii.full,
|
|
765
|
+
"& .HvSingleCalendar-calendarDate": {
|
|
766
|
+
borderRight: "none",
|
|
767
|
+
backgroundColor: theme.colors.primary,
|
|
768
|
+
color: theme.colors.dimmer
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
cellsInRange: { ":has(span.HvSingleCalendar-startBookend)": {
|
|
773
|
+
borderTopLeftRadius: theme.radii.full,
|
|
774
|
+
borderBottomLeftRadius: theme.radii.full
|
|
775
|
+
} },
|
|
776
|
+
cellContainer: { "&:hover": {
|
|
777
|
+
":has(span.HvSingleCalendar-startBookend)": {
|
|
778
|
+
borderTopRightRadius: 0,
|
|
779
|
+
borderBottomRightRadius: 0
|
|
780
|
+
},
|
|
781
|
+
":has(span.HvSingleCalendar-endBookend)": {
|
|
782
|
+
borderTopLeftRadius: 0,
|
|
783
|
+
borderBottomLeftRadius: 0
|
|
784
|
+
}
|
|
785
|
+
} },
|
|
786
|
+
calendarDateInSelectionRange: { ":hover:not( .HvSingleCalendar-endBookend):not( .HvSingleCalendar-startBookend)": { borderRadius: 0 } },
|
|
787
|
+
startBookend: {
|
|
788
|
+
borderLeft: "none",
|
|
789
|
+
borderTopLeftRadius: theme.radii.full,
|
|
790
|
+
borderBottomLeftRadius: theme.radii.full
|
|
791
|
+
},
|
|
792
|
+
endBookend: {
|
|
793
|
+
borderRight: "none",
|
|
794
|
+
borderTopRightRadius: theme.radii.full,
|
|
795
|
+
borderBottomRightRadius: theme.radii.full
|
|
796
|
+
}
|
|
797
|
+
} },
|
|
798
|
+
HvBannerContent: { classes: { root: {
|
|
799
|
+
overflow: "hidden",
|
|
800
|
+
minHeight: "unset"
|
|
801
|
+
} } },
|
|
802
|
+
HvSnackbarContent: { classes: {
|
|
803
|
+
root: {
|
|
804
|
+
width: 525,
|
|
805
|
+
minHeight: "unset",
|
|
806
|
+
boxShadow: theme.colors.shadow
|
|
807
|
+
},
|
|
808
|
+
messageText: { paddingLeft: 0 },
|
|
809
|
+
iconVariant: {
|
|
810
|
+
alignSelf: "flex-start",
|
|
811
|
+
margin: theme.space.xxs,
|
|
812
|
+
marginRight: theme.space.sm
|
|
813
|
+
}
|
|
814
|
+
} },
|
|
815
|
+
HvBreadCrumb: {
|
|
816
|
+
maxVisible: 5,
|
|
817
|
+
classes: {
|
|
818
|
+
currentPage: {
|
|
819
|
+
fontWeight: theme.fontWeights.semibold,
|
|
820
|
+
padding: `0 ${theme.space.xxs}`
|
|
821
|
+
},
|
|
822
|
+
separatorContainer: { padding: `0 ${theme.space.xxs}` },
|
|
823
|
+
link: {
|
|
824
|
+
height: 24,
|
|
825
|
+
display: "flex",
|
|
826
|
+
alignItems: "center",
|
|
827
|
+
padding: `0px ${theme.space.xxs}`,
|
|
828
|
+
fontWeight: theme.fontWeights.normal
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
separator: "/"
|
|
832
|
+
},
|
|
833
|
+
HvFilterGroupContent: { classes: { actions: { flexDirection: "row-reverse" } } }
|
|
834
|
+
}
|
|
1175
835
|
});
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
};
|
|
836
|
+
//#endregion
|
|
837
|
+
export { pentaho$1 as pentaho };
|