yukit-web 0.11.5 → 0.13.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/fesm2022/yukit-web.mjs +68 -6
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yukit-web.d.ts +26 -2
package/package.json
CHANGED
package/types/yukit-web.d.ts
CHANGED
|
@@ -4340,6 +4340,7 @@ export type YuwSheetScrollStrategyDto = null | 'close' | 'reposition';
|
|
|
4340
4340
|
* - `side`: Edge of the screen the panel slides in from (`'top'`, `'bottom'`, `'left'`, `'right'`). Default is `'right'`.
|
|
4341
4341
|
* - `title`: Optional header title text. User-facing text the consuming app is responsible for translating.
|
|
4342
4342
|
* - `description`: Optional header description text. User-facing text the consuming app is responsible for translating.
|
|
4343
|
+
* - `note`: Optional second muted line under `description`. User-facing text the consuming app is responsible for translating.
|
|
4343
4344
|
* - `ariaLabel`: Accessible name for the sheet when no visible `title` is rendered. User-facing
|
|
4344
4345
|
* text the consuming app is responsible for translating.
|
|
4345
4346
|
* - `closeLabel`: Accessible label of the corner close (×) button. When set, the close button
|
|
@@ -4397,6 +4398,7 @@ export declare class YuwSheetComponent {
|
|
|
4397
4398
|
readonly closeOnOutsidePointerEvents: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4398
4399
|
readonly description: import("@angular/core").InputSignal<string | undefined>;
|
|
4399
4400
|
readonly disableClose: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4401
|
+
readonly note: import("@angular/core").InputSignal<string | undefined>;
|
|
4400
4402
|
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
4401
4403
|
readonly overlayClass: import("@angular/core").InputSignal<string | undefined>;
|
|
4402
4404
|
readonly panelClass: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -4447,6 +4449,11 @@ export declare class YuwSheetComponent {
|
|
|
4447
4449
|
"required": false;
|
|
4448
4450
|
"isSignal": true;
|
|
4449
4451
|
};
|
|
4452
|
+
"note": {
|
|
4453
|
+
"alias": "note";
|
|
4454
|
+
"required": false;
|
|
4455
|
+
"isSignal": true;
|
|
4456
|
+
};
|
|
4450
4457
|
"open": {
|
|
4451
4458
|
"alias": "open";
|
|
4452
4459
|
"required": false;
|
|
@@ -7125,11 +7132,13 @@ export declare class YuwsLinkCellComponent {
|
|
|
7125
7132
|
}
|
|
7126
7133
|
/**
|
|
7127
7134
|
* An entry of a row's menu: `href` opens a link in a new tab, otherwise `run` does it. `separated` starts a group and
|
|
7128
|
-
* `destructive` marks an irreversible one. `label` is already translated.
|
|
7135
|
+
* `destructive` marks an irreversible one. `label` is already translated. `icon` is an ng-icon name shown before the
|
|
7136
|
+
* label, registered by the consumer with `provideIcons`.
|
|
7129
7137
|
*/
|
|
7130
7138
|
export interface YuwsMenuAction {
|
|
7131
7139
|
readonly key: string;
|
|
7132
7140
|
readonly label: string;
|
|
7141
|
+
readonly icon?: string;
|
|
7133
7142
|
readonly href?: string;
|
|
7134
7143
|
readonly run?: () => void;
|
|
7135
7144
|
readonly separated?: boolean;
|
|
@@ -7142,7 +7151,7 @@ export interface YuwsMenuAction {
|
|
|
7142
7151
|
* open too.
|
|
7143
7152
|
*
|
|
7144
7153
|
* Inputs:
|
|
7145
|
-
* - `actions` (required): Entries of the menu, in order.
|
|
7154
|
+
* - `actions` (required): Entries of the menu, in order, each with an optional icon before its label.
|
|
7146
7155
|
* - `label` (required): Accessible name of the button. The consuming app translates it.
|
|
7147
7156
|
*/
|
|
7148
7157
|
export declare class YuwsMenuActionsCellComponent {
|
|
@@ -7557,6 +7566,7 @@ export interface YuwsFormSheetLabels {
|
|
|
7557
7566
|
* - `errorMessage`: Rejection shown above the footer, so the draft stays on screen to be fixed. Default is `undefined`.
|
|
7558
7567
|
* - `hideFooter`: Hides the footer. Default is `false`.
|
|
7559
7568
|
* - `labels` (required): Cancel, close and save texts.
|
|
7569
|
+
* - `note`: Second muted line under `description`. Default is `undefined`.
|
|
7560
7570
|
* - `panelClass`: Class of the sheet panel. Default is `'w-full sm:max-w-md'`.
|
|
7561
7571
|
* - `readonly`: Drops the save button. Default is `false`.
|
|
7562
7572
|
* - `removeDisabled`: Disables the delete button. Default is `false`.
|
|
@@ -7564,6 +7574,8 @@ export interface YuwsFormSheetLabels {
|
|
|
7564
7574
|
* - `restoreLabel`: Renders the restore button with this text. Default is `undefined`.
|
|
7565
7575
|
* - `saveColor`: Color of the save button (any `YuwColorDto` value). Default is `'primary'`.
|
|
7566
7576
|
* - `saveDisabled`: Disables the save button. Default is `false`.
|
|
7577
|
+
* - `saveIcon`: ng-icon name of the save button's icon, registered by the consumer with `provideIcons` unless it is the
|
|
7578
|
+
* default. Default is `'lucideSave'`.
|
|
7567
7579
|
* - `saving`: Disables the footer actions while the host's write is in flight. Default is `false`.
|
|
7568
7580
|
* - `title` (required): Panel title.
|
|
7569
7581
|
* - `open` (model): Whether the panel is open.
|
|
@@ -7577,6 +7589,7 @@ export declare class YuwsFormSheetComponent {
|
|
|
7577
7589
|
readonly guarded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7578
7590
|
readonly hideFooter: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7579
7591
|
readonly labels: import("@angular/core").InputSignal<YuwsFormSheetLabels>;
|
|
7592
|
+
readonly note: import("@angular/core").InputSignal<string | undefined>;
|
|
7580
7593
|
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
7581
7594
|
readonly panelClass: import("@angular/core").InputSignal<string>;
|
|
7582
7595
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -7585,6 +7598,7 @@ export declare class YuwsFormSheetComponent {
|
|
|
7585
7598
|
readonly restoreLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
7586
7599
|
readonly saveColor: import("@angular/core").InputSignal<YuwColorDto>;
|
|
7587
7600
|
readonly saveDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7601
|
+
readonly saveIcon: import("@angular/core").InputSignal<string>;
|
|
7588
7602
|
readonly saving: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7589
7603
|
readonly title: import("@angular/core").InputSignal<string>;
|
|
7590
7604
|
readonly back: import("@angular/core").OutputEmitterRef<void>;
|
|
@@ -7626,6 +7640,11 @@ export declare class YuwsFormSheetComponent {
|
|
|
7626
7640
|
"required": true;
|
|
7627
7641
|
"isSignal": true;
|
|
7628
7642
|
};
|
|
7643
|
+
"note": {
|
|
7644
|
+
"alias": "note";
|
|
7645
|
+
"required": false;
|
|
7646
|
+
"isSignal": true;
|
|
7647
|
+
};
|
|
7629
7648
|
"open": {
|
|
7630
7649
|
"alias": "open";
|
|
7631
7650
|
"required": true;
|
|
@@ -7666,6 +7685,11 @@ export declare class YuwsFormSheetComponent {
|
|
|
7666
7685
|
"required": false;
|
|
7667
7686
|
"isSignal": true;
|
|
7668
7687
|
};
|
|
7688
|
+
"saveIcon": {
|
|
7689
|
+
"alias": "saveIcon";
|
|
7690
|
+
"required": false;
|
|
7691
|
+
"isSignal": true;
|
|
7692
|
+
};
|
|
7669
7693
|
"saving": {
|
|
7670
7694
|
"alias": "saving";
|
|
7671
7695
|
"required": false;
|