@muraldevkit/ui-toolkit 2.44.2 → 2.45.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/components/index.d.ts +1 -0
- package/dist/components/live-region/MrlLiveRegion/MrlLiveRegion.d.ts +19 -0
- package/dist/components/live-region/MrlLiveRegion/index.d.ts +1 -0
- package/dist/components/live-region/demo/LiveRegionDemo.d.ts +7 -0
- package/dist/components/live-region/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.LICENSE.txt +8 -0
- package/dist/styles/MrlLabelWithDescription/module.scss +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type AriaRelevant = 'additions' | 'all' | 'removals' | 'text' | 'additions text' | undefined;
|
|
3
|
+
export interface MrlLiveRegionProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
4
|
+
ariaAtomic?: boolean;
|
|
5
|
+
ariaLive: 'polite' | 'assertive' | 'off';
|
|
6
|
+
ariaRelevant?: AriaRelevant;
|
|
7
|
+
id?: string;
|
|
8
|
+
shouldClearContent?: boolean;
|
|
9
|
+
srContent: string;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Live region component to render an HTML live region with the provided content.
|
|
14
|
+
*
|
|
15
|
+
* @param props - The live region component props.
|
|
16
|
+
* @returns The live region component.
|
|
17
|
+
*/
|
|
18
|
+
export declare const MrlLiveRegion: ({ ariaAtomic, ariaLive, ariaRelevant, id, srContent, visible, shouldClearContent, ...props }: MrlLiveRegionProps) => React.ReactElement;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MrlLiveRegion } from './MrlLiveRegion';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MrlLiveRegion';
|