Skip to content

Commit

Permalink
correct app rexport
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 committed Feb 14, 2024
1 parent 4d474ea commit 8c59cc7
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 4.6.5

- Correct app re-exports

## 4.6.4

- Convert to `.gjs`
Expand Down
1 change: 1 addition & 0 deletions app/components/expander.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@zestia/ember-expander/components/expander/index';
39 changes: 39 additions & 0 deletions tests/dummy/app/styles/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* stylelint-disable selector-max-id */

:root {
--collapsed: red;
--expanded: green;
--space: 10px;
}

.expander[data-transitioning='true'] > .expander__content {
overflow: hidden;
}

#ember-testing {
.expander__content {
transition: max-height 100ms;
}

.test-internal-height {
height: 10px;
}
}

.demo {
.expander[data-expanded='false'] > .expander__content {
border: 1px solid var(--collapsed);
}

.expander[data-expanded='true'] > .expander__content {
border: 1px solid var(--expanded);
}

.expander__content {
transition: max-height 1s;
}

.expander__content > .expander {
padding: var(--space);
}
}

0 comments on commit 8c59cc7

Please sign in to comment.