From e88e6939e6a75b781afc8552181c14e9933888a2 Mon Sep 17 00:00:00 2001 From: Akira Sudoh Date: Tue, 10 Mar 2020 07:32:02 +0900 Subject: [PATCH 1/2] fix(dependencies): update icons dependency in vanilla (#5574) Also moves the icon library dependency from `dependencies` to `peerDependencies` because icons in vanilla are something applications put in their HTML, rather than what vanilla library directly uses. Fixes #5551. --- packages/components/docs/experimental.md | 2 +- packages/components/package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/components/docs/experimental.md b/packages/components/docs/experimental.md index c1eda2b4d628..ca44f34dacff 100644 --- a/packages/components/docs/experimental.md +++ b/packages/components/docs/experimental.md @@ -155,7 +155,7 @@ For now, you can click the "expanded" viewing mode option and see the module name available for each icon in the second-to-last column. So if you are looking for the glyph version of an icon, you might see `/chevron--down` and in the far right-hand side of the table (when in expanded mode) you'd see -`ChevronDownGlyph`. You can use this identifier alongside the `carbon-icons` +`ChevronDownGlyph`. You can use this identifier alongside the `carbon-icon` helper by doing: ```hbs diff --git a/packages/components/package.json b/packages/components/package.json index 243a3eb649ca..300fb74ff9ce 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -66,11 +66,13 @@ "freshy": ">= 1.0.3" }, "dependencies": { - "carbon-icons": "^7.0.7", "flatpickr": "4.6.1", "lodash.debounce": "^4.0.8", "warning": "^3.0.0" }, + "peerDependencies": { + "@carbon/icons": "^10.9.0" + }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.7.4", From 8ff123d1a03050a768a89aafdf582d8c8fd616b3 Mon Sep 17 00:00:00 2001 From: carbon-bot Date: Mon, 9 Mar 2020 22:41:05 +0000 Subject: [PATCH 2/2] chore(project): sync generated files --- packages/components/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index 300fb74ff9ce..3a9aaeb898bc 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -65,14 +65,14 @@ "babel-core": "7.0.0-bridge.0", "freshy": ">= 1.0.3" }, + "peerDependencies": { + "@carbon/icons": "^10.9.0" + }, "dependencies": { "flatpickr": "4.6.1", "lodash.debounce": "^4.0.8", "warning": "^3.0.0" }, - "peerDependencies": { - "@carbon/icons": "^10.9.0" - }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.7.4",