├── .gitignore
├── .stylelintrc
├── .travis.yml
├── CHANGELOG.md
├── LICENSE.md
├── README.md
├── index.css
├── lib
└── test.css
├── package.json
└── test
├── config.json
├── index.html
└── test.css
/.gitignore:
--------------------------------------------------------------------------------
1 | bower_components
2 | build
3 | components
4 | node_modules
5 |
--------------------------------------------------------------------------------
/.stylelintrc:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "stylelint-config-suitcss"
3 | }
4 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | sudo: false
3 | node_js:
4 | - "4"
5 | - "5"
6 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ### HEAD
2 |
3 | ### 1.0.0 (February 10, 2016)
4 |
5 | * Upgrade to latest preprocessor
6 | * Ensure `test.css` passes stylelint conformance
7 |
8 | ### 0.2.1 (June 24, 2014)
9 |
10 | * Add `.css` extension to imports for interoperability.
11 |
12 | ### 0.2.0 (June 22, 2014)
13 |
14 | * npm-based workflow.
15 | * Add new preprocessor build tools.
16 |
17 | ### 0.1.1 (April 5, 2014)
18 |
19 | * Add npm support.
20 | * Stop using CSSLint for development linting.
21 | * Use Component(1) for development and idiomatic test file.
22 |
23 | ### 0.1.0 (October 19, 2013)
24 |
25 | * Initial release.
26 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Copyright (c) Nicolas Gallagher
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of
4 | this software and associated documentation files (the "Software"), to deal in
5 | the Software without restriction, including without limitation the rights to
6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7 | of the Software, and to permit persons to whom the Software is furnished to do
8 | so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # SUIT CSS components-test
2 |
3 | [](https://travis-ci.org/suitcss/components-test)
4 |
5 | CSS to help test the visual presentation of components.
6 |
7 | Read more about [SUIT CSS](https://github.com/suitcss/suit/).
8 |
9 | ## Installation
10 |
11 | * [npm](https://www.npmjs.org/package/suitcss-components-test): `npm install suitcss-components-test`
12 | * Download: [zip](https://github.com/suitcss/components-test/releases/latest)
13 |
14 | ## Available classes
15 |
16 | * `Test` - The core component class
17 | * `Test-title` - The test title
18 | * `Test-describe` - Describes a component configuration
19 | * `Test-it` - Describes an expected outcome of a configuration
20 | * `Test-run` - A specific context within which the component is tested
21 |
22 | ## Usage
23 |
24 | This is an example of an idiomatic SUIT CSS test file:
25 |
26 | ```html
27 |
28 |
29 |