@mantic-ui/fomantic-ui-angular 13.0.0 → 15.0.0
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 +15 -0
- package/esm2020/lib/fomantic-ui-theme/fomantic-ui-theme.component.mjs +6 -6
- package/esm2020/lib/fomantic-ui.module.mjs +6 -8
- package/fesm2015/mantic-ui-fomantic-ui-angular.mjs +10 -12
- package/fesm2015/mantic-ui-fomantic-ui-angular.mjs.map +1 -1
- package/fesm2020/mantic-ui-fomantic-ui-angular.mjs +10 -12
- package/fesm2020/mantic-ui-fomantic-ui-angular.mjs.map +1 -1
- package/{mantic-ui-fomantic-ui-angular.d.ts → index.d.ts} +0 -0
- package/lib/fomantic-ui-theme/fomantic-ui-theme.component.d.ts +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
Requires [@mantic-ui/angular](https://www.npmjs.com/package/@mantic-ui/angular)
|
|
8
8
|
|
|
9
|
+
## !!! This theme is currently not yet fully implemented and tested, and probably contains some bugs. So please use the [Semantic UI Theme](https://www.npmjs.com/package/@mantic-ui/semantic-ui-angular) !!!
|
|
10
|
+
|
|
9
11
|
## Example
|
|
12
|
+
|
|
10
13
|
A common button with some styling
|
|
11
14
|
|
|
12
15
|

|
|
@@ -21,6 +24,7 @@ A common button with some styling
|
|
|
21
24
|
````
|
|
22
25
|
|
|
23
26
|
## Getting Started with Fomantic UI Theme
|
|
27
|
+
|
|
24
28
|
Install base package for angular and Fomantic UI theme
|
|
25
29
|
|
|
26
30
|
```
|
|
@@ -28,7 +32,9 @@ npm i @mantic-ui/angular @mantic-ui/fomantic-ui-angular
|
|
|
28
32
|
```
|
|
29
33
|
|
|
30
34
|
### Import theme in AppModule
|
|
35
|
+
|
|
31
36
|
app.module.ts
|
|
37
|
+
|
|
32
38
|
```
|
|
33
39
|
import { FomanticUiModule } from '@mantic-ui/fomantic-ui-angular';
|
|
34
40
|
|
|
@@ -42,7 +48,9 @@ export class AppModule { }
|
|
|
42
48
|
```
|
|
43
49
|
|
|
44
50
|
### Apply style in AppComponent
|
|
51
|
+
|
|
45
52
|
app.component.html
|
|
53
|
+
|
|
46
54
|
```
|
|
47
55
|
<m-fomantic-ui-theme>
|
|
48
56
|
<!-- Import common styles for site -->
|
|
@@ -53,14 +61,19 @@ app.component.html
|
|
|
53
61
|
<m-fomantic-ui-lato-local></m-fomantic-ui-lato-local>
|
|
54
62
|
</m-fomantic-ui-theme>
|
|
55
63
|
```
|
|
64
|
+
|
|
56
65
|
As alternative for <m-fomantic-ui-theme>, you can use a CDN
|
|
66
|
+
|
|
57
67
|
```
|
|
58
68
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.4.2/dist/fomantic.min.css">
|
|
59
69
|
```
|
|
70
|
+
|
|
60
71
|
Or install via [Fomantic Docs](https://fomantic-ui.com/introduction/getting-started.html)
|
|
61
72
|
|
|
62
73
|
### Configure package assets usage
|
|
74
|
+
|
|
63
75
|
angular.json
|
|
76
|
+
|
|
64
77
|
```
|
|
65
78
|
"projects": {
|
|
66
79
|
"<your-project-name>": {
|
|
@@ -83,9 +96,11 @@ angular.json
|
|
|
83
96
|
```
|
|
84
97
|
|
|
85
98
|
## Credits
|
|
99
|
+
|
|
86
100
|
Original css from [Fomantic UI](https://fomantic-ui.com/)
|
|
87
101
|
|
|
88
102
|
## Work-in-progress
|
|
103
|
+
|
|
89
104
|
Currently we are not yet done. So please do not expect a perfect framework
|
|
90
105
|
|
|
91
106
|
If you have a issue, look in our [issue tracker on github](https://github.com/KY-Programming/mantic-ui/issues)
|