@oaknational/oak-components 3.12.2 → 3.12.3
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/dist/npm/cjs/index.js
CHANGED
|
@@ -4597,7 +4597,7 @@ function OakTabs(props) {
|
|
|
4597
4597
|
React__default.default.createElement(StyledFocusOutline, { "$width": "100%", "$height": "100%", "$borderRadius": "border-radius-circle", "$pa": "spacing-4", "$alignItems": "center", "$justifyContent": "center", "$whiteSpace": "nowrap" },
|
|
4598
4598
|
React__default.default.createElement(OakFlex, { "$alignItems": "center", "$gap": "spacing-8" },
|
|
4599
4599
|
React__default.default.createElement(OakSpan, null, label),
|
|
4600
|
-
showPromo && (React__default.default.createElement(OakPromoTag, { variant:
|
|
4600
|
+
showPromo && (React__default.default.createElement(OakPromoTag, { variant: isSelected ? "default" : "inverted" })))))));
|
|
4601
4601
|
})));
|
|
4602
4602
|
}
|
|
4603
4603
|
var templateObject_1$R, templateObject_2$n;
|
|
@@ -43,7 +43,7 @@ function OakTabs(props) {
|
|
|
43
43
|
React.createElement(StyledFocusOutline, { "$width": "100%", "$height": "100%", "$borderRadius": "border-radius-circle", "$pa": "spacing-4", "$alignItems": "center", "$justifyContent": "center", "$whiteSpace": "nowrap" },
|
|
44
44
|
React.createElement(OakFlex, { "$alignItems": "center", "$gap": "spacing-8" },
|
|
45
45
|
React.createElement(OakSpan, null, label),
|
|
46
|
-
showPromo && (React.createElement(OakPromoTag, { variant:
|
|
46
|
+
showPromo && (React.createElement(OakPromoTag, { variant: isSelected ? "default" : "inverted" })))))));
|
|
47
47
|
})));
|
|
48
48
|
}
|
|
49
49
|
var templateObject_1, templateObject_2;
|