@besaitech/ng-design-system 0.0.75 → 0.0.76
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/index.d.ts
CHANGED
|
@@ -1686,25 +1686,26 @@ declare class SdsBulkBar {
|
|
|
1686
1686
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdsBulkBar, "sds-bulk-bar", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "countLabel": { "alias": "countLabel"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, { "clear": "clear"; }, never, ["*"], true, never>;
|
|
1687
1687
|
}
|
|
1688
1688
|
|
|
1689
|
-
/** Whether the bar
|
|
1689
|
+
/** Whether the bar floats at the bottom of the scroll container (default) or sits in flow. */
|
|
1690
1690
|
type SdsFormActionsPosition = 'sticky' | 'static';
|
|
1691
1691
|
/**
|
|
1692
1692
|
* The action bar at the foot of a form: Cancel, Save, and whatever commits the thing — projected as
|
|
1693
|
-
* buttons
|
|
1694
|
-
*
|
|
1693
|
+
* buttons on a floating card that rides at the bottom of the scroll container, so the save button
|
|
1694
|
+
* stays in reach on a long editor.
|
|
1695
1695
|
*
|
|
1696
1696
|
* Project a destructive or secondary action with `sdsFormActionsStart` and it is pushed to the left,
|
|
1697
1697
|
* away from the confirming buttons, which is the point: Delete should not sit a few pixels from Save.
|
|
1698
1698
|
*
|
|
1699
|
-
*
|
|
1700
|
-
*
|
|
1701
|
-
*
|
|
1702
|
-
*
|
|
1703
|
-
* the
|
|
1699
|
+
* Deliberately the same chrome as {@link SdsBulkBar} — rounded card, full border, solid surface,
|
|
1700
|
+
* `shadow-xl`, floating clear of the bottom edge rather than welded to it, same entrance. The two are
|
|
1701
|
+
* the app's only bars that hover over scrolling content, and a form footer that looked like a
|
|
1702
|
+
* different species from the bulk bar would read as a different kind of thing. What they are not is
|
|
1703
|
+
* the same semantics: that one is a `role="toolbar"` for a selection, announcing "N selected" and
|
|
1704
|
+
* hiding itself at zero. This is a plain labelled `role="group"`, because these buttons belong in the
|
|
1705
|
+
* form's normal tab order and a toolbar role tells a screen-reader user to expect arrow keys.
|
|
1704
1706
|
*
|
|
1705
|
-
*
|
|
1706
|
-
*
|
|
1707
|
-
* `<sds-form-actions class="-mx-4 md:-mx-6">`.
|
|
1707
|
+
* It floats, so do not bleed it past its container with negative margins the way a flush strip wants:
|
|
1708
|
+
* the rounded corners and the shadow need the inset to read as a card.
|
|
1708
1709
|
*
|
|
1709
1710
|
* @example
|
|
1710
1711
|
* <sds-form-actions>
|