Skip to content

Commit

Permalink
chore(release): 2.0.0
Browse files Browse the repository at this point in the history
# [2.0.0](v1.0.0...v2.0.0) (2019-12-02)

### Features

* **modal:** change to a composable component ([#307](#307)) ([ee42813](ee42813))

### BREAKING CHANGES

* **modal:** This removes the default stying of "uk-modal-body", to
migrate to this patch and keep the stying it will have to be changed from:
```hbs
{{#uk-modal}}
  Lorem ipsum
{{/uk-modal}}
```
to:
```hbs
{{#uk-modal as |modal|}}
  {{#modal.body}}
    Lorem ipsum
  {{/modal.body}}
{{/uk-modal}}
```
The footer can be migrated as follows:
```hbs
{{#uk-modal}}
  <p class="uk-text-right">
    Footer content
  </p>
{{/uk-modal}}
```
to:
```hbs
{{#uk-modal as |modal|}}
  {{#modal.footer class="uk-text-right"}}
    Footer content
  {{/modal.footer}}
{{/uk-modal}}
```
  • Loading branch information
semantic-release-bot authored and Jonas Metzener committed Dec 2, 2019
1 parent 3ee42d0 commit b9da26b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
# [2.0.0](https://github.com/adfinis-sygroup/ember-uikit/compare/v1.0.0...v2.0.0) (2019-12-02)


### Features

* **modal:** change to a composable component ([#307](https://github.com/adfinis-sygroup/ember-uikit/issues/307)) ([ee42813](https://github.com/adfinis-sygroup/ember-uikit/commit/ee42813f7717bd2762da376a4c81bafee5abbbbe))


### BREAKING CHANGES

* **modal:** This removes the default stying of "uk-modal-body", to
migrate to this patch and keep the stying it will have to be changed from:
```hbs
{{#uk-modal}}
Lorem ipsum
{{/uk-modal}}
```
to:
```hbs
{{#uk-modal as |modal|}}
{{#modal.body}}
Lorem ipsum
{{/modal.body}}
{{/uk-modal}}
```
The footer can be migrated as follows:
```hbs
{{#uk-modal}}
<p class="uk-text-right">
Footer content
</p>
{{/uk-modal}}
```
to:
```hbs
{{#uk-modal as |modal|}}
{{#modal.footer class="uk-text-right"}}
Footer content
{{/modal.footer}}
{{/uk-modal}}
```

# [1.0.0](https://github.com/adfinis-sygroup/ember-uikit/compare/v0.9.0...v1.0.0) (2019-11-18)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-uikit",
"version": "1.0.0",
"version": "2.0.0",
"description": "The ember implementation of UIkit",
"keywords": [
"ember-addon",
Expand Down

0 comments on commit b9da26b

Please sign in to comment.