@aurora-ds/components 1.7.21 → 1.8.1

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
@@ -1162,7 +1162,7 @@ declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryS
1162
1162
  static getDerivedStateFromError: (error: Error) => ErrorBoundaryState;
1163
1163
  componentDidCatch(error: Error, info: ErrorInfo): void;
1164
1164
  private reset;
1165
- 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;
1165
+ 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;
1166
1166
  }
1167
1167
 
1168
1168
  type DefaultErrorFallbackProps = {
@@ -2933,7 +2933,11 @@ type MenuItemProps = HTMLAttributes<HTMLLIElement> & {
2933
2933
  * For checkbox/radio items prefer `checked`.
2934
2934
  */
2935
2935
  selected?: boolean;
2936
- /** Whether this item has keyboard focus (highlighted via arrow navigation). */
2936
+ /**
2937
+ * Manually highlight this item as keyboard-focused. Usually unnecessary: the
2938
+ * owning menu drives the roving focus automatically via arrow keys. Use this
2939
+ * only to force the highlight (e.g. an externally-controlled active item).
2940
+ */
2937
2941
  focused?: boolean;
2938
2942
  /** Whether the item is non-interactive. */
2939
2943
  disabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-ds/components",
3
- "version": "1.7.21",
3
+ "version": "1.8.1",
4
4
  "type": "module",
5
5
  "description": "Aurora DS - React Components Library",
6
6
  "main": "dist/cjs/index.js",