@lukfel/ng-scaffold 22.3.1 → 22.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukfel/ng-scaffold",
3
- "version": "22.3.1",
3
+ "version": "22.3.3",
4
4
  "description": "This Angular library provides a basic UI scaffold and services for modern web and mobile apps",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -43,6 +43,10 @@
43
43
  --floating-button-right: 24px;
44
44
  --floating-button-bottom: 24px;
45
45
  --floating-button-snackbar-offset: 56px; // Snackbar surface plus its container margin
46
+ --floating-button-group-radius: var(--mdc-extended-fab-container-shape, 24px);
47
+ --floating-button-group-shadow: 0 3px 5px -1px #0003, 0 6px 10px #00000024, 0 1px 18px #0000001f;
48
+ --floating-button-divider-color: #0000001f;
49
+ --floating-button-secondary-padding: 16px;
46
50
  --floating-button-min-width: 56px;
47
51
  --floating-button-label-max-width: 256px;
48
52
  --floating-button-label-font-size: 16px;
@@ -66,6 +66,7 @@ interface FloatingButtonConfig {
66
66
  autoHide?: boolean;
67
67
  sticky?: boolean;
68
68
  cssClass?: string;
69
+ secondaryButton?: MenuButton;
69
70
  }
70
71
 
71
72
  interface NavigationLink {
@@ -162,7 +163,7 @@ interface ListItem {
162
163
  routerLink?: string | (string | number)[];
163
164
  href?: string;
164
165
  externalTab?: boolean;
165
- buttons?: Button[];
166
+ buttons?: MenuButton[];
166
167
  hiddenButtonIds?: string[];
167
168
  disabledButtonIds?: string[];
168
169
  data?: any;
@@ -173,7 +174,7 @@ interface ListHeader {
173
174
  svgIcon?: string;
174
175
  avatar?: string;
175
176
  items?: ListHeaderItem[];
176
- buttons?: Button[];
177
+ buttons?: MenuButton[];
177
178
  }
178
179
  interface ListConfig {
179
180
  enableSelection?: boolean;
@@ -391,7 +392,7 @@ declare class ListComponent {
391
392
  readonly header: _angular_core.InputSignal<ListHeader | null>;
392
393
  readonly items: _angular_core.InputSignal<ListItem[]>;
393
394
  readonly groupedItems: _angular_core.InputSignal<Map<string, ListItem[]>>;
394
- readonly buttons: _angular_core.InputSignal<Button[]>;
395
+ readonly buttons: _angular_core.InputSignal<MenuButton[]>;
395
396
  readonly dropListId: _angular_core.InputSignal<string | undefined>;
396
397
  readonly connectedDropListIds: _angular_core.InputSignal<string[] | undefined>;
397
398
  readonly sortChangeEvent: _angular_core.OutputEmitterRef<{
@@ -424,7 +425,7 @@ declare class ListComponent {
424
425
  buttonId: string;
425
426
  item: ListItem;
426
427
  }, click: Event): void;
427
- getCombinedButtons(item: ListItem): Button[];
428
+ getCombinedButtons(item: ListItem): MenuButton[];
428
429
  isLink(item: ListItem): boolean;
429
430
  onImageError(event: Event): void;
430
431
  stopPropagation(click: Event): void;