@oaknational/oak-components 2.36.0 → 2.38.0

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/types.d.ts CHANGED
@@ -3268,8 +3268,6 @@ type InternalLinkProps = {
3268
3268
  hoverColor: OakUiRoleToken;
3269
3269
  activeColor: OakUiRoleToken;
3270
3270
  disabledColor: OakUiRoleToken;
3271
- iconWidth?: OakAllSpacingToken;
3272
- iconHeight?: OakAllSpacingToken;
3273
3271
  textDecoration?: OakTextDecoration;
3274
3272
  };
3275
3273
 
@@ -3299,8 +3297,6 @@ declare const OakHoverLink: OakHoverLinkComponent;
3299
3297
  type Variant = "primary" | "secondary";
3300
3298
 
3301
3299
  type OakLinkProps = Pick<InternalLinkProps, "iconName" | "isTrailingIcon" | "isLoading"> & {
3302
- iconWidth?: OakAllSpacingToken;
3303
- iconHeight?: OakAllSpacingToken;
3304
3300
  /**
3305
3301
  * Style variant of the OakLink component: "primary" | "secondary"
3306
3302
  *
@@ -3433,6 +3429,10 @@ type OakCardProps = {
3433
3429
  * The subcopy text of the card.
3434
3430
  */
3435
3431
  subCopy?: string;
3432
+ /**
3433
+ * The color of the subcopy text.
3434
+ */
3435
+ subCopyColor?: OakUiRoleToken;
3436
3436
  /**
3437
3437
  * The name of a tag to be displayed in the card.
3438
3438
  */
@@ -3462,7 +3462,7 @@ type OakCardProps = {
3462
3462
  * The card can be oriented in a row or column layout and its width can be adjusted using spacing tokens.
3463
3463
  * The image aspect ratio can be set to either 1:1 or 4:3.
3464
3464
  */
3465
- declare const OakCard: ({ heading, headingLevel, href, cardOrientation, cardWidth, imageSrc, imageAlt, aspectRatio, subCopy, tagName, tagBackground, linkText, linkIconName, hoverBackground, }: OakCardProps) => React$1.JSX.Element;
3465
+ declare const OakCard: ({ heading, headingLevel, href, cardOrientation, cardWidth, imageSrc, imageAlt, aspectRatio, subCopy, subCopyColor, tagName, tagBackground, linkText, linkIconName, hoverBackground, }: OakCardProps) => React$1.JSX.Element;
3466
3466
 
3467
3467
  type OakBreadcrumb = {
3468
3468
  text: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "2.36.0",
3
+ "version": "2.38.0",
4
4
  "licence": "MIT",
5
5
  "packageManager": "pnpm@11.2.0",
6
6
  "description": "Shared components for Oak applications",