-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat(web, web-twig, web-react): Hide close button in Modal #1535
Conversation
✅ Deploy Preview for spirit-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for spirit-design-system-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
cc82fec
to
2e55023
Compare
2e55023
to
1f30daa
Compare
1f30daa
to
9bff159
Compare
5927a9f
to
f7f287d
Compare
packages/web-react/src/components/Modal/demo/ModalHiddenCloseButton.tsx
Outdated
Show resolved
Hide resolved
Great Job 👍 It is working now. I just wonder if there is really some issue with the Chrome Browser and we should report it or if this is a problem with our logic. Since this was working in Safari and Firefox with just |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Please, solve with the others the prop names. 🙏
packages/web-react/src/components/Modal/__tests__/ModalHeader.test.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Modal/__tests__/ModalHeader.test.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Modal/__tests__/ModalHeader.test.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Modal/__tests__/ModalHeader.test.tsx
Outdated
Show resolved
Hide resolved
c000352
to
1f44993
Compare
packages/web-react/src/components/Modal/__tests__/ModalHeader.test.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Modal/__tests__/ModalHeader.test.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Modal/demo/ModalHiddenCloseButton.tsx
Outdated
Show resolved
Hide resolved
4b2c9c8
to
6af6279
Compare
- New prop for ModalHeader to hide the close button - New prop for disable escape key to close the modal - Added new demo with those new props
- New prop for ModalHeader to hide the close button - New prop for disable escape key to close the modal - Added new demo with those new props
- New prop for ModalHeader to hide the close button - New prop for disable escape key to close the modal - Added new demo with those new props
6af6279
to
3ba9588
Compare
Description
ModalHeader
.Additional context
TODO:
Issue reference
Modal: komponenta nemusí mít zavírací tlačítko