@lukfel/ng-scaffold 21.1.43 → 21.1.44
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 +31 -4
- package/fesm2022/lukfel-ng-scaffold.mjs +109 -159
- package/fesm2022/lukfel-ng-scaffold.mjs.map +1 -1
- package/package.json +2 -3
- package/styles/_animations.scss +63 -0
- package/styles/_variables.scss +10 -1
- package/styles/style.scss +1 -0
- package/types/lukfel-ng-scaffold.d.ts +46 -28
package/README.md
CHANGED
|
@@ -403,7 +403,9 @@ In addition to the scaffold components provided by default by the the `ScaffoldC
|
|
|
403
403
|
* **Note:** Standalone components must be imported manually and are not part of the `ScaffoldComponent` import
|
|
404
404
|
|
|
405
405
|
### List
|
|
406
|
-
A standalone Material Design inspired list and table hybrid component for displaying structured
|
|
406
|
+
A standalone Material Design inspired list and table hybrid component for displaying structured
|
|
407
|
+
collections of items. It supports avatars, titles, subtitles, actions, selections and dragging —
|
|
408
|
+
making it ideal for dashboards, inventories, and administrative views.
|
|
407
409
|
|
|
408
410
|
```ts
|
|
409
411
|
import { ListComponent } from '@lukfel/ng-scaffold';
|
|
@@ -475,7 +477,9 @@ public onListItemClick(item: ListItem): void {
|
|
|
475
477
|
```
|
|
476
478
|
|
|
477
479
|
### File-Upload
|
|
478
|
-
A standalone Material Design styled button for selecting and uploading files. It wraps a hidden
|
|
480
|
+
A standalone Material Design styled button for selecting and uploading files. It wraps a hidden
|
|
481
|
+
native file input and exposes a simple, customizable interface with built-in icon, tooltip, and
|
|
482
|
+
state management.
|
|
479
483
|
|
|
480
484
|
```ts
|
|
481
485
|
import { FileUploadComponent } from '@lukfel/ng-scaffold';
|
|
@@ -497,7 +501,9 @@ public onFileChange(file: File): void {
|
|
|
497
501
|
```
|
|
498
502
|
|
|
499
503
|
### Color-Picker
|
|
500
|
-
A standalone Material Design styled button for picking colors. It wraps a hidden native color
|
|
504
|
+
A standalone Material Design styled button for picking colors. It wraps a hidden native color
|
|
505
|
+
input and exposes a simple, customizable interface with built-in icon, tooltip, and state
|
|
506
|
+
management.
|
|
501
507
|
|
|
502
508
|
```ts
|
|
503
509
|
import { ColorPickerComponent } from '@lukfel/ng-scaffold';
|
|
@@ -518,7 +524,9 @@ public onColorChange(color: string): void {
|
|
|
518
524
|
```
|
|
519
525
|
|
|
520
526
|
### Placeholder
|
|
521
|
-
A
|
|
527
|
+
A standalone UI component designed to display an informative placeholder or empty state when no
|
|
528
|
+
data is available. It provides a structured layout for an icon, heading, message, and optional
|
|
529
|
+
action — helping guide users toward the next step.
|
|
522
530
|
|
|
523
531
|
```ts
|
|
524
532
|
import { PlaceholderComponent } from '@lukfel/ng-scaffold';
|
|
@@ -548,6 +556,25 @@ public onPlaceholderButtonClick(): void {
|
|
|
548
556
|
(buttonClickEvent)="onPlaceholderButtonClick()"></lf-placeholder>
|
|
549
557
|
```
|
|
550
558
|
|
|
559
|
+
### Notification
|
|
560
|
+
A standalone standalone Material Design inspired notification component for displaying transient
|
|
561
|
+
messages to users. It supports different severity levels (primary, accent, warn), optional
|
|
562
|
+
icons, optional actions, and links.
|
|
563
|
+
|
|
564
|
+
```ts
|
|
565
|
+
import { NotificationComponent } from '@lukfel/ng-scaffold';
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
```html
|
|
569
|
+
<lf-notification
|
|
570
|
+
[static]="true"
|
|
571
|
+
color="accent"
|
|
572
|
+
message="This is an info notification with action."
|
|
573
|
+
matIcon="info"
|
|
574
|
+
action="Action"
|
|
575
|
+
(clickEvent)="onNotificationClick()"></lf-notification>
|
|
576
|
+
```
|
|
577
|
+
|
|
551
578
|
|
|
552
579
|
|
|
553
580
|
|