@oaknational/oak-components 2.36.0 → 2.37.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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +5 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -3433,6 +3433,10 @@ type OakCardProps = {
|
|
|
3433
3433
|
* The subcopy text of the card.
|
|
3434
3434
|
*/
|
|
3435
3435
|
subCopy?: string;
|
|
3436
|
+
/**
|
|
3437
|
+
* The color of the subcopy text.
|
|
3438
|
+
*/
|
|
3439
|
+
subCopyColor?: OakUiRoleToken;
|
|
3436
3440
|
/**
|
|
3437
3441
|
* The name of a tag to be displayed in the card.
|
|
3438
3442
|
*/
|
|
@@ -3462,7 +3466,7 @@ type OakCardProps = {
|
|
|
3462
3466
|
* The card can be oriented in a row or column layout and its width can be adjusted using spacing tokens.
|
|
3463
3467
|
* The image aspect ratio can be set to either 1:1 or 4:3.
|
|
3464
3468
|
*/
|
|
3465
|
-
declare const OakCard: ({ heading, headingLevel, href, cardOrientation, cardWidth, imageSrc, imageAlt, aspectRatio, subCopy, tagName, tagBackground, linkText, linkIconName, hoverBackground, }: OakCardProps) => React$1.JSX.Element;
|
|
3469
|
+
declare const OakCard: ({ heading, headingLevel, href, cardOrientation, cardWidth, imageSrc, imageAlt, aspectRatio, subCopy, subCopyColor, tagName, tagBackground, linkText, linkIconName, hoverBackground, }: OakCardProps) => React$1.JSX.Element;
|
|
3466
3470
|
|
|
3467
3471
|
type OakBreadcrumb = {
|
|
3468
3472
|
text: string;
|