-
Notifications
You must be signed in to change notification settings - Fork 3
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
1198/refactor to align with documentation #1199
Conversation
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.
Look very nice.
Let's watch closely these files:
- next/backend/ginis/server/api-data.dto.ts
- next/components/forms/simple-components/Chip.tsx
- next/components/molecules/sections/general/CalculatorSection/MinimumCalculator.tsx
- next/components/ui/Radio/Radio.tsx
- next/global.d.ts
className={cx( | ||
'relative flex w-full max-w-[200px] flex-col transition-all xs:max-w-[320px]', | ||
className={twMerge( | ||
'xs:max-w-[320px] relative flex w-full max-w-[200px] flex-col transition-all', |
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.
xs:max-w-[320px]
can be deleted
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.
✅
next/components/styleguide/Stack.tsx
Outdated
const classNameStyles = cx( | ||
'flex flex-wrap gap-2 rounded-lg border border-dashed border-gray-800 p-4 xs:p-3', | ||
'xs:p-3 flex flex-wrap gap-2 rounded-lg border border-dashed border-gray-800 p-4', |
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.
xs:p-3
can be removed
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.
✅
|
||
interface TooltipShowCaseProps {} | ||
type TooltipShowCaseProps = {} |
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.
This can be removed completely
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.
✅
@@ -2,9 +2,10 @@ import Markdown from '@components/atoms/Markdown' | |||
import { NumericalListItemObject } from '@components/ui/NumericalListSectionUI/NumericalListSectionUI' | |||
import cx from 'classnames' | |||
|
|||
import { DashedLine } from '../DashedLine/DashedLine' | |||
import DashedLine from '../DashedLine/DashedLine' | |||
import exp from 'constants' |
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.
?
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.
✅ removed (came in probably as an auto import by mistake)
next/global.d.ts
Outdated
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.
I would keep this as interface
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.
✅
6579ca4
to
9d66bfd
Compare
Test build pipeline info 🚀 🔜 next |
Refactor code to align with some principles in our documentation (https://bratislava.github.io/frontend/components)