From 64f36d449dd7e8bcb7b063d7355528fb5f245199 Mon Sep 17 00:00:00 2001 From: Ignace Maes Date: Sun, 28 Apr 2024 14:13:36 +0200 Subject: [PATCH] deps: upgrade babel-plugin-ember-template-compilation --- README.md | 3 +++ ember-phosphor-icons/package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index bfc687d5..9cf0e109 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,9 @@ import PhCube from 'ember-phosphor-icons/components/ph-cube'; > [!NOTE] > The coordinate space of slotted elements is relative to the contents of the icon `viewBox`, which is a 256x256 square. Only [valid SVG elements](https://developer.mozilla.org/en-US/docs/Web/SVG/Element#SVG_elements_by_category) will be rendered. +> [!TIP] +> Make sure you have `babel-plugin-ember-template-compilation@^2.2.2` or higher installed to support camel cased SVG elements. ([as this was a known bug before](https://github.com/emberjs/babel-plugin-ember-template-compilation/pull/33)) + ## Contributing See the [Contributing](CONTRIBUTING.md) guide for details. diff --git a/ember-phosphor-icons/package.json b/ember-phosphor-icons/package.json index c21d0b38..ae95e7b0 100644 --- a/ember-phosphor-icons/package.json +++ b/ember-phosphor-icons/package.json @@ -73,7 +73,7 @@ "@tsconfig/ember": "^3.0.2", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", - "babel-plugin-ember-template-compilation": "^2.2.1", + "babel-plugin-ember-template-compilation": "^2.2.2", "concurrently": "^8.2.2", "ember-template-lint": "^5.13.0", "eslint": "^8.56.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6eabb27b..a05edfc2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -88,8 +88,8 @@ importers: specifier: ^6.14.0 version: 6.21.0(eslint@8.57.0)(typescript@5.4.5) babel-plugin-ember-template-compilation: - specifier: ^2.2.1 - version: 2.2.1 + specifier: ^2.2.2 + version: 2.2.2 concurrently: specifier: ^8.2.2 version: 8.2.2 @@ -2275,7 +2275,7 @@ packages: '@embroider/macros': 1.16.0(@glint/template@1.2.1) '@embroider/shared-internals': 2.6.0 assert-never: 1.2.1 - babel-plugin-ember-template-compilation: 2.2.1 + babel-plugin-ember-template-compilation: 2.2.2 broccoli-node-api: 1.7.0 broccoli-persistent-filter: 3.1.3 broccoli-plugin: 4.0.7 @@ -5139,8 +5139,8 @@ packages: dependencies: ember-rfc176-data: 0.3.18 - /babel-plugin-ember-template-compilation@2.2.1: - resolution: {integrity: sha512-alinprIQcLficqkuIyeKKfD4HQOpMOiHK6pt6Skj/yjoPoQYBuwAJ2BoPAlRe9k/URPeVkpMefbN3m6jEp7RsA==} + /babel-plugin-ember-template-compilation@2.2.2: + resolution: {integrity: sha512-wdT2F9/n6uC1rLvAjXCx5+fXbwkl8MIcwt0rg5csWedPbERdzQqhRlDqj0kIwNfUJ9gaXAcKrgSOUXbJcByGOQ==} engines: {node: '>= 12.*'} dependencies: '@glimmer/syntax': 0.84.3 @@ -7150,7 +7150,7 @@ packages: '@embroider/shared-internals': 2.6.0 babel-loader: 8.3.0(@babel/core@7.24.4)(webpack@5.91.0) babel-plugin-ember-modules-api-polyfill: 3.5.0 - babel-plugin-ember-template-compilation: 2.2.1 + babel-plugin-ember-template-compilation: 2.2.2 babel-plugin-htmlbars-inline-precompile: 5.3.1 babel-plugin-syntax-dynamic-import: 6.18.0 broccoli-debug: 0.6.5 @@ -7363,7 +7363,7 @@ packages: engines: {node: 12.* || 14.* || >= 16} dependencies: '@ember/edition-utils': 1.2.0 - babel-plugin-ember-template-compilation: 2.2.1 + babel-plugin-ember-template-compilation: 2.2.2 babel-plugin-htmlbars-inline-precompile: 5.3.1 broccoli-debug: 0.6.5 broccoli-persistent-filter: 3.1.3 @@ -7903,7 +7903,7 @@ packages: '@glimmer/vm-babel-plugins': 0.87.1(@babel/core@7.24.4) '@simple-dom/interface': 1.4.0 babel-plugin-debug-macros: 0.3.4(@babel/core@7.24.4) - babel-plugin-ember-template-compilation: 2.2.1 + babel-plugin-ember-template-compilation: 2.2.2 babel-plugin-filter-imports: 4.0.0 backburner.js: 2.8.0 broccoli-concat: 4.2.5