@pumpkin-tech/pumpkin-tech-ng 0.2.39 → 0.2.40
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/index.d.ts
CHANGED
|
@@ -212,7 +212,7 @@ declare class TextareaComponent extends BaseField implements ControlValueAccesso
|
|
|
212
212
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "ptech-textarea", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "showCounter": { "alias": "showCounter"; "required": false; }; "resize": { "alias": "resize"; "required": false; }; "allowHorizontalResize": { "alias": "allowHorizontalResize"; "required": false; }; }, {}, never, ["mat-hint, [mat-hint], mat-error, [mat-error]"], true, never>;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
type ButtonVariant = 'basic' | 'raised' | 'stroked' | 'flat' | 'icon' | 'fab' | 'mini-fab' | 'extended' | 'link';
|
|
215
|
+
type ButtonVariant = 'basic' | 'raised' | 'stroked' | 'flat' | 'icon' | 'fab' | 'mini-fab' | 'extended' | 'link' | 'dashed';
|
|
216
216
|
type BtnSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
217
217
|
declare class ButtonComponent extends BaseField {
|
|
218
218
|
hostDisplay: string;
|
|
@@ -240,6 +240,10 @@ declare class ButtonComponent extends BaseField {
|
|
|
240
240
|
shape: 'default' | 'pill';
|
|
241
241
|
/** Cor do botão: ThemePalette (primary/accent/warn) ou cor CSS */
|
|
242
242
|
color: ThemePalette | string;
|
|
243
|
+
/** Exclusivos do tipo dashed */
|
|
244
|
+
backgroundColor: string;
|
|
245
|
+
hoverBackgroundColor: string;
|
|
246
|
+
radius: number;
|
|
243
247
|
buttonClick: EventEmitter<MouseEvent>;
|
|
244
248
|
onLinkClick(event: MouseEvent): void;
|
|
245
249
|
private sizes;
|
|
@@ -252,6 +256,17 @@ declare class ButtonComponent extends BaseField {
|
|
|
252
256
|
iconFab: number;
|
|
253
257
|
iconMiniFab: number;
|
|
254
258
|
};
|
|
259
|
+
private dashedSizes;
|
|
260
|
+
get dashedSizeCfg(): {
|
|
261
|
+
height: number;
|
|
262
|
+
minWidth: number;
|
|
263
|
+
padding: string;
|
|
264
|
+
font: number;
|
|
265
|
+
icon: number;
|
|
266
|
+
};
|
|
267
|
+
private readonly DEFAULT_TEXT_COLOR;
|
|
268
|
+
get dashedTextColor(): string | null;
|
|
269
|
+
get dashedColor(): string;
|
|
255
270
|
get isThemeColor(): boolean;
|
|
256
271
|
get themeColor(): ThemePalette | undefined;
|
|
257
272
|
get customBackground(): string | null;
|
|
@@ -260,7 +275,7 @@ declare class ButtonComponent extends BaseField {
|
|
|
260
275
|
get spinnerDiameter(): number;
|
|
261
276
|
onInnerClick(event: MouseEvent): void;
|
|
262
277
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
263
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ptech-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconWidth": { "alias": "iconWidth"; "required": false; }; "iconHeight": { "alias": "iconHeight"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "link": { "alias": "link"; "required": false; }; "target": { "alias": "target"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
278
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ptech-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconWidth": { "alias": "iconWidth"; "required": false; }; "iconHeight": { "alias": "iconHeight"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "link": { "alias": "link"; "required": false; }; "target": { "alias": "target"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "color": { "alias": "color"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "hoverBackgroundColor": { "alias": "hoverBackgroundColor"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
264
279
|
}
|
|
265
280
|
|
|
266
281
|
type BadgeVariant = 'filled' | 'outline' | 'soft';
|