@windstream/react-shared-components 0.0.93 → 0.0.95
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.d.ts +39 -31
- 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 +12 -5
- package/dist/index.d.ts +8 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/accordion/index.tsx +9 -2
- package/src/components/accordion/types.ts +1 -0
- package/src/components/alert-card/index.tsx +6 -1
- package/src/components/alert-card/types.ts +1 -0
- package/src/components/select-plan-button/index.tsx +40 -14
- package/src/components/select-plan-button/types.ts +9 -0
- package/src/contentful/blocks/accordion/index.tsx +3 -1
- package/src/contentful/blocks/button/index.tsx +33 -25
- package/src/contentful/blocks/button/types.ts +3 -0
- package/src/contentful/blocks/cards/product-card/index.tsx +10 -3
- package/src/contentful/blocks/cards/product-card/types.ts +8 -1
- package/src/contentful/blocks/cards/simple-card/index.tsx +12 -1
- package/src/contentful/blocks/cards/simple-card/types.ts +2 -5
- package/src/contentful/blocks/carousel/helper.tsx +10 -3
- package/src/contentful/blocks/carousel/index.tsx +8 -2
- package/src/contentful/blocks/carousel/types.ts +5 -1
- package/src/contentful/blocks/cta-callout/index.tsx +7 -1
- package/src/contentful/blocks/cta-callout/types.ts +4 -0
- package/src/contentful/blocks/find-kinetic/index.tsx +2 -2
- package/src/contentful/blocks/image-promo-bar/index.tsx +3 -0
- package/src/types/micro-components.ts +10 -0
- package/tailwind.config.cjs +4 -0
package/dist/core.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ import { ChecklistProps } from '@shared/components/checklist/types';
|
|
|
18
18
|
export { ChecklistProps } from '@shared/components/checklist/types';
|
|
19
19
|
import { SeeMoreProps } from '@shared/components/see-more/types';
|
|
20
20
|
export { SeeMoreProps } from '@shared/components/see-more/types';
|
|
21
|
+
import { ButtonProps as ButtonProps$3 } from '@shared/contentful/blocks/button/types';
|
|
22
|
+
import { CheckPlansProps } from '@shared/types/micro-components';
|
|
21
23
|
import { ClassValue } from 'clsx';
|
|
22
24
|
export { ClassValue, clsx } from 'clsx';
|
|
23
25
|
|
|
@@ -57,15 +59,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
57
59
|
|
|
58
60
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
59
61
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
60
|
-
state?: "default" | "
|
|
61
|
-
size?: "
|
|
62
|
+
state?: "default" | "error" | "focus" | "active" | "hover" | "filled" | undefined;
|
|
63
|
+
size?: "medium" | "large" | "slim" | undefined;
|
|
62
64
|
label?: string | undefined;
|
|
63
65
|
errorText?: string | undefined;
|
|
64
|
-
prefixIconName?: "
|
|
66
|
+
prefixIconName?: "search" | "location_on" | undefined;
|
|
65
67
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
66
68
|
prefixIconFill?: boolean | undefined;
|
|
67
69
|
suffixIconFill?: boolean | undefined;
|
|
68
|
-
suffixIconName?: "visibility" | "
|
|
70
|
+
suffixIconName?: "visibility" | "lock" | "visibility_off" | undefined;
|
|
69
71
|
suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
70
72
|
containerClassName?: string | undefined;
|
|
71
73
|
prefixIconClassName?: string | undefined;
|
|
@@ -308,6 +310,7 @@ type AlertCardProps = {
|
|
|
308
310
|
errorMessage?: string | ReactNode;
|
|
309
311
|
className?: string;
|
|
310
312
|
iconName?: IconName;
|
|
313
|
+
iconClassName?: string;
|
|
311
314
|
textVariant?: TextVariant$1;
|
|
312
315
|
};
|
|
313
316
|
|
|
@@ -383,10 +386,14 @@ declare const SeeMore: React.FC<SeeMoreProps>;
|
|
|
383
386
|
type SelectPlanButtonProps = {
|
|
384
387
|
onSelect: () => void;
|
|
385
388
|
speed: string;
|
|
389
|
+
techType?: string;
|
|
390
|
+
isMax?: boolean;
|
|
386
391
|
isSelected?: boolean;
|
|
392
|
+
renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
|
|
393
|
+
cta?: ButtonProps$3;
|
|
387
394
|
};
|
|
388
395
|
|
|
389
|
-
declare const SelectPlanButton:
|
|
396
|
+
declare const SelectPlanButton: React__default.FC<SelectPlanButtonProps>;
|
|
390
397
|
|
|
391
398
|
type SkeletonProps = {
|
|
392
399
|
className?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ import { ChecklistProps } from '@shared/components/checklist/types';
|
|
|
18
18
|
export { ChecklistProps } from '@shared/components/checklist/types';
|
|
19
19
|
import { SeeMoreProps } from '@shared/components/see-more/types';
|
|
20
20
|
export { SeeMoreProps } from '@shared/components/see-more/types';
|
|
21
|
+
import { ButtonProps as ButtonProps$3 } from '@shared/contentful/blocks/button/types';
|
|
22
|
+
import { CheckPlansProps } from '@shared/types/micro-components';
|
|
21
23
|
import { ClassValue } from 'clsx';
|
|
22
24
|
export { ClassValue, clsx } from 'clsx';
|
|
23
25
|
|
|
@@ -308,6 +310,7 @@ type AlertCardProps = {
|
|
|
308
310
|
errorMessage?: string | ReactNode;
|
|
309
311
|
className?: string;
|
|
310
312
|
iconName?: IconName;
|
|
313
|
+
iconClassName?: string;
|
|
311
314
|
textVariant?: TextVariant$1;
|
|
312
315
|
};
|
|
313
316
|
|
|
@@ -383,10 +386,14 @@ declare const SeeMore: React.FC<SeeMoreProps>;
|
|
|
383
386
|
type SelectPlanButtonProps = {
|
|
384
387
|
onSelect: () => void;
|
|
385
388
|
speed: string;
|
|
389
|
+
techType?: string;
|
|
390
|
+
isMax?: boolean;
|
|
386
391
|
isSelected?: boolean;
|
|
392
|
+
renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
|
|
393
|
+
cta?: ButtonProps$3;
|
|
387
394
|
};
|
|
388
395
|
|
|
389
|
-
declare const SelectPlanButton:
|
|
396
|
+
declare const SelectPlanButton: React__default.FC<SelectPlanButtonProps>;
|
|
390
397
|
|
|
391
398
|
type SkeletonProps = {
|
|
392
399
|
className?: string;
|