diff --git a/modules/primer-marketing/index.scss b/modules/primer-marketing/index.scss index cc2d1f0a67..0f544a71c1 100755 --- a/modules/primer-marketing/index.scss +++ b/modules/primer-marketing/index.scss @@ -17,6 +17,5 @@ // marketing specific css modules @import "primer-marketing-type/index.scss"; @import "primer-marketing-buttons/index.scss"; -@import "primer-page-sections/index.scss"; @import "primer-tables/index.scss"; @import "primer-marketing-utilities/index.scss"; diff --git a/modules/primer-marketing/package.json b/modules/primer-marketing/package.json index c48a397147..ab64764dfa 100644 --- a/modules/primer-marketing/package.json +++ b/modules/primer-marketing/package.json @@ -33,7 +33,6 @@ "primer-marketing-support": "1.5.3", "primer-marketing-type": "1.4.9", "primer-marketing-utilities": "1.6.5", - "primer-page-sections": "1.4.9", "primer-support": "4.6.0", "primer-tables": "1.4.9" } diff --git a/modules/primer-page-sections/.npmignore b/modules/primer-page-sections/.npmignore deleted file mode 100644 index dd51a98b42..0000000000 --- a/modules/primer-page-sections/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -*.yml -.github diff --git a/modules/primer-page-sections/LICENSE b/modules/primer-page-sections/LICENSE deleted file mode 100644 index 71fbac5e24..0000000000 --- a/modules/primer-page-sections/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 GitHub Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/modules/primer-page-sections/README.md b/modules/primer-page-sections/README.md deleted file mode 100644 index 2d32078ca9..0000000000 --- a/modules/primer-page-sections/README.md +++ /dev/null @@ -1,57 +0,0 @@ -# Primer Page Sections - -[![npm version](https://img.shields.io/npm/v/primer-page-sections.svg)](https://www.npmjs.org/package/primer-page-sections) -[![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) - -> Flash messages, or alerts, inform users of successful or pending actions. Use them sparingly. Don’t show more than one at a time. - -This repository is a module of the full [primer][primer] repository. - -## Documentation - - - -Documentation & refactor coming very soon - - - -## Install - -This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-page-sections` with this command. - -``` -$ npm install --save primer-page-sections -``` - -## Usage - -The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this. - -```scss -@import "primer-page-sections/index.scss"; -``` - -You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._ - -## Build - -For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` - -``` -$ npm run build -``` - -## License - -MIT © [GitHub](https://github.com/) - -[primer]: https://github.com/primer/primer -[primer-support]: https://github.com/primer/primer-support -[support]: https://github.com/primer/primer-support -[docs]: http://primer.github.io/ -[npm]: https://www.npmjs.com/ -[install-npm]: https://docs.npmjs.com/getting-started/installing-node -[sass]: http://sass-lang.com/ diff --git a/modules/primer-page-sections/index.scss b/modules/primer-page-sections/index.scss deleted file mode 100644 index 78b9de46f9..0000000000 --- a/modules/primer-page-sections/index.scss +++ /dev/null @@ -1,4 +0,0 @@ -// support files -@import "primer-support/index.scss"; -@import "primer-marketing-support/index.scss"; -@import "./lib/page-section.scss"; diff --git a/modules/primer-page-sections/lib/page-section.scss b/modules/primer-page-sections/lib/page-section.scss deleted file mode 100644 index 1908d7dd9c..0000000000 --- a/modules/primer-page-sections/lib/page-section.scss +++ /dev/null @@ -1,18 +0,0 @@ -// Styles for page sections -.page-section { - padding: $spacer-5 0; - margin-top: 0; - - @include breakpoint(md) { - padding: $spacer-6 + $spacer-3 0; - } -} - -// Adds a little extra headroom for sections linked to via in-page anchor links -.page-section-jumplink:target { - padding-top: ($spacer-6 * 2) + $spacer-5; - - @include breakpoint(md) { - padding-top: $spacer-6 * 2; - } -} diff --git a/modules/primer-page-sections/package.json b/modules/primer-page-sections/package.json deleted file mode 100644 index aca91eed33..0000000000 --- a/modules/primer-page-sections/package.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "version": "1.4.9", - "name": "primer-page-sections", - "description": "Styles to create distinct sections of marketing pages at GitHub.", - "homepage": "http://primer.github.io/", - "author": "GitHub, Inc.", - "license": "MIT", - "style": "build/build.css", - "sass": "index.scss", - "main": "build/index.js", - "primer": { - "category": "marketing", - "module_type": "components" - }, - "files": [ - "index.scss", - "lib", - "build" - ], - "repository": "https://github.com/primer/primer/tree/master/modules/primer-page-sections", - "bugs": { - "url": "https://github.com/primer/primer/issues" - }, - "scripts": { - "build": "../../script/npm-run primer-module-build index.scss", - "prepare": "npm run build", - "lint": "../../script/lint-scss", - "test": "../../script/npm-run-all build lint", - "prepublishOnly": "../../script/notify pending", - "publish": "../../script/notify success" - }, - "dependencies": { - "primer-marketing-support": "1.5.3", - "primer-support": "4.6.0" - }, - "keywords": [ - "css", - "github", - "page sections", - "primer", - "design-system", - "sections", - "style" - ] -} diff --git a/modules/primer/package.json b/modules/primer/package.json index f63a2cea0e..965dbbfc43 100644 --- a/modules/primer/package.json +++ b/modules/primer/package.json @@ -49,7 +49,6 @@ "primer-marketing-type": "1.4.9", "primer-marketing-utilities": "1.6.5", "primer-navigation": "1.5.7", - "primer-page-sections": "1.4.9", "primer-pagination": "1.0.3", "primer-popover": "0.1.4", "primer-product": "5.6.7",