@itcenteratunihelsinki/huds-lib-react 0.12.2 → 0.12.3
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/README.md +6 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# HUDS react wrapper
|
|
2
2
|
|
|
3
|
+
> ⚠️ **Deprecated:** this package is no longer under active development. Use the University of Helsinki design system at [https://designsystem.helsinki.fi/](https://designsystem.helsinki.fi/) instead.
|
|
4
|
+
|
|
3
5
|
This is a react package provided from [npm](https://www.npmjs.com/package/@itcenteratunihelsinki/huds-lib).
|
|
4
6
|
|
|
5
7
|
Install package with `yarn add @itcenteratunihelsinki/huds-lib-react`
|
|
@@ -8,7 +10,7 @@ After installing with `yarn install` you can easily use Huds components. See exa
|
|
|
8
10
|
## Example
|
|
9
11
|
|
|
10
12
|
```js
|
|
11
|
-
import {
|
|
13
|
+
import {HyQuote, HyHeading} from "@itcenteratunihelsinki/huds-lib-react";
|
|
12
14
|
|
|
13
15
|
export default function TestComponent() {
|
|
14
16
|
return (
|
|
@@ -16,11 +18,9 @@ export default function TestComponent() {
|
|
|
16
18
|
<HyHeading>Test Component</HyHeading>
|
|
17
19
|
<HyQuote quote-signature="Lisa-John Down">
|
|
18
20
|
<p>
|
|
19
|
-
Lorem ipsum dolor sit <strong>amet</strong>, consectetur adipiscing
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
rutrum enim. Nullam finibus iaculis magna, nec vulputate tellus
|
|
23
|
-
accumsan non.
|
|
21
|
+
Lorem ipsum dolor sit <strong>amet</strong>, consectetur adipiscing elit. Ut blandit neque nec dolor porttitor
|
|
22
|
+
lacinia. Mauris porta mi eget nibh rutrum gravida eu id nisl. Ut eget semper augue, sit amet rutrum enim.
|
|
23
|
+
Nullam finibus iaculis magna, nec vulputate tellus accumsan non.
|
|
24
24
|
</p>
|
|
25
25
|
</HyQuote>
|
|
26
26
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcenteratunihelsinki/huds-lib-react",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "HUDS React wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"huds"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"url": "git@version.helsinki.fi:julkiset-sivut/design-system-lib.git"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@itcenteratunihelsinki/huds-lib": "^0.12.
|
|
25
|
+
"@itcenteratunihelsinki/huds-lib": "^0.12.3",
|
|
26
26
|
"tslib": "*"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"build": "npm run tsc",
|
|
44
44
|
"tsc": "tsc"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "db3a301adc41a194388a6809663a7e107b94b920"
|
|
47
47
|
}
|