Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
example/src/js/prism.min.js
example/build
coverage
12 changes: 12 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "airbnb",
"import/no-extraneous-dependencies": ["warn", {
"devDependencies": true,
"optionalDependencies": true,
"peerDependencies": true
}],
"env": {
"node": true,
"browser": true
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,6 @@ node_modules
scss-report.json
docs/
.jshint*
example/build
example/*.html
dist/main.scss
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: node_js
sudo: true
node_js: 4
script: npm run lint
deploy:
provider: script
script:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
CHANGELOG
=========

## Version 0.4.0

:new: The `0.4.0` removes the static assets transforming this into a sass only library. We will be releasing icons, images and javascript as part of the (soon to be release) React component library.

_2016-09-06_

* New: source maps for sass files.
* Fix: remove icons, svgs and JS files


## Version 0.3.1

_2016-08-30_
Expand Down
14 changes: 13 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# Contributing Guidelines
# Issues

If you encounter an issue with this sample app, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible somebody has encountered this issue already.

# Pull Requests

If you want to contribute to the repository, here's a quick guide:

1. Fork the repo
1. Develop your code changes
1. Ensure `eslint` is happy: `npm run lint`
1. Commit your changes
1. Push to your fork and submit a pull request

## Publishing a Github Page

Expand Down
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,14 @@ The path of the icon-fonts must be relative to the path of the compiled css file

You will also need to make sure to load the paths of your `node_modules` directory into your Sass configurations, so that the library can reference its npm dependencies properly.

The javascript of this library relies on `JQuery 2.*.*` and above. Make sure it is
included before this library.

## Directory Structure

```none
.
└── dist
   ├── _watson-developer-cloud-ui-components.scss // Compiled Sass
   ├── icons
   │   ├── link.svg
   │   └── reset.svg
   ├── watson-developer-cloud-ui-components.css // Compiled css
   ├── watson-developer-cloud-ui-components.js
   ├── watson-developer-cloud-ui-components.min.css
   └── watson-developer-cloud-ui-components.min.js
└─ dist
├── _watson-developer-cloud-ui-components.scss // Compiled Sass
├── watson-developer-cloud-ui-components.css // Compiled css
└── watson-developer-cloud-ui-components.min.css
```

## Credits
Expand Down
4 changes: 2 additions & 2 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ pip install bumpversion
### 2. Doing a release

- [ ] Commit all the local changes
- [ ] Run `npm run dist`
- [ ] Commit the changes in `dist`
- [ ] Run `npm run compile`
- [ ] Commit the changes
- [ ] Use `bumpversion` to update the version and commit the changes

```sh
Expand Down
32 changes: 0 additions & 32 deletions config.js

This file was deleted.

14 changes: 0 additions & 14 deletions dist/icons/link.svg

This file was deleted.

8 changes: 0 additions & 8 deletions dist/icons/reset.svg

This file was deleted.

16 changes: 0 additions & 16 deletions dist/js/components/tab-panels.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/js/script.js

This file was deleted.

97 changes: 0 additions & 97 deletions dist/js/vendors/browser-detect.js

This file was deleted.

30 changes: 0 additions & 30 deletions dist/lib/components/icon/_icon-fonts.scss

This file was deleted.

20 changes: 19 additions & 1 deletion dist/lib/components/icon/_icon.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
@import 'icon-fonts';
.icon:before {
font-family: "icons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-style: normal;
font-variant: normal;
font-weight: normal;
/* speak: none; only necessary if not using the private unicode range (firstGlyph option) */
text-decoration: none;
text-transform: none;
}

.icon-link:before {
content: "\E001";
}

.icon-reset:before {
content: "\E002";
}

.icon {
vertical-align: middle;
Expand Down
Loading