-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(side-by-side): Create loading component (#570)
* chore: Update lockfile version * feat(side-by-side): Create loading component * chore: Update pnpm version to 9 in CI workflows * chore: Update Node.js version to 18.x in CI workflows * chore: Update test
- Loading branch information
Showing
9 changed files
with
7,945 additions
and
5,692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<NrgSideBySide class={{@class}} ...attributes> | ||
<:primary> | ||
<div class="ui basic segment"> | ||
<NrgLoadingIndicator | ||
@loading={{@loading}} | ||
@centered={{@centered}} | ||
@inline={{@inline}} | ||
@text={{@text}} | ||
@inverted={{@inverted}} | ||
@indeterminate={{@indeterminate}} | ||
@size={{@size}} | ||
> | ||
{{yield to="text"}} | ||
</NrgLoadingIndicator> | ||
</div> | ||
{{yield to="primary"}} | ||
</:primary> | ||
<:secondary> | ||
{{yield to="secondary"}} | ||
</:secondary> | ||
</NrgSideBySide> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Component from '@glimmer/component'; | ||
import { AddNrgDeprecations } from 'ember-nrg-ui/utils/deprecation-handler'; | ||
|
||
@AddNrgDeprecations() | ||
export default class NrgSideBySideLoadingComponent extends Component {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from 'ember-nrg-ui/components/nrg-side-by-side/loading'; |
Oops, something went wrong.