@windstream/react-shared-components 0.0.84 → 0.0.87
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/README.md +7 -1
- package/dist/contentful/index.d.ts +11 -4
- 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 +5 -5
- 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 +4 -2
- package/src/components/material-icon/constants.ts +1 -0
- package/src/contentful/blocks/find-kinetic/index.tsx +124 -120
- package/src/contentful/blocks/modal/constants.ts +53 -0
- package/src/contentful/blocks/modal/index.tsx +84 -5
- package/src/contentful/blocks/modal/types.ts +12 -1
- package/src/contentful/blocks/navigation/index.tsx +26 -21
- package/src/contentful/blocks/modal/Modal.stories.tsx +0 -23
package/README.md
CHANGED
|
@@ -627,4 +627,10 @@ This package is part of the Kinetic ecosystem and works seamlessly with:
|
|
|
627
627
|
- Commit -> Git commit
|
|
628
628
|
- version -> npm version patch
|
|
629
629
|
- build -> npm run build
|
|
630
|
-
- publish -> npm publish --access public
|
|
630
|
+
- publish -> npm publish --access public
|
|
631
|
+
|
|
632
|
+
## npm pack usage in local
|
|
633
|
+
- build -> npm run build
|
|
634
|
+
- pack -> npm pack
|
|
635
|
+
- reference in app -> relatiev path to teh zip
|
|
636
|
+
- eg: "@windstream/react-shared-components": "../kinetic-react-shared-components/windstream-react-shared-components-0.0.86.tgz",
|
|
@@ -321,11 +321,18 @@ type ButtonProps = {
|
|
|
321
321
|
|
|
322
322
|
declare const Button: React$1.FC<ButtonProps>;
|
|
323
323
|
|
|
324
|
-
type ModalProps = {
|
|
324
|
+
type ModalProps = {
|
|
325
|
+
isOpen: boolean;
|
|
326
|
+
onRequestClose?: () => void;
|
|
327
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs";
|
|
328
|
+
title?: string;
|
|
329
|
+
description?: React$1.ReactNode;
|
|
330
|
+
content?: React$1.ReactNode;
|
|
331
|
+
children?: React$1.ReactNode;
|
|
332
|
+
bodyClassName?: string;
|
|
333
|
+
};
|
|
325
334
|
|
|
326
|
-
declare const Modal: React.FC<
|
|
327
|
-
fields: ModalProps;
|
|
328
|
-
}>;
|
|
335
|
+
declare const Modal: React$1.FC<ModalProps>;
|
|
329
336
|
|
|
330
337
|
declare const svgPaths: Record<string, string>;
|
|
331
338
|
type ThemeKey = "blue" | "green" | "yellow" | "purple" | "white" | "navy";
|