asksuite-citrus 3.9.0 → 3.9.2-beta.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/assets/icons/email-channel.svg +4 -0
- package/assets/icons/whatsapp-channel.svg +4 -0
- package/esm2022/lib/asksuite-citrus.module.mjs +10 -5
- package/esm2022/lib/components/accordion/extendable-panel/extendable-panel.component.mjs +2 -2
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
- package/esm2022/lib/components/box/box.component.mjs +2 -2
- package/esm2022/lib/components/button/button.component.mjs +2 -2
- package/esm2022/lib/components/character-counter/character-counter.component.mjs +2 -2
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/lib/components/chips/chips.component.mjs +2 -2
- package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
- package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +2 -2
- package/esm2022/lib/components/icon/icon.component.mjs +20 -0
- package/esm2022/lib/components/input/input.component.mjs +2 -2
- package/esm2022/lib/components/modal/confirmation-modal/confirmation-modal.component.mjs +2 -2
- package/esm2022/lib/components/modal/modal.component.mjs +2 -2
- package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
- package/esm2022/lib/components/phone-ddi/phone-ddi.component.mjs +2 -2
- package/esm2022/lib/components/richtext-toolbox/richtext-toolbox.component.mjs +2 -2
- package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +2 -2
- package/esm2022/lib/components/select/select.component.mjs +2 -2
- package/esm2022/lib/components/table/table.component.mjs +2 -2
- package/esm2022/lib/components/toast/toast.component.mjs +2 -2
- package/esm2022/lib/directives/button/ask-base-button.directive.mjs +32 -9
- package/esm2022/lib/directives/button/ask-button.directive.mjs +8 -8
- package/esm2022/lib/directives/button/ask-stroked-button.directive.mjs +8 -8
- package/esm2022/lib/directives/button/ask-text-button.directive.mjs +7 -7
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/asksuite-citrus.mjs +114 -70
- package/fesm2022/asksuite-citrus.mjs.map +1 -1
- package/lib/asksuite-citrus.module.d.ts +2 -1
- package/lib/components/icon/icon.component.d.ts +7 -0
- package/lib/directives/button/ask-base-button.directive.d.ts +9 -3
- package/lib/directives/button/ask-button.directive.d.ts +3 -3
- package/lib/directives/button/ask-stroked-button.directive.d.ts +3 -3
- package/lib/directives/button/ask-text-button.directive.d.ts +3 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/styles/colors.scss +9 -6
@@ -0,0 +1,20 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class IconComponent {
|
4
|
+
constructor() {
|
5
|
+
this.name = '';
|
6
|
+
}
|
7
|
+
get path() {
|
8
|
+
return `../assets/icons/${this.name}.svg`;
|
9
|
+
}
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.7", type: IconComponent, isStandalone: true, selector: "ask-icon", inputs: { name: "name" }, ngImport: i0, template: "<img [src]=\"path\" [alt]=\"name\" />\n", styles: [":host{display:flex;align-items:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
12
|
+
}
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IconComponent, decorators: [{
|
14
|
+
type: Component,
|
15
|
+
args: [{ selector: 'ask-icon', standalone: true, imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<img [src]=\"path\" [alt]=\"name\" />\n", styles: [":host{display:flex;align-items:center}\n"] }]
|
16
|
+
}], propDecorators: { name: [{
|
17
|
+
type: Input,
|
18
|
+
args: [{ required: true }]
|
19
|
+
}] } });
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hc2tzdWl0ZS1jaXRydXMvc3JjL2xpYi9jb21wb25lbnRzL2ljb24vaWNvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hc2tzdWl0ZS1jaXRydXMvc3JjL2xpYi9jb21wb25lbnRzL2ljb24vaWNvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFVMUUsTUFBTSxPQUFPLGFBQWE7SUFSMUI7UUFVRSxTQUFJLEdBQUcsRUFBRSxDQUFDO0tBS1g7SUFIQyxJQUFjLElBQUk7UUFDaEIsT0FBTyxtQkFBbUIsSUFBSSxDQUFDLElBQUksTUFBTSxDQUFDO0lBQzVDLENBQUM7OEdBTlUsYUFBYTtrR0FBYixhQUFhLDhGQ1YxQix5Q0FDQTs7MkZEU2EsYUFBYTtrQkFSekIsU0FBUzsrQkFDRSxVQUFVLGNBQ1IsSUFBSSxXQUNQLEVBQUUsbUJBR00sdUJBQXVCLENBQUMsTUFBTTs4QkFJL0MsSUFBSTtzQkFESCxLQUFLO3VCQUFDLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkB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