Skip to content

Commit

Permalink
Merge branch 'release/0.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
noeldelgado committed Mar 1, 2020
2 parents 7d43456 + e0ee53f commit b41ff05
Show file tree
Hide file tree
Showing 32 changed files with 1,102 additions and 626 deletions.
296 changes: 296 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@
{
"ignorePatterns": ["node_modules/", "jsdoc/", "build/"],
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"accessor-pairs": "error",
"array-bracket-newline": "error",
"array-bracket-spacing": "off",
"array-callback-return": "error",
"array-element-newline": "off",
"arrow-body-style": "error",
"arrow-parens": "off",
"arrow-spacing": [
"error",
{
"after": true,
"before": true
}
],
"block-scoped-var": "error",
"block-spacing": "error",
"brace-style": [
"error",
"stroustrup"
],
"callback-return": "error",
"camelcase": "error",
"capitalized-comments": "off",
"class-methods-use-this": "off",
"comma-dangle": "error",
"comma-spacing": [
"error",
{
"after": true,
"before": false
}
],
"comma-style": [
"error",
"last"
],
"complexity": "error",
"computed-property-spacing": [
"error",
"never"
],
"consistent-return": "error",
"consistent-this": "off",
"curly": "off",
"default-case": "error",
"default-param-last": "error",
"dot-location": "error",
"dot-notation": "error",
"eol-last": "error",
"eqeqeq": "error",
"func-call-spacing": "error",
"func-name-matching": "error",
"func-names": "error",
"func-style": "error",
"function-paren-newline": "error",
"generator-star-spacing": "error",
"global-require": "error",
"grouped-accessor-pairs": "error",
"guard-for-in": "error",
"handle-callback-err": "error",
"id-blacklist": "error",
"id-length": "off",
"id-match": "error",
"implicit-arrow-linebreak": [
"error",
"beside"
],
"indent": "error",
"indent-legacy": "error",
"init-declarations": "error",
"jsx-quotes": "error",
"key-spacing": "error",
"keyword-spacing": [
"error",
{
"after": true,
"before": true
}
],
"line-comment-position": "error",
"linebreak-style": [
"error",
"unix"
],
"lines-around-comment": "off",
"lines-around-directive": "error",
"lines-between-class-members": [
"error",
"always"
],
"max-classes-per-file": "error",
"max-depth": "error",
"max-len": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"max-nested-callbacks": "error",
"max-params": "error",
"max-statements": "off",
"max-statements-per-line": "error",
"multiline-comment-style": [
"error",
"bare-block"
],
"new-parens": "error",
"newline-after-var": "off",
"newline-before-return": "off",
"newline-per-chained-call": "off",
"no-alert": "error",
"no-array-constructor": "error",
"no-await-in-loop": "error",
"no-bitwise": "error",
"no-buffer-constructor": "error",
"no-caller": "error",
"no-catch-shadow": "error",
"no-confusing-arrow": "error",
"no-console": "error",
"no-constructor-return": "error",
"no-continue": "error",
"no-div-regex": "error",
"no-dupe-else-if": "error",
"no-duplicate-imports": "error",
"no-else-return": "error",
"no-empty-function": "error",
"no-eq-null": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-label": "error",
"no-extra-parens": "off",
"no-floating-decimal": "error",
"no-implicit-globals": "error",
"no-implied-eval": "error",
"no-import-assign": "error",
"no-inline-comments": "error",
"no-invalid-this": "error",
"no-iterator": "error",
"no-label-var": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-loop-func": "error",
"no-magic-numbers": "off",
"no-mixed-operators": "error",
"no-mixed-requires": "error",
"no-multi-assign": "error",
"no-multi-spaces": "off",
"no-multi-str": "error",
"no-multiple-empty-lines": "error",
"no-native-reassign": "error",
"no-negated-condition": "error",
"no-negated-in-lhs": "error",
"no-nested-ternary": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-require": "error",
"no-new-wrappers": "error",
"no-octal-escape": "error",
"no-param-reassign": "error",
"no-path-concat": "error",
"no-plusplus": "error",
"no-process-env": "error",
"no-process-exit": "error",
"no-proto": "error",
"no-restricted-globals": "error",
"no-restricted-imports": "error",
"no-restricted-modules": "error",
"no-restricted-properties": "error",
"no-restricted-syntax": "error",
"no-return-assign": "error",
"no-return-await": "error",
"no-script-url": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-setter-return": "error",
"no-shadow": "off",
"no-spaced-func": "error",
"no-sync": "error",
"no-tabs": "error",
"no-template-curly-in-string": "error",
"no-ternary": "off",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef-init": "error",
"no-undefined": "error",
"no-underscore-dangle": "off",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": "error",
"no-unused-expressions": "error",
"no-use-before-define": "error",
"no-useless-call": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-constructor": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-var": "error",
"no-void": "error",
"no-warning-comments": "error",
"no-whitespace-before-property": "error",
"object-curly-newline": "error",
"object-curly-spacing": [
"error",
"always"
],
"object-property-newline": "error",
"object-shorthand": "error",
"one-var": "off",
"one-var-declaration-per-line": "error",
"operator-assignment": "error",
"operator-linebreak": "error",
"padded-blocks": "off",
"padding-line-between-statements": "error",
"prefer-arrow-callback": "error",
"prefer-const": "off",
"prefer-destructuring": "off",
"prefer-exponentiation-operator": "error",
"prefer-named-capture-group": "error",
"prefer-numeric-literals": "error",
"prefer-object-spread": "error",
"prefer-promise-reject-errors": "error",
"prefer-reflect": "error",
"prefer-regex-literals": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error",
"quote-props": "off",
"quotes": [
"error",
"single"
],
"radix": "error",
"require-atomic-updates": "error",
"require-await": "error",
"require-jsdoc": "error",
"require-unicode-regexp": "off",
"rest-spread-spacing": "error",
"semi": "off",
"semi-spacing": "error",
"semi-style": [
"error",
"last"
],
"sort-keys": "off",
"sort-vars": "error",
"space-before-blocks": "error",
"space-before-function-paren": "off",
"space-in-parens": [
"error",
"never"
],
"space-infix-ops": "off",
"space-unary-ops": "error",
"spaced-comment": [
"error",
"always"
],
"strict": "error",
"switch-colon-spacing": "error",
"symbol-description": "error",
"template-curly-spacing": [
"error",
"never"
],
"template-tag-spacing": "error",
"unicode-bom": [
"error",
"never"
],
"valid-jsdoc": "off",
"vars-on-top": "error",
"wrap-iife": "error",
"wrap-regex": "error",
"yield-star-spacing": "error",
"yoda": [
"error",
"never"
]
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules
package-lock.json
src/assets/svg-sprite-symbol/
jsdoc
.tarima
.nvmrc
.ruby-version
Expand Down
19 changes: 19 additions & 0 deletions .jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"tags": {
"allowUnknownTags": true
},
"source": {
"include": ["src/js"]
},
"sourceType": "module",
"plugins": [],
"templates": {
"cleverLinks": false,
"monospaceLinks": false
},
"opts": {
"recurse": true,
"private": true,
"destination": "./jsdoc/"
}
}
25 changes: 22 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

## [Unreleased]

## [0.2.0] - [#5](../../pull/5) - 2020-03-01
### Added
- Associated labels to inputs [`90cff5a`](https://github.com/noeldelgado/yacc/commit/90cff5a883c5e73464fc3d6177031d127b608441)
- #RRGGBBAA support [`a80b545`](https://github.com/noeldelgado/yacc/commit/a80b54514882fa478a242707547651fc0a49cc0d)
- Using Pickr’s [toHEXA](https://github.com/Simonwep/pickr/blob/master/src/js/utils/hsvacolor.js#L39) method
- Display Pickr’s opacity slider
- html’s checkerboard pattern to distinguish transparency
- new CSS Variables `--cc-main-solid-color`
- Mobile: apple-mobile-web-app-status-bar-style => black-translucent [`0330ffe`](https://github.com/noeldelgado/yacc/commit/0330ffeb8113aa2a10b20156fcee5ba7fd01a8d7)
- HSV, CMKYK and LAB support [`a4560e6`](https://github.com/noeldelgado/yacc/commit/a4560e6b055b47060c033d98ba4068340c519eb8)

### Changed
- Fix Firefox 100% width input overflow [`c4c80f0`](https://github.com/noeldelgado/yacc/commit/c4c80f0eb412951ec4efd1e6376ebc156b557261)
- Fix manually changing hash not updating UI [`6e1f71f`](https://github.com/noeldelgado/yacc/commit/6e1f71f168cba2f162780f0a17e6ddb23c6f4b04)
- Update autoprefixer:browsers 'last 1 version' [`a487a4d`](https://github.com/noeldelgado/yacc/commit/a487a4d95fd0899874149c5ea603320471224ce3)
- Remove github-corner [`4e0dd25`](https://github.com/noeldelgado/yacc/commit/4e0dd25a11c4f0585b7b346a26d485bbddf70875)
- Initial random color [`b663608`](https://github.com/noeldelgado/yacc/commit/b663608b3d51476c0482b6e647aa258c8384dac8)

## [0.1.3] - [#4](../../pull/4) - 2020-02-18
### Changed
- Fix site.webmanifest paths
Expand Down Expand Up @@ -38,16 +56,17 @@
- Grunt, bower and [`noeldelgado/values.js`](https://github.com/noeldelgado/values.js)

## 2014-09-16
- [hsl support](10daf75e196ef6fb45dc78857a81309d2155cda6)
- [hsl support](https://github.com/noeldelgado/yacc/commit/10daf75e196ef6fb45dc78857a81309d2155cda6)

## [1c53e9d](https://github.com/noeldelgado/yacc/commit/1c53e9d2426c8e4fcd5ef9a062fc9baaca8039a5) - 2014-03-04
## [`1c53e9d`](https://github.com/noeldelgado/yacc/commit/1c53e9d2426c8e4fcd5ef9a062fc9baaca8039a5) - 2014-03-04
- hash based url
- disable HSL input

## 2013-10-03
- Initial release

[Unreleased]: https://github.com/noeldelgado/yacc/compare/v0.1.3...HEAD
[Unreleased]: https://github.com/noeldelgado/yacc/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/noeldelgado/yacc/compare/v0.1.3...v0.2.0
[0.1.3]: https://github.com/noeldelgado/yacc/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/noeldelgado/yacc/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/noeldelgado/yacc/compare/v0.1.0...v0.1.1
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
## yet another color converter

Convert HEX/RGB/HSL/HWB color models plus feColorMatrix’s values
Convert HEX/RGB/HSL/HWB color models plus feColorMatrix’s values.

https://noeldelgado.github.io/yacc/

![screenshot](public/images/screenshot.png)

### Development
Start server on port 3000 with livereload watching files on the `src` folder

Expand Down
2 changes: 1 addition & 1 deletion build/css/main.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions build/js/main.js

Large diffs are not rendered by default.

Loading

0 comments on commit b41ff05

Please sign in to comment.