@quadrel-enterprise-ui/qdc-cards 19.0.1-beta.1 → 19.0.2
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 +28 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,25 +1,39 @@
|
|
|
1
1
|
# qdc-card
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Card-style layout components.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 1. Purpose & scope
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Organize content into clean, consistent card layouts with headers, sections, and actions.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 2. Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm i @quadrel-enterprise-ui/qdc-card
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 3. Quick start
|
|
14
22
|
|
|
15
|
-
|
|
23
|
+
Import the module and drop the component in your template.
|
|
16
24
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
25
|
+
```ts
|
|
26
|
+
// app.module.ts
|
|
27
|
+
import { QdcCardLayoutModule } from "@quadrel-enterprise-ui/qdc-card";
|
|
20
28
|
|
|
21
|
-
|
|
29
|
+
@NgModule({
|
|
30
|
+
imports: [QdcCardLayoutModule]
|
|
31
|
+
})
|
|
32
|
+
export class AppModule {}
|
|
33
|
+
```
|
|
22
34
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
```html
|
|
36
|
+
<qdc-card-layout [config]="config"></qdc-card-layout>
|
|
37
|
+
<qdc-card [cardConfig]="cardConfig"></qdc-card>
|
|
38
|
+
...
|
|
39
|
+
```
|