ape-accessibility 0.3.0 → 0.5.0

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.cts CHANGED
@@ -61,4 +61,13 @@ declare const accessibility: {
61
61
  getConfig: typeof getConfig;
62
62
  };
63
63
 
64
- export { type AccessibilityProfile, type AccessibilitySettings, type WidgetConfig, type WidgetInstance, type WidgetTheme, accessibility, configure, destroy, getConfig, getSettings, init, resetAllSettings };
64
+ interface AccessibilityWidgetProps {
65
+ config?: WidgetConfig;
66
+ }
67
+ /**
68
+ * React wrapper: mounts the widget once and updates config at runtime.
69
+ * Renders `null` because the widget itself is mounted into Shadow DOM.
70
+ */
71
+ declare function AccessibilityWidget({ config }: AccessibilityWidgetProps): null;
72
+
73
+ export { type AccessibilityProfile, type AccessibilitySettings, AccessibilityWidget, type WidgetConfig, type WidgetInstance, type WidgetTheme, accessibility, configure, destroy, getConfig, getSettings, init, resetAllSettings };
package/dist/index.d.ts CHANGED
@@ -61,4 +61,13 @@ declare const accessibility: {
61
61
  getConfig: typeof getConfig;
62
62
  };
63
63
 
64
- export { type AccessibilityProfile, type AccessibilitySettings, type WidgetConfig, type WidgetInstance, type WidgetTheme, accessibility, configure, destroy, getConfig, getSettings, init, resetAllSettings };
64
+ interface AccessibilityWidgetProps {
65
+ config?: WidgetConfig;
66
+ }
67
+ /**
68
+ * React wrapper: mounts the widget once and updates config at runtime.
69
+ * Renders `null` because the widget itself is mounted into Shadow DOM.
70
+ */
71
+ declare function AccessibilityWidget({ config }: AccessibilityWidgetProps): null;
72
+
73
+ export { type AccessibilityProfile, type AccessibilitySettings, AccessibilityWidget, type WidgetConfig, type WidgetInstance, type WidgetTheme, accessibility, configure, destroy, getConfig, getSettings, init, resetAllSettings };