@windstream/react-shared-components 0.0.92 → 0.0.93
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/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +1 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +2 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/accordion/index.tsx +2 -2
- package/src/components/alert-card/index.tsx +3 -2
- package/src/components/alert-card/types.ts +2 -0
- package/src/components/brand-button/index.tsx +1 -1
- package/src/components/input/index.tsx +3 -3
- package/src/components/material-icon/MaterialIcon.stories.tsx +2 -10
- package/src/components/material-icon/index.tsx +4 -1
- package/src/components/view-cart-button/index.tsx +1 -1
- package/src/contentful/blocks/carousel/types.ts +3 -3
- package/src/styles/globals.css +36 -0
- package/tailwind.config.cjs +29 -0
package/dist/core.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
|
|
|
61
61
|
size?: "slim" | "medium" | "large" | undefined;
|
|
62
62
|
label?: string | undefined;
|
|
63
63
|
errorText?: string | undefined;
|
|
64
|
-
prefixIconName?: "
|
|
64
|
+
prefixIconName?: "location_on" | "search" | undefined;
|
|
65
65
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
66
66
|
prefixIconFill?: boolean | undefined;
|
|
67
67
|
suffixIconFill?: boolean | undefined;
|
|
@@ -307,6 +307,7 @@ declare const Select: React__default.FC<SelectProps>;
|
|
|
307
307
|
type AlertCardProps = {
|
|
308
308
|
errorMessage?: string | ReactNode;
|
|
309
309
|
className?: string;
|
|
310
|
+
iconName?: IconName;
|
|
310
311
|
textVariant?: TextVariant$1;
|
|
311
312
|
};
|
|
312
313
|
|
package/dist/index.d.ts
CHANGED
|
@@ -57,15 +57,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
57
57
|
|
|
58
58
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
59
59
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
60
|
-
state?: "default" | "
|
|
61
|
-
size?: "
|
|
60
|
+
state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
|
|
61
|
+
size?: "slim" | "medium" | "large" | undefined;
|
|
62
62
|
label?: string | undefined;
|
|
63
63
|
errorText?: string | undefined;
|
|
64
64
|
prefixIconName?: "search" | "location_on" | undefined;
|
|
65
65
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
66
66
|
prefixIconFill?: boolean | undefined;
|
|
67
67
|
suffixIconFill?: boolean | undefined;
|
|
68
|
-
suffixIconName?: "visibility" | "
|
|
68
|
+
suffixIconName?: "visibility" | "visibility_off" | "lock" | undefined;
|
|
69
69
|
suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
70
70
|
containerClassName?: string | undefined;
|
|
71
71
|
prefixIconClassName?: string | undefined;
|
|
@@ -307,6 +307,7 @@ declare const Select: React__default.FC<SelectProps>;
|
|
|
307
307
|
type AlertCardProps = {
|
|
308
308
|
errorMessage?: string | ReactNode;
|
|
309
309
|
className?: string;
|
|
310
|
+
iconName?: IconName;
|
|
310
311
|
textVariant?: TextVariant$1;
|
|
311
312
|
};
|
|
312
313
|
|
|
@@ -339,7 +340,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
|
|
|
339
340
|
};
|
|
340
341
|
type ButtonProps = ButtonAsButton | ButtonAsAnchor;
|
|
341
342
|
|
|
342
|
-
declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<
|
|
343
|
+
declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
343
344
|
|
|
344
345
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
345
346
|
|