Available storage
This server has 150 GB of block storage remaining.
diff --git a/packages/react/src/components/Popover/index.tsx b/packages/react/src/components/Popover/index.tsx
index 67ff3de54fd2..08f07da43672 100644
--- a/packages/react/src/components/Popover/index.tsx
+++ b/packages/react/src/components/Popover/index.tsx
@@ -418,13 +418,11 @@ Popover.propTypes = {
open: PropTypes.bool.isRequired,
};
-export type PopoverContentProps = {
- caret?: boolean | null | undefined;
-} & React.HTMLAttributes;
+export type PopoverContentProps = React.HTMLAttributes;
function PopoverContentRenderFunction(
// eslint-disable-next-line react/prop-types
- { className, children, caret = true, ...rest }: PopoverContentProps,
+ { className, children, ...rest }: PopoverContentProps,
forwardRef: React.ForwardedRef
) {
const prefix = usePrefix();
@@ -435,11 +433,7 @@ function PopoverContentRenderFunction(
{children}
-
+
);
}
@@ -447,10 +441,6 @@ function PopoverContentRenderFunction(
export const PopoverContent = React.forwardRef(PopoverContentRenderFunction);
PopoverContent.propTypes = {
- /**
- * Provide whether caret should be visible or not.
- */
- caret: PropTypes.bool,
/**
* Provide elements to be rendered inside of the component
*/
diff --git a/packages/styles/scss/components/popover/_popover.scss b/packages/styles/scss/components/popover/_popover.scss
index 559f87f6237e..811e43ed280a 100644
--- a/packages/styles/scss/components/popover/_popover.scss
+++ b/packages/styles/scss/components/popover/_popover.scss
@@ -172,7 +172,7 @@ $popover-caret-height: custom-property.get-var(
will-change: transform;
}
- .#{$prefix}--popover--open
+ .#{$prefix}--popover--caret.#{$prefix}--popover--open
> .#{$prefix}--popover
> .#{$prefix}--popover-caret {
display: block;
@@ -184,12 +184,6 @@ $popover-caret-height: custom-property.get-var(
display: none;
}
- .#{$prefix}--popover--open
- > .#{$prefix}--popover
- > .#{$prefix}--popover-caret-close {
- display: none;
- }
-
//-----------------------------------------------------------------------------
// Bottom
//-----------------------------------------------------------------------------