├── .changeset ├── README.md └── config.json ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ ├── pr.yml │ └── release.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── LICENSE.md ├── README.md ├── husky.config.js ├── nx.json ├── package.json ├── packages ├── form-control │ ├── LICENSE.md │ ├── README.md │ ├── demo │ │ ├── async-validator-demo.ts │ │ ├── complex-demo.ts │ │ ├── index.ts │ │ ├── page.css │ │ ├── page.ts │ │ ├── switch.style.ts │ │ └── switch.ts │ ├── index.html │ ├── index.ts │ ├── package.json │ ├── src │ │ ├── FormControlMixin.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── validators.ts │ ├── tests │ │ ├── asyncValidators.test.ts │ │ ├── delayedValidationTarget.test.ts │ │ ├── lit.test.ts │ │ ├── validation.test.ts │ │ ├── validators.test.ts │ │ └── value.test.ts │ ├── tsconfig.base.json │ ├── tsconfig.build.json │ ├── tsconfig.json │ ├── web-dev-server.config.mjs │ └── web-test-runner.config.mjs └── form-helpers │ ├── LICENSE.md │ ├── README.md │ ├── index.ts │ ├── package.json │ ├── src │ └── index.ts │ ├── tests │ ├── formValues.test.ts │ └── submit.test.ts │ ├── tsconfig.json │ └── web-test-runner.config.mjs └── tsconfig.json /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.github/workflows/pr.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage/ 3 | lib 4 | CHANGELOG.md 5 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/README.md -------------------------------------------------------------------------------- /husky.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/husky.config.js -------------------------------------------------------------------------------- /nx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/nx.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/package.json -------------------------------------------------------------------------------- /packages/form-control/LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/LICENSE.md -------------------------------------------------------------------------------- /packages/form-control/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/README.md -------------------------------------------------------------------------------- /packages/form-control/demo/async-validator-demo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/demo/async-validator-demo.ts -------------------------------------------------------------------------------- /packages/form-control/demo/complex-demo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/demo/complex-demo.ts -------------------------------------------------------------------------------- /packages/form-control/demo/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/demo/index.ts -------------------------------------------------------------------------------- /packages/form-control/demo/page.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/demo/page.css -------------------------------------------------------------------------------- /packages/form-control/demo/page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/demo/page.ts -------------------------------------------------------------------------------- /packages/form-control/demo/switch.style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/demo/switch.style.ts -------------------------------------------------------------------------------- /packages/form-control/demo/switch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/demo/switch.ts -------------------------------------------------------------------------------- /packages/form-control/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/index.html -------------------------------------------------------------------------------- /packages/form-control/index.ts: -------------------------------------------------------------------------------- 1 | export * from './src/index.js'; 2 | -------------------------------------------------------------------------------- /packages/form-control/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/package.json -------------------------------------------------------------------------------- /packages/form-control/src/FormControlMixin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/src/FormControlMixin.ts -------------------------------------------------------------------------------- /packages/form-control/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/src/index.ts -------------------------------------------------------------------------------- /packages/form-control/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/src/types.ts -------------------------------------------------------------------------------- /packages/form-control/src/validators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/src/validators.ts -------------------------------------------------------------------------------- /packages/form-control/tests/asyncValidators.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/tests/asyncValidators.test.ts -------------------------------------------------------------------------------- /packages/form-control/tests/delayedValidationTarget.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/tests/delayedValidationTarget.test.ts -------------------------------------------------------------------------------- /packages/form-control/tests/lit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/tests/lit.test.ts -------------------------------------------------------------------------------- /packages/form-control/tests/validation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/tests/validation.test.ts -------------------------------------------------------------------------------- /packages/form-control/tests/validators.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/tests/validators.test.ts -------------------------------------------------------------------------------- /packages/form-control/tests/value.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/tests/value.test.ts -------------------------------------------------------------------------------- /packages/form-control/tsconfig.base.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/form-control/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/tsconfig.build.json -------------------------------------------------------------------------------- /packages/form-control/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/tsconfig.json -------------------------------------------------------------------------------- /packages/form-control/web-dev-server.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/web-dev-server.config.mjs -------------------------------------------------------------------------------- /packages/form-control/web-test-runner.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-control/web-test-runner.config.mjs -------------------------------------------------------------------------------- /packages/form-helpers/LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-helpers/LICENSE.md -------------------------------------------------------------------------------- /packages/form-helpers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-helpers/README.md -------------------------------------------------------------------------------- /packages/form-helpers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './src/index.js'; 2 | -------------------------------------------------------------------------------- /packages/form-helpers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-helpers/package.json -------------------------------------------------------------------------------- /packages/form-helpers/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-helpers/src/index.ts -------------------------------------------------------------------------------- /packages/form-helpers/tests/formValues.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-helpers/tests/formValues.test.ts -------------------------------------------------------------------------------- /packages/form-helpers/tests/submit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-helpers/tests/submit.test.ts -------------------------------------------------------------------------------- /packages/form-helpers/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-helpers/tsconfig.json -------------------------------------------------------------------------------- /packages/form-helpers/web-test-runner.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/packages/form-helpers/web-test-runner.config.mjs -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-wc/form-participation/HEAD/tsconfig.json --------------------------------------------------------------------------------