@luzmo/ngx-lucero 1.0.3-alpha.4 → 1.0.3-alpha.6
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.
|
@@ -12,7 +12,7 @@ export declare class LuzmoButton implements OnChanges {
|
|
|
12
12
|
get nativeElement(): LuzmoButtonHostElement;
|
|
13
13
|
pendingLabel?: string;
|
|
14
14
|
pending?: boolean;
|
|
15
|
-
variant?: ('primary' | 'secondary' | 'negative' | 'positive' | ('white' | 'black'));
|
|
15
|
+
variant?: ('primary' | 'secondary' | 'neutral' | 'negative' | 'positive' | ('white' | 'black'));
|
|
16
16
|
staticColor?: 'black' | 'white';
|
|
17
17
|
treatment?: ('fill' | 'outline');
|
|
18
18
|
quiet?: boolean;
|
|
@@ -18,6 +18,7 @@ export declare class LuzmoSearch implements OnChanges, ControlValueAccessor {
|
|
|
18
18
|
method?: 'get' | 'post' | 'dialog';
|
|
19
19
|
/** Text that appears in the form control when it has no value set */
|
|
20
20
|
placeholder?: string;
|
|
21
|
+
hideIcon?: boolean;
|
|
21
22
|
holdValueOnEscape?: boolean;
|
|
22
23
|
form?: unknown;
|
|
23
24
|
/** The value held by the form control */
|
|
@@ -97,7 +98,7 @@ export declare class LuzmoSearch implements OnChanges, ControlValueAccessor {
|
|
|
97
98
|
checkValidity(): boolean;
|
|
98
99
|
focus(options?: FocusOptions): void;
|
|
99
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoSearch, never>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSearch, "luzmo-search", ["luzmoSearch"], { "action": { "alias": "action"; "required": false; }; "label": { "alias": "label"; "required": false; }; "border": { "alias": "border"; "required": false; }; "method": { "alias": "method"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "holdValueOnEscape": { "alias": "holdValueOnEscape"; "required": false; }; "form": { "alias": "form"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpTextManager": { "alias": "helpTextManager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowedKeys": { "alias": "allowedKeys"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "hideValidationIcons": { "alias": "hideValidationIcons"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "submitEvent": "submit"; "changeEvent": "change"; "inputEvent": "input"; "keypressEvent": "keypress"; "keydownEvent": "keydown"; }, never, ["*"], true, never>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSearch, "luzmo-search", ["luzmoSearch"], { "action": { "alias": "action"; "required": false; }; "label": { "alias": "label"; "required": false; }; "border": { "alias": "border"; "required": false; }; "method": { "alias": "method"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hideIcon": { "alias": "hideIcon"; "required": false; }; "holdValueOnEscape": { "alias": "holdValueOnEscape"; "required": false; }; "form": { "alias": "form"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpTextManager": { "alias": "helpTextManager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowedKeys": { "alias": "allowedKeys"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "hideValidationIcons": { "alias": "hideValidationIcons"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "submitEvent": "submit"; "changeEvent": "change"; "inputEvent": "input"; "keypressEvent": "keypress"; "keydownEvent": "keydown"; }, never, ["*"], true, never>;
|
|
101
102
|
}
|
|
102
103
|
/** The underlying custom element type for LuzmoSearch */
|
|
103
104
|
export type LuzmoSearchElement = LuzmoSearchHostElement;
|
package/esm/components/search.js
CHANGED
|
@@ -26,6 +26,7 @@ export class LuzmoSearch {
|
|
|
26
26
|
method;
|
|
27
27
|
/** Text that appears in the form control when it has no value set */
|
|
28
28
|
placeholder;
|
|
29
|
+
hideIcon;
|
|
29
30
|
holdValueOnEscape;
|
|
30
31
|
form;
|
|
31
32
|
/** The value held by the form control */
|
|
@@ -105,6 +106,9 @@ export class LuzmoSearch {
|
|
|
105
106
|
case 'placeholder':
|
|
106
107
|
this.setHostProperty('placeholder', changes['placeholder'].currentValue);
|
|
107
108
|
break;
|
|
109
|
+
case 'hideIcon':
|
|
110
|
+
this.setHostProperty('hideIcon', changes['hideIcon'].currentValue);
|
|
111
|
+
break;
|
|
108
112
|
case 'holdValueOnEscape':
|
|
109
113
|
this.setHostProperty('holdValueOnEscape', changes['holdValueOnEscape'].currentValue);
|
|
110
114
|
break;
|
|
@@ -272,7 +276,7 @@ export class LuzmoSearch {
|
|
|
272
276
|
return this.host.focus(options);
|
|
273
277
|
}
|
|
274
278
|
static ɵfac = function LuzmoSearch_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoSearch)(); };
|
|
275
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSearch, selectors: [["luzmo-search"]], inputs: { action: "action", label: "label", border: "border", method: "method", placeholder: "placeholder", holdValueOnEscape: "holdValueOnEscape", form: "form", value: "value", helpTextManager: "helpTextManager", size: "size", allowedKeys: "allowedKeys", invalid: "invalid", name: "name", type: "type", pattern: "pattern", grows: "grows", maxlength: "maxlength", minlength: "minlength", multiline: "multiline", readonly: "readonly", rows: "rows", maxRows: "maxRows", valid: "valid", hideValidationIcons: "hideValidationIcons", quiet: "quiet", required: "required", autocomplete: "autocomplete", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { submitEvent: "submit", changeEvent: "change", inputEvent: "input", keypressEvent: "keypress", keydownEvent: "keydown" }, exportAs: ["luzmoSearch"], features: [i0.ɵɵProvidersFeature([
|
|
279
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSearch, selectors: [["luzmo-search"]], inputs: { action: "action", label: "label", border: "border", method: "method", placeholder: "placeholder", hideIcon: "hideIcon", holdValueOnEscape: "holdValueOnEscape", form: "form", value: "value", helpTextManager: "helpTextManager", size: "size", allowedKeys: "allowedKeys", invalid: "invalid", name: "name", type: "type", pattern: "pattern", grows: "grows", maxlength: "maxlength", minlength: "minlength", multiline: "multiline", readonly: "readonly", rows: "rows", maxRows: "maxRows", valid: "valid", hideValidationIcons: "hideValidationIcons", quiet: "quiet", required: "required", autocomplete: "autocomplete", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { submitEvent: "submit", changeEvent: "change", inputEvent: "input", keypressEvent: "keypress", keydownEvent: "keydown" }, exportAs: ["luzmoSearch"], features: [i0.ɵɵProvidersFeature([
|
|
276
280
|
{
|
|
277
281
|
provide: NG_VALUE_ACCESSOR,
|
|
278
282
|
useExisting: forwardRef(() => LuzmoSearch),
|
|
@@ -314,6 +318,9 @@ export class LuzmoSearch {
|
|
|
314
318
|
}], placeholder: [{
|
|
315
319
|
type: Input,
|
|
316
320
|
args: [{ alias: 'placeholder' }]
|
|
321
|
+
}], hideIcon: [{
|
|
322
|
+
type: Input,
|
|
323
|
+
args: [{ alias: 'hideIcon' }]
|
|
317
324
|
}], holdValueOnEscape: [{
|
|
318
325
|
type: Input,
|
|
319
326
|
args: [{ alias: 'holdValueOnEscape' }]
|
|
@@ -41,7 +41,7 @@ export declare class LuzmoSelect implements OnChanges, ControlValueAccessor {
|
|
|
41
41
|
/** The value of the select. */
|
|
42
42
|
value?: (string | number | null)[];
|
|
43
43
|
/** The options of the select. */
|
|
44
|
-
options?:
|
|
44
|
+
options?: unknown;
|
|
45
45
|
/** Optional icon renderer callback forwarded to luzmo-options. Return null to use the default icon/imgSrc rendering. */
|
|
46
46
|
optionIconRenderer?: unknown;
|
|
47
47
|
selects?: never | 'single' | 'multiple';
|
package/package.json
CHANGED
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"registry": "https://registry.npmjs.org/"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@angular/core": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
31
|
-
"@angular/forms": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
32
|
-
"@luzmo/lucero": "1.0.3-alpha.
|
|
30
|
+
"@angular/core": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
31
|
+
"@angular/forms": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
32
|
+
"@luzmo/lucero": "1.0.3-alpha.6"
|
|
33
33
|
},
|
|
34
|
-
"version": "1.0.3-alpha.
|
|
34
|
+
"version": "1.0.3-alpha.6",
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@angular/forms": {
|
|
37
37
|
"optional": true
|