@lumx/react 3.9.7-alpha.2 → 3.9.7-alpha.4
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/index.js +4 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/tabs/Tab.tsx +10 -4
- package/src/components/tabs/Tabs.stories.tsx +147 -112
- package/src/stories/utils/concatPath.tsx +17 -0
- package/src/stories/utils/toFlattenProps.ts +28 -0
- package/src/stories/utils/withCategory.ts +12 -0
package/index.js
CHANGED
|
@@ -13175,7 +13175,10 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13175
13175
|
}), icon && /*#__PURE__*/React__default.createElement(Icon, _extends({
|
|
13176
13176
|
icon: icon,
|
|
13177
13177
|
size: Size.xs
|
|
13178
|
-
}, iconProps)), label && /*#__PURE__*/React__default.createElement(
|
|
13178
|
+
}, iconProps)), label && /*#__PURE__*/React__default.createElement(Text, {
|
|
13179
|
+
as: "span",
|
|
13180
|
+
truncate: true
|
|
13181
|
+
}, label));
|
|
13179
13182
|
});
|
|
13180
13183
|
Tab.displayName = COMPONENT_NAME$7;
|
|
13181
13184
|
Tab.className = CLASSNAME$7;
|