@forgeroute/ui 0.4.85 → 0.4.86
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/forgeroute-ui.d.ts
CHANGED
|
@@ -5674,6 +5674,12 @@ export declare class CheckboxTrailingDirective {
|
|
|
5674
5674
|
* Built on a native `<input type="checkbox" role="switch">`, so Space toggles it, it is focusable, and a screen reader
|
|
5675
5675
|
* announces it as a switch (on / off). The label and hint name and describe it. `disabled` (input or form control) dims it
|
|
5676
5676
|
* and blocks changes. `ariaDescribedBy` adds the id of a description rendered elsewhere. On touch devices and phones the switch has a >= 44px hit area.
|
|
5677
|
+
*
|
|
5678
|
+
* Optional: content with the `toggle-before-switch` attribute is shown between the text and the switch (e.g. a preview icon button):
|
|
5679
|
+
*
|
|
5680
|
+
* <ui-toggle label="E-Signature Reminders" [(checked)]="on"><ui-icon toggle-before-switch name="view" ariaLabel="Preview" /></ui-toggle>
|
|
5681
|
+
*
|
|
5682
|
+
* Without it nothing changes. Clicking the slotted content does not toggle the switch.
|
|
5677
5683
|
*/
|
|
5678
5684
|
export declare class ToggleComponent implements ControlValueAccessor {
|
|
5679
5685
|
/** Bold line on the left. */
|
|
@@ -5745,7 +5751,7 @@ export declare class ToggleComponent implements ControlValueAccessor {
|
|
|
5745
5751
|
};
|
|
5746
5752
|
}, {
|
|
5747
5753
|
"checked": "checkedChange";
|
|
5748
|
-
}, never,
|
|
5754
|
+
}, never, ["[toggle-before-switch]"], true, never>;
|
|
5749
5755
|
}
|
|
5750
5756
|
/** One step of a `ui-stepper`. `key` must be unique within the list. */
|
|
5751
5757
|
export interface StepperStep {
|