@festo-ui/react 10.0.0-dev.826 → 10.0.0-dev.827

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.
@@ -5,7 +5,7 @@ import classnames from "classnames";
5
5
  import { forwardRef, useRef } from "react";
6
6
  import { useControlled } from "../../../utils/useControlled.js";
7
7
  import { useForkRef } from "../../../utils/useForkRef.js";
8
- const Popover = /*#__PURE__*/ forwardRef(({ children, className, 'data-testid': dataTestId, style, containerClassName, content, position, fallbackPositions, isOpen, openOnHover = false, openByDefault = false, onChange, flip: enableFlip = true, showArrow = true, onTriggerClick, stopPropagation = false, ...props }, ref)=>{
8
+ const Popover = /*#__PURE__*/ forwardRef(({ children, className, style, containerClassName, content, position, fallbackPositions, isOpen, openOnHover = false, openByDefault = false, onChange, flip: enableFlip = true, showArrow = true, onTriggerClick, stopPropagation = false, ...props }, ref)=>{
9
9
  const [showPopover, setShowPopover] = useControlled({
10
10
  controlled: isOpen,
11
11
  default: openByDefault
@@ -83,7 +83,6 @@ const Popover = /*#__PURE__*/ forwardRef(({ children, className, 'data-testid':
83
83
  height: 8
84
84
  }),
85
85
  /*#__PURE__*/ jsx("div", {
86
- "data-testid": dataTestId,
87
86
  className: classnames('fwe-popover', containerClassName),
88
87
  children: content
89
88
  })
@@ -1,5 +1,6 @@
1
1
  import { type ComponentPropsWithoutRef } from 'react';
2
2
  export interface PopoverMenuItemProps extends Omit<ComponentPropsWithoutRef<'button'>, 'onClick'> {
3
+ readonly 'data-testid'?: string;
3
4
  readonly text: string;
4
5
  readonly icon: React.ReactNode;
5
6
  readonly onClick?: (data: unknown) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/react",
3
- "version": "10.0.0-dev.826",
3
+ "version": "10.0.0-dev.827",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "copyright": "Copyright (c) 2025 Festo SE & Co. KG. All rights reserved.",
6
6
  "license": "apache-2.0",