@pingux/astro 1.0.0-alpha.18 → 1.0.0-alpha.19
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
CHANGED
@@ -3,6 +3,17 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [1.0.0-alpha.19](https://gitlab.corp.pingidentity.com/ux/pingux/compare/@pingux/astro@1.0.0-alpha.18...@pingux/astro@1.0.0-alpha.19) (2022-01-13)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* [UIP-4996] astro stepper redundant tooltip ([d74f102](https://gitlab.corp.pingidentity.com/ux/pingux/commit/d74f1020163703948498436224ef3f9d6458df57))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
6
17
|
# [1.0.0-alpha.18](https://gitlab.corp.pingidentity.com/ux/pingux/compare/@pingux/astro@1.0.0-alpha.17...@pingux/astro@1.0.0-alpha.18) (2022-01-13)
|
7
18
|
|
8
19
|
|
@@ -63,7 +63,8 @@ var CollectionTab = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
63
63
|
tabLabelProps = itemProps.tabLabelProps,
|
64
64
|
tabLineProps = itemProps.tabLineProps,
|
65
65
|
content = itemProps.content,
|
66
|
-
|
66
|
+
titleAttr = itemProps.titleAttr,
|
67
|
+
otherItemProps = (0, _objectWithoutProperties2["default"])(itemProps, ["icon", "isDisabled", "separator", "tabLabelProps", "tabLineProps", "content", "titleAttr"]);
|
67
68
|
var state = (0, _react.useContext)(_Tabs.TabsContext);
|
68
69
|
var isDisabled = tabsDisabled || tabDisabled || state.disabledKeys.has(key);
|
69
70
|
var isSelected = state.selectedKey === key;
|
@@ -106,7 +107,8 @@ var CollectionTab = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
106
107
|
className: classNames,
|
107
108
|
variant: "tab"
|
108
109
|
}, (0, _utils.mergeProps)(focusProps, hoverProps, tabProps), otherItemProps, {
|
109
|
-
ref: tabRef
|
110
|
+
ref: tabRef,
|
111
|
+
title: titleAttr || undefined
|
110
112
|
}), icon, (0, _react2.jsx)(_Text["default"], (0, _extends2["default"])({
|
111
113
|
variant: "tabLabel"
|
112
114
|
}, tabLabelProps), rendered), isSelected && !isDisabled && (0, _react2.jsx)(TabLine, tabLineProps)), slots === null || slots === void 0 ? void 0 : slots.afterTab);
|
@@ -33,7 +33,8 @@ export var CollectionTab = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
33
33
|
tabLabelProps = itemProps.tabLabelProps,
|
34
34
|
tabLineProps = itemProps.tabLineProps,
|
35
35
|
content = itemProps.content,
|
36
|
-
|
36
|
+
titleAttr = itemProps.titleAttr,
|
37
|
+
otherItemProps = _objectWithoutProperties(itemProps, ["icon", "isDisabled", "separator", "tabLabelProps", "tabLineProps", "content", "titleAttr"]);
|
37
38
|
|
38
39
|
var state = useContext(TabsContext);
|
39
40
|
var isDisabled = tabsDisabled || tabDisabled || state.disabledKeys.has(key);
|
@@ -77,7 +78,8 @@ export var CollectionTab = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
77
78
|
className: classNames,
|
78
79
|
variant: "tab"
|
79
80
|
}, mergeProps(focusProps, hoverProps, tabProps), otherItemProps, {
|
80
|
-
ref: tabRef
|
81
|
+
ref: tabRef,
|
82
|
+
title: titleAttr || undefined
|
81
83
|
}), icon, ___EmotionJSX(Text, _extends({
|
82
84
|
variant: "tabLabel"
|
83
85
|
}, tabLabelProps), rendered), isSelected && !isDisabled && ___EmotionJSX(TabLine, tabLineProps)), slots === null || slots === void 0 ? void 0 : slots.afterTab);
|