@pingux/astro 1.36.3-alpha.0 → 1.36.3-alpha.1

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.
@@ -95,8 +95,7 @@ var NavBar = function NavBar(props) {
95
95
  role: "navigation",
96
96
  as: "nav"
97
97
  }, items.length ? (0, _react2.jsx)(_focus.FocusScope, {
98
- restoreFocus: true,
99
- autoFocus: true
98
+ restoreFocus: true
100
99
  }, (0, _map["default"])(items).call(items, function (_ref) {
101
100
  var item = _ref.item,
102
101
  key = _ref.key;
@@ -76,7 +76,8 @@ var buttons = {
76
76
  },
77
77
  environmentBreadcrumb: {
78
78
  current: {
79
- '&:hover:not(.disabled)': _objectSpread({}, _theme["default"].buttons.environmentBreadcrumb.current)
79
+ '&:hover:not(.disabled)': _objectSpread({}, _theme["default"].buttons.environmentBreadcrumb.current),
80
+ '&:focus': _objectSpread({}, _theme["default"].buttons.environmentBreadcrumb.current)
80
81
  }
81
82
  },
82
83
  rocker: _objectSpread(_objectSpread({}, _theme["default"].buttons.rocker), {}, {
@@ -565,6 +565,9 @@ var environmentBreadcrumb = {
565
565
  borderRadius: '2px',
566
566
  boxShadow: '0 0 0 1px #4462ED'
567
567
  },
568
+ '&:focus-visible': {
569
+ outline: 'none'
570
+ },
568
571
  '&.is-pressed': {
569
572
  color: 'accent.20',
570
573
  textDecoration: 'none'
@@ -62,8 +62,7 @@ var NavBar = function NavBar(props) {
62
62
  role: "navigation",
63
63
  as: "nav"
64
64
  }, items.length ? ___EmotionJSX(FocusScope, {
65
- restoreFocus: true,
66
- autoFocus: true
65
+ restoreFocus: true
67
66
  }, _mapInstanceProperty(items).call(items, function (_ref) {
68
67
  var item = _ref.item,
69
68
  key = _ref.key;
@@ -57,7 +57,8 @@ var buttons = {
57
57
  },
58
58
  environmentBreadcrumb: {
59
59
  current: {
60
- '&:hover:not(.disabled)': _objectSpread({}, theme.buttons.environmentBreadcrumb.current)
60
+ '&:hover:not(.disabled)': _objectSpread({}, theme.buttons.environmentBreadcrumb.current),
61
+ '&:focus': _objectSpread({}, theme.buttons.environmentBreadcrumb.current)
61
62
  }
62
63
  },
63
64
  rocker: _objectSpread(_objectSpread({}, theme.buttons.rocker), {}, {
@@ -544,6 +544,9 @@ var environmentBreadcrumb = {
544
544
  borderRadius: '2px',
545
545
  boxShadow: '0 0 0 1px #4462ED'
546
546
  },
547
+ '&:focus-visible': {
548
+ outline: 'none'
549
+ },
547
550
  '&.is-pressed': {
548
551
  color: 'accent.20',
549
552
  textDecoration: 'none'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.36.3-alpha.0",
3
+ "version": "1.36.3-alpha.1",
4
4
  "description": "PingUX themeable React component library",
5
5
  "repository": {
6
6
  "type": "git",