File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
src/instance-initializers Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @hashicorp/design-system-components " : major
3
+ ---
4
+
5
+ Removed support for deprecated ` ember-flight-icons ` ` lazyEmbed ` config
Original file line number Diff line number Diff line change @@ -9,11 +9,8 @@ const flightIconSprite = require('@hashicorp/flight-icons/svg-sprite/svg-sprite-
9
9
module . exports = {
10
10
...addonV1Shim ( __dirname ) ,
11
11
contentFor ( type , config ) {
12
- const legacyLazyEmbed = config ?. emberFlightIcons ?. lazyEmbed ;
13
-
14
12
if (
15
13
! config . flightIconsSpriteLazyEmbed &&
16
- ! legacyLazyEmbed &&
17
14
! config . __flightIconsSpriteLoaded &&
18
15
type === 'body-footer'
19
16
) {
Original file line number Diff line number Diff line change 6
6
import config from 'ember-get-config' ;
7
7
8
8
export async function initialize ( ) {
9
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment
10
- const legacyLazyEmbed = config ?. emberFlightIcons ?. lazyEmbed ;
11
-
12
9
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
13
- if ( config ?. flightIconsSpriteLazyEmbed || legacyLazyEmbed ) {
10
+ if ( config ?. flightIconsSpriteLazyEmbed ) {
14
11
const { default : svgSprite } = await import (
15
12
'@hashicorp/flight-icons/svg-sprite/svg-sprite-module'
16
13
) ;
You can’t perform that action at this time.
0 commit comments