@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
25 lines • 970 B
TypeScript
import { CSProps } from '@workday/canvas-kit-styling';
/**
* A utility to visually hide content, while still making accessible to screen readers
* See https://a11y-101.com/development/skip-link
*/
export declare const accessibleHide: {
readonly clip: "rect(1px, 1px, 1px, 1px)";
readonly clipPath: "polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px)";
readonly position: "absolute";
readonly overflow: "hidden";
readonly whiteSpace: "nowrap";
readonly height: "1px";
readonly minHeight: "1px";
readonly width: "1px";
readonly minWidth: "1px";
readonly margin: "-1px";
readonly padding: 0;
readonly border: 0;
};
export declare const accessibleHideStyles: string;
/**
* A convenient component wrapper to visually hide content, while still making it accessible to screen readers
*/
export declare const AccessibleHide: import("./utils/components").ElementComponent<"div", CSProps>;
//# sourceMappingURL=AccessibleHide.d.ts.map