diff --git a/modules/primer-marketing/index.scss b/modules/primer-marketing/index.scss index 0f544a71c1..ca860a16ff 100755 --- a/modules/primer-marketing/index.scss +++ b/modules/primer-marketing/index.scss @@ -17,5 +17,4 @@ // marketing specific css modules @import "primer-marketing-type/index.scss"; @import "primer-marketing-buttons/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 ab64764dfa..9715465b69 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-support": "4.6.0", - "primer-tables": "1.4.9" + "primer-support": "4.6.0" } } diff --git a/modules/primer-tables/.npmignore b/modules/primer-tables/.npmignore deleted file mode 100644 index dd51a98b42..0000000000 --- a/modules/primer-tables/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -*.yml -.github diff --git a/modules/primer-tables/LICENSE b/modules/primer-tables/LICENSE deleted file mode 100644 index 71fbac5e24..0000000000 --- a/modules/primer-tables/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-tables/README.md b/modules/primer-tables/README.md deleted file mode 100644 index d35dd603a3..0000000000 --- a/modules/primer-tables/README.md +++ /dev/null @@ -1,57 +0,0 @@ -# Primer Marketing CSS Tables - -[![npm version](https://img.shields.io/npm/v/primer-tables.svg)](https://www.npmjs.org/package/primer-tables) -[![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) - -> Styles to display tabular data for marketing websites at GitHub. - -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-tables` with this command. - -``` -$ npm install --save primer-tables -``` - -## 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-tables/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-tables/index.scss b/modules/primer-tables/index.scss deleted file mode 100644 index 1505afe54a..0000000000 --- a/modules/primer-tables/index.scss +++ /dev/null @@ -1,4 +0,0 @@ -// support files -@import "primer-support/index.scss"; -@import "primer-marketing-support/index.scss"; -@import "./lib/tables.scss"; diff --git a/modules/primer-tables/lib/tables.scss b/modules/primer-tables/lib/tables.scss deleted file mode 100644 index f362d0295f..0000000000 --- a/modules/primer-tables/lib/tables.scss +++ /dev/null @@ -1,39 +0,0 @@ -// stylelint-disable selector-max-type, selector-max-compound-selectors - -.data-table { - width: 100%; - margin-top: $spacer-3; - border-collapse: collapse; - border: $border; - box-shadow: 0 1px 1px rgba($black, 0.05); - - th { - font-weight: $font-weight-normal; - text-align: left; - } - - td, - th { - padding: $spacer-3; - border-right: $border; - border-bottom: $border; - } - - tbody { - th { - width: 25%; - } - - th, - td { - border-bottom-color: $border-gray; - } - - tr:last-child { - th, - td { - border-bottom: $border; - } - } - } -} diff --git a/modules/primer-tables/package.json b/modules/primer-tables/package.json deleted file mode 100644 index 720eaae7ed..0000000000 --- a/modules/primer-tables/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "version": "1.4.9", - "name": "primer-tables", - "description": "Styles to display tabular data for marketing websites 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-tables", - "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", - "primer", - "design-system", - "style", - "tables" - ] -} diff --git a/modules/primer-tables/stories.js b/modules/primer-tables/stories.js deleted file mode 100644 index 8bf51d6c4f..0000000000 --- a/modules/primer-tables/stories.js +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react' -import { storiesOf } from '@storybook/react' -import storiesFromMarkdown from '../../.storybook/lib/storiesFromMarkdown' - -const stories = storiesOf('Tables', module) - -storiesFromMarkdown(require.context('.', true, /\.md$/)) - .forEach(({title, story}) => { - stories.add(title, story) - }) diff --git a/modules/primer/package.json b/modules/primer/package.json index 965dbbfc43..446006bd36 100644 --- a/modules/primer/package.json +++ b/modules/primer/package.json @@ -55,7 +55,6 @@ "primer-subhead": "1.0.7", "primer-support": "4.6.0", "primer-table-object": "1.4.9", - "primer-tables": "1.4.9", "primer-tooltips": "1.5.7", "primer-truncate": "1.4.9", "primer-utilities": "4.12.0"