@financial-times/o-topper 5.2.2 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/MIGRATION.md +1 -1
- package/README.md +2 -1
- package/package.json +6 -3
- package/src/scss/_mixins.scss +8 -0
- package/src/scss/_variables.scss +1 -0
- package/.eslintignore +0 -1
- package/.prettierrc.toml +0 -8
- package/.stylelintignore +0 -1
- package/bower.json +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### [5.3.1](https://www.github.com/Financial-Times/origami/compare/o-topper-v5.3.0...o-topper-v5.3.1) (2022-09-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update n-map-content-to-topper to support alphaville article page branding
|
|
9
|
+
|
|
10
|
+
## [5.3.0](https://www.github.com/Financial-Times/origami/compare/o-topper-v5.2.3...o-topper-v5.3.0) (2022-09-01)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add mattisee o-topper colour for Alphaville
|
|
16
|
+
|
|
17
|
+
### [5.2.3](https://www.github.com/Financial-Times/origami/compare/o-topper-v5.2.2...o-topper-v5.2.3) (2022-01-13)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* expand all uses of docs to documentation ([26f8d9d](https://www.github.com/Financial-Times/origami/commit/26f8d9d8cbbe3e78902d8c3951b37e08150a77bd))
|
|
23
|
+
|
|
3
24
|
### [5.2.2](https://www.github.com/Financial-Times/origami/compare/o-topper-v5.2.1...o-topper-v5.2.2) (2021-12-24)
|
|
4
25
|
|
|
5
26
|
|
package/MIGRATION.md
CHANGED
|
@@ -27,7 +27,7 @@ The velvet topper (previously used to indicate life and arts) has been removed.
|
|
|
27
27
|
|
|
28
28
|
Support for Bower and version 2 of the Origami Build Service have been removed.
|
|
29
29
|
|
|
30
|
-
Follow [the migration guide on the Origami website](https://origami.ft.com/
|
|
30
|
+
Follow [the migration guide on the Origami website](https://origami.ft.com/documentation/tutorials/bower-to-npm/).
|
|
31
31
|
|
|
32
32
|
## Migrating from v2 to v3
|
|
33
33
|
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ This component is used for styling the topper sections of an article.
|
|
|
11
11
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
|
-
Check out [how to include Origami components in your project](https://origami.ft.com/
|
|
14
|
+
Check out [how to include Origami components in your project](https://origami.ft.com/documentation/components/#including-origami-components-in-your-project) to get started with `o-topper`.
|
|
15
15
|
|
|
16
16
|
## Markup
|
|
17
17
|
|
|
@@ -82,6 +82,7 @@ These colors affect the background of the `.o-topper__background` and `.o-topper
|
|
|
82
82
|
.o-topper--color-slate
|
|
83
83
|
.o-topper--color-crimson
|
|
84
84
|
.o-topper--color-sky
|
|
85
|
+
.o-topper--color-matisse
|
|
85
86
|
```
|
|
86
87
|
|
|
87
88
|
## Sass
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/o-topper",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "Article header styling",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"topper",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"start": "npx serve ./demos/local",
|
|
19
19
|
"build": "bash ../../scripts/component/build.bash",
|
|
20
20
|
"test": "bash ../../scripts/component/test.bash",
|
|
21
|
-
"lint": "bash ../../scripts/component/lint.bash"
|
|
21
|
+
"lint": "bash ../../scripts/component/lint.bash",
|
|
22
|
+
"watch": "bash ../../scripts/component/watch.bash"
|
|
22
23
|
},
|
|
23
24
|
"peerDependencies": {
|
|
24
|
-
"@financial-times/n-map-content-to-topper": "^1.5.0",
|
|
25
25
|
"@financial-times/o-colors": "^6.0.1",
|
|
26
26
|
"@financial-times/o-editorial-typography": "^2.0.1",
|
|
27
27
|
"@financial-times/o-grid": "^6.0.0",
|
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
"@financial-times/o-normalise": "^3.2.0",
|
|
35
35
|
"@financial-times/o-typography": "^7.2.0"
|
|
36
36
|
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@financial-times/n-map-content-to-topper": "^2.1.0"
|
|
39
|
+
},
|
|
37
40
|
"engines": {
|
|
38
41
|
"npm": "^7 || ^8"
|
|
39
42
|
},
|
package/src/scss/_mixins.scss
CHANGED
package/src/scss/_variables.scss
CHANGED
package/.eslintignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
demos/local/**
|
package/.prettierrc.toml
DELETED
package/.stylelintignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
demos/local/**
|
package/bower.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "o-topper",
|
|
3
|
-
"main": [
|
|
4
|
-
"main.scss",
|
|
5
|
-
"main.js"
|
|
6
|
-
],
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"o-typography": "^6.0.0",
|
|
9
|
-
"o-editorial-typography": "^1.0.0",
|
|
10
|
-
"o-grid": "^5.0.0",
|
|
11
|
-
"o-colors": "^5.0.0",
|
|
12
|
-
"o-icons": "^6.0.0",
|
|
13
|
-
"o-spacing": "^2.0.0",
|
|
14
|
-
"n-map-content-to-topper": "^1.1.0"
|
|
15
|
-
}
|
|
16
|
-
}
|