@aurora-ds/components 1.7.11 → 1.7.12

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.d.ts CHANGED
@@ -1137,7 +1137,7 @@ declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryS
1137
1137
  static getDerivedStateFromError: (error: Error) => ErrorBoundaryState;
1138
1138
  componentDidCatch(error: Error, info: ErrorInfo): void;
1139
1139
  private reset;
1140
- render(): string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
1140
+ render(): string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | null | undefined;
1141
1141
  }
1142
1142
 
1143
1143
  type DefaultErrorFallbackProps = {
@@ -3092,6 +3092,10 @@ type UseTransitionRenderReturnType = {
3092
3092
  * Closing sequence:
3093
3093
  * `isFadingIn=false` → CSS transition plays → after `duration` ms → `isVisible=false`.
3094
3094
  *
3095
+ * When `prefers-reduced-motion: reduce` is active the effective duration is forced to
3096
+ * `0` so the element is removed from the DOM immediately after hiding, in sync with
3097
+ * the near-instant CSS transition set by the global `globals.css` rule.
3098
+ *
3095
3099
  * @param isOpen - Whether the element should be shown.
3096
3100
  * @param duration - Transition duration in milliseconds (defaults to `DEFAULT_TRANSITION_DURATION_MS`).
3097
3101
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-ds/components",
3
- "version": "1.7.11",
3
+ "version": "1.7.12",
4
4
  "type": "module",
5
5
  "description": "Aurora DS - React Components Library",
6
6
  "main": "dist/cjs/index.js",