@everlywell/consumer-ui 1.39.6 → 1.40.0

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.
@@ -0,0 +1,13 @@
1
+ import { ModalProps, DrawerProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps, ModalContentProps } from '../../../../../ui-kit/src/index.ts';
2
+ export type DrawerModalProps = {
3
+ children: React.ReactNode;
4
+ header?: React.ReactNode;
5
+ footer?: React.ReactNode;
6
+ headerProps?: ModalHeaderProps;
7
+ bodyProps?: ModalBodyProps;
8
+ footerProps?: ModalFooterProps;
9
+ contentProps?: ModalContentProps;
10
+ } & ModalProps & DrawerProps;
11
+ declare const DrawerModal: ({ isOpen, onClose, children, header, footer, headerProps, bodyProps, footerProps, contentProps, ...props }: DrawerModalProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default DrawerModal;
13
+ //# sourceMappingURL=DrawerModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawerModal.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/components/DrawerModal/DrawerModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAE,WAAW,EAAQ,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAIhK,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC,GAAG,UAAU,GAAG,WAAW,CAAC;AAE7B,QAAA,MAAM,WAAW,+GAWd,gBAAgB,4CA4ElB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryFn } from '@storybook/react';
2
+ import DrawerModal, { DrawerModalProps } from './DrawerModal';
3
+ declare const meta: Meta<typeof DrawerModal>;
4
+ export default meta;
5
+ export declare const Primary: StoryFn<DrawerModalProps>;
6
+ //# sourceMappingURL=DrawerModal.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawerModal.stories.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/components/DrawerModal/DrawerModal.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,WAAW,EAAE,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE9D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CA6BlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAwB7C,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Drawer } from '../../../../../ui-kit/src/index.ts';
2
+ export declare const getDrawerModal: (isMobile: boolean) => {
3
+ Container: typeof Drawer;
4
+ Overlay: import("@chakra-ui/system").ComponentWithAs<"div", import('../../../../../ui-kit/src/index.ts').ModalOverlayProps>;
5
+ Content: import("@chakra-ui/system").ComponentWithAs<"section", import("@chakra-ui/modal").DrawerContentProps>;
6
+ Header: import("@chakra-ui/system").ComponentWithAs<"header", import('../../../../../ui-kit/src/index.ts').ModalHeaderProps>;
7
+ Body: import("@chakra-ui/system").ComponentWithAs<"div", import('../../../../../ui-kit/src/index.ts').ModalBodyProps>;
8
+ Footer: import("@chakra-ui/system").ComponentWithAs<"footer", import('../../../../../ui-kit/src/index.ts').ModalFooterProps>;
9
+ CloseButton: import("@chakra-ui/system").ComponentWithAs<"button", import("@chakra-ui/close-button").CloseButtonProps>;
10
+ } | {
11
+ Container: import("react").FC<import('../../../../../ui-kit/src/index.ts').ModalProps>;
12
+ Overlay: import("@chakra-ui/system").ComponentWithAs<"div", import('../../../../../ui-kit/src/index.ts').ModalOverlayProps>;
13
+ Content: import("@chakra-ui/system").ComponentWithAs<"section", import('../../../../../ui-kit/src/index.ts').ModalContentProps>;
14
+ Header: import("@chakra-ui/system").ComponentWithAs<"header", import('../../../../../ui-kit/src/index.ts').ModalHeaderProps>;
15
+ Body: import("@chakra-ui/system").ComponentWithAs<"div", import('../../../../../ui-kit/src/index.ts').ModalBodyProps>;
16
+ Footer: import("@chakra-ui/system").ComponentWithAs<"footer", import('../../../../../ui-kit/src/index.ts').ModalFooterProps>;
17
+ CloseButton: import("@chakra-ui/system").ComponentWithAs<"button", import("@chakra-ui/close-button").CloseButtonProps>;
18
+ };
19
+ //# sourceMappingURL=DrawerModal.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawerModal.utils.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/components/DrawerModal/DrawerModal.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EAcP,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,cAAc,aAAc,OAAO;;;;;;;;;;;;;;;;CAsB/C,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './DrawerModal';
2
+ export type { DrawerModalProps } from './DrawerModal';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/components/DrawerModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everlywell/consumer-ui",
3
- "version": "1.39.6",
3
+ "version": "1.40.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {