Skip to content

Commit 9e6cb92

Browse files
committed
- card and card-groups added
- markdown renderer added - cast helper added - examples and demos updated
1 parent 7f5c556 commit 9e6cb92

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1806
-24
lines changed

angular.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
"schematics": {
66
"@schematics/angular:component": {
77
"style": "scss",
8-
"skipTests": true
8+
"skipTests": true,
9+
"standalone": true
910
},
1011
"@schematics/angular:class": {
1112
"skipTests": true
1213
},
1314
"@schematics/angular:directive": {
14-
"skipTests": true
15+
"skipTests": true,
16+
"standalone": true
1517
},
1618
"@schematics/angular:guard": {
1719
"skipTests": true
@@ -20,7 +22,8 @@
2022
"skipTests": true
2123
},
2224
"@schematics/angular:pipe": {
23-
"skipTests": true
25+
"skipTests": true,
26+
"standalone": true
2427
},
2528
"@schematics/angular:service": {
2629
"skipTests": true

projects/fomantic-ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mantic-ui/fomantic-ui-angular",
3-
"version": "15.1.0",
3+
"version": "15.2.0",
44
"scripts": {
55
"copy:fomantic": "npm run copy:accordion && npm run copy:button && npm run copy:checkbox && npm run copy:container && npm run copy:dimmer && npm run copy:divider && npm run copy:dropdown && npm run copy:flag && npm run copy:form && npm run copy:grid && npm run copy:header && npm run copy:icon && npm run copy:image && npm run copy:input && npm run copy:label && npm run copy:list && npm run copy:loader && npm run copy:menu && npm run copy:message && npm run copy:modal && npm run copy:reset && npm run copy:segment && npm run copy:sidebar && npm run copy:site && npm run copy:table && npm run copy:transition",
66
"copy:accordion": "copy ..\\..\\node_modules\\fomantic-ui\\dist\\components\\accordion.css .\\src\\lib\\styles\\components\\accordion.less",
@@ -66,7 +66,7 @@
6666
"peerDependencies": {
6767
"@angular/common": "8 - 15",
6868
"@angular/core": "8 - 15",
69-
"@mantic-ui/angular": "15.0.2"
69+
"@mantic-ui/angular": "15.2.0"
7070
},
7171
"dependencies": {
7272
"tslib": "^2.3.0"

projects/mantic-ui-doc/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mantic-ui/angular-doc",
3-
"version": "15.1.0",
3+
"version": "15.2.0",
44
"description": "mantic UI Components for Documentation for Angular",
55
"author": "KY-Programming",
66
"license": "MIT",
@@ -12,7 +12,7 @@
1212
"peerDependencies": {
1313
"@angular/common": "8 - 15",
1414
"@angular/core": "8 - 15",
15-
"@mantic-ui/angular": "15.0.2",
15+
"@mantic-ui/angular": "15.2.0",
1616
"ngx-highlightjs": "> 4",
1717
"highlight.js": "> 10"
1818
},

projects/mantic-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mantic-ui/angular",
3-
"version": "15.2.0-preview.6",
3+
"version": "15.3.0-preview.3",
44
"description": "mantic UI for Angular",
55
"keywords": [
66
"mantic-ui",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<ng-content></ng-content>

projects/mantic-ui/src/lib/components/card-group/card-group.component.scss

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Component, HostBinding } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
3+
4+
@Component({
5+
selector: 'm-card-group',
6+
standalone: true,
7+
imports: [CommonModule],
8+
templateUrl: './card-group.component.html',
9+
styleUrls: ['./card-group.component.scss']
10+
})
11+
export class CardGroupComponent {
12+
@HostBinding('class.ui')
13+
@HostBinding('class.cards')
14+
protected readonly host = true;
15+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<ng-content></ng-content>

projects/mantic-ui/src/lib/components/card/card.component.scss

Whitespace-only changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { Component, HostBinding } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
3+
4+
@Component({
5+
selector: 'm-card',
6+
templateUrl: './card.component.html',
7+
styleUrls: ['./card.component.scss'],
8+
standalone: true,
9+
imports: [CommonModule]
10+
})
11+
export class CardComponent {
12+
13+
@HostBinding('class.ui')
14+
@HostBinding('class.card')
15+
protected readonly host = true;
16+
}

0 commit comments

Comments
 (0)