@financial-times/o-teaser 6.2.2 → 6.2.4
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 +15 -0
- package/demos/src/demo.scss +2 -1
- package/package.json +12 -4
- package/src/scss/_mixins.scss +3 -0
- package/src/scss/elements/_default.scss +0 -1
- package/src/scss/themes/_hero.scss +11 -0
- package/.eslintignore +0 -1
- package/.prettierrc.toml +0 -8
- package/.stylelintignore +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### [6.2.4](https://www.github.com/Financial-Times/origami/compare/o-teaser-v6.2.3...o-teaser-v6.2.4) (2022-12-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* o-teaser, image hero meta contrast ([6b39c4e](https://www.github.com/Financial-Times/origami/commit/6b39c4e2ef3e2765510468bd37d6ad6b26a56908))
|
|
9
|
+
* require 3.3.0 or higher ([fc180c6](https://www.github.com/Financial-Times/origami/commit/fc180c619755daa1b7bfe65509f354cf0de113bf))
|
|
10
|
+
|
|
11
|
+
### [6.2.3](https://www.github.com/Financial-Times/origami/compare/o-teaser-v6.2.2...o-teaser-v6.2.3) (2022-12-15)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* o-teaser, update demos to show focus states ([c0b0454](https://www.github.com/Financial-Times/origami/commit/c0b045475dbac8a2b89a4b496d9785b06bc74ebf))
|
|
17
|
+
|
|
3
18
|
### [6.2.2](https://www.github.com/Financial-Times/origami/compare/o-teaser-v6.2.1...o-teaser-v6.2.2) (2022-01-13)
|
|
4
19
|
|
|
5
20
|
|
package/demos/src/demo.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/o-teaser",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.4",
|
|
4
4
|
"description": "Provides styling for teaser elements, which contain information about an article and link through to it",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"article",
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
"start": "npx serve ./demos/local",
|
|
20
20
|
"build": "bash ../../scripts/component/build.bash",
|
|
21
21
|
"test": "bash ../../scripts/component/test.bash",
|
|
22
|
-
"
|
|
22
|
+
"debug:js": "bash ../../scripts/component/debug-js.bash",
|
|
23
|
+
"lint": "bash ../../scripts/component/lint.bash",
|
|
24
|
+
"watch": "bash ../../scripts/component/watch.bash"
|
|
23
25
|
},
|
|
24
26
|
"peerDependencies": {
|
|
25
27
|
"@financial-times/o-colors": "^6.0.1",
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
},
|
|
33
35
|
"devDependencies": {
|
|
34
36
|
"@financial-times/o-date": "^5.2.0",
|
|
35
|
-
"@financial-times/o-normalise": "^3.
|
|
37
|
+
"@financial-times/o-normalise": "^3.3.0"
|
|
36
38
|
},
|
|
37
39
|
"engines": {
|
|
38
40
|
"npm": "^7 || ^8"
|
|
@@ -42,5 +44,11 @@
|
|
|
42
44
|
"npm": "7.11.1"
|
|
43
45
|
},
|
|
44
46
|
"percy": true,
|
|
45
|
-
"private": false
|
|
47
|
+
"private": false,
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"date-fns": "^1.29.0",
|
|
50
|
+
"dateformat": "^3.0.3",
|
|
51
|
+
"dompurify": "^2.3.9",
|
|
52
|
+
"html-react-parser": "^3.0.1"
|
|
53
|
+
}
|
|
46
54
|
}
|
package/src/scss/_mixins.scss
CHANGED
|
@@ -120,9 +120,20 @@
|
|
|
120
120
|
pointer-events: auto;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
.o-teaser__tag-suffix {
|
|
124
|
+
color: inherit;
|
|
125
|
+
}
|
|
126
|
+
|
|
123
127
|
.o-teaser__meta:after {
|
|
124
128
|
border-bottom-color: oColorsByName('white');
|
|
125
129
|
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
.o-teaser__tag:hover,
|
|
133
|
+
.o-teaser__tag:focus {
|
|
134
|
+
color: inherit;
|
|
135
|
+
outline-color: inherit;
|
|
136
|
+
}
|
|
126
137
|
}
|
|
127
138
|
}
|
|
128
139
|
|
package/.eslintignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
demos/local/**
|
package/.prettierrc.toml
DELETED
package/.stylelintignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
demos/local/**
|