-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ffe-spinner-react): Reimplement ffe-spinner-react
BREAKING CHANGE: This commit reimplements and simplifies the ffe-spinner-react implementation. It no longer includes layout, which requires the consumer to place it correctly. The `<InlineSpinner />` and `<LargeSpinner />` are now available as `<Spinner large={true|false} />`. The previous `<Spinner />` implementation, which wrapped a large spinner in a `ffe-content-container` class is now removed. To keep this behavior, the consumer can create its own implementation of a `<SpinnerWithLayout />` or something similar.
- Loading branch information
Kristofer Selbekk
committed
Jan 19, 2018
1 parent
341fb45
commit f3f8795
Showing
28 changed files
with
101 additions
and
451 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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
git-tag-version=false | ||
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,63 +1,33 @@ | ||
{ | ||
"name": "ffe-spinner-react", | ||
"version": "2.0.4", | ||
"author": "SpareBank 1", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "babel -d lib/. --ignore=*.test.js src/.", | ||
"lint": "eslint src/.", | ||
"start": "budo examples/spinner.js --open --live --title \"FFE Spinner React\" -- -t [ babelify --presets [ es2015 react ] ] -t node-lessify", | ||
"test:nsp": "nsp check", | ||
"test:spec": "mocha --require babel-register --reporter mocha-tap13 src/**/*.test.js", | ||
"test": "npm run test:spec && npm run test:nsp", | ||
"prepublish": "npm run build", | ||
"has-published": "npm show . versions -s | grep -q ${npm_package_version}", | ||
"postpublish": "git tag ${npm_package_version} && git push --tags" | ||
}, | ||
"dependencies": { | ||
"prop-types": "*" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.4.5", | ||
"babel-core": "^6.5.2", | ||
"babel-plugin-transform-object-rest-spread": "^6.5.0", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-preset-react": "^6.5.0", | ||
"babel-register": "^6.4.3", | ||
"babelify": "^7.3.0", | ||
"budo": "^8.3.0", | ||
"chai": "^3.5.0", | ||
"enzyme": "^2.0.0", | ||
"eslint": "^3.12.2", | ||
"eslint-config-ffe": "^6.0.0", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-jsx-a11y": "^3.0.2", | ||
"eslint-plugin-react": "^6.8.0", | ||
"ffe-core": "^9.2.0", | ||
"ffe-spinner": "^2.0.0", | ||
"mocha": "^2.4.5", | ||
"mocha-tap13": "0.0.3", | ||
"node-lessify": "^0.1.4", | ||
"nsp": "^2.2.0", | ||
"prop-types": "^15.5.10", | ||
"react": "^15.2.0", | ||
"react-addons-test-utils": "^15.0.0", | ||
"react-dom": "^15.0.0" | ||
}, | ||
"peerDependencies": { | ||
"ffe-spinner": "1.x - 2.x" | ||
}, | ||
"publishConfig": { | ||
"registry": "***REMOVED***" | ||
}, | ||
"files": [ | ||
"lib", | ||
"*.js" | ||
], | ||
"babel": { | ||
"presets": [ | ||
"react", | ||
"es2015" | ||
] | ||
} | ||
"name": "ffe-spinner-react", | ||
"version": "2.0.4", | ||
"author": "SpareBank 1", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "babel -d lib/. --ignore=*.spec.js src/.", | ||
"lint": "eslint src/.", | ||
"test:nsp": "nsp check", | ||
"test:spec": "jest", | ||
"test": "npm run test:spec && npm run test:nsp" | ||
}, | ||
"dependencies": { | ||
"prop-types": "*" | ||
}, | ||
"devDependencies": { | ||
"enzyme": "^3.3.0", | ||
"enzyme-adapter-react-16": "^1.1.1", | ||
"ffe-core": "^9.2.0", | ||
"ffe-spinner": "^2.0.0", | ||
"jest": "^22.1.3", | ||
"nsp": "^2.2.0", | ||
"react": "^16.2.0", | ||
"react-dom": "^16.2.0" | ||
}, | ||
"peerDependencies": { | ||
"ffe-spinner": "1.x - 2.x" | ||
}, | ||
"files": ["lib", "*.js"], | ||
"jest": { | ||
"setupTestFrameworkScriptFile": "./test-setup.js" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.