@primer/react 0.0.0-20260402162737 → 0.0.0-20260402165401
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 +1 -1
- package/dist/ActionBar/ActionBar.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -95,7 +95,7 @@ const ActionBar = props => {
|
|
|
95
95
|
focusOutBehavior: "wrap",
|
|
96
96
|
getNextFocusable: (direction, from) => {
|
|
97
97
|
var _listRef$current$quer, _listRef$current;
|
|
98
|
-
const items = Array.from((_listRef$current$quer = (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.querySelectorAll(":is(button, a, input, [tabindex]):not(:disabled):not([data-overflowing]):not([data-inactive])")) !== null && _listRef$current$quer !== void 0 ? _listRef$current$quer : []);
|
|
98
|
+
const items = Array.from((_listRef$current$quer = (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.querySelectorAll(":is(button, a, input, [tabindex]):not(:disabled):not([data-overflowing]):not([data-more-button-inactive])")) !== null && _listRef$current$quer !== void 0 ? _listRef$current$quer : []);
|
|
99
99
|
const fromIndex = from ? items.indexOf(from) : -1;
|
|
100
100
|
switch (direction) {
|
|
101
101
|
case "start":
|
|
@@ -174,7 +174,7 @@ const ActionBar = props => {
|
|
|
174
174
|
} else {
|
|
175
175
|
t9 = $[10];
|
|
176
176
|
}
|
|
177
|
-
const t10 = `More ${ariaLabel} items`;
|
|
177
|
+
const t10 = `More ${ariaLabel} items ${overflowItems === null || overflowItems === void 0 ? void 0 : overflowItems.length}`;
|
|
178
178
|
const t11 = overflowItems !== null && overflowItems !== void 0 && overflowItems.length ? undefined : true;
|
|
179
179
|
let t12;
|
|
180
180
|
if ($[11] !== t10 || $[12] !== t11) {
|
|
@@ -184,7 +184,7 @@ const ActionBar = props => {
|
|
|
184
184
|
"aria-label": t10,
|
|
185
185
|
icon: KebabHorizontalIcon,
|
|
186
186
|
className: styles.MoreButton,
|
|
187
|
-
"data-inactive": t11
|
|
187
|
+
"data-more-button-inactive": t11
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
$[11] = t10;
|
package/package.json
CHANGED