-
Changes in
v2-text-component-interface
codemod (#1932) by @yangwooseong Previously, both the component name and the name of the property were checked, but now only the name of the component property is checked. -
Add codemod for Stack component (#1836) by @yangwooseong
-
Add more various cases to
v2-enum-member-to-string-literal
(#2059) by @yangwooseong -
Fix typo in
v2-z-index-interpolation-to-css-variable
codemod. It now transforms${ZIndex.Float}
enum tovar(--z-index-floating)
, notvar(--z-index-float)
. (#1924) by @yangwooseong -
Add codemod to transform interface of
Text
component (#1849) by @yangwooseong -
Enhancement in
v2-foundation-to-css-variable-transition
codemod (#1917) by @yangwooseong- It will properly remove import statement if it converts code where
TransitionDuration
is used.
- It will properly remove import statement if it converts code where
-
Changes in
v2-remove-alpha-from-alpha-stack
transform (#1894) by @yangwooseong- It is renamed as
v2-remove-alpha-from-alpha-components
. - It covers
AlphaCenter
as well.
- It is renamed as
-
Add
v2-foundation-to-css-variable-spacing
codemod to convert the foundation's spacing variable to pixels (#1907) by @yangwooseongThis transforms
import { styled } from "@channel.io/bezier-react"; export const Wrapper = styled.div` padding: ${({ foundation }) => foundation?.spacing.s5}; `;
into
import { styled } from "@channel.io/bezier-react"; export const Wrapper = styled.div` padding: 12px; `;
-
Changes in
v2-**-interpolation-to-css-variable
transform. (#1928) by @yangwooseong- it is renamed to
v2-interpolation-to-css-variable-**
. e.g.v2-interpolation-to-css-varable-input
,v2-interpolation-to-css-variable-typography
, and so on - it provides integrated transform named
v2-interpolation-to-css-variable
that handles all interpolation transform
- it is renamed to
-
Enhance
import-styled-from-styled-component
codemod to cover other APIs fromstyled-components
(#1852) by @yangwooseong -
Add
Typography
transform logic to interpolation codemod (#1841) by @yangwooseong -
Add v2 prefix to codemods related to major version 2 (#1844) by @yangwooseong
-
Add codemod for z-index interpolation and enum (#1845) by @yangwooseong
-
Add more various cases to
v2-enum-member-to-string-literal
. Now it covers following enums. (#2059) by @yangwooseongAvatarGroupEllipsisType
IconSize
LegacyTooltipPosition
ModalTitleSize
OverlayPosition
ProgressBarSize
,ProgressBarVariant
SpinnerSize
SwitchSize
TagBadgeSize
,TagBadgeVariant
TextAreaHeight
TextFieldSize
,TextFieldVariant
ToastPlacement
,ToastAppearance
,ToastPreset
TooltipPosition
-
Add
inputPlaceholderStyle
migration logic tov2-input-interpolation-to-css-variable
codemod (#1926) by @yangwooseong -
Add transform functions to help to migrate foundation to css variable generated by
@channel.io/bezier-tokens
package. They cover theme, transition, elevation, rounding, and border of foundation (#1781) by @yangwooseong -
Added a codemod to switch the library for importing 'styled' object from @channel.io/bezier-react to styled-components (#1789) by @yangwooseong
-
Add codemod for mixin interpolation (#1787) by @yangwooseong
-
Fix bug in
v2-import-from-bezier-to-styled-components
codemod when there are only named imports as following: (#1987) by @yangwooseong// As-is import { css } from "@channel.io/bezier-react"; // To-be import { css } from "styled-components";
-
Fix
hasNamedImportInImportDeclaration
util to check all named imports (#2060) by @yangwooseong
- Fix
hasNamedImportInImportDeclaration
util to check all named imports (#2060) by @yangwooseong
-
Add more various cases to
v2-enum-member-to-string-literal
(#2059) by @yangwooseong -
Add more various cases to
v2-enum-member-to-string-literal
. Now it covers following enums. (#2059) by @yangwooseongAvatarGroupEllipsisType
IconSize
LegacyTooltipPosition
ModalTitleSize
OverlayPosition
ProgressBarSize
,ProgressBarVariant
SpinnerSize
SwitchSize
TagBadgeSize
,TagBadgeVariant
TextAreaHeight
TextFieldSize
,TextFieldVariant
ToastPlacement
,ToastAppearance
,ToastPreset
TooltipPosition
-
Fix bug in
v2-import-from-bezier-to-styled-components
codemod when there are only named imports as following: (#1987) by @yangwooseong// As-is import { css } from "@channel.io/bezier-react"; // To-be import { css } from "styled-components";
-
Changes in
v2-text-component-interface
codemod (#1932) by @yangwooseong Previously, both the component name and the name of the property were checked, but now only the name of the component property is checked. -
Changes in
v2-**-interpolation-to-css-variable
transform. (#1928) by @yangwooseong- it is renamed to
v2-interpolation-to-css-variable-**
. e.g.v2-interpolation-to-css-varable-input
,v2-interpolation-to-css-variable-typography
, and so on - it provides integrated transform named
v2-interpolation-to-css-variable
that handles all interpolation transform
- it is renamed to
-
Fix typo in
v2-z-index-interpolation-to-css-variable
codemod. It now transforms${ZIndex.Float}
enum tovar(--z-index-floating)
, notvar(--z-index-float)
. (#1924) by @yangwooseong -
Enhancement in
v2-foundation-to-css-variable-transition
codemod (#1917) by @yangwooseong- It will properly remove import statement if it converts code where
TransitionDuration
is used.
- It will properly remove import statement if it converts code where
-
Add
v2-foundation-to-css-variable-spacing
codemod to convert the foundation's spacing variable to pixels (#1907) by @yangwooseongThis transforms
import { styled } from "@channel.io/bezier-react"; export const Wrapper = styled.div` padding: ${({ foundation }) => foundation?.spacing.s5}; `;
into
import { styled } from "@channel.io/bezier-react"; export const Wrapper = styled.div` padding: 12px; `;
-
Add
inputPlaceholderStyle
migration logic tov2-input-interpolation-to-css-variable
codemod (#1926) by @yangwooseong
-
Changes in
v2-remove-alpha-from-alpha-stack
transform (#1894) by @yangwooseong- It is renamed as
v2-remove-alpha-from-alpha-components
. - It covers
AlphaCenter
as well.
- It is renamed as
-
Add codemod for Stack component (#1836) by @yangwooseong
-
Add codemod to transform interface of
Text
component (#1849) by @yangwooseong -
Enhance
import-styled-from-styled-component
codemod to cover other APIs fromstyled-components
(#1852) by @yangwooseong -
Add Typography transform logic to interpolation codemod (#1841) by @yangwooseong
-
Add v2 prefix to codemods related to major version 2 (#1844) by @yangwooseong
-
Add codemod for z-index interpolation and enum (#1845) by @yangwooseong
-
Added a codemod to switch the library for importing 'styled' object from @channel.io/bezier-react to styled-components (#1789) by @yangwooseong
-
Add codemod for mixin interpolation (#1787) by @yangwooseong
- Add transform functions to help to migrate foundation to css variable generated by
@channel.io/bezier-tokens
package. (#1781) by @yangwooseong They cover theme, transition, elevation, rounding, and border of foundation.
- Implement codemod transform which replaces enum usage with string literal (#1639) by @Dogdriip
- Add Banner to iconName transformation target (#1562) by @yangwooseong
- Update the following packages to the latest versions:
meow
,ts-morph
(#1429) by @sungik-choi
- Add migration function that changes iconName to BezierIcon (#1418) by @yangwooseong
icons-to-bezier-icons
: RemoveLegacyIcon
from the migration target module name pattern (#1384) by @sungik-choi
- Add icons-to-bezier-icons transformer (#1382) by @sungik-choi