-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(circularprogress): new component
- Loading branch information
Showing
13 changed files
with
787 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"presets": [ | ||
"react", | ||
"stage-2", | ||
["env", { | ||
"targets": { | ||
"browsers": ["last 2 versions", "ie >= 10"] | ||
} | ||
}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
__specs__ | ||
src | ||
.babelrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */ | ||
import addons from '@storybook/addons' | ||
import register from '@pluralsight/ps-design-system-storybook-addon-theme/register' | ||
register(addons) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */ | ||
|
||
import { configure } from '@storybook/react' | ||
|
||
function loadStories() { | ||
require('../stories') | ||
} | ||
|
||
configure(loadStories, module) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<link rel="stylesheet" href="https://cloud.typography.com/6966154/691568/css/fonts.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/@pluralsight/ps-design-system-normalize" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const React = require('./react') | ||
|
||
module.exports = { React } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "@pluralsight/ps-design-system-circularprogress", | ||
"version": "1.0.0", | ||
"description": "Design System component for circular progress ui", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "babel src --out-dir dist --ignore spec.js", | ||
"build:watch": "npm run build -- --watch", | ||
"prepublish": "npm run build", | ||
"test": "jest", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook", | ||
"test:watch": "npm run test -- --watchAll", | ||
"test:updateSnapshot": "npm run test -- --updateSnapshot" | ||
}, | ||
"keywords": [], | ||
"author": "jaketrent", | ||
"license": "Apache-2.0", | ||
"repository": "pluralsight/design-system", | ||
"peerDependencies": { | ||
"@pluralsight/ps-design-system-normalize": "^3.0.24", | ||
"glamor": "^2.20.0", | ||
"react": ">=0.15.0 < 17.0.0" | ||
}, | ||
"dependencies": { | ||
"@pluralsight/ps-design-system-core": "^4.0.2", | ||
"@pluralsight/ps-design-system-theme": "^1.1.0", | ||
"polished": "^1.7.0", | ||
"prop-types": "^15.5.10" | ||
}, | ||
"devDependencies": { | ||
"@pluralsight/ps-design-system-storybook-addon-theme": "^1.1.9", | ||
"@storybook/addon-storyshots": "3.2.14", | ||
"@storybook/addons": "3.2.14", | ||
"@storybook/react": "3.2.14", | ||
"babel-cli": "^6.24.1", | ||
"babel-preset-env": "^1.4.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"jest": "^20.0.4", | ||
"react": "^16.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./dist/react') |
Oops, something went wrong.