@crowdfarming/oliva-ds 1.3.2 → 1.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/fesm2022/crowdfarming-oliva-ds.mjs +858 -0
- package/fesm2022/crowdfarming-oliva-ds.mjs.map +1 -0
- package/index.d.ts +25 -0
- package/lib/avatar/src/index.d.ts +1 -0
- package/lib/avatar/src/lib/avatar/avatar.component.d.ts +9 -0
- package/lib/button/src/index.d.ts +1 -0
- package/lib/button/src/lib/button/button.component.d.ts +20 -0
- package/lib/button-icon/src/index.d.ts +1 -0
- package/lib/button-icon/src/lib/button-icon/button-icon.component.d.ts +19 -0
- package/lib/button-set/src/index.d.ts +1 -0
- package/lib/button-set/src/lib/button-set/button-set.component.d.ts +13 -0
- package/lib/checkbox/src/index.d.ts +1 -0
- package/lib/checkbox/src/lib/checkbox/checkbox.component.d.ts +15 -0
- package/lib/checkbox-group/src/index.d.ts +1 -0
- package/lib/checkbox-group/src/lib/checkbox-group/checkbox-group.component.d.ts +26 -0
- package/lib/chips/src/index.d.ts +1 -0
- package/lib/chips/src/lib/chips/chips.component.d.ts +13 -0
- package/lib/design-tokens/src/index.d.ts +1 -0
- package/lib/design-tokens/src/lib/design-tokens/design-tokens.component.d.ts +5 -0
- package/lib/icon-alert/src/index.d.ts +1 -0
- package/lib/icon-alert/src/lib/icon-alert/icon-alert.component.d.ts +7 -0
- package/lib/icon-eye/src/index.d.ts +1 -0
- package/lib/icon-eye/src/lib/icon-eye/icon-eye.component.d.ts +8 -0
- package/lib/icon-spinner/src/index.d.ts +1 -0
- package/lib/icon-spinner/src/lib/icon-spinner/icon-spinner.component.d.ts +6 -0
- package/lib/icon-success/src/index.d.ts +1 -0
- package/lib/icon-success/src/lib/icon-success/icon-success.component.d.ts +7 -0
- package/lib/icon-test/src/index.d.ts +1 -0
- package/lib/icon-test/src/lib/icon-test/icon-test.component.d.ts +7 -0
- package/lib/icon-thumb/src/index.d.ts +1 -0
- package/lib/icon-thumb/src/lib/icon-thumb/icon-thumb.component.d.ts +7 -0
- package/lib/icon-user/src/index.d.ts +1 -0
- package/lib/icon-user/src/lib/icon-user/icon-user.component.d.ts +7 -0
- package/lib/input-label/src/index.d.ts +1 -0
- package/lib/input-label/src/lib/input-label/input-label.component.d.ts +10 -0
- package/lib/link/src/index.d.ts +1 -0
- package/lib/link/src/lib/link/link.component.d.ts +18 -0
- package/lib/password-input/src/index.d.ts +1 -0
- package/lib/password-input/src/lib/password-input/password-input.component.d.ts +21 -0
- package/lib/radio/src/index.d.ts +1 -0
- package/lib/radio/src/lib/radio/radio.component.d.ts +22 -0
- package/lib/radio-group/src/index.d.ts +1 -0
- package/lib/radio-group/src/lib/radio-group/radio-group.component.d.ts +19 -0
- package/lib/segmented-control/src/index.d.ts +1 -0
- package/lib/segmented-control/src/lib/segmented-control/segmented-control.component.d.ts +20 -0
- package/lib/text-input/src/index.d.ts +1 -0
- package/lib/text-input/src/lib/text-input/text-input.component.d.ts +20 -0
- package/lib/textarea/src/index.d.ts +1 -0
- package/lib/textarea/src/lib/textarea/textarea.component.d.ts +19 -0
- package/lib/thumbnail/src/index.d.ts +1 -0
- package/lib/thumbnail/src/lib/thumbnail/thumbnail.component.d.ts +8 -0
- package/lib/tooltip/src/index.d.ts +1 -0
- package/lib/tooltip/src/lib/tooltip/tooltip.component.d.ts +12 -0
- package/package.json +23 -5
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RadioComponent {
|
|
4
|
+
/** ID del input, útil para test o relacionarlo con label */
|
|
5
|
+
id?: string;
|
|
6
|
+
/** Nombre del grupo */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Valor del radio */
|
|
9
|
+
value: string;
|
|
10
|
+
/** Valor actualmente seleccionado */
|
|
11
|
+
model: string;
|
|
12
|
+
/** Etiqueta visible */
|
|
13
|
+
label: string;
|
|
14
|
+
/** Muestra el estado de error */
|
|
15
|
+
error: boolean;
|
|
16
|
+
checked: boolean;
|
|
17
|
+
/** Notifica al cambiar */
|
|
18
|
+
modelChange: EventEmitter<string>;
|
|
19
|
+
onChange(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "lib-radio", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "model": { "alias": "model"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/radio-group/radio-group.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface RadioOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class RadioGroupComponent {
|
|
8
|
+
label: string;
|
|
9
|
+
name: string;
|
|
10
|
+
options: RadioOption[];
|
|
11
|
+
value: string;
|
|
12
|
+
error: boolean;
|
|
13
|
+
helperText: string;
|
|
14
|
+
required: boolean;
|
|
15
|
+
valueChange: EventEmitter<string>;
|
|
16
|
+
onChange(value: string): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "lib-radio-group", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "error": { "alias": "error"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/segmented-control/segmented-control.component';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface SegmentOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: any;
|
|
6
|
+
}
|
|
7
|
+
export declare class SegmentedControlComponent {
|
|
8
|
+
options: SegmentOption[];
|
|
9
|
+
selectedValue: any;
|
|
10
|
+
selectionChange: EventEmitter<any>;
|
|
11
|
+
fill: boolean;
|
|
12
|
+
/** Cuando el usuario hace click en un segmento */
|
|
13
|
+
onSelect(option: SegmentOption): void;
|
|
14
|
+
/** Marca si ésta opción está activa */
|
|
15
|
+
isSelected(option: SegmentOption): boolean;
|
|
16
|
+
/** Manejo simple de flechas izquierda/derecha */
|
|
17
|
+
onKeydown(event: KeyboardEvent): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent, "lib-segmented-control", never, { "options": { "alias": "options"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/text-input/text-input.component';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TextInputComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
helperText: string;
|
|
8
|
+
error: boolean;
|
|
9
|
+
success: boolean;
|
|
10
|
+
successText: string;
|
|
11
|
+
alertText: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
readonly: boolean;
|
|
14
|
+
size: 'sm' | 'md' | 'lg';
|
|
15
|
+
get inputClass(): string[];
|
|
16
|
+
get helperClass(): string;
|
|
17
|
+
get ariaDescribedBy(): string | null;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "lib-text-input", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "success": { "alias": "success"; "required": false; }; "successText": { "alias": "successText"; "required": false; }; "alertText": { "alias": "alertText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/textarea/textarea.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TextareaComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
helperText: string;
|
|
7
|
+
error: boolean;
|
|
8
|
+
success: boolean;
|
|
9
|
+
successText: string;
|
|
10
|
+
alertText: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
size: 'sm' | 'md' | 'lg';
|
|
14
|
+
get inputClass(): string[];
|
|
15
|
+
get helperClass(): string;
|
|
16
|
+
get ariaDescribedBy(): string | null;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "lib-textarea", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "success": { "alias": "success"; "required": false; }; "successText": { "alias": "successText"; "required": false; }; "alertText": { "alias": "alertText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/thumbnail/thumbnail.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ThumbnailComponent {
|
|
3
|
+
size: 'xl' | 'lg' | 'md' | 'sm';
|
|
4
|
+
src: string;
|
|
5
|
+
alt: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThumbnailComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThumbnailComponent, "lib-thumbnail", never, { "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/tooltip/tooltip.component';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TooltipComponent {
|
|
3
|
+
text: string;
|
|
4
|
+
position: 'left' | 'right' | 'bottom' | 'top' | 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
|
|
5
|
+
triggerId: string;
|
|
6
|
+
tooltipId: string;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
show(): void;
|
|
9
|
+
hide(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "lib-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; "triggerId": { "alias": "triggerId"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crowdfarming/oliva-ds",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Librería de componentes de diseño de Oliva",
|
|
5
5
|
"author": "crowdfarming",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"main": "
|
|
8
|
-
"types": "
|
|
7
|
+
"main": "./fesm2022/crowdfarming-oliva-ds.mjs",
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@angular/core": "^16 || ^17 || ^18 || ^19"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
|
-
"
|
|
13
|
+
"fesm2022",
|
|
14
|
+
"lib",
|
|
15
|
+
"index.d.ts",
|
|
16
|
+
"README.md"
|
|
14
17
|
],
|
|
15
18
|
"publishConfig": {
|
|
16
19
|
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"module": "fesm2022/crowdfarming-oliva-ds.mjs",
|
|
22
|
+
"typings": "index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
"./package.json": {
|
|
25
|
+
"default": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./index.d.ts",
|
|
29
|
+
"default": "./fesm2022/crowdfarming-oliva-ds.mjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"sideEffects": false,
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"tslib": "^2.3.0"
|
|
17
35
|
}
|
|
18
|
-
}
|
|
36
|
+
}
|