@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 pins to the bottom of the scroll container (default) or sits in flow. */
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, right-aligned, on a bordered strip that pins to the bottom of the scroll container so the
1694
- * save button stays in reach on a long editor.
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
- * Not {@link SdsBulkBar}, which is for a selection: that one hides itself at zero, says "N selected",
1700
- * carries a clear-selection button and is announced as a toolbar. A form footer is none of those, and
1701
- * dressing one up as the other costs a fake count and a screen reader that announces a save bar as
1702
- * bulk actions. This is a plain labelled `role="group"` — not a toolbar, because the buttons belong in
1703
- * the form's normal tab order and a toolbar role tells a screen-reader user to expect arrow keys.
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
- * The bar spans its container and carries its own horizontal padding. To let it bleed past a padded
1706
- * container's edge, put the matching negative margin on the host — the host is a block element:
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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@besaitech/ng-design-system",
3
- "version": "0.0.75",
3
+ "version": "0.0.76",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"