@festo-ui/react 10.0.1-dev.845 → 10.0.1-dev.847

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.
@@ -4,9 +4,9 @@ import { TextInput } from "../../forms/text-input/TextInput.js";
4
4
  import { Modal } from "./Modal.js";
5
5
  import { ModalFooter } from "./ModalFooter.js";
6
6
  const Prompt = /*#__PURE__*/ forwardRef(({ title, subtitle, hint, label, value, onChange, onOk, onCancel, cancel, ok, className, ...props }, ref)=>{
7
- const [innerValue, setInnerValue] = useState(value);
7
+ const [innerValue, setInnerValue] = useState(value ?? '');
8
8
  useEffect(()=>{
9
- setInnerValue(value);
9
+ setInnerValue(value ?? '');
10
10
  }, [
11
11
  value
12
12
  ]);
@@ -13,7 +13,7 @@ interface TimePickerDropdownProps {
13
13
  };
14
14
  onClose: (date?: Date) => void;
15
15
  style?: React.CSSProperties;
16
- labelRef: RefObject<HTMLLabelElement>;
16
+ labelRef: RefObject<HTMLLabelElement | null>;
17
17
  }
18
18
  export declare const TimePickerDropdown: (props: TimePickerDropdownProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
19
19
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/react",
3
- "version": "10.0.1-dev.845",
3
+ "version": "10.0.1-dev.847",
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",