Skip to content

Commit 87ed53a

Browse files
Merge pull request #151 from linked-planet/dev
fixed build of show cases
2 parents 973e0b4 + b9f0290 commit 87ed53a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

showcase/src/components/showcase/wrapper/ModalShowcase.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ function ControlledExample() {
172172
}}
173173
shouldCloseOnEscapePress={true}
174174
accessibleDialogDescription="This is a modal dialog example"
175+
accessibleDialogTitle="Sample Modal"
175176
useModal={true}
176177
>
177178
<Modal.Header>
@@ -291,6 +292,7 @@ function ModalTest() {
291292
const shadowRoot = createShowcaseShadowRoot(divRef.current)
292293
React.createRoot(shadowRoot).render(
293294
<Modal.Container
295+
accessibleDialogTitle="Sample Modal"
294296
accessibleDialogDescription="This is a modal dialog example"
295297
shouldCloseOnEscapePress
296298
trigger={"Show Modal"}

showcase/src/components/showcase/wrapper/TourShowcase.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ function TourExample() {
153153
//shouldCloseOnEscapePress={false}
154154
shouldCloseOnOverlayClick={false} // this is required, the show "clicks" outside of the dialog closing the modal, which results in the failing of the next step because the element is not mounted anymore
155155
accessibleDialogDescription="This is a modal dialog example"
156+
accessibleDialogTitle="Sample Modal"
156157
>
157158
<Modal.Header>
158159
<Modal.Title accessibleDialogTitle="Sample Modal">

0 commit comments

Comments
 (0)