yukit-web 1.1.1 → 1.1.2
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/yukit-web.mjs +250 -1
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yukit-web.d.ts +82 -0
package/package.json
CHANGED
package/types/yukit-web.d.ts
CHANGED
|
@@ -8227,6 +8227,88 @@ export declare class YuwsPageHeaderComponent {
|
|
|
8227
8227
|
"secondaryClicked": "secondaryClicked";
|
|
8228
8228
|
}, never, never, true, never>;
|
|
8229
8229
|
}
|
|
8230
|
+
/**
|
|
8231
|
+
* A figure in a card: label, value and, below it, whatever is projected. With `actionLabel` the label becomes a button
|
|
8232
|
+
* stretched over the whole card, so the help icon stays a sibling of it and not a control nested inside.
|
|
8233
|
+
*
|
|
8234
|
+
* Inputs:
|
|
8235
|
+
* - `actionLabel`: Turns the card into a button and is its hint (`title` and accessible description); a plain card
|
|
8236
|
+
* when unset. Default is `undefined`.
|
|
8237
|
+
* - `disabled`: Disables the button of an action card. Default is `false`.
|
|
8238
|
+
* - `errorText`: Shown as an alert instead of the value; the card has failed while it is set. Default is `undefined`.
|
|
8239
|
+
* - `help`: Tooltip and accessible name of an info icon after the label; no icon when unset. Default is `undefined`.
|
|
8240
|
+
* - `icon`: Icon name before the label, registered by the consumer. Default is `undefined`.
|
|
8241
|
+
* - `label` (required): The figure's name. The consuming app translates it.
|
|
8242
|
+
* - `loading`: Shows a skeleton instead of the value. Default is `false`.
|
|
8243
|
+
* - `pressed`: `aria-pressed` of an action card that toggles something; not a toggle when unset. Default is
|
|
8244
|
+
* `undefined`.
|
|
8245
|
+
* - `value`: The figure, already formatted. Default is `undefined`.
|
|
8246
|
+
*
|
|
8247
|
+
* Outputs:
|
|
8248
|
+
* - `activated`: Emitted when an action card is clicked.
|
|
8249
|
+
*/
|
|
8250
|
+
export declare class YuwsStatCardComponent {
|
|
8251
|
+
readonly actionLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
8252
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
8253
|
+
readonly errorText: import("@angular/core").InputSignal<string | undefined>;
|
|
8254
|
+
readonly help: import("@angular/core").InputSignal<string | undefined>;
|
|
8255
|
+
readonly icon: import("@angular/core").InputSignal<string | undefined>;
|
|
8256
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
8257
|
+
readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
8258
|
+
readonly pressed: import("@angular/core").InputSignal<boolean | undefined>;
|
|
8259
|
+
readonly value: import("@angular/core").InputSignal<string | number | undefined>;
|
|
8260
|
+
readonly activated: import("@angular/core").OutputEmitterRef<void>;
|
|
8261
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YuwsStatCardComponent, never>;
|
|
8262
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YuwsStatCardComponent, "yuws-stat-card", never, {
|
|
8263
|
+
"actionLabel": {
|
|
8264
|
+
"alias": "actionLabel";
|
|
8265
|
+
"required": false;
|
|
8266
|
+
"isSignal": true;
|
|
8267
|
+
};
|
|
8268
|
+
"disabled": {
|
|
8269
|
+
"alias": "disabled";
|
|
8270
|
+
"required": false;
|
|
8271
|
+
"isSignal": true;
|
|
8272
|
+
};
|
|
8273
|
+
"errorText": {
|
|
8274
|
+
"alias": "errorText";
|
|
8275
|
+
"required": false;
|
|
8276
|
+
"isSignal": true;
|
|
8277
|
+
};
|
|
8278
|
+
"help": {
|
|
8279
|
+
"alias": "help";
|
|
8280
|
+
"required": false;
|
|
8281
|
+
"isSignal": true;
|
|
8282
|
+
};
|
|
8283
|
+
"icon": {
|
|
8284
|
+
"alias": "icon";
|
|
8285
|
+
"required": false;
|
|
8286
|
+
"isSignal": true;
|
|
8287
|
+
};
|
|
8288
|
+
"label": {
|
|
8289
|
+
"alias": "label";
|
|
8290
|
+
"required": true;
|
|
8291
|
+
"isSignal": true;
|
|
8292
|
+
};
|
|
8293
|
+
"loading": {
|
|
8294
|
+
"alias": "loading";
|
|
8295
|
+
"required": false;
|
|
8296
|
+
"isSignal": true;
|
|
8297
|
+
};
|
|
8298
|
+
"pressed": {
|
|
8299
|
+
"alias": "pressed";
|
|
8300
|
+
"required": false;
|
|
8301
|
+
"isSignal": true;
|
|
8302
|
+
};
|
|
8303
|
+
"value": {
|
|
8304
|
+
"alias": "value";
|
|
8305
|
+
"required": false;
|
|
8306
|
+
"isSignal": true;
|
|
8307
|
+
};
|
|
8308
|
+
}, {
|
|
8309
|
+
"activated": "activated";
|
|
8310
|
+
}, never, ["*"], true, never>;
|
|
8311
|
+
}
|
|
8230
8312
|
/**
|
|
8231
8313
|
* Grid of projected cards, usually `yuws-card-grid-item`s in an `@for`. `loading` shows
|
|
8232
8314
|
* `skeletonCount` placeholders shaped by `skeletonClass`; `empty` shows `emptyText`; `columnsClass`
|