Skip to content

Commit 27392b3

Browse files
authored
Merge pull request #145 from ember-learn/website-redesign-rfc
Tracking Branch for the Ember Website Redesign RFC
2 parents f03492c + e8c460f commit 27392b3

File tree

718 files changed

+30784
-22082
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

718 files changed

+30784
-22082
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
root = true
66

7-
87
[*]
98
end_of_line = lf
109
charset = utf-8

.ember-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
Setting `disableAnalytics` to true will prevent any data from being sent.
77
*/
8-
"disableAnalytics": true
8+
"disableAnalytics": false
99
}

.eslintrc.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
'use strict';
2+
13
module.exports = {
24
root: true,
5+
parser: 'babel-eslint',
36
parserOptions: {
4-
ecmaVersion: 2017,
5-
sourceType: 'module'
7+
ecmaVersion: 2018,
8+
sourceType: 'module',
9+
ecmaFeatures: {
10+
legacyDecorators: true
11+
}
612
},
713
plugins: [
814
'ember'
@@ -15,7 +21,7 @@ module.exports = {
1521
browser: true
1622
},
1723
rules: {
18-
'no-useless-escape': 'off'
24+
'ember/no-jquery': 'error'
1925
},
2026
overrides: [
2127
// node files
@@ -38,8 +44,7 @@ module.exports = {
3844
'tests/dummy/app/**'
3945
],
4046
parserOptions: {
41-
sourceType: 'script',
42-
ecmaVersion: 2015
47+
sourceType: 'script'
4348
},
4449
env: {
4550
browser: false,

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
/node_modules/
1010

1111
# misc
12+
/.env*
13+
/.pnp*
1214
/.sass-cache
1315
/connect.lock
1416
/coverage/
1517
/libpeerconnection.log
1618
/npm-debug.log*
1719
/testem.log
1820
/yarn-error.log
19-
package-lock.json
2021

2122
# ember-try
2223
/.node_modules.ember-try/

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@
99
/.bowerrc
1010
/.editorconfig
1111
/.ember-cli
12+
/.env*
1213
/.eslintignore
1314
/.eslintrc.js
15+
/.git/
1416
/.gitignore
1517
/.template-lintrc.js
1618
/.travis.yml
1719
/.watchmanconfig
1820
/bower.json
1921
/config/ember-try.js
22+
/CONTRIBUTING.md
2023
/ember-cli-build.js
2124
/testem.js
2225
/tests/

.stylelintrc.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ module.exports = {
22
extends: 'stylelint-config-standard',
33
plugins: [
44
'stylelint-declaration-strict-value',
5-
'stylelint-order',
6-
'stylelint-scss'
5+
'stylelint-order'
76
],
87
rules: {
98
// Disables this rule to allow case agnostic color hex values
@@ -18,7 +17,5 @@ module.exports = {
1817
'scale-unlimited/declaration-strict-value': [
1918
['/color/'] // We can enforce variables for font-size, margin, etc as well by adding here
2019
],
21-
// Enforce that variables are all lowercase and dasherized
22-
'scss/dollar-variable-pattern': '^[a-z][a-z-]+$'
2320
}
2421
};

.template-lintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
22

33
module.exports = {
4-
extends: 'recommended',
4+
extends: 'octane'
55
};

.travis.yml

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,49 +3,63 @@ language: node_js
33
node_js:
44
# we recommend testing addons with the same minimum supported node version as Ember CLI
55
# so that your addon works for all apps
6-
- "8"
6+
- "10"
77

8-
sudo: false
98
dist: trusty
109

1110
addons:
1211
chrome: stable
1312

1413
cache:
15-
yarn: true
14+
directories:
15+
- $HOME/.npm
1616

1717
env:
1818
global:
1919
# See https://git.io/vdao3 for details.
2020
- JOBS=1
21+
- PERCY_ENABLE=0 # disable percy by default
22+
23+
branches:
24+
only:
25+
# test the PRS to website-redesign-rfc
26+
- website-redesign-rfc
27+
- master
28+
# npm version tags
29+
- /^v\d+\.\d+\.\d+/
2130

2231
jobs:
23-
fail_fast: true
32+
fast_finish: true
2433
allow_failures:
2534
- env: EMBER_TRY_SCENARIO=ember-canary
2635

2736
include:
2837
# runs linting and tests with current locked deps
29-
3038
- stage: "Tests"
3139
name: "Tests"
40+
env:
41+
- PERCY_ENABLE=1
3242
script:
33-
- yarn lint:hbs
34-
- yarn lint:js
35-
- yarn test
43+
- npm run lint
44+
- npm run test:ember
45+
46+
- stage: "Additional Tests"
47+
name: "Floating Dependencies"
48+
install:
49+
- npm install --no-package-lock
50+
script:
51+
- npm run test:ember
3652

3753
# we recommend new addons test the current and previous LTS
3854
# as well as latest stable release (bonus points to beta/canary)
39-
- stage: "Additional Tests"
40-
env: EMBER_TRY_SCENARIO=ember-lts-2.18
41-
- env: EMBER_TRY_SCENARIO=ember-lts-3.4
55+
- env: EMBER_TRY_SCENARIO=ember-lts-3.8
56+
- env: EMBER_TRY_SCENARIO=ember-lts-3.12
57+
- env: EMBER_TRY_SCENARIO=ember-lts-3.16
4258
- env: EMBER_TRY_SCENARIO=ember-release
4359
- env: EMBER_TRY_SCENARIO=ember-beta
4460
- env: EMBER_TRY_SCENARIO=ember-canary
4561
- env: EMBER_TRY_SCENARIO=ember-default-with-jquery
46-
47-
before_install:
48-
- npm config set spin false
62+
- env: EMBER_TRY_SCENARIO=ember-classic
4963

5064
script:
5165
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO

CHANGELOG.md

Lines changed: 134 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,136 @@
11

2+
4.0.0-14 / 2020-03-04
3+
==================
4+
5+
* manually run postcss and add it to vendor #297 from @mansona
6+
* fix bg-none css helper #298 from @mansona
7+
8+
4.0.0-13 / 2020-02-24
9+
==================
10+
11+
* Remove isDevelopingAddon config #296 from @sivakumar
12+
13+
4.0.0-12 / 2020-02-21
14+
==================
15+
16+
* implement new footer design #295 from @mansona
17+
18+
4.0.0-11 / 2020-02-17
19+
==================
20+
21+
* Add bg-none CSS helper to reset background #293 from @melsumner
22+
* remove EsPageHeader component #287 from @mansona
23+
* Update EsButton CSS to fix border radius #282 from @melsumner
24+
25+
4.0.0-10 / 2020-02-04
26+
==================
27+
28+
* Add docs for the new Cards API #280 from @mansona
29+
* Improve the ESCard API #279 from @pichfl
30+
* use high-contrast brand colour for secondary button text #278 from @mansona
31+
32+
4.0.0-9 / 2020-01-30
33+
==================
34+
35+
* make the footer look more like the design #275 from @mansona
36+
* add netlify as a sponsor #275 from @mansona
37+
* move css helpers so that they have higher precidence than `container` and `list-unstyled` #274 from @mansona
38+
* add "dotted texture" to the background svg for the bg-shape-swipe-top #274 from @mansona
39+
* stop including all svgs in svg-jar #274 from @mansona
40+
* lighten border color of card when on a dark background #274 from @mansona
41+
42+
4.0.0-8 / 2020-01-17
43+
==================
44+
45+
* Small SVG fixes for homepage background shapes #269 from @mansona
46+
* Fix hover state on cards in a dark background #267 from @mansona
47+
48+
4.0.0-7 / 2020-01-16
49+
==================
50+
51+
* Add styling for secondary buttons and links #260 from @pichfl
52+
* Fix dropdown caret for navbar #260 from @pichfl
53+
54+
4.0.0-6 / 2020-01-11
55+
==================
56+
57+
* fix Heroku logo breaking survey pages #263 from @mansona
58+
* make hide-on-mobile !important #262 from @mansona
59+
60+
4.0.0-5 / 2020-01-10
61+
==================
62+
63+
* add hide-on-mobile helper #261 from @mansona
64+
65+
4.0.0-4 / 2020-01-07
66+
==================
67+
68+
* Fix nav-links and footer infoLinks overrides #259 from @mansona
69+
* Add custom property for mono font stack #258 from @pichfl
70+
71+
4.0.0-3 / 2019-11-25
72+
==================
73+
74+
* Scope link styling to main element #257 from @pichfl
75+
76+
4.0.0-2 / 2019-11-22
77+
==================
78+
79+
* Fix inline link styling #252 from @pichfl
80+
* Implemented `.well` css helper and added documentation #251 from @pichfl
81+
* Significant font/spacing/padding/margin rework to align with the design #249 from @pichfl
82+
83+
4.0.0-1 / 2019-11-15
84+
==================
85+
86+
* Helper for responsive video embeds #246 from @pichfl
87+
* Overhaul Sizes, Layout and Grids #245 from @pichfl
88+
* Add presentation role to image in es-card if its alternate text is empty string #243 from @ijlee2
89+
* Add link underlines back #240 from @ghislaineguerin
90+
* Update and cleanup CSS variables and related helpers #239 from @pichfl
91+
* Add outside spacing for containers on mobile #238 from @pichfl
92+
93+
4.0.0-0 / 2019-10-28
94+
==================
95+
96+
* Implement new Card Component #218 from @ghislaineguerin and @mansona
97+
* Remove unused documentation #230 from @mansona
98+
* Add more Css Helpers #221 from @ghislaineguerin
99+
* Update global navigation to match latest design #227 from @pichfl
100+
* Fixes to Inter font use #226 from @pichfl
101+
* Introduce Inter font #225 from @pichfl
102+
* fix background shape `swipe-top` #223 from @mansona
103+
* small navbar fixes #220 from @mansona
104+
* Fix initial navbar implementation #219 from @mansona
105+
* Set body and text color #213 from @ghislaineguerin
106+
* improve typography and color docs #214 from @ghislaineguerin
107+
* implementing background shapes #204 from @mansona
108+
* optimising ember-logo.svg with svgo #206 from @mansona
109+
* Initial work on navbar redesign #202 from @MelSumner
110+
* Remove es-ulist #203 from @mansona
111+
* removing tabs implemenation #201 from @mansona
112+
* Use CSS grid for layout classes #199 from @ghislaineguerin
113+
* implementing new footer #197 from @mansona
114+
* add icon classes #196 from @ghislaineguerin
115+
* adding the ability to style links as buttons #195 from @mansona
116+
* Fixing colour documentation on smaller screens #194 from @mansona
117+
* Add offsets and spacing helper classes #193 from @ghislaineguerin
118+
* Fixing tests, travis and turning on Percy #192 from @mansona
119+
* finalising es-page-header #190 from @mansona
120+
* Adding colour contrast test to colour pallet component #189 from @mansona
121+
* Create accessibility docs from @MelSumner
122+
* add primary and secondary palettes #181 from @ghislaineguerin
123+
* Layout classes #177 from @ghislaineguerin
124+
* Add typography styles #176 from @ghislaineguerin
125+
* adding color pallet implementation #174 from @mansona
126+
* Add styling for new nav component #162 from @ghislaineguerin
127+
* documenting page-header and css helper `dark` #161 from @mansona
128+
* using field-guide instead of ember-cli-addon-docs #156, #160, #186 from @ghislaineguerin and @mansona
129+
* Starting typeography implementation #155 from @mansona
130+
* Convert Button to sparkles component #154 from @mansona
131+
* moving over to postcss
132+
* starting out with a blank slate
133+
2134
v3.1.1 / 2019-06-24
3135
==================
4136

@@ -23,9 +155,9 @@ v3.0.0 / 2018-05-23
23155
* Update legal and releases links #159 from @j-brennan
24156
* fixing accessibility bugs on navbar toggle button and footer links #149 from @alexpark90
25157
* Comply with axe-core 2.2 #150 from @wycats
26-
* Update _es-navbar.scss #147 from @melsumner
158+
* Update `_es-navbar.scss` #147 from @melsumner
27159
* Navbar tweaks #146 from @mansona
28-
* Update _es-note.scss #144 from @melsumner
160+
* Update `_es-note.scss` #144 from @melsumner
29161
* fixing z-index of dropdown #143 from @aklkv
30162
* Add closePopupMenu function to navbar service #142 from @patocallaghan
31163
* es-navbar: hide menu items when navbar is closed #140 from @mansona

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# How To Contribute
2+
3+
## Installation
4+
5+
* `git clone <repository-url>`
6+
* `cd my-addon`
7+
* `npm install`
8+
9+
## Linting
10+
11+
* `npm run lint:hbs`
12+
* `npm run lint:js`
13+
* `npm run lint:js -- --fix`
14+
15+
## Running tests
16+
17+
* `ember test` – Runs the test suite on the current Ember version
18+
* `ember test --server` – Runs the test suite in "watch mode"
19+
* `ember try:each` – Runs the test suite against multiple Ember versions
20+
21+
## Running the dummy application
22+
23+
* `ember serve`
24+
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
25+
26+
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017
3+
Copyright (c) 2020
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

0 commit comments

Comments
 (0)