File tree Expand file tree Collapse file tree 13 files changed +79
-32
lines changed Expand file tree Collapse file tree 13 files changed +79
-32
lines changed Original file line number Diff line number Diff line change 1
1
2
+ v3.1.1 / 2019-06-24
3
+ ==================
4
+
5
+ * Fix navbar formatting #185 from @jenweber
6
+
7
+ v3.1.0 / 2018-06-22
8
+ ==================
9
+
10
+ * add es-section component #175 from @MelSumner
11
+ * [ Doc] Update the Help Wanted link in nav bar #178 from @vasind
12
+ * Updated dnsimple target link in es-footer component from @sivakumar-kailasam
13
+
2
14
v3.0.0 / 2018-05-23
3
15
==================
4
16
Original file line number Diff line number Diff line change 19
19
>
20
20
{{ link.name }}
21
21
</a >
22
- <ul class =" dropdown" role =" menu" aria-label ={{ link.name }} >
22
+ <ul class =" dropdown dropdown-menu " role =" menu" aria-label ={{ link.name }} >
23
23
{{ #each link.items as |item |}}
24
24
{{ #if (eq item.type " link" )}}
25
25
<li role =" none" >
Original file line number Diff line number Diff line change
1
+ import Component from '@ember/component' ;
2
+ import layout from '../templates/components/es-section' ;
3
+
4
+ export default Component . extend ( {
5
+ layout
6
+ } ) ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const contributorLinks = [{
32
32
} , {
33
33
name : 'Resolved with:' ,
34
34
title : "Dnsimple" ,
35
- href : 'https://dnsimple.com /resolving/ emberjs' ,
35
+ href : 'https://dnsimple.link /resolving- emberjs' ,
36
36
class : 'dnsimple-logo-dark'
37
37
} ] ;
38
38
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ export default [{
25
25
type : 'dropdown' ,
26
26
items : [ {
27
27
href : 'https://emberjs.com/releases' ,
28
- name : 'Channels' ,
28
+ name : 'Overview' ,
29
+ type : 'link'
30
+ } , {
31
+ href : 'https://emberjs.com/releases/lts' ,
32
+ name : '→ LTS' ,
29
33
type : 'link'
30
34
} , {
31
35
href : 'https://emberjs.com/releases/release' ,
@@ -41,13 +45,17 @@ export default [{
41
45
type : 'link'
42
46
} , {
43
47
type : 'divider'
48
+ } , {
49
+ href : 'https://emberjs.com/editions' ,
50
+ name : 'Editions' ,
51
+ type : 'link'
44
52
} , {
45
53
href : 'https://deprecations.emberjs.com' ,
46
54
name : 'Deprecations' ,
47
55
type : 'link'
48
56
} , {
49
- href : 'https://emberjs .com/statusboard ' ,
50
- name : 'Status Board ' ,
57
+ href : 'https://github .com/emberjs/rfc-tracking/issues ' ,
58
+ name : 'RFC Tracking ' ,
51
59
type : 'link'
52
60
} ]
53
61
} , {
Original file line number Diff line number Diff line change @@ -109,10 +109,6 @@ ul[role="menubar"] > li.dropdown > a:after {
109
109
border-left : 4px solid transparent ;
110
110
}
111
111
112
- ul [role = " menubar" ][aria-expanded = " true" ] ul [role = " menu" ]{
113
- top : 0 !important ;
114
- }
115
-
116
112
ul [role = " menubar" ] ul [role = " menu" ] {
117
113
display : none ;
118
114
width : 100% ;
Original file line number Diff line number Diff line change
1
+ .es-section {
2
+
3
+ & .dark {
4
+ background-color : $black ;
5
+ color : $white ;
6
+ }
7
+ & .accent {
8
+ .es-heading {
9
+ color : $orange ;
10
+ }
11
+ }
12
+ }
Original file line number Diff line number Diff line change 11
11
@import ' ember-bootstrap/navbar' ;
12
12
@import ' ember-bootstrap/transitions' ;
13
13
14
+ @import ' es-accordion' ;
14
15
@import ' es-aside' ;
16
+ @import ' es-blog-heading' ;
15
17
@import ' es-button' ;
16
18
@import ' es-buttonbar' ;
17
19
@import ' es-card' ;
21
23
@import ' es-heading' ;
22
24
@import ' es-main' ;
23
25
@import ' es-navbar' ;
24
- @import ' es-ulist' ;
25
26
@import ' es-note' ;
26
- @import ' es-accordion ' ;
27
- @import ' es-blog-heading ' ;
27
+ @import ' es-section ' ;
28
+ @import ' es-ulist ' ;
28
29
29
30
h1 , h2 , h3 , h4 , h5 , h6 {
30
31
-webkit-font-smoothing : antialiased ;
@@ -38,24 +39,6 @@ body {
38
39
color : $black ;
39
40
padding : 0 ;
40
41
margin : 0 ;
41
- // .pagewrapper-aside {
42
- // display: grid;
43
- // grid-gap: 20px;
44
- // grid-template-areas: "header" "content" "sidebar" "footer";
45
- // @media (min-width: 600px) {
46
- // grid-template-columns: 1fr 3fr;
47
- // grid-template-areas: "header header" "sidebar content" "footer footer";
48
- // }
49
- // }
50
- // .pagewrapper {
51
- // display: grid;
52
- // grid-gap: 20px;
53
- // grid-template-areas: "header" "content" "footer";
54
- // @media (min-width: 600px) {
55
- // grid-template-columns: 1fr;
56
- // grid-template-areas: "header" "content" "footer";
57
- // }
58
- // }
59
42
}
60
43
61
44
section {
Original file line number Diff line number Diff line change
1
+ {{ yield }}
Original file line number Diff line number Diff line change
1
+ export { default } from 'ember-styleguide/components/es-section' ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ember-styleguide" ,
3
- "version" : " 3.0.0 " ,
3
+ "version" : " 3.1.1 " ,
4
4
"description" : " Addon to help standardize the ember family of websites" ,
5
5
"keywords" : [
6
6
" ember-addon"
Original file line number Diff line number Diff line change 1
1
{{ docs-header }}
2
- {{ outlet }}
2
+ <main >
3
+ {{ outlet }}
4
+ </main >
Original file line number Diff line number Diff line change
1
+ import { module , test } from 'qunit' ;
2
+ import { setupRenderingTest } from 'ember-qunit' ;
3
+ import { render } from '@ember/test-helpers' ;
4
+ import hbs from 'htmlbars-inline-precompile' ;
5
+
6
+ module ( 'Integration | Component | es-section' , function ( hooks ) {
7
+ setupRenderingTest ( hooks ) ;
8
+
9
+ test ( 'it renders' , async function ( assert ) {
10
+ // Set any properties with this.set('myProperty', 'value');
11
+ // Handle any actions with this.set('myAction', function(val) { ... });
12
+
13
+ await render ( hbs `{{es-section}}` ) ;
14
+
15
+ assert . equal ( this . element . textContent . trim ( ) , '' ) ;
16
+
17
+ // Template block usage:
18
+ await render ( hbs `
19
+ {{#es-section}}
20
+ template block text
21
+ {{/es-section}}
22
+ ` ) ;
23
+
24
+ assert . equal ( this . element . textContent . trim ( ) , 'template block text' ) ;
25
+ } ) ;
26
+ } ) ;
You can’t perform that action at this time.
0 commit comments