GithubHelp home page GithubHelp logo

4-design / for-ui Goto Github PK

View Code? Open in Web Editor NEW
31.0 8.0 3.0 17.68 MB

株式会社スリーシェイクのデザインシステム「For Design System https://for-design-system.pages.dev 」のデザイントークンとコンポーネントライブラリを実装したパッケージ

Home Page: https://for-ui.pages.dev/

JavaScript 7.15% HTML 0.30% TypeScript 80.66% CSS 8.52% MDX 3.37%
nextjs react tailwind tailwindcss typescript material-ui mui vite fui for-ui

for-ui's People

Contributors

dependabot[bot] avatar diegoalessandro avatar github-actions[bot] avatar hagihara-a avatar kdaviso avatar koko2824 avatar kotobuki562 avatar leonoheart avatar locona avatar o-natsu avatar qs-f avatar renovate-bot avatar renovate[bot] avatar ryu-u avatar stg-goats avatar yamachan0625 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

for-ui's Issues

リリースフローの改善

課題

メジャーバージョンとマイナーバージョンの分岐を、
ブランチによって切り替えたい

不必要なpropsをomitしたい

現状Muiの各種コンポーネントのPropsをextendしており、例えば本来sizeのないChipにまでsizeがあったりする。必要ないものは省いたほうがいいのではないか

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency eslint-import-resolver-typescript to v3.6.1
  • chore(deps): update dependency turbo to v1.10.15
  • fix(deps): update dependency eslint-plugin-import to v2.28.1
  • fix(deps): update dependency react-number-format to v5.3.1
  • chore(deps): update dependency @hookform/resolvers to v3.3.2
  • chore(deps): update dependency @tanstack/react-table to v8.10.7
  • chore(deps): update dependency @testing-library/user-event to v14.5.1
  • chore(deps): update dependency eslint to v8.51.0
  • chore(deps): update dependency next to v13.5.4
  • chore(deps): update dependency react-hook-form to v7.47.0
  • chore(deps): update dependency react-icons to v4.11.0
  • chore(deps): update dependency typescript to v5.2.2
  • chore(deps): update dependency webpack to v5.89.0
  • chore(deps): update dependency yup to v1.3.2
  • fix(deps): update dependency @rushstack/eslint-patch to v1.5.1
  • fix(deps): update dependency eslint-plugin-sonarjs to ^0.21.0
  • fix(deps): update dependency react-router-dom to v6.16.0
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update dependency lint-staged to v15
  • 🔐 Create all rate-limited PRs at once 🔐

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/changeset.yml
  • actions/checkout v3
  • actions/setup-node v3
  • changesets/action v1
.github/workflows/ci.yml
  • actions/checkout v3
  • actions/setup-node v3
.github/workflows/example-ci.yml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/checkout v3
  • actions/setup-node v3
.github/workflows/typos.yml
  • actions/checkout v3
npm
example/nextjs-app/package.json
  • @4design/for-ui 1.1.9
  • @emotion/react 11.11.1
  • @emotion/styled 11.11.0
  • @mui/base 5.0.0-alpha.126
  • @mui/lab 5.0.0-alpha.127
  • @mui/material 5.12.1
  • react 18.2.0
  • react-dom 18.2.0
  • react-icons 4.10.1
  • @tanstack/react-table 8.9.3
  • @types/node 12.20.55
  • @types/react 18.2.20
  • @types/react-dom 18.2.7
  • @types/react-table 7.7.14
  • autoprefixer 10.4.15
  • next 13.4.19
  • postcss 8.4.31
  • tailwindcss 3.3.3
  • typescript 5.1.6
  • yalc 1.0.0-pre.53
  • node 16.20.2
example/vite-app/package.json
  • @4design/for-ui 1.1.9
  • @emotion/react 11.11.1
  • @emotion/styled 11.11.0
  • @mui/base 5.0.0-alpha.126
  • @mui/lab 5.0.0-alpha.127
  • @mui/material 5.12.1
  • react 18.2.0
  • react-dom 18.2.0
  • react-icons 4.10.1
  • react-router-dom 6.15.0
  • @types/react 18.2.20
  • @types/react-dom 18.2.7
  • @typescript-eslint/eslint-plugin 5.62.0
  • @typescript-eslint/parser 5.62.0
  • @vitejs/plugin-react 2.2.0
  • autoprefixer 10.4.15
  • postcss 8.4.31
  • prettier 3.0.1
  • tailwindcss 3.3.3
  • typescript 5.1.6
  • vite 3.2.7
  • yalc 1.0.0-pre.53
  • node 16.20.2
package.json
  • @changesets/changelog-github 0.4.8
  • @changesets/cli 2.26.2
  • eslint 8.47.0
  • eslint-import-resolver-typescript 3.6.0
  • html-webpack-plugin ^5.5.0
  • lint-staged 14.0.1
  • npm-run-all 4.1.5
  • prettier 3.0.1
  • turbo 1.10.12
  • typescript 5.1.6
  • node >=14.0.0
  • npm >=7.0.0
  • node 16.20.2
packages/eslint-config/package.json
  • @rushstack/eslint-patch ^1.1.3
  • @typescript-eslint/eslint-plugin 5.62.0
  • @typescript-eslint/parser 5.62.0
  • eslint-config-prettier 9.0.0
  • eslint-plugin-import 2.28.0
  • eslint-plugin-promise ^6.0.0
  • eslint-plugin-sonarjs ^0.20.0
  • eslint-plugin-tailwindcss 3.13.0
  • eslint-plugin-unicorn ^48.0.0
  • eslint-plugin-jsx-a11y ^6.5.1
  • eslint-plugin-mdx ^2.0.0
  • eslint-plugin-react 7.33.1
  • eslint-plugin-react-hooks ^4.5.0
  • eslint ^8
packages/for-ui/package.json
  • clsx 2.0.0
  • material-ui-popup-state 5.0.9
  • react-dropzone 14.2.3
  • react-number-format 5.3.0
  • react-transition-group 4.4.5
  • tailwind-merge 1.14.0
  • @emotion/react 11.11.1
  • @emotion/styled 11.11.0
  • @hookform/resolvers 3.2.0
  • @mdx-js/react 1.6.22
  • @mui/base 5.0.0-alpha.126
  • @mui/lab 5.0.0-alpha.127
  • @mui/material 5.12.1
  • @mui/types 7.2.4
  • @storybook/addon-actions 6.5.15
  • @storybook/addon-backgrounds 6.5.15
  • @storybook/addon-essentials 6.5.15
  • @storybook/addon-links 6.5.15
  • @storybook/addon-postcss 2.0.0
  • @storybook/addons 6.5.16
  • @storybook/builder-vite 0.2.6
  • @storybook/builder-webpack5 6.5.14
  • @storybook/manager-webpack5 6.5.14
  • @storybook/mdx2-csf 0.0.3
  • @storybook/react 6.5.15
  • @storybook/theming 6.5.16
  • @tanstack/react-table 8.9.3
  • @testing-library/jest-dom 5.17.0
  • @testing-library/react 14.0.0
  • @testing-library/user-event 14.4.3
  • @types/react 18.2.20
  • @types/react-dom 18.2.7
  • @types/testing-library__jest-dom 5.14.9
  • @vitejs/plugin-react 2.2.0
  • autoprefixer 10.4.15
  • babel-loader 9.1.0
  • jsdom 22.1.0
  • npm-run-all 4.1.5
  • postcss 8.4.30
  • react 18.2.0
  • react-dom 18.2.0
  • react-hook-form 7.45.4
  • react-icons 4.10.1
  • tailwindcss 3.3.3
  • typescript 5.1.6
  • vite 3.2.5
  • vitest 0.33.0
  • webpack 5.88.2
  • yup 1.2.0
  • @mui/base >=5.0.0-alpha.120
  • @mui/lab >=5.0.0-alpha.73
  • @mui/material >=5.9.3
  • @tanstack/react-table >=8.5.22
  • @types/react >=18.0.0
  • react >=18.0.0
  • react-icons >=4.3.0
  • tailwindcss >=3.0.0
  • node >=14.0.0
  • node 16.20.2
  • react ^18.2.0
  • react-dom ^18.2.0
packages/prettier-config/package.json
  • @trivago/prettier-plugin-sort-imports ^4.0.0
  • prettier-plugin-pkg 0.18.0
  • prettier-plugin-sh 0.13.1
  • prettier 3.0.1
  • prettier ^2 || ^3.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

TextFieldのアイコンの設定を単純にしたい

現状だと、

             InputProps={{
                startAdornment: (
                  <InputAdornment position="start">
                    <MdAlternateEmail size="24" css={[
                      css`fill: ${theme`iconColor.shade.medium.default`};`,
                      tw`ml-3 -mr-1`
                    ]} />
                  </InputAdornment>
                ),
              }}

こうする必要があるので、これを

             leadingIcon={<MdAlternateEmail size="24" /> }

ぐらいで設定できるようにしたい

相談: peerDependencyの活用

Issueというよりは相談なのですが、
現在Securify側ではMUIを直接使わざるを得ない箇所があり、Nextアプリのdependenciesに指定しています。

3desing-ui側もdependenciesにMUIを追加しているかと思うのですが、その両方が原因となり、
添付画像のように二つのMUIがnode_modulesに含まれている状況です。

Next.jsのpeerDependenciesのように、3desing-ui側もpeerDependencies化が可能かと思うのですがどうでしょう?
(dependencies --> peer / devDependenciesに移動できれば一つのアプリで二つのMUIを使う状況を防止できるかと思います)

3design-ui側のMUI

image

securify側のMUI

image

Chipsコンポーネントの型定義の一部が利用側に伝番されない

内容

Chipsコンポーネントの型定義の一部が利用側にコード側の意図に沿って伝番されないため、
例えばcolorの指定が外側から利用する際はdefaultのみの選択になっている

詳細

type ChipColorType = 'default' | 'negative' | 'white'

export type ChipProps = Exclude<
  MuiChipProps,
  'color' | 'onDelete' | 'icon' | 'deleteIcon' | 'size'
> & {
  twin?: TwStyle[]
  color?: ChipColorType
} & (
    | {
        leadingIcon: MuiChipProps['icon']
        trailingIcon?: never
      }
    | {
        leadingIcon?: never
        trailingIcon?: MuiChipProps['deleteIcon']
        onDelete?: MuiChipProps['onDelete']
      }
  )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.