diff --git a/package.json b/package.json index a2d848095..d116c0e7b 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "test:unit": "vue-cli-service test:unit" }, "dependencies": { + "@carbon/grid": "^11.19.0", "@carbon/icons-vue": "^10.30.0", "@carbon/vue": "^2.37.1", "carbon-components": "^10.33.0", @@ -67,8 +68,10 @@ "json", "vue" ], - "setupFiles": ["./tests/setup.js"], - "transform": { + "setupFiles": [ + "./tests/setup.js" + ], + "transform": { "^.+\\.vue$": "vue-jest", ".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub", "^.+\\.jsx?$": "babel-jest" diff --git a/src/styles/_carbon-utils.scss b/src/styles/_carbon-utils.scss new file mode 100644 index 000000000..33cc42953 --- /dev/null +++ b/src/styles/_carbon-utils.scss @@ -0,0 +1,4 @@ +@import 'carbon-components/scss/globals/scss/vendor/@carbon/type/scss/font-family.scss'; +@import 'carbon-components/scss/globals/scss/vendor/@carbon/layout/scss/breakpoint.scss'; +@import 'carbon-components/scss/globals/scss/typography.scss'; +@import 'carbon-components/scss/globals/scss/vars.scss'; diff --git a/src/styles/_carbon.scss b/src/styles/_carbon.scss index b6a292d0c..1854f9040 100644 --- a/src/styles/_carbon.scss +++ b/src/styles/_carbon.scss @@ -1,2 +1,6 @@ +$feature-flags: ( + grid-columns-16: true +); + @import 'carbon-components/scss/globals/scss/styles'; @import './carbon-fixes'; diff --git a/src/views/LandingPage/LandingPage.vue b/src/views/LandingPage/LandingPage.vue index d2ab93188..b9d5a2a2c 100644 --- a/src/views/LandingPage/LandingPage.vue +++ b/src/views/LandingPage/LandingPage.vue @@ -1,3 +1,126 @@ + + diff --git a/src/views/LandingPage/_carbon-overrides.scss b/src/views/LandingPage/_carbon-overrides.scss new file mode 100644 index 000000000..0bc1a2ce8 --- /dev/null +++ b/src/views/LandingPage/_carbon-overrides.scss @@ -0,0 +1,3 @@ +.landing-page__r2 .bx--tabs__nav { + right: 0; +} diff --git a/src/views/LandingPage/_mixins.scss b/src/views/LandingPage/_mixins.scss new file mode 100644 index 000000000..a503748e8 --- /dev/null +++ b/src/views/LandingPage/_mixins.scss @@ -0,0 +1,19 @@ +@mixin landing-page-background() { + background-color: $ui-01; + position: relative; + + &::before { + content: ''; + position: absolute; + left: -$spacing-06; + top: 0; + right: -$spacing-06; + bottom: 0; + background: $ui-01; + } + + > * { + /* lift above position absolute */ + position: relative; + } +} diff --git a/src/views/RepoPage/RepoPage.vue b/src/views/RepoPage/RepoPage.vue index e82a6e6a9..3380a29e8 100644 --- a/src/views/RepoPage/RepoPage.vue +++ b/src/views/RepoPage/RepoPage.vue @@ -1,3 +1,95 @@ + + + + diff --git a/src/views/RepoPage/RepoTable.vue b/src/views/RepoPage/RepoTable.vue new file mode 100644 index 000000000..835ec0b96 --- /dev/null +++ b/src/views/RepoPage/RepoTable.vue @@ -0,0 +1,46 @@ + + + diff --git a/yarn.lock b/yarn.lock index 91c41bb78..18d0fe796 100644 --- a/yarn.lock +++ b/yarn.lock @@ -886,6 +886,13 @@ "@babel/helper-validator-identifier" "^7.12.11" to-fast-properties "^2.0.0" +"@carbon/grid@^11.19.0": + version "11.19.0" + resolved "https://registry.yarnpkg.com/@carbon/grid/-/grid-11.19.0.tgz#a0af90b4625fd60bb9ad947b7f8360af09488e3f" + integrity sha512-Ie8C0yifTPOF58rhkeRhINJ6KPiTVbdJwPCE+aEWTpUrwGSnuqIYZ8zQBlYQtNGQX72TSfnGY0qijPmpnIwNsg== + dependencies: + "@carbon/layout" "^11.19.0" + "@carbon/icon-helpers@^10.16.0", "@carbon/icon-helpers@^10.9.0": version "10.16.0" resolved "https://registry.yarnpkg.com/@carbon/icon-helpers/-/icon-helpers-10.16.0.tgz#66f20b9bba49c6ec4c956b8e9e7ec65bdf40da8f" @@ -905,6 +912,11 @@ dependencies: "@carbon/icon-helpers" "^10.16.0" +"@carbon/layout@^11.19.0": + version "11.19.0" + resolved "https://registry.yarnpkg.com/@carbon/layout/-/layout-11.19.0.tgz#cd0f97457a91058792d13b09293281270d2b7d91" + integrity sha512-BI9ct+yVKrgL90l4nijMhj8dokXGBJu1Xtve9fz/lcveTyxxn7YvRu8mosGhCyw77KSU6vN2yRLJnQwqwqrLJQ== + "@carbon/telemetry@0.0.0-alpha.6", "@carbon/telemetry@^0.0.0-alpha.6": version "0.0.0-alpha.6" resolved "https://registry.yarnpkg.com/@carbon/telemetry/-/telemetry-0.0.0-alpha.6.tgz#1d11e64f310e98f32c3db0c55f02e047f2398087"