1.1.2 • Published 6 months ago

embroider-css-modules-temporary v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

This project uses GitHub Actions for continuous integration. This project is using Percy.io for visual regression testing.

embroider-css-modules-temporary

embroider-css-modules with renamed {{local-class}} helper

  1. Why use this package?
  2. API
  3. Installation
  4. Contributing
  5. License

Why use this package?

Both ember-css-modules and embroider-css-modules provide a helper named {{local-class}} (with different signatures).

When you have a monorepo with many packages that depend on ember-css-modules, you will want to migrate code in increments. This addon provides {{local}} so that you don't run into a name collision.

In any template, you can mix code from ember-css-modules and embroider-css-modules-temporary.

{{! app/templates/application.hbs }}
<div local-class="container">
  Hello world!
</div>

<div class={{local-class "container"}}>
  Hello world!
</div>

<div class={{local this.styles "container-new"}}>
  Hello world!
</div>

Once the migration is complete:

  • Replace embroider-css-modules-temporary with embroider-css-modules

API

Information about API and compatible versions can be found in embroider-css-modules.

Installation

ember install embroider-css-modules-temporary

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

1.1.1

6 months ago

1.1.0

7 months ago

1.1.2

6 months ago

1.0.0

8 months ago

0.1.10

9 months ago

0.1.8

11 months ago

0.1.7

11 months ago

0.1.9

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago