@wf-financing/ui 4.5.0 → 4.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wf-financing/ui",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/index.es.js",
@@ -38,8 +38,8 @@
38
38
  "react-markdown": "^10.1.0",
39
39
  "styled-components": "^6.1.19",
40
40
  "@wf-financing/embedded-types": "1.1.0",
41
- "@wf-financing/ui-assets": "1.0.2",
42
- "@wf-financing/logger": "2.1.0"
41
+ "@wf-financing/logger": "2.1.0",
42
+ "@wf-financing/ui-assets": "1.1.0"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
@@ -1,3 +1,4 @@
1
+ import { Fragment } from 'react';
1
2
  import { Flex, Divider, Text } from '@wayflyer/flyui';
2
3
  import { IconCheck16Line } from '@wayflyer/flyui-icons/16/line';
3
4
 
@@ -9,7 +10,7 @@ export const BulletList = ({ bulletPoints }: BulletListProps) => {
9
10
  return (
10
11
  <Flex direction="column" gap="3">
11
12
  {bulletPoints.map((point, index) => (
12
- <>
13
+ <Fragment key={point}>
13
14
  {index !== 0 && <Divider />}
14
15
  <Flex direction="row" align="center" gap="2">
15
16
  <IconCheck16Line color="#7F8592" />
@@ -17,7 +18,7 @@ export const BulletList = ({ bulletPoints }: BulletListProps) => {
17
18
  {point}
18
19
  </Text>
19
20
  </Flex>
20
- </>
21
+ </Fragment>
21
22
  ))}
22
23
  </Flex>
23
24
  );
@@ -9,7 +9,7 @@ type ModalHeaderProps = {
9
9
  export const ModalHeader = ({ title, logoUrl, partnerLogoUrl }: ModalHeaderProps) => {
10
10
  return (
11
11
  <Flex direction="column" gap="6">
12
- <Flex direction="row" align="center" justify="center" gap="2">
12
+ <Flex direction="row" align="center" justify="center" gap="4">
13
13
  <Image src={logoUrl} height={64} width={64} />
14
14
  {partnerLogoUrl && <Image src={partnerLogoUrl} height={64} width={64} />}
15
15
  </Flex>