Skip to content

Commit 21a9676

Browse files
committed
feat: update ui-components-library package version and add close feature to the mini guides
1 parent eafab3e commit 21a9676

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"@cyntler/react-doc-viewer": "^1.16.3",
7878
"@filebase/client": "^0.0.5",
7979
"@kleros/kleros-sdk": "workspace:^",
80-
"@kleros/ui-components-library": "^2.12.0",
80+
"@kleros/ui-components-library": "^2.14.0",
8181
"@lifi/widget": "^2.10.1",
8282
"@middy/core": "^5.3.2",
8383
"@middy/http-json-body-parser": "^5.3.2",

web/src/components/Popup/MiniGuides/MainStructureTemplate.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,13 @@ const Template: React.FC<ITemplate> = ({
162162
<LeftContainerHeader>
163163
<HowItWorks>
164164
<BookOpenIcon />
165-
<label> {isOnboarding ? "Onboarding" : "How it works"} </label>
165+
<label>{isOnboarding ? "Onboarding" : "How it works"}</label>
166166
</HowItWorks>
167167
<MobileCompactPagination
168168
currentPage={currentPage}
169169
callback={setCurrentPage}
170170
numPages={numPages}
171+
onCloseOnLastPage={onClose}
171172
label={`${currentPage}/${numPages}`}
172173
/>
173174
</LeftContainerHeader>
@@ -176,6 +177,7 @@ const Template: React.FC<ITemplate> = ({
176177
currentPage={currentPage}
177178
callback={setCurrentPage}
178179
numPages={numPages}
180+
onCloseOnLastPage={onClose}
179181
label={`${currentPage}/${numPages}`}
180182
/>
181183
</LeftContainer>

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6628,7 +6628,7 @@ __metadata:
66286628
"@kleros/kleros-v2-eslint-config": "workspace:^"
66296629
"@kleros/kleros-v2-prettier-config": "workspace:^"
66306630
"@kleros/kleros-v2-tsconfig": "workspace:^"
6631-
"@kleros/ui-components-library": "npm:^2.12.0"
6631+
"@kleros/ui-components-library": "npm:^2.14.0"
66326632
"@lifi/widget": "npm:^2.10.1"
66336633
"@middy/core": "npm:^5.3.2"
66346634
"@middy/http-json-body-parser": "npm:^5.3.2"
@@ -6693,9 +6693,9 @@ __metadata:
66936693
languageName: unknown
66946694
linkType: soft
66956695

6696-
"@kleros/ui-components-library@npm:^2.12.0":
6697-
version: 2.12.0
6698-
resolution: "@kleros/ui-components-library@npm:2.12.0"
6696+
"@kleros/ui-components-library@npm:^2.14.0":
6697+
version: 2.14.0
6698+
resolution: "@kleros/ui-components-library@npm:2.14.0"
66996699
dependencies:
67006700
"@datepicker-react/hooks": "npm:^2.8.4"
67016701
"@swc/helpers": "npm:^0.3.2"
@@ -6712,7 +6712,7 @@ __metadata:
67126712
react-dom: ^18.0.0
67136713
react-is: ^18.0.0
67146714
styled-components: ^5.3.3
6715-
checksum: 9c53e9ce217a5dd6c0f5dc1b19c8c14fb6f4843f5cf7a0eb1b1ae9561ead583c1bcf5bc2687e7f678007363768be3de95f5d573298b00b965d13a563c4b59495
6715+
checksum: ea5d9689562a6aa963eda44ad94336d4152c5d0f46c81e70a0c271a09fb93e9c9fd7b4ee609b1f6e1eb6e18f557f1cc0b132c3ac10d9f5af6ffc911ecb71d9da
67166716
languageName: node
67176717
linkType: hard
67186718

0 commit comments

Comments
 (0)