yukit-web 1.1.1 → 1.1.3

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yukit-web",
3
3
  "description": "Angular UI component library for Yurest web applications.",
4
- "version": "1.1.1",
4
+ "version": "1.1.3",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -4364,7 +4364,8 @@ export type YuwSheetLayoutInsetDto = 'left' | 'right';
4364
4364
  * - `bodyClass`: Extra classes merged onto the scrollable body, which defaults to `px-4`. Pass `px-0` for
4365
4365
  * full-bleed content such as edge-to-edge dividers or a tinted background that should stop above the
4366
4366
  * footer. Wins over the default via `twMerge`.
4367
- * - `panelClass`: Extra classes merged onto the sheet panel (e.g. `sm:max-w-lg` to widen it).
4367
+ * - `panelClass`: Extra classes merged onto the sheet panel. A right panel is 480px wide from `sm`; to change it the
4368
+ * class needs the side prefix, e.g. `data-[side=right]:sm:max-w-2xl`.
4368
4369
  * They win over the library defaults via `twMerge`. Note `twMerge` resolves per variant group, so a
4369
4370
  * plain utility does not displace a variant-prefixed default — to override `data-[side=left]:w-3/4`
4370
4371
  * the class has to be `data-[side=left]:w-64`, not `w-64`.
@@ -7671,7 +7672,7 @@ export interface YuwsFormSheetLabels {
7671
7672
  * - `layoutInset`: How the panel fits the `yuw-layout` frame, as on `yuw-sheet`. Default is `'right'`, laid over the
7672
7673
  * body; pass `undefined` for a panel that covers the viewport.
7673
7674
  * - `note`: Second muted line under `description`. Default is `undefined`.
7674
- * - `panelClass`: Class of the sheet panel. Default is `'w-full sm:max-w-md'`.
7675
+ * - `panelClass`: Extra classes of the sheet panel, forwarded to `yuw-sheet`.
7675
7676
  * - `readonly`: Drops the save button. Default is `false`.
7676
7677
  * - `removeDisabled`: Disables the delete button. Default is `false`.
7677
7678
  * - `removeLabel`: Renders the delete button with this text. Default is `undefined`.
@@ -7696,7 +7697,7 @@ export declare class YuwsFormSheetComponent {
7696
7697
  readonly layoutInset: import("@angular/core").InputSignal<YuwSheetLayoutInsetDto | undefined>;
7697
7698
  readonly note: import("@angular/core").InputSignal<string | undefined>;
7698
7699
  readonly open: import("@angular/core").ModelSignal<boolean>;
7699
- readonly panelClass: import("@angular/core").InputSignal<string>;
7700
+ readonly panelClass: import("@angular/core").InputSignal<string | undefined>;
7700
7701
  readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7701
7702
  readonly removeDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7702
7703
  readonly removeLabel: import("@angular/core").InputSignal<string | undefined>;
@@ -8227,6 +8228,88 @@ export declare class YuwsPageHeaderComponent {
8227
8228
  "secondaryClicked": "secondaryClicked";
8228
8229
  }, never, never, true, never>;
8229
8230
  }
8231
+ /**
8232
+ * A figure in a card: label, value and, below it, whatever is projected. With `actionLabel` the label becomes a button
8233
+ * stretched over the whole card, so the help icon stays a sibling of it and not a control nested inside.
8234
+ *
8235
+ * Inputs:
8236
+ * - `actionLabel`: Turns the card into a button and is its hint (`title` and accessible description); a plain card
8237
+ * when unset. Default is `undefined`.
8238
+ * - `disabled`: Disables the button of an action card. Default is `false`.
8239
+ * - `errorText`: Shown as an alert instead of the value; the card has failed while it is set. Default is `undefined`.
8240
+ * - `help`: Tooltip and accessible name of an info icon after the label; no icon when unset. Default is `undefined`.
8241
+ * - `icon`: Icon name before the label, registered by the consumer. Default is `undefined`.
8242
+ * - `label` (required): The figure's name. The consuming app translates it.
8243
+ * - `loading`: Shows a skeleton instead of the value. Default is `false`.
8244
+ * - `pressed`: `aria-pressed` of an action card that toggles something; not a toggle when unset. Default is
8245
+ * `undefined`.
8246
+ * - `value`: The figure, already formatted. Default is `undefined`.
8247
+ *
8248
+ * Outputs:
8249
+ * - `activated`: Emitted when an action card is clicked.
8250
+ */
8251
+ export declare class YuwsStatCardComponent {
8252
+ readonly actionLabel: import("@angular/core").InputSignal<string | undefined>;
8253
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8254
+ readonly errorText: import("@angular/core").InputSignal<string | undefined>;
8255
+ readonly help: import("@angular/core").InputSignal<string | undefined>;
8256
+ readonly icon: import("@angular/core").InputSignal<string | undefined>;
8257
+ readonly label: import("@angular/core").InputSignal<string>;
8258
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8259
+ readonly pressed: import("@angular/core").InputSignal<boolean | undefined>;
8260
+ readonly value: import("@angular/core").InputSignal<string | number | undefined>;
8261
+ readonly activated: import("@angular/core").OutputEmitterRef<void>;
8262
+ static ɵfac: i0.ɵɵFactoryDeclaration<YuwsStatCardComponent, never>;
8263
+ static ɵcmp: i0.ɵɵComponentDeclaration<YuwsStatCardComponent, "yuws-stat-card", never, {
8264
+ "actionLabel": {
8265
+ "alias": "actionLabel";
8266
+ "required": false;
8267
+ "isSignal": true;
8268
+ };
8269
+ "disabled": {
8270
+ "alias": "disabled";
8271
+ "required": false;
8272
+ "isSignal": true;
8273
+ };
8274
+ "errorText": {
8275
+ "alias": "errorText";
8276
+ "required": false;
8277
+ "isSignal": true;
8278
+ };
8279
+ "help": {
8280
+ "alias": "help";
8281
+ "required": false;
8282
+ "isSignal": true;
8283
+ };
8284
+ "icon": {
8285
+ "alias": "icon";
8286
+ "required": false;
8287
+ "isSignal": true;
8288
+ };
8289
+ "label": {
8290
+ "alias": "label";
8291
+ "required": true;
8292
+ "isSignal": true;
8293
+ };
8294
+ "loading": {
8295
+ "alias": "loading";
8296
+ "required": false;
8297
+ "isSignal": true;
8298
+ };
8299
+ "pressed": {
8300
+ "alias": "pressed";
8301
+ "required": false;
8302
+ "isSignal": true;
8303
+ };
8304
+ "value": {
8305
+ "alias": "value";
8306
+ "required": false;
8307
+ "isSignal": true;
8308
+ };
8309
+ }, {
8310
+ "activated": "activated";
8311
+ }, never, ["*"], true, never>;
8312
+ }
8230
8313
  /**
8231
8314
  * Grid of projected cards, usually `yuws-card-grid-item`s in an `@for`. `loading` shows
8232
8315
  * `skeletonCount` placeholders shaped by `skeletonClass`; `empty` shows `emptyText`; `columnsClass`