Skip to content

Commit

Permalink
Release 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erikhallaraaker committed Oct 10, 2018
2 parents 7ec424c + 3f66df2 commit 04a9279
Show file tree
Hide file tree
Showing 253 changed files with 5,570 additions and 4,168 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist/
src/polyfills/
85 changes: 73 additions & 12 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,66 +36,127 @@
}
},
"rules": {
"arrow-body-style": ["error", "as-needed"],
"array-bracket-spacing": ["warn"],
"arrow-parens": ["error", "as-needed"],
"arrow-spacing": ["error"],
"babel/new-cap": 0,
"babel/no-invalid-this": 1,
"babel/object-curly-spacing": ["warn", "always"],
"babel/quotes": ["error", "double"],
"babel/semi": ["error"],
"block-spacing": ["error", "always"],
"block-scoped-var": ["warn"],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"camelcase": ["warn"],
"comma-dangle": ["warn", "never"],
"comma-spacing": ["warn"],
"comma-style": ["warn"],
"computed-property-spacing": ["warn"],
"constructor-super": ["error"],
"eol-last": ["warn"],
"eqeqeq": ["warn"],
"curly": ["error", "all"],
"default-case": ["error"],
"dot-notation": ["error"],
"eol-last": ["error"],
"eqeqeq": ["error"],
"func-call-spacing": ["warn"],
"func-style": ["error", "expression"],
"implicit-arrow-linebreak": ["error", "beside"],
"indent": ["error", 4, { "SwitchCase": 1 }],
"jsx-quotes": ["error", "prefer-double"],
"key-spacing": ["warn"],
"keyword-spacing": ["warn"],
"linebreak-style": 0,
"lines-between-class-members": ["error"],
"new-cap": 0,
"new-parens": ["error"],
"newline-before-return": ["error"],
"newline-per-chained-call": ["warn"],
"no-alert": ["warn"],
"no-console": ["warn", {"allow": ["warn", "error"]}],
"no-alert": ["error"],
"no-console": ["warn", { "allow": ["warn", "error"] }],
"no-const-assign": ["error"],
"no-dupe-class-members": ["error"],
"no-duplicate-imports": ["error"],
"no-empty-function": ["error"],
"no-eval": ["error"],
"no-extra-semi": ["error"],
"no-floating-decimal": ["error"],
"no-inner-declarations": 0,
"no-invalid-regexp": ["error"],
"no-irregular-whitespace": ["error"],
"no-lonely-if": ["error"],
"no-mixed-spaces-and-tabs": ["error"],
"no-multi-spaces": ["warn"],
"no-multiple-empty-lines": ["error"],
"no-multiple-empty-lines": ["error", { "max": 1 }],
"no-redeclare": ["warn"],
"no-this-before-super": ["warn"],
"no-trailing-spaces": ["error"],
"no-undef": ["error"],
"no-unneeded-ternary": ["warn"],
"no-undef-init": ["error"],
"no-unneeded-ternary": ["error"],
"no-unreachable": ["error"],
"no-unused-vars": ["warn"],
"no-var": ["warn"],
"no-useless-constructor": ["error"],
"no-useless-rename": ["error"],
"no-useless-return": ["error"],
"no-var": ["error"],
"no-whitespace-before-property": ["warn"],
"node/exports-style": ["error", "module.exports"],
"object-curly-newline": ["warn"],
"object-curly-spacing": 0,
"object-curly-spacing": ["warn", "always"],
"object-property-newline": ["warn"],
"prefer-const": ["warn"],
"object-shorthand": ["error", "always", { "avoidExplicitReturnArrows": true }],
"one-var": ["error", "never"],
"padding-line-between-statements": ["error",
{
"blankLine": "always",
"prev": "*",
"next": ["class", "const", "block", "block-like", "break", "export", "expression", "do", "for", "function", "if", "import", "let", "return", "switch", "try", "while"]
},
{
"blankLine": "always",
"prev": ["class", "const", "block", "block-like", "break", "export", "expression", "do", "for", "function", "if", "import", "let", "return", "switch", "try", "while"],
"next": "*"
},
{
"blankLine": "any",
"prev": "expression",
"next": "expression"
},
{
"blankLine": "any",
"prev": "import",
"next": "import"
},
{
"blankLine": "any",
"prev": ["let", "const"],
"next": ["let", "const"]
}
],
"prefer-arrow-callback": ["error"],
"prefer-const": ["error"],
"prefer-destructuring": ["error", { "array": false }],
"prefer-object-spread": ["error"],
"prefer-spread": ["warn"],
"prefer-template": ["error"],
"quote-props": ["error", "as-needed"],
"quotes": 0,
"react/prop-types": 0,
"rest-spread-spacing": ["error", "never"],
"security/detect-non-literal-regexp": 0,
"security/detect-object-injection": 0,
"security/detect-unsafe-regex": 0,
"semi": 0,
"semi-spacing": ["warn"],
"semi-style": ["warn"],
"space-before-function-paren": ["warn"],
"semi-style": ["error"],
"space-before-blocks": ["error"],
"space-before-function-paren": ["error"],
"space-in-parens": ["warn"],
"space-infix-ops": ["warn"],
"spaced-comment": ["warn"],
"spaced-comment": ["error"],
"switch-colon-spacing": ["error"],
"template-curly-spacing": ["error", "never"],
"wrap-regex": ["error"]
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dist

# Local vs code settings
.vscode/
.vs/

# Logs
logs
Expand Down
1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist/styles
*.md
**/*.js
**/*.snap.js
src/less/core/normalize.less
44 changes: 39 additions & 5 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,48 @@
{
"extends": ["stylelint-config-standard"],
"ignoreFiles": ["**/*.md", "**/*.js", "**/*.js.snap", "**/*.css"],
"plugins": [
"stylelint-csstree-validator",
"stylelint-declaration-block-no-ignored-properties"
],
"rules": {
"indentation": 4,
"selector-pseudo-element-colon-notation": "single",
"no-descending-specificity": null,
"at-rule-name-space-after": "always",
"at-rule-no-unknown": null,
"color-hex-case": [ "lower", {
"message": "Lowercase letters are easier to distinguish from numbers"
}],
"color-named": "never",
"csstree/validator": true,
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-no-important": true,
"color-hex-length": "long",
"font-family-no-missing-generic-family-keyword": null,
"font-family-name-quotes": "always-where-recommended",
"indentation": 4,
"length-zero-no-unit": true,
"max-empty-lines": [2, { "ignore": ["comments"] }],
"max-line-length": null,
"media-feature-name-no-vendor-prefix": true,
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "never",
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"number-max-precision": 4,
"plugin/declaration-block-no-ignored-properties": true,
"selector-attribute-quotes": "always",
"selector-list-comma-newline-after": "always",
"selector-list-comma-newline-before": "never-multi-line",
"selector-list-comma-space-after": "always-single-line",
"selector-list-comma-space-before": "never-single-line",
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "double",
"font-family-no-missing-generic-family-keyword": null,
"at-rule-no-unknown": null
"unit-whitelist": ["%", "px", "rem", "vh", "vw", "s", "deg", "ch"],
"value-keyword-case": "lower",
"value-list-comma-newline-after": "never-multi-line",
"value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always"
}
}
31 changes: 28 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
# Changelog

## [0.11.1] - 2018-09-26
## [0.12.0] - 2018-10-10

### Added

- Added class `.button-group`.
- Added Step Bar component.
- Added basic spacing utility classes with documentation section (spacing classes with breakpoints will be implemented later).

### Changed

- Updated readme with deploy/release procedure.
- Reworked tabs.
- Reworked form validation.
- Removed `margin-bottom: 3px` from button component.
- Adjusted spacing between status indicator and text in status component.

### Fixed

- Fixed issue with documentation page for toast crashing.
- Fixed bug with topbar script crashing when topbar button does not contain an icon.
- Fixed issue with item-list alignment.
- Fixed issue with action list icon being visible through topbar.
- Fixed an issue with topbar component where clicking anchor links does not close the open menu.
- Fixed an issue with datepicker not displaying properly, or at all, when clicking on label.
- Fixed an issue where alert close button got properties from the new `<a>` styling (blue border bottom).
- Fixed a minor issue with toast not resetting its type, if called without a type after another toast with a type has already been called.
- Fixed an issue with open tabs not closing on screen resize.
- Fixed an issue with toast overlapping topbar.

### Removed

- Removed modal from designguide.
- Removed styling for table within panel footer.
Loading

0 comments on commit 04a9279

Please sign in to comment.