@pingux/astro 2.245.0 → 2.245.1-alpha.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.
|
@@ -365,6 +365,7 @@ function Resizer(props) {
|
|
|
365
365
|
classNames
|
|
366
366
|
} = (0, _hooks.useStatusClasses)('resizer', {
|
|
367
367
|
isFocused: isFocusVisible,
|
|
368
|
+
isFocusVisible,
|
|
368
369
|
isResizing
|
|
369
370
|
});
|
|
370
371
|
return (0, _react2.jsx)(_.Box, (0, _extends2.default)({
|
|
@@ -423,7 +424,8 @@ function TableColumnHeader(props) {
|
|
|
423
424
|
const {
|
|
424
425
|
classNames
|
|
425
426
|
} = (0, _hooks.useStatusClasses)(className, {
|
|
426
|
-
isFocused: isFocusVisible
|
|
427
|
+
isFocused: isFocusVisible,
|
|
428
|
+
isFocusVisible
|
|
427
429
|
});
|
|
428
430
|
useHandleFocusRef(ref);
|
|
429
431
|
return (0, _react2.jsx)(_.Box, (0, _extends2.default)({
|
|
@@ -524,7 +526,15 @@ function TableRow(props) {
|
|
|
524
526
|
isSelected,
|
|
525
527
|
isHovered,
|
|
526
528
|
isPressed,
|
|
527
|
-
|
|
529
|
+
// Keyboard focus only. Backward compatible: consumer CSS and library themes
|
|
530
|
+
// targeting `.is-focused` keep working unchanged.
|
|
531
|
+
isFocused: isFocusVisible,
|
|
532
|
+
// Keyboard-focus ring hook (useFocusRing). Absent on pointer activation so
|
|
533
|
+
// styling away a click ring cannot remove the keyboard focus indicator.
|
|
534
|
+
isFocusVisible,
|
|
535
|
+
// Mouse/touch activation of a row action. No default focus ring; consumers
|
|
536
|
+
// style `.is-active-row` for a click highlight.
|
|
537
|
+
isActiveRow,
|
|
528
538
|
isDisabled,
|
|
529
539
|
'has-actions': hasActions
|
|
530
540
|
});
|
|
@@ -561,7 +571,8 @@ function TableCell(props) {
|
|
|
561
571
|
const {
|
|
562
572
|
classNames
|
|
563
573
|
} = (0, _hooks.useStatusClasses)(className, {
|
|
564
|
-
isFocused: isFocusVisible
|
|
574
|
+
isFocused: isFocusVisible,
|
|
575
|
+
isFocusVisible
|
|
565
576
|
});
|
|
566
577
|
useHandleFocusRef(ref);
|
|
567
578
|
|
|
@@ -358,6 +358,7 @@ function Resizer(props) {
|
|
|
358
358
|
classNames
|
|
359
359
|
} = useStatusClasses('resizer', {
|
|
360
360
|
isFocused: isFocusVisible,
|
|
361
|
+
isFocusVisible,
|
|
361
362
|
isResizing
|
|
362
363
|
});
|
|
363
364
|
return ___EmotionJSX(Box, _extends({
|
|
@@ -416,7 +417,8 @@ function TableColumnHeader(props) {
|
|
|
416
417
|
const {
|
|
417
418
|
classNames
|
|
418
419
|
} = useStatusClasses(className, {
|
|
419
|
-
isFocused: isFocusVisible
|
|
420
|
+
isFocused: isFocusVisible,
|
|
421
|
+
isFocusVisible
|
|
420
422
|
});
|
|
421
423
|
useHandleFocusRef(ref);
|
|
422
424
|
return ___EmotionJSX(Box, _extends({
|
|
@@ -517,7 +519,15 @@ function TableRow(props) {
|
|
|
517
519
|
isSelected,
|
|
518
520
|
isHovered,
|
|
519
521
|
isPressed,
|
|
520
|
-
|
|
522
|
+
// Keyboard focus only. Backward compatible: consumer CSS and library themes
|
|
523
|
+
// targeting `.is-focused` keep working unchanged.
|
|
524
|
+
isFocused: isFocusVisible,
|
|
525
|
+
// Keyboard-focus ring hook (useFocusRing). Absent on pointer activation so
|
|
526
|
+
// styling away a click ring cannot remove the keyboard focus indicator.
|
|
527
|
+
isFocusVisible,
|
|
528
|
+
// Mouse/touch activation of a row action. No default focus ring; consumers
|
|
529
|
+
// style `.is-active-row` for a click highlight.
|
|
530
|
+
isActiveRow,
|
|
521
531
|
isDisabled,
|
|
522
532
|
'has-actions': hasActions
|
|
523
533
|
});
|
|
@@ -554,7 +564,8 @@ function TableCell(props) {
|
|
|
554
564
|
const {
|
|
555
565
|
classNames
|
|
556
566
|
} = useStatusClasses(className, {
|
|
557
|
-
isFocused: isFocusVisible
|
|
567
|
+
isFocused: isFocusVisible,
|
|
568
|
+
isFocusVisible
|
|
558
569
|
});
|
|
559
570
|
useHandleFocusRef(ref);
|
|
560
571
|
|