@lucca-front/ng 20.3.0-rc.1 → 20.3.0-rc.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.
Files changed (124) hide show
  1. package/button/index.d.ts +3 -4
  2. package/callout/index.d.ts +10 -2
  3. package/comment/index.d.ts +7 -1
  4. package/core-select/department/index.d.ts +1 -0
  5. package/core-select/index.d.ts +4 -2
  6. package/core-select/user/index.d.ts +1 -0
  7. package/date2/index.d.ts +8 -3
  8. package/dialog/index.d.ts +2 -2
  9. package/fesm2022/lucca-front-ng-api.mjs +6 -6
  10. package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
  11. package/fesm2022/lucca-front-ng-box.mjs +2 -2
  12. package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-button.mjs +9 -13
  14. package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-callout.mjs +35 -12
  16. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  17. package/fesm2022/lucca-front-ng-comment.mjs +10 -4
  18. package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-core-select-department.mjs +10 -1
  20. package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-core-select-user.mjs +1 -0
  22. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-core-select.mjs +5 -1
  24. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-date.mjs +4 -4
  26. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-date2.mjs +44 -12
  28. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-department.mjs +2 -2
  30. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-dialog.mjs +5 -5
  32. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-empty-state.mjs +4 -4
  34. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  35. package/fesm2022/lucca-front-ng-establishment.mjs +4 -4
  36. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  37. package/fesm2022/lucca-front-ng-file-upload.mjs +6 -6
  38. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
  40. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  41. package/fesm2022/lucca-front-ng-footer.mjs +2 -2
  42. package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-form-field.mjs +10 -6
  44. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-formly.mjs +30 -30
  46. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +6 -2
  48. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs.map +1 -1
  49. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +4 -0
  50. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
  51. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +42 -0
  52. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -0
  53. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +40 -31
  54. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  55. package/fesm2022/lucca-front-ng-forms.mjs +19 -26
  56. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  57. package/fesm2022/lucca-front-ng-gauge.mjs +50 -0
  58. package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -0
  59. package/fesm2022/lucca-front-ng-icon.mjs +4 -3
  60. package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
  61. package/fesm2022/lucca-front-ng-inline-message.mjs +2 -2
  62. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  63. package/fesm2022/lucca-front-ng-listbox.mjs +1 -1
  64. package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
  65. package/fesm2022/lucca-front-ng-listing.mjs +3 -3
  66. package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
  67. package/fesm2022/lucca-front-ng-mobile-push.mjs +1 -1
  68. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  69. package/fesm2022/lucca-front-ng-modal.mjs +6 -6
  70. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  71. package/fesm2022/lucca-front-ng-multi-select.mjs +27 -13
  72. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  73. package/fesm2022/lucca-front-ng-option.mjs +8 -8
  74. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  75. package/fesm2022/lucca-front-ng-page-header.mjs +2 -2
  76. package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
  77. package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
  78. package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
  79. package/fesm2022/lucca-front-ng-plg-push.mjs +1 -1
  80. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  81. package/fesm2022/lucca-front-ng-popover.mjs +5 -5
  82. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  83. package/fesm2022/lucca-front-ng-popover2.mjs +2 -2
  84. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  85. package/fesm2022/lucca-front-ng-read-more.mjs +2 -2
  86. package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
  87. package/fesm2022/lucca-front-ng-segmentedControl.mjs +72 -0
  88. package/fesm2022/lucca-front-ng-segmentedControl.mjs.map +1 -0
  89. package/fesm2022/lucca-front-ng-segmentedControlTabs.mjs +99 -0
  90. package/fesm2022/lucca-front-ng-segmentedControlTabs.mjs.map +1 -0
  91. package/fesm2022/lucca-front-ng-select.mjs +2 -2
  92. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  93. package/fesm2022/lucca-front-ng-simple-select.mjs +4 -4
  94. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  95. package/fesm2022/lucca-front-ng-skeleton.mjs +12 -12
  96. package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
  97. package/fesm2022/lucca-front-ng-tag.mjs +8 -5
  98. package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
  99. package/fesm2022/lucca-front-ng-toast.mjs +2 -2
  100. package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
  101. package/fesm2022/lucca-front-ng-tree-select.mjs +3 -2
  102. package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
  103. package/fesm2022/lucca-front-ng-user-popover.mjs +77 -74
  104. package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
  105. package/fesm2022/lucca-front-ng-user.mjs +16 -11
  106. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  107. package/form-field/index.d.ts +6 -2
  108. package/forms/index.d.ts +5 -2
  109. package/forms/rich-text-input/formatters/html/index.d.ts +3 -2
  110. package/forms/rich-text-input/formatters/markdown/index.d.ts +1 -0
  111. package/forms/rich-text-input/formatters/plain-text/index.d.ts +15 -0
  112. package/forms/rich-text-input/index.d.ts +9 -6
  113. package/gauge/index.d.ts +28 -0
  114. package/icon/index.d.ts +3 -2
  115. package/package.json +36 -15
  116. package/schematics/class-prefix/index.js +11 -0
  117. package/schematics/lib/angular-component-ast.js +11 -1
  118. package/segmentedControl/index.d.ts +28 -0
  119. package/segmentedControlTabs/index.d.ts +34 -0
  120. package/src/components/_picker.scss +1 -2
  121. package/tag/index.d.ts +6 -4
  122. package/tree-select/index.d.ts +2 -1
  123. package/user/index.d.ts +2 -1
  124. package/user-popover/index.d.ts +2 -0
package/icon/index.d.ts CHANGED
@@ -1,16 +1,17 @@
1
- import { LuccaIcon } from '@lucca-front/icons';
2
1
  import * as i0 from '@angular/core';
2
+ import { LuccaIcon } from '@lucca-front/icons';
3
3
 
4
4
  declare class IconComponent {
5
5
  icon: LuccaIcon;
6
6
  alt: string;
7
7
  size: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';
8
8
  color: 'primary' | 'secondary' | 'product' | 'error' | 'warning' | 'success' | 'light' | 'placeholder' | 'inherit';
9
+ AI: i0.InputSignalWithTransform<boolean, unknown>;
9
10
  get iconClasses(): {
10
11
  [x: string]: boolean;
11
12
  };
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "lu-icon", never, { "icon": { "alias": "icon"; "required": true; }; "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "lu-icon", never, { "icon": { "alias": "icon"; "required": true; }; "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
14
15
  }
15
16
 
16
17
  export { IconComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucca-front/ng",
3
- "version": "20.3.0-rc.1",
3
+ "version": "20.3.0-rc.2",
4
4
  "description": "A library of icons made by the team @Lucca",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,8 +26,9 @@
26
26
  "@angular/common": "^20.0.0",
27
27
  "@angular/core": "^20.0.0",
28
28
  "@angular/cdk": "^20.0.0",
29
- "@lucca-front/icons": "20.3.0-rc.1",
30
- "@lucca-front/scss": "20.3.0-rc.1",
29
+ "@angular/animations": "^20.0.0",
30
+ "@lucca-front/icons": "20.3.0-rc.2",
31
+ "@lucca-front/scss": "20.3.0-rc.2",
31
32
  "isomorphic-dompurify": "^2.17.0",
32
33
  "date-fns": "^3.6.0",
33
34
  "rxjs": "^7.8.0",
@@ -36,6 +37,7 @@
36
37
  "@lexical/markdown": "^0.30.0",
37
38
  "@lexical/history": "^0.30.0",
38
39
  "@lexical/link": "^0.30.0",
40
+ "@lexical/plain-text": "^0.30.0",
39
41
  "@lexical/rich-text": "^0.30.0",
40
42
  "@lexical/selection": "^0.30.0",
41
43
  "@lexical/utils": "^0.30.0",
@@ -58,6 +60,9 @@
58
60
  "@lexical/link": {
59
61
  "optional": true
60
62
  },
63
+ "@lexical/plain-text": {
64
+ "optional": true
65
+ },
61
66
  "@lexical/rich-text": {
62
67
  "optional": true
63
68
  },
@@ -128,14 +133,14 @@
128
133
  "types": "./core/index.d.ts",
129
134
  "default": "./fesm2022/lucca-front-ng-core.mjs"
130
135
  },
131
- "./core-select": {
132
- "types": "./core-select/index.d.ts",
133
- "default": "./fesm2022/lucca-front-ng-core-select.mjs"
134
- },
135
136
  "./date": {
136
137
  "types": "./date/index.d.ts",
137
138
  "default": "./fesm2022/lucca-front-ng-date.mjs"
138
139
  },
140
+ "./core-select": {
141
+ "types": "./core-select/index.d.ts",
142
+ "default": "./fesm2022/lucca-front-ng-core-select.mjs"
143
+ },
139
144
  "./date2": {
140
145
  "types": "./date2/index.d.ts",
141
146
  "default": "./fesm2022/lucca-front-ng-date2.mjs"
@@ -152,14 +157,14 @@
152
157
  "types": "./divider/index.d.ts",
153
158
  "default": "./fesm2022/lucca-front-ng-divider.mjs"
154
159
  },
155
- "./dropdown": {
156
- "types": "./dropdown/index.d.ts",
157
- "default": "./fesm2022/lucca-front-ng-dropdown.mjs"
158
- },
159
160
  "./empty-state": {
160
161
  "types": "./empty-state/index.d.ts",
161
162
  "default": "./fesm2022/lucca-front-ng-empty-state.mjs"
162
163
  },
164
+ "./dropdown": {
165
+ "types": "./dropdown/index.d.ts",
166
+ "default": "./fesm2022/lucca-front-ng-dropdown.mjs"
167
+ },
163
168
  "./establishment": {
164
169
  "types": "./establishment/index.d.ts",
165
170
  "default": "./fesm2022/lucca-front-ng-establishment.mjs"
@@ -180,18 +185,22 @@
180
185
  "types": "./footer/index.d.ts",
181
186
  "default": "./fesm2022/lucca-front-ng-footer.mjs"
182
187
  },
183
- "./form-field": {
184
- "types": "./form-field/index.d.ts",
185
- "default": "./fesm2022/lucca-front-ng-form-field.mjs"
186
- },
187
188
  "./formly": {
188
189
  "types": "./formly/index.d.ts",
189
190
  "default": "./fesm2022/lucca-front-ng-formly.mjs"
190
191
  },
192
+ "./form-field": {
193
+ "types": "./form-field/index.d.ts",
194
+ "default": "./fesm2022/lucca-front-ng-form-field.mjs"
195
+ },
191
196
  "./forms": {
192
197
  "types": "./forms/index.d.ts",
193
198
  "default": "./fesm2022/lucca-front-ng-forms.mjs"
194
199
  },
200
+ "./gauge": {
201
+ "types": "./gauge/index.d.ts",
202
+ "default": "./fesm2022/lucca-front-ng-gauge.mjs"
203
+ },
195
204
  "./highlight-data": {
196
205
  "types": "./highlight-data/index.d.ts",
197
206
  "default": "./fesm2022/lucca-front-ng-highlight-data.mjs"
@@ -308,6 +317,14 @@
308
317
  "types": "./scrollBox/index.d.ts",
309
318
  "default": "./fesm2022/lucca-front-ng-scrollBox.mjs"
310
319
  },
320
+ "./segmentedControl": {
321
+ "types": "./segmentedControl/index.d.ts",
322
+ "default": "./fesm2022/lucca-front-ng-segmentedControl.mjs"
323
+ },
324
+ "./segmentedControlTabs": {
325
+ "types": "./segmentedControlTabs/index.d.ts",
326
+ "default": "./fesm2022/lucca-front-ng-segmentedControlTabs.mjs"
327
+ },
311
328
  "./select": {
312
329
  "types": "./select/index.d.ts",
313
330
  "default": "./fesm2022/lucca-front-ng-select.mjs"
@@ -403,6 +420,10 @@
403
420
  "./forms/rich-text-input/formatters/markdown": {
404
421
  "types": "./forms/rich-text-input/formatters/markdown/index.d.ts",
405
422
  "default": "./fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs"
423
+ },
424
+ "./forms/rich-text-input/formatters/plain-text": {
425
+ "types": "./forms/rich-text-input/formatters/plain-text/index.d.ts",
426
+ "default": "./fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs"
406
427
  }
407
428
  },
408
429
  "sideEffects": false,
@@ -285,6 +285,17 @@ exports.default = (options) => {
285
285
  "u-paddingInline-end0": "pr-u-paddingInline-end0",
286
286
  "u-insetInline-end0": "pr-u-insetInline-end0",
287
287
  "u-prefersContrastMore": "pr-u-prefersContrastMore",
288
+ "u-border0": "pr-u-border0",
289
+ "u-borderBottom0": "pr-u-borderBottom0",
290
+ "u-borderTop0": "pr-u-borderTop0",
291
+ "u-borderRight0": "pr-u-borderRight0",
292
+ "u-borderLeft0": "pr-u-borderLeft0",
293
+ "u-borderInline0": "pr-u-borderInline0",
294
+ "u-borderBlock0": "pr-u-borderBlock0",
295
+ "u-borderBlockEnd0": "pr-u-borderBlockEnd0",
296
+ "u-borderBlockStart0": "pr-u-borderBlockStart0",
297
+ "u-borderInlineStart0": "pr-u-borderInlineStart0",
298
+ "u-borderInlineEnd0": "pr-u-borderInlineEnd0",
288
299
  },
289
300
  variables: {},
290
301
  mixins: {}
@@ -122,6 +122,7 @@ function insertAngularImportIfNeeded(sourceFile, fileToEdit, symbolName) {
122
122
  }
123
123
  let insertPos = 0;
124
124
  let needsComma = true;
125
+ let insertContent = symbolName;
125
126
  (0, typescript_1.forEachChild)(sourceFile, (0, angular_template_1.createVisitor)(typescript_1.isDecorator, (decorator) => {
126
127
  if (!(0, typescript_1.isCallExpression)(decorator.expression)) {
127
128
  return;
@@ -151,9 +152,18 @@ function insertAngularImportIfNeeded(sourceFile, fileToEdit, symbolName) {
151
152
  needsComma = false;
152
153
  }
153
154
  }
155
+ else {
156
+ // There is no imports at all, add them !
157
+ const allParams = argument.properties
158
+ .filter(typescript_1.isPropertyAssignment);
159
+ insertPos = allParams[allParams.length - 1].pos;
160
+ needsComma = false;
161
+ insertContent = `
162
+ imports: [${insertContent}],`;
163
+ }
154
164
  }));
155
165
  if (insertPos > 0) {
156
- return new change_1.InsertChange(fileToEdit, insertPos, needsComma ? `, ${symbolName}` : symbolName);
166
+ return new change_1.InsertChange(fileToEdit, insertPos, needsComma ? `, ${insertContent}` : insertContent);
157
167
  }
158
168
  return new change_1.NoopChange();
159
169
  }
@@ -0,0 +1,28 @@
1
+ import * as _angular_forms from '@angular/forms';
2
+ import * as _angular_core from '@angular/core';
3
+ import * as _lucca_front_ng_segmentedControl from '@lucca-front/ng/segmentedControl';
4
+ import { PortalContent } from '@lucca-front/ng/core';
5
+ import * as i1 from '@lucca-front/ng/forms';
6
+
7
+ declare class SegmentedControlFilterComponent<T = unknown> {
8
+ protected segmentedControlRef: _lucca_front_ng_segmentedControl.SegmentedControlComponent;
9
+ disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
10
+ value: _angular_core.InputSignal<T>;
11
+ id: string;
12
+ name: string;
13
+ label: _angular_core.InputSignal<PortalContent>;
14
+ get formControl(): _angular_forms.FormControl<any>;
15
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlFilterComponent<any>, never>;
16
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlFilterComponent<any>, "lu-segmented-control-filter", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
17
+ }
18
+
19
+ declare class SegmentedControlComponent {
20
+ ngControl: _angular_forms.FormControlDirective | _angular_forms.FormControlName | _angular_forms.NgModel;
21
+ small: _angular_core.InputSignalWithTransform<boolean, unknown>;
22
+ vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
+ id: string;
24
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
25
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlComponent, "lu-segmented-control", never, { "small": { "alias": "small"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
26
+ }
27
+
28
+ export { SegmentedControlComponent, SegmentedControlFilterComponent };
@@ -0,0 +1,34 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { AfterContentInit, ElementRef } from '@angular/core';
3
+ import * as _lucca_front_ng_segmentedControlTabs from '@lucca-front/ng/segmentedControlTabs';
4
+ import { PortalContent } from '@lucca-front/ng/core';
5
+ import * as i1 from '@lucca-front/ng/forms';
6
+
7
+ declare class SegmentedControlTabsPanelComponent<T = unknown> {
8
+ protected segmentedControlTabsRef: _lucca_front_ng_segmentedControlTabs.SegmentedControlTabsComponent<unknown>;
9
+ label: _angular_core.InputSignal<PortalContent>;
10
+ value: _angular_core.InputSignal<T>;
11
+ id: number;
12
+ panelId: string;
13
+ labelId: string;
14
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlTabsPanelComponent<any>, never>;
15
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlTabsPanelComponent<any>, "lu-segmented-control-tabs-panel", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
16
+ }
17
+
18
+ declare class SegmentedControlTabsComponent<T = unknown> implements AfterContentInit {
19
+ small: _angular_core.InputSignalWithTransform<boolean, unknown>;
20
+ vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
21
+ id: string;
22
+ tabs: _angular_core.Signal<readonly SegmentedControlTabsPanelComponent<T>[]>;
23
+ tabButtons: _angular_core.Signal<readonly ElementRef<HTMLButtonElement>[]>;
24
+ active: _angular_core.ModelSignal<T>;
25
+ currentIndex: _angular_core.Signal<number>;
26
+ previous(): void;
27
+ next(): void;
28
+ setActiveTab(index: number): void;
29
+ ngAfterContentInit(): void;
30
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlTabsComponent<any>, never>;
31
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlTabsComponent<any>, "lu-segmented-control-tabs", never, { "small": { "alias": "small"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, ["tabs"], ["*"], true, [{ directive: typeof i1.NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
32
+ }
33
+
34
+ export { SegmentedControlTabsComponent, SegmentedControlTabsPanelComponent };
@@ -1,5 +1,4 @@
1
1
  @use 'popover';
2
- @use '@lucca-front/scss/src/commons/utils/a11y';
3
2
 
4
3
  @layer components {
5
4
  .lu-picker-panel {
@@ -131,7 +130,7 @@
131
130
 
132
131
  &:not(:hover, :has(.is-highlighted)) {
133
132
  .link {
134
- @include a11y.mask;
133
+ opacity: 0.0001;
135
134
  }
136
135
  }
137
136
  }
package/tag/index.d.ts CHANGED
@@ -1,13 +1,14 @@
1
+ import * as _angular_core from '@angular/core';
1
2
  import { LuccaIcon } from '@lucca-front/icons';
2
3
  import { Palette, DecorativePalette } from '@lucca-front/ng/core';
3
- import * as i0 from '@angular/core';
4
4
 
5
5
  declare class TagComponent {
6
+ withEllipis: _angular_core.InputSignalWithTransform<boolean, unknown>;
6
7
  label: string;
7
8
  /**
8
9
  * Which size should the callout be? Defaults to medium
9
10
  */
10
- size: 'M' | 'L';
11
+ size: 'S' | 'M' | 'L';
11
12
  /**
12
13
  * Which palette should be used for the entire callout.
13
14
  * Defaults to none (inherits parent palette)
@@ -26,11 +27,12 @@ declare class TagComponent {
26
27
  * Defaults to no icon.
27
28
  */
28
29
  icon: LuccaIcon | undefined;
30
+ AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
29
31
  get tagClasses(): {
30
32
  [x: string]: boolean;
31
33
  };
32
- static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "label": { "alias": "label"; "required": true; }; "size": { "alias": "size"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "link": { "alias": "link"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, true, never>;
34
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
35
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "withEllipis": { "alias": "withEllipis"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; }; "size": { "alias": "size"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "link": { "alias": "link"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
34
36
  static ngAcceptInputType_outlined: unknown;
35
37
  }
36
38
 
@@ -24,12 +24,13 @@ declare class TreeBranchComponent<T> {
24
24
  selectMany: _angular_core.OutputEmitterRef<T[]>;
25
25
  unselectMany: _angular_core.OutputEmitterRef<T[]>;
26
26
  simpleMode: _angular_core.InputSignalWithTransform<boolean, unknown>;
27
+ depth: _angular_core.InputSignal<number>;
27
28
  constructor();
28
29
  toggle(branchData: TreeNode<T>): void;
29
30
  selectOnlyChildren(branchData: TreeNode<T>): void;
30
31
  flattenTree(branch: TreeNode<T>, excludeRoot?: boolean): T[];
31
32
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeBranchComponent<any>, never>;
32
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeBranchComponent<any>, "lu-tree-branch", never, { "branch": { "alias": "branch"; "required": true; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": true; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "optionComparer": { "alias": "optionComparer"; "required": true; "isSignal": true; }; "selectedOptions": { "alias": "selectedOptions"; "required": false; "isSignal": true; }; "simpleMode": { "alias": "simpleMode"; "required": false; "isSignal": true; }; }, { "toggleOne": "toggleOne"; "selectMany": "selectMany"; "unselectMany": "unselectMany"; }, never, never, true, never>;
33
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeBranchComponent<any>, "lu-tree-branch", never, { "branch": { "alias": "branch"; "required": true; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": true; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "optionComparer": { "alias": "optionComparer"; "required": true; "isSignal": true; }; "selectedOptions": { "alias": "selectedOptions"; "required": false; "isSignal": true; }; "simpleMode": { "alias": "simpleMode"; "required": false; "isSignal": true; }; "depth": { "alias": "depth"; "required": false; "isSignal": true; }; }, { "toggleOne": "toggleOne"; "selectMany": "selectMany"; "unselectMany": "unselectMany"; }, never, never, true, never>;
33
34
  }
34
35
 
35
36
  export { TreeBranchComponent, TreeSelectDirective };
package/user/index.d.ts CHANGED
@@ -159,12 +159,13 @@ declare class LuUserPictureComponent implements OnChanges {
159
159
  initials: string;
160
160
  hasPicture: boolean;
161
161
  pictureHref: string;
162
+ AI: i0.InputSignalWithTransform<boolean, unknown>;
162
163
  style: {};
163
164
  ngOnChanges(): void;
164
165
  pictureError(): void;
165
166
  private getNameHue;
166
167
  static ɵfac: i0.ɵɵFactoryDeclaration<LuUserPictureComponent, never>;
167
- static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; }; "user": { "alias": "user"; "required": false; }; }, {}, never, never, true, never>;
168
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; }; "user": { "alias": "user"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
168
169
  }
169
170
 
170
171
  /**
@@ -65,6 +65,7 @@ declare class LuUserPopoverComponent {
65
65
  #private;
66
66
  luUser: _angular_core.Signal<_lucca_front_ng_user.ILuUser>;
67
67
  intl: LuPopupEmployeeTranslations;
68
+ skeletonWidths: string[];
68
69
  employee$: Observable<LuUserPopover>;
69
70
  userPictureDisplay$: Observable<"img" | "initials">;
70
71
  userPictureHref$: Observable<string>;
@@ -73,6 +74,7 @@ declare class LuUserPopoverComponent {
73
74
  color: number;
74
75
  }>;
75
76
  pictureError(): void;
77
+ getRandomPercent(min?: number, max?: number): string;
76
78
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuUserPopoverComponent, never>;
77
79
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuUserPopoverComponent, "lu-user-popover-content", never, {}, {}, never, never, true, never>;
78
80
  }