@dloizides/ui-access-admin 1.2.0 → 1.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to `@dloizides/ui-access-admin` are documented here.
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the
6
6
  project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.2.1]
9
+
10
+ ### Fixed
11
+
12
+ - **`UserManagementPanel` — the create/edit Role & Tenant pickers did nothing on click.** They use
13
+ `ModalDropdown`, whose responsive default renders the INLINE menu on desktop web — a popover that
14
+ `createPortal`s to `document.body`. Inside the panel's `ModalShell` (an RN `Modal`) that portal
15
+ lands OUTSIDE the shell's focus-trapping layer, so it rendered behind the modal and was dismissed
16
+ the instant it opened (the trigger's `aria-expanded` flipped straight back to `false`). `PickerField`
17
+ now forces `variant={DropdownVariant.Modal}`, which renders the options in their own RN-`Modal`
18
+ layer that stacks ABOVE the shell — visible and tappable. Added `PickerField.test.tsx` to pin it.
19
+
8
20
  ## [1.2.0]
9
21
 
10
22
  ### Added
package/dist/index.js CHANGED
@@ -765,7 +765,8 @@ var PickerField = ({
765
765
  onChange,
766
766
  options,
767
767
  testID,
768
- value
768
+ value,
769
+ variant: uiLayout.DropdownVariant.Modal
769
770
  }
770
771
  ) });
771
772
  };