@oaknational/oak-components 3.14.1 → 3.14.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.
@@ -4603,7 +4603,7 @@ function OakTabs(props) {
4603
4603
  React__default.default.createElement(StyledFocusOutline, { "$width": "100%", "$height": "100%", "$borderRadius": "border-radius-circle", "$pa": "spacing-4", "$alignItems": "center", "$justifyContent": "center", "$whiteSpace": "nowrap" },
4604
4604
  React__default.default.createElement(OakFlex, { "$alignItems": "center", "$gap": "spacing-8" },
4605
4605
  React__default.default.createElement(OakSpan, null, label),
4606
- showPromo && (React__default.default.createElement(OakPromoTag, { variant: isSelected ? "default" : "inverted" })))))));
4606
+ showPromo && (React__default.default.createElement(OakPromoTag, { display: ["none", "flex", "flex"], variant: isSelected ? "default" : "inverted" })))))));
4607
4607
  })));
4608
4608
  }
4609
4609
  var templateObject_1$R, templateObject_2$n;
@@ -5267,7 +5267,7 @@ type OakVideoProps = {
5267
5267
  /**
5268
5268
  * The transcript to display below the video.
5269
5269
  */
5270
- transcript?: PortableTextBlock[];
5270
+ transcript?: PortableTextBlock[] | null;
5271
5271
  /**
5272
5272
  * Whether to show the transcript button.
5273
5273
  */
@@ -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: isSelected ? "default" : "inverted" })))))));
46
+ showPromo && (React.createElement(OakPromoTag, { display: ["none", "flex", "flex"], variant: isSelected ? "default" : "inverted" })))))));
47
47
  })));
48
48
  }
49
49
  var templateObject_1, templateObject_2;
@@ -5267,7 +5267,7 @@ type OakVideoProps = {
5267
5267
  /**
5268
5268
  * The transcript to display below the video.
5269
5269
  */
5270
- transcript?: PortableTextBlock[];
5270
+ transcript?: PortableTextBlock[] | null;
5271
5271
  /**
5272
5272
  * Whether to show the transcript button.
5273
5273
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "3.14.1",
3
+ "version": "3.14.3",
4
4
  "licence": "MIT",
5
5
  "packageManager": "pnpm@11.2.0",
6
6
  "description": "Shared components for Oak applications",