@crowdfarming/oliva-ds 1.111.0 → 1.112.0
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/fesm2022/crowdfarming-oliva-ds.mjs +75 -16
- package/fesm2022/crowdfarming-oliva-ds.mjs.map +1 -1
- package/lib/avatar/src/lib/avatar/avatar.component.d.ts +4 -2
- package/lib/icon/src/lib/icon/svg/communication.constant.d.ts +4 -0
- package/lib/icon/src/lib/icon/svg/design.constant.d.ts +2 -0
- package/lib/icon/src/lib/icon/svg/games.constant.d.ts +3 -0
- package/lib/icon/src/lib/icon/svg/index.d.ts +16 -0
- package/lib/icon/src/lib/icon/svg/mapsTravel.constant.d.ts +2 -0
- package/lib/icon/src/lib/icon/svg/mathFinances.constant.d.ts +1 -0
- package/lib/icon/src/lib/icon/svg/officeEditing.constant.d.ts +4 -0
- package/lib/segmented-control/src/lib/segmented-control/segmented-control.component.d.ts +11 -11
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export type AvatarSize = 'lg' | 'md' | 'sm' | 'xs';
|
|
3
3
|
export type AvatarShape = 'circle' | 'square';
|
|
4
4
|
export type AvatarType = 'image' | 'counter' | 'initial' | 'icon';
|
|
5
|
-
export type AvatarInitialStyle = 'green-soft' | '
|
|
5
|
+
export type AvatarInitialStyle = 'green-soft' | 'blue-soft' | 'red-soft' | 'yellow-soft' | 'orange-soft' | 'purple-soft';
|
|
6
6
|
export declare class AvatarComponent {
|
|
7
7
|
readonly size: import("@angular/core").InputSignal<AvatarSize>;
|
|
8
8
|
readonly shape: import("@angular/core").InputSignal<AvatarShape>;
|
|
@@ -14,7 +14,9 @@ export declare class AvatarComponent {
|
|
|
14
14
|
/** Icon shown when no image, initial or counter is provided */
|
|
15
15
|
readonly resolvedIconName: import("@angular/core").Signal<string>;
|
|
16
16
|
readonly type: import("@angular/core").Signal<AvatarType>;
|
|
17
|
-
/**
|
|
17
|
+
/** Only the first character is ever shown or used for color, even if a full word is passed */
|
|
18
|
+
readonly resolvedInitial: import("@angular/core").Signal<string>;
|
|
19
|
+
/** Deterministic style per first character: char code mod the 6 fixed Figma styles */
|
|
18
20
|
readonly initialStyle: import("@angular/core").Signal<AvatarInitialStyle>;
|
|
19
21
|
readonly classes: import("@angular/core").Signal<string>;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
@@ -10,4 +10,8 @@ export declare const communicationIcons: {
|
|
|
10
10
|
'chatcircledots-regular': string;
|
|
11
11
|
'thumbsup-regular': string;
|
|
12
12
|
'thumbsdown-regular': string;
|
|
13
|
+
'signature-regular': string;
|
|
14
|
+
'signature-fill': string;
|
|
15
|
+
'sticker-regular': string;
|
|
16
|
+
'sticker-fill': string;
|
|
13
17
|
};
|
|
@@ -3,10 +3,12 @@ export declare const designIcons: {
|
|
|
3
3
|
'eye-regular': string;
|
|
4
4
|
'eyeslash-regular': string;
|
|
5
5
|
'pencil-regular': string;
|
|
6
|
+
'pennib-regular': string;
|
|
6
7
|
'squaresfour-regular': string;
|
|
7
8
|
'squaresfour-fill': string;
|
|
8
9
|
'resize-regular': string;
|
|
9
10
|
'selectionall-regular': string;
|
|
11
|
+
'selectionall-fill': string;
|
|
10
12
|
'scissors-regular': string;
|
|
11
13
|
'drophalfbottom-regular': string;
|
|
12
14
|
'selectioninverse-regular': string;
|
|
@@ -154,12 +154,18 @@ export declare const icons: {
|
|
|
154
154
|
'chatcircledots-regular': string;
|
|
155
155
|
'thumbsup-regular': string;
|
|
156
156
|
'thumbsdown-regular': string;
|
|
157
|
+
'signature-regular': string;
|
|
158
|
+
'signature-fill': string;
|
|
159
|
+
'sticker-regular': string;
|
|
160
|
+
'sticker-fill': string;
|
|
157
161
|
'globe-regular': string;
|
|
162
|
+
'globex-regular': string;
|
|
158
163
|
'mappin-regular': string;
|
|
159
164
|
'mappin-fill': string;
|
|
160
165
|
'house-regular': string;
|
|
161
166
|
'house-fill': string;
|
|
162
167
|
'truck-regular': string;
|
|
168
|
+
'truck-fill': string;
|
|
163
169
|
'gpsfix-fill': string;
|
|
164
170
|
'maptrifold-regular': string;
|
|
165
171
|
'houseline-regular': string;
|
|
@@ -176,14 +182,19 @@ export declare const icons: {
|
|
|
176
182
|
'heartstraight-regular': string;
|
|
177
183
|
'heartstraight-fill': string;
|
|
178
184
|
'medal-regular': string;
|
|
185
|
+
'scroll-regular': string;
|
|
186
|
+
'scroll-fill': string;
|
|
187
|
+
'crown-regular': string;
|
|
179
188
|
'placeholder-regular': string;
|
|
180
189
|
'eye-regular': string;
|
|
181
190
|
'eyeslash-regular': string;
|
|
182
191
|
'pencil-regular': string;
|
|
192
|
+
'pennib-regular': string;
|
|
183
193
|
'squaresfour-regular': string;
|
|
184
194
|
'squaresfour-fill': string;
|
|
185
195
|
'resize-regular': string;
|
|
186
196
|
'selectionall-regular': string;
|
|
197
|
+
'selectionall-fill': string;
|
|
187
198
|
'scissors-regular': string;
|
|
188
199
|
'drophalfbottom-regular': string;
|
|
189
200
|
'selectioninverse-regular': string;
|
|
@@ -236,6 +247,7 @@ export declare const icons: {
|
|
|
236
247
|
'numbercircleone-regular': string;
|
|
237
248
|
'numbercircletwo-regular': string;
|
|
238
249
|
'numbercirclethree-regular': string;
|
|
250
|
+
'numbercirclefour-regular': string;
|
|
239
251
|
'sortascending-regular': string;
|
|
240
252
|
'trash-regular': string;
|
|
241
253
|
'notepad-regular': string;
|
|
@@ -244,13 +256,17 @@ export declare const icons: {
|
|
|
244
256
|
'list-fill': string;
|
|
245
257
|
'copy-regular': string;
|
|
246
258
|
'filetext-regular': string;
|
|
259
|
+
'filetext-fill': string;
|
|
260
|
+
'files-regular': string;
|
|
247
261
|
'sortdescending-regular': string;
|
|
248
262
|
'filepdf-regular': string;
|
|
249
263
|
'filecsv-regular': string;
|
|
250
264
|
'notebook-regular': string;
|
|
265
|
+
'notebook-fill': string;
|
|
251
266
|
'listbullets-fill': string;
|
|
252
267
|
'listbullets-regular': string;
|
|
253
268
|
'notepencil-regular': string;
|
|
269
|
+
'listchecks-regular': string;
|
|
254
270
|
'shoppingbagopen-regular': string;
|
|
255
271
|
'shoppingbagopen-fill': string;
|
|
256
272
|
'package-regular': string;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export declare const mapsTravelIcons: {
|
|
2
2
|
'globe-regular': string;
|
|
3
|
+
'globex-regular': string;
|
|
3
4
|
'mappin-regular': string;
|
|
4
5
|
'mappin-fill': string;
|
|
5
6
|
'house-regular': string;
|
|
6
7
|
'house-fill': string;
|
|
7
8
|
'truck-regular': string;
|
|
9
|
+
'truck-fill': string;
|
|
8
10
|
'gpsfix-fill': string;
|
|
9
11
|
'maptrifold-regular': string;
|
|
10
12
|
'houseline-regular': string;
|
|
@@ -7,11 +7,15 @@ export declare const officeEditingIcons: {
|
|
|
7
7
|
'list-fill': string;
|
|
8
8
|
'copy-regular': string;
|
|
9
9
|
'filetext-regular': string;
|
|
10
|
+
'filetext-fill': string;
|
|
11
|
+
'files-regular': string;
|
|
10
12
|
'sortdescending-regular': string;
|
|
11
13
|
'filepdf-regular': string;
|
|
12
14
|
'filecsv-regular': string;
|
|
13
15
|
'notebook-regular': string;
|
|
16
|
+
'notebook-fill': string;
|
|
14
17
|
'listbullets-fill': string;
|
|
15
18
|
'listbullets-regular': string;
|
|
16
19
|
'notepencil-regular': string;
|
|
20
|
+
'listchecks-regular': string;
|
|
17
21
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export interface SegmentOption {
|
|
2
|
+
export interface SegmentOption<T = string> {
|
|
3
3
|
label: string;
|
|
4
|
-
value:
|
|
4
|
+
value: T;
|
|
5
5
|
iconName?: string;
|
|
6
6
|
}
|
|
7
|
-
export interface SegmentView extends SegmentOption {
|
|
7
|
+
export interface SegmentView<T = string> extends SegmentOption<T> {
|
|
8
8
|
selected: boolean;
|
|
9
9
|
iconColor: string;
|
|
10
10
|
tabIndex: number;
|
|
11
11
|
}
|
|
12
|
-
export declare class SegmentedControlComponent {
|
|
13
|
-
readonly options: import("@angular/core").InputSignal<SegmentOption[]>;
|
|
12
|
+
export declare class SegmentedControlComponent<T = string> {
|
|
13
|
+
readonly options: import("@angular/core").InputSignal<SegmentOption<T>[]>;
|
|
14
14
|
readonly fill: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
readonly size: import("@angular/core").InputSignal<"md" | "sm">;
|
|
16
|
-
readonly selectedValue: import("@angular/core").ModelSignal<
|
|
17
|
-
readonly selectionChange: import("@angular/core").OutputEmitterRef<
|
|
16
|
+
readonly selectedValue: import("@angular/core").ModelSignal<T>;
|
|
17
|
+
readonly selectionChange: import("@angular/core").OutputEmitterRef<T>;
|
|
18
18
|
private readonly host;
|
|
19
19
|
private readonly destroyRef;
|
|
20
20
|
private readonly pillRef;
|
|
@@ -23,14 +23,14 @@ export declare class SegmentedControlComponent {
|
|
|
23
23
|
private observer?;
|
|
24
24
|
private observedItems?;
|
|
25
25
|
readonly classes: import("@angular/core").Signal<string>;
|
|
26
|
-
readonly segments: import("@angular/core").Signal<SegmentView[]>;
|
|
26
|
+
readonly segments: import("@angular/core").Signal<SegmentView<T>[]>;
|
|
27
27
|
constructor();
|
|
28
28
|
/** Re-measures the pill whenever the host or any item changes size (fonts, tokens, container). */
|
|
29
29
|
private observeResizes;
|
|
30
|
-
onSelect(option: SegmentOption): void;
|
|
30
|
+
onSelect(option: SegmentOption<T>): void;
|
|
31
31
|
onKeydown(event: KeyboardEvent): void;
|
|
32
32
|
private activeItem;
|
|
33
33
|
private movePill;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent<any>, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent<any>, "lib-segmented-control", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; }, { "selectedValue": "selectedValueChange"; "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
36
36
|
}
|