@seeqdev/qomponents 0.0.155-react-19-v2 → 0.0.155-react-19-v3

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/index.esm.js CHANGED
@@ -4646,6 +4646,13 @@ const TextField = React__default.forwardRef((props, ref) => {
4646
4646
  ref.current = receivedRef;
4647
4647
  internalRef.current = receivedRef;
4648
4648
  };
4649
+ useEffect(() => {
4650
+ if (autoFocus) {
4651
+ setTimeout(() => {
4652
+ internalRef.current?.focus();
4653
+ }, 0);
4654
+ }
4655
+ }, []);
4649
4656
  useEffect(() => {
4650
4657
  const input = internalRef.current;
4651
4658
  if (input && type !== 'number' && type !== 'email')
@@ -14374,6 +14381,7 @@ const Modal = ({ titleIcon, title = 'Modal title example', titleSuffixLabel, sub
14374
14381
  'tw-max-w-5xl': size === '5xl',
14375
14382
  'tw-max-w-6xl': size === '6xl',
14376
14383
  }, dialogClassName) },
14384
+ React__default.createElement(DialogTitle, { className: "tw-hidden" }),
14377
14385
  React__default.createElement(DialogHeader, { className: "modal-header tw-flex tw-w-full tw-justify-between tw-border-sq-disabled-gray\n dark:tw-border-sq-dark-disabled-gray tw-border-0 tw-border-b tw-px-6 tw-py-4" },
14378
14386
  React__default.createElement("div", { className: "tw-flex tw-w-full" }, renderTitle()),
14379
14387
  !hideCloseIcon && (React__default.createElement(DialogClose, { autoFocus: false, className: "[&:has(:focus-visible)]:none tw-opacity-70 tw-bg-transparent hover:tw-opacity-100 close tw-cursor-pointer tw-ml-4", "data-testid": "closeButton" },