chore: add react & styled-components to react macro, as most are implied.

This commit is contained in:
41666 2020-10-24 21:46:48 -04:00
parent ba558ecf91
commit e61f827645
42 changed files with 21 additions and 154 deletions

View file

@ -5,10 +5,6 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "avatar",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/colors",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,8 +5,6 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "branding",
deps = [
"react",
"//src/design-system/atoms/colors",
"@types/react",
],
)

View file

@ -5,10 +5,6 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "breakpoints",
deps = [
"react",
"styled-components",
"//src/common/utils/withContext",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,13 +6,9 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "button",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/fonts",
"//src/design-system/atoms/typography",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,10 +6,6 @@ react_library(
name = "colors",
deps = [
"chroma-js",
"react",
"styled-components",
"@types/chroma-js",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,9 +5,5 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "dot-overlay",
deps = [
"react",
"styled-components",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,9 +5,5 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "fader",
deps = [
"react",
"styled-components",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,9 +6,5 @@ react_library(
name = "fonts",
deps = [
"next",
"react",
"styled-components",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,10 +5,6 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "halfsies",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/breakpoints",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,9 +5,5 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "hero",
deps = [
"react",
"styled-components",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,7 +5,5 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "key-events",
deps = [
"react",
"@types/react",
],
)

View file

@ -5,14 +5,10 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "popover",
deps = [
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/breakpoints",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/key-events",
"//src/design-system/atoms/timings",
"@types/react",
"@types/styled-components",
],
)

View file

@ -7,16 +7,12 @@ react_library(
name = "role",
deps = [
"chroma-js",
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/timings",
"//src/design-system/shared-types",
"//src/rpc/shared",
"@types/chroma-js",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,7 +5,5 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "space",
deps = [
"styled-components",
"@types/styled-components",
],
)

View file

@ -5,10 +5,6 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "sparkle",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/colors",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,13 +6,9 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "tab-view",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/breakpoints",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/timings",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,10 +5,6 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "text-input",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/colors",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,8 +6,6 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "typist",
deps = [
"react",
"@types/react",
],
)

View file

@ -5,9 +5,7 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "typography",
deps = [
"styled-components",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/timings",
"@types/styled-components",
],
)

View file

@ -5,12 +5,8 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "demo-discord",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/typist",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,11 +5,7 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "demo-picker",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/role",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,12 +5,8 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "error-banner",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/breakpoints",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/typography",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,13 +5,9 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "footer",
deps = [
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/timings",
"//src/design-system/atoms/typography",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,16 +6,12 @@ react_library(
name = "guild-nav",
deps = [
"next",
"react",
"react-icons",
"react-tooltip",
"styled-components",
"//src/common/utils",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/timings",
"//src/design-system/molecules/nav-slug",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,12 +5,8 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "nav-slug",
deps = [
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/avatar",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,13 +5,9 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "picker-category",
deps = [
"react",
"react-tooltip",
"styled-components",
"//src/design-system/atoms/role",
"//src/design-system/atoms/typography",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,13 +5,9 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "preauth-greeting",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/avatar",
"//src/design-system/atoms/space",
"//src/design-system/atoms/typography",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,16 +6,12 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "preauth-secret-code",
deps = [
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/button",
"//src/design-system/atoms/fader",
"//src/design-system/atoms/space",
"//src/design-system/atoms/text-input",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,13 +6,9 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "reset-submit",
deps = [
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/breakpoints",
"//src/design-system/atoms/button",
"@types/react",
"@types/styled-components",
],
)

View file

@ -7,16 +7,12 @@ react_library(
name = "server-masthead",
deps = [
"next",
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/avatar",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/timings",
"//src/design-system/atoms/typography",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,13 +5,9 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "user-avatar-group",
deps = [
"react",
"styled-components",
"//src/design-system/atoms/avatar",
"//src/design-system/atoms/breakpoints",
"//src/design-system/atoms/colors",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,15 +6,11 @@ react_library(
name = "user-popover",
deps = [
"next",
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/breakpoints",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/timings",
"//src/design-system/molecules/user-avatar-group",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,15 +5,11 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "app-shell",
deps = [
"react",
"react-custom-scrollbars",
"styled-components",
"//src/design-system/atoms/colors",
"//src/design-system/molecules/footer",
"//src/design-system/organisms/masthead",
"//src/design-system/shared-types",
"@types/react",
"@types/react-custom-scrollbars",
"@types/styled-components",
],
)

View file

@ -6,15 +6,11 @@ react_library(
name = "help-why-no-roles",
deps = [
"chroma-js",
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/halfsies",
"//src/design-system/atoms/sparkle",
"//src/design-system/shared-types",
"@types/chroma-js",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,9 +5,7 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "landing",
deps = [
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/breakpoints",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/halfsies",
@ -15,7 +13,5 @@ react_library(
"//src/design-system/atoms/typography",
"//src/design-system/molecules/demo-discord",
"//src/design-system/molecules/demo-picker",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,9 +6,7 @@ react_library(
name = "masthead",
deps = [
"next",
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/branding",
"//src/design-system/atoms/breakpoints",
"//src/design-system/atoms/button",
@ -20,7 +18,5 @@ react_library(
"//src/design-system/molecules/user-avatar-group",
"//src/design-system/molecules/user-popover",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -5,15 +5,11 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "role-picker",
deps = [
"react",
"react-icons",
"styled-components",
"//src/design-system/atoms/button",
"//src/design-system/atoms/space",
"//src/design-system/molecules/preauth-greeting",
"//src/design-system/molecules/preauth-secret-code",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)

View file

@ -6,9 +6,7 @@ package(default_visibility = ["//visibility:public"])
react_library(
name = "role-picker",
deps = [
"react",
"react-icons",
"styled-components",
"//src/common/utils",
"//src/design-system/atoms/colors",
"//src/design-system/atoms/fader",
@ -17,8 +15,6 @@ react_library(
"//src/design-system/molecules/reset-submit",
"//src/design-system/molecules/server-masthead",
"//src/design-system/shared-types",
"@types/react",
"@types/styled-components",
],
)