@hitachivantara/uikit-react-core 5.62.1 → 5.63.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/cjs/AppSwitcher/Action/Action.cjs +3 -4
- package/dist/cjs/AvatarGroup/AvatarGroup.cjs +9 -3
- package/dist/cjs/BaseCheckBox/BaseCheckBox.styles.cjs +2 -5
- package/dist/cjs/BaseCheckBox/icons.cjs +3 -9
- package/dist/cjs/BaseRadio/BaseRadio.styles.cjs +2 -1
- package/dist/cjs/Calendar/CalendarNavigation/Navigation/Navigation.cjs +2 -2
- package/dist/cjs/Dialog/Dialog.cjs +1 -1
- package/dist/cjs/Drawer/Drawer.cjs +1 -1
- package/dist/cjs/FileUploader/File/File.cjs +3 -7
- package/dist/cjs/FileUploader/FileList/FileList.cjs +0 -3
- package/dist/cjs/InlineEditor/InlineEditor.cjs +0 -1
- package/dist/cjs/LoadingContainer/LoadingContainer.styles.cjs +2 -2
- package/dist/cjs/Pagination/Pagination.cjs +0 -3
- package/dist/cjs/QueryBuilder/Rule/Rule.cjs +1 -1
- package/dist/cjs/QueryBuilder/RuleGroup/RuleGroup.cjs +0 -1
- package/dist/cjs/Select/Select.cjs +14 -2
- package/dist/cjs/Tag/Tag.cjs +0 -1
- package/dist/cjs/TreeView/TreeView.cjs +2 -2
- package/dist/cjs/VerticalNavigation/Navigation/Navigation.cjs +1 -3
- package/dist/cjs/VerticalNavigation/TreeView/TreeViewItem.cjs +2 -1
- package/dist/esm/AppSwitcher/Action/Action.js +3 -4
- package/dist/esm/AppSwitcher/Action/Action.js.map +1 -1
- package/dist/esm/AvatarGroup/AvatarGroup.js +9 -3
- package/dist/esm/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/esm/BaseCheckBox/BaseCheckBox.styles.js +2 -5
- package/dist/esm/BaseCheckBox/BaseCheckBox.styles.js.map +1 -1
- package/dist/esm/BaseCheckBox/icons.js +3 -9
- package/dist/esm/BaseCheckBox/icons.js.map +1 -1
- package/dist/esm/BaseRadio/BaseRadio.styles.js +2 -1
- package/dist/esm/BaseRadio/BaseRadio.styles.js.map +1 -1
- package/dist/esm/Button/Button.js.map +1 -1
- package/dist/esm/Calendar/CalendarNavigation/Navigation/Navigation.js +2 -2
- package/dist/esm/Calendar/CalendarNavigation/Navigation/Navigation.js.map +1 -1
- package/dist/esm/Dialog/Dialog.js +1 -1
- package/dist/esm/Dialog/Dialog.js.map +1 -1
- package/dist/esm/Drawer/Drawer.js +1 -1
- package/dist/esm/Drawer/Drawer.js.map +1 -1
- package/dist/esm/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/FileUploader/File/File.js +3 -7
- package/dist/esm/FileUploader/File/File.js.map +1 -1
- package/dist/esm/FileUploader/FileList/FileList.js +0 -3
- package/dist/esm/FileUploader/FileList/FileList.js.map +1 -1
- package/dist/esm/InlineEditor/InlineEditor.js +0 -1
- package/dist/esm/InlineEditor/InlineEditor.js.map +1 -1
- package/dist/esm/LoadingContainer/LoadingContainer.styles.js +2 -2
- package/dist/esm/LoadingContainer/LoadingContainer.styles.js.map +1 -1
- package/dist/esm/Pagination/Pagination.js +0 -3
- package/dist/esm/Pagination/Pagination.js.map +1 -1
- package/dist/esm/QueryBuilder/QueryBuilder.js.map +1 -1
- package/dist/esm/QueryBuilder/Rule/Rule.js +1 -1
- package/dist/esm/QueryBuilder/Rule/Rule.js.map +1 -1
- package/dist/esm/QueryBuilder/RuleGroup/RuleGroup.js +0 -1
- package/dist/esm/QueryBuilder/RuleGroup/RuleGroup.js.map +1 -1
- package/dist/esm/Select/Select.js +14 -2
- package/dist/esm/Select/Select.js.map +1 -1
- package/dist/esm/Tag/Tag.js +0 -1
- package/dist/esm/Tag/Tag.js.map +1 -1
- package/dist/esm/TreeView/TreeView.js +2 -2
- package/dist/esm/TreeView/TreeView.js.map +1 -1
- package/dist/esm/VerticalNavigation/Navigation/Navigation.js +1 -3
- package/dist/esm/VerticalNavigation/Navigation/Navigation.js.map +1 -1
- package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.js +2 -1
- package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.js.map +1 -1
- package/dist/esm/utils/wrapperTooltip.js.map +1 -1
- package/dist/types/index.d.ts +11 -0
- package/package.json +3 -3
- package/dist/cjs/Accordion/Accordion.cjs.map +0 -1
- package/dist/cjs/Accordion/Accordion.styles.cjs.map +0 -1
- package/dist/cjs/ActionBar/ActionBar.cjs.map +0 -1
- package/dist/cjs/ActionBar/ActionBar.styles.cjs.map +0 -1
- package/dist/cjs/ActionsGeneric/ActionsGeneric.cjs.map +0 -1
- package/dist/cjs/ActionsGeneric/ActionsGeneric.styles.cjs.map +0 -1
- package/dist/cjs/AppSwitcher/Action/Action.cjs.map +0 -1
- package/dist/cjs/AppSwitcher/Action/Action.styles.cjs.map +0 -1
- package/dist/cjs/AppSwitcher/AppSwitcher.cjs.map +0 -1
- package/dist/cjs/AppSwitcher/AppSwitcher.styles.cjs.map +0 -1
- package/dist/cjs/Avatar/Avatar.cjs.map +0 -1
- package/dist/cjs/Avatar/Avatar.styles.cjs.map +0 -1
- package/dist/cjs/AvatarGroup/AvatarGroup.cjs.map +0 -1
- package/dist/cjs/AvatarGroup/AvatarGroup.styles.cjs.map +0 -1
- package/dist/cjs/Badge/Badge.cjs.map +0 -1
- package/dist/cjs/Badge/Badge.styles.cjs.map +0 -1
- package/dist/cjs/Banner/Banner.cjs.map +0 -1
- package/dist/cjs/Banner/Banner.styles.cjs.map +0 -1
- package/dist/cjs/Banner/BannerContent/ActionContainer/ActionContainer.cjs.map +0 -1
- package/dist/cjs/Banner/BannerContent/ActionContainer/ActionContainer.styles.cjs.map +0 -1
- package/dist/cjs/Banner/BannerContent/BannerContent.cjs.map +0 -1
- package/dist/cjs/Banner/BannerContent/BannerContent.styles.cjs.map +0 -1
- package/dist/cjs/Banner/BannerContent/MessageContainer/MessageContainer.cjs.map +0 -1
- package/dist/cjs/Banner/BannerContent/MessageContainer/MessageContainer.styles.cjs.map +0 -1
- package/dist/cjs/BaseCheckBox/BaseCheckBox.cjs.map +0 -1
- package/dist/cjs/BaseCheckBox/BaseCheckBox.styles.cjs.map +0 -1
- package/dist/cjs/BaseCheckBox/icons.cjs.map +0 -1
- package/dist/cjs/BaseDropdown/BaseDropdown.cjs.map +0 -1
- package/dist/cjs/BaseDropdown/BaseDropdown.styles.cjs.map +0 -1
- package/dist/cjs/BaseDropdown/BaseDropdownContext/BaseDropdownContext.cjs.map +0 -1
- package/dist/cjs/BaseInput/BaseInput.cjs.map +0 -1
- package/dist/cjs/BaseInput/BaseInput.styles.cjs.map +0 -1
- package/dist/cjs/BaseInput/validations.cjs.map +0 -1
- package/dist/cjs/BaseRadio/BaseRadio.cjs.map +0 -1
- package/dist/cjs/BaseRadio/BaseRadio.styles.cjs.map +0 -1
- package/dist/cjs/BaseRadio/icons.cjs.map +0 -1
- package/dist/cjs/BaseSwitch/BaseSwitch.cjs.map +0 -1
- package/dist/cjs/BaseSwitch/BaseSwitch.styles.cjs.map +0 -1
- package/dist/cjs/Box/Box.cjs.map +0 -1
- package/dist/cjs/BreadCrumb/BreadCrumb.cjs.map +0 -1
- package/dist/cjs/BreadCrumb/BreadCrumb.styles.cjs.map +0 -1
- package/dist/cjs/BreadCrumb/Page/Page.cjs.map +0 -1
- package/dist/cjs/BreadCrumb/Page/Page.styles.cjs.map +0 -1
- package/dist/cjs/BreadCrumb/PathElement/PathElement.cjs.map +0 -1
- package/dist/cjs/BreadCrumb/PathElement/PathElement.styles.cjs.map +0 -1
- package/dist/cjs/BreadCrumb/utils.cjs.map +0 -1
- package/dist/cjs/BulkActions/BulkActions.cjs.map +0 -1
- package/dist/cjs/BulkActions/BulkActions.styles.cjs.map +0 -1
- package/dist/cjs/Button/Button.cjs.map +0 -1
- package/dist/cjs/Button/Button.styles.cjs.map +0 -1
- package/dist/cjs/Button/types.cjs.map +0 -1
- package/dist/cjs/Calendar/Calendar.cjs.map +0 -1
- package/dist/cjs/Calendar/Calendar.styles.cjs.map +0 -1
- package/dist/cjs/Calendar/CalendarHeader/CalendarHeader.cjs.map +0 -1
- package/dist/cjs/Calendar/CalendarHeader/CalendarHeader.styles.cjs.map +0 -1
- package/dist/cjs/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.cjs.map +0 -1
- package/dist/cjs/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.styles.cjs.map +0 -1
- package/dist/cjs/Calendar/CalendarNavigation/MonthSelector/MonthSelector.cjs.map +0 -1
- package/dist/cjs/Calendar/CalendarNavigation/MonthSelector/MonthSelector.styles.cjs.map +0 -1
- package/dist/cjs/Calendar/CalendarNavigation/Navigation/Navigation.cjs.map +0 -1
- package/dist/cjs/Calendar/CalendarNavigation/Navigation/Navigation.styles.cjs.map +0 -1
- package/dist/cjs/Calendar/SingleCalendar/CalendarCell.cjs.map +0 -1
- package/dist/cjs/Calendar/SingleCalendar/CalendarCell.styles.cjs.map +0 -1
- package/dist/cjs/Calendar/SingleCalendar/SingleCalendar.cjs.map +0 -1
- package/dist/cjs/Calendar/SingleCalendar/SingleCalendar.styles.cjs.map +0 -1
- package/dist/cjs/Calendar/model.cjs.map +0 -1
- package/dist/cjs/Calendar/utils.cjs.map +0 -1
- package/dist/cjs/Card/Card.cjs.map +0 -1
- package/dist/cjs/Card/Card.styles.cjs.map +0 -1
- package/dist/cjs/Card/Content/Content.cjs.map +0 -1
- package/dist/cjs/Card/Content/Content.styles.cjs.map +0 -1
- package/dist/cjs/Card/Header/Header.cjs.map +0 -1
- package/dist/cjs/Card/Header/Header.styles.cjs.map +0 -1
- package/dist/cjs/Card/Media/Media.cjs.map +0 -1
- package/dist/cjs/Card/Media/Media.styles.cjs.map +0 -1
- package/dist/cjs/Carousel/Carousel.cjs.map +0 -1
- package/dist/cjs/Carousel/Carousel.styles.cjs.map +0 -1
- package/dist/cjs/Carousel/CarouselControls.cjs.map +0 -1
- package/dist/cjs/Carousel/CarouselSlide/CarouselSlide.cjs.map +0 -1
- package/dist/cjs/Carousel/CarouselSlide/CarouselSlide.styles.cjs.map +0 -1
- package/dist/cjs/Carousel/CarouselThumbnails.cjs.map +0 -1
- package/dist/cjs/CheckBox/CheckBox.cjs.map +0 -1
- package/dist/cjs/CheckBox/CheckBox.styles.cjs.map +0 -1
- package/dist/cjs/CheckBoxGroup/CheckBoxGroup.cjs.map +0 -1
- package/dist/cjs/CheckBoxGroup/CheckBoxGroup.styles.cjs.map +0 -1
- package/dist/cjs/ColorPicker/ColorPicker.cjs.map +0 -1
- package/dist/cjs/ColorPicker/ColorPicker.styles.cjs.map +0 -1
- package/dist/cjs/ColorPicker/Fields/Fields.cjs.map +0 -1
- package/dist/cjs/ColorPicker/Fields/Fields.styles.cjs.map +0 -1
- package/dist/cjs/ColorPicker/Picker/Picker.cjs.map +0 -1
- package/dist/cjs/ColorPicker/Picker/Picker.styles.cjs.map +0 -1
- package/dist/cjs/ColorPicker/PresetColors/PresetColors.cjs.map +0 -1
- package/dist/cjs/ColorPicker/PresetColors/PresetColors.styles.cjs.map +0 -1
- package/dist/cjs/ColorPicker/SavedColors/SavedColors.cjs.map +0 -1
- package/dist/cjs/ColorPicker/SavedColors/SavedColors.styles.cjs.map +0 -1
- package/dist/cjs/Container/Container.cjs.map +0 -1
- package/dist/cjs/Container/Container.styles.cjs.map +0 -1
- package/dist/cjs/Controls/Controls.cjs.map +0 -1
- package/dist/cjs/Controls/Controls.styles.cjs.map +0 -1
- package/dist/cjs/Controls/LeftControl/LeftControl.cjs.map +0 -1
- package/dist/cjs/Controls/LeftControl/LeftControl.styles.cjs.map +0 -1
- package/dist/cjs/Controls/RightControl/RightControl.cjs.map +0 -1
- package/dist/cjs/Controls/RightControl/RightControl.styles.cjs.map +0 -1
- package/dist/cjs/Controls/context/ControlsContext.cjs.map +0 -1
- package/dist/cjs/DatePicker/DatePicker.cjs.map +0 -1
- package/dist/cjs/DatePicker/DatePicker.styles.cjs.map +0 -1
- package/dist/cjs/DatePicker/useVisibleDate.cjs.map +0 -1
- package/dist/cjs/DatePicker/utils.cjs.map +0 -1
- package/dist/cjs/Dialog/Actions/Actions.cjs.map +0 -1
- package/dist/cjs/Dialog/Actions/Actions.styles.cjs.map +0 -1
- package/dist/cjs/Dialog/Content/Content.cjs.map +0 -1
- package/dist/cjs/Dialog/Content/Content.styles.cjs.map +0 -1
- package/dist/cjs/Dialog/Dialog.cjs.map +0 -1
- package/dist/cjs/Dialog/Dialog.styles.cjs.map +0 -1
- package/dist/cjs/Dialog/Title/Title.cjs.map +0 -1
- package/dist/cjs/Dialog/Title/Title.styles.cjs.map +0 -1
- package/dist/cjs/Dialog/context.cjs.map +0 -1
- package/dist/cjs/DotPagination/DotPagination.cjs.map +0 -1
- package/dist/cjs/DotPagination/DotPagination.styles.cjs.map +0 -1
- package/dist/cjs/Drawer/Drawer.cjs.map +0 -1
- package/dist/cjs/Drawer/Drawer.styles.cjs.map +0 -1
- package/dist/cjs/DropDownMenu/DropDownMenu.cjs.map +0 -1
- package/dist/cjs/DropDownMenu/DropDownMenu.styles.cjs.map +0 -1
- package/dist/cjs/Dropdown/Dropdown.cjs.map +0 -1
- package/dist/cjs/Dropdown/Dropdown.styles.cjs.map +0 -1
- package/dist/cjs/Dropdown/List/List.cjs.map +0 -1
- package/dist/cjs/Dropdown/List/List.styles.cjs.map +0 -1
- package/dist/cjs/Dropdown/utils.cjs.map +0 -1
- package/dist/cjs/DropdownButton/DropdownButton.cjs.map +0 -1
- package/dist/cjs/DropdownButton/DropdownButton.styles.cjs.map +0 -1
- package/dist/cjs/EmptyState/EmptyState.cjs.map +0 -1
- package/dist/cjs/EmptyState/EmptyState.styles.cjs.map +0 -1
- package/dist/cjs/FileUploader/DropZone/DropZone.cjs.map +0 -1
- package/dist/cjs/FileUploader/DropZone/DropZone.styles.cjs.map +0 -1
- package/dist/cjs/FileUploader/File/File.cjs.map +0 -1
- package/dist/cjs/FileUploader/File/File.styles.cjs.map +0 -1
- package/dist/cjs/FileUploader/FileList/FileList.cjs.map +0 -1
- package/dist/cjs/FileUploader/FileList/FileList.styles.cjs.map +0 -1
- package/dist/cjs/FileUploader/FileUploader.cjs.map +0 -1
- package/dist/cjs/FileUploader/Preview/Preview.cjs.map +0 -1
- package/dist/cjs/FileUploader/Preview/Preview.styles.cjs.map +0 -1
- package/dist/cjs/FileUploader/utils.cjs.map +0 -1
- package/dist/cjs/FilterGroup/Counter/Counter.cjs.map +0 -1
- package/dist/cjs/FilterGroup/Counter/Counter.styles.cjs.map +0 -1
- package/dist/cjs/FilterGroup/FilterContent/FilterContent.cjs.map +0 -1
- package/dist/cjs/FilterGroup/FilterContent/FilterContent.styles.cjs.map +0 -1
- package/dist/cjs/FilterGroup/FilterGroup.cjs.map +0 -1
- package/dist/cjs/FilterGroup/FilterGroup.styles.cjs.map +0 -1
- package/dist/cjs/FilterGroup/FilterGroupContext.cjs.map +0 -1
- package/dist/cjs/FilterGroup/LeftPanel/LeftPanel.cjs.map +0 -1
- package/dist/cjs/FilterGroup/LeftPanel/LeftPanel.styles.cjs.map +0 -1
- package/dist/cjs/FilterGroup/RightPanel/RightPanel.cjs.map +0 -1
- package/dist/cjs/FilterGroup/RightPanel/RightPanel.styles.cjs.map +0 -1
- package/dist/cjs/Focus/Focus.cjs.map +0 -1
- package/dist/cjs/Focus/Focus.styles.cjs.map +0 -1
- package/dist/cjs/Focus/utils.cjs.map +0 -1
- package/dist/cjs/Footer/Footer.cjs.map +0 -1
- package/dist/cjs/Footer/Footer.styles.cjs.map +0 -1
- package/dist/cjs/Forms/Adornment/Adornment.cjs.map +0 -1
- package/dist/cjs/Forms/Adornment/Adornment.styles.cjs.map +0 -1
- package/dist/cjs/Forms/CharCounter/CharCounter.cjs.map +0 -1
- package/dist/cjs/Forms/CharCounter/CharCounter.styles.cjs.map +0 -1
- package/dist/cjs/Forms/FormElement/FormElement.cjs.map +0 -1
- package/dist/cjs/Forms/FormElement/FormElement.styles.cjs.map +0 -1
- package/dist/cjs/Forms/FormElement/context/FormElementContext.cjs.map +0 -1
- package/dist/cjs/Forms/FormElement/context/FormElementDescriptorsContext.cjs.map +0 -1
- package/dist/cjs/Forms/FormElement/context/FormElementValueContext.cjs.map +0 -1
- package/dist/cjs/Forms/FormElement/utils/FormUtils.cjs.map +0 -1
- package/dist/cjs/Forms/FormElement/validationStates.cjs.map +0 -1
- package/dist/cjs/Forms/InfoMessage/InfoMessage.cjs.map +0 -1
- package/dist/cjs/Forms/InfoMessage/InfoMessage.styles.cjs.map +0 -1
- package/dist/cjs/Forms/Label/Label.cjs.map +0 -1
- package/dist/cjs/Forms/Label/Label.styles.cjs.map +0 -1
- package/dist/cjs/Forms/Suggestions/Suggestions.cjs.map +0 -1
- package/dist/cjs/Forms/Suggestions/Suggestions.styles.cjs.map +0 -1
- package/dist/cjs/Forms/WarningText/WarningText.cjs.map +0 -1
- package/dist/cjs/Forms/WarningText/WarningText.styles.cjs.map +0 -1
- package/dist/cjs/GlobalActions/GlobalActions.cjs.map +0 -1
- package/dist/cjs/GlobalActions/GlobalActions.styles.cjs.map +0 -1
- package/dist/cjs/Grid/Grid.cjs.map +0 -1
- package/dist/cjs/Grid/Grid.styles.cjs.map +0 -1
- package/dist/cjs/Header/Actions/Actions.cjs.map +0 -1
- package/dist/cjs/Header/Actions/Actions.styles.cjs.map +0 -1
- package/dist/cjs/Header/Brand/Brand.cjs.map +0 -1
- package/dist/cjs/Header/Brand/Brand.styles.cjs.map +0 -1
- package/dist/cjs/Header/Header.cjs.map +0 -1
- package/dist/cjs/Header/Header.styles.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/MenuBar/Bar.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/MenuBar/Bar.styles.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/MenuBar/MenuBar.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/MenuItem/MenuItem.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/MenuItem/MenuItem.styles.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/Navigation.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/Navigation.styles.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/useSelectionPath.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/utils/FocusContext.cjs.map +0 -1
- package/dist/cjs/Header/Navigation/utils/SelectionContext.cjs.map +0 -1
- package/dist/cjs/IconButton/IconButton.cjs.map +0 -1
- package/dist/cjs/InlineEditor/InlineEditor.cjs.map +0 -1
- package/dist/cjs/InlineEditor/InlineEditor.styles.cjs.map +0 -1
- package/dist/cjs/Input/Input.cjs.map +0 -1
- package/dist/cjs/Input/Input.styles.cjs.map +0 -1
- package/dist/cjs/Kpi/Kpi.cjs.map +0 -1
- package/dist/cjs/Kpi/Kpi.styles.cjs.map +0 -1
- package/dist/cjs/Link/Link.cjs.map +0 -1
- package/dist/cjs/Link/Link.styles.cjs.map +0 -1
- package/dist/cjs/List/List.cjs.map +0 -1
- package/dist/cjs/List/List.styles.cjs.map +0 -1
- package/dist/cjs/List/useSelectableList.cjs.map +0 -1
- package/dist/cjs/List/utils.cjs.map +0 -1
- package/dist/cjs/ListContainer/ListContainer.cjs.map +0 -1
- package/dist/cjs/ListContainer/ListContainer.styles.cjs.map +0 -1
- package/dist/cjs/ListContainer/ListContext/ListContext.cjs.map +0 -1
- package/dist/cjs/ListContainer/ListItem/ListItem.cjs.map +0 -1
- package/dist/cjs/ListContainer/ListItem/ListItem.styles.cjs.map +0 -1
- package/dist/cjs/Loading/Loading.cjs.map +0 -1
- package/dist/cjs/Loading/Loading.styles.cjs.map +0 -1
- package/dist/cjs/LoadingContainer/LoadingContainer.cjs.map +0 -1
- package/dist/cjs/LoadingContainer/LoadingContainer.styles.cjs.map +0 -1
- package/dist/cjs/Login/Login.cjs.map +0 -1
- package/dist/cjs/Login/Login.styles.cjs.map +0 -1
- package/dist/cjs/MultiButton/MultiButton.cjs.map +0 -1
- package/dist/cjs/MultiButton/MultiButton.styles.cjs.map +0 -1
- package/dist/cjs/OverflowTooltip/OverflowTooltip.cjs.map +0 -1
- package/dist/cjs/OverflowTooltip/OverflowTooltip.styles.cjs.map +0 -1
- package/dist/cjs/Pagination/Pagination.cjs.map +0 -1
- package/dist/cjs/Pagination/Pagination.styles.cjs.map +0 -1
- package/dist/cjs/Pagination/Select.cjs.map +0 -1
- package/dist/cjs/Pagination/Select.styles.cjs.map +0 -1
- package/dist/cjs/Pagination/utils.cjs.map +0 -1
- package/dist/cjs/Panel/Panel.cjs.map +0 -1
- package/dist/cjs/Panel/Panel.styles.cjs.map +0 -1
- package/dist/cjs/ProgressBar/ProgressBar.cjs.map +0 -1
- package/dist/cjs/ProgressBar/ProgressBar.styles.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/ConfirmationDialog/ConfirmationDialog.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Context.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/QueryBuilder.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/QueryBuilder.styles.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Attribute/Attribute.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Operator/Operator.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Rule.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Rule.styles.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/BooleanValue/BooleanValue.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/DateTimeValue/utils.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/EmptyValue/EmptyValue.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/NumericValue/NumericValue.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/TextValue/TextValue.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/TextValue/TextValue.styles.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/Rule/Value/Value.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/RuleGroup/RuleGroup.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/types.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/utils/index.cjs.map +0 -1
- package/dist/cjs/QueryBuilder/utils/reducer.cjs.map +0 -1
- package/dist/cjs/Radio/Radio.cjs.map +0 -1
- package/dist/cjs/Radio/Radio.styles.cjs.map +0 -1
- package/dist/cjs/RadioGroup/RadioGroup.cjs.map +0 -1
- package/dist/cjs/RadioGroup/RadioGroup.styles.cjs.map +0 -1
- package/dist/cjs/ScrollTo/Horizontal/HorizontalScrollListItem/HorizontalScrollListItem.cjs.map +0 -1
- package/dist/cjs/ScrollTo/Horizontal/HorizontalScrollListItem/HorizontalScrollListItem.styles.cjs.map +0 -1
- package/dist/cjs/ScrollTo/Horizontal/ScrollToHorizontal.cjs.map +0 -1
- package/dist/cjs/ScrollTo/Horizontal/ScrollToHorizontal.styles.cjs.map +0 -1
- package/dist/cjs/ScrollTo/Vertical/ScrollToVertical.cjs.map +0 -1
- package/dist/cjs/ScrollTo/Vertical/ScrollToVertical.styles.cjs.map +0 -1
- package/dist/cjs/ScrollTo/Vertical/VerticalScrollListItem/VerticalScrollListItem.cjs.map +0 -1
- package/dist/cjs/ScrollTo/Vertical/VerticalScrollListItem/VerticalScrollListItem.styles.cjs.map +0 -1
- package/dist/cjs/ScrollTo/useScrollTo.cjs.map +0 -1
- package/dist/cjs/ScrollTo/utils.cjs.map +0 -1
- package/dist/cjs/ScrollTo/withTooltip.cjs.map +0 -1
- package/dist/cjs/Section/Section.cjs.map +0 -1
- package/dist/cjs/Section/Section.styles.cjs.map +0 -1
- package/dist/cjs/Select/Option.cjs.map +0 -1
- package/dist/cjs/Select/OptionGroup.cjs.map +0 -1
- package/dist/cjs/Select/Select.cjs.map +0 -1
- package/dist/cjs/Select/Select.styles.cjs.map +0 -1
- package/dist/cjs/SelectionList/SelectionList.cjs.map +0 -1
- package/dist/cjs/SelectionList/SelectionList.styles.cjs.map +0 -1
- package/dist/cjs/SimpleGrid/SimpleGrid.cjs.map +0 -1
- package/dist/cjs/SimpleGrid/SimpleGrid.styles.cjs.map +0 -1
- package/dist/cjs/Skeleton/Skeleton.cjs.map +0 -1
- package/dist/cjs/Skeleton/Skeleton.styles.cjs.map +0 -1
- package/dist/cjs/Slider/Slider.cjs.map +0 -1
- package/dist/cjs/Slider/Slider.styles.cjs.map +0 -1
- package/dist/cjs/Slider/SliderInput/SliderInput.cjs.map +0 -1
- package/dist/cjs/Slider/SliderInput/SliderInput.styles.cjs.map +0 -1
- package/dist/cjs/Slider/base.cjs.map +0 -1
- package/dist/cjs/Slider/utils.cjs.map +0 -1
- package/dist/cjs/Snackbar/Snackbar.cjs.map +0 -1
- package/dist/cjs/Snackbar/Snackbar.styles.cjs.map +0 -1
- package/dist/cjs/Snackbar/SnackbarContent/SnackbarContent.cjs.map +0 -1
- package/dist/cjs/Snackbar/SnackbarContent/SnackbarContent.styles.cjs.map +0 -1
- package/dist/cjs/SnackbarProvider/SnackbarProvider.cjs.map +0 -1
- package/dist/cjs/SnackbarProvider/SnackbarProvider.styles.cjs.map +0 -1
- package/dist/cjs/Stack/Stack.cjs.map +0 -1
- package/dist/cjs/Stack/Stack.styles.cjs.map +0 -1
- package/dist/cjs/Switch/Switch.cjs.map +0 -1
- package/dist/cjs/Switch/Switch.styles.cjs.map +0 -1
- package/dist/cjs/Tab/Tab.cjs.map +0 -1
- package/dist/cjs/Tab/Tab.styles.cjs.map +0 -1
- package/dist/cjs/Table/Table.cjs.map +0 -1
- package/dist/cjs/Table/Table.styles.cjs.map +0 -1
- package/dist/cjs/Table/TableBody/TableBody.cjs.map +0 -1
- package/dist/cjs/Table/TableBody/TableBody.styles.cjs.map +0 -1
- package/dist/cjs/Table/TableCell/TableCell.cjs.map +0 -1
- package/dist/cjs/Table/TableCell/TableCell.styles.cjs.map +0 -1
- package/dist/cjs/Table/TableContainer/TableContainer.cjs.map +0 -1
- package/dist/cjs/Table/TableContainer/TableContainer.styles.cjs.map +0 -1
- package/dist/cjs/Table/TableContext.cjs.map +0 -1
- package/dist/cjs/Table/TableHead/TableHead.cjs.map +0 -1
- package/dist/cjs/Table/TableHead/TableHead.styles.cjs.map +0 -1
- package/dist/cjs/Table/TableHeader/TableHeader.cjs.map +0 -1
- package/dist/cjs/Table/TableHeader/TableHeader.styles.cjs.map +0 -1
- package/dist/cjs/Table/TableHeader/utils.cjs.map +0 -1
- package/dist/cjs/Table/TableRow/TableRow.cjs.map +0 -1
- package/dist/cjs/Table/TableRow/TableRow.styles.cjs.map +0 -1
- package/dist/cjs/Table/TableSectionContext.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useBulkActions.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useFilters.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useGlobalFilter.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useHeaderGroups.cjs.map +0 -1
- package/dist/cjs/Table/hooks/usePagination.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useResizeColumns.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useRowExpand.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useRowSelection.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useRowState.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useSortBy.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useSticky.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useTable.cjs.map +0 -1
- package/dist/cjs/Table/hooks/useTableStyles.cjs.map +0 -1
- package/dist/cjs/Table/renderers/DateColumnCell/DateColumnCell.cjs.map +0 -1
- package/dist/cjs/Table/renderers/DropdownColumnCell/DropdownColumnCell.cjs.map +0 -1
- package/dist/cjs/Table/renderers/ProgressColumnCell/ProgressColumnCell.cjs.map +0 -1
- package/dist/cjs/Table/renderers/ProgressColumnCell/ProgressColumnCell.styles.cjs.map +0 -1
- package/dist/cjs/Table/renderers/SwitchColumnCell/SwitchColumnCell.cjs.map +0 -1
- package/dist/cjs/Table/renderers/SwitchColumnCell/SwitchColumnCell.styles.cjs.map +0 -1
- package/dist/cjs/Table/renderers/renderers.cjs.map +0 -1
- package/dist/cjs/Table/utils/fallbacks.cjs.map +0 -1
- package/dist/cjs/Table/utils/utils.cjs.map +0 -1
- package/dist/cjs/TableSection/TableSection.cjs.map +0 -1
- package/dist/cjs/TableSection/TableSection.styles.cjs.map +0 -1
- package/dist/cjs/Tabs/Tabs.cjs.map +0 -1
- package/dist/cjs/Tabs/Tabs.styles.cjs.map +0 -1
- package/dist/cjs/Tag/Tag.cjs.map +0 -1
- package/dist/cjs/Tag/Tag.styles.cjs.map +0 -1
- package/dist/cjs/TagsInput/TagsInput.cjs.map +0 -1
- package/dist/cjs/TagsInput/TagsInput.styles.cjs.map +0 -1
- package/dist/cjs/TextArea/TextArea.cjs.map +0 -1
- package/dist/cjs/TextArea/TextArea.styles.cjs.map +0 -1
- package/dist/cjs/TimeAgo/TimeAgo.cjs.map +0 -1
- package/dist/cjs/TimeAgo/TimeAgo.styles.cjs.map +0 -1
- package/dist/cjs/TimeAgo/formatUtils.cjs.map +0 -1
- package/dist/cjs/TimeAgo/useTimeAgo.cjs.map +0 -1
- package/dist/cjs/TimeAgo/useTimeout.cjs.map +0 -1
- package/dist/cjs/TimePicker/Placeholder.cjs.map +0 -1
- package/dist/cjs/TimePicker/TimePicker.cjs.map +0 -1
- package/dist/cjs/TimePicker/TimePicker.styles.cjs.map +0 -1
- package/dist/cjs/TimePicker/Unit/Unit.cjs.map +0 -1
- package/dist/cjs/TimePicker/Unit/Unit.styles.cjs.map +0 -1
- package/dist/cjs/ToggleButton/ToggleButton.cjs.map +0 -1
- package/dist/cjs/Tooltip/Tooltip.cjs.map +0 -1
- package/dist/cjs/Tooltip/Tooltip.styles.cjs.map +0 -1
- package/dist/cjs/TreeView/TreeItem/DefaultContent.cjs.map +0 -1
- package/dist/cjs/TreeView/TreeItem/TreeItem.cjs.map +0 -1
- package/dist/cjs/TreeView/TreeItem/TreeItem.styles.cjs.map +0 -1
- package/dist/cjs/TreeView/TreeItem/useHvTreeItem.cjs.map +0 -1
- package/dist/cjs/TreeView/TreeView.cjs.map +0 -1
- package/dist/cjs/TreeView/TreeView.styles.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/DescendantProvider.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/TreeViewProvider.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/corePlugins.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/plugins/defaultPlugins.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewContextValueBuilder.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewExpansion.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewFocus.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewKeyboardNavigation.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewNodes.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewSelection.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/useInstanceEventHandler.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/useTreeView.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/useTreeViewInstanceEvents.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/useTreeViewModels.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/hooks/utils.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/utils/EventManager.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/utils/FinalizationRegistryBasedCleanupTracking.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/utils/TimerBasedCleanupTracking.cjs.map +0 -1
- package/dist/cjs/TreeView/internals/utils/publishTreeViewEvent.cjs.map +0 -1
- package/dist/cjs/Typography/Typography.cjs.map +0 -1
- package/dist/cjs/Typography/Typography.styles.cjs.map +0 -1
- package/dist/cjs/Typography/utils.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/Actions/Action.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/Actions/Action.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/Actions/Actions.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/Actions/Actions.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/Header/Header.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/Header/Header.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/Navigation/Navigation.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/Navigation/Navigation.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/NavigationPopup/NavigationPopup.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/NavigationPopup/NavigationPopupContainer.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/NavigationSlider/NavigationSlider.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/NavigationSlider/NavigationSlider.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/NavigationSlider/utils/NavigationSlider.utils.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/TreeView/IconWrapper/IconWrapper.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/TreeView/IconWrapper/IconWrapper.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/TreeView/TreeView.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/TreeView/TreeView.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/TreeView/TreeViewContext.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/TreeView/TreeViewItem.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/TreeView/TreeViewItem.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/TreeView/descendants.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/VerticalNavigation.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/VerticalNavigation.styles.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/VerticalNavigationContext.cjs.map +0 -1
- package/dist/cjs/VerticalNavigation/utils/VerticalNavigation.utils.cjs.map +0 -1
- package/dist/cjs/hocs/withTooltip.cjs.map +0 -1
- package/dist/cjs/hooks/useClickOutside.cjs.map +0 -1
- package/dist/cjs/hooks/useComputation.cjs.map +0 -1
- package/dist/cjs/hooks/useControlled.cjs.map +0 -1
- package/dist/cjs/hooks/useCss.cjs.map +0 -1
- package/dist/cjs/hooks/useDefaultProps.cjs.map +0 -1
- package/dist/cjs/hooks/useEmotionCache.cjs.map +0 -1
- package/dist/cjs/hooks/useEnhancedEffect.cjs.map +0 -1
- package/dist/cjs/hooks/useForkRef.cjs.map +0 -1
- package/dist/cjs/hooks/useImageLoaded.cjs.map +0 -1
- package/dist/cjs/hooks/useIsMounted.cjs.map +0 -1
- package/dist/cjs/hooks/useLabels.cjs.map +0 -1
- package/dist/cjs/hooks/useTheme.cjs.map +0 -1
- package/dist/cjs/hooks/useUniqueId.cjs.map +0 -1
- package/dist/cjs/hooks/useWidth.cjs.map +0 -1
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/cjs/providers/Provider.cjs.map +0 -1
- package/dist/cjs/providers/ThemeProvider.cjs.map +0 -1
- package/dist/cjs/types/generic.cjs.map +0 -1
- package/dist/cjs/utils/ConditionalWrapper.cjs.map +0 -1
- package/dist/cjs/utils/Random.cjs.map +0 -1
- package/dist/cjs/utils/browser.cjs.map +0 -1
- package/dist/cjs/utils/checkValidHexColorValue.cjs.map +0 -1
- package/dist/cjs/utils/classes.cjs.map +0 -1
- package/dist/cjs/utils/document.cjs.map +0 -1
- package/dist/cjs/utils/focusUtils.cjs.map +0 -1
- package/dist/cjs/utils/focusableElementFinder.cjs.map +0 -1
- package/dist/cjs/utils/getComponentName.cjs.map +0 -1
- package/dist/cjs/utils/helpers.cjs.map +0 -1
- package/dist/cjs/utils/hexToRgbA.cjs.map +0 -1
- package/dist/cjs/utils/iconVariant.cjs.map +0 -1
- package/dist/cjs/utils/keyboardUtils.cjs.map +0 -1
- package/dist/cjs/utils/multiSelectionEventHandler.cjs.map +0 -1
- package/dist/cjs/utils/setId.cjs.map +0 -1
- package/dist/cjs/utils/sizes.cjs.map +0 -1
- package/dist/cjs/utils/theme.cjs.map +0 -1
- package/dist/cjs/utils/useSavedState.cjs.map +0 -1
- package/dist/cjs/utils/wrapperTooltip.cjs.map +0 -1
|
@@ -127,15 +127,14 @@ const HvAppSwitcherAction = ({
|
|
|
127
127
|
disableFocusListener: true,
|
|
128
128
|
disableTouchListener: true,
|
|
129
129
|
title: description,
|
|
130
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
130
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
131
131
|
uikitReactIcons.Info,
|
|
132
132
|
{
|
|
133
133
|
className: classes.iconInfo,
|
|
134
|
-
|
|
135
|
-
"aria-label": description,
|
|
134
|
+
title: description,
|
|
136
135
|
id: descriptionElementId
|
|
137
136
|
}
|
|
138
|
-
)
|
|
137
|
+
)
|
|
139
138
|
}
|
|
140
139
|
)
|
|
141
140
|
] })
|
|
@@ -35,6 +35,7 @@ const HvAvatarGroup = React.forwardRef(
|
|
|
35
35
|
toBack = true,
|
|
36
36
|
maxVisible = 3,
|
|
37
37
|
overflowComponent,
|
|
38
|
+
highlight = false,
|
|
38
39
|
...others
|
|
39
40
|
} = useDefaultProps.useDefaultProps("HvAvatarGroup", props);
|
|
40
41
|
const { classes, cx } = AvatarGroup_styles.useClasses(classesProp);
|
|
@@ -52,13 +53,18 @@ const HvAvatarGroup = React.forwardRef(
|
|
|
52
53
|
React.Children.map(children, (child, index) => {
|
|
53
54
|
if (index < maxVisible) {
|
|
54
55
|
return React.cloneElement(child, {
|
|
55
|
-
style: {
|
|
56
|
-
zIndex: 100 + index * zIndexMultiplier
|
|
57
|
-
},
|
|
58
56
|
classes: {
|
|
59
57
|
container: css.css({
|
|
60
58
|
marginLeft: direction === "row" ? index !== 0 ? -spacingValue : 0 : 0,
|
|
61
59
|
marginTop: direction === "column" ? index !== 0 ? -spacingValue : 0 : 0
|
|
60
|
+
}),
|
|
61
|
+
root: css.css({
|
|
62
|
+
zIndex: 100 + index * zIndexMultiplier,
|
|
63
|
+
...highlight && {
|
|
64
|
+
"&:hover": {
|
|
65
|
+
zIndex: 100 + totalChildren + 1
|
|
66
|
+
}
|
|
67
|
+
}
|
|
62
68
|
})
|
|
63
69
|
},
|
|
64
70
|
size
|
|
@@ -28,7 +28,8 @@ const { staticClasses, useClasses } = classes.createClasses("HvBaseCheckBox", {
|
|
|
28
28
|
pointerEvents: "initial",
|
|
29
29
|
"& svg": {
|
|
30
30
|
color: uikitStyles.theme.colors.atmo3,
|
|
31
|
-
borderColor: uikitStyles.theme.colors.secondary_60
|
|
31
|
+
borderColor: uikitStyles.theme.colors.secondary_60,
|
|
32
|
+
backgroundColor: uikitStyles.theme.colors.atmo3
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
},
|
|
@@ -46,8 +47,6 @@ const { staticClasses, useClasses } = classes.createClasses("HvBaseCheckBox", {
|
|
|
46
47
|
},
|
|
47
48
|
"&$disabled": {
|
|
48
49
|
"& svg": {
|
|
49
|
-
backgroundColor: uikitStyles.theme.colors.atmo3,
|
|
50
|
-
borderColor: uikitStyles.theme.colors.atmo3,
|
|
51
50
|
color: uikitStyles.theme.colors.secondary_60
|
|
52
51
|
}
|
|
53
52
|
}
|
|
@@ -58,8 +57,6 @@ const { staticClasses, useClasses } = classes.createClasses("HvBaseCheckBox", {
|
|
|
58
57
|
},
|
|
59
58
|
"&$disabled": {
|
|
60
59
|
"& svg": {
|
|
61
|
-
backgroundColor: uikitStyles.theme.colors.atmo3,
|
|
62
|
-
borderColor: uikitStyles.theme.colors.secondary_60,
|
|
63
60
|
color: uikitStyles.theme.colors.secondary_60
|
|
64
61
|
}
|
|
65
62
|
}
|
|
@@ -2,19 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
4
4
|
const Box = () => {
|
|
5
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
5
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 14 14", fill: "currentColor", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m0,0l16,0l0,16l-16,0l0,-16z" }) });
|
|
6
6
|
};
|
|
7
7
|
const Check = () => {
|
|
8
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
9
|
-
"path",
|
|
10
|
-
{
|
|
11
|
-
d: "m5.03,12.06l-3.76,-3.75l1.42,-1.42l2.24,2.25l6.3,-7.2l1.5,1.31l-7.7,8.81z",
|
|
12
|
-
fill: "currentcolor"
|
|
13
|
-
}
|
|
14
|
-
) });
|
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 14 14", fill: "currentColor", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m5.03,12.06l-3.76,-3.75l1.42,-1.42l2.24,2.25l6.3,-7.2l1.5,1.31l-7.7,8.81z" }) });
|
|
15
9
|
};
|
|
16
10
|
const Partial = () => {
|
|
17
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 14 14", fill: "currentColor", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m3,8l8,0l0,-2l-8,0l0,2z" }) });
|
|
18
12
|
};
|
|
19
13
|
exports.Box = Box;
|
|
20
14
|
exports.Check = Check;
|
|
@@ -18,7 +18,8 @@ const { staticClasses, useClasses } = classes.createClasses("HvBaseRadio", {
|
|
|
18
18
|
width: 16,
|
|
19
19
|
height: 16,
|
|
20
20
|
borderRadius: uikitStyles.theme.radii.circle,
|
|
21
|
-
border: `1px solid ${uikitStyles.theme.colors.secondary}
|
|
21
|
+
border: `1px solid ${uikitStyles.theme.colors.secondary}`,
|
|
22
|
+
backgroundColor: uikitStyles.theme.colors.atmo1
|
|
22
23
|
},
|
|
23
24
|
borderRadius: 0
|
|
24
25
|
},
|
|
@@ -28,7 +28,7 @@ const Navigation = ({
|
|
|
28
28
|
[classes.disabled]: !isPreviousEnabled
|
|
29
29
|
}),
|
|
30
30
|
onClick: onNavigatePrevious,
|
|
31
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropLeftXS, {
|
|
31
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropLeftXS, {})
|
|
32
32
|
}
|
|
33
33
|
),
|
|
34
34
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -55,7 +55,7 @@ const Navigation = ({
|
|
|
55
55
|
[classes.disabled]: !isNextEnabled
|
|
56
56
|
}),
|
|
57
57
|
onClick: onNavigateNext,
|
|
58
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropRightXS, {
|
|
58
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropRightXS, {})
|
|
59
59
|
}
|
|
60
60
|
)
|
|
61
61
|
] });
|
|
@@ -81,7 +81,7 @@ const HvDialog = (props) => {
|
|
|
81
81
|
id: setId.setId(id, "close"),
|
|
82
82
|
className: classes.closeButton,
|
|
83
83
|
onClick: (event) => onClose?.(event, void 0),
|
|
84
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Close, {
|
|
84
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Close, {})
|
|
85
85
|
}
|
|
86
86
|
),
|
|
87
87
|
/* @__PURE__ */ jsxRuntime.jsx(context.DialogContext.Provider, { value: contextValue, children })
|
|
@@ -66,7 +66,7 @@ const HvDrawer = (props) => {
|
|
|
66
66
|
className: classes.closeButton,
|
|
67
67
|
onClick: onClose,
|
|
68
68
|
title: buttonTitle,
|
|
69
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Close, {
|
|
69
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Close, {})
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
72
|
children
|
|
@@ -3,12 +3,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
4
4
|
const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
|
|
5
5
|
const useDefaultProps = require("../../hooks/useDefaultProps.cjs");
|
|
6
|
-
const setId = require("../../utils/setId.cjs");
|
|
7
6
|
const utils = require("../utils.cjs");
|
|
8
7
|
const File_styles = require("./File.styles.cjs");
|
|
9
8
|
const ProgressBar = require("../../ProgressBar/ProgressBar.cjs");
|
|
10
|
-
const Button = require("../../Button/Button.cjs");
|
|
11
9
|
const Typography = require("../../Typography/Typography.cjs");
|
|
10
|
+
const IconButton = require("../../IconButton/IconButton.cjs");
|
|
12
11
|
const getStatusIcon = (classes, status) => {
|
|
13
12
|
switch (status) {
|
|
14
13
|
case "success":
|
|
@@ -35,7 +34,6 @@ const getProgressBarWith = ({ size, progress }) => {
|
|
|
35
34
|
};
|
|
36
35
|
const HvFile = (props) => {
|
|
37
36
|
const {
|
|
38
|
-
id,
|
|
39
37
|
classes: classesProp,
|
|
40
38
|
data,
|
|
41
39
|
onFileRemoved,
|
|
@@ -67,13 +65,11 @@ const HvFile = (props) => {
|
|
|
67
65
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.progressTextContainer, children: progressText }),
|
|
68
66
|
data.preview && /* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.previewContainer, children: data.preview }),
|
|
69
67
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
70
|
-
|
|
68
|
+
IconButton.HvIconButton,
|
|
71
69
|
{
|
|
72
|
-
|
|
73
|
-
"aria-label": removeFileButtonLabel,
|
|
70
|
+
title: removeFileButtonLabel,
|
|
74
71
|
className: classes.removeButton,
|
|
75
72
|
onClick: () => onFileRemoved?.(data),
|
|
76
|
-
icon: true,
|
|
77
73
|
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Close, { iconSize: "XS" })
|
|
78
74
|
}
|
|
79
75
|
)
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
4
4
|
const useDefaultProps = require("../../hooks/useDefaultProps.cjs");
|
|
5
|
-
const useUniqueId = require("../../hooks/useUniqueId.cjs");
|
|
6
5
|
const setId = require("../../utils/setId.cjs");
|
|
7
6
|
const FileList_styles = require("./FileList.styles.cjs");
|
|
8
7
|
const File = require("../File/File.cjs");
|
|
@@ -15,7 +14,6 @@ const HvFileList = (props) => {
|
|
|
15
14
|
onFileRemoved
|
|
16
15
|
} = useDefaultProps.useDefaultProps("HvFileList", props);
|
|
17
16
|
const { classes } = FileList_styles.useClasses(classesProp);
|
|
18
|
-
const elementId = useUniqueId.useUniqueId(id);
|
|
19
17
|
const hasFiles = list.length > 0;
|
|
20
18
|
if (!hasFiles)
|
|
21
19
|
return null;
|
|
@@ -23,7 +21,6 @@ const HvFileList = (props) => {
|
|
|
23
21
|
File.HvFile,
|
|
24
22
|
{
|
|
25
23
|
classes: { root: classes?.listItem },
|
|
26
|
-
id: setId.setId(elementId, "values"),
|
|
27
24
|
data,
|
|
28
25
|
onFileRemoved,
|
|
29
26
|
removeFileButtonLabel
|
|
@@ -5,11 +5,11 @@ const classes = require("../utils/classes.cjs");
|
|
|
5
5
|
const { staticClasses, useClasses } = classes.createClasses("HvLoadingContainer", {
|
|
6
6
|
root: {
|
|
7
7
|
position: "relative",
|
|
8
|
-
height: "inherit"
|
|
9
|
-
userSelect: "none"
|
|
8
|
+
height: "inherit"
|
|
10
9
|
},
|
|
11
10
|
loading: {
|
|
12
11
|
position: "absolute",
|
|
12
|
+
userSelect: "none",
|
|
13
13
|
inset: 0,
|
|
14
14
|
zIndex: uikitStyles.theme.zIndices.overlay,
|
|
15
15
|
transition: "background-color .2s ease",
|
|
@@ -158,7 +158,6 @@ const HvPagination = (props) => {
|
|
|
158
158
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
159
159
|
uikitReactIcons.Start,
|
|
160
160
|
{
|
|
161
|
-
role: "none",
|
|
162
161
|
className: classes.icon,
|
|
163
162
|
color: utils.setColor(!canPrevious),
|
|
164
163
|
iconSize: "XS"
|
|
@@ -177,7 +176,6 @@ const HvPagination = (props) => {
|
|
|
177
176
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
178
177
|
uikitReactIcons.Backwards,
|
|
179
178
|
{
|
|
180
|
-
role: "none",
|
|
181
179
|
className: classes.icon,
|
|
182
180
|
color: utils.setColor(!canPrevious),
|
|
183
181
|
iconSize: "XS"
|
|
@@ -209,7 +207,6 @@ const HvPagination = (props) => {
|
|
|
209
207
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
210
208
|
uikitReactIcons.Forwards,
|
|
211
209
|
{
|
|
212
|
-
role: "none",
|
|
213
210
|
className: classes.icon,
|
|
214
211
|
color: utils.setColor(!canNext),
|
|
215
212
|
iconSize: "XS"
|
|
@@ -95,7 +95,7 @@ const Rule = (props) => {
|
|
|
95
95
|
dialog: labels.rule.delete
|
|
96
96
|
}),
|
|
97
97
|
disabled: readOnly,
|
|
98
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Delete, {
|
|
98
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Delete, {})
|
|
99
99
|
}
|
|
100
100
|
) })
|
|
101
101
|
]
|
|
@@ -7,6 +7,7 @@ const useSelect = require("@mui/base/useSelect");
|
|
|
7
7
|
const utils = require("@mui/material/utils");
|
|
8
8
|
const clsx = require("clsx");
|
|
9
9
|
const useDefaultProps = require("../hooks/useDefaultProps.cjs");
|
|
10
|
+
const useTheme = require("../hooks/useTheme.cjs");
|
|
10
11
|
const useUniqueId = require("../hooks/useUniqueId.cjs");
|
|
11
12
|
const generic = require("../types/generic.cjs");
|
|
12
13
|
const setId = require("../utils/setId.cjs");
|
|
@@ -51,6 +52,8 @@ const HvSelect = generic.fixedForwardRef(function HvSelect2(props, ref) {
|
|
|
51
52
|
value: valueProp,
|
|
52
53
|
defaultValue,
|
|
53
54
|
placeholder,
|
|
55
|
+
inputProps,
|
|
56
|
+
enablePortal,
|
|
54
57
|
"aria-label": ariaLabel,
|
|
55
58
|
"aria-labelledby": ariaLabelledBy,
|
|
56
59
|
description,
|
|
@@ -65,6 +68,7 @@ const HvSelect = generic.fixedForwardRef(function HvSelect2(props, ref) {
|
|
|
65
68
|
...others
|
|
66
69
|
} = useDefaultProps.useDefaultProps("HvSelect", props);
|
|
67
70
|
const { classes, cx } = Select_styles.useClasses(classesProp);
|
|
71
|
+
const { rootId } = useTheme.useTheme();
|
|
68
72
|
const [placement, setPlacement] = React.useState("bottom-start");
|
|
69
73
|
const buttonRef = React.useRef(null);
|
|
70
74
|
const handleButtonRef = utils.useForkRef(ref, buttonRef);
|
|
@@ -174,7 +178,8 @@ const HvSelect = generic.fixedForwardRef(function HvSelect2(props, ref) {
|
|
|
174
178
|
{
|
|
175
179
|
open: isOpen,
|
|
176
180
|
keepMounted: true,
|
|
177
|
-
disablePortal:
|
|
181
|
+
disablePortal: !enablePortal,
|
|
182
|
+
container: enablePortal ? document.getElementById(rootId || "") || document.body : void 0,
|
|
178
183
|
anchorEl: buttonRef.current,
|
|
179
184
|
className: classes.popper,
|
|
180
185
|
placement,
|
|
@@ -200,7 +205,14 @@ const HvSelect = generic.fixedForwardRef(function HvSelect2(props, ref) {
|
|
|
200
205
|
)
|
|
201
206
|
}
|
|
202
207
|
),
|
|
203
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
208
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
209
|
+
"input",
|
|
210
|
+
{
|
|
211
|
+
...getHiddenInputProps(),
|
|
212
|
+
autoComplete,
|
|
213
|
+
...inputProps
|
|
214
|
+
}
|
|
215
|
+
),
|
|
204
216
|
canShowError && /* @__PURE__ */ jsxRuntime.jsx(
|
|
205
217
|
WarningText.HvWarningText,
|
|
206
218
|
{
|
package/dist/cjs/Tag/Tag.cjs
CHANGED
|
@@ -22,8 +22,8 @@ const HvTreeView = generic.fixedForwardRef(function HvTreeView2(props, ref) {
|
|
|
22
22
|
selected,
|
|
23
23
|
defaultSelected,
|
|
24
24
|
disableSelection,
|
|
25
|
-
defaultCollapseIcon = /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, {
|
|
26
|
-
defaultExpandIcon = /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropRightXS, {
|
|
25
|
+
defaultCollapseIcon = /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, {}),
|
|
26
|
+
defaultExpandIcon = /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropRightXS, {}),
|
|
27
27
|
defaultEndIcon,
|
|
28
28
|
defaultParentIcon,
|
|
29
29
|
onNodeSelect,
|
|
@@ -5,7 +5,6 @@ const React = require("react");
|
|
|
5
5
|
const useControlled = require("../../hooks/useControlled.cjs");
|
|
6
6
|
const helpers = require("../../utils/helpers.cjs");
|
|
7
7
|
const setId = require("../../utils/setId.cjs");
|
|
8
|
-
const wrapperTooltip = require("../../utils/wrapperTooltip.cjs");
|
|
9
8
|
const NavigationPopupContainer = require("../NavigationPopup/NavigationPopupContainer.cjs");
|
|
10
9
|
const NavigationSlider_utils = require("../NavigationSlider/utils/NavigationSlider.utils.cjs");
|
|
11
10
|
const VerticalNavigationContext = require("../VerticalNavigationContext.cjs");
|
|
@@ -24,7 +23,6 @@ const createListHierarchy = (items, id, classes, mouseEnterHandler, disableToolt
|
|
|
24
23
|
href,
|
|
25
24
|
target
|
|
26
25
|
} = item;
|
|
27
|
-
const ItemText = wrapperTooltip.wrapperTooltip(true, itemLabel, itemLabel);
|
|
28
26
|
const itemMouseEnterHandler = (event) => {
|
|
29
27
|
mouseEnterHandler?.(event, item);
|
|
30
28
|
};
|
|
@@ -36,7 +34,7 @@ const createListHierarchy = (items, id, classes, mouseEnterHandler, disableToolt
|
|
|
36
34
|
href,
|
|
37
35
|
target,
|
|
38
36
|
nodeId: itemId,
|
|
39
|
-
label:
|
|
37
|
+
label: itemLabel,
|
|
40
38
|
icon,
|
|
41
39
|
payload: item,
|
|
42
40
|
selectable,
|
|
@@ -13,6 +13,7 @@ const TreeViewItem_styles = require("./TreeViewItem.styles.cjs");
|
|
|
13
13
|
const IconWrapper = require("./IconWrapper/IconWrapper.cjs");
|
|
14
14
|
const Tooltip = require("../../Tooltip/Tooltip.cjs");
|
|
15
15
|
const Typography = require("../../Typography/Typography.cjs");
|
|
16
|
+
const OverflowTooltip = require("../../OverflowTooltip/OverflowTooltip.cjs");
|
|
16
17
|
const preventSelection = (event, disabled) => {
|
|
17
18
|
if (event.shiftKey || event.ctrlKey || event.metaKey || disabled) {
|
|
18
19
|
event.preventDefault();
|
|
@@ -312,7 +313,7 @@ const HvVerticalNavigationTreeViewItem = React.forwardRef(
|
|
|
312
313
|
[classes.labelIcon]: useIcons,
|
|
313
314
|
[classes.labelExpandable]: !!expandable
|
|
314
315
|
}),
|
|
315
|
-
children: label
|
|
316
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(OverflowTooltip.HvOverflowTooltip, { data: label })
|
|
316
317
|
}
|
|
317
318
|
),
|
|
318
319
|
isOpen && expandable && (expanded ? /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropUpXS, {}) : /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, {}))
|
|
@@ -126,15 +126,14 @@ const HvAppSwitcherAction = ({
|
|
|
126
126
|
disableFocusListener: true,
|
|
127
127
|
disableTouchListener: true,
|
|
128
128
|
title: description,
|
|
129
|
-
children: /* @__PURE__ */ jsx(
|
|
129
|
+
children: /* @__PURE__ */ jsx(
|
|
130
130
|
Info,
|
|
131
131
|
{
|
|
132
132
|
className: classes.iconInfo,
|
|
133
|
-
|
|
134
|
-
"aria-label": description,
|
|
133
|
+
title: description,
|
|
135
134
|
id: descriptionElementId
|
|
136
135
|
}
|
|
137
|
-
)
|
|
136
|
+
)
|
|
138
137
|
}
|
|
139
138
|
)
|
|
140
139
|
] })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.js","sources":["../../../../src/AppSwitcher/Action/Action.tsx"],"sourcesContent":["import { useCallback, useState } from \"react\";\nimport { Info } from \"@hitachivantara/uikit-react-icons\";\nimport { getColor, HvColorAny, theme } from \"@hitachivantara/uikit-styles\";\n\nimport { HvAvatar } from \"../../Avatar\";\nimport { useUniqueId } from \"../../hooks/useUniqueId\";\nimport { HvListItem } from \"../../ListContainer\";\nimport { HvOverflowTooltip } from \"../../OverflowTooltip\";\nimport { HvTooltip } from \"../../Tooltip\";\nimport { HvBaseProps } from \"../../types/generic\";\nimport { HvTypography } from \"../../Typography\";\nimport { ExtractNames } from \"../../utils/classes\";\nimport { staticClasses, useClasses } from \"./Action.styles\";\n\nexport { staticClasses as appSwitcherActionClasses };\n\nexport type HvAppSwitcherActionClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvAppSwitcherActionApplication {\n /** Id of the application. */\n id?: string;\n /** Name of the application, this is the value that will be displayed on the component. */\n name: string;\n /** URL with the icon location to be used to represent the application. iconUrl will only be used if no iconElement is provided. */\n iconUrl?: string;\n /** Element to be added as the icon representing the application. The iconElement will be the primary option to be displayed. */\n iconElement?: React.ReactElement;\n /** Small description of the application. */\n description?: string;\n /** URL where the application is accessible. */\n url?: string;\n /** Defines if the application should be opened in the same tab or in a new one. */\n target?: \"_top\" | \"_blank\";\n /** If true, the item will be disabled. */\n disabled?: boolean;\n /** True when the application is selected, false otherwise. */\n isSelected?: boolean;\n /** The color of the application. */\n color?: HvColorAny;\n}\n\nexport interface HvAppSwitcherActionProps extends HvBaseProps {\n /** The application data to be used to render the Action object. */\n application: HvAppSwitcherActionApplication;\n /** Callback triggered when the action is clicked. */\n onClickCallback?: (\n event: React.MouseEvent,\n application: HvAppSwitcherActionApplication,\n ) => void;\n /** Must return a boolean stating if the action element is selected or not. */\n isSelectedCallback?: (application: HvAppSwitcherActionApplication) => boolean;\n /** A Jss Object used to override or extend the styles applied to the component. */\n classes?: HvAppSwitcherActionClasses;\n}\n\nexport const HvAppSwitcherAction = ({\n id,\n className,\n classes: classesProp,\n application,\n onClickCallback = () => {},\n isSelectedCallback = () => false,\n}: HvAppSwitcherActionProps) => {\n const { classes, cx } = useClasses(classesProp);\n\n const { name, description, disabled, iconElement, iconUrl, url, target } =\n application;\n\n const color = disabled\n ? theme.colors.secondary_60\n : getColor(application?.color, theme.colors.secondary);\n\n const [validIconUrl, setValidIconUrl] = useState<boolean>(true);\n\n const renderApplicationIcon = () => {\n if (iconElement) {\n return iconElement;\n }\n\n if (iconUrl && validIconUrl) {\n return (\n <img\n className={classes.iconUrl}\n src={iconUrl}\n onError={() => {\n setValidIconUrl(false);\n }}\n alt={description}\n />\n );\n }\n\n const brokenTitle = name.split(\" \");\n const initials =\n brokenTitle[0].substring(0, 1) +\n (brokenTitle[1] ? brokenTitle[1].substring(0, 1) : \"\");\n\n return (\n <HvAvatar size=\"sm\" backgroundColor={color} variant=\"square\" aria-hidden>\n {initials}\n </HvAvatar>\n );\n };\n\n const isSelected = isSelectedCallback(application);\n\n /**\n * Handles the onClick event and triggers the appropriate callback if it exists.\n */\n const handleOnClick = useCallback(\n (event: React.MouseEvent) => {\n if (disabled) {\n event.preventDefault();\n return;\n }\n\n onClickCallback?.(event, { ...application, isSelected });\n },\n [application, disabled, isSelected, onClickCallback],\n );\n\n const isLink = url != null;\n const descriptionElementId = useUniqueId(id);\n\n const renderApplication = useCallback(\n (children: React.ReactNode) => {\n const typographyProps = {\n className: classes.typography,\n onClick: handleOnClick,\n style: { borderColor: color },\n \"aria-label\": name,\n ...(description && { \"aria-describedby\": descriptionElementId }),\n };\n\n if (isLink) {\n return (\n <HvTypography\n component=\"a\"\n href={url}\n target={target || \"_top\"}\n {...typographyProps}\n >\n {children}\n </HvTypography>\n );\n }\n\n return (\n <HvTypography component=\"button\" {...typographyProps}>\n {children}\n </HvTypography>\n );\n },\n [\n classes.typography,\n color,\n description,\n descriptionElementId,\n handleOnClick,\n isLink,\n name,\n target,\n url,\n ],\n );\n\n return (\n <HvListItem\n id={id}\n interactive\n tabIndex={0}\n selected={isSelected}\n disabled={disabled}\n className={cx(\n classes.root,\n { [classes.disabled]: disabled, [classes.selected]: isSelected },\n className,\n )}\n >\n {/* As HvTooltip don't have the id prop, is not possible to use the aria-labelledby to reference it.\n In substitution is used the aria-label with the \"title\" value */}\n {renderApplication(\n <>\n <div className={classes.icon}>{renderApplicationIcon()}</div>\n\n <HvOverflowTooltip\n paragraphOverflow\n className={classes.title}\n placement=\"top-start\"\n data={name}\n classes={{\n tooltipAnchorParagraph: classes.titleAnchor,\n }}\n />\n\n {description && (\n <HvTooltip\n disableFocusListener\n disableTouchListener\n title={description}\n >\n <
|
|
1
|
+
{"version":3,"file":"Action.js","sources":["../../../../src/AppSwitcher/Action/Action.tsx"],"sourcesContent":["import { useCallback, useState } from \"react\";\nimport { Info } from \"@hitachivantara/uikit-react-icons\";\nimport { getColor, HvColorAny, theme } from \"@hitachivantara/uikit-styles\";\n\nimport { HvAvatar } from \"../../Avatar\";\nimport { useUniqueId } from \"../../hooks/useUniqueId\";\nimport { HvListItem } from \"../../ListContainer\";\nimport { HvOverflowTooltip } from \"../../OverflowTooltip\";\nimport { HvTooltip } from \"../../Tooltip\";\nimport { HvBaseProps } from \"../../types/generic\";\nimport { HvTypography } from \"../../Typography\";\nimport { ExtractNames } from \"../../utils/classes\";\nimport { staticClasses, useClasses } from \"./Action.styles\";\n\nexport { staticClasses as appSwitcherActionClasses };\n\nexport type HvAppSwitcherActionClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvAppSwitcherActionApplication {\n /** Id of the application. */\n id?: string;\n /** Name of the application, this is the value that will be displayed on the component. */\n name: string;\n /** URL with the icon location to be used to represent the application. iconUrl will only be used if no iconElement is provided. */\n iconUrl?: string;\n /** Element to be added as the icon representing the application. The iconElement will be the primary option to be displayed. */\n iconElement?: React.ReactElement;\n /** Small description of the application. */\n description?: string;\n /** URL where the application is accessible. */\n url?: string;\n /** Defines if the application should be opened in the same tab or in a new one. */\n target?: \"_top\" | \"_blank\";\n /** If true, the item will be disabled. */\n disabled?: boolean;\n /** True when the application is selected, false otherwise. */\n isSelected?: boolean;\n /** The color of the application. */\n color?: HvColorAny;\n}\n\nexport interface HvAppSwitcherActionProps extends HvBaseProps {\n /** The application data to be used to render the Action object. */\n application: HvAppSwitcherActionApplication;\n /** Callback triggered when the action is clicked. */\n onClickCallback?: (\n event: React.MouseEvent,\n application: HvAppSwitcherActionApplication,\n ) => void;\n /** Must return a boolean stating if the action element is selected or not. */\n isSelectedCallback?: (application: HvAppSwitcherActionApplication) => boolean;\n /** A Jss Object used to override or extend the styles applied to the component. */\n classes?: HvAppSwitcherActionClasses;\n}\n\nexport const HvAppSwitcherAction = ({\n id,\n className,\n classes: classesProp,\n application,\n onClickCallback = () => {},\n isSelectedCallback = () => false,\n}: HvAppSwitcherActionProps) => {\n const { classes, cx } = useClasses(classesProp);\n\n const { name, description, disabled, iconElement, iconUrl, url, target } =\n application;\n\n const color = disabled\n ? theme.colors.secondary_60\n : getColor(application?.color, theme.colors.secondary);\n\n const [validIconUrl, setValidIconUrl] = useState<boolean>(true);\n\n const renderApplicationIcon = () => {\n if (iconElement) {\n return iconElement;\n }\n\n if (iconUrl && validIconUrl) {\n return (\n <img\n className={classes.iconUrl}\n src={iconUrl}\n onError={() => {\n setValidIconUrl(false);\n }}\n alt={description}\n />\n );\n }\n\n const brokenTitle = name.split(\" \");\n const initials =\n brokenTitle[0].substring(0, 1) +\n (brokenTitle[1] ? brokenTitle[1].substring(0, 1) : \"\");\n\n return (\n <HvAvatar size=\"sm\" backgroundColor={color} variant=\"square\" aria-hidden>\n {initials}\n </HvAvatar>\n );\n };\n\n const isSelected = isSelectedCallback(application);\n\n /**\n * Handles the onClick event and triggers the appropriate callback if it exists.\n */\n const handleOnClick = useCallback(\n (event: React.MouseEvent) => {\n if (disabled) {\n event.preventDefault();\n return;\n }\n\n onClickCallback?.(event, { ...application, isSelected });\n },\n [application, disabled, isSelected, onClickCallback],\n );\n\n const isLink = url != null;\n const descriptionElementId = useUniqueId(id);\n\n const renderApplication = useCallback(\n (children: React.ReactNode) => {\n const typographyProps = {\n className: classes.typography,\n onClick: handleOnClick,\n style: { borderColor: color },\n \"aria-label\": name,\n ...(description && { \"aria-describedby\": descriptionElementId }),\n };\n\n if (isLink) {\n return (\n <HvTypography\n component=\"a\"\n href={url}\n target={target || \"_top\"}\n {...typographyProps}\n >\n {children}\n </HvTypography>\n );\n }\n\n return (\n <HvTypography component=\"button\" {...typographyProps}>\n {children}\n </HvTypography>\n );\n },\n [\n classes.typography,\n color,\n description,\n descriptionElementId,\n handleOnClick,\n isLink,\n name,\n target,\n url,\n ],\n );\n\n return (\n <HvListItem\n id={id}\n interactive\n tabIndex={0}\n selected={isSelected}\n disabled={disabled}\n className={cx(\n classes.root,\n { [classes.disabled]: disabled, [classes.selected]: isSelected },\n className,\n )}\n >\n {/* As HvTooltip don't have the id prop, is not possible to use the aria-labelledby to reference it.\n In substitution is used the aria-label with the \"title\" value */}\n {renderApplication(\n <>\n <div className={classes.icon}>{renderApplicationIcon()}</div>\n\n <HvOverflowTooltip\n paragraphOverflow\n className={classes.title}\n placement=\"top-start\"\n data={name}\n classes={{\n tooltipAnchorParagraph: classes.titleAnchor,\n }}\n />\n\n {description && (\n <HvTooltip\n disableFocusListener\n disableTouchListener\n title={description}\n >\n <Info\n className={classes.iconInfo}\n title={description}\n id={descriptionElementId}\n />\n </HvTooltip>\n )}\n </>,\n )}\n </HvListItem>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;AAuDO,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EACT;AAAA,EACA,kBAAkB,MAAM;AAAA,EAAC;AAAA,EACzB,qBAAqB,MAAM;AAC7B,MAAgC;AAC9B,QAAM,EAAE,SAAS,GAAG,IAAI,WAAW,WAAW;AAExC,QAAA,EAAE,MAAM,aAAa,UAAU,aAAa,SAAS,KAAK,OAC9D,IAAA;AAEI,QAAA,QAAQ,WACV,MAAM,OAAO,eACb,SAAS,aAAa,OAAO,MAAM,OAAO,SAAS;AAEvD,QAAM,CAAC,cAAc,eAAe,IAAI,SAAkB,IAAI;AAE9D,QAAM,wBAAwB,MAAM;AAClC,QAAI,aAAa;AACR,aAAA;AAAA,IACT;AAEA,QAAI,WAAW,cAAc;AAEzB,aAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW,QAAQ;AAAA,UACnB,KAAK;AAAA,UACL,SAAS,MAAM;AACb,4BAAgB,KAAK;AAAA,UACvB;AAAA,UACA,KAAK;AAAA,QAAA;AAAA,MAAA;AAAA,IAGX;AAEM,UAAA,cAAc,KAAK,MAAM,GAAG;AAClC,UAAM,WACJ,YAAY,CAAC,EAAE,UAAU,GAAG,CAAC,KAC5B,YAAY,CAAC,IAAI,YAAY,CAAC,EAAE,UAAU,GAAG,CAAC,IAAI;AAGnD,WAAA,oBAAC,UAAS,EAAA,MAAK,MAAK,iBAAiB,OAAO,SAAQ,UAAS,eAAW,MACrE,UACH,SAAA,CAAA;AAAA,EAAA;AAIE,QAAA,aAAa,mBAAmB,WAAW;AAKjD,QAAM,gBAAgB;AAAA,IACpB,CAAC,UAA4B;AAC3B,UAAI,UAAU;AACZ,cAAM,eAAe;AACrB;AAAA,MACF;AAEA,wBAAkB,OAAO,EAAE,GAAG,aAAa,WAAY,CAAA;AAAA,IACzD;AAAA,IACA,CAAC,aAAa,UAAU,YAAY,eAAe;AAAA,EAAA;AAGrD,QAAM,SAAS,OAAO;AAChB,QAAA,uBAAuB,YAAY,EAAE;AAE3C,QAAM,oBAAoB;AAAA,IACxB,CAAC,aAA8B;AAC7B,YAAM,kBAAkB;AAAA,QACtB,WAAW,QAAQ;AAAA,QACnB,SAAS;AAAA,QACT,OAAO,EAAE,aAAa,MAAM;AAAA,QAC5B,cAAc;AAAA,QACd,GAAI,eAAe,EAAE,oBAAoB,qBAAqB;AAAA,MAAA;AAGhE,UAAI,QAAQ;AAER,eAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAU;AAAA,YACV,MAAM;AAAA,YACN,QAAQ,UAAU;AAAA,YACjB,GAAG;AAAA,YAEH;AAAA,UAAA;AAAA,QAAA;AAAA,MAGP;AAEA,iCACG,cAAa,EAAA,WAAU,UAAU,GAAG,iBAClC,SACH,CAAA;AAAA,IAEJ;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EAAA;AAIA,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA,aAAW;AAAA,MACX,UAAU;AAAA,MACV,UAAU;AAAA,MACV;AAAA,MACA,WAAW;AAAA,QACT,QAAQ;AAAA,QACR,EAAE,CAAC,QAAQ,QAAQ,GAAG,UAAU,CAAC,QAAQ,QAAQ,GAAG,WAAW;AAAA,QAC/D;AAAA,MACF;AAAA,MAIC,UAAA;AAAA,QAEG,qBAAA,UAAA,EAAA,UAAA;AAAA,UAAA,oBAAC,OAAI,EAAA,WAAW,QAAQ,MAAO,mCAAwB;AAAA,UAEvD;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,mBAAiB;AAAA,cACjB,WAAW,QAAQ;AAAA,cACnB,WAAU;AAAA,cACV,MAAM;AAAA,cACN,SAAS;AAAA,gBACP,wBAAwB,QAAQ;AAAA,cAClC;AAAA,YAAA;AAAA,UACF;AAAA,UAEC,eACC;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,sBAAoB;AAAA,cACpB,sBAAoB;AAAA,cACpB,OAAO;AAAA,cAEP,UAAA;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC,WAAW,QAAQ;AAAA,kBACnB,OAAO;AAAA,kBACP,IAAI;AAAA,gBAAA;AAAA,cACN;AAAA,YAAA;AAAA,UACF;AAAA,QAAA,GAEJ;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -34,6 +34,7 @@ const HvAvatarGroup = forwardRef(
|
|
|
34
34
|
toBack = true,
|
|
35
35
|
maxVisible = 3,
|
|
36
36
|
overflowComponent,
|
|
37
|
+
highlight = false,
|
|
37
38
|
...others
|
|
38
39
|
} = useDefaultProps("HvAvatarGroup", props);
|
|
39
40
|
const { classes, cx } = useClasses(classesProp);
|
|
@@ -51,13 +52,18 @@ const HvAvatarGroup = forwardRef(
|
|
|
51
52
|
Children.map(children, (child, index) => {
|
|
52
53
|
if (index < maxVisible) {
|
|
53
54
|
return cloneElement(child, {
|
|
54
|
-
style: {
|
|
55
|
-
zIndex: 100 + index * zIndexMultiplier
|
|
56
|
-
},
|
|
57
55
|
classes: {
|
|
58
56
|
container: css({
|
|
59
57
|
marginLeft: direction === "row" ? index !== 0 ? -spacingValue : 0 : 0,
|
|
60
58
|
marginTop: direction === "column" ? index !== 0 ? -spacingValue : 0 : 0
|
|
59
|
+
}),
|
|
60
|
+
root: css({
|
|
61
|
+
zIndex: 100 + index * zIndexMultiplier,
|
|
62
|
+
...highlight && {
|
|
63
|
+
"&:hover": {
|
|
64
|
+
zIndex: 100 + totalChildren + 1
|
|
65
|
+
}
|
|
66
|
+
}
|
|
61
67
|
})
|
|
62
68
|
},
|
|
63
69
|
size
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.js","sources":["../../../src/AvatarGroup/AvatarGroup.tsx"],"sourcesContent":["import { Children, cloneElement, forwardRef } from \"react\";\nimport { css } from \"@emotion/css\";\nimport { HvSize, theme } from \"@hitachivantara/uikit-styles\";\n\nimport { HvAvatar } from \"../Avatar/Avatar\";\nimport { useDefaultProps } from \"../hooks/useDefaultProps\";\nimport { HvBaseProps } from \"../types/generic\";\nimport { ExtractNames } from \"../utils/classes\";\nimport { staticClasses, useClasses } from \"./AvatarGroup.styles\";\n\nexport { staticClasses as avatarGroupClasses };\n\nexport type HvAvatarGroupClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvAvatarGroupProps extends HvBaseProps {\n /** A Jss Object used to override or extend the styles applied to the component. */\n classes?: HvAvatarGroupClasses;\n /** The avatar size. */\n size?: HvSize;\n /** The spacing between avatars. */\n spacing?: \"compact\" | \"loose\";\n /** The direction of the group. */\n direction?: \"row\" | \"column\";\n /** Whether the avatars display behind the previous avatar or on top. */\n toBack?: boolean;\n /**\n * The maximum number of visible avatars. If there are more avatars then the value of this property, an added avatar will\n * be added to the end of the list, indicating the number of hidden avatars.\n */\n maxVisible?: number;\n /**\n * What to show as an overflow representation.\n * If `undefined` a default `HvAvatar` will be displayed along with a HvTooltip with the count of overflowing items.\n * */\n overflowComponent?: (overflowCount: number) => React.ReactNode;\n}\n\nconst getSpacingValue = (\n spacing: HvAvatarGroupProps[\"spacing\"],\n size: HvAvatarGroupProps[\"size\"],\n) => {\n switch (size) {\n case \"xs\":\n return spacing === \"compact\" ? 24 : 16;\n case \"sm\":\n return spacing === \"compact\" ? 30 : 18;\n case \"md\":\n return spacing === \"compact\" ? 36 : 20;\n case \"lg\":\n return spacing === \"compact\" ? 44 : 24;\n case \"xl\":\n return spacing === \"compact\" ? 72 : 34;\n default:\n return spacing === \"compact\" ? 30 : 18;\n }\n};\n\n/**\n * The AvatarGroup component is used to group multiple avatars.\n */\nexport const HvAvatarGroup = forwardRef<HTMLDivElement, HvAvatarGroupProps>(\n (props, ref) => {\n const {\n className,\n classes: classesProp,\n children,\n size = \"sm\",\n spacing = \"loose\",\n direction = \"row\",\n toBack = true,\n maxVisible = 3,\n overflowComponent,\n ...others\n } = useDefaultProps(\"HvAvatarGroup\", props);\n const { classes, cx } = useClasses(classesProp);\n\n const spacingValue = getSpacingValue(spacing, size);\n\n const totalChildren = Children.count(children);\n const zIndexMultiplier = toBack ? -1 : 1;\n const willOverflow = totalChildren > maxVisible;\n\n return (\n <div\n className={cx(classes.root, classes[direction], className)}\n ref={ref}\n {...others}\n >\n {Children.map(children, (child: any, index: number) => {\n if (index < maxVisible) {\n return cloneElement(child, {\n
|
|
1
|
+
{"version":3,"file":"AvatarGroup.js","sources":["../../../src/AvatarGroup/AvatarGroup.tsx"],"sourcesContent":["import { Children, cloneElement, forwardRef } from \"react\";\nimport { css } from \"@emotion/css\";\nimport { HvSize, theme } from \"@hitachivantara/uikit-styles\";\n\nimport { HvAvatar } from \"../Avatar/Avatar\";\nimport { useDefaultProps } from \"../hooks/useDefaultProps\";\nimport { HvBaseProps } from \"../types/generic\";\nimport { ExtractNames } from \"../utils/classes\";\nimport { staticClasses, useClasses } from \"./AvatarGroup.styles\";\n\nexport { staticClasses as avatarGroupClasses };\n\nexport type HvAvatarGroupClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvAvatarGroupProps extends HvBaseProps {\n /** A Jss Object used to override or extend the styles applied to the component. */\n classes?: HvAvatarGroupClasses;\n /** The avatar size. */\n size?: HvSize;\n /** The spacing between avatars. */\n spacing?: \"compact\" | \"loose\";\n /** The direction of the group. */\n direction?: \"row\" | \"column\";\n /** Whether the avatars display behind the previous avatar or on top. */\n toBack?: boolean;\n /**\n * The maximum number of visible avatars. If there are more avatars then the value of this property, an added avatar will\n * be added to the end of the list, indicating the number of hidden avatars.\n */\n maxVisible?: number;\n /**\n * What to show as an overflow representation.\n * If `undefined` a default `HvAvatar` will be displayed along with a HvTooltip with the count of overflowing items.\n * */\n overflowComponent?: (overflowCount: number) => React.ReactNode;\n /**\n * If `true` the avatars will be brought to the front when hovered.\n */\n highlight?: boolean;\n}\n\nconst getSpacingValue = (\n spacing: HvAvatarGroupProps[\"spacing\"],\n size: HvAvatarGroupProps[\"size\"],\n) => {\n switch (size) {\n case \"xs\":\n return spacing === \"compact\" ? 24 : 16;\n case \"sm\":\n return spacing === \"compact\" ? 30 : 18;\n case \"md\":\n return spacing === \"compact\" ? 36 : 20;\n case \"lg\":\n return spacing === \"compact\" ? 44 : 24;\n case \"xl\":\n return spacing === \"compact\" ? 72 : 34;\n default:\n return spacing === \"compact\" ? 30 : 18;\n }\n};\n\n/**\n * The AvatarGroup component is used to group multiple avatars.\n */\nexport const HvAvatarGroup = forwardRef<HTMLDivElement, HvAvatarGroupProps>(\n (props, ref) => {\n const {\n className,\n classes: classesProp,\n children,\n size = \"sm\",\n spacing = \"loose\",\n direction = \"row\",\n toBack = true,\n maxVisible = 3,\n overflowComponent,\n highlight = false,\n ...others\n } = useDefaultProps(\"HvAvatarGroup\", props);\n const { classes, cx } = useClasses(classesProp);\n\n const spacingValue = getSpacingValue(spacing, size);\n\n const totalChildren = Children.count(children);\n const zIndexMultiplier = toBack ? -1 : 1;\n const willOverflow = totalChildren > maxVisible;\n\n return (\n <div\n className={cx(classes.root, classes[direction], className)}\n ref={ref}\n {...others}\n >\n {Children.map(children, (child: any, index: number) => {\n if (index < maxVisible) {\n return cloneElement(child, {\n classes: {\n container: css({\n marginLeft:\n direction === \"row\" ? (index !== 0 ? -spacingValue : 0) : 0,\n marginTop:\n direction === \"column\"\n ? index !== 0\n ? -spacingValue\n : 0\n : 0,\n }),\n root: css({\n zIndex: 100 + index * zIndexMultiplier,\n ...(highlight && {\n \"&:hover\": {\n zIndex: 100 + totalChildren + 1,\n },\n }),\n }),\n },\n size,\n });\n }\n })}\n {willOverflow && (\n <div\n style={{\n marginLeft: direction === \"row\" ? -spacingValue : 0,\n marginTop: direction === \"column\" ? -spacingValue : 0,\n zIndex: 100 + maxVisible * zIndexMultiplier,\n }}\n >\n {overflowComponent ? (\n overflowComponent(totalChildren - maxVisible)\n ) : (\n <HvAvatar\n size={size}\n backgroundColor={theme.colors.atmo4}\n classes={{\n avatar: css({\n [`&.HvAvatar-${size}`]: {\n fontSize: \"unset\",\n },\n }),\n }}\n >\n +{totalChildren - maxVisible}\n </HvAvatar>\n )}\n </div>\n )}\n </div>\n );\n },\n);\n"],"names":[],"mappings":";;;;;;;;AAyCA,MAAM,kBAAkB,CACtB,SACA,SACG;AACH,UAAQ,MAAM;AAAA,IACZ,KAAK;AACI,aAAA,YAAY,YAAY,KAAK;AAAA,IACtC,KAAK;AACI,aAAA,YAAY,YAAY,KAAK;AAAA,IACtC,KAAK;AACI,aAAA,YAAY,YAAY,KAAK;AAAA,IACtC,KAAK;AACI,aAAA,YAAY,YAAY,KAAK;AAAA,IACtC,KAAK;AACI,aAAA,YAAY,YAAY,KAAK;AAAA,IACtC;AACS,aAAA,YAAY,YAAY,KAAK;AAAA,EACxC;AACF;AAKO,MAAM,gBAAgB;AAAA,EAC3B,CAAC,OAAO,QAAQ;AACR,UAAA;AAAA,MACJ;AAAA,MACA,SAAS;AAAA,MACT;AAAA,MACA,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,SAAS;AAAA,MACT,aAAa;AAAA,MACb;AAAA,MACA,YAAY;AAAA,MACZ,GAAG;AAAA,IAAA,IACD,gBAAgB,iBAAiB,KAAK;AAC1C,UAAM,EAAE,SAAS,GAAG,IAAI,WAAW,WAAW;AAExC,UAAA,eAAe,gBAAgB,SAAS,IAAI;AAE5C,UAAA,gBAAgB,SAAS,MAAM,QAAQ;AACvC,UAAA,mBAAmB,SAAS,KAAK;AACvC,UAAM,eAAe,gBAAgB;AAGnC,WAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW,GAAG,QAAQ,MAAM,QAAQ,SAAS,GAAG,SAAS;AAAA,QACzD;AAAA,QACC,GAAG;AAAA,QAEH,UAAA;AAAA,UAAA,SAAS,IAAI,UAAU,CAAC,OAAY,UAAkB;AACrD,gBAAI,QAAQ,YAAY;AACtB,qBAAO,aAAa,OAAO;AAAA,gBACzB,SAAS;AAAA,kBACP,WAAW,IAAI;AAAA,oBACb,YACE,cAAc,QAAS,UAAU,IAAI,CAAC,eAAe,IAAK;AAAA,oBAC5D,WACE,cAAc,WACV,UAAU,IACR,CAAC,eACD,IACF;AAAA,kBAAA,CACP;AAAA,kBACD,MAAM,IAAI;AAAA,oBACR,QAAQ,MAAM,QAAQ;AAAA,oBACtB,GAAI,aAAa;AAAA,sBACf,WAAW;AAAA,wBACT,QAAQ,MAAM,gBAAgB;AAAA,sBAChC;AAAA,oBACF;AAAA,kBAAA,CACD;AAAA,gBACH;AAAA,gBACA;AAAA,cAAA,CACD;AAAA,YACH;AAAA,UAAA,CACD;AAAA,UACA,gBACC;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,OAAO;AAAA,gBACL,YAAY,cAAc,QAAQ,CAAC,eAAe;AAAA,gBAClD,WAAW,cAAc,WAAW,CAAC,eAAe;AAAA,gBACpD,QAAQ,MAAM,aAAa;AAAA,cAC7B;AAAA,cAEC,UACC,oBAAA,kBAAkB,gBAAgB,UAAU,IAE5C;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC;AAAA,kBACA,iBAAiB,MAAM,OAAO;AAAA,kBAC9B,SAAS;AAAA,oBACP,QAAQ,IAAI;AAAA,sBACV,CAAC,cAAc,IAAI,EAAE,GAAG;AAAA,wBACtB,UAAU;AAAA,sBACZ;AAAA,oBAAA,CACD;AAAA,kBACH;AAAA,kBACD,UAAA;AAAA,oBAAA;AAAA,oBACG,gBAAgB;AAAA,kBAAA;AAAA,gBAAA;AAAA,cACpB;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;"}
|
|
@@ -26,7 +26,8 @@ const { staticClasses, useClasses } = createClasses("HvBaseCheckBox", {
|
|
|
26
26
|
pointerEvents: "initial",
|
|
27
27
|
"& svg": {
|
|
28
28
|
color: theme.colors.atmo3,
|
|
29
|
-
borderColor: theme.colors.secondary_60
|
|
29
|
+
borderColor: theme.colors.secondary_60,
|
|
30
|
+
backgroundColor: theme.colors.atmo3
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
},
|
|
@@ -44,8 +45,6 @@ const { staticClasses, useClasses } = createClasses("HvBaseCheckBox", {
|
|
|
44
45
|
},
|
|
45
46
|
"&$disabled": {
|
|
46
47
|
"& svg": {
|
|
47
|
-
backgroundColor: theme.colors.atmo3,
|
|
48
|
-
borderColor: theme.colors.atmo3,
|
|
49
48
|
color: theme.colors.secondary_60
|
|
50
49
|
}
|
|
51
50
|
}
|
|
@@ -56,8 +55,6 @@ const { staticClasses, useClasses } = createClasses("HvBaseCheckBox", {
|
|
|
56
55
|
},
|
|
57
56
|
"&$disabled": {
|
|
58
57
|
"& svg": {
|
|
59
|
-
backgroundColor: theme.colors.atmo3,
|
|
60
|
-
borderColor: theme.colors.secondary_60,
|
|
61
58
|
color: theme.colors.secondary_60
|
|
62
59
|
}
|
|
63
60
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCheckBox.styles.js","sources":["../../../src/BaseCheckBox/BaseCheckBox.styles.ts"],"sourcesContent":["import { theme } from \"@hitachivantara/uikit-styles\";\n\nimport { createClasses } from \"../utils/classes\";\nimport { outlineStyles } from \"../utils/focusUtils\";\n\nexport const { staticClasses, useClasses } = createClasses(\"HvBaseCheckBox\", {\n root: {\n padding: 0,\n width: 32,\n minWidth: 32,\n height: 32,\n borderRadius: theme.radii.base,\n cursor: \"pointer\",\n \"&:hover\": {\n backgroundColor: theme.colors.containerBackgroundHover,\n },\n\n \"& svg\": {\n width: 16,\n height: 16,\n color: theme.colors.atmo1,\n borderRadius: theme.radii.none,\n border: `1px solid ${theme.colors.secondary}`,\n },\n },\n disabled: {\n \"&$root\": {\n cursor: \"not-allowed\",\n pointerEvents: \"initial\",\n \"& svg\": {\n color: theme.colors.atmo3,\n borderColor: theme.colors.secondary_60,\n },\n },\n },\n focusVisible: {\n \"& svg\": {\n ...outlineStyles,\n },\n },\n icon: {},\n checked: {\n \"& svg\": {\n border: `1px solid ${theme.colors.secondary}`,\n backgroundColor: theme.colors.secondary,\n color: theme.colors.atmo1,\n },\n \"&$disabled\": {\n \"& svg\": {\n
|
|
1
|
+
{"version":3,"file":"BaseCheckBox.styles.js","sources":["../../../src/BaseCheckBox/BaseCheckBox.styles.ts"],"sourcesContent":["import { theme } from \"@hitachivantara/uikit-styles\";\n\nimport { createClasses } from \"../utils/classes\";\nimport { outlineStyles } from \"../utils/focusUtils\";\n\nexport const { staticClasses, useClasses } = createClasses(\"HvBaseCheckBox\", {\n root: {\n padding: 0,\n width: 32,\n minWidth: 32,\n height: 32,\n borderRadius: theme.radii.base,\n cursor: \"pointer\",\n \"&:hover\": {\n backgroundColor: theme.colors.containerBackgroundHover,\n },\n\n \"& svg\": {\n width: 16,\n height: 16,\n color: theme.colors.atmo1,\n borderRadius: theme.radii.none,\n border: `1px solid ${theme.colors.secondary}`,\n },\n },\n disabled: {\n \"&$root\": {\n cursor: \"not-allowed\",\n pointerEvents: \"initial\",\n \"& svg\": {\n color: theme.colors.atmo3,\n borderColor: theme.colors.secondary_60,\n backgroundColor: theme.colors.atmo3,\n },\n },\n },\n focusVisible: {\n \"& svg\": {\n ...outlineStyles,\n },\n },\n icon: {},\n checked: {\n \"& svg\": {\n border: `1px solid ${theme.colors.secondary}`,\n backgroundColor: theme.colors.secondary,\n color: theme.colors.atmo1,\n },\n \"&$disabled\": {\n \"& svg\": {\n color: theme.colors.secondary_60,\n },\n },\n },\n indeterminate: {\n \"& svg\": {\n color: theme.colors.secondary,\n },\n \"&$disabled\": {\n \"& svg\": {\n color: theme.colors.secondary_60,\n },\n },\n },\n semantic: {\n \"& svg\": {\n border: `1px solid ${theme.colors.base_dark}`,\n color: theme.colors.base_light,\n backgroundColor: theme.colors.base_dark,\n },\n \"&$indeterminate\": {\n \"& svg\": {\n color: theme.colors.base_dark,\n backgroundColor: theme.colors.base_light,\n },\n },\n },\n});\n"],"names":[],"mappings":";;;AAKO,MAAM,EAAE,eAAe,eAAe,cAAc,kBAAkB;AAAA,EAC3E,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,OAAO;AAAA,IACP,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,cAAc,MAAM,MAAM;AAAA,IAC1B,QAAQ;AAAA,IACR,WAAW;AAAA,MACT,iBAAiB,MAAM,OAAO;AAAA,IAChC;AAAA,IAEA,SAAS;AAAA,MACP,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO,MAAM,OAAO;AAAA,MACpB,cAAc,MAAM,MAAM;AAAA,MAC1B,QAAQ,aAAa,MAAM,OAAO,SAAS;AAAA,IAC7C;AAAA,EACF;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,MACR,QAAQ;AAAA,MACR,eAAe;AAAA,MACf,SAAS;AAAA,QACP,OAAO,MAAM,OAAO;AAAA,QACpB,aAAa,MAAM,OAAO;AAAA,QAC1B,iBAAiB,MAAM,OAAO;AAAA,MAChC;AAAA,IACF;AAAA,EACF;AAAA,EACA,cAAc;AAAA,IACZ,SAAS;AAAA,MACP,GAAG;AAAA,IACL;AAAA,EACF;AAAA,EACA,MAAM,CAAC;AAAA,EACP,SAAS;AAAA,IACP,SAAS;AAAA,MACP,QAAQ,aAAa,MAAM,OAAO,SAAS;AAAA,MAC3C,iBAAiB,MAAM,OAAO;AAAA,MAC9B,OAAO,MAAM,OAAO;AAAA,IACtB;AAAA,IACA,cAAc;AAAA,MACZ,SAAS;AAAA,QACP,OAAO,MAAM,OAAO;AAAA,MACtB;AAAA,IACF;AAAA,EACF;AAAA,EACA,eAAe;AAAA,IACb,SAAS;AAAA,MACP,OAAO,MAAM,OAAO;AAAA,IACtB;AAAA,IACA,cAAc;AAAA,MACZ,SAAS;AAAA,QACP,OAAO,MAAM,OAAO;AAAA,MACtB;AAAA,IACF;AAAA,EACF;AAAA,EACA,UAAU;AAAA,IACR,SAAS;AAAA,MACP,QAAQ,aAAa,MAAM,OAAO,SAAS;AAAA,MAC3C,OAAO,MAAM,OAAO;AAAA,MACpB,iBAAiB,MAAM,OAAO;AAAA,IAChC;AAAA,IACA,mBAAmB;AAAA,MACjB,SAAS;AAAA,QACP,OAAO,MAAM,OAAO;AAAA,QACpB,iBAAiB,MAAM,OAAO;AAAA,MAChC;AAAA,IACF;AAAA,EACF;AACF,CAAC;"}
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
2
2
|
const Box = () => {
|
|
3
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
3
|
+
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 14 14", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "m0,0l16,0l0,16l-16,0l0,-16z" }) });
|
|
4
4
|
};
|
|
5
5
|
const Check = () => {
|
|
6
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
7
|
-
"path",
|
|
8
|
-
{
|
|
9
|
-
d: "m5.03,12.06l-3.76,-3.75l1.42,-1.42l2.24,2.25l6.3,-7.2l1.5,1.31l-7.7,8.81z",
|
|
10
|
-
fill: "currentcolor"
|
|
11
|
-
}
|
|
12
|
-
) });
|
|
6
|
+
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 14 14", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "m5.03,12.06l-3.76,-3.75l1.42,-1.42l2.24,2.25l6.3,-7.2l1.5,1.31l-7.7,8.81z" }) });
|
|
13
7
|
};
|
|
14
8
|
const Partial = () => {
|
|
15
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
9
|
+
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 14 14", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "m3,8l8,0l0,-2l-8,0l0,2z" }) });
|
|
16
10
|
};
|
|
17
11
|
export {
|
|
18
12
|
Box,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sources":["../../../src/BaseCheckBox/icons.tsx"],"sourcesContent":["export const Box = () => {\n return (\n <svg
|
|
1
|
+
{"version":3,"file":"icons.js","sources":["../../../src/BaseCheckBox/icons.tsx"],"sourcesContent":["export const Box = () => {\n return (\n <svg viewBox=\"0 0 14 14\" fill=\"currentColor\">\n <path d=\"m0,0l16,0l0,16l-16,0l0,-16z\" />\n </svg>\n );\n};\n\nexport const Check = () => {\n return (\n <svg viewBox=\"0 0 14 14\" fill=\"currentColor\">\n <path d=\"m5.03,12.06l-3.76,-3.75l1.42,-1.42l2.24,2.25l6.3,-7.2l1.5,1.31l-7.7,8.81z\" />\n </svg>\n );\n};\n\nexport const Partial = () => {\n return (\n <svg viewBox=\"0 0 14 14\" fill=\"currentColor\">\n <path d=\"m3,8l8,0l0,-2l-8,0l0,2z\" />\n </svg>\n );\n};\n"],"names":[],"mappings":";AAAO,MAAM,MAAM,MAAM;AAErB,SAAA,oBAAC,OAAI,EAAA,SAAQ,aAAY,MAAK,gBAC5B,UAAC,oBAAA,QAAA,EAAK,GAAE,8BAA8B,CAAA,EACxC,CAAA;AAEJ;AAEO,MAAM,QAAQ,MAAM;AAEvB,SAAA,oBAAC,OAAI,EAAA,SAAQ,aAAY,MAAK,gBAC5B,UAAC,oBAAA,QAAA,EAAK,GAAE,4EAA4E,CAAA,EACtF,CAAA;AAEJ;AAEO,MAAM,UAAU,MAAM;AAEzB,SAAA,oBAAC,OAAI,EAAA,SAAQ,aAAY,MAAK,gBAC5B,UAAC,oBAAA,QAAA,EAAK,GAAE,0BAA0B,CAAA,EACpC,CAAA;AAEJ;"}
|
|
@@ -16,7 +16,8 @@ const { staticClasses, useClasses } = createClasses("HvBaseRadio", {
|
|
|
16
16
|
width: 16,
|
|
17
17
|
height: 16,
|
|
18
18
|
borderRadius: theme.radii.circle,
|
|
19
|
-
border: `1px solid ${theme.colors.secondary}
|
|
19
|
+
border: `1px solid ${theme.colors.secondary}`,
|
|
20
|
+
backgroundColor: theme.colors.atmo1
|
|
20
21
|
},
|
|
21
22
|
borderRadius: 0
|
|
22
23
|
},
|