@ilo-org/react 0.8.11 → 0.8.13
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
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @ilo-org/react
|
|
2
2
|
|
|
3
|
+
## 0.8.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1c65834a5: Change hero card date position
|
|
8
|
+
- 44e42762f: fixed input border-radius on iOS Safari
|
|
9
|
+
- Updated dependencies [9b1d93031]
|
|
10
|
+
- Updated dependencies [1f7525b0d]
|
|
11
|
+
- Updated dependencies [632a16fcf]
|
|
12
|
+
- Updated dependencies [b8e8265ce]
|
|
13
|
+
- Updated dependencies [7dedac6dd]
|
|
14
|
+
- Updated dependencies [8d912f712]
|
|
15
|
+
- Updated dependencies [50ed7febf]
|
|
16
|
+
- Updated dependencies [44e42762f]
|
|
17
|
+
- @ilo-org/styles@0.11.2
|
|
18
|
+
- @ilo-org/fonts@0.1.2
|
|
19
|
+
|
|
20
|
+
## 0.8.12
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [78f48eff5]
|
|
25
|
+
- Updated dependencies [03b3c26e4]
|
|
26
|
+
- @ilo-org/fonts@0.1.1
|
|
27
|
+
- @ilo-org/styles@0.11.1
|
|
28
|
+
|
|
3
29
|
## 0.8.11
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -29,7 +29,7 @@ const HeroCard = ({ theme = "dark", background = "solid", cornercut = "true", ey
|
|
|
29
29
|
const eyebrowClass = `${baseClass}--eyebrow`;
|
|
30
30
|
const datecopyClass = `${baseClass}--datecopy`;
|
|
31
31
|
const introClass = `${baseClass}--intro`;
|
|
32
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: heroCardClasses }, { children: [eyebrow && jsxRuntime.jsx("p", Object.assign({ className: eyebrowClass }, { children: eyebrow })), jsxRuntime.jsx(HeroCardTitle, { baseclass: baseClass, title: title, url: url }),
|
|
32
|
+
return (jsxRuntime.jsxs("div", Object.assign({ className: heroCardClasses }, { children: [eyebrow && jsxRuntime.jsx("p", Object.assign({ className: eyebrowClass }, { children: eyebrow })), jsxRuntime.jsx(HeroCardTitle, { baseclass: baseClass, title: title, url: url }), intro && jsxRuntime.jsx("p", Object.assign({ className: introClass }, { children: intro })), datecopy && jsxRuntime.jsx("p", Object.assign({ className: datecopyClass }, { children: datecopy })), socialmedia && jsxRuntime.jsx(components_SocialMedia_SocialMedia, Object.assign({}, socialmedia, { theme: theme }))] })));
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
module.exports = HeroCard;
|
|
@@ -27,7 +27,7 @@ const HeroCard = ({ theme = "dark", background = "solid", cornercut = "true", ey
|
|
|
27
27
|
const eyebrowClass = `${baseClass}--eyebrow`;
|
|
28
28
|
const datecopyClass = `${baseClass}--datecopy`;
|
|
29
29
|
const introClass = `${baseClass}--intro`;
|
|
30
|
-
return (jsxs("div", Object.assign({ className: heroCardClasses }, { children: [eyebrow && jsx("p", Object.assign({ className: eyebrowClass }, { children: eyebrow })), jsx(HeroCardTitle, { baseclass: baseClass, title: title, url: url }),
|
|
30
|
+
return (jsxs("div", Object.assign({ className: heroCardClasses }, { children: [eyebrow && jsx("p", Object.assign({ className: eyebrowClass }, { children: eyebrow })), jsx(HeroCardTitle, { baseclass: baseClass, title: title, url: url }), intro && jsx("p", Object.assign({ className: introClass }, { children: intro })), datecopy && jsx("p", Object.assign({ className: datecopyClass }, { children: datecopy })), socialmedia && jsx(SocialMedia, Object.assign({}, socialmedia, { theme: theme }))] })));
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export { HeroCard as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilo-org/react",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.13",
|
|
4
4
|
"description": "React components for the ILO's Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui_patterns",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"react-player": "2.10.1",
|
|
75
75
|
"react-transition-group": "^4.4.1",
|
|
76
76
|
"@ilo-org/brand-assets": "0.2.0",
|
|
77
|
-
"@ilo-org/fonts": "0.1.
|
|
77
|
+
"@ilo-org/fonts": "0.1.2",
|
|
78
78
|
"@ilo-org/icons-react": "0.0.21",
|
|
79
|
-
"@ilo-org/styles": "0.11.
|
|
79
|
+
"@ilo-org/styles": "0.11.2",
|
|
80
80
|
"@ilo-org/themes": "0.6.1",
|
|
81
81
|
"@ilo-org/utils": "0.0.11"
|
|
82
82
|
},
|
|
@@ -55,8 +55,8 @@ const HeroCard: FC<HeroCardProps> = ({
|
|
|
55
55
|
<div className={heroCardClasses}>
|
|
56
56
|
{eyebrow && <p className={eyebrowClass}>{eyebrow}</p>}
|
|
57
57
|
<HeroCardTitle baseclass={baseClass} title={title} url={url} />
|
|
58
|
-
{datecopy && <p className={datecopyClass}>{datecopy}</p>}
|
|
59
58
|
{intro && <p className={introClass}>{intro}</p>}
|
|
59
|
+
{datecopy && <p className={datecopyClass}>{datecopy}</p>}
|
|
60
60
|
{socialmedia && <SocialMedia {...socialmedia} theme={theme} />}
|
|
61
61
|
</div>
|
|
62
62
|
);
|