refactor: 💡 convert nav components to nested structure
This commit is contained in:
10 files changed
+10
-27
No files matched your search
@@ -1,10 +0,0 @@
|
||||
import Component from '@ember/component';
|
||||
import layout from '../../../templates/components/rose/nav/breadcrumbs';
|
||||
|
||||
/**
|
||||
* A navigation component with links.
|
||||
*/
|
||||
export default Component.extend({
|
||||
layout,
|
||||
tagName: '',
|
||||
});
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,11 +0,0 @@
|
||||
import Component from '@ember/component';
|
||||
import layout from '../../../templates/components/rose/nav/sidebar';
|
||||
import ComponentAutoId from '../../../mixins/component-auto-id';
|
||||
|
||||
/**
|
||||
* A simple navigation component intended for the sidebar layout region.
|
||||
*/
|
||||
export default Component.extend(ComponentAutoId, {
|
||||
layout,
|
||||
tagName: '',
|
||||
});
|
||||
File renamed without changes.
@@ -0,0 +1,10 @@
|
||||
import Component from '@glimmer/component';
|
||||
import { generateComponentID } from '../../../../utilities/component-auto-id';
|
||||
|
||||
export default class RoseNavSidebarComponent extends Component {
|
||||
|
||||
// =attributes
|
||||
|
||||
id = generateComponentID();
|
||||
|
||||
}
|
||||
File renamed without changes.
@@ -1,6 +0,0 @@
|
||||
import Component from '@ember/component';
|
||||
import layout from '../../../templates/components/rose/nav/tabs';
|
||||
|
||||
export default Component.extend({
|
||||
layout,
|
||||
});
|
||||
File renamed without changes.
Reference in new issue
Block a user