@simpli-route/apollo-ds 0.2.1 → 0.2.2

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.
@@ -1,7 +1,13 @@
1
1
  import { BadgeProps } from './types';
2
2
 
3
3
  /**
4
- * Badge component for displaying selected values with delete functionality
4
+ * Badge component for displaying selected values with delete functionality.
5
+ *
6
+ * The delete affordance is rendered as a `<span role="button">` rather than a
7
+ * native `<button>` so the Badge can be safely nested inside another button
8
+ * (e.g. the trigger of a multi-select). Keyboard and pointer interactions are
9
+ * preserved (Enter / Space activate; click `stopPropagation` keeps the outer
10
+ * button from toggling when the Badge's delete is clicked).
5
11
  *
6
12
  * ### Usage
7
13
  *
@@ -0,0 +1 @@
1
+ export {};