@everlywell/consumer-ui 1.23.0 → 1.23.1
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/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +10 -10
- package/index.mjs +312 -303
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts +20 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts.map +1 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts +10 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts.map +1 -0
- package/lib/components/Navbar/NavSkeleton/index.d.ts +3 -0
- package/lib/components/Navbar/NavSkeleton/index.d.ts.map +1 -0
- package/package.json +1 -1
- package/lib/components/TemporaryCard/TemporaryCard.d.ts +0 -20
- package/lib/components/TemporaryCard/TemporaryCard.d.ts.map +0 -1
- package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts +0 -8
- package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts.map +0 -1
- package/lib/components/TemporaryCard/index.d.ts +0 -3
- package/lib/components/TemporaryCard/index.d.ts.map +0 -1
|
@@ -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 @@
|
|
|
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"}
|
package/package.json
CHANGED
|
@@ -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 +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"}
|