Skip to content

Commit

Permalink
Init repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ezhilvendhan committed Nov 15, 2017
0 parents commit 82a5a01
Show file tree
Hide file tree
Showing 33 changed files with 9,112 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"presets" : ["es2015"],
"minified" : true,
"comments" : true
}
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "./bower_components"
}
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Submit an IssueHi,Thanks for helping us improve the Predix UI platform by submitting an issue.Before you begin, please check the list of existing issues to avoid submitting a duplicate issue.To help us solve this issue as fast as possible, please fill out the following sections:## Expected behavior and actual behavior:## Steps to reproduce the problem:## Environment (_component version number, Browser (including version), operating system, hardware, etc_):## Screenshots (_optional, but very helpful_):## Code examples help us better understand the issue - follow the appropriate codepen for the component by going to https://predix-ui.com, finding the component in question, and clicking on the pencil icon under the demo.Once you've created your code example, you can save it under a new url.Please note that you should NOT use the same methods for production as the ones used in codepen - these methods are not production ready.
Expand Down
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Pull RequestHi,Thanks for helping us improve the Predix UI platform by submitting a Pull Request.To help us merge your Pull Request as fast as possible, please fill out the following sections:* ## A description of the changes proposed in the pull request:* ## A reference to a related issue (if applicable):* ## @mentions of the person or team responsible for reviewing proposed changes:* ## working tests:#### The tests need to be functional tests, written for the wct framework, and placed in the test folder, following our testing guidelines.
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
bower_components*
.DS_Store
.vscode
40 changes: 40 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"esversion": 6,
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"noarg": true,
"sub": true,
"undef": true,
"boss": true,
"eqnull": true,
"node": true,
"browser": true,
"expr": true,
"globals": {
"it": false,
"xit": false,
"describe": false,
"xdescribe": false,
"before": false,
"after": false,
"beforeEach": false,
"afterEach": false,
"expect": false,
"spyOn": false,
"alert": false,
"require": false,
"requirejs": false,
"Card": true,
"iOS": false,
"$": true,
"define": false,
"angular": false,
"Polymer": false,
"suite": false,
"test": false,
"assert": false,
"flush": false
}
}
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
sudo: false
dist: trusty
language: node_js
node_js:
- stable
branches:
except:
- gh-pages
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_script:
- npm install web-component-tester@^5.0.0
- npm install bower
- export PATH=$PWD/node_modules/.bin:$PATH
- bower install
script:
- xvfb-run wct --skip-plugin sauce
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct --plugin sauce --skip-plugin
local; fi
3 changes: 3 additions & 0 deletions .yo-rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"generator-px-comp": {}
}
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Contributing to Predix UIHi,Want to contribute your suggestions to Predix UI? **Here's how you can help.**Please follow the below steps carefully, so your suggestions will be clear and developers can make effective fixes.## Using the GitHub issue trackerThe GitHub issue tracker is the preferred channel for [bug reports](#bug-reports), [features requests](#feature-requests)and [submitting pull requests](#pull-requests), so please respect the followingrestrictions:* Please **do not** use the GitHub issue tracker for personal support requests. Stack Overflow ([`predix ui`](https://stackoverflow.com/questions/tagged/predix-ui) tag), or [Predix.io](https://predix.io) are better places to get help.* Please **do not** derail or troll issues. Keep the discussion on topic and respect the opinions of others.* Please **do not** post vague comments like "+1" or ":thumbsup:". Use [GitHub's "reactions" feature](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments). We reserve the right to delete comments.## Issues and labelsOur bug tracker utilizes several labels to help organize and identify issues. Here's what they represent and how we use them:- `browser bug` - Issues that are reported to us, but are actually the result of a browser-specific bug. These issues are diagnosed with reduced test cases and result in an issue opened on that browser's own bug tracker.- `confirmed` - Issues that have been confirmed with a reduced test case and identify a bug in a Predix UI component.- `css` - Issues stemming from our compiled CSS or source Sass files.- `docs` - Issues for improving or updating our documentation.- `examples` - Issues involving the example templates included in our docs.- `feature` - Issues asking for a new feature to be added, or an existing one to be extended or modified. New features require a minor version bump (e.g., `v3.0.0` to `v3.1.0`).- `gulp` - Issues with our included JavaScript-based gulpfile, which is used to run all our tests, concatenate and compile source files, and more.
- `help wanted` - Issues that we need or would like the community to help us resolve.- `js` - Issues stemming from our compiled or source JavaScript files.- `meta` - Issues with the project itself or our GitHub repository.## Bug reportsA bug is a _demonstrable problem_ caused by the code in the repository.Good bug reports are extremely helpful.Guidelines for bug reports:0. **Validate and lint your code**; [validate your HTML](http://html5.validator.nu) and [lint your HTML](http://www.dirtymarkup.com/) to ensure your problem isn't caused by a simple error in your own code.1. **Use the GitHub issue search**; check if the issue has already been reported.2. **Check if the issue has been fixed**; try to reproduce the issue by using the latest `master` or development branch in the repository.3. **Isolate the problem**; ideally create a [reduced test case](https://css-tricks.com/reduced-test-cases/) and a live example using [CodePen](http://codepen.io/mdwragg/pen/LNwmpB) or [jsfiddle](https://jsfiddle.net/Lqmcwhw0/3/).A good bug report shouldn't require others to get more information. Please be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What browser(s) and OS experience the problem? Do other browsers show the bug differently? What would you expect for the outcome? Such details will help people fix potential bugs.Example:> Short and descriptive example bug report title>> A summary of the issue and the browser/OS environment in which it occurs. If> suitable, include the steps required to reproduce the bug.>> 1. This is the first step> 2. This is the second step> 3. Further steps, etc.>> `<url>` - a link to the reduced test case>> Any other information relevant to the bug report. This might include the lines of code that you have identified as> causing the bug, and potential solutions (and your opinions on their> merits).## Feature RequestsFeature requests are welcome, but before opening one, determine if your idea suits the scope and aims of Predix UI. *You* need to make a strong case and convince the Predix UI team to adopt your feature. Please provide as much detail and context as possible.## Pull RequestsYour pull requests�patches, improvements, and new features�are a big help. The requests should be focused and avoid unrelated commits.**Please ask** before making a significant pull request (e.g., implementing features, refactoring code, or porting to a different language) that Predix UI developers might not merge into the component.Please follow the [coding guidelines](#code-guidelines) used throughout the project (indentation, accurate comments, etc.) and any other requirements (such as test coverage).**Do not edit any of the CSS files directly!** The files are automatically generated. You should edit the source files in [`sass/`] instead.**Do not edit the `gh-pages` branch.** That branch is generated from the documentation source files and is managed separately by the Predix UI team.Please use the following process to have your work considered for the project:1. [Fork](https://help.github.com/fork-a-repo/) the component.2. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix: ``` bash git checkout -b <topic-branch-name> ```3. Commit your changes in logical chunks. Please adhere to these [git commit message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) or your code is unlikely to be merged into the main project. Use Git's [interactive rebase](https://help.github.com/articles/interactive-rebase) feature to tidy up your commits before making them public.4. Locally merge (or rebase) the latest commits into your branch: ``` bash git pull [--rebase] origin master ```5. Push your topic branch up to your fork: ``` bash git push origin <topic-branch-name> ```6. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description against the `master` branch.## Code guidelines### HTML[Adhere to the Code Guide.](http://codeguide.co/#html)- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags).- Use [WAI-ARIA](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA) attributes in documentation examples to promote accessibility.### CSS[Adhere to the Code Guide.](http://codeguide.co/#css)- When feasible, default color palettes should comply with [WCAG color contrast guidelines](http://www.w3.org/TR/WCAG20/#visual-audio-contrast).- Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](http://a11yproject.com/posts/never-remove-css-outlines/) for more details.### JS- 2 spaces (no tabs)- "Attractive"- no errors / warnings
Expand Down
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
v0.0.1
==================
* Initial release
Loading

0 comments on commit 82a5a01

Please sign in to comment.