@apliteni/apliteni-ui 0.186.0 → 0.187.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.
@@ -982,6 +982,9 @@ destructive question.
982
982
  body scrolls, and the title, the close control and the footer stay visible. The title is an `h2`.
983
983
  `initialFocusRef` chooses the first focus.
984
984
 
985
+ **On a phone.** At 560px and narrower, with a coarse pointer, each footer button has a 44px tap
986
+ zone. The buttons keep their drawn size.
987
+
985
988
  ### Confirm
986
989
 
987
990
  Use `Confirm` before a destructive action that the page must stop for. Use
@@ -993,7 +996,8 @@ Use `Confirm` before a destructive action that the page must stop for. Use
993
996
  ```
994
997
 
995
998
  It is an `alertdialog`. The safe action gets the focus and stands before the committing action.
996
- `onConfirm` only reports the press. You save, show errors and close.
999
+ `onConfirm` only reports the press. You save, show errors and close. The answers are the modal's
1000
+ footer buttons, so on a phone each one has a 44px tap zone.
997
1001
 
998
1002
  ### Drawer
999
1003
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apliteni/apliteni-ui",
3
- "version": "0.186.0",
3
+ "version": "0.187.0",
4
4
  "workspaces": [
5
5
  "react"
6
6
  ],
@@ -330,6 +330,11 @@
330
330
  height: calc(var(--space-10) + var(--space-1));
331
331
  flex: none;
332
332
  }
333
+ @media (max-width: 560px) and (pointer: coarse) {
334
+ .rx-modal__foot {
335
+ --tap-clear-y: var(--tap-gap);
336
+ }
337
+ }
333
338
 
334
339
  /* src/AccountWindow.css */
335
340
  .rx-modal.rx-account {