From bd0163df701ad890a23a0a7fc997890f7f43607a Mon Sep 17 00:00:00 2001 From: Jeff Daley Date: Sat, 17 Jun 2023 00:19:01 -0400 Subject: [PATCH 1/2] Install package --- web/package.json | 1 + web/yarn.lock | 57 +++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index 9daabbad2..90f3691ea 100644 --- a/web/package.json +++ b/web/package.json @@ -63,6 +63,7 @@ "@types/rsvp": "latest", "babel-eslint": "^10.1.0", "broccoli-asset-rev": "^3.0.0", + "ember-animated": "^1.0.4", "ember-auto-import": "^2.4.0", "ember-basic-dropdown": "^4.0.5", "ember-cli": "~3.28.6", diff --git a/web/yarn.lock b/web/yarn.lock index 9a8887a51..938e10fbc 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -1874,6 +1874,27 @@ __metadata: languageName: node linkType: hard +"@embroider/macros@npm:^1.5.0": + version: 1.11.1 + resolution: "@embroider/macros@npm:1.11.1" + dependencies: + "@embroider/shared-internals": 2.1.0 + assert-never: ^1.2.1 + babel-import-util: ^1.1.0 + ember-cli-babel: ^7.26.6 + find-up: ^5.0.0 + lodash: ^4.17.21 + resolve: ^1.20.0 + semver: ^7.3.2 + peerDependencies: + "@glint/template": ^1.0.0 + peerDependenciesMeta: + "@glint/template": + optional: true + checksum: e08f00bdb6e2749677937c3492ded4fd67850026d359b619a26ae8cbb336dc5cf2efd6c18e370e033ade7d69ed91003d10d0be7730a59de6d763a85acc2c190c + languageName: node + linkType: hard + "@embroider/shared-internals@npm:0.41.0": version: 0.41.0 resolution: "@embroider/shared-internals@npm:0.41.0" @@ -1905,6 +1926,22 @@ __metadata: languageName: node linkType: hard +"@embroider/shared-internals@npm:2.1.0": + version: 2.1.0 + resolution: "@embroider/shared-internals@npm:2.1.0" + dependencies: + babel-import-util: ^1.1.0 + ember-rfc176-data: ^0.3.17 + fs-extra: ^9.1.0 + js-string-escape: ^1.0.1 + lodash: ^4.17.21 + resolve-package-path: ^4.0.1 + semver: ^7.3.5 + typescript-memoize: ^1.0.1 + checksum: db58b0cceb6bfa002fd8147012904be53b4efd5d27af9fca2fdf7384fc697795268b5f194c3c3f64ff01f4615bf5202e58a44adbe1a220076c46e67f4abb4503 + languageName: node + linkType: hard + "@embroider/shared-internals@npm:^1.0.0": version: 1.8.3 resolution: "@embroider/shared-internals@npm:1.8.3" @@ -7535,6 +7572,23 @@ __metadata: languageName: node linkType: hard +"ember-animated@npm:^1.0.4": + version: 1.0.4 + resolution: "ember-animated@npm:1.0.4" + dependencies: + "@embroider/addon-shim": ^1.5.0 + "@embroider/macros": ^1.5.0 + assert-never: ^1.2.1 + ember-element-helper: ^0.5.0 || ^0.6.0 + peerDependencies: + "@ember/test-helpers": ^2.6.0 + peerDependenciesMeta: + "@ember/test-helpers": + optional: true + checksum: 93bebe1265b85dddb9590312a1a3756e01767dbb14e1e7019958c22f48df4c5bdd126b5477fb6ae3392670ed4d49c3baae430ccac3d9116dd230211a8bb3fd5e + languageName: node + linkType: hard + "ember-app-scheduler@npm:^5.1.2 || ^6.0.0 || ^7.0.0": version: 7.0.1 resolution: "ember-app-scheduler@npm:7.0.1" @@ -8475,7 +8529,7 @@ __metadata: languageName: node linkType: hard -"ember-element-helper@npm:^0.6.0, ember-element-helper@npm:^0.6.1": +"ember-element-helper@npm:^0.5.0 || ^0.6.0, ember-element-helper@npm:^0.6.0, ember-element-helper@npm:^0.6.1": version: 0.6.1 resolution: "ember-element-helper@npm:0.6.1" dependencies: @@ -11096,6 +11150,7 @@ __metadata: autoprefixer: ^10.4.4 babel-eslint: ^10.1.0 broccoli-asset-rev: ^3.0.0 + ember-animated: ^1.0.4 ember-auto-import: ^2.4.0 ember-basic-dropdown: ^4.0.5 ember-cli: ~3.28.6 From 0b775aebb3b68f124563ab7974a617ab8ddc5772 Mon Sep 17 00:00:00 2001 From: Jeff Daley Date: Sat, 17 Jun 2023 00:19:56 -0400 Subject: [PATCH 2/2] Register w/ Glint --- web/types/glint/index.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web/types/glint/index.d.ts b/web/types/glint/index.d.ts index 9e5579da5..b340a5177 100644 --- a/web/types/glint/index.d.ts +++ b/web/types/glint/index.d.ts @@ -29,12 +29,22 @@ import { HdsCardContainerComponent } from "hds/card/container"; import { HdsTableTdComponent } from "hds/table/td"; import { HdsTableTrComponent } from "hds/table/tr"; import { HdsTableComponent } from "hds/table"; +import AnimatedContainer from "ember-animated/components/animated-container"; +import { AnimatedEachCurly } from "ember-animated/components/animated-each"; +import AnimatedValue from "ember-animated/components/animated-value"; +import AnimatedOrphans from "ember-animated/components/animated-orphans"; +import { AnimatedIfCurly } from "ember-animated/components/animated-if"; declare module "@glint/environment-ember-loose/registry" { export default interface Registry { "did-insert": typeof DidInsertModifier; "will-destroy": typeof WillDestroyModifier; "on-document": typeof OnDocumentHelper; + AnimatedContainer: typeof AnimatedContainer; + AnimatedValue: typeof AnimatedValue; + AnimatedOrphans: typeof AnimatedOrphans; + "animated-each": typeof AnimatedEachCurly; + "animated-if": typeof AnimatedIfCurly; perform: typeof PerformHelper; or: typeof OrHelper; eq: typeof EqHelper;