Commit Graph

1917 Commits

Author SHA1 Message Date
Thomas Allmer
0a1b247513 chore: new website using rocket
Co-authored-by: Lars den Bakker <larsdenbakker@gmail.com>
2020-10-29 11:50:15 +01:00
github-actions[bot]
b96501055f Version Packages @open-wc/eslint-config@4.0.1 2020-10-29 11:45:45 +01:00
Stephen Wade
87ce50c974 fix(@open-wc/eslint-config): use @babel/eslint-plugin as a peerDependencies (#1953) 2020-10-29 11:40:01 +01:00
github-actions[bot]
10f85b0fc9 Version Packages @open-wc/semantic-dom-diff@0.19.3 @open-wc/testing@2.5.32 2020-10-28 20:20:21 +01:00
Thomas Allmer
0362fe08eb chore: keep hand written types for semantic dom diff for now 2020-10-28 20:16:33 +01:00
github-actions[bot]
4d038bf768 Version Packages @open-wc/scoped-elements@1.2.4 @open-wc/semantic-dom-diff@0.19.2 @open-wc/testing-helpers@1.8.12 @open-wc/testing@2.5.31 storybook-addon-web-components-knobs@0.3.20 2020-10-28 19:42:57 +01:00
Thomas Allmer
4a81d79193 chore: add types folder to npm artifact 2020-10-28 19:37:26 +01:00
github-actions[bot]
adb28b8759 Version Packages @import-maps/resolve@1.0.1 @mdjs/core@0.4.1 @open-wc/building-rollup@1.9.4 @open-wc/demoing-storybook@2.4.6 @open-wc/rollup-plugin-polyfills-loader@1.1.8 @open-wc/scoped-elements@1.2.3 @open-wc/semantic-dom-diff@0.19.1 @open-wc/testing-helpers@1.8.11 @open-wc/testing@2.5.30 polyfills-loader@1.7.5 storybook-addon-markdown-docs@0.4.4 storybook-addon-web-components-knobs@0.3.19 2020-10-28 19:09:07 +01:00
Thomas Allmer
03033a0c84 chore: also publish @open-wc/demoing-storybook 2020-10-28 19:03:55 +01:00
Thomas Allmer
678f31bb1b chore: fix package name 2020-10-28 18:46:43 +01:00
Thomas Allmer
7c38dd8044 chore: align all versions 2020-10-28 18:39:37 +01:00
Thomas Allmer
11774bac2f chore: increase general timeout for mocha for ci 2020-10-28 18:39:37 +01:00
Thomas Allmer
17e9e7dcd2 chore: change types workflow 2020-10-26 15:47:12 +01:00
Thomas Allmer
eadbd122c7 fix(building-rollup): respect user provided full paths 2020-10-25 08:46:32 +01:00
Thomas Allmer
1ed49ff7ac chore: move to github actions and changeset 2020-10-25 08:46:32 +01:00
Manuel Martin
6343304456 chore: use web-test-runner and move karma packages
Co-authored-by: Thomas Allmer <d4kmor@gmail.com>
2020-10-24 14:18:16 +02:00
CircleCI
f64c85b509 chore: release new versions
- @open-wc/eslint-config@4.0.0
@open-wc/eslint-config@4.0.0
2020-10-24 09:06:50 +00:00
Pascal Schilp
47ac059985 feat(eslint-config): add lit a11y plugin to openwc eslint config (#1945)
BREAKING CHANGE: add lit-a11y plugin to open-wc eslint config
2020-10-24 10:55:40 +02:00
Thomas Allmer
a1919fdca5 chore: move deprecated packages into legacy 2020-10-23 20:18:53 +02:00
CircleCI
13a99cfcf2 chore: release new versions
- eslint-plugin-lit-a11y@1.0.1
eslint-plugin-lit-a11y@1.0.1
2020-10-23 17:33:16 +00:00
Pascal Schilp
492b53fedb fix(eslint-plugin-lit-a11y): guard against placeholders (#1941) 2020-10-23 19:26:28 +02:00
CircleCI
4353c1d7b1 chore: release new versions
- eslint-plugin-lit-a11y@1.0.0
eslint-plugin-lit-a11y@1.0.0
2020-10-23 15:09:59 +00:00
Pascal Schilp
c76ceeb4f2 feat(eslint-plugin-lit-a11y): change default (#1936)
BREAKING CHANGE: initial release

Co-authored-by: Benny Powers <web@bennypowers.com>
2020-10-23 16:40:45 +02:00
Thomas Allmer
e374da2e95 chore: move webpack tools into the legacy repo 2020-10-22 20:03:33 +02:00
CircleCI
defb46095a chore: release new versions
- eslint-plugin-lit-a11y@0.5.6
eslint-plugin-lit-a11y@0.5.6
2020-10-22 13:25:49 +00:00
Pascal Schilp
651b1284a9 chore: finishing touches before release (#1935)
* chore: finishing touches before release

* Update packages/eslint-plugin-lit-a11y/README.md

Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com>

Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com>
2020-10-22 15:17:12 +02:00
Thomas Allmer
5f94543182 chore: move es-dev-server into a dedicated package 2020-10-21 20:47:16 +02:00
CircleCI
79b5a076fa chore: release new versions
- eslint-plugin-lit-a11y@0.5.5
eslint-plugin-lit-a11y@0.5.5
2020-10-21 14:37:15 +00:00
Pascal Schilp
364a031843 fix(eslint-plugin-lit-a11y): add pkg.json links (#1922)
* fix(eslint-plugin-lit-a11y): add pkg.json links

* chore: prettier
2020-10-21 16:26:04 +02:00
Benny Powers
9f54dc37fe chore(eslint-plugin-lit-a11y): remove dupe block
somehow we ended up importing this polyfill twice
2020-10-21 16:58:54 +03:00
CircleCI
349b0f84c0 chore: release new versions
- eslint-plugin-lit-a11y@0.5.4
eslint-plugin-lit-a11y@0.5.4
2020-10-21 13:31:43 +00:00
koenvg
02381b3862 fix(eslint-plugin-lit-a11y): check for tabIndex property (#1918)
* fix(eslint-plugin-lit-a11y): check for tabIndex property

* style(eslint-plugin-lit-a11y): nitpicks

Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com>
Co-authored-by: Pascal Schilp <pascalschilp@gmail.com>
2020-10-21 15:22:18 +02:00
CircleCI
04095fe2c6 chore: release new versions
- eslint-plugin-lit-a11y@0.5.3
eslint-plugin-lit-a11y@0.5.3
2020-10-21 12:47:29 +00:00
Benny Powers
5b52a5a6eb fix(eslint-plugin-lit-a11y): qualified specifiers (#1917)
* fix(eslint-plugin-lit-a11y): qualified specifiers

also refactors rules to extend from common base
common base checks whether lit-html is imported
import check now supports namespaces and aliases

fixes #1911
fixes #1916

* refactor(eslint-plugin-lit-a11y): add TemplateAnalyzer helpers

* fix(eslint-plugin-lit-a11y): allow hash links

* docs(eslint-plugin-lit-a11y): tix fypo

thanks for the nod, @thepassle !

* refactor(eslint-plugin-lit-a11y): decruft
2020-10-21 14:37:47 +02:00
CircleCI
bb6d12970f chore: release new versions
- eslint-plugin-lit-a11y@0.5.2
eslint-plugin-lit-a11y@0.5.2
2020-10-20 07:44:37 +00:00
Pascal Schilp
5ac8fb7d33 Feat(eslint-plugin-lit-a11y): check literal values (#1915)
* feat: check literal values

* chore: refactor and cleanup

* chore: ignore ts

* fix(eslint-plugin-lit-a11y): solve typing errors

* refactor(eslint-plugin-lit-a11y): function->method

templateExpressionToHtml to TemplateAnalyzer

Co-authored-by: Benny Powers <web@bennypowers.com>
2020-10-20 09:29:31 +02:00
Thomas Allmer
73c500197e chore: move create out of the main repo 2020-10-18 21:39:16 +02:00
CircleCI
60df2b0ed6 chore: release new versions
- eslint-plugin-lit-a11y@0.5.1
eslint-plugin-lit-a11y@0.5.1
2020-10-18 19:04:57 +00:00
Benny Powers
752ae09c7a fix(eslint-plugin-lit-a11y): refactors and fixes rules (#1906)
* fix(eslint-plugin-lit-a11y): aria-label img role

also modifies error message

* fix(eslint-plugin-lit-a11y): allow emoji with alt

* fix(eslint-plugin-lit-a11y): disable accessible-emoji

modern UAs are able to handle emoji, so this rule should not be enabled in `recommended`
also removes check for `alt` attr on non-image elements

* fix(eslint-plugin-lit-a11y): removes alt from img role attrs

alt attribute has no effect on non-img elements, even if they have an img role

permits images that are hidden from AOM

* fix(eslint-plugin-lit-a11y): refactors and fixes rules

- *: add rule docs url to meta.docs
- utils: refactor utils to take Element
- anchor-is-valid: error messages by id
- click-events-have-key-events: add `allowCustomElements` option
- click-events-have-key-events: schematize `allowList` option
- heading-has-content: add `customHeadingElements` option
- iframe-title: error messages by id, refactor
- img-redundant-alt: add defaults to schema
- mouse-events-have-key-events: add `allowCustomElements` option
- mouse-events-have-key-events: schematize `allowList` option
- no-autofocus: include `.autofocus` DOM property
- tabindex-no-positive: error messages by id, refactor

* chore: fix function param

Co-authored-by: thepassle <pascalschilp@gmail.com>
2020-10-18 20:55:34 +02:00
Pascal Schilp
fb8c15d85a fix(eslint-plugin-lit-a11y): fix reporting locations (#1910) 2020-10-18 20:37:42 +02:00
CircleCI
2dae67329b chore: release new versions
- eslint-plugin-lit-a11y@0.5.0
eslint-plugin-lit-a11y@0.5.0
2020-10-18 13:58:45 +00:00
Pascal Schilp
ea8b181b42 feat(eslint-plugin-lit-a11y): detect lit-html (#1908)
* chore: linting

* chore: add docs

* chore: prettier

* chore: works with other imports

* chore: more docs
2020-10-18 15:48:28 +02:00
CircleCI
f330bfe730 chore: release new versions
- eslint-plugin-lit-a11y@0.4.2
eslint-plugin-lit-a11y@0.4.2
2020-10-18 12:05:30 +00:00
Pascal Schilp
956597ae1b fix(eslint-plugin-lit-a11y): revert custom placeholder logic (#1907)
* fix: revert custom placeholder logic

* chore: fix type
2020-10-18 13:57:27 +02:00
Benny Powers
b22dc155ea fix(eslint-plugin-lit-a11y): aria-label img role (#1899)
* fix(eslint-plugin-lit-a11y): aria-label img role

also modifies error message

* fix(eslint-plugin-lit-a11y): allow emoji with alt

* fix(eslint-plugin-lit-a11y): disable accessible-emoji

modern UAs are able to handle emoji, so this rule should not be enabled in `recommended`
also removes check for `alt` attr on non-image elements

* fix(eslint-plugin-lit-a11y): removes alt from img role attrs

alt attribute has no effect on non-img elements, even if they have an img role

permits images that are hidden from AOM
2020-10-18 12:43:49 +02:00
CircleCI
f22697af44 chore: release new versions
- @open-wc/create@0.37.0
@open-wc/create@0.37.0
2020-10-17 18:50:11 +00:00
Alessandro Vermeulen
1bcbe00c28 The code for typescript apps is stored in .ts :) 2020-10-17 20:42:22 +02:00
CircleCI
cf1c52709a chore: release new versions
- eslint-plugin-lit-a11y@0.4.1
eslint-plugin-lit-a11y@0.4.1
2020-10-17 09:54:51 +00:00
Westbrook Johnson
74db27a366 fix(eslint-plugin-lit-a11y): support member and conditional expressions (#1890)
* fix(eslint-plugin-lit-a11y): support member and conditional expressions

* fix(eslint-plugin-lit-a11y): adopt "role" list from "aria-query"

* chore: fix tests

Co-authored-by: Pascal Schilp <pascalschilp@gmail.com>
2020-10-17 11:47:24 +02:00
thepassle
35975e17dd fix(eslint-plugin-lit-a11y): report errors on correct location 2020-10-17 11:04:11 +02:00