Skip to content
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

Converted all the css into Tailwind css of Drawer component #1745

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
42bf6db
Converted all the css to tailwind css of ErrorDisplay page
subhajit20 Sep 18, 2023
827b21d
Converted all the css to tailwind css of ErrorDisplay page
subhajit20 Sep 18, 2023
dc7b10e
Converted all css to tailwind css
subhajit20 Sep 18, 2023
23a6499
Replace all styling with Tailwind
subhajit20 Sep 18, 2023
1055b07
Replace all styling with Tailwind
subhajit20 Sep 18, 2023
1299eac
Converted all the css into tailwind css of Badge component
subhajit20 Sep 19, 2023
71a9b5c
Merge branch 'main' into subhajit20/Replace-all-styling-with-Tailwind
subhajit20 Sep 19, 2023
46f136d
Converted all the css into Tailwind css of Badge component
subhajit20 Sep 19, 2023
be04445
Merge branch 'main' into subhajit20/Replace-all-styling-with-Tailwind
subhajit20 Sep 19, 2023
7462502
Update components/Badge/Badge.js
subhajit20 Sep 19, 2023
e67dbca
Fixed syntax error
subhajit20 Sep 19, 2023
b7ec44a
Merge remote-tracking branch 'origin/main' into subhajit20/Replace-al…
kylemh Sep 20, 2023
d371d87
resolve styling problems
kylemh Sep 20, 2023
44f4e1b
Convert all the css into tailwind css of SocialMedia component
subhajit20 Sep 21, 2023
1339530
Convert all the css into tailwind css of SocialMedia component
subhajit20 Sep 21, 2023
96d04fc
Merge branch 'main' into subhajit20/Replace-all-styling-with-Tailwind
subhajit20 Sep 21, 2023
116d86b
Update components/SocialMedia/SocialMediaItem/SocialMediaItem.js
subhajit20 Sep 22, 2023
0e2a6d0
Convert all the css into tailwind css of SocialMedia component
subhajit20 Sep 22, 2023
b59594e
Converted all the css into tailwind css of Modal component
subhajit20 Sep 23, 2023
c377581
Merge branch 'main' into subhajit20/Replace-all-styling-with-Tailwind
subhajit20 Sep 23, 2023
71dbf56
Converted all the css into tailwind css of Modal compononent
subhajit20 Sep 23, 2023
db5f1b7
Converted all the css into tailwind css of Modal compononent
subhajit20 Sep 23, 2023
cd9ceca
Converted all the css into tailwind css of Modal compononent
subhajit20 Sep 23, 2023
ed3a348
remove dumb lint rule
kylemh Sep 23, 2023
310f33d
integrate tailwind into Storybook
kylemh Sep 23, 2023
75d204b
update modal API and fix issue where modal would not render
kylemh Sep 23, 2023
b518d21
update snapshot tests
kylemh Sep 23, 2023
123b778
Converted all the css to into tailwind css of HeroBanner page
subhajit20 Sep 24, 2023
ce6ffa4
Merge branch 'main' into subhajit20/Replace-all-styling-with-Tailwind
kylemh Sep 24, 2023
404c13b
add ability to use text-shadwo
kylemh Sep 24, 2023
73dabf6
add missing styles, update snapshot, and remove CSS modules file
kylemh Sep 24, 2023
b557f58
ensure fullViewportHeight always wins
kylemh Sep 24, 2023
da58c42
Converted all the css into Tailwind css of Drawer component
subhajit20 Sep 25, 2023
3d26cb7
Merge branch 'main' into subhajit20/Replace-all-styling-with-Tailwind
subhajit20 Sep 25, 2023
b61249b
Converted all the css into tailwind css of Drawer component
subhajit20 Sep 26, 2023
c7f00f0
Converted all the css into Tailwind css of Drawer component
subhajit20 Sep 26, 2023
bf27753
Converted all the css into Tailwind css of Drawer component
subhajit20 Sep 26, 2023
9e988e9
Converted all the css into Tailwind css of Drawer component
subhajit20 Sep 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions components/Drawer/Drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ Drawer.defaultProps = {
function Drawer({ children, className, isVisible }) {
return (
<div
className={classNames(className, {
'-left-0 hidden lg:block transition-all ease-in-out duration-1000 fixed top- bottom-0 overflow-hidden width-full z-[2]':
isVisible,
'-left-[100%] hidden lg:block transition-all ease-in-out duration-1000 fixed top- bottom-0 overflow-hidden width-full z-[2]':
!isVisible,
})}
className={classNames(
className,
'hidden lg:block transition-all ease-in-out duration-1000 fixed top- bottom-0 overflow-hidden width-full z-[2]',
subhajit20 marked this conversation as resolved.
Show resolved Hide resolved
{
'-left-0': isVisible,
'-left-[100%]': !isVisible,
},
)}
>
<div className="h-full w-full">{children}</div>
</div>
Expand Down
5 changes: 0 additions & 5 deletions components/Drawer/Drawer.module.css

This file was deleted.

4 changes: 2 additions & 2 deletions components/Drawer/__tests__/__snapshots__/Drawer.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`Drawer should render with many props assigned 1`] = `
<div
className="test-class -left-0 hidden lg:block transition-all ease-in-out duration-1000 fixed top- bottom-0 overflow-hidden width-full z-[2]"
className="test-class hidden lg:block transition-all ease-in-out duration-1000 fixed top- bottom-0 overflow-hidden width-full z-[2] -left-0"
>
<div
className="h-full w-full"
Expand All @@ -14,7 +14,7 @@ exports[`Drawer should render with many props assigned 1`] = `

exports[`Drawer should render with required props 1`] = `
<div
className="-left-[100%] hidden lg:block transition-all ease-in-out duration-1000 fixed top- bottom-0 overflow-hidden width-full z-[2]"
className="hidden lg:block transition-all ease-in-out duration-1000 fixed top- bottom-0 overflow-hidden width-full z-[2] -left-[100%]"
>
<div
className="h-full w-full"
Expand Down