1.1.2 • Published 2 years ago

embroider-css-modules-temporary v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.1.0

2 years ago

1.1.2

2 years ago

1.0.0

2 years ago

0.1.10

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago