structra-ui 0.1.82 → 0.1.83
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/package.json
CHANGED
package/types/structra-ui.d.ts
CHANGED
|
@@ -63,6 +63,11 @@ declare class BaseButtonComponent {
|
|
|
63
63
|
* Ignorado com `fullWidth="true"`.
|
|
64
64
|
*/
|
|
65
65
|
widthPx: number | null;
|
|
66
|
+
/**
|
|
67
|
+
* Altura fixa em pixels do envoltório; `null`/≤0 não aplica. Compatível com `fullWidth` true ou false.
|
|
68
|
+
* O `<button>` interior estica a 100% da altura da host.
|
|
69
|
+
*/
|
|
70
|
+
heightPx: number | null;
|
|
66
71
|
/** Placeholder de carregamento (skeleton no lugar do rótulo). */
|
|
67
72
|
loading: boolean;
|
|
68
73
|
/** Estilo visual base; pode ser estendido no SCSS do projeto. */
|
|
@@ -72,10 +77,11 @@ declare class BaseButtonComponent {
|
|
|
72
77
|
get hostClasses(): string;
|
|
73
78
|
/** Largura fixa apenas com `fullWidth="false"` (inline para sobrepor `fit-content` dos modos align). */
|
|
74
79
|
get hostWidth(): string | null;
|
|
80
|
+
get hostHeight(): string | null;
|
|
75
81
|
/** Foca o `<button>` nativo (o host do componente não é focável). */
|
|
76
82
|
focusNative(options?: FocusOptions): void;
|
|
77
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseButtonComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseButtonComponent, "app-base-button", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "align": { "alias": "align"; "required": false; }; "widthPx": { "alias": "widthPx"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseButtonComponent, "app-base-button", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "align": { "alias": "align"; "required": false; }; "widthPx": { "alias": "widthPx"; "required": false; }; "heightPx": { "alias": "heightPx"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
79
85
|
static ngAcceptInputType_disabled: unknown;
|
|
80
86
|
static ngAcceptInputType_readonly: unknown;
|
|
81
87
|
static ngAcceptInputType_fullWidth: unknown;
|