hds-web 1.28.7 → 1.28.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/components/Cards/ConnectorCard/connectorCard.js +6 -3
- package/src/HDS/modules/Cards/aboutSection.js +17 -8
- package/src/styles/tailwind.css +4 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/project.json +1 -0
package/package.json
CHANGED
@@ -11,15 +11,18 @@ export default function ConnectorCard(props) {
|
|
11
11
|
href={props.linkUrl}
|
12
12
|
className=" flex flex-col gap-10 justify-between h-full">
|
13
13
|
<div className="flex justify-between">
|
14
|
-
{props.imgUrl &&
|
14
|
+
{/* {props.imgUrl &&
|
15
15
|
<div className="w-10 h-10 rounded-full border border-neutral-300 ">
|
16
16
|
<img
|
17
17
|
alt={props.title ?? 'connectorImage'}
|
18
18
|
src={props.imgUrl}
|
19
19
|
className="rounded-full w-full " />
|
20
20
|
|
21
|
-
</div>}
|
22
|
-
{props.
|
21
|
+
</div>} */}
|
22
|
+
{props.imgUrl && <div className="flex">
|
23
|
+
<img alt={props.title ?? 'connectorImage'} src={props.imgUrl} className=" max-h-[25px] object-contain " />
|
24
|
+
</div>}
|
25
|
+
{props.checkIcon && <div className="ml-2">
|
23
26
|
<Icon
|
24
27
|
height={'h-6 w-6 stroke-[1.5px]'}
|
25
28
|
variant={props.checkIcon}
|
@@ -9,7 +9,7 @@ export default function AboutSection(props) {
|
|
9
9
|
<div className="divide-y divide-neutral-200">
|
10
10
|
<div className=" pb-8">
|
11
11
|
<div>
|
12
|
-
<div className=" w-14 h-14 relative rounded-full border border-neutral-300 ">
|
12
|
+
{/* <div className=" w-14 h-14 relative rounded-full border border-neutral-300 ">
|
13
13
|
<img alt={props.title ?? 'connectorImage'} src={props.imgUrl} className="rounded-full w-full " />
|
14
14
|
{props.is_verified && <div className="absolute top-8 left-10">
|
15
15
|
<Icon
|
@@ -17,8 +17,12 @@ export default function AboutSection(props) {
|
|
17
17
|
variant='verifiedBlue'
|
18
18
|
|
19
19
|
/>
|
20
|
-
</div>
|
21
|
-
|
20
|
+
</div>
|
21
|
+
}
|
22
|
+
</div> */}
|
23
|
+
{props.imgUrl && <div className="flex">
|
24
|
+
<img alt={props.title ?? 'connectorImage'} src={props.imgUrl} className=" max-h-[25px] " />
|
25
|
+
</div>}
|
22
26
|
|
23
27
|
{props.tags &&
|
24
28
|
<div className="gap-2 pt-8 flex flex-wrap">
|
@@ -63,22 +67,27 @@ export default function AboutSection(props) {
|
|
63
67
|
<Typography textStyle='body1-medium' className='text-neutral-500'>{props.typeText ?? 'Type'}</Typography>
|
64
68
|
<Icon
|
65
69
|
height={'h-5 w-5 stroke-[1.5px]'}
|
66
|
-
variant=
|
70
|
+
variant={props.typeIconVariant}
|
71
|
+
strokeClass='stroke-neutral-800'
|
67
72
|
/>
|
68
|
-
<Typography textStyle='
|
73
|
+
<Typography textStyle='body1c-medium' className='text-neutral-800'>{props.typeValue}</Typography>
|
69
74
|
|
70
75
|
</div>}
|
71
76
|
{props.releasedValue && <div className="flex gap-2">
|
72
77
|
<Typography textStyle='body1-medium' className='text-neutral-500'>{props.releasedText ?? 'Released'}</Typography>
|
73
|
-
<Typography textStyle='body1-medium' className='text-neutral-
|
78
|
+
<Typography textStyle='body1-medium' className='text-neutral-800'>{props.releasedValue}</Typography>
|
74
79
|
</div>}
|
75
80
|
{props.lastUpdateValue && <div className="flex gap-2">
|
76
81
|
<Typography textStyle='body1-medium' className='text-neutral-500'>{props.lastUpdatedText ?? 'Last Updated'}</Typography>
|
77
|
-
<Typography textStyle='body1-medium' className='text-neutral-
|
82
|
+
<Typography textStyle='body1-medium' className='text-neutral-800'>{props.lastUpdateValue}</Typography>
|
83
|
+
</div>}
|
84
|
+
{props.deployed && <div className="flex gap-2">
|
85
|
+
<Typography textStyle='body1-medium' className='text-neutral-500'>{props.deployed ?? 'Deployed'}</Typography>
|
86
|
+
<Typography textStyle='body1-medium' className='text-neutral-800'>{props.deployedValue}</Typography>
|
78
87
|
</div>}
|
79
88
|
{props.githubRepoLink && <a href={props.githubRepoLink} className="flex gap-2 items-center">
|
80
89
|
<Icon
|
81
|
-
height={'h-
|
90
|
+
height={'h-6 w-6 stroke-[1.5px]'}
|
82
91
|
variant='octoface'
|
83
92
|
|
84
93
|
/>
|
package/src/styles/tailwind.css
CHANGED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
{"generatedAt":1695029296737,"builder":{"name":"@storybook/builder-webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"CRA","packageName":"react-scripts","version":"5.0.1"},"packageManager":{"type":"yarn","version":"1.22.19"},"storybookVersion":"6.5.16","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.16"},"@storybook/addons":{"version":"6.5.16"},"@storybook/builder-webpack5":{"version":"6.5.16"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/node-logger":{"version":"6.5.16"},"@storybook/react":{"version":"6.5.16"},"@storybook/testing-library":{"version":"0.0.13"},"@storybook/theming":{"version":"6.5.16"}},"framework":{"name":"react"},"addons":{"@storybook/addon-links":{"version":"6.5.16"},"@storybook/addon-essentials":{"version":"6.5.16"},"@storybook/addon-interactions":{"version":"6.5.16"},"@storybook/preset-create-react-app":{"version":"4.1.2"},"storybook-dark-mode":{"version":null},"storybook-color-picker":{"version":null}}}
|