@windstream/react-shared-components 0.0.3 → 0.0.4
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 +14 -2
- 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 +1 -1
- package/dist/index.d.ts +7 -7
- package/package.json +1 -1
- package/src/contentful/blocks/button/index.tsx +6 -0
- package/src/contentful/blocks/button/types.ts +1 -0
- package/src/contentful/blocks/modal/index.tsx +6 -0
- package/src/contentful/blocks/modal/types.ts +1 -0
- package/src/contentful/index.ts +5 -0
|
@@ -58,5 +58,17 @@ declare const Text: React.FC<{
|
|
|
58
58
|
fields: TextProps;
|
|
59
59
|
}>;
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
type ButtonProps = {};
|
|
62
|
+
|
|
63
|
+
declare const Button: React.FC<{
|
|
64
|
+
fields: ButtonProps;
|
|
65
|
+
}>;
|
|
66
|
+
|
|
67
|
+
type ModalProps = {};
|
|
68
|
+
|
|
69
|
+
declare const Modal: React.FC<{
|
|
70
|
+
fields: ModalProps;
|
|
71
|
+
}>;
|
|
72
|
+
|
|
73
|
+
export { Accordion, Button, Callout, Cards, Carousel, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, Text };
|
|
74
|
+
export type { AccordionProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, TextProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as i}from"react/jsx-runtime";const d=({fields:d})=>i("div",{children:"Accordion"}),e=({fields:d})=>i("div",{children:"Callout"}),l=({fields:d})=>i("div",{children:"Cards"}),r=({fields:d})=>i("div",{children:"Carousel"}),n=({fields:d})=>i("div",{children:"FloatingBanner"}),o=({fields:d})=>i("div",{children:"Footer component"}),c=({fields:d})=>i("div",{children:"Image Promo Bar"}),s=({fields:d})=>i("div",{children:"Navigation"}),
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";const d=({fields:d})=>i("div",{children:"Accordion"}),e=({fields:d})=>i("div",{children:"Callout"}),l=({fields:d})=>i("div",{children:"Cards"}),r=({fields:d})=>i("div",{children:"Carousel"}),n=({fields:d})=>i("div",{children:"FloatingBanner"}),o=({fields:d})=>i("div",{children:"Footer component"}),c=({fields:d})=>i("div",{children:"Image Promo Bar"}),s=({fields:d})=>i("div",{children:"Navigation"}),f=({fields:d})=>i("div",{children:"Primary Hero"}),t=({fields:d})=>i("div",{children:"Text Block"}),v=({fields:d})=>i("div",{children:"Button Block"}),a=({fields:d})=>i("div",{children:"Modal Block"});export{d as Accordion,v as Button,e as Callout,l as Cards,r as Carousel,n as FloatingBanner,o as Footer,c as ImagePromoBar,a as Modal,s as Navigation,f as PrimaryHero,t as Text};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../src/contentful/blocks/accordion/index.tsx","../../src/contentful/blocks/callout/index.tsx","../../src/contentful/blocks/cards/index.tsx","../../src/contentful/blocks/carousel/index.tsx","../../src/contentful/blocks/floating-banner/index.tsx","../../src/contentful/blocks/footer/index.tsx","../../src/contentful/blocks/image-promo-bar/index.tsx","../../src/contentful/blocks/navigation/index.tsx","../../src/contentful/blocks/primary-hero/index.tsx","../../src/contentful/blocks/text/index.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":["Accordion","fields","_jsx","Callout","Cards","Carousel","FloatingBanner","Footer","ImagePromoBar","Navigation","PrimaryHero","Text"],"mappings":"8CAEaA,EAAkD,EAAGC,YACzDC,gCCDIC,EAA8C,EAAGF,YACrDC,8BCDIE,EAA0C,EAAGH,YACjDC,4BCDIG,EAAgD,EAAGJ,YACvDC,+BCDII,EAA0D,EAAGL,YACjEC,qCCDIK,EAA4C,EAAGN,YACnDC,uCCDIM,EAA0D,EAAGP,YACjEC,sCCDIO,EAAoD,EAAGR,YAC3DC,iCCDIQ,EAAsD,EAAGT,YAC7DC,mCCDIS,EAAwC,EAAGV,YAC/CC"}
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../src/contentful/blocks/accordion/index.tsx","../../src/contentful/blocks/callout/index.tsx","../../src/contentful/blocks/cards/index.tsx","../../src/contentful/blocks/carousel/index.tsx","../../src/contentful/blocks/floating-banner/index.tsx","../../src/contentful/blocks/footer/index.tsx","../../src/contentful/blocks/image-promo-bar/index.tsx","../../src/contentful/blocks/navigation/index.tsx","../../src/contentful/blocks/primary-hero/index.tsx","../../src/contentful/blocks/text/index.tsx","../../src/contentful/blocks/button/index.tsx","../../src/contentful/blocks/modal/index.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":["Accordion","fields","_jsx","Callout","Cards","Carousel","FloatingBanner","Footer","ImagePromoBar","Navigation","PrimaryHero","Text","Button","Modal"],"mappings":"8CAEaA,EAAkD,EAAGC,YACzDC,gCCDIC,EAA8C,EAAGF,YACrDC,8BCDIE,EAA0C,EAAGH,YACjDC,4BCDIG,EAAgD,EAAGJ,YACvDC,+BCDII,EAA0D,EAAGL,YACjEC,qCCDIK,EAA4C,EAAGN,YACnDC,uCCDIM,EAA0D,EAAGP,YACjEC,sCCDIO,EAAoD,EAAGR,YAC3DC,iCCDIQ,EAAsD,EAAGT,YAC7DC,mCCDIS,EAAwC,EAAGV,YAC/CC,iCCDIU,EAA4C,EAAGX,YACnDC,mCCDIW,EAA0C,EAAGZ,YACjDC"}
|
package/dist/contentful/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime");exports.Accordion=({fields:r})=>e.jsx("div",{children:"Accordion"}),exports.Callout=({fields:r})=>e.jsx("div",{children:"Callout"}),exports.Cards=({fields:r})=>e.jsx("div",{children:"Cards"}),exports.Carousel=({fields:r})=>e.jsx("div",{children:"Carousel"}),exports.FloatingBanner=({fields:r})=>e.jsx("div",{children:"FloatingBanner"}),exports.Footer=({fields:r})=>e.jsx("div",{children:"Footer component"}),exports.ImagePromoBar=({fields:r})=>e.jsx("div",{children:"Image Promo Bar"}),exports.Navigation=({fields:r})=>e.jsx("div",{children:"Navigation"}),exports.PrimaryHero=({fields:r})=>e.jsx("div",{children:"Primary Hero"}),exports.Text=({fields:r})=>e.jsx("div",{children:"Text Block"});
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime");exports.Accordion=({fields:r})=>e.jsx("div",{children:"Accordion"}),exports.Button=({fields:r})=>e.jsx("div",{children:"Button Block"}),exports.Callout=({fields:r})=>e.jsx("div",{children:"Callout"}),exports.Cards=({fields:r})=>e.jsx("div",{children:"Cards"}),exports.Carousel=({fields:r})=>e.jsx("div",{children:"Carousel"}),exports.FloatingBanner=({fields:r})=>e.jsx("div",{children:"FloatingBanner"}),exports.Footer=({fields:r})=>e.jsx("div",{children:"Footer component"}),exports.ImagePromoBar=({fields:r})=>e.jsx("div",{children:"Image Promo Bar"}),exports.Modal=({fields:r})=>e.jsx("div",{children:"Modal Block"}),exports.Navigation=({fields:r})=>e.jsx("div",{children:"Navigation"}),exports.PrimaryHero=({fields:r})=>e.jsx("div",{children:"Primary Hero"}),exports.Text=({fields:r})=>e.jsx("div",{children:"Text Block"});
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/contentful/blocks/accordion/index.tsx","../../src/contentful/blocks/callout/index.tsx","../../src/contentful/blocks/cards/index.tsx","../../src/contentful/blocks/carousel/index.tsx","../../src/contentful/blocks/floating-banner/index.tsx","../../src/contentful/blocks/footer/index.tsx","../../src/contentful/blocks/image-promo-bar/index.tsx","../../src/contentful/blocks/navigation/index.tsx","../../src/contentful/blocks/primary-hero/index.tsx","../../src/contentful/blocks/text/index.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":["fields","_jsx"],"mappings":"kEAE+D,EAAGA,YACzDC,EAAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/contentful/blocks/accordion/index.tsx","../../src/contentful/blocks/button/index.tsx","../../src/contentful/blocks/callout/index.tsx","../../src/contentful/blocks/cards/index.tsx","../../src/contentful/blocks/carousel/index.tsx","../../src/contentful/blocks/floating-banner/index.tsx","../../src/contentful/blocks/footer/index.tsx","../../src/contentful/blocks/image-promo-bar/index.tsx","../../src/contentful/blocks/modal/index.tsx","../../src/contentful/blocks/navigation/index.tsx","../../src/contentful/blocks/primary-hero/index.tsx","../../src/contentful/blocks/text/index.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":["fields","_jsx"],"mappings":"kEAE+D,EAAGA,YACzDC,EAAAA,iDCDgD,EAAGD,YACnDC,EAAAA,qDCDkD,EAAGD,YACrDC,EAAAA,8CCD8C,EAAGD,YACjDC,EAAAA,+CCDoD,EAAGD,YACvDC,EAAAA,wDCD8D,EAAGD,YACjEC,EAAAA,sDCDgD,EAAGD,YACnDC,EAAAA,+DCD8D,EAAGD,YACjEC,EAAAA,sDCD8C,EAAGD,YACjDC,EAAAA,uDCDwD,EAAGD,YAC3DC,EAAAA,uDCD0D,EAAGD,YAC7DC,EAAAA,kDCD4C,EAAGD,YAC/CC,EAAAA"}
|
package/dist/core.d.ts
CHANGED
|
@@ -295,7 +295,7 @@ type ButtonCustomProps = {
|
|
|
295
295
|
};
|
|
296
296
|
type ButtonProps = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
|
|
297
297
|
|
|
298
|
-
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
298
|
+
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
299
299
|
|
|
300
300
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
301
301
|
|
package/dist/index.d.ts
CHANGED
|
@@ -55,16 +55,16 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
55
55
|
|
|
56
56
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
57
57
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
58
|
-
state?: "default" | "
|
|
59
|
-
size?: "
|
|
58
|
+
state?: "default" | "error" | "focus" | "active" | "hover" | "filled" | undefined;
|
|
59
|
+
size?: "medium" | "large" | "slim" | undefined;
|
|
60
60
|
label?: string | undefined;
|
|
61
61
|
errorText?: string | undefined;
|
|
62
|
-
prefixIconName?: "
|
|
63
|
-
prefixIconSize?:
|
|
62
|
+
prefixIconName?: "search" | "location_on" | undefined;
|
|
63
|
+
prefixIconSize?: 24 | 20 | 40 | 48 | undefined;
|
|
64
64
|
prefixIconFill?: boolean | undefined;
|
|
65
65
|
suffixIconFill?: boolean | undefined;
|
|
66
|
-
suffixIconName?: "visibility" | "
|
|
67
|
-
suffixIconSize?:
|
|
66
|
+
suffixIconName?: "visibility" | "lock" | "visibility_off" | undefined;
|
|
67
|
+
suffixIconSize?: 24 | 20 | 40 | 48 | undefined;
|
|
68
68
|
containerClassName?: string | undefined;
|
|
69
69
|
prefixIconClassName?: string | undefined;
|
|
70
70
|
loading?: boolean | undefined;
|
|
@@ -295,7 +295,7 @@ type ButtonCustomProps = {
|
|
|
295
295
|
};
|
|
296
296
|
type ButtonProps = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
|
|
297
297
|
|
|
298
|
-
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
298
|
+
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
299
299
|
|
|
300
300
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
301
301
|
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ButtonProps = {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ModalProps = {}
|
package/src/contentful/index.ts
CHANGED
|
@@ -29,3 +29,8 @@ export type { PrimaryHeroProps } from "./blocks/primary-hero/types";
|
|
|
29
29
|
export { Text } from "./blocks/text";
|
|
30
30
|
export type { TextProps } from "./blocks/text/types";
|
|
31
31
|
|
|
32
|
+
export { Button } from "./blocks/button";
|
|
33
|
+
export type { ButtonProps } from "./blocks/button/types";
|
|
34
|
+
|
|
35
|
+
export { Modal } from "./blocks/modal";
|
|
36
|
+
export type { ModalProps } from "./blocks/modal/types";
|