react-magma-dom 7.1.0-next.17 → 7.1.0-next.18

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/ai/SKILL.md CHANGED
@@ -3,9 +3,9 @@ name: react-magma
3
3
  description: Use when writing or editing React UI in a project that depends on react-magma-dom (Cengage's accessible component library) — finding the right component, its props, theming, inverse surfaces, icons and accessibility.
4
4
  ---
5
5
 
6
- # React Magma (react-magma-dom 7.1.0-next.17)
6
+ # React Magma (react-magma-dom 7.1.0-next.18)
7
7
 
8
- Accessible React component library. This guide is generated for react-magma-dom 7.1.0-next.17, which requires React ^18.3.1.
8
+ Accessible React component library. This guide is generated for react-magma-dom 7.1.0-next.18, which requires React ^18.3.1.
9
9
 
10
10
  ## How to use this guide
11
11
 
package/dist/esm/index.js CHANGED
@@ -22295,6 +22295,8 @@ function MultiSelect(props) {
22295
22295
  })), {
22296
22296
  // role="combobox" requires aria-controls pointing to the listbox
22297
22297
  'aria-controls': getMenuProps().id,
22298
+ // Label the combobox by its label only; the selected value is already exposed as the combobox value
22299
+ 'aria-labelledby': getLabelProps().id,
22298
22300
  disabled: disabled
22299
22301
  }));
22300
22302
  var _defaultComponents = defaultComponents(_extends({}, customComponents)),
@@ -22564,6 +22566,8 @@ function Select(props) {
22564
22566
  var toggleButtonProps = getToggleButtonProps({
22565
22567
  // role="combobox" requires aria-controls pointing to the listbox
22566
22568
  'aria-controls': getMenuProps().id,
22569
+ // Label the combobox by its label only; the selected value is already exposed as the combobox value
22570
+ 'aria-labelledby': getLabelProps().id,
22567
22571
  disabled: disabled,
22568
22572
  onBlur: onBlur,
22569
22573
  onKeyDown: function onKeyDown(event) {