@progressiveui/react 2.0.9 → 2.1.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.
@@ -1,2 +1 @@
1
1
  export { default as Footer } from './Footer';
2
- export { FooterExternal, LinksColumn, FooterMetaLink } from './FooterExternal';
@@ -0,0 +1,14 @@
1
+ import { InputProps } from '../Input';
2
+ import * as React from "react";
3
+ interface PasswordInputProps extends Omit<InputProps, "type">, Omit<React.ComponentPropsWithRef<"input">, "type"> {
4
+ /**
5
+ * Accessible label for the toggle when the password is hidden
6
+ */
7
+ showPasswordLabelText?: string;
8
+ /**
9
+ * Accessible label for the toggle when the password is visible
10
+ */
11
+ hidePasswordLabelText?: string;
12
+ }
13
+ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<PasswordInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
14
+ export default PasswordInput;
@@ -0,0 +1 @@
1
+ export { default } from './PasswordInput';
@@ -1,6 +1,10 @@
1
1
  import { Spacing, TextKind } from '../../utils';
2
2
  import * as React from "react";
3
3
  interface TextProps extends React.AllHTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * Overrides the rendered HTML tag or React component.
6
+ */
7
+ as?: React.ElementType;
4
8
  /**
5
9
  * Specifies the kind of text to be displayed. This could be an enumeration that defines various text styles or types.
6
10
  */
@@ -28,5 +32,5 @@ export declare const textLookup: {
28
32
  /**
29
33
  *Text is a component for displaying paragraphs. You can use Text to standardize text across your web app. For longer sections or full articles use the <Story /> component instead.
30
34
  */
31
- declare const Text: React.FC<TextProps>;
35
+ declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
32
36
  export default Text;