From c7ef891dbd8c9e099a9f41572d7ea5aa2b4433cd Mon Sep 17 00:00:00 2001 From: Justin Fagnani Date: Mon, 12 Sep 2022 11:55:08 -0700 Subject: [PATCH 1/3] Update changelog for PR #105 --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 436a3d7..b5ac99b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,8 @@ https://github.com/webcomponents/custom-elements-manifest/issues/68 - Added CustomElementField that extends ClassField with the ability to describe associated attributes. Fixes https://github.com/webcomponents/custom-elements-manifest/issues/36 +- Added a `"deprecated"` field to FunctionLike objects (functions and methods) ([#105](https://github.com/webcomponents/custom-elements-manifest/pull/105)) + ### Fixed From c3c73053b6507d6e11a353598ec71718c7a96b93 Mon Sep 17 00:00:00 2001 From: Justin Fagnani Date: Mon, 12 Sep 2022 13:56:12 -0700 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5ac99b..8d85d50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,22 +18,29 @@ and this project adheres to [Semantic Versioning](http://semver.org/). + ## Unreleased + + ### Added - Added an optional `"syntax"` field to CSSCustomProperty to describe the property syntax using CSS Properties and Values API's syntax strings. Fixes -https://github.com/webcomponents/custom-elements-manifest/issues/68 + https://github.com/webcomponents/custom-elements-manifest/issues/68 -- Added CustomElementField that extends ClassField with the ability to - describe associated attributes. Fixes https://github.com/webcomponents/custom-elements-manifest/issues/36 +- Added CustomElementField that extends ClassField with the ability to describe associated attributes. Fixes https://github.com/webcomponents/custom-elements-manifest/issues/36 ([#75](https://github.com/webcomponents/custom-elements-manifest/pull/75)) -- Added a `"deprecated"` field to FunctionLike objects (functions and methods) ([#105](https://github.com/webcomponents/custom-elements-manifest/pull/105)) +- Added a `"deprecated"` field to all declarations (functions and methods) ([#89](https://github.com/webcomponents/custom-elements-manifest/pull/89), [#105](https://github.com/webcomponents/custom-elements-manifest/pull/105)) + +- Added a `"rest"` field to parameters. ([#83](https://github.com/webcomponents/custom-elements-manifest/pull/83)) + ### Fixed -- Fixed how custom element declarations extend class declarations. Previously CustomElementDeclaration didn't include CustomElement properties, and MixinDeclaration required some CustomElement properties. Added new CustomElementMixinDeclaration interface. Fixes https://github.com/webcomponents/custom-elements-manifest/issues/69 +- Fixed how custom element declarations extend class declarations. Previously CustomElementDeclaration didn't include CustomElement properties, and MixinDeclaration required some CustomElement properties. Added new CustomElementMixinDeclaration interface. Fixes https://github.com/webcomponents/custom-elements-manifest/issues/69 ([#103](https://github.com/webcomponents/custom-elements-manifest/pull/103)) + +- Clarified that module paths should point to importable files in the package. ([#104](https://github.com/webcomponents/custom-elements-manifest/pull/104)) ## [1.0.0] - 2021-06-10 From 4de4bce65f1ea779271220f514220c5e12e2c67d Mon Sep 17 00:00:00 2001 From: Justin Fagnani Date: Mon, 12 Sep 2022 13:56:27 -0700 Subject: [PATCH 3/3] Update example to not include module paths for local references. --- README.md | 6 ++---- examples/simple-element.json | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 13938b9..d24dd2c 100644 --- a/README.md +++ b/README.md @@ -121,16 +121,14 @@ The manifest would look like: "kind": "js", "name": "MyElement", "declaration": { - "name": "MyElement", - "module": "my-project/my-element.js" + "name": "MyElement" } }, { "kind": "custom-element-definition", "name": "my-element", "declaration": { - "name": "MyElement", - "module": "my-project/my-element.js" + "name": "MyElement" } } ] diff --git a/examples/simple-element.json b/examples/simple-element.json index 85820b3..e6785e8 100644 --- a/examples/simple-element.json +++ b/examples/simple-element.json @@ -45,16 +45,14 @@ "kind": "js", "name": "MyElement", "declaration": { - "name": "MyElement", - "module": "my-project/my-element.js" + "name": "MyElement" } }, { "kind": "custom-element-definition", "name": "my-element", "declaration": { - "name": "MyElement", - "module": "my-project/my-element.js" + "name": "MyElement" } } ]