@wistia/ui 0.15.10-beta.11712723.03b370a → 0.15.10
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.cjs +302 -302
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +61 -61
- package/dist/index.d.ts +61 -61
- package/dist/index.mjs +110 -110
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -4
package/dist/index.d.mts
CHANGED
|
@@ -1071,7 +1071,7 @@ declare const Center: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLPro
|
|
|
1071
1071
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1072
1072
|
|
|
1073
1073
|
type CheckboxSizeType = 'lg' | 'md' | 'sm';
|
|
1074
|
-
declare const Checkbox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "
|
|
1074
|
+
declare const Checkbox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "hideLabel"> & {
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Indicates the state of the checkbox
|
|
1077
1077
|
*/
|
|
@@ -1777,18 +1777,18 @@ declare const DataListItem: {
|
|
|
1777
1777
|
|
|
1778
1778
|
type AlignmentTypes$1 = 'center' | 'justify' | 'left' | 'right';
|
|
1779
1779
|
declare const variantStyleMap$1: {
|
|
1780
|
-
body1: styled_components.
|
|
1781
|
-
body2: styled_components.
|
|
1782
|
-
body3: styled_components.
|
|
1783
|
-
body4: styled_components.
|
|
1784
|
-
body1Mono: styled_components.
|
|
1785
|
-
body2Mono: styled_components.
|
|
1786
|
-
body3Mono: styled_components.
|
|
1787
|
-
body4Mono: styled_components.
|
|
1788
|
-
label1: styled_components.
|
|
1789
|
-
label2: styled_components.
|
|
1790
|
-
label3: styled_components.
|
|
1791
|
-
label4: styled_components.
|
|
1780
|
+
body1: styled_components.FlattenSimpleInterpolation;
|
|
1781
|
+
body2: styled_components.FlattenSimpleInterpolation;
|
|
1782
|
+
body3: styled_components.FlattenSimpleInterpolation;
|
|
1783
|
+
body4: styled_components.FlattenSimpleInterpolation;
|
|
1784
|
+
body1Mono: styled_components.FlattenSimpleInterpolation;
|
|
1785
|
+
body2Mono: styled_components.FlattenSimpleInterpolation;
|
|
1786
|
+
body3Mono: styled_components.FlattenSimpleInterpolation;
|
|
1787
|
+
body4Mono: styled_components.FlattenSimpleInterpolation;
|
|
1788
|
+
label1: styled_components.FlattenSimpleInterpolation;
|
|
1789
|
+
label2: styled_components.FlattenSimpleInterpolation;
|
|
1790
|
+
label3: styled_components.FlattenSimpleInterpolation;
|
|
1791
|
+
label4: styled_components.FlattenSimpleInterpolation;
|
|
1792
1792
|
};
|
|
1793
1793
|
type TextProps = ComponentPropsWithoutRef<'div'> & {
|
|
1794
1794
|
/**
|
|
@@ -1874,13 +1874,13 @@ declare const Divider: {
|
|
|
1874
1874
|
|
|
1875
1875
|
type AlignmentTypes = 'center' | 'justify' | 'left' | 'right';
|
|
1876
1876
|
declare const variantStyleMap: {
|
|
1877
|
-
hero: styled_components.
|
|
1878
|
-
heading1: styled_components.
|
|
1879
|
-
heading2: styled_components.
|
|
1880
|
-
heading3: styled_components.
|
|
1881
|
-
heading4: styled_components.
|
|
1882
|
-
heading5: styled_components.
|
|
1883
|
-
heading6: styled_components.
|
|
1877
|
+
hero: styled_components.FlattenSimpleInterpolation;
|
|
1878
|
+
heading1: styled_components.FlattenSimpleInterpolation;
|
|
1879
|
+
heading2: styled_components.FlattenSimpleInterpolation;
|
|
1880
|
+
heading3: styled_components.FlattenSimpleInterpolation;
|
|
1881
|
+
heading4: styled_components.FlattenSimpleInterpolation;
|
|
1882
|
+
heading5: styled_components.FlattenSimpleInterpolation;
|
|
1883
|
+
heading6: styled_components.FlattenSimpleInterpolation;
|
|
1884
1884
|
};
|
|
1885
1885
|
declare const DEFAULT_ELEMENT = "h1";
|
|
1886
1886
|
type HeadingProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT> & {
|
|
@@ -1980,25 +1980,25 @@ type EditableHeadingProps = {
|
|
|
1980
1980
|
declare const EditableHeading: ({ children, onValueChange, onEditingChange, tooltipText, ariaLabel, variant, __forceEditing, editingDisabled, }: EditableHeadingProps) => JSX$1.Element;
|
|
1981
1981
|
|
|
1982
1982
|
declare const typographicVariantStyleMap: {
|
|
1983
|
-
hero: styled_components.
|
|
1984
|
-
heading1: styled_components.
|
|
1985
|
-
heading2: styled_components.
|
|
1986
|
-
heading3: styled_components.
|
|
1987
|
-
heading4: styled_components.
|
|
1988
|
-
heading5: styled_components.
|
|
1989
|
-
heading6: styled_components.
|
|
1990
|
-
body1: styled_components.
|
|
1991
|
-
body2: styled_components.
|
|
1992
|
-
body3: styled_components.
|
|
1993
|
-
body4: styled_components.
|
|
1994
|
-
body1Mono: styled_components.
|
|
1995
|
-
body2Mono: styled_components.
|
|
1996
|
-
body3Mono: styled_components.
|
|
1997
|
-
body4Mono: styled_components.
|
|
1998
|
-
label1: styled_components.
|
|
1999
|
-
label2: styled_components.
|
|
2000
|
-
label3: styled_components.
|
|
2001
|
-
label4: styled_components.
|
|
1983
|
+
hero: styled_components.FlattenSimpleInterpolation;
|
|
1984
|
+
heading1: styled_components.FlattenSimpleInterpolation;
|
|
1985
|
+
heading2: styled_components.FlattenSimpleInterpolation;
|
|
1986
|
+
heading3: styled_components.FlattenSimpleInterpolation;
|
|
1987
|
+
heading4: styled_components.FlattenSimpleInterpolation;
|
|
1988
|
+
heading5: styled_components.FlattenSimpleInterpolation;
|
|
1989
|
+
heading6: styled_components.FlattenSimpleInterpolation;
|
|
1990
|
+
body1: styled_components.FlattenSimpleInterpolation;
|
|
1991
|
+
body2: styled_components.FlattenSimpleInterpolation;
|
|
1992
|
+
body3: styled_components.FlattenSimpleInterpolation;
|
|
1993
|
+
body4: styled_components.FlattenSimpleInterpolation;
|
|
1994
|
+
body1Mono: styled_components.FlattenSimpleInterpolation;
|
|
1995
|
+
body2Mono: styled_components.FlattenSimpleInterpolation;
|
|
1996
|
+
body3Mono: styled_components.FlattenSimpleInterpolation;
|
|
1997
|
+
body4Mono: styled_components.FlattenSimpleInterpolation;
|
|
1998
|
+
label1: styled_components.FlattenSimpleInterpolation;
|
|
1999
|
+
label2: styled_components.FlattenSimpleInterpolation;
|
|
2000
|
+
label3: styled_components.FlattenSimpleInterpolation;
|
|
2001
|
+
label4: styled_components.FlattenSimpleInterpolation;
|
|
2002
2002
|
};
|
|
2003
2003
|
type TypographicVariant = keyof typeof typographicVariantStyleMap;
|
|
2004
2004
|
|
|
@@ -2207,7 +2207,7 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElemen
|
|
|
2207
2207
|
/**
|
|
2208
2208
|
* Capture user input with a text field. Should be used within a [Form]() and [FormField]().
|
|
2209
2209
|
*/
|
|
2210
|
-
declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<
|
|
2210
|
+
declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
|
|
2211
2211
|
/**
|
|
2212
2212
|
* When enabled, focusing the input will select the entire text within
|
|
2213
2213
|
*/
|
|
@@ -2240,7 +2240,7 @@ declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HT
|
|
|
2240
2240
|
* The type of the input
|
|
2241
2241
|
*/
|
|
2242
2242
|
type?: "email" | "multiline" | "number" | "password" | "phone" | "search" | "text" | "url";
|
|
2243
|
-
} & react.RefAttributes<
|
|
2243
|
+
} & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
2244
2244
|
|
|
2245
2245
|
type EditableTextInputProps = Pick<InputProps, 'autoSelect'>;
|
|
2246
2246
|
declare const EditableTextInput: (props: EditableTextInputProps) => JSX$1.Element | null;
|
|
@@ -2550,7 +2550,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
|
|
|
2550
2550
|
/**
|
|
2551
2551
|
* Provides a readonly input that copies the text to the clipboard when clicked.
|
|
2552
2552
|
*/
|
|
2553
|
-
declare const InputClickToCopy: react.ForwardRefExoticComponent<Omit<InputProps, "
|
|
2553
|
+
declare const InputClickToCopy: react.ForwardRefExoticComponent<Omit<InputProps, "type" | "disabled" | "value" | "rightIcon" | "autoSelect"> & {
|
|
2554
2554
|
/**
|
|
2555
2555
|
* When disabled, the copy action will not be triggered
|
|
2556
2556
|
*/
|
|
@@ -2578,7 +2578,7 @@ type InputPasswordProps = Omit<InputProps, 'leftIcon' | 'monospace' | 'rightIcon
|
|
|
2578
2578
|
/**
|
|
2579
2579
|
* A password input component with a toggle button to show or hide the password text.
|
|
2580
2580
|
*/
|
|
2581
|
-
declare const InputPassword: react.ForwardRefExoticComponent<Omit<InputProps, "
|
|
2581
|
+
declare const InputPassword: react.ForwardRefExoticComponent<Omit<InputProps, "type" | "monospace" | "leftIcon" | "rightIcon"> & {
|
|
2582
2582
|
/**
|
|
2583
2583
|
* Set the disabled state of the input
|
|
2584
2584
|
*/
|
|
@@ -3293,7 +3293,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
3293
3293
|
*/
|
|
3294
3294
|
hideLabel?: boolean;
|
|
3295
3295
|
};
|
|
3296
|
-
declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "
|
|
3296
|
+
declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "value" | "size" | "hideLabel"> & {
|
|
3297
3297
|
/**
|
|
3298
3298
|
* Indicates the state of the radio
|
|
3299
3299
|
*/
|
|
@@ -3826,7 +3826,7 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
3826
3826
|
*/
|
|
3827
3827
|
hideLabel?: boolean;
|
|
3828
3828
|
};
|
|
3829
|
-
declare const Switch: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "
|
|
3829
|
+
declare const Switch: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "size" | "hideLabel"> & {
|
|
3830
3830
|
/**
|
|
3831
3831
|
* The alignment of the switch relative to the label
|
|
3832
3832
|
*/
|
|
@@ -4054,22 +4054,22 @@ declare const ThumbnailBadge: {
|
|
|
4054
4054
|
};
|
|
4055
4055
|
|
|
4056
4056
|
declare const gradients: {
|
|
4057
|
-
defaultDarkOne: styled_components.
|
|
4058
|
-
defaultDarkTwo: styled_components.
|
|
4059
|
-
defaultLightOne: styled_components.
|
|
4060
|
-
defaultLightTwo: styled_components.
|
|
4061
|
-
defaultMidOne: styled_components.
|
|
4062
|
-
defaultMidTwo: styled_components.
|
|
4063
|
-
green: styled_components.
|
|
4064
|
-
greenWithPop: styled_components.
|
|
4065
|
-
pink: styled_components.
|
|
4066
|
-
pinkWithPop: styled_components.
|
|
4067
|
-
playfulGradientOne: styled_components.
|
|
4068
|
-
playfulGradientTwo: styled_components.
|
|
4069
|
-
purple: styled_components.
|
|
4070
|
-
purpleWithPop: styled_components.
|
|
4071
|
-
yellow: styled_components.
|
|
4072
|
-
yellowWithPop: styled_components.
|
|
4057
|
+
defaultDarkOne: styled_components.FlattenSimpleInterpolation;
|
|
4058
|
+
defaultDarkTwo: styled_components.FlattenSimpleInterpolation;
|
|
4059
|
+
defaultLightOne: styled_components.FlattenSimpleInterpolation;
|
|
4060
|
+
defaultLightTwo: styled_components.FlattenSimpleInterpolation;
|
|
4061
|
+
defaultMidOne: styled_components.FlattenSimpleInterpolation;
|
|
4062
|
+
defaultMidTwo: styled_components.FlattenSimpleInterpolation;
|
|
4063
|
+
green: styled_components.FlattenSimpleInterpolation;
|
|
4064
|
+
greenWithPop: styled_components.FlattenSimpleInterpolation;
|
|
4065
|
+
pink: styled_components.FlattenSimpleInterpolation;
|
|
4066
|
+
pinkWithPop: styled_components.FlattenSimpleInterpolation;
|
|
4067
|
+
playfulGradientOne: styled_components.FlattenSimpleInterpolation;
|
|
4068
|
+
playfulGradientTwo: styled_components.FlattenSimpleInterpolation;
|
|
4069
|
+
purple: styled_components.FlattenSimpleInterpolation;
|
|
4070
|
+
purpleWithPop: styled_components.FlattenSimpleInterpolation;
|
|
4071
|
+
yellow: styled_components.FlattenSimpleInterpolation;
|
|
4072
|
+
yellowWithPop: styled_components.FlattenSimpleInterpolation;
|
|
4073
4073
|
};
|
|
4074
4074
|
type GradientNameType = keyof typeof gradients;
|
|
4075
4075
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1071,7 +1071,7 @@ declare const Center: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLPro
|
|
|
1071
1071
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1072
1072
|
|
|
1073
1073
|
type CheckboxSizeType = 'lg' | 'md' | 'sm';
|
|
1074
|
-
declare const Checkbox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "
|
|
1074
|
+
declare const Checkbox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "hideLabel"> & {
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Indicates the state of the checkbox
|
|
1077
1077
|
*/
|
|
@@ -1777,18 +1777,18 @@ declare const DataListItem: {
|
|
|
1777
1777
|
|
|
1778
1778
|
type AlignmentTypes$1 = 'center' | 'justify' | 'left' | 'right';
|
|
1779
1779
|
declare const variantStyleMap$1: {
|
|
1780
|
-
body1: styled_components.
|
|
1781
|
-
body2: styled_components.
|
|
1782
|
-
body3: styled_components.
|
|
1783
|
-
body4: styled_components.
|
|
1784
|
-
body1Mono: styled_components.
|
|
1785
|
-
body2Mono: styled_components.
|
|
1786
|
-
body3Mono: styled_components.
|
|
1787
|
-
body4Mono: styled_components.
|
|
1788
|
-
label1: styled_components.
|
|
1789
|
-
label2: styled_components.
|
|
1790
|
-
label3: styled_components.
|
|
1791
|
-
label4: styled_components.
|
|
1780
|
+
body1: styled_components.FlattenSimpleInterpolation;
|
|
1781
|
+
body2: styled_components.FlattenSimpleInterpolation;
|
|
1782
|
+
body3: styled_components.FlattenSimpleInterpolation;
|
|
1783
|
+
body4: styled_components.FlattenSimpleInterpolation;
|
|
1784
|
+
body1Mono: styled_components.FlattenSimpleInterpolation;
|
|
1785
|
+
body2Mono: styled_components.FlattenSimpleInterpolation;
|
|
1786
|
+
body3Mono: styled_components.FlattenSimpleInterpolation;
|
|
1787
|
+
body4Mono: styled_components.FlattenSimpleInterpolation;
|
|
1788
|
+
label1: styled_components.FlattenSimpleInterpolation;
|
|
1789
|
+
label2: styled_components.FlattenSimpleInterpolation;
|
|
1790
|
+
label3: styled_components.FlattenSimpleInterpolation;
|
|
1791
|
+
label4: styled_components.FlattenSimpleInterpolation;
|
|
1792
1792
|
};
|
|
1793
1793
|
type TextProps = ComponentPropsWithoutRef<'div'> & {
|
|
1794
1794
|
/**
|
|
@@ -1874,13 +1874,13 @@ declare const Divider: {
|
|
|
1874
1874
|
|
|
1875
1875
|
type AlignmentTypes = 'center' | 'justify' | 'left' | 'right';
|
|
1876
1876
|
declare const variantStyleMap: {
|
|
1877
|
-
hero: styled_components.
|
|
1878
|
-
heading1: styled_components.
|
|
1879
|
-
heading2: styled_components.
|
|
1880
|
-
heading3: styled_components.
|
|
1881
|
-
heading4: styled_components.
|
|
1882
|
-
heading5: styled_components.
|
|
1883
|
-
heading6: styled_components.
|
|
1877
|
+
hero: styled_components.FlattenSimpleInterpolation;
|
|
1878
|
+
heading1: styled_components.FlattenSimpleInterpolation;
|
|
1879
|
+
heading2: styled_components.FlattenSimpleInterpolation;
|
|
1880
|
+
heading3: styled_components.FlattenSimpleInterpolation;
|
|
1881
|
+
heading4: styled_components.FlattenSimpleInterpolation;
|
|
1882
|
+
heading5: styled_components.FlattenSimpleInterpolation;
|
|
1883
|
+
heading6: styled_components.FlattenSimpleInterpolation;
|
|
1884
1884
|
};
|
|
1885
1885
|
declare const DEFAULT_ELEMENT = "h1";
|
|
1886
1886
|
type HeadingProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT> & {
|
|
@@ -1980,25 +1980,25 @@ type EditableHeadingProps = {
|
|
|
1980
1980
|
declare const EditableHeading: ({ children, onValueChange, onEditingChange, tooltipText, ariaLabel, variant, __forceEditing, editingDisabled, }: EditableHeadingProps) => JSX$1.Element;
|
|
1981
1981
|
|
|
1982
1982
|
declare const typographicVariantStyleMap: {
|
|
1983
|
-
hero: styled_components.
|
|
1984
|
-
heading1: styled_components.
|
|
1985
|
-
heading2: styled_components.
|
|
1986
|
-
heading3: styled_components.
|
|
1987
|
-
heading4: styled_components.
|
|
1988
|
-
heading5: styled_components.
|
|
1989
|
-
heading6: styled_components.
|
|
1990
|
-
body1: styled_components.
|
|
1991
|
-
body2: styled_components.
|
|
1992
|
-
body3: styled_components.
|
|
1993
|
-
body4: styled_components.
|
|
1994
|
-
body1Mono: styled_components.
|
|
1995
|
-
body2Mono: styled_components.
|
|
1996
|
-
body3Mono: styled_components.
|
|
1997
|
-
body4Mono: styled_components.
|
|
1998
|
-
label1: styled_components.
|
|
1999
|
-
label2: styled_components.
|
|
2000
|
-
label3: styled_components.
|
|
2001
|
-
label4: styled_components.
|
|
1983
|
+
hero: styled_components.FlattenSimpleInterpolation;
|
|
1984
|
+
heading1: styled_components.FlattenSimpleInterpolation;
|
|
1985
|
+
heading2: styled_components.FlattenSimpleInterpolation;
|
|
1986
|
+
heading3: styled_components.FlattenSimpleInterpolation;
|
|
1987
|
+
heading4: styled_components.FlattenSimpleInterpolation;
|
|
1988
|
+
heading5: styled_components.FlattenSimpleInterpolation;
|
|
1989
|
+
heading6: styled_components.FlattenSimpleInterpolation;
|
|
1990
|
+
body1: styled_components.FlattenSimpleInterpolation;
|
|
1991
|
+
body2: styled_components.FlattenSimpleInterpolation;
|
|
1992
|
+
body3: styled_components.FlattenSimpleInterpolation;
|
|
1993
|
+
body4: styled_components.FlattenSimpleInterpolation;
|
|
1994
|
+
body1Mono: styled_components.FlattenSimpleInterpolation;
|
|
1995
|
+
body2Mono: styled_components.FlattenSimpleInterpolation;
|
|
1996
|
+
body3Mono: styled_components.FlattenSimpleInterpolation;
|
|
1997
|
+
body4Mono: styled_components.FlattenSimpleInterpolation;
|
|
1998
|
+
label1: styled_components.FlattenSimpleInterpolation;
|
|
1999
|
+
label2: styled_components.FlattenSimpleInterpolation;
|
|
2000
|
+
label3: styled_components.FlattenSimpleInterpolation;
|
|
2001
|
+
label4: styled_components.FlattenSimpleInterpolation;
|
|
2002
2002
|
};
|
|
2003
2003
|
type TypographicVariant = keyof typeof typographicVariantStyleMap;
|
|
2004
2004
|
|
|
@@ -2207,7 +2207,7 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElemen
|
|
|
2207
2207
|
/**
|
|
2208
2208
|
* Capture user input with a text field. Should be used within a [Form]() and [FormField]().
|
|
2209
2209
|
*/
|
|
2210
|
-
declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<
|
|
2210
|
+
declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
|
|
2211
2211
|
/**
|
|
2212
2212
|
* When enabled, focusing the input will select the entire text within
|
|
2213
2213
|
*/
|
|
@@ -2240,7 +2240,7 @@ declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HT
|
|
|
2240
2240
|
* The type of the input
|
|
2241
2241
|
*/
|
|
2242
2242
|
type?: "email" | "multiline" | "number" | "password" | "phone" | "search" | "text" | "url";
|
|
2243
|
-
} & react.RefAttributes<
|
|
2243
|
+
} & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
2244
2244
|
|
|
2245
2245
|
type EditableTextInputProps = Pick<InputProps, 'autoSelect'>;
|
|
2246
2246
|
declare const EditableTextInput: (props: EditableTextInputProps) => JSX$1.Element | null;
|
|
@@ -2550,7 +2550,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
|
|
|
2550
2550
|
/**
|
|
2551
2551
|
* Provides a readonly input that copies the text to the clipboard when clicked.
|
|
2552
2552
|
*/
|
|
2553
|
-
declare const InputClickToCopy: react.ForwardRefExoticComponent<Omit<InputProps, "
|
|
2553
|
+
declare const InputClickToCopy: react.ForwardRefExoticComponent<Omit<InputProps, "type" | "disabled" | "value" | "rightIcon" | "autoSelect"> & {
|
|
2554
2554
|
/**
|
|
2555
2555
|
* When disabled, the copy action will not be triggered
|
|
2556
2556
|
*/
|
|
@@ -2578,7 +2578,7 @@ type InputPasswordProps = Omit<InputProps, 'leftIcon' | 'monospace' | 'rightIcon
|
|
|
2578
2578
|
/**
|
|
2579
2579
|
* A password input component with a toggle button to show or hide the password text.
|
|
2580
2580
|
*/
|
|
2581
|
-
declare const InputPassword: react.ForwardRefExoticComponent<Omit<InputProps, "
|
|
2581
|
+
declare const InputPassword: react.ForwardRefExoticComponent<Omit<InputProps, "type" | "monospace" | "leftIcon" | "rightIcon"> & {
|
|
2582
2582
|
/**
|
|
2583
2583
|
* Set the disabled state of the input
|
|
2584
2584
|
*/
|
|
@@ -3293,7 +3293,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
3293
3293
|
*/
|
|
3294
3294
|
hideLabel?: boolean;
|
|
3295
3295
|
};
|
|
3296
|
-
declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "
|
|
3296
|
+
declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "value" | "size" | "hideLabel"> & {
|
|
3297
3297
|
/**
|
|
3298
3298
|
* Indicates the state of the radio
|
|
3299
3299
|
*/
|
|
@@ -3826,7 +3826,7 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
3826
3826
|
*/
|
|
3827
3827
|
hideLabel?: boolean;
|
|
3828
3828
|
};
|
|
3829
|
-
declare const Switch: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "
|
|
3829
|
+
declare const Switch: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "size" | "hideLabel"> & {
|
|
3830
3830
|
/**
|
|
3831
3831
|
* The alignment of the switch relative to the label
|
|
3832
3832
|
*/
|
|
@@ -4054,22 +4054,22 @@ declare const ThumbnailBadge: {
|
|
|
4054
4054
|
};
|
|
4055
4055
|
|
|
4056
4056
|
declare const gradients: {
|
|
4057
|
-
defaultDarkOne: styled_components.
|
|
4058
|
-
defaultDarkTwo: styled_components.
|
|
4059
|
-
defaultLightOne: styled_components.
|
|
4060
|
-
defaultLightTwo: styled_components.
|
|
4061
|
-
defaultMidOne: styled_components.
|
|
4062
|
-
defaultMidTwo: styled_components.
|
|
4063
|
-
green: styled_components.
|
|
4064
|
-
greenWithPop: styled_components.
|
|
4065
|
-
pink: styled_components.
|
|
4066
|
-
pinkWithPop: styled_components.
|
|
4067
|
-
playfulGradientOne: styled_components.
|
|
4068
|
-
playfulGradientTwo: styled_components.
|
|
4069
|
-
purple: styled_components.
|
|
4070
|
-
purpleWithPop: styled_components.
|
|
4071
|
-
yellow: styled_components.
|
|
4072
|
-
yellowWithPop: styled_components.
|
|
4057
|
+
defaultDarkOne: styled_components.FlattenSimpleInterpolation;
|
|
4058
|
+
defaultDarkTwo: styled_components.FlattenSimpleInterpolation;
|
|
4059
|
+
defaultLightOne: styled_components.FlattenSimpleInterpolation;
|
|
4060
|
+
defaultLightTwo: styled_components.FlattenSimpleInterpolation;
|
|
4061
|
+
defaultMidOne: styled_components.FlattenSimpleInterpolation;
|
|
4062
|
+
defaultMidTwo: styled_components.FlattenSimpleInterpolation;
|
|
4063
|
+
green: styled_components.FlattenSimpleInterpolation;
|
|
4064
|
+
greenWithPop: styled_components.FlattenSimpleInterpolation;
|
|
4065
|
+
pink: styled_components.FlattenSimpleInterpolation;
|
|
4066
|
+
pinkWithPop: styled_components.FlattenSimpleInterpolation;
|
|
4067
|
+
playfulGradientOne: styled_components.FlattenSimpleInterpolation;
|
|
4068
|
+
playfulGradientTwo: styled_components.FlattenSimpleInterpolation;
|
|
4069
|
+
purple: styled_components.FlattenSimpleInterpolation;
|
|
4070
|
+
purpleWithPop: styled_components.FlattenSimpleInterpolation;
|
|
4071
|
+
yellow: styled_components.FlattenSimpleInterpolation;
|
|
4072
|
+
yellowWithPop: styled_components.FlattenSimpleInterpolation;
|
|
4073
4073
|
};
|
|
4074
4074
|
type GradientNameType = keyof typeof gradients;
|
|
4075
4075
|
|