@pingux/astro 2.166.0 → 2.166.1-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.
|
@@ -99,9 +99,11 @@ var Button = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
99
99
|
(0, _hooks.useAriaLabelWarning)('Button', ariaLabel, variant === 'filter');
|
|
100
100
|
var _useGetTheme = (0, _hooks.useGetTheme)(),
|
|
101
101
|
buttonLoaderSize = _useGetTheme.buttonLoaderSize;
|
|
102
|
-
return (0, _react2.jsx)(_interactions.Pressable, {
|
|
102
|
+
return (0, _react2.jsx)(_interactions.Pressable, (0, _extends2["default"])({
|
|
103
103
|
ref: buttonRef
|
|
104
|
-
}, (0,
|
|
104
|
+
}, (0, _reactAria.mergeProps)(_objectSpread(_objectSpread({}, buttonProps), {}, {
|
|
105
|
+
tabIndex: tabIndex
|
|
106
|
+
}), hoverProps, focusProps)), (0, _react2.jsx)(_themeUi.Button, (0, _extends2["default"])({
|
|
105
107
|
"aria-label": ariaLabel,
|
|
106
108
|
className: classNames,
|
|
107
109
|
role: "button",
|
|
@@ -111,9 +113,7 @@ var Button = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
111
113
|
alignItems: 'center'
|
|
112
114
|
} : {},
|
|
113
115
|
variant: variant
|
|
114
|
-
}, (0, _pendoID.getPendoID)(displayName), others, (0,
|
|
115
|
-
tabIndex: tabIndex
|
|
116
|
-
}), hoverProps, focusProps)), isLoading ? (0, _react2.jsx)("span", {
|
|
116
|
+
}, (0, _pendoID.getPendoID)(displayName), others), isLoading ? (0, _react2.jsx)("span", {
|
|
117
117
|
style: {
|
|
118
118
|
visibility: 'hidden'
|
|
119
119
|
}
|
|
@@ -89,9 +89,11 @@ var Button = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
89
89
|
useAriaLabelWarning('Button', ariaLabel, variant === 'filter');
|
|
90
90
|
var _useGetTheme = useGetTheme(),
|
|
91
91
|
buttonLoaderSize = _useGetTheme.buttonLoaderSize;
|
|
92
|
-
return ___EmotionJSX(Pressable, {
|
|
92
|
+
return ___EmotionJSX(Pressable, _extends({
|
|
93
93
|
ref: buttonRef
|
|
94
|
-
},
|
|
94
|
+
}, mergeProps(_objectSpread(_objectSpread({}, buttonProps), {}, {
|
|
95
|
+
tabIndex: tabIndex
|
|
96
|
+
}), hoverProps, focusProps)), ___EmotionJSX(ThemeUIButton, _extends({
|
|
95
97
|
"aria-label": ariaLabel,
|
|
96
98
|
className: classNames,
|
|
97
99
|
role: "button",
|
|
@@ -101,9 +103,7 @@ var Button = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
101
103
|
alignItems: 'center'
|
|
102
104
|
} : {},
|
|
103
105
|
variant: variant
|
|
104
|
-
}, getPendoID(displayName), others,
|
|
105
|
-
tabIndex: tabIndex
|
|
106
|
-
}), hoverProps, focusProps)), isLoading ? ___EmotionJSX("span", {
|
|
106
|
+
}, getPendoID(displayName), others), isLoading ? ___EmotionJSX("span", {
|
|
107
107
|
style: {
|
|
108
108
|
visibility: 'hidden'
|
|
109
109
|
}
|