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

[Dependency]: bump @babel/preset-env from 7.12.11 to 7.20.2 #66

Open
wants to merge 1 commit into
base: exp
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 8, 2022

Bumps @babel/preset-env from 7.12.11 to 7.20.2.

Release notes

Sourced from @​babel/preset-env's releases.

v7.20.2 (2022-11-04)

🐛 Bug Fix

  • babel-core, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-simple-access, babel-node, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-react-constant-elements, babel-preset-env, babel-standalone, babel-types
  • babel-plugin-transform-typescript
  • babel-parser
  • babel-generator
  • babel-plugin-proposal-decorators, babel-plugin-proposal-object-rest-spread, babel-plugin-transform-jscript
  • babel-plugin-transform-destructuring

Committers: 3

v7.20.1 (2022-11-01)

Thanks @​ptomato for your first pull request!

🐛 Bug Fix

  • babel-plugin-proposal-async-generator-functions
  • babel-plugin-proposal-class-properties, babel-traverse
  • babel-helpers, babel-plugin-proposal-duplicate-named-capturing-groups-regex, babel-plugin-transform-named-capturing-groups-regex
  • babel-parser
  • babel-helpers, babel-plugin-proposal-duplicate-named-capturing-groups-regex
  • babel-plugin-transform-async-to-generator, babel-plugin-transform-parameters, babel-preset-env

🏠 Internal

Committers: 5

... (truncated)

Changelog

Sourced from @​babel/preset-env's changelog.

v7.20.2 (2022-11-04)

🐛 Bug Fix

  • babel-core, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-simple-access, babel-node, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-react-constant-elements, babel-preset-env, babel-standalone, babel-types
  • babel-plugin-transform-typescript
  • babel-parser
  • babel-generator
  • babel-plugin-proposal-decorators, babel-plugin-proposal-object-rest-spread, babel-plugin-transform-jscript
  • babel-plugin-transform-destructuring

v7.20.1 (2022-11-01)

🐛 Bug Fix

  • babel-plugin-proposal-async-generator-functions
  • babel-plugin-proposal-class-properties, babel-traverse
  • babel-helpers, babel-plugin-proposal-duplicate-named-capturing-groups-regex, babel-plugin-transform-named-capturing-groups-regex
  • babel-parser
  • babel-helpers, babel-plugin-proposal-duplicate-named-capturing-groups-regex
  • babel-plugin-transform-async-to-generator, babel-plugin-transform-parameters, babel-preset-env

🏠 Internal

v7.20.0 (2022-10-27)

🚀 New Feature

  • babel-compat-data, babel-helper-compilation-targets, babel-preset-env
  • babel-plugin-syntax-typescript
  • babel-generator, babel-parser, babel-plugin-syntax-explicit-resource-management, babel-plugin-transform-block-scoping, babel-plugin-transform-destructuring, babel-standalone, babel-traverse, babel-types
  • babel-generator, babel-parser, babel-plugin-syntax-import-reflection, babel-standalone, babel-types
  • babel-generator, babel-helper-skip-transparent-expression-wrappers, babel-parser, babel-plugin-transform-typescript, babel-traverse, babel-types

🐛 Bug Fix

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.20.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 8, 2022

Dependabot tried to add @jwoo0122 as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/sungik-choi/bezier-react/pulls/66/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the sungik-choi/bezier-react repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 8, 2022

The following labels could not be found: dependency updates.

sungik-choi pushed a commit that referenced this pull request Oct 29, 2024
<!--
  How to write a good PR title:
- Follow [the Conventional Commits
specification](https://www.conventionalcommits.org/en/v1.0.0/).
  - Give as much context as necessary and as little as possible
  - Prefix it with [WIP] while it’s a work in progress
-->

## Self Checklist

- [x] I wrote a PR title in **English** and added an appropriate
**label** to the PR.
- [x] I wrote the commit message in **English** and to follow [**the
Conventional Commits
specification**](https://www.conventionalcommits.org/en/v1.0.0/).
- [x] I [added the
**changeset**](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md)
about the changes that needed to be released. (or didn't have to)
- [x] I wrote or updated **documentation** related to the changes. (or
didn't have to)
- [x] I wrote or updated **tests** related to the changes. (or didn't
have to)
- [x] I tested the changes in various browsers. (or didn't have to)
  - Windows: Chrome, Edge, (Optional) Firefox
  - macOS: Chrome, Edge, Safari, (Optional) Firefox

## Related Issue

<!-- Please link to issue if one exists -->

<!-- Fixes #0000 -->

-
channel-io#2422 (comment)

## Summary

<!-- Please brief explanation of the changes made -->

- 기존에 hovered token를 만들기 위해 CustomTransform, HoveredTransform 두 벌로
transform 을 만들고 머지 했던 것을 CustomFormat 에서 hovered token 를 생성하는 것으로 구현을
변경합니다. 이 과정에서 alphaCustomCss 포맷을 추가 구현했습니다.
- semantic 토큰에도 hovered token을 추가했습니다.
- hovered color 생성 공식을 업데이트 합니다. (alpha = 0.2 포함 여부, alpha = 0일 때
saturation, lightness 유지)

## Details

- 이렇게 구현 방법을 바꾸면 transform 을 여러개 만들어야 할 필요가 없어집니다. 또한 js 로 생성되는 빌드 결과에서
darkThemeHovered 값들이 darkTheme 안으로 들어가게 되서 깔끔해지고 styles.css 안에서 선택자가
중복되고 있던 문제가 해결됩니다.
- hoveredToken 이 tokens 로 들어가게 되면서 storybook 에도 hovered color 가 추가되었습니다.
-> color 토큰이 달라질 때 or hovered color공식이 달라질 때 어떻게 달라지는지 크로마틱 UI test 에서
명시적으로 확인해보면 좋은데 foundation/color가 스토리가 아니라서 테스트에 포함이 안되는 것 같네요. 지금은 빌드
결과를 하나씩 비교해야 해서 의도치 않은 변경을 만들기 쉬운 것 같아요. 스토리로 바꾸는 것은 어떨까요?

<!-- Please elaborate description of the changes -->
As-is
```typescript
// index.js
exports.tokens = Object.freeze({
  darkTheme: require('./darkTheme'),
  darkThemeHovered: require('./darkThemeHovered'),
  global: require('./global'),
  lightTheme: require('./lightTheme'),
  lightThemeHovered: require('./lightThemeHovered'),
});

// darkThemeHovered.js
module.exports = Object.freeze({
  "color": Object.freeze({
    "alpha-color-dim-black-normal-hovered": Object.freeze({"value":"#14141466","ref":null}),
  })
})

// styles.css
[data-bezier-them="dark"] {
  --alpha-color-dim-black-normal: var(--alpha-color-bg-absolute-black-lighter);
} 
...
[data-bezier-theme="dark"] {
  --alpha-color-dim-black-normal-hovered: #14141466;
}
```
To-be
```typescript
// index.js
exports.tokens = Object.freeze({
  darkTheme: require('./darkTheme'),
  global: require('./global'),
  lightTheme: require('./lightTheme'),
});

// darkTheme.js
module.exports = Object.freeze({
  "color": Object.freeze({
    "alpha-color-dim-black-normal": Object.freeze({"value":"#66","ref":"alpha-color-bg-absolute-black-lighter"}),
    "alpha-color-dim-black-normal-hovered": Object.freeze({"value":"#14141466"}),
  })
})

// styles.css
[dark-bezier-theme="dark"] {
  --alpha-color-dim-black-normal: var(--alpha-color-bg-absolute-black-lighter);
  --alpha-color-dim-black-normal-hovered: #14141466;
}
```

### Breaking change? (Yes/No)

<!-- If Yes, please describe the impact and migration path for users -->

- Yes, js 빌드 결과에서 darkThemeHovered, lightThemeHovered 속성이 없어집니다. 

## References

<!-- Please list any other resources or points the reviewer should be
aware of -->

- https://styledictionary.com/reference/utils/format-helpers/#_top
-
https://www.notion.so/channelio/Pressed-Hover-Color-11b74b55ec7c8020b6fcfe272da7138b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants