@everlywell/consumer-ui 1.23.0 → 1.24.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.
Files changed (43) hide show
  1. package/index.d.mts +3 -1
  2. package/index.d.ts +3 -1
  3. package/index.d.ts.map +1 -1
  4. package/index.js +11 -11
  5. package/index.mjs +1105 -622
  6. package/lib/components/Navbar/NavButton/NavButton.d.ts +4 -3
  7. package/lib/components/Navbar/NavButton/NavButton.d.ts.map +1 -1
  8. package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts +20 -0
  9. package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts.map +1 -0
  10. package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts +10 -0
  11. package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts.map +1 -0
  12. package/lib/components/Navbar/NavSkeleton/index.d.ts +3 -0
  13. package/lib/components/Navbar/NavSkeleton/index.d.ts.map +1 -0
  14. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts +9 -3
  15. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -1
  16. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts.map +1 -1
  17. package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts +21 -1
  18. package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts.map +1 -1
  19. package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts +8 -0
  20. package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts.map +1 -0
  21. package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts +105 -0
  22. package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts.map +1 -0
  23. package/lib/components/Navbar/NavigationBar/NavigationBar.stories.d.ts +12 -0
  24. package/lib/components/Navbar/NavigationBar/NavigationBar.stories.d.ts.map +1 -0
  25. package/lib/components/Navbar/NavigationBar/index.d.ts +3 -0
  26. package/lib/components/Navbar/NavigationBar/index.d.ts.map +1 -0
  27. package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts +14 -3
  28. package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
  29. package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts +7 -2
  30. package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts.map +1 -1
  31. package/lib/components/Navbar/TopNavigation/TopNavigation.stories.d.ts +3 -2
  32. package/lib/components/Navbar/TopNavigation/TopNavigation.stories.d.ts.map +1 -1
  33. package/lib/components/Navbar/types.d.ts +19 -0
  34. package/lib/components/Navbar/types.d.ts.map +1 -0
  35. package/lib/utils/testHelpers/setupTests.d.ts +6 -0
  36. package/lib/utils/testHelpers/setupTests.d.ts.map +1 -0
  37. package/package.json +1 -1
  38. package/lib/components/TemporaryCard/TemporaryCard.d.ts +0 -20
  39. package/lib/components/TemporaryCard/TemporaryCard.d.ts.map +0 -1
  40. package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts +0 -8
  41. package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts.map +0 -1
  42. package/lib/components/TemporaryCard/index.d.ts +0 -3
  43. package/lib/components/TemporaryCard/index.d.ts.map +0 -1
@@ -1,7 +1,8 @@
1
- import type { ComponentWithAs, ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
2
- export interface NavButtonProps extends ChakraButtonProps {
1
+ import { ComponentWithAs } from '@chakra-ui/react';
2
+ import { Button, ButtonProps } from '../../../../../../ui-kit/src/index.ts';
3
+ export interface NavButtonProps extends ButtonProps {
3
4
  isSelected?: boolean;
4
5
  }
5
- declare const NavButton: ComponentWithAs<"button", NavButtonProps>;
6
+ declare const NavButton: ComponentWithAs<typeof Button, NavButtonProps>;
6
7
  export default NavButton;
7
8
  //# sourceMappingURL=NavButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavButton.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavButton/NavButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,WAAW,IAAI,iBAAiB,EACjC,MAAM,kBAAkB,CAAC;AAE1B,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAgBD,QAAA,MAAM,SAAS,EAyBV,eAAe,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;AAE/C,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"NavButton.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavButton/NavButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAQ,MAAM,oBAAoB,CAAC;AAG/D,MAAM,WAAW,cAAe,SAAQ,WAAW;IACjD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,EAkCV,eAAe,CAAC,OAAO,MAAM,EAAE,cAAc,CAAC,CAAC;AAEpD,eAAe,SAAS,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { FC } from 'react';
2
+ export interface NavSkeletonProps {
3
+ /**
4
+ * Number of navigation links to display
5
+ * @default 5
6
+ */
7
+ numLinks?: number;
8
+ /**
9
+ * Whether to show the promo button
10
+ * @default true
11
+ */
12
+ showPromoButton?: boolean;
13
+ }
14
+ /**
15
+ * A loading skeleton component for the navigation bar that provides a visual placeholder
16
+ * while content is being loaded.
17
+ */
18
+ declare const NavSkeleton: FC<NavSkeletonProps>;
19
+ export default NavSkeleton;
20
+ //# sourceMappingURL=NavSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavSkeleton/NavSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAU3B,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;GAGG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAiCrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import NavSkeleton from './NavSkeleton';
3
+ declare const meta: Meta<typeof NavSkeleton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof NavSkeleton>;
6
+ export declare const Default: Story;
7
+ export declare const WithCustomLinks: Story;
8
+ export declare const WithoutPromoButton: Story;
9
+ export declare const CustomLinksAndNoPromo: Story;
10
+ //# sourceMappingURL=NavSkeleton.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavSkeleton.stories.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAkBlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAI7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAIhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAKnC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './NavSkeleton';
2
+ export type { NavSkeletonProps } from './NavSkeleton';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavSkeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+ export declare const NAV_DRAWER_HOVER_EVENT = "nav-drawer-hover";
3
+ export declare const dispatchDrawerHoverEvent: (isHovering: boolean) => void;
2
4
  export type NavbarDrawerProps = {
3
5
  /**
4
6
  * Whether the drawer is open. Defaults to false.
@@ -7,7 +9,7 @@ export type NavbarDrawerProps = {
7
9
  /**
8
10
  * Callback for when the drawer should close
9
11
  */
10
- onClose: () => void;
12
+ onClose: VoidFunction;
11
13
  /**
12
14
  * The title text to display in the drawer header
13
15
  */
@@ -21,7 +23,7 @@ export type NavbarDrawerProps = {
21
23
  * Bottom section content including promo and navigation buttons.
22
24
  * This should be a container with the promo content and NavButton components.
23
25
  */
24
- bottomNavButtons: React.ReactNode;
26
+ bottomNavButtons?: React.ReactNode;
25
27
  /**
26
28
  * Optional spotlight cards. This should be using the SpotlightCard component. If passing multiple cards, wrap them in a fragment <></>.
27
29
  */
@@ -39,13 +41,17 @@ export type NavbarDrawerProps = {
39
41
  * Callback for when the back button is clicked.
40
42
  * Only used when hasBackButton is true.
41
43
  */
42
- onBackClick?: () => void;
44
+ onBackClick?: VoidFunction;
43
45
  /**
44
46
  * Whether the drawer has only spotlight cards.
45
47
  * This is used to adjust the layout of the drawer.
46
48
  * @default false
47
49
  */
48
50
  hasOnlySpotlightCards?: boolean;
51
+ /**
52
+ * The height of the top navigation bar in pixels
53
+ */
54
+ navHeight?: number;
49
55
  };
50
56
  export declare const NavbarDrawer: React.FC<NavbarDrawerProps>;
51
57
  export default NavbarDrawer;
@@ -1 +1 @@
1
- {"version":3,"file":"NavbarDrawer.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavbarDrawer/NavbarDrawer.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC;;;OAGG;IACH,gBAAgB,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAkIpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"NavbarDrawer.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavbarDrawer/NavbarDrawer.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AAGzD,eAAO,MAAM,wBAAwB,eAAgB,OAAO,SAQ3D,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgNpD,CAAC;AACF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavbarDrawer.stories.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAY9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAkBnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAiH3C,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAiCpC,CAAC"}
1
+ {"version":3,"file":"NavbarDrawer.stories.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAY9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAkBnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AA6H3C,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAmCpC,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { LinkProps } from '../../../../../../ui-kit/src/index.ts';
2
2
  import { ReactElement } from 'react';
3
+ import { ComponentWithAs } from '@chakra-ui/react';
4
+ import { CustomLinkComponent } from '../types';
3
5
  export interface NavbarDrawerLinkProps extends LinkProps {
6
+ /**
7
+ * The label text for the link
8
+ * */
4
9
  label: string;
10
+ /**
11
+ * The font size for the main text
12
+ * */
13
+ mainTextFontSize?: string;
14
+ /**
15
+ * Additional content to display next to the main text
16
+ * */
5
17
  additionalContent?: string | ReactElement;
18
+ /**
19
+ * Custom link component to use in place of the default Link component
20
+ * */
21
+ linkComponent?: CustomLinkComponent;
22
+ /**
23
+ * The href for the link
24
+ * */
25
+ href?: string;
6
26
  }
7
- declare const NavbarDrawerLink: ({ label, additionalContent, ...wrapperProps }: NavbarDrawerLinkProps) => import("react/jsx-runtime").JSX.Element;
27
+ declare const NavbarDrawerLink: ComponentWithAs<"a", NavbarDrawerLinkProps>;
8
28
  export default NavbarDrawerLink;
9
29
  //# sourceMappingURL=NavbarDrawerLink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavbarDrawerLink.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAoB,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;CAC3C;AAOD,QAAA,MAAM,gBAAgB,kDAInB,qBAAqB,4CA2DvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"NavbarDrawerLink.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAyB,MAAM,oBAAoB,CAAC;AAE5E,OAAO,EAAE,YAAY,EAAc,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAgB,MAAM,UAAU,CAAC;AAE7D,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD;;SAEK;IACL,KAAK,EAAE,MAAM,CAAC;IACd;;SAEK;IACL,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;SAEK;IACL,iBAAiB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IAC1C;;SAEK;IACL,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;SAEK;IACL,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,gBAAgB,EAgFjB,eAAe,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;AAEjD,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { NavigationBarProps, NavigationCategory } from './NavigationBar';
2
+ import { SpotlightCardProps } from '../SpotlightCard';
3
+ export declare const spotlightCardMock: SpotlightCardProps;
4
+ export declare const mockCategories: NavigationCategory[];
5
+ export declare const mockMobileBottomButtons: import("react/jsx-runtime").JSX.Element[];
6
+ export declare const defaultProps: NavigationBarProps;
7
+ export declare const buildNavigationBarProps: (props?: Partial<NavigationBarProps>) => NavigationBarProps;
8
+ //# sourceMappingURL=NavigationBar.builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationBar.builder.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavigationBar/NavigationBar.builder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAKzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAItD,eAAO,MAAM,iBAAiB,EAAE,kBAoB/B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAoI9C,CAAC;AAEF,eAAO,MAAM,uBAAuB,2CAmCnC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAQ1B,CAAC;AAEF,eAAO,MAAM,uBAAuB,WAC3B,OAAO,CAAC,kBAAkB,CAAC,KACjC,kBAGD,CAAC"}
@@ -0,0 +1,105 @@
1
+ import React, { ReactElement } from 'react';
2
+ import { CustomLinkComponent } from '../types';
3
+ import { NavButtonProps } from '../NavButton';
4
+ import { SpotlightCardProps } from '../SpotlightCard';
5
+ /**
6
+ * Represents a navigation link item in the navigation bar
7
+ */
8
+ export type NavigationBarLink = {
9
+ /** The text label to display for the link */
10
+ label: string;
11
+ /** The URL that the link points to */
12
+ href: string;
13
+ /** Optional additional content to display alongside the link (e.g. badge, icon) */
14
+ additionalContent?: string | ReactElement;
15
+ };
16
+ /**
17
+ * Represents a section of navigation links with a title
18
+ */
19
+ export type NavigationBarSection = {
20
+ /** The title text for this section of links */
21
+ title: string;
22
+ /** Array of navigation links contained in this section */
23
+ links: NavigationBarLink[];
24
+ };
25
+ /**
26
+ * Represents a category in the navigation bar that can contain sections and spotlight cards
27
+ */
28
+ export type NavigationCategory = {
29
+ /** The text label for this category */
30
+ label: string;
31
+ /** Optional array of navigation sections within this category */
32
+ sections?: NavigationBarSection[];
33
+ /** Optional additional content to display with the category (e.g. badge, icon) */
34
+ additionalContent?: string | ReactElement;
35
+ /** Optional array of spotlight cards to display in this category */
36
+ spotlightCards?: SpotlightCardProps[];
37
+ /** Whether this category should only display spotlight cards without sections */
38
+ hasOnlySpotlightCards?: boolean;
39
+ /** Optional button element to display at the bottom of the category drawer */
40
+ bottomButton?: ReactElement;
41
+ /** Optional props to pass to the NavButton component */
42
+ buttonProps?: Omit<NavButtonProps, 'children'>;
43
+ /**
44
+ * Whether or not the link is shown as one of the top links in mobile view
45
+ * @default true
46
+ */
47
+ isMobileTopLink?: boolean;
48
+ };
49
+ export type NavigationBarProps = {
50
+ /**
51
+ * Array of navigation categories
52
+ */
53
+ categories: NavigationCategory[];
54
+ /**
55
+ * Number of items in the cart
56
+ * @default 0
57
+ */
58
+ numberOfCartItems: number;
59
+ /**
60
+ * Callback for when the cart button is clicked
61
+ */
62
+ onCartClick: VoidFunction;
63
+ /**
64
+ * Optional label for the main category. Used only for mobile navigation.
65
+ * @default 'menu'
66
+ */
67
+ mainCategoryLabel?: string;
68
+ /**
69
+ * Optional custom link component to use instead of the default Link component
70
+ */
71
+ linkComponent?: CustomLinkComponent;
72
+ /**
73
+ * URL for the logo link
74
+ * @default 'https://www.everlywell.com'
75
+ */
76
+ logoLink?: string;
77
+ /**
78
+ * Whether to show the search button
79
+ * @default true
80
+ */
81
+ hasSearch?: boolean;
82
+ /**
83
+ * Callback for when the search button is clicked
84
+ */
85
+ onSearchClick?: VoidFunction;
86
+ /**
87
+ * URL for the registration link
88
+ * @default 'https://www.everlywell.com/register'
89
+ */
90
+ registrationUrl: string;
91
+ /**
92
+ * URL for the login/profile link. Pass it accordingly to go to login or my everly.
93
+ * @default 'https://secure.everlywell.com/login'
94
+ */
95
+ profileUrl: string;
96
+ /**
97
+ * Array of buttons to show in the mobile bottom navigation.
98
+ * These buttons will be displayed at the bottom of the mobile navigation drawer.
99
+ * It should be an array of React elements using the NavButton component.
100
+ */
101
+ mobileBottomButtons?: React.ReactElement[];
102
+ };
103
+ export declare const NavigationBar: React.FC<NavigationBarProps>;
104
+ export default NavigationBar;
105
+ //# sourceMappingURL=NavigationBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationBar.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavigationBar/NavigationBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAY,YAAY,EAA0B,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAgB,MAAM,UAAU,CAAC;AAK7D,OAAkB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACzD,OAAsB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAIrE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,mFAAmF;IACnF,iBAAiB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;CAC3C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAClC,kFAAkF;IAClF,iBAAiB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IAC1C,oEAAoE;IACpE,cAAc,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACtC,iFAAiF;IACjF,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,8EAA8E;IAC9E,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,wDAAwD;IACxD,WAAW,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;IAC/C;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,WAAW,EAAE,YAAY,CAAC;IAC1B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6PtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").FC<import("./NavigationBar").NavigationBarProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ };
9
+ export default meta;
10
+ type Story = StoryObj<typeof meta>;
11
+ export declare const Default: Story;
12
+ //# sourceMappingURL=NavigationBar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationBar.stories.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavigationBar/NavigationBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;CAM4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './NavigationBar';
2
+ export type { NavigationBarProps, NavigationCategory, NavigationBarSection, NavigationBarLink, } from './NavigationBar';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavigationBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,iBAAiB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
+ import { CustomLinkComponent } from '../types';
2
3
  /**
3
4
  * Base properties for the SpotlightCard component.
4
5
  */
@@ -26,9 +27,19 @@ interface BaseSpotlightCardProps {
26
27
  backgroundColor: string;
27
28
  /**
28
29
  * Optional function called when the card is clicked
29
- * @type {() => void}
30
+ * @type {VoidFunction}
30
31
  */
31
- onClick?: () => void;
32
+ onClick?: VoidFunction;
33
+ /**
34
+ * The URL to navigate to when the card is clicked
35
+ * @type {string}
36
+ * @default '#'
37
+ * */
38
+ href: string;
39
+ /**
40
+ * Custom link component to use in place of the default Link component
41
+ * */
42
+ linkComponent?: CustomLinkComponent;
32
43
  }
33
44
  /**
34
45
  * Properties for the SpotlightCard component when using an image URL.
@@ -66,6 +77,6 @@ export interface SpotlightCardWithImageElement extends BaseSpotlightCardProps {
66
77
  * The card has different layouts for mobile and desktop views.
67
78
  */
68
79
  export type SpotlightCardProps = SpotlightCardWithImageSrc | SpotlightCardWithImageElement;
69
- export declare const SpotlightCard: ({ title, description, imageSrc, imageElement, button, backgroundColor, onClick, }: SpotlightCardProps) => import("react/jsx-runtime").JSX.Element;
80
+ export declare const SpotlightCard: ({ title, description, imageSrc, imageElement, button, backgroundColor, onClick, href, linkComponent, }: SpotlightCardProps) => import("react/jsx-runtime").JSX.Element;
70
81
  export default SpotlightCard;
71
82
  //# sourceMappingURL=SpotlightCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SpotlightCard.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/SpotlightCard/SpotlightCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC;;GAEG;AACH,UAAU,sBAAsB;IAC9B;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,MAAM,EAAE,YAAY,CAAC;IAErB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,sBAAsB;IACvE;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;IAC3E;;;OAGG;IACH,YAAY,EAAE,YAAY,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAC1B,yBAAyB,GACzB,6BAA6B,CAAC;AAElC,eAAO,MAAM,aAAa,sFAQvB,kBAAkB,4CAoEpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"SpotlightCard.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/SpotlightCard/SpotlightCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAgB,MAAM,UAAU,CAAC;AAE7D;;GAEG;AACH,UAAU,sBAAsB;IAC9B;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,MAAM,EAAE,YAAY,CAAC;IAErB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;;;SAIK;IACL,IAAI,EAAE,MAAM,CAAC;IAEb;;SAEK;IACL,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,sBAAsB;IACvE;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;IAC3E;;;OAGG;IACH,YAAY,EAAE,YAAY,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAC1B,yBAAyB,GACzB,6BAA6B,CAAC;AAElC,eAAO,MAAM,aAAa,2GAUvB,kBAAkB,4CAgFpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -23,11 +23,11 @@ export type TopNavigationProps = {
23
23
  /**
24
24
  * Callback for when the menu button is clicked
25
25
  * */
26
- onMenuClick: () => void;
26
+ onMenuClick: VoidFunction;
27
27
  /**
28
28
  * Callback for when the search button is clicked
29
29
  * */
30
- onSearchClick?: () => void;
30
+ onSearchClick?: VoidFunction;
31
31
  /**
32
32
  * Whether the search button should be displayed. Remember to pass the onSearchClick callback if this is true.
33
33
  * @default false
@@ -38,6 +38,11 @@ export type TopNavigationProps = {
38
38
  * @default 'https://www.everlywell.com'
39
39
  * */
40
40
  logoLink?: string;
41
+ /**
42
+ * Callback that returns the height of the navigation bar.
43
+ * Useful to know where to start the content of drawer.
44
+ */
45
+ onHeightChange?: (height: number) => void;
41
46
  };
42
47
  export declare const TopNavigation: React.FC<TopNavigationProps>;
43
48
  export default TopNavigation;
@@ -1 +1 @@
1
- {"version":3,"file":"TopNavigation.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/TopNavigation/TopNavigation.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC;;;SAGK;IACL,sBAAsB,EAAE,KAAK,CAAC,SAAS,CAAC;IACxC;;;SAGK;IACL,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC;;;SAGK;IACL,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;SAEK;IACL,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB;;SAEK;IACL,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;SAGK;IACL,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;SAGK;IACL,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0DtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"TopNavigation.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/TopNavigation/TopNavigation.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAKxE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC;;;SAGK;IACL,sBAAsB,EAAE,KAAK,CAAC,SAAS,CAAC;IACxC;;;SAGK;IACL,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC;;;SAGK;IACL,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;SAEK;IACL,WAAW,EAAE,YAAY,CAAC;IAC1B;;SAEK;IACL,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;;SAGK;IACL,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;SAGK;IACL,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyGtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -11,10 +11,11 @@ export declare const WithItems: {
11
11
  desktopTopButtons?: import("react").ReactNode;
12
12
  kitRegistrationElement?: import("react").ReactNode;
13
13
  profileElement?: import("react").ReactNode;
14
- onMenuClick?: (() => void) | undefined;
15
- onSearchClick?: () => void;
14
+ onMenuClick?: VoidFunction | undefined;
15
+ onSearchClick?: VoidFunction;
16
16
  hasSearch?: boolean;
17
17
  logoLink?: string;
18
+ onHeightChange?: (height: number) => void;
18
19
  };
19
20
  };
20
21
  //# sourceMappingURL=TopNavigation.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopNavigation.stories.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/TopNavigation/TopNavigation.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAMpC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE5C,eAAO,MAAM,OAAO,EAAE,KAoDrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;CAKrB,CAAC"}
1
+ {"version":3,"file":"TopNavigation.stories.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/TopNavigation/TopNavigation.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAMpC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE5C,eAAO,MAAM,OAAO,EAAE,KAoDrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;CAKrB,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Type definition for a custom link component that can be used in place of the default Link component
3
+ * This type supports both href-based links (like UI Kit Link) and to-based links (like Gatsby Link)
4
+ */
5
+ export type CustomLinkComponent = React.ComponentType<any>;
6
+ /**
7
+ * Helper function to get the appropriate link prop (href or to) based on the component type
8
+ * @param path The URL path
9
+ * @param isExternalComponent Whether the component is an external link component (like Gatsby Link)
10
+ * @returns An object with either href or to prop
11
+ */
12
+ export declare const getLinkProps: (path: string | undefined, isExternalComponent?: boolean) => {
13
+ to: string | undefined;
14
+ href?: undefined;
15
+ } | {
16
+ href: string | undefined;
17
+ to?: undefined;
18
+ };
19
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/components/Navbar/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,YAAY,SACjB,MAAM,GAAG,SAAS,wBACF,OAAO;;;;;;CAK9B,CAAC"}
@@ -0,0 +1,6 @@
1
+ declare class ResizeObserverMock {
2
+ observe(): void;
3
+ unobserve(): void;
4
+ disconnect(): void;
5
+ }
6
+ //# sourceMappingURL=setupTests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupTests.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/utils/testHelpers/setupTests.ts"],"names":[],"mappings":"AACA,cAAM,kBAAkB;IACtB,OAAO;IACP,SAAS;IACT,UAAU;CACX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everlywell/consumer-ui",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- export type TemporaryCardProps = {
3
- /**
4
- * The title of the card
5
- */
6
- title: string;
7
- /**
8
- * The subtitle of the card
9
- */
10
- subtitle: string;
11
- /**
12
- * The children of the card
13
- */
14
- children: React.ReactNode;
15
- };
16
- /**
17
- * This component is just to test the flow of the component library. To be removed.
18
- */
19
- export default function TemporaryCard({ title, subtitle, children, }: TemporaryCardProps): import("react/jsx-runtime").JSX.Element;
20
- //# sourceMappingURL=TemporaryCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TemporaryCard.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/components/TemporaryCard/TemporaryCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;GAEG;AAEH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,2CAkBpB"}
@@ -1,8 +0,0 @@
1
- import { Meta } from '@storybook/react';
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {
5
- title: string;
6
- subtitle: string;
7
- }>;
8
- //# sourceMappingURL=TemporaryCard.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TemporaryCard.stories.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/components/TemporaryCard/TemporaryCard.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;wBAuBnC,IAAI;AAlBT,wBAkBU;AAEV,eAAO,MAAM,OAAO;;;EAanB,CAAC"}
@@ -1,3 +0,0 @@
1
- export { default } from './TemporaryCard';
2
- export * from './TemporaryCard';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/consumer-ui/src/lib/components/TemporaryCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,cAAc,iBAAiB,CAAC"}